vendor: 21,373 bytes, lines 1-12
1(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))o(s);new MutationObserver(s=>{for(const r of s)if(r.type==="childList")for(const a of r.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&o(a)}).observe(document,{childList:!0,subtree:!0});function n(s){const r={};return s.integrity&&(r.integrity=s.integrity),s.referrerPolicy&&(r.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?r.credentials="include":s.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function o(s){if(s.ep)return;s.ep=!0;const r=n(s);fetch(s.href,r)}})();/** 2* @vue/shared v3.5.22 3* (c) 2018-present Yuxi (Evan) You and Vue contributors 4* @license MIT 5**/function uc(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const it={},vs=[],Gn=()=>{},Qf=()=>!1,xi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),dc=e=>e.startsWith("onUpdate:"),xt=Object.assign,fc=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},E_=Object.prototype.hasOwnProperty,ct=(e,t)=>E_.call(e,t),Me=Array.isArray,bs=e=>js(e)==="[object Map]",Kr=e=>js(e)==="[object Set]",Tu=e=>js(e)==="[object Date]",A_=e=>js(e)==="[object RegExp]",Ve=e=>typeof e=="function",_t=e=>typeof e=="string",Ln=e=>typeof e=="symbol",ut=e=>e!==null&&typeof e=="object",Xr=e=>(ut(e)||Ve(e))&&Ve(e.then)&&Ve(e.catch),Jf=Object.prototype.toString,js=e=>Jf.call(e),L_=e=>js(e).slice(8,-1),Zf=e=>js(e)==="[object Object]",mc=e=>_t(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ws=uc(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Qr=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},R_=/-\w/g,hn=Qr(e=>e.replace(R_,t=>t.slice(1).toUpperCase())),O_=/\B([A-Z])/g,po=Qr(e=>e.replace(O_,"-$1").toLowerCase()),Jr=Qr(e=>e.charAt(0).toUpperCase()+e.slice(1)),mr=Qr(e=>e?`on${Jr(e)}`:""),nn=(e,t)=>!Object.is(e,t),ks=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},em=(e,t,n,o=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},ll=e=>{const t=parseFloat(e);return isNaN(t)?e:t},tm=e=>{const t=_t(e)?Number(e):NaN;return isNaN(t)?e:t};let $u;const Zr=()=>$u||($u=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Se(e){if(Me(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],s=_t(o)?U_(o):Se(o);if(s)for(const r in s)t[r]=s[r]}return t}else if(_t(e)||ut(e))return e}const M_=/;(?![^(]*\))/g,N_=/:([^]+)/,B_=/\/\*[^]*?\*\//g;function U_(e){const t={};return e.replace(B_,"").split(M_).forEach(n=>{if(n){const o=n.split(N_);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function j(e){let t="";if(_t(e))t=e;else if(Me(e))for(let n=0;n<e.length;n++){const o=j(e[n]);o&&(t+=o+" ")}else if(ut(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function j_(e){if(!e)return null;let{class:t,style:n}=e;return t&&!_t(t)&&(e.class=j(t)),n&&(e.style=Se(n)),e}const V_="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",H_=uc(V_);function nm(e){return!!e||e===""}function z_(e,t){if(e.length!==t.length)return!1;let n=!0;for(let o=0;n&&o<e.length;o++)n=Ps(e[o],t[o]);return n}function Ps(e,t){if(e===t)return!0;let n=Tu(e),o=Tu(t);if(n||o)return n&&o?e.getTime()===t.getTime():!1;if(n=Ln(e),o=Ln(t),n||o)return e===t;if(n=Me(e),o=Me(t),n||o)return n&&o?z_(e,t):!1;if(n=ut(e),o=ut(t),n||o){if(!n||!o)return!1;const s=Object.keys(e).length,r=Object.keys(t).length;if(s!==r)return!1;for(const a in e){const l=e.hasOwnProperty(a),c=t.hasOwnProperty(a);if(l&&!c||!l&&c||!Ps(e[a],t[a]))return!1}}return String(e)===String(t)}function om(e,t){return e.findIndex(n=>Ps(n,t))}const sm=e=>!!(e&&e.__v_isRef===!0),w=e=>_t(e)?e:e==null?"":Me(e)||ut(e)&&(e.toString===Jf||!Ve(e.toString))?sm(e)?w(e.value):JSON.stringify(e,im,2):String(e),im=(e,t)=>sm(t)?im(e,t.value):bs(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,s],r)=>(n[Ia(o,r)+" =>"]=s,n),{})}:Kr(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ia(n))}:Ln(t)?Ia(t):ut(t)&&!Me(t)&&!Zf(t)?String(t):t,Ia=(e,t="")=>{var n;return Ln(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** 6* @vue/reactivity v3.5.22 7* (c) 2018-present Yuxi (Evan) You and Vue contributors 8* @license MIT 9**/let Ft;class rm{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ft,!t&&Ft&&(this.index=(Ft.scopes||(Ft.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Ft;try{return Ft=this,t()}finally{Ft=n}}}on(){++this._on===1&&(this.prevScope=Ft,Ft=this)}off(){this._on>0&&--this._on===0&&(Ft=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,o;for(n=0,o=this.effects.length;n<o;n++)this.effects[n].stop();for(this.effects.length=0,n=0,o=this.cleanups.length;n<o;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,o=this.scopes.length;n<o;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function pc(e){return new rm(e)}function es(){return Ft}function xs(e,t=!1){Ft&&Ft.cleanups.push(e)}let mt;const Ea=new WeakSet;class am{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Ft&&Ft.active&&Ft.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ea.has(this)&&(Ea.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||cm(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Su(this),um(this);const t=mt,n=An;mt=this,An=!0;try{return this.fn()}finally{dm(this),mt=t,An=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)_c(t);this.deps=this.depsTail=void 0,Su(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ea.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){cl(this)&&this.run()}get dirty(){return cl(this)}}let lm=0,ti,ni;function cm(e,t=!1){if(e.flags|=8,t){e.next=ni,ni=e;return}e.next=ti,ti=e}function hc(){lm++}function gc(){if(--lm>0)return;if(ni){let t=ni;for(ni=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;ti;){let t=ti;for(ti=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(o){e||(e=o)}t=n}}if(e)throw e}function um(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function dm(e){let t,n=e.depsTail,o=n;for(;o;){const s=o.prevDep;o.version===-1?(o===n&&(n=s),_c(o),F_(o)):t=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=s}e.deps=t,e.depsTail=n}function cl(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(fm(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function fm(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===pi)||(e.globalVersion=pi,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!cl(e))))return;e.flags|=2;const t=e.dep,n=mt,o=An;mt=e,An=!0;try{um(e);const s=e.fn(e._value);(t.version===0||nn(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{mt=n,An=o,dm(e),e.flags&=-3}}function _c(e,t=!1){const{dep:n,prevSub:o,nextSub:s}=e;if(o&&(o.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=o,e.nextSub=void 0),n.subs===e&&(n.subs=o,!o&&n.computed)){n.computed.flags&=-5;for(let r=n.computed.deps;r;r=r.nextDep)_c(r,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function F_(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let An=!0;const mm=[];function ao(){mm.push(An),An=!1}function lo(){const e=mm.pop();An=e===void 0?!0:e}function Su(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=mt;mt=void 0;try{t()}finally{mt=n}}}let pi=0;class W_{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class ea{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!mt||!An||mt===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==mt)n=this.activeLink=new W_(mt,this),mt.deps?(n.prevDep=mt.depsTail,mt.depsTail.nextDep=n,mt.depsTail=n):mt.deps=mt.depsTail=n,pm(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const o=n.nextDep;o.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=o),n.prevDep=mt.depsTail,n.nextDep=void 0,mt.depsTail.nextDep=n,mt.depsTail=n,mt.deps===n&&(mt.deps=o)}return n}trigger(t){this.version++,pi++,this.notify(t)}notify(t){hc();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{gc()}}}function pm(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let o=t.deps;o;o=o.nextDep)pm(o)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Tr=new WeakMap,Wo=Symbol(""),ul=Symbol(""),hi=Symbol("");function Wt(e,t,n){if(An&&mt){let o=Tr.get(e);o||Tr.set(e,o=new Map);let s=o.get(n);s||(o.set(n,s=new ea),s.map=o,s.key=n),s.track()}}function to(e,t,n,o,s,r){const a=Tr.get(e);if(!a){pi++;return}const l=c=>{c&&c.trigger()};if(hc(),t==="clear")a.forEach(l);else{const c=Me(e),m=c&&mc(n);if(c&&n==="length"){const d=Number(o);a.forEach((p,_)=>{(_==="length"||_===hi||!Ln(_)&&_>=d)&&l(p)})}else switch((n!==void 0||a.has(void 0))&&l(a.get(n)),m&&l(a.get(hi)),t){case"add":c?m&&l(a.get("length")):(l(a.get(Wo)),bs(e)&&l(a.get(ul)));break;case"delete":c||(l(a.get(Wo)),bs(e)&&l(a.get(ul)));break;case"set":bs(e)&&l(a.get(Wo));break}}gc()}function G_(e,t){const n=Tr.get(e);return n&&n.get(t)}function as(e){const t=tt(e);return t===e?t:(Wt(t,"iterate",hi),kn(e)?t:t.map(jt))}function ta(e){return Wt(e=tt(e),"iterate",hi),e}const q_={__proto__:null,[Symbol.iterator](){return Aa(this,Symbol.iterator,jt)},concat(...e){return as(this).concat(...e.map(t=>Me(t)?as(t):t))},entries(){return Aa(this,"entries",e=>(e[1]=jt(e[1]),e))},every(e,t){return Qn(this,"every",e,t,void 0,arguments)},filter(e,t){return Qn(this,"filter",e,t,n=>n.map(jt),arguments)},find(e,t){return Qn(this,"find",e,t,jt,arguments)},findIndex(e,t){return Qn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Qn(this,"findLast",e,t,jt,arguments)},findLastIndex(e,t){return Qn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Qn(this,"forEach",e,t,void 0,arguments)},includes(...e){return La(this,"includes",e)},indexOf(...e){return La(this,"indexOf",e)},join(e){return as(this).join(e)},lastIndexOf(...e){return La(this,"lastIndexOf",e)},map(e,t){return Qn(this,"map",e,t,void 0,arguments)},pop(){return Gs(this,"pop")},push(...e){return Gs(this,"push",e)},reduce(e,...t){return Du(this,"reduce",e,t)},reduceRight(e,...t){return Du(this,"reduceRight",e,t)},shift(){return Gs(this,"shift")},some(e,t){return Qn(this,"some",e,t,void 0,arguments)},splice(...e){return Gs(this,"splice",e)},toReversed(){return as(this).toReversed()},toSorted(e){return as(this).toSorted(e)},toSpliced(...e){return as(this).toSpliced(...e)},unshift(...e){return Gs(this,"unshift",e)},values(){return Aa(this,"values",jt)}};function Aa(e,t,n){const o=ta(e),s=o[t]();return o!==e&&!kn(e)&&(s._next=s.next,s.next=()=>{const r=s._next();return r.done||(r.value=n(r.value)),r}),s}const Y_=Array.prototype;function Qn(e,t,n,o,s,r){const a=ta(e),l=a!==e&&!kn(e),c=a[t];if(c!==Y_[t]){const p=c.apply(e,r);return l?jt(p):p}let m=n;a!==e&&(l?m=function(p,_){return n.call(this,jt(p),_,e)}:n.length>2&&(m=function(p,_){return n.call(this,p,_,e)}));const d=c.call(a,m,o);return l&&s?s(d):d}function Du(e,t,n,o){const s=ta(e);let r=n;return s!==e&&(kn(e)?n.length>3&&(r=function(a,l,c){return n.call(this,a,l,c,e)}):r=function(a,l,c){return n.call(this,a,jt(l),c,e)}),s[t](r,...o)}function La(e,t,n){const o=tt(e);Wt(o,"iterate",hi);const s=o[t](...n);return(s===-1||s===!1)&&bc(n[0])?(n[0]=tt(n[0]),o[t](...n)):s}function Gs(e,t,n=[]){ao(),hc();const o=tt(e)[t].apply(e,n);return gc(),lo(),o}const K_=uc("__proto__,__v_isRef,__isVue"),hm=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ln));function X_(e){Ln(e)||(e=String(e));const t=tt(this);return Wt(t,"has",e),t.hasOwnProperty(e)}class gm{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return r;if(n==="__v_raw")return o===(s?r?ry:bm:r?vm:ym).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const a=Me(t);if(!s){let c;if(a&&(c=q_[n]))return c;if(n==="hasOwnProperty")return X_}const l=Reflect.get(t,n,Je(t)?t:o);if((Ln(n)?hm.has(n):K_(n))||(s||Wt(t,"get",n),r))return l;if(Je(l)){const c=a&&mc(n)?l:l.value;return s&&ut(c)?fl(c):c}return ut(l)?s?fl(l):Gt(l):l}}class _m extends gm{constructor(t=!1){super(!1,t)}set(t,n,o,s){let r=t[n];if(!this._isShallow){const c=co(r);if(!kn(o)&&!co(o)&&(r=tt(r),o=tt(o)),!Me(t)&&Je(r)&&!Je(o))return c||(r.value=o),!0}const a=Me(t)&&mc(n)?Number(n)<t.length:ct(t,n),l=Reflect.set(t,n,o,Je(t)?t:s);return t===tt(s)&&(a?nn(o,r)&&to(t,"set",n,o):to(t,"add",n,o)),l}deleteProperty(t,n){const o=ct(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&o&&to(t,"delete",n,void 0),s}has(t,n){const o=Reflect.has(t,n);return(!Ln(n)||!hm.has(n))&&Wt(t,"has",n),o}ownKeys(t){return Wt(t,"iterate",Me(t)?"length":Wo),Reflect.ownKeys(t)}}class Q_ extends gm{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const J_=new _m,Z_=new Q_,ey=new _m(!0);const dl=e=>e,Hi=e=>Reflect.getPrototypeOf(e);function ty(e,t,n){return function(...o){const s=this.__v_raw,r=tt(s),a=bs(r),l=e==="entries"||e===Symbol.iterator&&a,c=e==="keys"&&a,m=s[e](...o),d=n?dl:t?$r:jt;return!t&&Wt(r,"iterate",c?ul:Wo),{next(){const{value:p,done:_}=m.next();return _?{value:p,done:_}:{value:l?[d(p[0]),d(p[1])]:d(p),done:_}},[Symbol.iterator](){return this}}}}function zi(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function ny(e,t){const n={get(s){const r=this.__v_raw,a=tt(r),l=tt(s);e||(nn(s,l)&&Wt(a,"get",s),Wt(a,"get",l));const{has:c}=Hi(a),m=t?dl:e?$r:jt;if(c.call(a,s))return m(r.get(s));if(c.call(a,l))return m(r.get(l));r!==a&&r.get(s)},get size(){const s=this.__v_raw;return!e&&Wt(tt(s),"iterate",Wo),s.size},has(s){const r=this.__v_raw,a=tt(r),l=tt(s);return e||(nn(s,l)&&Wt(a,"has",s),Wt(a,"has",l)),s===l?r.has(s):r.has(s)||r.has(l)},forEach(s,r){const a=this,l=a.__v_raw,c=tt(l),m=t?dl:e?$r:jt;return!e&&Wt(c,"iterate",Wo),l.forEach((d,p)=>s.call(r,m(d),m(p),a))}};return xt(n,e?{add:zi("add"),set:zi("set"),delete:zi("delete"),clear:zi("clear")}:{add(s){!t&&!kn(s)&&!co(s)&&(s=tt(s));const r=tt(this);return Hi(r).has.call(r,s)||(r.add(s),to(r,"add",s,s)),this},set(s,r){!t&&!kn(r)&&!co(r)&&(r=tt(r));const a=tt(this),{has:l,get:c}=Hi(a);let m=l.call(a,s);m||(s=tt(s),m=l.call(a,s));const d=c.call(a,s);return a.set(s,r),m?nn(r,d)&&to(a,"set",s,r):to(a,"add",s,r),this},delete(s){const r=tt(this),{has:a,get:l}=Hi(r);let c=a.call(r,s);c||(s=tt(s),c=a.call(r,s)),l&&l.call(r,s);const m=r.delete(s);return c&&to(r,"delete",s,void 0),m},clear(){const s=tt(this),r=s.size!==0,a=s.clear();return r&&to(s,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=ty(s,e,t)}),n}function yc(e,t){const n=ny(e,t);return(o,s,r)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?o:Reflect.get(ct(n,s)&&s in o?n:o,s,r)}const oy={get:yc(!1,!1)},sy={get:yc(!1,!0)},iy={get:yc(!0,!1)};const ym=new WeakMap,vm=new WeakMap,bm=new WeakMap,ry=new WeakMap;function ay(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ly(e){return e.__v_skip||!Object.isExtensible(e)?0:ay(L_(e))}function Gt(e){return co(e)?e:vc(e,!1,J_,oy,ym)}function zn(e){return vc(e,!1,ey,sy,vm)}function fl(e){return vc(e,!0,Z_,iy,bm)}function vc(e,t,n,o,s){if(!ut(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=ly(e);if(r===0)return e;const a=s.get(e);if(a)return a;const l=new Proxy(e,r===2?o:n);return s.set(e,l),l}function oo(e){return co(e)?oo(e.__v_raw):!!(e&&e.__v_isReactive)}function co(e){return!!(e&&e.__v_isReadonly)}function kn(e){return!!(e&&e.__v_isShallow)}function bc(e){return e?!!e.__v_raw:!1}function tt(e){const t=e&&e.__v_raw;return t?tt(t):e}function wc(e){return!ct(e,"__v_skip")&&Object.isExtensible(e)&&em(e,"__v_skip",!0),e}const jt=e=>ut(e)?Gt(e):e,$r=e=>ut(e)?fl(e):e;function Je(e){return e?e.__v_isRef===!0:!1}function L(e){return wm(e,!1)}function Jt(e){return wm(e,!0)}function wm(e,t){return Je(e)?e:new cy(e,t)}class cy{constructor(t,n){this.dep=new ea,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:tt(t),this._value=n?t:jt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,o=this.__v_isShallow||kn(t)||co(t);t=o?t:tt(t),nn(t,n)&&(this._rawValue=t,this._value=o?t:jt(t),this.dep.trigger())}}function i(e){return Je(e)?e.value:e}function km(e){return Ve(e)?e():i(e)}const uy={get:(e,t,n)=>t==="__v_raw"?e:i(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const s=e[t];return Je(s)&&!Je(n)?(s.value=n,!0):Reflect.set(e,t,n,o)}};function Tm(e){return oo(e)?e:new Proxy(e,uy)}class dy{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new ea,{get:o,set:s}=t(n.track.bind(n),n.trigger.bind(n));this._get=o,this._set=s}get value(){return this._value=this._get()}set value(t){this._set(t)}}function $m(e){return new dy(e)}function fy(e){const t=Me(e)?new Array(e.length):{};for(const n in e)t[n]=Dm(e,n);return t}class my{constructor(t,n,o){this._object=t,this._key=n,this._defaultValue=o,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return G_(tt(this._object),this._key)}}class py{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Sm(e,t,n){return Je(e)?e:Ve(e)?new py(e):ut(e)&&arguments.length>1?Dm(e,t,n):L(e)}function Dm(e,t,n){const o=e[t];return Je(o)?o:new my(e,t,n)}class hy{constructor(t,n,o){this.fn=t,this.setter=n,this._value=void 0,this.dep=new ea(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=pi-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=o}notify(){if(this.flags|=16,!(this.flags&8)&&mt!==this)return cm(this,!0),!0}get value(){const t=this.dep.track();return fm(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function gy(e,t,n=!1){let o,s;return Ve(e)?o=e:(o=e.get,s=e.set),new hy(o,s,n)}const Fi={},Sr=new WeakMap;let Ho;function _y(e,t=!1,n=Ho){if(n){let o=Sr.get(n);o||Sr.set(n,o=[]),o.push(e)}}function yy(e,t,n=it){const{immediate:o,deep:s,once:r,scheduler:a,augmentJob:l,call:c}=n,m=I=>s?I:kn(I)||s===!1||s===0?no(I,1):no(I);let d,p,_,g,b=!1,y=!1;if(Je(e)?(p=()=>e.value,b=kn(e)):oo(e)?(p=()=>m(e),b=!0):Me(e)?(y=!0,b=e.some(I=>oo(I)||kn(I)),p=()=>e.map(I=>{if(Je(I))return I.value;if(oo(I))return m(I);if(Ve(I))return c?c(I,2):I()})):Ve(e)?t?p=c?()=>c(e,2):e:p=()=>{if(_){ao();try{_()}finally{lo()}}const I=Ho;Ho=d;try{return c?c(e,3,[g]):e(g)}finally{Ho=I}}:p=Gn,t&&s){const I=p,k=s===!0?1/0:s;p=()=>no(I(),k)}const C=es(),E=()=>{d.stop(),C&&C.active&&fc(C.effects,d)};if(r&&t){const I=t;t=(...k)=>{I(...k),E()}}let D=y?new Array(e.length).fill(Fi):Fi;const v=I=>{if(!(!(d.flags&1)||!d.dirty&&!I))if(t){const k=d.run();if(s||b||(y?k.some((S,$)=>nn(S,D[$])):nn(k,D))){_&&_();const S=Ho;Ho=d;try{const $=[k,D===Fi?void 0:y&&D[0]===Fi?[]:D,g];D=k,c?c(t,3,$):t(...$)}finally{Ho=S}}}else d.run()};return l&&l(v),d=new am(p),d.scheduler=a?()=>a(v,!1):v,g=I=>_y(I,!1,d),_=d.onStop=()=>{const I=Sr.get(d);if(I){if(c)c(I,4);else for(const k of I)k();Sr.delete(d)}},t?o?v(!0):D=d.run():a?a(v.bind(null,!0),!0):d.run(),E.pause=d.pause.bind(d),E.resume=d.resume.bind(d),E.stop=E,E}function no(e,t=1/0,n){if(t<=0||!ut(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Je(e))no(e.value,t,n);else if(Me(e))for(let o=0;o<e.length;o++)no(e[o],t,n);else if(Kr(e)||bs(e))e.forEach(o=>{no(o,t,n)});else if(Zf(e)){for(const o in e)no(e[o],t,n);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&no(e[o],t,n)}return e}/** 10* @vue/runtime-core v3.5.22 11* (c) 2018-present Yuxi (Evan) You and Vue contributors 12* @license MIT
13**/function Ii(e,t,n,o){try{return o?e(...o):e()}catch(s){Vs(s,t,n)}}function Rn(e,t,n,o){if(Ve(e)){const s=Ii(e,t,n,o);return s&&Xr(s)&&s.catch(r=>{Vs(r,t,n)}),s}if(Me(e)){const s=[];for(let r=0;r<e.length;r++)s.push(Rn(e[r],t,n,o));return s}}function Vs(e,t,n,o=!0){const s=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||it;if(t){let l=t.parent;const c=t.proxy,m=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const d=l.ec;if(d){for(let p=0;p<d.length;p++)if(d[p](e,c,m)===!1)return}l=l.parent}if(r){ao(),Ii(r,null,10,[e,c,m]),lo();return}}vy(e,n,s,o,a)}function vy(e,t,n,o=!0,s=!1){if(s)throw e;console.error(e)}const Qt=[];let Un=-1;const Ts=[];let $o=null,us=0;const Cm=Promise.resolve();let Dr=null;function Rt(e){const t=Dr||Cm;return e?t.then(this?e.bind(this):e):t}function by(e){let t=Un+1,n=Qt.length;for(;t<n;){const o=t+n>>>1,s=Qt[o],r=gi(s);r<e||r===e&&s.flags&2?t=o+1:n=o}return t}function kc(e){if(!(e.flags&1)){const t=gi(e),n=Qt[Qt.length-1];!n||!(e.flags&2)&&t>=gi(n)?Qt.push(e):Qt.splice(by(t),0,e),e.flags|=1,Pm()}}function Pm(){Dr||(Dr=Cm.then(xm))}function ml(e){Me(e)?Ts.push(...e):$o&&e.id===-1?$o.splice(us+1,0,e):e.flags&1||(Ts.push(e),e.flags|=1),Pm()}function Cu(e,t,n=Un+1){for(;n<Qt.length;n++){const o=Qt[n];if(o&&o.flags&2){if(e&&o.id!==e.uid)continue;Qt.splice(n,1),n--,o.flags&4&&(o.flags&=-2),o(),o.flags&4||(o.flags&=-2)}}}function Cr(e){if(Ts.length){const t=[...new Set(Ts)].sort((n,o)=>gi(n)-gi(o));if(Ts.length=0,$o){$o.push(...t);return}for($o=t,us=0;us<$o.length;us++){const n=$o[us];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}$o=null,us=0}}const gi=e=>e.id==null?e.flags&2?-1:1/0:e.id;function xm(e){try{for(Un=0;Un<Qt.length;Un++){const t=Qt[Un];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Ii(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Un<Qt.length;Un++){const t=Qt[Un];t&&(t.flags&=-2)}Un=-1,Qt.length=0,Cr(),Dr=null,(Qt.length||Ts.length)&&xm()}}let Ht=null,Im=null;function Pr(e){const t=Ht;return Ht=e,Im=e&&e.type.__scopeId||null,t}function z(e,t=Ht,n){if(!t||e._n)return e;const o=(...s)=>{o._d&&Or(-1);const r=Pr(t);let a;try{a=e(...s)}finally{Pr(r),o._d&&Or(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function gt(e,t){if(Ht===null)return e;const n=ca(Ht),o=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[r,a,l,c=it]=t[s];r&&(Ve(r)&&(r={mounted:r,updated:r}),r.deep&&no(a),o.push({dir:r,instance:n,value:a,oldValue:void 0,arg:l,modifiers:c}))}return e}function jn(e,t,n,o){const s=e.dirs,r=t&&t.dirs;for(let a=0;a<s.length;a++){const l=s[a];r&&(l.oldValue=r[a].value);let c=l.dir[o];c&&(ao(),Rn(c,n,8,[e.el,l,e,t]),lo())}}const Em=Symbol("_vte"),Am=e=>e.__isTeleport,oi=e=>e&&(e.disabled||e.disabled===""),Pu=e=>e&&(e.defer||e.defer===""),xu=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Iu=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,pl=(e,t)=>{const n=e&&e.to;return _t(n)?t?t(n):null:n},Lm={name:"Teleport",__isTeleport:!0,process(e,t,n,o,s,r,a,l,c,m){const{mc:d,pc:p,pbc:_,o:{insert:g,querySelector:b,createText:y,createComment:C}}=m,E=oi(t.props);let{shapeFlag:D,children:v,dynamicChildren:I}=t;if(e==null){const k=t.el=y(""),S=t.anchor=y("");g(k,n,o),g(S,n,o);const $=(x,A)=>{D&16&&d(v,x,A,s,r,a,l,c)},P=()=>{const x=t.target=pl(t.props,b),A=Om(x,t,y,g);x&&(a!=="svg"&&xu(x)?a="svg":a!=="mathml"&&Iu(x)&&(a="mathml"),s&&s.isCE&&(s.ce._teleportTargets||(s.ce._teleportTargets=new Set)).add(x),E||($(x,A),pr(t,!1)))};E&&($(n,S),pr(t,!0)),Pu(t.props)?(t.el.__isMounted=!1,It(()=>{P(),delete t.el.__isMounted},r)):P()}else{if(Pu(t.props)&&e.el.__isMounted===!1){It(()=>{Lm.process(e,t,n,o,s,r,a,l,c,m)},r);return}t.el=e.el,t.targetStart=e.targetStart;const k=t.anchor=e.anchor,S=t.target=e.target,$=t.targetAnchor=e.targetAnchor,P=oi(e.props),x=P?n:S,A=P?k:$;if(a==="svg"||xu(S)?a="svg":(a==="mathml"||Iu(S))&&(a="mathml"),I?(_(e.dynamicChildren,I,x,s,r,a,l),Ic(e,t,!0)):c||p(e,t,x,A,s,r,a,l,!1),E)P?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Wi(t,n,k,m,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const N=t.target=pl(t.props,b);N&&Wi(t,N,null,m,0)}else P&&Wi(t,S,$,m,1);pr(t,E)}},remove(e,t,n,{um:o,o:{remove:s}},r){const{shapeFlag:a,children:l,anchor:c,targetStart:m,targetAnchor:d,target:p,props:_}=e;if(p&&(s(m),s(d)),r&&s(c),a&16){const g=r||!oi(_);for(let b=0;b<l.length;b++){const y=l[b];o(y,t,n,g,!!y.dynamicChildren)}}},move:Wi,hydrate:wy};function Wi(e,t,n,{o:{insert:o},m:s},r=2){r===0&&o(e.targetAnchor,t,n);const{el:a,anchor:l,shapeFlag:c,children:m,props:d}=e,p=r===2;if(p&&o(a,t,n),(!p||oi(d))&&c&16)for(let _=0;_<m.length;_++)s(m[_],t,n,2);p&&o(l,t,n)}function wy(e,t,n,o,s,r,{o:{nextSibling:a,parentNode:l,querySelector:c,insert:m,createText:d}},p){function _(y,C,E,D){C.anchor=p(a(y),C,l(y),n,o,s,r),C.targetStart=E,C.targetAnchor=D}const g=t.target=pl(t.props,c),b=oi(t.props);if(g){const y=g._lpa||g.firstChild;if(t.shapeFlag&16)if(b)_(e,t,y,y&&a(y));else{t.anchor=a(e);let C=y;for(;C;){if(C&&C.nodeType===8){if(C.data==="teleport start anchor")t.targetStart=C;else if(C.data==="teleport anchor"){t.targetAnchor=C,g._lpa=t.targetAnchor&&a(t.targetAnchor);break}}C=a(C)}t.targetAnchor||Om(g,t,d,m),p(y&&a(y),t,g,n,o,s,r)}pr(t,b)}else b&&t.shapeFlag&16&&_(e,t,e,a(e));return t.anchor&&a(t.anchor)}const Rm=Lm;function pr(e,t){const n=e.ctx;if(n&&n.ut){let o,s;for(t?(o=e.el,s=e.anchor):(o=e.targetStart,s=e.targetAnchor);o&&o!==s;)o.nodeType===1&&o.setAttribute("data-v-owner",n.uid),o=o.nextSibling;n.ut()}}
vendor: 51,201 bytes, lines 13-14
13function Om(e,t,n,o){const s=t.targetStart=n(""),r=t.targetAnchor=n("");return s[Em]=r,e&&(o(s,e),o(r,e)),r}const eo=Symbol("_leaveCb"),Gi=Symbol("_enterCb");function Mm(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return De(()=>{e.isMounted=!0}),Xe(()=>{e.isUnmounting=!0}),e}const vn=[Function,Array],Nm={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:vn,onEnter:vn,onAfterEnter:vn,onEnterCancelled:vn,onBeforeLeave:vn,onLeave:vn,onAfterLeave:vn,onLeaveCancelled:vn,onBeforeAppear:vn,onAppear:vn,onAfterAppear:vn,onAppearCancelled:vn},Bm=e=>{const t=e.subTree;return t.component?Bm(t.component):t},ky={name:"BaseTransition",props:Nm,setup(e,{slots:t}){const n=qt(),o=Mm();return()=>{const s=t.default&&Tc(t.default(),!0);if(!s||!s.length)return;const r=Um(s),a=tt(e),{mode:l}=a;if(o.isLeaving)return Ra(r);const c=Eu(r);if(!c)return Ra(r);let m=_i(c,a,o,n,p=>m=p);c.type!==Ct&&Lo(c,m);let d=n.subTree&&Eu(n.subTree);if(d&&d.type!==Ct&&!In(d,c)&&Bm(n).type!==Ct){let p=_i(d,a,o,n);if(Lo(d,p),l==="out-in"&&c.type!==Ct)return o.isLeaving=!0,p.afterLeave=()=>{o.isLeaving=!1,n.job.flags&8||n.update(),delete p.afterLeave,d=void 0},Ra(r);l==="in-out"&&c.type!==Ct?p.delayLeave=(_,g,b)=>{const y=jm(o,d);y[String(d.key)]=d,_[eo]=()=>{g(),_[eo]=void 0,delete m.delayedLeave,d=void 0},m.delayedLeave=()=>{b(),delete m.delayedLeave,d=void 0}}:d=void 0}else d&&(d=void 0);return r}}};function Um(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Ct){t=n;break}}return t}const Ty=ky;function jm(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function _i(e,t,n,o,s){const{appear:r,mode:a,persisted:l=!1,onBeforeEnter:c,onEnter:m,onAfterEnter:d,onEnterCancelled:p,onBeforeLeave:_,onLeave:g,onAfterLeave:b,onLeaveCancelled:y,onBeforeAppear:C,onAppear:E,onAfterAppear:D,onAppearCancelled:v}=t,I=String(e.key),k=jm(n,e),S=(x,A)=>{x&&Rn(x,o,9,A)},$=(x,A)=>{const N=A[1];S(x,A),Me(x)?x.every(M=>M.length<=1)&&N():x.length<=1&&N()},P={mode:a,persisted:l,beforeEnter(x){let A=c;if(!n.isMounted)if(r)A=C||c;else return;x[eo]&&x[eo](!0);const N=k[I];N&&In(e,N)&&N.el[eo]&&N.el[eo](),S(A,[x])},enter(x){let A=m,N=d,M=p;if(!n.isMounted)if(r)A=E||m,N=D||d,M=v||p;else return;let ee=!1;const X=x[Gi]=me=>{ee||(ee=!0,me?S(M,[x]):S(N,[x]),P.delayedLeave&&P.delayedLeave(),x[Gi]=void 0)};A?$(A,[x,X]):X()},leave(x,A){const N=String(e.key);if(x[Gi]&&x[Gi](!0),n.isUnmounting)return A();S(_,[x]);let M=!1;const ee=x[eo]=X=>{M||(M=!0,A(),X?S(y,[x]):S(b,[x]),x[eo]=void 0,k[N]===e&&delete k[N])};k[N]=e,g?$(g,[x,ee]):ee()},clone(x){const A=_i(x,t,n,o,s);return s&&s(A),A}};return P}function Ra(e){if(Ei(e))return e=pn(e),e.children=null,e}function Eu(e){if(!Ei(e))return Am(e.type)&&e.children?Um(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Ve(n.default))return n.default()}}function Lo(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Lo(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Tc(e,t=!1,n){let o=[],s=0;for(let r=0;r<e.length;r++){let a=e[r];const l=n==null?a.key:String(n)+String(a.key!=null?a.key:r);a.type===G?(a.patchFlag&128&&s++,o=o.concat(Tc(a.children,t,l))):(t||a.type!==Ct)&&o.push(l!=null?pn(a,{key:l}):a)}if(s>1)for(let r=0;r<o.length;r++)o[r].patchFlag=-2;return o}function At(e,t){return Ve(e)?xt({name:e.name},t,{setup:e}):e}function $y(){const e=qt();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function $c(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Sy(e){const t=qt(),n=Jt(null);if(t){const s=t.refs===it?t.refs={}:t.refs;Object.defineProperty(s,e,{enumerable:!0,get:()=>n.value,set:r=>n.value=r})}return n}const xr=new WeakMap;function $s(e,t,n,o,s=!1){if(Me(e)){e.forEach((b,y)=>$s(b,t&&(Me(t)?t[y]:t),n,o,s));return}if(Io(o)&&!s){o.shapeFlag&512&&o.type.__asyncResolved&&o.component.subTree.component&&$s(e,t,n,o.component.subTree);return}const r=o.shapeFlag&4?ca(o.component):o.el,a=s?null:r,{i:l,r:c}=e,m=t&&t.r,d=l.refs===it?l.refs={}:l.refs,p=l.setupState,_=tt(p),g=p===it?Qf:b=>ct(_,b);if(m!=null&&m!==c){if(Au(t),_t(m))d[m]=null,g(m)&&(p[m]=null);else if(Je(m)){m.value=null;const b=t;b.k&&(d[b.k]=null)}}if(Ve(c))Ii(c,l,12,[a,d]);else{const b=_t(c),y=Je(c);if(b||y){const C=()=>{if(e.f){const E=b?g(c)?p[c]:d[c]:c.value;if(s)Me(E)&&fc(E,r);else if(Me(E))E.includes(r)||E.push(r);else if(b)d[c]=[r],g(c)&&(p[c]=d[c]);else{const D=[r];c.value=D,e.k&&(d[e.k]=D)}}else b?(d[c]=a,g(c)&&(p[c]=a)):y&&(c.value=a,e.k&&(d[e.k]=a))};if(a){const E=()=>{C(),xr.delete(e)};E.id=-1,xr.set(e,E),It(E,n)}else Au(e),C()}}}function Au(e){const t=xr.get(e);t&&(t.flags|=8,xr.delete(e))}let Lu=!1;const ls=()=>{Lu||(console.error("Hydration completed but contains mismatches."),Lu=!0)},Dy=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Cy=e=>e.namespaceURI.includes("MathML"),qi=e=>{if(e.nodeType===1){if(Dy(e))return"svg";if(Cy(e))return"mathml"}},ms=e=>e.nodeType===8;function Py(e){const{mt:t,p:n,o:{patchProp:o,createText:s,nextSibling:r,parentNode:a,remove:l,insert:c,createComment:m}}=e,d=(v,I)=>{if(!I.hasChildNodes()){n(null,v,I),Cr(),I._vnode=v;return}p(I.firstChild,v,null,null,null),Cr(),I._vnode=v},p=(v,I,k,S,$,P=!1)=>{P=P||!!I.dynamicChildren;const x=ms(v)&&v.data==="[",A=()=>y(v,I,k,S,$,x),{type:N,ref:M,shapeFlag:ee,patchFlag:X}=I;let me=v.nodeType;I.el=v,X===-2&&(P=!1,I.dynamicChildren=null);let Q=null;switch(N){case qo:me!==3?I.children===""?(c(I.el=s(""),a(v),v),Q=v):Q=A():(v.data!==I.children&&(ls(),v.data=I.children),Q=r(v));break;case Ct:D(v)?(Q=r(v),E(I.el=v.content.firstChild,v,k)):me!==8||x?Q=A():Q=r(v);break;case ii:if(x&&(v=r(v),me=v.nodeType),me===1||me===3){Q=v;const F=!I.children.length;for(let Y=0;Y<I.staticCount;Y++)F&&(I.children+=Q.nodeType===1?Q.outerHTML:Q.data),Y===I.staticCount-1&&(I.anchor=Q),Q=r(Q);return x?r(Q):Q}else A();break;case G:x?Q=b(v,I,k,S,$,P):Q=A();break;default:if(ee&1)(me!==1||I.type.toLowerCase()!==v.tagName.toLowerCase())&&!D(v)?Q=A():Q=_(v,I,k,S,$,P);else if(ee&6){I.slotScopeIds=$;const F=a(v);if(x?Q=C(v):ms(v)&&v.data==="teleport start"?Q=C(v,v.data,"teleport end"):Q=r(v),t(I,F,null,k,S,qi(F),P),Io(I)&&!I.type.__asyncResolved){let Y;x?(Y=R(G),Y.anchor=Q?Q.previousSibling:F.lastChild):Y=v.nodeType===3?_e(""):R("div"),Y.el=v,I.component.subTree=Y}}else ee&64?me!==8?Q=A():Q=I.type.hydrate(v,I,k,S,$,P,e,g):ee&128&&(Q=I.type.hydrate(v,I,k,S,qi(a(v)),$,P,e,p))}return M!=null&&$s(M,null,S,I),Q},_=(v,I,k,S,$,P)=>{P=P||!!I.dynamicChildren;const{type:x,props:A,patchFlag:N,shapeFlag:M,dirs:ee,transition:X}=I,me=x==="input"||x==="option";if(me||N!==-1){ee&&jn(I,null,k,"created");let Q=!1;if(D(v)){Q=sp(null,X)&&k&&k.vnode.props&&k.vnode.props.appear;const Y=v.content.firstChild;if(Q){const ie=Y.getAttribute("class");ie&&(Y.$cls=ie),X.beforeEnter(Y)}E(Y,v,k),I.el=v=Y}if(M&16&&!(A&&(A.innerHTML||A.textContent))){let Y=g(v.firstChild,I,v,k,S,$,P);for(;Y;){Yi(v,1)||ls();const ie=Y;Y=Y.nextSibling,l(ie)}}else if(M&8){let Y=I.children;Y[0]===` 14`&&(v.tagName==="PRE"||v.tagName==="TEXTAREA")&&(Y=Y.slice(1)),v.textContent!==Y&&(Yi(v,0)||ls(),v.textContent=I.children)}if(A){if(me||!P||N&48){const Y=v.tagName.includes("-");for(const ie in A)(me&&(ie.endsWith("value")||ie==="indeterminate")||xi(ie)&&!ws(ie)||ie[0]==="."||Y)&&o(v,ie,null,A[ie],void 0,k)}else if(A.onClick)o(v,"onClick",null,A.onClick,void 0,k);else if(N&4&&oo(A.style))for(const Y in A.style)A.style[Y]}let F;(F=A&&A.onVnodeBeforeMount)&&tn(F,k,I),ee&&jn(I,null,k,"beforeMount"),((F=A&&A.onVnodeMounted)||ee||Q)&&dp(()=>{F&&tn(F,k,I),Q&&X.enter(v),ee&&jn(I,null,k,"mounted")},S)}return v.nextSibling},g=(v,I,k,S,$,P,x)=>{x=x||!!I.dynamicChildren;const A=I.children,N=A.length;for(let M=0;M<N;M++){const ee=x?A[M]:A[M]=dn(A[M]),X=ee.type===qo;v?(X&&!x&&M+1<N&&dn(A[M+1]).type===qo&&(c(s(v.data.slice(ee.children.length)),k,r(v)),v.data=ee.children),v=p(v,ee,S,$,P,x)):X&&!ee.children?c(ee.el=s(""),k):(Yi(k,1)||ls(),n(null,ee,k,null,S,$,qi(k),P))}return v},b=(v,I,k,S,$,P)=>{const{slotScopeIds:x}=I;x&&($=$?$.concat(x):x);const A=a(v),N=g(r(v),I,A,k,S,$,P);return N&&ms(N)&&N.data==="]"?r(I.anchor=N):(ls(),c(I.anchor=m("]"),A,N),N)},y=(v,I,k,S,$,P)=>{if(Yi(v.parentElement,1)||ls(),I.el=null,P){const N=C(v);for(;;){const M=r(v);if(M&&M!==N)l(M);else break}}const x=r(v),A=a(v);return l(v),n(null,I,A,x,k,S,qi(A),$),k&&(k.vnode.el=I.el,aa(k,I.el)),x},C=(v,I="[",k="]")=>{let S=0;for(;v;)if(v=r(v),v&&ms(v)&&(v.data===I&&S++,v.data===k)){if(S===0)return r(v);S--}return v},E=(v,I,k)=>{const S=I.parentNode;S&&S.replaceChild(v,I);let $=k;for(;$;)$.vnode.el===I&&($.vnode.el=$.subTree.el=v),$=$.parent},D=v=>v.nodeType===1&&v.tagName==="TEMPLATE";return[d,p]}const Ru="data-allow-mismatch",xy={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Yi(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Ru);)e=e.parentElement;const n=e&&e.getAttribute(Ru);if(n==null)return!1;if(n==="")return!0;{const o=n.split(",");return t===0&&o.includes("children")?!0:o.includes(xy[t])}}Zr().requestIdleCallback;Zr().cancelIdleCallback;function Iy(e,t){if(ms(e)&&e.data==="["){let n=1,o=e.nextSibling;for(;o;){if(o.nodeType===1){if(t(o)===!1)break}else if(ms(o))if(o.data==="]"){if(--n===0)break}else o.data==="["&&n++;o=o.nextSibling}}else t(e)}const Io=e=>!!e.type.__asyncLoader;function oe(e){Ve(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:s=200,hydrate:r,timeout:a,suspensible:l=!0,onError:c}=e;let m=null,d,p=0;const _=()=>(p++,m=null,g()),g=()=>{let b;return m||(b=m=t().catch(y=>{if(y=y instanceof Error?y:new Error(String(y)),c)return new Promise((C,E)=>{c(y,()=>C(_()),()=>E(y),p+1)});throw y}).then(y=>b!==m&&m?m:(y&&(y.__esModule||y[Symbol.toStringTag]==="Module")&&(y=y.default),d=y,y)))};return At({name:"AsyncComponentWrapper",__asyncLoader:g,__asyncHydrate(b,y,C){let E=!1;(y.bu||(y.bu=[])).push(()=>E=!0);const D=()=>{E||C()},v=r?()=>{const I=r(D,k=>Iy(b,k));I&&(y.bum||(y.bum=[])).push(I)}:D;d?v():g().then(()=>!y.isUnmounted&&v())},get __asyncResolved(){return d},setup(){const b=Vt;if($c(b),d)return()=>Oa(d,b);const y=v=>{m=null,Vs(v,b,13,!o)};if(l&&b.suspense||Es)return g().then(v=>()=>Oa(v,b)).catch(v=>(y(v),()=>o?R(o,{error:v}):null));const C=L(!1),E=L(),D=L(!!s);return s&&setTimeout(()=>{D.value=!1},s),a!=null&&setTimeout(()=>{if(!C.value&&!E.value){const v=new Error(`Async component timed out after ${a}ms.`);y(v),E.value=v}},a),g().then(()=>{C.value=!0,b.parent&&Ei(b.parent.vnode)&&b.parent.update()}).catch(v=>{y(v),E.value=v}),()=>{if(C.value&&d)return Oa(d,b);if(E.value&&o)return R(o,{error:E.value});if(n&&!D.value)return R(n)}}})}function Oa(e,t){const{ref:n,props:o,children:s,ce:r}=t.vnode,a=R(e,o,s);return a.ref=n,a.ce=r,delete t.vnode.ce,a}const Ei=e=>e.type.__isKeepAlive,Ey={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=qt(),o=n.ctx;if(!o.renderer)return()=>{const D=t.default&&t.default();return D&&D.length===1?D[0]:D};const s=new Map,r=new Set;let a=null;const l=n.suspense,{renderer:{p:c,m,um:d,o:{createElement:p}}}=o,_=p("div");o.activate=(D,v,I,k,S)=>{const $=D.component;m(D,v,I,0,l),c($.vnode,D,v,I,$,l,k,D.slotScopeIds,S),It(()=>{$.isDeactivated=!1,$.a&&ks($.a);const P=D.props&&D.props.onVnodeMounted;P&&tn(P,$.parent,D)},l)},o.deactivate=D=>{const v=D.component;Lr(v.m),Lr(v.a),m(D,_,null,1,l),It(()=>{v.da&&ks(v.da);const I=D.props&&D.props.onVnodeUnmounted;I&&tn(I,v.parent,D),v.isDeactivated=!0},l)};function g(D){Ma(D),d(D,n,l,!0)}function b(D){s.forEach((v,I)=>{const k=Tl(v.type);k&&!D(k)&&y(I)})}function y(D){const v=s.get(D);v&&(!a||!In(v,a))?g(v):a&&Ma(a),s.delete(D),r.delete(D)}qe(()=>[e.include,e.exclude],([D,v])=>{D&&b(I=>Zs(D,I)),v&&b(I=>!Zs(v,I))},{flush:"post",deep:!0});let C=null;const E=()=>{C!=null&&(Rr(n.subTree.type)?It(()=>{s.set(C,Ki(n.subTree))},n.subTree.suspense):s.set(C,Ki(n.subTree)))};return De(E),Sc(E),Xe(()=>{s.forEach(D=>{const{subTree:v,suspense:I}=n,k=Ki(v);if(D.type===k.type&&D.key===k.key){Ma(k);const S=k.component.da;S&&It(S,I);return}g(D)})}),()=>{if(C=null,!t.default)return a=null;const D=t.default(),v=D[0];if(D.length>1)return a=null,D;if(!Qo(v)||!(v.shapeFlag&4)&&!(v.shapeFlag&128))return a=null,v;let I=Ki(v);if(I.type===Ct)return a=null,I;const k=I.type,S=Tl(Io(I)?I.type.__asyncResolved||{}:k),{include:$,exclude:P,max:x}=e;if($&&(!S||!Zs($,S))||P&&S&&Zs(P,S))return I.shapeFlag&=-257,a=I,v;const A=I.key==null?k:I.key,N=s.get(A);return I.el&&(I=pn(I),v.shapeFlag&128&&(v.ssContent=I)),C=A,N?(I.el=N.el,I.component=N.component,I.transition&&Lo(I,I.transition),I.shapeFlag|=512,r.delete(A),r.add(A)):(r.add(A),x&&r.size>parseInt(x,10)&&y(r.values().next().value)),I.shapeFlag|=256,a=I,Rr(v.type)?v:I}}},Ay=Ey;function Zs(e,t){return Me(e)?e.some(n=>Zs(n,t)):_t(e)?e.split(",").includes(t):A_(e)?(e.lastIndex=0,e.test(t)):!1}function Vm(e,t){zm(e,"a",t)}function Hm(e,t){zm(e,"da",t)}function zm(e,t,n=Vt){const o=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(na(t,o,n),n){let s=n.parent;for(;s&&s.parent;)Ei(s.parent.vnode)&&Ly(o,t,n,s),s=s.parent}}function Ly(e,t,n,o){const s=na(t,e,o,!0);Zt(()=>{fc(o[t],s)},n)}function Ma(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Ki(e){return e.shapeFlag&128?e.ssContent:e}function na(e,t,n=Vt,o=!1){if(n){const s=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...a)=>{ao();const l=Zo(n),c=Rn(t,n,e,a);return l(),lo(),c});return o?s.unshift(r):s.push(r),r}}const ho=e=>(t,n=Vt)=>{(!Es||e==="sp")&&na(e,(...o)=>t(...o),n)},oa=ho("bm"),De=ho("m"),Ry=ho("bu"),Sc=ho("u"),Xe=ho("bum"),Zt=ho("um"),Oy=ho("sp"),My=ho("rtg"),Ny=ho("rtc");function sa(e,t=Vt){na("ec",e,t)}const Dc="components",By="directives";function Ze(e,t){return Cc(Dc,e,!0,t)||e}const Fm=Symbol.for("v-ndc");function Qe(e){return _t(e)?Cc(Dc,e,!1)||e:e||Fm}function $n(e){return Cc(By,e)}function Cc(e,t,n=!0,o=!1){const s=Ht||Vt;if(s){const r=s.type;if(e===Dc){const l=Tl(r,!1);if(l&&(l===t||l===hn(t)||l===Jr(hn(t))))return r}const a=Ou(s[e]||r[e],t)||Ou(s.appContext[e],t);return!a&&o?r:a}}function Ou(e,t){return e&&(e[t]||e[hn(t)]||e[Jr(hn(t))])}function pe(e,t,n,o){let s;const r=n,a=Me(e);if(a||_t(e)){const l=a&&oo(e);let c=!1,m=!1;l&&(c=!kn(e),m=co(e),e=ta(e)),s=new Array(e.length);for(let d=0,p=e.length;d<p;d++)s[d]=t(c?m?$r(jt(e[d])):jt(e[d]):e[d],d,void 0,r)}else if(typeof e=="number"){s=new Array(e);for(let l=0;l<e;l++)s[l]=t(l+1,l,void 0,r)}else if(ut(e))if(e[Symbol.iterator])s=Array.from(e,(l,c)=>t(l,c,void 0,r));else{const l=Object.keys(e);s=new Array(l.length);for(let c=0,m=l.length;c<m;c++){const d=l[c];s[c]=t(e[d],d,c,r)}}else s=[];return s}function Sn(e,t){for(let n=0;n<t.length;n++){const o=t[n];if(Me(o))for(let s=0;s<o.length;s++)e[o[s].name]=o[s].fn;else o&&(e[o.name]=o.key?(...s)=>{const r=o.fn(...s);return r&&(r.key=o.key),r}:o.fn)}return e}function Ee(e,t,n={},o,s){if(Ht.ce||Ht.parent&&Io(Ht.parent)&&Ht.parent.ce){const m=Object.keys(n).length>0;return t!=="default"&&(n.name=t),u(),O(G,null,[R("slot",n,o&&o())],m?-2:64)}let r=e[t];r&&r._c&&(r._d=!1),u();const a=r&&Wm(r(n)),l=n.key||a&&a.key,c=O(G,{key:(l&&!Ln(l)?l:`_${t}`)+(!a&&o?"_fb":"")},a||(o?o():[]),a&&e._===1?64:-2);return!s&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),r&&r._c&&(r._d=!0),c}function Wm(e){return e.some(t=>Qo(t)?!(t.type===Ct||t.type===G&&!Wm(t.children)):!0)?e:null}function Uy(e,t){const n={};for(const o in e)n[mr(o)]=e[o];return n}const hl=e=>e?hp(e)?ca(e):hl(e.parent):null,si=xt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>hl(e.parent),$root:e=>hl(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>qm(e),$forceUpdate:e=>e.f||(e.f=()=>{kc(e.update)}),$nextTick:e=>e.n||(e.n=Rt.bind(e.proxy)),$watch:e=>av.bind(e)}),Na=(e,t)=>e!==it&&!e.__isScriptSetup&&ct(e,t),jy={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:o,data:s,props:r,accessCache:a,type:l,appContext:c}=e;let m;if(t[0]!=="$"){const g=a[t];if(g!==void 0)switch(g){case 1:return o[t];case 2:return s[t];case 4:return n[t];case 3:return r[t]}else{if(Na(o,t))return a[t]=1,o[t];if(s!==it&&ct(s,t))return a[t]=2,s[t];if((m=e.propsOptions[0])&&ct(m,t))return a[t]=3,r[t];if(n!==it&&ct(n,t))return a[t]=4,n[t];gl&&(a[t]=0)}}const d=si[t];let p,_;if(d)return t==="$attrs"&&Wt(e.attrs,"get",""),d(e);if((p=l.__cssModules)&&(p=p[t]))return p;if(n!==it&&ct(n,t))return a[t]=4,n[t];if(_=c.config.globalProperties,ct(_,t))return _[t]},set({_:e},t,n){const{data:o,setupState:s,ctx:r}=e;return Na(s,t)?(s[t]=n,!0):o!==it&&ct(o,t)?(o[t]=n,!0):ct(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:s,propsOptions:r,type:a}},l){let c,m;return!!(n[l]||e!==it&&l[0]!=="$"&&ct(e,l)||Na(t,l)||(c=r[0])&&ct(c,l)||ct(o,l)||ct(si,l)||ct(s.config.globalProperties,l)||(m=a.__cssModules)&&m[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ct(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ir(e){return Me(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Vy(e,t){return!e||!t?e||t:Me(e)&&Me(t)?e.concat(t):xt({},Ir(e),Ir(t))}function Er(e){const t=qt();let n=e();return wl(),Xr(n)&&(n=n.catch(o=>{throw Zo(t),o})),[n,()=>Zo(t)]}let gl=!0;function Hy(e){const t=qm(e),n=e.proxy,o=e.ctx;gl=!1,t.beforeCreate&&Mu(t.beforeCreate,e,"bc");const{data:s,computed:r,methods:a,watch:l,provide:c,inject:m,created:d,beforeMount:p,mounted:_,beforeUpdate:g,updated:b,activated:y,deactivated:C,beforeDestroy:E,beforeUnmount:D,destroyed:v,unmounted:I,render:k,renderTracked:S,renderTriggered:$,errorCaptured:P,serverPrefetch:x,expose:A,inheritAttrs:N,components:M,directives:ee,filters:X}=t;if(m&&zy(m,o,null),a)for(const F in a){const Y=a[F];Ve(Y)&&(o[F]=Y.bind(n))}if(s){const F=s.call(n,n);ut(F)&&(e.data=Gt(F))}if(gl=!0,r)for(const F in r){const Y=r[F],ie=Ve(Y)?Y.bind(n,n):Ve(Y.get)?Y.get.bind(n,n):Gn,ce=!Ve(Y)&&Ve(Y.set)?Y.set.bind(n):Gn,de=se({get:ie,set:ce});Object.defineProperty(o,F,{enumerable:!0,configurable:!0,get:()=>de.value,set:V=>de.value=V})}if(l)for(const F in l)Gm(l[F],o,n,F);if(c){const F=Ve(c)?c.call(n):c;Reflect.ownKeys(F).forEach(Y=>{so(Y,F[Y])})}d&&Mu(d,e,"c");function Q(F,Y){Me(Y)?Y.forEach(ie=>F(ie.bind(n))):Y&&F(Y.bind(n))}if(Q(oa,p),Q(De,_),Q(Ry,g),Q(Sc,b),Q(Vm,y),Q(Hm,C),Q(sa,P),Q(Ny,S),Q(My,$),Q(Xe,D),Q(Zt,I),Q(Oy,x),Me(A))if(A.length){const F=e.exposed||(e.exposed={});A.forEach(Y=>{Object.defineProperty(F,Y,{get:()=>n[Y],set:ie=>n[Y]=ie,enumerable:!0})})}else e.exposed||(e.exposed={});k&&e.render===Gn&&(e.render=k),N!=null&&(e.inheritAttrs=N),M&&(e.components=M),ee&&(e.directives=ee),x&&$c(e)}function zy(e,t,n=Gn){Me(e)&&(e=_l(e));for(const o in e){const s=e[o];let r;ut(s)?"default"in s?r=Pt(s.from||o,s.default,!0):r=Pt(s.from||o):r=Pt(s),Je(r)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:a=>r.value=a}):t[o]=r}}function Mu(e,t,n){Rn(Me(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function Gm(e,t,n,o){let s=o.includes(".")?ap(n,o):()=>n[o];if(_t(e)){const r=t[e];Ve(r)&&qe(s,r)}else if(Ve(e))qe(s,e.bind(n));else if(ut(e))if(Me(e))e.forEach(r=>Gm(r,t,n,o));else{const r=Ve(e.handler)?e.handler.bind(n):t[e.handler];Ve(r)&&qe(s,r,e)}}function qm(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:s,optionsCache:r,config:{optionMergeStrategies:a}}=e.appContext,l=r.get(t);let c;return l?c=l:!s.length&&!n&&!o?c=t:(c={},s.length&&s.forEach(m=>Ar(c,m,a,!0)),Ar(c,t,a)),ut(t)&&r.set(t,c),c}function Ar(e,t,n,o=!1){const{mixins:s,extends:r}=t;r&&Ar(e,r,n,!0),s&&s.forEach(a=>Ar(e,a,n,!0));for(const a in t)if(!(o&&a==="expose")){const l=Fy[a]||n&&n[a];e[a]=l?l(e[a],t[a]):t[a]}return e}const Fy={data:Nu,props:Bu,emits:Bu,methods:ei,computed:ei,beforeCreate:Xt,created:Xt,beforeMount:Xt,mounted:Xt,beforeUpdate:Xt,updated:Xt,beforeDestroy:Xt,beforeUnmount:Xt,destroyed:Xt,unmounted:Xt,activated:Xt,deactivated:Xt,errorCaptured:Xt,serverPrefetch:Xt,components:ei,directives:ei,watch:Gy,provide:Nu,inject:Wy};function Nu(e,t){return t?e?function(){return xt(Ve(e)?e.call(this,this):e,Ve(t)?t.call(this,this):t)}:t:e}function Wy(e,t){return ei(_l(e),_l(t))}function _l(e){if(Me(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Xt(e,t){return e?[...new Set([].concat(e,t))]:t}function ei(e,t){return e?xt(Object.create(null),e,t):t}function Bu(e,t){return e?Me(e)&&Me(t)?[...new Set([...e,...t])]:xt(Object.create(null),Ir(e),Ir(t??{})):t}function Gy(e,t){if(!e)return t;if(!t)return e;const n=xt(Object.create(null),e);for(const o in t)n[o]=Xt(e[o],t[o]);return n}function Ym(){return{app:null,config:{isNativeTag:Qf,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let qy=0;function Yy(e,t){return function(o,s=null){Ve(o)||(o=xt({},o)),s!=null&&!ut(s)&&(s=null);const r=Ym(),a=new WeakSet,l=[];let c=!1;const m=r.app={_uid:qy++,_component:o,_props:s,_container:null,_context:r,_instance:null,version:Iv,get config(){return r.config},set config(d){},use(d,...p){return a.has(d)||(d&&Ve(d.install)?(a.add(d),d.install(m,...p)):Ve(d)&&(a.add(d),d(m,...p))),m},mixin(d){return r.mixins.includes(d)||r.mixins.push(d),m},component(d,p){return p?(r.components[d]=p,m):r.components[d]},directive(d,p){return p?(r.directives[d]=p,m):r.directives[d]},mount(d,p,_){if(!c){const g=m._ceVNode||R(o,s);return g.appContext=r,_===!0?_="svg":_===!1&&(_=void 0),p&&t?t(g,d):e(g,d,_),c=!0,m._container=d,d.__vue_app__=m,ca(g.component)}},onUnmount(d){l.push(d)},unmount(){c&&(Rn(l,m._instance,16),e(null,m._container),delete m._container.__vue_app__)},provide(d,p){return r.provides[d]=p,m},runWithContext(d){const p=Go;Go=m;try{return d()}finally{Go=p}}};return m}}let Go=null;function so(e,t){if(Vt){let n=Vt.provides;const o=Vt.parent&&Vt.parent.provides;o===n&&(n=Vt.provides=Object.create(o)),n[e]=t}}function Pt(e,t,n=!1){const o=qt();if(o||Go){let s=Go?Go._context.provides:o?o.parent==null||o.ce?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&Ve(t)?t.call(o&&o.proxy):t}}function Ai(){return!!(qt()||Go)}const Km={},Xm=()=>Object.create(Km),Qm=e=>Object.getPrototypeOf(e)===Km;function Ky(e,t,n,o=!1){const s={},r=Xm();e.propsDefaults=Object.create(null),Jm(e,t,s,r);for(const a in e.propsOptions[0])a in s||(s[a]=void 0);n?e.props=o?s:zn(s):e.type.props?e.props=s:e.props=r,e.attrs=r}function Xy(e,t,n,o){const{props:s,attrs:r,vnode:{patchFlag:a}}=e,l=tt(s),[c]=e.propsOptions;let m=!1;if((o||a>0)&&!(a&16)){if(a&8){const d=e.vnode.dynamicProps;for(let p=0;p<d.length;p++){let _=d[p];if(ra(e.emitsOptions,_))continue;const g=t[_];if(c)if(ct(r,_))g!==r[_]&&(r[_]=g,m=!0);else{const b=hn(_);s[b]=yl(c,l,b,g,e,!1)}else g!==r[_]&&(r[_]=g,m=!0)}}}else{Jm(e,t,s,r)&&(m=!0);let d;for(const p in l)(!t||!ct(t,p)&&((d=po(p))===p||!ct(t,d)))&&(c?n&&(n[p]!==void 0||n[d]!==void 0)&&(s[p]=yl(c,l,p,void 0,e,!0)):delete s[p]);if(r!==l)for(const p in r)(!t||!ct(t,p))&&(delete r[p],m=!0)}m&&to(e.attrs,"set","")}function Jm(e,t,n,o){const[s,r]=e.propsOptions;let a=!1,l;if(t)for(let c in t){if(ws(c))continue;const m=t[c];let d;s&&ct(s,d=hn(c))?!r||!r.includes(d)?n[d]=m:(l||(l={}))[d]=m:ra(e.emitsOptions,c)||(!(c in o)||m!==o[c])&&(o[c]=m,a=!0)}if(r){const c=tt(n),m=l||it;for(let d=0;d<r.length;d++){const p=r[d];n[p]=yl(s,c,p,m[p],e,!ct(m,p))}}return a}function yl(e,t,n,o,s,r){const a=e[n];if(a!=null){const l=ct(a,"default");if(l&&o===void 0){const c=a.default;if(a.type!==Function&&!a.skipFactory&&Ve(c)){const{propsDefaults:m}=s;if(n in m)o=m[n];else{const d=Zo(s);o=m[n]=c.call(null,t),d()}}else o=c;s.ce&&s.ce._setProp(n,o)}a[0]&&(r&&!l?o=!1:a[1]&&(o===""||o===po(n))&&(o=!0))}return o}const Qy=new WeakMap;function Zm(e,t,n=!1){const o=n?Qy:t.propsCache,s=o.get(e);if(s)return s;const r=e.props,a={},l=[];let c=!1;if(!Ve(e)){const d=p=>{c=!0;const[_,g]=Zm(p,t,!0);xt(a,_),g&&l.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!r&&!c)return ut(e)&&o.set(e,vs),vs;if(Me(r))for(let d=0;d<r.length;d++){const p=hn(r[d]);Uu(p)&&(a[p]=it)}else if(r)for(const d in r){const p=hn(d);if(Uu(p)){const _=r[d],g=a[p]=Me(_)||Ve(_)?{type:_}:xt({},_),b=g.type;let y=!1,C=!0;if(Me(b))for(let E=0;E<b.length;++E){const D=b[E],v=Ve(D)&&D.name;if(v==="Boolean"){y=!0;break}else v==="String"&&(C=!1)}else y=Ve(b)&&b.name==="Boolean";g[0]=y,g[1]=C,(y||ct(g,"default"))&&l.push(p)}}const m=[a,l];return ut(e)&&o.set(e,m),m}function Uu(e){return e[0]!=="$"&&!ws(e)}const Pc=e=>e==="_"||e==="_ctx"||e==="$stable",xc=e=>Me(e)?e.map(dn):[dn(e)],Jy=(e,t,n)=>{if(t._n)return t;const o=z((...s)=>xc(t(...s)),n);return o._c=!1,o},ep=(e,t,n)=>{const o=e._ctx;for(const s in e){if(Pc(s))continue;const r=e[s];if(Ve(r))t[s]=Jy(s,r,o);else if(r!=null){const a=xc(r);t[s]=()=>a}}},tp=(e,t)=>{const n=xc(t);e.slots.default=()=>n},np=(e,t,n)=>{for(const o in t)(n||!Pc(o))&&(e[o]=t[o])},Zy=(e,t,n)=>{const o=e.slots=Xm();if(e.vnode.shapeFlag&32){const s=t._;s?(np(o,t,n),n&&em(o,"_",s,!0)):ep(t,o)}else t&&tp(e,t)},ev=(e,t,n)=>{const{vnode:o,slots:s}=e;let r=!0,a=it;if(o.shapeFlag&32){const l=t._;l?n&&l===1?r=!1:np(s,t,n):(r=!t.$stable,ep(t,s)),a=t}else t&&(tp(e,t),a={default:1});if(r)for(const l in s)!Pc(l)&&a[l]==null&&delete s[l]},It=dp;function tv(e){return op(e)}function nv(e){return op(e,Py)}function op(e,t){const n=Zr();n.__VUE__=!0;const{insert:o,remove:s,patchProp:r,createElement:a,createText:l,createComment:c,setText:m,setElementText:d,parentNode:p,nextSibling:_,setScopeId:g=Gn,insertStaticContent:b}=e,y=(B,H,U,J=null,ae=null,re=null,ge=void 0,ve=null,ke=!!H.dynamicChildren)=>{if(B===H)return;B&&!In(B,H)&&(J=W(B),V(B,ae,re,!0),B=null),H.patchFlag===-2&&(ke=!1,H.dynamicChildren=null);const{type:be,ref:Re,shapeFlag:Ce}=H;switch(be){case qo:C(B,H,U,J);break;case Ct:E(B,H,U,J);break;case ii:B==null&&D(H,U,J,ge);break;case G:M(B,H,U,J,ae,re,ge,ve,ke);break;default:Ce&1?k(B,H,U,J,ae,re,ge,ve,ke):Ce&6?ee(B,H,U,J,ae,re,ge,ve,ke):(Ce&64||Ce&128)&&be.process(B,H,U,J,ae,re,ge,ve,ke,we)}Re!=null&&ae?$s(Re,B&&B.ref,re,H||B,!H):Re==null&&B&&B.ref!=null&&$s(B.ref,null,re,B,!0)},C=(B,H,U,J)=>{if(B==null)o(H.el=l(H.children),U,J);else{const ae=H.el=B.el;H.children!==B.children&&m(ae,H.children)}},E=(B,H,U,J)=>{B==null?o(H.el=c(H.children||""),U,J):H.el=B.el},D=(B,H,U,J)=>{[B.el,B.anchor]=b(B.children,H,U,J,B.el,B.anchor)},v=({el:B,anchor:H},U,J)=>{let ae;for(;B&&B!==H;)ae=_(B),o(B,U,J),B=ae;o(H,U,J)},I=({el:B,anchor:H})=>{let U;for(;B&&B!==H;)U=_(B),s(B),B=U;s(H)},k=(B,H,U,J,ae,re,ge,ve,ke)=>{H.type==="svg"?ge="svg":H.type==="math"&&(ge="mathml"),B==null?S(H,U,J,ae,re,ge,ve,ke):x(B,H,ae,re,ge,ve,ke)},S=(B,H,U,J,ae,re,ge,ve)=>{let ke,be;const{props:Re,shapeFlag:Ce,transition:xe,dirs:je}=B;if(ke=B.el=a(B.type,re,Re&&Re.is,Re),Ce&8?d(ke,B.children):Ce&16&&P(B.children,ke,null,J,ae,Ba(B,re),ge,ve),je&&jn(B,null,J,"created"),$(ke,B,B.scopeId,ge,J),Re){for(const at in Re)at!=="value"&&!ws(at)&&r(ke,at,null,Re[at],re,J);"value"in Re&&r(ke,"value",null,Re.value,re),(be=Re.onVnodeBeforeMount)&&tn(be,J,B)}je&&jn(B,null,J,"beforeMount");const We=sp(ae,xe);We&&xe.beforeEnter(ke),o(ke,H,U),((be=Re&&Re.onVnodeMounted)||We||je)&&It(()=>{be&&tn(be,J,B),We&&xe.enter(ke),je&&jn(B,null,J,"mounted")},ae)},$=(B,H,U,J,ae)=>{if(U&&g(B,U),J)for(let re=0;re<J.length;re++)g(B,J[re]);if(ae){let re=ae.subTree;if(H===re||Rr(re.type)&&(re.ssContent===H||re.ssFallback===H)){const ge=ae.vnode;$(B,ge,ge.scopeId,ge.slotScopeIds,ae.parent)}}},P=(B,H,U,J,ae,re,ge,ve,ke=0)=>{for(let be=ke;be<B.length;be++){const Re=B[be]=ve?So(B[be]):dn(B[be]);y(null,Re,H,U,J,ae,re,ge,ve)}},x=(B,H,U,J,ae,re,ge)=>{const ve=H.el=B.el;let{patchFlag:ke,dynamicChildren:be,dirs:Re}=H;ke|=B.patchFlag&16;const Ce=B.props||it,xe=H.props||it;let je;if(U&&Uo(U,!1),(je=xe.onVnodeBeforeUpdate)&&tn(je,U,H,B),Re&&jn(H,B,U,"beforeUpdate"),U&&Uo(U,!0),(Ce.innerHTML&&xe.innerHTML==null||Ce.textContent&&xe.textContent==null)&&d(ve,""),be?A(B.dynamicChildren,be,ve,U,J,Ba(H,ae),re):ge||Y(B,H,ve,null,U,J,Ba(H,ae),re,!1),ke>0){if(ke&16)N(ve,Ce,xe,U,ae);else if(ke&2&&Ce.class!==xe.class&&r(ve,"class",null,xe.class,ae),ke&4&&r(ve,"style",Ce.style,xe.style,ae),ke&8){const We=H.dynamicProps;for(let at=0;at<We.length;at++){const ot=We[at],Lt=Ce[ot],Pe=xe[ot];(Pe!==Lt||ot==="value")&&r(ve,ot,Lt,Pe,ae,U)}}ke&1&&B.children!==H.children&&d(ve,H.children)}else!ge&&be==null&&N(ve,Ce,xe,U,ae);((je=xe.onVnodeUpdated)||Re)&&It(()=>{je&&tn(je,U,H,B),Re&&jn(H,B,U,"updated")},J)},A=(B,H,U,J,ae,re,ge)=>{for(let ve=0;ve<H.length;ve++){const ke=B[ve],be=H[ve],Re=ke.el&&(ke.type===G||!In(ke,be)||ke.shapeFlag&198)?p(ke.el):U;y(ke,be,Re,null,J,ae,re,ge,!0)}},N=(B,H,U,J,ae)=>{if(H!==U){if(H!==it)for(const re in H)!ws(re)&&!(re in U)&&r(B,re,H[re],null,ae,J);for(const re in U){if(ws(re))continue;const ge=U[re],ve=H[re];ge!==ve&&re!=="value"&&r(B,re,ve,ge,ae,J)}"value"in U&&r(B,"value",H.value,U.value,ae)}},M=(B,H,U,J,ae,re,ge,ve,ke)=>{const be=H.el=B?B.el:l(""),Re=H.anchor=B?B.anchor:l("");let{patchFlag:Ce,dynamicChildren:xe,slotScopeIds:je}=H;je&&(ve=ve?ve.concat(je):je),B==null?(o(be,U,J),o(Re,U,J),P(H.children||[],U,Re,ae,re,ge,ve,ke)):Ce>0&&Ce&64&&xe&&B.dynamicChildren?(A(B.dynamicChildren,xe,U,ae,re,ge,ve),(H.key!=null||ae&&H===ae.subTree)&&Ic(B,H,!0)):Y(B,H,U,Re,ae,re,ge,ve,ke)},ee=(B,H,U,J,ae,re,ge,ve,ke)=>{H.slotScopeIds=ve,B==null?H.shapeFlag&512?ae.ctx.activate(H,U,J,ge,ke):X(H,U,J,ae,re,ge,ke):me(B,H,ke)},X=(B,H,U,J,ae,re,ge)=>{const ve=B.component=$v(B,J,ae);if(Ei(B)&&(ve.ctx.renderer=we),Sv(ve,!1,ge),ve.asyncDep){if(ae&&ae.registerDep(ve,Q,ge),!B.el){const ke=ve.subTree=R(Ct);E(null,ke,H,U),B.placeholder=ke.el}}else Q(ve,B,H,U,ae,re,ge)},me=(B,H,U)=>{const J=H.component=B.component;if(mv(B,H,U))if(J.asyncDep&&!J.asyncResolved){F(J,H,U);return}else J.next=H,J.update();else H.el=B.el,J.vnode=H},Q=(B,H,U,J,ae,re,ge)=>{const ve=()=>{if(B.isMounted){let{next:Ce,bu:xe,u:je,parent:We,vnode:at}=B;{const st=ip(B);if(st){Ce&&(Ce.el=at.el,F(B,Ce,ge)),st.asyncDep.then(()=>{B.isUnmounted||ve()});return}}let ot=Ce,Lt;Uo(B,!1),Ce?(Ce.el=at.el,F(B,Ce,ge)):Ce=at,xe&&ks(xe),(Lt=Ce.props&&Ce.props.onVnodeBeforeUpdate)&&tn(Lt,We,Ce,at),Uo(B,!0);const Pe=ja(B),Ae=B.subTree;B.subTree=Pe,y(Ae,Pe,p(Ae.el),W(Ae),B,ae,re),Ce.el=Pe.el,ot===null&&aa(B,Pe.el),je&&It(je,ae),(Lt=Ce.props&&Ce.props.onVnodeUpdated)&&It(()=>tn(Lt,We,Ce,at),ae)}else{let Ce;const{el:xe,props:je}=H,{bm:We,m:at,parent:ot,root:Lt,type:Pe}=B,Ae=Io(H);if(Uo(B,!1),We&&ks(We),!Ae&&(Ce=je&&je.onVnodeBeforeMount)&&tn(Ce,ot,H),Uo(B,!0),xe&&nt){const st=()=>{B.subTree=ja(B),nt(xe,B.subTree,B,ae,null)};Ae&&Pe.__asyncHydrate?Pe.__asyncHydrate(xe,B,st):st()}else{Lt.ce&&Lt.ce._def.shadowRoot!==!1&&Lt.ce._injectChildStyle(Pe);const st=B.subTree=ja(B);y(null,st,U,J,B,ae,re),H.el=st.el}if(at&&It(at,ae),!Ae&&(Ce=je&&je.onVnodeMounted)){const st=H;It(()=>tn(Ce,ot,st),ae)}(H.shapeFlag&256||ot&&Io(ot.vnode)&&ot.vnode.shapeFlag&256)&&B.a&&It(B.a,ae),B.isMounted=!0,H=U=J=null}};B.scope.on();const ke=B.effect=new am(ve);B.scope.off();const be=B.update=ke.run.bind(ke),Re=B.job=ke.runIfDirty.bind(ke);Re.i=B,Re.id=B.uid,ke.scheduler=()=>kc(Re),Uo(B,!0),be()},F=(B,H,U)=>{H.component=B;const J=B.vnode.props;B.vnode=H,B.next=null,Xy(B,H.props,J,U),ev(B,H.children,U),ao(),Cu(B),lo()},Y=(B,H,U,J,ae,re,ge,ve,ke=!1)=>{const be=B&&B.children,Re=B?B.shapeFlag:0,Ce=H.children,{patchFlag:xe,shapeFlag:je}=H;if(xe>0){if(xe&128){ce(be,Ce,U,J,ae,re,ge,ve,ke);return}else if(xe&256){ie(be,Ce,U,J,ae,re,ge,ve,ke);return}}je&8?(Re&16&&fe(be,ae,re),Ce!==be&&d(U,Ce)):Re&16?je&16?ce(be,Ce,U,J,ae,re,ge,ve,ke):fe(be,ae,re,!0):(Re&8&&d(U,""),je&16&&P(Ce,U,J,ae,re,ge,ve,ke))},ie=(B,H,U,J,ae,re,ge,ve,ke)=>{B=B||vs,H=H||vs;const be=B.length,Re=H.length,Ce=Math.min(be,Re);let xe;for(xe=0;xe<Ce;xe++){const je=H[xe]=ke?So(H[xe]):dn(H[xe]);y(B[xe],je,U,null,ae,re,ge,ve,ke)}be>Re?fe(B,ae,re,!0,!1,Ce):P(H,U,J,ae,re,ge,ve,ke,Ce)},ce=(B,H,U,J,ae,re,ge,ve,ke)=>{let be=0;const Re=H.length;let Ce=B.length-1,xe=Re-1;for(;be<=Ce&&be<=xe;){const je=B[be],We=H[be]=ke?So(H[be]):dn(H[be]);if(In(je,We))y(je,We,U,null,ae,re,ge,ve,ke);else break;be++}for(;be<=Ce&&be<=xe;){const je=B[Ce],We=H[xe]=ke?So(H[xe]):dn(H[xe]);if(In(je,We))y(je,We,U,null,ae,re,ge,ve,ke);else break;Ce--,xe--}if(be>Ce){if(be<=xe){const je=xe+1,We=je<Re?H[je].el:J;for(;be<=xe;)y(null,H[be]=ke?So(H[be]):dn(H[be]),U,We,ae,re,ge,ve,ke),be++}}else if(be>xe)for(;be<=Ce;)V(B[be],ae,re,!0),be++;else{const je=be,We=be,at=new Map;for(be=We;be<=xe;be++){const kt=H[be]=ke?So(H[be]):dn(H[be]);kt.key!=null&&at.set(kt.key,be)}let ot,Lt=0;const Pe=xe-We+1;let Ae=!1,st=0;const bt=new Array(Pe);for(be=0;be<Pe;be++)bt[be]=0;for(be=je;be<=Ce;be++){const kt=B[be];if(Lt>=Pe){V(kt,ae,re,!0);continue}let Yt;if(kt.key!=null)Yt=at.get(kt.key);else for(ot=We;ot<=xe;ot++)if(bt[ot-We]===0&&In(kt,H[ot])){Yt=ot;break}Yt===void 0?V(kt,ae,re,!0):(bt[Yt-We]=be+1,Yt>=st?st=Yt:Ae=!0,y(kt,H[Yt],U,null,ae,re,ge,ve,ke),Lt++)}const en=Ae?ov(bt):vs;for(ot=en.length-1,be=Pe-1;be>=0;be--){const kt=We+be,Yt=H[kt],is=H[kt+1],rs=kt+1<Re?is.el||is.placeholder:J;bt[be]===0?y(null,Yt,U,rs,ae,re,ge,ve,ke):Ae&&(ot<0||be!==en[ot]?de(Yt,U,rs,2):ot--)}}},de=(B,H,U,J,ae=null)=>{const{el:re,type:ge,transition:ve,children:ke,shapeFlag:be}=B;if(be&6){de(B.component.subTree,H,U,J);return}if(be&128){B.suspense.move(H,U,J);return}if(be&64){ge.move(B,H,U,we);return}if(ge===G){o(re,H,U);for(let Ce=0;Ce<ke.length;Ce++)de(ke[Ce],H,U,J);o(B.anchor,H,U);return}if(ge===ii){v(B,H,U);return}if(J!==2&&be&1&&ve)if(J===0)ve.beforeEnter(re),o(re,H,U),It(()=>ve.enter(re),ae);else{const{leave:Ce,delayLeave:xe,afterLeave:je}=ve,We=()=>{B.ctx.isUnmounted?s(re):o(re,H,U)},at=()=>{re._isLeaving&&re[eo](!0),Ce(re,()=>{We(),je&&je()})};xe?xe(re,We,at):at()}else o(re,H,U)},V=(B,H,U,J=!1,ae=!1)=>{const{type:re,props:ge,ref:ve,children:ke,dynamicChildren:be,shapeFlag:Re,patchFlag:Ce,dirs:xe,cacheIndex:je}=B;if(Ce===-2&&(ae=!1),ve!=null&&(ao(),$s(ve,null,U,B,!0),lo()),je!=null&&(H.renderCache[je]=void 0),Re&256){H.ctx.deactivate(B);return}const We=Re&1&&xe,at=!Io(B);let ot;if(at&&(ot=ge&&ge.onVnodeBeforeUnmount)&&tn(ot,H,B),Re&6)q(B.component,U,J);else{if(Re&128){B.suspense.unmount(U,J);return}We&&jn(B,null,H,"beforeUnmount"),Re&64?B.type.remove(B,H,U,we,J):be&&!be.hasOnce&&(re!==G||Ce>0&&Ce&64)?fe(be,H,U,!1,!0):(re===G&&Ce&384||!ae&&Re&16)&&fe(ke,H,U),J&&K(B)}(at&&(ot=ge&&ge.onVnodeUnmounted)||We)&&It(()=>{ot&&tn(ot,H,B),We&&jn(B,null,H,"unmounted")},U)},K=B=>{const{type:H,el:U,anchor:J,transition:ae}=B;if(H===G){Z(U,J);return}if(H===ii){I(B);return}const re=()=>{s(U),ae&&!ae.persisted&&ae.afterLeave&&ae.afterLeave()};if(B.shapeFlag&1&&ae&&!ae.persisted){const{leave:ge,delayLeave:ve}=ae,ke=()=>ge(U,re);ve?ve(B.el,re,ke):ke()}else re()},Z=(B,H)=>{let U;for(;B!==H;)U=_(B),s(B),B=U;s(H)},q=(B,H,U)=>{const{bum:J,scope:ae,job:re,subTree:ge,um:ve,m:ke,a:be}=B;Lr(ke),Lr(be),J&&ks(J),ae.stop(),re&&(re.flags|=8,V(ge,B,H,U)),ve&&It(ve,H),It(()=>{B.isUnmounted=!0},H)},fe=(B,H,U,J=!1,ae=!1,re=0)=>{for(let ge=re;ge<B.length;ge++)V(B[ge],H,U,J,ae)},W=B=>{if(B.shapeFlag&6)return W(B.component.subTree);if(B.shapeFlag&128)return B.suspense.next();const H=_(B.anchor||B.el),U=H&&H[Em];return U?_(U):H};let le=!1;const he=(B,H,U)=>{B==null?H._vnode&&V(H._vnode,null,null,!0):y(H._vnode||null,B,H,null,null,null,U),H._vnode=B,le||(le=!0,Cu(),Cr(),le=!1)},we={p:y,um:V,m:de,r:K,mt:X,mc:P,pc:Y,pbc:A,n:W,o:e};let Oe,nt;return t&&([Oe,nt]=t(we)),{render:he,hydrate:Oe,createApp:Yy(he,Oe)}}function Ba({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Uo({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function sp(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ic(e,t,n=!1){const o=e.children,s=t.children;if(Me(o)&&Me(s))for(let r=0;r<o.length;r++){const a=o[r];let l=s[r];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=s[r]=So(s[r]),l.el=a.el),!n&&l.patchFlag!==-2&&Ic(a,l)),l.type===qo&&l.patchFlag!==-1&&(l.el=a.el),l.type===Ct&&!l.el&&(l.el=a.el)}}function ov(e){const t=e.slice(),n=[0];let o,s,r,a,l;const c=e.length;for(o=0;o<c;o++){const m=e[o];if(m!==0){if(s=n[n.length-1],e[s]<m){t[o]=s,n.push(o);continue}for(r=0,a=n.length-1;r<a;)l=r+a>>1,e[n[l]]<m?r=l+1:a=l;m<e[n[r]]&&(r>0&&(t[o]=n[r-1]),n[r]=o)}}for(r=n.length,a=n[r-1];r-- >0;)n[r]=a,a=t[a];return n}function ip(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ip(t)}function Lr(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const sv=Symbol.for("v-scx"),iv=()=>Pt(sv);function rp(e,t){return ia(e,null,t)}function rv(e,t){return ia(e,null,{flush:"sync"})}function qe(e,t,n){return ia(e,t,n)}function ia(e,t,n=it){const{immediate:o,deep:s,flush:r,once:a}=n,l=xt({},n),c=t&&o||!t&&r!=="post";let m;if(Es){if(r==="sync"){const g=iv();m=g.__watcherHandles||(g.__watcherHandles=[])}else if(!c){const g=()=>{};return g.stop=Gn,g.resume=Gn,g.pause=Gn,g}}const d=Vt;l.call=(g,b,y)=>Rn(g,d,b,y);let p=!1;r==="post"?l.scheduler=g=>{It(g,d&&d.suspense)}:r!=="sync"&&(p=!0,l.scheduler=(g,b)=>{b?g():kc(g)}),l.augmentJob=g=>{t&&(g.flags|=4),p&&(g.flags|=2,d&&(g.id=d.uid,g.i=d))};const _=yy(e,t,l);return Es&&(m?m.push(_):c&&_()),_}function av(e,t,n){const o=this.proxy,s=_t(e)?e.includes(".")?ap(o,e):()=>o[e]:e.bind(o,o);let r;Ve(t)?r=t:(r=t.handler,n=t);const a=Zo(this),l=ia(s,r.bind(o),n);return a(),l}function ap(e,t){const n=t.split(".");return()=>{let o=e;for(let s=0;s<n.length&&o;s++)o=o[n[s]];return o}}function Ua(e,t,n=it){const o=qt(),s=hn(t),r=po(t),a=lp(e,s),l=$m((c,m)=>{let d,p=it,_;return rv(()=>{const g=e[s];nn(d,g)&&(d=g,m())}),{get(){return c(),n.get?n.get(d):d},set(g){const b=n.set?n.set(g):g;if(!nn(b,d)&&!(p!==it&&nn(g,p)))return;const y=o.vnode.props;y&&(t in y||s in y||r in y)&&(`onUpdate:${t}`in y||`onUpdate:${s}`in y||`onUpdate:${r}`in y)||(d=g,m()),o.emit(`update:${t}`,b),nn(g,b)&&nn(g,p)&&!nn(b,_)&&m(),p=g,_=b}}});return l[Symbol.iterator]=()=>{let c=0;return{next(){return c<2?{value:c++?a||it:l,done:!1}:{done:!0}}}},l}const lp=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${hn(t)}Modifiers`]||e[`${po(t)}Modifiers`];function lv(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||it;let s=n;const r=t.startsWith("update:"),a=r&&lp(o,t.slice(7));a&&(a.trim&&(s=n.map(d=>_t(d)?d.trim():d)),a.number&&(s=n.map(ll)));let l,c=o[l=mr(t)]||o[l=mr(hn(t))];!c&&r&&(c=o[l=mr(po(t))]),c&&Rn(c,e,6,s);const m=o[l+"Once"];if(m){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Rn(m,e,6,s)}}const cv=new WeakMap;function cp(e,t,n=!1){const o=n?cv:t.emitsCache,s=o.get(e);if(s!==void 0)return s;const r=e.emits;let a={},l=!1;if(!Ve(e)){const c=m=>{const d=cp(m,t,!0);d&&(l=!0,xt(a,d))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!r&&!l?(ut(e)&&o.set(e,null),null):(Me(r)?r.forEach(c=>a[c]=null):xt(a,r),ut(e)&&o.set(e,a),a)}function ra(e,t){return!e||!xi(t)?!1:(t=t.slice(2).replace(/Once$/,""),ct(e,t[0].toLowerCase()+t.slice(1))||ct(e,po(t))||ct(e,t))}function ja(e){const{type:t,vnode:n,proxy:o,withProxy:s,propsOptions:[r],slots:a,attrs:l,emit:c,render:m,renderCache:d,props:p,data:_,setupState:g,ctx:b,inheritAttrs:y}=e,C=Pr(e);let E,D;try{if(n.shapeFlag&4){const I=s||o,k=I;E=dn(m.call(k,I,d,p,g,_,b)),D=l}else{const I=t;E=dn(I.length>1?I(p,{attrs:l,slots:a,emit:c}):I(p,null)),D=t.props?l:dv(l)}}catch(I){ri.length=0,Vs(I,e,1),E=R(Ct)}let v=E;if(D&&y!==!1){const I=Object.keys(D),{shapeFlag:k}=v;I.length&&k&7&&(r&&I.some(dc)&&(D=fv(D,r)),v=pn(v,D,!1,!0))}return n.dirs&&(v=pn(v,null,!1,!0),v.dirs=v.dirs?v.dirs.concat(n.dirs):n.dirs),n.transition&&Lo(v,n.transition),E=v,Pr(C),E}function uv(e,t=!0){let n;for(let o=0;o<e.length;o++){const s=e[o];if(Qo(s)){if(s.type!==Ct||s.children==="v-if"){if(n)return;n=s}}else return}return n}const dv=e=>{let t;for(const n in e)(n==="class"||n==="style"||xi(n))&&((t||(t={}))[n]=e[n]);return t},fv=(e,t)=>{const n={};for(const o in e)(!dc(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function mv(e,t,n){const{props:o,children:s,component:r}=e,{props:a,children:l,patchFlag:c}=t,m=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return o?ju(o,a,m):!!a;if(c&8){const d=t.dynamicProps;for(let p=0;p<d.length;p++){const _=d[p];if(a[_]!==o[_]&&!ra(m,_))return!0}}}else return(s||l)&&(!l||!l.$stable)?!0:o===a?!1:o?a?ju(o,a,m):!0:!!a;return!1}function ju(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let s=0;s<o.length;s++){const r=o[s];if(t[r]!==e[r]&&!ra(n,r))return!0}return!1}function aa({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o===e)(e=t.vnode).el=n,t=t.parent;else break}}const Rr=e=>e.__isSuspense;let vl=0;const pv={name:"Suspense",__isSuspense:!0,process(e,t,n,o,s,r,a,l,c,m){if(e==null)hv(t,n,o,s,r,a,l,c,m);else{if(r&&r.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}gv(e,t,n,o,s,a,l,c,m)}},hydrate:_v,normalize:yv},la=pv;function yi(e,t){const n=e.props&&e.props[t];Ve(n)&&n()}function hv(e,t,n,o,s,r,a,l,c){const{p:m,o:{createElement:d}}=c,p=d("div"),_=e.suspense=up(e,s,o,t,p,n,r,a,l,c);m(null,_.pendingBranch=e.ssContent,p,null,o,_,r,a),_.deps>0?(yi(e,"onPending"),yi(e,"onFallback"),m(null,e.ssFallback,t,n,o,null,r,a),Ss(_,e.ssFallback)):_.resolve(!1,!0)}function gv(e,t,n,o,s,r,a,l,{p:c,um:m,o:{createElement:d}}){const p=t.suspense=e.suspense;p.vnode=t,t.el=e.el;const _=t.ssContent,g=t.ssFallback,{activeBranch:b,pendingBranch:y,isInFallback:C,isHydrating:E}=p;if(y)p.pendingBranch=_,In(y,_)?(c(y,_,p.hiddenContainer,null,s,p,r,a,l),p.deps<=0?p.resolve():C&&(E||(c(b,g,n,o,s,null,r,a,l),Ss(p,g)))):(p.pendingId=vl++,E?(p.isHydrating=!1,p.activeBranch=y):m(y,s,p),p.deps=0,p.effects.length=0,p.hiddenContainer=d("div"),C?(c(null,_,p.hiddenContainer,null,s,p,r,a,l),p.deps<=0?p.resolve():(c(b,g,n,o,s,null,r,a,l),Ss(p,g))):b&&In(b,_)?(c(b,_,n,o,s,p,r,a,l),p.resolve(!0)):(c(null,_,p.hiddenContainer,null,s,p,r,a,l),p.deps<=0&&p.resolve()));else if(b&&In(b,_))c(b,_,n,o,s,p,r,a,l),Ss(p,_);else if(yi(t,"onPending"),p.pendingBranch=_,_.shapeFlag&512?p.pendingId=_.component.suspenseId:p.pendingId=vl++,c(null,_,p.hiddenContainer,null,s,p,r,a,l),p.deps<=0)p.resolve();else{const{timeout:D,pendingId:v}=p;D>0?setTimeout(()=>{p.pendingId===v&&p.fallback(g)},D):D===0&&p.fallback(g)}}function up(e,t,n,o,s,r,a,l,c,m,d=!1){const{p,m:_,um:g,n:b,o:{parentNode:y,remove:C}}=m;let E;const D=vv(e);D&&t&&t.pendingBranch&&(E=t.pendingId,t.deps++);const v=e.props?tm(e.props.timeout):void 0,I=r,k={vnode:e,parent:t,parentComponent:n,namespace:a,container:o,hiddenContainer:s,deps:0,pendingId:vl++,timeout:typeof v=="number"?v:-1,activeBranch:null,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve(S=!1,$=!1){const{vnode:P,activeBranch:x,pendingBranch:A,pendingId:N,effects:M,parentComponent:ee,container:X}=k;let me=!1;k.isHydrating?k.isHydrating=!1:S||(me=x&&A.transition&&A.transition.mode==="out-in",me&&(x.transition.afterLeave=()=>{N===k.pendingId&&(_(A,X,r===I?b(x):r,0),ml(M))}),x&&(y(x.el)===X&&(r=b(x)),g(x,ee,k,!0)),me||_(A,X,r,0)),Ss(k,A),k.pendingBranch=null,k.isInFallback=!1;let Q=k.parent,F=!1;for(;Q;){if(Q.pendingBranch){Q.effects.push(...M),F=!0;break}Q=Q.parent}!F&&!me&&ml(M),k.effects=[],D&&t&&t.pendingBranch&&E===t.pendingId&&(t.deps--,t.deps===0&&!$&&t.resolve()),yi(P,"onResolve")},fallback(S){if(!k.pendingBranch)return;const{vnode:$,activeBranch:P,parentComponent:x,container:A,namespace:N}=k;yi($,"onFallback");const M=b(P),ee=()=>{k.isInFallback&&(p(null,S,A,M,x,null,N,l,c),Ss(k,S))},X=S.transition&&S.transition.mode==="out-in";X&&(P.transition.afterLeave=ee),k.isInFallback=!0,g(P,x,null,!0),X||ee()},move(S,$,P){k.activeBranch&&_(k.activeBranch,S,$,P),k.container=S},next(){return k.activeBranch&&b(k.activeBranch)},registerDep(S,$,P){const x=!!k.pendingBranch;x&&k.deps++;const A=S.vnode.el;S.asyncDep.catch(N=>{Vs(N,S,0)}).then(N=>{if(S.isUnmounted||k.isUnmounted||k.pendingId!==S.suspenseId)return;S.asyncResolved=!0;const{vnode:M}=S;kl(S,N),A&&(M.el=A);const ee=!A&&S.subTree.el;$(S,M,y(A||S.subTree.el),A?null:b(S.subTree),k,a,P),ee&&C(ee),aa(S,M.el),x&&--k.deps===0&&k.resolve()})},unmount(S,$){k.isUnmounted=!0,k.activeBranch&&g(k.activeBranch,n,S,$),k.pendingBranch&&g(k.pendingBranch,n,S,$)}};return k}function _v(e,t,n,o,s,r,a,l,c){const m=t.suspense=up(t,o,n,e.parentNode,document.createElement("div"),null,s,r,a,l,!0),d=c(e,m.pendingBranch=t.ssContent,n,m,r,a);return m.deps===0&&m.resolve(!1,!0),d}function yv(e){const{shapeFlag:t,children:n}=e,o=t&32;e.ssContent=Vu(o?n.default:n),e.ssFallback=o?Vu(n.fallback):R(Ct)}function Vu(e){let t;if(Ve(e)){const n=Is&&e._c;n&&(e._d=!1,u()),e=e(),n&&(e._d=!0,t=sn,fp())}return Me(e)&&(e=uv(e)),e=dn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function dp(e,t){t&&t.pendingBranch?Me(e)?t.effects.push(...e):t.effects.push(e):ml(e)}function Ss(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e;let s=t.el;for(;!s&&t.component;)t=t.component.subTree,s=t.el;n.el=s,o&&o.subTree===n&&(o.vnode.el=s,aa(o,s))}function vv(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const G=Symbol.for("v-fgt"),qo=Symbol.for("v-txt"),Ct=Symbol.for("v-cmt"),ii=Symbol.for("v-stc"),ri=[];let sn=null;function u(e=!1){ri.push(sn=e?null:[])}function fp(){ri.pop(),sn=ri[ri.length-1]||null}let Is=1;function Or(e,t=!1){Is+=e,e<0&&sn&&t&&(sn.hasOnce=!0)}function mp(e){return e.dynamicChildren=Is>0?sn||vs:null,fp(),Is>0&&sn&&sn.push(e),e}function h(e,t,n,o,s,r){return mp(f(e,t,n,o,s,r,!0))}function O(e,t,n,o,s){return mp(R(e,t,n,o,s,!0))}function Qo(e){return e?e.__v_isVNode===!0:!1}function In(e,t){return e.type===t.type&&e.key===t.key}const pp=({key:e})=>e??null,hr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?_t(e)||Je(e)||Ve(e)?{i:Ht,r:e,k:t,f:!!n}:e:null);function f(e,t=null,n=null,o=0,s=null,r=e===G?0:1,a=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&pp(t),ref:t&&hr(t),scopeId:Im,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:o,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Ht};return l?(Ec(c,n),r&128&&e.normalize(c)):n&&(c.shapeFlag|=_t(n)?8:16),Is>0&&!a&&sn&&(c.patchFlag>0||r&6)&&c.patchFlag!==32&&sn.push(c),c}const R=bv;function bv(e,t=null,n=null,o=0,s=null,r=!1){if((!e||e===Fm)&&(e=Ct),Qo(e)){const l=pn(e,t,!0);return n&&Ec(l,n),Is>0&&!r&&sn&&(l.shapeFlag&6?sn[sn.indexOf(e)]=l:sn.push(l)),l.patchFlag=-2,l}if(xv(e)&&(e=e.__vccOpts),t){t=wv(t);let{class:l,style:c}=t;l&&!_t(l)&&(t.class=j(l)),ut(c)&&(bc(c)&&!Me(c)&&(c=xt({},c)),t.style=Se(c))}const a=_t(e)?1:Rr(e)?128:Am(e)?64:ut(e)?4:Ve(e)?2:0;return f(e,t,n,o,s,a,r,!0)}function wv(e){return e?bc(e)||Qm(e)?xt({},e):e:null}function pn(e,t,n=!1,o=!1){const{props:s,ref:r,patchFlag:a,children:l,transition:c}=e,m=t?ts(s||{},t):s,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:m,key:m&&pp(m),ref:t&&t.ref?n&&r?Me(r)?r.concat(hr(t)):[r,hr(t)]:hr(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==G?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&pn(e.ssContent),ssFallback:e.ssFallback&&pn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&o&&Lo(d,c.clone(d)),d}function _e(e=" ",t=0){return R(qo,null,e,t)}function Jo(e,t){const n=R(ii,null,e);return n.staticCount=t,n}function T(e="",t=!1){return t?(u(),O(Ct,null,e)):R(Ct,null,e)}function dn(e){return e==null||typeof e=="boolean"?R(Ct):Me(e)?R(G,null,e.slice()):Qo(e)?So(e):R(qo,null,String(e))}function So(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:pn(e)}function Ec(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(Me(t))n=16;else if(typeof t=="object")if(o&65){const s=t.default;s&&(s._c&&(s._d=!1),Ec(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Qm(t)?t._ctx=Ht:s===3&&Ht&&(Ht.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Ve(t)?(t={default:t,_ctx:Ht},n=32):(t=String(t),o&64?(n=16,t=[_e(t)]):n=8);e.children=t,e.shapeFlag|=n}function ts(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const s in o)if(s==="class")t.class!==o.class&&(t.class=j([t.class,o.class]));else if(s==="style")t.style=Se([t.style,o.style]);else if(xi(s)){const r=t[s],a=o[s];a&&r!==a&&!(Me(r)&&r.includes(a))&&(t[s]=r?[].concat(r,a):a)}else s!==""&&(t[s]=o[s])}return t}function tn(e,t,n,o=null){Rn(e,t,7,[n,o])}const kv=Ym();let Tv=0;function $v(e,t,n){const o=e.type,s=(t?t.appContext:e.appContext)||kv,r={uid:Tv++,vnode:e,type:o,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new rm(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Zm(o,s),emitsOptions:cp(o,s),emit:null,emitted:null,propsDefaults:it,inheritAttrs:o.inheritAttrs,ctx:it,data:it,props:it,attrs:it,slots:it,refs:it,setupState:it,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return r.ctx={_:r},r.root=t?t.root:r,r.emit=lv.bind(null,r),e.ce&&e.ce(r),r}let Vt=null;const qt=()=>Vt||Ht;let Mr,bl;{const e=Zr(),t=(n,o)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(o),r=>{s.length>1?s.forEach(a=>a(r)):s[0](r)}};Mr=t("__VUE_INSTANCE_SETTERS__",n=>Vt=n),bl=t("__VUE_SSR_SETTERS__",n=>Es=n)}const Zo=e=>{const t=Vt;return Mr(e),e.scope.on(),()=>{e.scope.off(),Mr(t)}},wl=()=>{Vt&&Vt.scope.off(),Mr(null)};function hp(e){return e.vnode.shapeFlag&4}let Es=!1;function Sv(e,t=!1,n=!1){t&&bl(t);const{props:o,children:s}=e.vnode,r=hp(e);Ky(e,o,r,t),Zy(e,s,n||t);const a=r?Dv(e,t):void 0;return t&&bl(!1),a}function Dv(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,jy);const{setup:o}=n;if(o){ao();const s=e.setupContext=o.length>1?Pv(e):null,r=Zo(e),a=Ii(o,e,0,[e.props,s]),l=Xr(a);if(lo(),r(),(l||e.sp)&&!Io(e)&&$c(e),l){if(a.then(wl,wl),t)return a.then(c=>{kl(e,c)}).catch(c=>{Vs(c,e,0)});e.asyncDep=a}else kl(e,a)}else gp(e)}
14function kl(e,t,n){Ve(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ut(t)&&(e.setupState=Tm(t)),gp(e)}function gp(e,t,n){const o=e.type;e.render||(e.render=o.render||Gn);{const s=Zo(e);ao();try{Hy(e)}finally{lo(),s()}}}const Cv={get(e,t){return Wt(e,"get",""),e[t]}};function Pv(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Cv),slots:e.slots,emit:e.emit,expose:t}}function ca(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Tm(wc(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in si)return si[n](e)},has(t,n){return n in t||n in si}})):e.proxy}function Tl(e,t=!0){return Ve(e)?e.displayName||e.name:e.name||t&&e.__name}function xv(e){return Ve(e)&&"__vccOpts"in e}const se=(e,t)=>gy(e,t,Es);function ht(e,t,n){try{Or(-1);const o=arguments.length;return o===2?ut(t)&&!Me(t)?Qo(t)?R(e,null,[t]):R(e,t):R(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&Qo(n)&&(n=[n]),R(e,t,n))}finally{Or(1)}}const Iv="3.5.22";/** 15* @vue/runtime-dom v3.5.22 16* (c) 2018-present Yuxi (Evan) You and Vue contributors 17* @license MIT
18**/let $l;const Hu=typeof window<"u"&&window.trustedTypes;if(Hu)try{$l=Hu.createPolicy("vue",{createHTML:e=>e})}catch{}const _p=$l?e=>$l.createHTML(e):e=>e,Ev="http://www.w3.org/2000/svg",Av="http://www.w3.org/1998/Math/MathML",Zn=typeof document<"u"?document:null,zu=Zn&&Zn.createElement("template"),Lv={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const s=t==="svg"?Zn.createElementNS(Ev,e):t==="mathml"?Zn.createElementNS(Av,e):n?Zn.createElement(e,{is:n}):Zn.createElement(e);return e==="select"&&o&&o.multiple!=null&&s.setAttribute("multiple",o.multiple),s},createText:e=>Zn.createTextNode(e),createComment:e=>Zn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Zn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,s,r){const a=n?n.previousSibling:t.lastChild;if(s&&(s===r||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===r||!(s=s.nextSibling)););else{zu.innerHTML=_p(o==="svg"?`<svg>${e}</svg>`:o==="mathml"?`<math>${e}</math>`:e);const l=zu.content;if(o==="svg"||o==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},vo="transition",qs="animation",As=Symbol("_vtc"),yp={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},vp=xt({},Nm,yp),Rv=e=>(e.displayName="Transition",e.props=vp,e),ua=Rv((e,{slots:t})=>ht(Ty,bp(e),t)),jo=(e,t=[])=>{Me(e)?e.forEach(n=>n(...t)):e&&e(...t)},Fu=e=>e?Me(e)?e.some(t=>t.length>1):e.length>1:!1;function bp(e){const t={};for(const M in e)M in yp||(t[M]=e[M]);if(e.css===!1)return t;const{name:n="v",type:o,duration:s,enterFromClass:r=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=r,appearActiveClass:m=a,appearToClass:d=l,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:_=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,b=Ov(s),y=b&&b[0],C=b&&b[1],{onBeforeEnter:E,onEnter:D,onEnterCancelled:v,onLeave:I,onLeaveCancelled:k,onBeforeAppear:S=E,onAppear:$=D,onAppearCancelled:P=v}=t,x=(M,ee,X,me)=>{M._enterCancelled=me,ko(M,ee?d:l),ko(M,ee?m:a),X&&X()},A=(M,ee)=>{M._isLeaving=!1,ko(M,p),ko(M,g),ko(M,_),ee&&ee()},N=M=>(ee,X)=>{const me=M?$:D,Q=()=>x(ee,M,X);jo(me,[ee,Q]),Wu(()=>{ko(ee,M?c:r),Bn(ee,M?d:l),Fu(me)||Gu(ee,o,y,Q)})};return xt(t,{onBeforeEnter(M){jo(E,[M]),Bn(M,r),Bn(M,a)},onBeforeAppear(M){jo(S,[M]),Bn(M,c),Bn(M,m)},onEnter:N(!1),onAppear:N(!0),onLeave(M,ee){M._isLeaving=!0;const X=()=>A(M,ee);Bn(M,p),M._enterCancelled?(Bn(M,_),Sl(M)):(Sl(M),Bn(M,_)),Wu(()=>{M._isLeaving&&(ko(M,p),Bn(M,g),Fu(I)||Gu(M,o,C,X))}),jo(I,[M,X])},onEnterCancelled(M){x(M,!1,void 0,!0),jo(v,[M])},onAppearCancelled(M){x(M,!0,void 0,!0),jo(P,[M])},onLeaveCancelled(M){A(M),jo(k,[M])}})}function Ov(e){if(e==null)return null;if(ut(e))return[Va(e.enter),Va(e.leave)];{const t=Va(e);return[t,t]}}function Va(e){return tm(e)}function Bn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[As]||(e[As]=new Set)).add(t)}function ko(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[As];n&&(n.delete(t),n.size||(e[As]=void 0))}function Wu(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Mv=0;function Gu(e,t,n,o){const s=e._endId=++Mv,r=()=>{s===e._endId&&o()};if(n!=null)return setTimeout(r,n);const{type:a,timeout:l,propCount:c}=wp(e,t);if(!a)return o();const m=a+"end";let d=0;const p=()=>{e.removeEventListener(m,_),r()},_=g=>{g.target===e&&++d>=c&&p()};setTimeout(()=>{d<c&&p()},l+1),e.addEventListener(m,_)}function wp(e,t){const n=window.getComputedStyle(e),o=b=>(n[b]||"").split(", "),s=o(`${vo}Delay`),r=o(`${vo}Duration`),a=qu(s,r),l=o(`${qs}Delay`),c=o(`${qs}Duration`),m=qu(l,c);let d=null,p=0,_=0;t===vo?a>0&&(d=vo,p=a,_=r.length):t===qs?m>0&&(d=qs,p=m,_=c.length):(p=Math.max(a,m),d=p>0?a>m?vo:qs:null,_=d?d===vo?r.length:c.length:0);const g=d===vo&&/\b(?:transform|all)(?:,|$)/.test(o(`${vo}Property`).toString());return{type:d,timeout:p,propCount:_,hasTransform:g}}function qu(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,o)=>Yu(n)+Yu(e[o])))}function Yu(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Sl(e){return(e?e.ownerDocument:document).body.offsetHeight}function Nv(e,t,n){const o=e[As];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Nr=Symbol("_vod"),kp=Symbol("_vsh"),Dl={name:"show",beforeMount(e,{value:t},{transition:n}){e[Nr]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Ys(e,t)}
vendor: 8,137 bytes, line 18
18,mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Ys(e,!0),o.enter(e)):o.leave(e,()=>{Ys(e,!1)}):Ys(e,t))},beforeUnmount(e,{value:t}){Ys(e,t)}};function Ys(e,t){e.style.display=t?e[Nr]:"none",e[kp]=!t}const Bv=Symbol(""),Uv=/(?:^|;)\s*display\s*:/;function jv(e,t,n){const o=e.style,s=_t(n);let r=!1;if(n&&!s){if(t)if(_t(t))for(const a of t.split(";")){const l=a.slice(0,a.indexOf(":")).trim();n[l]==null&&gr(o,l,"")}else for(const a in t)n[a]==null&&gr(o,a,"");for(const a in n)a==="display"&&(r=!0),gr(o,a,n[a])}else if(s){if(t!==n){const a=o[Bv];a&&(n+=";"+a),o.cssText=n,r=Uv.test(n)}}else t&&e.removeAttribute("style");Nr in e&&(e[Nr]=r?o.display:"",e[kp]&&(o.display="none"))}const Ku=/\s*!important$/;function gr(e,t,n){if(Me(n))n.forEach(o=>gr(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=Vv(e,t);Ku.test(n)?e.setProperty(po(o),n.replace(Ku,""),"important"):e[o]=n}}const Xu=["Webkit","Moz","ms"],Ha={};function Vv(e,t){const n=Ha[t];if(n)return n;let o=hn(t);if(o!=="filter"&&o in e)return Ha[t]=o;o=Jr(o);for(let s=0;s<Xu.length;s++){const r=Xu[s]+o;if(r in e)return Ha[t]=r}return t}const Qu="http://www.w3.org/1999/xlink";function Ju(e,t,n,o,s,r=H_(t)){o&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Qu,t.slice(6,t.length)):e.setAttributeNS(Qu,t,n):n==null||r&&!nm(n)?e.removeAttribute(t):e.setAttribute(t,r?"":Ln(n)?String(n):n)}function Zu(e,t,n,o,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?_p(n):n);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const l=r==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(l!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let a=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=nm(n):n==null&&l==="string"?(n="",a=!0):l==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(s||t)}function Co(e,t,n,o){e.addEventListener(t,n,o)}function Hv(e,t,n,o){e.removeEventListener(t,n,o)}const ed=Symbol("_vei");function zv(e,t,n,o,s=null){const r=e[ed]||(e[ed]={}),a=r[t];if(o&&a)a.value=o;else{const[l,c]=Fv(t);if(o){const m=r[t]=qv(o,s);Co(e,l,m,c)}else a&&(Hv(e,l,a,c),r[t]=void 0)}}const td=/(?:Once|Passive|Capture)$/;function Fv(e){let t;if(td.test(e)){t={};let o;for(;o=e.match(td);)e=e.slice(0,e.length-o[0].length),t[o[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):po(e.slice(2)),t]}let za=0;const Wv=Promise.resolve(),Gv=()=>za||(Wv.then(()=>za=0),za=Date.now());function qv(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;Rn(Yv(o,n.value),t,5,[o])};return n.value=e,n.attached=Gv(),n}function Yv(e,t){if(Me(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>s=>!s._stopped&&o&&o(s))}else return t}const nd=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Kv=(e,t,n,o,s,r)=>{const a=s==="svg";t==="class"?Nv(e,o,a):t==="style"?jv(e,n,o):xi(t)?dc(t)||zv(e,t,n,o,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Xv(e,t,o,a))?(Zu(e,t,o),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ju(e,t,o,a,r,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!_t(o))?Zu(e,hn(t),o,r,t):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),Ju(e,t,o,a))};function Xv(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&nd(t)&&Ve(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return nd(t)&&_t(n)?!1:t in e}const Tp=new WeakMap,$p=new WeakMap,Br=Symbol("_moveCb"),od=Symbol("_enterCb"),Qv=e=>(delete e.props.mode,e),Jv=Qv({name:"TransitionGroup",props:xt({},vp,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=qt(),o=Mm();let s,r;return Sc(()=>{if(!s.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!ob(s[0].el,n.vnode.el,a)){s=[];return}s.forEach(eb),s.forEach(tb);const l=s.filter(nb);Sl(n.vnode.el),l.forEach(c=>{const m=c.el,d=m.style;Bn(m,a),d.transform=d.webkitTransform=d.transitionDuration="";const p=m[Br]=_=>{_&&_.target!==m||(!_||_.propertyName.endsWith("transform"))&&(m.removeEventListener("transitionend",p),m[Br]=null,ko(m,a))};m.addEventListener("transitionend",p)}),s=[]}),()=>{const a=tt(e),l=bp(a);let c=a.tag||G;if(s=[],r)for(let m=0;m<r.length;m++){const d=r[m];d.el&&d.el instanceof Element&&(s.push(d),Lo(d,_i(d,l,o,n)),Tp.set(d,d.el.getBoundingClientRect()))}r=t.default?Tc(t.default()):[];for(let m=0;m<r.length;m++){const d=r[m];d.key!=null&&Lo(d,_i(d,l,o,n))}return R(c,null,r)}}}),Zv=Jv;function eb(e){const t=e.el;t[Br]&&t[Br](),t[od]&&t[od]()}function tb(e){$p.set(e,e.el.getBoundingClientRect())}function nb(e){const t=Tp.get(e),n=$p.get(e),o=t.left-n.left,s=t.top-n.top;if(o||s){const r=e.el.style;return r.transform=r.webkitTransform=`translate(${o}px,${s}px)`,r.transitionDuration="0s",e}}function ob(e,t,n){const o=e.cloneNode(),s=e[As];s&&s.forEach(l=>{l.split(/\s+/).forEach(c=>c&&o.classList.remove(c))}),n.split(/\s+/).forEach(l=>l&&o.classList.add(l)),o.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(o);const{hasTransform:a}=wp(o);return r.removeChild(o),a}const Ls=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Me(t)?n=>ks(t,n):t};function sb(e){e.target.composing=!0}function sd(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const io=Symbol("_assign"),Ac={created(e,{modifiers:{lazy:t,trim:n,number:o}},s){e[io]=Ls(s);const r=o||s.props&&s.props.type==="number";Co(e,t?"change":"input",a=>{if(a.target.composing)return;let l=e.value;n&&(l=l.trim()),r&&(l=ll(l)),e[io](l)}),n&&Co(e,"change",()=>{e.value=e.value.trim()}),t||(Co(e,"compositionstart",sb),Co(e,"compositionend",sd),Co(e,"change",sd))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:o,trim:s,number:r}},a){if(e[io]=Ls(a),e.composing)return;const l=(r||e.type==="number")&&!/^0\d/.test(e.value)?ll(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(o&&t===n||s&&e.value.trim()===c)||(e.value=c))}},Lc={deep:!0,created(e,t,n){e[io]=Ls(n),Co(e,"change",()=>{const o=e._modelValue,s=Sp(e),r=e.checked,a=e[io];if(Me(o)){const l=om(o,s),c=l!==-1;if(r&&!c)a(o.concat(s));else if(!r&&c){const m=[...o];m.splice(l,1),a(m)}}else if(Kr(o)){const l=new Set(o);r?l.add(s):l.delete(s),a(l)}else a(Dp(e,r))})},mounted:id,beforeUpdate(e,t,n){e[io]=Ls(n),id(e,t,n)}};function id(e,{value:t,oldValue:n},o){e._modelValue=t;let s;if(Me(t))s=om(t,o.props.value)>-1;else if(Kr(t))s=t.has(o.props.value);else{if(t===n)return;s=Ps(t,Dp(e,!0))}e.checked!==s&&(e.checked=s)}const Rc={created(e,{value:t},n){e.checked=Ps(t,n.props.value),e[io]=Ls(n),Co(e,"change",()=>{e[io](Sp(e))})},beforeUpdate(e,{value:t,oldValue:n},o){e[io]=Ls(o),t!==n&&(e.checked=Ps(t,o.props.value))}};function Sp(e){return"_value"in e?e._value:e.value}function Dp(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const ib=["ctrl","shift","alt","meta"],rb={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>ib.some(n=>e[`${n}Key`]&&!t.includes(n))},He=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=((s,...r)=>{for(let a=0;a<t.length;a++){const l=rb[t[a]];if(l&&l(s,t))return}return e(s,...r)}))},ab={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Yo=(e,t)=>{const n=e._withKeys||(e._withKeys={}),o=t.join(".");return n[o]||(n[o]=(s=>{if(!("key"in s))return;const r=po(s.key);if(t.some(a=>a===r||ab[a]===r))return e(s)}))}
18,Cp=xt({patchProp:Kv},Lv);let ai,rd=!1;function lb(){return ai||(ai=tv(Cp))}function cb(){return ai=rd?ai:nv(Cp),rd=!0,ai}const Pp=((...e)=>{const t=lb().createApp(...e),{mount:n}=t;return t.mount=o=>{const s=Ip(o);if(!s)return;const r=t._component;!Ve(r)&&!r.render&&!r.template&&(r.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const a=n(s,!1,xp(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),a},t}),ub=((...e)=>{const t=cb().createApp(...e),{mount:n}=t;return t.mount=o=>{const s=Ip(o);if(s)return n(s,!0,xp(s))},t});function xp(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Ip(e){return _t(e)?document.querySelector(e):e}const db=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,fb=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,mb=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function pb(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){hb(e);return}return t}function hb(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function vi(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!mb.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(db.test(e)||fb.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,pb)}return JSON.parse(e)}catch(o){if(t.strict)throw o;return e}}const gb=/#/g,_b=/&/g,yb=/\//g,vb=/=/g,Oc=/\+/g,bb=/%5e/gi,wb=/%60/gi,kb=/%7c/gi,Tb=/%20/gi;function $b(e){return encodeURI(""+e).replace(kb,"|")}function Cl(e){return $b(typeof e=="string"?e:JSON.stringify(e)).replace(Oc,"%2B").replace(Tb,"+").replace(gb,"%23").replace(_b,"%26").replace(wb,"`").replace(bb,"^").replace(yb,"%2F")}function Fa(e){return Cl(e).replace(vb,"%3D")}function Ur(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Sb(e){return Ur(e.replace(Oc," "))}function Db(e){return Ur(e.replace(Oc," "))}function Mc(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const o=n.match(/([^=]+)=?(.*)/)||[];if(o.length<2)continue;const s=Sb(o[1]);if(s==="__proto__"||s==="constructor")continue;const r=Db(o[2]||"");t[s]===void 0?t[s]=r:Array.isArray(t[s])?t[s].push(r):t[s]=[t[s],r]}return t}function Cb(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Fa(e)}=${Cl(n)}`).join("&"):`${Fa(e)}=${Cl(t)}`:Fa(e)}function Pb(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Cb(t,e[t])).filter(Boolean).join("&")}const xb=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Ib=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Eb=/^([/\\]\s*){2,}[^/\\]/,Ab=/^[\s\0]*(blob|data|javascript|vbscript):$/i,Lb=/\/$|\/\?|\/#/,Rb=/^\.?\//;function go(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?xb.test(e):Ib.test(e)||(t.acceptRelative?Eb.test(e):!1)}function Ob(e){return!!e&&Ab.test(e)}function Pl(e="",t){return t?Lb.test(e):e.endsWith("/")}function Rs(e="",t){if(!t)return(Pl(e)?e.slice(0,-1):e)||"/";if(!Pl(e,!0))return e||"/";let n=e,o="";const s=e.indexOf("#");s!==-1&&(n=e.slice(0,s),o=e.slice(s));const[r,...a]=n.split("?");return((r.endsWith("/")?r.slice(0,-1):r)||"/")+(a.length>0?`?${a.join("?")}`:"")+o}function Ep(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Pl(e,!0))return e||"/";let n=e,o="";const s=e.indexOf("#");if(s!==-1&&(n=e.slice(0,s),o=e.slice(s),!n))return o;const[r,...a]=n.split("?");return r+"/"+(a.length>0?`?${a.join("?")}`:"")+o}function Mb(e,t){if(Lp(t)||go(e))return e;const n=Rs(t);return e.startsWith(n)?e:da(n,e)}function ad(e,t){if(Lp(t))return e;const n=Rs(t);if(!e.startsWith(n))return e;const o=e.slice(n.length);return o[0]==="/"?o:"/"+o}function Ap(e,t){const n=Mp(e),o={...Mc(n.search),...t};return n.search=Pb(o),Ub(n)}function Lp(e){return!e||e==="/"}function Nb(e){return e&&e!=="/"}function da(e,...t){let n=e||"";for(const o of t.filter(s=>Nb(s)))if(n){const s=o.replace(Rb,"");n=Ep(n)+s}else n=o;return n}function Rp(...e){const t=/\/(?!\/)/,n=e.filter(Boolean),o=[];let s=0;for(const a of n)if(!(!a||a==="/")){for(const[l,c]of a.split(t).entries())if(!(!c||c===".")){if(c===".."){if(o.length===1&&go(o[0]))continue;o.pop(),s--;continue}if(l===1&&o[o.length-1]?.endsWith(":/")){o[o.length-1]+="/"+c;continue}o.push(c),s++}}let r=o.join("/");return s>=0?n[0]?.startsWith("/")&&!r.startsWith("/")?r="/"+r:n[0]?.startsWith("./")&&!r.startsWith("./")&&(r="./"+r):r="../".repeat(-1*s)+r,n[n.length-1]?.endsWith("/")&&!r.endsWith("/")&&(r+="/"),r}function Bb(e,t){return Ur(Rs(e))===Ur(Rs(t))}const Op=Symbol.for("ufo:protocolRelative");function Mp(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,p,_=""]=n;return{protocol:p.toLowerCase(),pathname:_,href:p+_,auth:"",host:"",search:"",hash:""}}if(!go(e,{acceptRelative:!0}))return ld(e);
18const[,o="",s,r=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,a="",l=""]=r.match(/([^#/?]*)(.*)?/)||[];o==="file:"&&(l=l.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:c,search:m,hash:d}=ld(l);return{protocol:o.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:a,pathname:c,search:m,hash:d,[Op]:!o}}function ld(e=""){const[t="",n="",o=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:o}}function Ub(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",o=e.hash||"",s=e.auth?e.auth+"@":"",r=e.host||"";return(e.protocol||e[Op]?(e.protocol||"")+"//":"")+s+r+t+n+o}class jb extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function Vb(e){const t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",o=e.request?.url||String(e.request)||"/",s=`[${n}] ${JSON.stringify(o)}`,r=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",a=`${s}: ${r}${t?` ${t}`:""}`,l=new jb(a,e.error?{cause:e.error}:void 0);for(const c of["request","options","response"])Object.defineProperty(l,c,{get(){return e[c]}});for(const[c,m]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(l,c,{get(){return e.response&&e.response[m]}});return l}const Hb=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function cd(e="GET"){return Hb.has(e.toUpperCase())}function zb(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const Fb=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Wb=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Gb(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Wb.test(t)?"json":Fb.has(t)||t.startsWith("text/")?"text":"blob"}function qb(e,t,n,o){const s=Yb(t?.headers??e?.headers,n?.headers,o);let r;return(n?.query||n?.params||t?.params||t?.query)&&(r={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:r,params:r,headers:s}}function Yb(e,t,n){if(!t)return new n(e);const o=new n(t);if(e)for(const[s,r]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))o.set(s,r);return o}async function Xi(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const Kb=new Set([408,409,425,429,500,502,503,504]),Xb=new Set([101,204,205,304]);function Np(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:o=globalThis.AbortController}=e;async function s(l){const c=l.error&&l.error.name==="AbortError"&&!l.options.timeout||!1;if(l.options.retry!==!1&&!c){let d;typeof l.options.retry=="number"?d=l.options.retry:d=cd(l.options.method)?0:1;const p=l.response&&l.response.status||500;if(d>0&&(Array.isArray(l.options.retryStatusCodes)?l.options.retryStatusCodes.includes(p):Kb.has(p))){const _=typeof l.options.retryDelay=="function"?l.options.retryDelay(l):l.options.retryDelay||0;return _>0&&await new Promise(g=>setTimeout(g,_)),r(l.request,{...l.options,retry:d-1})}}const m=Vb(l);throw Error.captureStackTrace&&Error.captureStackTrace(m,r),m}const r=async function(c,m={}){const d={request:c,options:qb(c,m,e.defaults,n),response:void 0,error:void 0};d.options.method&&(d.options.method=d.options.method.toUpperCase()),d.options.onRequest&&await Xi(d,d.options.onRequest),typeof d.request=="string"&&(d.options.baseURL&&(d.request=Mb(d.request,d.options.baseURL)),d.options.query&&(d.request=Ap(d.request,d.options.query),delete d.options.query),"query"in d.options&&delete d.options.query,"params"in d.options&&delete d.options.params),d.options.body&&cd(d.options.method)&&(zb(d.options.body)?(d.options.body=typeof d.options.body=="string"?d.options.body:JSON.stringify(d.options.body),d.options.headers=new n(d.options.headers||{}),d.options.headers.has("content-type")||d.options.headers.set("content-type","application/json"),d.options.headers.has("accept")||d.options.headers.set("accept","application/json")):("pipeTo"in d.options.body&&typeof d.options.body.pipeTo=="function"||typeof d.options.body.pipe=="function")&&("duplex"in d.options||(d.options.duplex="half")));let p;if(!d.options.signal&&d.options.timeout){const g=new o;p=setTimeout(()=>{const b=new Error("[TimeoutError]: The operation was aborted due to timeout");b.name="TimeoutError",b.code=23,g.abort(b)},d.options.timeout),d.options.signal=g.signal}try{d.response=await t(d.request,d.options)}catch(g){return d.error=g,d.options.onRequestError&&await Xi(d,d.options.onRequestError),await s(d)}finally{p&&clearTimeout(p)}if((d.response.body||d.response._bodyInit)&&!Xb.has(d.response.status)&&d.options.method!=="HEAD"){const g=(d.options.parseResponse?"json":d.options.responseType)||Gb(d.response.headers.get("content-type")||"");switch(g){case"json":{const b=await d.response.text(),y=d.options.parseResponse||vi;d.response._data=y(b);break}case"stream":{d.response._data=d.response.body||d.response._bodyInit;break}default:d.response._data=await d.response[g]()}}return d.options.onResponse&&await Xi(d,d.options.onResponse),!d.options.ignoreResponseError&&d.response.status>=400&&d.response.status<600?(d.options.onResponseError&&await Xi(d,d.options.onResponseError),await s(d)):d.response},a=async function(c,m){return(await r(c,m))._data};return a.raw=r,a.native=(...l)=>t(...l),a.create=(l={},c={})=>Np({...e,...c,defaults:{...e.defaults,...c.defaults,...l}}),a}const jr=(function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")})(),Qb=jr.fetch?(...e)=>jr.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),Jb=jr.Headers,Zb=jr.AbortController,ew=Np({fetch:Qb,Headers:Jb,AbortController:Zb}),tw=ew,nw=()=>window?.__NUXT__?.config||window?.useNuxtApp?.().payload?.config,Nc=()=>nw().app,ow=()=>Nc().baseURL,sw=()=>Nc().buildAssetsDir,Bc=(...e)=>Rp(ns(),sw(),...e),ns=(...e)=>{const t=Nc(),n=t.cdnURL||t.baseURL;return e.length?Rp(n,...e):n};globalThis.__buildAssetsURL=Bc,globalThis.__publicAssetsURL=ns;globalThis.$fetch||(globalThis.$fetch=tw.create({baseURL:ow()}));"global"in globalThis||(globalThis.global=globalThis);function xl(e,t={},n){for(const o in e){const s=e[o],r=n?`${n}:${o}`:o;typeof s=="object"&&s!==null?xl(s,t,r):typeof s=="function"&&(t[r]=s)}return t}const iw={run:e=>e()},rw=()=>iw,Bp=typeof console.createTask<"u"?console.createTask:rw;function aw(e,t){const n=t.shift(),o=Bp(n);return e.reduce((s,r)=>s.then(()=>o.run(()=>r(...t))),Promise.resolve())}function lw(e,t){const n=t.shift(),o=Bp(n);return Promise.all(e.map(s=>o.run(()=>s(...t))))}function Wa(e,t){for(const n of[...e])n(t)}class cw{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,o={}){if(!t||typeof n!="function")return()=>{};const s=t;let r;for(;this._deprecatedHooks[t];)r=this._deprecatedHooks[t],t=r.to;if(r&&!o.allowDeprecated){let a=r.message;a||(a=`${s} hook has been deprecated`+(r.to?`, please use ${r.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(a)||(console.warn(a),this._deprecatedMessages.add(a))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let o,s=(...r)=>(typeof o=="function"&&o(),o=void 0,s=void 0,n(...r));return o=this.hook(t,s),o}removeHook(t,n){if(this._hooks[t]){const o=this._hooks[t].indexOf(n);o!==-1&&this._hooks[t].splice(o,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const o=this._hooks[t]||[];delete this._hooks[t];for(const s of o)this.hook(t,s)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=xl(t),o=Object.keys(n).map(s=>this.hook(s,n[s]));return()=>{for(const s of o.splice(0,o.length))s()}}removeHooks(t){const n=xl(t);for(const o in n)this.removeHook(o,n[o])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(aw,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(lw,t,...n)}callHookWith(t,n,...o){const s=this._before||this._after?{name:n,args:o,context:{}}:void 0;
18this._before&&Wa(this._before,s);const r=t(n in this._hooks?[...this._hooks[n]]:[],o);return r instanceof Promise?r.finally(()=>{this._after&&s&&Wa(this._after,s)}):(this._after&&s&&Wa(this._after,s),r)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function Up(){return new cw}function uw(e={}){let t,n=!1;const o=a=>{if(t&&t!==a)throw new Error("Context conflict")};let s;if(e.asyncContext){const a=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;a?s=new a:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const r=()=>{if(s){const a=s.getStore();if(a!==void 0)return a}return t};return{use:()=>{const a=r();if(a===void 0)throw new Error("Context is not available");return a},tryUse:()=>r(),set:(a,l)=>{l||o(a),t=a,n=!0},unset:()=>{t=void 0,n=!1},call:(a,l)=>{o(a),t=a;try{return s?s.run(a,l):l()}finally{n||(t=void 0)}},async callAsync(a,l){t=a;const c=()=>{t=a},m=()=>t===a?c:void 0;Il.add(m);try{const d=s?s.run(a,l):l();return n||(t=void 0),await d}finally{Il.delete(m)}}}}function dw(e={}){const t={};return{get(n,o={}){return t[n]||(t[n]=uw({...e,...o})),t[n]}}}const Vr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},ud="__unctx__",fw=Vr[ud]||(Vr[ud]=dw()),mw=(e,t={})=>fw.get(e,t),dd="__unctx_async_handlers__",Il=Vr[dd]||(Vr[dd]=new Set);function Ko(e){const t=[];for(const s of Il){const r=s();r&&t.push(r)}const n=()=>{for(const s of t)s()};let o=e();return o&&typeof o=="object"&&"catch"in o&&(o=o.catch(s=>{throw n(),s})),[o,n]}const pw=!1,fd=!1,hw=!1,md={id:"__nuxt-loader"},gw={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},_w={deep:!1},yw="#__nuxt",jp="nuxt-app",pd=36e5,vw="vite:preloadError";function Vp(e=jp){return mw(e,{asyncContext:!1})}const bw="__nuxt_plugin";function ww(e){let t=0;const n={_id:e.id||jp||"nuxt-app",_scope:pc(),provide:void 0,versions:{get nuxt(){return"4.1.2"},get vue(){return n.vueApp.version}},payload:zn({...e.ssrContext?.payload||{},data:zn({}),state:Gt({}),once:new Set,_errors:zn({})}),static:{data:{}},runWithContext(s){return n._scope.active&&!es()?n._scope.run(()=>hd(n,s)):hd(n,s)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let s=!1;return()=>{if(!s&&(s=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:zn({}),_payloadRevivers:{},...e};{const s=window.__NUXT__;if(s)for(const r in s)switch(r){case"data":case"state":case"_errors":Object.assign(n.payload[r],s[r]);break;default:n.payload[r]=s[r]}}n.hooks=Up(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(s,r)=>{const a="$"+s;Qi(n,a,r),Qi(n.vueApp.config.globalProperties,a,r)},Qi(n.vueApp,"$nuxt",n),Qi(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(vw,r=>{n.callHook("app:chunkError",{error:r.payload}),r.payload.message.includes("Unable to preload CSS")&&r.preventDefault()}),window.useNuxtApp||=ue;const s=n.hook("app:error",(...r)=>{console.error("[nuxt] error caught during app initialization",...r)});n.hook("app:mounted",s)}const o=n.payload.config;return n.provide("config",o),n}function kw(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function Tw(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const o in n)e.provide(o,n[o])}}async function $w(e,t){const n=new Set,o=[],s=[];let r,a=0;async function l(c){const m=c.dependsOn?.filter(d=>t.some(p=>p._name===d)&&!n.has(d))??[];if(m.length>0)o.push([new Set(m),c]);else{const d=Tw(e,c).then(async()=>{c._name&&(n.add(c._name),await Promise.all(o.map(async([p,_])=>{p.has(c._name)&&(p.delete(c._name),p.size===0&&(a++,await l(_)))})))}).catch(p=>{if(!c.parallel&&!e.payload.error)throw p;r||=p});c.parallel?s.push(d):await d}}for(const c of t)kw(e,c);for(const c of t)await l(c);if(await Promise.all(s),a)for(let c=0;c<a;c++)await Promise.all(s);if(r)throw e.payload.error||r}function dt(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[bw]:!0,_name:t})}
18function hd(e,t,n){const o=()=>t();return Vp(e._id).set(e),e.vueApp.runWithContext(o)}function Sw(e){let t;return Ai()&&(t=qt()?.appContext.app.$nuxt),t||=Vp(e).tryUse(),t||null}function ue(e){const t=Sw(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function ye(e){return ue().$config}function Qi(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function Dw(e,t){return{ctx:{table:e},matchAll:n=>zp(n,e)}}function Hp(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([o,s])=>[o,Hp(s)])):new Map(Object.entries(e[n]));return t}function Cw(e){return Dw(Hp(e))}function zp(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const o=[];for(const[r,a]of gd(t.wildcard))(e===r||e.startsWith(r+"/"))&&o.push(a);for(const[r,a]of gd(t.dynamic))if(e.startsWith(r+"/")){const l="/"+e.slice(r.length).split("/").splice(2).join("/");o.push(...zp(l,a))}const s=t.static.get(e);return s&&o.push(s),o.filter(Boolean)}function gd(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function Ga(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function El(e,t,n=".",o){if(!Ga(t))return El(e,{},n,o);const s=Object.assign({},t);for(const r in e){if(r==="__proto__"||r==="constructor")continue;const a=e[r];a!=null&&(o&&o(s,r,a,n)||(Array.isArray(a)&&Array.isArray(s[r])?s[r]=[...a,...s[r]]:Ga(a)&&Ga(s[r])?s[r]=El(a,s[r],(n?`${n}.`:"")+r.toString(),o):s[r]=a))}return s}function Pw(e){return(...t)=>t.reduce((n,o)=>El(n,o,"",e),{})}const Fp=Pw();function xw(e,t){try{return t in e}catch{return!1}}
18class _d extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(t,n={}){super(t,n),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Al(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Wp(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}function Iw(e){if(typeof e=="string")return new _d(e);if(Ew(e))return e;const t=new _d(e.message??e.statusMessage??"",{cause:e.cause||e});if(xw(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=Al(e.statusCode,t.statusCode):e.status&&(t.statusCode=Al(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Wp(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function Ew(e){return e?.constructor?.__h3_error__===!0}const Aw=/[^\u0009\u0020-\u007E]/g;function Wp(e=""){return e.replace(Aw,"")}function Al(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Gp=Symbol("layout-meta"),Yn=Symbol("route");import.meta.url.replace(/\/app\/.*$/,"/");const Ye=()=>ue()?.$router,Le=()=>Ai()?Pt(Yn,ue()._route):ue()._route;const Lw=()=>{try{if(ue()._processingMiddleware)return!0}catch{return!1}return!1},Rw=(e,t)=>{e||="/";const n=typeof e=="string"?e:"path"in e?Ll(e):Ye().resolve(e).href;if(t?.open){const{target:c="_blank",windowFeatures:m={}}=t.open,d=[];for(const[p,_]of Object.entries(m))_!==void 0&&d.push(`${p.toLowerCase()}=${_}`);return open(n,c,d.join(", ")),Promise.resolve()}const o=go(n,{acceptRelative:!0}),s=t?.external||o;if(s){if(!t?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:c}=new URL(n,window.location.href);if(c&&Ob(c))throw new Error(`Cannot navigate to a URL with '${c}' protocol.`)}const r=Lw();if(!s&&r){if(t?.replace){if(typeof e=="string"){const{pathname:c,search:m,hash:d}=Mp(e);return{path:c,...m&&{query:Mc(m)},...d&&{hash:d},replace:!0}}return{...e,replace:!0}}return e}const a=Ye(),l=ue();return s?(l._scope.stop(),t?.replace?location.replace(n):location.href=n,r?l.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t?.replace?a.replace(e):a.push(e)};function Ll(e){return Ap(e.path||"",e.query||{})+(e.hash||"")}const qp="__nuxt_error",fa=()=>Sm(ue().payload,"error"),zo=e=>{const t=Eo(e);try{const n=ue(),o=fa();n.hooks.callHook("app:error",t),o.value||=t}catch{throw t}return t},Ow=async(e={})=>{const t=ue(),n=fa();t.callHook("app:error:cleared",e),e.redirect&&await Ye().replace(e.redirect),n.value=void 0},Yp=e=>!!e&&typeof e=="object"&&qp in e,Eo=e=>{const t=Iw(e);return Object.defineProperty(t,qp,{value:!0,configurable:!1,writable:!1}),t};function Mw(e){const t=Bw(e),n=new ArrayBuffer(t.length),o=new DataView(n);for(let s=0;s<n.byteLength;s++)o.setUint8(s,t.charCodeAt(s));return n}const Nw="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function Bw(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,o=0;for(let s=0;s<e.length;s++)n<<=6,n|=Nw.indexOf(e[s]),o+=6,o===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=o=0);return o===12?(n>>=4,t+=String.fromCharCode(n)):o===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const Uw=-1,jw=-2,Vw=-3,Hw=-4,zw=-5,Fw=-6;function Ww(e,t){return Gw(JSON.parse(e),t)}function Gw(e,t){if(typeof e=="number")return s(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,o=Array(n.length);function s(r,a=!1){if(r===Uw)return;if(r===Vw)return NaN;if(r===Hw)return 1/0;if(r===zw)return-1/0;if(r===Fw)return-0;if(a||typeof r!="number")throw new Error("Invalid input");if(r in o)return o[r];const l=n[r];if(!l||typeof l!="object")o[r]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const c=l[0],m=t?.[c];if(m)return o[r]=m(s(l[1]));switch(c){case"Date":o[r]=new Date(l[1]);break;case"Set":const d=new Set;o[r]=d;for(let g=1;g<l.length;g+=1)d.add(s(l[g]));break;case"Map":const p=new Map;o[r]=p;for(let g=1;g<l.length;g+=2)p.set(s(l[g]),s(l[g+1]));break;case"RegExp":o[r]=new RegExp(l[1],l[2]);break;case"Object":o[r]=Object(l[1]);break;case"BigInt":o[r]=BigInt(l[1]);break;case"null":const _=Object.create(null);o[r]=_;for(let g=1;g<l.length;
18g+=2)_[l[g]]=s(l[g+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{const g=globalThis[c],b=new g(s(l[1]));o[r]=l[2]!==void 0?b.subarray(l[2],l[3]):b;break}case"ArrayBuffer":{const g=l[1],b=Mw(g);o[r]=b;break}case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{const g=c.slice(9);o[r]=Temporal[g].from(l[1]);break}case"URL":{const g=new URL(l[1]);o[r]=g;break}case"URLSearchParams":{const g=new URLSearchParams(l[1]);o[r]=g;break}default:throw new Error(`Unknown type ${c}`)}}else{const c=new Array(l.length);o[r]=c;for(let m=0;m<l.length;m+=1){const d=l[m];d!==jw&&(c[m]=s(d))}}else{const c={};o[r]=c;for(const m in l){if(m==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");const d=l[m];c[m]=s(d)}}return o[r]}return s(0)}const qw=new Set(["link","style","script","noscript"]),Yw=new Set(["title","titleTemplate","script","style","noscript"]),yd=new Set(["base","meta","link","style","script","noscript"]),Kw=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),Xw=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Qw=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),Jw=new Set(["templateParams","htmlAttrs","bodyAttrs"]),Zw=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),e1=["name","property","http-equiv"],t1=new Set(["viewport","description","keywords","robots"]);function Kp(e){const t=e.split(":");return t.length?Zw.has(t[1]):!1}function Rl(e){const{props:t,tag:n}=e;if(Xw.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const o of e1)if(t[o]!==void 0){const s=t[o],r=s.includes(":"),a=t1.has(s),c=!(r||a)&&e.key?`:key:${e.key}`:"";return`${n}:${s}${c}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(Yw.has(n)){const o=e.textContent||e.innerHTML;if(o)return`${n}:content:${o}`}}function vd(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([o,s])=>`${o}:${String(s)}`).join(",")}`}function Hr(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());let s;if(t&&(s=t(n,e)),Array.isArray(s))return s.map(r=>Hr(r,t));if(s?.constructor===Object){const r={};for(const a of Object.keys(s))r[a]=Hr(s[a],t,a);return r}return s}function n1(e,t){const n=e==="style"?new Map:new Set;function o(s){const r=s.trim();if(r)if(e==="style"){const[a,...l]=r.split(":").map(c=>c.trim());a&&l.length&&n.set(a,l.join(":"))}else r.split(" ").filter(Boolean).forEach(a=>n.add(a))}return typeof t=="string"?e==="style"?t.split(";").forEach(o):o(t):Array.isArray(t)?t.forEach(s=>o(s)):t&&typeof t=="object"&&Object.entries(t).forEach(([s,r])=>{r&&r!=="false"&&(e==="style"?n.set(s.trim(),r):o(s))}),n}function Xp(e,t){return e.props=e.props||{},t?e.tag==="templateParams"?(e.props=t,e):(Object.entries(t).forEach(([n,o])=>{if(o===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=n1(n,o);return}if(Qw.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof o=="object"){let a=t.type;if(t.type||(a="application/json"),!a?.endsWith("json")&&a!=="speculationrules")return;t.type=a,e.props.type=a,e[n]=JSON.stringify(o)}else e[n]=o;return}const s=String(o),r=n.startsWith("data-");s==="true"||s===""?e.props[n]=r?s:!0:!o&&r&&s==="false"?e.props[n]="false":o!==void 0&&(e.props[n]=o)}),e):e}function o1(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},o=Xp({tag:e,props:{}},n);return o.key&&qw.has(o.tag)&&(o.props["data-hid"]=o._h=o.key),o.tag==="script"&&typeof o.innerHTML=="object"&&(o.innerHTML=JSON.stringify(o.innerHTML),o.props.type=o.props.type||"application/json"),Array.isArray(o.props.content)?o.props.content.map(s=>({...o,props:{...o.props,content:s}})):o}function s1(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(s,r)=>{for(let a=0;a<t.length;a++)r=t[a](s,r);return r};e=n(void 0,e);const o=[];return e=Hr(e,n),Object.entries(e||{}
18).forEach(([s,r])=>{if(r!==void 0)for(const a of Array.isArray(r)?r:[r])o.push(o1(s,a))}),o.flat()}const bd=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,wd={base:-10,title:10},i1={critical:-8,high:-1,low:2},kd={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},r1=/@import/,Ks=e=>e===""||e===!0;function a1(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const o=i1[t.tagPriority]||0,s=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:kd;if(t.tag in wd)n=wd[t.tag];else if(t.tag==="meta"){const r=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;r&&(n=kd.meta[r])}else t.tag==="link"&&t.props.rel?n=s.link[t.props.rel]:t.tag==="script"?Ks(t.props.async)?n=s.script.async:t.props.src&&!Ks(t.props.defer)&&!Ks(t.props.async)&&t.props.type!=="module"&&!t.props.type?.endsWith("json")?n=s.script.sync:Ks(t.props.defer)&&t.props.src&&!Ks(t.props.async)&&(n=s.script.defer):t.tag==="style"&&(n=t.innerHTML&&r1.test(t.innerHTML)?s.style.imported:s.style.sync);return(n||100)+o}function Td(e,t){const n=typeof t=="function"?t(e):t,o=n.key||String(e.plugins.size+1);e.plugins.get(o)||(e.plugins.set(o,n),e.hooks.addHooks(n.hooks||{}))}function l1(e={}){const t=Up();t.addHooks(e.hooks||{});const n=!e.document,o=new Map,s=new Map,r=new Set,a={_entryCount:1,plugins:s,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:o,headEntries(){return[...o.values()]},use:l=>Td(a,l),push(l,c){const m={...c||{}};delete m.head;const d=m._index??a._entryCount++,p={_i:d,input:l,options:m},_={_poll(g=!1){a.dirty=!0,!g&&r.add(d),t.callHook("entries:updated",a)},dispose(){o.delete(d)&&a.invalidate()},patch(g){(!m.mode||m.mode==="server"&&n||m.mode==="client"&&!n)&&(p.input=g,o.set(d,p),_._poll())}};return _.patch(l),_},async resolveTags(){const l={tagMap:new Map,tags:[],entries:[...a.entries.values()]};for(await t.callHook("entries:resolve",l);r.size;){const _=r.values().next().value;r.delete(_);const g=o.get(_);if(g){const b={tags:s1(g.input,e.propResolvers||[]).map(y=>Object.assign(y,g.options)),entry:g};await t.callHook("entries:normalize",b),g._tags=b.tags.map((y,C)=>(y._w=a1(a,y),y._p=(g._i<<10)+C,y._d=Rl(y),y))}}let c=!1;l.entries.flatMap(_=>(_._tags||[]).map(g=>({...g,props:{...g.props}}))).sort(bd).reduce((_,g)=>{const b=String(g._d||g._p);if(!_.has(b))return _.set(b,g);const y=_.get(b);if((g?.tagDuplicateStrategy||(Jw.has(g.tag)?"merge":null)||(g.key&&g.key===y.key?"merge":null))==="merge"){const E={...y.props};Object.entries(g.props).forEach(([D,v])=>E[D]=D==="style"?new Map([...y.props.style||new Map,...v]):D==="class"?new Set([...y.props.class||new Set,...v]):v),_.set(b,{...g,props:E})}else g._p>>10===y._p>>10&&g.tag==="meta"&&Kp(b)?(_.set(b,Object.assign([...Array.isArray(y)?y:[y],g],g)),c=!0):(g._w===y._w?g._p>y._p:g?._w<y?._w)&&_.set(b,g);return _},l.tagMap);const m=l.tagMap.get("title"),d=l.tagMap.get("titleTemplate");if(a._title=m?.textContent,d){const _=d?.textContent;if(a._titleTemplate=_,_){let g=typeof _=="function"?_(m?.textContent):_;typeof g=="string"&&!a.plugins.has("template-params")&&(g=g.replace("%s",m?.textContent||"")),m?g===null?l.tagMap.delete("title"):l.tagMap.set("title",{...m,textContent:g}):(d.tag="title",d.textContent=g)}}l.tags=Array.from(l.tagMap.values()),c&&(l.tags=l.tags.flat().sort(bd)),await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l);const p=[];for(const _ of l.tags){const{innerHTML:g,tag:b,props:y}=_;if(Kw.has(b)&&!(Object.keys(y).length===0&&!_.innerHTML&&!_.textContent)&&!(b==="meta"&&!y.content&&!y["http-equiv"]&&!y.charset)){if(b==="script"&&g){if(y.type?.endsWith("json")){const C=typeof g=="string"?g:JSON.stringify(g);_.innerHTML=C.replace(/</g,"\\u003C")}else typeof g=="string"&&(_.innerHTML=g.replace(new RegExp(`</${b}`,"g"),`<\\/${b}`));_._d=Rl(_)}p.push(_)}}return p},invalidate(){for(const l of o.values())r.add(l._i);a.dirty=!0,t.callHook("entries:updated",a)}};
18return(e?.plugins||[]).forEach(l=>Td(a,l)),a.hooks.callHook("init",a),e.init?.forEach(l=>l&&a.push(l)),a}const c1=(e,t)=>Je(t)?km(t):t,Uc="usehead";function u1(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Uc,e)}}.install}function d1(){if(Ai()){const e=Pt(Uc);if(!e)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function f1(e,t={}){const n=t.head||d1();return n.ssr?n.push(e||{},t):m1(n,e,t)}function m1(e,t,n={}){const o=L(!1);let s;return rp(()=>{const a=o.value?{}:Hr(t,c1);s?s.patch(a):s=e.push(a,n)}),qt()&&(Xe(()=>{s.dispose()}),Hm(()=>{o.value=!0}),Vm(()=>{o.value=!1})),s}function Qp(e){const t=e||ue();return t.ssrContext?.head||t.runWithContext(()=>{if(Ai()){const n=Pt(Uc);if(!n)throw new Error("[nuxt] [unhead] Missing Unhead instance.");return n}})}function Mn(e,t={}){const n=Qp(t.nuxt);return f1(e,{head:n,...t})}const p1="modulepreload",h1=function(e,t){return new URL(e,t).href},$d={},ne=function(t,n,o){let s=Promise.resolve();if(n&&n.length>0){let m=function(d){return Promise.all(d.map(p=>Promise.resolve(p).then(_=>({status:"fulfilled",value:_}),_=>({status:"rejected",reason:_}))))};const a=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),c=l?.nonce||l?.getAttribute("nonce");s=m(n.map(d=>{if(d=h1(d,o),d in $d)return;$d[d]=!0;const p=d.endsWith(".css"),_=p?'[rel="stylesheet"]':"";if(o)for(let b=a.length-1;b>=0;b--){const y=a[b];if(y.href===d&&(!p||y.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${d}"]${_}`))return;const g=document.createElement("link");if(g.rel=p?"stylesheet":p1,p||(g.as="script"),g.crossOrigin="",g.href=d,c&&g.setAttribute("nonce",c),document.head.appendChild(g),p)return new Promise((b,y)=>{g.addEventListener("load",b),g.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${d}`)))})}))}function r(a){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=a,window.dispatchEvent(l),!l.defaultPrevented)throw a}return s.then(a=>{for(const l of a||[])l.status==="rejected"&&r(l.reason);return t().catch(r)})};let _r,yr;function g1(){return _r=$fetch(Bc(`builds/meta/${ye().app.buildId}.json`),{responseType:"json"}),_r.then(e=>{yr=Cw(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),_r}function ma(){return _r||g1()}async function jc(e){const t=typeof e=="string"?e:e.path;if(await ma(),!yr)return console.error("[nuxt] Error creating app manifest matcher.",yr),{};try{return Fp({},...yr.matchAll(t).reverse())}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function Sd(e,t={}){if(!await Zp(e))return null;const o=await y1(e,t);return await Jp(o)||null}const _1="_payload.json";async function y1(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||go(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const o=ye(),s=t.hash||(t.fresh?Date.now():o.app.buildId),r=o.app.cdnURL,a=r&&await Zp(e)?r:o.app.baseURL;return da(a,n.pathname,_1+(s?`?${s}`:""))}async function Jp(e){const t=fetch(e,{cache:"force-cache"}).then(n=>n.text().then(eh));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function Zp(e=Le().path){const t=ue();return e=Rs(e),(await ma()).prerendered.includes(e)?!0:t.runWithContext(async()=>{const o=await jc({path:e});return!!o.prerender&&!o.redirect})}let Vo=null;async function v1(){if(Vo)return Vo;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await eh(e.textContent||""),n=e.dataset.src?await Jp(e.dataset.src):void 0;return Vo={...t,...n,...window.__NUXT__},Vo.config?.public&&(Vo.config.public=Gt(Vo.config.public)),Vo}async function eh(e){return await Ww(e,ue()._payloadRevivers)}function b1(e,t){ue()._payloadRevivers[e]=t}const w1=[["NuxtError",e=>Eo(e)],["EmptyShallowRef",e=>Jt(e==="_"?void 0:e==="0n"?BigInt(0):vi(e))],["EmptyRef",e=>L(e==="_"?void 0:e==="0n"?BigInt(0):vi(e))],["ShallowRef",e=>Jt(e)],["ShallowReactive",e=>zn(e)],["Ref",e=>L(e)],["Reactive",e=>Gt(e)]],k1=dt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[o,s]of w1)b1(o,s);Object.assign(e.payload,([t,n]=Ko(()=>e.runWithContext(v1)),t=await t,n(),t)),delete window.__NUXT__}});async function Vc(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const o={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",o),!!o.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async s=>{const r=new Map,a=new Promise(g=>{e.resolveTags().then(b=>{g(b.map(y=>{const C=r.get(y._d)||0,E={tag:y,id:(C?`${y._d}:${C}`:y._d)||vd(y),shouldRender:!0};return y._d&&Kp(y._d)&&r.set(y._d,C+1),E}))})});let l=e._dom;if(!l){l={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const g of["body","head"]){const b=n[g]?.children;for(const y of b){const C=y.tagName.toLowerCase();if(!yd.has(C))continue;const E=Xp({tag:C,props:{}},{innerHTML:y.innerHTML,...y.getAttributeNames().reduce((D,v)=>(D[v]=y.getAttribute(v),D),{})||{}});if(E.key=y.getAttribute("data-hid")||void 0,E._d=Rl(E)||vd(E),l.elMap.has(E._d)){let D=1,v=E._d;for(;l.elMap.has(v);)v=`${E._d}:${D++}`;l.elMap.set(v,y)}else l.elMap.set(E._d,y)}}}l.pendingSideEffects={...l.sideEffects},l.sideEffects={};function c(g,b,y){const C=`${g}:${b}`;l.sideEffects[C]=y,delete l.pendingSideEffects[C]}function m({id:g,$el:b,tag:y}){const C=y.tag.endsWith("Attrs");l.elMap.set(g,b),C||(y.textContent&&y.textContent!==b.textContent&&(b.textContent=y.textContent),y.innerHTML&&y.innerHTML!==b.innerHTML&&(b.innerHTML=y.innerHTML),c(g,"el",()=>{b?.remove(),l.elMap.delete(g)}));for(const E in y.props){if(!Object.prototype.hasOwnProperty.call(y.props,E))continue;const D=y.props[E];if(E.startsWith("on")&&typeof D=="function"){const I=b?.dataset;if(I&&I[`${E}fired`]){const k=E.slice(0,-5);D.call(b,new Event(k.substring(2)))}b.getAttribute(`data-${E}`)!==""&&((y.tag==="bodyAttrs"?n.defaultView:b).addEventListener(E.substring(2),D.bind(b)),b.setAttribute(`data-${E}`,""));continue}const v=`attr:${E}`;if(E==="class"){if(!D)continue;for(const I of D)C&&c(g,`${v}:${I}`,()=>b.classList.remove(I)),!b.classList.contains(I)&&b.classList.add(I)}else if(E==="style"){if(!D)continue;for(const[I,k]of D)c(g,`${v}:${I}`,()=>{b.style.removeProperty(I)}),b.style.setProperty(I,k)}else D!==!1&&D!==null&&(b.getAttribute(E)!==D&&b.setAttribute(E,D===!0?"":String(D)),C&&c(g,v,()=>b.removeAttribute(E)))}}const d=[],p={bodyClose:void 0,bodyOpen:void 0,head:void 0},_=await a;for(const g of _){const{tag:b,shouldRender:y,id:C}=g;if(y){if(b.tag==="title"){n.title=b.textContent,c("title","",()=>n.title=l.title);continue}g.$el=g.$el||l.elMap.get(C),g.$el?m(g):yd.has(b.tag)&&d.push(g)}}for(const g of d){const b=g.tag.tagPosition||"head";g.$el=n.createElement(g.tag.tag),m(g),p[b]=p[b]||n.createDocumentFragment(),p[b].appendChild(g.$el)}for(const g of _)await e.hooks.callHook("dom:renderTag",g,n,c);p.head&&n.head.appendChild(p.head),p.bodyOpen&&n.body.insertBefore(p.bodyOpen,n.body.firstChild),p.bodyClose&&n.body.appendChild(p.bodyClose);for(const g in l.pendingSideEffects)l.pendingSideEffects[g]();e._dom=l,await e.hooks.callHook("dom:rendered",{renders:_}),s()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function T1(e={}){const t=e.domOptions?.render||Vc;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return l1({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function $1(e,t){let n=0;return()=>{const o=++n;t(()=>{n===o&&e()})}}function S1(e={}){const t=T1({domOptions:{render:$1(()=>Vc(t),n=>setTimeout(n,0))},...e});return t.install=u1(t),t}const D1={disableDefaults:!0},C1=dt({name:"nuxt:head",enforce:"pre",setup(e){const t=S1(D1);e.vueApp.use(t);{let n=!0;const o=async()=>{n=!1,await Vc(t)};t.hooks.hook("dom:beforeRender",s=>{s.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||o()}),e.hooks.hook("app:error",o),e.hooks.hook("app:suspense:resolve",o)}}});/*! 19 * vue-router v4.5.1 20 * (c) 2025 Eduardo San Martin Morote 21 * @license MIT 22 */const ds=typeof document<"u";function th(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}
22function P1(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&th(e.default)}const lt=Object.assign;function qa(e,t){const n={};for(const o in t){const s=t[o];n[o]=On(s)?s.map(e):e(s)}return n}const li=()=>{},On=Array.isArray,nh=/#/g,x1=/&/g,I1=/\//g,E1=/=/g,A1=/\?/g,oh=/\+/g,L1=/%5B/g,R1=/%5D/g,sh=/%5E/g,O1=/%60/g,ih=/%7B/g,M1=/%7C/g,rh=/%7D/g,N1=/%20/g;function Hc(e){return encodeURI(""+e).replace(M1,"|").replace(L1,"[").replace(R1,"]")}function B1(e){return Hc(e).replace(ih,"{").replace(rh,"}").replace(sh,"^")}function Ol(e){return Hc(e).replace(oh,"%2B").replace(N1,"+").replace(nh,"%23").replace(x1,"%26").replace(O1,"`").replace(ih,"{").replace(rh,"}").replace(sh,"^")}function U1(e){return Ol(e).replace(E1,"%3D")}function j1(e){return Hc(e).replace(nh,"%23").replace(A1,"%3F")}function V1(e){return e==null?"":j1(e).replace(I1,"%2F")}function bi(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const H1=/\/$/,z1=e=>e.replace(H1,"");function Ya(e,t,n="/"){let o,s={},r="",a="";const l=t.indexOf("#");let c=t.indexOf("?");return l<c&&l>=0&&(c=-1),c>-1&&(o=t.slice(0,c),r=t.slice(c+1,l>-1?l:t.length),s=e(r)),l>-1&&(o=o||t.slice(0,l),a=t.slice(l,t.length)),o=q1(o??t,n),{fullPath:o+(r&&"?")+r+a,path:o,query:s,hash:bi(a)}}function F1(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Dd(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function W1(e,t,n){const o=t.matched.length-1,s=n.matched.length-1;return o>-1&&o===s&&Os(t.matched[o],n.matched[s])&&ah(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Os(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ah(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!G1(e[n],t[n]))return!1;return!0}function G1(e,t){return On(e)?Cd(e,t):On(t)?Cd(t,e):e===t}function Cd(e,t){return On(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function q1(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),s=o[o.length-1];(s===".."||s===".")&&o.push("");let r=n.length-1,a,l;for(a=0;a<o.length;a++)if(l=o[a],l!==".")if(l==="..")r>1&&r--;else break;return n.slice(0,r).join("/")+"/"+o.slice(a).join("/")}const wn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var wi;(function(e){e.pop="pop",e.push="push"})(wi||(wi={}));var ci;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ci||(ci={}));function Y1(e){if(!e)if(ds){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),z1(e)}const K1=/^[^#]+#/;function X1(e,t){return e.replace(K1,"#")+t}function Q1(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const pa=()=>({left:window.scrollX,top:window.scrollY});function J1(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=Q1(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Pd(e,t){return(history.state?history.state.position-t:-1)+e}const Ml=new Map;function Z1(e,t){Ml.set(e,t)}function e0(e){const t=Ml.get(e);return Ml.delete(e),t}let t0=()=>location.protocol+"//"+location.host;function lh(e,t){const{pathname:n,search:o,hash:s}=t,r=e.indexOf("#");if(r>-1){let l=s.includes(e.slice(r))?e.slice(r).length:1,c=s.slice(l);return c[0]!=="/"&&(c="/"+c),Dd(c,"")}return Dd(n,e)+o+s}function n0(e,t,n,o){let s=[],r=[],a=null;const l=({state:_})=>{const g=lh(e,location),b=n.value,y=t.value;let C=0;if(_){if(n.value=g,t.value=_,a&&a===b){a=null;return}C=y?_.position-y.position:0}else o(g);s.forEach(E=>{E(n.value,b,{delta:C,type:wi.pop,direction:C?C>0?ci.forward:ci.back:ci.unknown})})};function c(){a=n.value}function m(_){s.push(_);const g=()=>{const b=s.indexOf(_);b>-1&&s.splice(b,1)};return r.push(g),g}function d(){const{history:_}=window;_.state&&_.replaceState(lt({},_.state,{scroll:pa()}),"")}function p(){for(const _ of r)_();r=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:c,listen:m,destroy:p}}function xd(e,t,n,o=!1,s=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:s?pa():null}}function o0(e){const{history:t,location:n}=window,o={value:lh(e,n)},s={value:t.state};s.value||r(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(c,m,d){const p=e.indexOf("#"),_=p>-1?(n.host&&document.querySelector("base")?e:e.slice(p))+c:t0()+e+c;try{t[d?"replaceState":"pushState"](m,"",_),s.value=m}catch(g){console.error(g),n[d?"replace":"assign"](_)}}function a(c,m){const d=lt({},t.state,xd(s.value.back,c,s.value.forward,!0),m,{position:s.value.position});r(c,d,!0),o.value=c}function l(c,m){const d=lt({},s.value,t.state,{forward:c,scroll:pa()});r(d.current,d,!0);const p=lt({},xd(o.value,c,null),{position:d.position+1},m);r(c,p,!1),o.value=c}return{location:o,state:s,push:l,replace:a}}function ch(e){e=Y1(e);const t=o0(e),n=n0(e,t.state,t.location,t.replace);function o(r,a=!0){a||n.pauseListeners(),history.go(r)}const s=lt({location:"",base:e,go:o,createHref:X1.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function s0(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),ch(e)}function i0(e){return typeof e=="string"||e&&typeof e=="object"}function uh(e){return typeof e=="string"||typeof e=="symbol"}const dh=Symbol("");var Id;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Id||(Id={}));function Ms(e,t){return lt(new Error,{type:e,[dh]:!0},t)}function Jn(e,t){return e instanceof Error&&dh in e&&(t==null||!!(e.type&t))}const Ed="[^/]+?",r0={sensitive:!1,strict:!1,start:!0,end:!0},a0=/[.+*?^${}()[\]/\\]/g;function l0(e,t){const n=lt({},r0,t),o=[];let s=n.start?"^":"";const r=[];for(const m of e){const d=m.length?[]:[90];n.strict&&!m.length&&(s+="/");for(let p=0;p<m.length;p++){const _=m[p];let g=40+(n.sensitive?.25:0);if(_.type===0)p||(s+="/"),s+=_.value.replace(a0,"\\$&"),g+=40;else if(_.type===1){const{value:b,repeatable:y,optional:C,regexp:E}=_;r.push({name:b,repeatable:y,optional:C});const D=E||Ed;if(D!==Ed){g+=10;try{new RegExp(`(${D})`)}catch(I){throw new Error(`Invalid custom RegExp for param "${b}" (${D}): `+I.message)}}let v=y?`((?:${D})(?:/(?:${D}))*)`:`(${D})`;p||(v=C&&m.length<2?`(?:/${v})`:"/"+v),C&&(v+="?"),s+=v,g+=20,C&&(g+=-8),y&&(g+=-20),D===".*"&&(g+=-50)}d.push(g)}o.push(d)}if(n.strict&&n.end){const m=o.length-1;o[m][o[m].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&!s.endsWith("/")&&(s+="(?:/|$)");const a=new RegExp(s,n.sensitive?"":"i");function l(m){const d=m.match(a),p={};if(!d)return null;for(let _=1;_<d.length;_++){const g=d[_]||"",b=r[_-1];p[b.name]=g&&b.repeatable?g.split("/"):g}return p}function c(m){let d="",p=!1;for(const _ of e){(!p||!d.endsWith("/"))&&(d+="/"),p=!1;for(const g of _)if(g.type===0)d+=g.value;else if(g.type===1){const{value:b,repeatable:y,optional:C}=g,E=b in m?m[b]:"";if(On(E)&&!y)throw new Error(`Provided param "${b}" is an array but it is not repeatable (* or + modifiers)`);const D=On(E)?E.join("/"):E;if(!D)if(C)_.length<2&&(d.endsWith("/")?d=d.slice(0,-1):p=!0);else throw new Error(`Missing required param "${b}"`);d+=D}}return d||"/"}return{re:a,score:o,keys:r,parse:l,stringify:c}
22}function c0(e,t){let n=0;for(;n<e.length&&n<t.length;){const o=t[n]-e[n];if(o)return o;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function fh(e,t){let n=0;const o=e.score,s=t.score;for(;n<o.length&&n<s.length;){const r=c0(o[n],s[n]);if(r)return r;n++}if(Math.abs(s.length-o.length)===1){if(Ad(o))return 1;if(Ad(s))return-1}return s.length-o.length}function Ad(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const u0={type:0,value:""},d0=/[a-zA-Z0-9_]/;function f0(e){if(!e)return[[]];if(e==="/")return[[u0]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${m}": ${g}`)}let n=0,o=n;const s=[];let r;function a(){r&&s.push(r),r=[]}let l=0,c,m="",d="";function p(){m&&(n===0?r.push({type:0,value:m}):n===1||n===2||n===3?(r.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${m}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:m,regexp:d,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),m="")}function _(){m+=c}for(;l<e.length;){if(c=e[l++],c==="\\"&&n!==2){o=n,n=4;continue}switch(n){case 0:c==="/"?(m&&p(),a()):c===":"?(p(),n=1):_();break;case 4:_(),n=o;break;case 1:c==="("?n=2:d0.test(c)?_():(p(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&l--);break;case 2:c===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+c:n=3:d+=c;break;case 3:p(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&l--,d="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${m}"`),p(),a(),s}function m0(e,t,n){const o=l0(f0(e.path),n),s=lt(o,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function p0(e,t){const n=[],o=new Map;t=Md({strict:!1,end:!0,sensitive:!1},t);function s(p){return o.get(p)}function r(p,_,g){const b=!g,y=Rd(p);y.aliasOf=g&&g.record;const C=Md(t,p),E=[y];if("alias"in p){const I=typeof p.alias=="string"?[p.alias]:p.alias;for(const k of I)E.push(Rd(lt({},y,{components:g?g.record.components:y.components,path:k,aliasOf:g?g.record:y})))}let D,v;for(const I of E){const{path:k}=I;if(_&&k[0]!=="/"){const S=_.record.path,$=S[S.length-1]==="/"?"":"/";I.path=_.record.path+(k&&$+k)}if(D=m0(I,_,C),g?g.alias.push(D):(v=v||D,v!==D&&v.alias.push(D),b&&p.name&&!Od(D)&&a(p.name)),mh(D)&&c(D),y.children){const S=y.children;for(let $=0;$<S.length;$++)r(S[$],D,g&&g.children[$])}g=g||D}return v?()=>{a(v)}:li}function a(p){if(uh(p)){const _=o.get(p);_&&(o.delete(p),n.splice(n.indexOf(_),1),_.children.forEach(a),_.alias.forEach(a))}else{const _=n.indexOf(p);_>-1&&(n.splice(_,1),p.record.name&&o.delete(p.record.name),p.children.forEach(a),p.alias.forEach(a))}}function l(){return n}function c(p){const _=_0(p,n);n.splice(_,0,p),p.record.name&&!Od(p)&&o.set(p.record.name,p)}function m(p,_){let g,b={},y,C;if("name"in p&&p.name){if(g=o.get(p.name),!g)throw Ms(1,{location:p});C=g.record.name,b=lt(Ld(_.params,g.keys.filter(v=>!v.optional).concat(g.parent?g.parent.keys.filter(v=>v.optional):[]).map(v=>v.name)),p.params&&Ld(p.params,g.keys.map(v=>v.name))),y=g.stringify(b)}else if(p.path!=null)y=p.path,g=n.find(v=>v.re.test(y)),g&&(b=g.parse(y),C=g.record.name);else{if(g=_.name?o.get(_.name):n.find(v=>v.re.test(_.path)),!g)throw Ms(1,{location:p,currentLocation:_});C=g.record.name,b=lt({},_.params,p.params),y=g.stringify(b)}const E=[];let D=g;for(;D;)E.unshift(D.record),D=D.parent;return{name:C,path:y,params:b,matched:E,meta:g0(E)}}e.forEach(p=>r(p));function d(){n.length=0,o.clear()}return{addRoute:r,resolve:m,removeRoute:a,clearRoutes:d,getRoutes:l,getRecordMatcher:s}}function Ld(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function Rd(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:h0(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function h0(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]=typeof n=="object"?n[o]:n;return t}function Od(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function g0(e){return e.reduce((t,n)=>lt(t,n.meta),{})}function Md(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function _0(e,t){let n=0,o=t.length;for(;n!==o;){const r=n+o>>1;fh(e,t[r])<0?o=r:n=r+1}const s=y0(e);return s&&(o=t.lastIndexOf(s,o-1)),o}function y0(e){let t=e;for(;t=t.parent;)if(mh(t)&&fh(e,t)===0)return t}function mh({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function v0(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<o.length;++s){const r=o[s].replace(oh," "),a=r.indexOf("="),l=bi(a<0?r:r.slice(0,a)),c=a<0?null:bi(r.slice(a+1));if(l in t){let m=t[l];On(m)||(m=t[l]=[m]),m.push(c)}else t[l]=c}return t}function Nd(e){let t="";for(let n in e){const o=e[n];if(n=U1(n),o==null){o!==void 0&&(t+=(t.length?"&":"")+n);continue}(On(o)?o.map(r=>
vendor: 9,340 bytes, line 22
22r&&Ol(r)):[o&&Ol(o)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function b0(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=On(o)?o.map(s=>s==null?null:""+s):o==null?o:""+o)}return t}const w0=Symbol(""),Bd=Symbol(""),zc=Symbol(""),Fc=Symbol(""),Nl=Symbol("");function Xs(){let e=[];function t(o){return e.push(o),()=>{const s=e.indexOf(o);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Do(e,t,n,o,s,r=a=>a()){const a=o&&(o.enterCallbacks[s]=o.enterCallbacks[s]||[]);return()=>new Promise((l,c)=>{const m=_=>{_===!1?c(Ms(4,{from:n,to:t})):_ instanceof Error?c(_):i0(_)?c(Ms(2,{from:t,to:_})):(a&&o.enterCallbacks[s]===a&&typeof _=="function"&&a.push(_),l())},d=r(()=>e.call(o&&o.instances[s],t,n,m));let p=Promise.resolve(d);e.length<3&&(p=p.then(m)),p.catch(_=>c(_))})}function Ka(e,t,n,o,s=r=>r()){const r=[];for(const a of e)for(const l in a.components){let c=a.components[l];if(!(t!=="beforeRouteEnter"&&!a.instances[l]))if(th(c)){const d=(c.__vccOpts||c)[t];d&&r.push(Do(d,n,o,a,l,s))}else{let m=c();r.push(()=>m.then(d=>{if(!d)throw new Error(`Couldn't resolve component "${l}" at "${a.path}"`);const p=P1(d)?d.default:d;a.mods[l]=d,a.components[l]=p;const g=(p.__vccOpts||p)[t];return g&&Do(g,n,o,a,l,s)()}))}}return r}function Ud(e){const t=Pt(zc),n=Pt(Fc),o=se(()=>{const c=i(e.to);return t.resolve(c)}),s=se(()=>{const{matched:c}=o.value,{length:m}=c,d=c[m-1],p=n.matched;if(!d||!p.length)return-1;const _=p.findIndex(Os.bind(null,d));if(_>-1)return _;const g=jd(c[m-2]);return m>1&&jd(d)===g&&p[p.length-1].path!==g?p.findIndex(Os.bind(null,c[m-2])):_}),r=se(()=>s.value>-1&&D0(n.params,o.value.params)),a=se(()=>s.value>-1&&s.value===n.matched.length-1&&ah(n.params,o.value.params));function l(c={}){if(S0(c)){const m=t[i(e.replace)?"replace":"push"](i(e.to)).catch(li);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>m),m}return Promise.resolve()}return{route:o,href:se(()=>o.value.href),isActive:r,isExactActive:a,navigate:l}}function k0(e){return e.length===1?e[0]:e}const T0=At({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Ud,setup(e,{slots:t}){const n=Gt(Ud(e)),{options:o}=Pt(zc),s=se(()=>({[Vd(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Vd(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&k0(t.default(n));return e.custom?r:ht("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},r)}}}),$0=T0;function S0(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function D0(e,t){for(const n in t){const o=t[n],s=e[n];if(typeof o=="string"){if(o!==s)return!1}else if(!On(s)||s.length!==o.length||o.some((r,a)=>r!==s[a]))return!1}return!0}function jd(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Vd=(e,t,n)=>e??t??n,C0=At({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Pt(Nl),s=se(()=>e.route||o.value),r=Pt(Bd,0),a=se(()=>{let m=i(r);const{matched:d}=s.value;let p;for(;(p=d[m])&&!p.components;)m++;return m}),l=se(()=>s.value.matched[a.value]);so(Bd,se(()=>a.value+1)),so(w0,l),so(Nl,s);const c=L();return qe(()=>[c.value,l.value,e.name],([m,d,p],[_,g,b])=>{d&&(d.instances[p]=m,g&&g!==d&&m&&m===_&&(d.leaveGuards.size||(d.leaveGuards=g.leaveGuards),d.updateGuards.size||(d.updateGuards=g.updateGuards))),m&&d&&(!g||!Os(d,g)||!_)&&(d.enterCallbacks[p]||[]).forEach(y=>y(m))},{flush:"post"}),()=>{const m=s.value,d=e.name,p=l.value,_=p&&p.components[d];if(!_)return Hd(n.default,{Component:_,route:m});const g=p.props[d],b=g?g===!0?m.params:typeof g=="function"?g(m):g:null,C=ht(_,lt({},b,t,{onVnodeUnmounted:E=>{E.component.isUnmounted&&(p.instances[d]=null)},ref:c}));return Hd(n.default,{Component:C,route:m})||C}}});function Hd(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const ph=C0;function P0(e){const t=p0(e.routes,e),n=e.parseQuery||v0,o=e.stringifyQuery||Nd,s=e.history,r=Xs(),a=Xs(),l=Xs(),c=Jt(wn);let m=wn;ds&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=qa.bind(null,W=>""+W),p=qa.bind(null,V1),_=qa.bind(null,bi);function g(W,le){let he,we;return uh(W)?(he=t.getRecordMatcher(W),we=le):we=W,t.addRoute(we,he)}function b(W){const le=t.getRecordMatcher(W);le&&t.removeRoute(le)}function y(){return t.getRoutes().map(W=>W.record)}function C(W){return!!t.getRecordMatcher(W)}function E(W,le){if(le=lt({},le||c.value),typeof W=="string"){const H=Ya(n,W,le.path),U=t.resolve({path:H.path},le),J=s.createHref(H.fullPath);return lt(H,U,{params:_(U.params),hash:bi(H.hash),redirectedFrom:void 0,href:J})}let he;if(W.path!=null)he=lt({},W,{path:Ya(n,W.path,le.path).path});else{const H=lt({},W.params);for(const U in H)H[U]==null&&delete H[U];he=lt({},W,{params:p(H)}),le.params=p(le.params)}const we=t.resolve(he,le),Oe=W.hash||"";we.params=d(_(we.params));const nt=F1(o,lt({},W,{hash:B1(Oe),path:we.path})),B=s.createHref(nt);return lt({fullPath:nt,hash:Oe,query:o===Nd?b0(W.query):W.query||{}},we,{redirectedFrom:void 0,href:B})}function D(W){return typeof W=="string"?Ya(n,W,c.value.path):lt({},W)}function v(W,le){if(m!==W)return Ms(8,{from:le,to:W})}function I(W){return $(W)}function k(W){return I(lt(D(W),{replace:!0}))}function S(W){const le=W.matched[W.matched.length-1];if(le&&le.redirect){const{redirect:he}=le;let we=typeof he=="function"?he(W):he;return typeof we=="string"&&(we=we.includes("?")||we.includes("#")?we=D(we):{path:we},we.params={}),lt({query:W.query,hash:W.hash,params:we.path!=null?{}:W.params},we)}}function $(W,le){const he=m=E(W),we=c.value,Oe=W.state,nt=W.force,B=W.replace===!0,H=S(he);if(H)return $(lt(D(H),{state:typeof H=="object"?lt({},Oe,H.state):Oe,force:nt,replace:B}),le||he);const U=he;U.redirectedFrom=le;let J;return!nt&&W1(o,we,he)&&(J=Ms(16,{to:U,from:we}),de(we,we,!0,!1)),(J?Promise.resolve(J):A(U,we)).catch(ae=>Jn(ae)?Jn(ae,2)?ae:ce(ae):Y(ae,U,we)).then(ae=>{if(ae){if(Jn(ae,2))return $(lt({replace:B},D(ae.to),{state:typeof ae.to=="object"?lt({},Oe,ae.to.state):Oe,force:nt}),le||U)}else ae=M(U,we,!0,B,Oe);return N(U,we,ae),ae})}function P(W,le){const he=v(W,le);return he?Promise.reject(he):Promise.resolve()}function x(W){const le=Z.values().next().value;return le&&typeof le.runWithContext=="function"?le.runWithContext(W):W()}function A(W,le){let he;const[we,Oe,nt]=x0(W,le);he=Ka(we.reverse(),"beforeRouteLeave",W,le);for(const H of we)H.leaveGuards.forEach(U=>{he.push(Do(U,W,le))});const B=P.bind(null,W,le);return he.push(B),fe(he).then(()=>{he=[];for(const H of r.list())he.push(Do(H,W,le));return he.push(B),fe(he)}).then(()=>{he=Ka(Oe,"beforeRouteUpdate",W,le);for(const H of Oe)H.updateGuards.forEach(U=>{he.push(Do(U,W,le))});return he.push(B),fe(he)}).then(()=>{he=[];for(const H of nt)if(H.beforeEnter)if(On(H.beforeEnter))for(const U of H.beforeEnter)he.push(Do(U,W,le));else he.push(Do(H.beforeEnter,W,le));return he.push(B),fe(he)}).then(()=>(W.matched.forEach(H=>H.enterCallbacks={}),he=Ka(nt,"beforeRouteEnter",W,le,x),he.push(B),fe(he))).then(()=>{he=[];for(const H of a.list())he.push(Do(H,W,le));return he.push(B),fe(he)}).catch(H=>Jn(H,8)?H:Promise.reject(H))}function N(W,le,he){l.list().forEach(we=>x(()=>we(W,le,he)))}function M(W,le,he,we,Oe){const nt=v(W,le);if(nt)return nt;const B=le===wn,H=ds?history.state:{};he&&(we||B?s.replace(W.fullPath,lt({scroll:B&&H&&H.scroll},Oe)):s.push(W.fullPath,Oe)),c.value=W,de(W,le,he,B),ce()}let ee;function X(){ee||(ee=s.listen((W,le,he)=>{if(!q.listening)return;const we=E(W),Oe=S(we);if(Oe){$(lt(Oe,{replace:!0,force:!0}),we).catch(li);return}m=we;const nt=c.value;ds&&Z1(Pd(nt.fullPath,he.delta),pa()),A(we,nt).catch(B=>Jn(B,12)?B:Jn(B,2)?($(lt(D(B.to),{force:!0}),we).then(H=>{Jn(H,20)&&!he.delta&&he.type===wi.pop&&s.go(-1,!1)}).catch(li),Promise.reject()):(he.delta&&s.go(-he.delta,!1),Y(B,we,nt))).then(B=>{B=B||M(we,nt,!1),B&&(he.delta&&!Jn(B,8)?s.go(-he.delta,!1):he.type===wi.pop&&Jn(B,20)&&s.go(-1,!1)),N(we,nt,B)}).catch(li)}))}let me=Xs(),Q=Xs(),F;function Y(W,le,he){ce(W);const we=Q.list();return we.length?we.forEach(Oe=>Oe(W,le,he)):console.error(W),Promise.reject(W)}function ie(){return F&&c.value!==wn?Promise.resolve():new Promise((W,le)=>{me.add([W,le])})}function ce(W){return F||(F=!W,X(),me.list().forEach(([le,he])=>W?he(W):le()),me.reset()),W}function de(W,le,he,we){const{scrollBehavior:Oe}=e;if(!ds||!Oe)return Promise.resolve();const nt=!he&&e0(Pd(W.fullPath,0))||(we||!he)&&history.state&&history.state.scroll||null;return Rt().then(()=>Oe(W,le,nt)).then(B=>B&&J1(B)).catch(B=>Y(B,W,le))}const V=W=>s.go(W);let K;const Z=new Set,q={currentRoute:c,listening:!0,addRoute:g,removeRoute:b,clearRoutes:t.clearRoutes,hasRoute:C,getRoutes:y,resolve:E,options:e,pu
22sh:I,replace:k,go:V,back:()=>V(-1),forward:()=>V(1),beforeEach:r.add,beforeResolve:a.add,afterEach:l.add,onError:Q.add,isReady:ie,install(W){const le=this;W.component("RouterLink",$0),W.component("RouterView",ph),W.config.globalProperties.$router=le,Object.defineProperty(W.config.globalProperties,"$route",{enumerable:!0,get:()=>i(c)}),ds&&!K&&c.value===wn&&(K=!0,I(s.location).catch(Oe=>{}));const he={};for(const Oe in wn)Object.defineProperty(he,Oe,{get:()=>c.value[Oe],enumerable:!0});W.provide(zc,le),W.provide(Fc,zn(he)),W.provide(Nl,c);const we=W.unmount;Z.add(W),W.unmount=function(){Z.delete(W),Z.size<1&&(m=wn,ee&&ee(),ee=null,c.value=wn,K=!1,F=!1),we()}}};function fe(W){return W.reduce((le,he)=>le.then(()=>x(he)),Promise.resolve())}return q}function x0(e,t){const n=[],o=[],s=[],r=Math.max(t.matched.length,e.matched.length);for(let a=0;a<r;a++){const l=t.matched[a];l&&(e.matched.find(m=>Os(m,l))?o.push(l):n.push(l));const c=e.matched[a];c&&(t.matched.find(m=>Os(m,c))||s.push(c))}return[n,o,s]}function hh(e){return Pt(Fc)}const I0=/(:\w+)\([^)]+\)/g,E0=/(:\w+)[?+*]/g,A0=/:\w+/g,L0=(e,t)=>t.path.replace(I0,"$1").replace(E0,"$1").replace(A0,n=>e.params[n.slice(1)]?.toString()||""),Bl=(e,t)=>{const n=e.route.matched.find(s=>s.components?.default===e.Component.type),o=t??n?.meta.key??(n&&L0(e.route,n));return typeof o=="function"?o(e.route):o},R0=(e,t)=>({default:()=>e?ht(Ay,e===!0?{}:e,t):t});function Wc(e){return Array.isArray(e)?e:[e]}const Xa=[{name:"path",path:"/:path(.*)*",component:()=>ne(()=>Promise.resolve().then(()=>Nx),void 0,import.meta.url)}],gh=(e,t)=>({default:()=>e?ht(ua,e===!0?{}:e,t):t.default?.()}),O0=/(:\w+)\([^)]+\)/g,M0=/(:\w+)[?+*]/g,N0=/:\w+/g;function zd(e){const t=e?.meta.key??e.path.replace(O0,"$1").replace(M0,"$1").replace(N0,n=>e.params[n.slice(1)]?.toString()||"");return typeof t=="function"?t(e):t}function B0(e,t){return e===t||t===wn?!1:zd(e)!==zd(t)?!0:!e.matched.every((o,s)=>o.components&&o.components.default===t.matched[s]?.components?.default)}function U0(e,t=!1){if(e){if(e.nodeName==="#comment"&&e.nodeValue==="[")return _h(e,[],t);if(t){const n=e.cloneNode(!0);return n.querySelectorAll("[data-island-slot]").forEach(o=>{o.innerHTML=""}),[n.outerHTML]}return[e.outerHTML]}}function _h(e,t=[],n=!1){if(e&&e.nodeName){if(V0(e))return t;if(!j0(e)){const o=e.cloneNode(!0);n&&o.querySelectorAll?.("[data-island-slot]").forEach(s=>{s.innerHTML=""}),t.push(o.outerHTML)}_h(e.nextSibling,t,n)}return t}function Qa(e,t){const n=e?U0(e):[t];return n?Jo(n.join(""),n.length):ht("div")}function j0(e){return e.nodeName==="#comment"&&e.nodeValue==="["}function V0(e){return e.nodeName==="#comment"&&e.nodeValue==="]"}const H0={scrollBehavior(e,t,n){const o=ue(),s=Ye().options?.scrollBehaviorType??"auto";if(e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:yh(e.hash),behavior:s}:!1;if((typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1)return!1;const a=o._runningTransition?"page:transition:finish":"page:loading:end";return new Promise(l=>{if(t===wn){l(Fd(e,t,n,s));return}o.hooks.hookOnce(a,()=>{requestAnimationFrame(()=>l(Fd(e,t,n,s)))})})}};function yh(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function Fd(e,t,n,o){if(n)return n;const s=B0(e,t);return e.hash?{el:e.hash,top:yh(e.hash),behavior:s?o:"instant"}:{left:0,top:0}}const vh={scrollBehavior(e,t,n){const o=ue();return e.hash?{el:e.hash}:new Promise(s=>{o.hook("page:finish",()=>{s(n||{top:0,left:0})})})}},z0={hashMode:!1,scrollBehaviorType:"auto"},Ul=vh.hashMode??!1,bo={...z0,...H0,...vh},F0=async(e,t)=>{let n,o;if(!e.meta?.validate)return;const s=([n,o]=Ko(()=>Promise.resolve(e.meta.validate(e))),n=await n,o(),n);if(s===!0)return;const r=Eo({fatal:!0,statusCode:s&&s.statusCode||404,statusMessage:s&&s.statusMessage||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}});return typeof window<"u"&&window.history.pushState({},"",t.fullPath),r},W0=async()=>{let e,t;[e,t]=Ko(()=>new Promise(n=>{setTimeout(n,100),requestAnimationFrame(()=>{setTimeout(n,0)})})),await e,t(),document.dispatchEvent(new CustomEvent("off-route"))},G0=async e=>{let t,n;const o=([t,n]=Ko(()=>jc({path:e.path})),t=await t,n(),t);
22if(o.redirect)return go(o.redirect,{acceptRelative:!0})?(window.location.href=o.redirect,!1):o.redirect},q0=[F0,W0,G0],jl={};function Y0(e,t,n){const{pathname:o,search:s,hash:r}=t,a=e.indexOf("#");if(a>-1){const m=r.includes(e.slice(a))?e.slice(a).length:1;let d=r.slice(m);return d[0]!=="/"&&(d="/"+d),ad(d,"")}const l=ad(o,e),c=!n||Bb(l,n)?l:n;return c+(c.includes("?")?"":s)+r}const K0=dt({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,o=ye().app.baseURL;Ul&&!o.includes("#")&&(o+="#");const s=bo.history?.(o)??(Ul?s0(o):ch(o)),r=bo.routes?([t,n]=Ko(()=>bo.routes(Xa)),t=await t,n(),t??Xa):Xa;let a;const l=P0({...bo,scrollBehavior:(C,E,D)=>{if(E===wn){a=D;return}if(bo.scrollBehavior){if(l.options.scrollBehavior=bo.scrollBehavior,"scrollRestoration"in window.history){const v=l.beforeEach(()=>{v(),window.history.scrollRestoration="manual"})}return bo.scrollBehavior(C,wn,a||D)}},history:s,routes:r});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(l);const c=Jt(l.currentRoute.value);l.afterEach((C,E)=>{c.value=E}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const m=Y0(o,window.location,e.payload.path),d=Jt(l.currentRoute.value),p=()=>{d.value=l.currentRoute.value};e.hook("page:finish",p),l.afterEach((C,E)=>{C.matched[C.matched.length-1]?.components?.default===E.matched[E.matched.length-1]?.components?.default&&p()});const _={};for(const C in d.value)Object.defineProperty(_,C,{get:()=>d.value[C],enumerable:!0});e._route=zn(_),e._middleware||={global:[],named:{}};const g=fa();l.afterEach(async(C,E,D)=>{delete e._processingMiddleware,!e.isHydrating&&g.value&&await e.runWithContext(Ow),D&&await e.callHook("page:loading:end")});try{[t,n]=Ko(()=>l.isReady()),await t,n()}catch(C){[t,n]=Ko(()=>e.runWithContext(()=>zo(C))),await t,n()}const b=m!==l.currentRoute.value.fullPath?l.resolve(m):l.currentRoute.value;p();const y=e.payload.state._layout;return l.beforeEach(async(C,E)=>{await e.callHook("page:loading:start"),C.meta=Gt(C.meta),e.isHydrating&&y&&!co(C.meta.layout)&&(C.meta.layout=y),e._processingMiddleware=!0;{const D=new Set([...q0,...e._middleware.global]);for(const v of C.matched){const I=v.meta.middleware;if(I)for(const k of Wc(I))D.add(k)}{const v=await e.runWithContext(()=>jc({path:C.path}));if(v.appMiddleware)for(const I in v.appMiddleware)v.appMiddleware[I]?D.add(I):D.delete(I)}for(const v of D){const I=typeof v=="string"?e._middleware.named[v]||await jl[v]?.().then(k=>k.default||k):v;if(!I)throw new Error(`Unknown route middleware: '${v}'.`);try{const k=await e.runWithContext(()=>I(C,E));if(!e.payload.serverRendered&&e.isHydrating&&(k===!1||k instanceof Error)){const S=k||Eo({statusCode:404,statusMessage:`Page Not Found: ${m}`});return await e.runWithContext(()=>zo(S)),!1}if(k===!0)continue;if(k===!1)return k;if(k)return Yp(k)&&k.fatal&&await e.runWithContext(()=>zo(k)),k}catch(k){const S=Eo(k);return S.fatal&&await e.runWithContext(()=>zo(S)),S}}}}),l.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),l.afterEach(C=>{if(C.matched.length===0)return e.runWithContext(()=>zo(Eo({statusCode:404,fatal:!1,statusMessage:`Page not found: ${C.fullPath}`,data:{path:C.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in b&&(b.name=void 0),await l.replace({...b,force:!0}),l.options.scrollBehavior=bo.scrollBehavior}catch(C){await e.runWithContext(()=>zo(C))}}),{provide:{router:l}}}}),zr=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),X0=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Li=e=>{const t=ue();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{zr(()=>e())}):zr(()=>e())},Q0=dt({name:"nuxt:payload",setup(e){const t=new Set;Ye().beforeResolve(async(n,o)=>{if(n.path===o.path)return;const s=await Sd(n.path);if(s){for(const r of t)delete e.static.data[r];for(const r in s.data)r in e.static.data||t.add(r),e.static.data[r]=s.data[r]}}),Li(()=>{e.hooks.hook("link:prefetch",async n=>{const{hostname:o}=new URL(n,window.location.href);o===window.location.hostname&&await Sd(n).catch(()=>{console.warn("[nuxt] Error preloading payload for",n)})}),navigator.connection?.effectiveType!=="slow-2g"&&setTimeout(ma,1e3)})}}),J0=dt(()=>{const e=Ye();Li(()=>
22{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),Z0=dt(e=>{let t;async function n(){let o;try{o=await ma()}catch(s){const r=s;if(!("status"in r&&(r.status===404||r.status===403)))throw r}t&&clearTimeout(t),t=setTimeout(n,pd);try{const s=await $fetch(Bc("builds/latest.json")+`?${Date.now()}`);s.id!==o?.id&&(e.hooks.callHook("app:manifest:update",s),t&&clearTimeout(t))}catch{}}Li(()=>{t=setTimeout(n,pd)})});function ek(e={}){const t=e.path||window.location.pathname;let n={};try{n=vi(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||n?.expires<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:ue().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const tk=dt({name:"nuxt:chunk-reload",setup(e){const t=Ye(),n=ye(),o=new Set;t.beforeEach(()=>{o.clear()}),e.hook("app:chunkError",({error:r})=>{o.add(r)});function s(r){const a=da(n.app.baseURL,r.fullPath);ek({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((r,a)=>{o.has(r)&&s(a)})}});/*! 23 * pinia v2.3.1 24 * (c) 2025 Eduardo San Martin Morote 25 * @license MIT 26 */let bh;const Ri=e=>bh=e,wh=Symbol();function Vl(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var ui;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(ui||(ui={}));function nk(){const e=pc(!0),t=e.run(()=>L({}));let n=[],o=[];const s=wc({install(r){Ri(s),s._a=r,r.provide(wh,s),r.config.globalProperties.$pinia=s,o.forEach(a=>n.push(a)),o=[]},use(r){return this._a?n.push(r):o.push(r),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const kh=()=>{};function Wd(e,t,n,o=kh){e.push(t);const s=()=>{const r=e.indexOf(t);r>-1&&(e.splice(r,1),o())};return!n&&es()&&xs(s),s}function cs(e,...t){e.slice().forEach(n=>{n(...t)})}const ok=e=>e(),Gd=Symbol(),Ja=Symbol();function Hl(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,o)=>e.set(o,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],s=e[n];Vl(s)&&Vl(o)&&e.hasOwnProperty(n)&&!Je(o)&&!oo(o)?e[n]=Hl(s,o):e[n]=o}return e}const sk=Symbol();function ik(e){return!Vl(e)||!e.hasOwnProperty(sk)}const{assign:To}=Object;function rk(e){return!!(Je(e)&&e.effect)}function ak(e,t,n,o){const{state:s,actions:r,getters:a}=t,l=n.state.value[e];let c;function m(){l||(n.state.value[e]=s?s():{});const d=fy(n.state.value[e]);return To(d,r,Object.keys(a||{}).reduce((p,_)=>(p[_]=wc(se(()=>{Ri(n);const g=n._s.get(e);return a[_].call(g,g)})),p),{}))}return c=Th(e,m,t,n,o,!0),c}function Th(e,t,n={},o,s,r){let a;const l=To({actions:{}},n),c={deep:!0};let m,d,p=[],_=[],g;const b=o.state.value[e];!r&&!b&&(o.state.value[e]={}),L({});let y;function C(P){let x;m=d=!1,typeof P=="function"?(P(o.state.value[e]),x={type:ui.patchFunction,storeId:e,events:g}):(Hl(o.state.value[e],P),x={type:ui.patchObject,payload:P,storeId:e,events:g});const A=y=Symbol();Rt().then(()=>{y===A&&(m=!0)}),d=!0,cs(p,x,o.state.value[e])}const E=r?function(){const{state:x}=n,A=x?x():{};this.$patch(N=>{To(N,A)})}:kh;function D(){a.stop(),p=[],_=[],o._s.delete(e)}const v=(P,x="")=>{if(Gd in P)return P[Ja]=x,P;const A=function(){Ri(o);const N=Array.from(arguments),M=[],ee=[];function X(F){M.push(F)}function me(F){ee.push(F)}cs(_,{args:N,name:A[Ja],store:k,after:X,onError:me});let Q;try{Q=P.apply(this&&this.$id===e?this:k,N)}catch(F){throw cs(ee,F),F}return Q instanceof Promise?Q.then(F=>(cs(M,F),F)).catch(F=>(cs(ee,F),Promise.reject(F))):(cs(M,Q),Q)};return A[Gd]=!0,A[Ja]=x,A},I={_p:o,$id:e,$onAction:Wd.bind(null,_),$patch:C,$reset:E,$subscribe(P,x={}){const A=Wd(p,P,x.detached,()=>N()),N=a.run(()=>qe(()=>o.state.value[e],M=>{(x.flush==="sync"?d:m)&&P({storeId:e,type:ui.direct,events:g},M)},To({},c,x)));return A},$dispose:D}
26,k=Gt(I);o._s.set(e,k);const $=(o._a&&o._a.runWithContext||ok)(()=>o._e.run(()=>(a=pc()).run(()=>t({action:v}))));for(const P in $){const x=$[P];if(Je(x)&&!rk(x)||oo(x))r||(b&&ik(x)&&(Je(x)?x.value=b[P]:Hl(x,b[P])),o.state.value[e][P]=x);else if(typeof x=="function"){const A=v(x,P);$[P]=A,l.actions[P]=x}}return To(k,$),To(tt(k),$),Object.defineProperty(k,"$state",{get:()=>o.state.value[e],set:P=>{C(x=>{To(x,P)})}}),o._p.forEach(P=>{To(k,a.run(()=>P({store:k,app:o._a,pinia:o,options:l})))}),b&&r&&n.hydrate&&n.hydrate(k.$state,b),m=!0,d=!0,k}/*! #__NO_SIDE_EFFECTS__ */function Hs(e,t,n){let o,s;const r=typeof t=="function";typeof e=="string"?(o=e,s=r?n:t):(s=e,o=e.id);function a(l,c){const m=Ai();return l=l||(m?Pt(wh,null):null),l&&Ri(l),l=bh,l._s.has(o)||(r?Th(o,t,s,l):ak(o,s,l)),l._s.get(o)}return a.$id=o,a}function qd(e){return typeof e=="string"?`'${e}'`:new lk().serialize(e)}const lk=(function(){class e{#e=new Map;compare(n,o){const s=typeof n,r=typeof o;return s==="string"&&r==="string"?n.localeCompare(o):s==="number"&&r==="number"?n-o:String.prototype.localeCompare.call(this.serialize(n,!0),this.serialize(o,!0))}serialize(n,o){if(n===null)return"null";switch(typeof n){case"string":return o?n:`'${n}'`;case"bigint":return`${n}n`;case"object":return this.$object(n);case"function":return this.$function(n)}return String(n)}serializeObject(n){const o=Object.prototype.toString.call(n);if(o!=="[object Object]")return this.serializeBuiltInType(o.length<10?`unknown:${o}`:o.slice(8,-1),n);const s=n.constructor,r=s===Object||s===void 0?"":s.name;if(r!==""&&globalThis[r]===s)return this.serializeBuiltInType(r,n);if(typeof n.toJSON=="function"){const a=n.toJSON();return r+(a!==null&&typeof a=="object"?this.$object(a):`(${this.serialize(a)})`)}return this.serializeObjectEntries(r,Object.entries(n))}serializeBuiltInType(n,o){const s=this["$"+n];if(s)return s.call(this,o);if(typeof o?.entries=="function")return this.serializeObjectEntries(n,o.entries());throw new Error(`Cannot serialize ${n}`)}serializeObjectEntries(n,o){const s=Array.from(o).sort((a,l)=>this.compare(a[0],l[0]));let r=`${n}{`;for(let a=0;a<s.length;a++){const[l,c]=s[a];r+=`${this.serialize(l,!0)}:${this.serialize(c)}`,a<s.length-1&&(r+=",")}return r+"}"}$object(n){let o=this.#e.get(n);return o===void 0&&(this.#e.set(n,`#${this.#e.size}`),o=this.serializeObject(n),this.#e.set(n,o)),o}$function(n){const o=Function.prototype.toString.call(n);return o.slice(-15)==="[native code] }"?`${n.name||""}()[native]`:`${n.name}(${n.length})${o.replace(/\s*\n\s*/g,"")}`}$Array(n){let o="[";for(let s=0;s<n.length;s++)o+=this.serialize(n[s]),s<n.length-1&&(o+=",");return o+"]"}$Date(n){try{return`Date(${n.toISOString()})`}catch{return"Date(null)"}}$ArrayBuffer(n){return`ArrayBuffer[${new Uint8Array(n).join(",")}]`}$Set(n){return`Set${this.$Array(Array.from(n).sort((o,s)=>this.compare(o,s)))}`}
26$Map(n){return this.serializeObjectEntries("Map",n.entries())}}for(const t of["Error","RegExp","URL"])e.prototype["$"+t]=function(n){return`${t}(${n})`};for(const t of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])e.prototype["$"+t]=function(n){return`${t}[${n.join(",")}]`};for(const t of["BigInt64Array","BigUint64Array"])e.prototype["$"+t]=function(n){return`${t}[${n.join("n,")}${n.length>0?"n":""}]`};return e})();function ck(e,t){return e===t||qd(e)===qd(t)}const uk={trailing:!0};function dk(e,t=25,n={}){if(n={...uk,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let o,s,r=[],a,l;const c=(p,_)=>(a=fk(e,p,_),a.finally(()=>{if(a=null,n.trailing&&l&&!s){const g=c(p,l);return l=null,g}}),a),m=function(...p){return n.trailing&&(l=p),a||new Promise(_=>{const g=!s&&n.leading;clearTimeout(s),s=setTimeout(()=>{s=null;const b=n.leading?o:c(this,p);l=null;for(const y of r)y(b);r=[]},t),g?(o=c(this,p),_(o)):r.push(_)})},d=p=>{p&&(clearTimeout(p),s=null)};return m.isPending=()=>!!s,m.cancel=()=>{d(s),r=[],l=null},m.flush=()=>
26{if(d(s),!l||a)return;const p=l;return l=null,c(this,p)},m}async function fk(e,t,n){return await e.apply(t,n)}const $h=Symbol.for("nuxt:client-only"),Ji="<div></div>",Sh=At({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const o=Jt(!1);De(()=>{o.value=!0});const s=qt();return s&&(s._nuxtClientOnly=!0),so($h,!0),()=>{if(o.value){const c=t.default?.();return c&&c.length===1?[pn(c[0],n)]:c}const r=t.fallback||t.placeholder;if(r)return ht(r);const a=e.fallback||e.placeholder||"",l=e.fallbackTag||e.placeholderTag||"span";return h(l,n,a)}}}),Za=new WeakMap;function Gc(e){if(Za.has(e))return Za.get(e);const t={...e};return t.render?t.render=(n,o,s,r,a,l)=>{if(r.mounted$??n.mounted$){const c=e.render?.bind(n)(n,o,s,r,a,l);return c.children===null||typeof c.children=="string"?pn(c):ht(c)}return Qa(n._.vnode.el,Ji)}:t.template&&=` 27 <template v-if="mounted$">${e.template}</template> 28 <template v-else>${Ji}</template> 29 `,t.setup=(n,o)=>{const s=ue(),r=Jt(s.isHydrating===!1),a=qt();if(s.isHydrating){const c={...a.attrs},m=mk(a);for(const d in c)delete a.attrs[d];De(()=>{Object.assign(a.attrs,c),a.vnode.dirs=m})}De(()=>{r.value=!0});const l=e.setup?.(n,o)||{};return Xr(l)?Promise.resolve(l).then(c=>typeof c!="function"?(c||={},c.mounted$=r,c):(...m)=>{if(r.value||!s.isHydrating){const d=c(...m);return d.children===null||typeof d.children=="string"?pn(d):ht(d)}return Qa(a?.vnode.el,Ji)}):typeof l=="function"?(...c)=>{if(r.value){const m=l(...c),d=t.inheritAttrs!==!1?o.attrs:void 0;return m.children===null||typeof m.children=="string"?pn(m,d):ht(m,d)}return Qa(a?.vnode.el,Ji)}:Object.assign(l,{mounted$:r})},Za.set(e,t),t}function mk(e){if(!e||!e.vnode.dirs)return null;const t=e.vnode.dirs;return e.vnode.dirs=null,t}function pk(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;hk(e[0],e[1])&&e.unshift(t);let[n,o,s={}]=e;const r=se(()=>km(n));if(typeof r.value!="string")throw new TypeError("[nuxt] [useAsyncData] key must be a string.");if(typeof o!="function")throw new TypeError("[nuxt] [useAsyncData] handler must be a function.");const a=ue();s.server??=!0,s.default??=_k,s.getCachedData??=Ch,s.lazy??=!1,s.immediate??=!0,s.deep??=_w.deep,s.dedupe??="cancel",s._functionName,a._asyncData[r.value];const l={cause:"initial",dedupe:s.dedupe};a._asyncData[r.value]?._init||(l.cachedData=s.getCachedData(r.value,a,{cause:"initial"}),a._asyncData[r.value]=Yd(a,r.value,o,s,l.cachedData));const c=a._asyncData[r.value];c._deps++;const m=()=>a._asyncData[r.value].execute(l),d=s.server!==!1&&a.payload.serverRendered;{let g=function(v){const I=a._asyncData[v];I?._deps&&(I._deps--,I._deps===0&&I?._off())};const b=qt();if(b&&d&&s.immediate&&!b.sp&&(b.sp=[]),b&&!b._nuxtOnBeforeMountCbs){b._nuxtOnBeforeMountCbs=[];const v=b._nuxtOnBeforeMountCbs;oa(()=>{v.forEach(I=>{I()}),v.splice(0,v.length)}),Zt(()=>v.splice(0,v.length))}const y=b&&(b._nuxtClientOnly||Pt($h,!1));d&&a.isHydrating&&(c.error.value||c.data.value!==void 0)?c.status.value=c.error.value?"error":"success":b&&(!y&&a.payload.serverRendered&&a.isHydrating||s.lazy)&&s.immediate?b._nuxtOnBeforeMountCbs.push(m):s.immediate&&c.status.value!=="success"&&m();const C=es(),E=qe(r,(v,I)=>{if((v||I)&&v!==I){const k=a._asyncData[I]?.data.value!==void 0,S=a._asyncDataPromises[I]!==void 0;I&&g(I);const $={cause:"initial",dedupe:s.dedupe};if(!a._asyncData[v]?._init){let P;I&&k?P=a._asyncData[I]?.data.value:(P=s.getCachedData(v,a,{cause:"initial"}),$.cachedData=P),a._asyncData[v]=Yd(a,v,o,s,P)}a._asyncData[v]._deps++,(s.immediate||k||S)&&a._asyncData[v].execute($)}},{flush:"sync"}),D=s.watch?qe(s.watch,()=>{c._execute({cause:"watch",dedupe:s.dedupe})}):()=>{};C&&xs(()=>{E(),D(),g(r.value)})}const p={data:Zi(()=>a._asyncData[r.value]?.data),pending:Zi(()=>a._asyncData[r.value]?.pending),status:Zi(()=>a._asyncData[r.value]?.status),error:Zi(()=>a._asyncData[r.value]?.error),refresh:(...g)=>a._asyncData[r.value].execute(...g),execute:(...g)=>a._asyncData[r.value].execute(...g),clear:()=>Dh(a,r.value)},_=Promise.resolve(a._asyncDataPromises[r.value]).then(()=>p);return Object.assign(_,p),_}function Zi(e){return se({get(){return e()?.value},set(t){const n=e();n&&(n.value=t)}})}function hk(e,t){return!(typeof e=="string"||typeof e=="object"&&e!==null||typeof e=="function"&&typeof t=="function")}function Dh(e,t){t in e.payload.data&&(e.payload.data[t]=void 0),t in e.payload._errors&&(e.payload._errors[t]=void 0),e._asyncData[t]&&(e._asyncData[t].data.value=i(e._asyncData[t]._default()),e._asyncData[t].error.value=void 0,e._asyncData[t].status.value="idle"),t in e._asyncDataPromises&&(e._asyncDataPromises[t]&&(e._asyncDataPromises[t].cancelled=!0),e._asyncDataPromises[t]=void 0)}function gk(e,t){const n={};for(const o of t)n[o]=e[o];return n}function Yd(e,t,n,o,s){e.payload._errors[t]??=void 0;const r=o.getCachedData!==Ch,a=n,l=o.deep?L:Jt,c=s!==void 0,m=e.hook("app:data:refresh",async p=>{(!p||p.includes(t))&&await d.execute({cause:"refresh:hook"})}),d={data:l(c?s:o.default()),pending:se(()=>d.status.value==="pending"),error:Sm(e.payload._errors,t),status:Jt("idle"),execute:(...p)=>{const[_,g=void 0]=p,b=_&&g===void 0&&typeof _=="object"?_:{};if(e._asyncDataPromises[t]){if((b.dedupe??o.dedupe)==="defer")return e._asyncDataPromises[t];e._asyncDataPromises[t].cancelled=!0}
29{const C="cachedData"in b?b.cachedData:o.getCachedData(t,e,{cause:b.cause??"refresh:manual"});if(C!==void 0)return e.payload.data[t]=d.data.value=C,d.error.value=void 0,d.status.value="success",Promise.resolve(C)}d.status.value="pending";const y=new Promise((C,E)=>{try{C(a(e))}catch(D){E(D)}}).then(async C=>{if(y.cancelled)return e._asyncDataPromises[t];let E=C;o.transform&&(E=await o.transform(C)),o.pick&&(E=gk(E,o.pick)),e.payload.data[t]=E,d.data.value=E,d.error.value=void 0,d.status.value="success"}).catch(C=>{if(y.cancelled)return e._asyncDataPromises[t];d.error.value=Eo(C),d.data.value=i(o.default()),d.status.value="error"}).finally(()=>{y.cancelled||delete e._asyncDataPromises[t]});return e._asyncDataPromises[t]=y,e._asyncDataPromises[t]},_execute:dk((...p)=>d.execute(...p),0,{leading:!0}),_default:o.default,_deps:0,_init:!0,_hash:void 0,_off:()=>{m(),e._asyncData[t]?._init&&(e._asyncData[t]._init=!1),r||Rt(()=>{e._asyncData[t]?._init||(Dh(e,t),d.execute=()=>Promise.resolve())})}};return d}const _k=()=>{},Ch=(e,t,n)=>{if(t.isHydrating)return t.payload.data[e];if(n.cause!=="refresh:manual"&&n.cause!=="refresh:hook")return t.static.data[e]};function yk(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},o=t||{},s=o.decode||vk;let r=0;for(;r<e.length;){const a=e.indexOf("=",r);
29if(a===-1)break;let l=e.indexOf(";",r);if(l===-1)l=e.length;else if(l<a){r=e.lastIndexOf(";",a-1)+1;continue}const c=e.slice(r,a).trim();if(o?.filter&&!o?.filter(c)){r=l+1;continue}if(n[c]===void 0){let m=e.slice(a+1,l).trim();m.codePointAt(0)===34&&(m=m.slice(1,-1)),n[c]=bk(m,s)}r=l+1}return n}function vk(e){return e.includes("%")?decodeURIComponent(e):e}function bk(e,t){try{return t(e)}catch{return e}}const er=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function Kd(e,t,n){const o=n||{},s=o.encode||encodeURIComponent;if(typeof s!="function")throw new TypeError("option encode is invalid");if(!er.test(e))throw new TypeError("argument name is invalid");const r=s(t);if(r&&!er.test(r))throw new TypeError("argument val is invalid");let a=e+"="+r;if(o.maxAge!==void 0&&o.maxAge!==null){const l=o.maxAge-0;if(Number.isNaN(l)||!Number.isFinite(l))throw new TypeError("option maxAge is invalid");a+="; Max-Age="+Math.floor(l)}if(o.domain){if(!er.test(o.domain))throw new TypeError("option domain is invalid");a+="; Domain="+o.domain}if(o.path){if(!er.test(o.path))throw new TypeError("option path is invalid");a+="; Path="+o.path}if(o.expires){if(!wk(o.expires)||Number.isNaN(o.expires.valueOf()))throw new TypeError("option expires is invali
29d");a+="; Expires="+o.expires.toUTCString()}if(o.httpOnly&&(a+="; HttpOnly"),o.secure&&(a+="; Secure"),o.priority)switch(typeof o.priority=="string"?o.priority.toLowerCase():o.priority){case"low":{a+="; Priority=Low";break}case"medium":{a+="; Priority=Medium";break}case"high":{a+="; Priority=High";break}default:throw new TypeError("option priority is invalid")}if(o.sameSite)switch(typeof o.sameSite=="string"?o.sameSite.toLowerCase():o.sameSite){case!0:{a+="; SameSite=Strict";break}case"lax":{a+="; SameSite=Lax";break}case"strict":{a+="; SameSite=Strict";break}case"none":{a+="; SameSite=None";break}default:throw new TypeError("option sameSite is invalid")}return o.partitioned&&(a+="; Partitioned"),a}function wk(e){return Object.prototype.toString.call(e)==="[object Date]"||e instanceof Date}function Pn(e){if(typeof e!="object")return e;var t,n,o=Object.prototype.toString.call(e);if(o==="[object Object]"){if(e.constructor!==Object&&typeof e.constructor=="function"){n=new e.constructor;for(t in e)e.hasOwnProperty(t)&&n[t]!==e[t]&&(n[t]=Pn(e[t]))}else{n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:Pn(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=Pn(e[t])}return n}if(o==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=Pn(e[t]);return n}return o==="[object Set]"?(n=new Set,e.forEach(function(s){n.add(Pn(s))}),n):o==="[object Map]"?(n=new Map,e.forEach(function(s,r){n.set(Pn(r),Pn(s))}),n):o==="[object Date]"?new Date(+e):o==="[object RegExp]"?(n=new RegExp(e.source,e.flags),n.lastIndex=e.lastIndex,n):o==="[object DataView]"?new e.constructor(Pn(e.buffer)):o==="[object ArrayBuffer]"?e.slice(0):o.slice(-6)==="Array]"?new e.constructor(e):e}const kk={path:"/",watch:!0,decode:e=>vi(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},tr=globalThis.cookieStore;function Dt(e,t){const n={...kk,...t};n.filter??=m=>m===e;const o=Xd(n)||{};let s;n.maxAge!==void 0?s=n.maxAge*1e3:n.expires&&(s=n.expires.getTime()-Date.now());const r=s!==void 0&&s<=0,a=r||o[e]===void 0||o[e]===null,l=Pn(r?void 0:o[e]??n.default?.()),c=s&&!r?Sk(l,s,n.watch&&n.watch!=="shallow"):L(l);{let m=null;try{!tr&&typeof BroadcastChannel<"u"&&(m=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const d=(b=!1)=>{!b&&(n.readonly||ck(c.value,o[e]))||($k(e,c.value,n),o[e]=Pn(c.value),m?.postMessage({value:n.encode(c.value)}))},p=b=>{const y=b.refresh?Xd(n)?.[e]:n.decode(b.value);
29_=!0,c.value=y,o[e]=Pn(y),Rt(()=>{_=!1})};let _=!1;const g=!!es();if(g&&xs(()=>{_=!0,d(),m?.close()}),tr){const b=y=>{const C=y.changed.find(D=>D.name===e),E=y.deleted.find(D=>D.name===e);C&&p({value:C.value}),E&&p({value:null})};tr.addEventListener("change",b),g&&xs(()=>tr.removeEventListener("change",b))}else m&&(m.onmessage=({data:b})=>p(b));n.watch&&qe(c,()=>{_||d()},{deep:n.watch!=="shallow"}),a&&d(a)}return c}function Xd(e={}){return yk(document.cookie,e)}function Tk(e,t,n={}){return t==null?Kd(e,t,{...n,maxAge:-1}):Kd(e,t,n)}function $k(e,t,n={}){document.cookie=Tk(e,t,n)}const Qd=2147483647;function Sk(e,t,n){let o,s,r=0;const a=n?L(e):{value:e};return es()&&xs(()=>{s?.(),clearTimeout(o)}),$m((l,c)=>{n&&(s=qe(a,c));function m(){r=0,clearTimeout(o);const d=t-r,p=d<Qd?d:Qd;o=setTimeout(()=>{if(r+=p,r<t)return m();a.value=void 0,c()},p)}return{get(){return l(),a.value},set(d){m(),a.value=d,c()}}})}function Dk(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function Ph(e,t=Ye()){const{path:n,matched:o}=t.resolve(e);if(!o.length||(t._routePreloaded||=new Set,t._routePreloaded.has(n)))return;const s=t._preloadPromises||=[];if(s.length>4)return Promise.all(s).then(()=>Ph(e,t));t._routePreloaded.add(n);for(const r of o){const a=r.components?.default;if(typeof a!="function")continue;const l=Promise.resolve(a()).catch(()=>{}).finally(()=>s.splice(s.indexOf(l)));s.push(l)}await Promise.all(s)}function Ck(e={}){const t=Jt(""),n=Jt(e.politeness||"polite"),o=Qp();function s(m="",d="polite"){t.value=m,n.value=d}function r(m){return s(m,"polite")}function a(m){return s(m,"assertive")}function l(){s(document?.title?.trim(),n.value)}function c(){o?.hooks?.removeHook("dom:rendered",l)}return l(),o?.hooks?.hook("dom:rendered",()=>{l()}),{_cleanup:c,message:t,politeness:n,set:s,polite:r,assertive:a}}function Pk(e={}){const t=ue(),n=t._routeAnnouncer||=Ck(e);return e.politeness!==n.politeness.value&&(n.politeness.value=e.politeness||"polite"),es()&&(t._routeAnnouncerDeps||=0,t._routeAnnouncerDeps++,xs(()=>{t._routeAnnouncerDeps--,t._routeAnnouncerDeps===0&&(n._cleanup(),delete t._routeAnnouncer)})),n}const xk=(...e)=>e.find(t=>t!==void 0);function Ik(e){const t=e.componentName||"NuxtLink";function n(r){return!Ul&&typeof r=="string"&&r.startsWith("#")}function o(r,a,l){const c=l??e.trailingSlash;if(!r||c!=="append"&&c!=="remove")return r;if(typeof r=="string")return nr(r,c);const m="path"in r&&r.path!==void 0?r.path:a(r).path;return{...r,name:void 0,path:nr(m,c)}}function s(r){const a=Ye(),l=ye(),c=se(()=>!!r.target&&r.target!=="_self"),m=se(()=>{const C=r.to||r.href||"";return typeof C=="string"&&go(C,{acceptRelative:!0})}),d=Ze("RouterLink"),p=d&&typeof d!="string"?d.useLink:void 0,_=se(()=>{if(r.external)return!0;const C=r.to||r.href||"";return typeof C=="object"?!1:C===""||m.value}),g=se(()=>{const C=r.to||r.href||"";return _.value?C:o(C,a.resolve,r.trailingSlash)}),b=_.value?void 0:p?.({...r,to:g}),y=se(()=>{const C=r.trailingSlash??e.trailingSlash;if(!g.value||m.value||n(g.value))return g.value;if(_.value){const E=typeof g.value=="object"&&"path"in g.value?Ll(g.value):g.value,D=typeof E=="object"?a.resolve(E).href:E;return nr(D,C)}return typeof g.value=="object"?a.resolve(g.value)?.href??null:nr(da(l.app.baseURL,g.value),C)});return{to:g,hasTarget:c,isAbsoluteUrl:m,isExternal:_,href:y,isActive:b?.isActive??se(()=>g.value===a.currentRoute.value.path),isExactActive:b?.isExactActive??se(()=>g.value===a.currentRoute.value.path),route:b?.route??se(()=>a.resolve(g.value)),async navigate(C){await Rw(y.value,{replace:r.replace,external:_.value||c.value})}}}return At({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:s,setup(r,{slots:a}){const l=Ye(),{to:c,href:m,navigate:d,isExternal:p,hasTarget:_,isAbsoluteUrl:g}=s(r),b=Jt(!1),y=L(null),C=v=>{y.value=r.custom?v?.$el?.nextElementSibling:v?.$el};function E(v){return!b.value&&(typeof r.prefetchOn=="string"?r.prefetchOn===v:r.prefetchOn?.[v]??e.prefetchOn?.[v])&&(r.prefetch??e.prefetch)!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!Lk()}async function D(v=ue()){if(b.value)return;b.value=!0;const I=typeof c.value=="string"?c.value:p.value?Ll(c.value):l.resolve(c.value).fullPath,k=p.value?new URL(I,window.location.href).href:I;await Promise.all([v.hooks.callHook("link:prefetch",k).catch(()=>{}),!p.value&&!_.value&&Ph(c.value,l).catch(()=>{})])}if(E("visibility")){const v=ue();let I,k=null;De(()=>{const S=Ek();Li(()=>{I=zr(()=>{y?.value?.tagName&&(k=S.observe(y.value,async()=>{k?.(),k=null,await D(v)}))})})}),Xe(()=>{I&&X0(I),k?.(),k=null})}return()=>{if(!p.value&&!_.value&&!n(c.value)){const k={ref:C,to:c.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};
29return r.custom||(E("interaction")&&(k.onPointerenter=D.bind(null,void 0),k.onFocus=D.bind(null,void 0)),b.value&&(k.class=r.prefetchedClass||e.prefetchedClass),k.rel=r.rel||void 0),ht(Ze("RouterLink"),k,a.default)}const v=r.target||null,I=xk(r.noRel?"":r.rel,e.externalRelAttribute,g.value||_.value?"noopener noreferrer":"")||null;return r.custom?a.default?a.default({href:m.value,navigate:d,prefetch:D,get route(){if(!m.value)return;const k=new URL(m.value,window.location.href);return{path:k.pathname,fullPath:k.pathname,get query(){return Mc(k.search)},hash:k.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:m.value}},rel:I,target:v,isExternal:p.value||_.value,isActive:!1,isExactActive:!1}):null:ht("a",{ref:y,href:m.value||null,rel:I,target:v,onClick:k=>{if(!(p.value||_.value))return k.preventDefault(),r.replace?l.replace(m.value):l.push(m.value)}},a.default?.())}}})}const Kn=Ik(gw);function nr(e,t){const n=t==="append"?Ep:Rs;return go(e)&&!e.startsWith("http")?e:n(e,!0)}function Ek(){const e=ue();if(e._observer)return e._observer;let t=null;const n=new Map,o=(r,a)=>(t||=new IntersectionObserver(l=>{for(const c of l){const m=n.get(c.target);(c.isIntersecting||c.intersectionRatio>0)&&m&&m()}}),n.set(r,a),t.observe(r),()=>{n.delete(r),t?.unobserve(r),n.size===0&&(t?.disconnect(),t=null)});return e._observer={observe:o}}const Ak=/2g/;function Lk(){const e=navigator.connection;return!!(e&&(e.saveData||Ak.test(e.effectiveType)))}const Rk=dt({name:"pinia",setup(e){const t=nk();return e.vueApp.use(t),Ri(t),e.payload&&e.payload.pinia&&(t.state.value=e.payload.pinia),{provide:{pinia:t}}}}),Ok=dt({name:"nuxt:global-components"}),Po={default:oe(()=>ne(()=>Promise.resolve().then(()=>Vx),void 0,import.meta.url).then(e=>e.default||e)),"errors-error404":oe(()=>ne(()=>Promise.resolve().then(()=>Bg),void 0,import.meta.url).then(e=>e.default||e)),"pages-base-page":oe(()=>ne(()=>Promise.resolve().then(()=>zD),void 0,import.meta.url).then(e=>e.default||e)),"story-layouts-default-story-layout":oe(()=>ne(()=>Promise.resolve().then(()=>qg),void 0,import.meta.url).then(e=>e.default||e)),"story-layouts-horoscope-layout":oe(()=>ne(()=>Promise.resolve().then(()=>Yg),void 0,import.meta.url).then(e=>e.default||e)),"story-layouts-newsletter-layout":oe(()=>ne(()=>Promise.resolve().then(()=>Zg),void 0,import.meta.url).then(e=>e.default||e)),"story-layouts-storytelling-two-layout":oe(()=>ne(()=>Promise.resolve().then(()=>e_),void 0,import.meta.url).then(e=>e.default||e))},Mk=dt({name:"nuxt:prefetch",setup(e){const t=Ye();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const o=n?.meta?.layout;o&&typeof Po[o]=="function"&&await Po[o]()})}),e.hooks.hook("link:prefetch",n=>{if(go(n))return;const o=t.resolve(n);if(!o)return;const s=o.meta.layout;let r=Wc(o.meta.middleware);r=r.filter(a=>typeof a=="string");for(const a of r)typeof jl[a]=="function"&&jl[a]();typeof s=="string"&&s in Po&&Dk(Po[s])})}});/*! 30 * perfect-scrollbar v1.5.6 31 * Copyright 2024 Hyunje Jun, MDBootstrap and Contributors 32 * Licensed under MIT 33 */function Fn(e){return getComputedStyle(e)}function on(e,t){for(var n in t){var o=t[n];typeof o=="number"&&(o=o+"px"),e.style[n]=o}return e}function or(e){var t=document.createElement("div");return t.className=e,t}var Jd=typeof Element<"u"&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function xo(e,t){if(!Jd)throw new Error("No element matching method supported");return Jd.call(e,t)}function ps(e){e.remove?e.remove():e.parentNode&&e.parentNode.removeChild(e)}function Zd(e,t){return Array.prototype.filter.call(e.children,function(n){return xo(n,t)})}var St={main:"ps",rtl:"ps__rtl",element:{thumb:function(e){return"ps__thumb-"+e},rail:function(e){return"ps__rail-"+e},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function(e){return"ps--active-"+e},scrolling:function(e){return"ps--scrolling-"+e}}},xh={x:null,y:null};function Ih(e,t){var n=e.element.classList,o=St.state.scrolling(t);n.contains(o)?clearTimeout(xh[t]):n.add(o)}function Eh(e,t){xh[t]=setTimeout(function(){return e.isAlive&&e.element.classList.remove(St.state.scrolling(t))},e.settings.scrollingThreshold)}function Nk(e,t){Ih(e,t),Eh(e,t)}var Oi=function(t){this.element=t,this.handlers={}},Ah={isEmpty:{configurable:!0}};Oi.prototype.bind=function(t,n){typeof this.handlers[t]>"u"&&(this.handlers[t]=[]),this.handlers[t].push(n),this.element.addEventListener(t,n,!1)};Oi.prototype.unbind=function(t,n){var o=this;this.handlers[t]=this.handlers[t].filter(function(s){return n&&s!==n?!0:(o.element.removeEventListener(t,s,!1),!1)})};Oi.prototype.unbindAll=function(){for(var t in this.handlers)this.unbind(t)};Ah.isEmpty.get=function(){var e=this;return Object.keys(this.handlers).every(function(t){return e.handlers[t].length===0})};Object.defineProperties(Oi.prototype,Ah);var zs=function(){this.eventElements=[]};zs.prototype.eventElement=function(t){var n=this.eventElements.filter(function(o){return o.element===t})[0];return n||(n=new Oi(t),this.eventElements.push(n)),n};zs.prototype.bind=function(t,n,o){this.eventElement(t).bind(n,o)};zs.prototype.unbind=function(t,n,o){var s=this.eventElement(t);s.unbind(n,o),s.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(s),1)};
33zs.prototype.unbindAll=function(){this.eventElements.forEach(function(t){return t.unbindAll()}),this.eventElements=[]};zs.prototype.once=function(t,n,o){var s=this.eventElement(t),r=function(a){s.unbind(n,r),o(a)};s.bind(n,r)};function sr(e){if(typeof window.CustomEvent=="function")return new CustomEvent(e);var t=document.createEvent("CustomEvent");return t.initCustomEvent(e,!1,!1,void 0),t}function Fr(e,t,n,o,s){o===void 0&&(o=!0),s===void 0&&(s=!1);var r;if(t==="top")r=["contentHeight","containerHeight","scrollTop","y","up","down"];else if(t==="left")r=["contentWidth","containerWidth","scrollLeft","x","left","right"];else throw new Error("A proper axis should be provided");Bk(e,n,r,o,s)}function Bk(e,t,n,o,s){var r=n[0],a=n[1],l=n[2],c=n[3],m=n[4],d=n[5];o===void 0&&(o=!0),s===void 0&&(s=!1);var p=e.element;e.reach[c]=null,p[l]<1&&(e.reach[c]="start"),p[l]>e[r]-e[a]-1&&(e.reach[c]="end"),t&&(p.dispatchEvent(sr("ps-scroll-"+c)),t<0?p.dispatchEvent(sr("ps-scroll-"+m)):t>0&&p.dispatchEvent(sr("ps-scroll-"+d)),o&&Nk(e,c)),e.reach[c]&&(t||s)&&p.dispatchEvent(sr("ps-"+c+"-reach-"+e.reach[c]))}function yt(e){return parseInt(e,10)||0}function Uk(e){return xo(e,"input,[contenteditable]")||xo(e,"select,[contenteditable]")||xo(e,"textarea,[contenteditable]")||xo(e,"button,[contenteditable]")}function jk(e){var t=Fn(e);return yt(t.width)+yt(t.paddingLeft)+yt(t.paddingRight)+yt(t.borderLeftWidth)+yt(t.borderRightWidth)}var fs={isWebKit:typeof document<"u"&&"WebkitAppearance"in document.documentElement.style,supportsTouch:typeof window<"u"&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:typeof navigator<"u"&&navigator.msMaxTouchPoints,isChrome:typeof navigator<"u"&&/Chrome/i.test(navigator&&navigator.userAgent)};function uo(e){var t=e.element,n=Math.floor(t.scrollTop),o=t.getBoundingClientRect();e.containerWidth=Math.floor(o.width),e.containerHeight=Math.floor(o.height),e.contentWidth=t.scrollWidth,e.contentHeight=t.scrollHeight,t.contains(e.scrollbarXRail)||(Zd(t,St.element.rail("x")).forEach(function(s){return ps(s)}),t.appendChild(e.scrollbarXRail)),t.contains(e.scrollbarYRail)||(Zd(t,St.element.rail("y")).forEach(function(s){return ps(s)}),t.appendChild(e.scrollbarYRail)),!e.settings.suppressScrollX&&e.containerWidth+e.settings.scrollXMarginOffset<e.contentWidth?(e.scrollbarXActive=!0,e.railXWidth=e.containerWidth-e.railXMarginWidth,e.railXRatio=e.containerWidth/e.railXWidth,e.scrollbarXWidth=ef(e,yt(e.railXWidth*e.containerWidth/e.contentWidth)),e.scrollbarXLeft=yt((e.negativeScrollAdjustment+t.scrollLeft)*(e.railXWidth-e.scrollbarXWidth)/(e.contentWidth-e.containerWidth))):e.scrollbarXActive=!1,!e.settings.suppressScrollY&&e.containerHeight+e.settings.scrollYMarginOffset<e.contentHeight?(e.scrollbarYActive=!0,e.railYHeight=e.containerHeight-e.railYMarginHeight,e.railYRatio=e.containerHeight/e.railYHeight,e.scrollbarYHeight=ef(e,yt(e.railYHeight*e.containerHeight/e.contentHeight)),e.scrollbarYTop=yt(n*(e.railYHeight-e.scrollbarYHeight)/(e.contentHeight-e.containerHeight))):e.scrollbarYActive=!1,e.scrollbarXLeft>=e.railXWidth-e.scrollbarXWidth&&(e.scrollbarXLeft=e.railXWidth-e.scrollbarXWidth),e.scrollbarYTop>=e.railYHeight-e.scrollbarYHeight&&(e.scrollbarYTop=e.railYHeight-e.scrollbarYHeight),Vk(t,e),e.scrollbarXActive?t.classList.add(St.state.active("x")):(t.classList.remove(St.state.active("x")),e.scrollbarXWidth=0,e.scrollbarXLeft=0,t.scrollLeft=e.isRtl===!0?e.contentWidth:0),e.scrollbarYActive?t.classList.add(St.state.active("y")):(t.classList.remove(St.state.active("y")),e.scrollbarYHeight=0,e.scrollbarYTop=0,t.scrollTop=0)}function ef(e,t){return e.settings.minScrollbarLength&&(t=Math.max(t,e.settings.minScrollbarLength)),e.settings.maxScrollbarLength&&(t=Math.min(t,e.settings.maxScrollbarLength)),t}function Vk(e,t){var n={width:t.railXWidth},o=Math.floor(e.scrollTop);t.isRtl?n.left=t.negativeScrollAdjustment+e.scrollLeft+t.containerWidth-t.contentWidth:n.left=e.scrollLeft,t.isScrollbarXUsingBottom?n.bottom=t.scrollbarXBottom-o:n.top=t.scrollbarXTop+o,on(t.scrollbarXRail,n);var s={top:o,height:t.railYHeight};t.isScrollbarYUsingRight?t.isRtl?s.right=t.contentWidth-(t.negativeScrollAdjustment+e.scrollLeft)-t.scrollbarYRight-t.scrollbarYOuterWidth-9:s.right=t.scrollbarYRight-e.scrollLeft:t.isRtl?s.left=t.negativeScrollAdjustment+e.scrollLeft+t.containerWidth*2-t.contentWidth-t.scrollbarYLeft-t.scrollbarYOuterWidth:s.left=t.scrollbarYLeft+e.scrollLeft,on(t.scrollbarYRail,s),on(t.scrollbarX,{left:t.scrollbarXLeft,width:t.scrollbarXWidth-t.railBorderXWidth}),on(t.scrollbarY,{top:t.scrollbarYTop,height:t.scrollbarYHeight-t.railBorderYWidth})}function Hk(e){e.event.bind(e.scrollbarY,"mousedown",function(t){return t.stopPropagation()}),e.event.bind(e.scrollbarYRail,"mousedown",function(t){var n=t.pageY-window.pageYOffset-e.scrollbarYRail.getBoundingClientRect().top,o=n>e.scrollbarYTop?1:-1;e.element.scrollTop+=o*e.containerHeight,uo(e),t.stopPropagation()}),e.event.bind(e.scrollbarX,"mousedown",function(t){return t.stopPropagation()}),e.event.bind(e.scrollbarXRail,"mousedown",function(t){var n=t.pageX-window.pageXOffset-e.scrollbarXRail.getBoundingClientRect().left,o=n>e.scrollbarXLeft?1:-1;e.element.scrollLeft+=o*e.containerWidth,uo(e),t.stopPropagation()})}var ir=null;function zk(e){tf(e,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"]),tf(e,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"])}function tf(e,t){var n=t[0],o=t[1],s=t[2],r=t[3],a=t[4],l=t[5],c=t[6],m=t[7],d=t[8],p=e.element,_=null,g=null,b=null;function y(D){D.touches&&D.touches[0]&&(D[s]=D.touches[0]["page"+m.toUpperCase()]),ir===a&&(p[c]=_+b*(D[s]-g),Ih(e,m),uo(e),D.stopPropagation(),D.preventDefault())}function C(){Eh(e,m),e[d].classList.remove(St.state.clicking),document.removeEventListener("mousemove",y),document.removeEventListener("mouseup",C),document.removeEventListener("touchmove",y),document.removeEventListener("touchend",C),ir=null}function E(D){ir===null&&(ir=a,_=p[c],D.touches&&(D[s]=D.touches[0]["page"+m.toUpperCase()]),g=D[s],b=(e[o]-e[n])/(e[r]-e[l]),D.touches?(document.addEventListener("touchmove",y,{passive:!1}),document.addEventListener("touchend",C)):(document.addEventListener("mousemove",y),document.addEventListener("mouseup",C)),e[d].classList.add(St.state.clicking)),D.stopPropagation(),D.cancelable&&D.preventDefault()}e[a].addEventListener("mousedown",E),e[a].addEventListener("touchstart",E)}function Fk(e){var t=e.element,n=function(){return xo(t,":hover")},o=function(){return xo(e.scrollbarX,":focus")||xo(e.scrollbarY,":focus")};function s(r,a){var l=Math.floor(t.scrollTop);if(r===0){if(!e.scrollbarYActive)return!1;if(l===0&&a>0||l>=e.contentHeight-e.containerHeight&&a<0)return!e.settings.wheelPropagation}var c=t.scrollLeft;if(a===0){if(!e.scrollbarXActive)return!1;if(c===0&&r<0||c>=e.contentWidth-e.containerWidth&&r>0)return!e.settings.wheelPropagation}return!0}e.event.bind(e.ownerDocument,"keydown",function(r){if(!(r.isDefaultPrevented&&r.isDefaultPrevented()||r.defaultPrevented)&&!(!n()&&!o())){var a=document.activeElement?document.activeElement:e.ownerDocument.activeElement;if(a){if(a.tagName==="IFRAME")a=a.contentDocument.activeElement;else for(;a.shadowRoot;)a=a.shadowRoot.activeElement;if(Uk(a))return}var l=0,c=0;switch(r.which){case 37:r.metaKey?l=-e.contentWidth:r.altKey?l=-e.containerWidth:l=-30;break;case 38:r.metaKey?c=e.contentHeight:r.altKey?c=e.containerHeight:c=30;break;case 39:r.metaKey?l=e.contentWidth:r.altKey?l=e.containerWidth:l=30;break;case 40:r.metaKey?c=-e.contentHeight:r.altKey?c=-e.containerHeight:c=-30;break;case 32:r.shiftKey?c=e.containerHeight:c=-e.containerHeight;break;case 33:c=e.containerHeight;break;case 34:c=-e.containerHeight;break;case 36:c=e.contentHeight;break;case 35:c=-e.contentHeight;break;default:return}e.settings.suppressScrollX&&l!==0||e.settings.suppressScrollY&&c!==0||(t.scrollTop-=c,t.scrollLeft+=l,uo(e),s(l,c)&&r.preventDefault())}})}function Wk(e){var t=e.element;function n(a,l){var c=Math.floor(t.scrollTop),m=t.scrollTop===0,d=c+t.offsetHeight===t.scrollHeight,p=t.scrollLeft===0,_=t.scrollLeft+t.offsetWidth===t.scrollWidth,g;return Math.abs(l)>
33Math.abs(a)?g=m||d:g=p||_,g?!e.settings.wheelPropagation:!0}function o(a){var l=a.deltaX,c=-1*a.deltaY;return(typeof l>"u"||typeof c>"u")&&(l=-1*a.wheelDeltaX/6,c=a.wheelDeltaY/6),a.deltaMode&&a.deltaMode===1&&(l*=10,c*=10),l!==l&&c!==c&&(l=0,c=a.wheelDelta),a.shiftKey?[-c,-l]:[l,c]}function s(a,l,c){if(!fs.isWebKit&&t.querySelector("select:focus"))return!0;if(!t.contains(a))return!1;for(var m=a;m&&m!==t;){if(m.classList.contains(St.element.consuming))return!0;var d=Fn(m);if(c&&d.overflowY.match(/(scroll|auto)/)){var p=m.scrollHeight-m.clientHeight;if(p>0&&(m.scrollTop>0&&c<0||m.scrollTop<p&&c>0))return!0}if(l&&d.overflowX.match(/(scroll|auto)/)){var _=m.scrollWidth-m.clientWidth;if(_>0&&(m.scrollLeft>0&&l<0||m.scrollLeft<_&&l>0))return!0}m=m.parentNode}return!1}function r(a){var l=o(a),c=l[0],m=l[1];if(!s(a.target,c,m)){var d=!1;e.settings.useBothWheelAxes?e.scrollbarYActive&&!e.scrollbarXActive?(m?t.scrollTop-=m*e.settings.wheelSpeed:t.scrollTop+=c*e.settings.wheelSpeed,d=!0):e.scrollbarXActive&&!e.scrollbarYActive&&(c?t.scrollLeft+=c*e.settings.wheelSpeed:t.scrollLeft-=m*e.settings.wheelSpeed,d=!0):(t.scrollTop-=m*e.settings.wheelSpeed,t.scrollLeft+=c*e.settings.wheelSpeed),uo(e),d=d||n(c,m),d&&!a.ctrlKey&&(a.stopPropagation(),a.preventDefault())}}typeof window.onwheel<"u"?e.event.bind(t,"wheel",r):typeof window.onmousewheel<"u"&&e.event.bind(t,"mousewheel",r)}function Gk(e){if(!fs.supportsTouch&&!fs.supportsIePointer)return;var t=e.element,n={startOffset:{},startTime:0,speed:{},easingLoop:null};function o(p,_){var g=Math.floor(t.scrollTop),b=t.scrollLeft,y=Math.abs(p),C=Math.abs(_);if(C>y){if(_<0&&g===e.contentHeight-e.containerHeight||_>0&&g===0)return window.scrollY===0&&_>0&&fs.isChrome}else if(y>C&&(p<0&&b===e.contentWidth-e.containerWidth||p>0&&b===0))return!0;return!0}function s(p,_){t.scrollTop-=_,t.scrollLeft-=p,uo(e)}function r(p){return p.targetTouches?p.targetTouches[0]:p}function a(p){return p.target===e.scrollbarX||p.target===e.scrollbarY||p.pointerType&&p.pointerType==="pen"&&p.buttons===0?!1:!!(p.targetTouches&&p.targetTouches.length===1||p.pointerType&&p.pointerType!=="mouse"&&p.pointerType!==p.MSPOINTER_TYPE_MOUSE)}function l(p){if(a(p)){var _=r(p);n.startOffset.pageX=_.pageX,n.startOffset.pageY=_.pageY,n.startTime=new Date().getTime(),n.easingLoop!==null&&clearInterval(n.easingLoop)}}function c(p,_,g){if(!t.contains(p))return!1;for(var b=p;b&&b!==t;){if(b.classList.contains(St.element.consuming))return!0;var y=Fn(b);if(g&&y.overflowY.match(/(scroll|auto)/)){var C=b.scrollHeight-b.clientHeight;if(C>0&&(b.scrollTop>0&&g<0||b.scrollTop<C&&g>0))return!0}if(_&&y.overflowX.match(/(scroll|auto)/)){var E=b.scrollWidth-b.clientWidth;if(E>0&&(b.scrollLeft>0&&_<0||b.scrollLeft<E&&_>0))return!0}b=b.parentNode}return!1}function m(p){if(a(p)){var _=r(p),g={pageX:_.pageX,pageY:_.pageY},b=g.pageX-n.startOffset.pageX,y=g.pageY-n.startOffset.pageY;if(c(p.target,b,y))return;s(b,y),n.startOffset=g;var C=new Date().getTime(),E=C-n.startTime;E>0&&(n.speed.x=b/E,n.speed.y=y/E,n.startTime=C),o(b,y)&&p.cancelable&&p.preventDefault()}}function d(){e.settings.swipeEasing&&(clearInterval(n.easingLoop),n.easingLoop=setInterval(function(){if(e.isInitialized){clearInterval(n.easingLoop);return}if(!n.speed.x&&!n.speed.y){clearInterval(n.easingLoop);return}if(Math.abs(n.speed.x)<.01&&Math.abs(n.speed.y)<.01){clearInterval(n.easingLoop);return}s(n.speed.x*30,n.speed.y*30),n.speed.x*=.8,n.speed.y*=.8},10))}fs.supportsTouch?(e.event.bind(t,"touchstart",l),e.event.bind(t,"touchmove",m),e.event.bind(t,"touchend",d)):fs.supportsIePointer&&(window.PointerEvent?(e.event.bind(t,"pointerdown",l),e.event.bind(t,"pointermove",m),e.event.bind(t,"pointerup",d)):window.MSPointerEvent&&(e.event.bind(t,"MSPointerDown",l),e.event.bind(t,"MSPointerMove",m),e.event.bind(t,"MSPointerUp",d)))}var qk=function(){return{handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1}},Yk={"click-rail":Hk,"drag-thumb":zk,keyboard:Fk,wheel:Wk,touch:Gk},Mi=function(t,n){var o=this;if(n===void 0&&(n={}),typeof t=="string"&&(t=document.querySelector(t)),!t||!t.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");this.element=t,t.classList.add(St.main),this.settings=qk();for(var s in n)this.settings[s]=n[s];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var r=function(){return t.classList.add(St.state.focus)},a=function(){return t.classList.remove(St.state.focus)};this.isRtl=Fn(t).direction==="rtl",this.isRtl===!0&&t.classList.add(St.rtl),this.isNegativeScroll=(function(){var m=t.scrollLeft,d=null;return t.scrollLeft=-1,d=t.scrollLeft<0,t.scrollLeft=m,d})(),this.negativeScrollAdjustment=this.isNegativeScroll?t.scrollWidth-t.clientWidth:0,this.event=new zs,this.ownerDocument=t.ownerDocument||document,this.scrollbarXRail=or(St.element.rail("x")),t.appendChild(this.scrollbarXRail),this.scrollbarX=or(St.element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",r),this.event.bind(this.scrollbarX,"blur",a),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var l=Fn(this.scrollbarXRail);this.scrollbarXBottom=parseInt(l.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=yt(l.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=yt(l.borderLeftWidth)+yt(l.borderRightWidth),on(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=yt(l.marginLeft)+yt(l.marginRight),on(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=or(St.element.rail("y")),t.appendChild(this.scrollbarYRail),this.scrollbarY=or(St.element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",r),this.event.bind(this.scrollbarY,"blur",a),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var c=Fn(this.scrollbarYRail);this.scrollbarYRight=parseInt(c.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=yt(c.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?jk(this.scrollbarY):null,this.railBorderYWidth=yt(c.borderTopWidth)+yt(c.borderBottomWidth),on(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=yt(c.marginTop)+yt(c.marginBottom),on(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:t.scrollLeft<=0?"start":t.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:t.scrollTop<=0?"start":t.scrollTop>=this.contentHeight-this.containerHeight?"end":null}
33,this.isAlive=!0,this.settings.handlers.forEach(function(m){return Yk[m](o)}),this.lastScrollTop=Math.floor(t.scrollTop),this.lastScrollLeft=t.scrollLeft,this.event.bind(this.element,"scroll",function(m){return o.onScroll(m)}),uo(this)};Mi.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,on(this.scrollbarXRail,{display:"block"}),on(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=yt(Fn(this.scrollbarXRail).marginLeft)+yt(Fn(this.scrollbarXRail).marginRight),this.railYMarginHeight=yt(Fn(this.scrollbarYRail).marginTop)+yt(Fn(this.scrollbarYRail).marginBottom),on(this.scrollbarXRail,{display:"none"}),on(this.scrollbarYRail,{display:"none"}),uo(this),Fr(this,"top",0,!1,!0),Fr(this,"left",0,!1,!0),on(this.scrollbarXRail,{display:""}),on(this.scrollbarYRail,{display:""}))};Mi.prototype.onScroll=function(t){this.isAlive&&(uo(this),Fr(this,"top",this.element.scrollTop-this.lastScrollTop),Fr(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)};Mi.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),ps(this.scrollbarX),ps(this.scrollbarY),ps(this.scrollbarXRail),ps(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)};Mi.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(t){return!t.match(/^ps([-_].+|)$/)}).join(" ")};const qc=At({__name:"PerfectScrollbar",props:{tag:{default:"div"},options:{default:()=>({})}},emits:["scroll","ps-scroll-y","ps-scroll-x","ps-scroll-up","ps-scroll-down","ps-scroll-left","ps-scroll-right","ps-y-reach-start","ps-y-reach-end","ps-x-reach-start","ps-x-reach-end"],setup(e,{expose:t,emit:n}){const o=e,s=n,r=L(null),a=L(null);qe(()=>o.options,()=>{c(),l()},{deep:!0}),De(()=>{r.value&&l()}),Xe(()=>{c()});function l(){r.value&&(a.value=new Mi(r.value,o.options),p())}function c(){a.value&&(p(!1),a.value.destroy(),a.value=null)}const m={scroll:d("scroll"),"ps-scroll-y":d("ps-scroll-y"),"ps-scroll-x":d("ps-scroll-x"),"ps-scroll-up":d("ps-scroll-up"),"ps-scroll-down":d("ps-scroll-down"),"ps-scroll-left":d("ps-scroll-left"),"ps-scroll-right":d("ps-scroll-right"),"ps-y-reach-start":d("ps-y-reach-start"),"ps-y-reach-end":d("ps-y-reach-end"),"ps-x-reach-start":d("ps-x-reach-start"),"ps-x-reach-end":d("ps-x-reach-end")};function d(_){return function(g){s(_,g)}}function p(_=!0){var g;(g=a.value)!=null&&g.element&&Object.entries(m).forEach(([b,y])=>{var C,E;_?(C=a.value)==null||C.element.addEventListener(b,y):(E=a.value)==null||E.element.removeEventListener(b,y)})}return t({ps:a}),(_,g)=>(u(),O(Qe(_.tag),{ref_key:"scrollbar",ref:r,class:"ps"},{default:z(()=>[Ee(_.$slots,"default")]),_:3},512))}}),Kk={componentName:"PerfectScrollbar"},Xk={install(e,t){const n=Object.assign(Kk,t);e.component(n.componentName,qc)}},Qk=dt(e=>{e.vueApp.use(Xk)}),Jk=new RegExp(/Googlebot\/|Googlebot-Mobile|Googlebot-Image|Googlebot-News|Googlebot-Video|AdsBot-Google([^-]|$)|AdsBot-Google-Mobile|Feedfetcher-Google|Mediapartners-Google|Mediapartners \(Googlebot\)|APIs-Google|Google-InspectionTool|Storebot-Google|GoogleOther|bingbot|Slurp|[wW]get|LinkedInBot|Python-urllib|python-requests|aiohttp|httpx|libwww-perl|httpunit|Nutch|Go-http-client|phpcrawl|msnbot|jyxobot|FAST-WebCrawler|FAST Enterprise Crawler|BIGLOTRON|Teoma|convera|seekbot|Gigabot|Gigablast|exabot|ia_archiver|GingerCrawler|webmon |HTTrack|grub\.org|UsineNouvelleCrawler|antibot|netresearchserver|speedy|fluffy|findlink|msrbot|panscient|yacybot|AISearchBot|ips-agent|tagoobot|MJ12bot|woriobot|yanga|buzzbot|mlbot|yandex\.com\/bots|purebot|Linguee Bot|CyberPatrol|voilabot|Baiduspider|citeseerxbot|spbot|twengabot|postrank|Turnitin|scribdbot|page2rss|sitebot|linkdex|Adidxbot|ezooms|dotbot|Mail\.RU_Bot|discobot|heritrix|findthatfile|europarchive\.org|NerdByNature\.Bot|(sistrix|SISTRIX) [cC]rawler|Ahrefs(Bot|SiteAudit)|fuelbot|CrunchBot|IndeedBot|mappydata|woobot|ZoominfoBot|PrivacyAwareBot|Multiviewbot|SWIMGBot|Grobbot|eright|Apercite|semanticbot|Aboundex|domaincrawler|wbsearchbot|summify|CCBot|edisterbot|SeznamBot|ec2linkfinder|gslfbot|aiHitBot|intelium_bot|facebookexternalhit|Yeti|RetrevoPageAnalyzer|lb-spider|Sogou|lssbot|careerbot|wotbox|wocbot|ichiro|DuckDuckBot|lssrocketcrawler|drupact|webcompanycrawler|acoonbot|openindexspider|gnam gnam spider|web-archive-net\.com\.bot|backlinkcrawler|coccoc|integromedb|content crawler spider|toplistbot|it2media-domain-crawler|ip-web-crawler\.com|siteexplorer\.info|elisabot|proximic|changedetection|arabot|WeSEE:Search|niki-bot|CrystalSemanticsBot|rogerbot|360Spider|psbot|InterfaxScanBot|CC Metadata Scaper|g00g1e\.net|GrapeshotCrawler|urlappendbot|brainobot|fr-crawler|binlar|SimpleCrawler|Twitterbot|cXensebot|smtbot|bnf\.fr_bot|A6-Indexer|ADmantX|Facebot|OrangeBot\/|memorybot|AdvBot|MegaIndex|SemanticScholarBot|ltx71|nerdybot|xovibot|BUbiNG|Qwantify|archive\.org_bot|Applebot|TweetmemeBot|crawler4j|findxbot|S[eE][mM]rushBot|yoozBot|lipperhey|Y!J|Domain Re-Animator Bot|AddThis|Screaming Frog SEO Spider|MetaURI|Scrapy|Livelap[bB]ot|OpenHoseBot|CapsuleChecker|collection@infegy\.com|IstellaBot|DeuSu\/|betaBot|Cliqzbot\/|MojeekBot\/|netEstate NE Crawler|SafeSearch microdata crawler|Gluten Free Crawler\/|Sonic|Sysomos|Trove|deadlinkchecker|Slack-ImgProxy|Embedly|RankActiveLinkBot|iskanie|SafeDNSBot|SkypeUriPreview|Veoozbot|Slackbot|redditbot|datagnionbot|Google-Adwords-Instant|adbeat_bot|WhatsApp|contxbot|pinterest\.com\/bot|electricmonk|GarlikCrawler|BingPreview\/|vebidoobot|FemtosearchBot|Yahoo Link Preview|MetaJobBot|DomainStatsBot|mindUpBot|Daum\/|Jugendschutzprogramm-Crawler|Xenu Link Sleuth|Pcore-HTTP|moatbot|KosmioBot|[pP]ingdom|AppInsights|PhantomJS|Gowikibot|PiplBot|Discordbot|TelegramBot|Jetslide|newsharecounts|James BOT|Bark[rR]owler|TinEye|SocialRankIOBot|trendictionbot|Ocarinabot|epicbot|Primalbot|DuckDuckGo-Favicons-Bot|GnowitNewsbot|Leikibot|LinkArchiver|YaK\/|PaperLiBot|Digg Deeper|dcrawl|Snacktory|AndersPinkBot|Fyrebot|EveryoneSocialBot|Mediatoolkitbot|Luminator-robots|ExtLinksBot|SurveyBot|NING\/|okhttp|Nuzzel|omgili|PocketParser|YisouSpider|um-LN|ToutiaoSpider|MuckRack|Jamie's Spider|AHC\/|NetcraftSurveyAgent|Laserlikebot|^Apache-HttpClient|AppEngine-Google|Jetty|Upflow|Thinklab|Traackr\.com|Twurly|Mastodon|http_get|DnyzBot|botify|007ac9 Crawler|BehloolBot|BrandVerity|check_http|BDCbot|ZumBot|EZID|ICC-Crawler|ArchiveBot|^LCC |filterdb\.iss\.net\/crawler|BLP_bbot|BomboraBot|Buck\/|Companybook-Crawler|Genieo|magpie-crawler|Meltw
33aterNews|Moreover|newspaper\/|ScoutJet|(^| )sentry\/|StorygizeBot|UptimeRobot|OutclicksBot|seoscanners|Hatena|Google Web Preview|MauiBot|AlphaBot|SBL-BOT|IAS crawler|adscanner|Netvibes|acapbot|Baidu-YunGuanCe|bitlybot|blogmuraBot|Bot\.AraTurka\.com|bot-pge\.chlooe\.com|BoxcarBot|BTWebClient|ContextAd Bot|Digincore bot|Disqus|Feedly|Fetch\/|Fever|Flamingo_SearchEngine|FlipboardProxy|g2reader-bot|G2 Web Services|imrbot|K7MLWCBot|Kemvibot|Landau-Media-Spider|linkapediabot|vkShare|Siteimprove\.com|BLEXBot\/|DareBoost|ZuperlistBot\/|Miniflux\/|Feedspot|Diffbot\/|SEOkicks|tracemyfile|Nimbostratus-Bot|zgrab|PR-CY\.RU|AdsTxtCrawler|Datafeedwatch|Zabbix|TangibleeBot|google-xrawler|axios|Amazon CloudFront|Pulsepoint|CloudFlare-AlwaysOnline|Google-Structured-Data-Testing-Tool|WordupInfoSearch|WebDataStats|HttpUrlConnection|ZoomBot|VelenPublicWebCrawler|MoodleBot|jpg-newsbot|outbrain|W3C_Validator|Validator\.nu|W3C-checklink|W3C-mobileOK|W3C_I18n-Checker|FeedValidator|W3C_CSS_Validator|W3C_Unicorn|Google-PhysicalWeb|Blackboard|ICBot\/|BazQux|Twingly|Rivva|Experibot|awesomecrawler|Dataprovider\.com|GroupHigh\/|theoldreader\.com|AnyEvent|Uptimebot\.org|Nmap Scripting Engine|2ip\.ru|Clickagy|Caliperbot|MBCrawler|online-webceo-bot|B2B Bot|AddSearchBot|Google Favicon|HubSpot|Chrome-Lighthouse|HeadlessChrome|CheckMarkNetwork\/|www\.uptime\.com|Streamline3Bot\/|serpstatbot\/|MixnodeCache\/|^curl|SimpleScraper|RSSingBot|Jooblebot|fedoraplanet|Friendica|NextCloud|Tiny Tiny RSS|RegionStuttgartBot|Bytespider|Datanyze|Google-Site-Verification|TrendsmapResolver|tweetedtimes|NTENTbot|Gwene|SimplePie|SearchAtlas|Superfeedr|feedbot|UT-Dorkbot|Amazonbot|SerendeputyBot|Eyeotabot|officestorebot|Neticle Crawler|SurdotlyBot|LinkisBot|AwarioSmartBot|AwarioRssBot|RyteBot|FreeWebMonitoring SiteChecker|AspiegelBot|NAVER Blog Rssbot|zenback bot|SentiBot|Domains Project\/|Pandalytics|VKRobot|bidswitchbot|tigerbot|NIXStatsbot|Atom Feed Robot|[Cc]urebot|PagePeeker\/|Vigil\/|rssbot\/|startmebot\/|JobboerseBot|seewithkids|NINJA bot|Cutbot|BublupBot|BrandONbot|RidderBot|Taboolabot|Dubbotbot|FindITAnswersbot|infoobot|Refindbot|BlogTraffic\/\d\.\d+ Feed-Fetcher|SeobilityBot|Cincraw|Dragonbot|VoluumDSP-content-bot|FreshRSS|BitBot|^PHP-Curl-Class|Google-Certificates-Bridge|centurybot|Viber|e\.ventures Investment Crawler|evc-batch|PetalBot|virustotal|(^| )PTST\/|minicrawler|Cookiebot|trovitBot|seostar\.co|IonCrawl|Uptime-Kuma|Seekport|FreshpingBot|Feedbin|CriteoBot|Snap URL Preview Service|Better Uptime Bot|RuxitSynthetic|Google-Read-Aloud|Valve\/Steam|OdklBot\/|GPTBot|ChatGPT-User|YandexRenderResourcesBot\/|LightspeedSystemsCrawler|ev-crawler\/|BitSightBot\/|woorankreview\/|Google-Safety|AwarioBot|DataForSeoBot|Linespider|WellKnownBot|A Patent Crawler|StractBot|search\.marginalia\.nu|YouBot|Nicecrawler|Neevabot|BrightEdge Crawler|SiteCheckerBotCrawler|TombaPublicWebCrawler|CrawlyProjectCrawler|KomodiaBot|KStandBot|CISPA Webcrawler|MTRobot|hyscore\.io|AlexandriaOrgBot|2ip bot|Yellowbrandprotectionbot|SEOlizer|vuhuvBot|INETDEX-BOT|Synapse|t3versionsBot|deepnoc|Cocolyzebot|hypestat|ReverseEngineeringBot|sempi\.tech|Iframely|MetaInspector|node-fetch|lkxscan|python-opengraph|OpenGraphCheck|developers\.google\.com\/\+\/web\/snippet|SenutoBot|MaCoCu|NewsBlur|inoreader|NetSystemsResearch|PageThing|WordPress\/|PhxBot|ImagesiftBot|Expanse|InternetMeasurement|^BW\/|GeedoBot|Audisto Crawler|PerplexityBot\/|[cC]laude[bB]ot|Monsidobot|GroupMeBot|Vercelbot|vercel-screenshot/),Zk=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|FBAN|FBAV|fennec|hiptop|iemobile|ip(hone|od)|Instagram|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,eT=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|
33sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,tT=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|FBAN|FBAV|fennec|hiptop|iemobile|ip(hone|od)|Instagram|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,nT=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i;function oT(e){return Zk.test(e)||eT.test(e.slice(0,4))}function sT(e){return tT.test(e)||nT.test(e.slice(0,4))}function iT(e){return/iPad|iPhone|iPod/.test(e)}function rT(e){return/android/i.test(e)}function aT(e){return/Windows/.test(e)}function lT(e){return/Mac OS X/.test(e)}const cT=[{name:"Samsung",regex:/SamsungBrowser/i},{name:"Edge",regex:/edg(?:[ea]|ios)?\//i},{name:"Firefox",regex:/firefox|iceweasel|fxios/i},{name:"Chrome",regex:/chrome|crios|crmo/i},{name:"Safari",regex:/safari|applewebkit/i}];function uT(e){for(const t of cT)if(t.regex.test(e))return t.name;return""}function nf(e,t={}){let n=!1,o=!1,s=!1,r=!1;if(e==="Amazon CloudFront")t["cloudfront-is-mobile-viewer"]==="true"&&(n=!0,o=!0),t["cloudfront-is-tablet-viewer"]==="true"&&(n=!1,o=!0),t["cloudfront-is-desktop-viewer"]==="true"&&(n=!1,o=!1),t["cloudfront-is-ios-viewer"]==="true"&&(s=!0),t["cloudfront-is-android-viewer"]==="true"&&(r=!0);else if(t&&t["cf-device-type"])switch(t["cf-device-type"]){case"mobile":n=!0,o=!0;break;case"tablet":n=!1,o=!0;break;case"desktop":n=!1,o=!1;break}else n=oT(e),o=sT(e),s=iT(e),r=rT(e);const a=aT(e),l=lT(e),c=uT(e),m=c==="Safari",d=c==="Firefox",p=c==="Edge",_=c==="Chrome",g=c==="Samsung",b=Jk.test(e);return{userAgent:e,isMobile:n,isMobileOrTablet:o,isTablet:!n&&o,isDesktop:!o,isIos:s,isAndroid:r,isWindows:a,isMacOS:l,isApple:l||s,isDesktopOrTablet:!n,isSafari:m,isFirefox:d,isEdge:p,isChrome:_,isSamsung:g,isCrawler:b}}const dT=dt(()=>{const e=ye(),t=e.public.device.defaultUserAgent;let n;{const o=navigator.userAgent||t;n=Gt(nf(o)),e.public.device.refreshOnResize&&window.addEventListener("resize",()=>{setTimeout(()=>{const s=nf(navigator.userAgent||o);Object.entries(s).forEach(([r,a])=>{n[r]=a})},50)})}return{provide:{device:n}}});var fT=Object.defineProperty,of=Object.getOwnPropertySymbols,mT=Object.prototype.hasOwnProperty,pT=Object.prototype.propertyIsEnumerable,sf=(e,t,n
33)=>t in e?fT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Lh=(e,t)=>{for(var n in t||(t={}))mT.call(t,n)&&sf(e,n,t[n]);if(of)for(var n of of(t))pT.call(t,n)&&sf(e,n,t[n]);return e},ha=e=>typeof e=="function",ga=e=>typeof e=="string",Rh=e=>ga(e)&&e.trim().length>0,hT=e=>typeof e=="number",Fo=e=>typeof e>"u",ki=e=>typeof e=="object"&&e!==null,gT=e=>qn(e,"tag")&&Rh(e.tag),Oh=e=>window.TouchEvent&&e instanceof TouchEvent,Mh=e=>qn(e,"component")&&Nh(e.component),_T=e=>ha(e)||ki(e),Nh=e=>!Fo(e)&&(ga(e)||_T(e)||Mh(e)),rf=e=>ki(e)&&["height","width","right","left","top","bottom"].every(t=>hT(e[t])),qn=(e,t)=>(ki(e)||ha(e))&&t in e,yT=(e=>()=>e++)(0);function el(e){return Oh(e)?e.targetTouches[0].clientX:e.clientX}function af(e){return Oh(e)?e.targetTouches[0].clientY:e.clientY}var vT=e=>{Fo(e.remove)?e.parentNode&&e.parentNode.removeChild(e):e.remove()},Ni=e=>Mh(e)?Ni(e.component):gT(e)?At({render(){return e}}):typeof e=="string"?e:tt(i(e)),bT=e=>{if(typeof e=="string")return e;const t=qn(e,"props")&&ki(e.props)?e.props:{},n=qn(e,"listeners")&&ki(e.listeners)?e.listeners:{};return{component:Ni(e),props:t,listeners:n}},wT=()=>typeof window<"u",Yc=class{constructor(){this.allHandlers={}}getHandlers(e){return this.allHandlers[e]||[]}on(e,t){const n=this.getHandlers(e);n.push(t),this.allHandlers[e]=n}off(e,t){const n=this.getHandlers(e);n.splice(n.indexOf(t)>>>0,1)}emit(e,t){this.getHandlers(e).forEach(o=>o(t))}},kT=e=>["on","off","emit"].every(t=>qn(e,t)&&ha(e[t])),fn;(function(e){e.SUCCESS="success",e.ERROR="error",e.WARNING="warning",e.INFO="info",e.DEFAULT="default"})(fn||(fn={}));var Wr;(function(e){e.TOP_LEFT="top-left",e.TOP_CENTER="top-center",e.TOP_RIGHT="top-right",e.BOTTOM_LEFT="bottom-left",e.BOTTOM_CENTER="bottom-center",e.BOTTOM_RIGHT="bottom-right"})(Wr||(Wr={}));var mn;(function(e){e.ADD="add",e.DISMISS="dismiss",e.UPDATE="update",e.CLEAR="clear",e.UPDATE_DEFAULTS="update_defaults"})(mn||(mn={}));var En="Vue-Toastification",xn={type:{type:String,default:fn.DEFAULT},classNames:{type:[String,Array],default:()=>[]},trueBoolean:{type:Boolean,default:!0}},Bh={type:xn.type,customIcon:{type:[String,Boolean,Object,Function],default:!0}},vr={component:{type:[String,Object,Function,Boolean],default:"button"},classNames:xn.classNames,showOnHover:{type:Boolean,default:!1},ariaLabel:{type:String,default:"close"}},zl={timeout:{type:[Number,Boolean],default:5e3},hideProgressBar:{type:Boolean,default:!1},isRunning:{type:Boolean,default:!1}},Uh={transition:{type:[Object,String],default:`${En}__bounce`}},TT={position:{type:String,default:Wr.TOP_RIGHT},draggable:xn.trueBoolean,draggablePercent:{type:Number,default:.6},pauseOnFocusLoss:xn.trueBoolean,pauseOnHover:xn.trueBoolean,closeOnClick:xn.trueBoolean,timeout:zl.timeout,hideProgressBar:zl.hideProgressBar,toastClassName:xn.classNames,bodyClassName:xn.classNames,icon:Bh.customIcon,closeButton:vr.component,closeButtonClassName:vr.classNames,showCloseButtonOnHover:vr.showOnHover,accessibility:{type:Object,default:()=>({toastRole:"alert",closeButtonLabel:"close"})},rtl:{type:Boolean,default:!1},eventBus:{type:Object,required:!1,default:()=>new Yc}},$T={id:{type:[String,Number],required:!0,default:0},type:xn.type,content:{type:[String,Object,Function],required:!0,default:""},onClick:{type:Function,default:void 0},onClose:{type:Function,default:void 0}},ST={container:{type:[Object,Function],default:()=>document.body},newestOnTop:xn.trueBoolean,maxToasts:{type:Number,default:20},transition:Uh.transition,toastDefaults:Object,filterBeforeCreate:{type:Function,default:e=>e},filterToasts:{type:Function,default:e=>e},containerClassName:xn.classNames,onMounted:Function,shareAppContext:[Boolean,Object]},ro={CORE_TOAST:TT,TOAST:$T,CONTAINER:ST,PROGRESS_BAR:zl,ICON:Bh,TRANSITION:Uh,CLOSE_BUTTON:vr},jh=At({name:"VtProgressBar",props:ro.PROGRESS_BAR,data(){return{hasClass:!0}},computed:{style(){return{animationDuration:`${this.timeout}ms`,animationPlayState:this.isRunning?"running":"paused",opacity:this.hideProgressBar?0:1}},cpClass(){return this.hasClass?`${En}__progress-bar`:""}},watch:{timeout(){this.hasClass=!1,this.$nextTick(()=>this.hasClass=!0)}},mounted(){this.$el.addEventListener("animationend",this.animationEnded)},beforeUnmount(){this.$el.removeEventListener("animationend",this.animationEnded)},methods:{animationEnded(){this.$emit("close-toast")}}});function DT(e,t){return u(),h("div",{style:Se(e.style),class:j(e.cpClass)},null,6)}jh.render=DT;var CT=jh,Vh=At({name:"VtCloseButton",props:ro.CLOSE_BUTTON,computed:{buttonComponent(){return this.component!==!1?Ni(this.component):"button"},classes(){const e=[`${En}__close-button`];return this.showOnHover&&e.push("show-on-hover"),e.concat(this.classNames)}}}),PT=_e(" Ã ");function xT(e,t){return u(),O(Qe(e.buttonComponent),ts({"aria-label":e.ariaLabel,class:e.classes},e.$attrs),{default:z(()=>[PT]),_:1},16,["aria-label","class"])}Vh.render=xT;var IT=Vh,Hh={},ET={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"check-circle",class:"svg-inline--fa fa-check-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},AT=f("path",{fill:"currentColor",d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"},null,-1),LT=[AT];function RT(e,t){return u(),h("svg",ET,LT)}Hh.render=RT;var OT=Hh,zh={},MT={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"info-circle",class:"svg-inline--fa fa-info-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},NT=f("path",{fill:"currentColor",d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"},null,-1),BT=[NT];function UT(e,t){return u(),h("svg",MT,BT)}zh.render=UT;var lf=zh,Fh={},jT={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-circle",class:"svg-inline--fa fa-exclamation-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},VT=f("path",{fill:"currentColor",d:"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418
33-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},null,-1),HT=[VT];function zT(e,t){return u(),h("svg",jT,HT)}Fh.render=zT;var FT=Fh,Wh={},WT={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-triangle",class:"svg-inline--fa fa-exclamation-triangle fa-w-18",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"},GT=f("path",{fill:"currentColor",d:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},null,-1),qT=[GT];function YT(e,t){return u(),h("svg",WT,qT)}Wh.render=YT;var KT=Wh,Gh=At({name:"VtIcon",props:ro.ICON,computed:{customIconChildren(){return qn(this.customIcon,"iconChildren")?this.trimValue(this.customIcon.iconChildren):""},customIconClass(){return ga(this.customIcon)?this.trimValue(this.customIcon):qn(this.customIcon,"iconClass")?this.trimValue(this.customIcon.iconClass):""},customIconTag(){return qn(this.customIcon,"iconTag")?this.trimValue(this.customIcon.iconTag,"i"):"i"},hasCustomIcon(){return this.customIconClass.length>0},component(){return this.hasCustomIcon?this.customIconTag:Nh(this.customIcon)?Ni(this.customIcon):this.iconTypeComponent},iconTypeComponent(){return{[fn.DEFAULT]:lf,[fn.INFO]:lf,[fn.SUCCESS]:OT,[fn.ERROR]:KT,[fn.WARNING]:FT}[this.type]},iconClasses(){const e=[`${En}__icon`];return this.hasCustomIcon?e.concat(this.customIconClass):e}},methods:{trimValue(e,t=""){return Rh(e)?e.trim():t}}});function XT(e,t){return u(),O(Qe(e.component),{class:j(e.iconClasses)},{default:z(()=>[_e(w(e.customIconChildren),1)]),_:1},8,["class"])}Gh.render=XT;var QT=Gh,qh=At({name:"VtToast",components:{ProgressBar:CT,CloseButton:IT,Icon:QT},inheritAttrs:!1,props:Object.assign({},ro.CORE_TOAST,ro.TOAST),data(){return{isRunning:!0,disableTransitions:!1,beingDragged:!1,dragStart:0,dragPos:{x:0,y:0},dragRect:{}}},computed:{classes(){const e=[`${En}__toast`,`${En}__toast--${this.type}`,`${this.position}`].concat(this.toastClassName);return this.disableTransitions&&e.push("disable-transition"),this.rtl&&e.push(`${En}__toast--rtl`),e},bodyClasses(){return[`${En}__toast-${ga(this.content)?"body":"component-body"}`].concat(this.bodyClassName)},draggableStyle(){return this.dragStart===this.dragPos.x?{}:this.beingDragged?{transform:`translateX(${this.dragDelta}px)`,opacity:1-Math.abs(this.dragDelta/this.removalDistance)}:{transition:"transform 0.2s, opacity 0.2s",transform:"translateX(0)",opacity:1}},dragDelta(){return this.beingDragged?this.dragPos.x-this.dragStart:0},removalDistance(){return rf(this.dragRect)?(this.dragRect.right-this.dragRect.left)*this.draggablePercent:0}},mounted(){this.draggable&&this.draggableSetup(),this.pauseOnFocusLoss&&this.focusSetup()},beforeUnmount(){this.draggable&&this.draggableCleanup(),this.pauseOnFocusLoss&&this.focusCleanup()},methods:{hasProp:qn,getVueComponentFromObj:Ni,closeToast(){this.eventBus.emit(mn.DISMISS,this.id)},clickHandler(){this.onClick&&this.onClick(this.closeToast),this.closeOnClick&&(!this.beingDragged||this.dragStart===this.dragPos.x)&&this.closeToast()},timeoutHandler(){this.closeToast()},hoverPause(){this.pauseOnHover&&(this.isRunning=!1)},hoverPlay(){this.pauseOnHover&&(this.isRunning=!0)},focusPause(){this.isRunning=!1},focusPlay(){this.isRunning=!0},focusSetup(){addEventListener("blur",this.focusPause),addEventListener("focus",this.focusPlay)},focusCleanup(){removeEventListener("blur",this.focusPause),removeEventListener("focus",this.focusPlay)},draggableSetup(){const e=this.$el;e.addEventListener("touchstart",this.onDragStart,{passive:!0}),e.addEventListener("mousedown",this.onDragStart),addEventListener("touchmove",this.onDragMove,{passive:!1}),addEventListener("mousemove",this.onDragMove),addEventListener("touchend",this.onDragEnd),addEventListener("mouseup",this.onDragEnd)},draggableCleanup(){const e=this.$el;e.removeEventListener("touchstart",this.onDragStart),e.removeEventListener("mousedown",this.onDragStart),removeEventListener("touchmove",this.onDragMove),removeEventListener("mousemove",this.onDragMove),removeEventListener("touchend",this.onDragEnd),removeEventListener("mouseup",this.onDragEnd)},onDragStart(e){this.beingDragged=!0,this.dragPos={x:el(e),y:af(e)},this.dragStart=el(e),this.dragRect=this.$el.getBoundingClientRect()},onDragMove(e){this.beingDragged&&(e.preventDefault(),this.isRunning&&(this.isRunning=!1),this.dragPos={x:el(e),y:af(e)})},onDragEnd(){this.beingDragged&&(Math.abs(this.dragDelta)>=this.removalDistance?(this.disableTransitions=!0,this.$nextTick(()=>this.closeToast())):setTimeout(()=>{this.beingDragged=!1,rf(this.dragRect)&&this.pauseOnHover&&this.dragRect.bottom>=this.dragPos.y&&this.dragPos.y>=this.dragRect.top&&this.dragRect.left<=this.dragPos.x&&this.dragPos.x<=this.dragRect.right?this.isRunning=!1:this.isRunning=!0}))}}}),JT=["role"];function ZT(e,t){const n=Ze("Icon"),o=Ze("CloseButton"),s=Ze("ProgressBar");return u(),h("div",{class:j(e.classes),style:Se(e.draggableStyle),onClick:t[0]||(t[0]=(...r)=>e.clickHandler&&e.clickHandler(...r)),onMouseenter:t[1]||(t[1]=(...r)=>e.hoverPause&&e.hoverPause(...r)),onMouseleave:t[2]||(t[2]=(...r)=>e.hoverPlay&&e.hoverPlay(...r))},[e.icon?(u(),O(n,{key:0,"custom-icon":e.icon,type:e.type},null,8,["custom-icon","type"])):T("v-if",!0),f("div",{role:e.accessibility.toastRole||"alert",class:j(e.bodyClasses)},[typeof e.content=="string"?(u(),h(G,{key:0},[_e(w(e.content),1)],2112)):(u(),O(Qe(e.getVueComponentFromObj(e.content)),ts({key:1,"toast-id":e.id},e.hasProp(e.content,"props")?e.content.props:{},Uy(e.hasProp(e.content,"listeners")?e.content.listeners:{}),{onCloseToast:e.closeToast}),null,16,["toast-id","onCloseToast"]))],10,JT),e.closeButton?(u(),O(o,{key:1,component:e.closeButton,"class-names":e.closeButtonClassName,"show-on-hover":e.showCloseButtonOnHover,"aria-label":e.accessibility.closeButtonLabel,onClick:He(e.closeToast,["stop"])},null,8,["component","class-names","show-on-hover","aria-label","onClick"])):T("v-if",!0),e.timeout?(u(),O(s,{key:2,"is-running":e.isRunning,"hide-progress-bar":e.hideProgressBar,timeout:e.timeout,onCloseToast:e.timeoutHandler},null,8,["is-running","hide-progress-bar","timeout","onCloseToast"])):T("v-if",!0)],38)}qh.render=ZT;var e$=qh,Yh=At({name:"VtTransition",props:ro.TRANSITION,emits:["leave"],methods:{hasProp:qn,leave(e){e instanceof HTMLElement&&(e.style.left=e.offsetLeft+"px",e.style.top=e.offsetTop+"px",e.style.width=getComputedStyle(e).width,e.style.position="absolute")}}});function t$(e,t){return u(),O(Zv,{tag:"div","enter-active-class":e.transition.enter?e.transition.enter:`${e.transition}-enter-active`,"move-class":e.transition.move?e.transition.move:`${e.transition}-move`,"leave-active-class":e.transition.leave?e.transition.leave:`${e.transition}-leave-active`,onLeave:e.leave},{default:z(()=>[Ee(e.$slots,"default")]),_:3},8,["enter-active-class","move-class","leave-active-class","onLeave"])}Yh.render=t$;var n$=Yh,Kh=At({name:"VueToastification",devtools:{hide:!0},components:{Toast:e$,VtTransition:n$},props:Object.assign({},ro.CORE_TOAST,ro.CONTAINER,ro.TRANSITION),data(){return{count:0,positions:Object.values(Wr),toasts:{},defaults:{}}},computed:{toastArray(){return Object.values(this.toasts)},filteredToasts(){return this.defaults.filterToasts(this.toastArray)}},beforeMount(){const e=this.eventBus;e.on(mn.ADD,this.addToast),e.on(mn.CLEAR,this.clearToasts),e.on(mn.DISMISS,this.dismissToast),e.on(mn.UPDATE,this.updateToast),e.on(mn.UPDATE_DEFAULTS,this.updateDefaults),this.defaults=this.$props},mounted(){this.setup(this.container)},methods:{async setup(e){ha(e)&&(e=await e()),vT(this.$el),e.appendChild(this.$el)},setToast(e){Fo(e.id)||(this.toasts[e.id]=e)},addToast(e){e.content=bT(e.content);const t=Object.assign({},this.defaults,e.type&&this.defaults.toastDefaults&&this.defaults.toastDefaults[e.type],e),n=this.defaults.filterBeforeCreate(t,this.toastArray);n&&this.setToast(n)}
33,dismissToast(e){const t=this.toasts[e];!Fo(t)&&!Fo(t.onClose)&&t.onClose(),delete this.toasts[e]},clearToasts(){Object.keys(this.toasts).forEach(e=>{this.dismissToast(e)})},getPositionToasts(e){const t=this.filteredToasts.filter(n=>n.position===e).slice(0,this.defaults.maxToasts);return this.defaults.newestOnTop?t.reverse():t},updateDefaults(e){Fo(e.container)||this.setup(e.container),this.defaults=Object.assign({},this.defaults,e)},updateToast({id:e,options:t,create:n}){this.toasts[e]?(t.timeout&&t.timeout===this.toasts[e].timeout&&t.timeout++,this.setToast(Object.assign({},this.toasts[e],t))):n&&this.addToast(Object.assign({},{id:e},t))},getClasses(e){return[`${En}__container`,e].concat(this.defaults.containerClassName)}}});function o$(e,t){const n=Ze("Toast"),o=Ze("VtTransition");return u(),h("div",null,[(u(!0),h(G,null,pe(e.positions,s=>(u(),h("div",{key:s},[R(o,{transition:e.defaults.transition,class:j(e.getClasses(s))},{default:z(()=>[(u(!0),h(G,null,pe(e.getPositionToasts(s),r=>(u(),O(n,ts({key:r.id},r),null,16))),128))]),_:2},1032,["transition","class"])]))),128))])}Kh.render=o$;var s$=Kh,cf=(e={},t=!0)=>{const n=e.eventBus=e.eventBus||new Yc;t&&Rt(()=>{const r=Pp(s$,Lh({},e)),a=r.mount(document.createElement("div")),l=e.onMounted;if(Fo(l)||l(a,r),e.shareAppContext){const c=e.shareAppContext;c===!0?console.warn(`[${En}] App to share context with was not provided.`):(r._context.components=c._context.components,r._context.directives=c._context.directives,r._context.mixins=c._context.mixins,r._context.provides=c._context.provides,r.config.globalProperties=c.config.globalProperties)}});const o=(r,a)=>{const l=Object.assign({},{id:yT(),type:fn.DEFAULT},a,{content:r});return n.emit(mn.ADD,l),l.id};o.clear=()=>n.emit(mn.CLEAR,void 0),o.updateDefaults=r=>{n.emit(mn.UPDATE_DEFAULTS,r)},o.dismiss=r=>{n.emit(mn.DISMISS,r)};function s(r,{content:a,options:l},c=!1){const m=Object.assign({},l,{content:a});n.emit(mn.UPDATE,{id:r,options:m,create:c})}return o.update=s,o.success=(r,a)=>o(r,Object.assign({},a,{type:fn.SUCCESS})),o.info=(r,a)=>o(r,Object.assign({},a,{type:fn.INFO})),o.error=(r,a)=>o(r,Object.assign({},a,{type:fn.ERROR})),o.warning=(r,a)=>o(r,Object.assign({},a,{type:fn.WARNING})),o},i$=()=>{const e=()=>console.warn(`[${En}] This plugin does not support SSR!`);return new Proxy(e,{get(){return e}})};function Xh(e){return wT()?kT(e)?cf({eventBus:e},!1):cf(e,!0):i$()}var Qh=Symbol("VueToastification"),Jh=new Yc,r$=(e,t)=>{t?.shareAppContext===!0&&(t.shareAppContext=e);const n=Xh(Lh({eventBus:Jh},t));e.provide(Qh,n)},a$=e=>{const t=qt()?Pt(Qh,void 0):void 0;return t||Xh(Jh)},l$=r$;const $e=Hs("globalData",()=>{const e=L({}),t=L({}),n=L(""),o=L([]),s=L("light"),r=L("light"),a=L(""),l=L(0),c=L({}),m=L({}),d=L(!1),p=L(),_=L(!1),g=L(null),b=L(null),y=L(!1),C=L(!1),E=L(!1);function D(ce){e.value=ce}function v(ce){t.value=ce}function I(ce){o.value=ce}function k(ce){s.value=ce}function S(ce){r.value=ce}function $(ce){a.value=ce}function P(ce){n.value=ce}function x(){l.value++}function A(ce){c.value=ce}function N(ce){m.value=ce}function M(){d.value=!0}function ee(ce){p.value=ce}function X(){_.value=!0}function me(ce){g.value=ce}function Q(ce){b.value=ce}function F(ce){y.value=ce}function Y(ce){C.value=ce}function ie(ce){E.value=ce}return{coreData:e,pageData:t,pageTitle:n,breadcrumbs:o,themeColor:s,selectedColor:r,path:a,virtualPageHits:l,meta:c,dataLayer:m,perseusLoaded:d,timeoutId:p,wallpaperActive:_,videoInViewport:g,playingVideoId:b,isNavHidden:y,pageHasSubmenu:C,articleHasAlfanum:E,setCoreData:D,setPageData:v,setBreadcrumbs:I,setThemeColor:k,setSelectedColor:S,setPath:$,setPageTitle:P,increaseVirtualPageHits:x,setMetaObject:A,setDlObject:N,setPerseusLoaded:M,setTimeoutId:ee,setWallpaperActive:X,setVideoInViewport:me,setPlayingVideoId:Q,setIsNavHidden:F,setPageHasSubmenu:Y,setArticleHasAlfanum:ie}}),c$=dt(e=>
33{const t=$e();function n(o,s){const r=a$(),a=o.length,l=a>36?a*100:3600;let c="";const{themeColor:m}=t;switch(s){case"success":c="icon-checkmark";break;case"error":c="icon-error";break;case"warning":c="icon-warning";break;default:c="";break}s==="success"?r.success(o,{icon:c,timeout:l,toastClassName:m}):s==="error"?r.error(o,{icon:c,timeout:l,toastClassName:m}):s==="warning"&&r.warning(o,{icon:c,timeout:l,toastClassName:m})}e.provide("snackbar",{$setToaster:((o,s)=>n(o,s))})}),u$=dt(async()=>{const t=ye().public.locales;function n(s,r){return s[r]?s[r]:void 0}function o(s){const r=s.split(".");let a=t;for(let l=0;l<r.length&&(a=n(a,r[l]),a!==void 0);l++);return a===void 0?s:a}return{provide:{t:o}}});class Zh{loadPromise=null;serviceName;servicePublicKey;scriptSrc="";constructor(t,n){this.serviceName=t,this.servicePublicKey=n}loadScript(){return new Promise((t,n)=>{const o=document.createElement("script");o.type="text/javascript",o.src=this.scriptSrc,o.async=!1,o.onload=()=>{t(!0)},o.onerror=()=>{n(`Failed to load script: ${this.scriptSrc}`)},document.head.append(o)})}async loaded(){return this.loadPromise?this.loadPromise:(this.loadPromise=this.loadScript(),this.loadPromise)}}class d$ extends Zh{constructor(t,n){super(t,n),this.scriptSrc=`https://www.google.com/recaptcha/api.js?render=${n}`}execute(){return new Promise((t,n)=>{try{window.grecaptcha?.ready(()=>{window.grecaptcha?.execute(this.servicePublicKey,{action:"submit"}).then(async o=>{t({error:!1,ok:!0,token:o})})})}catch(o){console.error("Error executing recaptcha:",o),n({error:!0,ok:!1,description:"CAPTCHA_UNAVAILABLE"})}})}}class f$ extends Zh{constructor(t,n){super(t,n),this.scriptSrc="https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit"}execute(){return new Promise((t,n)=>{try{window.turnstile?.ready(()=>{window.turnstile?.render("#turnstile-container",{sitekey:this.servicePublicKey,callback:async o=>{t({error:!1,ok:!0,token:o})}})})}catch(o){console.error("Error executing turnstile:",o),n({error:!0,ok:!1,description:"CAPTCHA_UNAVAILABLE"})}})}}class m${constructor(t,n){this.serviceName=t,this.servicePublicKey=n,this.captcha=this.configureCaptchaService(this.serviceName)}captcha;configureCaptchaService(t){switch(t){case"turnstile":return new f$(t,this.servicePublicKey);default:return new d$(t,this.servicePublicKey)}}}const p$=dt(()=>{const e=$e(),t=e.coreData?.siteSettings?.captchaService?.toLowerCase(),n=e.coreData?.siteSettings?.captchaServicePublicKey;if(!t||!n)return;const o=new m$(t,n),{captcha:s}=o;return{provide:{captcha:s}}});function eg(e){return atob(e)}function h$(e){const t="XJlj9dRZBTLdSgEiFQqfsvk05FvfRNPg2FEWWzSzm3DcdeSr3ToBjn1u41nhPIQt3MBHw9LKHQpURipcxFk3FVIoFFJ48jioLNt3";let n="";for(let o=0;o<e.length;o++)n+=String.fromCharCode(e.charCodeAt(o)^t.charCodeAt(o%t.length));return n}function uf(e){return h$(e)}function Kc(e){let t=e.FirstName,n=e.LastName;t&&e.Hidden&&(t=uf(t)),n&&e.Hidden&&(n=uf(n));let o=t;return n&&(o=`${o} ${n}`),o}const g$=dt(()=>{const{config:e}=ye().public,t=$e();function n(_){return/^a\d+$|^\d+$/.test(_)}function o(_,g){return _.indexOf(".html")!==-1||n(g)}function s(_){return/^n\d+$/.test(_)}function r(_){const g=_.split("/"),b=[];return g.forEach((y,C)=>{!n(y)&&!o(y,g[C-1])&&!s(y)&&y!==""&&b.push(y.replace(/-/g," "))}),b.length?b.join(","):"naslovna"}function a(){const _=document.cookie;return _&&_.split("; ").forEach(g=>{if(g.split("=")[0]==="wmg-gigya-jwt")return!0}),!1}function l(){let _="";return t?.pageData?.article?.Document?.Authors&&(_=t?.pageData?.article?.Document?.Authors.map(g=>Kc(g)).join(",")),_}function c(_){const g=_;return e.subdomain?e.parentDomain.replace("https://",""):g}function m(){const _=document.createElement("script"),g=document.getElementsByTagName("script")[0];_.type="text/javascript",_.async=!0,_.src=e?.useChartbeatVideoOption===!0?"//static.chartbeat.com/js/chartbeat_video.js":"//static.chartbeat.com/js/chartbeat.js",g.parentNode.insertBefore(_,g)}function d(){const _=document.createElement("script");_.async=!0,_.src="//static.chartbeat.com/js/chartbeat_mab.js",document.head.appendChild(_)}function p(){if(document.querySelector('script[src*="youtube.com/iframe_api"]'))return;const g=document.createElement("script");g.type="text/javascript",g.async=!0,g.src="https://www.youtube.com/iframe_api",document.head.appendChild(g)}if(e.useChartbeat){const _=c(window.location.hostname),g=window.location.hostname.split(".")[0],b=r(window.location.pathname);let y=b;
33(g==="zdravlje"||g==="biznis")&&(y=g,b!=="naslovna"?y=`${g},${b}`:y=g);const C=window._sf_async_config=window._sf_async_config||{};if(C.uid=54177,C.domain=_,C.useCanonical=!0,C.useCanonicalDomain=!0,C.flickerControl=!1,C.sections=y,C.authors=l(),(window._cbq=window._cbq||[]).push([["_acct",a()?"lgdin":"anon"]]),e?.useChartbeatVideoOption===!0){C.autoDetect=!1,p(),(window._cbv=window._cbv||[]).push(["autoDetectYouTubeIframes"]);const v=document.createElement("script");v.type="text/javascript",v.src="/js/chartbeat-html-video-strategy.js",v.onload=function(){window._cbv_strategies=window._cbv_strategies||[],window._cbv_strategies.push(window.HtmlVideoStrategy)},document.head.appendChild(v)}m(),d()}}),_$=dt(()=>{const{config:e}=ye().public;if(!e.cleverPushApiKey)return;function t(){const n=document.createElement("script");n.async=!0,n.src=`https://static.cleverpush.com/channel/loader/${e.cleverPushApiKey}.js`,document.body.appendChild(n)}"requestIdleCallback"in window?zr(t,{timeout:5e3}):setTimeout(t,3e3)});function tg(e,t){return e.startsWith("/")||e.startsWith("http")?`/lazy${e.replace(t.siteUrl,"").replace(t.parentDomain,"")}`:`/lazy/${encodeURIComponent(e)}?d=2`}function Ke(e,t,n){for(let o=0;o<e?.length;o++){if(n(e[o]))return e[o];if(e[o][t]?.length){const s=Ke(e[o][t],t,n);if(s)return s}}return null}function Fl(e,t,n=[]){if(e!=null){if(Array.isArray(e))for(const o of e)Fl(o,t,n);else if(typeof e=="object")for(const[o,s]of Object.entries(e))s===t?n.push(e):Fl(e[o],t,n)}return[...new Map(n.map(o=>[o[t],o])).values()]}function _a(e){return Ke(e,"children",t=>t.Type==="Article"&&t.Template!=="Tags"&&t.Template!=="ArticleShare")}function ya(e,t){return t.indexOf(n=>e[n.property]===n.value)!==-1}const y$={Ð:"A",Ð:"B",Ð:"V",Ð:"G",Ð:"D",Ð:"Ä",Ð:"E",Ð:"Ž",Ð:"Z",Ð:"I",Ð:"J",Ð:"K",Ð:"L",Ð:"Lj",Ð:"M",Ð:"N",Ð:"Nj",Ð:"O",Ð:"P",Ð :"R",С:"S",Т:"T",Ð:"Ä",У:"U",Ф:"F",Ð¥:"H",Ц:"C",Ч:"Ä",Ð:"Dž",Ш:"Å ",а:"a",б:"b",в:"v",г:"g",д:"d",Ñ:"Ä",е:"e",ж:"ž",з:"z",и:"i",Ñ:"j",к:"k",л:"l",Ñ:"lj",м:"m",н:"n",Ñ:"nj",о:"o",п:"p",Ñ:"r",Ñ:"s",Ñ:"t",Ñ:"Ä",Ñ:"u",Ñ:"f",Ñ
:"h",Ñ:"c",Ñ:"Ä",Ñ:"dž",Ñ:"Å¡"};
33function v$(e){return e.replace(/[^\u0000-\u007E]/g,t=>y$[t]||t)}function b$(e){return v$(e).split("").reduce((n,o)=>(n=(n<<5)-n+o.charCodeAt(0),n&n),0)}const df=1e3*60*60,w$=1e3*60;function ln(e,t,n){const o=new Date,s=new Date;s.setHours(12,0,0,0);const r=new Date(e);let a=o.getTime()-r.getTime();if(o.getHours()!==parseInt(o.toLocaleString("en-EN",{hour:"2-digit",hour12:!1,timeZone:"Europe/Belgrade"}),10)){const m=parseInt(s.toLocaleString("en-EN",{hour:"2-digit",hour12:!1,timeZone:"Etc/GMT"}),10),d=parseInt(s.toLocaleString("en-EN",{hour:"2-digit",hour12:!1,timeZone:"Europe/Belgrade"}),10),p=m-d;a-=p*df}const l=Math.floor(a/df),c=Math.floor(a/w$);return c<1?`${n} 0 min`:l<1?`${n} ${c} min`:l<24?`${n} ${l} h`:t}function Fs(e){if(!e||typeof e!="number")return"";const t=Math.floor(e/3600),n=Math.floor(e%3600/60),o=e%60,s=t>0?t.toString().padStart(2,"0"):"",r=n.toString().padStart(2,"0"),a=o.toString().padStart(2,"0");return s!==""?`${s}:${r}:${a}`:`${r}:${a}`}function k$(e){switch(new Date(e).getDay()){case 0:return"Ned";case 1:return"Pon";case 2:return"Uto";case 3:return"Sre";case 4:return"Äet";case 5:return"Pet";case 6:return"Sub"}}function ng(e,t,n=!1){const o=new Date(e),s=o.getDate(),r=o.getMonth()+1,a=o.getFullYear(),l=o.getHours(),c=o.getMinutes();if(t)return`${l}:${c<10?`0${c}`:c}h`;const m=s<10?`0${s}`:s,d=r<10?`0${r}`:r;return n?`${k$(o)}, ${m}.${d}.${a}. ${l}:${c<10?`0${c}`:c}h`:`${m}.${d}.${a}. ${l}:${c<10?`0${c}`:c}h`}function T$(e){const t=new Date(e.PublishedDate),n=new Date(e.LastEditDate);return Math.abs((n-t)/(1e3*60))>1}function $$(e,t,n=!1){const o=e.slice(0,e.indexOf("T")),s=t.slice(0,t.indexOf("T"));return ng(t,o===s,n)}function S$(e,t){let n=t;for(;n;){if(n.classList?.contains(e))return!0;n=n.parentElement}return!1}function Xo(e,t){return e?.query?.[t?.pagingQueryParam]||e?.path?.includes(`/${t?.pagingUrlParam}/`)}function Gr(e,t){let n;return t?.query?.page?n=t.query.page:t?.params?.path&&(n=t.params.path.at(-1)),n?`${e} - str. ${n}`:e}function D$(e,t){const n=t.rewritePaging?e.params.path.at(-1):e.query.page;return Number(n)}function C$(e,t){return t.rewritePaging?e.path.split("/").slice(0,-2).join("/"):e.path}function P$(e,t){if(t.rewritePaging)return e.path;const{pagingQueryParam:n}=t;return`${e.path}?${n}=${e.query[n]}`}function Xc(e=[]){return e.filter(t=>!t.Hidden)}function Ns(e){typeof document=="object"&&(document&&(document.documentElement.style.overflow="hidden",document.body.style.overflow="hidden"),e&&document.body.classList.add(e))}function Ti(e){typeof document=="object"&&(document&&(document.documentElement.style.removeProperty("overflow"),document.body.style.removeProperty("overflow")),e&&document.body.classList.remove(e))}const $t=Hs("user",()=>{const{config:e}=ye().public,t=Dt("wmg-gigya-jwt",{path:"/"}),n=Dt("wmg-gigya-uid",{path:"/"}),o=L(!!(t.value&&n.value)),s=L(!1),r=L(!1),a=L({userName:null,email:null,identities:null,subscriptions:{}}),l=L(""),c=L(""),m=L(""),d=L("");function p(S){const $=e.avatar.backgroundColors,{defaultBgColor:P}=e.avatar,x=e.avatar.color,A="#fff",M=S.trim().substring(0,2),ee=M.charAt(0),X=ee.charCodeAt(0);if(ee.match(/[a-zA-Z]/)){const me=ee.toLowerCase().charCodeAt(0)-97,Q=Math.floor(me/(26/$.length));return{initials:M,bgColor:$[Q],fontColor:A}}if(X>=1040&&X<=1064){const me=X-1040;let Q=Math.floor(me/(32/$.length-1));return X===1056&&(Q=3),X===1061&&(Q=4),{initials:M,bgColor:$[Q],fontColor:A}}if(X>=1072&&X<=1096){const me=X-1072;let Q=Math.floor(me/(32/$.length-1));return X===1088&&(Q=3),X===1093&&(Q=4),{initials:M,bgColor:$[Q],fontColor:A}}return{initials:M,bgColor:P,fontColor:x}}function _(S,$){const P=S.split($);return`${P[0].charAt(0)}${P[1].charAt(0)}`}function g(){if(l.value){const S=l.value.trim(),P=[" ","-","_"].find(M=>S.includes(M)),x=P?_(S,P):S.substring(0,2),{bgColor:A,fontColor:N}=p(x);c.value=x,m.value=A,d.value=N}}async function b(S,$){if(!l?.value){const P={gigyaUserJwt:S,gigyaUserId:$};try{const A=await(await fetch("/v3api/username",{method:"GET",headers:P})).json();if(!A.error)return A.username}catch{}}return null}function y(S){l.value=S,setTimeout(()=>{g()},100)}async function C(S,$){const{$snackbar:P,$t:x}=ue();a.value=$,o.value=!0,r.value=!0,t.value=S,n.value=$.UID;const A=await b(S,$.UID);A&&y(A),(window.location.href.endsWith("#return-url")||a.value?.loginProvider==="googleplus"||a.value?.loginProvider==="facebook"||a.value?.loginProvider==="apple"||new URL(window.location.href).searchParams.get("gig_actions")?.indexOf("sso.login")!==-1)&&P.$setToaster(x("modals.loginSuccess"),"success")}function E(S=!0){const{$snackbar:$,$t:P}=ue();t.value=null,n.value=null,a.value={userName:null,email:null,identities:null,
33subscriptions:{}},o.value=!1,c.value=null,m.value=null,d.value=null,l.value=null,S&&$.$setToaster(P("snackbar.success.logout"),"success")}function D(S=!0){E(S)}function v(S){S.errorCode?(t.value=null,a.value={},o.value=!1,c.value=null,m.value=null,d.value=null):(a.value=S,o.value=!0,r.value=!0,g())}function I(S){a.value.subscriptions={...a.value.subscriptions,...S}}function k(){s.value=!0}return{isAuthenticated:o,gigyaLoaded:s,userDataReady:r,userData:a,userName:l,userInitials:c,userColor:m,userFontColor:d,loggedIn:C,logout:D,clearSession:E,setUserData:v,setUserSubscriptions:I,calculateAvatarColors:p,setUserName:y,setGigyaLoaded:k}}),x$=dt(()=>{const{config:e}=ye().public,t=$e(),n=$t(),o=Le();window.dataLayer=window.dataLayer||[];function s(y){switch(y){case"NewsArticle":return"article_news";case"Recipe":return"article_recipe";case"ArticleBigImage":return"article_news";case"Article":return"article_news";case"AuthorArticle":return"article_author";case"StoryInPictures":return"article_story_in_pictures";case"PhotoGallery":return"article_photo_gallery";case"HowTo":return"article_how_to";case"Storytelling":return"article_storytelling";case"Storytelling2.0":return"article_storytelling_two";case"Quiz":return"article_quiz";case"DevelopingStory":return"article_developing_story";case"Video2.0":return"article_video";case"Video":return"article_video";default:return"other"}}function r(y){return y?"gallery":t.path==="/"?"homepage":t.pageData.article?s(t.pageData.article.Document.DocumentTypeAlias):/\/columnist\d/.test(t.path)||/\/blogger\d/.test(t.path)||/\/journalist\d|\/autor\//.test(t.path)?"author":/\/tag(\d|\/)/.test(t.path)?"tag":/\/najnovije/i.test(t.path)||Ke(t.pageData?.pageElements,"children",C=>C.Type==="CategoryTitle"||C.Type==="SubcategoryTitle"||C.Template==="SubCategory-List")?"category":"other"}function a(y){return/^a\d+$|^\d+$/.test(y)}function l(y,C){return y.indexOf(".html")!==-1||a(C)}function c(y){return/^n\d+$/.test(y)}function m(){const y=t.path.split("/"),C=[];return y.forEach((E,D)=>{!a(E)&&!l(E,y[D-1])&&!c(E)&&E!==""&&C.push(E.replace(/-/g," "))}),C.length===1?{category:C[0],subcategory:null}:C.length>=2?{category:C[0],subcategory:C[1]}:{category:null,subcategory:null}}function d(y){const C={id:y.article_id,caption:y.page_title,type:y.page_type,categories:y.subcategory?[y.category,y.subcategory]:[y.category],channel:y.category,fullChannel:y.subcategory?`${y.category}/${y.subcategory}`:y.category,isSpecial:y.locked==="yes",date:y.date,authors:y.author?y.author.split(","):[],tags:y.tags};window.defractalPage=C,window.defractal?.onNewPage()}function p(){e?.dotMetrics&&window.dm?.AjaxEvent&&window.dm.AjaxEvent("pageview",null,e.dotMetrics)}function _(){e?.dotMetricsGallery&&window.dm?.AjaxEvent&&window.dm.AjaxEvent("pageview",null,e.dotMetricsGallery)}function g(y,C=!1){const E=r(C),D=t.pageData.article?.Document;let v={event:"virtualPageView",page_type:E,page_title:y};if(E==="category"||E.indexOf("article")===0||E.indexOf("gallery")===0){const I=m();I&&(v={...v,...I})}else v.category=null,v.subcategory=null;if(E.indexOf("article")===0||E.indexOf("gallery")===0){v.article_id=D.DocumentId;const I=new Date(D.PublishedDate.split("T")[0]);v.date=I.toLocaleDateString("en-GB"),v.time=D.PublishedDate.split("T")[1],D.Authors?.length&&(v.author=D.Authors.map(k=>Kc(k)).join(",")),v.locked=D.Locked?"yes":"no"}else v.article_id=null,v.locked=null,v.author=null,v.date=null,v.time=null;if(v.user_id=n.userData?.UID||null,v["registered user"]=n.isAuthenticated?"yes":"no",e?.deFractalApiKey&&e?.language==="sr"){const I={...v};E.indexOf("article")===0&&(I.tags=D.Tags?.map(k=>k.Name)||[]),d(I)}window.dataLayer.push(v),t.setDlObject(v),t.virtualPageHits>0&&(C?_():o.path.match(/.*?\/media\/.*$/)||p(),window.pp_gemius_hit(e.gemiusId))}function b({id:y,name:C,type:E}){window.dataLayer.push({event:"audio-tts",action:"play",id:y||"audio_id_unknown",name:C||"audio_name_unknown",type:E||"audio_unknown"})}return{provide:{addPageToDataLayer:g,pushAudioPlayEvent:b}}}),I$=dt(e=>{e.hook("vue:error",(t,n,o)=>{const s=n?._?.vnode;s?.props,s?.type?.__name})}),cn=Hs("modal",()=>{const e=L(!1),t=L("");function n(){e.value=!1,t.value=null}function o(s){e.value=!0,t.value=s}return{isOpen:e,modalToShow:t,closeModal:n,loadModal:o}}),E$=dt(async e=>{const t=$t(),n=cn(),o=$e(),{config:s}=ye().public,{gigyaPrefix:r}=s;function a(){document.querySelectorAll("[name='password'], [name='newPassword']").forEach($=>{const P=document.createElement("div"),x=document.createElement("i");P.id="passSwitch",x.classList.add("icon-view"),P.appendChild(x),P.addEventListener("click",()=>{$.type==="password"?($.type="text",x.classList.remove("icon-view"),x.classList.add("icon-view--off")):($.type="password",x.classList.remove("icon-view--off"),x.classList.add("icon-view"))}),$.parentElement.appendChild(P)})}function l(){document.querySelectorAll("[name='username']").forEach($=>{const P=document.createElement("div"),x=document.createElement("i");P.id="icon-locked-wrapper",x.classList.add("icon-locked"),P.appendChild(x),$.parentElement.appendChild(P)})}function c(){return new Promise((S,$)=>{window.gigya.accounts.getJWT({fields:"email",expiration:365*24*3600,callback:P=>{P.status==="OK"?S(P.id_token):$(P.errorCode)}})})}function m(){window.gigya.accounts.logout(),t.clearSession(!1)}function d(S,$){if(!window.location.href.includes("/password-reset?")){const P=new Date;P.setDate(P.getDate()+1);const x=`expires=${P.toUTCString()}`;document.cookie=`${S}=${$};${x};path=/`}}function p(){return new Promise((S,$)=>{typeof window.gigya<"u"&&window.gigya.accounts.getAccountInfo({include:"profile, loginIDs, identities-active,subscriptions,preferences",callback:P=>{P?S(P):$()}})})}function _(){return new Promise((S,$)=>{window.gigya.accounts.session.verify({callback:P=>{P.status==="OK"?S(!0):$()}})})}function g(S,$){const P=document.querySelector(S),x=document.querySelector($);setTimeout(()=>{P.classList.contains("gigya-error")?x.closest(".gigya-composite-control").classList.add("input-error"):x.closest(".gigya-composite-control").classList.remove("input-error")},0)}function b(S,$){if(window.gigya){const{$snackbar:P,$t:x}=ue();let A=!0;const N={screenSet:`${r}-${S}`,redirectURL:window.location.href,context:{redirectURL:window.location.href},onFieldChanged:M=>{M.form==="gigya-register-form"?M.field==="password"?g(".gigya-input-password",'[for*="gigya-password"]'):M.field==="email"&&g('input[type="email"]','[for*="gigya-textbox-email"]'):M.screen==="gigya-change-password-screen"?M.field==="password"?g('[data-screenset-element-id="gigya-password-password"]','[for*="gigya-password-password"]'):M.field==="newPassword"&&g('[data-screenset-element-id="gigya-password-newPassword"]','[for*="gigya-password-newPassword"]'):(M.screen==="gigya-link-account-screen"||M.screen==="gigya-reset-password-screen")&&g(".gigya-input-password",'[for*="gigya-password"]')},onAfterSubmit:M=>{M.screen==="set-password"&&M.response.errorCode===0?(P.$setToaster(x("snackbar.success.passwordSet"),"success"),t.setUserData(M.response)):M.form==="gigya-profile-form"&&M.response.errorCode!==0?g('[data-gigya-name*="username"]','[data-bound-to="username"]'):M.screen==="change-name"&&M.response?.loginIDs?.username?(A=!0,P.$setToaster(`${x("snackbar.success.usernameSet")} ${M.response?.loginIDs?.username}`,"success"),t.setUserData(M.response)):M.screen==="change-name"&&!M.response?.loginIDs?.username?P.$setToaster(x("snackbar.warning.noUsername"),"warning"):M.screen==="gigya-change-password-screen"||M.screen==="gigya-reset-password-screen"?M.response.errorCode===0&&P.$setToaster(x("snackbar.success.passwordUpdate"),"success"):M.screen==="gigya-verification-pending-screen"&&M.response.errorCode===0&&P.$setToaster(x("snackbar.success.activationLinkSent"),"success")},onSubmit:M=>{M.screen==="gigya-change-password-screen"&&M.response.errorCode!==0&&(M.field==="password"?g('[data-screenset-element-id="gigya-password-password"]','[for*="gigya-password-password"]'):M.field==="newPassword"&&g('[data-screenset-element-id="gigya-password-newPassword"]','[for*="gigya-password-newPassword"]'))},onAfterValidation:M=>{(M.screen==="gigya-change-password-screen"||M.screen==="gigya-link-account-screen")&&setTimeout(()=>{document.querySelectorAll("input.gigya-error").forEach(X=>{X.closest(".gigya-composite-control").classList.add("input-error")})},50)},onHide:M=>{M.screenSetID===`${r}-ProfileUpdate`&&!A&&!M.response?.loginIDs?.username&&M.reason==="c
33anceled"&&P.$setToaster(x("snackbar.warning.noUsername"),"warning")},onAfterScreenLoad:M=>{(M.currentScreen==="EmailRegistration"||M.currentScreen==="gigya-change-password-screen"||M.currentScreen==="gigya-link-account-screen"||M.currentScreen==="set-password")&&a(),M.currentScreen==="gigya-link-account-screen"&&l(),M.currentScreen==="Welcome"&&(document.querySelector(".login-btn").addEventListener("click",X=>{X.preventDefault();const me=new URL(window.location.href),Q=new URL(me.origin);["page","q","order"].forEach(ie=>{const ce=me.searchParams.get(ie);ce&&Q.searchParams.set(ie,ce)});const Y={authFlow:"redirect",redirectURL:Q.href,useChildContext:!0,context:{myCustomLang:"sr",myCustomPrefix:r,prefix:r}};window.gigya.sso.login(Y)}),d("gigya-return-url",window.location.pathname))}};$&&(N.startScreen=$),$==="change-name"&&window.gigya.accounts.getAccountInfo({include:"profile, loginIDs, identities-active",callback:M=>{M.errorCode===0&&(M.loginIDs?.username||(A=!1))}}),N.sessionExpiration=-2,N.include="identities-active",window.gigya.accounts.showScreenSet(N)}else n.loadModal("ModalGigyaOff")}async function y(){const S=await p(),$=await c();await t.loggedIn($,S)}async function C(S){S?.loginMode==="link"&&await y()}function E(){window.gigya.socialize.addEventHandlers({onLogin:C})}function D(){const{$bus:S}=ue();setTimeout(()=>{t.setGigyaLoaded(),S&&S.$emit("gigyaLoaded")},0)}function v(){window.onGigyaServiceReady=async()=>{E();try{await _(),await y(),D()}catch{t.clearSession(!1),D()}}}function I(){let S;const $=document.getElementsByTagName("script")[0];document.getElementById("gig_script")||(S=document.createElement("script"),S.id="gig_script",S.async=!0,S.src=`https://cdns.gigya.com/js/gigya.js?apikey=${s.gigya.apiKey}&lang=${s.language}`,$.parentNode.insertBefore(S,$))}async function k(){const S=Dt("wmg-gigya-jwt"),$=Dt("wmg-gigya-uid");try{return await _(),(t.userData.identities===null||!t.isAuthenticated||!S.value||!$.value)&&await y(),!0}catch{return t.clearSession(!1),!1}}o.coreData?.siteSettings?.enableGigya&&(v(),I()),e.provide("gigya",{$openGigyaModal:((S,$)=>b(S,$)),$logoutGigya:(()=>m()),$returnUrlCookie:((S,$)=>d(S,$)),handleVirtualPageView:k})});function A$(e){return{all:e=e||new Map,on:function(t,n){var o=e.get(t);o?o.push(n):e.set(t,[n])},off:function(t,n){var o=e.get(t);o&&(n?o.splice(o.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var o=e.get(t);o&&o.slice().map(function(s){s(n)}),(o=e.get("*"))&&o.slice().map(function(s){s(t,n)})}}}const L$=dt(e=>{const t=A$();e.provide("bus",{$on:t.on,$off:t.off,$emit:t.emit})}),R$=["Breaking-News","Breaking-News-Mini","Topics","TV-Shows-Slider","Oblong-Cards-Slider","TV-Shows-Main","Video-Shows-Slider-Headbox","Content-Aside","External-Blogs-Widget","Newsletters-Widget","Print Page","Live-Stream-Widget","Sidebar-Dailies","Shop-Headbox","External-Price-Comparison-Widget","External-Reviews-Widget"],O$=["Kajron","Latest-News-Ticker-ACL","Top-News-Horizontal-Slider","Profile-Newsletters","Most-Comments","Most-Comments-ACL","Most-Commented","Video-List-Slider","Horizontal-Slider-List","Shows-Intro-Banner-ACL","External-Blogs-Widget","Newsletters"];function No(e){const t={};return e?.DocumentElements?.forEach(n=>{n?.Name&&(t[n.Name]=n)}),e?.DocumentAttributes?.forEach(n=>{n?.Name&&(t[n.Name]=n)}),t}function M$(e,t){return e?.DocumentElements?.find(n=>n?.Name===t)}function N$(e,t){return e?.DocumentAttributes?.find(n=>n?.Name===t)}function Te(e,t){const n=M$(e,t);return n||N$(e,t)}function B$(e,t){return e?.DocumentElements?.find(n=>n?.Type===t)}function U$(e,t){return e?.DocumentAttributes?.find(n=>n?.Type===t)}function Tn(e,t){const n=B$(e,t);return n||U$(e,t)}function j$(e){return e?.Properties?.title||e?.Properties?.Title||e?.Name||""}function Wn(e){return e?e.replace(" ","").toLowerCase():""}function Qc(e,t,n){if(!e)return"";const o=e%100,s=e%10;return s>=2&&s<=4&&!(o>=12&&o<=14)?`${e} ${n}`:`${e} ${t}`}const Wl={center:"center center",east:"right center",north:"center top",south:"center bottom",west:"left center",northeast:"right top",northwest:"left top",southeast:"right bottom",southwest:"left bottom"};function Ge(e,t,n){if(!e)return e;const o=Wl[t?.toLowerCase()]??null,s=Wl[n?.toLowerCase()]??null;if(!o&&!s)return e;const r={...o&&{objectPosition:o},...s&&{objectPositionMobile:s}};if(Array.isArray(e)){const a=[...e];return a[0]={...a[0],...r},a}return{...e,...r}}function fo(e){return e?Wl[e?.toLowerCase()]??null:null}function vt(e){const{config:t}=ye().public;return t.portalImageSizes[e]}function Hn(e,t){return t?(e||"").replace("$domain$",t):e||""}function og(e){switch(e){case"NewsArticle":return"B";case"ArticleBigImage":return"B";case"DevelopingStory":return"A";case"Storytelling":return"A";case"PhotoGallery":return"B";case"Video":return"B";case"Quiz":return"A";case"StoryInPictures":return"B";case"AuthorArticle":return"C";case"HowTo":return"B";case"Recipe":return"B";default:return"C"}}function rn({url:e="",document:t=null,urlSuffix:n="",externalUrlSuffix:o="",isExternalArticle:s=!1}){if(!e)if(t)e=t?.DocumentAttributes?.find(a=>a.Name==="External Document URL")?.Text||t.WebUrl||"";else return"";const r=/[?&]/i.test(e);return s?r?e:`${e}${o||n}`:r?e:`${e}${n}`}function un(e,t){const{genericImages:n}=ye().public;return{ImageUrl:n.placeholderImg,ImageAlt:t?.AltText||e?.Title||"",Variations:[{Name:"2000x1000",Url:n.placeholderImg}]}}function sg(e,t){return t.map(n=>(Array.isArray(n)?n:[n]).map(r=>{const a=e.filter(m=>m.Url);let l=a[a.length-1]??e[e.length-1],c=1e6;return e.forEach(m=>{m.Width>=r&&m.Width<c&&(l=m,c=m.Width)}),l}))}function ig(e){if(!Array.isArray(e)||!e.length)return[];const t=["(max-width: 1023px)","(min-width: 1024px)"];return e.map((n,o)=>{const s=(Array.isArray(n)?n:[n]).filter(a=>a?.Url);if(!s.length)return null;const r={rel:"preload",as:"image",href:s[0].Url,fetchpriority:"high"};return e.length>1&&t[o]&&(r.media=t[o]),s.length>1&&(r.imagesrcset=s.map((a,l)=>l===0?a.Url:`${a.Url} ${l+.5}x`).join(", ")),r}
33).filter(Boolean)}function Ue(e,t){return e?.Variations?{alt:e?.AltText,variations:sg(e?.Variations,t),CopyRight:e?.CopyRight,Description:e?.Description}:{alt:e?.AltText,variations:[{Url:e?.ImageUrl}],CopyRight:e?.CopyRight,Description:e?.Description}}function $i(e,t){if(!e?.Variations?.length)return e?.ImageUrl||"";let n=null,o=null;return e.Variations.forEach(s=>{s.Width&&(s.Width<=t&&(!n||s.Width>n.Width)&&(n=s),(!o||s.Width<o.Width)&&(o=s))}),(n??o??e.Variations[0])?.Url||e?.ImageUrl||""}function rg(e){const t=un(e,e?.PosterPhoto);if(e.DocumentTypeAlias==="Storytelling"||e.DocumentTypeAlias==="Storytelling2.0"){const o=e?.DocumentElements?.find(r=>r.Type==="Image"&&r.Name.startsWith("Big Image - Desktop"))?.Image,s=e?.DocumentElements?.find(r=>r.Type==="Image"&&r.Name.startsWith("Big Image - Mobile"))?.Image;if(o&&!s)return[o];if(!o&&s)return[s];if(o&&s)return[o,s]}const n=e?.DocumentElements?.find(o=>o.Type==="Image"&&o.Name.startsWith("Big Image"))?.Image;return n?[n]:e?.PosterPhoto?[e?.PosterPhoto]:[t]}function V$(e,t,n=!1){const o=vt("articleBigImage"),s=[o.default.mobile,o.default.desktop];if(!t&&!n)return e.map(r=>Ge(Ue(r,s),r?.ImageFocusCrop));if(t){if(e[0]&&e[1]){const r=Ue(e[0],o.storytelling.desktop),a=Ue(e[1],o.storytelling.mobile);return[Ge({alt:e[0].AltText,variations:[a.variations[0],r.variations[0]]},e[0]?.ImageFocusCrop,e[1]?.ImageFocusCrop)]}if(e[0]&&!e[1])return[Ge(Ue(e[0],s),e[0]?.ImageFocusCrop)]}if(n){if(e[0]&&e[1]){const r=Ue(e[0],o.storytellingTwo.desktop),a=Ue(e[1],o.storytellingTwo.mobile);return[Ge({alt:e[0].AltText,variations:[a.variations[0],r.variations[0]]},e[0]?.ImageFocusCrop,e[1]?.ImageFocusCrop)]}if(e[0]&&!e[1])return[Ge(Ue(e[0],s),e[0]?.ImageFocusCrop)]}return null}function H$(e,t){const n={...e};return n.AltText||(n.AltText=t),[n]}function z$(e,t){const n=vt("articleRteImage");return t?e.map(o=>Ge(Ue(o,[n.default.mobile,n.default.desktop]),o?.ImageFocusCrop)):e.map(o=>Ge(Ue(o,[n.storytelling.mobile,n.storytelling.desktop]),o?.ImageFocusCrop))}function F$(e,t){const n={...e};return n.AltText||(n.AltText=t),n}function W$(e){const t=vt("articleStoryInPictureImage");return Ge(Ue(e,[t.default.mobile,t.default.desktop]),e?.ImageFocusCrop)}function va(e){const t=un(e,e?.PosterPhoto);return e?.PosterPhoto||t}function ba(e){const t=vt("articleStoryInPictureImage");return Ge(Ue(e,[t.default.mobile,t.default.desktop]),e?.ImageFocusCrop)}function G$(e){const t=vt("articleRelatedCategoryImage");return Ue(e,[t.default.mobile,t.default.desktop])}function Gl(e,t){return e.map(n=>(n.AltText||(n.AltText=t),n))}function ql(e){const t=vt("articleGalleryImages");return e.map((n,o)=>Ge(o===0?Ue(n,[t.big.mobile,t.big.desktop]):Ue(n,[t.default.mobile,t.default.desktop]),n?.ImageFocusCrop))}function q$(e){const t=un(e,e?.PosterPhoto);return e?.PosterPhoto||t}function Y$(e){const t=vt("articleRelatedShopImage");return Ge(Ue(e,[t.default.mobile,t.default.desktop]),e?.ImageFocusCrop)}function Si(e){return{...e}}function Jc(e){const t=vt("articleQuizImage");return Ge(Ue(e,[t.default.mobile,t.default.desktop]),e?.ImageFocusCrop)}function ag(e){const t=vt("articleQuizAnswerImage");return Ge(Ue(e,[t.default.mobile,t.default.desktop]),e?.ImageFocusCrop)}function K$(e){const t=un(e,e?.PosterPhoto);return e?.PosterPhoto||t}function X$(e){const t=vt("breakingNewsImage");return Ge(Ue(e,[t.default.mobile,t.default.desktop]),e?.ImageFocusCrop)}function Zc(e){const t=un(e,e?.PosterPhoto);return e?.PosterPhoto||t}function eu(e){const t=vt("columnistImage");return Ge(Ue(e,[t.default.mobile,t.default.desktop]),e?.ImageFocusCrop)}function Di(e,t){const n=vt("cardAB");if(e){if(t!=="storytelling")return e.map((s,r)=>{let a;switch(t){case"sidebar":a=Ue(s,[n.sidebar.mobile,n.sidebar.desktop]);break;case"storyInPictures":a=Ue(s,[n.storyInPictures.mobile,n.storyInPictures.desktop]);break;case"photoGallery":if(r===0){a=Ue(s,[n.photoGallery.big.mobile,n.photoGallery.big.desktop]);break}a=Ue(s,[n.photoGallery.small.mobile,n.photoGallery.small.desktop]);break;default:a=Ue(s,[n.default.mobile,n.default.desktop])}return Ge(a,s?.ImageFocusCrop)});if(t==="storytelling"){if(e[0]&&e[1]){const s=Ue(e[0],[n.storytelling.desktop]),r=Ue(e[1],[n.storytelling.mobile]);return[Ge({alt:e[0].AltText,variations:[r.variations[0],s.variations[0]]},e[0]?.ImageFocusCrop,e[1]?.ImageFocusCrop)]}if(e[0]&&!e[1])return[Ge(Ue(e[0],[n.storytelling.mobile,n.storytelling.desktop]),e[0]?.ImageFocusCrop)];if(e[2])return[Ge(Ue(e[2],[n.storytelling.mobile,n.storytelling.desktop]),e[2]?.ImageFocusCrop)]}}return un(document,document?.PosterPhoto)}function Q$(e,t){const n=vt("cardBsimple");return e.map(o=>Ge(t?Ue(o,[n.small.mobile,n.small.desktop]):Ue(o,[n.default.mobile,n.default.desktop]),o?.ImageFocusCrop))}function tu(e,t){const n=vt("cardC");return e.map(o=>{switch(t){case"sidebar":return Ge(Ue(o,[n.sidebar.mobile,n.sidebar.desktop]),o?.ImageFocusCrop);case"feed":case"grid":default:return Ge(Ue(o,[n.default.mobile,n.default.desktop]),o?.ImageFocusCrop)}})}function wa(e,t){const n=vt("cardsOHC");return e.map(o=>{switch(t){case"small":return Ge(Ue(o,[n.small.mobile,n.small.desktop]),o?.ImageFocusCrop);case"large":default:return Ge(Ue(o,[n.default.mobile,n.default.desktop]),o?.ImageFocusCrop)}})}function J$(e,t){const n=vt("cardL");if(e){if(t!=="storytelling")return e.map(s=>Ge(Ue(s,[n.default.mobile,n.default.desktop]),s?.ImageFocusCrop));if(t==="storytelling"){if(e[0]&&e[1]){const s=Ue(e[0],n.default.desktop),r=Ue(e[1],n.default.mobile);return[Ge({alt:e[0].AltText,variations:[r.variations[0],s.variations[0]]},e[0]?.ImageFocusCrop,e[1]?.ImageFocusCrop)]}if(e[0]&&!e[1])return[Ge(Ue(e[0],[n.default.mobile,n.default.desktop]),e[0]?.ImageFocusCrop)];if(e[2])return[Ge(Ue(e[2],[n.default.mobile,n.default.desktop]),e[0]?.ImageFocusCrop)]}}return un(document,document?.PosterPhoto)}
33function Z$(e,t,n){const o=un(e,e?.PosterPhoto),s=Te(e,t)?.Image,r=Te(e,n)?.Image;return s&&!r?[s]:!s&&r?[r]:s&&r?[s,r]:e?.PosterPhoto?[e?.PosterPhoto]:[o]}function eS(e,t=!1){const n=un(e,e?.PosterPhoto);if(e.DocumentTypeAlias==="Quiz"){const o=e?.DocumentElements?.find(s=>s.Type==="Image"&&s.Name.startsWith("Big Image"))?.Image;return o||e?.PosterPhoto?[o||e?.PosterPhoto]:[n]}if(e.DocumentTypeAlias==="Video"){const o=Tn(e,"Video")?.Video;return e?.PosterPhoto?[e?.PosterPhoto]:o?.PosterPhotoUrl?[{ImageUrl:o?.PosterPhotoUrl,CopyRight:o?.CopyRight}]:[n]}return e?.PosterPhoto?[e?.PosterPhoto]:[n]}function tS(e){const t=vt("imageLink");return Ge(Ue(e,[t.default.mobile,t.default.desktop]),e?.ImageFocusCrop)}function lg(e){const t=vt("contentAsideFullWidth");if(e.length===2){const n=Ue(e[0],t.default.desktop),o=Ue(e[1],t.default.mobile);return[Ge({alt:e[0].AltText,variations:[o.variations[0],n.variations[0]]},e[0]?.ImageFocusCrop,e[1]?.ImageFocusCrop)]}if(e.length===1){const n=Ue(e[0],t.default.desktop),o=Ue(e[0],t.default.mobile);return[Ge({alt:e[0].AltText,variations:[o.variations[0],n.variations[0]]},e[0]?.ImageFocusCrop)]}return null}function nS(e){const t=vt("contentAside");return e.map(n=>Ge(Ue(n,[t.default.mobile,t.default.desktop]),n?.ImageFocusCrop))}function oS(e){const t=vt("contentAsideCardImage");return Ge(Ue(e,[t.default.mobile,t.default.desktop]),e?.ImageFocusCrop)}function sS(e){const t=vt("breakingNewsMegaDuoImage");if(e.length===2){const n=Ue(e[0],t.default.desktop),o=Ue(e[1],t.default.mobile);return[Ge({alt:e[0].AltText,variations:[o.variations[0],n.variations[0]]},e[0]?.ImageFocusCrop,e[1]?.ImageFocusCrop)]}if(e.length===1){const n=Ue(e[0],t.default.desktop),o=Ue(e[0],t.default.mobile);return[Ge({alt:e[0].AltText,variations:[o.variations[0],n.variations[0]]},e[0]?.ImageFocusCrop)]}return null}function iS(e){const t=vt("newsletterCard");return e.map(n=>Ge(Ue(n,[t.default.mobile,t.default.desktop]),n?.ImageFocusCrop))}function rS(e){const t=vt("sliderShop");return e.map(n=>Ue(n,[t.default.mobile,t.default.desktop]))}function ff(e,t){return e?.DocumentElements?.find(n=>n.Type==="Image"&&n.Name===t)?.Image}function mf(e){return e?{alt:e?.AltText,variations:[[{Url:$i(e,1280)}]],CopyRight:e?.CopyRight,Description:e?.Description}:null}const aS=dt(()=>{const{config:e}=ye().public,t=new RegExp(e.metaPatterns.newsCategory),n=new RegExp(e.metaPatterns.tag),o=new RegExp(e.metaPatterns.journalist),s=new RegExp(e.metaPatterns.columnist),r=new RegExp(e.metaPatterns.blogger),a=new RegExp(e.metaPatterns.archive),l=new RegExp(e.metaPatterns.search),c=new RegExp(e.comments.commentsRegex),m=new RegExp(e.metaPatterns.tv);function d(){const{$t:v}=ue(),I={description:v("metaDefaults.description"),portalName:v("metaDefaults.portalName"),tagDescription:v("metaDefaults.tagDescription")};return e.siteTitle&&(I.portalName=e.siteTitle),I}function p(v,I){return m.test(v.path)?` | ${I} TV`:` | ${I}`}function _(v,I){let k;return v?.forEach(S=>{const $=parseInt(S.Name.split("x")[0],10),P=parseInt(S.Name.split("x")[1],10);$>=I[0]&&P>=I[1]&&(k=S)}),k}function g(v,I,k,S,$){const P=Ke(S,"SubItems",x=>x.Url===k);if(P?.Properties?.staticShareImageName)return`${v.staticUrl}/api/v3/staticImages/${P?.Properties?.staticShareImageName}`;if(I?.Image?.indexOf("https://static")===0)return I.Image;if(k==="/"||Ke($,"children",x=>x.Type==="CategoryTitle"||x.Type==="SubcategoryTitle")){const x=Ke($,"children",N=>N.Type==="Headbox"&&R$.indexOf(N.Template)===-1||(N.Type==="ContentList"||N.Type==="CoreContentList")&&O$.indexOf(N.Template)===-1)?.Documents[0],A=_(x?.PosterPhoto?.Variations,[600,320]);if(A?.Url)return A?.Url}return`${v.localUrl}/img/share/${v.portalId}.png`}function b(v){let I=`${e.localUrl}${v.path}`;if(Xo(v,e.paging)){const k=D$(v,e.paging);k===1||k>9?I=`${e.localUrl}${C$(v,e.paging)}`:I=`${e.localUrl}${P$(v,e.paging)}`}return c.test(v.path)&&(I=`${e.localUrl}${v.path.replace(`/${e.comments.folder}`,"")}`),{rel:"canonical",href:I,tagPriority:1}}function y(v){const I=v.fullPath;let k=I;return e.ampSettings.ampLinkRules.find(S=>
33{if(new RegExp(S.match).test(I)){const P=new RegExp(S.search);return k=I.replace(P,S.replace),!0}return!1}),`${e.localUrl}${k}`}function C(v,I,k,S,$){if(I?.RegularMetaTags?.Title){let N=I?.RegularMetaTags?.Title;return Xo(v,e.paging)&&(N=Gr(N,v)),`${N}${$}`}const P=k?.Document?.Title;if(P)return`${P}${$}`;let x=I?.DublinCoreMetaTags?.Title;if(n.test(v.path))x=`${x}`;else if(o.test(v.path)||s.test(v.path)||r.test(v.path)){const N=Ke(S.pageElements,"children",M=>M.Type==="Author");N&&(x=`${N?.FirstName} ${N?.LastName||""}`)}l.test(v.path)?x=e.searchTitle:a.test(v.path)&&(x=e.archiveTitle),Xo(v,e.paging)&&(x=Gr(x,v));const A=Ke(S.pageElements,"children",N=>N.Type==="Archive");if(a.test(v.path)){const N=A.BreadCrumb[2]?`${A.BreadCrumb[2]}.`:"",M=A.BreadCrumb[1]?`${A.BreadCrumb[1]}.`:"",ee=A.BreadCrumb[0]?`${A.BreadCrumb[0]}.`:"",X=`${N}${M}${ee}`;x=`${x} - ${X}`}return`${x}${$}`}function E(v,I){return!v?.Variations?.length||!I?[]:ig(sg(v.Variations,[I.mobile,I.desktop]))}function D(v,I,k){const S=d(),{$t:$}=ue(),P=Le(),x=$e(),{portalName:A}=S,N=p(P,A),M=!e.localUrl.includes("localhost")&&e.fontFromStatic?e.staticUrl:e.localUrl;k||(k=x.pageData);const ee=C(P,v,I,k,N)||"";let X=v?.RegularMetaTags?.Description||S.description;if(n.test(P.path))X=`${S.tagDescription} ${ee}`;else if(o.test(P.path)){const V=Ke(k.pageElements,"children",K=>K.Type==="Author");X=`${V?.FirstName} ${V?.LastName||""} ${$("meta.authorDescription")}${N}`}else if(s.test(P.path))X=`${Ke(k.pageElements,"children",K=>K.Type==="Author")?.Description||$("meta.authorDescription")}`;else if(r.test(P.path)){const V=Ke(k.pageElements,"children",K=>K.Type==="Author");X=`${V?.Description||$("meta.authorDescription")}`,X=`${V?.Description} ${V?.FirstName} ${V?.LastName||""} ${$("meta.authorDescription")}${N}`}let me=v?.RegularMetaTags?.ContentLanguage||"sr";t.test(P.path)&&(me="en");const Q={title:ee,htmlAttrs:{lang:me},meta:[{name:"title",content:v?.DublinCoreMetaTags?.Title},{name:"description",content:X},{name:"robots",content:"max-image-preview:large"},{property:"og:type",content:"website"},{property:"og:title",content:v?.FacebookMetaTags?.Title||v?.DublinCoreMetaTags?.Title},{property:"og:description",content:v?.FacebookMetaTags?.Description||S.description},{property:"og:image",content:g(e,v?.FacebookMetaTags,P.path,x.coreData.mainMenu,k.pageElements)},{property:"og:url",content:`${e.siteUrl}${P.fullPath}`},{property:"og:site_name",content:A},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:title",content:v?.TwitterMetaTags?.Title||v?.DublinCoreMetaTags?.Title},{name:"twitter:description",content:v?.TwitterMetaTags?.Description||S.description},{name:"twitter:image",content:g(e,v?.TwitterMetaTags,P.path,x.coreData.mainMenu,k.pageElements)},{name:"twitter:url",content:`${e.siteUrl}${P.fullPath}`}],link:[{rel:"preload",as:"font",href:`${M}/fonts/Inter.var.woff2`,type:"font/woff2",crossorigin:!0},{rel:"preload",as:"font",href:`${M}/fonts/icomoon/icons.woff`,type:"font/woff",crossorigin:!0},{rel:"preconnect",href:M},{rel:"preconnect",href:"https://www.googletagmanager.com"},{rel:"preconnect",href:"https://securepubads.g.doubleclick.net"},{rel:"dns-prefetch",href:"https://gars.hit.gemius.pl"},{rel:"icon",type:"image/svg+xml",href:`/favicons/${e.portalId}/icon.svg`,sizes:"any"},{rel:"icon",type:"image/png",href:`/favicons/${e.portalId}/favicon-32x32.png`,sizes:"32x32"},{rel:"icon",type:"image/png",href:`/favicons/${e.portalId}/favicon-128x128.png`,sizes:"128x128"},{rel:"apple-touch-icon",type:"image/png",href:`/favicons/${e.portalId}/favicon-180x180.png`,sizes:"180x180"},{rel:"icon",type:"image/png",href:`/favicons/${e.portalId}/favicon-192x192.png`,sizes:"192x192"},{rel:"icon",type:"image/png",href:`/favicons/${e.portalId}/favicon-512x512.png`,sizes:"512x512"}],script:[]};if(k.schema&&x.virtualPageHits,e.rss?.handleRss){const{rssLinks:V}=e.rss;V.forEach(K=>{Q.link.push({rel:"alternate",type:"application/rss+xml",title:`RSS feed for ${K.title}`,href:K.href})})}let F=null;e.localUrl==="https://mondo.rs"?["/","/Sport","/Info","/Magazin"].includes(P.path)?F=[{rel:"alternate",hreflang:"sr-RS",href:`${e.localUrl}${P.path}`},{rel:"alternate",hreflang:"sr-BA",href:`https://mondo.ba${P.path}`},{rel:"alternate",hreflang:"sr-ME",href:`https://mondo.me${P.path}`},{rel:"alternate",hreflang:"x-default",href:`${e.localUrl}${P.path}`}]:P.path==="/Najnovije-vesti"?F=[{rel:"alternate",hreflang:"sr-RS",href:`${e.localUrl}${P.path}`},{rel:"alternate",hreflang:"sr-BA",href:"https://mondo.ba/Najnovije-vijesti/"},{rel:"alternate",hreflang:"sr-ME",href:"https://mondo.me/Naslovna/Najnovije-vesti/"},{rel:"alternate",hreflang:"x-default",href:`${e.localUrl}${P.path}`}]:F=[{rel:"alternate",hreflang:"sr-RS",href:`${e.localUrl}${P.path}`},{rel:"alternate",hreflang:"x-default",href:`${e.localUrl}${P.path}`}]:F={rel:"alternate",hreflang:me==="en"?"en":"sr",href:`${e.localUrl}${P.path}`},Array.isArray(F)?Q.link.push(...F):Q.link.push(F);const Y=b(P);if(Y&&Q.link.push(Y),I){const V=new Date(x.coreData?.siteSettings?.enableAmpDate);new Date(I.Document.PublishedDate.split("T")[0])>=V&&x.coreData?.siteSettings?.enableAmp&&e.ampDocumentAliases.find(Z=>I.Document.DocumentTypeAlias===Z)&&!P.path.match(new RegExp(e.comments.commentsRegex))&&!P.path.includes("/media/")&&Q.link.push({rel:"amphtml",href:y(P)})}e.localUrl==="https://storybook.hr"&&Q.meta.push({name:"google-site-verification",content:"jAq9LeqjrmEK6wH7W5OF
337laAHn3A2lM1H8jcntVKLDY"});const ie=[],ce=!!Te(I?.Document,"AutorskiTekst")?.Text;I&&ce&&(I.Document?.Authors?.forEach(V=>{V.Hidden||ie.push(`${V?.FirstName} ${V?.LastName||""}`)}),ie?.length&&(Q.meta.push({property:"wmg:authors",content:ie.join(",")}),Q.meta.push({property:"authors",content:ie.join(",")})));const de=Ke(k.pageElements,"children",V=>V.Type==="Article"||V.Type==="DependentHeadBox"&&(V.Properties.targetHeadBoxTemplate==="Main-3-News"||V.Properties.targetHeadBoxTemplate==="Main-5-News")||V.Type==="Headbox"&&V.Template==="Mega");if(de?.Type==="DependentHeadBox"){const V=Ke(k.pageElements,"children",K=>K.Template==="frozenMain-3Frozen-38")?.Documents?.[0];V&&Q.link.push(...E(V.PosterPhoto,e.portalImageSizes?.cardBsimple?.default))}else if(de?.Type==="Headbox"){const V=de.Documents?.[0]?.PosterPhoto;V&&Q.link.push(...E(V,e.portalImageSizes?.cardL?.default))}else if(de?.Type==="Article"){let V;switch(de.DocumentTypeAlias){default:V=de.Document.DocumentElements.find(K=>K.Name==="Big Image")?.Image,V||(V=de.Document.PosterPhoto),V&&Q.link.push(...E(V,e.portalImageSizes?.articleBigImage?.default));break}}return Q}return{provide:{getMetaData:D}}});function Ao(e,t){if(t){let n=null;return t.split("; ").forEach(o=>{const s=o.split("=");s[0]===e&&(n=s[1])}),n}}const lS=dt(e=>{const{config:t}=ye().public,{serverConfig:n}=ye();function o(){return{gigyaUserJwt:Ao("wmg-gigya-jwt",document.cookie)||null,gigyaUserId:Ao("wmg-gigya-uid",document.cookie)||null}}function s(d){const p=d;if(!p?.Elements)return{isError:!0};const _=p.Elements;return{article:Ke(_,"children",b=>b.Type==="Article"&&b.Template!=="Tags"&&b.Template!=="ArticleShare"),pageElements:_,contentMetaTags:p.ContentMetaTags,schema:p.Schema,pageType:p.PageType,isError:p.isError}}function r(d){try{const p=s(d),{isError:_}=p,g=e.$getMetaData(p.contentMetaTags,p.article,p);return Mn(g),{pageData:p,metaData:g,isError:_}}catch(p){console.log(p)}}async function a(d,p){if(d?.context?.isHttpError)return{isError:!0,httpStatus:d?.context?.isHttpError,pageData:{}};if(d?.context?.is404)return{isError:!0,httpStatus:404,pageData:{}};if(d?.context?.pageData){const y={isError:!1,httpStatus:200,pageData:{...d?.context?.pageData}};return delete d.context.pageData,y}const _=o(),g=await fetch(p,{headers:_});let b=null;try{b=await g.json()}catch{return{isError:!0,httpStatus:500,pageData:{}}}return b?.isError?{isError:!0,httpStatus:b?.errorStatus,pageData:{}}:{isError:!1,httpStatus:200,pageData:b}}async function l(d,p){if(d?.context?.isHttpError)return{isError:!0,httpStatus:d?.context?.isHttpError,tvData:{}};if(d?.context?.is404)return{isError:!0,httpStatus:404,tvData:{}};if(d?.context?.tvData){const y={isError:!1,httpStatus:200,tvData:{...d?.context?.tvData}};return delete d.context.tvData,y}const _=navigator.userAgent,g=await fetch(`${t.localUrl}${p}`,{headers:{"User-Agent":_}});let b=null;try{b=await g.json()}catch{return{isError:!0,httpStatus:500,tvData:{}}}return b?.isError?{isError:!0,httpStatus:b?.errorStatus,tvData:{}}:{isError:!1,httpStatus:200,tvData:b}}function c(d){if(d&&(d.startsWith(t.siteUrl)||d.startsWith(t.apiUrl))){const p=d.split("/");return p.splice(0,3),`/${p.join("/")}`}return d}function m(d){return d.DocumentTypeAlias==="ExternalArticle"?d.DocumentAttributes?.find(p=>p.Name==="External Document URL")?.Text:d.DocumentTypeAlias==="ContentAside"||d.DocumentTypeAlias==="SpecialBanner"||d.DocumentTypeAlias==="ShopProduct"?Te(d,"Link URL")?.Text:d?.WebUrl?c(d?.WebUrl):c(d?.Url)}return{provide:{getPageHeadlessData:a,getAmtvHeadlessData:l,createPage:r,createLocalUrl:c,getLink:m}}}),cS=dt(e=>{const t=Le(),n=Ye(),o=cn(),{config:s}=ye().public,{$snackbar:r,$t:a,$gigya:l,$bus:c}=e;function m(_){return Ao(_,document.cookie)}function d(){l.$openGigyaModal("Registration","gigya-reset-password-screen");const _=window.location.href,g=m("gigya-password-return-link"),b=_.substring(_.lastIndexOf("pwrt=")+5,_.lastIndexOf("#password-reset"));g===null?n.push(t.fullPath).catch(()=>{}):n.push(`${g}?apiKey=${s.gigya.apiKey}&pwrt=${b}#password-reset`).catch(()=>{})}function p(){if(t.hash==="#new-user"&&(t.query.errorCode==="403002"?r.$setToaster(a("snackbar.error.expiredActivationLink"),"error"):s.gigyaSettings?.useRegistrationSuccessModal?o.loadModal("ModalRegistrationSuccess"):r.$setToaster(a("snackbar.success.createdProfile"),"success")),t.fullPath.indexOf("sso.login")>-1){const _=m("gigya-return-url");_!==null&&n.push(`${_}`).catch(()=>{})}if(t.hash==="#return-url-registration"){const _=m("gigya-return-url");_===null?n.push(t.fullPath).catch(()=>{}):n.push(`${_}#return-url-registration`).catch(()=>{}
33),typeof window.gigya<"u"?l.$openGigyaModal("Registration","EmailRegistration"):c.$on("gigyaLoaded",()=>{c.$off("gigyaLoaded"),l.$openGigyaModal("Registration","EmailRegistration")})}t.hash==="#password-reset"&&(typeof window.gigya<"u"?d():c.$on("gigyaLoaded",()=>{c.$off("gigyaLoaded"),d()}))}return{provide:{gigyaActions:p}}});var rr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function nu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var tl={exports:{}},pf;function uS(){return pf||(pf=1,(function(e){console.info(` 34IFRAME-RESIZER 35 36Iframe-Resizer 5 is now available via the following two packages: 37 38 * @iframe-resizer/parent 39 * @iframe-resizer/child 40 41Additionally their are also new versions of iframe-resizer for React, Vue, and jQuery. 42 43Version 5 of iframe-resizer has been extensively rewritten to use modern browser APIs, which has enabled significantly better performance and greater accuracy in the detection of content resizing events. 44 45Please see https://iframe-resizer.com/upgrade for more details. 46`),(function(t){if(typeof window>"u")return;var n=0,o,s=!1,r=!1,a="message",l=a.length,c="[iFrameSizer]",m=c.length,d=null,p=window.requestAnimationFrame,_=Object.freeze({max:1,scroll:1,bodyScroll:1,documentElementScroll:1}),g={},b=null,y=Object.freeze({autoResize:!0,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!1,enablePublicMethods:!0,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,license:"1jqr0si6pnt",log:!1,maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,mouseEvents:!0,resizeFrom:"parent",scrolling:!1,sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,widthCalculationMethod:"scroll",onClose:function(){return!0},onClosed:function(){},onInit:function(){},onMessage:function(){x("onMessage function not defined")},onMouseEnter:function(){},onMouseLeave:function(){},onResized:function(){},onScroll:function(){return!0}});function C(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function E(U,J,ae){U.addEventListener(J,ae,!1)}function D(U,J,ae){U.removeEventListener(J,ae,!1)}function v(){var U=["moz","webkit","o","ms"],J;for(J=0;J<U.length&&!p;J+=1)p=window[U[J]+"RequestAnimationFrame"];p?p=p.bind(window):$("setup","RequestAnimationFrame not supported")}function I(U){var J="Host page: "+U;return window.top!==window.self&&(J=window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+U:"Nested host page: "+U),J}function k(U){return c+"["+I(U)+"]"}function S(U){return g[U]?g[U].log:s}function $(U,J){A("log",U,J,S(U))}function P(U,J){A("info",U,J,S(U))}function x(U,J){A("warn",U,J,!0)}function A(U,J,ae,re){re===!0&&typeof window.console=="object"&&console[U](k(J),ae)}function N(U){function J(){function Ie(){ie(rt),Q(ze),kt("onResized",rt)}ve("Height"),ve("Width"),ce(Ie,rt,"init")}function ae(){var Ie=Cn.slice(m).split(":"),Fe=Ie[1]?parseInt(Ie[1],10):0,ft=g[Ie[0]]&&g[Ie[0]].iframe,pt=getComputedStyle(ft);return{iframe:ft,id:Ie[0],height:Fe+re(pt)+ge(pt),width:Ie[2],type:Ie[3]}}function re(Ie){if(Ie.boxSizing!=="border-box")return 0;var Fe=Ie.paddingTop?parseInt(Ie.paddingTop,10):0,ft=Ie.paddingBottom?parseInt(Ie.paddingBottom,10):0;return Fe+ft}function ge(Ie){if(Ie.boxSizing!=="border-box")return 0;var Fe=Ie.borderTopWidth?parseInt(Ie.borderTopWidth,10):0,ft=Ie.borderBottomWidth?parseInt(Ie.borderBottomWidth,10):0;return Fe+ft}function ve(Ie){var Fe=Number(g[ze]["max"+Ie]),ft=Number(g[ze]["min"+Ie]),pt=Ie.toLowerCase(),Bt=Number(rt[pt]);$(ze,"Checking "+pt+" is in range "+ft+"-"+Fe),Bt<ft&&(Bt=ft,$(ze,"Set "+pt+" to min value")),Bt>Fe&&(Bt=Fe,$(ze,"Set "+pt+" to max value")),rt[pt]=""+Bt}function ke(){function Ie(){function pt(){var Kt=0,Xn=!1;for($(ze,"Checking connection is from allowed list of origins: "+ft);Kt<ft.length;Kt++)if(ft[Kt]===Fe){Xn=!0;break}return Xn}function Bt(){var Kt=g[ze]&&g[ze].remoteHost;return $(ze,"Checking connection is from: "+Kt),Fe===Kt}return ft.constructor===Array?pt():Bt()}var Fe=U.origin,ft=g[ze]&&g[ze].checkOrigin;if(ft&&""+Fe!="null"&&!Ie())throw new Error("Unexpected message received from: "+Fe+" for "+rt.iframe.id+". Message was: "+U.data+". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.");return!0}function be(){return c===(""+Cn).slice(0,m)&&Cn.slice(m).split(":")[0]in g}function Re(){var Ie=rt.type in{true:1,false:1,undefined:1};return Ie&&$(ze,"Ignoring init message from meta parent page"),Ie}function Ce(Ie){return Cn.slice(Cn.indexOf(":")+l+Ie)}function xe(Ie){$(ze,"onMessage passed: {iframe: "+rt.iframe.id+", message: "+Ie+"}"),kt("onMessage",{iframe:rt.iframe,message:JSON.parse(Ie)}),$(ze,"--")}function je(){var Ie=document.body.getBoundingClientRect(),Fe=rt.iframe.getBoundingClientRect();return JSON.stringify({iframeHeight:Fe.height,iframeWidth:Fe.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(Fe.top-Ie.top,10),offsetLeft:parseInt(Fe.left-Ie.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,documentHeight:document.documentElement.clientHeight,documentWidth:document.documentElement.clientWidth,windowHeight:window.innerHeight,windowWidth:window.innerWidth})}function We(Ie,Fe){function ft(){de("Send Page Info","pageInfo:"+je(),Ie,Fe)}W(ft,32,Fe)}function at(){function Ie(Bt,Kt){function Xn(){g[pt]?We(g[pt].iframe,pt):Fe()}["scroll","resize"].forEach(function(ku){$(pt,Bt+ku+" listener for sendPageInfo"),Kt(window,ku,Xn)})}function Fe(){Ie("Remove ",D)}function ft(){Ie("Add ",E)}var pt=ze;ft(),g[pt]&&(g[pt].stopPageInfo=Fe)}function ot(){g[ze]&&g[ze].stopPageInfo&&(g[ze].stopPageInfo(),delete g[ze].stopPageInfo)}function Lt(){var Ie=!0;return rt.iframe===null&&(x(ze,"IFrame ("+rt.id+") not found"),Ie=!1),Ie}function Pe(Ie){var Fe=Ie.getBoundingClientRect();return me(ze),{x:Math.floor(Number(Fe.left)+Number(d.x)),y:Math.floor(Number(Fe.top)+Number(d.y))}}function Ae(Ie){function Fe(){d=Kt,st(),$(ze,"--")}function ft(){return{x:Number(rt.width)+Bt.x,y:Number(rt.height)+Bt.y}}function pt(){window.parentIFrame?window.parentIFrame["scrollTo"+(Ie?"Offset":"")](Kt.x,Kt.y):x(ze,"Unable to scroll to requested position, window.parentIFrame not found")}var Bt=Ie?Pe(rt.iframe):{x:0,y:0},Kt=ft();$(ze,"Reposition requested from iFrame (offset x:"+Bt.x+" y:"+Bt.y+")"),window.top===window.self?Fe():pt()}function st(){kt("onScroll",d)===!1?F():Q(ze)}function bt(Ie){function Fe(){var Xn=Pe(Kt);$(ze,"Moving to in page link (#"+pt+") at x: "+Xn.x+" y: "+Xn.y),d={x:Xn.x,y:Xn.y},st(),$(ze,"--")}function ft(){window.parentIFrame?window.parentIFrame.moveToAnchor(pt):$(ze,"In page link #"+pt+" not found and window.parentIFrame not found")}var pt=Ie.split("#")[1]||"",Bt=decodeURIComponent(pt),Kt=document.getElementById(Bt)||document.getElementsByName(Bt)[0];Kt?Fe():window.top===window.self?$(ze,"In page link #"+pt+" not found"):ft()}function en(Ie){var Fe={};if(Number(rt.width)===0&&Number(rt.height)===0){var ft=Ce(9).split(":");Fe={x:ft[1],y:ft[0]}}else Fe={x:rt.width,y:rt.height};kt(Ie,{iframe:rt.iframe,screenX:Number(Fe.x),screenY:Number(Fe.y),type:rt.type})}function kt(Ie,Fe){return M(ze,Ie,Fe)}function Yt(){switch(g[ze]&&g[ze].firstRun&&xa(),rt.type){case"close"
46:{X(rt.iframe);break}case"message":{xe(Ce(6));break}case"mouseenter":{en("onMouseEnter");break}case"mouseleave":{en("onMouseLeave");break}case"autoResize":{g[ze].autoResize=JSON.parse(Ce(9));break}case"scrollTo":{Ae(!1);break}case"scrollToOffset":{Ae(!0);break}case"pageInfo":{We(g[ze]&&g[ze].iframe,ze),at();break}case"pageInfoStop":{ot();break}case"inPageLink":{bt(Ce(9));break}case"reset":{Y(rt);break}case"init":{J(),kt("onInit",rt.iframe);break}default:Number(rt.width)===0&&Number(rt.height)===0?x("Unsupported message received ("+rt.type+"), this is likely due to the iframe containing a later version of iframe-resizer than the parent page"):J()}}function is(Ie){var Fe=!0;return g[Ie]||(Fe=!1,x(rt.type+" No settings for "+Ie+". Message was: "+Cn)),Fe}function rs(){for(var Ie in g)de("iFrame requested init",V(Ie),g[Ie].iframe,Ie)}function xa(){g[ze]&&(g[ze].firstRun=!1)}var Cn=U.data,rt={},ze=null;Cn==="[iFrameResizerChild]Ready"?rs():be()?(rt=ae(),ze=rt.id,g[ze]&&(g[ze].loaded=!0),!Re()&&is(ze)&&($(ze,"Received: "+Cn),Lt()&&ke()&&Yt())):P(ze,"Ignored: "+Cn)}function M(U,J,ae){var re=null,ge=null;if(g[U])if(re=g[U][J],typeof re=="function")ge=re(ae);else throw new TypeError(J+" on iFrame["+U+"] is not a function");return ge}function ee(U){var J=U.id;delete g[J]}function X(U){var J=U.id;if(M(J,"onClose",J)===!1){$(J,"Close iframe cancelled by onClose event");return}$(J,"Removing iFrame: "+J);try{U.parentNode&&U.parentNode.removeChild(U)}catch(ae){x(ae)}M(J,"onClosed",J),$(J,"--"),ee(U),o&&(o.disconnect(),o=null)}function me(U){d===null&&(d={x:window.pageXOffset===t?document.documentElement.scrollLeft:window.pageXOffset,y:window.pageYOffset===t?document.documentElement.scrollTop:window.pageYOffset},$(U,"Get page position: "+d.x+","+d.y))}function Q(U){d!==null&&(window.scrollTo(d.x,d.y),$(U,"Set page position: "+d.x+","+d.y),F())}function F(){d=null}function Y(U){function J(){ie(U),de("reset","reset",U.iframe,U.id)}$(U.id,"Size reset requested by "+(U.type==="init"?"host page":"iFrame")),me(U.id),ce(J,U,"reset")}function ie(U){function J(ve){if(!U.id){$("undefined","messageData id not set");return}U.iframe.style[ve]=U[ve]+"px",$(U.id,"IFrame ("+ge+") "+ve+" set to "+U[ve]+"px")}function ae(ve){!r&&U[ve]==="0"&&(r=!0,$(ge,"Hidden iFrame detected, creating visibility listener"),le())}function re(ve){J(ve),ae(ve)}var ge=U.iframe.id;g[ge]&&(g[ge].sizeHeight&&re("height"),g[ge].sizeWidth&&re("width"))}function ce(U,J,ae){ae!==J.type&&p&&!window.jasmine?($(J.id,"Requesting animation frame"),p(U)):U()}function de(U,J,ae,re,ge){function ve(){var xe=g[re]&&g[re].targetOrigin;$(re,"["+U+"] Sending msg to iframe["+re+"] ("+J+") targetOrigin: "+xe),ae.contentWindow.postMessage(c+J,xe)}function ke(){x(re,"["+U+"] IFrame("+re+") not found")}function be(){ae&&"contentWindow"in ae&&ae.contentWindow!==null?ve():ke()}function Re(){function xe(){g[re]&&!g[re].loaded&&!Ce&&(Ce=!0,x(re,"IFrame has not responded within "+g[re].warningTimeout/1e3+" seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ignored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning."))}ge&&g[re]&&g[re].warningTimeout&&(g[re].msgTimeout=setTimeout(xe,g[re].warningTimeout))}var Ce=!1;re=re||ae.id,g[re]&&(be(),Re())}function V(U){return U+":"+g[U].bodyMarginV1+":"+g[U].sizeWidth+":"+g[U].log+":"+g[U].interval+":"+g[U].enablePublicMethods+":"+g[U].autoResize+":"+g[U].bodyMargin+":"+g[U].heightCalculationMethod+":"+g[U].bodyBackground+":"+g[U].bodyPadding+":"+g[U].tolerance+":"+g[U].inPageLinks+":"+g[U].resizeFrom+":"+g[U].widthCalculationMethod+":"+g[U].mouseEvents}function K(U){return typeof U=="number"}function Z(U,J){function ae(){function Ae(bt){var en=g[Pe][bt];en!==1/0&&en!==0&&(U.style[bt]=K(en)?en+"px":en,$(Pe,"Set "+bt+" = "+U.style[bt]))}function st(bt){if(g[Pe]["min"+bt]>g[Pe]["max"+bt])throw new Error("Value for min"+bt+" can not be greater than max"+bt)}st("Height"),st("Width"),Ae("maxHeight"),Ae("minHeight"),Ae("maxWidth"),Ae("minWidth")}function re(){var Ae=J&&J.id||y.id+n++;return document.getElementById(Ae)!==null&&(Ae+=n++),Ae}function ge(Ae){if(typeof Ae!="string")throw new TypeError("Invaild id for iFrame. Expected String");return Ae===""&&(U.id=Ae=re(),s=(J||{}).log,$(Ae,"Added missing iframe ID: "+Ae+" ("+U.src+")")),Ae}function ve(){switch($(Pe,"IFrame scrolling "+(g[Pe]&&g[Pe].scrolling?"enabled":"disabled")+" for "+Pe),U.style.overflow=(g[Pe]&&g[Pe].scrolling)===!1?"hidden":"auto",g[Pe]&&g[Pe].scrolling){case"omit":break;case!0:{U.scrolling="yes";break}case!1:{U.scrolling="no";break}default:U.scrolling=g[Pe]?g[Pe].scrolling:"no"}}function ke(){(typeof(g[Pe]&&g[Pe].bodyMargin)=="number"||(g[Pe]&&g[Pe].bodyMargin)==="0")&&(g[Pe].bodyMarginV1=g[Pe].bodyMargin,g[Pe].bodyMargin=""+g[Pe].bodyMargin+"px")}function be(){var Ae=g[Pe]&&g[Pe].firstRun,st=g[Pe]&&g[Pe].heightCalculationMethod in _;!Ae&&st&&Y({iframe:U,height:0,width:0,type:"init"})}function Re(){g[Pe]&&(g[Pe].iframe.iFrameResizer={close:X.bind(null,g[Pe].iframe),removeListeners:ee.bind(null,g[Pe].iframe),resize:de.bind(null,"Window resize","resize",g[Pe].iframe),moveToAnchor:function(Ae){de("Move to anchor","moveToAnchor:"+Ae,g[Pe].iframe,Pe)},sendMessage:function(Ae){Ae=JSON.stringify(Ae),de("Send Message","message:"+Ae,g[Pe].iframe,Pe)}})}function Ce(Ae){function st(){de("iFrame.onload",Ae,U,t,!0),be()}function bt(kt){if(!U.parentNode)return null;var Yt=new kt(function(is){is.forEach(function(rs){var xa=Array.prototype.slice.call(rs.removedNodes
46);xa.forEach(function(Cn){Cn===U&&X(U)})})});return Yt.observe(U.parentNode,{childList:!0}),Yt}var en=C();en&&(o=bt(en)),E(U,"load",st),de("init",Ae,U,t,!0)}function xe(Ae){if(typeof Ae!="object")throw new TypeError("Options is not an object")}function je(Ae){for(var st in y)Object.prototype.hasOwnProperty.call(y,st)&&(g[Pe][st]=Object.prototype.hasOwnProperty.call(Ae,st)?Ae[st]:y[st])}function We(Ae){return Ae===""||Ae.match(/^(about:blank|javascript:|file:\/\/)/)!==null?"*":Ae}function at(Ae){var st=Ae.split("Callback");if(st.length===2){var bt="on"+st[0].charAt(0).toUpperCase()+st[0].slice(1);this[bt]=this[Ae],delete this[Ae],x(Pe,"Deprecated: '"+Ae+"' has been renamed '"+bt+"'. The old method will be removed in the next major version.")}}function ot(Ae){Ae=Ae||{},g[Pe]=Object.create(null),g[Pe].iframe=U,g[Pe].firstRun=!0,g[Pe].remoteHost=U.src&&U.src.split("/").slice(0,3).join("/"),xe(Ae),Object.keys(Ae).forEach(at,Ae),je(Ae),g[Pe]&&(g[Pe].targetOrigin=g[Pe].checkOrigin===!0?We(g[Pe].remoteHost):"*")}function Lt(){return Pe in g&&"iFrameResizer"in U}var Pe=ge(U.id);Lt()?x(Pe,"Ignored iFrame, already setup."):(ot(J),ve(),ae(),ke(),Ce(V(Pe)),Re())}function q(U,J){b===null&&(b=setTimeout(function(){b=null,U()},J))}var fe={};function W(U,J,ae){fe[ae]||(fe[ae]=setTimeout(function(){fe[ae]=null,U()},J))}function le(){function U(){function ge(ve){function ke(Re){return(g[ve]&&g[ve].iframe.style[Re])==="0px"}function be(Re){return Re.offsetParent!==null}g[ve]&&be(g[ve].iframe)&&(ke("height")||ke("width"))&&de("Visibility change","resize",g[ve].iframe,ve)}Object.keys(g).forEach(function(ve){ge(ve)})}function J(ge){$("window","Mutation observed: "+ge[0].target+" "+ge[0].type),q(U,16)}function ae(){var ge=document.querySelector("body"),ve={attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0},ke=new re(J);ke.observe(ge,ve)}var re=C();re&&ae()}function he(U){function J(){Oe("Window "+U,"resize")}$("window","Trigger event: "+U),q(J,16)}function we(){function U(){Oe("Tab Visible","resize")}document.visibilityState!=="hidden"&&($("document","Trigger event: Visibility change"),q(U,16))}function Oe(U,J){function ae(re){return g[re]&&g[re].resizeFrom==="parent"&&g[re].autoResize&&!g[re].firstRun}Object.keys(g).forEach(function(re){ae(re)&&de(U,J,g[re].iframe,re)})}function nt(){E(window,"message",N),E(window,"resize",function(){he("resize")}),E(document,"visibilitychange",we),E(document,"-webkit-visibilitychange",we)}function B(){function U(re,ge){function ve(){if(ge.tagName){if(ge.tagName.toUpperCase()!=="IFRAME")throw new TypeError("Expected <IFRAME> tag, found <"+ge.tagName+">")}else throw new TypeError("Object is not a valid DOM element")}ge&&(ve(),Z(ge,re),ae.push(ge))}function J(re){re&&re.enablePublicMethods&&x("enablePublicMethods option has been removed, public methods are now always available in the iFrame")}var ae;return v(),nt(),function(ge,ve){switch(ae=[],J(ge),typeof ve){case"undefined":case"string":{Array.prototype.forEach.call(document.querySelectorAll(ve||"iframe"),U.bind(t,ge));break}case"object":{U(ge,ve);break}default:throw new TypeError("Unexpected data type ("+typeof ve+")")}return ae}}function H(U){U.fn?U.fn.iFrameResize||(U.fn.iFrameResize=function(ae){function re(ge,ve){Z(ve,ae)}return this.filter("iframe").each(re).end()}):P("","Unable to bind to jQuery, it is not fully loaded.")}window.jQuery!==t&&H(window.jQuery),e.exports=B(),window.iFrameResize=window.iFrameResize||B()})()})(tl)),tl.exports}var dS=uS();const fS=nu(dS),mS=dt(e=>{const{config:t}=ye().public;e.vueApp.directive("resize",{bind:(o,{value:s={}})=>{o.addEventListener("load",()=>fS(s,o))},unbind:o=>{o.iFrameResizer.removeListeners()}}),e.vueApp.use(l$,{cssFile:!1,position:"bottom-left",transition:"Vue-Toastification__fade",timeout:3600,closeOnClick:!1,pauseOnFocusLoss:!0,pauseOnHover:!0,draggable:!1,draggablePercent:.6,showCloseButtonOnHover:!1,hideProgressBar:!1,closeButton:"button",maxToasts:2,newestOnTop:!0});const n=t.facebookId;window.fbAsyncInit=function(){FB.init({appId:n,xfbml:!0,version:"v2.0"})},(function(o,s,r){setTimeout(()=>{let a,l=o.getElementsByTagName(s)[0];o.getElementById(r)||(a=o.createElement(s),a.id=r,a.async=!0,a.src="//connect.facebook.net/en_US/sdk.js",l.parentNode.insertBefore(a,l))},1e3)})(document,"script","facebook-jssdk")}),bn={addEventListeners(e,t,n){for(let o=0,s=t.length;o<s;o++)e.addEventListener(t[o],n,{passive:!1})},removeEventListeners(e,t,n){for(let o=0,s=t.length;o<s;o++)e.removeEventListener(t[o],n,{passive:!1})},emitEvent:function(e,t,n){if(e.componentInstance)e.componentInstance.$emit(t,n);else{let o=new window.CustomEvent(t,{detail:n});e.el.dispatchEvent(o)}}},Yl=["mousedown","touchstart"],Kl=["mousemove","touchmove"],Xl=["mouseup","touchend"],hf=function(e,t,n){let o=e,s=!0,r=window;typeof t.value=="boolean"?s=t.value:typeof t.value=="object"?(typeof t.value.target=="string"?(o=e.querySelector(t.value.target),o||console.error("There is no element with the current target value.")):typeof t.value.target<"u"&&console.error(`The parameter "target" should be either 'undefined' or 'string'.`),typeof t.value.container=="string"?(r=document.querySelector(t.value.container),r||console.error("There is no element with the current container value.")):typeof t.value.container<"u"&&console.error(`The parameter "container" should be be either 'undefined' or 'string'.`),typeof t.value.active=="boolean"?s=t.value.active:typeof t.value.active<"u"&&console.error(`The parameter "active" value should be either 'undefined', 'true' or 'false'.`)):typeof t.value<"u"&&console.error("The passed value should be either 'undefined', 'true' or 'false' or 'object'.");const a=function(c,m){r===window?window.scrollBy(c,m):(r.scrollLeft+=c,r.scrollTop+=m)},l=function(){let c,m,d,p=!1;o.md=function(_){const g=_ instanceof window.MouseEvent,b=g?_.pageX:_.touches[0].pageX,y=g?_.pageY:_.touches[0].pageY,C=document.elementFromPoint(b-window.pageXOffset,y-window.pageYOffset),E=t.arg==="nochilddrag",D=t.modifiers.noleft,v=t.modifiers.noright,I=t.modifiers.nomiddle,k=t.modifiers.noback,S=t.modifiers.noforward,$=t.arg==="firstchilddrag",P=C===o,x=C===o.firstChild,A=E?typeof C?.dataset.dragscroll<"u":typeof C?.dataset.noDragscroll>"u";if(!(!P&&(!A||$&&!x))&&!(_.button===0&&D)){if(_.button===1&&I||_.button===2&&v||_.button===3&&k||_.button===4&&S)return;d=1,c=g?_.clientX:_.touches[0].clientX,m=g?_.clientY:_.touches[0].clientY}},o.mu=function(_){d=0,p&&bn.emitEvent(n,"dragscrollend"),p=!1},o.mm=function(_){const g=_ instanceof window.MouseEvent;let b,y;if(d){_.preventDefault(),p||bn.emitEvent(n,"dragscrollstart"),p=!0;const C=o.scrollLeft+o.clientWidth>=o.scrollWidth||o.scrollLeft===0,E=o.scrollTop+o.clientHeight>=o.scrollHeight||o.scrollTop===0;b=-c+(c=g?_.clientX:_.touches[0].clientX),y=-m+(m=g?_.clientY:_.touches[0].clientY),t.modifiers.pass?(o.scrollLeft-=t.modifiers.y?-0:b,o.scrollTop-=t.modifiers.x?-0:y,o===document.body&&(o.scrollLeft-=t.modifiers.y?-0:b,o.scrollTop-=t.modifiers.x?-0:y),(C||t.modifiers.y)&&a(-b,0),(E||t.modifiers.x)&&a(0,-y)):(t.modifiers.x&&(y=-0),t.modifiers.y&&(b=-0),o.scrollLeft-=b,o.scrollTop-=y,o===document.body&&(o.scrollLeft-=b,o.scrollTop-=y)),bn.emitEvent(n,"dragscrollmove",{deltaX:-b,deltaY:-y})}},bn.addEventListeners(o,Yl,o.md),bn.addEventListeners(window,Xl,o.mu),bn.addEventListeners(window,Kl,o.mm)};s?document.readyState==="complete"?l():window.addEventListener("load",l):(bn.removeEventListeners(o,Yl,o.md),bn.removeEventListeners(window,Xl,o.mu),bn.removeEventListeners(window,Kl,o.mm))},pS=e=>{const t=e;bn.removeEventListeners(t,Yl,t.md),bn.removeEventListeners(window,Xl,t.mu),bn.removeEventListeners(window,Kl,t.mm)},cg={mounted:(e,t,n)=>hf(e,t,n),updated:(e,t,n)=>{JSON.stringify(t.value)!==JSON.stringify(t.oldValue)&&hf(e,t,n)},unmounted:e=>pS(e)};typeof window<"u"&&window.Vue&&(window.VueDragscroll=cg);var br={exports:{}},hS=br.exports,gf;function gS(){return gf||(gf=1,(function(e,t){(function(n,o){e.exports=o()})(hS,function(){var n="__v-click-outside",o=typeof window<"u",s=typeof navigator<"u",r=o&&("ontouchstart"in window||s&&navigator.msMaxTouchPoints>0)?["touchstart"]:["click"],a=function(d){var p=d.event,_=d.handler;(0,d.middleware)(p)&&_(p)},l=function(d,p){var _=(function(D){var v=typeof D=="function";if(!v&&typeof D!="object")throw new Error("v-click-outside: Binding value must be a function or an object");return{handler:v?D:D.handler,middleware:D.middleware||function(I){return I},events:D.events||r,isActive:D.isActive!==!1,detectIframe:D.detectIframe!==!1,capture:!!D.capture}}
46)(p.value),g=_.handler,b=_.middleware,y=_.detectIframe,C=_.capture;if(_.isActive){if(d[n]=_.events.map(function(D){return{event:D,srcTarget:document.documentElement,handler:function(v){return(function(I){var k=I.el,S=I.event,$=I.handler,P=I.middleware,x=S.path||S.composedPath&&S.composedPath();(x?x.indexOf(k)<0:!k.contains(S.target))&&a({event:S,handler:$,middleware:P})})({el:d,event:v,handler:g,middleware:b})},capture:C}}),y){var E={event:"blur",srcTarget:window,handler:function(D){return(function(v){var I=v.el,k=v.event,S=v.handler,$=v.middleware;setTimeout(function(){var P=document.activeElement;P&&P.tagName==="IFRAME"&&!I.contains(P)&&a({event:k,handler:S,middleware:$})},0)})({el:d,event:D,handler:g,middleware:b})},capture:C};d[n]=[].concat(d[n],[E])}d[n].forEach(function(D){var v=D.event,I=D.srcTarget,k=D.handler;return setTimeout(function(){d[n]&&I.addEventListener(v,k,C)},0)})}},c=function(d){(d[n]||[]).forEach(function(p){return p.srcTarget.removeEventListener(p.event,p.handler,p.capture)}),delete d[n]},m=o?{beforeMount:l,updated:function(d,p){var _=p.value,g=p.oldValue;JSON.stringify(_)!==JSON.stringify(g)&&(c(d),l(d,{value:_}))},unmounted:c}:{};return{install:function(d){d.directive("click-outside",m)},directive:m}})})(br)),br.exports}var _S=gS();const yS=nu(_S),vS=dt(e=>{e.vueApp.directive("dragscroll",cg),e.vueApp.use(yS)});function bS(e,t){switch(e.Type==="TextEditor"&&e.Text?.includes("telegram.org/js/telegram-widget.js")?"TelegramEmbed":e.Type){case"RelatedNews":return e.RelatedNewsTemplate==="Shop-Product-List"?oe(()=>ne(()=>Promise.resolve().then(()=>yM),void 0,import.meta.url)):e.RelatedNewsTemplate==="Shop-Widget-RTE"?oe(()=>ne(()=>Promise.resolve().then(()=>JM),void 0,import.meta.url)):e.RelatedNewsTemplate==="Brand-Ticker"&&t==="Storytelling2.0"?oe(()=>ne(()=>Promise.resolve().then(()=>dN),void 0,import.meta.url)):oe(()=>ne(()=>Promise.resolve().then(()=>ON),void 0,import.meta.url));case"TextEditor":return oe(()=>ne(()=>Promise.resolve().then(()=>BN),void 0,import.meta.url));case"TextLine":return oe(()=>ne(()=>Promise.resolve().then(()=>qN),void 0,import.meta.url));case"FactBoxStandard":return oe(()=>ne(()=>Promise.resolve().then(()=>Vf),void 0,import.meta.url));case"FactBoxAntrfile":return oe(()=>ne(()=>Promise.resolve().then(()=>Vf),void 0,import.meta.url));case"FactBoxQuotes":return oe(()=>ne(()=>Promise.resolve().then(()=>eB),void 0,import.meta.url));case"Image":return e.Name==="Content"||e.Name==="HowTo"||e.Name==="DevelopingStory"||e.Name==="StaticContent"||e.Name==="Uvodni sadrzaj"||e.Name==="RecipeSteps"?oe(()=>ne(()=>Promise.resolve().then(()=>rB),void 0,import.meta.url)):oe(()=>ne(()=>Promise.resolve().then(()=>di),void 0,import.meta.url));case"FacebookEmbed":return oe(()=>ne(()=>Promise.resolve().then(()=>pB),void 0,import.meta.url));case"InstagramEmbed":return oe(()=>ne(()=>Promise.resolve().then(()=>Js),void 0,import.meta.url));case"TwitterEmbed":return oe(()=>ne(()=>Promise.resolve().then(()=>Js),void 0,import.meta.url));case"TikTokEmbed":return oe(()=>ne(()=>Promise.resolve().then(()=>Js),void 0,import.meta.url));case"PinterestEmbed":return oe(()=>ne(()=>Promise.resolve().then(()=>Js),void 0,import.meta.url));case"TelegramEmbed":return oe(()=>ne(()=>Promise.resolve().then(()=>Js),void 0,import.meta.url));case"Video":return t==="Storytelling2.0"&&e.Name==="Hero Video"?oe(()=>ne(()=>Promise.resolve().then(()=>di),void 0,import.meta.url)):oe(()=>ne(()=>Promise.resolve().then(()=>KA),void 0,import.meta.url));case"PhotoGallery":return oe(t==="Storytelling2.0"?()=>ne(()=>Promise.resolve().then(()=>LB),void 0,import.meta.url):()=>ne(()=>Promise.resolve().then(()=>sU),void 0,import.meta.url));case"Poll":return oe(()=>ne(()=>Promise.resolve().then(()=>cE),void 0,import.meta.url));case"BinaryFile":return oe(()=>ne(()=>Promise.resolve().then(()=>uU),void 0,import.meta.url));case"DocumentPageBreak":return oe(()=>ne(()=>Promise.resolve().then(()=>gU),void 0,import.meta.url));case"IndexPageElement":return oe(()=>ne(()=>Promise.resolve().then(()=>$U),void 0,import.meta.url));case"StoryUpdate":return oe(()=>ne(()=>Promise.resolve().then(()=>RU),void 0,import.meta.url));case"Quiz":return oe(()=>ne(()=>Promise.resolve().then(()=>b8),void 0,import.meta.url));default:return oe(()=>ne(()=>Promise.resolve().then(()=>di),void 0,import.meta.url))}}function wS(e){switch(e.Document.DocumentTypeAlias){case"DevelopingStory":return oe(()=>ne(()=>Promise.resolve().then(()=>Wg),void 0,import.meta.url));case"StaticPages":return oe(()=>ne(()=>Promise.resolve().then(()=>Gg),void 0,import.meta.url));case"Newsletter":return oe(()=>ne(()=>Promise.resolve().then(()=>i_),void 0,import.meta.url));default:return oe(()=>ne(()=>Promise.resolve().then(()=>Fg),void 0,import.meta.url))}}function Ql(e){switch(e){case"Breaking-News":return oe(()=>ne(()=>Promise.resolve().then(()=>j8),void 0,import.meta.url));case"Breaking-News-Mini":return oe(()=>ne(()=>Promise.resolve().then(()=>q8),void 0,import.meta.url));case"Breaking-News-Mega":return oe(()=>ne(()=>Promise.resolve().then(()=>pj),void 0,import.meta.url));case"Breaking-News-Mega-Duo":return oe(()=>ne(()=>Promise.resolve().then(()=>Rj),void 0,import.meta.url));case"Mega":return oe(()=>ne(()=>Promise.resolve().then(()=>O3),void 0,import.meta.url));case"Main-3-News":return oe(()=>ne(()=>Promise.resolve().then(()=>p4),void 0,import.meta.url));case"Main-5-News":return oe(()=>ne(()=>Promise.resolve().then(()=>C4),void 0,import.meta.url));case"1-big-2-small":return oe(()=>ne(()=>Promise.resolve().then(()=>ac),void 0,import.meta.url));case"Content-Aside":return oe(()=>ne(()=>Promise.resolve().then(()=>Z4),void 0,import.meta.url));case"Shop-Headbox":return oe(()=>ne(()=>Promise.resolve().then(()=>sV),void 0,import.meta.url));case"Additional-Feed":return oe(()=>ne(()=>Promise.resolve().then(()=>wV),void 0,import.meta.url));case"frozenMain-3Frozen-30":case"frozenMain-3Frozen-38":case"frozenVariableMain1-Min8Max12":case"frozenVariableMain3-Min14Max20":case"frozenVariableMain3-Min3Max15":case"frozenVariableMain1-Min10Max25":case"frozenVariableMain1-Min1Max15":case"frozenVariableMain1-1-Min14Max20":case"frozenVariableMain1-3-Min14Max20":case"frozenVariableMain1-Min14Max20":return oe(()=>ne(()=>Promise.resolve().then(()=>di),void 0,import.meta.url));case"Single-Column-News":return oe(()=>ne(()=>Promise.resolve().then(()=>DV),void 0,import.meta.url));case"External-Price-Comparison-Widget":return oe(()=>ne(()=>Promise.resolve().then(()=>JV),void 0,import.meta.url));case"External-Reviews-Widget":return oe(()=>ne(()=>Promise.resolve().then(()=>hH),void 0,import.meta.url));case"External-Blogs-Widget":return oe(()=>ne(()=>Promise.resolve().then(()=>ac),void 0,import.meta.url));case"External-Blogs-Widget-Kurir":return oe(()=>ne(()=>Promise.resolve().then(()=>u_),void 0,import.meta.url));case"External-Single-Column-News":return oe(()=>ne(()=>Promise.resolve().then(()=>d_),void 0,import.meta.url));case"Newsletters-Widget":return oe(()=>ne(()=>Promise.resolve().then(()=>bz),void 0,import.meta.url));case"frozenB-List":return oe(()=>ne(()=>Promise.resolve().then(()=>m_),void 0,import.meta.url));case"frozenB-Plus-C-List":return oe(()=>ne(()=>Promise.resolve().then(()=>p_),void 0,import.meta.url));case"frozenB-Plus-C-List-Into-Grid":return oe(()=>ne(()=>Promise.resolve().then(()=>h_),void 0,import.meta.url));case"frozenB-Into-C-List":return oe(()=>ne(()=>Promise.resolve().then(()=>g_),void 0,import.meta.url));case"frozenC-List":return oe(()=>ne(()=>Promise.resolve().then(()=>__),void 0,import.meta.url));case"BCC-List":return oe(()=>ne(()=>Promise.resolve().then(()=>y_),void 0,import.meta.url));case"Alfanum-Widget":return oe(()=>ne(()=>Promise.resolve().then(()=>c6),void 0,import.meta.url));case"Topics":return oe(()=>ne(()=>Promise.resolve().then(()=>_6),void 0,import.meta.url));case"Print-Page":return oe(()=>ne(()=>Promise.resolve().then(()=>k6),void 0,import.meta.url));case"Print-Page-Single":return oe(()=>ne(()=>Promise.resolve().then(()=>P6),void 0,import.meta.url));case"Horoscope-Sidebar-Slider":return oe(()=>ne(()=>Promise.resolve().then(()=>G6),void 0,import.meta.url));default:return oe(()=>ne(()=>Promise.resolve().then(()=>Cs),void 0,import.meta.url))}}function ug(e,t=!1){let n;switch(t?n=e:n=e.Type,n){case"AsyncPagePosition":return oe(()=>ne(()=>Promise.resolve().then(()=>Q6),void 0,import.meta.url));case"AsyncPageElement":return oe(()=>ne(()=>Promise.resolve().then(()=>tF),void 0,import.meta.url));case"AsyncOnClickComponent":return oe(()=>ne(()=>Promise.resolve().then(()=>iF),void 0,import.meta.url));case"HeadlessSection":case"HeadlessStartSection":return e.Properties?.ContentElementType?ug(e.Properties.ContentElementType,!0):oe(()=>ne(()=>Promise.resolve().then(()=>aF),void 0,import.meta.url));case"CoreContentList":case"ContentList":switch(e.Template){case"News-List-ACL":return oe(()=>ne(()=>Promise.resolve().then(()=>fF),void 0,import.meta.url));case"B-Into-C-List-ACL":return oe(()=>ne(()=>Promise.resolve().then(()=>g_),void 0,import.meta.url));case"B-List-ACL":return oe(()=>ne(()=>Promise.resolve().then(()=>m_),void 0,import.meta.url));case"C-List":return oe(()=>ne(()=>Promise.resolve().then(()=>__),void 0,import.meta.url));case"B-Plus-C-List-ACL":return oe(()=>ne(()=>Promise.resolve().then(()=>p_),void 0,import.meta.url));case"B-Plus-C-List-Into-Grid-ACL":return oe(()=>ne(()=>Promise.resolve().then(()=>h_),void 0,import.meta.url));case"BCC-List-ACL":return oe(()=>ne(()=>Promise.resolve().then(()=>y_),void 0,import.meta.url));case"Latest-News-ACL":return oe(()=>ne(()=>Promise.resolve().then(()=>_F),void 0,import.meta.url));case"Most-Comments-ACL":case"Most-Comments":return oe(()=>ne(()=>Promise.resolve().then(()=>kF),void 0,import.meta.url));case"Most-Read-ACL":return oe(()=>ne(()=>Promise.resolve().then(()=>CF),void 0,import.meta.url));case"Archive":return oe(()=>ne(()=>Promise.resolve().then(()=>OF),void 0,import.meta.url));case"Archive-Author":return oe(()=>ne(()=>Promise.resolve().then(()=>Gf),void 0,import.meta.url));case"Latest-News-48-H":case"C-List-No-Engagement":return oe(()=>ne(()=>Promise.resolve().then(()=>XF),void 0,import.meta.url));case"SubCategory-List":return oe(()=>ne(()=>Promise.resolve().then(()=>t5),void 0,import.meta.url));case"Category-List":return oe(()=>ne(()=>Promise.resolve().then(()=>a5),void 0,import.meta.url));case"External-Blogs-Widget":return oe(()=>ne(()=>Promise.resolve().then(()=>ac),void 0,import.meta.url));case"External-Blogs-Widget-Kurir":return oe(()=>ne(()=>Promise.resolve().then(()=>u_),void 0,import.meta.url));case"External-Single-Column-News":return oe(()=>ne(()=>Promise.resolve().then(()=>d_),void 0,import.meta.url));case"Profile-Newsletters":return oe(()=>ne(()=>Promise.resolve().then(()=>m5),void 0,import.meta.url));case"Newsletters":return oe(()=>ne(()=>Promise.resolve().then(()=>D5),void 0,import.meta.url));case"News-List-1x-No-Spacing":return oe(()=>ne(()=>Promise.resolve().then(()=>I5),void 0,import.meta.url));case"Tag-Description":return oe(()=>ne(()=>Promise.resolve().then(()=>z5),void 0,import.meta.url));case"Author-Profile":return oe(()=>ne(()=>Promise.resolve().then(()=>kW),void 0,import.meta.url));case"Portrait-Video-Swipe-List":return oe(()=>ne(()=>Promise.resolve().then(()=>NW),void 0,import.meta.url));default:return oe(()=>ne(()=>Promise.resolve().then(()=>Gf),void 0,import.meta.url))}case"Headbox":return e.Properties?.["Target Headbox Template"]?Ql(e.Properties?.["Target Headbox Template"]):Ql(e.Template);case"ManualMenuItemList":switch(e.Template){case"Topics":return oe(()=>ne(()=>Promise.resolve().then(()=>WW),void 0,import.meta.url));case"LatestNewsCategories":return oe(()=>ne(()=>Promise.resolve().then(()=>di),void 0,import.meta.url));case"SocialChannelsBlock":return oe(()=>ne(()=>Promise.resolve().then(()=>oG),void 0,import.meta.url));case"ArticleCommunities":return oe(()=>ne(()=>Promise.resolve().then(()=>kG),void 0,import.meta.url));case"HoroscopeMenu":return oe(()=>ne(()=>Promise.resolve().then(()=>CG),void 0,import.meta.url));default:return oe(()=>ne(()=>Promise.resolve().then(()=>Cs),void 0,import.meta.url))}case"PollutionModule":switch(e.Template){case"Pollution-Page":return oe(()=>ne(()=>Promise.resolve().then(()=>GG),void 0,import.meta.url));case"Pollution-Page-Details":return oe(()=>ne(()=>Promise.resolve().then(()=>W7),void 0,import.meta.url));case"Pollution-Sidebar-Widget":return oe(()=>ne(()=>Promise.resolve().then(()=>nq),void 0,import.meta.url));default:return oe(()=>ne(()=>Promise.resolve().then(()=>Cs),void 0,import.meta.url))}case"Article":switch(e.Document.DocumentTypeAlias){case"DevelopingStory":return oe(()=>ne(()=>Promise.resolve().then(()=>Wg),void 0,import.meta.url));case"StaticPages":return oe(()=>ne(()=>Promise.resolve().then(()=>Gg),void 0,import.meta.url));case"Newsletter":return oe(()=>ne(()=>Promise.resolve().then(()=>i_),void 0,import.meta.url));case"Horoscope":return oe(()=>ne(()=>Promise.resolve().then(()=>dq),void 0,import.meta.url));default:return oe(()=>ne(()=>Promise.resolve().then(()=>Fg),void 0,import.meta.url))}case"ArticleTags":return oe(()=>ne(()=>Promise.resolve().then(()=>_q),void 0,import.meta.url));case"ArticleShare":return oe(()=>ne(()=>Promise.resolve().then(()=>EI),void 0,import.meta.url));case"HtmlText":return oe(()=>ne(()=>Promise.resolve().then(()=>wq),void 0,import.meta.url));case"Midas":return oe(()=>ne(()=>Promise.resolve().then(()=>$q),void 0,import.meta.url));case"MidasScriptPreload":return oe(()=>ne(()=>Promise.resolve().then(()=>Dq),void 0,import.meta.url));case"Kurir":return oe(()=>ne(()=>Promise.resolve().then(()=>xq),void 0,import.meta.url));case"SasomangeWidget":return oe(()=>ne(()=>Promise.resolve().then(()=>Rq),void 0,import.meta.url));case"NetHr":return oe(()=>ne(()=>Promise.resolve().then(()=>Nq),void 0,import.meta.url));case"NetHrXML":return oe(()=>ne(()=>Promise.resolve().then(()=>Xq),void 0,import.meta.url));case"PreporukeExternalWidget":return oe(()=>ne(()=>Promise.resolve().then(()=>t9),void 0,import.meta.url));case"GameHeader":return oe(()=>ne(()=>Promise.resolve().then(()=>m9),void 0,import.meta.url));case"Crosswords":return oe(()=>ne(()=>Promise.resolve().then(()=>B9),void 0,import.meta.url));case"Sudoku":return oe(()=>ne(()=>Promise.resolve().then(()=>cY),void 0,import.meta.url));case"GameWidget":return oe(()=>ne(()=>Promise.resolve().then(()=>EY),void 0,import.meta.url));case"SpecialBanner":return oe(()=>ne(()=>Promise.resolve().then(()=>qY),void 0,import.meta.url));case"ContentAsideFullWidth":return oe(()=>ne(()=>Promise.resolve().then(()=>fK),void 0,import.meta.url));case"ElasticSearchResult":return oe(()=>ne(()=>Promise.resolve().then(()=>BK),void 0,import.meta.url));case"UserProfile":return oe(()=>ne(()=>Promise.resolve().then(()=>UX),void 0,import.meta.url));case"DependentHeadBox":return oe(()=>ne(()=>Promise.resolve().then(()=>HX),void 0,import.meta.url));case"Archive":return oe(()=>ne(()=>Promise.resolve().then(()=>rQ),void 0,import.meta.url));case"StickyScrollContainer":return oe(()=>ne(()=>Promise.resolve().then(()=>cQ),void 0,import.meta.url));case"AdvancedStickyScrollContainer":return oe(()=>ne(()=>Promise.resolve().then(()=>fQ),void 0,import.meta.url));case"ScrollReference":return oe(()=>ne(()=>Promise.resolve().then(()=>hQ),void 0,import.meta.url));case"StickyContent":return oe(()=>ne(()=>Promise.resolve().then(()=>_Q),void 0,import.meta.url));case"Subcategory":return oe(()=>ne(()=>Promise.resolve().then(()=>$Q),void 0,import.meta.url));case"CategoryTitle":return oe(()=>ne(()=>Promise.resolve().then(()=>PQ),void 0,import.meta.url));case"SubcategoryTitle":return oe(()=>ne(()=>Promise.resolve().then(()=>AQ),void 0,import.meta.url));case"DfpBanner":return oe(()=>ne(()=>Promise.resolve().then(()=>MD),void 0,import.meta.url));case"DfpOOP":return oe(()=>ne(()=>Promise.resolve().then(()=>bU),void 0,import.meta.url));case"Author":return null;case"Comment":return oe(()=>ne(()=>Promise.resolve().then(()=>LJ),void 0,import.meta.url));case"AllComments":return oe(()=>ne(()=>Promise.resolve().then(()=>wu),void 0,import.meta.url));case"PersonalityQuiz":return oe(()=>ne(()=>Promise.resolve().then(()=>e8),void 0,import.meta.url));case"KnowledgeQuiz":return oe(()=>ne(()=>Promise.resolve().then(()=>g8),void 0,import.meta.url));case"DfpWallpaper":return null;case"LyticsRecommender":return oe(()=>ne(()=>Promise.r
46esolve().then(()=>wZ),void 0,import.meta.url));case"FullWidthTitle":return oe(()=>ne(()=>Promise.resolve().then(()=>SZ),void 0,import.meta.url));case"ColumnistHeader":return oe(()=>ne(()=>Promise.resolve().then(()=>AZ),void 0,import.meta.url));case"PerseusFeed":return oe(()=>ne(()=>Promise.resolve().then(()=>ZZ),void 0,import.meta.url));case"PerseusStoryScript":return oe(()=>ne(()=>Promise.resolve().then(()=>tee),void 0,import.meta.url));case"PasswordReset":return oe(()=>ne(()=>Promise.resolve().then(()=>see),void 0,import.meta.url));case"AppDownloadTeaser":return oe(()=>ne(()=>Promise.resolve().then(()=>vee),void 0,import.meta.url));case"PreviousNextDocument":return oe(()=>ne(()=>Promise.resolve().then(()=>See),void 0,import.meta.url));case"TabbedContent":return oe(()=>ne(()=>Promise.resolve().then(()=>Aee),void 0,import.meta.url));case"LatestNewsTitle":return oe(()=>ne(()=>Promise.resolve().then(()=>Hee),void 0,import.meta.url));case"ArticleFacebookLike":return oe(()=>ne(()=>Promise.resolve().then(()=>qee),void 0,import.meta.url));case"gscPagination":return oe(()=>ne(()=>Promise.resolve().then(()=>Kee),void 0,import.meta.url));case"ExternalRestWidget":return oe(()=>ne(()=>Promise.resolve().then(()=>Qee),void 0,import.meta.url));case"ImageLink":return oe(()=>ne(()=>Promise.resolve().then(()=>tte),void 0,import.meta.url));case"Cenoteka":return oe(()=>ne(()=>Promise.resolve().then(()=>ote),void 0,import.meta.url));default:return oe(()=>ne(()=>Promise.resolve().then(()=>Cs),void 0,import.meta.url))}}function kS(e){switch(e?.Document?.DocumentTypeAlias){case"Horoscope":return oe(()=>ne(()=>Promise.resolve().then(()=>Yg),void 0,import.meta.url));case"Newsletter":return oe(()=>ne(()=>Promise.resolve().then(()=>Zg),void 0,import.meta.url));case"Storytelling2.0":return oe(()=>ne(()=>Promise.resolve().then(()=>e_),void 0,import.meta.url));default:return oe(()=>ne(()=>Promise.resolve().then(()=>qg),void 0,import.meta.url))}}function TS(e){switch(e){case"News-List-1x-No-Spacing":return oe(()=>ne(()=>Promise.resolve().then(()=>dte),void 0,import.meta.url));case"Print Page":return oe(()=>ne(()=>Promise.resolve().then(()=>gte),void 0,import.meta.url));default:return oe(()=>ne(()=>Promise.resolve().then(()=>Cs),void 0,import.meta.url))}}const $S=dt(e=>({provide:{factoryArticleElement:bS,factoryArticleTemplate:wS,factoryComponent:ug,factoryHeadBox:Ql,factoryStoryLayout:kS,factorySkeleton:TS}})),SS=dt(()=>{const e=(n,o,s)=>{const{config:r}=ye().public,a=s||o?"background-category-color":"category-color";return r.customSections?Object.fromEntries(r.customSections.map(c=>[c.toLowerCase(),`${a}-${c.toLowerCase()}`]))[n]||(s?"background-category-color-default":""):""};return{provide:{getColorByCategory:(n,o=!1)=>{const{config:s}=ye().public;if(s.hasCustomSectionsLabels){const r=$e(),{mainMenu:a,additionalColoredItems:l}=r.coreData,c=[...a||[],...l||[]],m=parseInt(n,10),d=c?.find(p=>p.MenuItemId===m);if(d){const p=d.Properties?.category,_=d.Properties?.cardLabelAltStyle;return p?e(p,_,o):""}if(!d&&o)return"background-category-color-default"}return""}}}}),DS=dt(()=>{const{config:e}=ye().public,t=$e();if(e.perseusId){window.addEventListener("PerseusScriptLoaded",function(){t.setPerseusLoaded()});const n=document.getElementsByTagName("script")[0];if(document.getElementById("perseus-script"))return;const o=document.createElement("script");o.id="perseus-script",o.async=!0,o.src=`https://perseus.midas-network.com/Scripts/perseus-${e.perseusId}.js`,o.type="text/javascript",n.parentNode.insertBefore(o,n)}}),CS=[k1,C1,K0,Q0,J0,Z0,tk,Rk,Ok,Mk,Qk,dT,c$,u$,p$,g$,_$,x$,I$,E$,L$,aS,lS,cS,mS,vS,$S,SS,DS],PS=At({name:"NuxtRouteAnnouncer",props:{atomic:{type:Boolean,default:!1},politeness:{type:String,default:"polite"}},setup(e,{slots:t,expose:n}){const{set:o,polite:s,assertive:r,message:a,politeness:l}=Pk({politeness:e.politeness});return n({set:o,polite:s,assertive:r,message:a,politeness:l}),()=>ht("span",{class:"nuxt-route-announcer",style:{position:"absolute"}},ht("span",{role:"alert","aria-live":l.value,"aria-atomic":e.atomic,style:{border:"0",clip:"rect(0 0 0 0)","clip-path":"inset(50%)",height:"1px",width:"1px",overflow:"hidden",position:"absolute","white-space":"nowrap","word-wrap":"normal",margin:"-1px",padding:"0"}},t.default?t.default({message:a.value}):a.value))}}),dg=(e="RouteProvider")=>At({name:e,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(t){const n=t.renderKey,o=t.route,s={};for(const r in t.route)Object.defineProperty(s,r,{get:()=>n===t.renderKey?t.route[r]:o[r],enumerable:!0});return so(Yn,zn(s)),()=>t.vnode?ht(t.vnode,{ref:t.vnodeRef}):t.vnode}}),xS=dg(),_f=new WeakMap,fg=At({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:o}
46){const s=ue(),r=L(),a=Pt(Yn,null);let l;o({pageRef:r});const c=Pt(Gp,null);let m;const d=s.deferHydration();if(s.isHydrating){const _=s.hooks.hookOnce("app:error",d);Ye().beforeEach(_)}e.pageKey&&qe(()=>e.pageKey,(_,g)=>{_!==g&&s.callHook("page:loading:start")});let p=!1;{const _=Ye().beforeResolve(()=>{p=!1});Xe(()=>{_()})}return()=>ht(ph,{name:e.name,route:e.route,...t},{default:_=>{const g=ES(a,_.route,_.Component),b=a&&a.matched.length===_.route.matched.length;if(!_.Component){if(m&&!b)return m;d();return}if(m&&c&&!c.isCurrent(_.route))return m;if(g&&a&&(!c||c?.isCurrent(a)))return b?m:null;const y=Bl(_,e.pageKey),C=AS(a,_.route,_.Component);!s.isHydrating&&l===y&&!C&&Rt(()=>{p=!0,s.callHook("page:loading:end")}),l=y;const E=!!(e.transition??_.route.meta.pageTransition??fd),D=E&&IS([e.transition,_.route.meta.pageTransition,fd,{onAfterLeave(){delete s._runningTransition,s.callHook("page:transition:finish",_.Component)}}]),v=e.keepalive??_.route.meta.keepalive??hw;return m=gh(E&&D,R0(v,ht(la,{suspensible:!0,onPending:()=>{E&&(s._runningTransition=!0),s.callHook("page:start",_.Component)}
46,onResolve:()=>{Rt(()=>s.callHook("page:finish",_.Component).then(()=>{if(delete s._runningTransition,!p&&!C)return p=!0,s.callHook("page:loading:end")}).finally(d))}},{default:()=>{const I={key:y||void 0,vnode:n.default?LS(n.default,_):_.Component,route:_.route,renderKey:y||void 0,trackRootNodes:E,vnodeRef:r};if(!v)return ht(xS,I);const k=_.Component.type,S=k;let $=_f.get(S);return $||($=dg(k.name||k.__name),_f.set(S,$)),ht($,I)}}))).default(),m}})}});function IS(e){const t=[];for(const n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?Wc(n.onAfterLeave):void 0});return Fp(...t)}function ES(e,t,n){if(!e)return!1;const o=t.matched.findIndex(s=>s.components?.default===n?.type);return!o||o===-1?!1:t.matched.slice(0,o).some((s,r)=>s.components?.default!==e.matched[r]?.components?.default)||n&&Bl({route:t,Component:n})!==Bl({route:e,Component:n})}function AS(e,t,n){return e?t.matched.findIndex(s=>s.components?.default===n?.type)<t.matched.length-1:!1}function LS(e,t){const n=e(t);return n.length===1?ht(n[0]):ht(G,void 0,n)}const RS=At({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>ht(Po[e.name],e.layoutProps,t.slots)}}),OS={name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},MS=At({name:"NuxtLayout",inheritAttrs:!1,props:OS,setup(e,t){const n=ue(),o=Pt(Yn),r=!o||o===Le()?hh():o,a=se(()=>{let d=i(e.name)??r?.meta.layout??"default";return d&&!(d in Po)&&e.fallback&&(d=i(e.fallback)),d}),l=Jt();t.expose({layoutRef:l});const c=n.deferHydration();if(n.isHydrating){const d=n.hooks.hookOnce("app:error",c);Ye().beforeEach(d)}let m;return()=>{const d=a.value&&a.value in Po,p=r?.meta.layoutTransition??pw,_=m;return m=a.value,gh(d&&p,{default:()=>ht(la,{suspensible:!0,onResolve:()=>{Rt(c)}},{default:()=>ht(NS,{layoutProps:ts(t.attrs,{ref:l}),key:a.value||void 0,name:a.value,shouldProvide:!e.name,isRenderingNewLayout:g=>g!==_&&g===a.value,hasTransition:!!p},t.slots)})}).default()}}}),NS=At({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean},isRenderingNewLayout:{type:Function,required:!0}},setup(e,t){const n=e.name;e.shouldProvide&&so(Gp,{isCurrent:r=>n===(r.meta.layout??"default")});const o=Pt(Yn);if(o&&o===Le()){const r=hh(),a={};for(const l in r){const c=l;Object.defineProperty(a,c,{enumerable:!0,get:()=>e.isRenderingNewLayout(e.name)?r[c]:o[c]})}so(Yn,zn(a))}return()=>!n||typeof n=="string"&&!(n in Po)?t.slots.default?.():ht(RS,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}),te=(e,t)=>{const n=e.__vccOpts||e;for(const[o,s]of t)n[o]=s;return n},BS=Gc(PS),US={};function jS(e,t){const n=BS,o=fg,s=MS;return u(),O(s,null,{default:z(()=>[R(n),R(o)]),_:1})}const VS=te(US,[["render",jS]]),Ws=Hs("loader",()=>{const e=L(!1);function t(){e.value=!0}function n(){e.value=!1}return{loaderVisible:e,showLoader:t,hideLoader:n}});function wo(e,t,n,o,s){const r={version:1.1,level:e,host:t,short_message:n,full_message:o,timestamp:new Date().getTime()/1e3};return s&&Object.keys(s).forEach(a=>{let l=a;a.indexOf("_")!==0&&(l=`_${a}`),r[l]=s[a]}),r}const HS={debug:(e,t,n,o)=>{console.log(wo(7,e,t,n,o))},info:(e,t,n,o)=>{console.log(wo(6,e,t,n,o))},notice:(e,t,n,o)=>{console.log(wo(5,e,t,n,o))},warning:(e,t,n,o)=>{console.log(wo(4,e,t,n,o))},error:(e,t,n,o)=>{console.dir(wo(3,e,t,n,o),{depth:3})},critical:(e,t,n,o)=>{console.log(wo(2,e,t,n,o))},alert:(e,t,n,o)=>{console.log(wo(1,e,t,n,o))},emergency:(e,t,n,o)=>{console.log(wo(0,e,t,n,o))}},zS={class:"main light"},FS={class:"container"},WS={class:"error-404__copy"},GS={class:"error-404__description"},qS={href:"/",class:"btn btn--prim"},YS={key:0,class:"error-container"},KS={key:1,class:"error-container"},XS=["innerHTML"],QS={__name:"error",props:{error:Object},setup(e){const t=e;Ws().hideLoader(),HS.error("General error",`Error ${t.error.statusCode}, probably during rendering`,t.error.stack,{url:t.error.url,status:t.error.statusCode});const o=Le(),s=L(!1);return o.query.showErrors&&(s.value=!0),(r,a)=>
46(u(),h("div",zS,[f("div",{class:j(["error-404",{is500:e.error.statusCode!==404}])},[f("div",FS,[f("div",WS,[f("h2",{class:j(["error-404__title glitch",{is500:e.error.statusCode!==404}])},[e.error.statusCode===404?(u(),h(G,{key:0},[_e("404")],64)):(u(),h(G,{key:1},[_e("500")],64))],2),f("p",GS,[e.error.statusCode===404?(u(),h(G,{key:0},[_e(w(r.$t("common.pageNotFoundDescription")),1)],64)):(u(),h(G,{key:1},[_e(w(r.$t("error500")),1)],64))]),f("a",qS,w(r.$t("common.backToHomepage")),1)]),i(s)?(u(),h("p",YS,[a[0]||(a[0]=f("strong",null,"Error:",-1)),_e(" "+w(e.error.message),1)])):T("",!0),i(s)?(u(),h("p",KS,[...a[1]||(a[1]=[f("strong",null,"Stack trace:",-1)])])):T("",!0),i(s)?(u(),h("div",{key:2,class:"error-container no-top-margin",innerHTML:e.error.stack},null,8,XS)):T("",!0)])],2)]))}},JS=te(QS,[["__scopeId","data-v-116b5f15"]]),ZS={key:0},yf={__name:"nuxt-root",setup(e){const t=()=>null,n=ue(),o=n.deferHydration();if(n.isHydrating){const m=n.hooks.hookOnce("app:error",o);Ye().beforeEach(m)}const s=!1;so(Yn,Le()),n.hooks.callHookWith(m=>m.map(d=>d()),"vue:setup");const r=fa(),a=!1,l=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;sa((m,d,p)=>{if(n.hooks.callHook("vue:error",m,d,p).catch(_=>console.error("[nuxt] Error in `vue:error` hook",_)),l.test(navigator.userAgent))return n.hooks.callHook("app:error",m),console.error(`[nuxt] Not rendering error page for bot with user agent \`${navigator.userAgent}\`:`,m),!1;if(Yp(m)&&(m.fatal||m.unhandled))return n.runWithContext(()=>zo(m)),!1});const c=!1;return(m,d)=>(u(),O(la,{onResolve:i(o)},{default:z(()=>[i(a)?(u(),h("div",ZS)):i(r)?(u(),O(i(JS),{key:1,error:i(r)},null,8,["error"])):i(c)?(u(),O(i(t),{key:2,context:i(c)},null,8,["context"])):i(s)?(u(),O(Qe(i(s)),{key:3})):(u(),O(i(VS),{key:4}))]),_:1},8,["onResolve"]))}};let vf;{let e;vf=async function(){if(e)return e;const n=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true"),o=n?ub(yf):Pp(yf),s=ww({vueApp:o});async function r(a){await s.callHook("app:error",a),s.payload.error||=Eo(a)}o.config.errorHandler=r,s.hook("app:suspense:resolve",()=>{o.config.errorHandler===r&&(o.config.errorHandler=void 0)}),!n&&md.id&&s.hook("app:suspense:resolve",()=>{document.getElementById(md.id)?.remove()});try{await $w(s,CS)}catch(a){r(a)}try{await s.hooks.callHook("app:created",o),await s.hooks.callHook("app:beforeMount",o),o.mount(yw),await s.hooks.callHook("app:mounted",o),await Rt()}catch(a){r(a)}return o},e=vf().catch(t=>{throw console.error("Error while mounting app:",t),t})}const eD=Object.assign({name:"NuxtErrorBoundary",inheritAttrs:!1},{__name:"NuxtErrorBoundary",emits:["error"],setup(e,{expose:t,emit:n}){const o=n,s=Jt(null);function r(){s.value=null}{let a=function(...c){const[m,d,p]=c;o("error",m),l.hooks.callHook("vue:error",m,d,p),s.value=m};const l=ue();sa((c,m,d)=>(l.isHydrating?Li(()=>a(c,m,d)):a(c,m,d),!1))}return t({error:s,clearError:r}),(a,l)=>s.value?Ee(a.$slots,"error",j_(ts({key:0},{error:s.value,clearError:r}))):Ee(a.$slots,"default",{key:1})}});var Jl,mg=-1,Bi=function(e){addEventListener("pageshow",(function(t){t.persisted&&(mg=t.timeStamp,e(t))}),!0)},pg=function(){var e=self.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0];if(e&&e.responseStart>0&&e.responseStart<performance.now())return e},ou=function(){var e=pg();return e&&e.activationStart||0},Ro=function(e,t){var n=pg(),o="navigate";return mg>=0?o="back-forward-cache":n&&(document.prerendering||ou()>0?o="prerender":document.wasDiscarded?o="restore":n.type&&(o=n.type.replace(/_/g,"-"))),{name:e,value:t===void 0?-1:t,rating:"good",delta:0,entries:[],id:"v4-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:o}},Ui=function(e,t,n){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var o=new PerformanceObserver((function(s){Promise.resolve().then((function(){t(s.getEntries())}))}));return o.observe(Object.assign({type:e,buffered:!0},n||{})),o}}catch{}},Oo=function(e,t,n,o){var s,r;return function(a){t.value>=0&&(a||o)&&((r=t.value-(s||0))||s===void 0)&&(s=t.value,t.delta=r,t.rating=(function(l,c){return l>c[1]?"poor":l>c[0]?"needs-improvement":"good"})(t.value,n),e(t))}},su=function(e){requestAnimationFrame((function(){return requestAnimationFrame((function(){return e()}))}))},ka=function(e){document.addEventListener("visibilitychange",(function(){document.visibilityState==="hidden"&&e()}))},iu=function(e){var t=!1;return function(){t||(e(),t=!0)}},hs=-1,bf=function(){return document.visibilityState!=="hidden"||document.prerendering?1/0:0},qr=function(e){document.visibilityState==="hidden"&&hs>-1&&(hs=e.type==="visibilitychange"?e.timeStamp:0,tD())},wf=function(){addEventListener("visibilitychange",qr,!0),addEventListener("prerenderingchange",qr,!0)},tD=function(){removeEventListener("visibilitychange",qr,!0),removeEventListener("prerenderingchange",qr,!0)},hg=function(){return hs<0&&(hs=bf(),wf(),Bi((function(){setTimeout((function(){hs=bf(),wf()}),0)}))),{get firstHiddenTime(){return hs}}},ru=function(e){document.prerendering?addEventListener("prerenderingchange",(function(){return e()}),!0):e()},kf=[1800,3e3],nD=function(e,t){t=t||{},ru((function(){var n,o=hg(),s=Ro("FCP"),r=Ui("paint",(function(a){a.forEach((function(l){l.name==="first-contentful-paint"&&(r.disconnect(),l.startTime<o.firstHiddenTime&&(s.value=Math.max(l.startTime-ou(),0),s.entries.push(l),n(!0)))}))}));r&&(n=Oo(e,s,kf,t.reportAllChanges),Bi((function(a){s=Ro("FCP"),n=Oo(e,s,kf,t.reportAllChanges),su((function(){s.value=performance.now()-a.timeStamp,n(!0)}))})))}))},Tf=[.1,.25],oD=function(e,t){t=t||{},nD(iu((function(){var n,o=Ro("CLS",0),s=0,r=[],a=function(c){c.forEac
46h((function(m){if(!m.hadRecentInput){var d=r[0],p=r[r.length-1];s&&m.startTime-p.startTime<1e3&&m.startTime-d.startTime<5e3?(s+=m.value,r.push(m)):(s=m.value,r=[m])}})),s>o.value&&(o.value=s,o.entries=r,n())},l=Ui("layout-shift",a);l&&(n=Oo(e,o,Tf,t.reportAllChanges),ka((function(){a(l.takeRecords()),n(!0)})),Bi((function(){s=0,o=Ro("CLS",0),n=Oo(e,o,Tf,t.reportAllChanges),su((function(){return n()}))})),setTimeout(n,0))})))},gg=0,nl=1/0,ar=0,sD=function(e){e.forEach((function(t){t.interactionId&&(nl=Math.min(nl,t.interactionId),ar=Math.max(ar,t.interactionId),gg=ar?(ar-nl)/7+1:0)}))},_g=function(){return Jl?gg:performance.interactionCount||0},iD=function(){"interactionCount"in performance||Jl||(Jl=Ui("event",sD,{type:"event",buffered:!0,durationThreshold:0}))},Vn=[],wr=new Map,yg=0,rD=function(){var e=Math.min(Vn.length-1,Math.floor((_g()-yg)/50));return Vn[e]},aD=[],lD=function(e){if(aD.forEach((function(s){return s(e)})),e.interactionId||e.entryType==="first-input"){var t=Vn[Vn.length-1],n=wr.get(e.interactionId);if(n||Vn.length<10||e.duration>t.latency){if(n)e.duration>n.latency?(n.entries=[e],n.latency=e.duration):e.duration===n.latency&&e.startTime===n.entries[0].startTime&&n.entries.push(e);else{var o={id:e.interactionId,latency:e.duration,entries:[e]};wr.set(o.id,o),Vn.push(o)}Vn.sort((function(s,r){return r.latency-s.latency})),Vn.length>10&&Vn.splice(10).forEach((function(s){return wr.delete(s.id)}))}}},vg=function(e){var t=self.requestIdleCallback||self.setTimeout,n=-1;return e=iu(e),document.visibilityState==="hidden"?e():(n=t(e),ka(e)),n},$f=[200,500],cD=function(e,t){"PerformanceEventTiming"in self&&"interactionId"in PerformanceEventTiming.prototype&&(t=t||{},ru((function(){var n;iD();var o,s=Ro("INP"),r=function(l){vg((function(){l.forEach(lD);var c=rD();c&&c.latency!==s.value&&(s.value=c.latency,s.entries=c.entries,o())}))},a=Ui("event",r,{durationThreshold:(n=t.durationThreshold)!==null&&n!==void 0?n:40});o=Oo(e,s,$f,t.reportAllChanges),a&&(a.observe({type:"first-input",buffered:!0}),ka((function(){r(a.takeRecords()),o(!0)})),Bi((function(){yg=_g(),Vn.length=0,wr.clear(),s=Ro("INP"),o=Oo(e,s,$f,t.reportAllChanges)})))})))},Sf=[2500,4e3],ol={},uD=function(e,t){t=t||{},ru((function(){var n,o=hg(),s=Ro("LCP"),r=function(c){t.reportAllChanges||(c=c.slice(-1)),c.forEach((function(m){m.startTime<o.firstHiddenTime&&(s.value=Math.max(m.startTime-ou(),0),s.entries=[m],n())}))},a=Ui("largest-contentful-paint",r);if(a){n=Oo(e,s,Sf,t.reportAllChanges);var l=iu((function(){ol[s.id]||(r(a.takeRecords()),a.disconnect(),ol[s.id]=!0,n(!0))}));["keydown","click"].forEach((function(c){addEventListener(c,(function(){return vg(l)}),{once:!0,capture:!0})})),ka(l),Bi((function(c){s=Ro("LCP"),n=Oo(e,s,Sf,t.reportAllChanges),su((function(){s.value=performance.now()-c.timeStamp,ol[s.id]=!0,n(!0)}))}))}}))};function sl({name:e,delta:t,value:n,id:o}){const s={event:e,value:t,metric_id:o,metric_value:n,metric_delta:t};window.dataLayer=window.dataLayer||[],window.dataLayer.push(s)}function dD(e){e.cwvreport&&(oD(sl),cD(sl),uD(sl))}function fD(e,t){const n=e.find(r=>r.Url.toLowerCase()===t.toLowerCase()),o=t.split("/")[1].toLowerCase(),s=e.find(r=>o.includes(r.Url.toLowerCase().split("/").filter(a=>a).slice(-1)[0])?r:!1);return!!n?.SubItems?.length||!!s?.SubItems?.length}async function mD(e,t,n){return n.coreData}const pD={key:0,class:"scrim"},hD={__name:"CommonLoader",setup(e){const t=Ws();return(n,o)=>(u(),O(ua,{name:"loaderTransition"},{default:z(()=>[i(t).loaderVisible?(u(),h("div",pD)):T("",!0)]),_:1}))}},gD=te(hD,[["__scopeId","data-v-c607af54"]]),Ut=[];for(let e=0;e<256;++e)Ut.push((e+256).toString(16).slice(1));function _D(e,t=0){return(Ut[e[t+0]]+Ut[e[t+1]]+Ut[e[t+2]]+Ut[e[t+3]]+"-"+Ut[e[t+4]]+Ut[e[t+5]]+"-"+Ut[e[t+6]]+Ut[e[t+7]]+"-"+Ut[e[t+8]]+Ut[e[t+9]]+"-"+Ut[e[t+10]]+Ut[e[t+11]]+Ut[e[t+12]]+Ut[e[t+13]]+Ut[e[t+14]]+Ut[e[t+15]]).toLowerCase()}let il;const yD=new Uint8Array(16);function vD(){if(!il){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");il=crypto.getRandomValues.bind(crypto)}return il(yD)}const bD=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Df={randomUUID:bD};function wD(e,t,n){if(Df.randomUUID&&!e)return Df.randomUUID();e=e||{};const o=e.random??e.rng?.()??vD();if(o.length<16)throw new Error("Random bytes length must be >= 16");return o[6]=o[6]&15|64,o[8]=o[8]&63|128,_D(o)}const Ta=Hs("ads",()=>{const e=L(!1);function t(n){e.value=n}return{adsready:e,setAdsReady:t}});function kD(e,t){return e in t?t[e]:{}}function TD(e,t){return kD(t,e)}const Mo=globalThis.setInterval,$D=(e,t)=>{const{config:n}=ye().public,o=n.dfp.targetingPageType;return t==="/"?n.dfp.subdomainOverrides?.homepage?n.dfp.subdomainOverrides.homepage:o.homepage:Ke(e.Elements,"children",s=>s.Type==="Article")&&t.includes("/media/")?o.gallery:Ke(e.Elements,"children",s=>s.Type==="Article")?o.article:t.includes("/journalist")||t.includes("/columnist")||t.includes("/blogger")?o.author:e.Breadcrumbs?.length===1&&!Ke(e.Elements,"children",s=>s.Type==="Article")?n.dfp.subdomainOverrides?.category?n.dfp.subdomainOverrides.category:o.category:e.Breadcrumbs?.length>1&&!Ke(e.Elements,"children",s=>s.Type==="Article")?o.subcategory:t.includes("/tag")?o.tag:o.other},SD=(e,t)=>{const{config:n}=ye().public;let o=[];return!e||t==="/"?["null"]:(e.forEach((s,r)=>{if(n.dfp.collectData.useCategoryFromUrl)if(n.subdomain&&n.dfp.subdomainOverrides){if(e.length-1===r){const a=`${n.subdomain},${n.subdomain}_${s.Name}`;o.push(a)}}else{const a=new URL(s.Url).pathname.substring(1).replace("/","_").toLowerCase();o.push(a)}else o.push(s.Name)}),o.length===0&&(o=["null"]),o)},DD=(e,t)=>{const{config:n}=ye().public,o=n.dfp,s=Ke(e.Elements,"children",a=>a.Type==="Article"),r={pageType:[$D(e,t)],catArray:SD(e.Breadcrumbs,t),pageId:[s?.Document.DocumentId.toString()||!1],tagsArray:s?.Document.Tags.map(({
46Name:a})=>a.toLowerCase())||!1,portalId:o.collectData.includePortalId?[n.termsId]:[!1],pageSlug:o.collectData.includePageSlug?[s?.Document.WebUrl.split("/").at(-1)||!1]:[!1]};if(o.collectData.appendCategoryToPageType){const a=r.catArray,l=a[0]==="null"?"":`,${a}`;r.pageType=[`${r.pageType[0]}${l}`]}return r},lr=e=>{const{$device:t}=ue();return t.isDesktop&&e?.SlotCodeDesktop!==""&&e?.SlotDimentionsDesktop!==""&&e?.DexBannerId!==""&&!e?.DexBannerId.includes("OOP")?"desktopSlot":t.isDesktop&&e?.SlotCodeDesktop!==""&&e?.DexBannerId!==""&&e?.DexBannerId.includes("OOP")?"desktopOOPSlot":t.isMobileOrTablet&&e?.SlotCodeMobile!==""&&e?.SlotDimentionsMobile!==""&&e?.MobBannerId!==""&&!e?.MobBannerId.includes("OOP")?"mobileSlot":t.isMobileOrTablet&&e?.SlotCodeMobile!==""&&e?.MobBannerId!==""&&e?.MobBannerId.includes("OOP")?"mobileOOPSlot":!1},bg=e=>{const{$device:t}=ue(),n=window.googletag||{};n.cmd=n.cmd||[],lr(e)==="desktopSlot"&&t.isDesktop&&n.defineSlot(e?.SlotCodeDesktop.trim(),e?.SlotDimentionsDesktop,e?.DexBannerId).addService(n.pubads()),lr(e)==="desktopOOPSlot"&&t.isDesktop&&n.defineOutOfPageSlot(e?.SlotCodeDesktop.trim(),e?.DexBannerId).addService(n.pubads()),lr(e)==="mobileSlot"&&t.isMobileOrTablet&&n.defineSlot(e?.SlotCodeMobile.trim(),e?.SlotDimentionsMobile,e?.MobBannerId).addService(n.pubads()),lr(e)==="mobileOOPSlot"&&t.isMobileOrTablet&&n.defineOutOfPageSlot(e?.SlotCodeMobile.trim(),e?.MobBannerId).addService(n.pubads())},CD=()=>{let e=localStorage.getItem("browser_id");return e||(crypto.randomUUID?e=crypto.randomUUID():e=wD(),localStorage.setItem("browser_id",e)),e},PD=(e,t=";")=>e.split(t),Cf=(e,t=",")=>e.split(t).map(s=>Number.isNaN(Number(s))?s:parseInt(s,10)),Pf=e=>{let t=[];return e?(e.includes(";")?PD(e).forEach(o=>{const s=Cf(o);t.push(s)}):t=Cf(e),t):""},xf=(e,t,n)=>{const{config:o}=ye().public;if(o.dfp.useOldSetup)return`div-gpt-ad-${e?.replace("__*","").trim()}${n}`;const s=t,r=e?.replace("__*","").trim();return r?`ad-${s}_${r}${n}`:""},xD=e=>e.IndexPageElement.Properties?.SlotCodeMobile?.includes("intext")||e.IndexPageElement.Properties?.SlotCodeDesktop?.includes("intext"),wg=e=>e?.Type==="DfpOOP"||e?.Properties?.OOP==="True"||e?.IndexPageElement?.Properties?.OOP==="True"||e?.Type?.OOP==="True",If=(e,t="")=>{const{config:n}=ye().public;return typeof t=="number"&&(n.dfp.useOldSetup?t-=1:t=`_${t}`),{BannerId:`${e.IndexPageElement.Properties?.BannerId}${t}`,ClassDesktop:e.IndexPageElement.Properties?.ClassDesktop,ClassMobile:e.IndexPageElement.Properties?.ClassMobile,SlotCodeDesktop:e.IndexPageElement.Properties?.SlotCodeDesktop,SlotCodeMobile:e.IndexPageElement.Properties?.SlotCodeMobile,SlotDimentionsDesktop:e.IndexPageElement.Properties?.SlotDimentionsDesktop,SlotDimentionsMobile:e.IndexPageElement.Properties?.SlotDimentionsMobile,Type:wg(e)?"DfpOOP":e.IndexPageElement.Type}},kg=(e,t)=>({MobBannerId:xf(e?.BannerId,"mob",t),DexBannerId:xf(e?.BannerId,"dex",t),ClassDesktop:e?.ClassDesktop||"",ClassMobile:e?.ClassMobile||"",SlotCodeDesktop:e?.SlotCodeDesktop||"",SlotCodeMobile:e?.SlotCodeMobile||"",SlotDimentionsDesktop:Pf(e?.SlotDimentionsDesktop),SlotDimentionsMobile:Pf(e?.SlotDimentionsMobile)}),Zl=[],Tg=(e,t,n)=>{for(let o=0;o<e?.length;o++){n(e[o])&&(e[o].Properties||(e[o].Properties={}),e[o].Properties.Type=e[o].Type,Zl.push(e[o].Properties));const s=e[o][t];s?.length&&Tg(s,t,n)}return Zl},ec=[],$g=(e,t,n)=>{for(let o=0;o<e?.length;o++){n(e[o])&&e[o].Properties?.DFPBannersInLIst&&ec.push(e[o].Properties?.DFPBannersInLIst);const s=e[o][t];s?.length&&$g(s,t,n)}return ec};function ID(e,t){Zl.length=0,ec.length=0;const{siteBanners:n}=ye().public,{config:o}=ye().public,s=Tg(e.Elements,"children",p=>(p.Type==="DfpBanner"||p.Type==="DfpOOP")&&p.Template!=="DfpBannerAsync"),r=$g(e.Elements,"children",p=>p.Type==="Headbox"||p.Type==="ContentList"||p.Type==="CoreContentList"),l=_a(e.Elements)?.Document?.DocumentElements.filter(p=>p.IndexPageElement?.Type==="DfpBanner"&&p.IndexPageElement?.Template!=="DfpBannerAsync"),c=/\/media\/\d/,m=new RegExp(o.comments.commentsRegex);return(()=>{const p=[];if(!c.test(t)){m.test(t)&&r.push("commentsPage"),r.forEach(g=>{const b=TD(n,g);Object.values(b).forEach(C=>{C.Template!=="DfpBannerAsync"&&C.Properties.DontCallMe!=="True"&&s.push(C.Properties)})});let _=o.dfp.inTextStartIndex;l?.forEach(g=>{if(g.IndexPageElement.Properties.DontCallMe!=="True"){let b="",y={};xD(g)?(_+=1,b=_,y=If(g,b)):y=If(g),s.push(y)}}
46),s.forEach(g=>{if(g.DontCallMe!=="True"){const b=wg(g)?"_OOP":"",y=kg(g,b);p.push(y)}})}return p})()}function au(e){setTimeout(()=>{const t=e.slot.getSlotElementId(),n=document.getElementById(t);if(n&&(!t.includes("pj")||!t.includes("wallpaper"))&&n.parentElement.classList.contains("gpt-ad-banner")){const o=n.parentElement;if(e.isEmpty){const s=o.getBoundingClientRect().height;s>0&&(o.style.minHeight=`${s}px`)}o.classList.add("ad-loaded"),e.isEmpty?(o.classList.add("ad-empty"),o.classList.contains("gptListFixed")&&o.classList.remove("gptListFixed")):o.classList.add("ad-filled")}})}function gs(e){return e?.Type==="DfpWallpaper"&&!e?.DisableDfp}function Ef(e){return typeof e=="object"}function ED(){typeof window?.googletag?.pubads=="function"&&window?.googletag?.pubads().removeEventListener&&window.googletag.pubads().removeEventListener("slotRenderEnded",au),window?.googletag?.cmd.push(()=>{window.googletag.destroySlots()})}function AD(e,t){const{config:n}=ye().public,o=new RegExp(n.comments.commentsRegex),s=Ke(e.Elements,"children",d=>d.DisableDfp);if(o.test(t)||s!==null)return;const r=ID(e,t),a=Ta(),l=n.dfp.collectData.includePortalId?"":n.bannersPortalName||n.portalId,c=e?DD(e,t):{},m=window.googletag||{};m.cmd=m.cmd||[],m.cmd.push(()=>{try{n.debug&&m.setConfig({targeting:{gampreview:"true"}});const d={};if(Object.values(n.dfp.targetingSufix).forEach(_=>{_&&(d[`${l}${_}`]=null)}),Object.keys(d).length&&m.setConfig({targeting:d}),Object.keys(c).length!==0){const _=n.dfp.targetingSufix,g={};c.pageType[0]&&(g[`${l}${_.pageType}`]=c.pageType),c.catArray[0]&&(g[`${l}${_.category}`]=c.catArray),c.tagsArray[0]&&(g[`${l}${_.tags}`]=c.tagsArray),c.pageId[0]&&(g[`${l}${_.articleId}`]=c.pageId),c.pageSlug[0]&&(g[`${l}${_.articleSlug}`]=c.pageSlug),c.portalId[0]&&(g[`${l}${_.portalId}`]=c.portalId),Object.keys(g).length&&m.setConfig({targeting:g})}r.forEach(_=>{bg(_)});const p=CD();m.pubads().setPublisherProvidedId(p),m.pubads().addEventListener("slotRenderEnded",au),m.setConfig({singleRequest:!0}),m.enableServices(),a.setAdsReady(!0),document.dispatchEvent(new CustomEvent("enable-services"))}catch{}})}function Sg(e,t){const o=kg(e,t==="oop"?"_OOP":""),s=window.googletag||{};s.cmd=s.cmd||[],s.cmd.push(()=>{try{bg(o),s.pubads().addEventListener("slotRenderEnded",au)}catch{}})}function tc(e){let t=Mo(()=>{function n(){clearInterval(t),t=null}if(document.getElementById("pj-gpt-sticky")){const o=document.getElementById("pj-gpt-sticky");e==="hide"&&o.style.display==="unset"?(o.style.display="none",n()):e==="show"&&o.style.display==="none"&&(o.style.display="unset",n())}},100)}const LD=["id"],RD={__name:"CommonBannersDFPBannerInner",props:{definition:{type:Object,default:()=>{}},position:{type:Number,default:0},lazy:{type:Boolean,default:!1}},setup(e){const{config:t}=ye().public,n=$e(),o=Ta(),{$device:s,$bus:r}=ue(),a=e,l=()=>{const Y=s.isMobileOrTablet?"mob":"dex",ie=a.position>0?`_${a.position}`:"",ce=a.definition.Properties?.BannerId?.replace("__*","")?.trim();return`ad-${Y}_${ce}${ie}`},c=()=>{const Y=a.position>0?a.position-1:"";return`div-gpt-ad-${a.definition.Properties?.BannerId?.replace("__*","")?.trim()}${Y}`},m=t.dfp.useOldSetup?c():l();let d={};const p=a.definition.Properties?.SlotDimentionsMobile?a.definition.Properties?.SlotDimentionsMobile:"",_=a.definition.Properties?.SlotDimentionsDesktop?a.definition.Properties?.SlotDimentionsDesktop:"",g=s.isMobileOrTablet&&a.definition.Properties?.ClassMobile?a.definition.Properties?.ClassMobile:a.definition.Properties?.ClassDesktop,b=s.isMobileOrTablet?a.definition.Properties?.SlotCodeMobile:a.definition.Properties?.SlotCodeDesktop,y=!a.definition.DisableDfp&&(s.isMobileOrTablet&&p!==""&&b?.trim()!==""||s.isDesktop&&_!==""&&b?.trim()!==""),C=t.dfp.useOldSetup?m:`div-gpt-${m}`,E=L(null),D=L(null);let v=null,I=null,k=null,S=null,$=null;function P(Y){let ie=!1;return(...ce)=>{ie||(ie=!0,requestAnimationFrame(()=>{Y(...ce),ie=!1}))}}function x(){let ie=0,ce=0;const de=$.offsetTop,V=S.offsetTop;let K=0,Z=1e3;const q=E.value;if(v&&(ie=v.offsetTop,Z=ie+V+96-q.offsetHeight),!v&&I&&(Z=de+96-q.offsetHeight),!v&&!I&&k&&(ce=k.offsetTop,Z=ce+de+96-q.offsetHeight),q){K=q.offsetTop;const fe=window.scrollY;K>0?q?.classList.add("gptSticky-scrolled"):q?.classList.remove("gptSticky-scrolled"),Z>fe?q?.classList.remove("gptSticky-reset"):q?.classList.add("gptSticky-reset")}}const A=P(x),N=()=>E?.value?.parentElement?.classList.contains("generic-component")&&a.definition.Properties?.ClassMobile?.includes("gptListSticky"),M=()=>g?.includes("gptArticleTop gptSticky");function ee(){if(E.value){const ie=E.value.parentElement.querySelectorAll(".gpt-ad-banner")[1],ce=E.value.offsetHeight;let de=1e3;if(ie){const V=ie.getBoundingClientRect().top;de=ce+96,V>de?E.value.parentElement.classList.remove("gptSticky-reset"):E.value.parentElement.classList.add("gptSticky-reset")}else window.scrollY<de?E.value.parentElement.classList.remove("gptSticky-reset"):E.value.parentElement.classList.add("gptSticky-reset")}}const X=P(ee);function me(){const Y=window.googletag||{};Y.cmd=Y.cmd||[],Y.pubads().refresh([d])}function Q(){const Y=window.googletag||{};Y.cmd=Y.cmd||[],Y.cmd.push(()=>{Y.display(m)})}function F(){if(y&&o.adsready){if(a.definition.Properties.DontCallMe==="True")return;if(a.definition.Template==="DfpBannerAsync"){const ce=a.definition.Properties;ce.BannerId=m.replace("div-gpt-","").replace("ad-","").replace("mob_","").replace("dex_",""),Sg(ce,"regular")}const Y=window.googletag||{};Y.cmd=Y.cmd||[],d=Y.pubads().getSlots().find(ce=>ce.getSlotId().getDomId()===m),a.lazy||Q(),g?.includes("gptArticleTop gptSticky")&&window.location.pathname.includes("comments")&&E.value?.classList.remove("gptSticky"),M()&&(v=document.querySelector(".articleBelowPoster"),I=document.querySelector(".audioStory"),k=document.querySelector(".inText-banner-wrapper"),$=document.querySelector(".article-body"),S=document.querySelector(".article-main"),window.addEventListener("scroll",A,{passive:!0})),N()&&(ee(),window.addEventListener("scroll",X,{passive:!0}))}}return(N()||M())&&qe(()=>n.isNavHidden,()=>{n.isNavHidden?E.value?.parentElement.classList.add("scrollDown"):E.value?.parentElement.classList.remove("scrollDown")}),qe(()=>o.adsready,()=>{typeof d=="object"&&o.adsready&&Object.keys(d).length===0&&F()}),De(()=>{const Y=qt();E.value=Y.parent.refs.bannerWrapper,setTimeout(()=>{F()}),r.$on("refreshSlot",ie=>{D?.value?.id.includes(ie)&&me()}),r.$on("displaySlot",ie=>{D?.value?.id.includes(ie)&&Q()})}),Xe(()=>{g?.includes("gptArticleTop gptSticky")&&window.removeEventListener("scroll",A),E?.value?.classList.contains("gptListFixed")&&window.removeEventListener("scroll",X),r.$off("refreshSlot"),r.$off("displaySlot")}),(Y,ie)=>(u(),h("div",{class:j(i(C)),id:i(m),ref_key:"bannerRef",ref:D},null,10,LD))}},OD=Gc(RD),gn={__name:"CommonBannersDfpBanner",props:{definition:{type:Object,default:()=>{}},position:{type:Number,default:0},lazy:{type:Boolean,default:!1}},setup(e){const t=e,{$device:n}=ue(),o=t.definition.Properties?.SlotDimentionsMobile?t.definition.Properties?.SlotDimentionsMobile:"",s=t.definition.Properties?.SlotDimentionsDesktop?t.definition.Properties?.SlotDimentionsDesktop:"",r=n.isMobileOrTablet?t.definition.Properties?.SlotCodeMobile:t.definition.Properties?.SlotCodeDesktop,a=n.isMobileOrTablet&&t.definition.Properties?.ClassMobile?t.definition.Properties?.ClassMobile:t.definition.Properties?.ClassDesktop,l=_=>{if(!_)return null;const[,g]=_.split(";")[0].split(",").map(b=>parseInt(b,10));return Number.isFinite(g)?g:null},c=n.isMobileOrTablet?o:s,m=a?null:l(c),d=m?`${m+38}px`:null,p=!t.definition.DisableDfp&&(n.isMobileOrTablet&&o!==""&&r?.trim()!==""||n.isDesktop&&s!==""&&r?.trim()!=="");return(_,g)=>{const b=OD;return i(p)?(u(),h("div",{key:0,class:j(["container",i(a)]),ref:"bannerWrapper"},[f("div",{class:"gpt-ad-banner",style:Se(i(d)?{minHeight:i(d)}:null)},[R(b,{definition:e.definition,position:e.position,lazy:e.lazy},null,8,["definition","position","lazy"])],4)],2)):T("",!0)}}},MD=Object.freeze(Object.defineProperty({__proto__:null,default:gn},Symbol.toStringTag,{value:"Module"})),et={__name:"ErrorBoundary",props:{fallback:{type:String,default:null},logErrors:{type:Boolean,default:!0}},setup(e){const t=e,n=L(!1),o=L(null);return sa((s,r,a)=>{if(n.value=!0,o.value={err:s,instance:r,info:a},t.logErrors){const l={message:s.message,stack:s.stack,info:a,timestamp:new Date().toISOString()};console.error("ErrorBoundary caught error",l)}return!1}),(s,r)=>i(n)?T("",!0):Ee(s.$slots,"default",{key:0})}},ND={__name:"GenericComponent",props:{definition:{type:Object,default:()=>({})},ignoreList:{type:Array,default:()=>[]}},setup(e){const t=e,n=L(null),{$device:o}
46=ue(),{$factoryComponent:s}=ue(),{globallyIgnoredElements:r,stickyEngagementBar:a}=ye().public.groupCoreSettings,c=ya(t.definition,[...t.ignoreList,r])?null:s(t.definition);function m(){return t.definition.Type==="DfpBanner"&&(t.definition.Properties?.ClassMobile?.includes("gptListSticky")&&o.isMobileOrTablet||t.definition.Properties?.ClassDesktop?.includes("gptListSticky")&&o.isDesktop)}return(d,p)=>(u(),h("div",{class:j(["generic-component",[{"isSticky isBottom":e.definition.Type==="ArticleShare"&&i(a)},{"gptCategoryTop gptSticky":m()}]]),ref_key:"genericComponent",ref:n},[R(et,null,{default:z(()=>[e.definition.Type==="DfpBanner"?(u(),O(gn,{key:0,definition:e.definition},null,8,["definition"])):(u(),O(Qe(i(c)),{key:1,definition:e.definition},null,8,["definition"]))]),_:1})],2))}},Ds=te(ND,[["__scopeId","data-v-95014142"]]),BD={class:"container"},Dg={__name:"DynamicComponentsCustomWallpaper",setup(e){const t=L(null),n=L(null),o=L(null);let s={},r=[];return De(()=>{const{$device:a}=ue(),l=n.value,c=o.value,m=document.querySelector(".wallpaper-helper .main_wrapper"),d=document.querySelector(".main-container.wallpaper-helper");(l||c)&&a.isDesktop&&(r=[l,c],r.forEach(p=>{s=new ResizeObserver(_=>{_[0].contentRect.height>0&&(m.classList.add("wallpaper-activated"),d.classList.add("wallpaper-activated"))}),s.observe(p)}))}),Xe(()=>{r.forEach(a=>{s.unobserve(a)})}),(a,l)=>(u(),h("div",{class:"wallpaper-wrapper",ref_key:"wallpaperWrapper",ref:t},[f("div",BD,[f("div",{id:"wallpaper-left",class:"wallpaper-left wallpaper-watch",ref_key:"wallpaperWatchLeft",ref:n},null,512),f("div",{id:"wallpaper-right",class:"wallpaper-right wallpaper-watch",ref_key:"wallpaperWatchRight",ref:o},null,512)])],512))}},UD={},jD={class:"container"};function VD(e,t){return u(),h("div",jD,[...t[0]||(t[0]=[f("div",{id:"wallpaper-top",class:"wallpaper-top"},null,-1)])])}const Cg=Object.assign(te(UD,[["render",VD]]),{__name:"DynamicComponentsCustomWallpaperTop"}),HD={class:"main_wrapper"},Pg={__name:"BasePage",props:{pageData:{type:Array,default:()=>[]}},setup(e){const t=e,n=t.pageData?.find(r=>r?.Template==="Breaking-News"||r?.Template==="Breaking-News-Mini");function o(r){return r.Template==="Breaking-News"||r.Template==="Breaking-News-Mini"}function s(r){return r.Template==="Profile-Newsletters"}return(r,a)=>(u(),h("div",{class:j(["main-container",{"wallpaper-helper":i(gs)(t.pageData[0])}])},[i(gs)(t.pageData[0])?(u(),h(G,{key:0},[i(n)?(u(),O(Ds,{key:0,definition:i(n)},null,8,["definition"])):T("",!0),R(Dg),f("div",HD,[R(Cg),(u(!0),h(G,null,pe(t.pageData,(l,c)=>(u(),h(G,null,[i(Ef)(l)&&!i(gs)(l)&&!o(l)?(u(),O(Ds,{definition:l,key:c},null,8,["definition"])):T("",!0)],64))),256))])],64)):(u(!0),h(G,{key:1},pe(t.pageData,(l,c)=>(u(),h(G,null,[i(Ef)(l)&&!i(gs)(l)&&!s(l)?(u(),O(Ds,{definition:l,key:c},null,8,["definition"])):T("",!0)],64))),256))],2))}},zD=Object.freeze(Object.defineProperty({__proto__:null,default:Pg},Symbol.toStringTag,{value:"Module"})),FD={class:"generic-page"},WD={__name:"GenericPage",props:{pageData:{type:Object,default:()=>({})},isArticle:{type:Boolean},article:{type:Object,default:()=>({})}},setup(e){const t=e,{$factoryStoryLayout:n}=ue(),o=$e(),s=Le(),r=Te(o.pageData?.article?.Document,"Disable Comments And Reactions")?.Text==="true",a=L(!1),l=t.isArticle?n(t.article):null,{config:c}=ye().public;return new RegExp(c.comments.commentsRegex).test(s.fullPath)&&r&&(a.value=!0),(d,p)=>(u(),h("div",FD,[e.isArticle?(u(),O(Qe(i(l)),{key:1,pageData:t.pageData},null,8,["pageData"])):(u(),O(Pg,{key:0,pageData:t.pageData},null,8,["pageData"]))]))}},GD=te(WD,[["__scopeId","data-v-b527da3b"]]),qD={key:0,class:"modal"},YD={__name:"ModalsModal",setup(e){const t=cn(),n=()=>{switch(t.modalToShow){case"ModalDelete":return oe(()=>ne(()=>Promise.resolve().then(()=>Tte),void 0,import.meta.url));case"ModalGigyaOff":return oe(()=>ne(()=>Promise.resolve().then(()=>Ite),void 0,import.meta.url));case"ModalChangeName":return oe(()=>ne(()=>Promise.resolve().then(()=>Fte),void 0,import.meta.url));case"ModalAuthorize":return oe(()=>ne(()=>Promise.resolve().then(()=>Xte),void 0,import.meta.url));case"ModalAuthorizeReactions":return oe(()=>ne(()=>Promise.resolve().then(()=>nne),void 0,import.meta.url));default:return oe(()=>ne(()=>Promise.resolve().then(()=>lne),void 0,import.meta.url))}};return(o,s)=>i(t).isOpen?(u(),h("div",qD,[(u(),O(Qe(n())))])):T("",!0)}},KD=te(YD,[["__scopeId","data-v-20fa6c4c"]]),XD={key:0,class:"header-logo__wrap"},QD={class:"logo-dimensions header-logo__image"},JD=["xlink:href"],ZD={class:"header-logo__span"},eC={key:1,class:"header-logo__wrap"},tC={class:"logo-dimensions header-logo__image"},nC=["xlink:href"],oC={class:"header-logo__span"},sC={__name:"CommonNavigationSiteHeaderLogo",props:{logoSrc:{type:String,default:""},theme:{type:String,default:""}},setup(e){const t=Le(),n=e;async function o(){t.fullPath==="/"&&(window.scrollTo({top:0}),setTimeout(()=>{window.location.href="/"},0))}return(s,r)=>{const a=Ze("router-link");return u(),h("div",{class:"header-logo",onClick:o},[R(a,{to:"/",title:s.$t("logoDescription")},{default:z(()=>[(s._.provides[Yn]||s.$route).fullPath==="/"?(u(),h("h1",XD,[(u(),h("svg",QD,[f("use",{"xlink:href":n.logoSrc},null,8,JD)])),f("span",ZD,w(s.$t("logoDescription")),1)])):(u(),h("div",eC,[(u(),h("svg",tC,[f("use",{"xlink:href":n.logoSrc},null,8,nC)])),f("span",oC,w(s.$t("logoDescription")),1)]))]),_:1},8,["title"])])}}};var rl,Af;function iC(){if(Af)return rl;Af=1;var e="Expected a function",t=NaN,n="[object Symbol]",o=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,a=/^0o[0-7]+$/i,l=parseInt,c=typeof rr=="object"&&rr&&rr.Object===Object&&rr,m=typeof self=="object"&&self&&self.Object===Object&&self,d=c||m||Function("return this")(),p=Object.prototype,_=p.toString,g=Math.max,b=Math.min,y=function(){return d.Date.now()};function C(k,S,$){var P,x,A,N,M,ee,X=0,me=!1,Q=!1,F=!0;if(typeof k!="function")throw new TypeError(e);S=I(S)||0,E($)&&(me=!!$.leading,Q="maxWait"in $,A=Q?g(I($.maxWait)||0,S):A,F="trailing"in $?!!$.trailing:F);function Y(W){var le=P,he=x;return P=x=void 0,X=W,N=k.apply(he,le),N}function ie(W){return X=W,M=setTimeout(V,S),me?Y(W):N}function ce(W){var le=W-ee,he=W-X,we=S-le;return Q?b(we,A-he):we}function de(W){var le=W-ee,he=W-X;return ee===void 0||le>=S||le<0||Q&&he>=A}function V(){var W=y();if(de(W))return K(W);M=setTimeout(V,ce(W))}function K(W){return M=void 0,F&&P?Y(W):(P=x=void 0,N)}
46function Z(){M!==void 0&&clearTimeout(M),X=0,P=ee=x=M=void 0}function q(){return M===void 0?N:K(y())}function fe(){var W=y(),le=de(W);if(P=arguments,x=this,ee=W,le){if(M===void 0)return ie(ee);if(Q)return M=setTimeout(V,S),Y(ee)}return M===void 0&&(M=setTimeout(V,S)),N}return fe.cancel=Z,fe.flush=q,fe}function E(k){var S=typeof k;return!!k&&(S=="object"||S=="function")}function D(k){return!!k&&typeof k=="object"}function v(k){return typeof k=="symbol"||D(k)&&_.call(k)==n}function I(k){if(typeof k=="number")return k;if(v(k))return t;if(E(k)){var S=typeof k.valueOf=="function"?k.valueOf():k;k=E(S)?S+"":S}if(typeof k!="string")return k===0?k:+k;k=k.replace(o,"");var $=r.test(k);return $||a.test(k)?l(k.slice(2),$?2:8):s.test(k)?t:+k}return rl=C,rl}var rC=iC();const $a=nu(rC),aC=["href"],lC=["src","alt"],cC={key:1},uC=["src","alt"],dC={key:1},Bs={__name:"CommonNavigationSiteNavigationCustomNavigationItem",props:{item:{type:Object,default:()=>({})}},setup(e){const t=e;return(n,o)=>{const s=Ze("router-link");return t.item.MenuItemType==="ExternalUrl"?(u(),h("a",{key:0,class:j({"is-custom":t.item.Properties?.menuLogo||t.item.Properties?.menuHighlight||t.item.Properties?.menuText}),href:t.item.Url,target:"_blank",rel:"noopener"},[f("span",{style:Se({backgroundColor:t.item.Properties?.menuHighlight,color:t.item.Properties?.menuText})},[t.item.Properties.menuLogo?(u(),h("img",{key:0,src:t.item.Properties.menuLogo,alt:t.item.Title},null,8,lC)):T("",!0),t.item.Properties?.menuText!="transparent"?(u(),h("span",cC,w(t.item.Title),1)):T("",!0)],4)],10,aC)):(u(),O(s,{key:1,to:t.item.Url,class:j([{"is-custom":t.item.Properties?.menuLogo||t.item.Properties?.menuHighlight},{"is-custom-text":t.item.Properties?.menuText},{"has-no-background":!t.item.Properties?.menuHighlight}])},{default:z(()=>[f("span",{style:Se({backgroundColor:t.item.Properties?.menuHighlight,color:t.item.Properties?.menuText})},[t.item.Properties.menuLogo?(u(),h("img",{key:0,src:t.item.Properties.menuLogo,alt:t.item.Title},null,8,uC)):T("",!0),t.item.Properties?.menuText!="transparent"?(u(),h("span",dC,w(t.item.Title),1)):T("",!0)],4)]),_:1},8,["to","class"]))}}},fC=["href"],Ci={__name:"CommonNavigationSiteNavigationLink",props:{item:{type:Object,default:()=>({})},icon:{type:String,default:""},extraIconClass:{type:String,default:""}},setup(e){const t=e;return(n,o)=>{const s=Ze("router-link");return t.item.MenuItemType==="ExternalUrl"?(u(),h("a",{key:0,href:t.item.Url,target:"_blank",rel:"noopener"},[e.icon?(u(),h("i",{key:0,class:j(e.icon),"aria-hidden":"true"},null,2)):T("",!0),_e(w(t.item.Title),1)],8,fC)):(u(),O(s,{key:1,to:t.item.Url},{default:z(()=>[e.icon?(u(),h("i",{key:0,class:j(e.icon),"aria-hidden":"true"},null,2)):T("",!0),_e(w(t.item.Title),1)]),_:1},8,["to"]))}}},mC={key:0,class:"icon-chevron--down","aria-hidden":"true"},pC={key:1,class:"icon-chevron--up","aria-hidden":"true"},hC={key:1,class:"header-subnavigation__children"},gC={__name:"CommonNavigationSiteNavigationSubNavigationChildren",props:{items:{type:Object,default:()=>({})}},emits:["showSubItems"],setup(e,{emit:t}){const n=L(!1),o=e,s=t;function r(){s("showSubItems",n.value)}function a(){n.value=!1,s("showSubItems",!0)}const l=$a(a,200);return De(()=>{a(),window.addEventListener("resize",l)}),Zt(()=>{window.removeEventListener("resize",l)}),(c,m)=>{const d=$n("click-outside");return gt((u(),h("div",null,[o.items?(u(),h("span",{key:0,onClick:m[0]||(m[0]=p=>{r(),n.value=!i(n)}),class:j(["header-subnavigation__chevron",{"is-active":i(n)}])},[i(n)?(u(),h("i",pC)):(u(),h("i",mC))],2)):T("",!0),o.items&&i(n)?(u(),h("ul",hC,[(u(!0),h(G,null,pe(o.items,p=>(u(),h("li",{key:p.MenuItemId},[R(Ci,{item:p,icon:"icon-rotate--counterclockwise--alt"},null,8,["item"])]))),128))])):T("",!0)])),[[d,()=>n.value=!1]])}}},_C=1024,Lf={__name:"CommonNavigationSiteNavigationSiteSubNavigation",props:{menuItems:{type:Object,default:()=>({})},isArticle:{type:Boolean,default:!0}},setup(e){const t=e,n=$e(),o=Le(),s=L([...t.menuItems]),r=L([]),a=L(),l=L(),c=L(!1),m=L(!0),d=L(),p=new Map;let _=0;function g(){if(!l.value)return;const P=l.value.style.width,x=l.value.style.flexShrink;if(l.value.style.width="max-content",l.value.style.flexShrink="0",t.menuItems.forEac
46h(A=>{const N=l.value.getElementsByClassName(`js_item_${A.MenuItemId}`)[0];if(N){const M=getComputedStyle(N),ee=parseInt(M.marginLeft,10)||0;p.set(A.MenuItemId,N.offsetWidth+ee)}}),l.value.style.width=P,l.value.style.flexShrink=x,d.value){const A=d.value.classList.contains("is-hidden"),N=d.value.style.flexGrow;d.value.classList.remove("is-hidden"),d.value.style.flexGrow="0";const M=getComputedStyle(d.value);_=d.value.offsetWidth+(parseInt(M.marginLeft,10)||0)+(parseInt(M.marginRight,10)||0),d.value.style.flexGrow=N,d.value.classList.toggle("is-hidden",A)}}function b(){if(!a.value)return 0;const P=getComputedStyle(a.value);return a.value.clientWidth-(parseInt(P.paddingLeft,10)||0)-(parseInt(P.paddingRight,10)||0)}function y(P){const x=[],A=[];let N=0;return t.menuItems.forEach(M=>{N+=p.get(M.MenuItemId)||0,N<=P?x.push(M):A.push(M)}),{visible:x,hidden:A}}function C(){const P=b();if(P<=0)return;g();let x=y(P);x.hidden.length&&(x=y(P-_)),s.value=x.visible,r.value=x.hidden,a?.value&&a.value.classList.remove("is-hidden"),d?.value&&d.value.classList.toggle("is-hidden",!x.hidden.length)}function E(P){return P.SubItems?t.isArticle?P.SubItems.find(N=>N.MenuItemId===n.pageData.article?.Document.ParentMenuItemId):P.SubItems.find(A=>A.Url.toLowerCase()===o.path.toLowerCase()):t.isArticle&&!P.SubItems&&P.MenuItemId===n.pageData.article?.Document.ParentMenuItemId?P:!1}let D;function v(){D||!a.value||(D=new ResizeObserver(()=>{C()}),D.observe(a.value))}function I(){D&&(D.disconnect(),D=null)}function k(){if(window.innerWidth<_C){I(),s.value=t.menuItems,r.value=[],d.value?.classList.add("is-hidden");return}s.value=t.menuItems,Rt(()=>{C(),v()})}function S(P){m.value=P}const $=$a(k,200);return De(()=>{k(),window.addEventListener("resize",$)}),Zt(()=>{window.removeEventListener("resize",$),I()}),(P,x)=>{const A=$n("click-outside");return u(),h("nav",{class:j(["header__subnavigation",{isArticle:t.isArticle}])},[f("div",{class:"header-subnavigation__wrap",ref_key:"subNavigationWrap",ref:a},[f("ul",{class:j(["header-subnavigation__list",{"has-visible-overflow":!i(m)}]),ref_key:"subNavigationList",ref:l},[(u(!0),h(G,null,pe(i(s),N=>(u(),h("li",{key:N.MenuItemId,class:j([[{"is-active":E(N)},`js_item_${N.MenuItemId}`],"header-subnavigation__list-item"])},[R(et,null,{default:z(()=>[R(Bs,{item:N},null,8,["item"]),N.SubItems?(u(),O(gC,{key:0,onShowSubItems:x[0]||(x[0]=M=>S(M)),items:N.SubItems},null,8,["items"])):T("",!0)]),_:2},1024)],2))),128))],2),gt((u(),h("span",{ref_key:"viewAll",ref:d,onClick:x[1]||(x[1]=N=>c.value=!i(c)),class:"is-hidden header-navigation__list-item is-view-more"},[f("span",{class:j({"is-active":i(c)})},w(P.$t("common.viewMore")),3),x[2]||(x[2]=_e()),x[3]||(x[3]=f("i",{class:"icon-overflow-menu--vertical view-more-icon","aria-hidden":"true"},null,-1)),i(r)?(u(),h("ul",{key:0,class:j([{"is-hidden":!i(c)},"header-subnavigation__children"])},[(u(!0),h(G,null,pe(i(r),N=>(u(),h("li",{key:N.MenuItemId},[R(Ci,{item:N},null,8,["item"]),(u(!0),h(G,null,pe(N.SubItems,M=>(u(),O(Ci,{key:M.MenuItemId,item:M,icon:"icon-rotate--counterclockwise--alt"},null,8,["item"]))),128))]))),128))],2)):T("",!0)])),[[A,()=>c.value=!1]])],512)],2)}}},yC={class:"header-navigation__wrap"},Rf=1024,vC={__name:"CommonNavigationSiteNavigation",props:{menuData:{type:Array,default:()=>[]},isArticle:{type:Boolean,default:!1},hasSubmenu:{type:Boolean,default:!1}}
46,setup(e){const t=$e(),n=L(),o=L(),s=Le(),r=L([]),a=L(),l=L(!1),c=L({}),m=se(()=>s.path.toLowerCase().split("/").slice(0,2).join("/")),d=e,p=L(d.menuData);function _(x,A){const N=x.scrollLeft,M=A-N;x.scroll({left:M,behavior:"smooth"})}function g(){let x=[];const A=s.path;if(s.path.split("/").length){const M=d.menuData.find(ee=>{if(A.includes(ee.Url.toLowerCase().split("/").filter(X=>X).slice(-1)[0])&&ee.SubItems)if(x=[...ee.SubItems],ee.SubItems.forEach(X=>{X.SubItems&&x.push(...X.SubItems)}),d.isArticle){const X=x.find(me=>me.MenuItemId===t.pageData.article?.Document.ParentMenuItemId);if(X)return X}else{const X=x.find(me=>me.Url.toLowerCase()===A.toLowerCase());if(X)return X}return null});c.value=M}}g();function b(){n?.value&&n.value.classList.remove("is-hidden");const x=window.innerWidth/2,A=n?.value?n.value.getElementsByClassName("header-navigation__list-item is-active")[0]:null;if(A){const N=A.getBoundingClientRect().left,M=A.offsetWidth/2,ee=N-x+M;_(n.value,ee)}}const y=new Map;let C=0;function E(){if(n.value&&(d.menuData.forEach(x=>{const A=n.value.getElementsByClassName(`js_item_${x.MenuItemId}`)[0];if(A){const N=getComputedStyle(A),M=parseInt(N.marginLeft,10)||0;y.set(x.MenuItemId,A.offsetWidth+M)}}),a.value)){const x=a.value.classList.contains("is-hidden"),A=a.value.style.flexGrow;a.value.classList.remove("is-hidden"),a.value.style.flexGrow="0";const N=getComputedStyle(a.value);C=a.value.offsetWidth+(parseInt(N.marginLeft,10)||0)+(parseInt(N.marginRight,10)||0),a.value.style.flexGrow=A,a.value.classList.toggle("is-hidden",x)}}function D(x){const A=[],N=[];let M=0;return d.menuData.forEach(ee=>{M+=y.get(ee.MenuItemId)||0,M<=x?A.push(ee):N.push(ee)}),{visible:A,hidden:N}}function v(){const x=o.value?o.value.clientWidth:0;if(!x)return;E();let A=D(x);A.hidden.length&&(A=D(x-C)),p.value=A.visible,r.value=A.hidden,n?.value&&n.value.classList.remove("is-hidden"),a?.value&&a.value.classList.toggle("is-hidden",!A.hidden.length)}let I;function k(){I||!o.value||(I=new ResizeObserver(()=>{o.value?.clientWidth>0&&v()}),I.observe(o.value))}function S(){I&&(I.disconnect(),I=null)}function $(){if(window.innerWidth<Rf){S(),p.value=d.menuData,r.value=[],a.value?.classList.add("is-hidden");return}p.value=d.menuData,Rt(()=>{v(),k()})}const P=$a($,200);return De(()=>{window.innerWidth<Rf?(p.value=d.menuData,setTimeout(()=>{b()},50)):$(),window.addEventListener("resize",P)}),Zt(()=>{window.removeEventListener("resize",P),S()}),(x,A)=>{const N=$n("click-outside");return u(),h("nav",{class:"header-navigation",ref_key:"navigationRoot",ref:o},[f("div",yC,[f("ul",{class:"header-navigation__list",ref_key:"navigationList",ref:n},[(u(!0),h(G,null,pe(i(p),M=>(u(),h("li",{key:M.MenuItemId,class:j([[`js_item_${M.MenuItemId}`,{"is-active":M.Url.toLowerCase()===i(m)}],"header-navigation__list-item"])},[R(et,null,{default:z(()=>[R(Bs,{item:M},null,8,["item"])]),_:2},1024),R(et,null,{default:z(()=>[M.SubItems&&M.Url.toLowerCase()===i(m)&&e.hasSubmenu?(u(),O(Lf,{key:0,"menu-items":M.SubItems,"is-article":d.isArticle},null,8,["menu-items","is-article"])):T("",!0)]),_:2},1024)],2))),128))],512)]),gt((u(),h("span",{ref_key:"viewAll",ref:a,onClick:A[0]||(A[0]=M=>l.value=!i(l)),class:"is-hidden header-navigation__list-item is-view-more"},[_e(w(x.$t("common.viewMore"))+" ",1),A[1]||(A[1]=f("i",{class:"icon-overflow-menu--vertical view-more-icon","aria-hidden":"true"},null,-1)),i(r)?(u(),h("ul",{key:0,class:j([{"is-hidden":!i(l)},"header-subnavigation__children"])},[(u(!0),h(G,null,pe(i(r),M=>(u(),h("li",{key:M.MenuItemId},[R(Ci,{item:M},null,8,["item"])]))),128))],2)):T("",!0)])),[[N,()=>l.value=!1]]),(u(!0),h(G,null,pe(i(r),M=>(u(),h(G,null,[M.SubItems&&M.Url.toLowerCase()===i(s).path.toLowerCase()||i(c)?.MenuItemId===M.MenuItemId&&M.SubItems?(u(),O(Lf,{key:M.MenuItemId,"menu-items":M.SubItems,"is-article":d.isArticle},null,8,["menu-items","is-article"])):T("",!0)],64))),256))],512)}}},bC={class:"social-menu__list"},wC=["href","aria-label"],kC={__name:"CommonNavigationSiteNavigationSocialMenu",props:{items:{type:Object,default:()=>({})}},setup(e){const t=e;return(n,o)=>(u(),h("ul",bC,[(u(!0),h(G,null,pe(t.items,s=>(u(),h("li",{key:s.MenuItemId,class:"social-menu__list-item"},[f("a",{href:s.Url,target:"_blank",rel:"noopener","aria-label":s.Title},[f("i",{class:j(["social-menu__list-icon",`icon-logo--${s.Properties.menuIcon}`]),"aria-hidden":"true"},null,2)],8,wC)]))),128))]))}},TC={key:0,class:"icon-chevron--down","aria-hidden":"true"},$C={key:1,class:"icon-chevron--up","aria-hidden":"true"}
46,SC={key:1,class:"navigation-drawer__subitems-list"},DC={key:0,class:"navigation-drawer__subitem-grandchildren"},CC={__name:"CommonNavigationSiteNavigationDrawerItem",props:{item:{type:Object,default:()=>({})},isArticle:{type:Boolean,default:!1}},setup(e){const t=e,n=$e(),o=L(!1),s=Le();return De(()=>{if(t.item.Url.toLowerCase()===s.path.toLowerCase())o.value=!0;else if(s.path.includes(t.item.Url.toLowerCase().split("/").filter(r=>r).slice(-1)[0])){let r=[];t.item.SubItems&&(r=[...t.item.SubItems],t.item.SubItems.forEach(a=>{a.SubItems&&r.push(...a.SubItems)})),t.isArticle?r.find(l=>l.MenuItemId===n.pageData.article?.Document.ParentMenuItemId)&&(o.value=!0):r.find(l=>l.Url.toLowerCase()===s.path.toLowerCase())&&(o.value=!0)}}),(r,a)=>(u(),h("span",{class:j(["navigation-drawer__list-item",{"is-active":i(o)}])},[R(Bs,{item:t.item},null,8,["item"]),t?.item?.SubItems?.length?(u(),h("span",{key:0,onClick:a[0]||(a[0]=l=>o.value=!i(o)),class:"navigation-drawer__show-more"},[i(o)?(u(),h("i",$C)):(u(),h("i",TC))])):T("",!0),i(o)?(u(),h("div",SC,[(u(!0),h(G,null,pe(t.item.SubItems,l=>(u(),h("div",{key:l.MenuItemId,class:j(["navigation-drawer__subitem-list-item",{"is-active":l.MenuItemId===i(n).pageData.article?.Document.ParentMenuItemId}])},[R(Bs,{item:l},null,8,["item"]),l.SubItems?(u(),h("div",DC,[(u(!0),h(G,null,pe(l.SubItems,c=>(u(),O(Ci,{key:c.menuItemId,item:c,icon:"icon-rotate--counterclockwise--alt"},null,8,["item"]))),128))])):T("",!0)],2))),128))])):T("",!0)],2))}},PC={class:"magazines-menu"},xC={class:"navigation-drawer__title"},IC={class:"magazines-menu__list"},EC={__name:"CommonNavigationSiteNavigationMagazinesList",props:{magazinesMenu:{type:Array,default:()=>[]}},setup(e){const t=e,o=$e().coreData?.magazinesMenuName;return(s,r)=>(u(),h("div",PC,[f("div",xC,w(i(o)),1),f("div",IC,[(u(!0),h(G,null,pe(t.magazinesMenu,a=>(u(),h("div",{key:a.MenuItemId,class:"magazines-menu__list-item"},[R(Bs,{item:a},null,8,["item"])]))),128))])]))}},AC={},LC={class:"navigation-drawer__story"},RC={class:"navigation-drawer__story-title"},OC={role:"button",class:"btn btn--prim btn--full"};function MC(e,t){return u(),h("div",LC,[f("div",RC,w(e.$t("sendStory.intro")),1),f("a",OC,w(e.$t("sendStoryCTA")),1)])}const NC=Object.assign(te(AC,[["render",MC]]),{__name:"CommonNavigationSiteNavigationSendStory"}),xg={__name:"CommonNavigationSiteNavigationThemeToggle",setup(e){const t=$e(
46),n=new Date;n.setFullYear(n.getFullYear()+20);const o=L(`theme-toggle--${t.themeColor}`);function s(r){o.value=`theme-toggle--${r}`,t.setThemeColor(r),document.cookie=`themeName=${r}; expires=${n.toUTCString()}; path=/`}return(r,a)=>(u(),h("div",{class:j(["theme-toggle",i(o)]),onClick:a[0]||(a[0]=l=>s(i(t).themeColor==="dark"?"light":"dark"))},[...a[1]||(a[1]=[f("div",{class:"icon-wrap icon-wrap_light"},[f("i",{class:"icon icon-light--filled","aria-hidden":"true"})],-1),f("div",{class:"icon-wrap icon-wrap_asleep"},[f("i",{class:"icon icon-asleep--filled","aria-hidden":"true"})],-1)])],2))}},BC={class:"navigation-drawer__theme-toggle"},UC={class:"navigation-drawer__theme-toggle-label"},jC={key:0,class:"navigation-drawer__list"},VC={class:"navigation-drawer__copyright"},HC={__name:"CommonNavigationSiteNavigationDrawerCategories",props:{menuData:{type:Array,default:()=>[]},magazinesMenu:{type:Array,default:()=>[]},isArticle:{type:Boolean,default:!1}},setup(e){const{config:t}=ye().public,n=e;return(o,s)=>(u(),O(i(qc),{
46class:"navigation-drawer__scrollbar"},{default:z(()=>[f("div",BC,[f("div",UC,w(o.$t("navigation.drawerThemeToggle")),1),R(xg)]),n.menuData?(u(),h("nav",jC,[(u(!0),h(G,null,pe(n.menuData,r=>(u(),O(CC,{key:r.MenuItemId,item:r,"is-article":n.isArticle},null,8,["item","is-article"]))),128))])):T("",!0),i(t).showUGC?(u(),O(NC,{key:1})):T("",!0),n.magazinesMenu.length?(u(),O(EC,{key:2,"magazines-menu":n.magazinesMenu},null,8,["magazines-menu"])):T("",!0),f("div",VC," © "+w(new Date().getFullYear())+" "+w(o.$t("copyright.title"))+" "+w(o.$t("copyright.text")),1)]),_:1}))}},zC={key:0,class:"navigation-drawer__selection"},FC={class:"navigation-drawer__title"},WC={class:"edition-options"},GC=["onChange","checked"],qC=["href"],YC={key:1,class:"navigation-drawer__selection"},KC={class:"navigation-drawer__title"},XC={class:"extra-menu__list"},QC=["href"],JC={class:"navigation-drawer__copyright"},ZC={__name:"CommonNavigationSiteNavigationDrawerOptions",props:{editionsMenu:{type:Array,default:()=>[]},extraMenu:{type:Array,default:()=>[]}},setup(e){const t=e,n=L("");return(o,s)=>{const r=Ze("router-link");return u(),O(i(qc),{class:"navigation-drawer__scrollbar"},{default:z(()=>[t.editionsMenu?.length?(u(),h("div",zC,[f("div",FC,w(o.$t("navigation.editionsTitle")),1),f("ul",WC,[(u(!0),h(G,null,pe(t.editionsMenu,(a,l)=>(u(),h("li",{key:a.MenuItemId,class:j([{"is-active":a.Url===i(n)},"edition-option form-radiobutton"])},[f("label",null,[f("input",{onChange:c=>n.value=a.Url,class:"radiobutton",type:"radio",name:"edition-option",checked:l===0},null,40,GC),f("span",null,w(a.Title),1)])],2))),128))]),f("a",{class:"btn btn--prim btn--full",href:i(n),target:"_blank"},w(o.$t("navigation.submitYourChoice")),9,qC)])):T("",!0),t.extraMenu?(u(),h("nav",YC,[f("div",KC,w(o.$t("navigation.linksTitle")),1),f("ul",XC,[(u(!0),h(G,null,pe(t.extraMenu,a=>(u(),h("li",{key:a.MenuItemId,class:"extra-menu__list-item"},[a.MenuItemType==="ExternalUrl"&&a.Title!=="Arhiva"?(u(),h("a",{key:0,href:a.Url,target:"_blank"},w(a.Title),9,QC)):(u(),O(r,{key:1,to:o.$createLocalUrl(a.Url)},{default:z(()=>[_e(w(a.Title),1)]),_:2},1032,["to"]))]))),128))])])):T("",!0),f("div",JC," © "+w(new Date().getFullYear())+" "+w(o.$t("copyright.title"))+" "+w(o.$t("copyright.text")),1)]),_:1})}}};function eP(e,t,n){const o=new Date;o.setFullYear(o.getFullYear()+20);const s=t.defaultTheme||"light";{const r=Ao("themeName",document.cookie);r?n.setThemeColor(r):(document.cookie=`themeName=${s}; expires=${o.toUTCString()}; path=/`,n.setThemeColor(s))}}function tP(e,t,n){if(e?.article?.Template==="Storytelling"){const o=e.article?.Document.DocumentElements.find(s=>s.Name==="Is Light theme");return t.setSelectedColor(o?.Text==="true"?"light":"dark"),o?.Text==="true"?"light":"dark"}return n.isTvPage?"dark":t.themeColor}function nP(e,t=!1){if(t)return"";const n=e.coreData?.siteSettings?.specialTheme?.toLowerCase();return n&&{"mourning day":"is-occasion-mourning",christmas:"is-occasion-christmas"}[n]||""}function Ig(e,t,n=""){if(!t)return"";const o=String(t).toLowerCase().trim(),r={"mourning day":"mourning",christmas:"christmas"}[o]||o;return`${e.portalId}-${r}.svg${n}`}function oP({config:e,specialTheme:t,isShort:n,theme:o,bustParametar:s=""}){const r=Ig(e,t,s);if(!r)return"";const a="/img/logo/",c=`#${n?"logo-short":"logo"}-${o}`;return`${a}${r}${c}`}function sP({config:e,specialTheme:t,theme:n,bustParametar:o=""}){const s=Ig(e,t,o);return s?`/img/logo/${s}#logo-drawer-${n}`:""}function Eg(e,t=!1){const{theme:n,specialTheme:o,sectionName:s="",isCustomSection:r=!1,isArticle:a=!1,isMobileOrTablet:l=!1,sectionClass:c="",categoryName:m="",config:d={},bustParametar:p="",isGallery:_=!1}=e,b=`#${t?"logo-short":"logo"}-${n}`,y="/img/logo/";if(r&&s)return`${y}${d.portalId}-${s}.svg${p}${b}`;if(d.subdomain&&!_)return`${y}${d.portalId}-${d.subdomain}.svg${p}${b}`;const C=oP({config:d,specialTheme:o,isShort:t,theme:n,bustParametar:p});if(C)return C;if(!t&&a&&l){const D=!!d.campaign?`${d.portalId}-${d.campaign}.svg`:`${d.portalId}.svg`,v=c&&!c.includes("default");let I=v?"both-mobile-article-default":n;return m==="Hronika"&&v&&(I=n==="dark"?"dark-mobile-article-hronika":"both-mobile-article-default"),`${y}${D}${p}#logo-${I}`}return d.campaign?`${y}${d.portalId}-${d.campaign}.svg${p}${b}`:`${y}${d.portalId}.svg${p}${b}`}function Ag(e){const{theme:t,specialTheme:n,config:o={},bustParametar:s=""}=e;if(o.subdomain)return`/img/logo/${o.portalId}-${o.subdomain}.svg${s}#logo-drawer-${t}`;const r=sP({config:o,specialTheme:n,theme:t,bustParametar:s});return r||(o.campaign?`/img/logo/${o.portalId}-${o.campaign}.svg${s}#logo-${t}`:`/img/logo/${o.portalId}.svg${s}#logo-${t}`)}const iP={class:"navigation-drawer__header"},rP={class:"navigation-drawer__logo"},aP={class:"navigation-drawer__logo_image"},lP=["xlink:href"],cP={class:"navigation-drawer__tabs"},uP={key:2,class:"navigation-drawer__footer"},dP={__name:"CommonNavigationSiteNavigationDrawer",props:{menuData:{type:Array,default:()=>[]},magazinesMenu:{type:Array,default:()=>[]},editionsMenu:{type:Array,default:()=>[]},extraMenu:{type:Object,default:()=>({})},socialMenu:{type:Array,default:()=>[]},positionRight:{type:String,default:""},isArticle:{type:Boolean,default:!1},theme:{type:String,default:""}},emits:["closeNavigationDrawer"],setup(e,{emit:t}){const{config:n}=ye().public,o=$e(),s=e,r=L("DrawerCategories"),a=t;function l(){Ti("has-full-screen-active"),a("closeNavigationDrawer",!0)}function c(){l()}function m(y){return y.target.className!=="header-extra__menu"&&y.target.className!=="icon-menu"}const d=L({handler:c,middleware:m,events:["dblclick","click"]}),p=L(!1),_=n.bustParametar||"",g=o.coreData?.siteSettings?.specialTheme?.toLowerCase(),b=se(()=>Ag({theme:s.theme,specialTheme:g,config:n,bustParametar:_}).replace(`#logo-${s.theme}`,`#logo-drawer-${s.theme}`).replace(`#logo-footer-${s.theme}`,`#logo-drawer-${s.theme}`));return De(()=>{setTimeout(()=>{p.value=!0},50)}),(y,C)=>{const E=$n("click-outside");return gt((u(),h("div",{class:"navigation-drawer",style:Se({right:s.positionRight})},[f("div",iP,[f("div",rP,[(u(),h("svg",aP,[f("use",{"xlink:href":i(b)},null,8,lP)]))]),f("div",{class:"navigation-drawer__close",onClick:C[0]||(C[0]=D=>{l()})},[...C[3]||(C[3]=[f("i",{class:"icon-close","aria-hidden":"true"},null,-1)])])]),f("div",cP,[f("span",{class:j({"is-active":i(r)==="DrawerCategories"}),onClick:C[1]||(C[1]=D=>{r.value="DrawerCategories"})},w(y.$t("navigation.drawerCategoriesTitle")),3),f("span",{class:j({"is-active":i(r)==="DrawerOptions"}),onClick:C[2]||(C[2]=D=>{r.value="DrawerOptions"})},w(y.$t("navigation.drawerCategoriesOptions")),3)]),i(r)==="DrawerCategories"&&i(p)?(u(),O(HC,{key:0,"menu-data":s.menuData,"social-menu":s.socialMenu,"magazines-menu":s.magazinesMenu,"is-article":s.isArticle},null,8,["menu-data","social-menu","magazines-menu","is-article"])):i(r)==="DrawerOptions"&&i(p)?(u(),O(ZC,{key:1,"editions-menu":s.editionsMenu,"extra-menu":s.extraMenu},null,8,["editions-menu","extra-menu"])):T("",!0),s.socialMenu?(u(),h("div",uP,[R(kC,{items:s.socialMenu},null,8,["items"])])):T("",!0)],4)),[[E,i(d)]])}}},fP={},mP={class:"spinner"};function pP(e,t){return u(),h("div",mP)}const _s=Object.assign(te(fP,[["render",pP],["__scopeId","data-v-eba6742f"]]),{__name:"CommonCustomSpinner"});function hP(e){return{Storybook:"is-section-storybook",Roditelji:"is-section-roditelji",Smartlife:"is-section-smartlife",Automobili:"is-section-auto"}[e]||"is-section-default"}const gP={class:"container"},_P={class:"header__content"},yP={class:"header-extra"},vP={class:"header-search-wrap"},bP=["placeholder"],wP={class:"header-extra__icon"},kP={key:0,class:"header-extra__icon isSpinner"},TP={key:1,class:"header-extra__no-initials"},$P={class:"header-extra__icon"},SP={__name:"CommonNavigationSiteHeader",props:{menuData:{type:Array,default:()=>[]},magazinesMenu:{type:Array,default:()=>[]},socialMenu:{type:Array,default:()=>[]},editionsMenu:{type:Array,default:()=>[]},extraMenu:{type:Array,default:()=>[]},hasSubmenu:{type:Boolean,default:!1},isStorytelling:{type:Boolean,default:!1},isStorytellingTwo:{type:Boolean,default:!1},isArticle:{type:Boolean,default:!1},hasDarkSubmenu:{type:Boolean,default:!1},theme:{type:String,default:""}},setup(e){const{$gigya:t}=ue(),n=$t(),o=$e(),s=o.coreData?.siteSettings?.enableGigya,{config:r}=ye().public,{profilePage:a}=r,l=e,c=Le(),m=Ye(),d=L(!1),p=L(),_=L("0px"),g=L(),b=L(),y=L(""),C=L(),E=L(!1),D=L(!1),v=L(!1),I=se(()=>o.breadcrumbs[0]?.Name||""),k=se(()=>o.pageData?.article?.Document?.DocumentTypeAlias==="Storytelling2.0"),S=se(()=>r?.customSections?.includes(I.value)),$=I.value&&S?I.value.toLowerCase():"",P=se(()=>hP(I.value)),x=r.bustParametar||"",A=o.coreData?.siteSettings?.specialTheme?.toLowerCase(),N=se(()=>{if(!A){const ie=["Smartlife","Automobili"];
46return r.hasCustomSections&&S.value&&ie.includes(I.value)&&$?`/img/logo/logo-sprite-is-section-${$}.svg${x}#logo-${l.theme}`:`/img/logo/${r.portalId}.svg${x}#logo-${l.theme}`}return Eg({theme:l.theme,specialTheme:A,config:r,bustParametar:x})});function M(){d.value=!0,Ns("has-full-screen-active"),typeof window<"u"&&typeof window.requestAnimationFrame=="function"?window.requestAnimationFrame(ee):ee()}function ee(){const ie=window.innerWidth;if(ie>1920){const ce=p.value;_.value=`${ie-(ce.getBoundingClientRect().left+ce.offsetWidth+9)}px`}else ie>1024?_.value="4px":_.value="0px"}function X(){g.value&&!D.value&&(g.value.classList.add("is-active"),C.value.classList.add("has-active-search"),E.value=!0,b.value.focus())}function me(){g.value&&E.value===!0&&(g.value.classList.remove("is-active"),C.value.classList.remove("has-active-search"),E.value=!1)}function Q(){if(b.value.value.replace(/\s/g,"").length){const ie={};ie.q=b.value.value.replace(/&/g,"%26"),m.push({path:"/search/1/1",query:ie}).catch(()=>{})}}function F(ie){y.value=b.value.value,ie.keyCode===27&&me(),ie.keyCode===13&&Q()}function Y(){y.value="",b.value.value="",b.value.focus()}return De(()=>{d.value===!1&&Ti("has-full-screen-active"),D.value=c.fullPath.toLowerCase().includes("search"),v.value=c.fullPath.includes("/Profil"),c.query.q&&(y.value=c.query.q,b.value.value=c.query.q)}),(ie,ce)=>{const de=Ze("router-link"),V=$n("click-outside");return u(),h("header",{class:j(["header",[{"has-submenu":e.hasSubmenu},{"has-dark-submenu":e.hasDarkSubmenu},{[i(P)]:i(S)}]]),ref_key:"header",ref:C},[f("div",gP,[f("div",{class:j(["header__content_wrap",{"nav-storytelling":e.isStorytelling,"nav-storytelling-two":i(k)}])},[f("div",_P,[R(sC,{"logo-src":i(N),theme:e.theme},null,8,["logo-src","theme"]),R(et,null,{default:z(()=>[R(vC,{"has-submenu":e.hasSubmenu,"menu-data":l.menuData,"is-article":l.isArticle},null,8,["has-submenu","menu-data","is-article"])]),_:1}),f("div",yP,[R(xg),gt((u(),h("div",{class:j(["header-extra__icon",{"is-active":i(D)}]),onClick:X},[ce[7]||(ce[7]=f("i",{class:"icon-search","aria-hidden":"true"},null,-1)),f("div",{class:"header-search",ref_key:"headerSearch",ref:g},[f("div",vP,[f("form",{onSubmit:ce[2]||(ce[2]=He(()=>{},["prevent"]))},[f("input",{ref_key:"searchInput",ref:b,type:"text",class:"input",placeholder:`Â ${ie.$t("searchPlaceholder")}`,onKeyup:ce[0]||(ce[0]=K=>F(K))},null,40,bP),i(y).length>0?(u(),h("i",{key:0,onClick:ce[1]||(ce[1]=He(K=>Y(),["stop"])),"aria-hidden":"true",class:"icon icon-close--filled"})):T("",!0)],32),f("div",{onClick:ce[3]||(ce[3]=He(K=>me(),["stop"])),class:"header-search__close"},[...ce[6]||(ce[6]=[f("i",{"aria-hidden":"true",class:"icon icon-close"},null,-1)])])])],512)],2)),[[V,me]]),gt(f("div",wP,[...ce[8]||(ce[8]=[f("i",{class:"icon-headphones-custom","aria-hidden":"true"},null,-1)])],512),[[Dl,i(r).showAudioButton]]),i(s)?(u(),h(G,{key:0},[i(n).gigyaLoaded?(u(),h(G,{key:1},[i(n).isAuthenticated?(u(),h("div",{key:0,class:j(["header-extra__icon is-user",{"is-active":i(v)}])},[R(de,{rel:"nofollow",to:i(a),title:i(a),role:"button"},{default:z(()=>[i(n).userInitials&&i(n).userColor&&i(n).userFontColor?(u(),h("div",{key:0,class:"header-extra__initials",style:Se({backgroundColor:i(n).userColor,color:i(n).userFontColor})},w(i(n).userInitials),5)):(u(),h("div",TP,[...ce[9]||(ce[9]=[f("i",{class:"icon-user--avatar","aria-hidden":"true"},null,-1)])]))]),_:1},8,["to","title"])],2)):(u(),h("div",{key:1,class:"header-extra__icon no-user",onClick:ce[4]||(ce[4]=K=>{i(t).$openGigyaModal("Registration","Welcome")})},[...ce[10]||(ce[10]=[f("i",{class:"icon-user--avatar","aria-hidden":"true"},null,-1)])]))],64)):(u(),h("div",kP,[R(_s)]))],64)):T("",!0),gt(f("div",$P,[...ce[11]||(ce[11]=[f("i",{class:"icon-notification","aria-hidden":"true"},null,-1)])],512),[[Dl,i(r).showNotificationIcon]]),f("div",{class:"header-extra__icon header-extra__menu",onClick:M,ref_key:"menuIcon",ref:p},[...ce[12]||(ce[12]=[f("i",{class:"icon-menu","aria-hidden":"true"},null,-1)])],512),R(et,null,{default:z(()=>[R(dP,{class:j({"is-active":i(d)}),"menu-data":l.menuData,"position-right":i(d)?i(_):"-100%","magazines-menu":l.magazinesMenu,"social-menu":l.socialMenu,"editions-menu":l.editionsMenu,"extra-menu":l.extraMenu,"is-article":l.isArticle,onCloseNavigationDrawer:ce[5]||(ce[5]=K=>d.value=!1),theme:l.theme},null,8,["class","menu-data","position-right","magazines-menu","social-menu","editions-menu","extra-menu","is-article","theme"])]),_:1})])])],2)])],2)}}},DP={class:"footer-navigation__wrap"},CP={class:"footer-navigation__list"},PP={__name:"CommonFooterFooterNavigationFooterMainMenu",props:{mainFooterMenu:{type:Array,default:()=>[]}},setup(e){const t=e,n=$e(),o=Le(),s=n.themeColor,r=se(()=>
46o.path.split("/").slice(0,2).join("/"));return(a,l)=>(u(),h("nav",DP,[f("ul",CP,[(u(!0),h(G,null,pe(t.mainFooterMenu,c=>(u(),h("li",{key:c.MenuItemId,class:j([[{"is-active":c.Url===i(r)}],"footer-navigation__list-item is-category"])},[R(Bs,{theme:i(n).themeColor,item:c,class:"footer-custom"},null,8,["theme","item"]),f("span",{class:j(`bottom-line ${i(s)} category-surface-color-${c.Properties.category||"default"}`)},null,2)],2))),128))])]))}},xP=te(PP,[["__scopeId","data-v-5464f09b"]]),IP={class:"social-menu-footer__wrap"},EP={class:"social-menu-footer__list"},AP=["href","aria-label"],LP={key:0,viewBox:"0 0 24 24",class:"social-menu-footer__svg"},RP=["xlink:href"],OP={key:1,viewBox:"0 0 24 24",class:"social-menu-footer__svg"},MP=["xlink:href"],NP={__name:"CommonFooterFooterNavigationSocialMenuFooter",props:{items:{type:Object,default:()=>({})},theme:{type:String,default:""}},setup(e){const t=e;return(n,o)=>(u(),h("nav",IP,[f("ul",EP,[(u(!0),h(G,null,pe(t.items,s=>(u(),h("li",{key:s.MenuItemId,class:"social-menu-footer__list-item"},[f("a",{href:s.Url,target:"_blank",rel:"noopener","aria-label":s.Title},[e.theme==="light"?(u(),h("svg",LP,[f("use",{"xlink:href":`/img/sprite-shares-02042025.svg#channel-${s.Properties.menuIcon}-light`},null,8,RP)])):(u(),h("svg",OP,[f("use",{"xlink:href":`/img/sprite-shares-02042025.svg#channel-${s.Properties.menuIcon}-dark`},null,8,MP)]))],8,AP)]))),128))])]))}},BP=te(NP,[["__scopeId","data-v-789022e0"]]),UP={class:"footer-magazines-list__wrap"},jP={key:0,class:"footer-magazines-list__list"},VP=["href","aria-label"],HP=["viewBox"],zP=["xlink:href"],FP={__name:"CommonFooterFooterNavigationFooterMagazinesMenu",props:{items:{type:Object,default:()=>({})}},setup(e){const{config:t}=ye().public,n=e;return(o,s)=>(u(),h("nav",UP,[n.items?(u(),h("ul",jP,[(u(!0),h(G,null,pe(n.items,r=>(u(),h("li",{key:r.MenuItemId,class:"footer-magazines-list__list-item"},[f("a",{href:r.Url,target:"_blank",rel:"noopener","aria-label":r.Title},[(u(),h("svg",{viewBox:i(t).footerMagazinesViewBox[`${r.Properties.menuIcon}`],class:"footer-magazines-list__svg"},[f("use",{"xlink:href":`/img/footer-logo-sprite-complete-responsive.svg#logo-${r.Properties.menuIcon}`},null,8,zP)],8,HP))],8,VP)]))),128))])):T("",!0)]))}},WP=te(FP,[["__scopeId","data-v-04375b10"]]),GP={class:"extra-menu__wrap"},qP={class:"extra-menu__list"},YP=["href"],KP={__name:"CommonFooterFooterNavigationFooterExtraMenu",props:{items:{type:Object,default:()=>({})}},setup(e){const t=e;return(n,o)=>{const s=Ze("router-link");return u(),h("nav",GP,[f("ul",qP,[(u(!0),h(G,null,pe(t.items,r=>(u(),h("li",{key:r.MenuItemId,class:"extra-menu__list-item"},[r.MenuItemType==="ExternalUrl"&&r.Title!=="Arhiva"?(u(),h("a",{key:0,href:r.Url,target:"_blank"},w(r.Title),9,YP)):(u(),O(s,{key:1,to:n.$createLocalUrl(r.Url)},{default:z(()=>[_e(w(r.Title),1)]),_:2},1032,["to"]))]))),128))])])}}},XP=te(KP,[["__scopeId","data-v-f1a650e6"]]),QP={class:"footer"},JP={class:"container"},ZP={class:"footer-logo__wrap"},ex=["viewBox"],tx=["xlink:href"],nx=["viewBox"],ox=["xlink:href"],sx={class:"header-logo__span"},ix={key:0},rx={key:1},ax={key:2},lx={key:3,class:"footer-gdpr"},cx={href:"javascript:Didomi.preferences.show()"},ux={__name:"CommonFooter",props:{mainFooterMenu:{type:Array,default:()=>[]},extraMenu:{type:Array,default:()=>[]},socialMenu:{type:Array,default:()=>[]},magazinesMenu:{type:Array,default:()=>[]},theme:{type:String,default:""}},setup(e){const t=e,{config:n}=ye().public,{$t:o}=ue(),s=$e(),r=n.bustParametar||"",a=s.coreData?.siteSettings?.specialTheme?.toLowerCase(),l=se(()=>{const _=Ag({theme:t.theme,specialTheme:a,config:n,bustParametar:r});return a?_.replace(`#logo-drawer-${t.theme}`,`#logo-footer-${t.theme}`).replace(`#logo-${t.theme}`,`#logo-footer-${t.theme}`):_.replace(`#logo-${t.theme}`,`#logo-drawer-${t.theme}`).replace(`#logo-footer-${t.theme}`,`#logo-drawer-${t.theme}`)}),c=new Date().getFullYear(),m=`${o("footerCopyright.sign")} ${c}. ${n.portalId==="eupravozato"?o("footerCopyright.copyrightTextFondacija"):o("footerCopyright.copyrightText")}`,d=se(()=>t.magazinesMenu.filter(_=>
46_?.Properties?.menuIcon)),p=n.showFooterGDPR??!1;return(_,g)=>(u(),h("footer",QP,[f("div",JP,[f("div",ZP,[i(a)==="christmas"?(u(),h("svg",{key:0,viewBox:i(n).footerLogoViewBoxChristmas,class:"footer-logo__image"},[f("use",{"xlink:href":i(l)},null,8,tx)],8,ex)):(u(),h("svg",{key:1,viewBox:i(n).footerLogoViewBox,class:"footer-logo__image"},[f("use",{"xlink:href":i(l)},null,8,ox)],8,nx)),f("span",sx,w(i(o)("logoDescription")),1)]),R(et,null,{default:z(()=>[R(xP,{"main-footer-menu":t.mainFooterMenu},null,8,["main-footer-menu"])]),_:1}),g[4]||(g[4]=f("div",{class:"footer-divider"},null,-1)),i(d).length?(u(),h("div",ix,[R(et,null,{default:z(()=>[R(WP,{items:i(d)},null,8,["items"]),g[0]||(g[0]=f("div",{class:"footer-divider"},null,-1))]),_:1})])):T("",!0),t.extraMenu.length?(u(),h("div",rx,[R(et,null,{default:z(()=>[R(XP,{items:t.extraMenu},null,8,["items"]),g[1]||(g[1]=f("div",{class:"footer-divider"},null,-1))]),_:1})])):T("",!0),t.socialMenu.length?(u(),h("div",ax,[R(et,null,{default:z(()=>[R(BP,{items:t.socialMenu,theme:t.theme},null,8,["items","theme"])]),_:1}),g[2]||(g[2]=f("div",{class:"footer-divider"},null,-1))])):T("",!0),f("div",{class:"footer-copyright"},w(m)),i(p)?(u(),h("div",lx,[g[3]||(g[3]=f("div",{class:"footer-divider"},null,-1)),f("span",null,[f("a",cx,w(i(o)("footerGDPRLink")),1)]),f("span",null,w(i(o)("footerGDPRCopy")),1)])):T("",!0)])]))}},dx=te(ux,[["__scopeId","data-v-6a417732"]]),fx={key:0,class:"icon-play","aria-hidden":"true"},mx={key:1,class:"icon-pause--filled","aria-hidden":"true"},px=["id"],hx={__name:"ArticleElementsShortsVideo",props:Vy({document:{type:Object,required:!0},enableAdTag:{type:Boolean,default:!1},isLast:{type:Boolean,default:!1},isSingleShort:{type:Boolean,default:!1}},{"is-preroll-active":{type:Boolean},"is-preroll-activeModifiers":{},"is-muted":{type:Boolean},"is-mutedModifiers":{},"current-position":{type:Number},"current-positionModifiers":{}}),emits:["update:is-preroll-active","update:is-muted","update:current-position"],setup(e){const t=e,{config:n}=ye().public,o=Te(t.document,"Video")?.Video||{},s=L(null),r=L(!1),a=L(!1),l=L(!1),c=Ua(e,"is-preroll-active"),m=Ua(e,"is-muted"),d=Ua(e,"current-position");let p,_,g,b,y;function C($){let x=`%26mondo_artid%3D${t.document.DocumentId}%26mondo_type%3Darticle_single`;if(t.document.Tags?.length>0){const M=t.document.Tags.map(ee=>ee.Name).join().replaceAll(",","%2C").replaceAll(" ","-");x+=`%26mondo_tags%3D${M}`}return $.replace("{options}",x)}const E=C(n.movPlayer.ADS);async function D(){if(r.value)_.pause();else try{await _.play()}catch($){console.log($)}}function v(){!_||c.value||(l.value&&clearTimeout(g),l.value=!0,D(),g=setTimeout(()=>{l.value=!1},700))}function I(){const $={id:`video-${o.Id}`,options:{playerId:`${n.movPlayer.id}`,videoTitle:o.Title,videoId:o.ExternalVideoId,playbackType:"on-demand",orientation:"portrait",mutestart:!1,autostart:!1,loop:t.isSingleShort,projectId:`${n.movPlayer.projectId}`,client:"am",adTag:t.enableAdTag&&E},player:P=>{_=P,_.on("ended",()=>{if(t.isLast){d.value=0;return}d.value++}),_.on("canplay",()=>{m.value=_.muted()}),_.on("play",()=>{r.value=!0,a.value=!1}),_.on("pause",()=>{r.value=!1,a.value=!0}),_.on("adstart",()=>{c.value=!0}),_.on("adend",()=>{c.value=!1})}};try{window.movPlayer($)}catch(P){console.log(P)}}async function k(){if(_)try{await _.play(),clearInterval(b),b=null}catch($){if(console.log($),$.name==="NotAllowedError"){_.muted(!0),m.value=!0;try{await _.play(),clearInterval(b),b=null}catch(P){console.log(P)}}}}function S($){$.forEach(P=>{P.isIntersecting?_?k():b||(b=Mo(k,300)):(clearInterval(b),b=null,_&&(_.pause(),_.currentTime(0)))})}return qe(()=>m.value,$=>{_&&m.value!==_.muted()&&_.muted($)}),De(()=>{y=Mo(()=>{window.movPlayer&&(I(),clearInterval(y),y=null)},300);const $={threshold:.8};p=new IntersectionObserver(S,$),p.observe(s.value)}),Xe(()=>{p&&p.disconnect(),clearTimeout(g),clearInterval(b),clearInterval(y);try{_&&typeof _.off=="function"&&(_.off("ended"),_.off("canplay"),_.off("play"),_.off("pause"),_.off("adstart"),_.off("adend")),_&&typeof _.destroy=="function"&&_.destroy(),_&&typeof _.dispose=="function"&&_.dispose()}catch($){console.log($)}_=null}),($,P)=>(u(),h("div",{ref_key:"item",ref:s,class:"shorts-video",onClick:He(v,["stop","prevent"])},[f("span",{class:j(["shorts-video__play-toggle",{show:i(l)}])},[i(r)?(u(),h("i",fx)):(u(),h("i",mx))],2),f("mov-player",{id:`video-${i(o).Id}`,class:"shorts-video__player",script:""},null,8,px)],512))}},gx=te(hx,[["__scopeId","data-v-e6ea0972"]]),_x={key:0,class:"icon-mute","aria-hidden":"true"},yx={key:1,class:"icon-sound-on","aria-hidden":"true"},vx={class:"shorts-page__nav"},bx=15,wx=30,kx={__name:"DynamicComponentsShorts",props:{pageData:{type:Object,default:()=>({})}},setup(e){const t=e,n=ue(),o=Ye(),{config:s}=ye().public,r=L(null),a=L(!1);let l=0,c=0,m=!1,d=!1;const p=L(0),_=s.amtvShortsRootMenuName||"Mondo Shorts",g=L(null);let b=window?.history?.state?.back||"";const y=(t.pageData?.pageElements||[]).filter(Z=>Z?.Template==="Shorts-List"&&Array.isArray(Z?.Documents)),C=y?.[0]?.Documents?.[0]||null,E=t.pageData?.article?.Document||C,D=Number(E?.DocumentId||0),v=Z=>(Z||"").trim().toLowerCase(),I=v(_);let k=y.find(Z=>Z.Documents.some(q=>Number(q.DocumentId)===D)&&Z.Documents.some(q=>v(q.RootMenuItemName)===I));k||(k=y.find(Z=>Z.Documents.some(q=>v(q.RootMenuItemName)===I)));const S=(k?.Documents||[]).filter(Z=>v(Z.RootMenuItemName)===I),$=S.findIndex(Z=>Number(Z.DocumentId)===D),P=$>=0?$:0,x=S.slice(P,P+bx),A=x.length===1,N=new Map;let M=null,ee=0;function X(Z){return(Z+1)%3===0&&Z!==0}function me(){b?o.back():o.push("/")}function Q(){d||(p.value<x.length-1?p.value++:p.value=0)}function F(){d||(p.value>0?p.value--:p.value=x.length-1)}function Y(){d=!0;const Z=window.innerHeight;r.value.style.transition="transform 0.3s",r.value.style.transform=`translateY(-${p.value*Z}px)`,setTimeout(()=>{r.value.style.transition="",d=!1},300)}async function ie(Z){if(!Z)return null;if(N.has(Z))return N.get(Z);M&&M.abort(),M=new AbortController;const q=++ee;try{const fe=await fetch(`/amtv-headless${Z}`,{signal:M.signal});if(!fe.ok)return null;const W=await fe.json();if(q!==ee)return null;const le=W.Elements.find(Oe=>Oe.Type==="Article"),he=W.ContentMetaData,we={article:le,contentMetaData:he};if(N.set(Z,we),N.size>wx){const Oe=N.keys().next().value;N.delete(Oe)}return we}catch(fe){return fe?.name==="AbortError"||console.log(fe),null}}qe(()=>p.value,async()=>{Y();const Z=x[p.value];
46if(!Z?.WebUrl)return;const q=await ie(Z.WebUrl);if(!q)return;const fe=n.$getMetaData(q.contentMetaData,q.article);Mn(fe),window.history.replaceState({},null,Z.WebUrl)});function ce(Z){a.value||A||(m=!0,l=Z.touches[0].clientY,c=0,r.value.style.transition="",window.scrollY===0&&Z.touches[0].clientY<50&&Z.preventDefault())}function de(Z){if(!m||a.value||A)return;Z.preventDefault(),c=Z.touches[0].clientY-l;const fe=window.innerHeight,W=-p.value*fe+c;r.value.style.transform=`translateY(${W}px)`}function V(){m=!1,Y()}function K(){!m||a.value||A||(m=!1,c<-50?p.value<x.length-1?p.value++:p.value=0:c>50&&p.value>0?p.value--:Y(),c=0)}return De(()=>{b=window.history.state.back||"",setTimeout(Ns),r.value.addEventListener("touchstart",ce,{passive:!1}),r.value.addEventListener("touchmove",de,{passive:!1}),r.value.addEventListener("touchcancel",V),r.value.addEventListener("touchend",K),Y()}),Xe(()=>{Ti(),M&&M.abort(),r.value.removeEventListener("touchstart",ce),r.value.removeEventListener("touchmove",de),r.value.removeEventListener("touchcancel",V),r.value.removeEventListener("touchend",K)}),(Z,q)=>(u(),h("div",{class:j(["shorts-page",{"preroll-active":i(a)}])},[i(g)!==null?(u(),h("button",{key:0,class:"shorts-page__mute-toggle",onClick:q[0]||(q[0]=He(fe=>g.value=!i(g),["stop"]))},[i(g)?(u(),h("i",_x)):(u(),h("i",yx))])):T("",!0),f("button",{class:"shorts-page__close-button",onClick:He(me,["stop"])},[...q[4]||(q[4]=[f("i",{class:"icon-close","aria-hidden":"true"},null,-1)])]),f("div",vx,[i(p)>0?(u(),h("button",{key:0,class:"shorts-page__nav-button up",onClick:He(F,["stop"])},[...q[5]||(q[5]=[f("i",{class:"icon-chevron--up","aria-hidden":"true"},null,-1)])])):T("",!0),i(p)+1<i(x).length?(u(),h("button",{key:1,class:"shorts-page__nav-button down",onClick:He(Q,["stop"])},[...q[6]||(q[6]=[f("i",{class:"icon-chevron--down","aria-hidden":"true"},null,-1)])])):T("",!0)]),f("div",{ref_key:"carousel",ref:r,class:"shorts-page__carousel"},[(u(!0),h(G,null,pe(i(x),(fe,W)=>(u(),O(gx,{key:fe.DocumentId,"current-position":i(p),"onUpdate:currentPosition":q[1]||(q[1]=le=>Je(p)?p.value=le:null),"is-preroll-active":i(a),"onUpdate:isPrerollActive":q[2]||(q[2]=le=>Je(a)?a.value=le:null),"is-muted":i(g),"onUpdate:isMuted":q[3]||(q[3]=le=>Je(g)?g.value=le:null),"is-last":W===i(x).length-1,"is-single-short":A,document:fe,"enable-ad-tag":X(W)},null,8,["current-position","is-preroll-active","is-muted","is-last","document","enable-ad-tag"]))),128))],512)],2))}},Tx=te(kx,[["__scopeId","data-v-9b32ee3e"]]),Lg=Hs("reactions",()=>{const e=Gt({});function t(s,r){e[s]={AggregatedReactions:r.AggregatedReactions||{},TotalReactionCount:r.TotalReactionCount||0,CurrentVisitorReaction:r.CurrentVisitorReaction||null}}function n(s){return e[s]||null}function o(){Object.keys(e).forEach(s=>{delete e[s]})}return{reactionsByDocumentId:e,setReactions:t,getReactions:n,clearReactions:o}});function Rg(){const{config:e}=ye().public;return $e().coreData?.siteSettings?.enableGigya?{gigyaUserJwt:Ao("wmg-gigya-jwt",document.cookie)||null,gigyaUserId:Ao("wmg-gigya-uid",document.cookie)||null}:{gigyaUserId:Ao(`uuid_${e.portalId}`,document.cookie)||null}}async function $x(e,t){const n=Rg(),o=Lg(),s="document",r=[...new Set(e.slice(0,100))];try{const l=await(await fetch("/v3api/documents/reactions",{method:"POST",body:JSON.stringify({documentIds:r,contentType:s,...n})})).json();Array.isArray(l)&&l.forEach(c=>{o.setReactions(c.MasterDocumentId,c),t.filter(d=>d.MasterDocumentId===c.MasterDocumentId)?.forEach(d=>{d.AggregatedReactions=c.AggregatedReactions,d.TotalReactionCount=c.TotalReactionCount,d.CurrentVisitorReaction=c.CurrentVisitorReaction})})}catch(a){console.log(a)}}function Og(e,t,n){e.forEach(o=>{(o.Type==="ContentList"||o.Type==="CoreContentList"||o.Type==="Headbox")&&o.Template!=="External-Blogs-Widget"&&o.Documents?.forEach(s=>{s.DocumentTypeAlias!=="ExternalArticle"&&(t.push(s.MasterDocumentId),n.push(s))}),o.Document&&(t.push(o.Document.MasterDocumentId),n.push(o.Document)),o.children&&Og(o.children,t,n)})}async function kr(e){const t=[],n=[];Og(e,t,n),await $x(t,n)}async function Sx(e){const t=Rg(),n="comment",o=[...new Set(e.slice(0,100))];try{return await(await fetch("/v3api/documents/reactions",{method:"POST",body:JSON.stringify({documentIds:o,contentType:n,...t})})).json()}catch(s){console.log(s)}}function Mg(e){return/^a\d+$|^\d+$/.test(e)}function Dx(e,t){return e.indexOf(".html")!==-1||Mg(t)}function Cx(e){return/^n\d+$/.test(e)}function Px(e){const t=e.split("/"),n=[];return t.forEach((o,s)=>{!Mg(o)&&!Dx(o,t[s-1])&&!Cx(o)&&o!==""&&n.push(o.replace(/-/g," "))}
46),n.length?n.join(","):"naslovna"}function xx(e,t,n,o,s){try{window._cbq.push(["_acct"],o?"lgdin":"anon")}catch{}const r=[];s&&s.Document?.Authors?.forEach(d=>{r.push(Kc(d))});const a=window.location.hostname.split(".")[0],l=Px(n.path);let c=l;e.subdomain&&a===e.subdomain&&(c=a,l!=="naslovna"?c=`${a},${l}`:c=a);const m={sections:c,authors:r.join(","),path:n.path,title:t};try{pSUPERFLY.virtualPage(m)}catch{}}async function Ix(e,t,n,o,s,r,a,l,c,m,d){const p=Ye();e.virtualPageHits&&o.showLoader(),e.timeoutId&&clearTimeout(e.timeoutId),s.params.path?.[0]!=="tv"&&e.setTimeoutId(setTimeout(()=>{window.location.reload()},9e5));const _=$t();s.path.indexOf(n.profilePage)!==-1&&r.$on("gigyaLoaded",()=>{_.isAuthenticated||p.push({path:"/"}).catch(()=>{})}),e.coreData?.siteSettings?.enableGigya&&r.$on("gigyaLoaded",()=>{s.path.indexOf(n.profilePage)!==-1&&!_.isAuthenticated&&p.push({path:"/"}).catch(()=>{}),kr(e.pageData.pageElements||[])}),document.dispatchEvent(new CustomEvent("page-ready")),(new RegExp(n.comments.commentsRegex).test(s.path)||e.pageData?.article?.DisableDfp||n.dfp.useOldSetup&&s.path.includes("Najnovije"))&&tc("hide"),o.hideLoader(),!a&&!t.disableMetaHandling&&m(l),e.virtualPageHits&&(a||(xx(n,l,s,_.isAuthenticated,e.pageData.article),window.jstag&&window.jstag.pageView(),window.pathfora&&window.pathfora.initializeInline()),await d.handleVirtualPageView(),e.coreData?.siteSettings?.enableGigya&&n.enableReactions&&kr(e.pageData.pageElements||[])),e.increaseVirtualPageHits(),s.params.path&&(s.params.path.some(b=>b.toLowerCase()==="sudoku")||s.params.path.some(b=>b.toLowerCase()==="ukrstene-reci"))&&(c.value=!0),!e.coreData?.siteSettings?.enableGigya&&n.enableReactions&&kr(e.pageData.pageElements||[])}function Ex(e,t){const n=e?.pageElements?.[0];return t.isTvPage=n?.Type==="Shorts",t.disableMetaHandling=t.isTvPage,t}async function Ax(e,t,n,o,s,r,a,l,c,m,d){}function Lx(e,t){return!e.coreData?.siteSettings?.exploreMore||t.isMobileOrTablet&&!e.coreData?.siteSettings?.enableExploreMoreForMobile||t.isDesktop&&!e.coreData?.siteSettings?.enableExploreMoreForDesktop||![{prop:"enableExploreMoreForGoogleLanding",search:"www.google.com"},{prop:"enableExploreMoreForFacebookLanding",search:"facebook.com"},{prop:"enableExploreMoreForTwitterLanding",search:"x.com"},{prop:"enableExploreMoreForBingLanding",search:"x.com"}].find(o=>document.referrer.includes(o.search)&&window.history.state.back===null&&e.coreData?.siteSettings[o.prop])?!1:e.coreData?.siteSettings?.exploreMorePercentOfRedirections>=100*Math.random()}function Rx(e,t,n,o){if(Lx(e,n)||t.hash==="#addhistory"){const s=t.fullPath;let r="";e.coreData?.siteSettings?.exploreMoreLandingPageUrl!==""?r=e.coreData?.siteSettings?.exploreMoreLandingPageUrl:r=o.debug?o.localUrl:o.siteUrl,o.debug&&(r=r.replace(o.siteUrl,o.localUrl));const a=new URL(r);a.hash="historywidget",window.history.replaceState({x:1},"",a);const l=new URL(`${o.localUrl}${s}`);window.history.pushState({dummy:1},"",l)}}const Ox=/^\/shorts(?:-|\/)/i;function Ng(e=""){if(!e||typeof e!="string")return!1;let t=e;try{e.startsWith("http://")||e.startsWith("https://")?t=new URL(e).pathname:t=e.split("?")[0].split("#")[0]}catch{t=e.split("?")[0].split("#")[0]}return Ox.test(t)}const Mx={__name:"[...path]",async setup(e){let t,n;const o=Le(),s=se(()=>Ng(o.fullPath)),{$bus:r,$createPage:a,$getPageHeadlessData:l,$getAmtvHeadlessData:c,$gigyaActions:m,$addPageToDataLayer:d,$gigya:p,$device:_}=ue(),g=$e(),b=Ws(),y=Ta();function C(fe){let W=[];for(const le of fe)W.push(le),le?.Children?.length&&(W=W.concat(C(le.Children)));return W}const E=se(()=>{const fe=g.coreData?.mainMenu||[],W=C(fe),le=o.path;return W.filter(we=>le.toLowerCase().startsWith(we?.Url?.toLowerCase())).sort((we,Oe)=>Oe.Url.length-we.Url.length)[0]?.Properties?.customSection||null}),{config:D,coreSiteDataDescription:v}=ye().public,I=L(65),S=!!new RegExp(D.comments.commentsRegex).test(o.fullPath),$=se(()=>S&&window.innerWidth<1024?{"padding-bottom":`${I.value}px`}:{}),P=oe(()=>ne(()=>Promise.resolve().then(()=>Bg),void 0,import.meta.url));y.setAdsReady(!1),g.virtualPageHits!==0&&ED();const x=void 0;let A=null;const[N,{data:M}]=([t,n]=Er(()=>Promise.all([mD(D,v,g),pk(()=>`my-content-${o.path}`,()=>{if(s.value)return c(x,`/amtv-headless${o.fullPath}`);let fe="/headless";return o.fullPath!=="/"&&(fe+=o.fullPath),l(x,fe)},"$Av18u8FOAE")])),t=await t,n(),t);g.setCoreData(N),g.setPath(o.path);const ee=L(fD(N.mainMenu,o.path));g.setPageHasSubmenu(ee.value),dD(D);try{AD(M.value.pageData,o.path)}catch(fe){console.log(fe)}const{httpStatus:X}=M.value;let me="";const Q=s.value?Array.isArray(M.value?.tvData?.Elements)&&M.value.tvData.Elements.length>0:!1,F=s.value?!Q:X!==200;let Y=[],ie={},ce,de,V=!1;const K=L(!1);if(!F){const fe=s.value?M.value.tvData:M.value.pageData,W=a(fe);if({pageData:A}=W,s.value&&(A=A||{},A.pageElements=A.pageElements||M.value?.tvData?.Elements||[],A.article=A.article||{},!A.article.Document&&Array.isArray(M.value?.tvData?.Elements))){const le=M.value.tvData.Elements.find(he=>he?.Type==="Article");le?.Document&&(A.article.Document=le.Document)}
46s.value?ie.disableMetaHandling=!0:ie=Ex(A,ie),ie.disableMetaHandling||(me=W.metaData.title,Y=A.pageElements||[],g.setPageData(A),g.setMetaObject({title:W.metaData.title,url:W.metaData.url}),g.setBreadcrumbs(M.value.pageData?.Breadcrumbs)),ce=se(()=>A?.article?.Template==="Storytelling"),de=se(()=>A?.article?.Template==="StorytellingTwo"),V=A?.article,se(()=>g.wallpaperActive)}eP(x,D,g);const Z=se(()=>tP(A,g,ie)),q=se(()=>nP(g));{let fe=function(le=18){const he=new Uint8Array(16);crypto.getRandomValues(he);let we=0n;for(let B=he.length-1;B>=0;B--)we=we<<8n|BigInt(he[B]);const Oe=we.toString(),nt=Oe.length>=le?Oe.substring(0,le):Oe.padStart(le,"0");return parseInt(nt)};const W=Dt(`uuid_${D.portalId}`,{expires:new Date(new Date().setFullYear(new Date().getFullYear()+100))});W.value||(W.value=fe())}return De(async()=>{V&&Rx(g,o,_,D),await Ix(g,ie,D,b,o,r,F,me,K,d,p),m(),r.$on("commentPostBodyHeightChange",fe=>{I.value=fe}),await Ax()}),Zt(()=>{r.$off("commentPostBodyHeightChange"),r.$off("gigyaLoaded")}),(fe,W)=>{const le=eD;return u(),h("div",{class:j(["main",[i(q),i(Z),i(D).portalId,{"page-has-submenu":i(ee)},i(E)]]),style:Se(i($))},[R(gD),i(s)?T("",!0):(u(),O(SP,{key:0,"menu-data":i(g).coreData.mainMenu,"has-submenu":i(ee)&&!i(F),"magazines-menu":i(g).coreData.magazinesMenu,"social-menu":i(g).coreData.socialMenu,"editions-menu":i(g).coreData.editionsMenu,"extra-menu":i(g).coreData.extraMenu,"is-storytelling":i(ce),"is-storytelling-two":i(de),"is-article":!!i(V),"has-dark-submenu":i(K),theme:i(Z)},null,8,["menu-data","has-submenu","magazines-menu","social-menu","editions-menu","extra-menu","is-storytelling","is-storytelling-two","is-article","has-dark-submenu","theme"])),R(le),i(s)&&!i(F)?(u(),O(Tx,{key:1,"page-data":i(A)},null,8,["page-data"])):i(F)?(u(),O(la,{key:3},{fallback:z(()=>[...W[0]||(W[0]=[])]),default:z(()=>[R(i(P),{httpStatus:i(X)},null,8,["httpStatus"])]),_:1})):(u(),O(GD,{key:2,pageData:i(Y),isArticle:!!i(V),article:i(V)},null,8,["pageData","isArticle","article"])),R(i(KD)),i(s)?T("",!0):(u(),O(dx,{key:4,theme:i(Z),"main-footer-menu":i(g).coreData.mainFooterMenu,"extra-menu":i(g).coreData.extraMenu,"social-menu":i(g).coreData.socialMenu,"magazines-menu":i(g).coreData.magazinesMenu},null,8,["theme","main-footer-menu","extra-menu","social-menu","magazines-menu"]))],6)}}},Nx=Object.freeze(Object.defineProperty({__proto__:null,default:Mx},Symbol.toStringTag,{value:"Module"})),Bx={};function Ux(e,t){const n=fg;return u(),h("div",null,[R(n),t[0]||(t[0]=f("div",{id:"video-floating-root"},null,-1))])}const jx=te(Bx,[["render",Ux]]),Vx=Object.freeze(Object.defineProperty({__proto__:null,default:jx},Symbol.toStringTag,{value:"Module"})),Hx={class:"container"},zx={class:"error-404__copy"},Fx={class:"error-404__description"},Wx={href:"/",class:"btn btn--prim"},Gx={__name:"Error404",props:{httpStatus:{type:Number,default:404}},setup(e){return(t,n)=>(u(),h("div",{class:j(["error-404",{is500:e.httpStatus!==404}])},[f("div",Hx,[f("div",zx,[f("h2",{class:j(["error-404__title glitch",{is500:e.httpStatus!==404}])},[e.httpStatus===404?(u(),h(G,{key:0},[_e("404")],64)):(u(),h(G,{key:1},[_e("500")],64))],2),f("p",Fx,[e.httpStatus===404?(u(),h(G,{key:0},[_e(w(t.$t("common.pageNotFoundDescription")),1)],64)):(u(),h(G,{key:1},[_e(w(t.$t("error500")),1)],64))]),f("a",Wx,w(t.$t("common.backToHomepage")),1)])])],2))}},qx=te(Gx,[["__scopeId","data-v-82fb9ca4"]]),Bg=Object.freeze(Object.defineProperty({__proto__:null,default:qx},Symbol.toStringTag,{value:"Module"})),Yx={class:"breadcrumbs-wrap"},Kx={class:"breadcrumbs"},Xx={key:1,class:"breadcrumbs-title"},Qx={__name:"ArticleElementsBreadcrumbs",props:{crumbs:{type:Object,default:()=>({})}},setup(e){const t=e,n=$e(),o=!!n.pageData.article,s=n.pageData.article?.Template==="Horoscope",r=n.pageData.article?.Template==="Newsletter",a=n.pageData.contentMetaTags?.RegularMetaTags.Title,l=se(()=>{if(r){const d=[...t.crumbs];return d.find(p=>p.Name===a)||d.push({Name:a,Url:""}),d}if(s){const d=[];return d.push({Name:a,Url:""}),d}const m=o?n.pageData.article?.Document?.DocumentElements?.find(d=>d?.Name==="SeoTraka"):null;return t.crumbs.map((d,p)=>{const _=p===t.crumbs.length-1;return{...d,Name:_&&o?m?.Text||a:d.Name}})}),c=(m,d)=>(!(m===l.value.length-1)||o)&&d.Url;return(m,d)=>{const p=Ze("router-link");return u(),h("div",Yx,[f("div",Kx,[R(p,{to:"/",class:"breadcrumbs-link"},{default:z(()=>[_e(w(m.$t("common.homePage")),1)]),_:1}),(u(!0),h(G,null,pe(i(l),(_,g)=>(u(),h("div",{class:"breadcrumbs-icon-container",key:g},[d[0]||(d[0]=f("i",{class:"icon-chevron--right","aria-hidden":"true"},null,-1)),c(g,_)?(u(),O(p,{key:0,class:"breadcrumbs-link",to:_.Url?m.$createLocalUrl(_.Url):"#"},{default:z(()=>[_e(w(_.Name),1)]),_:2},1032,["to"])):(u(),h("span",Xx,w(_.Name?.value||_.Name),1))]))),128))])])}}},_n=te(Qx,[["__scopeId","data-v-87707acd"]]),Jx={},Zx={class:"card-label__animation"};function eI(e,t){return u(),h("span",Zx,[...t[0]||(t[0]=[f("span",{class:"circle circle-one"},null,-1),f("span",{class:"circle circle-two"},null,-1)])])}const tI=Object.assign(te(Jx,[["render",eI],["__scopeId","data-v-d81d4e96"]]),{__name:"CommonCustomPulse"}),nI=["innerHTML"],oI={__name:"CommonCardElementsCardLabel",props:{extraClass:{type:String,default:""},label:{type:String,default:""},isLive:{type:Boolean,default:!1},iconClass:{type:String,default:""},labelColorClass:{type:String,default:""}},setup(e){const t=e,n=L(null),o=L(null),{config:s}=ye().public;function r(){const c={};return t.extraClass&&(c[t.extraClass]=!0),t.iconClass==="icon-camera"&&!t.label&&(c["no-label-text"]=!0),s.customLabelStyle&&(c["is-custom"]=!0),c}const a=r();function l(c){if(c){const m=c.innerHTML.trim();(m===" "||m==="Â ")&&o.value&&o.value.classList.add("no-margin")}}return De(()=>{n.value&&l(n.value)}),(c,m)=>(u(),h("div",{class:j([i(a),"card-label card-label-wrap"]),ref_key:"cardLabelWrap",ref:o},[e.isLive?(u(),O(tI,{key:0})):T("",!0),e.iconClass?(u(),h("i",{key:1,class:j(e.iconClass)},null,2)):T("",!0),e.label?(u(),h("span",{key:2,innerHTML:e.label,class:"label-text",ref_key:"labelText",ref:n},null,8,nI)):T("",!0)],2))}},Ne=te(oI,[["__scopeId","data-v-2d6d3a8d"]]),sI={class:"article-header-labels"},iI={key:0,class:"article-header-labels__label"},rI={key:0,class:"article-header-labels__label-image","aria-hidden":"true"},aI={key:1,class:"article-header-labels__label is-pr"},lI={key:2,class:"article-header-labels__label is-poll"},cI={key:3,class:"article-header-labels__label is-quiz"},uI={__name:"ArticleElementsArticleHeaderLabels",props:{article:{type:Object,default:()=>({})}},setup(e){const t=e,o=$e().coreData?.siteSettings?.enableGigya,s=Te(t.article,"Sponsored by"),r=t.article.DocumentTypeAlias==="Poll",a=Te(t.article,"Subtitle"),{$getColorByCategory:l}=ue(),c=l(t.article.RootMenuItemId,!1),d=Te(t.article,"notLive")?.Text!=="true";return(p,_)=>(u(),h("div",sI,[t.article.Locked||t.article.DocumentTypeAlias==="DevelopingStory"?(u(),h("span",iI,[i(o)&&t.article.Locked?(u(),h("i",rI)):T("",!0),t.article.DocumentTypeAlias==="DevelopingStory"&&d?(u(),O(i(Ne),{key:1,extraClass:"is-live is-sport",label:p.$t("labels.live"),isLive:!0},null,8,["label"])):T("",!0)])):T("",!0),i(s)?(u(),h("span",aI,w(p.$t("labels.pr")),1)):T("",!0),r?(u(),h("span",lI,w(p.$t("labels.poll")),1)):T("",!0),t.article.DocumentTypeAlias==="Quiz"?(u(),h("span",cI,w(p.$t("labels.quiz")),1)):T("",!0),i(a)?(u(),O(i(Ne),{key:4,label:i(a).Text,extraClass:`article-header-labels__label is-subtitle ${i(c)}`},null,8,["label","extraClass"])):T("",!0)]))}},Of=te(uI,[["__scopeId","data-v-a690109d"]]),Dn=ns("/img/sprite-shares-02042025.svg"),dI=Dn+"#facebook-sign",fI=Dn+"#copy--link-adapted",mI={key:0,class:"tooltip-box card-share-wrap"},pI=["onClick"],hI=["xlink:href"],gI={__name:"CommonCardElementsCardShare",props:{shareIcons:{type:Array,default:()=>[]},shareTitle:{type:String,default:""},shareUrl:{type:String,default:""},sourceType:{type:String,default:""},isMob:{type:Boolean,default:!1},fbId:{type:String,default:""}},emits:["emitLinkCopied","hideShareTooltip"],setup(e,{emit:t}
46){const{$snackbar:n,$t:o}=ue(),s=e,r=t;function a(){navigator.clipboard.writeText(s.shareUrl),r("emitLinkCopied"),r("hideShareTooltip"),n.$setToaster(o("engagement.linkCopied"),"success")}function l(c){if(c==="facebook")FB.ui({method:"share",href:s.shareUrl,display:"popup",mobile_iframe:!0});else if(c==="messenger"){const m=encodeURIComponent(s.fbId);s.isMob?window.open(`fb-messenger://share?link=${s.shareUrl}&app_id=${m}`):FB.ui({method:"send",link:`${s.shareUrl}`})}else if(c==="twitter"){const m=`https://twitter.com/intent/tweet?text=${s.shareTitle}&url=${s.shareUrl}`;window.open(m,"Twitter",`height=285,width=550,resizable=1,top=${window.height/2-142.5},left=${window.width/2-275}`)}else c==="viber"?window.open(`viber://forward?text=${encodeURIComponent(window.location.href)}`):c==="whatsapp"?window.open(`https://api.whatsapp.com/send?text=${s.shareUrl}`):c==="email"&&(window.location=`mailto://?subject=${s.shareTitle}&body=${s.shareUrl}`);r("hideShareTooltip")}return(c,m)=>s.shareIcons.length?(u(),h("div",mI,[(u(!0),h(G,null,pe(s.shareIcons,d=>(u(),h(G,{key:d},[d==="viber"&&e.sourceType==="card"?T("",!0):(u(),h("a",{key:0,onClick:He(p=>l(d),["stop","prevent"]),role:"button",class:j(`tooltip-box__item ${d}`)},[d==="facebook"?(u(),h("svg",{key:0,viewBox:"0 0 32 32",class:j(`icon ${d}`)},[...m[0]||(m[0]=[f("use",{"xlink:href":dI},null,-1)])],2)):(u(),h("svg",{key:1,viewBox:"0 0 24 24",class:j(`icon ${d}`)},[f("use",{"xlink:href":`/img/sprite-shares-02042025.svg#${d}`},null,8,hI)],2))],10,pI))],64))),128)),f("a",{onClick:He(a,["stop","prevent"]),role:"button",class:"tooltip-box__item copy-link"},[...m[1]||(m[1]=[f("svg",{viewBox:"0 0 24 24",class:"icon copy-link"},[f("use",{"xlink:href":fI})],-1)])])])):T("",!0)}},Sa=te(gI,[["__scopeId","data-v-2f96c82c"]]),_I={class:"card-engagement-bar card-engagement-bar-wrap"},yI={key:0,class:"card-engagement-bar__left"},vI={key:0,class:"icon-thumbs-up"},bI=["src","alt"],wI={key:1,class:"tooltip-box reactions"},kI=["onClick"],TI=["src","alt"],$I={class:"reaction-count"},SI={key:2,class:"card-divider card-divider-wrap"},DI={class:"comment-counter"},CI={class:"text-add-comment"},PI={key:0,class:"card-divider card-divider-wrap"},Ot={__name:"CommonCardElementsCardEngagementBar",props:{contentId:{type:[String,Number],default:""},sourceType:{type:String,default:""},commentsNumber:{type:Number,default:0},shareLink:{type:String,default:""},shareTitle:{type:String,default:""},fbId:{type:String,default:""},isMob:{type:Boolean,default:!1},shareVisible:{type:Boolean,default:!0},commentActionVisible:{type:Boolean,default:!0},numberOfCommentsVisible:{type:Boolean,default:!0},reactVisible:{type:Boolean,default:!0},disableComments:{type:Boolean,default:!1},totalReactions:{type:Number,default:0},aggregatedReactions:{type:Object,default:()=>({})},currentVisitorReaction:{type:Object,default:null}},setup(e){const t=e,{config:n}=ye().public,o=Lg(),s=se(()=>o.reactionsByDocumentId[t.contentId]||null),r=se(()=>s.value?.TotalReactionCount??t.totalReactions),a=se(()=>s.value?.AggregatedReactions??t.aggregatedReactions),l=se(()=>s.value?.CurrentVisitorReaction??p.value),{$createLocalUrl:c}=ue(),m=L(!1),d=L(["like","love","happy","wow","sad","angry"]),p=L(t.currentVisitorReaction),_=L(!1),g=Ye(),b=cn(),y=$e(),C=y.coreData?.siteSettings?.enableGigya,E=C&&y.coreData?.siteSettings?.gigyaEnabledForComments;function D(S,$){if(S){const P=Object.keys(S).map(x=>({name:x,count:S[x]})).sort((x,A)=>A.count-x.count).slice(0,2);return $.value&&!P.find(x=>x.name===$.value?.Reaction)&&P.push({name:$.value?.Reaction}),P}return[]}const v=se(()=>D(a.value,l));async function I(S){const $={contentType:t.sourceType,id:t.contentId,reactionValue:S};if(C){const P=Dt("wmg-gigya-jwt"),x=Dt("wmg-gigya-uid");if(!P.value||!x.value){b.loadModal("ModalAuthorizeReactions");return}$.gigyaUserId=x.value,$.gigyaUserJwt=P.value}else{const P=Dt(`uuid_${n.portalId}`);$.gigyaUserId=P.value}setTimeout(()=>{_.value=!1},50);try{const P=await fetch("/v3api/reactions",{method:"POST",body:JSON.stringify($)});if(P.status===200){const x=await P.json();x.IsSuccessful&&(o.setReactions(t.contentId,{AggregatedReactions:x.AggregatedReactions,TotalReactionCount:x.ReactionCount,CurrentVisitorReaction:x.CurrentVisitorReaction}),p.value=x.CurrentVisitorReaction)}}catch(P){console.log(P)}}function k(){let S,$,P,x;if(C?(S=Dt("wmg-gigya-jwt"),$=Dt("wmg-gigya-uid"),x=S.value&&$.value):$=Dt(`uuid_${n.portalId}`),x||$.value||t.commentsNumber||!E){const A=new RegExp(n.comments.generateCommentUrl.search);P=c(t.shareLink.replace(A,n.comments.generateCommentUrl.replace)),P.startsWith("http")?window.open(P,"_blank"):g.push(P)}else b.loadModal("ModalAuthorize")}return(S,$)=>{const P=$n("click-outside");
46return u(),h("div",_I,[e.disableComments?T("",!0):(u(),h("div",yI,[t.reactVisible&&i(n).enableReactions?(u(),h("div",{key:0,onClick:$[0]||($[0]=He(x=>{_.value=!0,m.value=!1},["stop","prevent"])),role:"button",class:j(["btn",{"is-user-reaction":i(l)}])},[!i(v)?.length&&!i(r)?(u(),h("i",vI)):T("",!0),i(v)?.length?(u(!0),h(G,{key:1},pe(i(v),x=>(u(),h("span",{key:x,class:j(["card-user-reaction",{"is-user-reaction":x.name===i(l)?.Reaction}])},[f("img",{src:`/img/reactions/reaction-${x.name}.png`,alt:x,loading:"lazy"},null,8,bI)],2))),128)):T("",!0),i(r)>0?(u(),h("span",{key:2,class:j(["card-engagement-bar__number",{"is-user-reaction":i(l)}])},w(i(r)),3)):T("",!0),i(r)>0&&!i(l)?(u(),h(G,{key:3},[_e(" · ")],64)):T("",!0),i(l)?T("",!0):(u(),h(G,{key:4},[_e(w(S.$t("common.reactEng")),1)],64))],2)):T("",!0),i(_)?gt((u(),h("div",wI,[(u(!0),h(G,null,pe(i(d),x=>(u(),h("div",{key:x,class:j(["tooltip-box__item",{"is-user-reaction":i(l)?.Reaction===x}]),onClick:He(A=>I(x),["stop","prevent"])},[f("img",{src:`/img/reactions/reaction-${x}.png`,alt:x,loading:"lazy"},null,8,TI),f("span",$I,w(i(a)&&i(a)[x]!==void 0?i(a)[x]:0),1)],10,kI))),128))])),[[P,()=>_.value=!1]]):T("",!0),e.reactVisible&&i(n).enableReactions&&(t.numberOfCommentsVisible&&t.commentsNumber>0&&t.reactVisible||t.commentActionVisible)?(u(),h("div",SI)):T("",!0),t.numberOfCommentsVisible||t.commentActionVisible?(u(),h("div",{key:3,role:"button",onClick:He(k,["stop","prevent"]),class:"btn"},[t.commentsNumber>0&&t.numberOfCommentsVisible?(u(),h(G,{key:0},[$[3]||($[3]=f("i",{class:"icon-chat"},null,-1)),f("span",DI,w(t.commentsNumber),1)],64)):t.commentActionVisible?(u(),h(G,{key:1},[$[4]||($[4]=f("i",{class:"icon-add-comment"},null,-1)),f("span",CI,w(S.$t("common.commentEng")),1)],64)):T("",!0)])):T("",!0)])),e.disableComments||t.shareVisible?(u(),h("div",{key:1,class:j(["card-engagement-bar__right",{inArticle:e.sourceType==="article","disabled-comments":e.disableComments}])},[!e.isMob&&(t.numberOfCommentsVisible||t.commentActionVisible)&&!e.disableComments?(u(),h("div",PI)):T("",!0),f("span",{onClick:$[1]||($[1]=He(x=>{m.value=!0,_.value=!1},["stop","prevent"])),role:"button","aria-label":"share",class:"btn--round"},[...$[5]||($[5]=[f("i",{class:"icon-share"},null,-1)])]),i(m)?gt((u(),O(Sa,{key:1,onHideShareTooltip:$[2]||($[2]=x=>m.value=!1),sourceType:"card","share-icons":["facebook","whatsapp","viber","twitter","messenger"],"source-type":t.sourceType,"share-url":t.shareLink,"share-title":t.shareTitle,"fb-id":t.fbId},null,8,["source-type","share-url","share-title","fb-id"])),[[P,()=>m.value=!1]]):T("",!0)],2)):T("",!0)])}}},xI={key:0,class:"article-engagement-bar"},II={__name:"ArticleElementsArticleShare",props:{isArticleHeader:{type:Boolean,default:!1}},setup(e){const t=e,n=$e(),{config:o}=ye().public,s=Le(),r=o.facebookId,a=Te(n.pageData.article?.Document,"Disable Comments And Reactions")?.Text==="true",l=a&&t.isArticleHeader,m=!!new RegExp(o.comments.commentsRegex).test(s.fullPath);return(d,p)=>!m&&!i(l)?(u(),h("div",xI,[R(i(Ot),{"share-link":i(n).pageData.article?.Document?.WebUrl,"share-title":i(n).pageData.article?.Document?.Title,sourceType:"article",contentId:i(n).pageData.article?.Document?.MasterDocumentId,aggregatedReactions:i(n).pageData.article?.Document?.AggregatedReactions,totalReactions:i(n).pageData.article?.Document?.TotalReactionCount,currentVisitorReaction:i(n).pageData?.article?.Document?.CurrentVisitorReaction,commentsNumber:i(n).pageData?.article?.Document?.CommentsNumber,"fb-id":i(r),disableComments:a,"is-mob":!1,"react-visible":!t.isArticleHeader,"share-visible":!t.isArticleHeader},null,8,["share-link","share-title","contentId","aggregatedReactions","totalReactions","currentVisitorReaction","commentsNumber","fb-id","react-visible","share-visible"])])):T("",!0)}},Pi=te(II,[["__scopeId","data-v-c910e900"]]),EI=Object.freeze(Object.defineProperty({__proto__:null,default:Pi},Symbol.toStringTag,{value:"Module"})),AI={key:0,class:"article-exposed-share"},LI={__name:"ArticleElementsArticleExposedShare",props:{sourceType:{type:String,default:""},shareLink:{type:String,default:""},shareTitle:{type:String,default:""},fbId:{type:String,default:""}},setup(e){const t=e,{config:n}=ye().public,o=Le(),s=L(!1),r=new RegExp(n.comments.commentsRegex);return s.value=!!o.fullPath.match(r),(a,l)=>i(s)?T("",!0):(u(),h("div",AI,[R(Sa,{sourceType:"article","share-icons":["facebook","whatsapp","viber","twitter","messenger"],"source-type":t.sourceType,"share-url":t.shareLink,"share-title":t.shareTitle,fbId:t.fbId},null,8,["source-type","share-url","share-title","fbId"])]))}},Mf=te(LI,[["__scopeId","data-v-47d54c5b"]]),RI={class:"poll-result"},OI={class:"poll-count-info poll-count-animation"},MI={class:"poll-result-percent"},NI={__name:"ArticleElementsPollResults",props:{data:{type:Number,default:null}},setup(e){const t=e;return(n,o)=>(u(),h("div",RI,[f("div",{class:"poll-result-bar poll-result-animation",style:Se(`width: ${t.data}%`)},null,4),f("div",OI,[f("div",MI,w(t.data)+"%",1)])]))}},BI={},UI={class:"recaptcha-branding"},jI={class:"recaptcha-branding__content"},VI={href:"https://policies.google.com/privacy"},HI={href:"https://policies.google.com/terms"};function zI(e,t){return u(),h("div",UI,[f("div",jI,[_e(w(e.$t("captcha.consentText"))+" ",1),f("a",VI,w(e.$t("captcha.consentPrivacyPolicy")),1),t[0]||(t[0]=_e(" i ",-1)),f("a",HI,w(e.$t("captcha.consentTermsOfService")),1)])])}const lu=te(BI,[["render",zI],["__scopeId","data-v-a18c46c4"]]),FI=["id"],WI={ke
46y:0,class:"poll-label"},GI={class:"poll-questions"},qI=["innerHTML"],YI={key:1,class:"poll-note"},KI={class:"poll-spinner"},XI={key:0,class:"spinner"},QI={class:"poll-answer-content"},JI={class:"poll-answer-text"},ZI=["onClick"],eE=["onUpdate:modelValue","value","name","disabled"],tE={key:1,class:"poll-input"},nE=["id","value","name","disabled"],oE={key:1},sE=["onClick"],iE={key:0,class:"poll-info"},rE={key:1,class:"poll-info"},aE={key:4,id:"turnstile-container"},lE={__name:"ArticleElementsPoll",props:{definition:{type:Object,default:()=>({})},showDetails:{type:Boolean,default:!0},showBottomDetails:{type:Boolean,default:!0},showResultsAfterVoting:{type:Boolean,default:!0}},setup(e){const t=e,n=$e(),o=ue(),{$t:s,$snackbar:r,$captcha:a}=o,{captchaService:l}=n.coreData?.siteSettings,c=L(),m=L(!1),d=L(!1),p=L(!1),_=L(t.definition.Poll),g=L(t.definition.Poll.Count),b=L(null),y=b.value,C=se(()=>!!b.value||!!p.value||!!t.definition.Poll.IsExpired),E=L([]),D=L([]);De(()=>{l&&a.loaded(),b.value=Ao(`poll-cookie-${t.definition.Poll.PollId}`,document.cookie),b.value&&(p.value=!0)});function v($){return D.value=$?.Answers.filter(P=>E.value.includes(P.PollAnswerId)),D.value}function I(){const $={PollId:t.definition.Poll.PollId,Answers:[]};return t.definition.Poll.Questions.forEach(P=>{let x=!0;P.Type==="RADIO_BUTTON"&&P.val&&($.Answers.push({AnswerId:P.val,QuestionId:P.QuestionId,Text:""}),x=!1),P.Type==="CHECK_BOX"&&D.value&&D.value.forEach(A=>{$.Answers.push({AnswerId:A.PollAnswerId,QuestionId:P.QuestionId,Text:""}),x=!1}),P.error=x}),$}function k($){for(let P=0;P<$.Questions.length;P++)for(let x=0;x<$.Questions[P].Answers.length;x++)_.value.Questions[P].Answers[x].PollAnswerId=$.Questions[P].Answers[x].PollAnswerId,_.value.Questions[P].Answers[x].Text=$.Questions[P].Answers[x].Text,_.value.Questions[P].Answers[x].VotePercent=$.Questions[P].Answers[x].VotePercent}async function S($,P){if(C.value||m.value)return;m.value=!0,d.value=!0,$.val=P.PollAnswerId;const x=I();try{if(l){await a.loaded();const M=await a.execute();if(!M.ok){r.$setToaster(s(`poll.${M.description}`),"error");return}x.captchaToken=M.token,x.captchaName=a.serviceName}const N=await(await fetch("/poll",{method:"PUT",body:JSON.stringify(x)})).json();if(N.status==="ERROR"){r.$setToaster(s(`poll.${N.description}`),"error");return}k(N.data),g.value=N.data.Count,p.value=!0,b.value=t.definition.Poll.PollId,document.cookie=`poll-cookie-${b.value}=${b.value}; path=/;`}catch(A){console.error(A)}finally{m.value=!1,d.value=!1}}return($,P)=>(u(),h("div",{id:`poll-id-${t.definition.Poll.PollId}`,ref_key:"pollEl",ref:c,class:j(["poll poll-rte",{"show-results":i(C),"is-loading":i(d)}])},[t.showDetails?(u(),h("div",WI,w(i(s)("poll.label")),1)):T("",!0),f("div",GI,[(u(!0),h(G,null,pe(t.definition.Poll.Questions,x=>(u(),h("div",{key:x.QuestionId,class:"poll-complete-question"},[t.showDetails?(u(),h("h2",{key:0,class:"poll-question",innerHTML:x.QuestionText},null,8,qI)):T("",!0),x.Type==="CHECK_BOX"?(u(),h("span",YI,w(i(s)("poll.multipleAnswersPossible")),1)):T("",!0),f("div",KI,[i(d)?(u(),h("span",XI)):T("",!0),(u(!0),h(G,null,pe(x.Answers,A=>(u(),h("label",{key:A.PollAnswerId,class:j([{"is-disabled":i(p)||t.definition.Poll.IsExpired},"poll-answer"])},[f("span",QI,[f("span",JI,w(A.Text),1),x.Type==="RADIO_BUTTON"?(u(),h("span",{key:0,class:"poll-input",onClick:He(N=>S(x,A),["stop","prevent"])},[gt(f("input",{"onUpdate:modelValue":N=>x.val=N,type:"radio",class:"poll-radio",value:A.PollAnswerId,name:`radio-${x.QuestionId}`,disabled:i(p)||t.definition.Poll.IsExpired},null,8,eE),[[Rc,x.val]]),P[1]||(P[1]=f("span",{class:"poll-radio-custom"},null,-1))],8,ZI)):T("",!0),x.Type==="CHECK_BOX"?(u(),h("span",tE,[gt(f("input",{"onUpdate:modelValue":P[0]||(P[0]=N=>Je(E)?E.value=N:null),type:"checkbox",class:"poll-checkbox",id:A.PollAnswerId,value:A.PollAnswerId,name:`checkbox-${A.PollAnswerId}`,disabled:i(p)||t.definition.Poll.IsExpired},null,8,nE),[[Lc,i(E)]]),P[2]||(P[2]=f("span",{class:"poll-checkbox-custom"},null,-1))])):T("",!0)]),e.showResultsAfterVoting?(u(),O(NI,{key:0,data:A.VotePercent},null,8,["data"])):T("",!0)],2))),128)),x.Type==="CHECK_BOX"&&!(i(p)||t.definition.Poll.IsExpired)?(u(),h("span",oE,[f("a",{role:"button",class:j(["btn btn--full btn--prim-alt-sec",{"is-disabled":!i(E).length||i(m)}]),onClick:He(A=>S(x,v(x)),["stop","prevent"])}
46,w(i(s)("poll.vote")),11,sE)])):T("",!0)])]))),128)),t.definition.Poll.IsExpired&&t.showBottomDetails?(u(),h("div",iE,[_e(w(i(s)("poll.pollIsExpired")),1),P[3]||(P[3]=f("br",null,null,-1)),_e(" "+w(i(s)("poll.pollTextStart"))+" "+w(i(g))+" "+w(i(s)("poll.pollTextEnd")),1)])):i(p)&&t.showBottomDetails?(u(),h("div",rE,w(i(s)("poll.pollTextStart"))+" "+w(i(g))+" "+w(i(s)("poll.pollTextEnd")),1)):T("",!0)]),!i(y)&&i(b)?Ee($.$slots,"justVoted",{key:1},void 0,!0):T("",!0),i(y)?Ee($.$slots,"alreadyVoted",{key:2},void 0,!0):T("",!0),!i(b)&&(i(p)||t.definition.Poll.IsExpired)?Ee($.$slots,"pollLocked",{key:3},void 0,!0):T("",!0),i(l)?.toLowerCase()==="turnstile"?(u(),h("div",aE)):T("",!0),i(l)?.toLowerCase()==="recaptcha"?(u(),O(lu,{key:5})):T("",!0)],10,FI))}},cu=te(lE,[["__scopeId","data-v-f74cf179"]]),cE=Object.freeze(Object.defineProperty({__proto__:null,default:cu},Symbol.toStringTag,{value:"Module"})),uE={key:0,class:"header-poll"},dE={__name:"ArticleElementsHeaderPoll",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e;return(n,o)=>t.definition.Poll?(u(),h("div",uE,[R(cu,{definition:{...t.definition},"show-details":!1,"show-bottom-details":!0},null,8,["definition"])])):T("",!0)}}
46,fE=te(dE,[["__scopeId","data-v-f8425cad"]]),mE=Dn+"#social-google",pE=["href"],Nf={__name:"ArticleElementsGoogleDiscover",props:{definition:{type:Object,default:()=>({})}},setup(e){const{config:t}=ye().public;return(n,o)=>(u(),h("a",{class:"google-discover-link",href:i(t).googleDiscoverUrl,target:"_blank",rel:"noopener"},[o[0]||(o[0]=f("svg",{viewBox:"0 0 28 28",class:"icon"},[f("use",{"xlink:href":mE})],-1)),f("span",null,w(i(t).googleDiscoverCopy),1)],8,pE))}},hE={class:"article-header"},gE={class:"article-header-wrap"},_E={key:0,class:"article-header-container"},yE={class:"article-header-title"},vE={class:"article-header-lead"},bE={key:0,class:"article-header-how-to"},wE={key:0,class:"article-header-steps"},kE={key:1,class:"article-header-time"},TE={key:0,class:"article-header-author-comments"},$E={class:"article-header-author-comments-row"},SE={key:0,class:"author-list"},DE={key:0,class:"article-header-author-prefix"},CE={key:0,class:"author__image"},PE=["src","alt"],xE={key:1},IE={key:1,class:"author"},EE={key:0,class:"author__image"},AE=["src","alt"],LE={key:1},RE=["datetime"],OE={class:"article-header-date-published"},ME=["datetime"],NE={key:1,class:"article-header-container"},BE={class:"article-header-title-lead-wrapper"},UE={class:"article-header-title"},jE={class:"article-header-lead"},VE={key:0,class:"article-header-author-comments"},HE={key:0,class:"author-list"},zE={key:0,class:"author__image"},FE=["src","alt"],WE={key:1,class:"author"},GE={key:0,class:"author__image"},qE=["src","alt"],YE={class:"article-header-author-name"},KE={key:0,class:"article-header-author-prefix"},XE={key:0},QE={key:1,class:"author"},JE={key:0},ZE=["datetime"],eA={class:"article-header-date-published"},tA=["datetime"],nA={__name:"ArticleElementsArticleHeader",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,n=$e(),{$t:o}=ue(),{config:s}=ye().public,r=Le(),a=t.definition.Document,l=!!(s.googleDiscoverUrl&&s.googleDiscoverCopy),c=t.definition.Document.DocumentElements.find(X=>X.Name==="Poll");function m(){const X=t.definition?.Document?.DocumentElements;let me=0;return X.forEach(Q=>{(Wn(Q?.Name)==="howto"||Wn(Q?.Name)==="recipesteps")&&Q?.StoryUpdateElements&&(Object.prototype.hasOwnProperty.call(Q,"IndexPageElement")||me++)}),me}const d=m(),p=Te(t.definition?.Document,"Trajanje")?.Text,_=!!Te(t.definition?.Document,"AutorskiTekst")?.Text,g=Xc(a?.Authors),b=ng(a.PublishedDate),y=T$(a),C=$$(a.PublishedDate,a.LastEditDate),E=!!Te(t.definition?.Document,"Autor prefix")?.Text,D=Te(t.definition?.Document,"Autor prefix")?.Text,v=L(!1),I=new RegExp(s.comments.commentsRegex);v.value=!!r.fullPath.match(I);function k(){if(!E)return"";const X=g.length===1;return o(D==="autor"?X?"article.prefixAuthor":"article.prefixAuthors":X?"article.prefixReport":"article.prefixReports")}const S=k(),$=!!Te(t.definition?.Document,"SakriDatum")?.Text,P=s.facebookId,x=a.Breadcrumb.map(X=>({...X})),A={Name:a.Title};x.push(A);const N=Te(n.pageData.article?.Document,"Disable Comments And Reactions")?.Text==="true",M=a.DocumentTypeAlias==="Recipe",ee=a.DocumentTypeAlias==="Storytelling2.0";return(X,me)=>{const Q=Ze("router-link");return u(),h("div",hE,[f("div",gE,[ee?(u(),h("div",NE,[R(i(_n),{crumbs:i(x)},null,8,["crumbs"]),R(i(Of),{article:i(a)},null,8,["article"]),f("div",BE,[f("h1",UE,w(i(a).Title),1),f("strong",jE,w(i(a).Lead),1),f("div",{class:j(["article-header-author-share",{"has-engagement-bar-left":$&&(!_||!i(g).length)}])},[!N||!$||_||i(g).length?(u(),h("div",VE,[f("div",{class:j(["article-header-author-date",{"has-author-image":_&&i(g).length===1&&i(g)[0]?.PhotoUrl}])},[_&&i(g).length>0?(u(),h("div",HE,[(u(!0),h(G,null,pe(i(g),(F,Y)=>(u(),h(G,{key:Y},[F.IsDeactivated?(u(),h("span",WE,[i(g).length===1&&F.PhotoUrl?(u(),h("figure",GE,[f("img",{src:F.PhotoUrl,alt:i(g)[0]?.AdditionalInfo,loading:"lazy"},null,8,qE)])):T("",!0)])):(u(),O(Q,{key:0,class:"author-image-link",to:X.$createLocalUrl(F.AuthorUrl)},{default:z(()=>[i(g).length===1&&F.PhotoUrl?(u(),h("figure",zE,[f("img",{src:F.PhotoUrl,alt:i(g)[0]?.AdditionalInfo,loading:"lazy"},null,8,FE)])):T("",!0)]),_:2},1032,["to"]))],64))),128)),f("div",YE,[E?(u(),h("span",KE,w(i(S)),1)):T("",!0),(u(!0),h(G,null,pe(i(g),(F,Y)=>(u(),h(G,{key:Y},[F.IsDeactivated?(u(),h("span",QE,[_e(w(F.FirstName)+" "+w(F.LastName),1),Y<i(g).length-1?(u(),h("span",JE,", ")):T("",!0)])):(u(),O(Q,{key:0,class:"author",to:X.$createLocalUrl(F.AuthorUrl)},{default:z(()=>[_e(w(F.FirstName)+" "+w(F.LastName),1),Y<i(g).length-1?(u(),h("span",XE,", ")):T("",!0)]),_:2},1032,["to"]))],64))),128))])])):T("",!0),$?T("",!0):(u(),h("div",{key:1,class:"article-header-date",datetime:i(a).PublishedDate},[f("time",eA,w(i(o)("article.published"))+" "+w(i(b))+" ",1),i(y)?(u(),h("time",{key:0,class:"article-header-date-edited",datetime:i(a).LastEditDate}," â "+w(i(C)),9,tA)):T("",!0)],8,ZE))],2),N?T("",!0):(u(),O(Pi,{key:0,"is-article-header":""}))])):T("",!0)],2)]),f("div",{class:j(["article-header-google-share",{"has-google-discover":l}])},[!i(v)&&l?(u(),O(Nf,{key:0})):T("",!0),R(Mf,{class:j({"no-padding":N&&$&&(!_||!i(g).length)}),"share-link":i(n).pageData.article?.Document?.WebUrl,"share-title":i(n).pageData.article?.Document?.Title,sourceType:"article",fbId:i(P)},null,8,["class","share-link","share-title","fbId"])],2)])):(u(),h("div",_E,[R(i(_n),{crumbs:i(x)},null,8,["crumbs"]),R(i(Of),{article:i(a)},null,8,["article"]),f("h1",yE,w(i(a).Title),1),f("strong",vE,w(i(a).Lead),1),!M&&(i(p)||i(d))?(u(),h("div",bE,[i(d)?(u(),h("span",wE,w(i(d))+" "+w(i(o)("common.steps")),1
46)):T("",!0),i(p)?(u(),h("span",kE,w(i(p)),1)):T("",!0)])):T("",!0),i(a).DocumentTypeAlias==="Poll"?(u(),O(i(fE),{key:1,definition:i(c)},null,8,["definition"])):T("",!0),f("div",{class:j(["article-header-author-share",{"has-engagement-bar-left":$&&(!_||!i(g).length),"has-google-discover":l}])},[!N||!$||_||i(g).length?(u(),h("div",TE,[f("div",$E,[f("div",{class:j(["article-header-author-date",{"has-author-image":_&&i(g).length===1&&i(g)[0]?.PhotoUrl}])},[_&&i(g).length>0?(u(),h("div",SE,[E?(u(),h("span",DE,w(i(S)),1)):T("",!0),(u(!0),h(G,null,pe(i(g),(F,Y)=>(u(),h(G,{key:Y},[F.IsDeactivated?(u(),h("span",IE,[i(g).length===1&&F.PhotoUrl?(u(),h("figure",EE,[f("img",{src:F.PhotoUrl,alt:i(g)[0]?.AdditionalInfo,loading:"lazy"},null,8,AE)])):T("",!0),_e(" "+w(F.FirstName)+" "+w(F.LastName),1),Y<i(g).length-1?(u(),h("span",LE,", ")):T("",!0)])):(u(),O(Q,{key:0,class:"author",to:X.$createLocalUrl(F.AuthorUrl)},{default:z(()=>[i(g).length===1&&F.PhotoUrl?(u(),h("figure",CE,[f("img",{src:F.PhotoUrl,alt:i(g)[0]?.AdditionalInfo,loading:"lazy"},null,8,PE)])):T("",!0),_e(" "+w(F.FirstName)+" "+w(F.LastName),1),Y<i(g).length-1?(u(),h("span",xE,", ")):T("",!0)]),_:2},1032,["to"]))],64))),128))])):T("",!0),$?T("",!0):(u(),h("div",{key:1,class:"article-header-date",datetime:i(a).PublishedDate},[f("time",OE,w(i(o)("article.published"))+" "+w(i(b))+" ",1),i(y)?(u(),h("time",{key:0,class:"article-header-date-edited",datetime:i(a).LastEditDate}," â "+w(i(C)),9,ME)):T("",!0)],8,RE))],2),N?T("",!0):(u(),O(Pi,{key:0,"is-article-header":""}))]),!i(v)&&l?(u(),O(Nf,{key:0})):T("",!0)])):T("",!0),R(Mf,{class:j({"no-padding":N&&$&&(!_||!i(g).length)}),"share-link":i(n).pageData.article?.Document?.WebUrl,"share-title":i(n).pageData.article?.Document?.Title,sourceType:"article",fbId:i(P)},null,8,["class","share-link","share-title","fbId"])],2)]))])])}}},nc=te(nA,[["__scopeId","data-v-56832d3c"]]),oA=Object.freeze(Object.defineProperty({__proto__:null,default:nc},Symbol.toStringTag,{value:"Module"}));function Ug(e,t){const n=/\/media\/\d/;let o=e;if(n.test(e)){const s=e.split("/"),r=e.split("?");let a="";if(r[1]){const d=r[1].split("&"),p=d.findIndex(_=>_.startsWith("page"));a=p===-1?"":`?${d[p]}`}const l=s.indexOf("media");o=s.slice(0,l).toString().replaceAll(",","/"),t.storyPageExtension&&(o=`${o}${t.storyPageExtension}${a}`)}return o.replace("?showErrors=true","").replace("&showErrors=true","")}const sA=["youtube","vimeo","dailyMotion","mp4"];function iA(e){return!e||!sA.includes(e.VideoType)?!1:e.VideoType==="mp4"?!!e.ExternalVideoId:!!e.VideoUrl}function rA(e){return e?.DocumentTypeAlias!=="Storytelling2.0"?null:e?.DocumentElements?.find(n=>n?.Type==="Video"&&n?.Name==="Hero Video")?.Video??null}const aA={class:"card-image-container"},lA=["src","loading","fetchpriority"],cA=["src","srcset","alt","loading","fetchpriority"],uA=["src","srcset","alt","loading","fetchpriority"],dA=["srcset"],fA=["src","srcset","alt","loading","fetchpriority"],mA=["media","srcset"],pA=["src","srcset","alt","loading","fetchpriority"],hA={__name:"CommonResponsiveImage",props:{image:{type:Object,default:()=>null},innerClass:{type:String,default:""},pictureImageClass:{type:String,default:""},lazy:{type:Boolean,default:!0},template:{type:String,default:""},fetchPriority:{type:String,default:""},desktopSrc:{type:String,default:""}},setup(e){const t=e,{genericImages:n}=ye().public;function o(a,l){let c="(max-width: 1023px)";return a===1&&(c="(min-width: 1024px)"),c}function s(a){return Array.isArray(a)?a.map((c,m)=>m===0?c?.Url:`${c?.Url} ${m+.5}x`).join(`, 47`):a?.Url||""}const r=se(()=>{if(!t.image)return{objectPosition:"center center"};const a=t.image?.variations,l=Array.isArray(a)?a.flat().map(p=>p?.Url).filter(Boolean):[a?.Url].filter(Boolean),c=n?.placeholderImg;if(c&&l.some(p=>typeof p=="string"&&p.includes(c)))return{objectPosition:"center"};const{objectPosition:m,objectPositionMobile:d}=t.image;return d?{"--img-op":m||"center center","--img-op-mobile":d}:m?{objectPosition:m}:null});return(a,l)=>(u(),h("div",aA,[t.image?t.template==="External-Blogs-Widget"||t.template==="External-Blogs-Widget-Kurir"||t.template==="External-Single-Column-News"?(u(),h("img",{key:1,src:t.image?.variations[0]?.Url,srcset:s(t.
47image?.variations[0]),alt:t.image?.alt||"",class:j(e.innerClass),loading:t.lazy?"lazy":null,fetchpriority:t.fetchPriority?t.fetchPriority:null,style:Se(i(r))},null,14,cA)):t.image?.variations.length===1?(u(),h("img",{key:2,src:t.image?.variations[0][0]?.Url,srcset:s(t.image?.variations[0]),alt:t.image?.alt||"",class:j(e.innerClass),loading:t.lazy?"lazy":null,fetchpriority:t.fetchPriority?t.fetchPriority:null,style:Se(i(r))},null,14,uA)):t.desktopSrc?(u(),h("picture",{key:3,class:j(e.innerClass)},[f("source",{media:"(min-width: 1024px)",srcset:t.desktopSrc},null,8,dA),f("img",{src:t.image?.variations?.[0]?.[0]?.Url,srcset:s(t.image?.variations?.[0]),alt:t.image?.alt||"",class:j(t.pictureImageClass),loading:t.lazy?"lazy":null,fetchpriority:t.fetchPriority||null,style:Se(i(r))},null,14,fA)],2)):(u(),h("picture",{key:4,class:j(e.innerClass)},[(u(!0),h(G,null,pe(t.image?.variations,(c,m)=>(u(),h("source",{media:o(m),srcset:s(c),key:m,style:Se(i(r))},null,12,mA))),128)),f("img",{src:t.image?.variations[0][0]?.Url,srcset:s(t.image?.variations[0]),alt:t.image?.alt||"",class:j(t.pictureImageClass),loading:t.lazy?"lazy":null,fetchpriority:t.fetchPriority?t.fetchPriority:null,style:Se(i(r))},null,14,pA)],2)):(u(),h("img",{key:0,src:i(n).placeholderImg,alt:"",class:j(e.innerClass),loading:t.lazy?"lazy":null,fetchpriority:t.fetchPriority?t.fetchPriority:null,style:Se(i(r))},null,14,lA))]))}},Be=te(hA,[["__scopeId","data-v-3a34aecc"]]),gA={__name:"CommonLazyArticleElement",emits:["loaded"],setup(e,{emit:t}){const{lazyLoadRootMargin:n}=ye().public.groupCoreSettings,o=L(null),s=L(!1),r=L(!1);let a;const l=t,c=async m=>{m[0].isIntersecting&&!s.value&&(s.value=!0,l("loaded"),a.disconnect(),await Rt(),o.value&&(o.value.style.minHeight=`${o.value.scrollHeight}px`),r.value=!0)};return De(()=>{a=new IntersectionObserver(c,{root:document.querySelector("window"),rootMargin:n}),a.observe(o.value)}),Xe(()=>{a&&a.disconnect()}),(m,d)=>(u(),h("div",{class:j(["lazy-component",{loaded:i(r)}]),ref_key:"lazyComponent",ref:o},[i(s)?Ee(m.$slots,"default",{key:0},void 0,!0):T("",!0)],2))}},ji=te(gA,[["__scopeId","data-v-a65084ac"]]),_A={class:"embed-youtube"},yA={class:"embed-youtube__container"},vA={class:"embed-youtube__iframe-wrapper"},bA=["src","title"],wA=["innerHTML"],kA=["innerHTML"],TA={__name:"ArticleElementsVideoYoutube",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,{config:n}=ye().public,{$t:o}=ue(),s=L(null);let r=!1,a=null;function l(y=""){if(!y)return"";try{const C=new URL(y,window.location.origin);return C.searchParams.get("v")?C.searchParams.get("v"):C.pathname.split("/").filter(Boolean).pop()||""}catch{return y.split("/").pop()?.split("?")[0]?.split("#")[0]||""}}const c=se(()=>l(t.definition?.Video?.VideoUrl||"")),m=se(()=>{if(!c.value)return"";const y=new URL(`https://www.youtube.com/embed/${c.value}`);return y.searchParams.set("enablejsapi","1"),y.toString()}),d=se(()=>(t.definition.Video.Title||"").length<92);function p(){return`${t.definition.Video.Title} `}function _(){return`${o("article.videoAuthor")} ${t.definition.Video.CopyRight}`}function g(){return typeof window>"u"||window.YT?.Player?Promise.resolve():(window.__ytIframeApiLoading||(window.__ytIframeApiLoading=new Promise(y=>{if(!document.querySelector('script[src*="youtube.com/iframe_api"]')){const D=document.createElement("script");D.src="https://www.youtube.com/iframe_api",document.head.appendChild(D)}const E=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=function(){typeof E=="function"&&E(),y()}})),window.__ytIframeApiLoading)}function b(){n.useChartbeatVideoOption&&(r||s.value&&c.value&&(typeof window>"u"||window.YT?.Player&&(a=new window.YT.Player(s.value,{events:{onReady:y=>{window._cbv=window._cbv||[],window._cbv.push(y.target),r=!0,console.log("YT player ready",y.target)}}}))))}return De(async()=>{if(!n.useChartbeatVideoOption)return;await g();const y=(C=25)=>{if(!r&&c.value){if(s.value&&window.YT?.Player){b();return}C>0&&setTimeout(()=>y(C-1),200)}};y()}),Xe(()=>{r=!1;try{a?.destroy?.()}catch{}a=null}),(y,C)=>(u(),O(ji,null,{default:z(()=>[f("div",_A,[f("div",yA,[f("div",vA,[f("iframe",{ref_key:"ytIframe",ref:s,class:"embed-youtube__video",src:i(m),title:e.definition?.Video?.Title||"YouTube video player",frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:""},null,8,bA)])]),e.definition.Video.Title||e.definition.Video.CopyRight?(u(),h("div",{key:0,class:j(["embed-youtube__details",{"is-short-desc":i(d)}])},[e.definition.Video.Title?(u(),h("span",{key:0,innerHTML:p(),class:"embed-youtube__details-desc"},null,8,wA)):T("",!0),e.definition.Video.CopyRight?(u(),h("span",{key:1,innerHTML:_(),class:"embed-youtube__details-copy"},null,8,kA)):T("",!0)],2)):T("",!0)])]),_:1}))}},$A=te(TA,[["__scopeId","data-v-df1a3dde"]]),SA={class:"embed-vimeo"},DA={class:"embed-vimeo__container"},CA={class:"embed-vimeo__iframe-wrapper"},PA=["src"],xA=["innerHTML"],IA=["innerHTML"],EA={__name:"ArticleElementsVideoVimeo",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,{$t:n}=ue(),o=se(()=>(t.definition.Video.Title||"").length<92);function s(){return`${t.definition.Video.Title} `}function r(){return`${n("article.videoAuthor")} ${t.definition.Video.CopyRight}`}return(a,l)=>(u(),O(ji,null,{default:z(()=>[f("div",SA,[f("div",DA,[f("div",CA,[f("iframe",{class:"embed-vimeo__video",src:t.definition.Video.VideoUrl,frameborder:"0",allow:"autoplay; fullscreen; picture-in-picture",allowfullscreen:""},null,8,PA)])]),e.definition.Video.Title||e.definition.Video.CopyRight?(u(),h("div",{key:0,class:j(["embed-vimeo__details",{"is-short-desc":i(o)}])},[e.definition.Video.Title?(u(),h("span",{key:0,innerHTML:s(),class:"embed-vimeo__details-desc"},null,8,xA)):T("",!0),e.definition.Video.CopyRight?(u(),h("span",{key:1,innerHTML:r(),class:"embed-vimeo__details-copy"},null,8,IA)):T("",!0)],2)):T("",!0)])]),_:1}))}},AA=te(EA,[["__scopeId","data-v-7ed4f642"]]),LA={class:"videoPlayer-template"},RA={key:0,class:"embed-videoPlayer__background"},OA={class:"embed-videoPlayer"},MA={key:0,class:"embed-videoPlayer__close-container"},NA={key:0,class:"embed-videoPlayer__background"},BA=["innerHTML"],UA=["innerHTML"],jA={__name:"ArticleElementsVideoPlayer",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,{config:n}=ye().public,{$t:o}
47=ue(),s=$e(),r=t?.definition?.Video||{},a=s.pageData.article?.Document||{},l=`video-${$y()}`,c=L(null),m=L(null),d=L(!1),p=L(!1),_=L(!1),g=L(!1),b=L(!1),y=L(!1),C=L(!1),E=L(!1),D=L(!1),v=Te(a,"VideoAutoplay")?.Text,I=a?.DocumentTypeAlias==="DevelopingStory";let k,S,$,P,x,A,N=!1,M=null,ee,X,me=!1,Q=!1;const F=se(()=>r.Width===r.Height?"square":r.Width>r.Height?"landscape":r.Width<r.Height?"portrait":"auto"),Y=se(()=>{const B=r.Width/r.Height,H=[{asr:"16:9",value:1.778},{asr:"21:9",value:2.333},{asr:"19:10",value:1.9},{asr:"4:3",value:1.333},{asr:"3:2",value:1.5},{asr:"1:1",value:1},{asr:"4:5",value:.8},{asr:"3:4",value:.75},{asr:"2:3",value:.667},{asr:"9:16",value:.5625}];let U=H[0],J=Math.abs(B-H[0].value);for(let ae=1;ae<H.length;ae++){const re=Math.abs(B-H[ae].value);re<J&&(J=re,U=H[ae])}return U.asr}),ie=se(()=>{const{Width:B,Height:H}=r||{};return!B||!H?"56.25%":`${H/B*100}%`}),ce=se(()=>{if(!d.value)return{};const{Width:B,Height:H}=r||{};return!B||!H?{aspectRatio:"16 / 9"}:{aspectRatio:`${B} / ${H}`}});function de(){if(!n.useChartbeatVideoOption||me||typeof window>"u")return;const B=r?.PosterPhotoUrl?.trim(),H=r?.Title||"",U=c.value?.querySelectorAll("video");if(!U?.length)return;U.forEach(ae=>{H&&ae.setAttribute("title",H),B&&ae.setAttribute("poster",B)});const J=Array.from(U).find(ae=>ae.currentSrc||ae.src)||U[0];window._cbv=window._cbv||[],window._cbv.push(J),me=!0}function V(B=10){me||(de(),!me&&B>0&&setTimeout(()=>V(B-1),200))}function K(){return r?.PosterPhotoUrl?r?.PosterPhotoUrl:a.PosterPhoto}const Z=se(()=>(r.Title||"").length<92);function q(){return`${r.Title} `}function fe(){return`${o("article.videoAuthor")} ${r.CopyRight}`}v&&!I?N=v==="true":a&&!I&&(N=s.coreData.siteSettings?.enableVideoAutoplay),r&&(x=r?.ExternalVideoId,k=r?.Title,A=r?.Duration?Fs(r?.Duration):"",a&&($=K()));function W(B){B.style.removeProperty("top"),B.style.removeProperty("right")}function le(){S?.pause(),d.value=!1,W(m.value)}function he(){const B={id:l,options:{playerId:`${n.movPlayer.id}`,videoId:x,videoTitle:k,mutestart:N,playbackType:"on-demand",poster:$,adTag:`${n.movPlayer.ADS}`,client:"am",projectId:`${n.movPlayer.projectId}`,orientation:F.value,aspectRatio:Y.value},player:H=>{S=H,_.value=!0,V(),S.on("play",()=>{g.value=!0,s.setPlayingVideoId(x),de(),M!==x&&(M=x)}),S.on("pause",()=>{y.value=!0,g.value=!1,M=null}),S.on("playing",()=>{y.value=!1,g.value=!0,b.value=!0}),S.on("adstart",()=>{C.value=!0,E.value=!0,b.value=!0}),S.on("adend",()=>{D.value=!0,E.value=!1,setTimeout(()=>{if(X!==!1||I){s.setPlayingVideoId(x);return}if(s.playingVideoId!==x){S?.pause();return}if(ee){S?.pause();return}d.value=!0},50)}),S.on("ended",()=>{Q=!0})}};try{window.movPlayer(B)}catch{}}async function we(){if(S)try{await S.play()}catch(B){console.log(B)}}function Oe(B){B.forEach(H=>{if(X=H.isIntersecting,X){d.value&&(d.value=!1,W(m.value)),!g.value&&!Q&&N&&we();return}ee=H.boundingClientRect.top>0,Q=!1;const U=g.value&&!ee&&!E.value;d.value=U,!U&&!E.value&&S?.pause()})}qe(()=>s.playingVideoId,B=>{if(B!==x){if(!S)return;E.value=!1,C.value=!1,d.value?le():g.value&&S?.pause(),d.value=!1,g.value=!1,b.value=!1}}),qe(()=>_.value,B=>{if(B&&!I){const H={root:null,rootMargin:"0px",threshold:.01};P=new IntersectionObserver(Oe,H),P.observe(c.value)}});let nt;return De(()=>{p.value=!0,nt=Mo(()=>{window.movPlayer&&(he(),clearInterval(nt))},300)}),Xe(()=>{P&&P.disconnect(),clearInterval(nt),me=!1;try{S&&typeof S.off=="function"&&(S.off("play"),S.off("pause"),S.off("playing"),S.off("adstart"),S.off("adend"),S.off("ended")),S&&typeof S.destroy=="function"&&S.destroy(),S&&typeof S.dispose=="function"&&S.dispose()}catch(B){console.log(B)}S=null}),(B,H)=>(u(),h("div",LA,[f("div",{ref_key:"videoPlayer",ref:c,class:j(["videoPlayer",{"is-portrait":i(F)==="portrait"}])},[f("div",{class:"videoPlayer__container",style:Se({paddingBottom:i(ie)})},[i(p)?(u(),O(Rm,{key:0,to:"#video-floating-root",disabled:!i(d)},[f("div",{class:j(["videoPlayer__wrapper",{isFloating:i(d),"submenu-active":i(s).pageHasSubmenu,"has-alfanum":i(s).articleHasAlfanum&&B.$device.isMobile,"has-portrait-video":i(F)==="portrait"}])},[f("div",{ref_key:"floatingEl",ref:m,class:j(["embed-videoPlayer__container",{isFloating:i(d)}]),style:Se(i(ce))},[i(F)==="portrait"?(u(),h("div",RA,[f("div",{class:"embed-videoPlayer__background-image",style:Se({backgroundImage:`url('${i($)}')`})},null,4)])):T("",!0),f("div",OA,[i(d)?(u(),h("div",MA,[f("button",{class:"embed-videoPlayer__close",onClick:le},[...H[0]||(H[0]=[f("i",{class:"icon-close","aria-hidden":"true"},null,-1)])])])):T("",!0),f("mov-player",{script:"",id:l})])],6)],2)],8,["disabled"])):(u(),h("div",{key:1,class:j(["videoPlayer__wrapper",{"submenu-active":i(s).pageHasSubmenu,"has-alfanum":i(s).articleHasAlfanum&&B.$device.isMobile,"has-portrait-video":i(F)==="portrait"}])},[f("div",{ref_key:"floatingEl",ref:m,class:"embed-videoPlayer__container",style:Se(i(ce))},[i(F)==="portrait"?(u(),h("div",NA,[f("div",{class:"embed-videoPlayer__background-image",style:Se({backgroundImage:`url('${i($)}')`})},null,4)])):T("",!0),f("div",{class:"embed-videoPlayer"},[f("mov-player",{script:"",id:l})])],4)],2)),i(A)&&!i(b)?(u(),O(Ne,{key:2,class:"card-label-wrap has-icon
47is-video",label:i(A)},null,8,["label"])):T("",!0)],4),i(r).Title||i(r).CopyRight?(u(),h("div",{key:0,class:j(["videoPlayer__details",{"is-short-desc":i(Z)}])},[e.definition.Video.Title?(u(),h("span",{key:0,innerHTML:q(),class:"videoPlayer__details-desc"},null,8,BA)):T("",!0),e.definition.Video.CopyRight?(u(),h("span",{key:1,innerHTML:fe(),class:"videoPlayer__details-copy"},null,8,UA)):T("",!0)],2)):T("",!0)],2)]))}},VA=te(jA,[["__scopeId","data-v-d1a48ce9"]]),HA={class:"embed-dailymotion"},zA={class:"embed-dailymotion__container"},FA={class:"embed-dailymotion__iframe-wrapper"},WA=["src"],GA={key:1,class:"embed-dailymotion__details-copy"},qA={__name:"ArticleElementsVideoDailymotion",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,n=se(()=>(t.definition.Video.Title||"").length<92);return(o,s)=>(u(),O(ji,null,{default:z(()=>[f("div",HA,[f("div",zA,[f("div",FA,[f("iframe",{class:"embed-dailymotion__video",src:t.definition.Video.VideoUrl,frameborder:"0",allow:"fullscreen; picture-in-picture",allowfullscreen:""},null,8,WA)])]),e.definition.Video.Title||e.definition.Video.CopyRight?(u(),h("div",{key:0,class:j(["embed-dailymotion__details",{"is-short-desc":i(n)}])},[e.definition.Video.Title?(u(),h(G,{key:0},[_e(w(e.definition.Video.Title),1)],64)):T("",!0),e.definition.Video.CopyRight?(u(),h("span",GA,"âIzvor:Â "+w(e.definition.Video.CopyRight),1)):T("",!0)],2)):T("",!0)])]),_:1}))}},YA=te(qA,[["__scopeId","data-v-632f74d5"]]),jg={__name:"ArticleElementsVideo",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,o=$e().pageData.article?.Document?.DocumentTypeAlias==="Storytelling2.0",s=se(()=>t.definition?.Video?.Alignment?.split(" ")[0]??null),r=se(()=>{if(!o)return null;const a=t.definition?.Video?.Width,l=t.definition?.Video?.Height;return!a||!l?null:a===l?"element-square-auto":a>l?"element-landscape-auto":"element-portrait-auto"});return(a,l)=>(u(),h("div",{class:j(["embed-video",[i(s),i(r)]])},[t.definition.Video?.VideoType==="youtube"?(u(),O(i($A),{key:0,definition:t.definition},null,8,["definition"])):T("",!0),t.definition.Video?.VideoType==="vimeo"?(u(),O(i(AA),{key:1,definition:t.definition},null,8,["definition"])):T("",!0),t.definition.Video?.VideoType==="dailyMotion"?(u(),O(i(YA),{key:2,definition:t.definition},null,8,["definition"])):T("",!0),t.definition.Video?.VideoType==="mp4"?(u(),O(i(VA),{key:3,definition:t.definition},null,8,["definition"])):T("",!0)],2))}},KA=Object.freeze(Object.defineProperty({__proto__:null,default:jg},Symbol.toStringTag,{value:"Module"})),XA={class:"article-big-image"},QA={key:1,class:"big-image-container"},JA=["innerHTML"],ZA=["innerHTML"],eL=2544,tL={__name:"ArticleElementsArticleBigImage",props:{document:{type:Object,default:()=>({})},isStorytelling:{type:Boolean,default:!1},isStorytellingTwo:{type:Boolean,default:!1}},setup(e){const t=e,{$t:n}=ue(),{$device:o}=ue(),s=rA(t.document),r=iA(s),a={Video:s},l=V$(rg(t.document),t.isStorytelling,t.isStorytellingTwo);let c=t.document?.DocumentElements.find(C=>C?.Name==="Big Image");(t.document.DocumentTypeAlias==="Storytelling"||t.document.DocumentTypeAlias==="Storytelling2.0")&&(o.isDesktopOrTablet?c=t.document?.DocumentElements.find(C=>C?.Name.startsWith("Big Image - Desktop")):o.isMobile&&(c=t.document?.DocumentElements.find(C=>C?.Name.startsWith("Big Image - Mobile"))));const m={...t.document.PosterPhoto},d=c?c.Image:m,p=se(()=>(d.Description||"").length<92);function _(){return`${d.Description} `}function g(){return`${n("article.galleryAuthor")} ${d.CopyRight}`}const b=d.Variations?.[0];let y=null;return b&&b.Width&&b.Height&&(y={"aspect-ratio":parseInt(b.Width,10)/parseInt(b.Height,10)}),(C,E)=>(u(),h("div",XA,[i(r)?(u(),O(jg,{key:0,definition:a})):(u(),h("figure",QA,[R(Be,{image:i(l)[0],lazy:!1,fetchPriority:"high",style:Se(i(y)),class:j({"big-image-container__image":i(y)}),"desktop-src":t.isStorytellingTwo?i($i)(i(d),eL):""},null,8,["image","style","class","desktop-src"]),i(d).CopyRight||i(d).Description?(u(),h("figcaption",{key:0,class:j(["big-image-source",{"is-short-desc":i(p)}])},[i(d).Description?(u(),h("span",{key:0,innerHTML:_(),class:"big-image-source-desc"},null,8,JA)):T("",!0),i(d).CopyRight?(u(),h("span",{key:1,innerHTML:g(),class:"big-image-source-copy"},null,8,ZA)):T("",!0)],2)):T("",!0)]))]))}},Vg=te(tL,[["__scopeId","data-v-d7eab1cc"]]),nL={key:0,class:"article-rte article-content-summary"},Hg={__name:"ArticleElementsArticleContentSummary",props:{items:{type:Array,default:()=>[]}},setup(e){const n=e.items.filter(o=>
47typeof o=="string"&&o.trim());return(o,s)=>i(n).length?(u(),h("div",nL,[f("ul",null,[(u(!0),h(G,null,pe(i(n),(r,a)=>(u(),h("li",{key:a},w(r),1))),128))])])):T("",!0)}},oL={class:"article-author"},sL={key:0,class:"author__image"},iL=["src","alt"],rL={key:1,class:"comma-separator"},aL={key:1,class:"author isProfile"},lL={key:0,class:"author__image"},cL=["src","alt"],uL={key:1,class:"comma-separator"},dL={key:2,class:"article-author__description"},fL={__name:"ArticleElementsAuthor",props:{author:{type:Object,default:()=>({})},showAuthorImg:{type:Boolean,default:!0},showAuthorDescription:{type:Boolean,default:!0},isCommaSeparated:{type:Boolean,default:!1}},setup(e){const t=e;return(n,o)=>{const s=Ze("router-link");return u(),h("div",oL,[e.author.IsDeactivated?(u(),h("span",aL,[e.author.PhotoUrl&&t.showAuthorImg?(u(),h("figure",lL,[f("img",{src:e.author.PhotoUrl,alt:t.documentData?.Authors[0]?.AdditionalInfo,loading:"lazy"},null,8,cL)])):T("",!0),_e(" "+w(e.author.FirstName)+" "+w(e.author.LastName)+" ",1),t.isCommaSeparated?(u(),h("span",uL,", ")):T("",!0)])):(u(),O(s,{key:0,class:"author isProfile",to:n.$createLocalUrl(e.author.AuthorUrl)},{default:z(()=>
47[e.author.PhotoUrl&&t.showAuthorImg?(u(),h("figure",sL,[f("img",{src:e.author.PhotoUrl,alt:t.documentData?.Authors[0]?.AdditionalInfo,loading:"lazy"},null,8,iL)])):T("",!0),_e(" "+w(e.author.FirstName)+" "+w(e.author.LastName)+" ",1),t.isCommaSeparated?(u(),h("span",rL,", ")):T("",!0)]),_:1},8,["to"])),t.showAuthorDescription?(u(),h("p",dL,w(e.author.AdditionalInfo),1)):T("",!0)])}}},mL=te(fL,[["__scopeId","data-v-55f50fe7"]]),pL={class:"sponsor-container"},hL={key:0,class:"sponsored-by"},gL={key:1,class:"sponsored-by"},_L=["href"],yL=["href"],vL={key:0,class:"sponsored-by__logo"},bL=["src","alt"],wL=["src","alt"],kL={key:1,class:"sponsored-by__text is-light"},TL={key:2,class:"sponsored-by__text is-dark"},$L={key:3,class:"sponsored-by__text"},SL={__name:"ArticleElementsSponsoredBlock",props:{prDataObj:{type:Object,default:()=>({})},isStorytellingTwo:{type:Boolean,default:!1}},setup(e){const t=e,{$t:n}=ue(),o=t.prDataObj.prefixSponsored||n("common.sponsoredBy"),s=!!t.prDataObj?.sponsoredLogoLight?.ImageUrl,r=!!t.prDataObj?.sponsoredLogoDark?.ImageUrl;return(a,l)=>(u(),h("div",pL,[e.isStorytellingTwo?(u(),h("span",gL,w(i(o)),1)):(u(),h("span",hL,w(t.prDataObj.name),1)),e.isStorytellingTwo?(u(),h("a",{key:3,href:e.prDataObj.url,class:"sponsored-by__link",target:"_blank"},[s||r?(u(),h("figure",vL,[s?(u(),h("img",{key:0,src:e.prDataObj?.sponsoredLogoLight?.ImageUrl,alt:e.prDataObj?.sponsoredLogoLight?.AltText,class:"is-light",loading:"lazy"},null,8,bL)):T("",!0),r?(u(),h("img",{key:1,src:e.prDataObj?.sponsoredLogoDark?.ImageUrl,alt:e.prDataObj?.sponsoredLogoDark?.AltText,class:"is-dark",loading:"lazy"},null,8,wL)):T("",!0)])):T("",!0),!s&&r?(u(),h("span",kL,w(t.prDataObj.text),1)):T("",!0),!r&&s?(u(),h("span",TL,w(t.prDataObj.text),1)):T("",!0),!s&&!r?(u(),h("span",$L,w(t.prDataObj.text),1)):T("",!0)],8,yL)):(u(),h("a",{key:2,href:e.prDataObj.url,class:"sponsored-by__link",target:"_blank"},w(t.prDataObj.text),9,_L))]))}},ys=te(SL,[["__scopeId","data-v-65264b87"]]),DL={class:"article-teaser-box"},CL={class:"article-teaser-box__content"},PL={class:"article-teaser-box__trim-container"},xL={class:"article-teaser-box__box"},IL={class:"article-teaser-box__logo-button-container"},EL={class:"article-teaser-box__logo-button"},AL=["src"],LL={class:"article-teaser-box__heading"},RL={class:"article-teaser-box__paragraph"},OL={class:"article-teaser-box__list"},ML={class:"modal-inner-bullet"},NL={class:"article-teaser-box__cta-container"},BL={__name:"ArticleElementsArticleTeaserBox",props:{isSelectedTheme:{type:Boolean,default:!1}},setup(e){const t=e,{config:n}=ye().public,{gigyaPrefix:o}=n,s=$e(),{$gigya:r}=ue(),a=se(()=>t.isSelectedTheme?s.selectedColor:s.themeColor),l=n.bustParametar||"",c=()=>{r.$returnUrlCookie("gigya-return-url",window.location.pathname);const m={authFlow:"redirect",redirectURL:window.location.href,useChildContext:!0,context:{myCustomLang:"sr",myCustomPrefix:o,prefix:o}};window.gigya.sso.login(m)};return(m,d)=>(u(),h("div",DL,[d[5]||(d[5]=f("div",{class:"article-teaser-box__transparent"},null,-1)),f("div",CL,[f("div",PL,[d[1]||(d[1]=f("div",{class:"article-teaser-box__cut-icon-top"},null,-1)),d[2]||(d[2]=f("div",{class:"article-teaser-box__trim-pattern isTop"},null,-1)),f("div",xL,[f("div",IL,[f("div",EL,[f("img",{src:`/img/mondo+${i(a)}.svg${i(l)}`,alt:"mondo+",loading:"lazy"},null,8,AL)])]),f("h2",LL,w(m.$t("articleTeaser.heading")),1),f("p",RL,[_e(w(m.$t("articleTeaser.paziOvo1"))+" ",1),f("span",{onClick:He(c,["prevent"])},w(m.$t("articleTeaser.paziOvoProfileLink")),1),_e(" "+w(m.$t("articleTeaser.paziOvo2")),1)]),f("ul",OL,[(u(!0),h(G,null,pe(m.$t("articleTeaserList"),p=>(u(),h("li",{key:p},[f("span",ML,w(p),1)]))),128))]),f("div",NL,[f("button",{href:"#",class:"article-teaser-box__cta",onClick:d[0]||(d[0]=p=>{i(r).$openGigyaModal("Registration","Welcome")})},w(m.$t("articleTeaser.cta")),1)])]),d[3]||(d[3]=f("div",{class:"article-teaser-box__trim-pattern isBottom"},null,-1)),d[4]||(d[4]=f("div",{class:"article-teaser-box__cut-icon-bottom"},null,-1))])])]))}},uu=te(BL,[["__scopeId","data-v-de1767f1"]]);function Da(){return{documentData:{type:Object,default:()=>({})},extraClass:{type:String,default:""},link:{type:String,default:""},shareLink:{type:String,default:""},shareTitle:{type:String,default:""},fbId:{type:String,default:""},isSidebar:{type:Boolean,default:!1},isMob:{type:Boolean,default:!1},showEngagementBar:{type:Boolean,default:!0},engageShareVisible:{type:Boolean,default:!0},engageCommentActionVisible:{type:Boolean,default:!0},engageNumberOfCommentsVisible:{type:Boolean,default:!0},engageReactVisible:{type:Boolean,default:!0},urlSuffix:{type:String,default:""},externalUrlSuffix:{type:String,default:""},showRelatedNews:{type:Boolean,default:!1}}}function _o(){return{documentData:{type:Object,default:()=>({})},ignoreDocumentType:{type:Boolean,default:!1},showTime:{type:Boolean,default:!0},showImage:{type:Boolean,default:!0},lazyLoadImage:{type:Boolean,default:!0},showEngagementBar:{type:Boolean,default:!0},engageShareVisible:{type:Boolean,default:!0},engageCommentActionVisible:{type:Boolean,default:!0},engageNumberOfCommentsVisible:{type:Boolean,default:!0},engageReactVisible:{type:Boolean,default:!0},isMob:{type:Boolean,default:!1},showSponsoredLabel:{type:Boolean,default:!0},urlSuffix:{type:String,default:""},externalUrlSuffix:{type:String,default:""},showRelatedNews:{type:Boolean,default:!1}}}function yo(e,t=!1){const n=Te(e,"Subtitle")?.Text;if(t)return e.DocumentSeoTitle||"";const o=n||e.ParentMenuItemName||e.RootMenuItemName||"";return o.length>20?`${o.substring(0,19)}…`:o}function Nn(e,t){const n=Te(e,"Sponsored by")?.Text,o=Te(e,"Sponsored by URL")?.Text,s=Te(e,"Prefix")?.Text,r=Te(e,"Sponsored Logo Light")?.Image,a=Te(e,"Sponsored Logo Dark")?.Image;return{name:t,prefixSponsored:s,text:n,url:o,hasSponsoredBlock:!!(n||o),sponsoredLogoLight:r,sponsoredLogoDark:a}}function Vi(e){const t=e?.DocumentElements||e?.DocumentAttributes;if(e.HasPhotoGallery&&t){const n=Ke(t,"StoryUpdateElements",o=>o.Type==="PhotoGallery");if(n)return n.PhotoGallery.Images.length.toString()}return""}function Ca(e){switch(e){case"DevelopingStory":return"developing-story";case"PhotoGallery":return"photo-story";case"Video":return"video-story";case"StoryInPictures":return"story-in-pictures";case"HowTo":return"story-how-to";case"Recipe":return"story-how-to";case"Quiz":return"quiz-story";case"Poll":return"poll-story";case"StoryPerseus":return"story-perseus";case"ExternalArticle":return"external-article";case"Storytelling":return"storytelling";default:return""}}function Bf(e,t=!1){const n=un(e,e?.PosterPhoto);if(e.DocumentTypeAlias==="Quiz"){const o=e?.DocumentElements?.find(s=>
47s.Type==="Image"&&s.Name.startsWith("Big Image"))?.Image;return!e?.PosterPhoto&&o?[o]:e?.PosterPhoto&&!o?[e?.PosterPhoto]:e?.PosterPhoto&&o?[e?.PosterPhoto,o]:[n]}if(e.DocumentTypeAlias==="Video"){const o=Tn(e,"Video")?.Video;return e?.PosterPhoto?[e?.PosterPhoto]:o?.PosterPhotoUrl?[{ImageUrl:o?.PosterPhotoUrl,CopyRight:o?.CopyRight}]:[n]}if(!t&&(e.DocumentTypeAlias==="PhotoGallery"||e.DocumentTypeAlias==="StoryInPictures")){const o=Tn(e,"PhotoGallery")?.PhotoGallery?.Images;if(o)return o}return!t&&e.DocumentTypeAlias==="Storytelling"?[e?.DocumentElements?.find(o=>o.Type==="Image"&&o.Name.startsWith("Big Image"))?.Image,e?.DocumentElements?.find(o=>o.Type==="Image"&&o.Name.startsWith("Big Image - Mobile"))?.Image,e?.PosterPhoto]:e?.PosterPhoto?[e?.PosterPhoto]:[n]}function oc(e,t=null){const n=un(e,e?.PosterPhoto);if(e.DocumentTypeAlias==="Quiz"){const o=e?.DocumentElements?.find(s=>s.Type==="Image"&&s.Name.startsWith("Big Image"))?.Image;return!e?.PosterPhoto&&o?[o]:e?.PosterPhoto&&!o?[e?.PosterPhoto]:e?.PosterPhoto&&o?[e?.PosterPhoto,o]:[n]}if(e.DocumentTypeAlias==="Video"){const o=Tn(e,"Video")?.Video;return e?.PosterPhoto?[e?.PosterPhoto]:o?.PosterPhotoUrl?[{ImageUrl:o?.PosterPhotoUrl,CopyRight:o?.CopyRight}]:[n]}return!t&&(e.DocumentTypeAlias==="PhotoGallery"||e.DocumentTypeAlias==="StoryInPictures")?Tn(e,"PhotoGallery")?.PhotoGallery?.Images:!t&&e.DocumentTypeAlias==="Storytelling"?[e?.DocumentElements?.find(o=>o.Type==="Image"&&o.Name.startsWith("Big Image"))?.Image,e?.DocumentElements?.find(o=>o.Type==="Image"&&o.Name.startsWith("Big Image - Mobile"))?.Image,e?.PosterPhoto]:e?.PosterPhoto?[e?.PosterPhoto]:[n]}function mo(e,t=!1){const n=un(e,e?.PosterPhoto);if(e.DocumentTypeAlias==="Quiz"){const o=e?.DocumentElements?.find(s=>s.Type==="Image"&&s.Name.startsWith("Big Image"))?.Image;return o||e?.PosterPhoto?[o||e?.PosterPhoto]:[n]}if(e.DocumentTypeAlias==="Video"){const o=Tn(e,"Video")?.Video;return e?.PosterPhoto?[e?.PosterPhoto]:o?.PosterPhotoUrl?[{ImageUrl:o?.PosterPhotoUrl,CopyRight:o?.CopyRight}]:[n]}return e?.PosterPhoto?[e?.PosterPhoto]:[n]}function UL(e){return[Te(e,"Image 1x1")?.Image]}function jL(e){const t=un(e,e?.PosterPhoto);return e?.PosterPhoto||t}function VL(e){return e?.PosterPhoto?[e?.PosterPhoto]:[]}function HL(e){const t=un(e,e?.PosterPhoto),n=Te(e,"Fullâwidth Desktop image 2:1")?.Image,o=Te(e,"Image 1x1")?.Image;return n&&!o?[n]:!n&&o?[o]:n&&o?[n,o]:e?.PosterPhoto?[e?.PosterPhoto]:[t]}function Us(e,t){return t?(e||"").replace("$domain$",t):e||""}function zL(e){De(()=>{const t=e.value;if(!t)return;const n=["image-left-top-bottom-text","image-center-top-bottom-text","image-right-top-bottom-text","element-left-top-bottom-text","element-center-top-bottom-text","element-right-top-bottom-text"],o=[...t.children];let s=[],r=[];const a=()=>{if(s.length>1){const c=document.createElement("div");c.className=`media-group media-group--${s.length}`,s[0].parentNode.insertBefore(c,s[0]),s.forEach(m=>c.appendChild(m)),r.forEach(m=>m.classList.add("in-media-group-separator"))}s=[],r=[]},l=c=>c.classList.contains("article-ad");try{o.forEach(c=>{const m=n.some(p=>c.classList.contains(p)),d=c.classList.contains("article-rte")&&!c.innerText.trim();m?s.push(c):d&&s.length>0?r.push(c):l(c)||a()}),a()}finally{t.classList.add("groups-ready")}})}function cr(e){const t=!!e.textContent.trim(),n=!!e.querySelector("img, video, iframe, picture, source, audio, canvas, svg");return t||n}function FL(e){return!!e.querySelector(".gpt-ad-banner")}function WL(e){const t=[],n=e.querySelector(":scope > .article-big-image");n&&cr(n)&&t.push(n);const o=e.querySelector(".article-header-container");o&&t.push(...[...o.children].filter(cr));const s=e.querySelector(":scope > .article-content-summary");s&&cr(s)&&t.push(s);const r=e.querySelector(":scope > .article-body");return r&&t.push(...[...r.children].filter(a=>cr(a)&&!FL(a))),t}function GL(e){let t=null;De(()=>{const n=e.value;if(n)try{if(typeof IntersectionObserver>"u")return;const o=WL(n);if(!o.length)return;o.forEach(s=>s.classList.add("reveal")),t=new IntersectionObserver(s=>{s.filter(r=>r.isIntersecting).sort((r,a)=>
47r.boundingClientRect.top-a.boundingClientRect.top).forEach((r,a)=>{r.target.style.transitionDelay=`${a*80}ms`,r.target.classList.add("is-visible"),t.unobserve(r.target)})},{threshold:.15}),o.forEach(s=>t.observe(s))}finally{n.classList.add("reveal-ready")}}),Xe(()=>{t&&(t.disconnect(),t=null)})}const zg=()=>ue().$device,qL={class:"extra-wrap"},YL={key:0,class:"icon-pause--filled","aria-hidden":"true"},KL={key:1,class:"icon-play--filled--alt","aria-hidden":"true"},XL={class:"audioStory__label-bar"},QL={key:0},JL=["src"],ZL={__name:"ArticleElementsStoryAudio",props:{definition:{type:Object,default:()=>({})},documentId:{type:Number,default:null},documentTitle:{type:String,default:""}},setup(e){const{config:t}=ye().public,{$pushAudioPlayEvent:n}=ue(),o=$e(),s=e,r=se(()=>s.definition.Value),a=L(),l=L(),c=L(),m=L(),d=L(!1),{isMobile:p}=zg();let _;const g=L(null),b=L(!1);function y(k){k.forEach(S=>{b.value=!S.isIntersecting&&S.boundingClientRect.top<0,o.setArticleHasAlfanum(b.value)})}function C(){if(a.value){const k=a.value.duration-a.value.currentTime,S=`0${Math.floor(k/60)}`,$=`0${Math.floor(k-S*60)}`;m.value=`${S.substr(-2)}:${$.substr(-2)}`}}function E(){const k=a.value.currentTime/a.value.duration*100;c.value.style.flexBasis=`${k}%`,C()}function D(){a.value.paused?(a.value.play(),d.value=!0,n({id:`${s.documentId}`,name:s.documentTitle,type:"alfanum article"})):(a.value.pause(),d.value=!1)}function v(k){(k.key==="Enter"||k.keyCode===13)&&k.target.tagName!=="INPUT"&&D()}function I(k){const S=k.offsetX/l.value.offsetWidth*a.value.duration;a.value.currentTime=S}return De(()=>{if(t.alfanumActive&&(a.value.ontimeupdate=()=>E(),a.value.onloadeddata=C,document?.addEventListener("keydown",k=>v(k)),l.value.addEventListener("click",k=>I(k)),C(),setTimeout(()=>{C()}),p)){const k={threshold:1};_=new IntersectionObserver(y,k),_.observe(g.value)}}),Xe(()=>{t.alfanumActive&&(document?.removeEventListener("keydown",k=>v(k)),l.value.removeEventListener("click",k=>I(k)))}),(k,S)=>i(r)&&i(t).alfanumActive?(u(),h("div",{key:0,class:"audioStory",ref_key:"audioStory",ref:g},[f("div",{class:j(["audioStory__wrapper",{"is-sticky":i(b)}])},[f("div",qL,[f("div",{class:"audioStory__toggle",onClick:S[0]||(S[0]=$=>{D()})},[i(d)?(u(),h("i",YL)):(u(),h("i",KL))]),f("div",XL,[f("strong",null,w(k.$t("article.audioNewsLabel")),1),i(m)!=="aN:aN"?(u(),h("span",QL,w(i(m)),1)):T("",!0)]),f("audio",{ref_key:"audioElem",ref:a},[f("source",{src:i(r),type:"audio/mpeg"},null,8,JL)],512),f("div",{ref_key:"audioProgress",ref:l,class:"audioStory__progress"},[f("div",{ref_key:"audioProgressBar",ref:c,class:"audioStory__progress-bar"},null,512)],512)])],2)],512)):T("",!0)}},e2=te(ZL,[["__scopeId","data-v-6c066671"]]),t2={key:0,class:"recipe-section-title"},n2={key:0,class:"recipe-section-title"},o2={key:2,class:"article-authors-block"},s2={key:0,class:"author__separator"},i2=`<style> 48 article.storytelling-two-article .article-body .image-left-top-bottom-text, 49 article.storytelling-two-article .article-body .image-center-top-bottom-text, 50 article.storytelling-two-article .article-body .image-right-top-bottom-text, 51 article.storytelling-two-article .article-body .element-left-top-bottom-text, 52 article.storytelling-two-article .article-body .element-center-top-bottom-text, 53 article.storytelling-two-article .article-body .element-right-top-bottom-text { 54 display: revert !important; 55 } 56 57 /* Bez JS-a se reveal-ready nikad ne dodaje - gate bi trajno sakrio sadržaj. */ 58 article.storytelling-two-article:not(.reveal-ready) .article-big-image, 59 article.storytelling-two-article:not(.reveal-ready) .article-header-container > *, 60 article.storytelling-two-article:not(.reveal-ready) .article-content-summary, 61 article.storytelling-two-article:not(.reveal-ready) .article-body > * { 62 opacity: 1 !important; 63 transform: none !important; 64 } 65</style>`,Yr={__name:"ArticleTemplatesStandardArticle",props:{definition:{type:Object,default:()=>({})},audioParent:{type:String,default:""},ignoredArticleElements:{type:Array,default:()=>[]}},setup(e){const{config:t}=ye().public,n=$t(),o=Le(),s=$e(),r=se(()=>s.coreData?.siteSettings?.enableGigya),a=e,l=oe(()=>ne(()=>Promise.resolve().then(()=>wu),void 0,import.meta.url)),c=oe(()=>ne(()=>Promise.resolve().then(()=>oA),void 0,import.meta.url)),m=s.meta.title||"audio_name_unknown",d=a.definition.Template==="Storytelling",p=a.definition.Template==="StorytellingTwo",_=L(null),g=L(null);p&&(zL(_),GL(g));let b=!1;a.definition.Document.DocumentAttributes&&(b=Ke(a.definition.Document.DocumentAttributes,"children",J=>J.Name==="AlfanumUrl"));const{$t:y,$factoryArticleElement:C}=ue();let E=0;function D(J){if(J.IndexPageElement?.Type==="DfpBanner"&&(J.IndexPageElement?.Properties?.SlotCodeMobile?.includes("intext")||J.IndexPageElement?.Properties?.SlotCodeDesktop?.includes("intext")))return E+=1,E}const v={...a.definition.Document},I=t.forcePhotoGalleryArticleTypeWhenFirstElementIsGallery&&v.DocumentElements?.[0]?.Type==="PhotoGallery",k=v.DocumentTypeAlias==="PhotoGallery"||I,S=v.DocumentTypeAlias==="Video",$=v.DocumentTypeAlias==="Quiz",P=a.definition.Template==="StoryInPictures",x=a.definition.Template==="HowTo"||a.definition.Template==="Recipe",A=v.DocumentTypeAlias==="Poll",N=b&&!(k||P||$),M=Xc(v.Authors),ee=v.DocumentAttributes?.map(J=>C(J)),X=v.DocumentElements?.map(J=>C(J,v.DocumentTypeAlias)),me=se(()=>v.Locked&&!n.isAuthenticated&&r.value),Q=se(()=>me.value?v.DocumentElements?.findIndex(J=>J?.Text?.includes("<p>")&&J?.Text?.length>9):v.DocumentElements?.length),Y=!!new RegExp(t.comments.commentsRegex).test(o.fullPath);let ie=0;const ce=J=>{if(J.Type==="TextEditor"&&(ie+=1,ie>1&&ie<4))return`paragrafNumber_${ie}`},de=["Sponsored by","Sponsored by URL","Is Light theme","Subtitle","AutorskiTekst","Trajanje","Link name","Link URL","About","BrandSafety","Uvodni sadrzaj","Breaking News Label","Label","Kicker","Remaining Title","SeoTraka","Prefix","Hero Video"];function V(J){return v.DocumentTypeAlias==="Poll"&&J.Name==="Poll"?!1:![...de,...a.ignoredArticleElements].find(ae=>ae===J?.Name||!J)}const K=Nn(a.definition.Document,y("common.sponsoredBy")),Z=se(()=>K.text||K.url);function q(J){const ae=Ke(a.definition.Document.DocumentElements,"children",re=>re.Type==="PhotoGallery").PhotoGallery.PhotoGalleryId;return J.PhotoGallery.PhotoGalleryId===ae}const fe=v.DocumentTypeAlias==="Recipe",W=fe&&!!Te(a.definition.Document,"RecipeIngredients"),le=fe&&a.definition.Document?.DocumentElements?.some(J=>J?.Name==="RecipeSteps"&&J?.Type==="StoryUpdate"),he=fe?a.definition.Document?.DocumentElements?.findIndex(J=>J?.Name==="RecipeSteps"&&J?.Type==="StoryUpdate"):-1,we=["recipeCuisine","recipeCategory","re
65cipeYield","nutrition","prepTime","cookTime","totalTime"],Oe=se(()=>fe?v?.DocumentElements.findIndex(J=>we.includes(J?.Name)):-1),nt=se(()=>Oe.value>=0),B=J=>/^\d+$/.test(J);function H(J){const ae=J?.Text?.trim()||"";return J?.Name==="nutrition"?`${ae} ${y("recipe.cal")}`:["prepTime","cookTime","totalTime"].includes(J?.Name)?B(ae)?`${ae} ${y("recipe.min")}`:"":ae}const U=se(()=>{if(!fe)return-1;let J=-1;return v?.DocumentElements?.forEach((ae,re)=>{we.includes(ae?.Name)&&H(ae)!==""&&(J=re)}),J});return(J,ae)=>(u(),O(Qe(Y?"div":"article"),{ref_key:"articleRootRef",ref:g,class:j({storytelling:d,"storytelling-two-article":p,gallerystory:i(k),"is-how-to":i(x)})},{default:z(()=>[R(et,null,{default:z(()=>[!i(k)&&!P&&!Y&&!$&&!S&&!A?(u(),O(i(Vg),{key:0,"is-storytelling":d,"is-storytelling-two":p,document:v})):T("",!0)]),_:1}),R(et,null,{default:z(()=>[d||p?(u(),O(i(c),{key:0,definition:e.definition},null,8,["definition"])):T("",!0)]),_:1}),R(et,null,{default:z(()=>[Y?T("",!0):(u(),O(Hg,{key:0,items:v.ContentSummary},null,8,["items"]))]),_:1}),p&&!Y?(u(),h("noscript",{key:0,innerHTML:i2})):T("",!0),Y?T("",!0):(u(),h("div",{key:1,ref_key:"articleBodyRef",ref:_,class:"article-body"},[R(et,null,{default:z(()=>[i(Z)&&!i(k)&&!$?(u(),O(i(ys),{key:0,"pr-data-obj":i(K),"is-storytelling-two":p},null,8,["pr-data-obj"])):T("",!0)]),_:1}),R(et,null,{default:z(()=>[i(N)?gt((u(),O(i(e2),{key:0,definition:i(b),"document-id":v.DocumentId,"document-title":i(m)},null,8,["definition","document-id","document-title"])),[[Dl,!i(r)||!v.Locked||i(n).isAuthenticated]]):T("",!0)]),_:1}),(u(!0),h(G,null,pe(v.DocumentElements,(re,ge)=>(u(),h(G,null,[R(et,null,{default:z(()=>[i(W)&&re?.Name==="RecipeIngredients"?(u(),h("h2",t2,w(i(y)("recipe.ingredients")),1)):T("",!0)]),_:2},1024),R(et,null,{default:z(()=>[i(le)&&ge===i(he)?(u(),h("h2",n2,w(i(y)("recipe.preparation")),1)):T("",!0)]),_:2},1024),R(et,null,{default:z(()=>[V(re)?(u(),O(Qe(i(X)[ge]),{key:ge,"extra-class":ce(re),definition:re,position:D(re),"document-template":e.definition.Template,"is-recipe-doc-type":fe,"is-recipe-basic-info":we.includes(re?.Name),"show-other-info-heading":fe&&i(nt)&&ge===i(Oe),"is-last-recipe-basic-info":fe&&ge===i(U),"is-storytelling-two":p,class:j({paywall:ge>i(Q),"article-top-gallery":i(k)&&re.Type==="PhotoGallery"&&q(re)})},null,8,["extra-class","definition","position","document-template","is-recipe-basic-info","show-other-info-heading","is-last-recipe-basic-info","class"])):T("",!0)]),_:2},1024),R(et,null,{default:z(()=>[i(k)&&re.Type==="PhotoGallery"&&i(Z)&&q(re)?(u(),O(i(ys),{key:ge+1e4,"pr-data-obj":i(K)},null,8,["pr-data-obj"])):T("",!0)]),_:2},1024)],64))),256)),P?(u(!0),h(G,{key:0},pe(v.DocumentAttributes,(re,ge)=>(u(),h(G,null,[R(et,null,{default:z(()=>[V(re)?(u(),O(Qe(i(X)[ge]),{key:ge,"extra-class":ce(re),definition:re,position:D(re),"document-template":e.definition.Template,class:j({paywall:ge>i(Q),"article-top-gallery":i(k)&&re.Type==="PhotoGallery"&&q(re)})},null,8,["extra-class","definition","position","document-template","class"])):T("",!0)]),_:2},1024),R(et,null,{default:z(()=>[i(k)&&re.Type==="PhotoGallery"&&i(Z)&&q(re)?(u(),O(i(ys),{key:ge+1e4,"pr-data-obj":i(K)},null,8,["pr-data-obj"])):T("",!0)]),_:2},1024)],64))),256)):T("",!0),P?(u(!0),h(G,{key:1},pe(v.DocumentAttributes,(re,ge)=>(u(),O(et,null,{default:z(()=>[V(re)?(u(),O(Qe(i(ee)[ge]),{key:ge,position:D(re),definition:re,"document-template":e.definition.Template},null,8,["position","definition","document-template"])):T("",!0)]),_:2},1024))),256)):T("",!0),R(et,null,{default:z(()=>[i(me)?(u(),O(uu,{key:0,"is-selected-theme":d||p},null,8,["is-selected-theme"])):T("",!0)]),_:1}),R(et,null,{default:z(()=>[i(Z)&&p?(u(),O(i(ys),{key:0,"pr-data-obj":i(K),"is-storytelling-two":p},null,8,["pr-data-obj"])):T("",!0)]),_:1})],512)),a.definition.Document.DocumentTypeAlias==="AuthorArticle"&&!Y?(u(),h("div",o2,[(u(!0),h(G,null,pe(i(M),(re,ge)=>(u(),O(et,{key:ge},{default:z(()=>[R(i(mL),{author:re},null,8,["author"]),ge<i(M).length-1?(u(),h("hr",s2)):T("",!0)]),_:2},1024))),128))])):T("",!0),Y?(u(),O(i(l),{key:3})):T("",!0)]),_:1},8,["class"]))}},Fg=Object.freeze(Object.defineProperty({__proto__:null,default:Yr},Symbol.toStringTag,{value:"Module"})),r2={},a2={class:"card-divider card-divider-wrap"};function l2(e,t){return u(),h("div",a2)}const Et=Object.assign(te(r2,[["render",l2],["__scopeId","data-v-7f86d0b7"]]),{__name:"CommonCardElementsCardDivider"}),c2={class:"card-header card-header-wrap"},u2={key:0,class:"card-header__sponsor"},d2=["src","alt"],f2={key:1,class:"card-header__sponsor"},m2=["src","alt"],p2=["src","alt"],h2={class:"card-header__title"},g2=["href","aria-label"],_2={__name:"CommonCardElementsCardHeader",props:{sponsorImg:{type:String,default:""},darkImg:{type:String,default:""}
65,lightImg:{type:String,default:""},imageAlt:{type:String,default:""},darkImageAlt:{type:String,default:""},lightImageAlt:{type:String,default:""},headline:{type:String,default:""},link:{type:String,default:""},isExternal:{type:Boolean,default:!1}},setup(e){const t=e;return(n,o)=>{const s=Ze("router-link");return u(),h("div",c2,[t.sponsorImg?(u(),h("figure",u2,[f("img",{src:t.sponsorImg,alt:t.imageAlt,loading:"lazy"},null,8,d2)])):t.darkImg||t.lightImg?(u(),h("figure",f2,[t.darkImg?(u(),h("img",{key:0,src:t.darkImg,alt:t.darkImageAlt,class:"is-dark",loading:"lazy"},null,8,m2)):T("",!0),t.lightImg?(u(),h("img",{key:1,src:t.lightImg,alt:t.lightImageAlt,class:"is-light",loading:"lazy"},null,8,p2)):T("",!0)])):T("",!0),f("span",h2,w(t.headline),1),e.link&&!e.isExternal?(u(),O(s,{key:2,class:"card-header__icon",to:e.link},{default:z(()=>[...o[0]||(o[0]=[f("i",{class:"icon-arrow--right"},null,-1)])]),_:1},8,["to"])):e.link&&e.isExternal?(u(),h("a",{key:3,href:e.link,target:"_blank",rel:"noopener noreferrer",class:"card-header__icon","aria-label":n.$t("common.viewMoreBtn")},[...o[1]||(o[1]=[f("i",{class:"icon-arrow--right"},null,-1)])],8,g2)):T("",!0)])}}},Mt=te(_2,[["__scopeId","data-v-a93326d8"]]),y2={class:"highlighted-news"},v2={class:"highlighted-news-list"},b2=["href"],w2={class:"highlighted-news-list-time"},k2={class:"highlighted-news-list-title"},T2={__name:"ArticleElementsHighlightedNews",props:{documentElements:{type:Object,default:()=>{}},isHighlightedNewsOnly:{type:Boolean,default:()=>!1},showHighlightedNewsOnly:{type:Function,default:null},titleAnchors:{type:Array,default:()=>[]}},setup(e){const t=e,n=se(()=>{const o=t.documentElements,s=[];return o?.forEach(r=>{if(r.Name==="DevelopingStory"&&r.Highlight){const a=r.StoryUpdateElements?.[0]?.Text,l=a?.substring(a.indexOf(">")+1,a.indexOf("</"));l?.length&&s.push({title:l,time:r.Time})}}),s});return(o,s)=>(u(),h("div",y2,[R(Mt,{headline:o.$t("article.highlightedNews")},null,8,["headline"]),R(i(Et)),f("ul",v2,[(u(!0),h(G,null,pe(i(n),(r,a)=>(u(),h("li",{class:"highlighted-news-list-item",key:a},[f("a",{href:`#${t.titleAnchors[a]}`},[f("span",w2,w(r.time),1),f("span",k2,w(r.title),1)],8,b2),i(n).length>1&&a!==i(n).length-1?(u(),O(i(Et),{key:0})):T("",!0)]))),128))])]))}},$2=te(T2,[["__scopeId","data-v-e8b8dbdc"]]),S2=["tabindex"],D2={class:"custom-select__selected-text"},C2={class:"custom-select__icon"},P2=["onClick"],x2={__name:"CommonCustomSelect",props:{options:{type:Array,required:!0},tabindex:{type:Number,required:!1,default:0},defaultOption:{type:String,default:""},defaultOptionClickable:{type:Boolean,default:!0},selectedCategoryId:{type:[Number,String],default:""},icon:{type:String,default:"icon-chevron--sort"}},emits:["customSelected"],setup(e,{emit:t}){const n=e,o=t,s=L(null),r=L(!1);De(()=>{n.selectedCategoryId&&(s.value=n.options.find(c=>c.MenuItemId===parseInt(n.selectedCategoryId,10))?.Title)});const a=se(()=>s.value||n.defaultOption);qe(()=>n.selectedCategoryId,c=>{n.options.length===0?setTimeout(()=>{s.value=n.options.find(m=>m.MenuItemId===parseInt(c,10))?.Title},5e3):s.value=n.options.find(m=>m.MenuItemId===parseInt(c,10))?.Title});const l=c=>{s.value=c.Title,r.value=!1,o("customSelected",c)};return(c,m)=>(u(),h("div",{class:"custom-select",tabindex:e.tabindex,onBlur:m[3]||(m[3]=d=>r.value=!1)},[f("div",{class:j(["custom-select__selected",{"is-open":i(r)}]),onClick:m[0]||(m[0]=d=>r.value=!i(r))},[f("span",D2,w(i(a)),1),f("span",C2,[f("i",{class:j(e.icon)},null,2)])],2),f("div",{class:j(["custom-select__items",{"is-hidden":!i(r)}])},[e.defaultOption?(u(),h("div",{key:0,class:j(["custom-select__item",{active:e.defaultOption===i(a)}])},[e.defaultOptionClickable?(u(),h("p",{key:0,onClick:m[1]||(m[1]=d=>{s.value=n.defaultOption,r.value=!1,o("customSelected",n.defaultOption)})},[f("span",null,w(e.defaultOption),1),m[4]||(m[4]=f("i",{class:"icon-checkmark--small-custom"},null,-1))])):(u(),h("p",{key:1,onClick:m[2]||(m[2]=d=>c.sopen=!1)},[f("span",null,w(e.defaultOption),1),m[5]||(m[5]=f("i",{class:"icon-checkmark--small-custom"}
65,null,-1))]))],2)):T("",!0),(u(!0),h(G,null,pe(e.options,(d,p)=>(u(),h("div",{class:j(["custom-select__item",{active:d.Title===i(s)}]),key:p},[f("p",{onClick:_=>l(d)},[f("span",null,w(d.Title),1),m[6]||(m[6]=f("i",{class:"icon-checkmark--small-custom"},null,-1))],8,P2)],2))),128))],2)],40,S2))}},du=te(x2,[["__scopeId","data-v-6157e805"]]),I2={key:0,class:"article-about"},E2={class:"article-about-text"},A2={__name:"ArticleElementsArticleAbout",props:{text:{type:String,default:()=>""}},setup(e){const t=e;return(n,o)=>t.text?(u(),h("div",I2,[f("p",E2,w(t.text),1)])):T("",!0)}},L2=te(A2,[["__scopeId","data-v-3d318b8a"]]),R2=["value"],O2={__name:"CommonCustomCheckbox",props:{value:{type:Boolean,default:()=>!1}},setup(e){const t=e;return(n,o)=>(u(),h("div",{class:j(["custom-checkbox",{isActive:t.value}])},[o[1]||(o[1]=f("i",{class:"icon-checkmark--small-custom","aria-hidden":"true"},null,-1)),o[2]||(o[2]=f("i",{class:"icon-close","aria-hidden":"true"},null,-1)),f("div",{class:j(["toggle-ball",{isActive:t.value}])},null,2),f("input",{class:"custom-checkbox-input",type:"checkbox",onChange:o[0]||(o[0]=s=>n.$emit("toggleValue")),value:t.value},null,40,R2)],2))}},M2=te(O2,[["__scopeId","data-v-10e19525"]]),N2={class:"card-labels"},B2={key:10,class:"card-how-to-extra is-visible-desktop"},U2={key:0,class:"info"},j2={key:0},V2={key:1,class:"info"},H2={key:0},z2={__name:"CommonCardElementsCardLabels",props:{label:{type:String,default:""},isLive:{type:Boolean,default:!1},hasSponsor:{type:Boolean,default:!1},isLocked:{type:Boolean,default:!1},documentType:{type:String,default:""},publishedAgo:{type:String,default:""},showHowToInfo:{type:Boolean,default:!1},showMultimediaIcon:{type:Boolean,default:!1},showTime:{type:Boolean,default:!0},documentData:{type:Object,default:()=>({})},labelColorClass:{type:String,default:""}},setup(e){const{$t:t}=ue(),n=e,s=$e().coreData?.siteSettings?.enableGigya;function r(){let m="";return n.documentData?.DocumentElements?.forEach(d=>{(Wn(d?.Name)==="howto"||Wn(d?.Name)==="recipesteps")&&d?.Type!=="IndexPageElement"&&d?.StoryUpdateElements&&m++}),m}const a=Te(n.documentData,"totalTime")?.Text?.trim(),l=/^\d+$/.test(a||"")?parseInt(a,10):NaN,c=Te(n.documentData,"Trajanje")?.Text||Qc(l,t("recipe.minut"),t("recipe.minutes"));return(m,d)=>(u(),h("div",N2,[i(s)&&n.isLocked?(u(),O(Ne,{key:0,"extra-class":"is-plus"})):T("",!0),n.isLive?(u(),O(Ne,{key:1,"extra-class":"is-live is-sport",label:i(t)("labels.live"),"is-live":!0},null,8,["label"])):T("",!0),n.documentType==="StoryPerseus"?(u(),O(Ne,{key:2,"extra-class":"is-live is-perseus","is-live":!0,label:"Odabrano za tebe"})):T("",!0),n.hasSponsor?(u(),O(Ne,{key:3,"extra-class":"is-pr",label:i(t)("labels.pr")},null,8,["label"])):T("",!0),n.documentType==="Quiz"?(u(),O(Ne,{key:4,class:"card-label-wrap is-quiz",label:i(t)("labels.quiz")},null,8,["label"])):T("",!0),n.documentType==="Poll"?(u(),O(Ne,{key:5,class:"card-label-wrap is-poll",label:i(t)("labels.poll")},null,8,["label"])):T("",!0),n.documentType==="PhotoGallery"&&e.showMultimediaIcon?(u(),O(Ne,{key:6,"extra-class":"has-icon
65is-photo","icon-class":"icon-camera"})):T("",!0),n.documentType==="Video"&&e.showMultimediaIcon?(u(),O(Ne,{key:7,"extra-class":"has-icon is-video","icon-class":"icon-play"})):T("",!0),n.label?(u(),O(Ne,{key:8,"extra-class":`is-secondary ${e.labelColorClass}`,label:n.label},null,8,["extra-class","label"])):T("",!0),n.showTime&&n.publishedAgo?(u(),O(Ne,{key:9,"extra-class":"is-secondary-alt",label:n.publishedAgo},null,8,["label"])):T("",!0),n.showHowToInfo?(u(),h("div",B2,[r()?(u(),h("div",U2,[R(Et),d[0]||(d[0]=f("i",{class:"icon-list","aria-hidden":"true"},null,-1)),r()?(u(),h("span",j2,w(r())+" "+w(i(t)("common.steps")),1)):T("",!0)])):T("",!0),i(c)?(u(),h("div",V2,[R(Et),d[1]||(d[1]=f("i",{class:"icon-time","aria-hidden":"true"},null,-1)),i(c)?(u(),h("span",H2,w(i(c)),1)):T("",!0)])):T("",!0)])):T("",!0)]))}},wt=te(z2,[["__scopeId","data-v-a1dd2882"]]),F2={key:1,class:"highlighted-news-toggle-wrapper"},W2={class:"highlighted-news-toggle-label"},G2={__name:"ArticleElementsHighlightNewsToggle",props:{isHighlightedNewsOnly:{type:Boolean,default:!1},showHighlightedNewsOnly:{type:Function,default:()=>{}},haveHighlightedNews:{type:Boolean,default:!1},isActiveLive:{type:Boolean,default:!0}},setup(e){const t=e;return(n,o)=>e.isActiveLive||e.haveHighlightedNews?(u(),h("div",{key:0,class:j(["highlighted-news-toggle",{"not-active":!e.isActiveLive}])},[e.isActiveLive?(u(),O(wt,{key:0,isLive:!0})):T("",!0),e.haveHighlightedNews?(u(),h("div",F2,[f("div",W2,w(n.$t("article.highlightedNewsOnly")),1),R(M2,{value:t.isHighlightedNewsOnly,onToggleValue:t.showHighlightedNewsOnly},null,8,["value","onToggleValue"])])):T("",!0)],2)):T("",!0)}},q2=te(G2,[["__scopeId","data-v-19b10af8"]]),Y2={__name:"ArticleElementsArticleIntro",props:{articleIntroElements:{type:Array,default:()=>[]}},setup(e){const t=e,{$factoryArticleElement:n}=ue(),o=t.articleIntroElements.map(s=>n(s));return(s,r)=>(u(),h("div",null,[(u(!0),h(G,null,pe(t.articleIntroElements,(a,l)=>(u(),O(Qe(i(o)[l]),{key:l,definition:a},null,8,["definition"]))),128))]))}},K2={key:0,class:"article-body"},X2={class:"article-navigation-header"},Q2={class:"article-navigation-header-headline"},sc={__name:"ArticleTemplatesDevelopingStory",props:{definition:{type:Object,default:()=>({})},audioParent:{type:String,default:""},ignoredArticleElements:{type:Array,default:()=>[]}},setup(e){const t=e,n=oe(()=>ne(()=>Promise.resolve().then(()=>wu),void 0,import.meta.url)),{$t:o,$factoryArticleElement:s}=ue(),{config:r}=ye().public,a=Le(),l={...t.definition.Document},c=L(!1),m=se(()=>c.value?o("article.highlightedNews"):o("article.allNews")),d=l.DocumentElements?.filter(X=>X.Highlight),p=l.DocumentElements.find(X=>X.Name==="About")?.Text,_=l.DocumentElements.filter(X=>X.Name==="Uvodni sadrzaj");let g=l.DocumentElements.filter(X=>X.Type==="StoryUpdate");const y=Te(t.definition.Document,"notLive")?.Text!=="true";let C=0;function E(X){if(X.IndexPageElement?.Type==="DfpBanner"&&(X.IndexPageElement?.Properties?.SlotCodeMobile?.includes("intext")||X.IndexPageElement?.Properties?.SlotCodeDesktop?.includes("intext")))return C+=1,C}g.length||(g=l.DocumentElements.filter(X=>X.Name==="DevelopingStory"&&X.Type!=="SegmentSeparator"));const D=L([...g].map(v));function v(X){if(!X.StoryUpdateElements)return X;const me=X.StoryUpdateElements[0].Text;if(me){if(`${me.substring(me.indexOf(">")+1,me.indexOf("</"))}`.length===0){const F=me.slice(0,me.indexOf(">")+1),Y=me.slice(me.indexOf("</"),me.length-1);X.StoryUpdateElements[0].Text=`${F}${o("article.newStoryUpdate")}, ${X.Time}${Y}`}}else X.StoryUpdateElements[0]={Text:`<h2>${o("article.newStoryUpdate")}, ${X.Time}</h2>`,Type:"TextEditor",Name:"DevelopingStory"};return X}let I=D.value?.map(X=>s(X));function k(X){return c.value?X.Highlight:!0}const S=X=>{const me=X,Q=[];return me?.forEach(F=>{if(F.Name==="DevelopingStory"){const Y=F.StoryUpdateElements?.[0]?.Text;let ie=`${Y?.substring(Y.indexOf(">")+1,Y.indexOf("</"))}`;ie.length&&(ie=ie.replace(/\s+/g,"-"),Q.push(ie))}}),Q},$=S(d);let P=S(D.value);const A=!!new RegExp(r.comments.commentsRegex).test(a.fullPath),N=[{Title:"Hronološki"}],M=()=>{c.value=!c.value;const X=window.scrollY,me=document.querySelector(".article-navigation-header"),Q=me.getBoundingClientRect().top+X-152;X>Q&&(window.scrollTo({top:0}),me.scrollIntoView())},ee=X=>{X&&(D.value=D.value.reverse(),I=I.reverse(),P=P.reverse())};return(X,me)=>(u(),O(Qe(A?"div":"article"),{class:"is-developing-story"},{default:z(()=>[R(et,null,{default:z(()=>[A?T("",!0):(u(),O(i(Vg),{key:0,document:l}))]),_:1}),R(et,null,{default:z(()=>[A?T("",!0):(u(),O(Hg,{key:0,items:l.ContentSummary},null,8,["items"]))]),_:1}),R(et,null,{default:z(()=>[A?T("",!0):(u(),O(Y2,{key:0,"article-intro-elements":i(_)},null,8,["article-intro-elements"]))]),_:1}),R(et,null,{default:z(()=>[i(d)?.length>0&&!A?(u(),O($2,{key:0,"document-elements":l.DocumentElements,"title-anchors":i($),"is-highlighted-news-only":i(c),"show-highlighted-news-only":M,onToggleValue:
65M},null,8,["document-elements","title-anchors","is-highlighted-news-only"])):T("",!0)]),_:1}),R(et,null,{default:z(()=>[A?T("",!0):(u(),O(q2,{key:0,"have-highlighted-news":i(d)?.length>0,"show-highlighted-news-only":M,"is-highlighted-news-only":i(c),"is-active-live":y},null,8,["have-highlighted-news","is-highlighted-news-only"]))]),_:1}),R(et,null,{default:z(()=>[A?T("",!0):(u(),O(L2,{key:0,text:i(p)},null,8,["text"]))]),_:1}),A?T("",!0):(u(),h("div",K2,[f("div",X2,[f("span",Q2,w(i(m)),1),R(et,null,{default:z(()=>[R(du,{options:N,"default-option":"Od najnovijeg",icon:"icon-sort--ascending",onCustomSelected:me[0]||(me[0]=Q=>ee(Q))})]),_:1})]),(u(!0),h(G,null,pe(i(D),(Q,F)=>(u(),O(et,{key:F},{default:z(()=>[k(Q)?(u(),O(Qe(i(I)[F]),{key:0,position:E(Q),definition:Q,class:j({isHighlight:Q.Name==="DevelopingStory"&&Q.Highlight}),"title-anchor":i(P)[F]},null,8,["position","definition","class","title-anchor"])):T("",!0)]),_:2},1024))),128))])),A?(u(),O(i(n),{key:1})):T("",!0)]),_:1}))}},Wg=Object.freeze(Object.defineProperty({__proto__:null,default:sc},Symbol.toStringTag,{value:"Module"})),J2={class:"static-document"},Z2={class:"breadcrumbs"},eR={href:"/",class:"breadcrumbs-link"},tR={class:"breadcrumbs-icon-container"},nR={class:"breadcrumbs-link breadcrumbs-link--active"},oR={class:"static-content"},sR={class:"static-title"},ic={__name:"ArticleTemplatesStaticPages",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,{$factoryArticleElement:n}=ue(),o=t.definition.Document.DocumentElements?.map(s=>n(s));return(s,r)=>(u(),h("div",J2,[f("div",Z2,[f("a",eR,w(s.$t("common.homePage")),1),f("div",tR,[r[0]||(r[0]=f("i",{class:"icon-chevron--right","aria-hidden":"true"},null,-1)),f("span",nR,w(t.definition.Document.Title),1)])]),f("div",oR,[f("h1",sR,w(t.definition.Document.Title),1),(u(!0),h(G,null,pe(t.definition.Document.DocumentElements,(a,l)=>(u(),O(Qe(i(o)[l]),{key:l,definition:a,"document-template":e.definition.Template},null,8,["definition","document-template"]))),128))])]))}},Gg=Object.freeze(Object.defineProperty({__proto__:null,default:ic},Symbol.toStringTag,{value:"Module"})),iR={class:"breaking-news-section"},rR={class:"container"},aR={key:0,class:"breaking-news__label is-visible-mobile"},lR={class:"breaking-news__title"},cR={key:1,class:"breaking-news breaking-news-nolink"},uR={class:"breaking-news__label is-visible-mobile"},dR={__name:"DynamicComponentsHeadboxBreakingNewsArticle",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,{$t:n}=ue(),o=Le(),s=L(t.definition.Documents[0].DocumentId),r=L(!1),a=t.definition?.Properties?.URLSuffix||"";function l(){const m=Te(t.definition?.Documents[0],"Breaking News Label")?.Text||n("labels.breakingNews");return m.length>24?`${m.substring(0,23)}…`:m}const c=l();return o.fullPath.includes(s.value)&&(r.value=!0),(m,d)=>{const p=Ze("router-link");return u(),h("section",iR,[f("div",rR,[i(r)?(u(),h("div",cR,[f("span",uR,[R(Ne,{extraClass:"is-live is-breaking-news no-margin-bottom",label:i(c),isLive:!0},null,8,["label"])])])):(u(),O(p,{key:0,to:`${m.$createLocalUrl(t.definition.Documents[0]?.WebUrl)}${i(a)}`,class:"breaking-news"},{default:z(()=>[t.definition?.Properties?.showBreakingNewsLabel==="True"?(u(),h("span",aR,[R(Ne,{extraClass:"is-live is-breaking-news",label:i(c),isLive:!0},null,8,["label"])])):T("",!0),f("span",lR,w(t.definition.Documents[0].Title),1)]),_:1},8,["to"]))])])}}},fR=te(dR,[["__scopeId","data-v-5d1c25f1"]]);function Qs(e,t){return e[t]&&typeof e[t]=="function"}const mR={initialSlide:0,pagination:!0,navigation:!0,hideNavigationOnEdges:!1,inactiveNavigationOnEdges:!0,hideObsoleteNavigation:!1,freeMode:!1,slidesPerView:1,itemsToSlide:1,transitionDuration:.5,gallery:!1,loop:!1},pR={name:"WmContentSlider",props:{extraClass:{type:String,default:""},options:{type:Object,default:()=>{}},modelValue:{type:Number,default:0},arrowStyles:{type:Object,default:()=>{}},paginationColor:{type:String,default:""},customTheme:{type:Boolean,default:!1}},data(){return{slides:[],slideWidth:0,slideWidthPercents:0,slideIndex:0,height:0,sliderOptions:{},initialized:!1,inLoopTransition:!1,isPositioned:!1,slidesPerView:1,itemsToSlide:1,pagination:!0,navigation:!0,gallery:!1,hideNavigationOnEdges:!1,inactiveNavigationOnEdges:!0,freeMode:!1,loop:!1,resizeDebounce:null,resizeDebounceTime:100,initialTouches:[],touchStartX:0,initialTouchTime:0,initialTouchTarget:0,lastTouches:[],lastDiff:0,shortTransition:!1,initialMouseX:0,initialSliderX:0,sliderName:String,resolutionDependentFields:["slidesPerView","itemsToSlide","pagination","navigation","gallery","freeMode"]}},computed:{leftArrowHidden(){return this.gallery||this.slideIndex===0&&this.sliderOptions.hideNavigationOnEdges&&!this.loop||!this.navigation||this.sliderOptions.hideObsoleteNavigation&&this.slidesPerView>=this.slides.length},rightArrowHidden(){return this.gallery||this.slideIndex===this.numberOfNavigationDots-1&&this.sliderOptions.hideNavigationOnEdges&&!this.loop||!this.navigation||this.sliderOptions.hideObsoleteNavigation&&this.slidesPerView>=this.slides.length},leftArrowInactive(){return this.gallery||this.slideIndex===0&&this.sliderOptions.inactiveNavigationOnEdges||!this.navigation},rightArrowInactive(){return this.gallery||this.slideIndex===this.numberOfNavigationDots-1&&this.sliderOptions.inactiveNavigationOnEdges||!this.navigation},paginationVisible(){return this.pagination&&!this.gallery},slidePercentsWidth(){return`${100/this.slidesPerView}%`},numberOfNavigationDots(){if(this.initialized){const e=this.$refs.slidesContainer.querySelectorAll(".wm-content-slide-group");return e.length>0?e.length-(this.loop?2:0):Math.ceil(this.slides.length-this.sliderOptions.slidesPerView)+1}return 0},slideContainerMinimumX(){let e=this.slides.length;return this.loop&&(e+=2),-(e-this.slidesPerView)*this.slideWidth}},watch:{modelValue(e,t){e!==t&&e>=0&&e<=this.numberOfNavigationDots-1&&(this.slideIndex=e)},slideIndex(e,t){e!==t&&!this.inLoopTransition&&this.onSlideIndexChange(e,!0)}},created(){this.sliderOptions={...mR,...this.options},this.slidesPerView=this.sliderOptions.slidesPerView,this.pagination=this.sliderOptions.pagination,this.navigation=this.sliderOptions.navigation,this.freeMode=this.sliderOptions.freeMode,this.slideIndex=this.sliderOptions.initialSlide,this.loop=this.sliderOptions.loop},mounted(){this.determineResolutionDependentData();const{slidesContainer:e}=this.$refs;this.slides=[...e.querySelectorAll(".wm-content-slide")],this.loop&&(e.prepend(this.slides[this.slides.length-1].cloneNode(!0)),e.append(this.slides[0].cloneNode(!0))),this.initialPosition(),setTimeout(()=>{this.initialPosition()},100),this.setTransition(),this.registerEvents(),this.initialized=!0,this.$emit("afterInit"),this.reviewsMode=this.sliderOptions?.sliderName==="reviews",this.reviewsMode&&e.addEventListener("mousedown",this.mouseDown),window.innerWidth<1024&&this.wrapChildren()},beforeUnmount(){this.unregisterEvents()},methods:{onSlideIndexChange(e,t){this.moveSlide(e,t),this.$emit("slideIndex",e),this.$emit("update:modelValue",e),this.$emit("transitionStart")},wrapChildren(){if(!this.gallery){const e=this.$refs.slidesContainer,t=e.querySelectorAll(".wm-content-slide"),n=this.itemsToSlide;for(let o=0;o<t.length;o+=n){const s=document.createElement("div");s.classList.add("wm-content-slide-group");for(let r=0;r<n&&o+r<t.length;r++)s.appendChild(t[o+r]);e.appendChild(s)}}},determineResolutionDependentData(){let e=this.sliderOptions;if(this.sliderOptions.breakpoints){const t=Object.keys(this.sliderOptions.breakpoints).find(n=>window.outerWidth<=n);t&&(e=this.sliderOptions.breakpoints[t])}this.resolutionDependentFields.forEach(t=>{t in e&&(this[t]=e[t])})},initialPosition(){if(this.$refs.slidesContainer){const e=this.$refs.slidesContainer.querySelectorAll(".wm-content-slide");if(this.gallery)[...e].forEach(t=>{t.style.left="",t.style.width=""}),this.$refs.slidesContainer.style.left="",this.$refs.slidesContainer.style.height="";else{const t=this.$refs.slidesContainer.clientWidth;this.slideWidth=t/this.slidesPerView,this.slideWidthPercents=100/this.slidesPerView,[...e].forEach((n,o)=>{n.style.width=`${this.slideWidth}px`}),setTimeout(()=>{this.setSlidesPosition(this.slideIndex)},0)}}},setTransition(){this.$refs.slidesContainer&&(this.shortTransition?this.$refs.slidesContainer.style.transition="left 0.2s":this.$refs.slidesContainer.style.transition=`left ${this.sliderOptions.transitionDuration}s`)},removeTransition(){this.$refs.slidesContainer.style.transition=""},prevSlide(){this.inLoopTransition||(this.loop&&this.slideIndex===0&&(this.inLoopTransition=!0,this.$refs.slidesContainer.style.left="0"),this.initialized&&this.slideIndex>0&&(this.slideIndex-=this.itemsToSlide,this.slideIndex<0&&(this.slideIndex=0)))},nextSlide(){this.inLoopTransition||(this.loop&&this.slideIndex===this.numberOfNavigationDots-1&&(this.inLoopTransition=!0,this.$refs.slidesContainer.style.left=`${this.slideContainerMinimumX}px`),this.initialized&&this.slideIndex<this.numberOfNavigationDots-1&&(this.slideIndex+=this.itemsToSlide,this.slideIndex>=this.numberOfNavigationDots&&(this.slideIndex=this.numberOfNavigationDots-1)))},moveSlide(e,t){t?this.setTransition():this.removeTransition(),this.beforeTransitionStart(),this.setSlidesPosition(e)},setSlidesPosition(e){this.$refs.slidesContainer&&(this.sliderOptions.slidesPerView%1===0?this.$refs.slidesContainer.style.left=`-${this.slideWidth*e+(this.loop?this.slideWidth:0)}px`:e===this.numberOfNavigationDots-1?this.itemsToSlide>1?this.$refs.slidesContainer.style.left=`-${this.slideWidth*(Math.ceil(this.slides.length/this.itemsToSlide)-this.slidesPerView)}px`:this.$refs.slidesContainer.style.left=`-${this.slideWidth*(this.slides.length-this.slidesPerView)}px`:this.$refs.slidesContainer.style.left=`-${this.slideWidth*e}px`),this.isPositioned||(this.isPositioned=!0)},returnToInitialPosition(){this.moveSlide(this.slideIndex)},paginationClicked(e){this.initialized&&(this.slideIndex=e)},registerEvents(){window.addEventListener("resize",this.windowResized),!this.freeMode&&(this.$refs.slidesContainer.addEventListener("transitionend",this.onTransitionEnd),this.$refs.slidesContainer.addEventListener("touchstart",this.touchStart),this.$refs.slidesContainer.addEventListener("touchend",this.touchEnd),this.$refs.slidesContainer.addEventListener("touchmove",this.touchMove))},unregisterEvents(){window.removeEventListener("resize",this.windowResized)},windowResized(e){this.removeTransition(),this.resizeDebounce&&clearTimeout(this.resizeDebounce),this.resizeDebounce=setTimeout(t=>{this.resizeHandler(t)},this.resizeDebounceTime)},resizeHandler(e){this.determineResolutionDependentData(),this.initialPosition(),this.$emit("afterResize",e)},touchStart(e){this.inLoopTransition||!this.gallery&&this.onTouchStart(e)&&(e.preventDefault(),this.initialTouchTime=Date.now(),this.initialTouchTarget=e.target,this.shortTransition=!0,e.touches.length===1&&(this.removeTransition(),this.touchStartX=this.getCurrentSliderPosition(),this.lastTouches=e.touches,this.initialTouches=e.touches),this.$emit("touchStart",e))},touchMove(e){if(!this.inLoopTransition&&!this.gallery&&this.onTouchMove(e)){const t=this.getCurrentSliderPosition(),n=e.touches[0].clientX-this.lastTouches[0].clientX;this.lastDiff=n;let o=t+n;o>0?o=0:o<this.slideContainerMinimumX&&(o=this.slideContainerMinimumX),this.$refs.slidesContainer.style.left=`${o}px`,this.lastTouches=e.touches,this.$emit("touchMove",e)}
65},touchEnd(e){if(!this.inLoopTransition&&!this.gallery){this.setTransition();const n=-this.getCurrentSliderPosition()/this.slideWidth,o=this.slides.length;if(this.checkIfClickHasToBePerformed())return;if(this.lastDiff===0&&(this.lastDiff=this.lastTouches[0].clientX-this.initialTouches[0].clientX),this.loop&&(n<=.99||n>=o+.01))this.lastDiff>0&&n<=.99?(this.$refs.slidesContainer.style.left="0",this.inLoopTransition=!0):this.lastDiff<0&&n>=o+.01?(this.$refs.slidesContainer.style.left=`${this.slideContainerMinimumX}px`,this.inLoopTransition=!0):this.returnToInitialPosition();else{let s=this.slideIndex;this.lastDiff<0&&this.slideIndex<this.numberOfNavigationDots-1?s=Math.ceil(n-(this.loop?1:0)):this.lastDiff>0&&this.slideIndex>0&&(s=Math.floor(n-(this.loop?1:0))),s!==this.slideIndex?this.slideIndex=s:this.returnToInitialPosition()}this.afterTouchEnd(e),this.$emit("touchEnd",e)}},checkIfClickHasToBePerformed(){return Date.now()-this.initialTouchTime<150&&Math.abs(this.initialTouches[0].clientX-this.lastTouches[0].clientX)<3?(this.initialTouchTarget.click(),!0):!1},getCurrentSliderPosition(){return parseInt(this.$refs.slidesContainer.style.left.replace("px",""),10)},beforeTransitionStart(){Qs(this.sliderOptions,"beforeTransitionStart")&&this.sliderOptions.beforeTransitionStart()},onTransitionEnd(e){this.shortTransition=!1,this.setTransition(),this.inLoopTransition&&(parseInt(this.$refs.slidesContainer.style.left,10)===0?this.slideIndex=this.slides.length-1:parseInt(this.$refs.slidesContainer.style.left,10)===this.slideContainerMinimumX&&(this.slideIndex=0),this.onSlideIndexChange(this.slideIndex,!1),setTimeout(()=>{this.inLoopTransition=!1,this.setTransition()},0)),Qs(this.sliderOptions,"onTransitionEnd")&&this.sliderOptions.onTransitionEnd(e),this.$emit("transitionEnd",e)},onTouchStart(e){return Qs(this.sliderOptions,"onTouchStart")?this.sliderOptions.onTouchStart(e):!0},onTouchMove(e){return Qs(this.sliderOptions,"onTouchMove")?this.sliderOptions.onTouchMove(e):!0},afterTouchEnd(e){Qs(this.sliderOptions,"afterTouchEnd")&&this.sliderOptions.afterTouchEnd(e)},mouseMove(e){const t=e.clientX-this.initialMouseX,n=this.initialSliderX+t;n>0?this.$refs.slidesContainer.style.left="0":n<this.slideContainerMinimumX?this.$refs.slidesContainer.style.left=`${this.slideContainerMinimumX}px`:this.$refs.slidesContainer.style.left=`${n}px`},mouseUp(){document.removeEventListener("mousemove",this.mouseMove),document.removeEventListener("mouseup",this.mouseUp);const e=-this.getCurrentSliderPosition()/this.slideWidth,t=Math.round(e);t!==this.slideIndex?this.slideIndex=t:this.returnToInitialPosition()},mouseDown(e){e.preventDefault(),this.initialMouseX=e.clientX,this.initialSliderX=this.getCurrentSliderPosition(),document.addEventListener("mousemove",this.mouseMove),document.addEventListener("mouseup",this.mouseUp)}}},hR={class:"wm-content-slider__pagination"},gR=["onClick"];function _R(e,t,n,o,s,r){return u(),h("div",{class:j(["wm-content-slider",{extraClass:n.extraClass,isGallery:s.gallery}]),ref:"root"},[f("div",{class:j(["wm-content-slider__slides-container",{isBlock:s.gallery,isFreeMode:s.freeMode,hideImages:!s.isPositioned&&!s.gallery}]),ref:"slidesContainer"},[Ee(e.$slots,"default",{},void 0,!0)],2),f("div",{class:j(["wm-content-slider__left-arrow",{isHidden:r.leftArrowHidden,isInactive:r.leftArrowInactive}]),onClick:t[0]||(t[0]=(...a)=>r.prevSlide&&r.prevSlide(...a))},[Ee(e.$slots,"left-arrow",{},()=>[f("div",{class:"wm-content-slider__left-arrow-marker",style:Se(n.arrowStyles)},null,4)],!0)],2),f("div",{class:j(["wm-content-slider__right-arrow",{isHidden:r.rightArrowHidden,isInactive:r.rightArrowInactive}]),onClick:t[1]||(t[1]=(...a)=>r.nextSlide&&r.nextSlide(...a))},[Ee(e.$slots,"right-arrow",{},()=>[f("div",{class:"wm-content-slider__right-arrow-marker",style:Se(n.arrowStyles)},null,4)],!0)],2),r.paginationVisible?Ee(e.$slots,"pagination",{key:0},()=>[f("div",hR,[(u(!0),h(G,null,pe(r.numberOfNavigationDots,a=>(u(),h("div",{key:a,class:j(["wm-content-slider__dot",{isActive:a-1===s.slideIndex}]),style:Se({"--title-color-from-cms":n.customTheme?n.paginationColor:""}),onClick:l=>r.paginationClicked(a-1)},null,14,gR))),128))])],!0):T("",!0)],2)}const an=Object.assign(te(pR,[["render",_R],["__scopeId","data-v-f0d2e588"]]),{__name:"CommonContentSliderWmContentSlider"}),yR={class:"wm-content-slide"},vR={name:"WmContentSlide"},bR=Object.assign(vR,{props:{options:{type:Object,default:()=>{}}},setup(e){return(t,n)=>(u(),h("div",yR,[Ee(t.$slots,"default")]))}}),zt=Object.assign(bR,{__name:"CommonContentSliderWmContentSlide"});function wR(e,t){return e in t?t[e]:{}}function os(e,t){return wR(t,e)}const kR={class:"gallery__item"},TR={class:"gallery__content_wrap"},$R={key:0,class:"gallery__image"},SR={key:1,class:"gallery__image"},DR=["src","alt"],CR={class:"gallery__description-header"},PR={key:0,class:"gallery__pagination"},xR={key:1,class:"gallery__author"},IR={key:0,class:"is-visible-desktop"},ER={class:"is-hidden"},AR={__name:"CommonGalleryItem",props:{galleryItem:{type:Object,default:()=>({})},length:{type:Number,default:0},current:{type:Number,default:0},activeIndex:{type:Number,default:0}},setup(e){const{siteBanners:t}=ye().public,n=os(t,"ArticleGalleryFS"),o=e,s=$e(),r=L(),a=L(),l=L(!1),c=L(!1),m=L("");function d(){r?.value&&r.value.offsetHeight<r.value.scrollHeight&&(l.value=!0,m.value="Vidi opis")}function p(){c.value=!c.value,m.value=c.value?"Sakrij opis":"Vidi opis"}return qe(()=>o.activeIndex,_=>{_!==o.current&&(m.value="Vidi opis",c.value=!1)}),De(()=>{setTimeout(()=>{window.innerWidth<1024&&d()},50)}),(_,g)=>(u(),h("div",kR,[f("div",TR,[e.galleryItem.isBanner?(u(),h("div",$R,[R(gn,{definition:i(n).Iterating,position:e.galleryItem.position,lazy:!0},null,8,["definition","position"])])):(u(),h("figure",SR,[f("img",{src:e.galleryItem.ImageUrl,alt:e.galleryItem.AltText||i(s).pageData.contentMetaTags?.RegularMetaTags?.Title},null,8,DR)])),f("div",{class:"gallery__description",ref_key:"descriptionWrap",ref:a},[f("div",CR,[o.current!==0?(u(),h("div",PR,w(o.current)+" / "+w(o.length),1)):T("",!0),e.galleryItem.CopyRight?(u(),h("div",xR,w(e.galleryItem.CopyRight),1)):T("",!0)]),e.galleryItem.isBanner?(u(),h(G,{key:0},[e.galleryItem.Description?(u(),h("div",{key:0,ref_key:"description",ref:r,class:"gallery__description_text is-centered"},w(e.galleryItem.Description),513)):T("",!0)],64)):(u(),h(G,{key:1},[e.galleryItem.Description||e.galleryItem.CopyRight?(u(),h("div",{key:0,ref_key:"description",ref:r,class:j(["gallery__description_text",{"is-expanded":i(c)}])},[e.galleryItem.CopyRight?(u(),h("span",IR,w(e.galleryItem.CopyRight)+"Â ",1)):T("",!0),_e(w(e.galleryItem.Description),1),f("span",ER,w(i(m)),1),i(l)?(u(),h("span",{key:1,onClick:g[0]||(g[0]=b=>{p()}),class:"gallery__description_more"},w(i(m)),1)):T("",!0)],2)):T("",!0)],64))],512)])]))}},LR={__name:"CommonGalleryFullScreenGallery",props:{galleryItems:{type:Object,default:()=>({})}},emits:["closeGallery"],setup(e,{emit:t}){const{$addPageToDataLayer:n,$bus:o}=ue(),{siteBanners:s}=ye().public,a=os(s,"ArticleGalleryFS")?.Permanent?.Properties?.BannerId,l=Ye(),c=Le(),m=$e(),d=e,p=d.galleryItems,_=d.galleryItems.filter($=>!$.isBanner),g=$=>_.findIndex(P=>P.ImageId===$.ImageId)+1;function b($){const P=_[$-1];if(!P)return 0;const x=d.galleryItems.findIndex(A=>A===P);return x===-1?0:x}const y=L(0);if(c.query.image){const $=Number(c.query.image);!Number.isNaN($)&&$>=1&&$<=_.length&&(y.value=b($))}const C=L({initialSlide:y.value,slidesPerView:1,hideNavigationOnEdges:!0,pagination:!1,loop:!0}),E=t,D=se(()=>d.galleryItems[y.value]?.isBanner);function v(){const $={...c.query},P=d.galleryItems[y.value];P&&!P.isBanner&&($.image=`${g(P)}`),l.replace({query:$})}function I(){if(D.value&&!p[y.value].isDisplayed){const $=p[y.value];p[y.value].isDisplayed=y.value===$.position,setTimeout(()=>{o.$emit("displaySlot",$.bannerId)})}}function k($){y.value=$,n(m.meta.title,!0),v(),a&&o.$emit("refreshSlot",a),I()}function S($){if($.preventDefault(),$.keyCode===39||$.key==="ArrowRight"){const P=document.getElementsByClassName("wm-content-slider__right-arrow")[0];P&&P.click()}if($.keyCode===37||$.key==="ArrowLeft"){const P=document.getElementsByClassName("wm-content-slider__left-arrow")[0];P&&P.click()}($.keyCode===27||$.key==="Escape")&&E("closeGallery",!0)}return De(()=>{I(),typeof window<"u"&&window.addEventListener("keydown",S),setTimeout(()=>{v()})}),Zt(()=>{window.removeEventListener("keydown",S)}),($,P)=>(u(),O(an,{options:i(C),class:j(["gallery__slider",{"gallery__slider-moveArrows":i(D)}]),onSlideIndex:P[0]||(P[0]=x=>k(x))},{default:z(()=>[(u(!0),h(G,null,pe(d.galleryItems,(x,A)=>(u(),O(zt,{key:A,class:"gallery__slide"},{default:z(()=>[R(AR,{"gallery-item":x,length:i(_).length,current:g(x),"active-index":i(y)},null,8,["gallery-item","length","current","active-index"])]),_:2},1024))),128))]),_:1},8,["options","class"]))}},RR={class:"gallery__wrap"},OR={class:"gallery__sidebar"},MR={class:"gallery__extra"},NR={class:"gallery__logo"},BR=["xlink:href"],UR={class:"gallery__button_wrap"},jR={class:"gallery__title"},VR={class:"gallery__bar is-visible-desktop"},HR={key:0,class:"banner-placeholder"},zR={class:"gallery__content"},FR={key:0,class:"banner-placeholder"},WR={class:"gallery__bar is-visible-mobile"},GR=1024,qR={__name:"ArticleElementsArticleGalleryFS",props:{galleryItems:{type:Object,default:()=>({})}},emits:["closeGalleryModal"],setup(e,{emit:t}){const n=$e(),o=Ye(),s=Le(),{config:r}=ye().public,{siteBanners:a}=ye().public,{$device:l}=ue(),c=L(""),m=L(""),d=L(!0),p=s.fullPath.includes("media"),_=se(()=>c.value==="desktop"),g=se(()=>c.value==="mobile"),b=r.dfp.noBannersInGallery,y=e,C=t,E=os(a,"ArticleGalleryFS"),v=(()=>{const A=[...y.galleryItems.Images];return A.forEach((N,M)=>
65{if((M+1)%5===0&&!N.isBanner&&r.bannersPortalName==="mondo"){const X={isBanner:!0,Description:"AD",position:M,isDisplayed:!1,bannerId:`${E.Iterating.Properties.BannerId}${M-1}`};A.splice(M,0,X)}}),A})(),I=r.bustParametar||"",k=n.coreData?.siteSettings?.specialTheme?.toLowerCase(),S=se(()=>k?Eg({theme:"dark",specialTheme:k,config:r,bustParametar:I,isGallery:!0}).replace("#logo-dark","#logo-drawer-dark").replace("#logo-footer-dark","#logo-drawer-dark"):`/img/logo/${r.portalId}.svg${I}#logo-drawer-dark`);function $(){if(p){const A=Ug(s.fullPath,r),N=`#gallery${s.params.path?.at(-1)}`;window.location.href=A+N}else Ti("has-gallery-full-screen-active"),C("closeGalleryModal",!0)}function P(){l.isDesktopOrTablet?c.value=window.innerWidth<GR?"mobile":"desktop":l.isMobile&&(c.value="mobile")}function x(){if(l.isMobileOrTablet)if(l.isIos)d.value=!1,setTimeout(()=>{window.innerHeight>window.innerWidth?m.value="isMobilePort":m.value="isMobileLand"},50),setTimeout(()=>{d.value=!0},500);else{const A=window.screen.orientation.type;A.includes("portrait")?m.value="isMobilePort":A.includes("landscape")&&(m.value="isMobileLand")}else m.value=""}return P(),x(),tc("hide"),qe(()=>s.query,()=>{p||!s.query.gallery&&s.path.indexOf("/article/preview")===-1&&$()}),De(()=>{!p&&parseInt(s.query.gallery,10)!==y.galleryItems.PhotoGalleryId&&o.push({query:{...s.query,gallery:y.galleryItems.PhotoGalleryId}}),window.addEventListener("resize",$a(P,200)),window.addEventListener("orientationchange",x)}),Zt(()=>{if(!p){const A={...s.query};delete A.gallery,delete A.image,o.push({query:A}),Ti("has-gallery-full-screen-active")}tc("show"),document.fullscreenElement&&document.exitFullscreen(),window.removeEventListener("resize",P),window.removeEventListener("orientationchange",x)}),(A,N)=>(u(),h("div",{class:j([i(m),"gallery gallery__modal"])},[f("div",RR,[f("div",OR,[f("div",MR,[(u(),h("svg",NR,[f("use",{"xlink:href":i(S)},null,8,BR)])),f("div",UR,[f("div",{class:"gallery__close",onClick:N[0]||(N[0]=M=>{$()})},[...N[1]||(N[1]=[f("i",{class:"icon-close","aria-hidden":"true"},null,-1)])])])]),f("div",jR,w(i(n).pageData.article?.Document.Title),1),f("div",VR,[R(i(Pi))]),(i(m)==="isMobileLand"||i(_))&&!i(b)?(u(),h("div",HR,[i(E)?.Permanent?.Properties?(u(),O(gn,{key:0,definition:i(E).Permanent},null,8,["definition"])):T("",!0)])):T("",!0)]),f("div",zR,[i(g)&&i(m)!=="isMobileLand"&&!i(b)?(u(),h("div",FR,[i(E)?.Permanent?.Properties?(u(),O(gn,{key:0,definition:i(E).Permanent},null,8,["definition"])):T("",!0)])):T("",!0),i(d)?(u(),O(i(LR),{key:1,"gallery-items":i(v),onCloseGallery:$},null,8,["gallery-items"])):T("",!0)]),f("div",WR,[R(i(Pi))])])],2))}},fu=te(qR,[["__scopeId","data-v-686a3e79"]]),YR={class:"main_wrapper"},KR={class:"container"},XR={class:"container"},QR={__name:"DefaultStoryLayout",props:{pageData:{type:Array,default:()=>[]}},setup(e){const{$factoryComponent:t}=ue(),{config:n}=ye().public,o=Ye(),s=Le(),r=e,a=r.pageData?.map(g=>t(g)),l=_a(r.pageData),m=(()=>{const g=Ke(r.pageData,"children",b=>b.Template==="Breaking-News"||b.Template==="Breaking-News-Mini");return g||null})();let d=!1,p=null;if(s.fullPath.includes("media")){const g=Fl(l.Document.DocumentElements,"PhotoGallery"),b=s.fullPath.split("/").at(-1),y=g.find(C=>C.PhotoGallery?.PhotoGalleryId===parseInt(b,10));if(y){if(p=y,d=!0,!s.query.image){const C={};s.query.page&&(C.page=s.query.page),C.image="1",o.replace({query:C})}}else{const C=Ug(s.fullPath,n);o.push({path:C}).catch(()=>{})}}async function _(g,b){const y={DocumentId:g,MenuItemId:b};try{const C=await fetch("/v3api/pageview",{method:"POST",body:JSON.stringify(y)})}catch(C){console.log(C)}}return De(()=>{if(s.query.hashedId||s.fullPath.includes("/preview/"))return;const g=l.Document.DocumentId,b=l.Document.ParentMenuItemId;_(g,b)}),(g,b)=>(u(),h("div",{class:j(["main-container",[{"wallpaper-helper":i(gs)(r.pageData[0])},{"is-full-screen-gallery":i(d)}]])},[i(d)?(u(),O(fu,{key:0,"gallery-items":i(p).PhotoGallery},null,8,["gallery-items"])):(u(),h(G,{key:1},[i(m)?(u(),O(fR,{key:0,definition:i(m),class:j({"is-storytelling":i(l).Template==="Storytelling"})},null,8,["definition","class"])):T("",!0),i(gs)(r.pageData[0])?(u(),h(G,{key:1},[R(Dg),f("div",YR,[R(Cg),i(l).Template!=="Storytelling"&&i(l).Template!=="StaticPages"?(u(),O(nc,{key:0,definition:i(l)},null,8,["definition"])):T("",!0),f("div",KR,[(u(!0),h(G,null,pe(r.pageData,(y,C)=>(u(),h(G,{key:C},[y.Type==="DfpBanner"?(u(),O(gn,{key:0,definition:y},null,8,["definition"])):y.Type!=="Article"?(u(),O(Qe(i(a)[C]),{key:1,definition:y},null,8,["definition"])):y.DocumentTypeAlias==="DevelopingStory"?(u(),O(sc,{key:2,definition:y},null,8,["definition"])):y.DocumentTypeAlias==="StaticPages"?(u(),O(ic,{key:3,definition:y},null,8,["definition"])):(u(),O(Yr,{key:4,definition:y},null,8,["definition"]))],64))),128))])])],64)):(u(),h(G,{key:2},[i(l).Template!=="Storytelling"&&i(l).Template!=="StaticPages"?(u(),O(nc,{key:0,definition:i(l)},null,8,["definition"])):T("",!0),f("div",XR,[(u(!0),h(G,null,pe(r.pageData,(y,C)=>(u(),h(G,{key:C},[y.Type==="DfpBanner"?(u(),O(gn,{key:0,definition:y},null,8,["definition"])):y.Type!=="Article"?(u(),O(Qe(i(a)[C]),{key:1,definition:y},null,8,["definition"])):y.DocumentTypeAlias==="DevelopingStory"?(u(),O(sc,{key:2,definition:y},null,8,["definition"])):y.DocumentTypeAlias==="StaticPages"?(u(),O(ic,{key:3,definition:y},null,8,["definition"])):(u(),O(Yr,{key:4,definition:y},null,8,["definition"]))],64))),128))])],64))],64))],2))}},JR=te(QR,[["__scopeId","data-v-5af928bb"]]),qg=Object.freeze(Object.defineProperty({__proto__:null,default:JR},Symbol.toStringTag,{value:"Module"})),ZR={__name:"HoroscopeLayout",props:{pageData:{type:Object,default:()=>({})}},setup(e){const t=e,{$factoryComponent:n}=ue(),o=t.pageData?.map(s=>n(s));return(s,r)=>(u(),h("div",null,[(u(!0),h(G,null,pe(t.pageData,(a,l)=>(u(),O(et,{key:l},{default:z(()=>[(u(),O(Qe(i(o)[l]),{definition:a},null,8,["definition"]))]),_:2},1024))),128))]))}},eO=te(ZR,[["__scopeId","data-v-c058c406"]]),Yg=Object.freeze(Object.defineProperty({__proto__:null,default:eO},Symbol.toStringTag,{value:"Module"}));function Kg(){return new Promise((e,t)=>
65{window.gigya.accounts.getSchema({callback:n=>{n.status==="OK"?e(n.preferencesSchema.fields):t(n.errorCode)}})})}function Xg(){return new Promise((e,t)=>{window.gigya.accounts.initRegistration({isLite:!0,callback:n=>{n.status==="OK"?e(n):t(n.errorCode)}})})}function mu(e){return new Promise((t,n)=>{window.gigya.accounts.setAccountInfo({subscriptions:e,callback:o=>{o.status==="OK"?t(o):n(o.errorCode)}})})}function Qg(e,t,n,o,s){return new Promise((r,a)=>{window.gigya.accounts.setAccountInfo({regToken:t,profile:{email:n},preferences:{privacy:{wmg:{[s]:{isConsentGranted:!0}}},terms:{[o]:{general:{isConsentGranted:!0}}}},subscriptions:e,callback:l=>{l.status==="OK"?r(l):a(l.errorCode)}})})}async function Jg(e){try{return await(await fetch(`/mailchimp/${encodeURIComponent(e)}/lists`,{method:"GET"})).json()}catch(t){console.log(t)}}const tO={key:0,class:"spinner-container"},nO={class:"form-textbox isSmall dark"},oO={class:"form-label"},sO={class:"gigya-label-text form-label-text"},iO=["disabled"],rO={class:"form-checkbox"},aO={class:"form-label"},lO={class:"form-label-text"},cO=["href"],uO=["href"],dO={key:2,class:"subscribe-btn__wrapper"},fO={key:0,class:"subscribe__btn",disabled:""},mO={key:1,class:"subscribe__btn"},Uf="general",pO={__name:"CommonNewsletterHeaderForm",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,{$snackbar:n,$t:o}=ue(),{config:s}=ye().public,{termsId:r}=s,l=$e().coreData?.siteSettings?.enableGigya,c=$t(),m=L("");let d=[],p=[];const _=Gt({}),g=L(!1),b=Te(t.definition.Document,"Gigya Consent")?.Text,y=Te(t.definition.Document,"Mailchimp List ID")?.Text,C=se(()=>c.userData?.subscriptions?.[b]?.email.isSubscribed===!0);async function E(k){try{const S=await Xg();await Qg(k,S.regToken,m.value,r,Uf)}catch(S){throw new Error(S)}}async function D(){let k;c.isAuthenticated?k=c.userData?.profile?.email||c.userData?.email:k=m.value,d=await Jg(k),p=d.includes(y)?[]:[y];const $=await(await fetch("/mailchimp/subscribe",{method:"PUT",body:JSON.stringify({email:k,mailchimpListIds:p})})).json();if($.error&&$.errorCode==="INVALID_EMAIL")throw new Error("INVALID_EMAIL");if($.length===0)throw new Error("ALREADY_SUBSCRIBED");if(!$.every(A=>A.status==="subscribed"))throw new Error("error")}async function v(){let k;c.isAuthenticated?k=c.userData?.profile?.email||c.userData?.email:k=m.value,await fetch("/mailchimp/unsubscribe",{method:"PUT",body:JSON.stringify({email:k,mailchimpListIds:p})})}async function I(){try{await D()}catch(k){if(k.message==="INVALID_EMAIL"){n.$setToaster(o("snackbar.warning.invalidEmail"),"warning");return}if(k.message==="ALREADY_SUBSCRIBED"){n.$setToaster(o("newsletter.alreadySubscribedSingle"),"warning");return}n.$setToaster(o("newsletter.errorSubscription"),"error");return}if(l){const k={[b]:{email:{isSubscribed:!0}}};try{c.isAuthenticated?(await mu(k),c.setUserSubscriptions(k)):await E(k)}catch{await v(),n.$setToaster(o("newsletter.errorSubscription"),"error");return}}m.value="",n.$setToaster(o("newsletter.successSubscription"),"success")}return De(async()=>{if(typeof window.gigya<"u"){const k=await Kg();_.privacy=k[`privacy.wmg.${Uf}`]?.legalStatements?.sr?.documentUrl,_.terms=k[`terms.${r}.general`]?.legalStatements?.sr?.documentUrl}}),(k,S)=>(u(),h("form",{onSubmit:He(I,["prevent"]),class:j(["newsletter-header-form",{isExpanded:i(m).length>0}])},[!i(c).gigyaLoaded&&i(l)?(u(),h("span",tO,[R(_s)])):!i(c).isAuthenticated||!i(l)?(u(),h(G,{key:1},[f("div",nO,[f("label",oO,[f("span",sO,w(i(o)("profile.yourEmail")),1)]),gt(f("input",{type:"email",class:"form-input","onUpdate:modelValue":S[0]||(S[0]=$=>Je(m)?m.value=$:null),required:""},null,512),[[Ac,i(m)]])]),f("button",{class:"newsletter-header-form__submit",disabled:!i(g)},w(i(o)("newsletter.subscribe")),9,iO),f("div",rO,[gt(f("input",{"onUpdate:modelValue":S[1]||(S[1]=$=>Je(g)?g.value=$:null),type:"checkbox",class:"checkbox","aria-required":"true",required:""},null,512),[[Lc,i(g)]]),f("label",aO,[f("span",lO,[_e(w(i(o)("newsletter.consentPart1"))+" ",1),f("a",{href:i(_).terms||i(s).consentDocuments.terms,target:"_blank"},w(i(o)("newsletter.consentPart2")),9,cO),S[2]||(S[2]=_e(" i ",-1)),f("a",{href:i(_).privacy||i(s).consentDocuments.privacy,target:"_blank"},w(i(o)("newsletter.consentPart3")),9,uO),S[3]||(S[3]=_e(". ",-1))])])])],64)):(u(),h("div",dO,[i(C)?(u(),h("button",fO,[S[4]||(S[4]=f("i",{class:"icon-checkmark--filled subscribe__btn-check","aria-hidden":"true"},null,-1)),_e(" "+w(i(o)("newsletter.subscribed")),1)])):(u(),h("button",mO,[S[5]||(S[5]=f("i",{class:"icon-add subscribe__btn-plus","aria-hidden":"true"},null,-1)),_e(" "+w(i(o)("newsletter.subscribe")),1)]))]))],34))}},hO=te(pO,[["__scopeId","data-v-5846aa80"]]),gO={class:"article-header newsletter-header"},_O={class:"article-header-wrap"},yO={class:"article-header-container"},vO={class:"article-header-title"},bO={class:"article-header-lead"},wO={__name:"CommonNewsletterHeader",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,n=t.definition.Document,o=n.Breadcrumb.slice(0,1),s=Te(t.definition.Document,"Label")?.Text;return(r,a)=>(u(),h("div",gO,[f("div",_O,[f("div",yO,[R(_n,{crumbs:i(o)},null,8,["crumbs"]),R(Ne,{extraClass:"is-secondary",label:i(s)},null,8,["label"]),f("h1",vO,w(i(n).Title),1),f("p",bO,w(i(n).Lead),1),R(hO,{definition:t.definition},null,8,["definition"])])])]))}},kO=te(wO,[["__scopeId","data-v-e4499430"]]),TO={class:"main-container"},$O={class:"container"},SO={__name:"NewsletterLayout",props:{pageData:{type:Object,default:()=>({})}},setup(e){const t=e,{$factoryComponent:n}=ue(),o=t.pageData?.map(r=>n(r)),s=_a(t.pageData);return(r,a)=>(u(),h("div",TO,[R(kO,{definition:i(s)},null,8,["definition"]),f("div",$O,[(u(!0),h(G,null,pe(t.pageData,(l,c)=>(u(),O(et,{key:c},{default:z(()=>[(u(),O(Qe(i(o)[c]),{definition:l},null,8,["definition"]))]),_:2},1024))),128))])]))}},DO=te(SO,[["__scopeId","data-v-528fe553"]]),Zg=Object.freeze(Object.defineProperty({__proto__:null,default:DO},Symbol.toStringTag,{value:"Module"})),CO={class:"main-container storytelling-two"},PO={class:"container"},xO={__name:"StorytellingTwoLayout",props:{pageData:{type:Array,default:()=>[]}},setup(e){const{$factoryComponent:t}=ue(),n=Le(),o=e,s=o.pageData?.map(l=>t(l)),r=_a(o.pageData);async function a(l,c){const m={DocumentId:l,MenuItemId:c};try{await fetch("/v3api/pageview",{method:"POST",body:JSON.stringify(m)})}catch(d){console.log(d)}}return De(()=>{const l=window.innerWidth-document.documentElement.clientWidth;if(document.documentElement.style.setProperty("--scrollbar-width",`${l}px`),n.query.hashedId||n.fullPath.includes("/preview/"))return;const c=r.Document.DocumentId,m=r.Document.ParentMenuItemId;a(c,m)}),(l,c)=>(u(),h("div",CO,[f("div",PO,[(u(!0),h(G,null,pe(o.pageData,(m,d)=>(u(),h(G,{key:d},[m.Type==="DfpBanner"?(u(),O(gn,{key:0,definition:m},null,8,["definition"])):m.Type!=="Article"?(u(),O(Qe(i(s)[d]),{key:1,definition:m},null,8,["definition"])):(u(),O(Yr,{key:2,definition:m},null,8,["definition"]))],64))),128))])]))}},IO=te(xO,[["__scopeId","data-v-18c16dd5"]]),e_=Object.freeze(Object.defineProperty({__proto__:null,default:IO},Symbol.toStringTag,{value:"Module"})),EO={key:0,class:"related-news-shop__item"},AO={class:"related-news-shop__content"},LO={class:"related-news-shop__label-wrap"},RO={key:0,class:"related-news-shop__counter"},OO={key:1,class:"related-news-shop__label"},MO={class:"related-news-shop__title"},NO={class:"related-news-shop__image"},BO={key:0,class:"related-news-shop__stickers"},UO={key:0},jO=["innerHTML"],VO={key:1},HO=["innerHTML"],zO={key:0,class:"related-news-shop__price"},FO={key:0},WO={class:"related-news-shop__old-price"},GO={key:0},qO=["href"],YO={key:2,class:"related-news-shop__text"},KO={class:"related-news-shop__image"},XO={class:"related-news-shop__content"},QO={class:"related-news-shop__content-right"},JO={class:"related-news-shop__label-wrap"},ZO={key:0,class:"related-news-shop__counter"},eM={key:1,class:"related-news-shop__label"},tM={class:"related-news-shop__title"},nM={key:0,class:"related-news-shop__stickers"},oM={key:0},sM=["innerHTML"],iM={key:1},rM=["innerHTML"],aM={key:1,class:"related-news-shop__price"},lM={key:0},cM={class:"related-news-shop__old-price"},uM={key:0}
65,dM=["href"],fM={key:0,class:"related-news-shop__text"},mM={__name:"ArticleElementsArticleShopItem",props:{item:{type:Object,default:()=>({})},number:{type:Number,default:null},showPagination:{type:Boolean,default:!0}},setup(e){const t=e,{$device:n}=ue(),o=No(t.item),s=o["Sticker 1"],r=o["Sticker 2"],a=o["Old price"];function l(c){return Y$(q$(c))}return(c,m)=>t.item?(u(),h("div",EO,[i(n).isMobileOrTablet?(u(),h(G,{key:0},[f("div",AO,[f("div",LO,[e.showPagination?(u(),h("span",RO,w(t.number),1)):T("",!0),i(o).Subtitle?(u(),h("span",OO,w(i(o).Subtitle?.Text),1)):T("",!0)]),f("span",MO,w(t.item.Title),1)]),f("figure",NO,[i(s)||i(r)?(u(),h("span",BO,[i(s)?(u(),h("span",UO,[f("span",{innerHTML:i(s)?.Text,class:"related-news-shop__sticker"},null,8,jO)])):T("",!0),i(r)?(u(),h("span",VO,[f("span",{innerHTML:i(r)?.Text,class:"related-news-shop__sticker"},null,8,HO)])):T("",!0)])):T("",!0),R(Be,{image:l(e.item),class:"related-news-shop__responsive-image"},null,8,["image"])]),i(o).Price||i(a)?(u(),h("span",zO,[f("div",{class:j(["related-news-shop__new-price",{"dark-text":!i(a)}])},[i(o).Price?(u(),h("span",FO,w(i(o).Price?.Text),1)):T("",!0)],2),f("div",WO,[i(a)?(u(),h("span",GO,w(i(a)?.Text),1)):T("",!0)])])):T("",!0),i(o)["Link URL"]?(u(),h("a",{key:1,href:i(o)["Link URL"]?.Text,class:"related-news-shop__link btn btn--prim",target:"_blank"},w(i(o)["Link name"]?.Text||c.$t("article.buyBtn")),9,qO)):T("",!0),i(o)["Product Description"]?(u(),h("span",YO,w(i(o)["Product Description"]?.Text),1)):T("",!0)],64)):(u(),h(G,{key:1},[f("figure",KO,[R(Be,{image:l(e.item),class:"related-news-shop__responsive-image"},null,8,["image"])]),f("div",XO,[f("div",QO,[f("div",JO,[e.showPagination?(u(),h("span",ZO,w(t.number),1)):T("",!0),i(o).Subtitle?(u(),h("span",eM,w(i(o).Subtitle?.Text),1)):T("",!0)]),f("span",tM,w(t.item.Title),1),i(s)||i(r)?(u(),h("span",nM,[i(s)?(u(),h("span",oM,[f("span",{innerHTML:i(s)?.Text,class:"related-news-shop__sticker"},null,8,sM)])):T("",!0),i(r)?(u(),h("span",iM,[f("span",{innerHTML:i(r)?.Text,class:"related-news-shop__sticker"},null,8,rM)])):T("",!0)])):T("",!0),i(o).Price||i(a)?(u(),h("span",aM,[f("div",{class:j(["related-news-shop__new-price",{"dark-text":!i(a)}])},[i(o).Price?(u(),h("span",lM,w(i(o).Price?.Text),1)):T("",!0)],2),f("div",cM,[i(a)?(u(),h("span",uM,w(i(a)?.Text),1)):T("",!0)])])):T("",!0),i(o)["Link URL"]?(u(),h("a",{key:2,href:i(o)["Link URL"]?.Text,class:"related-news-shop__link btn btn--prim",target:"_blank"},w(i(o)["Link name"]?.Text||c.$t("article.buyBtn")),9,dM)):T("",!0)])]),i(o)["Product Description"]?(u(),h("span",fM,w(i(o)["Product Description"]?.Text),1)):T("",!0)],64)),m[0]||(m[0]=f("div",{class:"related-news-shop__divider"},null,-1))])):T("",!0)}},pM=te(mM,[["__scopeId","data-v-2a75d111"]]),hM={key:0,class:"related-news-shop"},gM={__name:"ArticleElementsRelatedNewsShop",props:{definition:{type:Object,default:()=>({})}},setup(e){const o=L(e.definition.RelatedNewsElements).value.filter(s=>s.Document);return(s,r)=>i(o)?(u(),h("div",hM,[(u(!0),h(G,null,pe(i(o),(a,l)=>(u(),h(G,null,[a.Document?(u(),O(i(pM),{key:a.Document.DocumentId,number:l+1,item:a.Document,"show-pagination":i(o).length>1},null,8,["number","item","show-pagination"])):T("",!0)],64))),256))])):T("",!0)}},_M=te(gM,[["__scopeId","data-v-4570b78b"]]),yM=Object.freeze(Object.defineProperty({__proto__:null,default:_M},Symbol.toStringTag,{value:"Module"})),vM={key:0,class:"slider-shop__item"},bM=["href"],wM={class:"slider-shop__image-title-wrap"},kM={class:"slider-shop__image"},TM={key:0,class:"slider-shop__stickers"},$M={key:0,class:"slider-shop__sticker-wrap"},SM=["innerHTML"],DM={key:1,class:"slider-shop__sticker-wrap"},CM=["innerHTML"],PM={class:"slider-shop__title"},xM={class:"slider-shop__price"},IM={class:"slider-shop__old-price"},EM={key:0},AM={class:"slider-shop__new-price"},LM={key:0},RM={key:1,class:"slider-shop__no-link"},OM={class:"slider-shop__image-title-wrap"},MM={class:"slider-shop__image"},NM={key:0,class:"slider-shop__stickers"},BM={key:0,class:"slider-shop__sticker-wrap"},UM=["innerHTML"],jM={key:1,class:"slider-shop__sticker-wrap"},VM=["innerHTML"],HM={class:"slider-shop__title"},zM={class:"slider-shop__price"},FM={class:"slider-shop__old-price"}
65,WM={key:0},GM={class:"slider-shop__new-price"},qM={key:0},rc={__name:"CardTypesSliderShopItem",props:{item:{type:Object,default:()=>({})},urlSuffix:{type:String,default:""},externalUrlSuffix:{type:String,default:""}},setup(e){const t=e,n=No(t.item),o=n.Price,s=n["Sticker 1"],r=n["Sticker 2"],a=n["Old price"],l=n["Link URL"]?.Text,c=Ge(rS(VL(t.item)),t.item?.PosterPhoto?.ImageFocusCrop),m=l!==""&&(l?.startsWith("http")||l?.startsWith("https")),d=rn({url:l,urlSuffix:t.urlSuffix,externalUrlSuffix:t.externalUrlSuffix,isExternalArticle:m});return(p,_)=>t.item?(u(),h("div",vM,[i(n)["Link URL"]?(u(),h("a",{key:0,href:i(d),class:"slider-shop__link",target:"_blank"},[f("div",wM,[f("figure",kM,[i(s)||i(r)?(u(),h("span",TM,[i(s)?(u(),h("span",$M,[f("span",{innerHTML:i(s)?.Text,class:"slider-shop__sticker"},null,8,SM)])):T("",!0),i(r)?(u(),h("span",DM,[f("span",{innerHTML:i(r)?.Text,class:"slider-shop__sticker"},null,8,CM)])):T("",!0)])):T("",!0),R(Be,{image:i(c)[0]},null,8,["image"])]),f("h3",PM,w(t.item.Title),1)]),f("span",xM,[f("div",IM,[i(a)?(u(),h("span",EM,w(i(a)?.Text),1)):T("",!0)]),f("div",AM,[i(o)?(u(),h("span",LM,w(i(o)?.Text),1)):T("",!0)])])],8,bM)):(u(),h("div",RM,[f("div",OM,[f("figure",MM,[i(s)||i(r)?(u(),h("span",NM,[i(s)?(u(),h("span",BM,[f("span",{innerHTML:i(s)?.Text,class:"slider-shop__sticker"},null,8,UM)])):T("",!0),i(r)?(u(),h("span",jM,[f("span",{innerHTML:i(r)?.Text,class:"slider-shop__sticker"},null,8,VM)])):T("",!0)])):T("",!0),R(Be,{image:i(c)[0]},null,8,["image"])]),f("h3",HM,w(t.item.Title),1)]),f("span",zM,[f("div",FM,[i(a)?(u(),h("span",WM,w(i(a)?.Text),1)):T("",!0)]),f("div",GM,[i(o)?(u(),h("span",qM,w(i(o)?.Text),1)):T("",!0)])])]))])):T("",!0)}},YM={key:0,class:"related-news__shop-widget"},KM={class:"slider-card-wrapper"},XM={__name:"ArticleElementsRelatedNewsShopWidget",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,o=L(t.definition.RelatedNewsElements).value.filter(l=>l.Document),s=se(()=>t.definition?.RelatedNewsTitle),r=s.value,a=L({gallery:!1,slidesPerView:4,hideNavigationOnEdges:!0,pagination:!1,navigation:t.definition.RelatedNewsElements.length>4,breakpoints:{1023:{slidesPerView:2,gallery:!0,navigation:!1}}});return(l,c)=>i(o)?(u(),h("div",YM,[i(r)?(u(),O(Mt,{key:0,class:"card-header-wrap",headline:i(s)},null,8,["headline"])):T("",!0),f("div",KM,[l.$device.isMobileOrTablet?(u(),O(an,{key:0,options:i(a)},{default:z(()=>[(u(!0),h(G,null,pe(i(o).slice(0,4),m=>(u(),O(zt,{key:m.Document.DocumentId},{default:z(()=>[m.Document?(u(),O(rc,{key:0,item:m.Document},null,8,["item"])):T("",!0)]),_:2},1024))),128))]),_:1},8,["options"])):(u(),O(an,{key:1,options:i(a)},{default:z(()=>[(u(!0),h(G,null,pe(i(o),m=>(u(),O(zt,{key:m.Document.DocumentId},{default:z(()=>[m.Document?(u(),O(rc,{key:0,item:m.Document},null,8,["item"])):T("",!0)]),_:2},1024))),128))]),_:1},8,["options"]))])])):T("",!0)}},QM=te(XM,[["__scopeId","data-v-bc47fc18"]]),JM=Object.freeze(Object.defineProperty({__proto__:null,default:QM},Symbol.toStringTag,{value:"Module"})),ZM=["href"],eN={key:1,class:"brand-ticker__wrapper"},tN=-80,nN=50,oN=400,sN=1e3,iN=5,jf=6,rN={__name:"ArticleElementsBrandTickerRow",props:{document:{type:Object,default:()=>({})}},setup(e){const t=e,n=$e(),o=se(()=>mf(ff(t.document,"Graphic at Light Appearance"))),s=se(()=>mf(ff(t.document,"Graphic at Dark Appearance"))),r=se(()=>Te(t.document,"Surface Color at Light Appearance")?.Text||null),a=se(()=>Te(t.document,"Surface Color at Dark Appearance")?.Text||null),l=se(()=>Te(t.document,"Brand Ticker URL")?.Text||null),c=se(()=>n.themeColor==="dark"),m=se(()=>c.value?s.value||o.value:o.value||s.value),d=se(()=>c.value?a.value:r.value),p=L(null),_=L(null),g=L(jf);let b=null,y=null,C=null,E=null,D=!1,v=!1,I=0,k=0,S=1,$=null,P=0,x=0,A=0;function N(F,Y,ie){const ce=Y-F;return((ie-F)%ce+ce)%ce+F}function M(){const F=_.value;if(!F||!F.children.length)return;const Y=F.children[0].getBoundingClientRect().width,ie=F.parentElement.getBoundingClientRect().width;Y&&(I=Y,g.value=Math.max(jf,Math.ceil(ie*2/Y)+2))}function ee(F){$===null&&($=F);const Y=Math.min((F-$)/1e3,.1);$=F;const ie=window.scrollY,ce=Y>0?(ie-P)/Y:0;P=ie;const de=oN*(ce-x)-nN*A;A+=de*Y,x+=A*Y;const V=x*(iN/sN);let K=S*tN*Y;if(V<0?S=-1:V>0&&(S=1),K+=S*K*V,k+=K,I>0&&_.value){const Z=N(-I,0,k);_.value.style.transform=`translate3d(${Z}px, 0, 0)`}b=requestAnimationFrame(ee)}function X(){b||v||!D||($=null,P=window.scrollY,b=requestAnimationFrame(ee))}function me(){b&&(cancelAnimationFrame(b),b=null)}
65function Q(){y||(y=requestAnimationFrame(()=>{y=null,M()}))}return De(async()=>{v=window.matchMedia("(prefers-reduced-motion: reduce)").matches,await Rt(),M(),window.addEventListener("resize",Q),_.value&&_.value.children.length&&(E=new ResizeObserver(()=>M()),E.observe(_.value.children[0])),p.value&&(C=new IntersectionObserver(([F])=>{D=F.isIntersecting,D?X():me()}),C.observe(p.value))}),Xe(()=>{me(),window.removeEventListener("resize",Q),C&&C.disconnect(),E&&E.disconnect()}),(F,Y)=>i(m)?(u(),h("div",{key:0,ref_key:"rootRef",ref:p,class:"brand-ticker",style:Se(i(d)?{backgroundColor:i(d)}:null)},[i(l)?(u(),h("a",{key:0,href:i(l),target:"_blank",rel:"noopener",class:"brand-ticker__wrapper"},[f("div",{ref_key:"trackRef",ref:_,class:"brand-ticker__track"},[(u(!0),h(G,null,pe(i(g),ie=>(u(),h("span",{key:ie,class:"brand-ticker__item"},[R(Be,{image:i(m),"inner-class":"brand-ticker__logo","picture-image-class":"brand-ticker__logo"},null,8,["image"])]))),128))],512)],8,ZM)):(u(),h("div",eN,[f("div",{ref_key:"trackRef",ref:_,class:"brand-ticker__track"},[(u(!0),h(G,null,pe(i(g),ie=>(u(),h("span",{key:ie,class:"brand-ticker__item"},[R(Be,{image:i(m),"inner-class":"brand-ticker__logo","picture-image-class":"brand-ticker__logo"},null,8,["image"])]))),128))],512)]))],4)):T("",!0)}},aN=te(rN,[["__scopeId","data-v-28b798d0"]]),lN={class:"brand-ticker__margin"},cN={__name:"ArticleElementsBrandTicker",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,n=se(()=>(t.definition?.RelatedNewsElements??[]).map(o=>o?.Document).filter(Boolean));return(o,s)=>(u(),h("div",lN,[(u(!0),h(G,null,pe(i(n),r=>(u(),O(aN,{key:r.DocumentId,document:r},null,8,["document"]))),128))]))}},uN=te(cN,[["__scopeId","data-v-33a28ec8"]]),dN=Object.freeze(Object.defineProperty({__proto__:null,default:uN},Symbol.toStringTag,{value:"Module"})),fN={key:0,class:"related-news__block-title"},mN=["href"],pN={class:"related-news__content"},hN={class:"related-news__text-content"},gN={class:"related-news__label-wrap"},_N=["innerHTML"],yN={class:"related-news__title"},vN={class:"related-news__image"},bN={key:0,class:"related-news__divider"},wN={class:"related-news__content"},kN={class:"related-news__text-content"},TN={class:"related-news__label-wrap"},$N=["innerHTML"],SN={class:"related-news__title"},DN={class:"related-news__image"},CN={key:0,class:"related-news__divider"},PN=["href"],xN={class:"related-news__content"},IN={class:"related-news__left"},EN={class:"related-news__title"},AN={key:0,class:"related-news__divider"},LN={__name:"ArticleElementsRelatedNews",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,n=L(t.definition.RelatedNewsElements),o=se(()=>t.definition?.Alignment?.split(" ")[0]??null),{config:s}=ye().public;function r(p){return p.Document?.DocumentTypeAlias==="BrandTicker"}function a(p){return Te(p.Document,"Brand Ticker URL")?.Text||null}const l=se(()=>(n.value||[]).filter(p=>!r(p)||a(p)));function c(p){const _=p?.DocumentAttributes?.find(g=>g.Name==="Subtitle")?.Text||p.ParentMenuItemName;return _?.length>20?`${_.substring(0,19)}…`:_}function m(){return t.definition.RelatedNewsTitle!=="Related News"?t.definition.RelatedNewsTitle:""}function d(p){return ba(va(p))}return(p,_)=>{const g=Ze("router-link");return i(l)?.length?(u(),h("div",{key:0,class:j(["related-news__wrap",i(o)])}
65,[m()?(u(),h("span",fN,w(m()),1)):T("",!0),(u(!0),h(G,null,pe(i(l),(b,y)=>(u(),h(G,null,[r(b)?(u(),h("a",{key:b.Document.DocumentId,href:a(b),target:"_blank",rel:"noopener",class:"related-news__link"},[f("span",pN,[f("span",hN,[f("span",gN,[f("span",{innerHTML:c(b.Document),class:j([{"is-custom":i(s).customLabelStyle},"related-news__label"])},null,10,_N)]),f("span",yN,w(b.Title),1)]),f("figure",vN,[R(Be,{image:d(b.Document)},null,8,["image"])])]),y!=i(l).length-1?(u(),h("span",bN)):T("",!0)],8,mN)):b.Document?(u(),O(g,{key:b.Document.DocumentId,to:p.$createLocalUrl(b.Url),class:"related-news__link"},{default:z(()=>[f("span",wN,[f("span",kN,[f("span",TN,[f("span",{innerHTML:c(b.Document),class:j([{"is-custom":i(s).customLabelStyle},"related-news__label"])},null,10,$N)]),f("span",SN,w(b.Title),1)]),f("figure",DN,[R(Be,{image:d(b.Document)},null,8,["image"])])]),y!=i(l)?.length-1?(u(),h("span",CN)):T("",!0)]),_:2},1032,["to"])):(u(),h("a",{href:b.Url,key:y,class:"related-news__link",target:"_blank"},[f("span",xN,[f("span",IN,[f("span",EN,w(b.Title),1)])]),y!==i(n).length-1?(u(),h("span",AN)):T("",!0)],8,PN))],64))),256))],2)):T("",!0)}}},RN=te(LN,[["__scopeId","data-v-324e74d3"]]),ON=Object.freeze(Object.defineProperty({__proto__:null,default:RN},Symbol.toStringTag,{value:"Module"})),MN=["innerHTML"],NN={__name:"ArticleElementsTextEditor",props:{definition:{type:Object,default:()=>({})},extraClass:{type:String,default:()=>""}},setup(e){const t=e;function n(){let s=t.definition.Text;return s=s.replace(/(<figcaption>.*?<\/figcaption>)/g,""),s}const o=n();return oa(()=>{const s=/<script\b[^>]*>[\s\S]*?<\/script\b[^>]*>/g,r=t.definition.Text.match(s);if(r){const l=r[0].match(/src="https:\/\/form.123formbuilder.com\/embed\/(\S+)"/)?.[1];if(l){const c=document.createElement("script");return c.src=`https://form.123formbuilder.com/embed/${l}`,c.async=!0,document.body.appendChild(c),()=>{document.body.removeChild(c)}}}}),(s,r)=>(u(),h("div",{class:j(["article-rte",e.extraClass]),innerHTML:i(o)},null,10,MN))}},BN=Object.freeze(Object.defineProperty({__proto__:null,default:NN},Symbol.toStringTag,{value:"Module"})),UN={key:0,class:"textline"},jN={key:0},VN={key:1},HN={key:0},zN={class:"recipe-basic-name"},FN={class:"recipe-basic-value"},WN=["href"],GN={__name:"ArticleElementsTextLine",props:{definition:{type:Object,default:()=>({})},isRecipeDocType:{type:Boolean,default:!1},isRecipeBasicInfo:{type:Boolean,default:!1},showOtherInfoHeading:{type:Boolean,default:!1},isLastRecipeBasicInfo:{type:Boolean,default:!1}},setup(e){const{$t:t,$device:n}=ue(),o=e,s=se(()=>o.isRecipeDocType&&(o.definition?.Name==="Potrebno Headline"||o.definition?.Name==="Recept Koraci Headline")),r={recipeCuisine:t("recipe.recipeCuisine"),recipeCategory:t("recipe.recipeCategory"),recipeYield:t("recipe.recipeYield"),nutrition:t("recipe.nutrition"),prepTime:t("recipe.prepTime"),cookTime:t("recipe.cookTime"),totalTime:t("recipe.totalTime")},a=se(()=>r[o.definition.Name]||o.definition.Name),l=_=>/^\d+$/.test(_),c=se(()=>{const _=o.definition.Text?.trim()||"";return!o.isRecipeDocType||!o.isRecipeBasicInfo?_:o.definition.Name==="nutrition"?`${_} ${t("recipe.cal")}`:["prepTime","cookTime","totalTime"].includes(o.definition.Name)?l(_)?`${_} ${t("recipe.min")}`:"":_}),m=se(()=>(c.value||"").toString()),d=se(()=>{if(!o.isRecipeDocType||!o.isRecipeBasicInfo)return!1;const _=n.isMobileOrTablet?18:26;return a.value.length>_||m.value.length>_}),p=se(()=>o.isRecipeDocType&&o.isRecipeBasicInfo&&c.value==="");return(_,g)=>!i(s)&&!i(p)?(u(),h("div",UN,[o.definition.Name==="Potrebno Headline"||o.definition.Name==="Recept Koraci Headline"?(u(),h("h2",jN,w(o.definition.Text),1)):(u(),h("div",VN,[o.isRecipeDocType&&o.isRecipeBasicInfo?(u(),h(G,{key:0},[o.showOtherInfoHeading?(u(),h("h2",HN,w(i(t)("recipe.recipeBasicInfoTitle")),1)):T("",!0),f("p",{class:j(["recipe-basic-info",{"recipe-basic-info-last":o.isLastRecipeBasicInfo,"recipe-basic-info-clamped":i(d)}])},[f("span",zN,w(i(a)),1),g[0]||(g[0]=f("span",{class:"recipe-basic-divider"},null,-1)),f("span",FN,w(i(c)),1)],2)],64)):(u(),h(G,{key:1},[f("span",null,w(o.definition.Name),1),f("a",{href:e.definition.Text,target:"_blank"},w(o.definition.Text),9,WN)],64))]))])):T("",!0)}},qN=Object.freeze(Object.defineProperty({__proto__:null,default:GN},Symbol.toStringTag,{value:"Module"})),YN=["innerHTML"],KN={__name:"ArticleElementsFactBoxStandard",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e;return(n,o)=>(u(),h("div",{class:"article-factbox",innerHTML:t.definition.Text},null,8,YN))}},XN=te(KN,[["__scopeId","data-v-245661db"]]),Vf=Object.freeze(Object.defineProperty({__proto__:null,default:XN},Symbol.toStringTag,{value:"Module"})),QN=["innerHTML"],JN={__name:"ArticleElementsFactBoxQuotes",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e;return(n,o)=>(u(),h("div",{class:"article-factbox-quotes",innerHTML:t.definition.Text},null,8,QN))}},ZN=te(JN,[["__scopeId","data-v-0bd385fc"]]),eB=Object.freeze(Object.defineProperty({__proto__:null,default:ZN},Symbol.toStringTag,{value:"Module"})),tB=["href"],nB=["innerHTML"],oB=["innerHTML"],Hf=2544,sB={__name:"ArticleElementsImage",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,n=$e(),o=n.pageData.article?.Document.DocumentTypeAlias==="Storytelling"||n.pageData.article?.Document.DocumentTypeAlias==="Storytelling2.0",s=z$(H$(t.definition.Image,n.pageData.contentMetaTags?.RegularMetaTags?.Title),o),r=s?.[0]?.variations?.[0]?.[0];let a=null;r&&r.Width&&r.Height&&(a={"aspect-ratio":parseInt(r.Width,10)/parseInt(r.Height,10)});const{$t:l}=ue(),c=se(()=>t.definition?.Image?.Alignment?.split(" ")[0]??null),m=n.pageData.article?.Document?.DocumentTypeAlias==="Storytelling2.0",d=t.definition.Image?.Variations?.[0]?.Width,p=t.definition.Image?.Variations?.[0]?.He
65ight,_=se(()=>!m||!d||!p?null:p>d?"image-portrait-auto":"image-landscape-auto"),g=se(()=>(t.definition.Image.Description||"").length<92);function b(){return`${t.definition.Image.Description} `}function y(){return`${l("article.galleryAuthor")} ${t.definition.Image.CopyRight}`}return(C,E)=>(u(),h("div",{class:j(["article-image",[i(c),i(_)]])},[f("figure",{class:"article-image__container",style:Se(i(a))},[t.definition.Image.Link?(u(),h("a",{key:0,href:t.definition.Image.Link,target:"_blank"},[R(Be,{image:i(s)[0],"desktop-src":m?i($i)(t.definition.Image,Hf):""},null,8,["image","desktop-src"])],8,tB)):(u(),O(Be,{key:1,image:i(s)[0],"desktop-src":m?i($i)(t.definition.Image,Hf):""},null,8,["image","desktop-src"]))],4),t.definition.Image.CopyRight||t.definition.Image.Description?(u(),h("div",{key:0,class:j(["article-image__details",{"is-short-desc":i(g)}])},[t.definition.Image.Description?(u(),h("span",{key:0,innerHTML:b(),class:"article-image__details-desc"},null,8,nB)):T("",!0),t.definition.Image.CopyRight?(u(),h("span",{key:1,innerHTML:y(),class:"article-image__details-copy"},null,8,oB)):T("",!0)],2)):T("",!0)],2))}},iB=te(sB,[["__scopeId","data-v-fdc8f587"]]),rB=Object.freeze(Object.defineProperty({__proto__:null,default:iB},Symbol.toStringTag,{value:"Module"})),aB={},lB={class:"container"};function cB(e,t){return u(),h("div",lB)}const uB=Object.assign(te(aB,[["render",cB]]),{__name:"DynamicComponentsCustomEmpty"}),di=Object.freeze(Object.defineProperty({__proto__:null,default:uB},Symbol.toStringTag,{value:"Module"})),dB={class:"article-embed embed-facebook"},fB={__name:"ArticleElementsFacebookEmbed",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,n=L(null);function o(r,a){const l=r.querySelector('iframe[src*="facebook.com/plugins"]');if(!l||!a)return;const c=Math.floor(Math.min(a,500));if(c>=500)return;const m=new URL(l.getAttribute("src"),window.location.href);m.searchParams.set("width",c),l.setAttribute("src",m.toString()),l.setAttribute("width",c)}function s(){setTimeout(()=>{const r=n.value,a=document.createElement("div");a.innerHTML=t.definition.Text,o(a,r.parentElement?.clientWidth||r.clientWidth),r.innerHTML=a.innerHTML},0)}return(r,a)=>(u(),O(ji,{onLoaded:s},{default:z(()=>[f("div",dB,[f("div",{ref_key:"facebookCode",ref:n},null,512)])]),_:1}))}},mB=te(fB,[["__scopeId","data-v-dac32719"]]),pB=Object.freeze(Object.defineProperty({__proto__:null,default:mB},Symbol.toStringTag,{value:"Module"})),hB={__name:"DynamicComponentsCustomGamesFriendlyIframe",props:{type:{type:String,default:"friendly"},html:{type:[Object,String],default:'{head: "", body: ""}'},height:{type:String,default:"100%"},initialHeight:{type:[Number,null],default:null}},setup(e){const t=e,n=L(null),o=L(),s=se(()=>t.height);function r(){const l=n.value.contentWindow.document;l.open();const c=`<head> 66 ${t.html.head} 67 </head> 68 <body> 69 ${t.html.body} 70 ${t.height==="content"?'<script src="/js/iframeResizer.contentWindow.js"><\/script>':"<!-- END BODY -->"} 71 </body>`;l.write(c),l.close(),t.height==="content"&&window.iFrameResize({checkOrigin:!1,warningTimeout:0},o.value.getElementsByTagName("iframe")[0])}function a(){n.value=document.createElement("iframe"),n.value.crossorigin="anonymous",n.value.frameBorder="0",t.initialHeight&&(n.value.height=t.initialHeight),o.value.appendChild(n.value),setTimeout(()=>{r()},0)}return De(()=>{setTimeout(()=>{a()},50)}),(l,c)=>(u(),h("div",{ref_key:"iframeWrap",ref:o,style:Se(`position: relative; width: 100%; padding-bottom: ${i(s)}`),class:"iframe_wrap"},null,4))}},pu=te(hB,[["__scopeId","data-v-70287d32"]]),gB='<style>body{background:transparent;font-family:Inter,"Helvetica Neue",arial,sans-serif;} body>p{text-align:left;} em,h2,h3,h4,h5,p,strong{word-break:break-word}@font-face{font-display:swap;font-family:Inter;font-weight:100 900;src:url(https://static-kurir.wm.rs/fonts/Inter.var.woff2) format("woff2"),url(https://static-kurir.wm.rs/fonts/Inter-VariableFont.ttf) format("truetype")}h2{font-size:1.25rem;line-height:1.5rem}h3{font-size:1.1875rem;line-height:1.4375rem}h4{font-size:1.125rem;line-height:1.3125rem}h5{font-size:1.0625rem;line-height:1.25rem}@supports (font-variation-settings:normal){h2,h3{font-variation-settings:"wght" 700}h4,h5{font-variation-settings:"wght" 600}}@supports not (font-variation-settings:normal){h2,h3{font-weight:700}h4,h5{font-weight:600}}em,em strong{font-style:normal;font-variation-settings:"slnt" -10}h2,h3,h4,h5,p{color:#191818;margin-bottom:16px;text-align:left}em,li,p,strong{font-size:1.0625rem;line-height:1.6875rem}@media (min-width:1024px){h2{font-size:1.6875rem;line-height:2.0625rem}h3{font-size:1.5rem;line-height:1.8125rem}h4{font-size:1.3125rem;line-height:1.5625rem}h5{font-size:1.125rem;line-height:1.3125rem}h2,h3,h4,h5,p{margin-bottom:24px}em,li,p,strong{font-size:1.125rem;line-height:1.8125rem}}p:empty{margin-bottom:0}</style>',_B={__name:"ArticleElementsSocialEmbed",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,{$device:n}=ue();function o(){switch(t.definition.Type){case"InstagramEmbed":return n.isMobileOrTablet?552:669;case"TikTokEmbed":return 738;case"TwitterEmbed":return n.isMobileOrTablet?300:350;case"PinterestEmbed":return 400;case"TelegramEmbed":return 300;default:return null}}return(s,r)=>(u(),O(ji,null,{default:z(()=>[R(pu,{class:"article-embed",html:{head:gB,body:t.definition.Text},height:"content",initialHeight:o()},null,8,["html","initialHeight"])]),_:1}))}},Js=Object.freeze(Object.defineProperty({__proto__:null,default:_B},Symbol.toStringTag,{value:"Module"})),yB={class:"storytelling-two-gallery__header"},vB={class:"storytelling-two-gallery__header-content"},bB={class:"storytelling-two-gallery__title"},wB={class:"storytelling-two-gallery__count"},kB=["aria-label"],TB=["aria-label","tabindex","onClick"],$B={class:"storytelling-two-gallery__item-counter","aria-hidden":"true"},SB=["aria-label"],DB=["aria-label"],CB={key:0,class:"storytelling-two-gallery__pagination"},PB=["aria-label","onClick"],xB=["innerHTML"],IB=2544,al=2,EB={__name:"ArticleElementsStorytellingTwoGallery",props:{definition:{type:Object,default:()=>({})},documentTemplate:{type:String,default:""}},setup(e){const t=e,{$t:n}=ue(),o=Le(),s=Ye(),r=$e(),a=L(!1),l=L(null),c=se(()=>t.definition.PhotoGallery?.Images||[]),m=se(()=>(t.definition.PhotoGallery?.Description||"").length<92);function d(){let de=`${n("article.galleryAuthor")} `;t.definition.PhotoGallery?.Description&&(de=`${n("article.galleryAuthor")} `);const V=t.definition.PhotoGallery?.Images?.slice(0,3)?.map(Z=>
71Z?.CopyRight),K=V?.filter((Z,q)=>V.indexOf(Z)===q)?.join(", ");return`${de}${K}`}function p(de){return n("article.openPhotoLabel").replace("{index}",String(de+1)).replace("{total}",String(c.value.length))}function _(de){return n("article.showPhotoLabel").replace("{index}",String(de+1)).replace("{total}",String(c.value.length))}function g(de){const V=de?.variations?.[0],K=Array.isArray(V)?V[0]:V;return{width:K?.Width,height:K?.Height}}const b=se(()=>{const de=r.pageData?.contentMetaTags?.RegularMetaTags?.Title,V=ql(Gl(c.value,de));return c.value.map((K,Z)=>{const q=V[Z],{width:fe,height:W}=g(q);return{key:K.ImageId??Z,responsiveImage:q,desktopImageUrl:$i(K,IB),aspectRatio:fe&&W?`${fe} / ${W}`:"1",isPortrait:!!(fe&&W&&fe<W)}})});async function y(de=0){const V=t.definition.PhotoGallery?.PhotoGalleryId;await s.push({query:{...o.query,gallery:V,image:String(de+1)}}).catch(()=>{}),a.value=!0,Ns("has-gallery-full-screen-active")}function C(){a.value=!1,Rt(()=>{l.value?.scrollIntoView({block:"start"})})}De(()=>{parseInt(o.query.gallery,10)===t.definition.PhotoGallery?.PhotoGalleryId&&(a.value=!0,Ns("has-gallery-full-screen-active"))});const E=[0,.25,.5,.75,.9,.95,1],D=L(null),v=L(0),I=L([]),k=new Map,S=new Map;let $=null;function P(){v.value<=0||ce(v.value-1)}function x(){v.value>=c.value.length-1||ce(v.value+1)}function A(de,V){de&&(I.value[V]=de,k.set(de,V))}function N(){let de=null,V=0;k.forEach((K,Z)=>{const q=S.get(Z)||0;q>V&&(V=q,de=K)}),de!==null&&(v.value=de)}function M(de){de.forEach(V=>{S.set(V.target,V.intersectionRatio)}),N()}function ee(){if(typeof IntersectionObserver>"u"||!D.value||$)return;const de=D.value.querySelector(".storytelling-two-gallery__cta"),V=de?Math.ceil(de.getBoundingClientRect().width):0;$=new IntersectionObserver(M,{root:D.value,rootMargin:`0px -${V}px 0px 0px`,threshold:E}),I.value.forEach(K=>{K&&$.observe(K)})}function X(){$&&($.disconnect(),$=null)}let me=null;const Q=L(!1);function F(de){Q.value=de.matches,de.matches?X():ee()}De(()=>{typeof window>"u"||!window.matchMedia||(me=window.matchMedia("(min-width: 1024px)"),Q.value=me.matches,me.matches||ee(),me.addEventListener("change",F))}),Xe(()=>{X(),me&&me.removeEventListener("change",F)});function Y(de,V,K){return Math.max(V,Math.min(K,de))}const ie=se(()=>{const de=c.value.length;if(de===0)return[];const V=Math.min(de,al*2+1),K=Y(v.value-al,0,de-V);return Array.from({length:V},(Z,q)=>K+q)});function ce(de){if(Q.value){v.value=de;return}const V=I.value[de];if(!V)return;v.value=de;const K=window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;V.scrollIntoView({behavior:K?"auto":"smooth",block:"nearest",inline:"start"})}return(de,V)=>i(c).length?(u(),h("div",{key:0,ref_key:"galleryRootRef",ref:l,class:"storytelling-two-gallery"},[f("div",yB,[f("div",vB,[f("span",bB,w(i(n)("article.galleryTitle")),1),V[2]||(V[2]=f("span",{class:"storytelling-two-gallery__dot","aria-hidden":"true"},"·",-1)),f("span",wB,w(i(c).length),1)]),f("button",{type:"button",class:"storytelling-two-gallery__action","aria-label":i(n)("article.viewGallery"),onClick:V[0]||(V[0]=K=>y())},[...V[3]||(V[3]=[f("i",{class:"icon-arrow--right storytelling-two-gallery__arrow","aria-hidden":"true"},null,-1)])],8,kB)]),f("div",{ref_key:"rowRef",ref:D,class:"storytelling-two-gallery__row"},[(u(!0),h(G,null,pe(i(b),(K,Z)=>(u(),h("button",{key:K.key,ref_for:!0,ref:q=>A(q,Z),type:"button",class:j(["storytelling-two-gallery__item",{"storytelling-two-gallery__item--active":Z===i(v),"storytelling-two-gallery__item--previous":Z===i(v)-1,"storytelling-two-gallery__item--next":Z===i(v)+1,"storytelling-two-gallery__item--inactive":Z<i(v)-1||Z>i(v)+1,"storytelling-two-gallery__item--portrait":Z===i(v)&&K.isPortrait}]),style:Se({aspectRatio:K.aspectRatio}),"aria-label":p(Z),tabindex:i(Q)&&(Z===i(v)-1||Z===i(v)+1)?-1:void 0,onClick:q=>y(Z)},[Z===i(v)&&K.isPortrait&&K.desktopImageUrl?(u(),h("span",{key:0,class:"storytelling-two-gallery__item-bg",style:Se({backgroundImage:`url(${K.desktopImageUrl})`}),"aria-hidden":"true"},null,4)):T("",!0),R(Be,{image:K.responsiveImage,"desktop-src":Math.abs(Z-i(v))<=al?K.desktopImageUrl:"","inner-class":"storytelling-two-gallery__img"},null,8,["image","desktop-src"]),f("span",$B,[V[4]||(V[4]=f("i",{class:"icon-camera storytelling-two-gallery__item-counter-icon"},null,-1)),_e(w(Z+1)+"/"+w(i(c).length),1)])],14,TB))),128)),f("button",{type:"button",class:j(["storytelling-two-gallery__cta",{"storytelling-two-gallery__cta--visible":i(v)===i(c).length-1}]),onClick:V[1]||(V[1]=K=>y(0))},[f("span",null,w(i(n)("article.viewGallery")),1)],2),i(v)>
710?(u(),h("button",{key:0,type:"button",class:"storytelling-two-gallery__nav storytelling-two-gallery__nav--previous","aria-label":i(n)("article.previousPhotoLabel"),onClick:P},[...V[5]||(V[5]=[f("i",{class:"icon-chevron--left","aria-hidden":"true"},null,-1)])],8,SB)):T("",!0),i(v)<i(c).length-1?(u(),h("button",{key:1,type:"button",class:"storytelling-two-gallery__nav storytelling-two-gallery__nav--next","aria-label":i(n)("article.nextPhotoLabel"),onClick:x},[...V[6]||(V[6]=[f("i",{class:"icon-chevron--right","aria-hidden":"true"},null,-1)])],8,DB)):T("",!0)],512),i(c).length>1?(u(),h("div",CB,[(u(!0),h(G,null,pe(i(ie),K=>(u(),h("button",{key:K,type:"button",class:j(["storytelling-two-gallery__bullet",{"storytelling-two-gallery__bullet--active":K===i(v)}]),"aria-label":_(K),onClick:Z=>ce(K)},[...V[7]||(V[7]=[f("span",{class:"storytelling-two-gallery__bullet-dot","aria-hidden":"true"},null,-1)])],10,PB))),128))])):T("",!0),f("div",{class:j(["storytelling-two-gallery__desc",{"is-short-desc":i(m)}])},[e.definition.PhotoGallery?.Description?(u(),h(G,{key:0},[_e(w(e.definition.PhotoGallery?.Description)+"â",1)],64)):T("",!0),f("span",{class:"storytelling-two-gallery__copy",innerHTML:d()},null,8,xB)],2),(u(),O(Rm,{to:"body"},[i(a)?(u(),O(i(fu),{key:0,class:j(i(r).themeColor),"gallery-items":e.definition.PhotoGallery,onCloseGalleryModal:C},null,8,["class","gallery-items"])):T("",!0)]))],512)):T("",!0)}},AB=te(EB,[["__scopeId","data-v-3796366e"]]),LB=Object.freeze(Object.defineProperty({__proto__:null,default:AB},Symbol.toStringTag,{value:"Module"})),RB={class:"story-in-pictures-images"},OB={class:"single-image__extra"},MB={class:"single-image__count"},NB=["innerHTML"],BB={key:0,class:"single-image__desc"},UB={__name:"ArticleElementsStoryInPicturesGallery",props:{images:{type:Object,default:()=>({})}},setup(e){const t=e,n=$e();function o(a){return W$(F$(a,n.pageData.contentMetaTags?.RegularMetaTags?.Title))}const{$t:s}=ue();function r(a){return`${s("article.galleryAuthor")} ${a.CopyRight}`}return(a,l)=>(u(),h("div",RB,[(u(!0),h(G,null,pe(t.images,(c,m)=>(u(),h("div",{key:c.ImageId,class:"single-image"},[f("figure",null,[R(Be,{image:o(c)},null,8,["image"])]),f("div",OB,[f("span",MB,w(m+1)+" / "+w(t.images.length),1),c.CopyRight?(u(),h("span",{key:0,innerHTML:r(c),class:"single-image__copy"},null,8,NB)):T("",!0)]),c.Description?(u(),h("span",BB,w(c.Description),1)):T("",!0)]))),128))]))}},jB=te(UB,[["__scopeId","data-v-d047f6fc"]]),VB=["id"],HB={class:"gallery-block__large"},zB={class:"gallery-block__right"},WB={key:0,class:"gallery-block__small"},GB={key:1,class:"gallery-block__small gallery-block__small-placeholder"},qB=["src"],YB={key:2,class:"gallery-block__small"},KB={key:3,class:"gallery-block__small gallery-block__small-placeholder"},XB=["src"],QB={class:"gallery-block__small"},JB={key:0,class:"gallery-block__small is-background-image"},ZB={class:"btn btn--prim-alt-sec"},eU={class:"gallery-block__desc"},tU=["innerHTML"],nU={__name:"ArticleElementsPhotoGallery",props:{definition:{type:Object,default:()=>({})},documentTemplate:{type:String,default:""}},setup(e){const{config:t}=ye().public;let{useStandAloneGallery:n}=t;const o=Ye(),s=Le(),{$t:r}=ue();s.path.indexOf("/article/preview")!==-1&&(n=!1);const a=e,{genericImages:l}=ye().public,c=$e(),m=se(()=>{const C=c.pageData?.article;if(C?.Template==="StoryInPictures")return c.themeColor;if(C?.Template==="Storytelling"){const D=C.Document?.DocumentElements.find(v=>v.Name==="Is Light theme")?.Text==="true"?"dark":"light";return c.setSelectedColor(D),D}return c.themeColor==="light"?"dark":"light"});function d(){let C=`${r("article.galleryAuthor")} `;a.definition.PhotoGallery?.Description&&(C=`${r("article.galleryAuthor")} `);const E=a.definition.PhotoGallery?.Images?.slice(0,3)?.map(v=>v?.CopyRight),D=E?.filter((v,I)=>E.indexOf(v)===I)?.join(", ");return`${C}${D}`}const p=L(!1),_=`1/${a.definition.PhotoGallery.Images.length}`,g=ql(Gl(a.definition.PhotoGallery.Images,c.pageData.contentMetaTags?.RegularMetaTags?.Title)),b=se(()=>{const C=a.definition.PhotoGallery,E=C?.PosterPhotoId,D=g[0];if(!E)return D;const v=C.Images.find(k=>k.ImageId===E);return v&&ql(Gl([v],c.pageData.contentMetaTags?.RegularMetaTags?.Title))[0]||D});function y(){if(n){const C={};s.query.page&&(C.page=s.query.page);const D=`${s.path.replace(".html","")}/media/${a.definition?.PhotoGallery?.PhotoGalleryId}`;o.push({path:D,query:C}
71).catch(()=>{})}else p.value=!0,Ns("has-gallery-full-screen-active")}return De(()=>{parseInt(s.query.gallery,10)===a.definition.PhotoGallery.PhotoGalleryId&&(p.value=!0,Ns("has-gallery-full-screen-active"))}),(C,E)=>e.definition.PhotoGallery&&e.definition.PhotoGallery.Images.length?(u(),h("div",{key:0,class:j(["article-gallery",i(m)])},[e.documentTemplate==="StoryInPictures"?(u(),O(i(jB),{key:0,images:e.definition.PhotoGallery.Images},null,8,["images"])):(u(),h(G,{key:1},[f("div",{class:"gallery-block",onClick:E[0]||(E[0]=D=>{y()}),id:`gallery${e.definition.PhotoGallery.PhotoGalleryId}`},[f("figure",HB,[R(Be,{image:i(b)},null,8,["image"]),R(i(Ne),{class:"card-label-wrap has-icon is-photo",label:_,iconClass:"icon-camera"})]),f("div",zB,[e.definition.PhotoGallery?.Images[1]?(u(),h("figure",WB,[R(Be,{image:i(g)[1]},null,8,["image"])])):(u(),h("figure",GB,[f("img",{src:i(l).placeholderImg,alt:"",loading:"lazy"},null,8,qB)])),e.definition.PhotoGallery?.Images[2]?(u(),h("figure",YB,[R(Be,{image:i(g)[2]},null,8,["image"])])):(u(),h("figure",KB,[f("img",{src:i(l).placeholderImg,alt:"",loading:"lazy"},null,8,XB)])),f("div",QB,[e.definition.PhotoGallery?.Images[3]?(u(),h("figure",JB,[R(Be,{image:i(g)[3]},null,8,["image"])])):T("",!0),f("span",ZB,w(i(r)("article.viewGallery")),1)])])],8,VB),f("span",eU,[e.definition.PhotoGallery?.Description?(u(),h(G,{key:0},[_e(w(e.definition.PhotoGallery?.Description)+"â",1)],64)):T("",!0),f("span",{innerHTML:d()},null,8,tU)]),i(p)?(u(),O(i(fu),{key:0,"gallery-items":a.definition.PhotoGallery,onCloseGalleryModal:E[1]||(E[1]=D=>p.value=!1)},null,8,["gallery-items"])):T("",!0)],64))],2)):T("",!0)}},oU=te(nU,[["__scopeId","data-v-d1c77d23"]]),sU=Object.freeze(Object.defineProperty({__proto__:null,default:oU},Symbol.toStringTag,{value:"Module"})),iU={class:"article-download__file"},rU=["href","title"],aU={class:"article-download__file-name"},lU={__name:"ArticleElementsBinaryFile",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,{$t:n}=ue(),o=t.definition.BinaryFile.BinaryFileName||n("common.download");return(s,r)=>(u(),h("div",iU,[f("a",{href:e.definition.BinaryFile.BinaryFileUrl,title:e.definition.BinaryFile.BinaryFileName,class:"article-download__file-link"},[r[0]||(r[0]=f("i",{class:"article-download__file-icon icon-download","aria-hidden":"true"},null,-1)),f("span",aU,w(i(o)),1)],8,rU)]))}},cU=te(lU,[["__scopeId","data-v-8a3588f4"]]),uU=Object.freeze(Object.defineProperty({__proto__:null,default:cU},Symbol.toStringTag,{value:"Module"})),dU={class:"page-break-wrapper"},fU=["href"],mU=["href"],pU={__name:"ArticleElementsDocumentPageBreak",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,n=t.definition?.NextPage,o=t.definition?.PreviousPage;return(s,r)=>(u(),h("div",dU,[i(o)?(u(),h("a",{key:0,class:"page-break-previous",href:s.$createLocalUrl(i(o))},[r[0]||(r[0]=f("i",{class:"icon icon-chevron--left","aria-label":"true"},null,-1)),f("span",null,w(s.$t("common.previousPage")),1)],8,fU)):T("",!0),i(n)?(u(),h("a",{key:1,class:"page-break-next",href:s.$createLocalUrl(i(n))},w(s.$t("common.nextPage")),9,mU)):T("",!0)]))}},hU=te(pU,[["__scopeId","data-v-21c225d7"]]),gU=Object.freeze(Object.defineProperty({__proto__:null,default:hU},Symbol.toStringTag,{value:"Module"})),_U=["id"],yU={__name:"CommonBannersDFPBannerOOPInner",props:{definition:{type:Object,default:()=>{}}},setup(e){const{config:t}=ye().public,n=Ta(),{$device:o}=ue(),s=e,r=()=>{const E=o.isMobileOrTablet?"mob":"dex",D=s.definition.Properties?.BannerId?.trim();return`ad-${E}_${D}_OOP`},a=()=>`div-gpt-ad-${s.definition.Properties?.BannerId?.trim()}_OOP`,l=()=>!!(s.definition.Properties?.SlotCodeMobile?.includes("teads")||s.definition.Properties?.SlotCodeDesktop?.includes("teads")),c=t.dfp.useOldSetup?a():r();let m={};const d=L(""),p=o.isMobileOrTablet?s.definition.Properties?.SlotCodeMobile:s.definition.Properties?.SlotCodeDesktop,_=!s.definition.DisableDfp&&(o.isMobileOrTablet&&p!==""||o.isDesktop&&p!==""),g=t.dfp.useOldSetup?c:`div-gpt-${c}`,b=L(null),y=[];l()&&t.teadsPageId&&y.push({innerHTML:`(function (d, p) { var js, s = d.getElementsByTagName('script')[0]; js = d.createElement('script'); js.className = 'teads'; js.async = true; js.type = 'text/javascript'; js.src = '//a.teads.tv/page/'+p+'/tag'; s.parentNode.insertBefore(js, s); })(window.document, ${t.teadsPageId});`});function C(){if(s.definition.Properties.DontCallMe!=="True"&&_&&n.adsready){const E=b.value?.id,D=window.googletag||{};D.cmd=D.cmd||[],m=D.pubads().getSlots().find(I=>I.getSlotId().getDomId()===c),s.definition.Template==="DfpBannerAsync"&&Sg(s.definition.Properties,"oop"),D.cmd.push(()=>{D.display(E)})}}return Mn({script:y}),qe(()=>n.adsready,()=>{typeof m=="object"&&n.adsready&&Object.keys(m).length===0&&C()}),De(()=>{setTimeout(()=>{C()})}),Zt(()=>{if(l()&&window.teads)try{window.teads.cleanup()}
71catch(E){console.log("error",E)}}),(E,D)=>(u(),h("div",{class:j([i(g),i(d)]),id:i(c),ref_key:"bannerRef",ref:b},null,10,_U))}},vU=Gc(yU),t_={__name:"CommonBannersDfpOOP",props:{definition:{type:Object,default:()=>{}}},setup(e){const{$device:t}=ue(),n=e,o=n.definition.Properties?.SlotCodeMobile?.includes("teads")||n.definition.Properties?.SlotCodeDesktop?.includes("teads")?"":"OOP-",s=t.isMobileOrTablet&&n.definition.Properties?.ClassMobile?n.definition.Properties?.ClassMobile:n.definition.Properties?.ClassDesktop,r=t.isMobileOrTablet?n.definition.Properties?.SlotCodeMobile:n.definition.Properties?.SlotCodeDesktop,a=!n.definition.DisableDfp&&(t.isMobileOrTablet&&r!==""||t.isDesktop&&r!=="");return(l,c)=>{const m=vU;return i(a)?(u(),h("div",{key:0,class:j([`${i(o)}bannerWrapper`,i(s)])},[f("div",{class:j(`${i(o)}gpt-ad-banner`)},[R(m,{definition:e.definition},null,8,["definition"])],2)],2)):T("",!0)}}},bU=Object.freeze(Object.defineProperty({__proto__:null,default:t_},Symbol.toStringTag,{value:"Module"})),wU=["id"],kU={__name:"DynamicComponentsCustomMidasInText",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e;return De(()=>{t.definition.IndexPageElement.Properties.src&&document.querySelectorAll(".midas-intext").forEach(o=>{if(o.childNodes[0].id===t.definition.IndexPageElement.Properties.Id){const s=document.createElement("script");s.classList.add(t.definition.IndexPageElement.Properties.Id),s.async=!0,s.src=t.definition.IndexPageElement.Properties.src,s.type="text/javascript",o.appendChild(s)}})}),(n,o)=>(u(),h("div",{class:j(["midas-intext",{"hide-header":t.definition?.IndexPageElement?.Properties?.hideWidgetHeader==="True"}])},[f("div",{id:t.definition.IndexPageElement.Properties.Id},null,8,wU)],2))}},TU={__name:"ArticleElementsIndexPageElement",props:{definition:{type:Object,default:()=>({})},position:{type:Number,default:0}},setup(e){const t=e,n=t.definition.IndexPageElement.Type==="DfpBanner"&&t.definition.IndexPageElement.Properties?.OOP!=="True"&&!t.definition.IndexPageElement.DisableDfp?"inText-banner-wrapper":"";return(o,s)=>(u(),h("div",{class:j(["article-ad",i(n)])},[t.definition.IndexPageElement.Type==="DfpBanner"&&!t.definition.IndexPageElement.DisableDfp?(u(),h(G,{key:0},[t.definition.IndexPageElement.Properties?.OOP==="True"?(u(),O(t_,{key:0,definition:t.definition.IndexPageElement},null,8,["definition"])):(u(),O(gn,{key:1,definition:t.definition.IndexPageElement,position:e.position},null,8,["definition","position"]))],64)):T("",!0),t.definition.IndexPageElement.Type==="Midas"?(u(),O(i(kU),{key:1,definition:t.definition},null,8,["definition"])):T("",!0)],2))}},$U=Object.freeze(Object.defineProperty({__proto__:null,default:TU},Symbol.toStringTag,{value:"Module"})),SU={__name:"GenericArticleElement",props:{definition:{type:Object,default:()=>({Template:""})},documentLead:{type:String,default:""},documentTitle:{type:String,default:""},documentTemplate:{type:String,default:""}},setup(e){const t=e,{$factoryArticleElement:n}=ue(),o=n(t.definition);return(s,r)=>(u(),O(Qe(i(o)),{definition:e.definition,"document-lead":e.documentLead,"document-title":e.documentTitle,"document-template":e.documentTemplate},null,8,["definition","document-lead","document-title","document-template"]))}},DU={class:"story-update"},CU={class:"story-update-time"},PU=["id"],xU={key:1},IU={key:0,class:"story-update-step"},EU={key:1,class:"story-update-step"},AU={__name:"ArticleElementsStoryUpdate",props:{definition:{type:Object,default:()=>({})},titleAnchor:{type:String,default:()=>""}},setup(e){const{$t:t,$snackbar:n}=ue(),o=$e(),s=e,r={...s.definition.StoryUpdateElements},a=o.pageData.article.Document.DocumentElements.filter(m=>m?.Type==="StoryUpdate"),l=o.pageData.article.Document.DocumentTypeAlias==="DevelopingStory";a.forEach((m,d)=>{m.counter=d+1});const c=()=>{navigator.clipboard.writeText(`${window.location.origin+window.location.pathname}#${s.titleAnchor}`).then(()=>{n.$setToaster(t("engagement.linkCopied"),"success")},()=>{console.log("clipboard error")})};return(m,d)=>(u(),h("div",DU,[f("span",CU,w(s.definition.Time),1),l?(u(),h("a",{key:0,onClick:He(c,["stop","prevent"]),role:"button",class:"story-update-anchor"},[d[0]||(d[0]=f("i",{class:"icon-copy--link","aria-hidden":"true"},null,-1)),f("span",{class:"story-update-anchor-target",id:e.titleAnchor},null,8,PU)])):T("",!0),l?T("",!0):(u(),h("div",xU,[!(m._.provides[Yn]||m.$route).query?.page||(m._.provides[Yn]||m.$route).query?.page==="1"?(u(),h("span",IU,w(i(t)("common.step"))+" "+w(s.definition.counter),1)):(u(),h("span",EU,w(i(t)("common.step")),1
71))])),(u(),h(G,null,pe(r,(p,_)=>(u(),h(G,null,[p?(u(),O(i(SU),{key:_,definition:p,"document-template":e.definition.Name},null,8,["definition","document-template"])):T("",!0)],64))),64))]))}},LU=te(AU,[["__scopeId","data-v-c4d00976"]]),RU=Object.freeze(Object.defineProperty({__proto__:null,default:LU},Symbol.toStringTag,{value:"Module"})),OU={class:"quiz-score"},MU={class:"quiz-bullet"},NU=["innerHTML"],BU={key:0,class:"quiz-image"},UU={class:"quiz-image-source"},jU={key:1},VU={key:2},HU=["innerHTML"],n_={__name:"DynamicComponentsCustomQuizScore",props:{score:{type:Array,default:()=>[]}},setup(e){const t=e;function n(o){return Jc(Si(o))}return(o,s)=>(u(),h("div",OU,[f("div",MU,[f("span",null,w(o.$t("quiz.score")),1)]),f("h2",{class:"quiz-title",innerHTML:t.score[0]?.ScoreRangeTitle},null,8,NU),t.score[0]?.Image?(u(),h("figure",BU,[R(Be,{image:n(t.score[0]?.Image)},null,8,["image"]),f("figcaption",UU,[t.score[0]?.Image?.Description?(u(),h(G,{key:0},[_e(w(t.score[0]?.Image?.Description)+"â",1)],64)):T("",!0),t.score[0]?.Image?.CopyRight?(u(),h("span",jU,w(o.$t("article.galleryAuthor"))+"Â "+w(t.score[0]?.Image?.CopyRight),1)):T("",!0),t.score[0]?.Image?.CopyRight?(u(),h("span",VU,w(t.score[0]?.Image?.CopyRight)+"Â ",1)):T("",!0),t.score[0]?.Image?.Description?(u(),h(G,{key:3},[_e(w(t.score[0]?.Image?.Description),1)],64)):T("",!0)])])):T("",!0),f("div",{class:"quiz-text",innerHTML:t.score[0]?.RteText},null,8,HU)]))}},zU={key:1,class:"quiz-wrapper"},FU={class:"quiz-bullet"},WU={class:"quiz-title"},GU={key:0,class:"quiz-image"},qU={class:"quiz-image-source"},YU={key:1},KU={class:"question-answer-content"},XU={key:0,class:"question-answer-image"},QU={key:1,class:"question-answer-text"},JU={class:"quiz-input"},ZU=["onUpdate:modelValue","value","name","disabled","onChange"],o_={__name:"DynamicComponentsCustomPersonalityQuiz",props:{question:{type:Object,default:()=>({})},scores:{type:Array,default:()=>[]}},setup(e){const t=e,{$t:n,$addPageToDataLayer:o}=ue(),s=$e(),r=Le(),a=Ye(),l=L(0),c=L(t.question.length),m=L(!1),d=L(!1),p=L(0),_=L(0),g=L([]),b=`quiz-cookie-${s.pageData.article.Document.DocumentId}`,y=`quiz-cookie-score-${s.pageData.article.Document.DocumentId}`,C=L(0),E=L(0),D=L(),v={name:n("common.sponsoredBy"),text:Te(s.pageData.article.Document,"Sponsored by")?.Text,url:Te(s.pageData.article.Document,"Sponsored by URL")?.Text},I=se(()=>v.text||v.url),k=s.pageData.article?.Document?.DocumentTypeAlias==="Storytelling2.0";function S(F){return Jc(Si(F))}function $(F){return ag(Si(F))}function P(){const F=Tn(s.pageData.article.Document,"Quiz").Quiz.Id,Y=s.pageData.article.Document.DocumentId,ie={Answers:[]};return t.question.forEach(ce=>{ce.val&&(ce.Answers.forEach(de=>{ce.val===de.AnswerId&&(p.value=de.AnswerScore!==void 0?de.AnswerScore:0)}),ie.Answers.push({QuizId:F,QuestionId:ce.QuestionId,AnswerId:ce.val,AnswerScore:p.value,DocumentId:Y}))}),ie}function x(F,Y){document.cookie=`${F}=${Y}; path=/`}function A(){let F=0;return P().Answers.forEach(ie=>{const ce=ie.AnswerScore;F+=ce}),F}function N(){for(let F=0;F<t.scores.length;F++){const Y=t.scores[F].FromPoint?t.scores[F].FromPoint:0,{ToPoint:ie}=t.scores[F];if(E.value>=Y&&E.value<=ie)return g.value.push(t.scores[F]),g.value}}function M(){d.value=!0;const F=document.querySelector(".header__content_wrap").offsetHeight,Y=D.value.parentElement.getBoundingClientRect().top+window.scrollY-F-16;if(window.scrollTo({top:Y,behavior:"smooth"}),l.value+1<=c.value&&(C.value=l.value+1,E.value=_.value+A(),x(b,C.value),x(y,E.value)),l.value+1<c.value)l.value++,d.value=!1,a.push({path:r.fullPath,query:{...r.query,quizQuestion:l.value+1}}).catch(()=>{});else{m.value=!0,N();const ie={...r.query};delete ie.quizQuestion,ie.quizResult=!0,a.push({path:r.fullPath,query:ie}).catch(()=>{})}o(s.meta.title),window.googletag.pubads().refresh()}function ee(F){const ie=document.cookie.split(";");for(let ce=0;ce<ie.length;ce++)if(ie[ce].trim().indexOf(`${F}=`)===0)return!0;return!1}function X(F){const Y=document.cookie.split(";");for(let ie=0;ie<Y.length;ie++){const ce=Y[ie].trim();if(ce.startsWith(`${F}=`))return ce.substring(F.length+1)}return null}function me(F){document.cookie=`${F}=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;`}function Q(){const F={...r.query};delete F.quizQuestion,delete F.quizResult,a.push({path:r.path,query:F}).catch(()=>{}),me(b),me(y),l.value=0,C.value=0,E.value=0,_.value=0}return De(()=>{ee(b)&&ee(y)?(l.value=parseInt(X(b),10),_.value=parseInt(X(y),10),l.value<c.value?a.push({path:r.fullPath,query:{...r.query,quizQuestion:l.value+1}}).catch(()=>{}):Q()):Q(),r.fullPath.includes("quizQuestion")||Q()}),Zt(()=>{me(b),me(y)}),(F,Y)=>(u(),h("div",{class:"quiz-content",ref_key:"quizWrapper",ref:D},[!k&&i(I)?(u(),O(i(ys),{key:0,prDataObj:v})):T("",!0),i(m)?T("",!0):(u(),h("div",zU,[(u(!0),h(G,null,pe(t.question,(ie,ce)=>(u(),h("div",{key:ie.QuestionId,class:j({hide:i(l)!==ce})},[f("div",FU,[f("span",null,w(ce+1)+" / "+w(i(c)),1)]),f("h2",WU,w(ie.QuestionText),1),ie?.Image?(u(),h("figure",GU,[R(Be,{image:S(ie?.Image)},null,8,["image"]),f("figcaption",qU,[ie?.Image?.Description?(u(),h(G,{key:0},[_e(w(ie?.Image?.Description)+"â",1)],64)):T("",!0),ie?.Image?.CopyRight?(u(),h("span",YU,w(i(n)("article.galleryAuthor"))+"Â "+w(ie?.Image?.CopyRight),1)):T("",!0)])])):T("",!0),f("div",KU,[(u(!0),h(G,null,pe(ie.Answers,de=>(u(),h("div",{key:de.AnswerId,class:j(["question-answer",{"has-image":de?.Image}
71])},[de?.Image?(u(),h("figure",XU,[R(Be,{image:$(de?.Image)},null,8,["image"])])):T("",!0),de.AnswerText?(u(),h("span",QU,w(de.AnswerText),1)):T("",!0),f("span",JU,[gt(f("input",{type:"radio",class:"quiz-radio","onUpdate:modelValue":V=>ie.val=V,value:de.AnswerId,name:`radio-${ie.QuestionId}`,disabled:i(d),onChange:V=>M()},null,40,ZU),[[Rc,ie.val]])])],2))),128))])],2))),128))])),i(m)?(u(),O(i(n_),{key:2,score:i(g)},null,8,["score"])):T("",!0)],512))}},e8=Object.freeze(Object.defineProperty({__proto__:null,default:o_},Symbol.toStringTag,{value:"Module"})),t8={class:"quiz-answer"},n8={class:"quiz-title"},o8=["innerHTML"],s8={__name:"DynamicComponentsCustomQuizAnswer",props:{data:{type:Object,default:()=>({})}},setup(e){const t=e;return(n,o)=>(u(),h("div",t8,[f("h3",n8,w(n.$t("quiz.explanation")),1),f("div",{class:"quiz-text",innerHTML:t.data?.RteText},null,8,o8)]))}},i8={key:1,class:"quiz-wrapper"},r8={class:"quiz-bullet"},a8={class:"quiz-title"},l8={key:0,class:"quiz-image"},c8={class:"quiz-image-source"},u8={key:1},d8={class:"question-answer-content"},f8={key:0,class:"question-answer-image"},m8={key:1,class:"question-answer-text"},p8={class:"quiz-input"},h8=["onUpdate:modelValue","value","name","disabled","onClick"],s_={__name:"DynamicComponentsCustomKnowledgeQuiz",props:{question:{type:Object,default:()=>({})},scores:{type:Array,default:()=>[]}},setup(e){const t=e,{$t:n,$addPageToDataLayer:o}=ue(),s=$e(),r=Le(),a=Ye(),l=L(0),c=L(t.question.length),m=L(!0),d=L(!1),p=L(null),_=L(!1),g=L(!1),b=L(!1),y=L(),C=L(),E=L([]),D=L(0),v=`quiz-cookie-${s.pageData.article.Document.DocumentId}`,I=`quiz-cookie-score-${s.pageData.article.Document.DocumentId}`,k=L(0),S=L(0),$=Nn(s.pageData.article.Document,n("common.sponsoredBy")),P=se(()=>$.text||$.url),x=s.pageData.article?.Document?.DocumentTypeAlias==="Storytelling2.0";function A(K){return Jc(Si(K))}function N(K){return ag(Si(K))}function M(){const K=Tn(s.pageData.article.Document,"Quiz").Quiz.Id,Z=s.pageData.article.Document.DocumentId;let q=0;const fe={Answers:[]};return t.question.forEach(W=>{if(W.val){const le=W.Answers.find(he=>W.val===he.AnswerId);le&&(W.QuestionScore=W.QuestionScore!==void 0?W.QuestionScore:0,q=le.CorrectAnswer?W.QuestionScore:0),fe.Answers.push({QuizId:K,QuestionId:W.QuestionId,AnswerId:W.val,DocumentId:Z,QuestionScore:q})}}),fe}function ee(K,Z){document.cookie=`${K}=${Z}; path=/`}function X(K,Z){const q=t.question.find(le=>le.QuestionId===K);q&&(p.value=q.Answers.findIndex(le=>le.CorrectAnswer));const fe=q.Answers.find(le=>le.CorrectAnswer),W=document.querySelector(`input[value="${fe.AnswerId}"]`);q.Answers.forEach(le=>{const he=document.querySelector(`input[value="${le.AnswerId}"]`);le.AnswerId===Z.AnswerId&&(le.CorrectAnswer?he.parentElement.parentElement.classList.add("correct"):he.parentElement.parentElement.classList.add("wrong"),fe.AnswerId!==Z.AnswerId&&W.parentElement.parentElement.classList.add("correct"),fe.RteText&&(g.value=!0))}),_.value=!0,m.value=!1,d.value=!0}function me(){let K=0;return M().Answers.forEach(q=>{const fe=q.QuestionScore;K+=fe}),K}function Q(K){const Z=typeof K.FromPoint=="number"?K.FromPoint:0,q=typeof K.ToPoint=="number"?K.ToPoint:0;return Z>q?null:{from:Z,to:q}}function F(){for(let K=0;K<t.scores.length;K++){const Z=Q(t.scores[K]);if(Z){const{from:q,to:fe}=Z;if(S.value>=q&&S.value<=fe)return E.value.push(t.scores[K]),E.value}}}function Y(){if(_.value){if(l.value+1<=c.value&&(k.value=l.value+1,S.value=D.value+me(),ee(v,k.value),ee(I,S.value)),l.value+1<c.value)l.value++,m.value=!0,d.value=!1,_.value=!1,g.value=!1,p.value=null,a.push({path:r.fullPath,query:{...r.query,quizQuestion:l.value+1}}).catch(()=>{});else{b.value=!0,F();const q={...r.query};delete q.quizQuestion,q.quizResult=!0,a.push({path:r.fullPath,query:q}).catch(()=>{})}const K=document.querySelector(".header__content_wrap").offsetHeight,Z=C.value.parentElement.getBoundingClientRect().top+window.scrollY-K-16;window.scrollTo({top:Z,behavior:"smooth"}),o(s.meta.title),window.googletag.pubads().refresh()}}function ie(K){const q=document.cookie.split(";");for(let fe=0;fe<q.length;fe++)if(q[fe].trim().indexOf(`${K}=`)===0)return!0;return!1}function ce(K){const Z=document.cookie.split(";");for(let q=0;q<Z.length;q++){const fe=Z[q].trim();if(fe.startsWith(`${K}=`))return fe.substring(K.length+1)}return null}function de(K){document.cookie=`${K}=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;`}function V(){const K={...r.query};delete K.quizQuestion,delete K.quizResult,a.push({path:r.path,query:K}).catch(()=>{}),de(v),de(I),l.value=0,k.value=0,S.value=0,D.value=0}return De(()=>{ie(v)&&ie(I)?(l.value=parseInt(ce(v),10),D.value=parseInt(ce(I),10),l.value<c.value?a.push({path:r.fullPath,query:{...r.query,quizQuestion:l.value+1}}).catch(()=>{}):V()):V(),r.fullPath.includes("quizQuestion")||V()}),Zt(()=>{de(v),de(I)}),(K,Z)=>(u(),h("div",{class:"quiz-content",ref_key:"quizWrapper",ref:C},[!x&&i(P)?(u(),O(i(ys),{key:0,prDataObj:i($)},null,8,["prDataObj"])):T("",!0),i(b)?T("",!0):(u(),h("div",i8,[(u(!0),h(G,null,pe(t.question,(q,fe)=>(u(),h("div",{key:q.QuestionId,class:j({hide:i(l)!==fe,disabled:i(d)})},[f("div",r8,[f("span",null,w(fe+1)+" / "+w(i(c)),1)]),f("h2",a8,w(q.QuestionText),1),q?.Image?(u(),h("figure",l8,[R(Be,{image:A(q?.Image)},null,8,["image"]),f("figcaption",c8,[q?.Image?.Description?(u(),h(G,{key:0},[_e(w(q?.Image?.Description)+"Â ",1)],64)):T("",!0),q?.Image?.CopyRight?(u(),h("span",u8,w(i(n)("article.galleryAuthor"))+"Â "+w(q?.Image?.CopyRight),1)):T("",!0)])])):T("",!0),f("div",d8,[(u(!0),h(G,null,pe(q.Answers,W=>(u(),h("div",{key:W.AnswerId,class:j(["question-answer",{"has-image":W?.Image}
71])},[W?.Image?(u(),h("figure",f8,[R(Be,{image:N(W?.Image)},null,8,["image"])])):T("",!0),W.AnswerText?(u(),h("span",m8,w(W.AnswerText),1)):T("",!0),f("span",p8,[gt(f("input",{type:"radio",class:"quiz-radio",ref_for:!0,ref_key:"questionAnswer",ref:y,"onUpdate:modelValue":le=>q.val=le,value:W.AnswerId,name:`radio-${q.QuestionId}`,disabled:i(d),onClick:le=>X(q.QuestionId,W)},null,8,h8),[[Rc,q.val]])])],2))),128)),i(g)?(u(),O(i(s8),{key:0,data:q.Answers[i(p)]},null,8,["data"])):T("",!0)])],2))),128)),i(l)+1<=t.question.length-1?(u(),h("span",{key:0,onClick:Z[0]||(Z[0]=q=>Y()),class:j(["quiz-btn",{disabled:i(m)}])},w(i(n)("quiz.nextQuestion")),3)):(u(),h("span",{key:1,onClick:Z[1]||(Z[1]=q=>Y()),class:j(["quiz-btn",{disabled:i(m)}])},w(i(n)("quiz.finishQuiz")),3))])),i(b)?(u(),O(i(n_),{key:2,score:i(E)},null,8,["score"])):T("",!0)],512))}},g8=Object.freeze(Object.defineProperty({__proto__:null,default:s_},Symbol.toStringTag,{value:"Module"})),_8={class:"quiz"},y8={__name:"ArticleElementsQuiz",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,n=t.definition.Quiz.Template==="KnowledgeQuiz"||t.definition.Quiz.Template==="ClientQuiz";return(o,s)=>(u(),h("div",_8,[t.definition.Quiz.Template==="PersonalityQuiz"?(u(),O(i(o_),{key:0,question:t.definition.Quiz.Questions,scores:t.definition.Quiz.Scores},null,8,["question","scores"])):T("",!0),i(n)?(u(),O(i(s_),{key:1,question:t.definition.Quiz.Questions,scores:t.definition.Quiz.Scores},null,8,["question","scores"])):T("",!0)]))}},v8=te(y8,[["__scopeId","data-v-38f7a49c"]]),b8=Object.freeze(Object.defineProperty({__proto__:null,default:v8},Symbol.toStringTag,{value:"Module"})),w8={class:"newsletter-body"},k8={class:"newsletter-body-header__text"},T8={class:"newsletter-body-main"},$8={class:"newsletter-body-main__figure"},S8=["src","alt"],D8={class:"newsletter-body-footer"},C8={class:"newsletter-body-footer__text"},P8={__name:"ArticleTemplatesNewsletter",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,n=$e(),{config:o}=ye().public,s=Le(),r=o.facebookId,a=Te(t.definition.Document,"Preview Image")?.Image;return(l,c)=>{const m=Ze("router-link");return u(),h("div",w8,[R(m,{to:`/${i(s).params.path[0]}`,class:"newsletter-body-header"},{default:z(()=>[c[0]||(c[0]=f("div",{class:"newsletter-body-header__icon"},[f("i",{class:"icon-chevron--left"})],-1)),f("p",k8,w(l.$t("newsletter.checkNewsletters")),1)]),_:1},8,["to"]),R(Et),f("div",T8,[f("figure",$8,[f("img",{class:"newsletter-body-main__img",src:i(a).ImageUrl,alt:i(a).AltText},null,8,S8)])]),f("div",D8,[f("p",C8,w(l.$t("newsletter.share")),1),R(Ot,{"share-link":i(n).pageData.article?.Document?.WebUrl,"share-title":i(n).pageData.article?.Document?.Title,sourceType:"article",contentId:i(n).pageData.article?.Document?.MasterDocumentId,disableComments:!0,"fb-id":i(r)},null,8,["share-link","share-title","contentId","fb-id"])])])}}},x8=te(P8,[["__scopeId","data-v-dc7b1df5"]]),i_=Object.freeze(Object.defineProperty({__proto__:null,default:x8},Symbol.toStringTag,{value:"Module"})),I8={class:"container"},E8={key:0,class:"breaking-news__label is-visible-mobile"},A8={class:"breaking-news__content"},L8={key:0,class:"breaking-news__label is-visible-desktop"},R8={class:"breaking-news__title"},O8={class:"breaking-news__image"},M8={key:0,class:"breaking-news-mini__label is-visible-mobile"},N8={class:"breaking-news-mini__title"},B8={__name:"DynamicComponentsHeadboxBreakingNews",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,{$t:n}=ue(),o=Le(),s=$e().pageData.article,r=L(!1),a=L(!1),l=t.definition?.Properties?.URLSuffix||"";function c(){const p=Te(t.definition?.Documents[0],"Breaking News Label")?.Text||n("labels.breakingNews");return p.length>24?`${p.substring(0,23)}…`:p}const m=c();(o.fullPath==="/"||o.fullPath.startsWith("/?")||o.fullPath.startsWith("/#"))&&(r.value=!0),s!==null&&(a.value=!0);const d=X$(K$(t.definition.Documents[0]));return(p,_)=>{const g=Ze("router-link");return i(a)?T("",!0):(u(),h("section",{key:0,class:j(["breaking-news-section",{"breaking-news-section-mini":!i(r)}])},[f("div",I8,[i(r)?(u(),O(g,{key:0,to:`${p.$createLocalUrl(t.definition.Documents[0]?.WebUrl)}${i(l)}`,class:"breaking-news"},{default:z(()=>[t.definition?.Properties?.showBreakingNewsLabel==="True"?(u(),h("span",E8,[R(Ne,{extraClass:"is-live is-breaking-news",label:i(m),isLive:!0},null,8,["label"])])):T("",!0),f("span",A8,[t.definition?.Properties?.showBreakingNewsLabel==="True"?(u(),h("span",L8,[R(Ne,{extraClass:"is-live is-breaking-news",label:i(m),isLive:!0},null,8,["label"])])):T("",!0),f("span",R8,w(t.definition.Documents[0].Title),1)]),f("span",O8,[f("figure",null,[R(Be,{image:i(d)},null,8,["image"])])])]),_:1},8,["to"])):(u(),O(g,{key:1,to:`${p.$createLocalUrl(t.definition.Documents[0]?.WebUrl)}${i(l)}`,class:"breaking-news-mini"},{default:z(()=>[t.definition?.Properties?.showBreakingNewsLabel==="True"?(u(),h("span",M8,[R(Ne,{extraClass:"is-live is-breaking-news",label:i(m),isLive:!0},null,8,["label"])])):T("",!0),f("span",N8,w(t.definition.Documents[0].Title),1)]),_:1},8,["to"]))])],2))}}},U8=te(B8,[["__scopeId","data-v-b21919f8"]]),j8=Object.freeze(Object.defineProperty({__proto__:null,default:U8},Symbol.toStringTag,{value:"Module"})),V8={key:0,class:"breaking-news-section"},H8={class:"container"},z8={key:0,class:"breaking-news__label is-visible-mobile"},F8={class:"breaking-news__title"},W8={__name:"DynamicComponentsHeadboxBreakingNewsMini",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,{$t:n}=ue(),o=$e().pageData.article,s=L(!1),r=t.definition?.Properties?.URLSuffix||"";function a(){const c=Te(t.definition?.Documents[0],"Breaking News Label")?.Text||n("labels.breakingNews");return c.length>24?`${c.substring(0,23)}…`:c}const l=a();return o!==null&&(s.value=!0),(c,m)=>{const d=Ze("router-link");return i(s)?T("",!0):(u(),h("section",V8,[f("div",H8,[R(d,{to:`${c.$createLocalUrl(t.definition.Documents[0]?.WebUrl)}${i(r)}`,class:"breaking-news"},{default:z(()=>[t.definition?.Properties?.showBreakingNewsLabel==="True"?(u(),h("span",z8,[R(Ne,{extraClass:"is-live is-breaking-news",label:i(l),isLive:!0},null,8,["label"])])):T("",!0),f("span",F8,w(t.definition.Documents[0].Title),1)]),_:1},8,["to"])])]))}}},G8=te(W8,[["__scopeId","data-v-fe692a43"]]),q8=Object.freeze(Object.defineProperty({__proto__:null,default:G8},Symbol.toStringTag,{value:"Module"})),Y8=["href","target","rel"],K8={key:2},Tt={__name:"CommonCardLink",props:{to:{type:String,default:""},rel:{type:String,default:""},target:{type:String,default:"_blank"},urlSuffix:{type:String,default:""},externalUrlSuffix:{type:String,default:""},isExternalArticle:{type:Boolean,default:!1}},setup(e){const t=e,n=t.to!==""&&(t.to.startsWith("http")||t.to.startsWith("https")),o=rn({url:t.to,urlSuffix:t.urlSuffix,externalUrlSuffix:t.externalUrlSuffix,isExternalArticle:n});return(s,r)=>{const a=Ze("router-link");return i(n)?(u(),h("a",{key:0,href:i(o),target:e.target,rel:e.rel},[Ee(s.$slots,"default")],8,Y8)):e.to!==""?(u(),O(a,{key:1,to:i(o),rel:"rel"},{default:z(()=>[Ee(s.$slots,"default")]),_:3},8,["to"])):(u(),h("div",K8,[Ee(s.$slots,"default")]))}}},X8={},Q8={class:"main-container"};function J8(e,t){return u(),h("div",Q8,[...t[0]||(t[0]=[Jo('<div class="loader-container" data-v-67f3ddf5><div class="single-article" data-v-67f3ddf5><div class="skeleton image" data-v-67f3ddf5></div><div class="content" data-v-67f3ddf5><span class="skeleton title row-one" data-v-67f3ddf5></span><span class="skeleton title row-one" data-v-67f3ddf5></span><span class="skeleton title row-two" data-v-67f3ddf5></span></div></div><div class="single-article" data-v-67f3ddf5><div class="skeleton image" data-v-67f3ddf5></div><div class="content" data-v-67f3ddf5><span class="skeleton title row-one" data-v-67f3ddf5></span><span class="skeleton title row-one" data-v-67f3ddf5></span><span class="skeleton title row-two" data-v-67f3ddf5></span></div></div><div class="single-article" data-v-67f3ddf5><div class="skeleton image" data-v-67f3ddf5></div><div class="content" data-v-67f3ddf5><span class="skeleton title row-one" data-v-67f3ddf5></span><span class="skeleton title row-one" data-v-67f3ddf5></span><span class="skeleton title row-two" data-v-67f3ddf5></span></div></div></div>',1)])])}const r_=Object.assign(te(X8,[["render",J8],["__scopeId","data-v-67f3ddf5"]]),{__name:"CommonCardElementsBreakingNewsMegaSkeleton"}),Z8={class:"breaking-news-mega"},ej={class:"main-image"},tj={class:"multimedia-indicators"},nj={class:"content is-title"},oj={class:"title"},sj={class:"content"},ij={key:0,class:"related-news"},rj={class:"related-news-heading"},aj={key:1,class:"extra"},lj={class:"related-image"},cj={class:"related-article-title"},uj={key:2,class:"gradient-left"},dj={key:3,class:"gradient-right"},fj={__name:"DynamicComponentsHeadboxBreakingNewsMega",props:{definition:{type:Object,default:()=>({})}},setup(e){const{$t:t,$createLocalUrl:n,$device:o}
71=ue(),s=e,r=L(0),{config:a}=ye().public,l=L(3);let c=null,m=[];s.definition.Documents&&(c=s.definition.Documents?.[0]),s.definition.Documents?.length>1&&(m=s.definition?.Documents.slice(1));const d=E=>E.DocumentAttributes?.find(D=>D.Name==="External Document URL");function p(E){return ba(va(E))}const _=L(!0),g=Te(c,"Breaking News Label")?.Text,b={slidesPerView:l.value,hideNavigationOnEdges:!0,pagination:!1,itemsToSlide:1,hideObsoleteNavigation:!0,navigation:!1,breakpoints:{1023:{slidesPerView:1.466,itemsToSlide:1,navigation:!1,freeMode:!0}}},y=lg(eS(c));function C(E){r.value=E}return De(()=>{setTimeout(()=>_.value=!1,0)}),(E,D)=>(u(),h("div",Z8,[R(Tt,{to:d(i(c))?.Text||i(n)(i(c)?.WebUrl),"url-suffix":i(Hn)(s.definition?.Properties?.URLSuffix,i(a).utmSource),"external-url-suffix":i(Hn)(s.definition?.Properties?.externalURLSuffix,i(a).utmSource)},{default:z(()=>[f("div",ej,[R(Be,{image:i(y)[0],lazy:!1},null,8,["image"]),R(Ne,{label:i(g)||i(t)("labels.breakingNews"),class:"breaking-news-label","extra-class":"is-live is-breaking-news","is-live":!0},null,8,["label"]),f("div",tj,[i(c).HasVideo?(u(),O(Ne,{key:0,class:"card-label-wrap has-icon is-video","icon-class":"icon-play"})):T("",!0),i(c).HasPhotoGallery?(u(),O(Ne,{key:1,class:"card-label-wrap has-icon is-photo","icon-class":"icon-camera"})):T("",!0)])]),f("div",nj,[f("h2",oj,w(i(c).Title),1)])]),_:1},8,["to","url-suffix","external-url-suffix"]),f("div",sj,[i(m).length?(u(),h("div",ij,[f("div",rj,w(i(t)("common.relatedNews")),1),i(_)?(u(),O(r_,{key:0})):(u(),h("div",aj,[f("div",{class:j(["prev",{"is-disabled":i(r)===0}])},[f("a",{role:"button",onClick:D[0]||(D[0]=v=>C(i(r)-1))})],2),f("div",{class:j(["next",{"is-disabled":i(r)===i(m).length-i(l)}])},[f("a",{role:"button",onClick:D[1]||(D[1]=v=>C(i(r)+1))})],2),R(an,{modelValue:i(r),"onUpdate:modelValue":D[2]||(D[2]=v=>Je(r)?r.value=v:null),options:b,class:"articles-slider"},{default:z(()=>[(u(!0),h(G,null,pe(i(m),v=>(u(),O(zt,{key:v.DocumentId,class:"related-article"},{default:z(()=>[R(Tt,{to:d(v)?.Text||i(n)(v?.WebUrl),class:"related-article-wrapper","url-suffix":i(Hn)(s.definition?.Properties?.URLSuffix,i(a).utmSource),"external-url-suffix":i(Hn)(s.definition?.Properties?.externalURLSuffix,i(a).utmSource)},{default:z(()=>[f("div",lj,[R(Be,{image:p(v),lazy:!1},null,8,["image"])]),f("h3",cj,w(v?.Title),1)]),_:2},1032,["to","url-suffix","external-url-suffix"])]),_:2},1024))),128))]),_:1},8,["modelValue"])])),i(r)>0?(u(),h("div",uj)):T("",!0),i(m).length>3&&i(r)<i(m).length-3?(u(),h("div",dj)):T("",!0)])):T("",!0)]),R(i(Ot),{"share-link":i(c)?.WebUrl,"share-title":i(c).Title,"source-type":"card","content-id":i(c).MasterDocumentId,"aggregated-reactions":i(c).AggregatedReactions,"total-reactions":i(c).TotalReactionCount,"current-visitor-reaction":i(c).CurrentVisitorReaction,"comments-number":i(c).CommentsNumber,"is-mob":i(o).isMobileOrTablet,"fb-id":i(a).facebookId},null,8,["share-link","share-title","content-id","aggregated-reactions","total-reactions","current-visitor-reaction","comments-number","is-mob","fb-id"])]))}},mj=te(fj,[["__scopeId","data-v-de0e65fa"]]),pj=Object.freeze(Object.defineProperty({__proto__:null,default:mj},Symbol.toStringTag,{value:"Module"})),hj={class:"main-image"},gj={class:"multimedia-indicators"},_j={class:"main-content"},yj={key:0,class:"main-label"},vj={class:"main-title"},bj={class:"kicker"},wj={key:0,class:"content"},kj={key:0,class:"related-news-list"},Tj={class:"related-news-heading"},$j={class:"related-article-title"},Sj={key:1,class:"content"},Dj={key:0,class:"related-news"},Cj={class:"related-news-heading"},Pj={class:"related-image"},xj={class:"related-article-title"},Ij={key:0,class:"gradient-left"},Ej={key:1,class:"gradient-right"},Aj={__name:"DynamicComponentsHeadboxBreakingNewsMegaDuo",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,n=L(!0),{$t:o,$createLocalUrl:s,$device:r}=ue(),{config:a}=ye().public;let l=null,c=[];t.definition.Documents&&(l=t.definition.Documents?.[0]),t.definition.Documents?.length>1&&(c=t.definition?.Documents.slice(1));const m=k=>k.DocumentAttributes?.find(S=>S.Name==="External Document URL");function d(k){return ba(va(k))}const p=sS(Z$(l,"Image 16:9 (1008 Ã 567px)","Image 3:4 (592 Ã 789px)"));function _(){const k=Te(l,"Breaking News Label")?.Text||o("labels.breakingNews");return k.length>35?`${k.substring(0,34)}…`:k}const g=_(),b=Te(l,"Kicker")?.Text,y=Te(l,"Remaining Title")?.Text,C=Te(l,"Label")?.Text,E=Te(l,"Visual Style")?.Text==="alternative",D=L(0),v={slidesPerView:3,hideNavigationOnEdges:!0,pagination:!1,itemsToSlide:1,hideObsoleteNavigation:!0},I=se(()=>`${100/v.slidesPerView}%`);return De(()=>{setTimeout(()=>n.value=!1,0)}),(k,S)=>(u(),h("div",{class:j(["breaking-news-mega-duo",{alternative:E}])},[R(Tt,{class:"main-wrapper-link",to:m(i(l))?.Text||i(s)(i(l)?.WebUrl),"url-suffix":i(Hn)(t.definition?.Properties?.URLSuffix,i(a).utmSource),"external-url-suffix":i(Hn)(t.definition?.Properties?.externalURLSuffix,i(a).utmSource)},{default:z(()=>[f("div",hj,[R(Be,{image:i(p)[0],lazy:!1},null,8,["image"]),R(Ne,{class:"breaking-news-label","extra-class":"is-live is-breaking-news",label:i(g),"is-live":!0},null,8,["label"]),f("div",gj,[i(l).HasVideo?(u(),O(Ne,{key:0,class:"card-label-wrap has-icon
71is-video","icon-class":"icon-play"})):T("",!0),i(l).HasPhotoGallery?(u(),O(Ne,{key:1,class:"card-label-wrap has-icon is-photo","icon-class":"icon-camera"})):T("",!0)])]),f("div",_j,[i(C)?(u(),h("div",yj,w(i(C)),1)):T("",!0),f("h2",vj,[f("span",bj,w(i(b)),1),_e(" "+w(i(y)||i(l).Title),1)])])]),_:1},8,["to","url-suffix","external-url-suffix"]),i(r).isMobileOrTablet?(u(),h("div",wj,[i(c).length?(u(),h("div",kj,[f("div",Tj,w(i(o)("common.relatedNews")),1),(u(!0),h(G,null,pe(i(c).slice(0,5),$=>(u(),h("div",{key:$.DocumentId,class:"related-article-list"},[S[1]||(S[1]=f("span",{class:"list-bullet"},null,-1)),R(Tt,{to:m($)?.Text||i(s)($?.WebUrl),class:"related-article-wrapper","url-suffix":i(Hn)(t.definition?.Properties?.URLSuffix,i(a).utmSource),"external-url-suffix":i(Hn)(t.definition?.Properties?.externalURLSuffix,i(a).utmSource)},{default:z(()=>[f("h3",$j,w($?.Title),1)]),_:2},1032,["to","url-suffix","external-url-suffix"])]))),128))])):T("",!0)])):(u(),h("div",Sj,[i(c).length?(u(),h("div",Dj,[f("div",Cj,w(i(o)("common.relatedNews")),1),R(an,{modelValue:i(D),"onUpdate:modelValue":S[0]||(S[0]=$=>Je(D)?D.value=$:null),options:v,class:"articles-slider"},{default:z(()=>[(u(!0),h(G,null,pe(i(c),$=>(u(),O(zt,{key:$.DocumentId,class:"related-article",style:Se({width:i(I)})},{default:z(()=>[R(Tt,{class:"related-article-wrapper",to:m($)?.Text||i(s)($?.WebUrl),"url-suffix":i(Hn)(t.definition?.Properties?.URLSuffix,i(a).utmSource),"external-url-suffix":i(Hn)(t.definition?.Properties?.externalURLSuffix,i(a).utmSource)},{default:z(()=>[f("div",Pj,[R(Be,{image:d($),lazy:!1},null,8,["image"])]),f("h3",xj,w($?.Title),1)]),_:2},1032,["to","url-suffix","external-url-suffix"])]),_:2},1032,["style"]))),128))]),_:1},8,["modelValue"]),i(D)>0?(u(),h("div",Ij)):T("",!0),i(c).length>3&&i(D)<i(c).length-3?(u(),h("div",Ej)):T("",!0)])):T("",!0)])),R(i(Ot),{"share-link":i(l)?.WebUrl,"share-title":i(l).Title,"source-type":"card","content-id":i(l).MasterDocumentId,"aggregated-reactions":i(l).AggregatedReactions,"total-reactions":i(l).TotalReactionCount,"current-visitor-reaction":i(l).CurrentVisitorReaction,"comments-number":i(l).CommentsNumber,"is-mob":i(r).isMobileOrTablet,"fb-id":i(a).facebookId},null,8,["share-link","share-title","content-id","aggregated-reactions","total-reactions","current-visitor-reaction","comments-number","is-mob","fb-id"])],2))}},Lj=te(Aj,[["__scopeId","data-v-c74bad57"]]),Rj=Object.freeze(Object.defineProperty({__proto__:null,default:Lj},Symbol.toStringTag,{value:"Module"}));async function hu(e){try{return(await $fetch(`/v3api/document?docId=${e}`)).data?.DocumentElements?.find(n=>n.Name==="External Document URL")?.Text}catch(t){console.log(t)}}const Oj={class:"card-related-articles"},Pa={__name:"CardTypesBaseCardsBaseCardB",props:Da(),setup(e){const t=e,n=t.link.startsWith("https")||t.link.startsWith("http"),o=se(()=>t.showEngagementBar&&t.documentData.DocumentTypeAlias!=="ExternalArticle"),s=t.documentData?.DocumentTypeAlias==="ExternalArticle",r=se(()=>t.showRelatedNews&&t.documentData.RelatedNews),a=Te(t.documentData,"Disable Comments And Reactions")?.Text==="true";async function l(){if(!s||t.link)return;const c=window.open("about:blank","_blank"),m=await hu(t.documentData.DocumentId);m&&c&&(c.location.href=m)}return(c,m)=>(u(),h("div",{class:j(["card",t.extraClass]),onClick:l},[R(Tt,{class:"card-link",to:c.link,rel:i(n)?"nofollow":"",urlSuffix:c.urlSuffix,externalUrlSuffix:c.externalUrlSuffix,isExternalArticle:t.documentData.DocumentTypeAlias==="ExternalArticle"},{default:z(()=>[Ee(c.$slots,"header"),Ee(c.$slots,"labels"),f("div",{class:j(["card-title",{"external-article":t.documentData.DocumentTypeAlias==="ExternalArticle"}])},[Ee(c.$slots,"developing-header"),Ee(c.$slots,"title")],2),Ee(c.$slots,"image"),Ee(c.$slots,"description"),Ee(c.$slots,"developing"),f("div",Oj,[Ee(c.$slots,"related")]),Ee(c.$slots,"sponsor"),Ee(c.$slots,"how-to"),i(o)&&!i(r)?Ee(c.$slots,"engagement-bar",{key:0},()=>[R(Ot,{"share-link":t.documentData?.WebUrl,"share-title":t.documentData.Title,sourceType:"card",contentId:t.documentData.MasterDocumentId,aggregatedReactions:t.documentData.AggregatedReactions,totalReactions:t.documentData.TotalReactionCount,currentVisitorReaction:t.documentData.CurrentVisitorReaction,commentsNumber:t.documentData.CommentsNumber,"fb-id":t.fbId,"is-mob":t.isMob,shareVisible:t.engageShareVisible,commentActionVisible:t.engageCommentActionVisible,numberOfCommentsVisible:t.engageNumberOfCommentsVisible,reactVisible:t.engageReactVisible,disableComments:a},null,8,["share-link","share-title","contentId","aggregatedReactions","totalReactions","currentVisitorReaction","commentsNumber","fb-id","is-mob","shareVisible","commentActionVisible","numberOfCommentsVisible","reactVisible"])]):T("",!0)]),_:3},8,["to","rel","urlSuffix","externalUrlSuffix","isExternalArticle"]),Ee(c.$slots,"related-news"),i(o)&&i(r)?Ee(c.$slots,"engagement-bar",{key:0}
71,()=>[R(Ot,{"share-link":t.documentData?.WebUrl,"share-title":t.documentData.Title,sourceType:"card",contentId:t.documentData.MasterDocumentId,aggregatedReactions:t.documentData.AggregatedReactions,totalReactions:t.documentData.TotalReactionCount,currentVisitorReaction:t.documentData.CurrentVisitorReaction,commentsNumber:t.documentData.CommentsNumber,"fb-id":t.fbId,"is-mob":t.isMob,shareVisible:t.engageShareVisible,commentActionVisible:t.engageCommentActionVisible,numberOfCommentsVisible:t.engageNumberOfCommentsVisible,reactVisible:t.engageReactVisible,disableComments:a},null,8,["share-link","share-title","contentId","aggregatedReactions","totalReactions","currentVisitorReaction","commentsNumber","fb-id","is-mob","shareVisible","commentActionVisible","numberOfCommentsVisible","reactVisible"])]):T("",!0)],2))}},Mj={class:"card-sponsor-wrap"},Nj={class:"card-sponsor-name"},Bj={__name:"CommonCardElementsCardSponsor",props:{label:{type:String,default:""},brandName:{type:String,default:""}},setup(e){const t=e;return(n,o)=>(u(),h("span",Mj,[f("strong",null,w(t.label),1),o[0]||(o[0]=_e()),f("span",Nj,w(t.brandName),1)]))}},yn=te(Bj,[["__scopeId","data-v-4546cea5"]]),Uj={class:"card-gallery"},jj={class:"gallery-block"},Vj={class:"gallery-block__large"},Hj={class:"gallery-block__right"},zj={class:"gallery-block__small"},Fj={class:"btn"},Wj={__name:"CommonCardElementsCardGalleryContent",props:{images:{type:Array,default:()=>[{ImageUrl:"",ImageAlt:""}]},galleryCount:{type:String,default:""},galleryPosterPhoto:{type:Object,default:null}},setup(e){const t=e;return(n,o)=>{const s=Sh;return u(),h("div",Uj,[f("div",jj,[f("figure",Vj,[R(s,null,{default:z(()=>[R(Be,{image:t.galleryPosterPhoto||t.images?.[0]},null,8,["image"])]),_:1}),t.galleryCount?(u(),O(Ne,{key:0,class:"card-label-wrap has-icon is-photo",label:"1/"+t.galleryCount,iconClass:"icon-camera"},null,8,["label"])):T("",!0)]),f("div",Hj,[f("figure",zj,[R(Be,{image:t.images?.[1]},null,8,["image"])]),f("span",Fj,w(n.$t("common.viewGallery")),1)])])])}}},Gj={class:"card-story__item"},qj={class:"card-story__figure"},Yj={class:"card-story__desc"},Kj={class:"card-story__item"},Xj={class:"card-story__figure"},Qj={class:"card-story__desc"},Jj={class:"card-story__item_link"},Zj={__name:"CommonCardElementsCardSwipeabble",props:{images:{type:Array,default:()=>[{ImageUrl:"",ImageAlt:""}]},galleryCount:{type:String,default:""}},setup(e){const t=e,{$device:n}=ue(),o=L(!0);function s(l,c){l.classList.contains("card-link")&&(l.style.pointerEvents=c)}function r(l){o.value=!1;const c=l.target.parentElement.parentElement.parentElement;s(c,"none")}function a(l){o.value=!0;const c=l.target.parentElement.parentElement.parentElement;s(c,"unset")}return(l,c)=>{const m=$n("dragscroll");return gt((u(),h("div",{class:j(["card-story is-grab",[{"is-grabbing":!i(o)},{"is-scroll":!i(n).isMobileOrTablet}]]),onDragscrollstart:c[0]||(c[0]=d=>r(d)),onDragscrollendCapture:c[1]||(c[1]=He(d=>a(d),["stop","prevent"]))},[f("div",Gj,[f("figure",qj,[R(Be,{image:e.images?.[0]},null,8,["image"]),e.images.length>1?(u(),O(Ne,{key:0,class:"card-label-wrap has-icon is-photo",label:"1/"+e.images.length,iconClass:"icon-camera"},null,8,["label"])):T("",!0)]),f("div",Yj,[f("span",null,w(e.images?.[0]?.CopyRight),1),_e(" "+w(e.images[0]?.Description),1)])]),f("div",Kj,[f("figure",Xj,[R(Be,{image:e.images?.[1]},null,8,["image"]),e.images.length>1?(u(),O(Ne,{key:0,class:"card-label-wrap has-icon is-photo",label:"2/"+t.galleryCount,iconClass:"icon-camera"},null,8,["label"])):T("",!0)]),f("div",Qj,[f("span",null,w(e.images?.[1]?.CopyRight),1),_e(" "+w(e.images?.[1]?.De
71scription),1)])]),f("div",Jj,[c[2]||(c[2]=f("i",{class:"icon-arrow--right"},null,-1)),f("span",null,w(l.$t("storyInPictures.showAll")),1)])],34)),[[m,!i(n).isMobileOrTablet]])}}},e3={class:"card-multimedia card-multimedia-wrap"},t3={key:0},n3={class:"multimedia-icon-wrapper"},o3={key:1},s3={class:"multimedia-icon-wrapper"},i3={key:0,class:"multimedia-icon-wrapper"},r3={__name:"CommonCardElementsCardMultimedia",props:{documentType:{type:String,default:""},lazyLoadImage:{type:Boolean,default:!0},images:{type:Array,default:()=>[]},videoDuration:{type:String,default:""},showGalleryIcon:{type:Boolean,default:!1},showVideoIcon:{type:Boolean,default:!1},showLiveLabel:{type:Boolean,default:!1},galleryCount:{type:String,default:""},ignoreDocumentType:{type:Boolean,default:!1},galleryPosterPhoto:{type:Object,default:null}},setup(e){const t=e;function n(o){return t.images.length===2&&o===1||t.images.length===1&&o===0}if(!t.lazyLoadImage&&t.images?.[0]?.variations){const o=ig(t.images[0].variations);o.length&&Mn({link:o})}return(o,s)=>(u(),h("div",e3,[t.documentType==="PhotoGallery"&&!t.ignoreDocumentType?(u(),O(Wj,{key:0,"gallery-count":t.galleryCount,images:t.images,"gallery-poster-photo":t.galleryPosterPhoto},null,8,["gallery-count","images","gallery-poster-photo"])):t.documentType==="StoryInPictures"&&!t.ignoreDocumentType?(u(),O(Zj,{key:1,"gallery-count":t.galleryCount,images:t.images},null,8,["gallery-count","images"])):(u(),h(G,{key:2},[t.documentType==="VideoStory"||t.documentType==="Video"?(u(),h("figure",t3,[R(Be,{image:e.images[0],lazy:e.lazyLoadImage,fetchPriority:e.lazyLoadImage?"":"high"},null,8,["image","lazy","fetchPriority"]),f("div",n3,[R(Ne,{class:"card-label-wrap has-icon is-video",label:t.videoDuration,"icon-class":"icon-play"},null,8,["label"])])])):t.documentType==="Storytelling"?(u(),h("figure",o3,[e.images?(u(),O(Be,{key:1,image:e.images[0],lazy:e.lazyLoadImage,fetchPriority:e.lazyLoadImage?"":"high"},null,8,["image","lazy","fetchPriority"])):(u(),O(Be,{key:0,image:e.images,lazy:e.lazyLoadImage,fetchPriority:e.lazyLoadImage?"":"high"},null,8,["image","lazy","fetchPriority"])),f("div",s3,[t.showVideoIcon?(u(),O(Ne,{key:0,class:"card-label-wrap has-icon is-video","icon-class":"icon-play"})):T("",!0),e.showGalleryIcon?(u(),O(Ne,{key:1,class:"card-label-wrap has-icon is-photo","icon-class":"icon-camera"})):T("",!0)])])):(u(!0),h(G,{key:2},pe(e.images,(r,a)=>(u(),h("figure",{key:a,class:j({"is-half":e.images.length===2})},[R(Be,{image:r,lazy:e.lazyLoadImage,fetchPriority:e.lazyLoadImage?"":"high"},null,8,["image","lazy","fetchPriority"]),n(a)?(u(),h("div",i3,[t.showVideoIcon?(u(),O(Ne,{key:0,class:"card-label-wrap has-icon is-video","icon-class":"icon-play"})):T("",!0),e.showGalleryIcon?(u(),O(Ne,{key:1,class:"card-label-wrap has-icon is-photo","icon-class":"icon-camera"})):T("",!0)])):T("",!0),e.showLiveLabel?(u(),O(Ne,{key:1,class:"card-labels-wrap","extra-class":"is-live is-sport",label:o.$t("labels.live"),"is-live":!0},null,8,["label"])):T("",!0)],2))),128))],64))]))}},Bo=te(r3,[["__scopeId","data-v-67c80ee5"]]),a3={class:"card-related-articles-wrap"},l3={class:"related-article__header"},c3={class:"related-article__title"},u3={class:"content-slide-btn btn"},d3={__name:"CommonCardElementsCardRelatedArticles",props:{relatedArticles:{type:Array,default:()=>[]},isSpecial:{type:Boolean,default:!1}},setup(e){const t=e;function n(s){return s?.length>20?`${s.substring(0,19)}…`:s}const o=L({gallery:!1,slidesPerView:2.4838,hideNavigationOnEdges:!0,pagination:!1,breakpoints:{1023:{slidesPerView:2.4838,gallery:!0}}});return(s,r)=>(u(),h("div",a3,[R(an,{options:i(o),class:"articles-slider"},{default:z(()=>[(u(!0),h(G,null,pe(t.relatedArticles,a=>(u(),O(zt,{key:a.DocumentId,class:"related-article"},{default:z(()=>[f("span",l3,[R(Ne,{class:"is-secondary",label:n(a.Label||a.Section)},null,8,["label"]),R(Ne,{class:"is-secondary-alt",label:a.PublishedDate},null,8,["label"])]),f("h3",c3,w(a.Title),1),R(Et)]),_:2},1024))),128)),e.isSpecial?(u(),O(zt,{key:0,class:"content-slide-btn-wrap"},{default:z(()=>[f("a",u3,w(s.$t("common.viewAllNews")),1)]),_:1})):T("",!0)]),_:1},8,["options"])]))}},gu=te(d3,[["__scopeId","data-v-08e57030"]]),f3={class:"card-cta"},m3=["href"],p3={key:2,role:"button",class:"btn"},fi={__name:"CommonCardElementsCardCta",props:{label:{type:String,default:""},link:{type:String,default:""}},setup(e){const t=e,n=t.link.startsWith("https")||t.link.startsWith("http"),o=t.link.startsWith("https")||t.link.startsWith("http");return(s,r)=>{const a=Ze("router-link");return u(),h("div",f3,[e.link&&!i(o)?(u(),O(a,{key:0,class:"btn",to:e.link,rel:i(n)?"nofollow":""},{default:z(()=>[_e(w(e.label),1)]),_:1},8,["to","rel"])):e.link?(u(),h("a",{key:1,href:e.link,target:"_blank",class:"btn"},w(e.label),9,m3)):(u(),h("span",p3,w(e.label),1))])}}}
71,h3={class:"card-how-to"},g3={__name:"CommonCardElementsCardHowTo",props:{steps:{type:Array,default:()=>[]},hasMoreSteps:{type:Boolean,default:!1},ctaLabel:{type:String,default:""}},setup(e){const t=e;return(n,o)=>(u(),h("div",h3,[f("ol",null,[(u(!0),h(G,null,pe(t.steps,s=>(u(),h("li",{key:s},[f("span",null,w(s),1)]))),128))]),e.hasMoreSteps?(u(),O(fi,{key:0,label:e.ctaLabel},null,8,["label"])):T("",!0)]))}},a_=te(g3,[["__scopeId","data-v-87f8416e"]]),_3={class:"card-labels-wrap"},y3={key:0,class:"card-header"},v3={key:1,class:"is-visible-desktop"},b3={class:"card-multimedia__content"},w3={key:2,class:"alternative-card-title-labels"},k3={class:"card-labels-wrap"},T3={class:"text-with-bg"},$3={class:"card-how-to-extra is-visible-mobile"},S3={key:0,class:"info"},D3={key:1,class:"info"},C3={key:0},P3={__name:"CardTypesNewsCardL",props:{..._o(),lighterTitle:{type:Boolean,default:!1},isSidebar:{type:Boolean,default:!1},isTextInside:{type:Boolean,default:!1}},setup(e){const t=e,{config:n}=ye().public,o=n.facebookId,{$device:s,$t:r,$getColorByCategory:a}=ue(),l=Te(t.documentData,"totalTime")?.Text?.trim(),c=/^\d+$/.test(l||"")?parseInt(l,10):NaN,m=Te(t.documentData,"Trajanje")?.Text||Qc(c,r("recipe.minut"),r("recipe.minutes")),d=Te(t.documentData,"Disable Comments And Reactions")?.Text==="true",p=Nn(t.documentData,r("common.sponsoredBy"));let _=t.ignoreDocumentType&&t.documentData.DocumentTypeAlias==="HowTo"?"story-how-to":!t.ignoreDocumentType&&Ca(t.documentData.DocumentTypeAlias);p.hasSponsoredBlock&&(_=`${_} sponsored`),t.isTextInside&&(_=`${_} l-alternative`);function g(){let A=t.isSidebar?"sidebar":"feed";return A==="feed"&&(t.documentData.DocumentTypeAlias==="StoryInPictures"&&(A="storyInPictures"),t.documentData.DocumentTypeAlias==="PhotoGallery"&&(A="photoGallery"),t.documentData.DocumentTypeAlias==="Storytelling"&&(A="storytelling")),J$(oc(t.documentData,!1),A)}const b=g(),y=Fs(Tn(t.documentData,"Video")?.Video?.Duration);function C(){let A=0;return t.documentData?.DocumentElements?.forEach(N=>{(N?.Name==="howto"||Wn(N?.Name)==="recipesteps")&&N?.Type!=="IndexPageElement"&&N?.StoryUpdateElements&&A++}),A}const E=Vi(t.documentData),D=yo(t.documentData),v=C();function I(){if(t.documentData.DocumentTypeAlias!=="Quiz")return ln(t.documentData.LastEditDate,t.documentData.LastEditDateShortFormatted,r("timeBefore"))}const k=I();function S(){const A=t.documentData?.DocumentElements,N=[];return A?.forEach(M=>{if(M?.Name==="How to"||Wn(M?.Name)==="recipesteps"){const ee=M.StoryUpdateElements?.[0].Text;if(ee){const X=ee.substring(ee.indexOf(">")+1,ee.indexOf("</"));X.length&&N.push(X)}}}),N.slice(0,3)}const $=Te(t.documentData,"notLive")?.Text,P=!!t.documentData?.DocumentElements&&!$,x=a(t.documentData.RootMenuItemId);return(A,N)=>(u(),O(Pa,{class:j(["card-wrap type-news-card-l",[i(_),{"has-related-articles":t.documentData.RelatedArticles}]]),documentData:t.documentData,link:A.$getLink(t.documentData),showEngagementBar:t.showEngagementBar,engageShareVisible:t.engageShareVisible,engageCommentActionVisible:t.engageCommentActionVisible,engageNumberOfCommentsVisible:t.engageNumberOfCommentsVisible,engageReactVisible:t.engageReactVisible,isMob:i(s).isMobileOrTablet,urlSuffix:A.urlSuffix,externalUrlSuffix:A.externalUrlSuffix},Sn({_:2},[t.documentData.DocumentTypeAlias==="HowTo"&&!t.ignoreDocumentType?{name:"header",fn:z(()=>[R(Mt,{headline:i(r)("article.howTo"),isLive:!1},null,8,["headline"])]),key:"0"}:void 0,t.ignoreDocumentType&&t.documentData.DocumentTypeAlias!=="PhotoGallery"&&t.documentData.DocumentTypeAlias!=="DevelopingStory"&&!e.isTextInside?{name:"labels",fn:z(()=>[f("div",_3,[R(wt,{label:i(D),isLocked:t.documentData.Locked,hasSponsor:i(p).hasSponsoredBlock,documentType:t.documentData.DocumentTypeAlias==="StoryPerseus"?null:t.documentData.DocumentTypeAlias,publishedAgo:i(k),"show-how-to-info":t.documentData.DocumentTypeAlias==="HowTo",showTime:t.showTime,documentData:t.documentData,labelColorClass:i(x)},null,8,["label","isLocked","hasSponsor","documentType","publishedAgo","show-how-to-info","showTime","documentData","labelColorClass"])])]),key:"1"}:void 0,e.isTextInside?void 0:{name:"title",fn:z(()=>[!t.ignoreDocumentType&&t.documentData.DocumentTypeAlias==="PhotoGallery"||t.documentData.DocumentTypeAlias==="DevelopingStory"?(u(),h("div",y3,[R(wt,{label:i(D),isLocked:t.documentData.Locked,hasSponsor:i(p).hasSponsoredBlock,documentType:t.documentData.DocumentTypeAlias,publishedAgo:i(k),showTime:t.showTime,labelColorClass:i(x)},null,8,["label","isLocked","hasSponsor","documentType","publishedAgo","showTime","labelColorClass"])])):T("",!0),f("h2",{class:j(["title",{isTitleLighter:e.lighterTitle}])},w(t.documentData.Title),3),t.documentData.Live||t.documentData.DocumentTypeAlias==="HowTo"&&!t.ignoreDocumentType?(u(),h("p",v3,w(t.documentData.ShortDescription),1)):T("",!0),t.documentData.DocumentTypeAlias==="PhotoGallery"&&!t.ignoreDocumentType&&!i(s).isMobileOrTablet&&i(p).hasSponsoredBlock?(u(),O(yn,{key:2,label:i(p).name,brandName:i(p).text,class:j({isGallerySp
71onsorBar:t.documentData.DocumentTypeAlias==="PhotoGallery",isClampText:t.documentData.DocumentTypeAlias!=="HowTo"&&t.documentData.DocumentTypeAlias!=="PhotoGallery"&&!t.ignoreDocumentType})},null,8,["label","brandName","class"])):T("",!0),!t.ignoreDocumentType&&t.showEngagementBar&&(t.documentData.DocumentTypeAlias==="DevelopingStory"||t.documentData.DocumentTypeAlias==="PhotoGallery"||t.documentData.DocumentTypeAlias==="HowTo")?(u(),O(Ot,{key:3,"share-link":t.documentData?.WebUrl,"share-title":t.documentData.Title,sourceType:"card",contentId:t.documentData.MasterDocumentId,aggregatedReactions:t.documentData.AggregatedReactions,totalReactions:t.documentData.TotalReactionCount,currentVisitorReaction:t.documentData.CurrentVisitorReaction,commentsNumber:t.documentData.CommentsNumber,shareVisible:t.engageShareVisible,"fb-id":i(o),commentActionVisible:t.engageCommentActionVisible,numberOfCommentsVisible:t.engageNumberOfCommentsVisible,reactVisible:t.engageReactVisible,disableComments:d},null,8,["share-link","share-title","contentId","aggregatedReactions","totalReactions","currentVisitorReaction","commentsNumber","shareVisible","fb-id","commentActionVisible","numberOfCommentsVisible","reactVisible"])):T("",!0)]),key:"2"},t.showImage?{name:"image",fn:z(()=>[f("div",b3,[t.documentData.DocumentTypeAlias!=="StoryPerseus"?(u(),O(wt,{key:0,isLive:t.documentData.Live,showTime:t.showTime},null,8,["isLive","showTime"])):(u(),O(wt,{key:1,documentType:"StoryPerseus",showTime:t.showTime},null,8,["showTime"])),R(Bo,{documentType:t.documentData.DocumentTypeAlias,ignoreDocumentType:t.ignoreDocumentType,lazyLoadImage:t.lazyLoadImage,images:i(b),videoDuration:i(y),showGalleryIcon:t.documentData.HasPhotoGallery,showVideoIcon:t.documentData.HasVideo,galleryCount:i(E),"show-live-label":t.documentData.DocumentTypeAlias==="DevelopingStory"&&i(P)},null,8,["documentType","ignoreDocumentType","lazyLoadImage","images","videoDuration","showGalleryIcon","showVideoIcon","galleryCount","show-live-label"]),e.isTextInside?(u(),h("div",w3,[f("div",k3,[R(wt,{label:i(D),isLocked:t.documentData.Locked,hasSponsor:i(p).hasSponsoredBlock,documentType:t.documentData.DocumentTypeAlias==="StoryPerseus"?null:t.documentData.DocumentTypeAlias,publishedAgo:i(k),"show-how-to-info":t.documentData.DocumentTypeAlias==="HowTo",showTime:t.showTime,documentData:t.documentData,labelColorClass:i(x)},null,8,["label","isLocked","hasSponsor","documentType","publishedAgo","show-how-to-info","showTime","documentData","labelColorClass"])]),f("h2",{class:j(["title",{isTitleLighter:e.lighterTitle}])},[f("span",T3,w(t.documentData.Title),1)],2)])):T("",!0)])]),key:"3"}:void 0,A.showSponsoredLabel&&i(p).hasSponsoredBlock?{name:"sponsor",fn:z(()=>[t.documentData.DocumentTypeAlias!=="PhotoGallery"||i(s).isMobileOrTablet?(u(),O(yn,{key:0,label:i(p).name,brandName:i(p).text,class:"isClampText"},null,8,["label","brandName"])):T("",!0)]),key:"4"}:void 0,t.documentData.RelatedArticles?{name:"related",fn:z(()=>[R(gu,{relatedArticles:t.documentData.RelatedArticles},null,8,["relatedArticles"])]),key:"5"}:void 0,t.documentData.DocumentTypeAlias==="HowTo"&&!t.ignoreDocumentType?{name:"how-to",fn:z(()=>[f("div",$3,[i(v)?(u(),h("div",S3,[N[0]||(N[0]=f("i",{class:"icon-list","aria-hidden":"true"},null,-1)),f("span",null,w(i(v))+" "+w(i(r)("common.steps")),1)])):T("",!0),i(m)?(u(),h("div",D3,[R(Et),N[1]||(N[1]=f("i",{class:"icon-time","aria-hidden":"true"},null,-1)),i(m)?(u(),h("span",C3,w(i(m)),1)):T("",!0)])):T("",!0)]),R(a_,{steps:S(),hasMoreSteps:!0,ctaLabel:`Vidi sve korake (${i(v)})`},null,8,["steps","ctaLabel"])]),key:"6"}:void 0]),1032,["class","documentData","link","showEngagementBar","engageShareVisible","engageCommentActionVisible","engageNumberOfCommentsVisible","engageReactVisible","isMob","urlSuffix","externalUrlSuffix"]))}},x3=te(P3,[["__scopeId","data-v-ceaf5c5f"]]),I3={key:0,class:"section"},E3={class:"container"},A3={class:"mega"},L3={__name:"DynamicComponentsHeadboxMega",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,{siteBanners:n}=ye().public,o=os(n,t.definition?.Properties?.DFPBannersInLIst),s=JSON.stringify(o)!=="{}",r=Object.values(o)[0],a=t.definition?.Properties?.isTextInside==="True",l=t.definition?.Properties?.URLSuffix||"",c=t.definition?.Properties?.externalURLSuffix||"";return(m,d)=>t.definition.Documents?(u(),h("section",I3,[f("div",E3,[f("div",A3,[(u(),O(x3,{key:t.definition.Documents[0].DocumentId,documentData:t.definition.Documents[0],ignoreDocumentType:!0,showSponsoredLabel:!0,isTopCenteredImg:t.definition.Documents?.[0].DocumentTypeAlias==="PhotoGallery"||t.definition.Documents?.[0].DocumentTypeAlias==="StoryInPictures",isTextInside:a,urlSuffix:i(l),externalUrlSuffix:i(c),lazyLoadImage:!1},null,8,["documentData","isTopCenteredImg","urlSuffix","externalUrlSuffix"]))])]),s?(u(),O(gn,{key:0,definition:i(r)},null,8,["definition"])):T("",!0)])):T("",!0)}},R3=te(L3,[["__scopeId","data-v-6ff85acd"]]),O3=Object.freeze(Object.defineProperty({__proto__:null,default:R3},Symbol.toStringTag,{value:"Module"})),M3={class:"card-related-news__title"},N3={key:0,class:"card-related-news__list"},B3=["href"],U3={key:2,class:"card-related-news__divider is-vertical"},j3={key:3,class:"card-related-news__divider is-horizontal"},V3={key:1,class:"card-related-news__slider"},H3={class:"related-image"},z3={class:"related-article-title"},F3=["href"],W3={class:"related-image"},G3={class:"related-article-title"},q3={key:2,class:"gradient-left"},Y3={key:3,class:"gradient-right"},K3={__name:"CommonCardElementsCardRelatedNews",props:{relatedNews:{type:Object,default:()=>({})},urlSuffix:{type:String,default:""},externalUrlSuffix:{type:String,default:""}},setup(e){const t=e,o=t.relatedNews[0]?.CardType==="Related Bullet"?"list":"slider",s=t?.relatedNews?.slice(0,5),r=L(0);function a(D){return ba(va(D))}const l={slidesPerView:2,hideNavigationOnEdges:!0,pagination:!1,itemsToSlide:1,hideObsoleteNavigation:!0,breakpoints:{1023:{slidesPerView:1.466,itemsToSlide:1,navigation:!1,freeMode:!0}}},c=L(!0),{$createLocalUrl:m}=ue(),{config:d}=ye().public;function p(D){let v=D?.WebUrl||"";if(D?.DocumentTypeAlias==="ExternalArticle"){const I=D?.DocumentAttributes.find(k=>k.Name==="External Document URL");I?.Text&&(v=I.Text)}return v}function _(D){return D&&(D.startsWith(d.siteUrl)||D.startsWith("/"))}
71function g(D){return!D||_(D)||D.startsWith("http://")||D.startsWith("https://")?D:`https://${D}`}function b(D){return/\?/i.test(D)}function y({isExternal:D,baseUrl:v}){return b(v)?"":D?t.externalUrlSuffix||t.urlSuffix||"":t.urlSuffix||""}function C(D){const v=p(D);return _(v)}function E(D){let v=p(D);if(!v)return"";v=g(v);const I=_(v),k=!I,S=I?m(v):v,$=y({isExternal:k,baseUrl:S});return $?`${S}${$}`:S}return De(()=>{setTimeout(()=>c.value=!1,0)}),(D,v)=>{const I=Kn;return u(),h("div",{class:j(["card-related-news__wrap",{"is-slider":i(o)==="slider","is-list":i(o)==="list"}])},[f("div",M3,w(D.$t("common.relatedNews")),1),i(o)==="list"?(u(),h("div",N3,[(u(!0),h(G,null,pe(i(s),(k,S)=>(u(),h("div",{key:k.DocumentId,class:"card-related-news__item"},[C(k)?(u(),O(I,{key:0,to:E(k),class:"card-related-news__link"},{default:z(()=>[_e(w(k.Title),1)]),_:2},1032,["to"])):(u(),h("a",{key:1,href:E(k),class:"card-related-news__link",target:"_blank"},w(k.Title),9,B3)),i(s).length>1&&S!==i(s).length-1?(u(),h("div",U3)):T("",!0),i(s).length>1&&S!==i(s).length-1?(u(),h("div",j3)):T("",!0)]))),128))])):(u(),h("div",V3,[i(c)?(u(),O(r_,{key:0})):(u(),O(an,{key:1,modelValue:i(r),"onUpdate:modelValue":v[0]||(v[0]=k=>Je(r)?r.value=k:null),options:l,class:"articles-slider"},{default:z(()=>[(u(!0),h(G,null,pe(i(s),k=>(u(),O(zt,{key:k.DocumentId,class:"related-article"},{default:z(()=>[C(k)?(u(),O(I,{key:0,to:E(k),class:"related-article-wrapper"},{default:z(()=>[f("div",H3,[R(Be,{image:a(k),lazy:!1},null,8,["image"])]),f("h3",z3,w(k?.Title),1)]),_:2},1032,["to"])):(u(),h("a",{key:1,href:E(k),class:"related-article-wrapper",target:"_blank"},[f("div",W3,[R(Be,{image:a(k),lazy:!1},null,8,["image"])]),f("h3",G3,w(k?.Title),1)],8,F3))]),_:2},1024))),128))]),_:1},8,["modelValue"])),i(r)>0?(u(),h("div",q3)):T("",!0),i(s).length>2&&i(r)<i(s).length-2?(u(),h("div",Y3)):T("",!0)]))],2)}}},ss=te(K3,[["__scopeId","data-v-cca80ccb"]]),X3={class:"card-labels-wrap"},Q3={class:"title"},J3={class:"card-multimedia__content"},Z3={__name:"CardTypesNewsCardBSimple",props:{..._o(),isSmall:{type:Boolean,default:!1},isTopCenteredImg:{type:Boolean,default:!1},showRelatedNews:{type:Boolean,default:!1}},setup(e){const{$device:t,$t:n,$getColorByCategory:o}=ue(),s=e,r=s.documentData.DocumentTypeAlias==="NewsArticle"||s.documentData.DocumentTypeAlias==="ArticleBigImage",a=Nn(s.documentData,n("common.sponsoredBy")),l=Q$(mo(s.documentData),s.isSmall),c=yo(s.documentData),m=Vi(s.documentData),d=Fs(Tn(s.documentData,"Video")?.Video.Duration),p=s.documentData?.RelatedNews,_=Te(s.documentData,"notLive")?.Text,g=!!s.documentData?.DocumentElements&&!_,b=o(s.documentData.RootMenuItemId);return(y,C)=>(u(),O(Pa,{class:j(["card-wrap type-news-card-b-simple",{sponsored:i(a).hasSponsoredBlock,"external-article":s.documentData.DocumentTypeAlias==="ExternalArticle","has-related-news":i(p)&&s.showRelatedNews}]),"document-data":s.documentData,link:y.$getLink(s.documentData),"show-engagement-bar":s.showEngagementBar,"engage-share-visible":s.engageShareVisible,"engage-comment-action-visible":s.engageCommentActionVisible,"engage-number-of-comments-visible":s.engageNumberOfCommentsVisible,"engage-react-visible":s.engageReactVisible,"is-mob":i(t).isMobileOrTablet,"url-suffix":y.urlSuffix,"external-url-suffix":y.externalUrlSuffix,"show-related-news":e.showRelatedNews&&i(r)},Sn({labels:z(()=>[f("div",X3,[R(wt,{label:i(c),"is-locked":s.documentData.Locked,"has-sponsor":i(a).hasSponsoredBlock,"document-type":s.documentData.DocumentTypeAlias,"published-ago":i(ln)(s.documentData.LastEditDate,s.documentData.LastEditDateShortFormatted,i(n)("timeBefore")),"show-time":s.showTime,"label-color-class":i(b)},null,8,["label","is-locked","has-sponsor","document-type","published-ago","show-time","label-color-class"])])]),title:z(()=>[f("h2",Q3,w(s.documentData.Title),1)]),_:2},[s.showImage?{name:"image",fn:z(()=>[f("div",J3,[R(wt),R(Bo,{"document-type":s.documentData.DocumentTypeAlias,"ignore-document-type":s.ignoreDocumentType,"lazy-load-image":s.lazyLoadImage,images:i(l),"show-gallery-icon":s.documentData.HasPhotoGallery,"show-video-icon":s.documentData.HasVideo,"show-live-label":s.documentData.DocumentTypeAlias==="DevelopingStory"&&i(g),"gallery-count":i(m),"video-duration":i(d),class:j({isTopCenteredImg:s.isTopCenteredImg})},null,8,["document-type","ignore-document-type","lazy-load-image","images","show-gallery-icon","show-video-icon","show-live-label","gallery-count","video-duration","class"])])]),key:"0"}:void 0,y.showSponsoredLabel&&i(a).hasSponsoredBlock?{name:"sponsor",fn:z(()=>[R(yn,{label:i(a).name,"brand-name":i(a).text,class:j({isSmall:e.isSmall,isLinear:e.isSmall,isClampText:!e.isSmall})},null,8,["label","brand-name","class"])]),key:"1"}:void 0,i(p)&&s.showRelatedNews&&i(r)?{name:"related-news",fn:z(()=>[R(ss,{"related-news":i(p),"url-suffix":y.urlSuffix,"external-url-suffix":y.externalUrlSuffix},null,8,["related-news","url-suffix","external-url-suffix"])]),key:"2"}:void 0]),1032,["class","document-data","link","show-engagement-bar","engage-share-visible","engage-comment-action-visible","engage-number-of-comments-visible","engage-react-visible","is-mob","url-suffix","external-url-suffix","show-related-news"]))}}
71,mi=te(Z3,[["__scopeId","data-v-5029a0b8"]]),e4={class:"card-content"},t4={class:"card-text-content"},_u={__name:"CardTypesBaseCardsBaseCardC",props:Da(),setup(e){const t=e,n=t.link.startsWith("https")||t.link.startsWith("http"),o=t.documentData?.DocumentTypeAlias==="ExternalArticle",s=t.showEngagementBar&&t.documentData.DocumentTypeAlias!=="ExternalArticle",r=se(()=>t.showRelatedNews&&t.documentData.RelatedNews);async function a(){if(!o||t.link)return;const l=window.open("about:blank","_blank"),c=await hu(t.documentData.DocumentId);c&&l&&(l.location.href=c)}return(l,c)=>(u(),h("div",{class:j(["card",t.extraClass]),onClick:a},[R(Tt,{class:"card-link",to:l.link,rel:i(n)?"nofollow":"",urlSuffix:l.urlSuffix,externalUrlSuffix:l.externalUrlSuffix,isExternalArticle:t.documentData.DocumentTypeAlias==="ExternalArticle"},{default:z(()=>[Ee(l.$slots,"header"),f("div",e4,[f("div",t4,[Ee(l.$slots,"labels"),Ee(l.$slots,"title"),Ee(l.$slots,"sponsor"),Ee(l.$slots,"author"),i(s)&&!(t.isMob||t.isSidebar)?Ee(l.$slots,"engagement-bar",{key:0}):T("",!0)]),Ee(l.$slots,"image")]),i(s)&&(t.isMob||t.isSidebar)&&!i(r)?Ee(l.$slots,"engagement-bar",{key:0}):T("",!0)]),_:3},8,["to","rel","urlSuffix","externalUrlSuffix","isExternalArticle"]),Ee(l.$slots,"related-news"),i(s)&&i(r)?Ee(l.$slots,"engagement-bar-outside",{key:0}):T("",!0)],2))}},n4={class:"card-labels-wrap is-visible-desktop"},o4={key:0,class:"card-numeration"},s4={key:0,class:"alt-time"},i4={__name:"CardTypesNewsCardCSimple",props:{..._o(),showImage:{type:Boolean,default:!1},isSmall:{type:Boolean,default:!1},lighterTitle:{type:Boolean,default:!1},showAltTime:{type:Boolean,default:!0},showNumeration:{type:Boolean,default:!1},number:{type:Number,default:0},isSidebar:{type:Boolean,default:!1},showLabels:{type:Boolean,default:!0},categoryTitle:{type:String,default:""},isArchiveDate:{type:Boolean,default:!1},urlSuffix:{type:String,default:""},externalUrlSuffix:{type:String,default:""},showRelatedNews:{type:Boolean,default:!1}},setup(e){const{$device:t,$t:n,$getColorByCategory:o}=ue(),s=e,r=s.documentData.DocumentTypeAlias==="NewsArticle"||s.documentData.DocumentTypeAlias==="ArticleBigImage",a=Nn(s.documentData,n("common.sponsoredBy")),l=yo(s.documentData,s.isArchiveDate),c=s.isArchiveDate?"":ln(s.documentData.LastEditDate,s.documentData.LastEditDateShortFormatted,n("timeBefore")),m=Te(s.documentData,"Disable Comments And Reactions")?.Text==="true";function d(){return tu(mo(s.documentData),"feed")}const{config:p}=ye().public,_=p.facebookId,g=Te(s.documentData,"notLive")?.Text,b=!!s.documentData?.DocumentElements&&!g,y=s.documentData?.RelatedNews,C=o(s.documentData.RootMenuItemId);return(E,D)=>(u(),O(_u,{class:j(["card-wrap type-news-card-c-simple",{"external-article":s.documentData.DocumentTypeAlias==="ExternalArticle","has-related-news":i(y)&&s.showRelatedNews}]),documentData:s.documentData,link:E.$getLink(s.documentData),showEngagementBar:s.showEngagementBar,engageShareVisible:s.engageShareVisible,engageCommentActionVisible:s.engageCommentActionVisible,engageNumberOfCommentsVisible:s.engageNumberOfCommentsVisible,engageReactVisible:s.engageReactVisible,isMob:i(t).isMobileOrTablet,isSidebar:s.isSidebar,urlSuffix:e.urlSuffix,externalUrlSuffix:e.externalUrlSuffix,showRelatedNews:e.showRelatedNews&&i(r)},Sn({image:z(()=>[e.showImage?(u(),O(Bo,{key:0,lazyLoadImage:s.lazyLoadImage,images:d(),showGalleryIcon:s.documentData.HasPhotoGallery,showVideoIcon:s.documentData.HasVideo},null,8,["lazyLoadImage","images","showGalleryIcon","showVideoIcon"])):T("",!0)]),title:z(()=>[f("div",{class:j(["card-title",{hasAltTime:e.showAltTime,hasNumeration:e.showNumeration,"external-article":s.documentData.DocumentTypeAlias==="ExternalArticle"}])},[e.showNumeration?(u(),h("div",o4,w(s.number),1)):T("",!0),f("h2",{class:j(["title",{isTitleLighter:e.lighterTitle}])},w(s.documentData.Title||s.documentData.DocumentTitle),3)],2),e.showLabels&&s.showAltTime?(u(),h("div",s4,[R(Ne,{extraClass:"is-secondary-alt",label:i(c)},null,8,["label"])])):T("",!0)]),"engagement-bar":z(()=>[s.showEngagementBar?(u(),O(Ot,{key:0,"share-link":s.documentData?.WebUrl,"share-title":s.documentData.Title,sourceType:"card",contentId:s.documentData.MasterDocumentId,aggregatedReactions:s.documentData.AggregatedReactions,totalReactions:s.documentData.TotalReactionCount,currentVisitorReaction:s.documentData.CurrentVisitorReaction,commentsNumber:s.documentData.CommentsNumber,fbId:i(_),shareVisible:s.engageShareVisible,commentActionVisible:s.engageCommentActionVisible,numberOfCommentsVisible:s.engageNumberOfCommentsVisible,reactVisible:s.engageReactVisible,disableComments:m},null,8,["share-link","share-title","contentId","aggregatedReactions","totalReactions","currentVisitorReaction","commentsNumber","fbId","shareVisible","commentActionVisible","numberOfCommentsVisible","reactVisible"])):T("",!0)]),_:2},[e.showLabels?{name:"labels",fn:z(()=>[f("div",n4,[R(wt,{label:i(l),isLive:s.documentData.DocumentTypeAlias==="DevelopingStory"&&i(b),isLocked:s.documentData.Locked,hasSponsor:i(a).hasSponsoredBlock,documentType:s.documentData.DocumentTypeAlias,publishedAgo:i(c),showMultimediaIcon:!s.showImage&&(s.documentData.DocumentTypeAlias==="Video"||s.documentData.DocumentTypeAlias==="PhotoGallery"),showTime:s.showTime,labelColorClass:i(C)},null,8,["label","isLive","isLocked","hasSponsor","documentType","publishedAgo","showMultimediaIcon","showTime","labelColorClass"])])]),key:"0"}:void 0,E.showSponsoredLabel&&i(a).hasSponsoredBlock?{name:"sponsor",fn:z(()=>[R(yn,{label:i(a).name,brandName:i(a).text,class:j({isSmall:e.isSmall,isLinear:e.isSmall})},null,8,["label","brandName","class"])]),key:"1"}:void 0,i(y)&&s.showRelatedNews&&i(r)?{name:"related-news",fn:z(()=>[R(ss,{relatedNews:i(y),urlSuffix:e.urlSuffix,externalUrlSuffix:e.externalUrlSuffix},null,8,["relatedNews","urlSuffix","externalUrlSuffix"])]),key:"2"}:void 0]),1032,["class","documentData","link","showEngagementBar","engageShareVisible","engageCommentActionVisible","engageNumberOfCommentsVisible","engageReactVisible","isMob","isSidebar","urlSuffix","externalUrlSuffix","showRelatedNews"]))}},yu=te(i4,[["__scopeId","data-v-3f13d7ce"]]),r4=Object.freeze(Object.defineProperty({__proto__:null,default:yu},Symbol.toStringTag,{value:"Module"})),a4={key:0,class:"section"},l4={class:"container"},c4={class:"main-3-news"},u4={class:"section__left"},d4={class:"section__right"},f4={__name:"DynamicComponentsHeadboxMain3News",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,{siteBanners:n}=ye().public,o=os(n,t.definition?.Properties?.DFPBannersInLIst),s=JSON.stringify(o)!=="{}",r=Object.values(o)[0],a=t.definition?.Properties?.URLSuffix||"",l=t.definition?.Properties?.externalURLSuffix||"",{$device:c}=ue();return(m,d)=>t.definition?.Documents&&t.definition?.Documents?.length>=3?(u(),h("section",a4,[f("div",l4,[f("div",c4,[f("div",u4,[(u(),O(mi,{ignoreDocumentType:!0,key:t.definition?.Documents?.[0].DocumentId,lazyLoadImage:!1,documentData:t.definition.Documents?.[0],showSponsoredLabel:!0,isTopCenteredImg:t.definition.Documents?.[0].DocumentTypeAlias==="PhotoGallery"||t.definition.Documents?.[0].DocumentTypeAlias==="StoryInPictures",urlSuffix:i(a),externalUrlSuffix:i(l),showRelatedNews:!0},null,8,["documentData","isTopCenteredImg","urlSuffix","externalUrlSuffix"])),s?(u(),O(gn,{key:0,definition:i(r)},null,8,["definition"])):T("",!0)]),d[1]||(d[1]=f("div",{class:"section__divider"},null,-1)),f("div",d4,[(u(),O(mi,{extraClass:"card-b",key:t.definition?.Documents?.[1].DocumentId,documentData:t.definition.Documents[1],ignoreDocumentType:!0,showSponsoredLabel:!0,isSmall:!0,isTopCenteredImg:t.definition.Documents?.[1].DocumentTypeAlias==="PhotoGallery"||t.definition.Documents?.[1].DocumentTypeAlias==="StoryInPictures",urlSuffix:i(a),externalUrlSuffix:i(l),showRelatedNews:i(c).isMobileOrTablet},null,8,["documentData","isTopCenteredImg","urlSuffix","externalUrlSuffix","showRelatedNews"])),d[0]||(d[0]=f("div",{class:"section__divider"},null,-1)),(u(),O(yu,{extraClass:"card-c",key:t.definition?.Documents?.[2].DocumentId,documentData:t.definition?.Documents?.[2],showAltTime:!1,showSponsoredLabel:!0,isSmall:!0,showImage:!0,isSidebar:!0,urlSuffix:i(a),externalUrlSuffix:i(l),showRelatedNews:i(c).isMobileOrTablet},null,8,["documentData","urlSuffix","externalUrlSuffix","showRelatedNews"]))])])])])):T("",!0)}},m4=te(f4,[["__scopeId","data-v-d067c63e"]]),p4=Object.freeze(Object.defineProperty({__proto__:null,default:m4},Symbol.toStringTag,{value:"Module"})),l_={__name:"CardTypesBaseCardsBaseCardBAlt",props:Da(),setup(e){const{config:t}=ye().public,n=t.facebookId,o=e,s=o.link.startsWith("https")||o.link.startsWith("http"),r=o.showEngagementBar&&o.documentData.DocumentTypeAlias!=="ExternalArticle",a=o.documentData?.DocumentTypeAlias==="ExternalArticle",l=Te(o.documentData,"Disable Comments And Reactions")?.Text==="true",c=se(()=>o.showRelatedNews&&o.documentData.RelatedNews);async function m(){if(!a||o.link)return;const d=window.open("about:blank","_blank"),p=await hu(o.documentData.DocumentId);p&&d&&(d.location.href=p)}return(d,p)=>(u(),h("div",{class:j(["card",o.extraClass]),onClick:m},[R(Tt,{class:"card-link",to:d.link,rel:i(s)?"nofollow":"",urlSuffix:d.urlSuffix,externalUrlSuffix:d.externalUrlSuffix,isExternalArticle:o.documentData.DocumentTypeAlias==="ExternalArticle"},{default:z(()=>[Ee(d.$slots,"labels"),f("div",{class:j(["card-title",{"external-article":o.documentData.DocumentTypeAlias==="ExternalArticle"}])},[Ee(d.$slots,"title")],2),Ee(d.$slots,"description"),Ee(d.$slots,"sponsor"),i(r)&&!i(c)?Ee(d.$slots,"engagement-bar",{key:0}
71,()=>[R(Ot,{"share-link":o.documentData?.WebUrl,"share-title":o.documentData.Title,sourceType:"card",contentId:o.documentData.MasterDocumentId,aggregatedReactions:o.documentData.AggregatedReactions,totalReactions:o.documentData.TotalReactionCount,currentVisitorReaction:o.documentData.CurrentVisitorReaction,commentsNumber:o.documentData.CommentsNumber,"fb-id":i(n),"is-mob":o.isMob,shareVisible:o.engageShareVisible,commentActionVisible:o.engageCommentActionVisible,numberOfCommentsVisible:o.engageNumberOfCommentsVisible,reactVisible:o.engageReactVisible,disableComments:l},null,8,["share-link","share-title","contentId","aggregatedReactions","totalReactions","currentVisitorReaction","commentsNumber","fb-id","is-mob","shareVisible","commentActionVisible","numberOfCommentsVisible","reactVisible"])]):T("",!0)]),_:3},8,["to","rel","urlSuffix","externalUrlSuffix","isExternalArticle"]),Ee(d.$slots,"related-news"),i(r)&&i(c)?Ee(d.$slots,"engagement-bar",{key:0},()=>[R(Ot,{"share-link":o.documentData?.WebUrl,"share-title":o.documentData.Title,sourceType:"card",contentId:o.documentData.MasterDocumentId,aggregatedReactions:o.documentData.AggregatedReactions,totalReactions:o.documentData.TotalReactionCount,currentVisitorReaction:o.documentData.CurrentVisitorReaction,commentsNumber:o.documentData.CommentsNumber,"fb-id":i(n),"is-mob":o.isMob,shareVisible:o.engageShareVisible,commentActionVisible:o.engageCommentActionVisible,numberOfCommentsVisible:o.engageNumberOfCommentsVisible,reactVisible:o.engageReactVisible,disableComments:l},null,8,["share-link","share-title","contentId","aggregatedReactions","totalReactions","currentVisitorReaction","commentsNumber","fb-id","is-mob","shareVisible","commentActionVisible","numberOfCommentsVisible","reactVisible"])]):T("",!0)],2))}},h4={class:"card-labels-wrap"},g4={class:"title"},_4={__name:"CardTypesNewsCardBAltSimple",props:{..._o(),isSmall:{type:Boolean,default:!1}},setup(e){const t=e,{$t:n,$getColorByCategory:o}=ue(),s=t.documentData.DocumentTypeAlias==="NewsArticle"||t.documentData.DocumentTypeAlias==="ArticleBigImage",r=Nn(t.documentData,n("common.sponsoredBy")),a=yo(t.documentData),l=se(()=>r.hasSponsoredBlock?"sponsored":""),{config:c}=ye().public,m=c.facebookId,d=Te(t.documentData,"notLive")?.Text,p=!!t.documentData?.DocumentElements&&!d,_=t.documentData?.RelatedNews,g=o(t.documentData.RootMenuItemId);return(b,y)=>(u(),O(l_,{class:j(["card-wrap type-news-card-b-alt-simple",t.ignoreDocumentType?"":[i(l),{"has-related-articles":t.documentData.RelatedArticles},{"external-article":t.documentData.DocumentTypeAlias==="ExternalArticle","has-related-news":i(_)&&t.showRelatedNews}]]),documentData:t.documentData,link:b.$getLink(t.documentData),"share-link":t.documentData?.WebUrl,"share-title":t.documentData.Title,engageReactVisible:t.engageReactVisible,engageShareVisible:t.engageShareVisible,fbId:i(m),urlSuffix:b.urlSuffix,externalUrlSuffix:b.externalUrlSuffix,showRelatedNews:b.showRelatedNews&&i(s)},Sn({labels:z(()=>[f("div",h4,[R(wt,{label:i(a),isLive:t.documentData.DocumentTypeAlias==="DevelopingStory"&&i(p),isLocked:t.documentData.Locked,hasSponsor:i(r).hasSponsoredBlock,documentType:t.documentData.DocumentTypeAlias,publishedAgo:i(ln)(t.documentData.LastEditDate,t.documentData.LastEditDateShortFormatted,i(n)("timeBefore")),showTime:t.showTime,labelColorClass:i(g)},null,8,["label","isLive","isLocked","hasSponsor","documentType","publishedAgo","showTime","labelColorClass"])])]),title:z(()=>[f("h2",g4,w(t.documentData.Title),1)]),description:z(()=>[f("p",null,w(t.documentData.ShortDescription),1)]),_:2},[b.showSponsoredLabel&&i(r).hasSponsoredBlock?{name:"sponsor",fn:z(()=>[R(yn,{label:i(r).name,brandName:i(r).text,class:j({isSmall:e.isSmall,isLinear:e.isSmall})},null,8,["label","brandName","class"])]),key:"0"}:void 0,i(_)&&t.showRelatedNews&&i(s)?{name:"related-news",fn:z(()=>[R(ss,{relatedNews:i(_),urlSuffix:b.urlSuffix,externalUrlSuffix:b.externalUrlSuffix},null,8,["relatedNews","urlSuffix","externalUrlSuffix"])]),key:"1"}:void 0]),1032,["class","documentData","link","share-link","share-title","engageReactVisible","engageShareVisible","fbId","urlSuffix","externalUrlSuffix","showRelatedNews"]))}},y4=te(_4,[["__scopeId","data-v-11f90153"]]),v4={key:0,class:"section"},b4={class:"container"},w4={class:"main-5-news"},k4={class:"section__left"},T4={class:"section__left-bottom"},$4={class:"section__right"},S4={__name:"DynamicComponentsHeadboxMain5News",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,n=t.definition?.Properties?.URLSuffix||"",o=t.definition?.Properties?.externalURLSuffix||"",{$device:s}=ue();return(r,a)=>t.definition.Documents&&t.definition.Documents.length>=5?(u(),h("section",v4,[f("div",b4,[f("div",w4,[f("div",k4,[(u(),O(mi,{extraClass:"card-b-first",key:t.definition.Documents[0].DocumentId,documentData:t.definition.Documents[0],ignoreDocumentType:!0,showSponsoredLabel:!0,isTopCenteredImg:t.definition.Documents?.[0].DocumentTypeAlias==="PhotoGallery"||t.definition.Documents?.[0].DocumentTypeAlias==="StoryInPictures",urlSuffix:i(n),externalUrlSuffix:i(o),showRelatedNews:!0},null,8,["documentData","isTopCenteredImg","urlSuffix","externalUrlSuffix"])),a[1]||(a[1]=f("div",{class:"section__divider"},null,-1)),f("div",T4,[(u(),O(y4,{extraClass:"card-b",key:t.definition.Documents[1].DocumentId,documentData:t.definition.Documents[1],showSponsoredLabel:!0,isSmall:!0,engageShareVisible:i(s).isMobile,urlSuffix:i(n),externalUrlSuffix:i(o),showRelatedNews:i(s).isMobileOrTablet},null,8,["documentData","engageShareVisible","urlSuffix","externalUrlSuffix","showRelatedNews"])),a[0]||(a[0]=f("div",{class:"section__divider"},null,-1)),(u(),O(yu,{extraClass:"card-c",key:t.definition.Documents[2].DocumentId,documentData:t.definition.Documents[2],showAltTime:!1,showSponsoredLabel:!0,isSmall:!0,engageShareVisible:i(s).isMobile,urlSuffix:i(n),externalUrlSuffix:i(o),showRelatedNews:i(s).isMobileOrTablet,showImage:i(s).isMobileOrTablet},null,8,["documentData","engageShareVisible","urlSuffix","externalUrlSuffix","showRelatedNews","
71showImage"]))])]),a[3]||(a[3]=f("div",{class:"section__divider"},null,-1)),f("div",$4,[(u(),O(mi,{extraClass:"card-b",key:t.definition.Documents[3].DocumentId,documentData:t.definition.Documents[3],showSponsoredLabel:!0,ignoreDocumentType:!0,isSmall:!0,isTopCenteredImg:t.definition.Documents?.[3].DocumentTypeAlias==="PhotoGallery"||t.definition.Documents?.[3].DocumentTypeAlias==="StoryInPictures",urlSuffix:i(n),externalUrlSuffix:i(o),showRelatedNews:i(s).isMobileOrTablet},null,8,["documentData","isTopCenteredImg","urlSuffix","externalUrlSuffix","showRelatedNews"])),a[2]||(a[2]=f("div",{class:"section__divider"},null,-1)),(u(),O(mi,{extraClass:"card-b",key:t.definition.Documents[4].DocumentId,documentData:t.definition.Documents[4],showSponsoredLabel:!0,ignoreDocumentType:!0,isSmall:!0,isTopCenteredImg:t.definition.Documents?.[4].DocumentTypeAlias==="PhotoGallery"||t.definition.Documents?.[4].DocumentTypeAlias==="StoryInPictures",urlSuffix:i(n),externalUrlSuffix:i(o),showRelatedNews:i(s).isMobileOrTablet},null,8,["documentData","isTopCenteredImg","urlSuffix","externalUrlSuffix","showRelatedNews"]))])])])])):T("",!0)}},D4=te(S4,[["__scopeId","data-v-202bd8de"]]),C4=Object.freeze(Object.defineProperty({__proto__:null,default:D4},Symbol.toStringTag,{value:"Module"}));function P4(e){return/^a\d+$/i.test(e||"")}function x4(){const e=Le(),{config:t}=ye().public,n=e.path.split("/").filter(Boolean),s={source:t.siteUrl?.replace(/^https?:\/\//,"")?.replace(/\/$/,"")||"",placement:"homepage",category:"",subcategory:""};return n.length===1?(s.placement="category",s.category=n[0]):n.length===2?(s.placement="subcategory",s.category=n[0],s.subcategory=n[1]):n.length>=3&&(s.placement="article",s.category=n[0],P4(n[1])||(s.subcategory=n[1])),s}function zf({rawUrl:e,context:t,version:n}){if(!e)return"";const o=`v${String(n||"1").replace(/^v/i,"")}`.toLowerCase(),r=({homepage:"story_homepage",article:"story_article",category:"story_category",subcategory:"story_subcategory"}[t?.placement]||"story_homepage").toLowerCase();let a=`${o}_homepage`;if(t?.placement==="article"){const m=t?.subcategory||t?.category;a=m?`${o}_article_${m}`:`${o}_article`}else t?.placement==="category"?a=t?.category?`${o}_category_${t.category}`:`${o}_category`:t?.placement==="subcategory"&&(a=t?.subcategory?`${o}_subcategory_${t.subcategory}`:t?.category?`${o}_subcategory_${t.category}`:`${o}_subcategory`);if(a=a.toLowerCase(),!/^https?:\/\//i.test(e))return e;const c=new URL(e);return c.searchParams.delete("utm_source"),c.searchParams.delete("utm_medium"),c.searchParams.delete("utm_campaign"),c.searchParams.delete("utm_content"),c.searchParams.set("utm_source",t?.source||""),c.searchParams.set("utm_medium","cross-promo"),c.searchParams.set("utm_campaign",r),c.searchParams.set("utm_content",a),c.toString()}const I4={key:0,class:"external-articles__list"},E4=["href"],A4={key:0,class:"external-articles__image"},L4={class:"external-articles__title"},R4=["href"],O4={key:0,class:"external-articles__image"},M4={class:"external-articles__title"},N4={key:2,class:"external-articles__item"},B4={key:0,class:"external-articles__image"},U4={class:"external-articles__title"},j4={__name:"DynamicComponentsHeadbox1Big2Small",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,{$createLocalUrl:n}=ue(),{config:o}=ye().public;function s(me,Q){const F=Q===0?"large":"small";return wa(mo(me),F)?.[0]}const r=t.definition.Documents.slice(0,3),a=t.definition.Properties?.StaticImageLogoDark,l=t.definition.Properties?.StaticImageLogoLight||t.definition.Properties?.StaticImageLogo,c=t.definition.Properties?.ExternalWidgetLogo,m=a,d=l,p=c,_=t.definition?.Properties?.URLSuffix||"",g=t.definition?.Properties?.externalURLSuffix||"",b=x4(),y=!!(o?.crossUTMTracking&&t.definition?.Properties?.CrossUTMSource==="external-rest-widget");function C(me){return zf({rawUrl:me?.WebUrl,context:b,version:t.definition?.Properties?.CrossUTMVersion})}const E=t.definition?.Properties?.StaticImageLogo,D=t.definition?.Properties?.StaticImageLogoDarkTheme,v=E,I=D,k=t.definition?.Properties?.LinkURL||t.definition?.Properties?.allNewsUrl||t.definition?.Properties?.AllNewsUrl,S=n(k||t.definition?.Properties?.Url||t.definition?.Properties?.url),$=t.definition?.Properties?.LinkURL!==void 0&&t.definition?.Properties?.LinkURL.includes("iskustvaipreporuke"),P=t.definition?.Properties?.allNewsUrl!==void 0&&t.definition?.Properties?.allNewsUrl.includes("smartlife"),x=t.definition.Template==="External-Blogs-Widget"&&I?I.ImageUrl:m?m.ImageUrl:null,A=(()=>
71{if(t.definition.Template==="External-Blogs-Widget"){if(p)return p.ImageUrl;if(v)return v.ImageUrl}return d?d.ImageUrl:null})(),N=m&&m.AltText?m.AltText:t.definition.Template==="External-Blogs-Widget"&&I&&I.AltText?I.AltText:"",M=(()=>{if(t.definition.Template==="External-Blogs-Widget"){if(p?.AltText)return p.AltText;if(v?.AltText)return v.AltText}return d?.AltText?d.AltText:""})(),ee=t.definition?.Properties?.title?t.definition.Properties.title:t.definition?.Properties?.Title?t.definition.Properties.Title:t.definition?.Name?t.definition.Name:"",X=se(()=>y?zf({rawUrl:S,context:b,version:t.definition?.Properties?.CrossUTMVersion}):S);return(me,Q)=>(u(),h("div",{class:j(["external-articles__widget",{"is-ipr light":i($),"shared-smartlife-widget dark":i(P),[e.definition?.Properties?.classSuffix]:e.definition?.Properties?.classSuffix}])},[R(Mt,{class:"card-header-wrap","dark-img":i(x),"light-img":i(A),"dark-image-alt":i(N),"light-image-alt":i(M),headline:i(ee),link:i(X),isExternal:i(S)===(t.definition.Properties?.Url||t.definition.Properties?.url||i(k)),"is-external":!0},null,8,["dark-img","light-img","dark-image-alt","light-image-alt","headline","link","isExternal"]),i(r)?(u(),h("div",I4,[(u(!0),h(G,null,pe(i(r),(F,Y)=>(u(),h(G,{key:F.DocumentId},[i(y)&&C(F)?(u(),h("a",{key:0,href:C(F),target:"_blank",class:"external-articles__item"},[F.PosterPhoto?(u(),h("span",A4,[f("figure",null,[R(Be,{image:s(F,Y),template:t.definition?.Template},null,8,["image","template"])])])):T("",!0),f("div",L4,w(F.Title),1)],8,E4)):i(rn)({document:F,urlSuffix:i(_),externalUrlSuffix:i(g),isExternalArticle:F.DocumentTypeAlias==="ExternalArticle"})?(u(),h("a",{key:1,href:i(rn)({document:F,urlSuffix:i(_),externalUrlSuffix:i(g),isExternalArticle:F.DocumentTypeAlias==="ExternalArticle"}),target:"_blank",class:"external-articles__item"},[F.PosterPhoto?(u(),h("span",O4,[f("figure",null,[R(Be,{image:s(F,Y),template:t.definition?.Template},null,8,["image","template"])])])):T("",!0),f("div",M4,w(F.Title),1)],8,R4)):(u(),h("div",N4,[F.PosterPhoto?(u(),h("span",B4,[f("figure",null,[R(Be,{image:s(F,Y),template:t.definition?.Template},null,8,["image","template"])])])):T("",!0),f("div",U4,w(F.Title),1)])),Y!==Object.keys(i(r)).length-1?(u(),h("div",{key:F.DocumentId,class:"external-articles__divider"})):T("",!0)],64))),128))])):T("",!0)],2))}},c_=te(j4,[["__scopeId","data-v-e6019a15"]]),ac=Object.freeze(Object.defineProperty({__proto__:null,default:c_},Symbol.toStringTag,{value:"Module"})),V4=["href"],H4=["innerHTML"],z4={key:1,class:"content-aside__header is-mobile"},F4={key:0,class:"content-aside__sponsor"},W4=["src","alt"],G4={class:"content-aside__content"},q4={key:0,class:"content-aside__header is-desktop"},Y4={key:0,class:"content-aside__sponsor"},K4=["src","alt"],X4={key:1,class:"content-aside__labels"},Q4={__name:"DynamicComponentsHeadboxContentAside",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,n=L(!1),o=No(t.definition?.Documents[0]),s=o.Tema?.Text,r=o.Headline,a=o["Headline Logo"],l=o["Title color"]?.Text,c=o["Promo Label"]?.Text==="Yes",m=o["Link URL"]?.Text,d=o.Subtitle?.Text.length>20?`${o.Subtitle?.Text.substring(0,19)}…`:o.Subtitle?.Text,p=nS(UL(t.definition?.Documents?.[0])),_=t.definition?.Properties?.ImpressionScript,g=t.definition?.Properties?.URLSuffix||"",b=t.definition?.Properties?.externalURLSuffix||"",y=m!==""&&(m?.startsWith("http")||m?.startsWith("https")),C=rn({url:m,urlSuffix:g,externalUrlSuffix:b,isExternalArticle:y}),E=se(()=>n.value===!0&&s==="custom"?o["Button surface on hover"]?.Text:s==="custom"?o["Button background color"]?.Text:""),D=se(()=>n.value===!0&&s==="custom"?o["Button text on hover"]?.Text:s==="custom"?o["Button text color"]?.Text:"");function v(S){window.innerWidth>1210&&(n.value=S)}const I=(S,$)=>{S.length===4&&(S=`#${S.slice(1).split("").map(M=>M+M).join("")}`);const P=parseInt(S.slice(1),16),x=Math.floor(P/65536)%256,A=Math.floor(P/256)%256,N=P%256;return`rgba(${x}, ${A}, ${N}, ${$})`},k=()=>s==="custom"?I(l,.16):"";return(S,$)=>(u(),h("a",{href:i(C),class:j(["content-aside",i(s)]),style:Se({backgroundColor:i(s)==="custom"?i(o)["Content aside surface color"]?.Text:""}),onMouseover:$[0]||($[0]=P=>v(!0)),onMouseleave:$[1]||($[1]=P=>v(!1))},[i(_)?(u(),h("div",{key:0,class:"hidden",innerHTML:i(_)},null,8,H4)):T("",!0),i(a)||i(r)?(u(),h("div",z4,[i(a)?(u(),h("figure",F4,[f("img",{src:i(a)?.Image?.ImageUrl,alt:i(a)?.Image?.AltText,loading:"lazy"},null,8,W4)])):T("",!0),i(r)?(u(),h("div",{key:1,class:"content-aside__headline",style:Se({color:i(s)==="custom"?i(l):""})},w(i(r)?.Text),5)):T("",!0)])):T("",!0),R(Be,{image:i(p)[0],class:"content-aside__image","inner-class":"content-aside__image"},null,8,["image"]),f("div",G4,[i(a)||i(r)?(u(),h("div",q4,[i(a)?(u(),h("figure",Y4,[f("img",{src:i(a)?.Image?.ImageUrl,alt:i(a)?.Image?.AltText,loading:"lazy"},null,8,K4)])):T("",!0),i(r)?(u(),h("div",{key:1,class:"content-aside__headline",style:Se({color:i(s)==="custom"?i(l):""})},w(i(r)?.Text),5)):T("",!0)])):T("",!0),c||i(d)?(u(),h("div",X4,[c?(u(),O(Ne,{key:0,extraClass:"is-pr",label:S.$t("labels.pr"),style:Se({color:i(s)==="custom"?i(l):"",backgroundColor:k()})},null,8,["label","style"])):T("",!0),i(d)?(u(),O(Ne,{key:1,extraClass:"is-primary",label:i(d),style:Se({color:i(s)==="custom"?i(o)["Label color"]?.Text:""})},null,8,["label","style"])):T("",!0)])):T("",!0),f("div",{class:"content-aside__title",style:Se({color:i(s)==="custom"?i(l):""})},w(t.definition?.Documents[0]?.Title),5),i(o)["Link name"]||i(o)["Link URL"]?(u(),h("span",{key:2,role:"button",class:"content-aside__link btn",style:Se({color:i(D),backgroundColor:i(E)})},w(i(o)["Link name"]?.Text||S.$t("common.viewMoreBtn")),5)):T("",!0)])],46,V4))}},J4=te(Q4,[["__scopeId","data-v-14924519"]]),Z4=Object.freeze(Object.defineProperty({__proto__:null,default:J4},Symbol.toStringTag,{value:"Module"})),eV=["innerHTML"],tV={key:2,class:"slider-card-wrapper"},nV={__name:"DynamicComponentsHeadboxShopHeadbox",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,{$createLocalUrl:n}=ue(),o=L(t.definition?.Documents),s=se(()=>t.definition?.Properties?.StaticImageLogoDark?.ImageUrl),r=se(()=>t.definition?.Properties?.StaticImageLogoLight?.ImageUrl),a=se(()=>t.definition?.Properties?.title?t.definition.Properties.title:t.definition?.Properties?.Title?t.definition.Properties.Title:t.definition?.Name?t.definition.Name:""),l=se(()=>n(t.definition?.Properties?.Url)),c=t.definition?.Properties?.ImpressionScript,m=s.value||r.value||a.value,d=L({gallery:t.definition?.Properties?.isSidebar==="True",slidesPerView:4,hideNavigationOnEdges:!0,pagination:!1,navigation:t.definition?.Documents.length>4,breakpoints:{1023:{slidesPerView:2,gallery:!0,navigation:!1}}}),p=t.definition?.Properties?.URLSuffix||"",_=t.definition?.Properties?.externalURLSuffix||"";return(g,b)=>(u(),h("div",{class:j([t.definition?.Properties?.classSuffix,"shop-widget"])},[i(c)?(u(),h("div",{key:0,class:"hidden",innerHTML:i(c)},null,8,eV)):T("",!0),i(m)?(u(),O(Mt,{key:1,class:"card-header-wrap",headline:i(a),link:i(l),isExternal:i(l)===t.definition?.Properties?.Url,darkImg:i(s),lightImg
71:i(r)},null,8,["headline","link","isExternal","darkImg","lightImg"])):T("",!0),i(o)?(u(),h("div",tV,[R(an,{options:i(d)},{default:z(()=>[(u(!0),h(G,null,pe(i(o),y=>(u(),O(zt,{key:y.DocumentId},{default:z(()=>[R(rc,{item:y,urlSuffix:i(p),externalUrlSuffix:i(_)},null,8,["item","urlSuffix","externalUrlSuffix"])]),_:2},1024))),128))]),_:1},8,["options"])])):T("",!0)],2))}},oV=te(nV,[["__scopeId","data-v-1154009d"]]),sV=Object.freeze(Object.defineProperty({__proto__:null,default:oV},Symbol.toStringTag,{value:"Module"})),iV={class:"pagination"},rV=["href","rel"],aV=["href"],lV={key:1,class:"disabled"},cV=["onClick","href"],uV={key:2,class:"disabled"},dV=["href"],fV={key:4},mV=["href","rel"],pV="/1/1/Archive",hV={__name:"CommonPagination",props:{value:{type:Number,default:1},pageCount:{type:Number,default:0},pageRange:{type:Number,default:3},marginPages:{type:Number,default:1},clickHandler:{type:Function,default:null},showArchiveOption:{type:Boolean,default:!1},pagingConfig:{type:Object,default:()=>({rewritePaging:!1})}},emits:["update:value"],setup(e,{emit:t}){const n=e,o=t,s=Le(),{config:r}=ye().public,{$bus:a}=ue(),l=L(n.value),c=se(()=>Math.floor((n.pageRange-1)/2)),m=L([]),d=se(()=>{const k=[];let S,$;l.value-c.value<=1?(S=2,$=Math.min(n.pageCount,n.pageRange)):l.value+c.value>=n.pageCount?($=n.pageCount,S=Math.max(1,n.pageCount-n.pageRange+1)):(S=Math.max(1,l.value-c.value),$=Math.min(n.pageCount,l.value+c.value));for(let P=S;P<=$;P++)P>1&&P<n.pageCount&&k.push(P);return k}),p=se(()=>l.value-c.value>2),_=se(()=>l.value<n.pageCount-c.value-1),g=se(()=>l.value>1&&l.value<n.pageCount),b=se(()=>l.value<n.pageCount);function y(k){k!==l.value&&(l.value=k)}function C(){l.value>1&&l.value--}function E(){l.value<n.pageCount&&l.value++}function D(k){const S={...s.query};if(S[n.pagingConfig.pagingQueryParam]=k,k>0&&k<=n.pageCount){const $=k===1?"":`?${n.pagingConfig.pagingQueryParam}=${k}`;return`${s.path}${$}`}return""}function v(k){if(k>0&&k<=n.pageCount){if(s.params.path[s.params.path.length-2]===n.pagingConfig.pagingUrlParam){const $=[...s.params.path];return $[s.params.path.length-1]=k,k>1?`/${$.join("/")}`:`/${$.slice(0,-2).join("/")}`}const S=[...s.params.path];return S.length?k>1?`/${S.join("/")}/${n.pagingConfig.pagingUrlParam}/${k}`:`/${S.join("/")}`:k>1?`/${n.pagingConfig.pagingUrlParam}/${k}`:"/"}return""}function I(k){return n.pagingConfig.rewritePaging?v(k):D(k)}return g.value&&m.value.push({rel:"prev",href:`${r.siteUrl}${I(l.value-1)}`}),b.value&&m.value.push({rel:"next",href:`${r.siteUrl}${I(l.value+1)}`}),Mn({link:()=>m.value}),qe(()=>n.value,k=>{l.value=k}),qe(l,k=>{o("update:value",k),n.clickHandler&&n.clickHandler(k),m.value=[],g.value&&m.value.push({rel:"prev",href:`${r.siteUrl}${I(l.value-1)}`}),b.value&&m.value.push({rel:"next",href:`${r.siteUrl}${I(l.value+1)}`})}),De(()=>{a.$emit("paginationMounted",m.value)}),(k,S)=>{const $=Ze("router-link");return u(),h("ul",iV,[f("li",{class:j({disabled:i(l)===1})},[f("a",{onClick:He(C,["prevent"]),href:I(i(l)-1),rel:i(g)?"prev":""},null,8,rV)],2),e.pageCount>0?(u(),h("li",{key:0,class:j({active:i(l)===1})},[f("a",{onClick:S[0]||(S[0]=He(P=>y(1),["prevent"])),href:I(1)},w(1),8,aV)],2)):T("",!0),i(p)?(u(),h("li",lV,[...S[2]||(S[2]=[f("a",null,"â¦",-1)])])):T("",!0),(u(!0),h(G,null,pe(i(d),P=>(u(),h("li",{key:P,class:j({active:P===i(l)})},[f("a",{onClick:He(x=>y(P),["prevent"]),href:I(P)},w(P),9,cV)],2))),128)),i(_)?(u(),h("li",uV,[...S[3]||(S[3]=[f("a",null,"â¦",-1)])])):T("",!0),e.pageCount>1?(u(),h("li",{key:3,class:j({active:i(l)===e.pageCount})},[f("a",{onClick:S[1]||(S[1]=He(P=>y(e.pageCount),["prevent"])),href:I(e.pageCount)},w(e.pageCount),9,dV)],2)):T("",!0),e.showArchiveOption?(u(),h("li",fV,[R($,{to:pV},{default:z(()=>[_e(w(k.$t("archive.title")),1)]),_:1})])):T("",!0),f("li",{class:j({disabled:i(l)===e.pageCount})},[f("a",{onClick:He(E,["prevent"]),href:I(i(l)+1),rel:i(b)?"next":""},null,8,mV)],2)])}}},vu=te(hV,[["__scopeId","data-v-e3598158"]]),gV={key:2,class:"pagination"},_V={key:0,class:"pagination collapsedTopMargin"},yV={__name:"FeedRenderer",props:{definition:{type:Object,default:()=>({})},cards:{type:Array,default:()=>[]},isFeed:{type:Boolean,default:!0},hideHeader:{type:Boolean,default:!1},layoutType:{type:String,default:"list"},ignoreDocumentType:{type:Boolean,default:!0},showAuthors:{type:Boolean,default:!1},showTopDivider:{type:Boolean,default:!0},showSponsoredLabel:{type:Boolean,default:!0},isArchiveDate:{type:Boolean,default:!1},isCompact:{type:Boolean,default:!1},hasBanners:{type:Boolean,default:!1},firstCardPreloadImg:{type:Boolean,default:!1},useBuiltInPagination:{type:Boolean,default:!1},pageCount:{type:Number,default:1},pageRange:{type:Number,default:4},noPadding:{type:Boolean,default:!1},urlSuffix:{type:String,default:""},externalUrlSuffix:{type:String,default:""},showRelatedNews:{type:Boolean,default:!1}},setup(e){const t=e,{$createLocalUrl:n}=ue(),{config:o,siteBanners:s}=ye().public,r=t.hasBanners?os(s,t.definition?.Properties?.DFPBannersInLIst):!1;function a(){return t.definition?.Properties?.title?t.definition.Properties.title:t.definition?.Properties?.Title?t.definition.Properties.Title:t.definition?.Name?t.definition.Name:""}const l=a(),c=t.definition?.Properties?.Url||t.definition?.Properties?.url||"",m=c&&(c.startsWith(o.siteUrl)||c.startsWith("/"));let d;c&&(d=m?n(c):c,!m&&!c.startsWith("http://")&&!c.startsWith("https://")&&(d=`https://${c}`));const p=t.definition?.Properties?.StaticImageLogoDark?.ImageUrl||t.definition?.Properties?.StaticImageLogoLight?.ImageUrl||l;function _(S){switch(S.type){case"A":return oe(()=>ne(()=>Promise.resolve().then(()=>wne),void 0,import.meta.url));case"B":return oe(()=>ne(()=>Promise.resolve().then(()=>Ane),void 0,import.meta.url));case"C":return oe(()=>ne(()=>Promise.resolve().then(()=>wK),void 0,import.meta.url));case"C-Simple":return oe(()=>ne(()=>Promise.resolve().then(()=>r4),void 0,import.meta.url));case"D":return oe(()=>ne(()=>Promise.resolve().then(()=>Nne),void 0,import.meta.url));case"Poll":return oe(()=>ne(()=>Promise.resolve().then(()=>Qne),void 0,import.meta.url));default:return oe(()=>ne(()=>Promise.resolve().then(()=>Cs),void 0,import.meta.url))}}let g=t.cards?.map(S=>_(S));qe(()=>t.cards,()=>{g=t.cards?.map(S=>_(S))});const b=Le(),y=Ye();function C(S,$){return $.paging.rewritePaging?S?.params?.path?.[S.params.path.length-2]===$.paging.pagingUrlParam?parseInt(S.params.path[S.params.path.length-1],10):1:S.query[$.paging.pagingQueryParam]?parseInt(S.query[$.paging.pagingQueryParam],10):1}const E=se(()=>C(b,o));function D(S){let $,P;b.params.path?.[b.params.path.length-2]===o.paging.pagingUrlParam?$=b.params.path.slice(0,-2):$=b.params.path,$.length?S===1?P=`/${$.join("/")}`:P=`/${$.join("/")}/${o.paging.pagingUrlParam}/${S}`:S===1?P="/":P=`/${o.paging.pagingUrlParam}/${S}
71`,P=P.replace("//","/"),y.push(P).catch(()=>{})}function v(S){if(o.paging?.rewritePaging)D(S);else{const $={};$.q=b.query.q,$.q===1?delete $[o.paging.pagingQueryParam]:$[o.paging.pagingQueryParam]=S,y.push({query:$}).catch(()=>{})}}const I=Us(t.urlSuffix,o.utmSource),k=Us(t.externalUrlSuffix,o.utmSource);return(S,$)=>(u(),h("div",{class:j({"news-feed":e.isFeed,"no-padding":e.noPadding})},[e.hideHeader?T("",!0):Ee(S.$slots,"header",{key:0},()=>[i(p)?(u(),O(Mt,{key:0,class:"card-header-wrap",headline:i(l),link:i(d),"is-external":!i(m),"dark-img":t.definition?.Properties?.StaticImageLogoDark?.ImageUrl,"light-img":t.definition?.Properties?.StaticImageLogoLight?.ImageUrl},null,8,["headline","link","is-external","dark-img","light-img"])):T("",!0)],!0),t.cards?(u(),h("div",{key:1,class:j({"additional-feed":e.layoutType==="grid"||e.layoutType==="first-full-then-grid"})},[(u(!0),h(G,null,pe(t.cards,(P,x)=>(u(),h(G,{key:P.document.DocumentId},[P.horizontalDivider?(u(),O(Et,{key:0,class:"divider-is-horizontal"})):T("",!0),f("div",{class:j(["feed-list-item",{"cv-defer":x>2}])},[(x===0?P.divider&&i(p)&&e.showTopDivider:P.divider)?(u(),O(Et,{key:0,class:"card-divider"})):T("",!0),(u(),O(Qe(i(g)[x]),{"show-authors":t.showAuthors||P.showAuthors,"document-data":P.document,"ignore-document-type":t.ignoreDocumentType,"show-image":P.showImage,"show-engagement-bar":P.showEngagementBar,"show-time":P.showTime,"is-sidebar":t.definition?.Properties?.isSidebar==="True","is-half":P.isHalf,"show-alt-time":P.showAltTime,"lighter-title":P.lighterTitle,"show-labels":P.showLabels,"engage-share-visible":P.shareVisible,"engage-comment-action-visible":P.commentActionVisible,"engage-number-of-comments-visible":P.numberOfCommentsVisible,"engage-react-visible":P.reactVisible,"engage-comments-number":P.commentsNumber,"show-numeration":P.showNumeration,number:P.number,"show-sponsored-label":e.showSponsoredLabel,"category-title":P.categoryTitle,"is-archive-date":t.isArchiveDate,"is-compact":P.isCompact,"lazy-load-image":t.firstCardPreloadImg?x!==0:!0,"url-suffix":i(I),"external-url-suffix":i(k),"show-related-news":t.showRelatedNews},null,8,["show-authors","document-data","ignore-document-type","show-image","show-engagement-bar","show-time","is-sidebar","is-half","show-alt-time","lighter-title","show-labels","engage-share-visible","engage-comment-action-visible","engage-number-of-comments-visible","engage-react-visible","engage-comments-number","show-numeration","number","show-sponsored-label","category-title","is-archive-date","is-compact","lazy-load-image","url-suffix","external-url-suffix","show-related-news"]))],2),t.hasBanners?(u(),h(G,{key:1},[i(r)[x+2]?(u(),O(gn,{key:0,definition:i(r)[x+2]},null,8,["definition"])):T("",!0)],64)):T("",!0)],64))),128))],2)):T("",!0),Ee(S.$slots,"no-results",{},void 0,!0),e.useBuiltInPagination?(u(),h("div",gV,[e.pageCount>1?(u(),h("div",_V,[$[0]||($[0]=f("div",{class:"result-divider"},null,-1)),R(vu,{value:i(E),"page-count":e.pageCount,"page-range":e.pageRange,"click-handler":v,"show-archive-option":e.pageCount>=9,"paging-config":i(o).paging},null,8,["value","page-count","page-range","show-archive-option","paging-config"])])):T("",!0)])):Ee(S.$slots,"pagination",{key:3},void 0,!0),Ee(S.$slots,"view-more-button",{},void 0,!0)],2))}},Nt=te(yV,[["__scopeId","data-v-67e50a4f"]]),vV={key:0,class:"list-into-grid"},bV={__name:"DynamicComponentsHeadboxAdditionalFeed",props:{definition:{type:Object,default:()=>({})},layoutType:{type:String,default:"first-full-then-grid"}},setup(e){const{$device:t}=ue(),n=e,o=n.definition?.Documents,s=n.definition?.Properties?.URLSuffix||"",r=n.definition?.Properties?.externalURLSuffix||"";let a=[],l=0;if(o){o.length%2===1?l=o.length-1:l=o.length;for(let c=0;c<o.length;c++){const m={document:o[c],type:"C",divider:!0,isHalf:!0,horizontalDivider:!t.isMobileOrTablet&&c%2===0};a.push(m)}a=a.slice(0,l)}return(c,m)=>i(o)?(u(),h("div",vV,[R(Nt,{definition:e.definition,cards:i(a),layoutType:e.layoutType,urlSuffix:i(s),externalUrlSuffix:i(r)},null,8,["definition","cards","layoutType","urlSuffix","externalUrlSuffix"])])):T("",!0)}},wV=Object.freeze(Object.defineProperty({__proto__:null,default:bV},Symbol.toStringTag,{value:"Module"})),kV={key:0,class:"single-column-news"},TV={key:0,class:"contextual-title"},$V={__name:"DynamicComponentsHeadboxSingleColumnNews",props:{definition:{type:Object,default:()=>{}}},setup(e){const t=e,n=se(()=>t.definition?.Properties?.title?t.definition.Properties.title:t.definition?.Properties?.Title?t.definition.Properties.Title:t.definition?.Name?t.definition.Name:""),o=t.definition?.Documents,s=o?o.map(l=>({document:l,type:l.DocumentTypeAlias==="Poll"?"Poll":l.CardType,divider:!1,showImage:!0,showEngagementBar:!0,showTime:!0})):[],r=t.definition?.Properties?.URLSuffix||"",a=t.definition?.Properties?.externalURLSuffix||"";return(l,c)=>i(o)?(u(),h("div",kV,[i(n)?(u(),h("span",TV,w(i(n)),1)):T("",!0),R(Nt,{definition:e.definition,cards:i(s),ignoreDocumentType:!1,showAuthors:!0,isFeed:!1,hasBanners:!0,hideHeader:!0,urlSuffix:i(r),externalUrlSuffix:i(a),showRelatedNews:!0},null,8,["definition","cards","urlSuffix","externalUrlSuffix"])])):T("",!0)}},SV=te($V,[["__scopeId","data-v-3776d145"]]),DV=Object.freeze(Object.defineProperty({__proto__:null,default:SV},Symbol.toStringTag,{value:"Module"})),CV={class:"external-widget light"},PV={class:"external-body"},xV={class:"external-label"},IV={class:"external-product"},EV={class:"external-product-desc"},AV={class:"external-product-title"},LV={class:"star-rating"},RV={class:"star-rating-rate-wrap"},OV={key:0,class:"star-rating-score"},MV={key:1,class:"star-rating-count"},NV={class:"external-product-image"},BV=["src","alt"],UV={key:0,class:"external-vendor"},jV=["href"],VV={class:"external-vendor-image"},HV=["src","alt"],zV={class:"external-vendor-price"},FV={key:1,class:"external-vendor-item no-link"},WV={class:"external-vendor-image"},GV=["src","alt"],qV={class:"external-vendor-price"},YV={key:1,class:"external-vendors"},KV={class:"external-no-product"},XV=["href"],QV={__name:"DynamicComponentsHeadboxExternalPriceComparisonWidget",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,{$createLocalUrl:n}=ue(),o=L(t.definition?.Documents[0]),s=L(!0),r=se(()=>t.definition?.Properties?.ExternalWidgetLogo?.ImageUrl),a=se(()=>t.definition?.Name?t.definition.Name:""),l=se(()=>n(t.definition?.Properties?.LinkURL)),c=r.value||a.value||l,m=se(()=>
71o.value?.ExternalAttributes?.powerReviewsNumberOfReviews);function d(v){if(v){const I=v?.toString();return I.includes(".")?I:`${I}.0`}}const p=se(()=>d(o.value?.ExternalAttributes?.powerReviewsRating)),_=se(()=>p.value?100*p.value/5:0);o.value?.ProductVariations[0]?.Prices||(s.value=!1);function g(v){let I;return v!=null&&(I=v.filter(k=>typeof k.Price<"u"),I=I?.sort((k,S)=>k.Price>S.Price?1:-1)),I}const b=se(()=>g(o.value?.ProductVariations[0]?.Prices));function y(v){if(v!==void 0)return v=v.toString(),v=Number(v).toLocaleString("rs-SP").replace(/,/g,".").toString(),v}const C=t.definition?.Properties?.URLSuffix||"",E=t.definition?.Properties?.externalURLSuffix||"",D=rn({url:o.value?.WebUrl,urlSuffix:C,externalUrlSuffix:E});return(v,I)=>(u(),h("div",CV,[i(c)?(u(),O(Mt,{key:0,class:"card-header-wrap",headline:i(a),link:i(l),isExternal:i(l)===t.definition?.Properties?.LinkURL,lightImg:i(r)},null,8,["headline","link","isExternal","lightImg"])):T("",!0),f("div",PV,[f("h3",xV,w(t.definition?.Properties?.ExternalWidgetSubtitle),1),f("div",IV,[f("div",EV,[f("h2",AV,w(i(o).Title),1),f("div",LV,[f("div",RV,[f("div",{class:"star-rating-rate",style:Se(`width: ${i(_)}%`)},null,4)]),i(p)?(u(),h("div",OV,w(i(p)),1)):T("",!0),i(m)?(u(),h("div",MV,"("+w(i(m))+")",1)):T("",!0)])]),f("figure",NV,[f("img",{src:i(o)?.PosterPhoto?.ThumbnailUrl,alt:i(o)?.PosterPhoto?.AltText,style:Se({objectPosition:i(fo)("document?.PosterPhoto?.ImageFocusCrop")})},null,12,BV)])]),i(s)?(u(),h("div",UV,[(u(!0),h(G,null,pe(i(b).slice(0,5),k=>(u(),h("div",{class:"external-vendor-item-wrap",key:k.VendorId},[k?.ExternalUrl?(u(),h("a",{key:0,class:"external-vendor-item with-link",href:i(rn)({url:k?.ExternalUrl,urlSuffix:i(C),externalUrlSuffix:i(E),isExternalArticle:!!k?.ExternalUrl}),target:"_blank"},[f("figure",VV,[f("img",{src:k?.VendorImageUrl,alt:k?.VendorName},null,8,HV)]),f("span",zV,w(y(k?.Price))+" "+w(v.$t("common.currency")),1)],8,jV)):(u(),h("div",FV,[f("figure",WV,[f("img",{src:k?.VendorImageUrl,alt:k?.VendorName},null,8,GV)]),f("span",qV,w(y(k?.Price))+" "+w(v.$t("common.currency")),1)]))]))),128))])):(u(),h("div",YV,[f("div",KV,w(v.$t("common.productIsNotAvailable")),1)])),f("a",{href:i(n)(i(D)),target:"_blank",class:"external-btn"},w(v.$t("common.viewMoreBtnWidget")),9,XV)])]))}},JV=Object.freeze(Object.defineProperty({__proto__:null,default:QV},Symbol.toStringTag,{value:"Module"})),ZV={class:"external-widget light"},eH={class:"external-body reviews"},tH={class:"external-label"},nH={key:0,class:"external-reviews-wrap"},oH={class:"external-product"},sH={class:"external-product-desc"},iH={class:"external-product-title"},rH={class:"star-rating"},aH={class:"star-rating-rate-wrap"},lH={class:"star-rating-score"},cH={class:"star-rating-count"},uH={class:"external-product-image"},dH=["src","alt"],fH={class:"external-review-text"},mH=["href"],pH={__name:"DynamicComponentsHeadboxExternalReviewsWidget",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,{$createLocalUrl:n}=ue(),o=L(t.definition?.Documents?.filter(E=>E.DocumentTypeAlias==="ExternalReviewsWidget")),s=t.definition?.Properties?.ExternalWidgetLogo?.ImageUrl,r=t.definition?.Properties?.URLSuffix||"",a=t.definition?.Properties?.externalURLSuffix||"",l=se(()=>t.definition?.Properties?.LinkName?t.definition.Properties.LinkName:t.definition?.Name?t.definition.Name:""),c=n(t.definition?.Properties?.LinkURL),m=s||l.value,d=L({slidesPerView:1,hideNavigationOnEdges:!0,pagination:o.value.length>1,navigation:!1,transitionDuration:.34,sliderName:"reviews"}),p=L(!0);d.value.pagination||(p.value=!1);function _(E){return E.replace(",",".")}function g(E){const D=E.find(I=>I.Name==="Review score")?.Text,v=_(D);return v.includes(".")||v.includes(",")?v:`${v}.0`}function b(E){const D=E.find(I=>I.Name==="Review score")?.Text,v=parseFloat(_(D));return v?100*v/5:0}function y(E){return E.find(D=>D.Name==="Review count")?.Text}function C(E){const D=E.find(I=>I.Name==="Product URL")?.Text;return/[?&]/i.test(D)?D:`${D}${a||r}`}return(E,D)=>(u(),h("div",ZV,[i(m)?(u(),O(Mt,{key:0,class:"card-header-wrap",headline:i(l),link:i(c),isExternal:i(c)===t.definition?.Properties?.LinkURL,lightImg
71:i(s)},null,8,["headline","link","isExternal","lightImg"])):T("",!0),f("div",eH,[f("h3",tH,w(t.definition?.Properties?.ExternalWidgetSubtitle),1),i(o)?(u(),h("div",nH,[R(an,{options:i(d),class:j({hasPagination:i(p)})},{default:z(()=>[(u(!0),h(G,null,pe(i(o),v=>(u(),O(zt,{key:v.DocumentId},{default:z(()=>[f("div",oH,[f("div",sH,[f("h2",iH,w(v.Title),1),f("div",rH,[f("div",aH,[f("div",{class:"star-rating-rate",style:Se(`width: ${b(v?.DocumentElements)}%`)},null,4)]),f("div",lH,w(g(v?.DocumentElements)),1),f("div",cH,"("+w(y(v?.DocumentElements))+")",1)])]),f("figure",uH,[f("img",{src:v?.PosterPhoto?.ThumbnailUrl,alt:v?.PosterPhoto?.AltText,style:Se({objectPosition:i(fo)("document?.PosterPhoto?.ImageFocusCrop")})},null,12,dH)])]),f("div",fH,[f("p",null,w(v.ShortDescription),1)]),f("a",{href:i(n)(`${C(v?.DocumentElements)}#pwrPlugin`),class:"btn btn--cta external-btn",target:"_blank"},w(E.$t("common.readReviewBtnWidget")),9,mH)]),_:2},1024))),128))]),_:1},8,["options","class"])])):T("",!0)])]))}},hH=Object.freeze(Object.defineProperty({__proto__:null,default:pH},Symbol.toStringTag,{value:"Module"})),gH={class:"external-articles-kurir__widget"},_H={key:1,class:"external-articles-kurir__list"},yH=["href"],vH={key:0,class:"external-articles-kurir__image"},bH={class:"external-articles-kurir__title"},wH={__name:"DynamicComponentsCustomExternalBlogsWidgetKurir",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,{$createLocalUrl:n}=ue(),o=t.definition.Documents,s=t.definition.Properties?.headerImageDark,r=t.definition.Properties?.headerImageLight,a=t.definition?.Properties?.title||"",l=s?.AltText||"",c=r?.AltText||"",m=s?.ImageUrl||null,d=r?.ImageUrl||null,p=t.definition?.Properties?.URLSuffix||"",_=t.definition?.Properties?.externalURLSuffix||"",g=n(t.definition?.Properties?.url),b=a||g||s||r;function y(C){return wa(mo(C),"large")?.[0]}return(C,E)=>(u(),h("div",gH,[i(b)?(u(),O(i(Mt),{key:0,class:"card-header-wrap","dark-img":i(m),"light-img":i(d),"dark-image-alt":i(l),"light-image-alt":i(c),headline:i(a),link:i(g),isExternal:i(g)===t.definition.Properties?.Url,"is-external":!0},null,8,["dark-img","light-img","dark-image-alt","light-image-alt","headline","link","isExternal"])):T("",!0),i(o)?(u(),h("div",_H,[(u(!0),h(G,null,pe(i(o),D=>(u(),h("a",{key:D.DocumentId,href:i(rn)({document:D,urlSuffix:i(p),externalUrlSuffix:i(_),isExternalArticle:D.DocumentTypeAlias==="ExternalArticle"}),target:"_blank",rel:"noopener",class:"external-articles-kurir__item"},[D.PosterPhoto?(u(),h("div",vH,[f("figure",null,[R(Be,{image:y(D),template:t.definition?.Template},null,8,["image","template"])])])):T("",!0),f("h3",bH,w(D.Title),1)],8,yH))),128))])):T("",!0)]))}},kH=te(wH,[["__scopeId","data-v-19f9e836"]]),u_=Object.freeze(Object.defineProperty({__proto__:null,default:kH},Symbol.toStringTag,{value:"Module"})),TH={class:"escn-widget"},$H=["href"],SH={class:"escn-widget__card-content"},DH={key:0,class:"escn-widget__image"},CH={class:"escn-widget__card-text-content"},PH={class:"escn-widget__card-labels-wrap"},xH={key:0,class:"escn-widget__card-label"},IH={class:"escn-widget__card-label-time"},EH={class:"escn-widget__title"},AH={__name:"DynamicComponentsCustomExternalSingleColumnNews",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,n=t.definition?.Properties?.URLSuffix||"",o=t.definition?.Properties?.externalURLSuffix||"";function s(l){return wa(mo(l),"large")?.[0]}const r=t.definition?.Documents.map(l=>{if(l.DocumentTypeAlias==="ExternalArticle"){const c=l.DocumentAttributes?.find(m=>m.Name==="Subtitle");return{...l,CardSubtitle:c?c.Text:l.ParentMenuItemName}}return{...l,CardSubtitle:l.ParentMenuItemName}});function a(l){if(!l)return"";const c=l.split(" ")[0],[m,d,p]=c.split("/").map(Number);return isNaN(d)||isNaN(m)||isNaN(p)?"":`${d}.${m}.${p}.`}return(l,c)=>(u(),h("div",TH,[i(r)?(u(!0),h(G,{key:0},pe(i(r),m=>(u(),h("div",{key:m.DocumentId,class:"escn-widget__item"},[f("a",{href:i(rn)({document:m,urlSuffix:i(n),externalUrlSuffix:i(o)}),target:"_blank",rel:"noopener",class:"escn-widget__link"},[f("div",SH,[m.PosterPhoto?(u(),h("div",DH,[f("figure",null,[R(Be,{image:s(m),template:t.definition?.Template},null,8,["image","template"])])])):T("",!0),f("div",CH,[f("div",PH,[m.CardSubtitle?(u(),h("span",xH,w(m.CardSubtitle),
711)):T("",!0),f("span",IH,w(i(ln)(m.LastEditDate,m.LastEditDateShortFormatted||a(m.LastEditDate),l.$t("timeBefore"))),1)]),f("h3",EH,w(m.Title),1)])])],8,$H)]))),128)):T("",!0)]))}},LH=te(AH,[["__scopeId","data-v-dd42e47c"]]),d_=Object.freeze(Object.defineProperty({__proto__:null,default:LH},Symbol.toStringTag,{value:"Module"})),RH={class:"nl-card"},OH={class:"nl-card__top-part"},MH={class:"nl-card__image-container"},NH={class:"nl-card__content"},BH={class:"nl-card__label"},UH={class:"nl-card__title"},jH={class:"nl-card__description"},VH={class:"nl-card__link"},HH=["disabled"],zH={key:0,class:"spinner-container"},FH=["disabled"],WH={key:0,class:"spinner-container"},GH={class:"nl-card__top-part"},qH={class:"nl-card__image-container"},YH={class:"nl-card__content"},KH={class:"nl-card__label"},XH={class:"nl-card__title"},QH={class:"nl-card__description"},JH={class:"nl-card__bottom-part"},ZH={class:"nl-card__link"},ez=["disabled"],tz={key:0,class:"spinner-container"},nz=["disabled"],oz={key:0,class:"spinner-container"},sz={__name:"CommonNewsletterCard",props:{definition:{type:Object,default:()=>({})},selection:{type:Array,default:()=>[]},isWidget:{type:Boolean,default:!1},urlSuffix:{type:String,default:""},singleNewsletter:{type:Boolean,default:!1},isFeed:{type:Boolean,default:!1}},emits:["added","removed","subscribe-to-newsletter"],setup(e,{emit:t}){const n=e,o=$t(),r=$e().coreData?.siteSettings?.enableGigya,a=No(n.definition),l=a["Gigya Consent"]?.Text,c=se(()=>n.selection.includes(l)),m=se(()=>o.userData?.subscriptions?.[l]?.email.isSubscribed===!0),d=t;function p(){const y=l;c.value?d("removed",y):d("added",y)}const _=a.Label?.Text;function g(){return n.singleNewsletter?wa(mo(n.definition),"large"):tu(mo(n.definition))}const b=g();return(y,C)=>(u(),h("div",RH,[e.isFeed&&e.singleNewsletter?(u(),O(Tt,{key:0,class:"nl-card__container",to:`${y.$createLocalUrl(n.definition.WebUrl)}${e.urlSuffix}`},{default:z(()=>[f("div",OH,[f("figure",MH,[R(Be,{image:i(b)[0],class:"nl-card__image"},null,8,["image"])]),f("div",NH,[f("span",BH,w(i(_)),1),f("h3",UH,w(n.definition.Title),1),f("p",jH,w(n.definition.ShortDescription),1),f("span",VH,w(y.$t("newsletter.preview")),1),i(r)?(u(),h(G,{key:0},[e.isWidget&&i(o).isAuthenticated?(u(),h("button",{key:1,class:"nl-card__action",disabled:i(m),onClick:C[0]||(C[0]=He(E=>d("subscribe-to-newsletter",i(a)["Mailchimp List ID"]?.Text,i(l)),["prevent"]))},[i(o).gigyaLoaded?i(m)?(u(),h(G,{key:1},[C[5]||(C[5]=f("i",{class:"icon-checkmark--filled nl-card__check isSubscribed","aria-hidden":"true"},null,-1)),_e(w(y.$t("newsletter.subscribed")),1)],64)):(u(),h(G,{key:2},[C[6]||(C[6]=f("i",{class:"icon-add nl-card__plus","aria-hidden":"true"},null,-1)),_e(w(y.$t("newsletter.subscribe")),1)],64)):(u(),h("span",WH,[R(_s)]))],8,FH)):(u(),h("button",{key:0,class:"nl-card__action",onClick:He(p,["prevent"]),disabled:i(m)},[i(o).gigyaLoaded?i(m)?(u(),h(G,{key:1},[C[2]||(C[2]=f("i",{class:"icon-checkmark--filled nl-card__check isSubscribed","aria-hidden":"true"},null,-1)),_e(w(y.$t("newsletter.subscribed")),1)],64)):i(c)?(u(),h(G,{key:3},[C[4]||(C[4]=f("i",{class:"icon-checkmark--filled nl-card__check","aria-hidden":"true"},null,-1)),_e(w(y.$t("newsletter.selected")),1)],64)):(u(),h(G,{key:2},[C[3]||(C[3]=f("i",{class:"icon-add nl-card__plus","aria-hidden":"true"},null,-1)),_e(w(y.$t("newsletter.subscribe")),1)],64)):(u(),h("span",zH,[R(_s)]))],8,HH))],64)):(u(),h("button",{key:1,class:"nl-card__action",onClick:He(p,["prevent"])},[i(c)?(u(),h(G,{key:1},[C[8]||(C[8]=f("i",{class:"icon-checkmark--filled nl-card__check","aria-hidden":"true"},null,-1)),_e(w(y.$t("newsletter.selected")),1)],64)):(u(),h(G,{key:0},[C[7]||(C[7]=f("i",{class:"icon-add nl-card__plus","aria-hidden":"true"},null,-1)),_e(w(y.$t("newsletter.subscribe")),1)],64))]))])])]),_:1},8,["to"])):(u(),O(Tt,{key:1,class:"nl-card__container",to:`${y.$createLocalUrl(n.definition.WebUrl)}${e.urlSuffix}`},{default:z(()=>[f("div",GH,[f("figure",qH,[R(Be,{image:i(b)[0],class:"nl-card__image"},null,8,["image"])]),f("div",YH,[f("span",KH,w(i(_)),1),f("h3",XH,w(n.definition.Title),1),f("p",QH,w(n.definition.ShortDescription),1)])]),f("div",JH,[f("span",ZH,w(y.$t("newsletter.preview")),1),i(r)?(u(),h(G,{key:0},[e.isWidget&&i(o).isAuthenticated?(u(),h("button",{key:1,class:"nl-card__action",disabled:i(m),onClick:C[1]||(C[1]=He(E=>d("subscribe-to-newsletter",i(a)["Mailchimp List ID"]?.Text,i(l)),["prevent"]))},[i(o).gigyaLoaded?i(m)?(u(),h(G,{key:1},[C[12]||(C[12]=f("i",{class:"icon-checkmark--filled nl-card__check isSubscribed","aria-hidden":"true"},null,-1)),_e(w(y.$t("newsletter.subscribed")),1)],64)):(u(),h(G,{key:2},[C[13]||(C[13]=f("i",{class:"icon-add nl-card__plus","aria-hidden":"true"},null,-1)),_e(w(y.$t("newsletter.subscribe")),1)],64)):(u(),h("span",oz,[R(_s)]))],8,nz)):(u(),h("button",{key:0,class:"nl-card__action",onClick:He(p,["prevent"]),disabled:i(m)},[i(o).gigyaLoaded?i(m)?(u(),h(G,{key:1},[C[9]||(C[9]=f("i",{class:"icon-checkmark--filled nl-card__check isSubscribed","aria-hidden":"true"},null,-1)),_e(w(y.$t("newsletter.subscribed")),1)],64)):i(c)?(u(),h(G,{key:3},[C[11]||(C[11]=f("i",{class:"icon-checkmark--filled nl-card__check","aria-hidden":"true"},null,-1)),_e(w(y.$t("newsletter.selected")),1)],64)):(u(),h(G,{key:2},[C[10]||(C[10]=f("i",{class:"icon-add nl-card__plus","aria-hidden":"true"},null,-1)),_e(w(y.$t("newsletter.subscribe")),1)],64)):(u(),h("span",tz,[R(_s)]))],8,ez))],64)):(u(),h("button",{key:1,class:"nl-card__action",onClick:He(p,["prevent"])},[i(c)?(u(),h(G,{key:1},[C[15]||(C[15]=f("i",{class:"icon-checkmark--filled nl-card__check","aria-hidden":"true"},null,-1)),_e(w(y.$t("newsletter.selected")),1)],64)):(u(),h(G,{key:0},[C[14]||(C[14]=f("i",{class:"icon-add nl-card__plus","aria-hidden":"true"},null,-1)),_e(w(y.$t("newsletter.subscribe")),1)],64))]))])]),_:1},8,["to"]))]))}},lc=te(sz,[["__scopeId","data-v-956b8ebb"]]),iz={class:"nl-acl__popup-title"},rz={key:1,class:"form-textbox isSmall"},az={class:"form-label"},lz={class:"gigya-label-text form-label-text"},cz=["disabled"],uz={key:2,class:"form-checkbox"},dz={class:"form-label"},fz={class:"form-label-text"},mz=["href"],pz=["href"],Ff="general",hz={__name:"CommonNewsletterNewslettersPopupForm",props:{newsletters:{type:Array,default:()=>[]},selectedGigyaConsents:{type:Array,default:()=>[]},isWidget:{type:Boolean,default:!1}},emits:["reset-user-selection"],setup(e,{emit:t}){const n=e,{$t:o,$snackbar:s}=ue(),{config:r}=ye().public,{termsId:a}=r,l=$t(),c=$e(),m=c.coreData?.siteSettings?.enableGigya,d=L("");let p=[],_=[];const g=L(!1),b=Gt({}),y=L(!1),C=se(()=>n.isWidget?"":c.themeColor==="light"?"dark":"light"),E=t;async function D($){try{const P=await Xg();await Qg($,P.regToken,d.value,a,Ff)}catch(P){throw new Error(P)}}function v($){return n.newsletters.filter(x=>$.includes(Te(x,"Gigya Consent")?.Text)).map(x=>Te(x,"Mailchimp List ID")?.Text)}async function I(){let $;l.isAuthenticated?$=l.userData?.profile?.email||l.userData?.email:$=d.value,p=await Jg($),_=v(n.selectedGigyaConsents).filter(M=>!p.includes(M));const x=await(await fetch("/mailchimp/subscribe",{method:"PUT",body:JSON.stringify({email:$,mailchimpListIds:_})})).json();if(x.error&&x.errorCode==="INVALID_EMAIL")throw new Error("INVALID_EMAIL");if(x.length===0)throw new Error("ALREADY_SUBSCRIBED");if(!x.every(M=>M.status==="subscribed"))throw new Error("error")}
71async function k(){let $;l.isAuthenticated?$=l.userData?.profile?.email||l.userData?.email:$=d.value,await fetch("/mailchimp/unsubscribe",{method:"PUT",body:JSON.stringify({email:$,mailchimpListIds:_})})}async function S(){try{await I()}catch($){if($.message==="INVALID_EMAIL"){s.$setToaster(o("snackbar.warning.invalidEmail"),"warning");return}if($.message==="ALREADY_SUBSCRIBED"){s.$setToaster(o("newsletter.alreadySubscribed"),"warning");return}await k(),s.$setToaster(o("newsletter.errorSubscription"),"error");return}if(m){const $={};n.selectedGigyaConsents.forEach(P=>{$[P]={email:{isSubscribed:!0}}});try{l.isAuthenticated?(await mu($),l.setUserSubscriptions($)):await D($)}catch{await k(),s.$setToaster(o("newsletter.errorSubscription"),"error");return}}d.value="",E("reset-user-selection"),s.$setToaster(o("newsletter.successSubscription"),"success")}return De(async()=>{if(typeof window.gigya<"u"){const $=await Kg();b.privacy=$[`privacy.wmg.${Ff}`]?.legalStatements?.sr?.documentUrl,b.terms=$[`terms.${a}.general`]?.legalStatements?.sr?.documentUrl}}),($,P)=>{const x=$n("click-outside");return gt((u(),h("form",{onSubmit:He(S,["prevent"]),class:j(["nl
71-acl__popup",[{isExpanded:i(y)},{hasInput:!i(l).isAuthenticated},i(C)]])},[Ee($.$slots,"divider",{},void 0,!0),f("span",iz,w(i(o)("newsletter.popupTitle")),1),!i(l).isAuthenticated&&!e.isWidget?(u(),h("button",{key:0,class:"chevron-icon",onClick:P[0]||(P[0]=He(A=>y.value=!i(y),["prevent"]))},[f("i",{class:j(`icon-${i(y)?"chevron--down":"chevron--up"}`),"aria-hidden":"true"},null,2)])):T("",!0),!i(l).isAuthenticated||!i(m)?(u(),h("div",rz,[f("label",az,[f("span",lz,w(i(o)("profile.yourEmail")),1)]),gt(f("input",{type:"email",class:"form-input","onUpdate:modelValue":P[1]||(P[1]=A=>Je(d)?d.value=A:null),onFocusin:P[2]||(P[2]=A=>y.value=!0),required:""},null,544),[[Ac,i(d)]])])):T("",!0),f("button",{class:"nl-acl__popup-submit",disabled:!i(g)&&!i(l).isAuthenticated},w(i(o)("newsletter.subscribe")),9,cz),i(l).isAuthenticated?T("",!0):(u(),h("div",uz,[gt(f("input",{"onUpdate:modelValue":P[3]||(P[3]=A=>Je(g)?g.value=A:null),type:"checkbox",class:"checkbox","aria-required":"true",required:""},null,512),[[Lc,i(g)]]),f("label",dz,[f("span",fz,[_e(w(i(o)("newsletter.consentPart1"))+" ",1),f("a",{href:i(b).terms||i(r).consentDocuments.terms,target:"_blank"},w(i(o)("newsletter.consentPart2")),9,mz),P[4]||(P[4]=_e(" i ",-1)),f("a",{href:i(b).privacy||i(r).consentDocuments.privacy,target:"_blank"},w(i(o)("newsletter.consentPart3")),9,pz),P[5]||(P[5]=_e(". ",-1))])])]))],34)),[[x,()=>y.value=!1]])}}},f_=te(hz,[["__scopeId","data-v-e8116723"]]),gz={class:"nl-widget-body"},_z={key:0,class:"nl-cards-wrapper"},yz={__name:"DynamicComponentsHeadboxNewslettersWidget",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,{$createLocalUrl:n,$snackbar:o,$t:s}=ue(),r=$t(),a=t.definition?.Properties?.title,l=t.definition?.Properties?.isSidebar==="True",c=n(t.definition?.Properties?.Url||t.definition?.Properties?.url),m=t.definition?.Documents?.filter(I=>I.DocumentTypeAlias==="Newsletter"),d=t.definition?.Properties?.URLSuffix||"",p=m.length===1,_={slidesPerView:l?1.3548:2.4838,pagination:!1,navigation:!0,hideNavigationOnEdges:!0,freeMode:!1,transitionDuration:.34,breakpoints:{1023:{navigation:!1,freeMode:!0}}},g=L([]);function b(I){g.value.indexOf(I)===-1&&g.value.push(I)}function y(I){const k=g.value.indexOf(I);k!==-1&&g.value.splice(k,1)}function C(){g.value=[]}async function E(I){const k=r.userData?.profile?.email||r.userData?.email,$=await(await fetch("/mailchimp/subscribe",{method:"PUT",body:JSON.stringify({email:k,mailchimpListIds:[I]})})).json();if($.error&&$.errorCode==="INVALID_EMAIL")throw new Error("INVALID_EMAIL");if(!$.every(x=>x.status==="subscribed"))throw new Error("error")}async function D(I){const k=r.userData?.profile?.email||r.userData?.email;await fetch("/mailchimp/unsubscribe",{method:"PUT",body:JSON.stringify({email:k,mailchimpListIds:[I]})})}async function v(I,k){try{await E(I)}catch{o.$setToaster(s("newsletter.errorSubscription"),"error");return}const S={[k]:{email:{isSubscribed:!0}}};try{r.isAuthenticated&&(await mu(S),r.setUserSubscriptions(S))}catch{await D(I),o.$setToaster(s("newsletter.errorSubscription"),"error");return}o.$setToaster(s("newsletter.successSubscription"),"success")}return(I,k)=>
71(u(),h("div",{class:j(["nl-widget",{isSidebar:l,isFeed:!l,singleNewsletter:p}])},[R(Mt,{class:"card-header-wrap",headline:i(a),link:i(c),"is-external":i(c)===t.definition?.Properties?.Url},null,8,["headline","link","is-external"]),R(Et),f("div",gz,[i(m)?(u(),h("div",_z,[p?(u(),O(lc,{key:0,definition:i(m)[0],selection:i(g),isWidget:!0,onAdded:b,onRemoved:y,onSubscribeToNewsletter:v,urlSuffix:i(d),singleNewsletter:p,isFeed:!l},null,8,["definition","selection","urlSuffix","isFeed"])):(u(),O(an,{key:1,options:_},{default:z(()=>[(u(!0),h(G,null,pe(i(m),(S,$)=>(u(),O(zt,{key:S.DocumentId},{default:z(()=>[R(lc,{definition:S,selection:i(g),isWidget:!0,onAdded:b,onRemoved:y,onSubscribeToNewsletter:v,urlSuffix:i(d)},null,8,["definition","selection","urlSuffix"]),$<i(m).length-1?(u(),O(Et,{key:0})):T("",!0)]),_:2},1024))),128))]),_:1}))])):T("",!0)]),R(ua,{name:"slide"},{default:z(()=>[i(g).length?(u(),O(f_,{key:0,newsletters:t.definition?.Documents,selectedGigyaConsents:i(g),onResetUserSelection:C,isWidget:!0},{divider:z(()=>[R(Et,{class:"nl-widget-popup-divider"})]),_:1},8,["newsletters","selectedGigyaConsents"])):T("",!0)]),_:1})],2))}},vz=te(yz,[["__scopeId","data-v-505d0de1"]]),bz=Object.freeze(Object.defineProperty({__proto__:null,default:vz},Symbol.toStringTag,{value:"Module"})),wz={class:"b-list-acl"},kz={key:0,class:"b-list-feed"},Tz={__name:"DynamicComponentsAclBListAcl",props:{definition:{type:Object,default:()=>({})},aclType:{type:String,default:"b"},layoutType:{type:String,default:"list"}},setup(e){const t=e,n=t.definition?.Documents,o=[],s=t.definition?.Properties?.URLSuffix||"",r=t.definition?.Properties?.externalURLSuffix||"";if(n)for(let a=0;a<n.length;a++){const l={document:n[a],type:"B",divider:!0,lighterTitle:t.definition?.Properties?.isSidebar==="True"};o.push(l)}return(a,l)=>(u(),h("div",wz,[i(n)?(u(),h("div",kz,[R(Nt,{definition:e.definition,cards:o,showSponsoredLabel:!0,hasBanners:!0,urlSuffix:i(s),externalUrlSuffix:i(r)},null,8,["definition","urlSuffix","externalUrlSuffix"])])):T("",!0)]))}},m_=Object.freeze(Object.defineProperty({__proto__:null,default:Tz},Symbol.toStringTag,{value:"Module"})),$z={class:"b-plus-c-list"},Sz={key:0,class:"b-plus-c-feed"},Dz={__name:"DynamicComponentsAclBPlusCListAcl",props:{definition:{type:Object,default:()=>({})},aclType:{type:String,default:"b-plus-c"},layoutType:{type:String,default:"list"}},setup(e){const t=e,n=t.definition?.Documents,o=[],s=t.definition?.Properties?.URLSuffix||"",r=t.definition?.Properties?.externalURLSuffix||"";if(n){o.push({document:n[0],type:"B",divider:!0,ignoreDocumentType:t.definition?.Properties?.isSidebar==="True",lighterTitle:t.definition?.Properties?.isSidebar==="True"});for(let a=1;a<n.length;a++){const l={document:n[a],type:"C",divider:!0,isSidebar:t.definition?.Properties?.isSidebar==="True",lighterTitle:t.definition?.Properties?.isSidebar==="True",showAuthors:!1};o.push(l)}}return(a,l)=>(u(),h("div",$z,[i(n)?(u(),h("div",Sz,[R(Nt,{definition:e.definition,cards:o,layoutType:e.layoutType,showSponsoredLabel:!0,hasBanners:!0,urlSuffix:i(s),externalUrlSuffix:i(r)},null,8,["definition","layoutType","urlSuffix","externalUrlSuffix"])])):T("",!0)]))}},p_=Object.freeze(Object.defineProperty({__proto__:null,default:Dz},Symbol.toStringTag,{value:"Module"})),Cz={class:"b-plus-c-into-grid-acl"},Pz={key:0,class:"b-plus-c-list-into-grid-feed"},xz={__name:"DynamicComponentsAclBPlusCListIntoGridAcl",props:{definition:{type:Object,default:()=>({})},aclType:{type:String,default:"b-plus-c-list-into-grid"},layoutType:{type:String,default:"grid"}},setup(e){const{$device:t}=ue(),n=e,o=n.definition?.Documents,s=[],r=n.definition?.Properties?.URLSuffix||"",a=n.definition?.Properties?.externalURLSuffix||"";if(o){s.push({document:o[0],type:"B",divider:!0,showAuthors:!1});for(let l=1;l<5&&l<o.length;l++){const c={document:o[l],type:"C",isHalf:!0,divider:t.isMobileOrTablet?!0:l%2===0,horizontalDivider:!t.isMobileOrTablet&&l%2!==0&&l!==0,showAuthors:!1};s.push(c)}}return(l,c)=>(u(),h("div",Cz,[i(o)?(u(),h("div",Pz,[R(Nt,{definition:e.definition,cards:s,layoutType:"first-full-then-grid",showSponsoredLabel:!0,hasBanners:!0,urlSuffix:i(r),externalUrlSuffix:i(a)},null,8,["definition","urlSuffix","externalUrlSuffix"])])):T("",!0)]))}},h_=Object.freeze(Object.defineProperty({__proto__:null,default:xz},Symbol.toStringTag,{value:"Module"})),Iz={class:"b-into-c-list-acl"},Ez={key:0,class:"b-into-c-list-feed"},Az={__name:"DynamicComponentsAclBIntoCListAcl",props:{definition:{type:Object,default:()=>({})},aclType:{type:String,default:"b-into-c"},layoutType:{type:String,default:"list"}},setup(e){const{$device:t}=ue(),n=e,o=n.definition?.Documents,s=[],r=n.definition?.Properties?.URLSuffix||"",a=n.definition?.Properties?.externalURLSuffix||"";if(o)for(let l=0;l<o.length;l++){const c={document:o[l],type:t.isMobileOrTablet?"B":"C",lighterTitle:n.definition?.Properties?.isSidebar==="True",divider:!0};s.push(c)}return(l,c)=>(u(),h("div",Iz,[i(o)?(u(),h("div",Ez,[R(Nt,{definition:e.definition,cards:s,layoutType:e.layoutType,showSponsoredLabel:!0,hasBanners:!0,urlSuffix:i(r),externalUrlSuffix:i(a)},null,8,["definition","layoutType","urlSuffix","externalUrlSuffix"])])):T("",!0)]))}},g_=Object.freeze(Object.defineProperty({__proto__:null,default:Az},Symbol.toStringTag,{value:"Module"})),Lz={key:0,class:"c-list-feed"},Rz={__name:"DynamicComponentsAclCListAcl",props:{definition:{type:Object,default:()=>({})},aclType:{type:String,default:"b"},layoutType:{type:String,default:"list"}},setup(e){const t=e,n=t.definition?.Documents,o=[],s=t.definition?.Properties?.URLSuffix||"",r=t.definition?.Properties?.externalURLSuffix||"",a=t.definition?.Properties?.mostPopularOnFacebookHeader==="True";if(n)for(let l=0;l<n.length;l++){const c={document:n[l],type:"C",divider:!0,showEngagementBar:!0,lighterTitle:t.definition?.Properties?.isSidebar==="True"};o.push(c)}return(l,c)=>(u(),h("div",{class:j(["c-list-acl",{"facebook-header":a}])},[i(n)?(u(),h("div",Lz,[R(Nt,{definition:e.definition,cards:o,showSponsoredLabel:!0,urlSuffix:i(s),externalUrlSuffix:i(r),hasBanners:!0},null,8,["definition","urlSuffix","externalUrlSuffix"])])):T("",!0)],2))}},__=Object.freeze(Object.defineProperty({__proto__:null,default:Rz},Symbol.toStringTag,{value:"Module"})),Oz={class:"bcc-list-acl"},Mz={key:0,class:"bcc-list-feed"},Nz={__name:"DynamicComponentsAclBCCListAcl",props:{definition:{type:Object,default:()=>({})},aclType:{type:String,default:"bcc"},layoutType:{type:String,default:"list"}},setup(e){const t=e,n=t.definition?.Documents,o=[],s=t.definition?.Properties?.URLSuffix||"",r=t.definition?.Properties?.externalURLSuffix||"";if(n)for(let a=0;a<n.length;a++){const l=a%3===0,c={document:n[a],type:l?"B":"C",divider:!0,ignoreDocumentType:t.definition?.Properties?.isSidebar==="True",lighterTitle:t.definition?.Properties?.isSidebar==="True",showAuthors:!1};o.push(c)}return(a,l)=>(u(),h("div",Oz,[i(n)?(u(),h("div",Mz,[R(Nt,{definition:e.definition,cards:o,showSponsoredLabel:!0,hasBanners:!0,urlSuffix:i(s),externalUrlSuffix:i(r),showRelatedNews:!0},null,8,["definition","urlSuffix","externalUrlSuffix"])])):T("",!0)]))}},y_=Object.freeze(Object.defineProperty({__proto__:null,default:Nz},Symbol.toStringTag,{value:"Module"})),Bz={key:0,class:"alfanum-widget"},Uz={class:"alfanum-widget-title"},jz={class:"alfanum-widget-wrapper"},Vz={class:"alfanum-widget-subtitle"},Hz={class:"alfanum-widget-article-wrapper"},zz=["onLoadedmetadata","onPlay","onPause"],Fz=["src"],Wz={class:"alfanum-widget-fake-control
71s-wrapper"},Gz={class:"alfanum-widget-fake-controls"},qz=["onClick"],Yz=["onClick"],Kz=["onClick"],Xz=["onClick"],Qz={class:"alfanum-widget-time"},Jz={class:"alfanum-widget-progress-time"},Zz={class:"alfanum-widget-duration-time"},e6=["onClick"],t6={class:"alfanum-widget-article-control","aria-label":"Play/Pause Button",role:"button"},n6={key:0,class:"icon-pause--filled","aria-hidden":"true"},o6={key:1,class:"icon-play--filled--alt","aria-hidden":"true"},s6={class:"alfanum-widget-article-title"},i6={key:0,class:"alfanum-widget-article-duration"},r6={key:1,class:"alfanum-widget-article-duration"},a6={__name:"DynamicComponentsHeadboxAlfanumWidget",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,{config:n}=ye().public,{$device:o,$pushAudioPlayEvent:s}=ue(),r=$t(),a=$e(),l=L(!1),c=L(!0),m=L(!0),d=L(!0),p=L([]),_=L(0),g=L(),b=L(),y=L([]),C=L("0:00"),E=o.isMobileOrTablet?3:5,D=L([]),v=se(()=>a.coreData?.siteSettings?.enableGigya);function I(V){return Ke(D.value[V]?.DocumentAttributes,"children",Z=>Z?.Name==="AlfanumUrl")?.Value}function k(V){try{const K=p.value[V];if(K&&!isNaN(K.duration)&&isFinite(K.duration)){const Z=K.duration,q=Math.floor(Z/3600),fe=Z%3600;let W=Math.floor(Z/60),le=Math.floor(Z%60),he;q>0?(W=Math.floor(fe/60),le=Math.floor(fe%60),he=`${q.toString().padStart(2,"0")}:${W.toString().padStart(2,"0")}:${le.toString().padStart(2,"0")}`):he=`${W}:${le.toString().padStart(2,"0")}`,c.value=!1,y.value[V]=he}}catch(K){console.error(K),c.value=!1,y.value[V]="0:00"}}function S(V){s({id:`${D.value[V]?.DocumentId}`,name:D.value[V]?.Title,type:"alfanum widget"})}function $(V){p.value[V].pause(),l.value=!1}function P(V){_.value===V&&(l.value=!1)}function x(){for(let V=0;V<p.value.length;V++)$(V)}function A(V){_.value!==V?(_.value!==null&&($(_.value),p.value[_.value].currentTime=0),_.value=V,p.value[V].play(),l.value=!0,m.value=V===0,d.value=V===p.value.length-1,S(V)):l.value?$(V):(p.value[V].play(),l.value=!0,S(V))}function N(V){_.value=V,l.value=!0}function M(V){const K=V-1;K>=0?(p.value[K].currentTime=0,A(K)):m.value=!0}function ee(V){const K=V+1;K<p.value.length&&($(V),p.value[K].currentTime=0,p.value[K].play(),_.value=K,m.value=!1,d.value=K===p.value.length-1&&p.value.length!==1,S(K))}function X(V){V+1<p.value.length?ee(V):(_.value=0,l.value=!1,C.value="0:00",m.value=!0,d.value=p.value.length===1)}function me(){p.value.forEach((V,K)=>{V.addEventListener("ended",()=>X(K))})}function Q(){p.value.forEach((V,K)=>{V.removeEventListener("ended",()=>X(K))})}function F(){_.value!==null&&$(_.value),_.value=0,p.value[0].currentTime=0,p.value[0].play(),l.value=!0,m.value=!0,d.value=p.value.length===1;for(let V=1;V<p.value.length;V++)p.value[V].currentTime=0,$(V);me(),S(0)}function Y(V){const K=p.value[V],Z=K.currentTime/K.duration*100;b.value[V].style.flexBasis=`${Z}%`;const q=Math.floor(K.currentTime/3600),fe=K.currentTime%3600;let W=Math.floor(K.currentTime/60),le=Math.floor(K.currentTime%60);q>0?(W=Math.floor(fe/60),le=Math.floor(fe%60),C.value=`${q.toString().padStart(2,"0")}:${W.toString().padStart(2,"0")}:${le.toString().padStart(2,"0")}`):C.value=`${W}:${le.toString().padStart(2,"0")}`}function ie(V,K){const Z=V.offsetX/g.value[K].offsetWidth*p.value[K].duration;p.value[K].currentTime=Z}function ce(){for(let V=0;V<p.value.length;V++){const K=I(V);K&&(p.value[V].src=K,p.value[V].load())}}function de(V){return V.filter(K=>!!Ke(K.DocumentAttributes,"children",q=>q?.Name==="AlfanumUrl")?.Value)}return!v.value||r.isAuthenticated?(D.value=de(t.definition.Documents),setTimeout(()=>{ce()},0)):D.value=de(t.definition.Documents?.filter(V=>!V?.Locked)),De(()=>{if(n.alfanumActive){p.value.length>1&&(m.value=!0,d.value=!1);for(let V=0;V<p.value.length;V++)setTimeout(()=>{const K=k(V);y.value.push(K),c.value=!1},100),p.value[V].addEventListener("timeupdate",()=>Y(V)),g.value[V].addEventListener("click",K=>ie(K,V));me()}}),Zt(()=>{if(n.alfanumActive){Q();for(let V=0;V<p.value.length;V++)p.value[V].removeEventListener("timeupdate",()=>Y(V)),g.value[V].removeEventListener("click",K=>ie(K,V))}}),(V,K)=>i(n).alfanumActive?(u(),h("div",Bz,[f("div",Uz,[K[2]||(K[2]=f("i",{class:"icon-headphones-custom","aria-hidden":"true"}
71,null,-1)),_e(" "+w(t.definition.Properties?.title),1)]),f("div",jz,[f("div",Vz,w(V.$t("common.awSubtitle")),1),f("div",Hz,[(u(!0),h(G,null,pe(i(D).slice(0,i(E)),(Z,q)=>(u(),h("div",{key:q,class:j(["alfanum-widget-article",{active:q===i(_)&&i(l)}])},[f("div",{class:"alfanum-widget-control-wrapper",style:Se(`z-index: ${q===i(_)?"1":"0"}; visibility: ${q===i(_)?"visible":"hidden"};`)},[f("audio",{controls:"",preload:"auto",ref_for:!0,ref_key:"audioElement",ref:p,onLoadedmetadata:fe=>k(q),onPlay:fe=>N(q),onPause:fe=>P(q)},[f("source",{src:I(q),type:"audio/mpeg"},null,8,Fz)],40,zz),f("div",Wz,[f("div",Gz,[f("i",{onClick:fe=>M(q),class:j(["icon-skip--back",{disable:i(m)||i(c)}]),"aria-hidden":"true"},null,10,qz),q===i(_)&&i(l)?(u(),h("i",{key:0,onClick:fe=>A(q),class:"icon-pause--filled","aria-hidden":"true"},null,8,Yz)):(u(),h("i",{key:1,onClick:fe=>A(q),class:"icon-play--filled--alt","aria-hidden":"true"},null,8,Kz)),f("i",{onClick:fe=>ee(q),class:j(["icon-skip--forward",{disable:i(d)||i(c)}]),"aria-hidden":"true"},null,10,Xz)]),f("div",{ref_for:!0,ref_key:"audioProgress",ref:g,class:"alfanum-widget-audio-progress"},[f("div",{ref_for:!0,ref_key:"audioProgressBar",ref:b,class:"alfanum-widget-audio-progress-bar"},null,512)],512),f("div",Qz,[f("span",Jz,w(i(C)),1),f("span",Zz,w(i(y)[q]||V.$t("common.awLoading")),1)])])],4),f("div",{class:"alfanum-widget-article-info",onClick:fe=>A(q)},[f("div",t6,[q===i(_)&&i(l)?(u(),h("i",n6)):(u(),h("i",o6))]),f("h2",s6,w(Z?.Title),1),i(c)?(u(),h("div",i6,"â¦")):(u(),h("div",r6,w(i(y)[q]),1))],8,e6)],2))),128))]),i(l)?(u(),h("div",{key:0,class:"alfanum-widget-cta btn",role:"button",onClick:K[0]||(K[0]=Z=>x())},w(V.$t("common.awPause")),1)):(u(),h("div",{key:1,class:"alfanum-widget-cta btn",role:"button",onClick:K[1]||(K[1]=Z=>F())},w(V.$t("common.awPlayAll")),1))])])):T("",!0)}},l6=te(a6,[["__scopeId","data-v-9835a60c"]]),c6=Object.freeze(Object.defineProperty({__proto__:null,default:l6},Symbol.toStringTag,{value:"Module"})),u6={class:"topics"},d6={class:"topics__container"},f6={class:"topics__title"},m6={class:"topics__list-container"},p6=["title","href","onClick"],h6={__name:"DynamicComponentsHeadboxTopics",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,{$createLocalUrl:n}=ue(),o=Ye(),s=L(),r=L(!1),a=L({left:0,x:0}),l=t.definition?.Properties?.URLSuffix||"",c=t.definition?.Properties?.externalURLSuffix||"";function m(g){if(r.value){const b=g.clientX-a.value.x;s.value&&(s.value.scrollLeft=a.value.left-b)}}function d(){r.value=!1,window.removeEventListener("mouseup",d),window.removeEventListener("mousemove",m)}function p(g,b){const y=Te(b,"External Document URL")?.Text;(window.outerWidth<1024||window.outerWidth>=1024&&a.value.x===g.clientX)&&(y?.startsWith("https")||y?.startsWith("http")?window.open(y,"_blank").focus():o.push(n(y)))}function _(g){window.outerWidth>=768&&(r.value=!0,a.value.left=s.value?.scrollLeft||0,a.value.x=g.clientX,g.stopPropagation(),g.preventDefault(),window.addEventListener("mouseup",d),window.addEventListener("mousemove",m,{passive:!0}))}return Xe(()=>{window.removeEventListener("mouseup",d),window.removeEventListener("mousemove",m)}),(g,b)=>(u(),h("div",u6,[f("div",d6,[f("span",f6,w(e.definition.Properties.title),1),f("div",m6,[f("ul",{class:"topics__list",ref_key:"list",ref:s,onMousedown:_},[(u(!0),h(G,null,pe(t.definition.Documents,y=>(u(),h("li",{class:"topics__list-item",key:y.DocumentId},[i(Te)(y,"External Document URL")?.Text&&y.Title?(u(),h("a",{key:0,title:y.Title,class:"topics__link",href:i(rn)({document:y,urlSuffix:i(l),externalUrlSuffix:i(c),isExternalArticle:y.DocumentTypeAlias==="ExternalArticle"}),onClick:He(C=>{p(C,y)},["prevent"])},w(y.Title),9,p6)):T("",!0)]))),128))],544)])])]))}},g6=te(h6,[["__scopeId","data-v-1eb36e92"]]),_6=Object.freeze(Object.defineProperty({__proto__:null,default:g6},Symbol.toStringTag,{value:"Module"})),y6={class:"frontpages-item"},v6=["src","alt"],b6={__name:"DynamicComponentsHeadboxPrintPage",props:{definition:{type:Object,default:()=>({})}},setup(e){const{genericImages:t,config:n}=ye().public,{$createLocalUrl:o}=ue(),s=e,a=No(s.definition?.Documents?.[0])["Cover Photo"],l=Us(s.definition?.Properties?.URLSuffix,n.utmSource),c=Us(s.definition?.Properties?.externalURLSuffix,n.utmSource),m=s.definition?.Properties?.Url,d=s.definition?.Properties?.UrlName,p=m&&(m.startsWith(n.siteUrl)||m.startsWith("/"));let _;return m&&(_=p?`${o(m)}${l}`:`${m}${c}`,!p&&!m.startsWith("http://")&&!m.startsWith("https://")&&(_=`https://${m}${c}`)),(g,b)=>{const y=Kn;return u(),h("div",y6,[f("img",{src:i(a)?.Image?.ImageUrl||i(t).placeholderImg,alt:i(a)?.Image?.AltText||"",style:Se({objectPosition:i(fo)(i(a)?.Image?.ImageFocusCrop)})},null,12,v6),i(_)&&i(d)?(u(),O(y,{key:0,class:"btn btn--prim",to:i(_)},{default:z(()=>[_e(w(i(d)),1)]),_:1},8,["to"])):T("",!0)])}}},w6=te(b6,[["__scopeId","data-v-7cff8825"]]),k6=Object.freeze(Object.defineProperty({__proto__:null,default:w6},Symbol.toStringTag,{value:"Module"})),T6={class:"frontpages-wrap"},$6={class:"frontpages-item"},S6=["src","alt"],D6={__name:"DynamicComponentsHeadboxPrintPageSingle",props:{definition:{type:Object,default:()=>({})}},setup(e){const{genericImages:t,config:n}=ye().public,{$createLocalUrl:o}=ue(),s=e,a=No(s.definition?.Documents?.[0])["Cover Photo"];function l(){return s.definition?.Properties?.title?s.definition.Properties.title:s.definition?.Properties?.Title?s.definition.Properties.Title:s.definition?.Name?s.definition.Name:""}const c=l(),m=Us(s.definition?.Properties?.URLSuffix,n.utmSource),d=Us(s.definition?.Properties?.externalURLSuffix,n.utmSource),p=s.definition?.Properties?.Url,_=s.definition?.Properties?.UrlName,g=p&&(p.startsWith(n.siteUrl)||p.startsWith("/"));let b;p&&(b=g?`${o(p)}${m}`:`${p}${d}`,!g&&!p.startsWith("http://")&&!p.startsWith("https://")&&(b=`https://${p}${d}`));const y=s.definition?.Properties?.StaticImageLogoDark?.ImageUrl,C=s.definition?.Properties?.StaticImageLogoLight?.ImageUrl,E=y||C||c||b;return(D,v)=>{const I=Kn;return u(),h("div",T6,[i(E)?(u(),O(Mt,{key:0,class:"card-header-wrap",headline:i(c),link:i(b),isExternal:!i(g),darkImg:i(y),lightImg
71:i(C)},null,8,["headline","link","isExternal","darkImg","lightImg"])):T("",!0),R(Et,{class:"divider-is-horizontal"}),f("div",$6,[f("img",{src:i(a)?.Image?.ImageUrl||i(t).placeholderImg,alt:i(a)?.Image?.AltText||"",style:Se({objectPosition:i(fo)(i(a)?.Image?.ImageFocusCrop)})},null,12,S6),i(b)&&i(_)?(u(),O(I,{key:0,class:"btn btn--prim",to:i(b)},{default:z(()=>[_e(w(i(_)),1)]),_:1},8,["to"])):T("",!0)])])}}},C6=te(D6,[["__scopeId","data-v-d6383c84"]]),P6=Object.freeze(Object.defineProperty({__proto__:null,default:C6},Symbol.toStringTag,{value:"Module"})),x6={class:"horoscope-sidebar-slider"},I6={class:"list-header"},E6={class:"title"},A6={class:"arrows"},L6={class:"prev"},R6={key:0,class:"is-disabled"},O6={class:"next"},M6={key:0,class:"is-disabled"},N6={class:"signs-navigation"},B6={class:"signs-navigation__wrap"},U6={key:0,class:"signs-navigation__list_item is-active"},j6=["onClick"],V6={viewBox:"0 0 320 320"},H6=["xlink:href"],z6=["innerHTML"],F6={__name:"DynamicComponentsHeadboxHoroscopeSidebarSlider",props:{definition:{type:Object,default:()=>({})}},setup(e){const n=e.definition.Documents[0],o=n.DocumentElements?.filter(E=>E.Type==="StoryUpdate")||[],s=E=>{const D=E,v=[];return D?.forEach(I=>{if(I.Name==="Horoscope"){const k=I.StoryUpdateElements?.[0]?.Text,S=`${k?.substring(k.indexOf(">")+1,k.indexOf("</"))}`,x=k.split('<p class="not-empty">')[1].split("</p>")[0],A={sign:S,content:x};v.push(A)}}),v},r=L(0),a=s(o),l={Ovan:"aries",Bik:"taurus",Blizanac:"gemini",Rak:"cancer",Lav:"leo",Vaga:"libra",Devica:"virgo",Å korpija:"scorpio",Strelac:"sagittarius",Jarac:"capricorn",Vodolija:"aquarius",Ribe:"pisces"},c=L({slidesPerView:1,pagination:!1,navigation:!1,activeIndex:r.value}),m=L(),d=L(!1),p=L({left:0,x:0});function _(E){r.value=E,setTimeout(()=>{const D=m?.value?m.value.getElementsByClassName("signs-navigation__list_item is-active")[0]:null;if(D){const v=m.value.clientWidth/2,I=D.offsetLeft,k=D.offsetWidth/2,S=I-v+k;m.value.scrollLeft=S}},50)}function g(E){if(d.value){const D=E.clientX-p.value.x;m.value&&(m.value.scrollLeft=p.value.left-D)}}function b(){d.value=!1,window.removeEventListener("mouseup",b),window.removeEventListener("mousemove",g)}function y(E){window.outerWidth>=768&&(d.value=!0,p.value.left=m.value?.scrollLeft||0,p.value.x=E.clientX,E.stopPropagation(),E.preventDefault(),window.addEventListener("mouseup",b),window.addEventListener("mousemove",g,{passive:!0}))}function C(E,D,v){(window.outerWidth<1024||window.outerWidth>=1024&&p.value.x===E.clientX)&&_(v)}return Xe(()=>{window.removeEventListener("mouseup",b),window.removeEventListener("mousemove",g)}),(E,D)=>{const v=Kn;return u(),h("div",x6,[f("div",I6,[f("span",E6,w(e.definition?.Properties?.title),1),f("div",A6,[f("div",L6,[i(r)===0?(u(),h("span",R6)):(u(),h("a",{key:1,role:"button",onClick:D[0]||(D[0]=I=>_(i(r)-1))}))]),f("div",O6,[i(r)===i(a)?.length-1?(u(),h("span",M6)):(u(),h("a",{key:1,role:"button",onClick:D[1]||(D[1]=I=>_(i(r)+1))}))])])]),f("div",N6,[f("div",B6,[f("ul",{class:"signs-navigation__list",ref_key:"list",ref:m,onMousedown:y},[(u(!0),h(G,null,pe(i(a),(I,k)=>(u(),h("li",{key:k},[i(r)===k?(u(),h("span",U6,w(I.sign),1)):(u(),h("a",{key:1,role:"button",onClick:He(S=>{C(S,I,k)},["prevent"]),class:"signs-navigation__list_item"},w(I.sign),9,j6))]))),128))],544)])]),R(an,{class:"horoscope__slider",options:i(c),onSlideIndex:D[2]||(D[2]=I=>_(I)),modelValue:i(r),"onUpdate:modelValue":D[3]||(D[3]=I=>Je(r)?r.value=I:null)},{default:z(()=>[(u(!0),h(G,null,pe(i(a),(I,k)=>(u(),O(zt,{key:k,class:"horoscope__slide"},{default:z(()=>[(u(),h("svg",V6,[f("use",{"xlink:href":`/img/zodiac-signs-sprite.svg#${l[I.sign]}`},null,8,H6)])),f("p",{innerHTML:I.content},null,8,z6),R(v,{class:"btn btn--prim view-more",to:E.$createLocalUrl(i(n).WebUrl)},{default:z(()=>[_e(w(E.$t("horoscope.viewMore")),1)]),_:1},8,["to"])]),_:2},1024))),128))]),_:1},8,["options","modelValue"])])}}},W6=te(F6,[["__scopeId","data-v-5f047a10"]]),G6=Object.freeze(Object.defineProperty({__proto__:null,default:W6},Symbol.toStringTag,{value:"Module"})),q6={key:0},Y6={__name:"MissingComponent",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,{config:n}=ye().public,{debug:o}=n;function s(){let r=t.definition?.Type;return t.definition?.Template&&(r+=` - ${t.definition?.Template}`),r}return(r,a)=>(u(),h("div",null,[i(o)?(u(),h("div",q6,"Missing Component - "+w(s()),1)):T("",!0)]))}},Cs=Object.freeze(Object.defineProperty({__proto__:null,default:Y6},Symbol.toStringTag,{value:"Module"})),K6={__name:"DynamicComponentsAsyncBlock",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,{$factoryComponent:n}=ue(),o=Le(),{lazyLoadThreshold:s}=ye().public.groupCoreSettings,{config:r}=ye().public,{$device:a}
71=ue(),l=L(null),c=L(!1),m=L(null),d=a.isMobileOrTablet?2:1,p=o.params.path;let _="";(p.length>=2&&p[p.length-2]===r.paging?.pagingUrlParam||o.query.page)&&(p[p.length-2]===r.paging?.pagingUrlParam?_=`&page=${p[p.length-1]}`:_=`&page=${o.query.page}`);let g=!1;async function b(){if(t.definition.Url){g=!0;const P=Xo(o,r.paging),x=`/async-block/${encodeURIComponent(t.definition.Url)}?d=2${_}`;try{let N=await(await fetch(`${x}`,{method:"GET",headers:{isPaginated:P}})).json();N=N.Elements;const M=N.filter(X=>X?.Type==="DfpBanner"&&X.Properties.SlotCodeMobile),ee=N.filter(X=>X?.Type==="DfpBanner"&&X.Properties.SlotCodeDesktop);return(a.isMobileOrTablet&&M.length===0||a.isDesktop&&ee.length===0)&&(N=N.filter(X=>X?.Type!=="DfpBanner")),N||null}catch(A){return console.log(A),null}}return null}let y=0,C=0,E=!0,D,v;const I=()=>{const x=window.scrollY+window.innerHeight-y;E||window.scrollTo(0,window.scrollY+x),D.disconnect()};async function k(P){if(P[0].isIntersecting&&!c.value&&!g){y=window.scrollY+window.innerHeight;const x=await b();x&&(m.value=x,v.disconnect(),await Rt(),l.value&&(l.value.style.minHeight=`${l.value.scrollHeight}px`),c.value=!0,!x.Properties?.lazyInSidebar&&l.value&&(D=new ResizeObserver(I),D.observe(l.value)),await kr(x))}}function S(){const P=window.scrollY;E=P-C>0,C=P}const $=P=>P?n(P):null;return De(()=>{const P=window.innerHeight;v=new IntersectionObserver(k,{root:document.querySelector("window"),rootMargin:`${P*d}px`,threshold:s}),l.value&&v.observe(l.value),window.addEventListener("scroll",S)}),Xe(()=>{v&&v.disconnect(),D&&D.disconnect(),window.removeEventListener("scroll",S)}),(P,x)=>(u(),h("div",{class:j(["async-block",{loaded:i(c)}]),ref_key:"asyncBlock",ref:l},[(u(!0),h(G,null,pe(i(m),(A,N)=>(u(),O(Qe($(A)),{key:N,definition:A},null,8,["definition"]))),128))],2))}},X6=te(K6,[["__scopeId","data-v-03ca4130"]]),Q6=Object.freeze(Object.defineProperty({__proto__:null,default:X6},Symbol.toStringTag,{value:"Module"}));function ur(e,t,n){const o={},s=e.find(r=>r.Document);return s?(o.Properties={...s.Properties},o.MenuItemIds=s.MenuItemIds,o.Type=s.Type,o.Template=s.Template,o.Name=s.Name,o.Documents=e.map(r=>r.Document),t[n]&&(delete o.Properties.title,delete o.Properties.Url,delete o.Properties.StaticImageLogoLight,delete o.Properties.StaticImageLogoDark,delete o.Name),o):null}function v_(e){const t=[];let n=[],o=null;const s={};for(let r=0;r<e.length;r++)if(e[r].children){if(o){const a=ur(n,s,o);a&&(t.push(a),s[o]=!0),o=null,n=[]}e[r].children=v_(e[r].children),t.push(e[r])}else if(e[r].Properties?.InjectedElementId){if(e[r].Properties.InjectedElementId!==o){if(o){const a=ur(n,s,o);a&&(t.push(a),s[o]=!0)}o=e[r].Properties.InjectedElementId,n=[]}n.push(e[r])}else{if(o){const a=ur(n,s,o);a&&(t.push(a),s[o]=!0),o=null,n=[]}t.push(e[r])}if(o){const r=ur(n,s,o);r&&t.push(r)}return t}let cc=0,b_=!0,dr=0,fr=!1;function Wf(){const e=window.scrollY;b_=e-cc>0,cc=e}function J6(){function e(){dr+=1,fr||(cc=window.scrollY,window.addEventListener("scroll",Wf,{passive:!0}),fr=!0)}function t(){dr=Math.max(0,dr-1),dr===0&&fr&&(window.removeEventListener("scroll",Wf),fr=!1)}function n(){return b_}return{subscribe:e,unsubscribe:t,isDirectionForward:n}}const Z6={__name:"LazyComponent",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,{$factoryComponent:n}=ue(),o=Le(),{config:s}=ye().public,{lazyLoadThreshold:r}=ye().public.groupCoreSettings,{$device:a}=ue(),l=L(null),c=L(!1),m=L(null),d=a.isMobileOrTablet?2:1;let p=!1;async function _(){if(t.definition.Url){p=!0;const S=Xo(o,s.paging),$=tg(t.definition.Url,s);try{let x=await(await fetch($,{method:"POST",headers:{isPaginated:S},body:JSON.stringify({CmfTag:t.definition.CmfTag})})).json();const A=x.filter(ee=>ee?.Type==="DfpBanner"&&ee.Properties.SlotCodeMobile),N=x.filter(ee=>ee?.Type==="DfpBanner"&&ee.Properties.SlotCodeDesktop);(a.isMobileOrTablet&&A.length===0||a.isDesktop&&N.length===0)&&(x=x.filter(ee=>ee?.Type!=="DfpBanner"));const M=v_(x);return M||null}catch(P){return console.log(P),null}}return null}let g=0,b,y;const{subscribe:C,unsubscribe:E,isDirectionForward:D}=J6(),v=()=>{const $=window.scrollY+window.innerHeight-g;D()||window.scrollTo(0,window.scrollY+$),b.disconnect()};async function I(S){if(S[0].isIntersecting&&!c.value&&!p){g=window.scrollY+window.innerHeight;const $=await _();$&&(m.value=$,y.disconnect(),await Rt(),l.value&&(l.value.style.minHeight=`${l.value.scrollHeight}
71px`),c.value=!0,!$.Properties?.lazyInSidebar&&l.value&&(b=new ResizeObserver(v),b.observe(l.value)))}}const k=S=>S?n(S):null;return De(()=>{const S=window.innerHeight;y=new IntersectionObserver(I,{root:document.querySelector("window"),rootMargin:`${S*d}px`,threshold:r}),l.value&&y.observe(l.value),C()}),Xe(()=>{y&&y.disconnect(),b&&b.disconnect(),E()}),(S,$)=>(u(),h("div",{class:j(["lazy-component",{loaded:i(c)}]),ref_key:"lazyComponent",ref:l},[(u(!0),h(G,null,pe(i(m),(P,x)=>(u(),O(Qe(k(P)),{key:x,definition:P},null,8,["definition"]))),128))],2))}},eF=te(Z6,[["__scopeId","data-v-a1e9c765"]]),tF=Object.freeze(Object.defineProperty({__proto__:null,default:eF},Symbol.toStringTag,{value:"Module"})),nF={key:0},oF={__name:"AsyncOnClickComponent",props:{definition:{type:Object,default:()=>({})},index:{type:Number,default:0},activeIndex:{type:Number,default:0},tabTemplate:{type:String,default:""},noPadding:{type:Boolean,default:!0},showEngagementBar:{type:Boolean,default:!1},showAuthor:{type:Boolean,default:!1},showTime:{type:Boolean,default:!1}},setup(e){const t=e,{config:n}=ye().public,{$factoryComponent:o,$factorySkeleton:s}=ue(),r=L(null),a=L(!1),l=t.tabTemplate.replace(" ","-").toLowerCase();function c(_){return _?o(_):null}let m;async function d(){if(t.definition.Url){const _=tg(t.definition.Url,n);try{const b=await(await fetch(_,{method:"POST",body:JSON.stringify({CmfTag:t.definition.CmfTag})})).json();b.length&&setTimeout(()=>{r.value=b,m=c(r.value[0]),a.value=!0},100)}catch(g){console.log(g)}}}const p=s(t.tabTemplate);return qe(()=>t.activeIndex,async()=>{!a.value&&t.activeIndex===t.index&&await d()}),(_,g)=>(u(),h("div",{class:j(["async-component",i(l)])},[i(a)?(u(),O(Qe(i(m)),{key:1,definition:i(r)[0],"no-padding":e.noPadding,"show-engagement-bar":e.showEngagementBar,"show-author":e.showAuthor,"show-time":e.showTime},null,8,["definition","no-padding","show-engagement-bar","show-author","show-time"])):(u(),h("div",nF,[(u(),O(Qe(i(p)),{count:5}))]))],2))}},sF=te(oF,[["__scopeId","data-v-b80debf5"]]),iF=Object.freeze(Object.defineProperty({__proto__:null,default:sF},Symbol.toStringTag,{value:"Module"})),rF={__name:"HeadlessStartSection",props:{definition:{type:Object,default:()=>({})},ignoreList:{type:Array,default:()=>[]}},setup(e){const t=Le(),n=e,{config:o}=ye().public;function s(){return new RegExp(o.comments.commentsRegex).test(t.fullPath)&&n.definition.Properties?.Class?.includes("article-content")?`${n.definition.Properties?.Class} all-comments-page`:n.definition.Properties?.Class}const r=s();function a(c){return c&&c?.children&&Array.isArray(c?.children)?c?.children.filter(m=>m.Template!=="Profile-Newsletters"):[]}const l=a(n.definition);return(c,m)=>(u(),h("div",{class:j(i(r))},[(u(!0),h(G,null,pe(i(l),(d,p)=>(u(),O(Ds,{key:p,definition:d},null,8,["definition"]))),128))],2))}},aF=Object.freeze(Object.defineProperty({__proto__:null,default:rF},Symbol.toStringTag,{value:"Module"})),lF={name:"NewsListACL",props:{definition:{type:Object,default:()=>({ContentListElements:[]})}}},cF={class:"nl__acl"};function uF(e,t,n,o,s,r){return u(),h("div",cF," NEWS LIST ACL ")}const dF=Object.assign(te(lF,[["render",uF]]),{__name:"DynamicComponentsAclNewsListAcl"}),fF=Object.freeze(Object.defineProperty({__proto__:null,default:dF},Symbol.toStringTag,{value:"Module"})),mF={class:"latest-news-acl"},pF={key:0,class:"latest-news-list-feed"},hF={__name:"DynamicComponentsAclLatestNewsACL",props:{definition:{type:Object,default:()=>({})},aclType:{type:String,default:"b"},layoutType:{type:String,default:"list"}},setup(e){const t=e,n=t.definition?.Documents,o=[],s=t.definition?.Properties?.URLSuffix||"",r=t.definition?.Properties?.externalURLSuffix||"";if(n)for(let a=0;a<n.length;a++){const l={document:n[a],type:"C-Simple",divider:!0,showImage:!1,showEngagementBar:!1,showTime:!1,lighterTitle:!0};o.push(l)}return(a,l)=>(u(),h("div",mF,[i(n)?(u(),h("div",pF,[R(Nt,{definition:e.definition,cards:o,showSponsoredLabel:!1,hasBanners:!1,urlSuffix:i(s),externalUrlSuffix:i(r)},null,8,["definition","urlSuffix","externalUrlSuffix"])])):T("",!0)]))}},gF=te(hF,[["__scopeId","data-v-cea0f783"]]),_F=Object.freeze(Object.defineProperty({__proto__:null,default:gF},Symbol.toStringTag,{value:"Module"})),yF={class:"most-comments-acl"},vF={key:0,class:"most-comments-list-feed"},bF={__name:"DynamicComponentsAclMostCommentsACL",props:{definition:{type:Object,default:()=>({})},aclType:{type:String,default:"b"},layoutType:{type:String,default:"list"},noPadding:{type:Boolean,default:!1},showAuthor:{type:Boolean,default:!0},showTime:{type:Boolean,default:!1},isStandaloneWidget:{type:Boolean,default:!0}},setup(e){const t=e,n=t.definition?.Documents,o=[],s=t.definition?.Properties?.URLSuffix||"",r=t.definition?.Properties?.externalURLSuffix||"";if(n)for(let m=0;m<n.length;m++){const d=Te(n[m],"Disable Comments And Reactions")?.Text==="true",p={document:n[m],type:"C-Simple",divi
71der:!0,showImage:!1,showEngagementBar:!d,shareVisible:!1,commentActionVisible:!1,reactVisible:!1,numberOfCommentsVisible:!0,showTime:t.showTime,lighterTitle:!0,showLabels:!1,commentsNumber:35-m,showNumeration:!0,number:m+1,showAuthors:t.showAuthor};o.push(p)}const a=(t.definition?.Properties?.url||t.definition?.Properties?.Url)&&t.definition?.Properties?.LinkName,l=t.definition?.Properties?.url||t.definition?.Properties?.Url,c=t.definition?.Properties?.LinkName;return(m,d)=>{const p=Kn;return u(),h("div",yF,[i(n)?(u(),h("div",vF,[R(Nt,{definition:e.definition,cards:o,showSponsoredLabel:!1,hasBanners:!0,hideHeader:t.definition?.Properties?.showHeader==="False",urlSuffix:i(s),noPadding:t.noPadding,externalUrlSuffix:i(r),isFeed:t.definition?.Properties?.isSidebar!=="True"||t.definition?.Properties?.isSidebar==="True"&&t.isStandaloneWidget},Sn({_:2},[i(a)?{name:"view-more-button",fn:z(()=>[R(p,{to:m.$createLocalUrl(i(l)),class:"btn btn--full btn--prim"},{default:z(()=>[f("span",null,w(i(c)),1)]),_:1},8,["to"])]),key:"0"}:void 0]),1032,["definition","hideHeader","urlSuffix","noPadding","externalUrlSuffix","isFeed"])])):T("",!0)])}}},wF=te(bF,[["__scopeId","data-v-10ad1c69"]]),kF=Object.freeze(Object.defineProperty({__proto__:null,default:wF},Symbol.toStringTag,{value:"Module"})),TF={class:"most-read-acl"},$F={key:0,class:"most-read-list-feed"},SF={__name:"DynamicComponentsAclMostReadACL",props:{definition:{type:Object,default:()=>({})},aclType:{type:String,default:"b"},layoutType:{type:String,default:"list"}},setup(e){const t=e,n=t.definition?.Documents,o=[],s=t.definition?.Properties?.URLSuffix||"",r=t.definition?.Properties?.externalURLSuffix||"";if(n)for(let a=0;a<n.length;a++){const l={document:n[a],type:"C",divider:!0,showImage:!0,isSidebar:t.definition?.Properties?.isSidebar==="True",showEngagementBar:!1,showTime:!1,lighterTitle:!0};o.push(l)}return(a,l)=>(u(),h("div",TF,[i(n)?(u(),h("div",$F,[R(Nt,{definition:e.definition,cards:o,showSponsoredLabel:!1,urlSuffix:i(s),externalUrlSuffix:i(r),hasBanners:!0},null,8,["definition","urlSuffix","externalUrlSuffix"])])):T("",!0)]))}},DF=te(SF,[["__scopeId","data-v-4bb08ff7"]]),CF=Object.freeze(Object.defineProperty({__proto__:null,default:DF},Symbol.toStringTag,{value:"Module"})),PF={key:0,class:"c-list-feed"},xF={key:0,class:"tag-description-header"},IF={class:"archive-title"},EF={key:1,class:"archive-header"},AF={class:"archive-header-title"},LF={__name:"DynamicComponentsAclArchive",props:{definition:{type:Object,default:()=>({})},aclType:{type:String,default:"c"},layoutType:{type:String,default:"list"}},setup(e){const t=e,n=ue(),o=Le(),s=$e(),r=Ws(),{$addPageToDataLayer:a,$getMetaData:l}=n,c=t.definition.Properties?.paginationElementName?.replace(" ","_")||"TagList",m=t.definition?.PageCount<9?t.definition?.PageCount:9;function d(){return s.pageData.contentMetaTags?.RegularMetaTags?.Title?.split("|")[0]}const p=d(),_=t.definition?.Documents,g=L([]),b=[{Url:o.path,Name:p}];function y(k){const S=[];if(k)for(let $=0;$<k.length;$++){const P={document:k[$],type:"C",divider:!0,showEngagementBar:!0,lighterTitle:t.definition?.Properties?.isSidebar==="True",isCompact:!0};S.push(P)}g.value=S}async function C(){r.showLoader(),y([]);let k=`/headless${o.fullPath}`;k+=o.query.page!==void 0?`&element=${c}`:`?element=${c}`;try{const $=await(await fetch(k,{method:"GET"})).json();y($.Elements[0].Documents);const P=l(s.pageData.contentMetaTags,null,s.pageData);Mn(P),window.scrollTo(0,0),setTimeout(()=>r.hideLoader(),100),a(P.title)}catch(S){console.log("error",S),r.hideLoader()}}const{config:E}=ye().public;E.paging.rewritePaging||qe(()=>o.query,C),y(_);const D=L(!1),v=$e().pageData.pageElements;return Ke(v,"children",k=>k?.Template==="Tag-Description")&&(D.value=!0),(k,S)=>(u(),h("div",{class:j(["archive-acl is-tag-archive",{"no-top-border":i(D)}])},[i(_)?(u(),h("div",PF,[R(Nt,{definition:e.definition,cards:i(g),showTopDivider:!1,hasBanners:!0,firstCardPreloadImg:!0,useBuiltInPagination:!0,"page-count":i(m),"page-range":4},{header:z(()=>[i(D)?(u(),h("div",EF,[f("span",AF,w(k.$t("archive.newestArticles")),1)])):(u(),h("div",xF,[R(_n,{crumbs:b,class:"isArchiveBreadcrumbs"}),S[0]||(S[0]=f("span",{class:"archive-hash"},"#",-1)),f("h1",IF,w(i(p)),1)]))]),_:1}
71,8,["definition","cards","page-count"])])):T("",!0)],2))}},RF=te(LF,[["__scopeId","data-v-3ac68b85"]]),OF=Object.freeze(Object.defineProperty({__proto__:null,default:RF},Symbol.toStringTag,{value:"Module"})),MF={key:0,class:"c-list-feed"},NF={key:0,class:"archive-header no-padding-bottom"},BF={class:"columnist-info"},UF={key:0,class:"columnist-image"},jF={class:"archive-title"},VF={key:0,class:"columnist-desc"},HF={key:1,class:"archive-header"},zF={class:"archive-header-title"},FF={__name:"DynamicComponentsAclArchiveAuthor",props:{definition:{type:Object,default:()=>({})},aclType:{type:String,default:"c"},layoutType:{type:String,default:"list"}},setup(e){const t=e,n=ue(),o=Le(),s=$e(),r=Ws(),{config:a}=ye().public,{$addPageToDataLayer:l,$getMetaData:c}=n,m=se(()=>{const P=Ke(s.pageData.pageElements,"children",x=>x.Type==="Author");return P||null}),d=L(!1);(o.fullPath.includes("columnist")||o.fullPath.includes("autor")||o.fullPath.includes("journalist"))&&(d.value=!0);function p(){let P;return m.value&&(P=`${m.value.FirstName} ${m.value.LastName||""}`,Xo(o,a.paging)&&(P=Gr(P,o))),P||""}const _=se(()=>p()),g=eu(Zc(m.value)),b=t.definition.Properties?.paginationElementName?.replace(" ","_")||"TagList",y=t.definition?.PageCount<9?t.definition?.PageCount:9,C=t.definition?.Documents,E=L([]),D=[{Url:o.path,Name:_}];function v(P){const x=[];if(P)for(let A=0;A<P.length;A++){const N={document:P[A],type:"C",divider:!0,showEngagementBar:!0,showAuthors:!1,lighterTitle:t.definition?.Properties?.isSidebar==="True",isCompact:!0};x.push(N)}E.value=x}async function I(){r.showLoader(),v([]);let P=`/headless${o.fullPath}`;P+=o.query.page!==void 0?`&element=${b}`:`?element=${b}`;try{const A=await(await fetch(P,{method:"GET"})).json();typeof window<"u"&&window.scrollTo(0,0),v(A.Elements[0].Documents);const N=c(s.pageData.contentMetaTags,null,s.pageData);Mn(N),window.scrollTo(0,0),setTimeout(()=>r.hideLoader(),100),l(N.title)}catch(x){console.log("error",x)}}a.paging.rewritePaging||qe(()=>o.query,I),v(C);const k=L(!1),S=$e().pageData.pageElements;return Ke(S,"children",P=>P?.Template==="Author-Profile")&&(k.value=!0),(P,x)=>(u(),h("div",{class:j(["archive-acl is-author-archive",{"no-top-border":i(k)}])},[i(C)?(u(),h("div",MF,[R(Nt,{definition:e.definition,cards:i(E),showTopDivider:!1,hasBanners:!0,firstCardPreloadImg:!0,useBuiltInPagination:!0,"page-count":i(y),"page-range":4},{header:z(()=>[i(k)?(u(),h("div",HF,[f("span",zF,w(P.$t("archive.authorArchiveArticles")),1),R(Et,{class:"card-divider"})])):(u(),h("div",NF,[R(_n,{crumbs:D,class:"isArchiveBreadcrumbs"}),f("div",BF,[i(d)&&i(m)?.PosterPhoto?(u(),h("figure",UF,[R(Be,{image:i(g)},null,8,["image"])])):T("",!0),f("h1",jF,w(p()),1)]),i(d)?(u(),h("div",VF,w(i(m)?.Description),1)):T("",!0)]))]),_:1},8,["definition","cards","page-count"])])):T("",!0)],2))}},WF=te(FF,[["__scopeId","data-v-476b41fd"]]),Gf=Object.freeze(Object.defineProperty({__proto__:null,default:WF},Symbol.toStringTag,{value:"Module"})),GF={class:"archive-acl"},qF={key:0,class:"latest-news-list-feed"},YF={__name:"DynamicComponentsAclCListNoEngagement",props:{definition:{type:Object,default:()=>({})},aclType:{type:String,default:"b"},layoutType:{type:String,default:"list"}},setup(e){const t=e,n=ue(),o=Le(),{config:s}=ye().public,{$addPageToDataLayer:r,$getMetaData:a}=n,l=Ws(),c=$e();let m=t.definition?.PageCount||0;m=m<9?m:9;const d=L(t.definition?.Documents),p=L([]),_=t.definition?.Properties?.URLSuffix||"",g=t.definition?.Properties?.externalURLSuffix||"",b=t.definition.Properties?.paginationElementName?.replace(" ","_")||"Najnovije";function y(E){if(p.value=[],E.value?.length)for(let D=0;D<E.value.length;D++){const v={document:E.value[D],type:"C",divider:D!==0,showEngagementBar:!1,showTime:!0,lighterTitle:t.definition?.Properties?.isSidebar==="True"};p.value.push(v)}}y(d);async function C(){l.showLoader();let E=`/headless${o.fullPath}`;E+=o.query.page!==void 0?`&element=${b}`:`?element=${b}`;try{const v=await(await fetch(E,{method:"GET"})).json();typeof window<"u"&&window.scrollTo(0,0),d.value=v.Elements[0].Documents,y(d);const I=a(c.pageData.contentMetaTags,null,c.pageData);Mn(I),window.scrollTo(0,0),setTimeout(()=>l.hideLoader(),100),r(I.title)}catch(D){console.log("error",D)}}return s.paging?.rewritePaging||qe(()=>o.query,C),(E,D)=>(u(),h("div",GF,[i(d)?(u(),h("div",qF,[R(Nt,{definition:e.definition,cards:i(p),showSponsoredLabel:!1,hasBanners:!0,hideHeader:!0,useBuiltInPagination:!0,"page-count":i(m),"page-range":4,urlSuffix:i(_),externalUrlSuffix:i(g)},null,8,["definition","cards","page-count","urlSuffix","externalUrlSuffix"])])):T("",!0)]))}},KF=te(YF,[["__scopeId","data-v-bd70062f"]]),XF=Object.freeze(Object.defineProperty({__proto__:null,default:KF},Symbol.toStringTag,{value:"Module"})),QF={class:"archive-acl"},JF={key:0,class:"c-list-feed"},ZF={__name:"DynamicComponentsAclSubCategoryListACL",props:{definition:{type:Object,default:()=>({})},layoutType:{type:String,default:"list"}},setup(e){const t=e,n=$e(),o=ue(),s=Le(),{$addPageToDataLayer:r,$getMetaData:a}=o;let l=t.definition?.PageCount||0;l=l<9?l:9;const c=t.definition?.Documents,m=L([]),d=t.definition?.Properties?.URLSuffix||"",p=t.definition?.Properties?.externalURLSuffix||"",_=t.definition.Properties?.paginationElementName?.replace(" ","_")||"SubCategory-List",{config:g}=ye().public;function b(C){const E=[];if(C)for(let D=0;D<C.length;D++){const v={document:C[D],type:og(C[D].DocumentTypeAlias),divider:!1,showAuthors:!0};E.push(v)}m.value=E}async function y(){let C=`/headless${s.fullPath}`;C+=s.query.page!==void 0?`&element=${_}`:`?element=${_}`;try{const D=await(await fetch(C,{method:"GET"})).json();typeof window<"u"&&window.scrollTo(0,0),b(D.Elements[0].Documents);const v=a(n.pageData.contentMetaTags,null,n.pageData);Mn(v),r(v.title)}
71catch(E){console.log("error",E)}}return g.paging?.rewritePaging||qe(()=>s.query,y),b(c),(C,E)=>(u(),h("div",QF,[i(c)?(u(),h("div",JF,[R(Nt,{definition:e.definition,cards:i(m),showTopDivider:!1,isFeed:!1,ignoreDocumentType:!1,showAuthors:!0,hasBanners:!0,hideHeader:!0,firstCardPreloadImg:!0,useBuiltInPagination:!0,"page-count":i(l),"page-range":4,urlSuffix:i(d),externalUrlSuffix:i(p)},{header:z(()=>[...E[0]||(E[0]=[f("div",null,null,-1)])]),_:1},8,["definition","cards","page-count","urlSuffix","externalUrlSuffix"])])):T("",!0)]))}},e5=te(ZF,[["__scopeId","data-v-a3e536b7"]]),t5=Object.freeze(Object.defineProperty({__proto__:null,default:e5},Symbol.toStringTag,{value:"Module"})),n5={class:"archive-acl"},o5={key:0},s5={key:0,class:"contextual-title"},i5={__name:"DynamicComponentsAclCategoryListACL",props:{definition:{type:Object,default:()=>({})},layoutType:{type:String,default:"list"}},setup(e){const t=e,n=se(()=>t.definition?.Properties?.title?t.definition.Properties.title:t.definition?.Properties?.Title?t.definition.Properties.Title:t.definition?.Name?t.definition.Name:""),o=t.definition?.Documents,s=L([]),r=t.definition?.Properties?.URLSuffix||"",a=t.definition?.Properties?.externalURLSuffix||"";function l(c){const m=[];if(c)for(let d=0;d<c.length;d++){const p={document:c[d],type:og(c[d].DocumentTypeAlias),divider:!1};m.push(p)}s.value=m}return l(o),(c,m)=>(u(),h("div",n5,[i(o)?(u(),h("div",o5,[i(n)?(u(),h("span",s5,w(i(n)),1)):T("",!0),R(Nt,{definition:e.definition,cards:i(s),showTopDivider:!1,isFeed:!1,ignoreDocumentType:!1,hasBanners:!0,hideHeader:!0,urlSuffix:i(r),externalUrlSuffix:i(a)},{header:z(()=>[...m[0]||(m[0]=[f("div",null,null,-1)])]),_:1},8,["definition","cards","urlSuffix","externalUrlSuffix"])])):T("",!0)]))}},r5=te(i5,[["__scopeId","data-v-0e95f421"]]),a5=Object.freeze(Object.defineProperty({__proto__:null,default:r5},Symbol.toStringTag,{value:"Module"})),l5={class:"profile-newsletter-image"},c5={class:"profile-newsletter-info"},u5={class:"profile-newsletter-label"},d5={class:"profile-newsletter-title"},f5={__name:"DynamicComponentsAclProfileNewsletters",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e;function n(s){return Te(s,"Label")?.Text}function o(s){return iS(mo(s))}return(s,r)=>(u(),h("div",null,[(u(!0),h(G,null,pe(t.definition,(a,l)=>(u(),h("div",{key:l,class:"profile-newsletter-item"},[f("figure",l5,[R(Be,{image:o(a)[0]},null,8,["image"])]),f("div",c5,[f("span",u5,w(n(a)),1),f("h4",d5,w(a.Title),1)]),R(Tt,{to:s.$createLocalUrl(a.WebUrl),class:"profile-newsletter-preview"},{default:z(()=>[_e(w(s.$t("newsletter.preview")),1)]),_:1},8,["to"])]))),128))]))}},w_=te(f5,[["__scopeId","data-v-01c518c0"]]),m5=Object.freeze(Object.defineProperty({__proto__:null,default:w_},Symbol.toStringTag,{value:"Module"})),p5={class:"nl-section"},h5={key:0,class:"nl-section__heading"},g5={class:"nl-section__container"},_5={class:"nl-section__list"},y5={__name:"CommonNewsletterSection",props:{definition:{type:Object,default:()=>({})},selection:{type:Array,default:()=>[]}},emits:["added","removed"],setup(e,{emit:t}){const n=e,o=t;function s(a){o("added",a)}function r(a){o("removed",a)}return(a,l)=>(u(),h("div",p5,[n.definition.showSectionName?(u(),h("h2",h5,w(n.definition.name),1)):T("",!0),f("div",g5,[f("div",_5,[(u(!0),h(G,null,pe(e.definition.documents,(c,m)=>(u(),O(lc,{key:m,definition:c,selection:e.selection,onAdded:s,onRemoved:r},null,8,["definition","selection"]))),128))])])]))}},v5=te(y5,[["__scopeId","data-v-86d68e9b"]]),b5={class:"nl-acl"},w5={class:"nl-acl__heading"},k5={class:"nl-acl__subtitle"},T5={class:"nl-acl__container"},$5={__name:"DynamicComponentsAclNewsletters",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,n=$t(),o=Gt([]),s=$e(),{breadcrumbs:r}=s;t.definition.Documents.forEach(d=>{const p=o.find(_=>_.name===d.ParentMenuItemName);p?p.documents.push(d):o.push({name:d.ParentMenuItemName,documents:Gt([d]),showSectionName:d.ParentMenuItemName!==d.RootMenuItemName})});const a=L([]);function l(d){a.value.indexOf(d)===-1&&a.value.push(d)}function c(d){const p=a.value.indexOf(d);p!==-1&&a.value.splice(p,1)}function m(){a.value=[]}return(d,p)=>(u(),h("div",b5,[R(_n,{crumbs:i(r),class:"nl-acl__breadcrumbs outside"},null,8,["crumbs"]),f("h1",w5,w(t.definition.Properties.title),1),f("p",k5,w(t.definition.Properties.subtitle),
711),f("div",T5,[(u(!0),h(G,null,pe(i(o),(_,g)=>(u(),O(v5,{definition:_,key:g,selection:i(a),onAdded:l,onRemoved:c},null,8,["definition","selection"]))),128))]),R(ua,null,{default:z(()=>[i(a).length?(u(),O(f_,{key:0,class:j(["fullWidth",{isAnonymous:!i(n).isAuthenticated}]),newsletters:t.definition?.Documents,selectedGigyaConsents:i(a),onResetUserSelection:m},null,8,["class","newsletters","selectedGigyaConsents"])):T("",!0)]),_:1})]))}},S5=te($5,[["__scopeId","data-v-2f85a0e5"]]),D5=Object.freeze(Object.defineProperty({__proto__:null,default:S5},Symbol.toStringTag,{value:"Module"})),C5={class:"news-list-1x-no-spacing"},P5={__name:"DynamicComponentsAclNewsList1xNoSpacing",props:{definition:{type:Object,default:()=>({})},noPadding:{type:Boolean,default:!1},showAuthor:{type:Boolean,default:!0},showTime:{type:Boolean,default:!0}},setup(e){const t=e,n=t.definition?.Documents,o=[];if(n)for(let l=0;l<n.length;l++){const c={document:n[l],type:"C",divider:l>0,showTime:t.showTime,showEngagementBar:!1,lighterTitle:t.definition?.Properties?.isSidebar==="True",showAuthors:t.showAuthor};o.push(c)}const s=(t.definition?.Properties?.url||t.definition?.Properties?.Url)&&t.definition?.Properties?.LinkName,r=t.definition?.Properties?.url||t.definition?.Properties?.Url,a=t.definition?.Properties?.LinkName;return(l,c)=>{const m=Kn;return u(),h("div",C5,[i(n)?(u(),O(Nt,{key:0,definition:e.definition,cards:o,showSponsoredLabel:!0,firstCardPreloadImg:!0,urlSuffix:t.definition?.Properties?.URLSuffix,externalUrlSuffix:t.definition?.Properties?.externalURLSuffix,hideHeader:t.definition?.Properties?.showHeader==="False",noPadding:t.noPadding,isFeed:!t.definition?.Properties?.column==="sidebar"&&!t.definition?.Properties?.isSidebar,"show-authors":t.showAuthor,hasBanners:!0},Sn({_:2},[i(s)?{name:"view-more-button",fn:z(()=>[R(m,{to:l.$createLocalUrl(i(r)),class:"btn btn--full btn--prim"},{default:z(()=>[f("span",null,w(i(a)),1)]),_:1},8,["to"])]),key:"0"}:void 0]),1032,["definition","urlSuffix","externalUrlSuffix","hideHeader","noPadding","isFeed","show-authors"])):T("",!0)])}}},x5=te(P5,[["__scopeId","data-v-bf75dca6"]]),I5=Object.freeze(Object.defineProperty({__proto__:null,default:x5},Symbol.toStringTag,{value:"Module"})),E5={key:0,class:"tag-description"},A5={class:"tag-description-header"},L5={class:"tag-description-intro"},R5={class:"tag-description-image"},O5={class:"tag-description-title"},M5=["innerHTML"],N5={class:"tag-description-wrap"},B5={key:0,class:"tag-description-icon icon-chevron--down","aria-hidden":"true"},U5={key:1,class:"tag-description-icon icon-chevron--up","aria-hidden":"true"},j5={class:"tag-description-text article-main"},V5={__name:"DynamicComponentsAclTagDescription",props:{definition:{type:Object,default:()=>({})}},setup(e){const n=e.definition?.Documents[0],{$factoryArticleElement:o}=ue(),s=L(!1);function r(D){return o(D)}const a=$e();function l(){return a.pageData.contentMetaTags?.RegularMetaTags?.Title?.split("|")[0]}const c=Le(),m=l(),d=Te(n,"Lead"),p=[{Url:c.path,Name:m}],{$t:_}=ue(),g=G$(rg(n)[0]),b=["TextEditor","TextLine","FactBoxStandard","FactBoxAntrfile","FactBoxQuotes","Image","MultiLine"];function y(D){return[...b].find(v=>v===D?.Type||!D)}const C=n.DocumentElements.map(D=>({...D})).filter(D=>y(D)),{$device:E}=ue();return E.isMobileOrTablet,(D,v)=>i(n)?(u(),h("div",E5,[f("div",A5,[R(_n,{crumbs:p,class:"tag-description-breadcrumbs"}),f("div",L5,[f("figure",R5,[R(Be,{image:i(g),lazy:!1},null,8,["image"])]),f("h1",O5,w(i(m)),1)]),i(d)?(u(),h("div",{key:0,class:"tag-description-lead",innerHTML:i(d).Text},null,8,M5)):T("",!0)]),f("div",N5,[f("span",{onClick:v[0]||(v[0]=I=>s.value=!i(s)),class:"tag-description-icon-wrapper"},[i(s)?(u(),h("i",U5)):(u(),h("i",B5))]),f("div",{class:j(["tag-description-wrap-content article",{"is-closed":!i(s)}])},[f("div",j5,[(u(!0),h(G,null,pe(i(C),(I,k)=>(u(),h(G,{key:k},[I.Name!=="Big Image"?(u(),O(Qe(r(I)),{key:0,definition:I},null,8,["definition"])):T("",!0)],64))),128))])],2)])])):T("",!0)}},H5=te(V5,[["__scopeId","data-v-52057b8c"]]),z5=Object.freeze(Object.defineProperty({__proto__:null,default:H5},Symbol.toStringTag,{value:"Module"})),F5=["innerHTML"],W5={__name:"ArticleElementsAuthorExpertise",props:{definition:{type:Object,default:()=>({})},extraClass:{type:String,default:()=>""}},setup(e){const t=e;return(n,o)=>(u(),h("span",{class:j(e.extraClass),innerHTML:t.definition.Text},null,10,F5))}},G5=Dn+"#twitter",q5=Dn+"#linkedin",Y5=Dn+"#muckrack",K5=Dn+"#rss",X5={key:0,class:"author-profile"},Q5={class:"author-profile-header"},J5={class:"columnist-info"},Z5={key:0,class:"columnist-image"},eW={class:"columnist-title"},tW={key:0,class:"columnist-job"},nW={class:"columnist-btns"},oW=["href"],sW=["href"],iW=["href"],rW=["href"],aW=["href"],lW={class:"author-profile-wrap"},cW={key:0,class:"author-profile-icon icon-chevron--down","aria-hidden":"true"},uW={key:1,class:"author-profile-icon icon-chevron--up","aria-hidden":"true"},dW={class:"author-profile-text article-main"},fW={key:0,class:"article-rte"},mW={key:1,class:"article-rte"},pW=["innerHTML"],hW={key:2,class:"article-rte"},gW=["innerHTML"],_W={key:3,class:"article-rte"},yW={key:4,class:"article-rte"},vW={class:"author-profile-expertises"},bW={__name:"DynamicComponentsAclAuthorProfile",props:{definition:{type:Object,default:()=>({})}},setup(e){const n=e.definition?.Documents[0],{$factoryArticleElement:o}=ue(),{config:s}=ye().public,r=Le(),a=L(!1),l=eu(Zc(n));function c(N){return o(N)}const m=se(()=>{const N=Xc(n?.Authors||[])[0];return N||null});function d(){let N;return m.value&&(N=`${m.value.FirstName} ${m.value.LastName||""}`,Xo(r,s.paging)&&(N=Gr(N,r))),N||""}const p=se(()=>d()),_=[{Url:r.path,Name:p}],g=L(!1);(r.fullPath.includes("columnist")||r.fullPath.includes("autor")||r.fullPath.includes("journalist"))&&(g.value=!0);const b=Te(n,"Radno mesto"),y=Te(n,"Jezici koje autor govori")||Te(n,"Jezik"),C=Te(n,"Pol"),E=Te(n,"Email"),D=Te(n,"Twitter"),v=Te(n,"LinkedIn"),I=Te(n,"MuckRack"),k=Te(n,"RSS"),S=n?.DocumentElements?.filter(N=>N.Name==="Profile Content"),$=n?.DocumentElements?.filter(N=>
71N.Name==="Sertifikati i nagrade"),P=n?.DocumentElements?.filter(N=>(N.Name==="Ekspertiza"||N.Name==="Teme")&&N.Type==="TextEditor").map(N=>{const M=N.Text.replace(/(<p[^>]+?>|<p>|<\/p>)/,"");return N.Text=M,N}),x=["TextEditor","TextLine","FactBoxStandard","FactBoxAntrfile","FactBoxQuotes","Image","MultiLine"];function A(N){return[...x].find(M=>M===N?.Type||!N)}return(N,M)=>i(n)?(u(),h("div",X5,[f("div",Q5,[R(_n,{crumbs:_,class:"author-profile-breadcrumbs"}),f("div",J5,[i(g)&&i(l)&&i(n)?.PosterPhoto?(u(),h("figure",Z5,[R(Be,{image:i(l)},null,8,["image"])])):T("",!0),f("h1",eW,w(i(p)),1)]),i(b)?(u(),h("span",tW,w(i(b).Text),1)):T("",!0),f("div",nW,[i(E)?(u(),h("a",{key:0,class:"btn btn--sec",role:"button",href:`mailto:${i(E).Text}`,rel:"nofollow",target:"_blank"},w(N.$t("authorProfile.contactAuthor")),9,oW)):T("",!0),i(D)?(u(),h("a",{key:1,class:"columnist-btn twitter",href:i(D).Text,role:"button",rel:"nofollow",target:"_blank"},[...M[1]||(M[1]=[f("svg",{viewBox:"0 0 24 24",class:"icon"},[f("use",{"xlink:href":G5})],-1)])],8,sW)):T("",!0),i(v)?(u(),h("a",{key:2,class:"columnist-btn linkedin",href:i(v).Text,role:"button",rel:"nofollow",target:"_blank"},[...M[2]||(M[2]=[f("svg",{viewBox:"0 0 24 24",class:"icon"},[f("use",{"xlink:href":q5})],-1)])],8,iW)):T("",!0),i(I)?(u(),h("a",{key:3,class:"columnist-btn muckrack",href:i(I).Text,role:"button",rel:"nofollow",target:"_blank"},[...M[3]||(M[3]=[f("svg",{viewBox:"0 0 24 24",class:"icon"},[f("use",{"xlink:href":Y5})],-1)])],8,rW)):T("",!0),i(k)?(u(),h("a",{key:4,class:"columnist-btn rss",href:i(k).Text,role:"button",rel:"nofollow",target:"_blank"},[...M[4]||(M[4]=[f("svg",{viewBox:"0 0 24 24",class:"icon"},[f("use",{"xlink:href":K5})],-1)])],8,aW)):T("",!0)])]),f("div",lW,[f("span",{onClick:M[0]||(M[0]=ee=>a.value=!i(a)),class:"author-profile-icon-wrapper"},[i(a)?(u(),h("i",uW)):(u(),h("i",cW))]),f("div",{class:j(["author-profile-wrap-content article",{"is-closed":!i(a)}])},[f("div",dW,[i(S)?.length?(u(),h("div",fW,[f("h2",null,w(N.$t("authorProfile.biography")),1)])):T("",!0),(u(!0),h(G,null,pe(i(S),(ee,X)=>(u(),h(G,{key:X},[A(ee)?(u(),O(Qe(c(ee)),{key:0,definition:ee},null,8,["definition"])):T("",!0)],64))),128)),i(y)?(u(),h("div",mW,[f("h2",null,w(N.$t("authorProfile.language")),1),f("p",{innerHTML:i(y).Text},null,8,pW)])):T("",!0),i(C)?(u(),h("div",hW,[f("h2",null,w(N.$t("authorProfile.gender")),1),f("p",{innerHTML:i(C).Text},null,8,gW)])):T("",!0),i($)?.length?(u(),h("div",_W,[f("h2",null,w(N.$t("authorProfile.certification")),1)])):T("",!0),(u(!0),h(G,null,pe(i($),(ee,X)=>(u(),h(G,{key:X},[A(ee)?(u(),O(Qe(c(ee)),{key:0,definition:ee},null,8,["definition"])):T("",!0)],64))),128)),i(P)?.length?(u(),h("div",yW,[f("h2",null,w(N.$t("authorProfile.expertise")),1)])):T("",!0),f("div",vW,[(u(!0),h(G,null,pe(i(P),(ee,X)=>(u(),h(G,{key:X},[ee.Type==="TextEditor"?(u(),O(W5,{key:0,definition:ee,extraClass:"author-expertise"},null,8,["definition"])):T("",!0)],64))),128))])])],2)])])):T("",!0)}},wW=te(bW,[["__scopeId","data-v-1d9f6a89"]]),kW=Object.freeze(Object.defineProperty({__proto__:null,default:wW},Symbol.toStringTag,{value:"Module"})),TW={class:"tv-card__labels"},$W={key:0,class:"is-duration"},SW={__name:"CardTypesCardDurationLabel",props:{videoDuration:{type:String,default:""}},setup(e){const t=e;return(n,o)=>(u(),h("div",TW,[o[0]||(o[0]=f("div",{class:"card-label card-label-wrap is-play"},[f("i",{class:"icon-play"})],-1)),t.videoDuration?(u(),h("div",$W,w(t.videoDuration),1)):T("",!0)]))}},DW=te(SW,[["__scopeId","data-v-33dd43ce"]]),CW={class:"portrait-video-list-item__wrapper"},PW={class:"portrait-video-list-item__img"},xW=["src","alt"],IW=["id"],EW={class:"portrait-video-list-item__title"},AW=5e3,LW={__name:"DynamicComponentsCustomPortraitVideoListItem",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,{config:n}=ye().public,o=L(null),s=L(!1),r=Te(t.definition,"Video")?.Video||{},a=Fs(r.Duration);let l,c,m,d;function p(){return r.PosterPhotoThumbnail||t.definition.PosterPhoto?.ThumbnailUrl}const _=p();function g(y){y.forEach(async C=>{C.isIntersecting?(!l&&window.movPlayer&&b(),d=Mo(async()=>
71{if(l){try{await l.play()}catch(E){console.log(E)}clearInterval(d),d=null}},300)):(clearInterval(d),d=null,clearInterval(m),m=null,l&&(l.pause(),l.currentTime(0)))})}function b(){const y={id:`video-${r.Id}`,options:{playerId:`${n.movPlayer.id}`,videoTitle:r.Title,videoId:r.ExternalVideoId,mutestart:!0,playbackType:"on-demand",orientation:"portrait",showControls:!1,projectId:`${n.movPlayer.projectId}`,client:"am"},player:C=>{l=C,l.on("play",()=>{s.value=!0,m=Mo(()=>{l.currentTime(0)},AW)}),l.on("pause",()=>{s.value=!1})}};try{window.movPlayer(y)}catch(C){console.log(C)}}return De(()=>{const y={delay:1e3,rootMargin:"0px -25% 0px 0px",threshold:.99};c=new IntersectionObserver(g,y),c.observe(o.value)}),Xe(()=>{c&&c.disconnect(),m&&clearInterval(m),d&&clearInterval(d);try{l&&typeof l.off=="function"&&(l.off("play"),l.off("pause")),l&&typeof l.destroy=="function"&&l.destroy(),l&&typeof l.dispose=="function"&&l.dispose()}catch(y){console.log(y)}l=null}),(y,C)=>{const E=Kn;return u(),h("div",{ref_key:"item",ref:o,class:"portrait-video-list-item"},[R(E,{to:e.definition.WebUrl},{default:z(()=>[R(DW,{"video-duration":i(a)},null,8,["video-duration"]),f("div",CW,[f("picture",PW,[f("img",{src:i(_),alt:e.definition?.PosterPhoto?.AltText,style:Se({objectPosition:i(fo)("definition?.PosterPhoto?.ImageFocusCrop")})},null,12,xW)]),f("mov-player",{id:`video-${i(r).Id}`,class:j(["portrait-video-list-item__video",{"is-playing":i(s)}]),script:""},null,10,IW)]),f("div",EW,w(e.definition.Title),1)]),_:1},8,["to"])],512)}}},RW=te(LW,[["__scopeId","data-v-eba77f1f"]]),OW={__name:"DynamicComponentsCustomPortraitVideoSwipeList",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,n={slidesPerView:2.39,freeMode:!0,navigation:!1,pagination:!1},{config:o}=ye().public,s=o.amtvShortsRootMenuName||"Mondo Shorts",r=_=>(_||"").trim().toLowerCase(),a=r(s),l=Sy("portraitVideoListEl"),c=j$(t.definition),m=JSON.parse(JSON.stringify(t.definition));function d(_){if(!_||typeof _!="string")return"/";if(_.startsWith("http://")||_.startsWith("https://"))try{return new URL(_).pathname}catch{return"/"}return _.startsWith("/")?_:`/${_}`}m.Documents=(m.Documents||[]).filter(_=>r(_.RootMenuItemName)===a).map(_=>({..._,WebUrl:d(_.WebUrl)}));const p=m?.Documents?.[0]?.WebUrl||"/";return De(async()=>{const _=window.history.state?.forward||"";Ng(_)&&window.history.scrollRestoration==="manual"&&(await Rt(),l.value.scrollIntoView({behavior:"auto"}))}),(_,g)=>{const b=Kn;return u(),h("div",{class:"portrait-video-swipe-list dark",ref_key:"portraitVideoListEl",ref:l},[R(Mt,{headline:i(c),"sponsor-img":e.definition.Properties?.headerImage?.ImageUrl,link:i(p)},null,8,["headline","sponsor-img","link"]),R(Et),R(an,{options:n},{default:z(()=>[(u(!0),h(G,null,pe(i(m).Documents,(y,C)=>(u(),O(zt,{key:C,class:j({first:C===0})},{default:z(()=>[R(RW,{definition:y},null,8,["definition"])]),_:2},1032,["class"]))),128)),R(zt,{class:"portrait-video-swipe-list__btn"},{default:z(()=>[R(b,{to:i(p)},{default:z(()=>[g[0]||(g[0]=f("i",{"aria-hidden":"true",class:"icon-arrow--right"},null,-1)),_e(w(_.$t("common.viewAll")),1)]),_:1},8,["to"])]),_:1})]),_:1})],512)}}},MW=te(OW,[["__scopeId","data-v-74a06a7a"]]),NW=Object.freeze(Object.defineProperty({__proto__:null,default:MW},Symbol.toStringTag,{value:"Module"})),BW={class:"topics"},UW={class:"topics__container"},jW={class:"topics__title"},VW={class:"topics__list-container"},HW=["title","href","onClick"],zW={__name:"DynamicComponentsCustomTopics",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,{$createLocalUrl:n}=ue(),o=Ye(),s=L(),r=L(!1),a=L({left:0,x:0});function l(p){if(r.value){const _=p.clientX-a.value.x;s.value&&(s.value.scrollLeft=a.value.left-_)}}function c(){r.value=!1,window.removeEventListener("mouseup",c),window.removeEventListener("mousemove",l)}function m(p,_){(window.outerWidth<1024||a.value.x===p.clientX)&&o.push(n(_.Url))}function d(p){window.outerWidth>=768&&(r.value=!0,a.value.left=s.value?.scrollLeft||0,a.value.x=p.clientX,p.stopPropagation(),p.preventDefault(),window.addEventListener("mouseup",c),window.addEventListener("mousemove",l,{passive:!0}))}return Xe(()=>{window.removeEventListener("mouseup",c),window.removeEventListener("mousemove",l)}),(p,_)=>(u(),h("div",BW,[f("div",UW,[f("span",jW,w(e.definition.Name),1),f("div",VW,[f("ul",{class:"topics__list",ref_key:"list",ref:s,onMousedown:d},[(u(!0),h(G,null,pe(t.definition.MenuItems,g=>(u(),h("li",{class:"topics__list-item",key:g.MenuItemId},[g.Url?(u(),h("a",{key:0,title:g.Title,class:"topics__link",href:g.Url,onClick:He(b=>{m(b,g)},["prevent"])},w(g.Title),9,HW)):T("",!0)]))),128))],544)])])]))}},FW=te(zW,[["__scopeId","data-v-90f84573"]]),WW=Object.freeze(Object.defineProperty({__proto__:null,default:FW},Symbol.toStringTag,{value:"Module"})),GW={class:"social-channels"},qW={class:"social-channels-header"},YW={class:"social-channels-title"},KW={class:"social-channels-list"},XW=["href","aria-label"],QW={key:0,viewBox:"0 0 24 24",class:"icon"},JW=["xlink:href"],ZW={key:1,viewBox:"0 0 24 24",class:"icon"},eG=["xlink:href"],tG={__name:"DynamicComponentsCustomSocialChannelsBlock",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,n=$e();return(o,s)=>(u(),h("div",GW,[f("div",qW,[f("span",YW,w(t.definition.Name||o.$t("common.followUs")),1
71)]),f("ul",KW,[(u(!0),h(G,null,pe(t.definition.MenuItems,r=>(u(),h("li",{key:r.MenuItemId,class:"social-channels-list-item"},[f("a",{href:r.Url,target:"_blank",rel:"noopener","aria-label":r.Title},[i(n).themeColor==="light"?(u(),h("svg",QW,[f("use",{"xlink:href":`/img/sprite-shares-02042025.svg#channel-${r.Properties.menuIcon}-light`},null,8,JW)])):(u(),h("svg",ZW,[f("use",{"xlink:href":`/img/sprite-shares-02042025.svg#channel-${r.Properties.menuIcon}-dark`},null,8,eG)]))],8,XW)]))),128))])]))}},nG=te(tG,[["__scopeId","data-v-e8f6075f"]]),oG=Object.freeze(Object.defineProperty({__proto__:null,default:nG},Symbol.toStringTag,{value:"Module"})),sG=Dn+"#facebook-monochrome",iG={key:0,class:"article-communities"},rG={class:"article-communities-header"},aG={class:"article-communities-title"},lG={class:"article-communities-list"},cG=["href","aria-label"],uG={key:0,viewBox:"0 0 24 24",class:"icon"},dG={key:1,viewBox:"0 0 24 24",class:"icon"},fG=["xlink:href"],mG={key:2,viewBox:"0 0 24 24",class:"icon"},pG=["xlink:href"],hG={key:3,viewBox:"0 0 24 24",class:"icon"},gG=["xlink:href"],_G={key:4,viewBox:"0 0 24 24",class:"icon"},yG=["xlink:href"],vG={class:"article-communities-list-item-name"},bG={__name:"DynamicComponentsCustomArticleCommunities",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,n=$e(),{config:o}=ye().public,s=Le(),r=L(!1),a=new RegExp(o.comments.commentsRegex);r.value=!!s.fullPath.match(a);const l=se(()=>n.themeColor==="dark"?"light":"dark");return(c,m)=>i(r)?T("",!0):(u(),h("section",iG,[f("div",rG,[f("span",aG,w(t.definition.Name),1)]),f("ul",lG,[(u(!0),h(G,null,pe(t.definition.MenuItems,d=>(u(),h("li",{key:d.MenuItemId,class:"article-communities-list-item"},[f("a",{href:d.Url,target:"_blank",rel:"noopener","aria-label":d.Title,class:j(d.Properties.menuIcon)},[d.Properties.menuIcon==="facebook"?(u(),h("svg",uG,[...m[0]||(m[0]=[f("use",{"xlink:href":sG},null,-1)])])):d.Properties.menuIcon==="googlenews"?(u(),h("svg",dG,[f("use",{"xlink:href":`/img/sprite-shares-02042025.svg#channel-${d.Properties.menuIcon}-${i(n).themeColor}`},null,8,fG)])):d.Properties.menuIcon==="tiktok"?(u(),h("svg",mG,[f("use",{"xlink:href":`/img/sprite-shares-02042025.svg#channel-${d.Properties.menuIcon}-${i(l)}`},null,8,pG)])):d.Properties.menuIcon==="youtube"||d.Properties.menuIcon==="pinterest"?(u(),h("svg",hG,[f("use",{"xlink:href":`/img/sprite-shares-02042025.svg#channel-${d.Properties.menuIcon}-light`},null,8,gG)])):(u(),h("svg",_G,[f("use",{"xlink:href":`/img/sprite-shares-02042025.svg#${d.Properties.menuIcon}`},null,8,yG)])),f("span",vG,w(d.Title),1)],10,cG)]))),128))])]))}},wG=te(bG,[["__scopeId","data-v-8e762e22"]]),kG=Object.freeze(Object.defineProperty({__proto__:null,default:wG},Symbol.toStringTag,{value:"Module"})),TG={class:"horoscope-menu"},$G={key:1,class:"horoscope-menu__link",role:"button"},SG={__name:"DynamicComponentsCustomHoroscopeMenu",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e;return(n,o)=>{const s=Ze("router-link");return u(),h("ul",TG,[(u(!0),h(G,null,pe(t.definition.MenuItems,r=>(u(),h("li",{class:"horoscope-menu__item",key:r.MenuItemId},[r?.Url?(u(),O(s,{key:0,title:r.Title,class:"horoscope-menu__link",to:n.$createLocalUrl(r.Url)},{default:z(()=>[_e(w(r.Title),1)]),_:2},1032,["title","to"])):(u(),h("a",$G,w(r.Title),1))]))),128))])}}},DG=te(SG,[["__scopeId","data-v-59d48bf0"]]),CG=Object.freeze(Object.defineProperty({__proto__:null,default:DG},Symbol.toStringTag,{value:"Module"}));function k_(){const{$t:e}=ue(),t="Beograd Stari grad";function n(m,d){const p=m.findIndex(_=>_.City.Name===d);return p===-1?m.findIndex(g=>g.City.Name===t):p}function o(m){const d=m,p=[];for(let _=0;_<d.length;_++){const g={Title:d[_].City.Name,MenuItemId:_+1,Idx:d[_].Idx,Aqi:d[_].Aqi};p.push(g)}return p}const s=L({}),r=L({status:"",name:""});function a(m){m>0&&m<=50&&(r.value.status="1",r.value.name=e("pollution.pollutionCategoryGood")),m>50&&m<=100&&(r.value.status="2",r.value.name=e("pollution.pollutionCategoryModerate")),m>100&&m<=150&&(r.value.status="3",r.value.name=e("pollution.pollutionCategoryUnhealthySensGroups")),m>150&&m<=200&&(r.value.status="4",r.value.name=e("pollution.pollutionCategoryUnhealthy")),m>200&&m<=300&&(r.value.status="5",r.value.name=e("pollution.pollutionCategoryVeryUnhealthy")),m>300&&(r.value.status="6",r.value.name=e("pollution.pollutionCategoryHazardous"))}function l(m){s.value=m}function c(m){const d=new Date(m),p=d.getDate(),_=d.getMonth()+1,g=d.getFullYear(),b=d.getHours(),y=d.getMinutes().length<2?d.getMinutes():`0${d.getMinutes()}`;return`${p}.${_}.${g}. / ${b}:${y}`}return{activeCityIndex:n,activeCity:s,makeCityList:o,setStyle:a,healthStatus:r,formatDate:c,fillActiveCity:l,DEFAULTCITY:t}}const PG={class:"container"},xG={class:"pollution-block_wrap"},IG={class:"pollution-block_full"},EG={class:"pollution-block_flexi pollution-block_flexi--col1"},AG={class:"pollution-block_timestamp"},LG={class:"pollution-block_flexi pollution-block_flexi--col2"},RG={class:"pollution-block_score"},OG={class:"pollution-block_score-label"},MG={class:"pollution-block_score-dominant"},NG={class:"pollution-block_score-name"},BG={class:"pollution-block_flexi pollution-block_flexi--col3"},UG={class:"pollution-block_score-stats"},jG={class:"pollution-block_score-stats-wrap"},VG={class:"pollution-block_full pollution-block_legend-block"},HG={class:"pollution-block_legend-list"},zG=["href"],FG={__name:"DynamicComponentsPollutionPage",props:{definition:{type:Object,default:()=>({})}},setup(e){const{DEFAULTCITY:t,activeCityIndex:n,activeCity:o,makeCityList:s,setStyle:r,healthStatus:a,formatDate:l,f
71illActiveCity:c}=k_(),m=e,d=s(m.definition?.Pollutions),{$t:p}=ue(),_=Le(),g=Ye(),b=$e(),y=[{Url:_.path,Name:b.pageData.contentMetaTags.RegularMetaTags.Title}];function C(){const I=o?.value?.City?.Name,k={};k.city=I,g.push({query:k}).catch(()=>{})}function E(I){const S=(m.definition?.Pollutions).find($=>$.Idx===I.Idx);r(S?.Aqi),o.value=S,C()}const D=_.query.city?_.query.city:t,v=n(m.definition?.Pollutions,D);return c(m.definition?.Pollutions[v]),r(m.definition?.Pollutions[v]?.Aqi),De(()=>{C()}),(I,k)=>(u(),h("div",{class:j(["pollution-block",`healthStat_${i(a).status}`])},[f("div",PG,[f("div",xG,[f("div",IG,[R(_n,{crumbs:y,class:"bread"})]),f("div",EG,[R(du,{defaultOption:i(p)("pollution.pollutionDropDownDefault"),defaultOptionClickable:!1,options:i(d),selectedCategoryId:i(d)[i(v)].MenuItemId,class:"select",onCustomSelected:k[0]||(k[0]=S=>E(S))},null,8,["defaultOption","options","selectedCategoryId"]),f("div",AG,w(i(p)("pollution.pollutionUpdated"))+" "+w(i(l)(i(o).Time)),1)]),f("div",LG,[f("div",RG,w(i(o)?.Aqi),1),f("div",OG,[_e(w(i(p)("pollution.pollutionDominant"))+" ",1),f("div",MG,w(i(o).DominentPol),1)]),f("div",NG,w(i(a).name),1)]),f("div",BG,[f("ul",UG,[(u(!0),h(G,null,pe(i(o).Elements,(S,$)=>(u(),h("li",{key:$},[f("span",jG,[f("span",null,[_e(w(S.Name)+" ",1),f("abbr",null,w(i(p)("pollution.pollutionSufix")),1)]),f("strong",null,w(S.Value),1)])]))),128))])]),f("div",VG,[f("ul",HG,[f("li",null,w(i(p)("pollution.pollutionStationInfo1")),1),f("li",null,w(i(p)("pollution.pollutionStationInfo2")),1),f("li",null,w(i(p)("pollution.pollutionStationInfo3")),1)]),f("a",{class:"pollution-block_source-link",href:i(p)("pollution.pollutionPorviderHref"),target:"_blank"},[_e(w(i(p)("pollution.pollutionPorviderName"))+" ",1),k[1]||(k[1]=f("i",{class:"icon-launch","aria-hidden":"true"},null,-1))],8,zG)])])])],2))}},WG=te(FG,[["__scopeId","data-v-918e48f8"]]),GG=Object.freeze(Object.defineProperty({__proto__:null,default:WG},Symbol.toStringTag,{value:"Module"})),qG={class:"pollution-details"},YG={class:"pollution-details_wrap"},KG={class:"pollution-details_box"},XG={class:"pollution-details_box-header healthStat_1"},QG={class:"pollution-details_value"},JG={class:"pollution-details_name"},ZG={class:"pollution-details_title"},e7={class:"pollution-details_info"},t7={class:"pollution-details_title"},n7={class:"pollution-details_info"},o7={class:"pollution-details_box"},s7={class:"pollution-details_box-header healthStat_2"},i7={class:"pollution-details_value"},r7={class:"pollution-details_name"},a7={class:"pollution-details_title"},l7={class:"pollution-details_info"},c7={class:"pollution-details_title"},u7={class:"pollution-details_info"},d7={class:"pollution-details_box"},f7={class:"pollution-details_box-header healthStat_3"},m7={class:"pollution-details_value"},p7={class:"pollution-details_name"},h7={class:"pollution-details_title"},g7={class:"pollution-details_info"},_7={class:"pollution-details_title"},y7={class:"pollution-details_info"},v7={class:"pollution-details_box"},b7={class:"pollution-details_box-header healthStat_4"},w7={class:"pollution-details_value"},k7={class:"pollution-details_name"},T7={class:"pollution-details_title"},$7={class:"pollution-details_info"},S7={class:"pollution-details_title"},D7={class:"pollution-details_info"},C7={class:"pollution-details_box"},P7={class:"pollution-details_box-header healthStat_5"},x7={class:"pollution-details_value"},I7={class:"pollution-details_name"},E7={class:"pollution-details_title"},A7={class:"pollution-details_info"},L7={class:"pollution-details_title"},R7={class:"pollution-details_info"},O7={class:"pollution-details_box"},M7={class:"pollution-details_box-header healthStat_6"},N7={class:"pollution-details_value"},B7={class:"pollution-details_name"},U7={class:"pollution-details_title"},j7={class:"pollution-details_info"},V7={class:"pollution-details_title"},H7={class:"pollution-details_info"},z7={__name:"DynamicComponentsPollutionPageDetails",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,{$t:n}=ue();return(o,s)=>(u(),h("div",qG,[R(Mt,{class:"card-header-wrap",headline:t.definition?.Properties?.title},null,8,["headline"]),f("div",YG,[f("div",KG,[f("div",XG,[f("div",QG,w(i(n)("pollution.pollutionCategoryGoodValue")),1),s[0]||(s[0]=f("span",{class:"pollution-detail
71s_box-header-icon"},[f("i",{class:"icon-good","aria-hidden":"true"})],-1)),f("div",JG,w(i(n)("pollution.pollutionCategoryGood")),1)]),f("div",ZG,w(i(n)("pollution.pollutionCategoryTitleInfo")),1),f("div",e7,w(i(n)("pollution.pollutionCategoryGoodInfo")),1),f("div",t7,w(i(n)("pollution.pollutionCategoryTitleInfo")),1),f("div",n7,w(i(n)("pollution.pollutionCategoryGoodWarning")),1)]),f("div",o7,[f("div",s7,[f("div",i7,w(i(n)("pollution.pollutionCategoryModerateValue")),1),s[1]||(s[1]=f("span",{class:"pollution-details_box-header-icon"},[f("i",{class:"icon-moderate","aria-hidden":"true"})],-1)),f("div",r7,w(i(n)("pollution.pollutionCategoryModerate")),1)]),f("div",a7,w(i(n)("pollution.pollutionCategoryTitleInfo")),1),f("div",l7,w(i(n)("pollution.pollutionCategoryModerateInfo")),1),f("div",c7,w(i(n)("pollution.pollutionCategoryTitleInfo")),1),f("div",u7,w(i(n)("pollution.pollutionCategoryModerateWarning")),1)]),f("div",d7,[f("div",f7,[f("div",m7,w(i(n)("pollution.pollutionCategoryUnhealthySensGroupsValue")),1),s[2]||(s[2]=f("span",{class:"pollution-details_box-header-icon"},[f("i",{class:"icon-unhealthy-for-sensitive-groups","aria-hidden":"true"})],-1)),f("div",p7,w(i(n)("pollution.pollutionCategoryUnhealthySensGroups")),1)]),f("div",h7,w(i(n)("pollution.pollutionCategoryTitleInfo")),1),f("div",g7,w(i(n)("pollution.pollutionCategoryUnhealthySensGroupsInfo")),1),f("div",_7,w(i(n)("pollution.pollutionCategoryTitleInfo")),1),f("div",y7,w(i(n)("pollution.pollutionCategoryUnhealthySensGroupsWarning")),1)]),f("div",v7,[f("div",b7,[f("div",w7,w(i(n)("pollution.pollutionCategoryUnhealthyValue")),1),s[3]||(s[3]=f("span",{class:"pollution-details_box-header-icon"},[f("i",{class:"icon-unhealthy","aria-hidden":"true"})],-1)),f("div",k7,w(i(n)("pollution.pollutionCategoryUnhealthy")),1)]),f("div",T7,w(i(n)("pollution.pollutionCategoryTitleInfo")),1),f("div",$7,w(i(n)("pollution.pollutionCategoryUnhealthyInfo")),1),f("div",S7,w(i(n)("pollution.pollutionCategoryTitleInfo")),1),f("div",D7,w(i(n)("pollution.pollutionCategoryUnhealthyWarning")),1)]),f("div",C7,[f("div",P7,[f("div",x7,w(i(n)("pollution.pollutionCategoryVeryUnhealthyValue")),1),s[4]||(s[4]=f("span",{class:"pollution-details_box-header-icon"},[f("i",{class:"icon-very-unhealthy","aria-hidden":"true"})],-1)),f("div",I7,w(i(n)("pollution.pollutionCategoryVeryUnhealthy")),1)]),f("div",E7,w(i(n)("pollution.pollutionCategoryTitleInfo")),1),f("div",A7,w(i(n)("pollution.pollutionCategoryVeryUnhealthyInfo")),1),f("div",L7,w(i(n)("pollution.pollutionCategoryTitleInfo")),1),f("div",R7,w(i(n)("pollution.pollutionCategoryVeryUnhealthyWarning")),1)]),f("div",O7,[f("div",M7,[f("div",N7,w(i(n)("pollution.pollutionCategoryHazardousValue")),1),s[5]||(s[5]=f("span",{class:"pollution-details_box-header-icon"},[f("i",{class:"icon-hazardous","aria-hidden":"true"})],-1)),f("div",B7,w(i(n)("pollution.pollutionCategoryHazardous")),1)]),f("div",U7,w(i(n)("pollution.pollutionCategoryTitleInfo")),1),f("div",j7,w(i(n)("pollution.pollutionCategoryHazardousInfo")),1),f("div",V7,w(i(n)("pollution.pollutionCategoryTitleInfo")),1),f("div",H7,w(i(n)("pollution.pollutionCategoryHazardousWarning")),1)])])]))}},F7=te(z7,[["__scopeId","data-v-840efa7d"]]),W7=Object.freeze(Object.defineProperty({__proto__:null,default:F7},Symbol.toStringTag,{value:"Module"})),G7={class:"pollution-widget"},q7={class:"pollution-widget_timestamp"},Y7={class:"pollution-widget_score"},K7={class:"pollution-widget_score-label"},X7={class:"pollution-widget_score-dominant"},Q7={class:"pollution-widget_row"},J7={class:"pollution-widget_score-name"},Z7=["href"],eq={__name:"DynamicComponentsPollutionSidebarWidget",props:{definition:{type:Object,default:()=>({})}},setup(e){const{DEFAULTCITY:t,activeCityIndex:n,activeCity:o,makeCityList:s,setStyle:r,healthStatus:a,formatDate:l,fillActiveCity:c}=k_(),m=e,d=se(()=>{const y=o?.value?.City?.Name.split(" ").join("+");return`${m.definition.Properties?.Link}?city=${y}`}),{$t:p}=ue(),_=s(m.definition?.Pollutions),g=n(m.definition?.Pollutions,t);c(m.definition?.Pollutions[g]),r(m.definition?.Pollutions[g]?.Aqi);function b(y){const E=(m.definition?.Pollutions).find(D=>D.Idx===y.Idx);r(E?.Aqi),o.value=E}return(y,C)=>(u(),h("div",G7,[R(Mt,{class:"card-header-wrap",headline:m.definition?.Properties?.title,link:i(d)},null,8,["headline","link"]),f("div",{class:j(["pollution-widget_wrap",`healthStat_${i(a).status}`])},[R(du,{defaultOption:i(p)("pollution.pollutionDropDownDefault"),defaultOptionClickable:!1,options:i(_),selectedCategoryId:i(_)[i(g)].MenuItemId,class:"select",onCustomSelected:C[0]||(C[0]=E=>b(E))},null,8,["defaultOption","options","selectedCategoryId"]),f("div",q7,w(i(p)("pollution.pollutionU
71pdated"))+" "+w(i(l)(i(o).Time)),1),f("div",Y7,w(i(o)?.Aqi),1),f("div",K7,[_e(w(i(p)("pollution.pollutionDominant"))+" ",1),f("div",X7,w(i(o).DominentPol),1)]),f("div",Q7,[f("div",J7,w(i(a).name),1),f("a",{class:"pollution-widget_source-link",href:i(p)("pollution.pollutionPorviderHref"),target:"_blank"},[_e(w(i(p)("pollution.pollutionPorviderName"))+" ",1),C[1]||(C[1]=f("i",{class:"icon-launch","aria-hidden":"true"},null,-1))],8,Z7)])],2)]))}},tq=te(eq,[["__scopeId","data-v-61ed67bf"]]),nq=Object.freeze(Object.defineProperty({__proto__:null,default:tq},Symbol.toStringTag,{value:"Module"})),oq={class:"horoscope"},sq={class:"horoscope__sign"},iq={viewBox:"0 0 320 320"},rq=["xlink:href"],aq={class:"horoscope__sign_name"},lq=["innerHTML"],cq={key:0,class:"horoscope__divider"},uq={__name:"ArticleTemplatesHoroscope",props:{definition:{type:Object,default:()=>({})}},setup(e){const o=e.definition.Document.DocumentElements.filter(l=>l.Type==="StoryUpdate"),s=l=>{const c=l,m=[];return c?.forEach(d=>{if(d.Name==="Horoscope"){const p=d.StoryUpdateElements?.[0]?.Text,_=`${p?.substring(p.indexOf(">")+1,p.indexOf("</"))}`,y=p?.split('<p class="not-empty">')[1]?.split("</p>")[0],C={sign:_,content:y};m.push(C)}}),m},r={Ovan:"aries",Bik:"taurus",Blizanac:"gemini",Rak:"cancer",Lav:"leo",Vaga:"libra",Devica:"virgo",Å korpija:"scorpio",Strelac:"sagittarius",Jarac:"capricorn",Vodolija:"aquarius",Ribe:"pisces"},a=s(o);return(l,c)=>(u(),h("div",oq,[(u(!0),h(G,null,pe(i(a),(m,d)=>(u(),h(G,{key:d},[f("div",sq,[(u(),h("svg",iq,[f("use",{"xlink:href":`/img/zodiac-signs-sprite.svg#${r[m.sign]}`},null,8,rq)])),f("span",aq,w(m.sign),1),f("p",{class:"horoscope__content",innerHTML:m.content},null,8,lq)]),d<i(a).length-1?(u(),h("div",cq)):T("",!0)],64))),128))]))}},dq=Object.freeze(Object.defineProperty({__proto__:null,default:uq},Symbol.toStringTag,{value:"Module"})),fq={key:0,class:"article-tags"},mq={class:"article-tags__title"},pq={class:"article-tags__list"}
71,hq={__name:"ArticleElementsArticleTags",setup(e){const t=$e(),n=Le(),{config:o}=ye().public,r=!!new RegExp(o.comments.commentsRegex).test(n.fullPath);return(a,l)=>{const c=Ze("router-link");return i(t).pageData.article?.Document?.Tags.length&&!r?(u(),h("section",fq,[f("div",mq,w(a.$t("article.articleTags")),1),f("ul",pq,[(u(!0),h(G,null,pe(i(t).pageData.article.Document.Tags,m=>(u(),h("li",{key:m.TagId,class:"article-tags__tag"},[R(c,{to:a.$createLocalUrl(m.Url),class:"article-tags__tag-link"},{default:z(()=>[_e(w(m.Name),1)]),_:2},1032,["to"])]))),128))])])):T("",!0)}}},gq=te(hq,[["__scopeId","data-v-0c543b8f"]]),_q=Object.freeze(Object.defineProperty({__proto__:null,default:gq},Symbol.toStringTag,{value:"Module"})),yq={class:"html-text-element"},vq=["innerHTML"],bq={__name:"DynamicComponentsCustomHtmlText",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e;return(n,o)=>(u(),h("div",yq,[f("div",{innerHTML:t.definition.Properties.Text},null,8,vq)]))}},wq=Object.freeze(Object.defineProperty({__proto__:null,default:bq},Symbol.toStringTag,{value:"Module"})),kq=["id"],Tq={__name:"DynamicComponentsCustomMidas",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e;let n=null;return De(()=>{setTimeout(()=>{if(t.definition.Properties.src){const o=document.querySelector("body"),s=document.createElement("script");s.async=!0,s.src=t.definition.Properties.src,s.type="text/javascript",o.appendChild(s),n=s}},1e3)}),Xe(()=>{n&&n.remove()}),(o,s)=>(u(),h("div",{class:j(["midas-element",{"hide-header":t.definition?.Properties?.hideWidgetHeader==="True","midas-bb":t.definition?.Template==="Midas-BB","midas-bcc":t.definition?.Template==="Midas-BCC","midas-b-plus-4grid":t.definition?.Template==="Midas-BPlus4Grid","midas-b-plus-c-list":t.definition?.Template==="Midas-BPlusClist","midas-bccc-into-grid":t.definition?.Template==="Midas-BCCC-Into-Grid"}])},[f("div",{id:t.definition.Properties.Id},null,8,kq)],2))}},$q=Object.freeze(Object.defineProperty({__proto__:null,default:Tq},Symbol.toStringTag,{value:"Module"})),Sq={__name:"DynamicComponentsCustomMidasScriptPreload",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e;let n=null;return De(()=>{setTimeout(()=>{if(t.definition.Properties.src){const o=document.querySelector("body"),s=document.createElement("script");s.async=!0,s.src=t.definition.Properties.src,s.type="text/javascript",o.appendChild(s),n=s}},100)}),Xe(()=>{n&&n.remove()}),(o,s)=>(u(),h("div"))}},Dq=Object.freeze(Object.defineProperty({__proto__:null,default:Sq},Symbol.toStringTag,{value:"Module"})),Cq=["id"],Pq={__name:"DynamicComponentsCustomKurir",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,n=t.definition?.Properties?.isSidebar==="True",o=t.definition?.Properties?.title,s=t.definition?.Properties?.Url,r=t.definition.Properties?.StaticImageLogoDark,a=t.definition.Properties?.StaticImageLogoLight||t.definition.Properties?.StaticImageLogo,l=r,c=a,m=t.definition?.Properties?.Url&&t.definition?.Properties?.Url!==""&&(t.definition.Properties.Url.startsWith("http")||t.definition.Properties.Url.startsWith("https")),d=r||a||o,p=l?l.ImageUrl:null,_=c?c.ImageUrl:null,g=l&&l.AltText?l.AltText:"",b=c?.AltText?c.AltText:"";return De(()=>{document.querySelectorAll(".kurir-element").forEach(C=>{if(C.childNodes[0].id===t.definition.Properties.Id){const E=document.createElement("script");E.classList.add(t.definition.Properties.Id),E.defer=!0,E.src=t.definition.Properties.Src,E.type="text/javascript",C.appendChild(E)}})}),(y,C)=>(u(),h("div",{class:j(["kurir-element-wrap",{"with-header":i(d)}])},[i(d)?(u(),O(i(Mt),{key:0,class:"card-header-wrap","dark-img":i(p),"light-img":i(_),"dark-image-alt":i(g),"light-image-alt":i(b),headline:i(o),link:i(s),isExternal:i(m),"is-external":!0},null,8,["dark-img","light-img","dark-image-alt","light-image-alt","headline","link","isExternal"])):T("",!0),f("div",{class:j(["kurir-element",{"kurir-bb":t.definition?.Template==="Kurir-BB","kurir-bccc-into-grid":t.definition?.Template==="Kurir-BCCC-Into-Grid"}])},[f("div",{id:t.definition.Properties.Id,class:j(n?"kurir_sidebar":"kurir_below_content")},null,10,Cq)],2)],2))}},xq=Object.freeze(Object.defineProperty({__proto__:null,default:Pq},Symbol.toStringTag,{value:"Module"})),Iq={class:"sasomange-external-widget"},Eq=["src"],Aq={__name:"DynamicComponentsCustomSasomangeWidget",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e;return(n,o)=>(u(),h("div",Iq,[f("iframe",{src:t.definition.Properties.Url,title:"Sasomange",width:"100%",frameborder:"0",scrolling:"no"},null,8,Eq)]))}},Lq=te(Aq,[["__scopeId","data-v-56fe980c"]]),Rq=Object.freeze(Object.defineProperty({__proto__:null,default:Lq},Symbol.toStringTag,{value:"Module"})),Oq=["id"],Mq={__name:"DynamicComponentsCustomNetHr",props:{definition:{type:Object,default:()=>({})}}
71,setup(e){const t=$e(),n=e;let o=null;const s=n.definition.Properties.Script.trim().replace(/\s+/g," "),r=n.definition?.Properties?.isSidebar==="True",a=t.pageData?.article?.Document.DocumentId?t.pageData?.article?.Document.DocumentId:"",l=`${s} _coex({ domain: '${n.definition.Properties.Domain}', object_id: '${a}', container: '#${n.definition.Properties.Container}', key: '${n.definition.Properties.Key}'})`;return De(()=>{if(n.definition.Properties.Script){const c=document.createElement("script");c.async=!0,c.setAttribute("data-cfasync","false"),c.textContent=l,c.type="text/javascript",document.head.appendChild(c),o=c}}),Xe(()=>{o&&o.remove()}),(c,m)=>(u(),h("div",{id:n.definition.Properties.Container,class:j(["nethr-widget",r&&"net-sidebar"])},null,10,Oq))}},Nq=Object.freeze(Object.defineProperty({__proto__:null,default:Mq},Symbol.toStringTag,{value:"Module"})),Bq={key:0,id:"qpq-container"},Uq={id:"qpq-list"},jq=["data-article-id"],Vq={class:"qpq-item-content"},Hq={class:"image-wrapper"},zq=["title","href"],Fq=["src"],Wq={class:"portal"},Gq=["title","href"],qq={class:"headline"},Yq=["title","href"],Kq={__name:"DynamicComponentsCustomNetHrXML",props:{definition:{type:Object,default:()=>({})}},async setup(e){let t,n;const s=e.definition?.Properties?.isSidebar==="True";let r={};function a(l){return new DOMParser().parseFromString(l,"application/xml").querySelector("enclosure").getAttribute("url")}try{const l=([t,n]=Er(()=>fetch("/nethr/xml")),t=await t,n(),t);if(l.status===200){const c=([t,n]=Er(()=>l.text()),t=await t,n(),t),d=new DOMParser().parseFromString(c,"application/xml");r=Array.from(d.querySelectorAll("item")).slice(0,3).map(p=>({title:p.querySelector("title")?.textContent||"",url:p.querySelector("link")?.textContent||"",image:p.querySelector("enclosure")?.outerHTML||"",articleId:p.querySelector("itemID")?.textContent||""}))}}catch(l){console.log(l)}return(l,c)=>(u(),h("div",{class:j(["nethr-widget",s&&"net-sidebar"])},[i(r).length?(u(),h("div",Bq,[f("ul",Uq,[(u(!0),h(G,null,pe(i(r),m=>(u(),h("li",{class:"qpq-item","data-article-id":m.articleId,key:m.articleId},[f("div",Vq,[f("div",Hq,[f("a",{target:"_blank",title:m.title,href:m.url},[f("img",{src:a(m.image),width:"860",height:"430"},null,8,Fq)],8,zq)]),f("p",Wq,[f("a",{target:"_blank",title:m.title,href:m.link},"Net.hr",8,Gq)]),f("div",qq,[f("h2",null,[f("a",{target:"_blank",title:m.title,href:m.url},w(m.title),9,Yq)])])])],8,jq))),128))])])):T("",!0)],2))}},Xq=Object.freeze(Object.defineProperty({__proto__:null,default:Kq},Symbol.toStringTag,{value:"Module"})),Qq={class:"preporuke-external-widget"},Jq=["src","height"],Zq={__name:"DynamicComponentsCustomPreporukeExternalWidget",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e;return(n,o)=>(u(),h("div",Qq,[f("iframe",{src:t.definition.Properties.Url,title:"Preporuke",width:"100%",height:t.definition.Properties.Height,frameborder:"0",scrolling:"no"},null,8,Jq)]))}},e9=te(Zq,[["__scopeId","data-v-7aa25f39"]]),t9=Object.freeze(Object.defineProperty({__proto__:null,default:e9},Symbol.toStringTag,{value:"Module"})),n9={class:"game-header"},o9={class:"container"},s9={class:"game-header__breadcrumbs breadcrumbs"},i9={class:"breadcrumbs-icon-container"},r9={key:0,class:"breadcrumbs-icon-container"},a9={key:1,class:"breadcrumbs-icon-container"},l9=["innerHTML"],c9={class:"game-header__title"},u9={key:0,class:"game-header__description"},d9={__name:"DynamicComponentsCustomGamesGameHeader",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=Le(),n=L(null),o=e;function s(){return new Date(t.query.date).toLocaleDateString("sr",{year:"numeric",month:"2-digit",day:"2-digit"})}return oa(()=>{t.params.path.some(r=>r.toLowerCase()==="sudoku")?n.value="Sudoku":t.params.path.some(r=>r.toLowerCase()==="ukrstene-reci")&&(n.value="Ukrstene-reci")}),(r,a)=>{const l=Ze("router-link");return u(),h("div",n9,[f("div",o9,[f("div",s9,[R(l,{to:"/",class:"breadcrumbs-link"},{default:z(()=>[_e(w(r.$t("common.homePage")),1)]),_:1}),f("div",i9,[a[0]||(a[0]=f("i",{class:"icon-chevron--right","aria-hidden":"true"},null,-1)),R(l,{class:"breadcrumbs-link",to:"/Zabava"},{default:z(()=>[_e(w(r.$t("games.breadcrumbFun")),1)]),_:1})]),i(n)?(u(),h("div",r9,[a[1]||(a[1]=f("i",{class:"icon-chevron--right","aria-hidden":"true"},null,-1)),R(l,{class:"breadcrumbs-link",to:`/Zabava/${i(n)}`},{default:z(()=>[i(n)==="Sudoku"?(u(),h(G,{key:0},[_e(w(r.$t("games.breadcrumbSudoku")),1)],64)):T("",!0),i(n)==="Ukrstene-reci"?(u(),h(G,{key:1},[_e(w(r.$t("games.breadcrumbCrosswords")),1)],64)):T("",!0)]),_:1},8,["to"])])):T("",!0),i(t).query.date&&i(n)?(u(),h("div",a9,[a[2]||(a[2]=f("i",{class:"icon-chevron--right","aria-hidden":"true"},null,-1)),R(l,{class:"breadcrumbs-link",to:`/Zabava/${i(n)}?date=${i(t).query.date}`},{default:z(()=>[f("span",{innerHTML:s()},null,8,l9)]),_:1},8,["to"])])):T("",!0)]),f("div",c9,w(o.definition?.Properties?.Title),1),i(t).query.date?T("",!0):(u(),h("div",u9,w(o.definition?.Properties?.Description),1))])])}}},f9=te(d9,[["__scopeId","data-v-043be714"]]),m9=Object.freeze(Object.defineProperty({__proto__:null,default:f9},Symbol.toStringTag,{value:"Module"})),p9=ns("/img/placeholder-crossword-desk.png"),h9=ns("/img/placeholder-crossword-mobile.png"),g9=p9,_9={class:"game is-crossword"},y9={class:"game-list__header"},v9={class:"game-list__title"},b9={key:0,class:"game-list"},w9=["innerHTML"],k9=["innerHTML"],T9={key:1,class:"game-list__btn"},$9={class:"game-list__header"}
71,S9=["innerHTML"],D9={class:"game-list__buttons"},C9={key:1,role:"button",class:"is-disabled"},P9={key:3,role:"button",class:"is-disabled"},x9={key:0,class:"game-content-placeholder"},I9={key:2,class:"game-content"},E9={class:"game-list__extra"},A9={key:1,role:"button",class:"btn btn--prim-alt-sec"},L9={class:"game-list__share"},R9={class:"game-list__share-btn"},O9={class:"game-list__share-text"},M9={__name:"DynamicComponentsCustomCrosswordsGame",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,n=$t(),o=Le(),s=$e(),r=se(()=>s.coreData?.siteSettings?.enableGigya),a=L(!1),l=L([]),c=L(0),m=L(15),d=L(!0),p=L(null),_=L(null),g=L(null),b=L(null),y=L(null);function C(k){k===0&&(l.value=[],c.value=0);const S=L(t.definition.Properties.Platform?t.definition.Properties.Platform:null),P=`https://enigma.exabyte.hr/index.php?option=com_enigma&task=crossword.getList&client=2&layout=${S?.value?S.value:"desktop"}&start=${k}&limit=${m.value}`,x=fetch(P,{method:"post"}).then(N=>N.text()).then(N=>N),A=async()=>{const N=await x,M=JSON.parse(eg(N));if(l.value.push(...Object.entries(M)),d.value=Object.keys(M).length>=m.value,d.value&&o.query.date){const{date:ee}=o.query,X=l.value.findIndex(Q=>Q[1].publish_date===ee);X!==-1&&(b.value=l.value[X-1],g.value=l.value[X+1]);const me=Math.floor(Math.random()*l.value.length);y.value=l.value[me]}};o.query.date||(c.value+=1),A()}function E(k){const S=["Nedelja","Ponedeljak","Utorak","Sreda","Äetvrtak","Petak","Subota"],$=new Date(k);return S[$.getDay()]}function D(k){return new Date(k).toLocaleDateString("sr",{year:"numeric",month:"2-digit",day:"2-digit"})}function v(k){const S=new Date(k),$=(S.getMonth()+1<10?"0":"")+(S.getMonth()+1),P=(S.getDate()<10?"0":"")+S.getDate();return`${S.getFullYear()}-${$}-${P}`}function I(){_.value=null;const k=L(t.definition.Properties.Platform?t.definition.Properties.Platform:null),S=k?.value?k.value:"desktop";o.query.date?(C(0),_.value=` 72 <script type="text/javacsript"> 73 $ = jQuery; 74 window.$ = $; 75 window.jQuery = jQuery; 76 document.addEventListener('touchstart', {}); 77 if (typeof $ == 'undefined') { 78 var $ = jQuery; 79 window.$ = $; 80 window.jQuery = jQuery; 81 } 82 $(document).ready(function () { 83 $('input').on('focus', function () { 84 $('body').prepend('<p>you focused</p>'); 85 }); 86 $('input').on('blur', function () { 87 $('body').prepend('<p>you blurred</p>'); 88 }); 89 }); 90 document.addEventListener('touchend', () => { $('body').prepend('<p>touch end</p>'); window.focus(); }) 91 <\/script> 92 93 <script type="text/javascript" src="/crosswords/crosswords.min.js"><\/script> 94 <link rel="stylesheet" href="/crosswords/crosswords-mondo.rs.css"> 95 <link rel="stylesheet" href="/crosswords/_crosswords.scss"> 96 <link href="https://fonts.googleapis.com/css2?family=Overpass:wght@400;700&display=swap" rel="stylesheet"> 97 <script> 98 var cwParams = { 99 date: '${o.query.date}', // Datum objave u formatu YYYY-MM-DD 100 client: 2, // ID klijenta 101 layout: '${S}', // desktop/mobile 102 logo: 'https://enigma.exabyte.hr/images/logo/logo-mondo.svg', // URL logotipa ili custom HTML 103 help: '#crosswordHelp', // Help HTML element, 104 ls: { 105 'CW_MSG_FHT': 'UkrÅ¡tenica je uspeÅ¡no popunjena!', 106 'CW_MSG_FINAL': '<p>Odgovor je: <br /><span class="cw-final-answr">{ANSWER}</span></p>', 107 'CW_ERR_EMPTYSEL': 'GreÅ¡ka, selektor ne može biti prazan.', 108 'CW_MSG_FH': 'Äestitke!', 109 'CW_MSG_FF': '', 110 'CW_CLOSE': 'Zatvori', 111 'CW_PAUSED': 'IGRA JE PAUZIRANA!', 112 'CW_PAUSE': 'Pauziraj', 113 'CW_CONTINUE': 'Nastavi', 114 'CW_TIME': 'Tvoje vreme: ', 115 'CW_RESET': 'Resetuj', 116 'CW_CHECKNOW': 'Proveri sad!', 117 'CW_CHECKAUTO': 'Automatska provera', 118 'CW_SAVE': 'Spremi', 119 'CW_LOAD': 'UÄitaj', 120 'CW_LOADED_PAUSED': 'IGRA JE UÄITANA I PAUZIRANA!', 121 } 122 }; 123 setTimeout(() => { 124 cw.init('#crossword', cwParams); 125 }, 250); 126 <\/script> 127 <script> 128 //Zakrpa za iOS 129 (function iosZommHack () { 130 /* 131 NOTE: This code overrides the viewport settings, an improvement would be 132 to take the original value and only add or change the user-scalable value 133 */ 134 135 // optionally only activate for iOS (done because I havn't tested the effect under other OS/devices combinations such as Android) 136 var iOS = navigator.platform && /iPad|iPhone|iPod/.test(navigator.platform) 137 if (iOS) preventZoomOnFocus (); 138 139 140 function preventZoomOnFocus () { 141 document.documentElement.addEventListener("touchstart", onTouchStart); 142 document.documentElement.addEventListener("focusin", onFocusIn); 143 } 144 145 var dont_disable_for = ["checkbox", "radio", "file", "button", "image", "submit", "reset", "hidden"]; 146 147 function onTouchStart(evt) { 148 var tn = evt.target.tagName; 149 150 // No need to do anything if the initial target isn't a known element 151 // which will cause a zoom upon receiving focus 152 if (tn != "SELECT" && tn != "TEXTAREA" && (tn != "INPUT" || dont_disable_for.indexOf(evt.target.getAttribute("type")) > -1) ) return; 153 154 // disable zoom
155 setViewport("width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=0"); 156 } 157 158 // NOTE: for now assuming this focusIn is caused by user interaction 159 function onFocusIn(evt) { 160 // reenable zoom 161 setViewport("width=device-width, initial-scale=1.0, maximum-scale=5.0"); 162 } 163 164 // add or update the <meta name="viewport"> element 165 function setViewport(newvalue) { 166 var vpnode = document.documentElement.querySelector('head meta[name="viewport"]'); 167 if (vpnode) { 168 vpnode.setAttribute("content",newvalue); 169 } else { 170 vpnode = document.createElement("meta"); 171 vpnode.setAttribute("name", "viewport"); 172 vpnode.setAttribute("content", newvalue); 173 } 174 }})() 175 <\/script> 176 <!-- *** End test for ios zoom *** --> 177 178 <section class="ukrstenice"> 179 <div id="crossword"> 180 <div class="loader" style="display: none;"></div> 181 </div> 182 <div id="crosswordHelp" style="display:none;"> 183 <div> 184 <span class="cw-mod-title">PomoÄ</span> 185 <span class="cw-mod-subtitle mobile-hide">Tastatura</span> 186 187 <div class="cf mobile-hide"> 188 <table class="cw-help cw-help-keys"> 189 <tr> 190 <td><span class="hs keys helpImgKey"></span></td> 191 <td>Promena smera polja</td> 192 </tr> 193 <tr> 194 <td><span class="hs tab helpImgKey"></span></td> 195 <td>Skok na sledeÄe polje</td> 196 </tr> 197 <tr> 198 <td><span class="hs shift helpImgKey"></span> <span class="vCenterHelpTxt">+</span> <span class="hs tab helpImgKey"></span></td> 199 <td>Povratak na prethodno polje</td> 200 </tr> 201 </table> 202 </div> 203 204 <span class="cw-mod-subtitle">DugmiÄi</span> 205 <div class="cf"> 206 <table class="cw-help cw-help-buttons"> 207 <tr> 208 <td><span class="btnTxt"><span class="cw-icon cwmdi cwmdi-pause-circle-outline"></span> <span class="cw-icon cwmdi cwmdi-play-circle-outline"></span></span></td> 209 <td>Zaustavljanje / pokretanje Å¡toperice</td> 210 </tr> 211 <tr> 212 <td><span class="btnTxt"><i class="cw-icon cwmdi cwmdi-refresh"></i><span class="mobile-hide"></span></span></td> 213 <td>Brisanje odgovora i resetovanje Å¡toperice</td> 214 </tr> 215 <!-- tr> 216 <td><span class="btnTxt"><span class="cw-icon cwmdi cwmdi-run-fast"></span>SaÄuvaj</span></td> 217 <td>Snimanje trenutnog stanja ukrÅ¡tenice}</td> 218 </tr --> 219 <!-- tr> 220 <td><span class="btnTxt"><span class="cw-icon cwmdi cwmdi-run-fast"></span>UÄitaj</span></td> 221 <td>UÄitavanje zadnjeg spremljenog stanja</td> 222 </tr --> 223 <tr> 224 <td><span class="btnTxt"><span class="cw-icon cwmdi cwmdi-run-fast"></span> Proveri sad</span></td> 225 <td>Trenutna provera upisa</td> 226 </tr> 227 <tr> 228 <td><span class="btnTxt"><span class="cw-icon cwmdi cwmdi-run-fast"></span> Automatska provera</span></td> 229 <td>UkljuÄivanje/iskljuÄivanje simultane provere</td> 230 </tr> 231 </table> 232 </div> 233 </div> 234 </div> 235 </section> 236 `,p.value=` 237 <meta charset="UTF-8"> 238 <script type="text/javascript" src="/js/jquery-3.4.1.min.js"><\/script> 239 `):document.addEventListener("DOMContentLoaded",C(0))}return qe(()=>o.query,I),De(()=>{I()}),Zt(()=>{document.removeEventListener("DOMContentLoaded",C)}),(k,S)=>{const $=Ze("router-link"),P=$n("click-outside");return u(),h("div",_9,[i(o).query.date?(u(),h(G,{key:1},[f("div",$9,[f("div",{class:"game-list__title",innerHTML:D(i(o).query.date)},null,8,S9),f("div",D9,[i(g)?(u(),O($,{key:0,to:`/Zabava/Ukrstene-reci?date=${v(i(g)[1].publish_date)}`},{default:z(()=>[...S[3]||(S[3]=[f("i",{class:"icon-chevron--left","aria-hidden":"true"},null,-1)])]),_:1},8,["to"])):(u(),h("a",C9,[...S[4]||(S[4]=[f("i",{class:"icon-chevron--left","aria-hidden":"true"},null,-1)])])),i(b)?(u(),O($,{key:2,to:`/Zabava/Ukrstene-reci?date=${v(i(b)[1].publish_date)}`},{default:z(()=>[...S[5]||(S[5]=[f("i",{class:"icon-chevron--right","aria-hidden":"true"},null,-1)])]),_:1},8,["to"])):(u(),h("a",P9,[...S[6]||(S[6]=[f("i",{class:"icon-chevron--right","aria-hidden":"true"},null,-1)])]))])]),i(r)&&!i(n).isAuthenticated?(u(),h("div",x9,[...S[7]||(S[7]=[f("picture",{class:"game-content-placeholder-container"},[f("source",{media:"(min-width:1024px)",srcset:g9}),f("img",{class:"game-content-placeholder-img",src:h9,alt:"crossword-game-placeholder",loading:"lazy"})],-1)])])):T("",!0),i(r)&&!i(n).isAuthenticated?(u(),O(uu,{key:1})):(u(),h("div",I9,[(u(),O(i(pu),{key:i(o).query.date,html:{head:i(p),body:i(_)},height:"content"},null,8,["html"]))])),f("div",E9,[R($,{to:"/Zabava/Ukrstene-reci",class:"btn btn--sec"},{default:z(()=>[_e(w(k.$t("games.moreCrosswords")),1)]),_:1}),i(y)?(u(),O($,{key:0,to:`/Zabava/Ukrstene-reci?date=${v(i(y)[1].publish_date)}`,class:"btn btn--prim-alt-sec"},{default:z(()=>[_e(w(k.$t("games.newGame")),1)]),_:1},8,["to"])):(u(),h("a",A9,w(k.$t("games.newGame")),1)),R($,{to:"/Zabava/Sudoku",class:"btn btn--prim"},{default:z(()=>[_e(w(k.$t("games.playSudoku")),1)]),_:1})]),f("div",L9,[f("span",R9,[f("span",O9,w(k.$t("games.shareGame")),1),f("span",{class:"btn--round",role:"button",onClick:S[1]||(S[1]=He(x=>{a.value=!0},["stop","prevent"])),"aria-label":"share"},[...S[8]||(S[8]=[f("i",{class:"icon-share"},null,-1)])]),i(a)?gt((u(),O(i(Sa),{key:0,"share-icons":["facebook","whatsapp","twitter","messenger"],"share-url":k.$createLocalUrl(i(o).path),"share-title":"UkrÅ¡tene reÄi dummy share title","is-mob":!1,onHideShareTooltip:S[2]||(S[2]=x=>a.value=!1)},null,8,["share-url"])),[[P,()=>a.value=!1]]):T("",!0)])])],64)):(u(),h(G,{key:0},[f("div",y9,[f("div",v9,w(t.definition?.Properties?.Title||k.$t("games.crosswordsArchive")),1)]),i(l)?(u(),h("ul",b9,[(u(!0),h(G,null,pe(i(l),x=>(u(),h("li",{key:x[1].id,class:"game-list__item"},[R($,{to:`/Zabava/Ukrstene-reci?date=${v(x[1].publish_date)}`,class:"game-list__link"},{default:z(()=>[f("span",{class:"game-list__date",innerHTML:D(x[1].publish_date)},null,8,w9),f("span",{class:"game-list__day",innerHTML:E(x[1].publish_date)},null,8,k9)]),_:2},1032,["to"])]))),128))])):T("",!0),!i(l).length<14&&i(d)?(u(),h("div",T9,[f("a",{class:"btn btn--prim-alt-sec",role:"button",onClick:S[0]||(S[0]=x=>C(i(c)*i(m)))},w(k.$t("games.loadMoreGames")),1)])):T("",!0)],64))])}}},N9=te(M9,[["__scopeId","data-v-b95a366f"]]),B9=Object.freeze(Object.defineProperty({__proto__:null,default:N9},Symbol.toStringTag,{value:"Module"})),U9=ns("/img/placeholder-sudoku-desk.png"),j9=ns("/img/placeholder-sudoku-mobile.png"),V9=U9,H9={class:"game is-sudoku"},z9={class:"game-list__header"},F9={class:"game-list__title"},W9={key:0,class:"game-list"},G9=["innerHTML"],q9=["innerHTML"],Y9={key:1,class:"game-list__btn"},K9={class:"game-list__header"},X9=["innerHTML"],Q9={class:"game-list__buttons"},J9={key:1,role:"button",class:"is-disabled"},Z9={key:3,role:"button",class:"is-disabled"},eY={key:0,class:"game-content-placeholder"},tY={key:2,class:"game-content"},nY={class:"game-list__extra"},oY={key:1,role:"button",class:"btn btn--prim-alt-sec"},sY={class:"game-list__share"},iY={class:"game-list__share-btn"},rY={class:"game-list__share-text"},aY={__name:"DynamicComponentsCustomSudoku",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,n=$t(),o=Le(),s=$e(),r=se(()=>s.coreData?.siteSettings?.enableGigya),a=L(!1),l=L([]),c=L(0),m=L(15),d=L(!0),p=L(null),_=L(null),g=L(null),b=L(null),y=L(null);function C(k){k===0&&(l.value=[],c.value=0);const S=L(t.definition.Properties.Platform?t.definition.Properties.Platform:null),P=`https://enigma.exabyte.hr/index.php?option=com_enigma&task=sudoku.getList&client=2&layout=${S?.value?S.value:"desktop"}&start=${k}&limit=${m.value}`,x=fetch(P,{method:"post"}).then(N=>N.text()).then(N=>N),A=async()=>{const N=await x,M=JSON.parse(eg(N));if(l.value.push(...Object.entries(M)),d.value=Object.keys(M).length>=m.value,d.value&&o.query.date){const{date:ee}=o.query,X=l.value.findIndex(Q=>Q[1].publish_date===ee);X!==-1&&(b.value=l.value[X-1],g.value=l.value[X+1]);const me=Math.floor(Math.random()*l.value.length);y.value=l.value[me]}};o.query.date||(c.value+=1),A()}function E(k){const S=["Nedelja","Ponedeljak","Utorak","Sreda","Äetvrtak","Petak","Subota"],$=new Date(k);return S[$.getDay()]}function D(k){return new Date(k).toLocaleDateString("sr",{year:"numeric",month:"2-digit",day:"2-digit"})}function v(k){const S=new Date(k),$=(S.getMonth()+1<10?"0":"")+(S.getMonth()+1),P=(S.getDate()<10?"0":"")+S.getDate();return`${S.getFullYear()}-${$}-${P}`}function I(){_.value=null;
239const k=L(t.definition.Properties.Platform?t.definition.Properties.Platform:null),S=k?.value?k.value:"desktop";o.query.date?(C(0),_.value=` 240 <script type="text/javascript"> 241 $ = jQuery; 242 window.$ = $; 243 window.jQuery = jQuery; 244 document.addEventListener('touchstart', {}); 245 if (typeof $ == 'undefined') { 246 var $ = jQuery; 247 window.$ = $; 248 window.jQuery = jQuery; 249 } 250 document.addEventListener('touchend', () => { window.focus(); }) 251 <\/script> 252 253 <script type="text/javascript" src="/sudoku/sudoku.min.js"><\/script> 254 <link rel="stylesheet" href="/sudoku/sudoku.min.css"> 255 <link rel="stylesheet" href="/sudoku/sudoku-mondo.rs.css"> 256 <link rel="stylesheet" href="/sudoku/_sudoku.scss"> 257 <link rel="stylesheet" href="/sudoku/_sudoku-mondo.scss"> 258 <link href="https://fonts.googleapis.com/css2?family=Overpass:wght@400;700&display=swap" rel="stylesheet"> 259 <script> 260 var sudokuParams = { 261 date: '${o.query.date}', // Datum objave u formatu YYYY-MM-DD 262 client: 2, // ID klijenta 263 layout: '${S}', // desktop/mobile 264 'difficulty': 'easy', // Initial difficulty 265 logo: 'https://enigma.exabyte.hr/images/logo/logo-mondo.svg', // URL logotipa ili custom HTML 266 'help': '#sudokuHelp', // Help HTML element, 267 'ls': { 268 'SUD_MSG_FH': 'Äestitamo!', 269 'SUD_MSG_FHT': '{sudokudif} sudoku je uspeÅ¡no zavrÅ¡en!', 270 'SUD_MSG_FF': '', 271 'SUD_OK': 'Nastavi', 272 'SUD_CAN': 'Odustani', 273 'SUD_CLS': 'Zatvori', 274 'SUD_PAUSE': 'Zaustavi', 275 'SUD_PAUSED': 'Igra je pauzirana!', 276 'SUD_PAUSEDC': 'Nastavi', 277 'SUD_CONTINUE': 'Nastavi', 278 'SUD_CMBS': 'Ubrzaj se', 279 'SUD_CLR': 'ObriÅ¡i', 280 'SUD_HNT': 'PomoÄ', 281 'SUD_NTS': 'BeleÅ¡ke', 282 'changeDifficulty': { 283 'msg': "Sigurno želiÅ¡ promeniti težinu igre? Ukoliko odluÄiÅ¡ da promeniÅ¡ težinu igre trenutna postavka Äe se obrisati.", 284 'ok': 'Nastavi', 285 'can': 'Odustani', 286 }, 287 } 288 }; 289 setTimeout(() => { 290 sud.init('#sudoku', sudokuParams); 291 292 jQuery(document).on("sudoku", function (e) { 293 console.log(e); 294 }); 295 }, 250); 296 <\/script> 297 <script> 298 //Zakrpa za iOS 299 (function iosZommHack () { 300 /* 301 NOTE: This code overrides the viewport settings, an improvement would be 302 to take the original value and only add or change the user-scalable value 303 */ 304 305 // optionally only activate for iOS (done because I havn't tested the effect under other OS/devices combinations such as Android) 306 var iOS = navigator.platform && /iPad|iPhone|iPod/.test(navigator.platform) 307 if (iOS) preventZoomOnFocus (); 308 309 310 function preventZoomOnFocus () { 311 document.documentElement.addEventListener("touchstart", onTouchStart); 312 document.documentElement.addEventListener("focusin", onFocusIn); 313 } 314 315 var dont_disable_for = ["checkbox", "radio", "file", "button", "image", "submit", "reset", "hidden"]; 316 317 function onTouchStart(evt) { 318 var tn = evt.target.tagName; 319 320 // No need to do anything if the initial target isn't a known element 321 // which will cause a zoom upon receiving focus 322 if (tn != "SELECT" && tn != "TEXTAREA" && (tn != "INPUT" || dont_disable_for.indexOf(evt.target.getAttribute("type")) > -1) ) return; 323 324 // disable zoom 325 setViewport("width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=0"); 326 } 327 328 // NOTE: for now assuming this focusIn is caused by user interaction 329 function onFocusIn(evt) { 330 // reenable zoom
331 setViewport("width=device-width, initial-scale=1.0, maximum-scale=5.0"); 332 } 333 334 // add or update the <meta name="viewport"> element 335 function setViewport(newvalue) { 336 var vpnode = document.documentElement.querySelector('head meta[name="viewport"]'); 337 if (vpnode) { 338 vpnode.setAttribute("content",newvalue); 339 } else { 340 vpnode = document.createElement("meta"); 341 vpnode.setAttribute("name", "viewport"); 342 vpnode.setAttribute("content", newvalue); 343 } 344 }})() 345 <\/script> 346 <!-- *** End test for ios zoom *** --> 347 <section class="sudoku"> 348 <div id="sudoku"> 349 <div class="loader" style="display: none;"></div> 350 </div> 351 <div id="sudokuHelp" style="display:none;"> 352 <span class="sud-mod-title">PomoÄ</span> 353 <span class="sud-mod-subtitle mobile-hide">Tipkovnica</span> 354 355 <div class="cf mobile-hide"> 356 <table class="sud-help"> 357 <tr> 358 <td><span class="hs keys helpImgKey"></span></td> 359 <td>
359Navigiranje kroz mrežu</td> 360 </tr> 361 <tr> 362 <td><span class="hs ctrl helpImgKey"></span></td> 363 <td>Privremeno ukljuÄivanje beleÅ¡ki</td> 364 </tr> 365 <tr> 366 <td><span class="hs bcksp helpImgKey"></span> <span class="vCenterHelpTxt">ili</span> <span class="hs del helpImgKey"></span></td> 367 <td>Brisanje vlastitiog unosa u aktivnom polju</td> 368 </tr> 369 </table> 370 </div> 371 372 <span class="sud-mod-subtitle mobile-hide">DugmiÄi</span> 373 <div class="cf"> 374 <table class="sud-help sud-help-keys"> 375 <tr> 376 <td><span class="btnTxt"><span class="sudmdi sudmdi-left-button"></span> <span class="sudmdi sudmdi-right-button"></span></span></td> 377 <td>Odabir prethodnih igara</td> 378 </tr> 379 <tr> 380 <td><span class="btnTxt"><span class="sudmdi sudmdi-pause-circle-outline"></span> <span class="sudmdi sudmdi-play-circle-outline"></span></span></td> 381 <td>Pauziranje / pokretanje igre</td> 382 </tr> 383 <tr> 384 <td><span class="btnTxt"><i class="sudmdi sudmdi-refresh"></i><span class="mobile-hide"></span></span></td> 385 <td>Resetovanje igre na poÄetno stanje</td> 386 </tr> 387 <tr> 388 <td><span class="btnTxt"><span class="sud-icon sudmdi sudmdi-run-fast"></span></span></td> 389 <td>Prikaz svih moguÄih kandidata po celoj mreži</td> 390 </tr> 391 <tr> 392 <td><span class="btnTxt"><span class="sud-icon sudmdi sudmdi-eraser"></span></span></td> 393 <td>Brisanje vlastitiog unosa u aktivnom polju</td> 394 </tr> 395 <tr> 396 <td><span class="btnTxt"><span class="sud-icon sudmdi sudmdi-lightbulb-on-outline"></span></span></td> 397 <td>Razotkriva reÅ¡enje aktivnog polja ili pak nasumiÄnog ukoliko ni jedno polje nije oznaÄeno</td> 398 </tr> 399 <tr> 400 <td><span class="btnTxt"><span class="sud-icon sudmdi sudmdi-apps"></span></span></td> 401 <td>MožeÅ¡ koristiti za unos kandidata kada uoÄiÅ¡ viÅ¡e moguÄnosti za pojedino polje</td> 402 </tr> 403 </table> 404 </div> 405 </div> 406 </section> 407 `,p.value=` 408 <meta charset="UTF-8"> 409 <script type="text/javascript" src="/js/jquery-3.4.1.min.js"><\/script> 410 `):document.addEventListener("DOMContentLoaded",C(0))}return De(()=>{I(),qe(()=>o.query,I)}),Zt(()=>{document.removeEventListener("DOMContentLoaded",C)}),(k,S)=>{const $=Ze("router-link"),P=Sh,x=$n("click-outside");return u(),h("div",H9,[i(o).query.date?(u(),h(G,{key:1},[f("div",K9,[f("div",{class:"game-list__title",innerHTML:D(i(o).query.date)},null,8,X9),f("div",Q9,[i(g)?(u(),O($,{key:0,to:`/Zabava/Sudoku?date=${v(i(g)[1].publish_date)}`},{default:z(()=>[...S[3]||(S[3]=[f("i",{class:"icon-chevron--left","aria-hidden":"true"},null,-1)])]),_:1},8,["to"])):(u(),h("a",J9,[...S[4]||(S[4]=[f("i",{class:"icon-chevron--left","aria-hidden":"true"},null,-1)])])),i(b)?(u(),O($,{key:2,to:`/Zabava/Sudoku?date=${v(i(b)[1].publish_date)}`},{default:z(()=>[...S[5]||(S[5]=[f("i",{class:"icon-chevron--right","aria-hidden":"true"},null,-1)])]),_:1},8,["to"])):(u(),h("a",Z9,[...S[6]||(S[6]=[f("i",{class:"icon-chevron--right","aria-hidden":"true"},null,-1)])]))])]),R(P,null,{default:z(()=>[i(r)&&!i(n).isAuthenticated?(u(),h("div",eY,[...S[7]||(S[7]=[f("picture",{class:"game-content-placeholder-container"},[f("source",{media:"(min-width:1024px)",srcset:V9}),f("img",{class:"game-content-placeholder-img",src:j9,alt:"sudoku-game-placeholder",loading:"lazy"})],-1)])])):T("",!0),i(r)&&!i(n).isAuthenticated?(u(),O(uu,{key:1})):(u(),h("div",tY,[(u(),O(i(pu),{key:i(o).query.date,html:{head:i(p),body:i(_)},height:"content"},null,8,["html"]))])),f("div",nY,[R($,{to:"/Zabava/Sudoku",class:"btn btn--sec"},{default:z(()=>[_e(w(k.$t("games.moreSudoku")),1)]),_:1}),i(y)?(u(),O($,{key:0,to:`/Zabava/Sudoku?date=${v(i(y)[1].publish_date)}`,class:"btn btn--prim-alt-sec"},{default:z(()=>[_e(w(k.$t("games.newGame")),1)]),_:1},8,["to"])):(u(),h("a",oY,w(k.$t("games.newGame")),1))]),f("div",sY,[f("span",iY,[f("span",rY,w(k.$t("games.shareGame")),1),f("span",{class:"btn--round",role:"button",onClick:S[1]||(S[1]=He(A=>{a.value=!0},["stop","prevent"])),"aria-label":"share"},[...S[8]||(S[8]=[f("i",{class:"icon-share"},null,-1)])]),i(a)?gt((u(),O(i(Sa),{key:0,"share-icons":["facebook","whatsapp","twitter","messenger"],"share-url":k.$createLocalUrl(i(o).path),"share-title":"Sudoku dummy share title","is-mob":!1,onHideShareTooltip:S[2]||(S[2]=A=>a.value=!1)},null,8,["share-url"])),[[x,()=>a.value=!1]]):T("",!0)])])]),_:1})],64)):(u(),h(G,{key:0},[f("div",z9,[f("div",F9,w(t.definition?.Properties?.Title||k.$t("games.sudokuArchive")),1)]),i(l)?(u(),h("ul",W9,[(u(!0),h(G,null,pe(i(l),A=>(u(),h("li",{key:A[1].id,class:"game-list__item"},[R($,{to:`/Zabava/Sudoku?date=${v(A[1].publish_date)}`,class:"game-list__link"},{default:z(()=>[f("span",{class:"game-list__date",innerHTML:D(A[1].publish_date)},null,8,G9),f("span",{class:"game-list__day",innerHTML:E(A[1].publish_date)},null,8,q9)]),_:2},1032,["to"])]))),128))])):T("",!0),!i(l).length<14&&i(d)?(u(),h("div",Y9,[f("a",{class:"btn btn--prim-alt-sec",role:"button",onClick:S[0]||(S[0]=A=>C(i(c)*i(m)))},w(k.$t("games.loadMoreGames")),1)])):T("",!0)],64))])}}},lY=te(aY,[["__scopeId","data-v-8dcba835"]]),cY=Object.freeze(Object.defineProperty({__proto__:null,default:lY},Symbol.toStringTag,{value:"Module"})),uY={key:0,class:"game-widget__image"},dY=["src","alt"],fY={class:"game-widget__content"},mY={key:0,class:"game-widget__title"},pY=["src","alt"],hY={class:"game-widget__footer"},gY={role:"button",class:"game-widget__btn btn"},_Y={role:"button",class:"game-widget__text"},yY={__name:"DynamicComponentsCustomGamesWidgetSudoku",props:{game:{type:Object,default:()=>({})}},setup(e){const t=e,{config:n}=ye().public,o=n.gamesDomain||"",s=new Date,r=(s.getMonth()+1<10?"0":"")+(s.getMonth()+1),a=(s.getDate()<10?"0":"")+s.getDate(),l=`${o}/Zabava/Sudoku?date=${s.getFullYear()}-${r}-${a}`;return(c,m)=>(u(),O(Tt,{to:`${l}`,class:j(["game is-sudoku",`has-image-${t.game["Main Image Position"]}
410`]),style:Se({backgroundImage:t.game["Game Surface Image"]?`url(${t.game["Game Surface Image"].ThumbnailUrl})`:""})},{default:z(()=>[t.game["Game Main Image"]?(u(),h("div",uY,[f("img",{src:t.game["Game Main Image"].ThumbnailUrl,alt:t.game["Game Main Image"].AltText,style:Se({objectPosition:i(fo)(t.game["Game Main Image"]?.ImageFocusCrop)}),loading:"lazy"},null,12,dY)])):T("",!0),f("div",fY,[t.game["Game Text Image"]?(u(),h("div",mY,[f("img",{src:t.game["Game Text Image"].ThumbnailUrl,alt:t.game["Game Text Image"].AltText,style:Se({objectPosition:i(fo)(t.game["Game Text Image"]?.ImageFocusCrop)}),loading:"lazy"},null,12,pY)])):T("",!0),f("div",hY,[f("span",gY,w(t.game["Button Text"]||c.$t("games.widgetBtn")),1),f("span",_Y,w(t.game.Description||c.$t("games.widgetSudoku")),1)])])]),_:1},8,["to","class","style"]))}},vY={key:0,class:"game-widget__image"},bY=["src","alt"],wY={class:"game-widget__content"},kY={key:0,class:"game-widget__title"},TY=["src","alt"],$Y={class:"game-widget__footer"},SY={role:"button",class:"game-widget__btn btn"},DY={role:"button",class:"game-widget__text"},CY={__name:"DynamicComponentsCustomGamesWidgetCrosswords",props:{game:{type:Object,default:()=>({})}},setup(e){const t=e,{config:n}=ye().public,o=n.gamesDomain||"",s=new Date,r=(s.getMonth()+1<10?"0":"")+(s.getMonth()+1),a=(s.getDate()<10?"0":"")+s.getDate(),l=`${o}/Zabava/Ukrstene-reci?date=${s.getFullYear()}-${r}-${a}`;return(c,m)=>(u(),O(Tt,{to:`${l}`,class:j(["game is-crosswords",`has-image-${t.game["Main Image Position"]}`]),style:Se({backgroundImage:t.game["Game Surface Image"]?`url(${t.game["Game Surface Image"].ThumbnailUrl})`:""})},{default:z(()=>[t.game["Game Main Image"]?(u(),h("div",vY,[f("img",{src:t.game["Game Main Image"].ThumbnailUrl,alt:t.game["Game Main Image"].AltText,style:Se({objectPosition:i(fo)(t.game["Game Main Image"]?.ImageFocusCrop)}),loading:"lazy"},null,12,bY)])):T("",!0),f("div",wY,[t.game["Game Text Image"]?(u(),h("div",kY,[f("img",{src:t.game["Game Text Image"].ThumbnailUrl,alt:t.game["Game Text Image"].AltText,style:Se({objectPosition:i(fo)(t.game["Game Text Image"]?.ImageFocusCrop)}),loading:"lazy"},null,12,TY)])):T("",!0),f("div",$Y,[f("span",SY,w(t.game["Button Text"]||c.$t("games.widgetBtn")),1),f("span",DY,w(t.game.Description||c.$t("games.widgetCrosswords")),1)])])]),_:1},8,["to","class","style"]))}},PY={class:"game-widget"},xY={__name:"DynamicComponentsCustomGameWidget",props:{definition:{type:Object,default:()=>({})}},setup(e){const n=L(e.definition?.Properties),o=L(n.value["Game Type"].toLowerCase());return(s,r)=>(u(),h("div",PY,[i(o)==="sudoku"?(u(),O(i(yY),{key:0,game:i(n)},null,8,["game"])):T("",!0),i(o)==="crosswords"?(u(),O(i(CY),{key:1,game:i(n)},null,8,["game"])):T("",!0)]))}},IY=te(xY,[["__scopeId","data-v-9b7bb01d"]]),EY=Object.freeze(Object.defineProperty({__proto__:null,default:IY},Symbol.toStringTag,{value:"Module"})),AY={key:0,class:"loader-container"},LY={key:1,class:"loader-container"},RY={__name:"CommonCardElementsCardSliderSkeleton",props:{usedInTemplate:{type:String,default:""}},setup(e){const t=e;return(n,o)=>(u(),h("div",null,[t.usedInTemplate==="specialBanner"?(u(),h("div",AY,[...o[0]||(o[0]=[Jo('<span class="skeleton label" data-v-3aa338cc></span><span class="content sb" data-v-3aa338cc><span class="skeleton title row-one" data-v-3aa338cc></span><span class="skeleton title row-two" data-v-3aa338cc></span><span class="skeleton title row-three" data-v-3aa338cc></span></span><span class="skeleton divider" data-v-3aa338cc></span><span class="skeleton label" data-v-3aa338cc></span><span class="content sb" data-v-3aa338cc><span class="skeleton title row-one" data-v-3aa338cc></span><span class="skeleton title row-two" data-v-3aa338cc></span><span class="skeleton title row-three" data-v-3aa338cc></span></span><span class="skeleton divider" data-v-3aa338cc></span><span class="skeleton label" data-v-3aa338cc></span><span class="content sb last" data-v-3aa338cc><span class="skeleton title row-one" data-v-3aa338cc></span><span class="skeleton title row-two" data-v-3aa338cc></span><span class="skeleton title row-three" data-v-3aa338cc></span></span><span class="pagination" data-v-3aa338cc><span class="skeleton dot" data-v-3aa338cc></span><span class="skeleton dot" data-v-3aa338cc></span><span class="skeleton dot" data-v-3aa338cc></span></span>',9)])])):t.usedInTemplate==="contentAsideFullWidth"?(u(),h("div",LY,[...o[1]||(o[1]=[Jo('<span class="skeleton label" data-v-3aa338cc></span><span class="wrapper" data-v-3aa338cc><span class="skeleton image" data-v-3aa338cc></span><span class="content ca" data-v-3aa338cc><span class="skeleton title row-one" data-v-3aa338cc></span><span class="skeleton title row-two" data-v-3aa338cc></span><span class="skeleton title row-three" data-v-3aa338cc></span></span></span><span class="skeleton divider" data-v-3aa338cc></span><span class="skeleton label" data-v-3aa338cc></span><span class="wrapper" data-v-3aa338cc><span class="skeleton image" data-v-3aa338cc></span><span class="content ca" data-v-3aa338cc><span class="skeleton title row-one" data-v-3aa338cc></span><span class="skeleton title row-two" data-v-3aa338cc></span><span class="skeleton title row-three" data-v-3aa338cc></span></span></span><span class="skeleton divider" data-v-3aa338cc></span><span class="skeleton label" data-v-3aa338cc></span><span class="wrapper" data-v-3aa338cc><span class="skeleton image" data-v-3aa338cc></span><span class="content ca" data-v-3aa338cc><span class="skeleton title row-one" data-v-3aa338cc></span><span class="skeleton title row-two" data-v-3aa338cc></span><span class="skeleton title row-three" data-v-3aa338cc></span></span></span><span class="pagination" data-v-3aa338cc><span class="skeleton dot" data-v-3aa338cc></span><span class="skeleton dot" data-v-3aa338cc></span><span class="skeleton dot" data-v-3aa338cc></span></span>',9)])])):T("",!0)]))}},T_=te(RY,[["__scopeId","data-v-3aa338cc"]]),OY=["innerHTML"],MY={class:"special-banner-container"},NY={class:"special-banner-header"},BY={key:0,class:"special-banner-label-container"},UY={class:"special-banner-label"},jY={class:"special-banner-title"},VY={key:0,class:"special-banner-related-news"},HY={class:"related-article__header"},zY={class:"related-article__title"},FY={key:1,class:"content-slide-btn-wrap mobile"},qf=3,WY={__name:"DynamicComponentsCustomSpecialBanner",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,{$t:n,$createLocalUrl:o,$device:s}=ue(),{config:r,genericImages:a}=ye().public,l=r.facebookId,c=No(t.definition.children?.[0]?.Documents?.[0]),m=se(()=>t.definition.children?.[1]?.Documents||[]),d=L(!0),p=t.definition.children?.[0]?.Properties?.ImpressionScript,_={gallery:!1,slidesPerView:2.4838,hideNavigationOnEdges:!0,pagination:!1,breakpoints:{1023:{slidesPerView:1,itemsToSlide:qf,pagination:m.value.length>
410qf,navigation:!1}}},g=m.value.length>_.breakpoints[1023].itemsToSlide;function b(){return b$(t.definition.children?.[0]?.Documents?.[0].WebUrl||" ")}function y(ie){if(!ie)return;const ce=ie.DocumentElements?.find(V=>V.Name==="Label")?.Text;if(ce)return ce;const de=ie.Breadcrumb?.slice(-1)?.[0]?.Name;return de||ie.ParentMenuItemName}const C=c["Image 16x9"]?.Image||a.placeholderImg,E=c["Image 1x1"]?.Image||a.placeholderImg,D=c.isLight?.Text==="true",v=c["Promo Label"]?.Text==="Yes",I=c["Promo text"]?.Text,k=t.definition.children?.[0]?.Documents?.[0]?.Title,S=c["Link name"]?.Text||n("common.viewAllNews"),$=c["Link URL"]?.Text,P=Di([C,E],"storytelling"),x=D?c.LogoLight?.Image:c.LogoDark?.Image,A=ie=>ie.DocumentAttributes?.find(ce=>ce.Name==="External Document URL"),N=t.definition?.children[0]?.Properties,M=N?.URLSuffix||"",ee=N?.externalURLSuffix||"",X=$!==""&&($?.startsWith("http")||$?.startsWith("https")),me=rn({url:$,urlSuffix:M,externalUrlSuffix:ee,isExternalArticle:X}),Q=t.definition?.children[1]?.Properties,F=Q?.URLSuffix||"",Y=Q?.externalURLSuffix||"";return De(()=>{d.value=!1}),(ie,ce)=>e.definition.children?.[0]?.Documents?(u(),h("div",{key:0,class:j(["special-banner",D?"light":"dark"])},[i(p)?(u(),h("div",{key:0,class:"hidden",innerHTML:i(p)},null,8,OY)):T("",!0),f("div",MY,[f("div",NY,[R(i(Mt),{sponsorImg:i(x)?.ImageUrl,headline:i(c).Headline?.Text},null,8,["sponsorImg","headline"]),f("div",null,[R(i(Ot),{"share-link":i($),"share-title":i(k),sourceType:"card","is-mob":!1,fbId:i(l),commentActionVisible:!1,numberOfCommentsVisible:!1,reactVisible:!1},null,8,["share-link","share-title","fbId"])])]),R(Tt,{to:i(me),class:"special-banner-img-title-wrapper"},{default:z(()=>[R(Be,{image:i(P)[0],lazy:!0,"inner-class":"special-banner-img-container","picture-image-class":"special-banner-img"},null,8,["image"]),v||i(I)?(u(),h("div",BY,[v?(u(),O(i(Ne),{key:0,extraClass:"is-pr",label:i(n)("labels.pr")},null,8,["label"])):T("",!0),f("span",UY,w(i(I)),1)])):T("",!0),f("h2",jY,w(i(k)),1)]),_:1},8,["to"])]),f("div",{class:j(["card-related-articles-wrap",{"has-related":i(m).length}])},[i(m).length?(u(),h("div",VY,[!i(s).isDesktop&&i(d)?(u(),O(T_,{key:0,usedInTemplate:"specialBanner"})):(u(),O(an,{options:_,class:j(["articles-slider",{"no-pagination":!g}]),key:b()},{default:z(()=>[(u(!0),h(G,null,pe(i(m),de=>(u(),O(zt,{key:de.DocumentId,class:"related-article"},{default:z(()=>[R(Tt,{to:i(rn)({url:A(de)?.Text||i(o)(de?.WebUrl),urlSuffix:i(F),externalUrlSuffix:i(Y),isExternalArticle:de.DocumentTypeAlias==="ExternalArticle"})},{default:z(()=>[f("div",HY,[R(i(Ne),{class:"is-secondary",label:y(de)},null,8,["label"]),R(i(Ne),{class:"is-secondary-alt",label:i(ln)(de.LastEditDate,de.LastEditDateShortFormatted,i(n)("timeBefore"))},null,8,["label"])]),f("h3",zY,w(de?.Title),1),R(i(Et))]),_:2},1032,["to"])]),_:2},1024))),128)),i(s).isDesktop?(u(),O(zt,{key:0,class:"content-slide-btn-wrap"},{default:z(()=>[R(Tt,{to:i(me),class:"content-slide-btn btn"},{default:z(()=>[_e(w(i(S)),1)]),_:1},8,["to"])]),_:1})):T("",!0)]),_:1},8,["class"]))])):T("",!0),!i(s).isDesktop&&i($)?(u(),h("div",FY,[R(Tt,{to:i(me),class:"content-slide-btn btn"},{default:z(()=>[_e(w(i(S)),1)]),_:1},8,["to"])])):T("",!0)],2)],2)):T("",!0)}},GY=te(WY,[["__scopeId","data-v-6f8f1521"]]),qY=Object.freeze(Object.defineProperty({__proto__:null,default:GY},Symbol.toStringTag,{value:"Module"})),YY={class:"content-aside-main"},KY=["innerHTML"],XY={key:1,class:"content-aside-header is-mobile"},QY={key:0,class:"content-aside-sponsor"},JY=["src","alt"],ZY={class:"content-aside-content"},eK={key:0,class:"content-aside-header is-desktop"},tK={key:0,class:"content-aside-sponsor"},nK=["src","alt"],oK={class:"content-aside-main-info"},sK={key:0,class:"content-aside-labels"},iK=["href","target"],rK={key:0,class:"content-aside-list"},aK={class:"related-article-labels"},lK={class:"related-article-content"},cK=["href","target"],Yf=3,Kf=3,uK={__name:"DynamicComponentsCustomContentAsideFullWidth",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,{config:n}=ye().public,{$createLocalUrl:o,$device:s}=ue(),r=se(()=>t.definition?.children?.[1]?.Documents||[]),a={gallery:!1,slidesPerView:Kf,hideNavigationOnEdges:!0,pagination:!1,navigation:r.value.length>Kf,breakpoints:{1023:{slidesPerView:1,itemsToSlide:Yf,pagination:r.value.length>Yf,navigation:!1}}},l=t.definition?.children?.[0]?.Documents?.[0],c=L(!1),m=L(!0),d=r.value.length>a.breakpoints[1023].itemsToSlide,p=No(l),_=p.Tema?.Text,g=p["Link URL"],b=p["Title color"]?.Text,y=p["Label color"]?.Text,C=p.Headline,E=p["Headline Logo"],D=p["Content aside surface color"]?.Text,v=t.definition?.children[0]?.Properties?.ImpressionScript,I=lg(HL(l)),
410k=p.Subtitle?.Text.length>24?`${p.Subtitle?.Text.substring(0,23)}…`:p.Subtitle?.Text,S=p["Promo Label"]?.Text==="Yes",$=q=>q.DocumentAttributes?.find(fe=>fe.Name==="External Document URL"),P=q=>oS(jL(q));let x="";g?.Text&&!g?.Text.startsWith(n.localUrl)&&g?.Text.startsWith("http")&&(x="_blank");function A(q){const fe=Te(q,"Subtitle")?.Text||q.ParentMenuItemName;return fe.length>24?`${fe.substring(0,23)}…`:fe}const N=(q,fe)=>{q.length===4&&(q=`#${q.slice(1).split("").map(Oe=>Oe+Oe).join("")}`);const W=parseInt(q.slice(1),16),le=Math.floor(W/65536)%256,he=Math.floor(W/256)%256,we=W%256;return`rgba(${le}, ${he}, ${we}, ${fe})`},M=()=>_==="custom"?N(b,.08):"";function ee(q){window.innerWidth>1210&&(c.value=q)}const X=se(()=>c.value===!0&&_==="custom"?{"--cta-text-hover-color-from-cms":p["Button text on hover"]?.Text,"--cta-bg-hover-color-from-cms":p["Button surface on hover"]?.Text}:_==="custom"?{"--cta-text-color-from-cms":p["Button text color"]?.Text,"--cta-bg-color-from-cms":p["Button background color"]?.Text}:{"--cta-text-color-from-cms":"","--cta-text-hover-color-from-cms":"","--cta-bg-color-from-cms":"","--cta-bg-hover-color-from-cms":""}),me=()=>_==="custom"?{"--cta-text-color-from-cms":p["Button text color"]?.Text,"--cta-bg-color-from-cms":p["Button background color"]?.Text,"--cta-text-hover-color-from-cms":p["Button text on hover"]?.Text,"--cta-bg-hover-color-from-cms":p["Button surface on hover"]?.Text}:{"--cta-text-color-from-cms":"","--cta-text-hover-color-from-cms":"","--cta-bg-color-from-cms":"","--cta-bg-hover-color-from-cms":""},Q=()=>{if(_==="custom"){const q=N(D,.08),fe=N(b,.2);return{"--ca-surface-color-from-cms":D,"--title-color-from-cms-08":q,"--title-color-from-cms-20":fe}}return{"--ca-surface-color-from-cms":"","--title-color-from-cms-08":"","--title-color-from-cms-20":""}},F=t.definition?.children[0]?.Properties,Y=F?.URLSuffix||"",ie=F?.externalURLSuffix||"",ce=g?.Text!==""&&(g?.Text.startsWith("http")||g?.Text.startsWith("https")),de=rn({url:g?.Text,urlSuffix:Y,externalUrlSuffix:ie,isExternalArticle:ce}),V=t.definition?.children[1]?.Properties,K=V?.URLSuffix||"",Z=V?.externalURLSuffix||"";return De(()=>{m.value=!1}),(q,fe)=>(u(),h("div",{class:j(["content-aside full-width",{[i(_)]:i(_),"has-related":i(r).length&&!i(E)&&!i(C),"has-header":(i(E)||i(C))&&!i(r).length,"has-related-header":i(r).length&&(i(E)||i(C))}]),style:Se({"--ca-surface-color-from-cms":i(_)==="custom"?i(D):""})},[f("div",YY,[i(v)?(u(),h("div",{key:0,class:"hidden",innerHTML:i(v)},null,8,KY)):T("",!0),i(E)||i(C)?(u(),h("div",XY,[i(E)?(u(),h("figure",QY,[f("img",{src:i(E)?.Image?.ImageUrl,alt:i(E)?.Image?.AltText,loading:"lazy"},null,8,JY)])):T("",!0),i(C)?(u(),h("div",{key:1,class:"content-aside-headline",style:Se({color:i(_)==="custom"?i(b):""})},w(i(C)?.Text),5)):T("",!0)])):T("",!0),R(Be,{image:i(I)[0],class:"content-aside-image"},null,8,["image"]),f("div",ZY,[i(E)||i(C)?(u(),h("div",eK,[i(E)?(u(),h("figure",tK,[f("img",{src:i(E)?.Image?.ImageUrl,alt:i(E)?.Image?.AltText,loading:"lazy"},null,8,nK)])):T("",!0),i(C)?(u(),h("div",{key:1,class:"content-aside-headline",style:Se({color:i(_)==="custom"?i(b):""})},w(i(C)?.Text),5)):T("",!0)])):T("",!0),f("div",oK,[S||i(k)?(u(),h("div",sK,[S?(u(),O(i(Ne),{key:0,extraClass:"is-pr",label:q.$t("labels.pr"),style:Se({color:i(_)==="custom"?i(b):"",backgroundColor:M()})},null,8,["label","style"])):T("",!0),i(k)?(u(),O(i(Ne),{key:1,extraClass:"is-primary",label:i(k),style:Se({color:i(_)==="custom"?i(y):""})},null,8,["label","style"])):T("",!0)])):T("",!0),f("div",{class:"content-aside-title",style:Se({color:i(_)==="custom"?i(b):""})},w(i(l)?.Title),5),i(g)?(u(),h("a",{key:1,role:"button",class:"content-aside-link btn is-desktop",style:Se(i(X)),href:i(de),target:i(x),onMouseover:fe[0]||(fe[0]=W=>ee(!0)),onMouseleave:fe[1]||(fe[1]=W=>ee(!1))},w(i(p)["Link name"]?.Text||q.$t("common.viewMoreBtn")),45,iK)):T("",!0)])])]),i(r).length?(u(),h("div",rK,[!i(s).isDesktop&&i(m)?(u(),O(T_,{key:0,usedInTemplate:"contentAsideFullWidth",style:Se(Q())},null,8,["style"])):(u(),O(an,{key:1,options:a,arrowStyles:me(),paginationColor:i(b),customTheme:i(_)==="custom",class:j(["articles-slider",{"no-pagination":!d}])},{default:z(()=>[(u(!0),h(G,null,pe(i(r),W=>(u(),O(zt,{key:W.DocumentId,class:"related-article",style:Se({"--title-color-from-cms":i(_)==="custom"?i(b):""})},{default:z(()=>[R(Tt,{to:i(rn)({url:$(W)?.Text||i(o)(W?.WebUrl),urlSuffix:i(K),externalUrlSuffix:i(Z),isExternalArticle:W.DocumentTypeAlias==="ExternalArticle"})},{default:z(()=>[f("div",aK,[R(i(Ne),{class:"is-secondary",label:A(W),style:Se({color:i(_)==="custom"?i(y):""})},null,8,["label","style"]),R(i(Ne),{class:"is-secondary-alt",label:i(ln)(W.LastEditDate,W.LastEditDateShortFormatted,q.$t("timeBefore")),style:Se({color:i(_)==="custom"?i(b):""})},null,8,["label","style"])]),f("div",lK,[R(Be,{image:P(W),class:"related-article-image"},null,8,["image"]),f("h3",{class:"related-article-title",style:Se({color:i(_)==="custom"?i(b):""})},w(W?.Title),5)])]),_:2},1032,["to"])]),_:2}
410,1032,["style"]))),128))]),_:1},8,["arrowStyles","paginationColor","customTheme","class"]))])):T("",!0),!i(s).isDesktop&&i(g)?(u(),h("a",{key:1,role:"button",class:"content-aside-link btn is-mobile",style:Se(i(X)),href:i(de),target:i(x),onMouseover:fe[2]||(fe[2]=W=>ee(!0)),onMouseleave:fe[3]||(fe[3]=W=>ee(!1))},w(i(p)["Link name"]?.Text||q.$t("common.viewMoreBtn")),45,cK)):T("",!0)],6))}},dK=te(uK,[["__scopeId","data-v-952725eb"]]),fK=Object.freeze(Object.defineProperty({__proto__:null,default:dK},Symbol.toStringTag,{value:"Module"})),mK={class:"card-multimedia__content"},pK={class:"card-labels-wrap"},hK={key:0,class:"card-numeration"},gK={class:"card-author"},_K={key:0,class:"card-author__image"},yK=["src"],vK={class:"card-author__name"},bK={__name:"CardTypesNewsCardC",props:{..._o(),lighterTitle:{type:Boolean,default:!1},showAltTime:{type:Boolean,default:!1},showNumeration:{type:Boolean,default:!1},number:{type:Number,default:0},showAuthors:{type:Boolean,default:!0},isInAdditionalFeed:{type:Boolean,default:!1},isSidebar:{type:Boolean,default:!1},isCompact:{type:Boolean,default:!1},isHalf:{type:Boolean,default:!1},urlSuffix:{type:String,default:""},externalUrlSuffix:{type:String,default:""},showRelatedNews:{type:Boolean,default:!1}},setup(e){const{$device:t,$t:n,$getColorByCategory:o}=ue(),s=e,{config:r}=ye().public,a=$e(),l=r.facebookId,c=s.documentData.DocumentTypeAlias==="NewsArticle"||s.documentData.DocumentTypeAlias==="ArticleBigImage",m=Nn(s.documentData,n("common.sponsoredBy")),d=Te(s.documentData,"Disable Comments And Reactions")?.Text==="true";function p(){if(s.ignoreDocumentType)return"";let P="";return s.documentData.DocumentTypeAlias==="Poll"&&(P="poll-story"),s.documentData.DocumentTypeAlias==="StoryPerseus"&&(P="story-perseus"),m.hasSponsoredBlock&&(P=`${P} sponsored`),s.documentData.DocumentTypeAlias==="AuthorArticle"&&(P=`${P} column`),s.documentData.DocumentTypeAlias==="ExternalArticle"&&(P=`${P} external-article`),P}const _=p(),g=yo(s.documentData),b=Vi(s.documentData);let y="";if(s?.documentData?.LastEditDateShortFormatted)y=s.documentData.LastEditDateShortFormatted;else if(s?.documentData?.LastEditDate){const P=new Date(s.documentData.LastEditDate),x=P.getDate(),A=P.getMonth()+1,N=P.getFullYear();y=`${x}.${A}.${N}.`}const C=ln(s.documentData.LastEditDate,y,n("timeBefore")),E=a.pageData.pageElements?.find(P=>P.Type==="Author");function D(){let P="feed";return s.isHalf&&(P="grid"),s.isSidebar&&(P="sidebar"),tu(mo(s.documentData),P)}const v=D(),I=Te(s.documentData,"notLive")?.Text,k=!!s.documentData?.DocumentElements&&!I,S=s.documentData?.RelatedNews,$=o(s.documentData.RootMenuItemId);return(P,x)=>(u(),O(_u,{class:j(["card-wrap type-news-card-c",[s.ignoreDocumentType?"":i(_),{"is-compact":s.isCompact,"has-related-news":i(S)&&s.showRelatedNews}]]),"document-data":s.documentData,link:P.$getLink(s.documentData),"show-engagement-bar":s.showEngagementBar,"engage-share-visible":s.engageShareVisible,"engage-comment-action-visible":s.engageCommentActionVisible,"engage-number-of-comments-visible":s.engageNumberOfCommentsVisible,"engage-react-visible":s.engageReactVisible,"is-mob":i(t).isMobileOrTablet,"is-sidebar":s.isSidebar,"url-suffix":e.urlSuffix,"external-url-suffix":e.externalUrlSuffix,"show-related-news":e.showRelatedNews&&i(c)},Sn({labels:z(()=>[f("div",pK,[R(wt,{label:i(g),"is-locked":s.documentData.Locked,"is-live":(i(t).isMobileOrTablet||e.isSidebar)&&s.documentData.DocumentTypeAlias==="DevelopingStory"&&i(k),"has-sponsor":i(m).hasSponsoredBlock,"document-type":s.documentData.DocumentTypeAlias,"published-ago":i(C),"show-time":s.showTime,"label-color-class":i($)},null,8,["label","is-locked","is-live","has-sponsor","document-type","published-ago","show-time","label-color-class"])])]),title:z(()=>[f("div",{class:j(["card-title",{"external-article":s.documentData.DocumentTypeAlias==="ExternalArticle"}])},[s.showNumeration?(u(),h("div",hK,w(s.number),1)):T("",!0),f("h2",{class:j(["title",{isTitleLighter:e.lighterTitle}])},w(s.documentData.Title),3)],2)]),"engagement-bar":z(()=>[s.showEngagementBar&&!s.showRelatedNews?(u(),O(Ot,{key:0,class:j(i(_)),"share-link":s.documentData?.WebUrl,"share-title":s.documentData.Title,"source-type":"card","content-id":s.documentData.MasterDocumentId,"aggregated-reactions":s.documentData.AggregatedReactions,"total-reactions":s.documentData.TotalReactionCount,"current-visitor-reaction":s.documentData.CurrentVisitorReaction,"comments-number":s.documentData.CommentsNumber,"is-mob":i(t).isMobileOrTablet,"fb-id":i(l),"share-visible":s.engageShareVisible,"comment-action-visible":s.engageCommentActionVisible,"number-of-comments-visible":s.engageNumberOfCommentsVisible,"react-visible":s.engageReactVisible,"disable-comments":d},null,8,["class","share-link","share-title","content-id","aggregated-reactions","total-reactions","current-visitor-reaction","comments-number","is-mob","fb-id","share-visible","comment-action-visible","number-of-comments-visible","react-visible"])):T("",!0)]),"engagement-bar-outside":z
410(()=>[s.showEngagementBar&&s.showRelatedNews?(u(),O(Ot,{key:0,class:j(i(_)),"share-link":s.documentData?.WebUrl,"share-title":s.documentData.Title,"source-type":"card","content-id":s.documentData.MasterDocumentId,"aggregated-reactions":s.documentData.AggregatedReactions,"total-reactions":s.documentData.TotalReactionCount,"current-visitor-reaction":s.documentData.CurrentVisitorReaction,"comments-number":s.documentData.CommentsNumber,"is-mob":i(t).isMobileOrTablet,"fb-id":i(l),"share-visible":s.engageShareVisible,"comment-action-visible":s.engageCommentActionVisible,"number-of-comments-visible":s.engageNumberOfCommentsVisible,"react-visible":s.engageReactVisible,"disable-comments":d},null,8,["class","share-link","share-title","content-id","aggregated-reactions","total-reactions","current-visitor-reaction","comments-number","is-mob","fb-id","share-visible","comment-action-visible","number-of-comments-visible","react-visible"])):T("",!0)]),_:2},[s.showImage?{name:"image",fn:z(()=>[f("div",mK,[!i(t).isMobileOrTablet&&!e.isSidebar?(u(),O(wt,{key:0,"label-color-class":i($)},null,8,["label-color-class"])):T("",!0),R(Bo,{"lazy-load-image":s.lazyLoadImage,images:i(v),"show-gallery-icon":s.documentData.HasPhotoGallery,"show-video-icon":s.documentData.HasVideo,"show-live-label":!i(t).isMobileOrTablet&&!e.isSidebar&&s.documentData.DocumentTypeAlias==="DevelopingStory"&&i(k),"gallery-count":i(t).isMobileOrTablet||e.isSidebar?"":i(b),class:j({"is-sidebar":e.isSidebar}),"is-small":e.isSidebar&&!i(t).isMobile},null,8,["lazy-load-image","images","show-gallery-icon","show-video-icon","show-live-label","gallery-count","class","is-small"])])]),key:"0"}:void 0,P.showSponsoredLabel&&i(m).hasSponsoredBlock?{name:"sponsor",fn:z(()=>[R(yn,{label:i(m).name,"brand-name":i(m).text,class:"isCardCSponsorBar"},null,8,["label","brand-name"])]),key:"1"}:void 0,s.documentData.DocumentTypeAlias==="AuthorArticle"&&e.showAuthors&&s.documentData.Authors?.length&&!i(E)&&!s.ignoreDocumentType?{name:"author",fn:z(()=>[f("div",gK,[s.documentData.Authors[0].PhotoUrl?(u(),h("figure",_K,[f("img",{src:s.documentData.Authors[0].PhotoUrl,alt:"props.documentData.Authors[0].AdditionalInfo",loading:"lazy"},null,8,yK)])):T("",!0),f("span",vK,w(s.documentData.Authors[0].FirstName)+" "+w(s.documentData.Authors[0].LastName),1)])]),key:"2"}:void 0,i(S)&&s.showRelatedNews&&i(c)?{name:"related-news",fn:z(()=>[R(ss,{"related-news":i(S),"url-suffix":e.urlSuffix,"external-url-suffix":e.externalUrlSuffix},null,8,["related-news","url-suffix","external-url-suffix"])]),key:"3"}:void 0]),1032,["class","document-data","link","show-engagement-bar","engage-share-visible","engage-comment-action-visible","engage-number-of-comments-visible","engage-react-visible","is-mob","is-sidebar","url-suffix","external-url-suffix","show-related-news"]))}},$_=te(bK,[["__scopeId","data-v-fa911cbf"]]),wK=Object.freeze(Object.defineProperty({__proto__:null,default:$_},Symbol.toStringTag,{value:"Module"})),kK={class:"search"},TK={class:"search-header"},$K={class:"container"},SK={class:"search-header__form"},DK=["placeholder"],CK={class:"search-header__info"},PK={class:"container"},xK={key:0,class:"is-main"},IK={key:0,class:"search__results"},EK={key:0,class:"search__result-divider"},AK={key:0,class:"search__pagination"},LK={key:1,class:"search__no-results"},RK={class:"search__no-results-title"},OK={class:"search__no-results-text"},MK={__name:"DynamicComponentsCustomSiteSearch",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=Le(),n=Ye(),o=L(!1),s=L(),r=L(""),a=L(t.query.page?parseInt(t.query.page,10):1),l=L(null),c=L(0),m=L(1),d=$e(),{$addPageToDataLayer:p}=ue();function _(E){const D={};D.q=t.query.q,D.page=E,n.push({query:D}).catch(()=>{})}function g(){if(s.value.value.replace(/\s/g,"").length){const E={};E.q=s.value.value.replace(/&/g,"%26"),n.push({query:E}).catch(()=>{})}}function b(E){E.keyCode===13&&r.value!==s.value.value&&(a.value=1,r.value=s.value.value,g())}async function y(){const E=`/headless${t.fullPath}&element=SiteSearch`;try{const v=await(await fetch(E,{method:"GET"})).json();l.value=v?.Elements[0]?.Documents?.filter(I=>I.DocumentTypeAlias!=="BrandTicker"),c.value=v?.Elements[0]?.TotalDocumentCount,m.value=v?.Elements[0]?.PageCount,window.scrollTo(0,0),p(d.meta.title)}catch(D){console.log("error",D),l.value=null,c.value=0,m.value=1}}function C(){r.value="",s.value.value="",s.value.focus()}return qe(()=>t.query,y),De(async()=>{await y(),o.value=!0,t.query.q&&(r.value=t.query.q,s.value.value=t.query.q.replace(/%26/g,"&"))}),(E,D)=>(u(),h("section",kK,[f("div",TK,[f("div",$K,[f("div",SK,[f("form",{onSubmit:D[2]||(D[2]=He(()=>{},["prevent"]))},[f("input",{ref_key:"searchInput",ref:s,type:"text",class:"input",placeholder:`Â ${E.$t("searchPlaceholder")}`,onKeyup:D[0]||(D[0]=v=>b(v))},null,40,DK),i(r).length>0?(u(),h("i",{key:0,onClick:D[1]||(D[1]=He(v=>C(),["stop"])),"aria-hidden":"true",class:"icon icon-close--filled"})):T("",!0)],32),f("span",CK,w(E.$t("search.searchTermPart1"))+" "+w(i(c)||0)+" "+w(E.$t("search.searchTermPart2")),1)])])]),f("div",PK,[i(o)?(u(),h("div",xK,[i(c)>0?(u(),h("div",IK,[(u(!0),h(G,null,pe(i(l),(v,I)=>(u(),h("div",{key:v.DocumentId,class:"search-card-wrapper"},[R($_,{documentData:v,ignoreDocumentType:!0,"show-engagement-bar":!0,"show-authors":!1,isCompact:!0},null,8,["documentData"]),I!=Object.keys(i(l)).length?(u(),h("div",EK)):T("",!0)]))),128)),i(m)>1&&i(l)?(u(),h("div",AK,[(u(),O(i(vu),{value:i(a),"page-count":i(m),"page-range":4,"click-handler":_,key:i(r)},null,8,["value","page-count"]))])):T("",!0)])):(u(),h("div",LK,[D[3]||(D[3]=f("span",{class:"search__no-results-icon"},[f("i",{class:"icon-keyboard","aria-hidden":"true"})],-1)),f("h2",RK,w(E.$t("search.noResultsTitle")),1),f("div",OK,w(E.$t("search.noResultsText")),1)]))])):T("",!0)])]))}},NK=te(MK,[["__scopeId","data-v-36da62fe"]]),BK=Object.freeze(Object.defineProperty({__proto__:null,default:NK},Symbol.toStringTag,{value:"Module"})),UK=Dn+"#facebook",jK=Dn+"#social-google",VK=Dn+"#social-apple",HK=Dn+"#social-apple-dark",zK={key:0,class:"profile-tabs__wrap"},FK={class:"profile-tabs__section"},WK={key:0},GK={key:1},qK={key:1,class:"profile-tabs__user"},YK=["innerHTML"],KK={key:1,class:"icon-user--avatar","aria-hidden":"true"},XK={class:"profile-tabs__section-title has-text-centered"},QK={class:"profile-tabs__button"},JK={class:"profile-tabs__section"},ZK={class:"profile-tabs__section-title"},eX={class:"form-textbox is-filled"},tX={class:"form-label",for:"email"},nX={class:"gigya-label-text form-label-text"},oX=["value"],sX={class:"profile-tabs__button"},iX={key:0,class:"profile-tabs__section"},rX={class:"profile-tabs__section-title"},aX={class:"profile-tabs__section-subtitle"},lX={key:0},cX={key:1},uX={class:"profile-tabs__section"},dX={class:"profile-tabs__section-subtitle"},fX={key:0},mX={key:1},pX={key:1,class:"profile-tabs__section"},hX={class:"profile-tabs__section-subtitle"},gX={key:0},_X={key:1},yX={key:0,viewBox:"0 0 24 24",class:"icon"},vX={key:1,viewBox:"0 0 24 24",class:"icon"},bX={key:2,class:"profile-tabs__section is-delete"},wX={class:"profile-tabs__button"},kX={__name:"DynamicComponentsProfileTab",setup(e){const t=$t(),n=cn(),{$gigya:o}
410=ue(),{$snackbar:s,$t:r}=ue(),a=Ye(),{config:l}=ye().public,{disableFbLogin:c,disableAppleLogin:m}=l,d=$e(),{enableGigya:p,gigyaEnabledForComments:_}=d.coreData?.siteSettings,g=p&&_,b=L(null),y=se(()=>{if(t.userData&&t.userData.identities){const P=t.userData.identities instanceof Array;let x=!1;return P?x=t.userData.identities.find(A=>A.provider==="apple"):x=Object.prototype.hasOwnProperty.call(t.userData.identities,"apple"),x}return!1}),C=se(()=>{if(t.userData&&t.userData.identities){const P=t.userData.identities instanceof Array;let x=!1;return P?x=t.userData.identities.find(A=>A.provider==="facebook"):x=Object.prototype.hasOwnProperty.call(t.userData.identities,"facebook"),x}return!1}),E=se(()=>{if(t.userData&&t.userData.identities){const P=t.userData.identities instanceof Array;let x=!1;if(P){if(x=t.userData.identities.find(A=>A.provider==="site"),x&&x.allowsLogin)return!1}else if(x=Object.prototype.hasOwnProperty.call(t.userData.identities,"site"),x&&t.userData.identities.site.allowsLogin)return!1}return!0}),D=se(()=>{if(t.userData&&t.userData.identities){const P=t.userData.identities instanceof Array;let x=!1;return P?x=t.userData.identities.find(A=>A.provider==="googleplus"):x=Object.prototype.hasOwnProperty.call(t.userData.identities,"googleplus"),x}return!1});function v(){a.push({path:"/"}).catch(()=>{}),t.logout(),o.$logoutGigya()}function I(P){if(P.errorCode===0){const x=P.user;t.setUserData(x);let A="";b.value==="google"?(window.location.reload(),A=r("profile.googleConnected")):b.value==="facebook"?(window.location.reload(),A=r("profile.facebookConnected")):b.value==="apple"&&(window.location.reload(),A=r("profile.appleConnected")),s.$setToaster(A,"success")}else s.$setToaster(P.errorMessage,"error")}function k(P){b.value=P,window.gigya?window.gigya.socialize.addConnection({callback:I,provider:P}):n.loadModal("ModalGigyaOff")}function S(){window.gigya?n.loadModal("ModalDelete"):n.loadModal("ModalGigyaOff")}function $(){n.loadModal("ModalChangeName")}return(P,x)=>i(t).userData&&i(t).userDataReady?(u(),h("div",zK,[f("div",FK,[i(t).userName?(u(),h("div",qK,[i(t).userInitials&&i(t).userColor&&i(t).userFontColor?(u(),h("div",{key:0,class:"profile-tabs__user-initials",style:Se({backgroundColor:i(t).userColor,color:i(t).userFontColor}),innerHTML:i(t).userInitials},null,12,YK)):(u(),h("i",KK)),f("span",XK,w(i(t).userName),1)])):(u(),h(G,{key:0},[i(g)?(u(),h("p",WK,w(i(r)("profile.noUsernameText")),1)):(u(),h("p",GK,w(i(r)("profile.noUsernameTextNoGigya")),1)),f("a",{role:"button",class:"btn btn--prim-datawall btn--username",onClick:$},w(i(r)("profile.setUsername")),1)],64)),x[7]||(x[7]=f("div",{class:"profile-tabs__section-divider"},null,-1)),f("div",QK,[f("a",{role:"button",class:"btn btn--sec",onClick:x[0]||(x[0]=A=>v())},w(i(r)("profile.logoutUser")),1)])]),f("div",JK,[f("span",ZK,w(i(r)("profile.basicData")),1),f("div",eX,[f("label",tX,[f("span",nX,w(i(r)("profile.yourEmail")),1)]),f("input",{id:"email",type:"email",value:i(t).userData?.profile?.email||i(t).userData?.email,name:"email",class:"form-input",disabled:""},null,8,oX),x[8]||(x[8]=f("div",{class:"form-icon"},[f("span",{class:"form-icon-scrim"}),f("i",{class:"icon-locked","aria-hidden":"true"})],-1))]),x[9]||(x[9]=f("div",{class:"profile-tabs__section-divider"},null,-1)),f("div",sX,[i(E)?(u(),h("a",{key:1,role:"button",class:"btn btn--sec",onClick:x[2]||(x[2]=A=>{i(o).$openGigyaModal("ProfileUpdate","set-password")})},w(i(r)("profile.setPassword")),1)):(u(),h("a",{key:0,role:"button",class:"btn btn--sec",onClick:x[1]||(x[1]=A=>{i(o).$openGigyaModal("ProfileUpdate","gigya-change-password-screen")})},w(i(r)("profile.changePassword")),1))])]),i(c)?T("",!0):(u(),h("div",iX,[f("span",rX,w(i(r)("profile.linkAccounts")),1),f("div",aX,w(i(r)("profile.facebook")),1
410),i(C)?(u(),h("p",cX,w(i(r)("profile.facebookConnected")),1)):(u(),h("p",lX,w(i(r)("profile.facebookNotConnected")),1)),i(C)?T("",!0):(u(),h("a",{key:2,role:"button",class:"btn btn--icons btn--full",onClick:x[3]||(x[3]=A=>k("facebook"))},[x[10]||(x[10]=f("svg",{viewBox:"0 0 24 24",class:"icon"},[f("use",{"xlink:href":UK})],-1)),f("span",null,w(i(r)("profile.facebookContinue")),1)]))])),f("div",uX,[f("div",dX,w(i(r)("profile.google")),1),i(D)?(u(),h("p",mX,w(i(r)("profile.googleConnected")),1)):(u(),h("p",fX,w(i(r)("profile.googleNotConnected")),1)),i(D)?T("",!0):(u(),h("a",{key:2,role:"button",class:"btn btn--icons btn--full",onClick:x[4]||(x[4]=A=>k("google"))},[x[11]||(x[11]=f("svg",{viewBox:"0 0 24 24",class:"icon"},[f("use",{"xlink:href":jK})],-1)),f("span",null,w(i(r)("profile.googleContinue")),1)]))]),i(m)?T("",!0):(u(),h("div",pX,[f("div",hX,w(i(r)("profile.apple")),1),i(y)?(u(),h("p",_X,w(i(r)("profile.appleConnected")),1)):(u(),h("p",gX,w(i(r)("profile.appleNotConnected")),1)),i(y)?T("",!0):(u(),h("a",{key:2,role:"button",class:"btn btn--icons btn--full",onClick:x[5]||(x[5]=A=>k("apple"))},[i(d).themeColor==="light"?(u(),h("svg",yX,[...x[12]||(x[12]=[f("use",{"xlink:href":VK},null,-1)])])):(u(),h("svg",vX,[...x[13]||(x[13]=[f("use",{"xlink:href":HK},null,-1)])])),f("span",null,w(i(r)("profile.appleContinue")),1)]))])),i(t).userData.UID?(u(),h("div",bX,[x[14]||(x[14]=f("div",{class:"profile-tabs__section-divider"},null,-1)),f("div",wX,[f("a",{role:"button",class:"profile-delete",onClick:x[6]||(x[6]=A=>S())},w(i(r)("deleteAccount")),1)])])):T("",!0)])):T("",!0)}},TX=te(kX,[["__scopeId","data-v-b94b2ef7"]]),$X={class:"profile-tabs__wrap"},SX={key:0,class:"profile-tabs__section profile-newsletters-tab"},DX={class:"profile-tabs__section-title"},CX={class:"profile-newsletters-list-wrap"},PX={class:"profile-tabs__section-subtitle"},xX={key:1,class:"profile-tabs__section profile-newsletters-tab"},IX={class:"profile-tabs__section-title"},EX={__name:"DynamicComponentsProfileNewsletterTab",props:{newslettersList:{type:Object,default:()=>({})}},setup(e){const{config:t}=ye().public,{$t:n}=ue(),o=$t(),s=e,r=o.userData?.profile?.email,a=s.newslettersList.filter(l=>{const c=Te(l,"Gigya Consent")?.Text;return o.userData?.subscriptions[c]&&o.userData?.subscriptions[c]?.email?.isSubscribed});return(l,c)=>(u(),h("div",$X,[i(a).length?(u(),h("div",SX,[f("h2",DX,w(i(n)("newsletter.newslettersTabTitle")),1),f("p",null,[_e(w(i(n)("newsletter.textHasNewsletterPartOne"))+" ",1),f("strong",null,w(i(r)),1),_e(". "+w(i(n)("newsletter.textHasNewsletterPartTwo")),1)]),f("div",CX,[R(w_,{definition:i(a)},null,8,["definition"])]),c[0]||(c[0]=f("div",{class:"profile-tabs__section-divider"},null,-1)),f("h3",PX,w(i(n)("newsletter.otherNewsletters")),1),f("p",null,w(i(n)("newsletter.otherNewslettersText")),1),R(Tt,{to:l.$createLocalUrl(i(t).newslettersLandingPage),class:"btn btn--prim"},{default:z(()=>[_e(w(i(n)("newsletter.viewAllNewsletters")),1)]),_:1},8,["to"])])):(u(),h("div",xX,[f("h2",IX,w(i(n)("newsletter.newslettersTabTitle")),1),f("p",null,[_e(w(i(n)("newsletter.textNoNewslettersPartOne"))+" ",1),f("strong",null,w(i(r)),1),_e(". "+w(i(n)("newsletter.textNoNewslettersPartTwo")),1)]),R(Tt,{to:l.$createLocalUrl(i(t).newslettersLandingPage),class:"btn btn--prim"},{default:z(()=>[_e(w(i(n)("newsletter.viewAllNewsletters")),1)]),_:1},8,["to"])]))]))}},AX=te(EX,[["__scopeId","data-v-5cc13b0b"]]),LX={class:"container"},RX={class:"profile"},OX={class:"profile-tabs"},MX={class:"profile-tabs__content"},NX={__name:"DynamicComponentsCustomUserProfile",setup(e){const t=L(0),n=$e(),{newslettersList:o}=n.coreData;n.coreData?.siteSettings?.enableGigya||Ye().push("/");function r(a){t.value=a}return De(()=>{r(0)}),(a,l)=>(u(),h("div",LX,[f("section",RX,[f("div",OX,[f("span",{class:j(["profile-tabs__link",{"is-active":i(t)===0}]),onClick:l[0]||(l[0]=c=>r(0))},[f("span",null,w(a.$t("profile.yourProfileTab")),1)],2),i(o)!==void 0?(u(),h("span",{key:0,class:j(["profile-tabs__link",{"is-active":i(t)===1}]),onClick:l[1]||(l[1]=c=>r(1))},[f("span",null,w(a.$t("profile.yourNewsletterTab")),1)],2)):T("",!0)]),l[2]||(l[2]=f("div",{class:"profile-tabs__divider"},null,-1)),f("div",MX,[i(t)===0?(u(),O(i(TX),{key:0})):i(t)===1?(u(),O(i(AX),{key:1,newslettersList:i(o)},null,8,["newslettersList"])):T("",!0)])])]))}},BX=te(NX,[["__scopeId","data-v-e814f73f"]]),UX=Object.freeze(Object.defineProperty({__proto__:null,default:BX},Symbol.toStringTag,{value:"Module"})),jX={class:"container"},VX={__name:"DynamicComponentsCustomDependentHeadBox",props:{definition:{type:Object,default:()=>({})},ignoreList:{type:Array,default:()=>[]},urlSuffix:{type:String,default:""},externalUrlSuffix:{type:String,default:""}}
410,setup(e){const t=$e(),n=e,{$factoryHeadBox:o}=ue(),s=se(()=>o(n.definition.Properties.targetHeadBoxTemplate)),r=se(()=>{const a={...n.definition};if(t.pageData.pageElements&&n.definition?.Properties?.sourceContentID){const l=Ke(t.pageData.pageElements,"children",c=>c.Properties?.contentId?n.definition.Properties.sourceContentID===c.Properties.contentId:!1);return l?.Documents&&(a.Documents=l.Documents.filter((c,m)=>m>=n.definition.Properties.startDocumentIndex-1&&(n.definition.Properties.endDocumentIndex===void 0||m<=n.definition.Properties.endDocumentIndex-1))),a}return null});return(a,l)=>(u(),h("div",jX,[(u(),O(Qe(i(s)),{definition:i(r),ignoreList:e.ignoreList,urlSuffix:e.urlSuffix,externalUrlSuffix:e.externalUrlSuffix},null,8,["definition","ignoreList","urlSuffix","externalUrlSuffix"]))]))}},HX=Object.freeze(Object.defineProperty({__proto__:null,default:VX},Symbol.toStringTag,{value:"Module"})),zX={class:"archive"},FX={class:"archive-feed"},WX={class:"archive-header"},GX={class:"archive-title"},qX={key:0,class:"archive-active-date"},YX={class:"archive-picker-wrapper"},KX={class:"archive-date-wrapper"},XX={class:"archive-date-title"},QX={class:"archive-date-wrapper"},JX={class:"archive-date-title"},ZX={key:0,class:"archive-date-wrapper"},eQ={class:"archive-date-title"},tQ={key:0,class:"archive-no-result"},nQ={class:"no-result-title"},oQ={class:"no-result-desc"},sQ={__name:"DynamicComponentsCustomArchiveDate",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,n=ue(),{$t:o}=ue(),s=Ye(),r=Le(),l=$e().coreData.mainMenu,c=o("monthNames"),m=se(()=>t.definition?.Years),d=se(()=>t.definition?.Months),p=se(()=>t.definition?.Days),_=se(()=>t.definition?.BreadCrumb[0]),g=se(()=>t.definition?.BreadCrumb[1]),b=se(()=>t.definition?.BreadCrumb[2]),y=se(()=>t.definition?.BreadCrumb?.length===3?`${t.definition?.BreadCrumb[2]}.${t.definition?.BreadCrumb[1]}.${t.definition?.BreadCrumb[0]}.`:""),C=L(t.definition?.Documents),E=L([]);let D="/1/1/Archive/";const v=L(t.definition?.BreadCrumb.map((k,S)=>(D=`${D+k}/`,{Name:S===1?c[k-1]:k,Url:D.substring(0,D.length-1)})));if(C.value)for(let k=0;k<C.value?.length;k++){const S=Ke(l,"SubItems",P=>P.MenuItemId===C.value[k].MenuItemId),$={document:C.value[k],type:"C-Simple",divider:!0,showEngagementBar:!1,showAltTime:!1,lighterTitle:t.definition?.Properties?.isSidebar==="True",categoryTitle:S?.Title};E.value.push($)}const I=k=>Object.keys(k).length===0;return De(()=>{if(r.path==="/1/1/Archive"){const k=Object.keys(t.definition.Years),S=Object.keys(t.definition.Months),$=Object.keys(t.definition.Days),P=I(k)?"":`/${k[k.length-1]}`,x=I(S)?"":`/${S[S.length-1]}`,A=I($)?"":`/${$[$.length-1]}`;s.replace(`/1/1/Archive${P}${x}${A}`)}Mn({title:`${n.$t("archive.title")} ${y.value} | ${n.$t("metaDefaults.portalName")}`})}),(k,S)=>{const $=Ze("router-link");return u(),h("div",zX,[f("div",FX,[R(Nt,{definition:e.definition,cards:i(E),showTopDivider:!1,isArchiveDate:!0},{header:z(()=>[f("div",WX,[R(_n,{crumbs:i(v),class:"archive-breadcrumbs"},null,8,["crumbs"]),f("h1",GX,[_e(w(i(o)("archive.title"))+" ",1),i(y)?(u(),h("span",qX,w(i(y)),1)):T("",!0)]),f("div",YX,[f("div",KX,[f("span",XX,w(i(o)("archive.year")),1),(u(!0),h(G,null,pe(i(m),(P,x)=>(u(),O($,{class:j(["archive-date-item",{"is-active":x===i(_)}]),to:k.$createLocalUrl(P),key:x},{default:z(()=>[_e(w(x),1)]),_:2},1032,["class","to"]))),128))]),f("div",QX,[f("span",JX,w(i(o)("archive.month")),1),(u(!0),h(G,null,pe(i(d),(P,x)=>(u(),O($,{class:j(["archive-date-item",{"is-active":x===i(g)}]),to:k.$createLocalUrl(P),key:x},{default:z(()=>[_e(w(i(c)[x-1]),1)]),_:2},1032,["class","to"]))),128))]),i(p)?(u(),h("div",ZX,[f("span",eQ,w(i(o)("archive.day")),1),(u(!0),h(G,null,pe(i(p),(P,x)=>(u(),O($,{class:j(["archive-date-item day-item",{"is-active":x===i(b)}]),to:k.$createLocalUrl(P),key:x},{default:z(()=>[_e(w(x),1)]),_:2},1032,["class","to"]))),128))])):T("",!0)])])]),"no-results":z(()=>[i(E).length===0?(u(),h("div",tQ,[S[0]||(S[0]=f("i",{class:"icon icon-calendar","aria-hidden":"true"},null,-1)),f("p",nQ,w(i(o)("archive.pickDate")),1),f("p",oQ,w(i(o)("archive.noNewsText")),1)])):T("",!0)]),_:1},8,["definition","cards"])])])}}},iQ=te(sQ,[["__scopeId","data-v-588ef7f2"]]),rQ=Object.freeze(Object.defineProperty({__proto__:null,default:iQ},Symbol.toStringTag,{value:"Module"})),aQ={__name:"DynamicComponentsCustomStickyScrollContainer",props:{definition:{type:Object,default:()=>({})},ignoreList:{type:Array,default:()=>[]}},setup(e){const t=e,{$factoryComponent:n,$factoryArticleTemplate:o}=ue(),{globallyIgnoredElements:s}=ye().public.groupCoreSettings;function r(_){return ya(_,[...t.ignoreList,s])}const a=t.definition.children?.map(_=>_.Type!=="Article"&&!r(_)?n(_):_.Type==="Article"?o(_):null),l=L(null);let c=null,m,d="page";function p(){const _=m.offsetHeight;l.value&&l.value.offsetHeight<_?(l.value.style.top=`${-(l.value.offsetHeight-window.innerHeight)}px`,d==="page"&&l.value.classList.add("hasMargin")):(l.value.style.removeProperty("top"),l.value.classList.remove("hasMargin"))}return De(()=>{const _=l.value.parentElement.parentElement,g=_.querySelector(".article-sidebar .scroll-reference-start"),b=_.querySelector(".is-sidebar .scroll-reference-start");(b||g)&&(g&&(d="article"),m=g||b,c=new ResizeObserver(p),setTimeout(()=>{c.observe(l.value),c.observe(m)},500))}),Xe(()=>{try{l.value.classList.remove("hasMargin")}catch{}try{c.unobserve(l.value)}catch{}try{c.unobserve(m)}catch{}try{l.value.style.removeProperty("top")}catch{}}),(_,g)=>(u(),h("div",{ref_key:"scrollContainer",ref:l,class:"sticky-scroll-container isSticky",key:Math.floor(1e7*Math.random())},[(u(!0),h(G,null,pe(e.definition.children,(b,y)=>(u(),O(Qe(i(a)[y]),{key:y,definition:b},null,8,["definition"]))),128))]))}},lQ=te(aQ,[["__scopeId","data-v-c8de26ba"]]),cQ=Object.freeze(Object.defineProperty({__proto__:null,default:lQ},Symbol.toStringTag,{value:"Module"})),uQ={class:"full-width"},dQ={__name:"DynamicComponentsCustomAdvancedStickyScrollContainer",props:{definition:{type:Object,default:()=>({})},ignoreList:{type:Array,default:()=>[]}},setup(e){const t=e,{globallyIgnoredElements:n}=ye().public.groupCoreSettings,o=Le(),{config:s}=ye().public;function r(){return new RegExp(s.comments.commentsRegex).test(o.fullPath)&&t.definition.Properties?.Class?.includes("article-content")?`${t.definition.Properties?.Class} all-comments-page`:t.definition.Properties?.Class}const a=r();function l(b){return ya(b,[...t.ignoreList,n])}const c=L(null);let m=null,d,p,_="page";function g(){const b=d?.offsetHeight||0,y=p?.offsetHeight||0;c.value?c.value.offsetHeight<b?(c.value.offsetHeight<window.innerHeight-y?t.definition.Properties.Class.includes("article-content")?c.value.style.top=`${y+24}px`:c.value.style.top=`${y}px`:c.value.style.top=`${window.innerHeight-c.value.offsetHeight-8}px`,_==="page"&&c.value.classList.add("hasBottomMargin"),d.style.removeProperty("top"),d.classList.remove("hasBottomMargin")):c.value.offsetHeight>b&&(b<window.innerHeight-y?d.style.top=`${y+8}px`:d.style.top=`${window.innerHeight-d.offsetHeight-8}px`,_==="page"&&d.classList.add("hasBottomMargin"),c.value.style.removeProperty("top"),c.value.classList.remove("hasBottomMargin")):(c.value.style.removeProperty("top"),c.value.classList.remove("hasBottomMargin"),d.style.removeProperty("top"),d.classList.remove("hasBottomMargin"))}return De(()=>{const b=c.value.parentElement.parentElement.parentElement,y=b.querySelector(".article-sidebar .scroll-reference-start"),C=b.querySelector(".is-sidebar .scroll-reference-start");p=document.querySelector(".header"),(C||y)&&(y&&(_="article"),d=y||C,m=new ResizeObserver(g),setTimeout(()=>{m.observe(c.value),m.observe(d)},500))}),Xe(()=>{try{c.value.classList.remove("hasMargin")}catch{}try{m.disconnect()}catch{}try{c.value.style.removeProperty("top")}catch{}}),(b,y)=>(u(),h("div",{class:j(["is-main",i(a)])},[f("div",uQ,[f("div",{ref_key:"scrollContainer",ref:c,class:"sticky-scroll-container isSticky"},[(u(!0),h(G,null,pe(t.definition.children,(C,E)=>(u(),h(G,{key:E},[l(C)?T("",!0):(u(),O(Ds,{key:0,definition:C},null,8,["definition"]))],64))),128))],512)])],2))}},S_=te(dQ,[["__scopeId","data-v-b9bed27f"]]),fQ=Object.freeze(Object.defineProperty({__proto__:null,default:S_},Symbol.toStringTag,{value:"Module"})),mQ={class:"scroll-reference-start isSticky"},pQ={__name:"DynamicComponentsCustomScrollReference",props:{definition:{type:Object,default:()=>({})},ignoreList:{type:Array,default:()=>[]}},setup(e){const{$factoryComponent:t,$factoryArticleTemplate:n}=ue(),{globallyIgnoredElements:o}=ye().public.groupCoreSettings;return(s,r)=>(u(),O(Qe(e.definition.Properties?.ContentWrapper||"div"),{class:j(e.definition.Properties?.Class)},{default:z(()=>[f("div",mQ,[(u(!0),h(G,null,pe(e.definition.children,(a,l)=>(u(),O(Ds,{key:l,definition:a},null,8,["definition"]))),128))])]),_:1},8,["class"]))}}
410,D_=te(pQ,[["__scopeId","data-v-1d5f7d48"]]),hQ=Object.freeze(Object.defineProperty({__proto__:null,default:D_},Symbol.toStringTag,{value:"Module"})),gQ={__name:"DynamicComponentsCustomStickyContent",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,n={...t.definition.children[0]},o={...t.definition.children[1]};return(s,r)=>(u(),O(Qe(e.definition.Properties?.ContentWrapper||"div"),{class:j(e.definition.Properties?.Class)},{default:z(()=>[(u(),O(S_,{definition:n,key:1})),(u(),O(D_,{definition:o,key:2}))]),_:1},8,["class"]))}},_Q=Object.freeze(Object.defineProperty({__proto__:null,default:gQ},Symbol.toStringTag,{value:"Module"})),yQ={class:"archive-title isOutside"},vQ={key:0,class:"additional-space"},bQ={key:1,class:"icon-chevron--right title-chevron"},wQ={class:"is-main"},kQ={__name:"DynamicComponentsCustomSubcategory",props:{definition:{type:Object,default:()=>({})},ignoreList:{type:Array,default:()=>[]}},setup(e){const t=e,{$factoryComponent:n,$factoryArticleTemplate:o}=ue(),{globallyIgnoredElements:s}=ye().public.groupCoreSettings,r=se(()=>{const m=Ke(t.definition.children,"children",d=>d.Template==="SubCategory-List")?.Documents;return m?.length?m[0].Breadcrumb:[]});function a(c){return ya(c,[...t.ignoreList,s])}const l=t.definition.children?.map(c=>c.Type!=="Article"&&!a(c)?n(c):c.Type==="Article"?o(c):null);return(c,m)=>{const d=Ze("router-link");return u(),h("div",null,[f("h1",yQ,[(u(!0),h(G,null,pe(i(r),(p,_)=>(u(),h("span",{key:_},[R(d,{to:c.$createLocalUrl(p.Url)},{default:z(()=>[_e(w(p.Name),1)]),_:2},1032,["to"]),_<i(r).length-1?(u(),h("span",vQ,"Â ")):T("",!0),_<i(r).length-1?(u(),h("i",bQ)):T("",!0)]))),128))]),f("div",wQ,[(u(!0),h(G,null,pe(e.definition.children,(p,_)=>(u(),O(Qe(i(l)[_]),{key:_,definition:p},null,8,["definition"]))),128))])])}}},TQ=te(kQ,[["__scopeId","data-v-7d988e81"]]),$Q=Object.freeze(Object.defineProperty({__proto__:null,default:TQ},Symbol.toStringTag,{value:"Module"})),SQ={class:"archive-title isOutside"},DQ={__name:"DynamicComponentsCustomCategoryTitle",props:{definition:{type:Object,default:()=>({})}}
410,setup(e){const t=$e(),{breadcrumbs:n}=t,o=n.length?n[n.length-1].Name:"";return(s,r)=>(u(),h("div",null,[R(_n,{crumbs:i(n),class:"outside"},null,8,["crumbs"]),f("h1",SQ,w(i(o)),1)]))}},CQ=te(DQ,[["__scopeId","data-v-7d314883"]]),PQ=Object.freeze(Object.defineProperty({__proto__:null,default:CQ},Symbol.toStringTag,{value:"Module"})),xQ={class:"archive-title isOutside"},IQ={__name:"DynamicComponentsCustomSubcategoryTitle",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=$e(),{breadcrumbs:n}=t,o=n.length?n[n.length-1].Name:"";return(s,r)=>(u(),h("div",null,[R(_n,{crumbs:i(n),class:"outside"},null,8,["crumbs"]),f("h1",xQ,w(i(o)),1)]))}},EQ=te(IQ,[["__scopeId","data-v-20498ea0"]]),AQ=Object.freeze(Object.defineProperty({__proto__:null,default:EQ},Symbol.toStringTag,{value:"Module"})),LQ={class:"comment-post comment-post-teaser"},RQ={key:0,class:"comment-post-body"},OQ={key:1,class:"comment-avatar"},MQ={key:1,class:"comment-post-body"},NQ={key:2,class:"comment-avatar"},Xf={__name:"CommonCommentsCommentPostTeaser",setup(e){const t=cn(),n=$t(),o=$e(),{enableGigya:s,gigyaEnabledForComments:r}=o.coreData?.siteSettings,a=s&&r,{config:l}=ye().public,c=o.pageData?.article?.Document.WebUrl.replace(new RegExp(l.comments.generateCommentUrl.search),l.comments.generateCommentUrl.replace),m=L(""),d=L(""),p=L(""),_=L(""),g=Dt("commentUsername");function b(){t.loadModal("ModalChangeName")}function y(){t.loadModal("ModalAuthorize")}function C(D){const v=D.trim(),k=[" ","-","_"].find(x=>v.includes(x)),S=k?E(v,k):v.substring(0,2);_.value=S;const{bgColor:$,fontColor:P}=n.calculateAvatarColors(S);d.value=$,p.value=P}function E(D,v){const I=D.split(v);return`${I[0].charAt(0)}${I[1].charAt(0)}`}return De(()=>{a||g.value&&(m.value=g.value,C(g.value))}),(D,v)=>{const I=Ze("router-link");return u(),h("div",LQ,[i(a)?(u(),h("div",RQ,[i(n).isAuthenticated&&i(n).userName?(u(),h("span",{key:0,class:"comment-avatar login",style:Se({backgroundColor:i(n).userColor,color:i(n).userFontColor})},w(i(n).userInitials),5)):(u(),h("div",OQ,[...v[0]||(v[0]=[f("i",{class:"icon-user--avatar","aria-hidden":"true"},null,-1)])])),i(n).isAuthenticated&&i(n).userName?(u(),O(I,{key:2,role:"button",to:D.$createLocalUrl(i(c)),class:"comment-input-field"},{default:z(()=>[_e(w(D.$t("comments.placeholder")),1)]),_:1},8,["to"])):i(n).isAuthenticated&&!i(n).userName?(u(),h("div",{key:3,class:"comment-input-field",onClick:b},w(D.$t("comments.placeholder")),1)):(u(),h("div",{key:4,class:"comment-input-field",onClick:y},w(D.$t("comments.placeholder")),1))])):(u(),h("div",MQ,[i(n).isAuthenticated&&i(n).userName?(u(),h("span",{key:0,class:"comment-avatar login",style:Se({backgroundColor:i(n).userColor,color:i(n).userFontColor})},w(i(n).userInitials),5)):i(m).length>2?(u(),h("span",{key:1,class:"comment-avatar login",style:Se({backgroundColor:i(d),color:i(p)})},w(i(_)),5)):(u(),h("div",NQ,[...v[1]||(v[1]=[f("i",{class:"icon-user--avatar","aria-hidden":"true"},null,-1)])])),R(I,{role:"button",to:D.$createLocalUrl(i(c)),class:"comment-input-field"},{default:z(()=>[_e(w(D.$t("comments.placeholder")),1)]),_:1},8,["to"])]))])}}};function C_(){const{config:e}=ye().public,{isDesktop:t}=zg(),n=window.top.scrollY,o=document.querySelector(".comment-page"),s=document.querySelector(".comment-header"),r=o?.getBoundingClientRect().top,a=o?.getBoundingClientRect().bottom,l=236,c=new RegExp(e.comments.commentsRegex);if(!s)return;let m=null;e.useKurirStyleNavigation||!1?m=t?".header__content":".header__content_wrap":m=".header";const _=document.querySelector(m)?.offsetHeight;if(c.test(window.location.href)){const g=a-_-l-s.offsetHeight;r<=0&&g>=0?(s.classList.add("is-sticky"),s.style.top=`${_}px`):(s.classList.remove("is-sticky"),s.style.top="unset"),g+n>=n?s.classList.remove("header-slide-up"):s.classList.add("header-slide-up")}}const BQ={class:"card-comment-replies"},UQ={class:"text"},jQ={class:"replies-background"},VQ={class:"text"},HQ={__name:"CommonCardCommentsCardCommentReplies",props:{numberOfReplies:{type:Number,default:null},replies:{type:Array,default:()=>[]},cardReactions:{type:Array,default:()=>[]}},setup(e){const t=e,{$t:n}=ue(),o=Ye(),s=L(!1),r=L(!0),a=L(15),l=se(()=>t.replies.slice(0,a.value));a.value>=t.numberOfReplies&&(r.value=!1);function c(){let p;return(t.numberOfReplies-1)%10===0&&t.numberOfReplies>0&&t.numberOfReplies%100!==11?p=n("comments.reply"):p=n("comments.replies"),p}const m=()=>{const p=t.replies.length-a.value;p>15?a.value+=15:(a.value+=p,r.value=!1)},d=(p,_,g)=>{s.value=!1,a.value=15,a.value>=t.numberOfReplies?r.value=!1:r.value=!0,g()};return o.beforeEach(d),(p,_)=>(u(),h("div",BQ,[f("div",{class:j(["show-replies",{"is-hidden":i(s)}]),ref:"showRepliesBtn",onClick:_[0]||(_[0]=g=>s.value=!i(s))},[f("p",UQ,w(i(n)("comments.showReplies"))+" "+w(e.numberOfReplies)+" "+w(c()),1)],2),f("div",jQ,[(u(!0),h(G,null,pe(i(l),(g,b)=>(u(),h("div",{key:b,class:j({"is-hidden":!i(s)})},[R(bu,{comment:g,commentId:g.CommentId,avatar:g.Title,time:g.Date,author:g.Title,content:g.Text,cardReactions:e.cardReactions},null,8,["comment","commentId","avatar","time","author","content","cardReactions"])],2))),128)),i(r)?(u(),h("div",{key:0,class:j(["show-replies show-more-replies",{"is-hidden":!i(s)}]),onClick:m},[f("p",VQ,w(i(n)("comments.moreReplies")),1)],2)):T("",!0)])]))}},zQ={class:"comment-reply-bubble"},FQ={key:0,class:"comment-post-wrapper"},WQ={class:"comment-input-wrapper"},GQ=["placeholder","onKeydown"],qQ={class:"comment-input-info"}
410,YQ={key:0,class:"comment-post-wrapper"},KQ={class:"comment-input-wrapper"},XQ=["placeholder","onKeydown"],QQ={class:"comment-input-info"},JQ={key:1,class:"comment-post-wrapper"},ZQ={key:1,class:"comment-avatar"},eJ={class:"comment-input-wrapper"},tJ=["value","placeholder"],nJ=["placeholder","onKeydown"],oJ={class:"comment-input-info"},sJ={key:2,id:"turnstile-container"},iJ={__name:"CommonCommentsCommentPostReply",props:{commentAuthor:{type:String,default:""},commentId:{type:Number,required:!0}},emits:["posted","reply-box-closed"],setup(e,{emit:t}){const n=e,o=$e(),{enableGigya:s,gigyaEnabledForComments:r,captchaService:a}=o.coreData?.siteSettings,l=s&&r,c=o.coreData?.siteSettings?.enableCaptchaForComments&&a,m=$t(),{$snackbar:d,$t:p,$bus:_,$captcha:g}=ue(),b=L(),y=L(""),C=L(),E=L(!0),D=L(!1),v=L(1e3),I=o.pageData.article?.Document?.DocumentId,k=L(""),S=L(""),$=L(""),P=Dt("commentUsername"),x=L(""),A=L(!1),N=L(!1),M=L(0),ee=L(0),X=t,me=()=>{try{b.value?.blur()}catch{}};l||qe(()=>P.value,V=>{x.value=V||"";const K=V.toString();A.value=K.length>=3,Q(K)});function Q(V){const K=V.trim(),q=[" ","-","_"].find(he=>K.includes(he)),fe=q?F(K,q):K.substring(0,2);$.value=fe;const{bgColor:W,fontColor:le}=m.calculateAvatarColors(fe);k.value=W,S.value=le}function F(V,K){const Z=V.split(K);return`${Z[0].charAt(0)}${Z[1].charAt(0)}`}function Y(V){A.value=V.target.value.length>=3,P.value=V.target.value.substring(0,32),E.value=l||m?.userName?y.value.length===0:y.value.length===0||P.value.length<3}function ie(V){return y.value=V.target.innerText.replace(/\n/g,""),v.value=1e3-y.value.length,y.value.length>1e3&&(y.value=y.value.substring(0,1e3),v.value=0,window.getSelection().selectAllChildren(b.value),window.getSelection().collapseToEnd()),E.value=l||m?.userName?y.value.length===0:y.value.length===0||x.value?.length<3,v.value}function ce(V){const K=n.commentId.toString(),Z=String(x.value);return{Comment:{DocumentId:I,CommentId:K,AuthorName:l?m?.userName:m?.userName?m.userName:Z,CommentText:V}}}async function de(){if(D.value||E.value)return;D.value=!0;const V=y.value,K=ce(V),Z=p("comments.successMsg"),q={};if(l){const fe=Dt("wmg-gigya-jwt"),W=Dt("wmg-gigya-uid");q.gigyaUserId=W.value,q.gigyaUserJwt=fe.value}try{if(c){await g.loaded();const le=await g.execute();if(!le.ok){d.$setToaster(p(`comments.errors.${le.description}`),"error");return}K.captchaToken=le.token,K.captchaName=g.serviceName}const W=await(await fetch("/v3api/comment",{method:"POST",body:JSON.stringify(K),headers:q})).json();W.ok?(y.value="",b.value.innerText="",E.value=!0,v.value=1e3,d.$setToaster(Z,"success"),X("posted")):d.$setToaster(p(`comments.errors.${W.description}`),"error")}catch(fe){console.error(fe)}finally{D.value=!1}}return rp(()=>{window.innerWidth<1024&&(ee.value=M.value.offsetHeight,_.$emit("commentPostBodyHeightChange",ee.value))}),De(()=>{if(c&&g.loaded(),!l){x.value=P.value||"";const V=x.value.toString();A.value=V.length>=3,Q(V)}window.addEventListener("touchmove",me),window.innerWidth<1024&&_.$emit("commentPostBodyHeightChange",ee.value)}),Xe(()=>{window.removeEventListener("touchmove",me)}),(V,K)=>(u(),h("div",{ref_key:"commentPostBody",ref:M,class:j(["comment-post-body reply",{"not-registered":!i(l)}])},[f("div",zQ,[f("span",null,w(i(p)("comments.replyTo"))+" @"+w(n.commentAuthor),1),f("i",{class:"icon-close",onClick:K[0]||(K[0]=Z=>X("reply-box-closed"))})]),i(l)?(u(),h(G,{key:0},[i(m).isAuthenticated&&i(m).userName?(u(),h("div",FQ,[f("span",{class:"comment-avatar login",style:Se({backgroundColor:i(m).userColor,color:i(m).userFontColor})},w(i(m).userInitials),5),f("div",WQ,[f("div",{ref_key:"commentTextareaEl",ref:b,class:"comment-input-field textarea",placeholder:i(p)("comments.replyPlaceholder"),contenteditable:"true",onInput:ie,onKeydown:Yo(He(de,["ctrl"]),["enter"])},null,40,GQ),f("span",qQ,w(i(p)("comments.textareaInfo"))+" "+w(i(v).toLocaleString("sr-RS")),1)]),f("div",{ref_key:"commentSendBtn",ref:C,class:j(["comment-send-btn",{disabled:i(E)}]),onClick:de},[...K[3]||(K[3]=[f("i",{class:"icon-send"},null,-1)])],2)])):T("",!0)],64)):(u(),h(G,{key:1},[i(m).isAuthenticated&&i(m).userName?(u(),h("div",YQ,[f("span",{class:"comment-avatar login",style:Se({backgroundColor:i(m).userColor,color:i(m).userFontColor})}
410,w(i(m).userInitials),5),f("div",KQ,[f("div",{ref_key:"commentTextareaEl",ref:b,class:"comment-input-field textarea",placeholder:i(p)("comments.replyPlaceholder"),contenteditable:"true",onInput:ie,onKeydown:Yo(He(de,["ctrl"]),["enter"])},null,40,XQ),f("span",QQ,w(i(p)("comments.textareaInfo"))+" "+w(i(v).toLocaleString("sr-RS")),1)]),f("div",{ref_key:"commentSendBtn",ref:C,class:j(["comment-send-btn",{disabled:i(E)}]),onClick:de},[...K[4]||(K[4]=[f("i",{class:"icon-send"},null,-1)])],2)])):(u(),h("div",JQ,[i(A)?(u(),h("span",{key:0,class:"comment-avatar login",style:Se({backgroundColor:i(k),color:i(S)})},w(i($)),5)):(u(),h("div",ZQ,[...K[5]||(K[5]=[f("i",{class:"icon-user--avatar","aria-hidden":"true"},null,-1)])])),f("div",eJ,[f("div",{class:j(["comment-username-wrap",{"is-highlighted":i(N)&&!i(A)}])},[f("input",{value:i(x),placeholder:i(p)("comments.name"),class:"comment-input-field textarea add-bottom-margin is-name",onInput:Y,onBlur:K[1]||(K[1]=Z=>{N.value=!0}),onFocus:K[2]||(K[2]=Z=>{N.value=!1})},null,40,tJ),f("span",{class:j(["comment-username-info",{"is-visible":!i(A)}])},w(i(p)("comments.nameValidation")),3)],2),f("div",{ref_key:"commentTextareaEl",ref:b,class:"comment-input-field textarea",placeholder:i(p)("comments.replyPlaceholder"),contenteditable:"true",onInput:ie,onKeydown:Yo(He(de,["ctrl"]),["enter"])},null,40,nJ),f("span",oJ,w(i(p)("comments.textareaInfo"))+" "+w(i(v).toLocaleString("sr-RS")),1)]),f("div",{ref_key:"commentSendBtn",ref:C,class:j(["comment-send-btn",{disabled:i(E)}]),onClick:de},[...K[6]||(K[6]=[f("i",{class:"icon-send"},null,-1)])],2)]))],64)),i(c)&&i(a)?.toLowerCase()==="turnstile"?(u(),h("div",sJ)):T("",!0),i(c)&&i(a)?.toLowerCase()==="recaptcha"?(u(),O(lu,{key:3})):T("",!0)],2))}},rJ={class:"card-comment"},aJ={class:"card-comment__content"},lJ={class:"card-comment__header"},cJ={class:"card-comment__author"},uJ={class:"card-comment__header-time"},dJ=["innerHTML"],fJ={class:"card-comment__footer"},mJ={key:1},pJ=19,hJ={__name:"CommonCardCommentsCardComment",props:{comment:{type:Object,default:()=>({})},commentId:{type:Number,default:null},commentReplyId:{type:String,default:""},commentReplyAuthor:{type:String,default:""},author:{type:String,default:""},content:{type:String,default:""},time:{type:String,default:""},numberOfReplies:{type:Number,default:null},replies:{type:Array,default:()=>[]},cardReactions:{type:Array,default:()=>[]},index:{type:Number,default:null},showBannersControl:{type:Boolean,default:!0}},emits:["reply-opened","reply-closed"],setup(e,{emit:t}){const n=e,o=t,{$bus:s}=ue(),r=$e(),{enableGigya:a,gigyaEnabledForComments:l}=r.coreData?.siteSettings,c=a&&l,m=cn(),d=$t(),p=Le(),_=L(!1),g=L(!1),b=L(),y=L(),C=L(),E=L(""),D=L(""),v=L(""),I=L(""),{siteBanners:k,config:S}=ye().public,$=os(k,"commentsPage"),P=new RegExp(S.comments.commentsRegex);qe(_,Q=>{Q&&o("reply-opened",n.commentId)}),De(()=>{s.$on("close-replies",Q=>{Q!==n.commentId&&(_.value=!1)}),s.$on("close-all-replies",()=>{_.value=!1})}),Xe(()=>{s.$off("close-replies"),s.$off("close-all-replies")});function x(){m.loadModal("ModalChangeName")}function A(){m.loadModal("ModalAuthorize")}function N(Q){return Q>10&&Q%pJ===0?"repeater":Q}const M=()=>{setTimeout(()=>{C_(),_.value=!0,b.value=y.value.parentElement.parentElement;const Q=b.value.querySelector(".post-comment .comment-input-field"),F=b.value.querySelector(".post-comment .comment-input-info");Q!==null&&(Q.innerText=""),F!==null&&(F.innerText="Još 1.000")},0)},ee=se(()=>{const Q=new Date,F=new Date(n.time),Y=F.getDate(),ie=F.getMonth()+1,ce=F.getFullYear(),de=F.getHours(),V=F.getMinutes().toString().padStart(2,"0");return Y===Q.getDate()&&ie===Q.getMonth()+1&&ce===Q.getFullYear()?I.value=`${de}:${V}`:I.value=`${Y}.${ie}.${ce}`,I.value});function X(Q,F){const Y=Q.split(F);return`${Y[0].charAt(0)}${Y[1].charAt(0)}`}function me(){const Q=n.author.trim(),Y=[" ","-","_"].find(V=>Q.includes(V)),ie=Y?X(Q,Y):Q.substring(0,2),{bgColor:ce,fontColor:de}=d.calculateAvatarColors(ie);E.value=ie,D.value=ce,v.value=de}return qe(()=>n.author,()=>{me()},{immediate:!0}),P.test(p.fullPath)||(g.value=!0),(Q,F)=>(u(),h("div",{ref_key:"cardCommentWrap",ref:y,class:"card-comment-wrap"},[e.showBannersControl&&i($)[N(e.index+1)]?(u(),O(gn,{key:0,definition:i($)[N(e.index+1)]},null,8,["definition"])):T("",!0),f("div",rJ,[f("div",{class:"card-comment__author_avatar",style:Se({backgroundColor:i(D),color:i(v)})},w(i(E)),5),f("div",aJ,[f("div",lJ,[f("span",cJ,w(e.author),1),f("span",uJ,w(i(ee)),1)]),f("div",{class:"card-comment__text",innerHTML:e.content},null,8,dJ),f("div",fJ,[R(Ot,{"source-type":"comment","content-id":n.commentId,"aggregated-reactions":n.comment.AggregatedReactions,"total-reactions":n.comment.TotalReactionCount,"current-visitor-reaction":n.comment.CurrentVisitorReaction,"comment-action-visible":!1,"number-of-comments-visible":!1,"react-visible":!0,"share-visible":!1},null,8,["content-id","aggregated-reactions","total-reactions","current-visitor-reaction"]),(i(d).isAuthenticated&&i(d).userName||!i(c))&&!i(g)?(u(),h("a",{key:0,ref_key:"replyCta",ref:C,class:j([{"is-disabled":i(_)},"card-comment__footer-link card-comment__footer-link-answers"]),role:"button",onClick:M},[F[2]||(F[2]=f("i",{class:"icon-add-reply-custom"},null,-1)),_e(" "+w(Q.$t("comments.answers")),1)],2)):i(d).isAuthenticated&&!i(d).userName&&i(c)&&!i(g)?(u(),h("span",{key:1,class:"card-comment__footer-link card-comment__footer-link-answers",onClick:x},[F[3]||(F[3]=f("i",{class:"icon-add-reply-custom"},null,-1)),_e(" "+w(Q.$t("comments.answers")),1)])):i(g)?T("",!0):(u(),h("span",{key:2,class:"card-comment__footer-link card-comment__footer-link-answers",onClick:A},[F[4]||(F[4]=f("i",{class:"icon-add-reply-custom"},null,-1)),_e(" "+w(Q.$t("comments.answers")),1)]))])])]),e.numberOfReplies>0?(u(),h("div",mJ,[i(g)?T("",!0):(u(),O(HQ,{key:0,"number-of-replies":e.numberOfReplies,replies:e.replies},null,8,["number-of-replies","replies"]))])):T("",!0),i(_)?(u(),O(iJ,{key:2,"comment-author":e.author,"comment-id":e.commentId,class:j({active:i(_)}),onPosted:F[0]||(F[0]=Y=>{_.value=!1,o("reply-closed",n.commentId)}),onReplyBoxClosed:F[1]||(F[1]=Y=>{_.value=!1,o("reply-closed",n.commentId)})},null,8,["comment-author","comment-id","class"])):T("",!0)],512))}},bu=te(hJ,[["__scopeId","data-v-70d1fa92"]]),gJ={class:"card-comments"},_J={__name:"CommonCardComments",props:{commentsList:{type:Array,default:()=>[]},showBannersControl:{type:Boolean,default:!0}},setup(e){return(t,n)=>(u(),h("div",gJ,[(u(!0),h(G,null,pe(e.commentsList,(o,s)=>(u(),O(bu,{key:s,comment:o,commentId:o.CommentId,author:o.Title,time:o.Date,content:o.Text,numberOfReplies:o.NumberOfReplies,replies:o.Replies,cardReactions:["like","love","happy","wow","sad","angry"],index:s,showBannersControl:e.showBannersControl}
410,null,8,["comment","commentId","author","time","content","numberOfReplies","replies","index","showBannersControl"]))),128))]))}},yJ=te(_J,[["__scopeId","data-v-1d8085a1"]]),vJ={class:"disclaimer"},bJ={class:"disclaimer-section"},wJ={class:"disclaimer-msg"},kJ=["href"],TJ="https://narodne-novine.nn.hr/clanci/sluzbeni/2021_10_111_1942.html",$J={__name:"CommonCommentsCommentDisclaimer",setup(e){const t=$e(),n=Ke(t.coreData?.extraMenu,"children",o=>o.Title.includes("Uvjeti"))?.Url;return(o,s)=>(u(),h("div",vJ,[f("div",bJ,[s[0]||(s[0]=f("i",{class:"disclaimer-icon icon-information","aria-hidden":"true"},null,-1)),f("p",wJ,[_e(w(o.$t("comments.disclaimerPart1"))+" ",1),f("a",{href:i(n),target:"_blank",class:"disclaimer-link"},w(o.$t("comments.disclaimerLink1")),9,kJ),_e(". "+w(o.$t("comments.disclaimerPart2"))+" ",1),f("a",{href:TJ,target:"_blank",class:"disclaimer-link"},w(o.$t("comments.disclaimerLink2")),1),_e(", "+w(o.$t("comments.disclaimerPart3")),1)])])]))}},P_=te($J,[["__scopeId","data-v-bd717e16"]]),SJ={key:0,class:"comment-teaser"},DJ={class:"comment-header"},CJ={class:"comment-title"},PJ={key:1,class:"comment-teaser-body"},xJ={class:"comment-no-comment-info"},IJ={key:2,class:"comment-teaser-body"},EJ={key:3,class:"comment-teaser-cta"},AJ={__name:"DynamicComponentsCustomComment",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,n=Le(),o=$e(),{config:s}=ye().public,r=o.pageData.article?.Document?.CommentsNumber?o.pageData.article?.Document?.CommentsNumber:0,a=o.pageData?.article?.Document.WebUrl.replace(new RegExp(s.comments.generateCommentUrl.search),s.comments.generateCommentUrl.replace),l=L(!0),c=Te(o.pageData?.article?.Document,"Disable Comments And Reactions")?.Text==="true",m=new RegExp(s.comments.commentsRegex);return De(()=>{m.test(n.fullPath)||(l.value=!1)}),(d,p)=>{const _=Ze("router-link");return!i(l)&&!c?(u(),h("div",SJ,[f("div",DJ,[f("span",CJ,[_e(w(d.$t("comments.teaserTitle")),1),f("span",null,"("+w(i(r))+")",1)]),i(r)?(u(),O(_,{key:0,class:"comment-icon",to:d.$createLocalUrl(i(a))},{default:z(()=>[...p[0]||(p[0]=[f("i",{class:"icon-arrow--right"},null,-1)])]),_:1},8,["to"])):T("",!0)]),i(s).language==="hr"?(u(),O(P_,{key:0})):T("",!0),i(r)?(u(),h("div",IJ,[R(yJ,{commentsList:t.definition.Comments},null,8,["commentsList"]),R(i(Xf))])):(u(),h("div",PJ,[f("h2",xJ,w(d.$t("comments.noCommentsText")),1),R(i(Xf))])),i(r)?(u(),h("div",EJ,[R(_,{class:"btn btn--prim-alt-sec",to:d.$createLocalUrl(i(a))},{default:z(()=>[_e(w(d.$t("comments.viewAllComments")),1)]),_:1},8,["to"])])):T("",!0)])):T("",!0)}}},LJ=Object.freeze(Object.defineProperty({__proto__:null,default:AJ},Symbol.toStringTag,{value:"Module"})),RJ={key:0,class:"comment-post-wrapper"},OJ={class:"comment-input-wrapper"},MJ=["placeholder","onKeydown"],NJ={key:0,class:"comment-input-info"},BJ={key:1,class:"comment-post-wrapper"},UJ={class:"comment-input-field textarea"},jJ={key:2,class:"comment-post-wrapper"},VJ={class:"comment-input-field textarea"},HJ={key:0,class:"comment-post-wrapper"},zJ={class:"comment-input-wrapper"},FJ=["placeholder","onKeydown"],WJ={key:0,class:"comment-input-info"},GJ={key:1,class:"comment-post-wrapper"},qJ={key:1,class:"comment-avatar"},YJ={class:"comment-input-wrapper"},KJ=["value","placeholder"],XJ=["placeholder","onKeydown"],QJ={key:0,class:"comment-input-info"},JJ={key:2,id:"turnstile-container"},ZJ={__name:"CommonCommentsCommentPost",props:{hideBranding:{type:Boolean,default:!1}},setup(e){const t=e,n=$e(),{enableGigya:o,gigyaEnabledForComments:s,captchaService:r,enableCaptchaForComments:a}=n.coreData?.siteSettings,l=o&&s,c=a&&r,{$snackbar:m,$t:d,$captcha:p}=ue(),_=cn(),g=$t(),b=L(null),y=L(""),C=L(""),E=L(""),D=L(""),v=Dt("commentUsername"),I=L(""),k=L(!1),S=L(!1);l||qe(()=>v.value,Z=>{I.value=Z||"";const q=Z.toString();k.value=q.length>=3,X(q)});const $=L(!1),P=L(),x=L(!1),A=L(!0),N=L(1e3),M=n.pageData.article?.Document?.DocumentId,ee=()=>{try{b.value?.blur()}catch{}};function X(Z){const q=Z.trim(),W=[" ","-","_"].find(Oe=>q.includes(Oe)),le=W?me(q,W):q.substring(0,2);D.value=le;const{bgColor:he,fontColor:we}=g.calculateAvatarColors(le);C.value=he,E.value=we}function me(Z,q){const fe=Z.split(q);return`${fe[0].charAt(0)}${fe[1].charAt(0)}`}
410function Q(Z){let q=0;if(Z?.offsetParent)do q+=Z.offsetTop;while(Z=Z.offsetParent);return q-200}let F;De(()=>{if(c&&p.loaded(),!l){I.value=v.value||"";const Z=I.value.toString();k.value=Z.length>=3,X(Z)}F=Mo(()=>{if(g.isAuthenticated&&b.value){if(window.innerWidth<1024){const Z=document.querySelector(".comment-header");Z&&window.scroll(0,Q(Z))}clearInterval(F),F=null}},100),window.addEventListener("touchmove",ee)}),Xe(()=>{F&&clearInterval(F),window.removeEventListener("touchmove",ee)});function Y(){_.loadModal("ModalChangeName")}function ie(){_.loadModal("ModalAuthorize")}function ce(Z){k.value=Z.target.value.length>=3,v.value=Z.target.value.substring(0,32),A.value=l||g?.userName?y.value.length===0:y.value.length===0||v.value.length<3}function de(Z){return y.value=Z.target.innerText.replace(/\n/g,""),N.value=1e3-y.value.length,y.value.length>1e3&&(y.value=y.value.substring(0,1e3),N.value=0,window.getSelection().selectAllChildren(b.value),window.getSelection().collapseToEnd()),A.value=l||g?.userName?y.value.length===0:y.value.length===0||I.value?.length<3,N.value}function V(Z){const q=String(I.value);return{Comment:{DocumentId:M,AuthorName:l?g?.userName:g?.userName?g.userName:q,CommentText:Z}}}async function K(){if($.value||A.value)return;$.value=!0;const Z=y.value,q=V(Z),fe=d("comments.successMsg"),W={};if(l){const le=Dt("wmg-gigya-jwt"),he=Dt("wmg-gigya-uid");W.gigyaUserId=he.value,W.gigyaUserJwt=le.value}try{if(c){await p.loaded();const we=await p.execute();if(!we.ok){m.$setToaster(d(`comments.errors.${we.description}`),"error");return}q.captchaToken=we.token,q.captchaName=p.serviceName}const he=await(await fetch("/v3api/comment",{method:"POST",body:JSON.stringify(q),headers:W})).json();he.ok?(y.value="",b.value.innerText="",A.value=!0,N.value=1e3,m.$setToaster(fe,"success")):m.$setToaster(d(`comments.errors.${he.description}`),"error")}catch(le){console.error(le)}finally{$.value=!1}}return(Z,q)=>(u(),h("div",{class:j(["comment-post-body post-comment",{active:i(x)===!0,"not-registered":!i(l)}])},[i(l)?(u(),h(G,{key:0},[i(g).isAuthenticated&&i(g).userName?(u(),h("div",RJ,[f("span",{class:"comment-avatar login",style:Se({backgroundColor:i(g).userColor,color:i(g).userFontColor})},w(i(g).userInitials),5),f("div",OJ,[f("div",{ref_key:"commentTextareaEl",ref:b,class:"comment-input-field textarea",placeholder:i(d)("comments.placeholder"),contenteditable:"true",onInput:de,onKeydown:Yo(He(K,["ctrl"]),["enter"]),onClick:q[0]||(q[0]=fe=>x.value=!0)},null,40,MJ),i(x)?(u(),h("span",NJ,w(i(d)("comments.textareaInfo"))+" "+w(i(N).toLocaleString("sr-RS")),1)):T("",!0)]),f("div",{ref_key:"commentSendBtn",ref:P,class:j(["comment-send-btn",{disabled:i(A)}]),onClick:K},[...q[5]||(q[5]=[f("i",{class:"icon-send"},null,-1)])],2)])):i(g).isAuthenticated&&!i(g).userName?(u(),h("div",BJ,[q[6]||(q[6]=f("div",{class:"comment-avatar"},[f("i",{class:"icon-user--avatar","aria-hidden":"true"})],-1)),f("div",{class:"comment-input-wrapper",onClick:Y},[f("div",UJ,w(i(d)("comments.placeholder")),1)]),q[7]||(q[7]=f("div",{class:"comment-send-btn disabled"},[f("i",{class:"icon-send"})],-1))])):(u(),h("div",jJ,[q[8]||(q[8]=f("div",{class:"comment-avatar"},[f("i",{class:"icon-user--avatar","aria-hidden":"true"})],-1)),f("div",{class:"comment-input-wrapper",onClick:ie},[f("div",VJ,w(i(d)("comments.placeholder")),1)]),q[9]||(q[9]=f("div",{class:"comment-send-btn disabled"},[f("i",{class:"icon-send"})],-1))]))],64)):(u(),h(G,{key:1},[i(g).isAuthenticated&&i(g).userName?(u(),h("div",HJ,[f("span",{class:"comment-avatar login",style:Se({backgroundColor:i(g).userColor,color:i(g).userFontColor})},w(i(g).userInitials),5),f("div",zJ,[f("div",{ref_key:"commentTextareaEl",ref:b,class:"comment-input-field textarea",placeholder:i(d)("comments.placeholder"),contenteditable:"true",onInput:de,onKeydown:Yo(He(K,["ctrl"]),["enter"]),onClick:q[1]||(q[1]=fe=>x.value=!0)},null,40,FJ),i(x)?(u(),h("span",WJ,w(i(d)("comments.textareaInfo"))+" "+w(i(N).toLocaleString("sr-RS")),1)):T("",!0)]),f("div",{ref_key:"commentSendBtn",ref:P,class:j(["comment-send-btn",{disabled:i(A)}]),onClick:K},[...q[10]||(q[10]=[f("i",{class:"icon-send"},null,-1)])],2)])):(u(),h("div",GJ,[i(k)?(u(),h("span",{key:0,class:"comment-avatar login",style:Se({backgroundColor:i(C),color:i(E)})},w(i(D)),5)):(u(),h("div",qJ,[...q[11]||(q[11]=[f("i",{class:"icon-user--avatar","aria-hidden":"true"},null,-1)])])),f("div",YJ,[f("div",{class:j(["comment-username-wrap",{"is-highlighted":i(S)&&!i(k)}])},[f("input",{value:i(I),placeholder:i(d)("comments.name"),class:"comment-input-field textarea add-bottom-margin is-name",onInput:ce,onBlur:q[2]||(q[2]=fe=>{S.value=!0}),onFocus:q[3]||(q[3]=fe=>{S.value=!1})},null,40,KJ),f("span",{class:j(["comment-username-info",{"is-visible":!i(k)}])},w(i(d)("comments.nameValidation")),3)],2),f("div",{ref_key:"commentTextareaEl",ref:b,contenteditable:"true",class:"comment-input-field textarea",placeholder:i(d)("comments.placeholder"),onInput:de,onKeydown:Yo(He(K,["ctrl"]),["enter"]),onClick:q[4]||(q[4]=fe=>x.value=!0)},null,40,XJ),i(x)?(u(),h("span",QJ,w(i(d)("comments.textareaInfo"))+" "+w(i(N).toLocaleStr
410ing("sr-RS")),1)):T("",!0)]),f("div",{ref_key:"commentSendBtn",ref:P,class:j(["comment-send-btn",{disabled:i(A)}]),onClick:K},[...q[12]||(q[12]=[f("i",{class:"icon-send"},null,-1)])],2)]))],64)),i(c)&&i(r)?.toLowerCase()==="turnstile"?(u(),h("div",JJ)):T("",!0),i(c)&&i(r)?.toLowerCase()==="recaptcha"&&!t.hideBranding?(u(),O(lu,{key:3})):T("",!0)],2))}},eZ={},tZ={class:"comment-skeleton"};function nZ(e,t){return u(),h("div",tZ,[...t[0]||(t[0]=[Jo('<span class="skeleton avatar" data-v-fc0fc491></span><span class="comment-skeleton__content" data-v-fc0fc491><span class="skeleton line header" data-v-fc0fc491></span><span class="skeleton line row-one" data-v-fc0fc491></span><span class="skeleton line row-two" data-v-fc0fc491></span></span>',2)])])}const oZ=Object.assign(te(eZ,[["render",nZ],["__scopeId","data-v-fc0fc491"]]),{__name:"CommonCardCommentsCommentSkeleton"}),sZ={class:"comment-header"},iZ={class:"comment-header-wrapper"},rZ={class:"comment-title"},aZ={class:"custom-select"},lZ={class:"custom-select__selected-text"},cZ=["onClick","onTouchstart"],uZ={key:1,class:"comment-no-comment-info"},dZ={key:2,class:"card-comments"},fZ={key:3,class:"card-comments"},mZ={key:4,class:"pagination collapsedTopMargin"},pZ={__name:"DynamicComponentsCustomAllComments",setup(e){const{config:t}=ye().public,n=ue(),o=Le(),s=Ye(),r=$e(),a=r.pageData.article.Document.DocumentId,l=[{label:n.$t("comments.latest"),value:"Descending"},{label:n.$t("comments.chronologically"),value:"Ascending"}],c=L(o.query.order??"Descending"),m=L(n.$t("comments.latest")),d=L(!1),p={order:"Descending"},_=L([]),g=L(0),b=L(o.query?.page?parseInt(o.query?.page,10):1),y=r.pageData.article?.Document?.CommentsNumber||0,C=Ke(r.pageData.pageElements,"children",Z=>Z.Template==="AllComments"),E=C?.Properties?.DisableBanners==="False",D=L(parseInt(C?.Properties?.count,10)||20),v=L(!0),I=se(()=>Math.max(1,Math.min(y,D.value,5))),{$bus:k}=ue(),S=L(null),$=L(null),P=L(!1),x=L(!1),A=L(!1),N=L(!1),M=se(()=>N.value&&!A.value&&P.value);function ee(){const Z=S.value?.getBoundingClientRect().top,q=S.value?.getBoundingClientRect().bottom;N.value=window.innerWidth>=1024,window.innerWidth<1024&&Z+133<(window.innerHeight||document.documentElement.clientHeight)?x.value=!0:x.value=!1,window.innerWidth>=1024&&q>=(window.innerHeight||document.documentElement.clientHeight)?A.value=!0:A.value=!1}function X(Z){P.value=!0,$.value=Z,ee(),k.$emit("close-replies",Z)}function me(Z){Z===$.value&&(P.value=!1,$.value=null,k.$emit("commentPostBodyHeightChange","65"))}async function Q(){_.value=[];let Z;const q=[],fe=new Map;try{Z=await fetch(`/v3api/comment/${a}/${c.value}`,{method:"GET"});const W=await Z.json();if(W.comments?.forEach(le=>{le.CommentReplyId||(q.push(le),fe.set(le.CommentId,le))}),W.comments?.forEach(le=>{if(le.CommentReplyId){const he=fe.get(le.CommentReplyId);he&&(he.Replies===void 0&&(he.Replies=[]),he.Replies.push(le))}}),t.enableReactions){const le=await Sx(W?.comments.map(he=>he.CommentId));if(Array.isArray(le)){const he=new Map(le.map(we=>[we.CommentId,we]));q.forEach(we=>{const Oe=he.get(we.CommentId);Oe&&(we.AggregatedReactions=Oe.AggregatedReactions,we.TotalReactionCount=Oe.TotalReactionCount,we.CurrentVisitorReaction=Oe.CurrentVisitorReaction)})}}_.value=q,g.value=Math.ceil(_.value.length/D.value),o.fullPath.includes("Ascending")&&(m.value=n.$t("comments.chronologically"))}catch(W){console.log(W)}finally{v.value=!1}}function F(Z){d.value=!1,c.value=Z.value,b.value=1,setTimeout(async()=>{await Q()},0),m.value=Z.label,p.order=Z.value,s.push({query:p}).catch(()=>{}),window.scrollTo(0,0)}const Y=se(()=>{const Z=(b.value-1)*D.value,q=Z+D.value;return _.value?.slice(Z,q)});function ie(){const Z=S.value?.getBoundingClientRect().bottom,q=window.innerHeight||document.documentElement.clientHeight;A.value=window.innerWidth>=1024&&Z>=q}function ce(Z){$.value=null,k.$emit("close-all-replies"),p.order=c.value,p.page=Z,b.value=Z,s.push({query:p}).catch(()=>{}),window.scrollTo(0,0),k.$emit("commentPostBodyHeightChange","65"),setTimeout(()=>{ie()},1e3)}function de(){d.value=!d.value}let V=!1;function K(){V||(V=!0,requestAnimationFrame(()=>{ee(),C_(),V=!1}))}return De(()=>{ee(),Q(),setTimeout(()=>{ie()},1e3),window.addEventListener("scroll",K,{passive:!0})}),Xe(()=>{window.removeEventListener("scroll",K)}),(Z,q)=>{const fe=Ze("router-link"),W=$n("click-outside");return u(),h("div",{class:j(["comment-page",{"reply-post-visible":i(P),"mobile-post-fixed":i(x),"post-fixed":i(A)}]),ref_key:"commentPage",ref:S},[f("div",sZ,[f("div",iZ,[R(fe,{class:"comment-icon",to:Z.$createLocalUrl(i(r).pageData.article?.Document?.WebUrl)},{default:z(()=>[...q[0]||(q[0]=[f("i",{class:"icon-chevron--left"},null,-1)])]),_:1},8,["to"]),f("span",rZ,[_e(w(Z.$t("comments.teaserTitle")),1),f("span",null,"("+w(i(y))+")",1)]),f("div",aZ,[gt((u(),h("div",{class:j(["custom-select__selected",{"is-open":i(d)}]),onClick:de},[f("span",lZ,w(i(m)),1),q[1]||(q[1]=f("span",{class:"custom-select__icon"},[f("i",{class:"icon-sort--ascending"})],-1))],2)),[[W,()=>d.value=!1]]),f("div",{class:j(["custom-select__items",{"is-hidden":!i(d)}])},[(u(),h(G,null,pe(l,le=>f("div",{key:le.value,class:j(["custom-select__item",{active:le.label===i(m)}])},[f("p",{onClick:he=>F(le),onTouchstart:he=>F(le)},[f("span",null,w(le.label),1),q[2]||(q[2]=f("i",{class:"icon-checkmark--small-custom"},null,-1))],40,cZ)],2)),64))],2)])])]),i(t).language==="hr"?(u(),O(P_,{key:0})):T("",!0),i(y)?T("",!0):(u(),h("h2",uZ,w(Z.$t("comments.noCommentsText")),1)),i(v)&&i(y)?(u(),h("div",dZ,[(u(!0),h(G,null,pe(i(I),le=>(u(),O(oZ,{key:le}
410))),128))])):(u(),h("div",fZ,[(u(!0),h(G,null,pe(i(Y),(le,he)=>(u(),O(bu,{key:le.CommentId,comment:le,commentId:le.CommentId,author:le.Title,time:le.Date,content:le.Text,numberOfReplies:le.Replies?.length||0,replies:le.Replies,cardReactions:["like","love","happy","wow","sad","angry"],index:he,showBannersControl:E,onReplyOpened:X,onReplyClosed:me},null,8,["comment","commentId","author","time","content","numberOfReplies","replies","index"]))),128))])),i(g)>1?(u(),h("div",mZ,[q[3]||(q[3]=f("div",{class:"result-divider"},null,-1)),R(i(vu),{value:i(b),"page-count":i(g),"page-range":4,"click-handler":ce},null,8,["value","page-count"])])):T("",!0),R(i(ZJ),{"hide-branding":i(M)},null,8,["hide-branding"])],2)}}},hZ=te(pZ,[["__scopeId","data-v-ef22638e"]]),wu=Object.freeze(Object.defineProperty({__proto__:null,default:hZ},Symbol.toStringTag,{value:"Module"})),gZ={class:"lytics-recommender news-feed"},_Z=["data-pfblock","data-pfrecommend"],yZ={key:0,class:"related-news__divider"},vZ={__name:"DynamicComponentsCustomLyticsRecommender",props:{definition:{type:Object,default:()=>({})}},setup(e){return(t,n)=>(u(),h("div",gZ,[R(Mt,{headline:e.definition.Properties.Title},null,8,["headline"]),R(Et,{class:"divider-is-horizontal"}),(u(),h(G,null,pe(4,o=>f("div",{key:o,class:"single-news document-with-photo rec-block","data-pfblock":`froyo_${o}`,"data-pfrecommend":e.definition.Properties.id,"data-pfshuffle":"true"},[n[0]||(n[0]=Jo('<a class="related-news__link" data-pftype="url" target="_blank" data-v-42eea53c><div class="related-news__content" data-v-42eea53c><span class="related-news__left" data-v-42eea53c><h2 data-pftype="title" class="related-news__title" data-v-42eea53c></h2></span><div class="related-news__image" data-v-42eea53c><div class="img-wrapper" data-v-42eea53c><div class="inner-img" data-v-42eea53c><div class="img-wrap" data-v-42eea53c><div class="rec-img" data-pftype="image" data-v-42eea53c></div></div></div></div></div></div></a>',1)),o!==4?(u(),h("span",yZ)):T("",!0)],8,_Z)),64))]))}},bZ=te(vZ,[["__scopeId","data-v-42eea53c"]]),wZ=Object.freeze(Object.defineProperty({__proto__:null,default:bZ},Symbol.toStringTag,{value:"Module"})),kZ={class:"archive-title isOutside"},TZ={__name:"DynamicComponentsCustomFullWidthTitle",props:{definition:{type:Object,default:()=>({})}},setup(e){return(t,n)=>(u(),h("div",null,[f("h1",kZ,w(e.definition.Properties.Title),1)]))}},$Z=te(TZ,[["__scopeId","data-v-5959dfa2"]]),SZ=Object.freeze(Object.defineProperty({__proto__:null,default:$Z},Symbol.toStringTag,{value:"Module"})),DZ={class:"container"},CZ={class:"columnist-info"},PZ={key:0,class:"columnist-image"},xZ={class:"columnist-desc"},IZ={__name:"DynamicComponentsCustomColumnistHeader",setup(e){const t=$e(
410),n=Le(),o=L(!1),s=L(null),r=Gt({}),a=se(()=>{const _=Ke(t.pageData.pageElements,"children",g=>g.Type==="Author");return _||null}),l=[{Url:n.path,Name:`${a.value?.FirstName} ${a.value?.LastName||""}`}];n.fullPath.includes("columnist")&&(o.value=!0);const c=eu(Zc(a.value));function m(){const _=window.innerWidth,g=document.body.clientWidth;return _>=429&&_<1024?-(g-440)/2:_>=1024?-(g-1008)/2:0}let d;function p(){const _=m();_<0?(r.marginLeft=`${_}px`,r.marginRight=`${_}px`):(delete r.marginLeft,delete r.marginRight)}return De(()=>{p(),d=new ResizeObserver(()=>{p()}),d.observe(document.body)}),Xe(()=>{d.disconnect()}),(_,g)=>i(o)?(u(),h("div",{key:0,class:"columnist-header",ref_key:"mainContainer",ref:s,style:Se(i(r))},[f("div",DZ,[R(_n,{crumbs:l,class:"columnist-breadcrumbs"}),f("div",CZ,[i(a)?.PosterPhoto?(u(),h("figure",PZ,[R(Be,{image:i(c)},null,8,["image"])])):T("",!0),f("h1",null,w(i(a)?.FirstName)+" "+w(i(a)?.LastName),1)]),f("div",xZ,w(i(a)?.Description),1)])],4)):T("",!0)}},EZ=te(IZ,[["__scopeId","data-v-5d36799e"]]),AZ=Object.freeze(Object.defineProperty({__proto__:null,default:EZ},Symbol.toStringTag,{value:"Module"})),LZ={class:"card-labels-wrap"},RZ={class:"card-labels"},OZ={class:"title"},MZ={class:"card-multimedia__content"},NZ={class:"card-labels-wrap"},BZ={class:"card-labels"},UZ={__name:"CardTypesPerseusCardB",props:{perseusData:{type:Object,default:(()=>{})},documentData:{type:Object,default:(()=>({DocumentTypeAlias:""}))},isSidebar:{type:Boolean,default:!1}},setup(e){const t=e,n={DocumentTypeAlias:"",WebUrl:t.perseusData?.link},o=[{alt:t.perseusData.title,CopyRight:"",Description:"",variations:[[{Name:"300x200",Url:t.perseusData.image}]]}],{$device:s,$t:r}=ue(),a=t.perseusData.pubDate.split("T"),l=new Date(a[0]),c={month:"2-digit",day:"2-digit",year:"numeric"},m=l.toLocaleDateString("en-GB",c).replace(/\//g,"."),d=ln(`${t.perseusData.pubDate}.`,`${m}.`,r("timeBefore"));return(p,_)=>(u(),O(Pa,{class:"card-wrap type-news-card-b",documentData:n,link:e.perseusData.link,showEngagementBar:!0,engageShareVisible:!0,engageCommentActionVisible:!0,engageNumberOfCommentsVisible:!1,commentActionVisible:!0,engageReactVisible:!1,isMob:i(s).isMobileOrTablet},{labels:z(()=>[f("div",LZ,[f("div",RZ,[R(Ne,{extraClass:"is-secondary-alt",label:i(d)},null,8,["label"])])])]),title:z(()=>[f("h2",OZ,w(t.perseusData.title),1)]),image:z(()=>[f("div",MZ,[f("div",NZ,[f("div",BZ,[R(Ne,{extraClass:"is-live is-perseus",isLive:!0,label:i(r)("perseus.pickedForYou")},null,8,["label"])])]),R(Bo,{documentType:"",ignoreDocumentType:!0,lazyLoadImage:!0,images:o,showLiveLabel:!1})])]),_:1},8,["link","isMob"]))}},jZ=te(UZ,[["__scopeId","data-v-8789ae24"]]),VZ={class:"card-labels-wrap is-visible-mobile"},HZ={class:"card-labels"},zZ={class:"card-multimedia__content"},FZ={class:"card-labels-wrap is-visible-desktop"},WZ={class:"card-labels"},GZ={class:"card-title"},qZ={__name:"CardTypesPerseusCardC",props:{perseusData:{type:Object,default:(()=>{})},documentData:{type:Object,default:(()=>({DocumentTypeAlias:""}))},isSidebar:{type:Boolean,default:!1}},setup(e){const{$device:t,$t:n}=ue(),o=e,s={DocumentTypeAlias:"",WebUrl:o.perseusData?.link},r=[{alt:o.perseusData.title,CopyRight:"",Description:"",variations:[[{Name:"300x200",Url:o.perseusData.image}]]}],a=o.perseusData.pubDate.split("T"),l=new Date(a[0]),c={month:"2-digit",day:"2-digit",year:"numeric"},m=l.toLocaleDateString("en-GB",c).replace(/\//g,"."),d=ln(`${o.perseusData.pubDate}.`,`${m}.`,n("timeBefore"));return(p,_)=>(u(),O(_u,{class:j(["card-wrap type-news-card-c",[{"is-compact":o.isCompact}]]),documentData:s,link:e.perseusData.link,showEngagementBar:!0,engageShareVisible:!0,engageCommentActionVisible:!0,engageNumberOfCommentsVisible:!1,commentActionVisible:!0,engageReactVisible:!1,isMob:i(t).isMobileOrTablet,isSidebar:o.isSidebar},Sn({image:z(()=>[f("div",zZ,[R(Bo,{lazyLoadImage:o.lazyLoadImage,images:r,class:j({"is-sidebar":e.isSidebar}),isSmall:e.isSidebar&&!i(t).isMobile},null,8,["lazyLoadImage","class","isSmall"])])]),title:z(()=>[f("div",GZ,[f("h2",{class:j(["title",{isTitleLighter:e.isSidebar}])},w(o.perseusData.title),3)])]),"engagement-bar":z(()=>[R(Ot,{"share-link":o.perseusData?.link,"share-title":o.perseusData.title,sourceType:"card",reactVisible:!1,shareVisible:o.engageShareVisible,commentActionVisible:!0},null,8,["share-link","share-title","shareVisible"])]),_:2},[i(t).isMobileOrTablet||e.isSidebar?{name:"header",fn:z(()=>[f("div",VZ,[f("div",HZ,[R(Ne,{extraClass:"is-live is-perseus",isLive:!0,label:i(n)("perseus.pickedForYou")},null,8,["label"]),R(Ne,{extraClass:"is-secondary-alt",label:i(d)},null,8,["label"])])])]),key:"0"}:void 0,!i(t).isMobileOrTablet&&!e.isSidebar?{name:"labels",fn:z(()=>[f("div",FZ,[f("div",WZ,[R(Ne,{extraClass:"is-live is-perseus",isLive:!0,label:i(n)("perseus.pickedForYou")},null,8,["label"]),R(Ne,{extraClass:"is-secondary-alt",label:i(d)},null,8,["label"])])])]),key:"1"}:void 0]),1032,["class","link","isMob","isSidebar"]))}},YZ=te(qZ,[["__scopeId","data-v-16792eb3"]]),KZ={class:"perseus-feed"},XZ={key:0},QZ={__name:"DynamicComponentsCustomPerseusFeed",props:{definition:{type:Object,default:(()=>{})}},setup(e){const t=e,n=$e(),o=L([]),s=L(t.definition?.Properties?.["Number of Articles"])||4;async function r(){let a,l;if(t.definition.Template==="Subcategory"){a=Ke(n.pageData.pageElements,"children",m=>m.Template==="SubCategory-List");const c=a.Documents?.[0];c?l=`${c.ParentMenuItemId}`:l="-1"}else l=t.definition?.Properties.CategoryIDs||"-1";try{const c=await window.perseus.personalize("0",l,[1]);o.value=c.containers[0].articles.slice(0,s.value)}catch(c){console.log(c)}}return De(async()=>{n.perseusLoaded?r():qe(n.perseusLoaded,()=>{r()})}),(a,l)=>(u(),h("div",KZ,[i(o).length?(u(),h("div",XZ,[(u(!0),h(G,null,pe(i(o).slice(0,i(s)),(c,m)=>(u(),h(G,{key:c.articleId},[e.definition.Properties?.CardType==="B"?(u(),O(jZ,{key:0,"perseus-data":c,"is-sidebar":t.definition?.Properties?.isSidebar==="True"},null,8,["perseus-data","is-sidebar"])):(u(),O(YZ,{key:1,"perseus-data":c,"is-sidebar":t.definition?.Properties?.isSidebar==="True"},null,8,["perseus-data","is-sidebar"])),m<i(o).length-1?(u(),O(Et,{key:2,class:"card-divider"})):T("",!0)],64))),128))])):T("",!0),l[0]||(l[0]=f("div",{id:"perseus-1"},null,-1))]))}},JZ=te(QZ,[["__scopeId","data-v-27ee12e0"]]),ZZ=Object.freeze(Object.defineProperty({__proto__:null,default:JZ},Symbol.toStringTag,{value:"Module"})),eee={__name:"DynamicComponentsCustomPerseusStoryScript",props:{definition:{type:Object,default:(()=>{})}}
410,setup(e){const t=$e();async function n(){const o=t.pageData.article.Document.DocumentId.toString();let s=t.pageData.article.Document.ParentMenuItemId;t.pageData.article.Document.RootMenuItemId&&(s+=`,${t.pageData.article.Document.RootMenuItemId}`);try{await window.perseus.personalize(o,s,[1])}catch(r){console.log(r)}}return De(async()=>{t.perseusLoaded?n():qe(t.perseusLoaded,()=>{n()})}),(o,s)=>(u(),h("div"))}},tee=Object.freeze(Object.defineProperty({__proto__:null,default:eee},Symbol.toStringTag,{value:"Module"})),nee={id:"gigya-password-container"},oee={__name:"DynamicComponentsCustomPasswordReset",setup(e){const{config:t}=ye().public;let n,o;return De(()=>{n=Mo(()=>{window.gigya&&window.gigya.accounts&&(window.gigya.accounts.showScreenSet({screenSet:`${t.gigyaPrefix}-Registration`,startScreen:"gigya-reset-password-screen",containerID:"gigya-password-container"}),clearInterval(n))},400),o=setTimeout(()=>{clearInterval(n),console.error("Gigya password reset timeout")},1e4)}),Xe(()=>{clearInterval(n),clearTimeout(o)}),(s,r)=>(u(),h("div",nee))}},see=Object.freeze(Object.defineProperty({__proto__:null,default:oee},Symbol.toStringTag,{value:"Module"})),iee={key:0,class:"app-widget__title"},ree={key:1,class:"app-widget__text"},aee={class:"app-widget__links"},lee={href:"https://apps.apple.com/us/app/mondo/id673090202",target:"_blank",class:"app-widget__link"},cee={viewBox:"0 0 119.66 40"},uee=["xlink:href"],dee={href:"https://play.google.com/store/apps/details?id=rs.mondo.android&hl=sr&pli=1",target:"_blank",class:"app-widget__link"},fee={viewBox:"0 0 135 40"},mee=["xlink:href"],pee={href:"https://appgallery.huawei.com/app/C101183125",target:"_blank",class:"app-widget__link"},hee={viewBox:"0 0 133.33 40"},gee=["xlink:href"],_ee={__name:"DynamicComponentsCustomAppDownloadTeaser",props:{definition:{type:Object,default:()=>({})}},setup(e){const{config:t}=ye().public,n=Le(),o=e,s=o?.definition?.Properties?.Title,r=o?.definition?.Properties?.Text,a=$e(),l=se(()=>a?.pageData?.article?.Template==="Storytelling"?a?.pageData.article?.Document.DocumentElements.find(g=>g.Name==="Is Light theme")?.Text==="true"?"dark":"light":a.themeColor==="light"?"dark":"light"),c=L(null),m=L(!1),d=L(!1),p=new RegExp(t.comments.commentsRegex);return d.value=!!n.fullPath.match(p),De(()=>{m.value=S$("article-content",c.value)}),(_,g)=>(u(),h("div",null,[i(d)&&i(m)?T("",!0):(u(),h("div",{key:0,ref_key:"downloadAppTeaser",ref:c,class:j(["app-widget",i(l)])},[g[0]||(g[0]=f("div",{class:"app-widget__logo"},null,-1)),i(s)?(u(),h("div",iee,w(i(s)),1)):T("",!0),i(r)?(u(),h("div",ree,w(i(r)),1)):T("",!0),f("div",aee,[f("a",lee,[(u(),h("svg",cee,[f("use",{"xlink:href":`/img/sprite-app-badges.svg#appstore-${i(l)}`},null,8,uee)]))]),f("a",dee,[(u(),h("svg",fee,[f("use",{"xlink:href":`/img/sprite-app-badges.svg#googleplay-${i(l)}`},null,8,mee)]))]),f("a",pee,[(u(),h("svg",hee,[f("use",{"xlink:href":`/img/sprite-app-badges.svg#appgallery-${i(l)}`},null,8,gee)]))])])],2))]))}},yee=te(_ee,[["__scopeId","data-v-c6f292af"]]),vee=Object.freeze(Object.defineProperty({__proto__:null,default:yee},Symbol.toStringTag,{value:"Module"})),bee={key:0,class:"article-progression"},wee={key:1,class:"article-progression__text is-disabled"},kee={key:3,class:"article-progression__text is-disabled"},Tee={__name:"DynamicComponentsCustomPreviousNextDocument",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,{$createLocalUrl:n}=ue(),o=t.definition.PreviousDocumentUrl,s=t.definition.NextDocumentUrl;return(r,a)=>{const l=Ze("router-link");return i(o)||i(s)?(u(),h("div",bee,[i(s)?(u(),O(l,{key:0,to:i(n)(i(s)),class:"article-progression__link"},{default:z(()=>[a[0]||(a[0]=f("span",{class:"arrow is-left"},null,-1)),_e(w(r.$t("article.prevArticle")),1)]),_:1},8,["to"])):(u(),h("span",wee,[a[1]||(a[1]=f("span",{class:"arrow is-left is-disabled"},null,-1)),_e(w(r.$t("article.prevArticle")),1)])),i(o)?(u(),O(l,{key:2,to:i(n)(i(o)),class:"article-progression__link"},{default:z(()=>[a[2]||(a[2]=f("span",{class:"arrow is-right"},null,-1)),_e(w(r.$t("article.nextArticle")),1)]),_:1},8,["to"])):(u(),h("span",kee,[a[3]||(a[3]=f("span",{class:"arrow is-right is-disabled"},null,-1)),_e(w(r.$t("article.nextArticle")),1)]))])):T("",!0)}}},$ee=te(Tee,[["__scopeId","data-v-9b7a6c40"]]),See=Object.freeze(Object.defineProperty({__proto__:null,default:$ee},Symbol.toStringTag,{value:"Module"})),Dee={class:"tabbed-content"},Cee={class:"tabs-container"},Pee=["onClick"],xee={class:"tab-contents-container"},Iee={__name:"DynamicComponentsCustomTabbedContent",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,{$factoryComponent:n}=ue(),o=L(0),s=t.definition.children,r=t.definition.Properties?.TabTitles?.split(",")||[],a=t.definition.Properties?.TabTemplate,l=s.map(m=>(m.Type==="AsyncPageElement"&&(m.Type="AsyncOnClickComponent"),n(m))),c=m=>s[m].Type==="AsyncOnClickComponent"?{index:m,activeIndex:o.value,tabTemplate:a}:{};return(m,d)=>(u(),h("div",Dee,[f("div",Cee,[(u(!0),h(G,null,pe(i(r),(p,_)=>(u(),h("div",{key:_,class:j(["tab",{"is-active":i(o)===_}]),onClick:g=>o.value=_},w(p),11,Pee))),128))]),f("div",xee,[(u(!0),h(G,null,pe(i(s),(p,_)=>(u(),h("div",{key:p.Name,class:j(["tab-content",{"is-active":i(o)===_}])},[(u(),O(Qe(i(l)[_]),ts({definition:p,"no-padding":!0,"show-engagement-bar":!1,"show-author":!1,"show-time":!1,"is-standalone-widget":!1},{ref_for:!0},c(_)),null,16,["definition"]))],2))),128))])]))}},Eee=te(Iee,[["__scopeId","data-v-16fa1663"]]),Aee=Object.freeze(Object.defineProperty({__proto__:null,default:Eee},Symbol.toStringTag,{value:"Module"})),Lee=["tabindex"],Ree={class:"custom-select__selected-text"},Oee={class:"custom-select__icon"},Mee={__name:"CommonCustomSectionSelect",props:{options:{type:Array,required:!0},tabindex:{type:Number,required:!1,default:0},defaultOption:{type:String,default:""},defaultOptionClickable:{type:Boolean,default:!0},selectedCategoryId:{type:[Number,String],default:""},icon:{type:String,default:"icon-chevron--sort"}},setup(e){const t=e,n=Le(),{config:o}=ye().public,s=()=>{const c=o?.paging?.pagingUrlParam||"page",m=n.path.replace(new RegExp(`(/.*?)/${c}/\\d*`),"$1");return t.options.find(p=>p.Url===m)},r=L(!1),a=L(s()),l=c=>{a.value=c,setTimeout(()=>{r.value=!1},0)};return(c,m)=>{const d=Kn,p=$n("click-outside");return gt((u(),h("div",{class:"custom-select",tabindex:e.tabindex},[f("div",{class:j(["custom-select__selected",{"is-open":i(r)}]),onClick:m[0]||(m[0]=_=>r.value=!i(r))},[f("span",Ree,w(i(a)?.Title),1),f("span",Oee,[f("i",{class:j(e.icon)},null,2)])],2),f("div",{class:j(["custom-select__items",{"is-hidden":!i(r)}])}
410,[(u(!0),h(G,null,pe(e.options,(_,g)=>(u(),h("div",{class:j(["custom-select__item",{active:_.Title===i(a)?.Title}]),key:g},[R(d,{to:_.Url,class:"nuxt-link",onClick:b=>l(_)},{default:z(()=>[f("span",null,w(_.Title),1),m[1]||(m[1]=f("i",{class:"icon-checkmark--small-custom"},null,-1))]),_:2},1032,["to","onClick"])],2))),128))],2)],8,Lee)),[[p,()=>r.value=!1]])}}},Nee=te(Mee,[["__scopeId","data-v-81ab78ab"]]),Bee={class:"title-container"},Uee={class:"category-title"},jee={__name:"DynamicComponentsCustomLatestNewsTitle",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,n=$e(),{$createLocalUrl:o}=ue(),r=(c=>{switch(c){case"Najnovije":return n.coreData.latestNewsMenu;case"Najcitanije":return n.coreData.mostReadMenu;case"Reakcije":return n.coreData.reactionsMenu;default:return null}})(t.definition.Properties.ContentType),a=t.definition.Properties?.SelectedMenuItems?.split(",").map(c=>Ke(r,"SubItems",m=>m.MenuItemId===parseInt(c,10)));a.forEach(c=>{c.Url=o(c.Url)}),t.definition.Properties.DefaultUrlTitle&&t.definition.Properties.DefaultUrl&&a.unshift({Title:t.definition.Properties.DefaultUrlTitle,Url:o(t.definition.Properties.DefaultUrl)});function l(c){}return(c,m)=>(u(),h("div",Bee,[f("h1",Uee,w(e.definition.Properties.Title),1),R(Nee,{options:i(a),onCustomSelected:m[0]||(m[0]=d=>void 0),icon:"icon-sort--ascending"},null,8,["options"])]))}},Vee=te(jee,[["__scopeId","data-v-3582796f"]]),Hee=Object.freeze(Object.defineProperty({__proto__:null,default:Vee},Symbol.toStringTag,{value:"Module"})),zee={key:0,class:"article-facebook-like"},Fee=["data-href"],Wee={__name:"DynamicComponentsCustomArticleFacebookLike",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,n=t.definition?.Properties?.Text,o=t.definition?.Properties?.Url,{config:s}=ye().public,r=Le(),a=L(!1),l=new RegExp(s.comments.commentsRegex);return a.value=!!r.fullPath.match(l),De(()=>{window.FB&&window.FB.XFBML.parse()}),(c,m)=>{const d=Kn;return i(a)?T("",!0):(u(),h("div",zee,[i(o)&&i(n)?(u(),O(d,{key:0,to:i(o),class:"btn btn--full btn--prim"},{default:z(()=>[f("span",null,w(i(n)),1)]),_:1},8,["to"])):T("",!0),i(o)?(u(),h("div",{key:1,class:"fb-like","data-href":i(o),"data-lazy":"true","data-layout":"button_count","data-size":"large","data-share":"false"},null,8,Fee)):T("",!0)]))}}},Gee=te(Wee,[["__scopeId","data-v-90a1a98b"]]),qee=Object.freeze(Object.defineProperty({__proto__:null,default:Gee},Symbol.toStringTag,{value:"Module"})),Yee={__name:"CommonPaginationGscPagination",props:{clickHandler:{type:Function,default:null}},setup(e){const t=Le(),{config:n}=ye().public,{$bus:o}=ue();let s=parseInt(t.params.path[t.params.path.length-1])||1;const r=L([]),a=s>1&&s<9,l=s<9;function c(m){if(t.params.path[t.params.path.length-2]===n.paging.pagingUrlParam){const p=[...t.params.path];return p[t.params.path.length-1]=m,m>1?`/${p.join("/")}`:`/${p.slice(0,-2).join("/")}`}const d=[...t.params.path];return d.length?m>1?`/${d.join("/")}/${n.paging.pagingUrlParam}/${m}`:`/${d.join("/")}`:m>1?`/${n.paging.pagingUrlParam}/${m}`:"/"}return a&&r.value.push({rel:"prev",href:`${n.siteUrl}${c(s-1)}`}),l&&r.value.push({rel:"next",href:`${n.siteUrl}${c(s+1)}`}),o.$on("paginationMounted",m=>{r.value=m}),Mn({link:()=>r.value}),Xe(()=>{o.$off("paginationMounted")}),(m,d)=>null}},Kee=Object.freeze(Object.defineProperty({__proto__:null,default:Yee},Symbol.toStringTag,{value:"Module"})),Xee={__name:"DynamicComponentsCustomExternalRestWidget",props:{definition:{type:Object,default:()=>({})}},async setup(e){let t,n;const{$device:o}=ue(),s=e,r=L({Documents:[],Type:"Headbox",Template:"External-Blogs-Widget",Properties:{...s.definition.Properties}}),a=L([]),l=s.definition.Properties.AuthHeader,c=s.definition.Properties.EndPoint,m=L([]),d=_=>_?_.replace(/\/$/,""):"",p=([t,n]=Er(()=>$fetch("/externalrest/documents",{params:{endpoint:c,apiKey:l},method:"GET"})),t=await t,n(),t);if(a.value=p.articles,a.value)for(let _=0;_<a.value.length;_++){const g=_===0||o.isMobileOrTablet?"B":"C",b={ShortDescription:a.value[_].description,Title:a.value[_].title,WebUrl:d(a.value[_].permalink),Authors:a.value[_].authors,PosterPhoto:{ImageUrl:a.value[_].image},DocumentElements:[{Text:"true",Name:"Disable Comments And Reactions"}],type:g,divider:!0,ignoreDocumentType:!0,lighterTitle:!0};m.value.push(b)}return r.value.Documents=m.value,r.value.Properties.CrossUTMSource="external-rest-widget",r.value.Properties.CrossUTMVersion=p.version||"1",(_,g)=>i(r).Documents.length?(u(),O(c_,{key:0,definition:i(r)},null,8,["definition"])):T("",!0)}},Qee=Object.freeze(Object.defineProperty({__proto__:null,default:Xee},Symbol.toStringTag,{value:"Module"})),Jee=["href","target"],Zee={class:"image-link-teaser__container"},ete={__name:"DynamicComponentsCustomImageLink",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,{$createLocalUrl:n}=ue(),{config:o}=ye().public,s=t.definition?.Properties?.url,r=t.definition.Properties?.image,a=tS(r),l={"Large Mobile Banner (960 Ã 320px)":"large-mobile-banner","Medium Rectangle (960 Ã 800px)":"medium-rectangle-banner","Square (960 Ã 960px)":"square-banner","Half Page (960 Ã 1920px)":"half-page-banner"},c=t.definition?.Properties?.imageFormat,m=l[c]||"",d=se(()=>s&&!s.startsWith(o.localUrl)&&/^https?:\/\//.test(s)?"_blank":null);return(p,_)=>(u(),h("a",{class:j(["image-link-teaser",i(m)]),href:i(n)(i(s)),target:i(d),rel:"noopener"},[f("div",Zee,[R(Be,{image:i(a),class:"image-link-teaser__image"},null,8,["image"])])],10,Jee))}},tte=Object.freeze(Object.defineProperty({__proto__:null,default:ete},Symbol.toStringTag,{value:"Module"})),nte={__name:"DynamicComponentsCustomCenotekaWidget",props:{definition:{type:Object,default:()=>({})}},setup(e){const t=e,n=L(null);let o=null;return De(()=>{const s=t.definition?.Properties?.scriptUrl;if(!s||!n.value)return;const r=n.value,a=r.contentDocument;a.open(),a.write(`<!DOCTYPE html><html><head><style>body{margin:0;padding:0;overflow:hidden;}</style></head><body><div id="cenoteka-widget" data-cenoteka-widget></div><script src="${s}"><\/script></body></html>`),a.close(),r.onload=()=>{const l=r.contentDocument?.body;l&&(o=new ResizeObserver(()=>{r.style.height=l.scrollHeight+"px"}),o.observe(l))}}),Xe(()=>{o?.disconnect()}),(s,r)=>(u(),h("iframe",{ref_key:"iframeRef",ref:n,class:"cenoteka-iframe",scrolling:"no",frameborder:"0"},null,512))}},ote=Object.freeze(Object.defineProperty({__proto__:null,default:nte},Symbol.toStringTag,{value:"Module"})),ste={},ite={class:"loader-container"};function rte(e,t){return u(),h("div",ite,[...t[0]||(t[0]=[Jo('<span class="wrapper" data-v-cfd6ed6d><span class="content" data-v-cfd6ed6d><span class="skeleton label" data-v-cfd6ed6d></span><span class="skeleton title row-one" data-v-cfd6ed6d></span><span class="skeleton title row-two" data-v-cfd6ed6d></span><span class="skeleton title row-three" data-v-cfd6ed6d></span></span><span class="skeleton image" data-v-cfd6ed6d></span></span><span class="skeleton divider" data-v-cfd6ed6d></span>',2)])])}const ate=Object.assign(te(ste,[["render",rte],["__scopeId","data-v-cfd6ed6d"]]),{__name:"CommonCardElementsNewsCardCSkeleton"}),lte={key:0},cte={__name:"DynamicComponentsCustomSkeletonNewsList1xNoSpacingSkeleton",props:{count:{type:Number,default:0}},setup(e){const t=e;return(n,o)=>t.count?(u(),h("div",lte,[(u(!0),h(G,null,pe(e.count,s=>(u(),O(ate,{key:s,class:"news-card-c-skeleton"}))),128))])):T("",!0)}},ute=te(cte,[["__scopeId","data-v-9f073e5c"]]),dte=Object.freeze(Object.defineProperty({__proto__:null,default:ute},Symbol.toStringTag,{value:"Module"})),fte={},mte={class:"print-page-skeleton"};function pte(e,t){return u(),h("div",mte,[...t[0]||(t[0]=[f("div",{class:"skeleton"},null,-1)])])}const hte=Object.assign(te(fte,[["render",pte],["__scopeId","data-v-5310d289"]]),{__name:"DynamicComponentsHeadboxSkeletonPrintPageSkeleton"}),gte=Object.freeze(Object.defineProperty({__proto__:null,default:hte},Symbol.toStringTag,{value:"Module"})),_te={class:"modal-content isDeleteModal light"},yte={class:"modal-header"},vte={class:"modal-inner"},bte={class:"modal-inner-bullet"},wte={__name:"ModalsModalDelete",setup(e){const t=cn(),n=$t(),{$gigya:o,$snackbar:s,$t
410:r}=ue(),a=Ye();function l(){window.gigya.accounts.setAccountInfo({data:{markedForDeletion:!0}}),t.closeModal(),n.logout(),s.$setToaster(r("snackbar.success.deletedProfile"),"success"),setTimeout(()=>{o.$logoutGigya()},0),a.push({path:"/"}).catch(()=>{})}return(c,m)=>(u(),h("div",_te,[f("div",{onClick:m[0]||(m[0]=(...d)=>i(t).closeModal&&i(t).closeModal(...d)),class:"modal-close"},[...m[3]||(m[3]=[f("i",{"aria-hidden":"true",class:"icon-close"},null,-1)])]),f("div",yte,[f("span",null,w(i(r)("modals.deleteTitle")),1)]),f("div",vte,[f("p",null,w(i(r)("modals.deleteText")),1),f("p",null,w(i(r)("modals.deleteText2")),1),f("ul",null,[(u(!0),h(G,null,pe(i(r)("portalNames"),d=>(u(),h("li",{key:d},[f("span",bte,w(d),1)]))),128))]),f("p",null,w(i(r)("modals.deleteText3")),1),f("p",null,w(i(r)("modals.deleteText4")),1),f("p",null,w(i(r)("modals.deleteText5")),1),f("a",{onClick:m[1]||(m[1]=(...d)=>i(t).closeModal&&i(t).closeModal(...d)),class:"btn btn--datawall btn--full",role:"button"},w(i(r)("modals.doNotDeleteAcc")),1),f("a",{class:"btn btn--sec btn--full",role:"button",onClick:m[2]||(m[2]=d=>l())},w(i(r)("modals.deleteAcc")),1)])]))}},kte=te(wte,[["__scopeId","data-v-92fadc5c"]]),Tte=Object.freeze(Object.defineProperty({__proto__:null,default:kte},Symbol.toStringTag,{value:"Module"})),$te={class:"modal-content"},Ste={class:"modal-header"},Dte=["innerHTML"],Cte={class:"modal-inner"},Pte={__name:"ModalsModalGigyaOff",setup(e){const t=cn();return(n,o)=>(u(),h("div",$te,[f("div",{onClick:o[0]||(o[0]=(...s)=>i(t).closeModal&&i(t).closeModal(...s)),class:"modal-close"},[...o[2]||(o[2]=[f("i",{"aria-hidden":"true",class:"icon-close"},null,-1)])]),f("div",Ste,[f("span",{innerHTML:n.$t("modals.gigyaOffTitle")},null,8,Dte)]),f("div",Cte,[f("p",null,w(n.$t("modals.gigyaOffText")),1),f("a",{onClick:o[1]||(o[1]=(...s)=>i(t).closeModal&&i(t).closeModal(...s)),class:"btn btn--full",role:"button"},w(n.$t("modals.gigyaOffAgree")),1)])]))}},xte=te(Pte,[["__scopeId","data-v-4ca67d0c"]]),Ite=Object.freeze(Object.defineProperty({__proto__:null,default:xte},Symbol.toStringTag,{value:"Module"})),Ete={class:"modal-content isDeleteModal gigyaScreen light"},Ate={class:"modal-header"},Lte={class:"modal-inner"},Rte={key:0},Ote={class:"modal-inner-bullet"},Mte={class:"modal-inner-bullet"},Nte={class:"modal-inner-bullet"},Bte={class:"modal-inner-bullet"},Ute={class:"form-label",for:"username"},jte={class:"gigya-label-text form-label-text"},Vte={key:0,class:"form-error"},Hte={__name:"ModalsModalChangeName",setup(e){const t=cn(),n=$t(),o=ue(),{$t:s,$snackbar:r}=o,a=L(""),l=L(!1),c=L(""),m=$e(),{enableGigya:d,gigyaEnabledForComments:p}=m.coreData?.siteSettings,_=d&&p,g=se(()=>s(`ERRORS.USERNAME.${c.value}`).replace("$email$",n.userData?.profile?.email));function b(){_&&r.$setToaster(s("modals.setUsernameCanceled").replace("$username$",a.value),"warning"),t.closeModal()}async function y(){const C=Dt("wmg-gigya-jwt"),E=Dt("wmg-gigya-uid"),v=await(await fetch("/v3api/username",{method:"POST",body:JSON.stringify({gigyaUserJwt:C.value,gigyaUserId:E.value,Username:a.value})})).json();v.error?(l.value=!0,c.value=v.errorCode):(l.value=!1,n.setUserName(a.value),r.$setToaster(s("modals.usernameSet").replace("$username$",a.value),"success"),t.closeModal())}return(C,E)=>(u(),h("div",Ete,[f("div",{class:"modal-close",onClick:b},[...E[1]||(E[1]=[f("i",{"aria-hidden":"true",class:"icon-close"},null,-1)])]),f("div",Ate,[f("span",null,w(i(s)("modals.changeNameTitle")),1)]),f("div",Lte,[i(_)?(u(),h("p",Rte,w(i(s)("modals.changeNameText1")),1)):T("",!0),f("p",null,w(i(s)("modals.changeNameText2")),1),f("ul",null,[f("li",null,[f("span",Ote,w(i(s)("modals.changeNameTextLi1")),1)]),f("li",null,[f("span",Mte,w(i(s)("modals.changeNameTextLi2")),1)]),f("li",null,[f("span",Nte,w(i(s)("modals.changeNameTextLi3")),1)]),f("li",null,[f("span",Bte,w(i(s)("modals.changeNameTextLi4")),1)])]),f("div",{class:j(["form-textbox isSmall",{"has-error":i(l)}])},[f("label",Ute,[f("span",jte,w(i(s)("modals.changeNameUsernameLabel")),1)]),gt(f("input",{id:"username","onUpdate:modelValue":E[0]||(E[0]=D=>Je(a)?a.value=D:null),type:"text",class:"form-input",onKeyup:Yo(y,["enter"])},null,544),[[Ac,i(a)]]),i(l)?(u(),h("span",Vte,w(i(g)),1)):T("",!0)],2),f("a",{class:"btn btn--datawall btn--full",role:"button",onClick:y},w(i(s)("modals.changeNameUsernameSave")),1)])]))}},zte=te(Hte,[["__scopeId","data-v-ca2ab47d"]]),Fte=Object.freeze(Object.defineProperty({__proto__:null,default:zte},Symbol.toStringTag,{value:"Module"})),Wte={class:"modal-content light"},Gte={class:"modal-inner"},qte={class:"no-title-padding-top"},Yte={__name:"ModalsModalAuthorize",setup(e){const{$gigya:t}=ue(),n=cn();
410function o(){n.closeModal(),t.$openGigyaModal("Registration","Welcome")}return(s,r)=>(u(),h("div",Wte,[f("div",{onClick:r[0]||(r[0]=(...a)=>i(n).closeModal&&i(n).closeModal(...a)),class:"modal-close"},[...r[1]||(r[1]=[f("i",{"aria-hidden":"true",class:"icon-close"},null,-1)])]),f("div",Gte,[f("p",qte,w(s.$t("modals.commentsModalLoginP1")),1),f("p",null,w(s.$t("modals.commentsModalLoginP2")),1),f("p",null,w(s.$t("modals.commentsModalLoginP2Additional")),1),f("a",{onClick:o,class:"btn btn--full",role:"button"},w(s.$t("modals.loginOrRegisterCTA")),1)])]))}},Kte=te(Yte,[["__scopeId","data-v-8049f49e"]]),Xte=Object.freeze(Object.defineProperty({__proto__:null,default:Kte},Symbol.toStringTag,{value:"Module"})),Qte={class:"modal-content light"},Jte={class:"modal-inner"},Zte={class:"no-title-padding-top"},ene={__name:"ModalsModalAuthorizeReactions",setup(e){const{$gigya:t}=ue(),n=cn();function o(){n.closeModal(),t.$openGigyaModal("Registration","Welcome")}return(s,r)=>(u(),h("div",Qte,[f("div",{onClick:r[0]||(r[0]=(...a)=>i(n).closeModal&&i(n).closeModal(...a)),class:"modal-close"},[...r[1]||(r[1]=[f("i",{"aria-hidden":"true",class:"icon-close"},null,-1)])]),f("div",Jte,[f("p",Zte,w(s.$t("modals.reactionsModalLoginP1")),1),f("p",null,w(s.$t("modals.commentsReactionsModalLoginP2")),1),f("a",{onClick:o,class:"btn btn--full",role:"button"},w(s.$t("modals.loginOrRegisterCTA")),1)])]))}},tne=te(ene,[["__scopeId","data-v-df7de943"]]),nne=Object.freeze(Object.defineProperty({__proto__:null,default:tne},Symbol.toStringTag,{value:"Module"})),one={class:"modal-content"},sne={class:"modal-header"},ine={class:"modal-inner"},rne={__name:"ModalsMissingModal",setup(e){const t=cn();return(n,o)=>(u(),h("div",one,[f("div",{onClick:o[0]||(o[0]=(...s)=>i(t).closeModal&&i(t).closeModal(...s)),class:"modal-close"},[...o[2]||(o[2]=[f("i",{"aria-hidden":"true",class:"icon-close"},null,-1)])]),f("div",sne,[f("span",null,w(n.$t("modals.gigyaOffTitle")),1)]),f("div",ine,[f("p",null,w(n.$t("modals.gigyaOffText")),1),f("a",{onClick:o[1]||(o[1]=(...s)=>i(t).closeModal&&i(t).closeModal(...s)),class:"btn btn--full",role:"button"},w(n.$t("modals.gigyaOffAgree")),1)])]))}},ane=te(rne,[["__scopeId","data-v-cac9a94f"]]),lne=Object.freeze(Object.defineProperty({__proto__:null,default:ane},Symbol.toStringTag,{value:"Module"})),cne={class:"card-header"},une={class:"card-title"},dne={class:"card-developing-story"},fne={class:"card-related-articles"},x_={__name:"CardTypesBaseCardsBaseCardA",props:Da(),setup(e){const t=e,n=t.link.startsWith("https")||t.link.startsWith("http"),o=Te(t.documentData,"Disable Comments And Reactions")?.Text==="true",s=se(()=>t.showRelatedNews&&t.documentData.RelatedNews);return(r,a)=>(u(),h("div",{class:j(["card",t.extraClass])},[R(Tt,{class:"card-link",to:r.link,rel:i(n)?"nofollow":"",urlSuffix:r.urlSuffix,externalUrlSuffix:r.externalUrlSuffix,isExternalArticle:t.documentData.DocumentTypeAlias==="ExternalArticle"},{default:z(()=>[f("div",cne,[Ee(r.$slots,"header")]),f("div",une,[Ee(r.$slots,"developing-header"),Ee(r.$slots,"title")]),Ee(r.$slots,"image"),Ee(r.$slots,"description"),f("div",dne,[Ee(r.$slots,"developing")]),f("div",fne,[Ee(r.$slots,"related")]),Ee(r.$slots,"sponsor"),t.showEngagementBar&&!i(s)?Ee(r.$slots,"engagement-bar",{key:0},()=>[R(Ot,{"share-link":t.documentData?.WebUrl,"share-title":t.documentData.Title,sourceType:"card",contentId:t.documentData.MasterDocumentId,aggregatedReactions:t.documentData.AggregatedReactions,totalReactions:t.documentData.TotalReactionCount,currentVisitorReaction:t.documentData.CurrentVisitorReaction,commentsNumber:t.documentData.CommentsNumber,"fb-id":t.fbId,"is-mob":t.isMob,shareVisible:t.engageShareVisible,commentActionVisible:t.engageCommentActionVisible,numberOfCommentsVisible:t.engageNumberOfCommentsVisible,reactVisible:t.engageReactVisible,disableComments:o},null,8,["share-link","share-title","contentId","aggregatedReactions","totalReactions","currentVisitorReaction","commentsNumber","fb-id","is-mob","shareVisible","commentActionVisible","numberOfCommentsVisible","reactVisible"])]):T("",!0)]),_:3},8,["to","rel","urlSuffix","externalUrlSuffix","isExternalArticle"]),Ee(r.$slots,"related-news"),t.showEngagementBar&&i(s)?Ee(r.$slots,"engagement-bar",{key:0}
410,()=>[R(Ot,{"share-link":t.documentData?.WebUrl,"share-title":t.documentData.Title,sourceType:"card",contentId:t.documentData.MasterDocumentId,aggregatedReactions:t.documentData.AggregatedReactions,totalReactions:t.documentData.TotalReactionCount,currentVisitorReaction:t.documentData.CurrentVisitorReaction,commentsNumber:t.documentData.CommentsNumber,"fb-id":t.fbId,"is-mob":t.isMob,shareVisible:t.engageShareVisible,commentActionVisible:t.engageCommentActionVisible,numberOfCommentsVisible:t.engageNumberOfCommentsVisible,reactVisible:t.engageReactVisible,disableComments:o},null,8,["share-link","share-title","contentId","aggregatedReactions","totalReactions","currentVisitorReaction","commentsNumber","fb-id","is-mob","shareVisible","commentActionVisible","numberOfCommentsVisible","reactVisible"])]):T("",!0)],2))}},mne={class:"card-recent-events"},pne={class:"card-recent-event__label"},hne={class:"card-recent-event__title"},gne={__name:"CommonCardElementsCardRecentEvents",props:{recentEvents:{type:Array,default:()=>[]},label:{type:String,default:""}},setup(e){const t=e;return(n,o)=>(u(),h("div",mne,[(u(!0),h(G,null,pe(t.recentEvents,(s,r)=>(u(),h("div",{key:s,class:j(["card-recent-event",{"is-last":r===t.recentEvents.length-1}])},[f("span",pne,w(s.timestamp),1),f("span",hne,w(s.title),1)],2))),128)),R(fi,{label:e.label},null,8,["label"])]))}},I_=te(gne,[["__scopeId","data-v-bb4c120e"]]),_ne={class:"title"},yne={class:"card-multimedia__content"},vne={__name:"CardTypesNewsCardA",props:{..._o()},setup(e){const t=e,{$t:n,$getColorByCategory:o}=ue(),{genericImages:s}=ye().public,r=t.documentData.DocumentTypeAlias==="NewsArticle"||t.documentData.DocumentTypeAlias==="ArticleBigImage",a=Nn(t.documentData,n("common.sponsoredBy")),l=yo(t.documentData),c=Vi(t.documentData),m=Ca(t.documentData.DocumentTypeAlias);function d(){if(t.documentData.DocumentTypeAlias!=="Quiz")return ln(t.documentData.LastEditDate,t.documentData.LastEditDateShortFormatted,n("timeBefore"))}const p=d();function _(){let $=t.isSidebar?"sidebar":"feed";return $==="feed"&&(t.documentData.DocumentTypeAlias==="StoryInPictures"&&($="storyInPictures"),t.documentData.DocumentTypeAlias==="PhotoGallery"&&($="photoGallery"),t.documentData.DocumentTypeAlias==="Storytelling"&&($="storytelling")),$}function g(){return Di(Bf(t.documentData,t.ignoreDocumentType),_())}const b=se(()=>g());function y(){return t.documentData?.DocumentAttributes?.find($=>$?.PhotoGallery)?.PhotoGallery?.PosterPhotoId??null}const C=se(()=>{if(t.documentData?.DocumentTypeAlias!=="PhotoGallery")return null;const $=y();if(!$)return null;const x=(Bf(t.documentData,t.ignoreDocumentType)||[]).find(A=>String(A?.ImageId)===String($));return x&&Di([x],_())?.[0]||null}),E=Fs(Tn(t.documentData,"Video")?.Video?.Duration);function D(){const $=t.documentData?.DocumentElements,P=[];return $?.forEach(x=>{if(x?.Name==="DevelopingStory"){const A=x.StoryUpdateElements?.[0]?.Text;if(A){const N=A.substring(A.indexOf(">")+1,A.indexOf("</"));N.length?P.push({timestamp:x.Time,title:N}):P.push({timestamp:x.Time,title:`${n("article.newStoryUpdate")}, ${x.Time}`})}}}),P.slice(0,3)}const v=Te(t.documentData,"notLive")?.Text,I=!!t.documentData?.DocumentElements&&!v,k=t.documentData?.RelatedNews,S=o(t.documentData.RootMenuItemId);return($,P)=>(u(),O(x_,{class:j(["card-wrap type-news-card-a",t.ignoreDocumentType?"":[i(m),{"has-related-articles":t.documentData.RelatedArticles,"has-related-news":i(k)&&t.showRelatedNews,sponsored:i(a).hasSponsoredBlock,"reletad-bullets":i(k)&&t.showRelatedNews?i(k)[0]?.CardType==="Related Bullet":""}]]),"document-data":t.documentData,link:$.$createLocalUrl(t.documentData?.WebUrl),"show-engagement-bar":t.showEngagementBar,"engage-share-visible":t.engageShareVisible,"engage-comment-action-visible":t.engageCommentActionVisible,"engage-number-of-comments-visible":t.engageNumberOfCommentsVisible,"engage-react-visible":t.engageReactVisible,"url-suffix":$.urlSuffix,"external-url-suffix":$.externalUrlSuffix,"show-related-news":$.showRelatedNews&&i(r)},Sn({header:z(()=>[R(wt,{label:i(l),"is-locked":t.documentData.Locked,"has-sponsor":i(a).hasSponsoredBlock,"document-type":t.documentData.DocumentTypeAlias,"published-ago":i(p),"show-time":t.showTime,"label-color-class":i(S)},null,8,["label","is-locked","has-sponsor","document-type","published-ago","show-time","label-color-class"])]),title:z(()=>[t.documentData.DocumentTypeAlias==="DevelopingStory"?(u(),O(wt,{key:0,label:i(l),"is-locked":t.documentData.Locked,"has-sponsor":i(a).hasSponsoredBlock,"document-type":t.documentData.DocumentTypeAlias,"show-time":t.showTime,"label-color-class":i(S)},null,8,["label","is-locked","has-sponsor","document-type","show-time","label-color-class"])):T("",!0),f("h2",_ne,w(t.documentData.Title),1),!$.ignoreDocumentType&&i(a).hasSponsoredBlock&&!$.$device.isMobileOrTablet&&t.documentData.DocumentTypeAlias==="DevelopingStory"?(u(),O(yn,{key:1,label:i(a).name,"brand-name":i(a).text},null,8,["label","brand-name"])):T("",!0)]),_:2},[t.showImage?{name:"image",fn:z(()=>[f("div",yne,[R(wt),R(Bo,{"document-type":t.documentData.DocumentTypeAlias,"placeholder-img":i(s).placeholderImg,"lazy-load-image":t.lazyLoadImage,images:i(b),"show-gallery-icon":t.documentData.HasPhotoGallery,"show-video-icon":t.documentData.HasVideo,"show-live-label":t.documentData.DocumentTypeAlias==="DevelopingStory"&&i(I),"gallery-count":i(c),"video-duration":i(E),"gallery-poster-photo":i(C)},null,8,["document-type","placeholder-img","lazy-load-image","images","show-gallery-icon","show-video-icon","show-live-label","gallery-count","video-duration","gallery-poster-photo"])])]),key:"0"}:void 0,$.showSponsoredLabel&&i(a).hasSponsoredBlock&&!(!$.$device.isMobileOrTablet&&t.documentData.DocumentTypeAlias==="DevelopingStory")?{name:"sponsor",fn:z(()=>[R(yn,{label:i(a).name,"brand-name":i(a).text,class:"isClampText"},null,8,["label","brand-name"])]),key:"1"}:void 0,t.documentData.DocumentTypeAlias==="Storytelling"?{name:"description",fn:z(()=>[f("p",null,w(t.documentData.ShortDescription),1)]),key:"2"}:void 0,t.documentData.DocumentTypeAlias==="DevelopingStory"&&!$.ignoreDocumentType?{name:"developing",fn:z(()=>[R(I_,{"recent-events":D(),label:i(n)("common.seeEvents")},null,8,["recent-events","label"])]),key:"3"}:void 0,t.documentData.RelatedArticles?{name:"related",fn:z(()=>[R(gu,{"related-articles":t.documentData.RelatedArticles},null,8,["related-articles"])]),key:"4"}:void 0,i(k)&&t.showRelatedNews&&i(r)?{name:"related-news",fn:z(()=>[R(ss,{"related-news":i(k),"url-suffix":$.urlSuffix,"external-url-suffix":$.externalUrlSuffix},null,8,["related-news","url-suffix","external-url-suffix"])]),key:"5"}:void 0]),1032,["class","document-data","link","show-engagement-bar","engage-share-visible","engage-comment-action-visible","engage-number-of-comments-visible","engage-react-visible","url-suffix","external-url-suffix","show-related-news"]))}},bne=te(vne,[["__scopeId","data-v-7d28ea86"]]),wne=Object.freeze(Object.defineProperty({__proto__:null,default:bne},Symbol.toStringTag,{value:"Module"})),kne={class:"card-labels-wrap"},Tne={key:0,class:"card-header"},$ne={key:1,class:"is-visible-desktop"},Sne={class:"card-multimedia__content"},Dne={class:"card-how-to-extra is-visible-mobile"},Cne={key:0,class:"info"},Pne={key:1,class:"info"},xne={key:0},Ine={__name:"CardTypesNewsCardB",props:{..._o(),lighterTitle:{type:Boolean,default:!1},isSidebar:{type:Boolean,default:!1}},setup(e){const t=e,{config:n}=ye().public,o=n.facebookId,{$device:s,$t:r,$getColorByCategory:a}=ue(),l=Te(t.documentData,"totalTime")?.Text?.trim(),c=/^\d+$/.test(l||"")?parseInt(l,10):NaN,m=Te(t.documentData,"Trajanje")?.Text||Qc(c,r("recipe.minut"),r("recipe.minutes")),d=t.documentData.DocumentTypeAlias==="NewsArticle"||t.documentData.DocumentTypeAlias==="ArticleBigImage",p=Te(t.documentData,"Disable Comments And Reactions")?.Text==="true",_=Nn(t.documentData,r("common.sponsoredBy")),g=["How to","HowTo","howto","Recipe","recipe"],b=se(()=>{let Y=t.ignoreDocumentType&&g.includes(t.documentData.DocumentTypeAlias)?"story-how-to":!t.ignoreDocumentType&&Ca(t.documentData.DocumentTypeAlias);return _.hasSponsoredBlock&&(Y=`${Y} sponsored`),Y}),y=t.documentData.DocumentTypeAlias==="HowTo"?r("article.howTo"):r("article.recipe");function C(){let Y=t.isSidebar?"sidebar":"feed";return Y==="feed"&&(t.documentData.DocumentTypeAlias==="StoryInPictures"&&(Y="storyInPictures"),t.documentData.DocumentTypeAlias==="PhotoGallery"&&(Y="photoGallery"),t.documentData.DocumentTypeAlias==="Storytelling"&&(Y="storytelling")),Y}function E(){return Di(oc(t.documentData,t.ignoreDocumentType),C())}const D=se(()=>E());function v(){return t.documentData?.DocumentAttributes?.find(Y=>Y?.PhotoGallery)?.PhotoGallery?.PosterPhotoId??null}const I=se(()=>{if(t.documentData?.DocumentTypeAlias!=="PhotoGallery")return null;const Y=v();if(!Y)return null;const ce=(oc(t.documentData,t.ignoreDocumentType)||[]).find(de=>String(de?.ImageId)===String(Y));return ce&&Di([ce],C())?.[0]||null}),k=Fs(Tn(t.documentData,"Video")?.Video?.Duration);function S(){let Y=0;return t.documentData?.DocumentElements?.forEach(ie=>{(Wn(ie?.Name)==="howto"||Wn(ie?.Name)==="recipesteps")&&ie?.Type!=="IndexPageElement"&&ie?.StoryUpdateElements&&Y++}),Y}const $=Vi(t.documentData),P=yo(t.documentData),x=S();function A(){if(t.documentData.DocumentTypeAlias!=="Quiz")return ln(t.documentData.LastEditDate,t.documentData.LastEditDateShortFormatted,r("timeBefore"))}const N=A();function M(){const Y=t.documentData?.DocumentElements,ie=[];return Y?.forEach(ce=>{if(Wn(ce?.Name)==="howto"||Wn(ce?.Name)==="recipesteps"){const de=ce.
410StoryUpdateElements?.[0]?.Text;if(de){const V=de.substring(de.indexOf(">")+1,de.indexOf("</"));V.length&&ie.push(V)}}}),ie.slice(0,3)}function ee(){const Y=t.documentData?.DocumentElements,ie=[];return Y?.forEach(ce=>{if(ce?.Name==="DevelopingStory"){const de=ce.StoryUpdateElements?.[0]?.Text;if(de){const V=de.substring(de.indexOf(">")+1,de.indexOf("</"));V.length?ie.push({timestamp:ce.Time,title:V}):ie.push({timestamp:ce.Time,title:`${r("article.newStoryUpdate")}, ${ce.Time}`})}}}),ie.slice(0,3)}const X=Te(t.documentData,"notLive")?.Text,me=!!t.documentData?.DocumentElements&&!X,Q=t.documentData?.RelatedNews,F=a(t.documentData.RootMenuItemId);return(Y,ie)=>(u(),O(Pa,{class:j(["card-wrap type-news-card-b",[i(b),{"has-related-articles":t.documentData.RelatedArticles,"has-related-news":i(Q)&&t.showRelatedNews}]]),"document-data":t.documentData,link:Y.$getLink(t.documentData),"show-engagement-bar":t.showEngagementBar,"engage-share-visible":t.engageShareVisible,"engage-comment-action-visible":t.engageCommentActionVisible,"engage-number-of-comments-visible":t.engageNumberOfCommentsVisible,"engage-react-visible":t.engageReactVisible,"is-mob":i(s).isMobileOrTablet,"url-suffix":Y.urlSuffix,"external-url-suffix":Y.externalUrlSuffix,"show-related-news":Y.showRelatedNews&&i(d)},Sn({title:z(()=>[!t.ignoreDocumentType&&t.documentData.DocumentTypeAlias==="PhotoGallery"?(u(),h("div",Tne,[R(wt,{label:i(P),"is-locked":t.documentData.Locked,"has-sponsor":i(_).hasSponsoredBlock,"document-type":t.documentData.DocumentTypeAlias,"published-ago":t.documentData.DocumentTypeAlias==="DevelopingStory"?"":i(N),"show-time":t.showTime},null,8,["label","is-locked","has-sponsor","document-type","published-ago","show-time"]),_e(" "+w(i(F)),1)])):T("",!0),f("h2",{class:j(["title",{isTitleLighter:e.lighterTitle}])},w(t.documentData.Title),3),(t.documentData.DocumentTypeAlias==="DevelopingStory"||g.includes(t.documentData.DocumentTypeAlias))&&!t.ignoreDocumentType?(u(),h("p",$ne,w(t.documentData.ShortDescription),1)):T("",!0),(g.includes(t.documentData.DocumentTypeAlias)||t.documentData.DocumentTypeAlias==="PhotoGallery"||t.documentData.DocumentTypeAlias==="DevelopingStory"&&!t.ignoreDocumentType)&&i(_).hasSponsoredBlock?(u(),O(yn,{key:2,label:i(_).name,"brand-name":i(_).text,class:j({isHowToSponsorBar:g.includes(t.documentData.DocumentTypeAlias)||t.documentData.DocumentTypeAlias==="DevelopingStory",isGallerySponsorBar:t.documentData.DocumentTypeAlias==="PhotoGallery",isClampText:!g.includes(t.documentData.DocumentTypeAlias)&&t.documentData.DocumentTypeAlias!=="PhotoGallery"&&t.documentData.DocumentTypeAlias!=="DevelopingStory"&&!t.ignoreDocumentType})},null,8,["label","brand-name","class"])):T("",!0),!t.ignoreDocumentType&&t.showEngagementBar&&(t.documentData.DocumentTypeAlias==="PhotoGallery"||g.includes(t.documentData.DocumentTypeAlias))&&!Y.showRelatedNews?(u(),O(Ot,{key:3,"share-link":t.documentData?.WebUrl,"share-title":t.documentData.Title,"source-type":"card","content-id":t.documentData.MasterDocumentId,"aggregated-reactions":t.documentData.AggregatedReactions,"total-reactions":t.documentData.TotalReactionCount,"current-visitor-reaction":t.documentData.CurrentVisitorReaction,"comments-number":t.documentData.CommentsNumber,"share-visible":t.engageShareVisible,"fb-id":i(o),"comment-action-visible":t.engageCommentActionVisible,"number-of-comments-visible":t.engageNumberOfCommentsVisible,"react-visible":t.engageReactVisible,"disable-comments":p},null,8,["share-link","share-title","content-id","aggregated-reactions","total-reactions","current-visitor-reaction","comments-number","share-visible","fb-id","comment-action-visible","number-of-comments-visible","react-visible"])):T("",!0)]),_:2},[g.includes(t.documentData.DocumentTypeAlias)&&!t.ignoreDocumentType?{name:"header",fn:z(()=>[R(Mt,{headline:i(y),"is-live":!1},null,8,["headline"])]),key:"0"}:void 0,t.ignoreDocumentType||t.documentData.DocumentTypeAlias!=="PhotoGallery"?{name:"labels",fn:z(()=>[f("div",kne,[R(wt,{label:i(P),"is-locked":t.documentData.Locked,"has-sponsor":i(_).hasSponsoredBlock,"document-type":t.documentData.DocumentTypeAlias==="StoryPerseus"?null:t.documentData.DocumentTypeAlias,"published-ago":i(N),"show-how-to-info":g.includes(t.documentData.DocumentTypeAlias),"show-time":t.showTime,"document-data":t.documentData,"label-color-class":i(F)},null,8,["label","is-locked","has-sponsor","document-type","published-ago","show-
410how-to-info","show-time","document-data","label-color-class"])])]),key:"1"}:void 0,t.showImage?{name:"image",fn:z(()=>[f("div",Sne,[t.documentData.DocumentTypeAlias!=="StoryPerseus"?(u(),O(wt,{key:0,"show-time":t.showTime},null,8,["show-time"])):(u(),O(wt,{key:1,"document-type":"StoryPerseus","show-time":t.showTime},null,8,["show-time"])),R(Bo,{"document-type":t.documentData.DocumentTypeAlias,"ignore-document-type":t.ignoreDocumentType,"lazy-load-image":t.lazyLoadImage,images:i(D),"video-duration":i(k),"show-gallery-icon":t.documentData.HasPhotoGallery,"show-video-icon":t.documentData.HasVideo,"show-live-label":t.documentData.DocumentTypeAlias==="DevelopingStory"&&i(me),"gallery-count":i($),"gallery-poster-photo":i(I)},null,8,["document-type","ignore-document-type","lazy-load-image","images","video-duration","show-gallery-icon","show-video-icon","show-live-label","gallery-count","gallery-poster-photo"])])]),key:"2"}:void 0,t.documentData.DocumentTypeAlias==="DevelopingStory"&&!t.ignoreDocumentType?{name:"developing",fn:z(()=>[R(I_,{"recent-events":ee(),label:i(r)("common.seeEvents")},null,8,["recent-events","label"])]),key:"3"}
410:void 0,Y.showSponsoredLabel&&i(_).hasSponsoredBlock?{name:"sponsor",fn:z(()=>[!g.includes(t.documentData.DocumentTypeAlias)&&t.documentData.DocumentTypeAlias!=="PhotoGallery"&&t.documentData.DocumentTypeAlias!=="DevelopingStory"?(u(),O(yn,{key:0,label:i(_).name,"brand-name":i(_).text,class:j({isClampText:!t.ignoreDocumentType})},null,8,["label","brand-name","class"])):T("",!0)]),key:"4"}:void 0,t.documentData.RelatedArticles?{name:"related",fn:z(()=>[R(gu,{"related-articles":t.documentData.RelatedArticles},null,8,["related-articles"])]),key:"5"}:void 0,g.includes(t.documentData.DocumentTypeAlias)&&!t.ignoreDocumentType?{name:"how-to",fn:z(()=>[f("div",Dne,[i(x)?(u(),h("div",Cne,[ie[0]||(ie[0]=f("i",{class:"icon-list","aria-hidden":"true"},null,-1)),f("span",null,w(i(x))+" "+w(i(r)("common.steps")),1)])):T("",!0),i(m)?(u(),h("div",Pne,[R(Et),ie[1]||(ie[1]=f("i",{class:"icon-time","aria-hidden":"true"},null,-1)),i(m)?(u(),h("span",xne,w(i(m)),1)):T("",!0)])):T("",!0)]),R(a_,{steps:M(),"has-more-steps":!0,"cta-label":`Vidi sve korake (${i(x)})`},null,8,["steps","cta-label"])]),key:"6"}:void 0,i(Q)&&t.showRelatedNews&&i(d)?{name:"related-news",fn:z(()=>[R(ss,{"related-news":i(Q),"url-suffix":Y.urlSuffix,"external-url-suffix":Y.externalUrlSuffix},null,8,["related-news","url-suffix","external-url-suffix"])]),key:"7"}:void 0]),1032,["class","document-data","link","show-engagement-bar","engage-share-visible","engage-comment-action-visible","engage-number-of-comments-visible","engage-react-visible","is-mob","url-suffix","external-url-suffix","show-related-news"]))}},Ene=te(Ine,[["__scopeId","data-v-4982efee"]]),Ane=Object.freeze(Object.defineProperty({__proto__:null,default:Ene},Symbol.toStringTag,{value:"Module"})),Lne={class:"card-labels-wrap"},Rne={class:"title"},One={__name:"CardTypesNewsCardBAlt",props:{..._o()},setup(e){const t=e,{$t:n,$getColorByCategory:o}=ue(),s=t.documentData.DocumentTypeAlias==="NewsArticle"||t.documentData.DocumentTypeAlias==="ArticleBigImage",r=Nn(t.documentData,n("common.sponsoredBy")),a=yo(t.documentData),l=se(()=>r.hasSponsoredBlock?"sponsored":""),c=Te(t.documentData,"notLive")?.Text,m=!!t.documentData?.DocumentElements&&!c,d=t.documentData?.RelatedNews,p=o(t.documentData.RootMenuItemId);return(_,g)=>(u(),O(l_,{class:j(["card-wrap type-news-card-b-alt",t.ignoreDocumentType?"":[i(l),{"has-related-articles":t.documentData.RelatedArticles,"has-related-news":i(d)&&t.showRelatedNews}]]),documentData:t.documentData,link:_.$getLink(t.documentData),showEngagementBar:t.showEngagementBar,engageShareVisible:t.engageShareVisible,engageCommentActionVisible:t.engageCommentActionVisible,engageNumberOfCommentsVisible:t.engageNumberOfCommentsVisible,engageReactVisible:t.engageReactVisible,isMob:_.$device.isMobileOrTablet,urlSuffix:_.urlSuffix,externalUrlSuffix:_.externalUrlSuffix,showRelatedNews:_.showRelatedNews&&i(s)},Sn({labels:z(()=>[f("div",Lne,[R(wt,{label:i(a),isLive:t.documentData.DocumentTypeAlias==="DevelopingStory"&&i(m),isLocked:t.documentData.Locked,hasSponsor:i(r).hasSponsoredBlock,documentType:t.documentData.DocumentTypeAlias,publishedAgo:i(ln)(t.documentData.LastEditDate,t.documentData.LastEditDateShortFormatted,i(n)("timeBefore")),showTime:t.showTime,labelColorClass:i(p)},null,8,["label","isLive","isLocked","hasSponsor","documentType","publishedAgo","showTime","labelColorClass"])])]),title:z(()=>[f("h2",Rne,w(t.documentData.Title),1)]),description:z(()=>[f("p",null,w(t.documentData.ShortDescription),1)]),_:2},[_.showSponsoredLabel&&i(r).hasSponsoredBlock?{name:"sponsor",fn:z(()=>[R(yn,{label:i(r).name,brandName:i(r).text},null,8,["label","brandName"])]),key:"0"}:void 0,i(d)&&t.showRelatedNews&&i(s)?{name:"related-news",fn:z(()=>[R(ss,{relatedNews:i(d),urlSuffix:_.urlSuffix,externalUrlSuffix:_.externalUrlSuffix},null,8,["relatedNews","urlSuffix","externalUrlSuffix"])]),key:"1"}:void 0]),1032,["class","documentData","link","showEngagementBar","engageShareVisible","engageCommentActionVisible","engageNumberOfCommentsVisible","engageReactVisible","isMob","urlSuffix","externalUrlSuffix","showRelatedNews"]))}},Mne=te(One,[["__scopeId","data-v-85f062be"]]),Nne=Object.freeze(Object.defineProperty({__proto__:null,default:Mne},Symbol.toStringTag,{value:"Module"})),Bne={key:0,class:"card-poll"},Une={class:"card-poll__bottom-title"},jne={class:"card-poll__bottom-text"},Vne={class:"card-poll__bottom-title"},Hne={class:"card-poll__bottom-text"},zne={class:"card-poll__bottom-title"},Fne={class:"card-poll__bottom-text"},Wne={__name:"CommonCardElementsCardPoll",props:{definition:{type:Object,default:()=>({})}},setup(e){const n=Te(e.definition,"Poll");return(o,s)=>
410i(n)?.Poll?(u(),h("div",Bne,[R(cu,{definition:i(n),"show-details":!1,"show-bottom-details":!1,"show-results-after-voting":!1},{justVoted:z(()=>[f("p",Une,w(o.$t("cardPoll.justVoted")),1),f("p",jne,w(o.$t("cardPoll.description")),1),R(fi,{label:o.$t("cardPoll.cta"),link:e.definition.WebUrl},null,8,["label","link"])]),alreadyVoted:z(()=>[f("p",Vne,w(o.$t("cardPoll.alreadyVoted")),1),f("p",Hne,w(o.$t("cardPoll.description")),1),R(fi,{label:o.$t("cardPoll.cta")},null,8,["label"])]),pollLocked:z(()=>[f("p",zne,w(o.$t("cardPoll.expired")),1),f("p",Fne,w(o.$t("cardPoll.description")),1),R(fi,{label:o.$t("cardPoll.cta")},null,8,["label"])]),_:1},8,["definition"])])):T("",!0)}},Gne=te(Wne,[["__scopeId","data-v-b146e71f"]]),qne={class:"title"},Yne={class:"card-multimedia__content"},Kne={__name:"CardTypesPollCardA",props:{..._o()},setup(e){const t=e,{$t:n,$getColorByCategory:o}=ue(),s=Nn(t.documentData,n("common.sponsoredBy")),r=yo(t.documentData),a=Ca(t.documentData.DocumentTypeAlias),l=ln(t.documentData.LastEditDate,t.documentData.LastEditDateShortFormatted,n("timeBefore")),c=Te(t.documentData,"notLive")?.Text,m=!!t.documentData?.DocumentElements&&!c,d=o(t.documentData.RootMenuItemId);return(p,_)=>(u(),O(x_,{class:j(["card-wrap type-news-card-a",t.ignoreDocumentType?"":[i(a),{"has-related-articles":t.documentData.RelatedArticles}]]),documentData:t.documentData,link:p.$createLocalUrl(t.documentData?.WebUrl),showEngagementBar:t.showEngagementBar,engageShareVisible:t.engageShareVisible,engageCommentActionVisible:t.engageCommentActionVisible,engageNumberOfCommentsVisible:t.engageNumberOfCommentsVisible,engageReactVisible:t.engageReactVisible,urlSuffix:p.urlSuffix,externalUrlSuffix:p.externalUrlSuffix},Sn({header:z(()=>[R(wt,{label:i(r),isLocked:t.documentData.Locked,hasSponsor:i(s).hasSponsoredBlock,documentType:t.documentData.DocumentTypeAlias,publishedAgo:i(l),showTime:t.showTime,labelColorClass:i(d)},null,8,["label","isLocked","hasSponsor","documentType","publishedAgo","showTime","labelColorClass"])]),title:z(()=>[t.documentData.DocumentTypeAlias==="DevelopingStory"&&i(m)?(u(),O(wt,{key:0,label:i(r),isLocked:t.documentData.Locked,hasSponsor:i(s).hasSponsoredBlock,documentType:t.documentData.DocumentTypeAlias,showTime:t.showTime,labelColorClass:i(d)},null,8,["label","isLocked","hasSponsor","documentType","showTime","labelColorClass"])):T("",!0),f("h2",qne,w(t.documentData.Title),1),!p.ignoreDocumentType&&!p.$device.isMobileOrTablet&&t.documentData.DocumentTypeAlias==="DevelopingStory"?(u(),O(yn,{key:1,label:i(s).name,brandName:i(s).text},null,8,["label","brandName"])):T("",!0)]),image:z(()=>[f("div",Yne,[R(Gne,{definition:t.documentData},null,8,["definition"])])]),_:2},[p.showSponsoredLabel&&i(s).hasSponsoredBlock&&!(!p.$device.isMobileOrTablet&&t.documentData.DocumentTypeAlias==="DevelopingStory")?{name:"sponsor",fn:z(()=>[R(yn,{label:i(s).name,brandName:i(s).text,class:"isClampText"},null,8,["label","brandName"])]),key:"0"}:void 0]),1032,["class","documentData","link","showEngagementBar","engageShareVisible","engageCommentActionVisible","engageNumberOfCommentsVisible","engageReactVisible","urlSuffix","externalUrlSuffix"]))}},Xne=te(Kne,[["__scopeId","data-v-cf356e70"]]),Qne=Object.freeze(Object.defineProperty({__proto__:null,default:Xne},Symbol.toStringTag,{value:"Module"}));
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.