/*! Source: /themes/default/assets/js/splide.js */ ; function _defineProperties(n,t){for(var i,r=0;r-1}function nr(n,t){return n.push.apply(n,ii(t)),n}function w(n,t,i){n&&e(t,function(t){t&&n.classList[i?"add":"remove"](t)})}function a(n,t){w(n,nt(t)?t.split(" "):t,!0)}function ri(n,t){e(t,n.appendChild.bind(n))}function dr(n,t){e(n,function(n){var i=(t||n).parentNode;i&&i.insertBefore(n,t)})}function ui(n,t){return rf(n)&&(n.msMatchesSelector||n.matches).call(n,t)}function uf(n,t){var i=n?g(n.children):[];return t?i.filter(function(n){return ui(n,t)}):i}function fi(n,t){return t?uf(n,t)[0]:n.firstElementChild}function ft(n,t,i){return n&&(i?ei(n).reverse():ei(n)).forEach(function(i){i!=="__proto__"&&t(n[i],i)}),n}function oi(n){return g(arguments,1).forEach(function(t){ft(t,function(i,r){n[r]=t[r]})}),n}function tt(n){return g(arguments,1).forEach(function(t){ft(t,function(t,i){n[i]=wr(t)?t.slice():ni(t)?tt({},ni(n[i])?n[i]:{},t):t})}),n}function ff(n,t){e(t||ei(n),function(t){delete n[t]})}function v(n,t){e(n,function(n){e(t,function(t){n&&n.removeAttribute(t)})})}function n(t,i,r){ni(i)?ft(i,function(i,r){n(t,r,i)}):e(t,function(n){br(r)||r===""?v(n,i):n.setAttribute(i,String(r))})}function vt(t,i,r){var u=document.createElement(t);return i&&(nt(i)?a(u,i):n(u,i)),r&&ri(r,u),u}function h(n,t,i){if(ti(i))return getComputedStyle(n)[t];br(i)||(n.style[t]=""+i)}function si(n,t){h(n,"display",t)}function ef(n){n.setActive&&n.setActive()||n.focus({preventScroll:!0})}function c(n,t){return n.getAttribute(t)}function sf(n,t){return n&&n.classList.contains(t)}function o(n){return n.getBoundingClientRect()}function et(n){e(n,function(n){n&&n.parentNode&&n.parentNode.removeChild(n)})}function hf(n){return fi((new DOMParser).parseFromString(n,"text/html").body)}function b(n,t){n.preventDefault();t&&(n.stopPropagation(),n.stopImmediatePropagation())}function cf(n,t){return n&&n.querySelector(t)}function gr(n,t){return t?g(n.querySelectorAll(t)):[]}function k(n,t){w(n,t,!1)}function nu(n){return n.timeStamp}function ot(n){return nt(n)?n:n?n+"px":""}function ci(n,t){if(!n)throw new Error("["+hi+"] "+(t||""));}function lf(n,t,i){return u(n-t)0)-+(n<0)}function ru(n,t){return e(t,function(t){n=n.replace("%s",""+t)}),n}function uu(n){return n<10?"0"+n:""+n}function ro(n){return""+n+uu(af[n]=(af[n]||0)+1)}function vf(){function i(i,r,u,f){t(i,r,function(t,i,r){var e="addEventListener"in t,o=e?t.removeEventListener.bind(t,i,u,f):t.removeListener.bind(t,u);e?t.addEventListener(i,u,f):t.addListener(u);n.push([t,i,r,u,o])})}function r(i,r,u){t(i,r,function(t,i,r){n=n.filter(function(n){return n[0]===t&&n[1]===i&&n[2]===r&&(!u||n[3]===u)?(n[4](),!1):!0})})}function u(n,t,i){var r,u=!0;return typeof CustomEvent=="function"?r=new CustomEvent(t,{bubbles:u,detail:i}):(r=document.createEvent("CustomEvent"),r.initCustomEvent(t,u,!1,i)),n.dispatchEvent(r),r}function t(n,t,i){e(n,function(n){n&&e(t,function(t){t.split(" ").forEach(function(t){var r=t.split(".");i(n,r[0],r[1])})})})}function f(){n.forEach(function(n){n[4]()});p(n)}var n=[];return{bind:i,unbind:r,dispatch:u,destroy:f}}function i(n){function u(n,t){i.bind(r,ii(n).join(" "),function(n){t.apply(t,wr(n.detail)?n.detail:[])})}function f(n){i.dispatch(r,n,g(arguments,1))}var r=n?n.event.bus:document.createDocumentFragment(),i=vf();if(n)n.event.on(wf,i.destroy);return oi(i,{bus:r,on:u,off:t(i.unbind,r),emit:f})}function fr(n,t,i,r){function h(){if(!e){if(u=n?it((o()-s)/n,1):1,i&&i(u),u>=1&&(t(),s=o(),r&&++a>=r))return c();f=nf(h)}}function v(t){t||l();s=o()-(t?u*n:0);e=!1;f=nf(h)}function c(){e=!0}function y(){s=o();u=0;i&&i(u)}function l(){f&&cancelAnimationFrame(f);u=0;f=0;e=!0}function p(t){n=t}function w(){return e}var o=Date.now,s,u=0,f,e=!0,a=0;return{start:v,rewind:y,pause:c,cancel:l,set:p,isPaused:w}}function bo(n){function i(n){t=n}function r(n){return kr(ii(n),t)}var t=n;return{set:i,is:r}}function ko(n,t){var i=fr(t||0,n,null,1);return function(){i.isPaused()&&i.start()}}function go(n,t,i){function v(){var n=i.mediaQuery==="min";ei(e).sort(function(t,i){return n?+t-+i:+i-+t}).forEach(function(t){c(e[t],"("+(n?"min":"max")+"-width:"+t+"px)")});c(r,du);l()}function h(n){n&&o.destroy()}function c(n,t){var i=matchMedia(t);o.bind(i,"change",l);s.push([n,i])}function l(){var t=u.is(di),r=i.direction,f=s.reduce(function(n,t){return tt(n,t[1].matches?t[0]:{})},{});ff(i);a(f);i.destroy?n.destroy(i.destroy==="completely"):t?(h(!0),n.mount()):r!==i.direction&&n.refresh()}function y(n){matchMedia(du).matches&&(n?tt(i,r):ff(i,ei(r)))}function a(t,r,e){tt(i,t);r&&tt(Object.getPrototypeOf(i),t);(e||!u.is(ct))&&n.emit(f,i)}var u=n.state,e=i.breakpoints||{},r=i.reducedMotion||{},o=vf(),s=[];return{setup:v,destroy:h,reduce:y,set:a}}function ns(n,t,i){function r(n,t,r){r=r||i.direction;var u=r===ue&&!t?1:r===hr?0:-1;return ou[n]&&ou[n][u]||n.replace(/width|left|right/i,function(n,t){var i=ou[n.toLowerCase()][u]||n;return t>0?i.charAt(0).toUpperCase()+i.slice(1):i})}function u(n){return n*(i.direction===ue?1:-1)}return{resolve:r,orient:u}}function ls(n,t){if(tf(n.closest))return n.closest(t);for(var i=n;i&&i.nodeType===1;){if(ui(i,t))break;i=i.parentElement}return i}function vs(t,u,e){function et(){yt();pt();st()}function vt(){g(r,ot);g(r,et);g(f,st);rt(document,no+" keydown",function(n){ut=n.type==="keydown"},{capture:!0});rt(o,"focusin",function(){w(o,ke,!!ut)})}function ot(n){var t=cu.concat("style");p(tt);k(o,y);k(h,b);v([h,l],t);v(o,n?t:["style",pi])}function st(){k(o,y);k(h,b);y=lt(lu);b=lt(le);a(o,y);a(h,b);n(o,s,e.label);n(o,su,e.labelledby)}function yt(){h=ct("."+le);l=fi(h,"."+ts);ci(h&&l,"A track/list element is missing.");nr(tt,uf(l,"."+cr+":not(."+ae+")"));ft({arrows:au,pagination:ar,prev:ve,next:ye,bar:us,toggle:fs},function(n,t){nt[t]=ct("."+n)});oi(nt,{root:o,track:h,list:l,slides:tt})}function pt(){var t=o.id||ro(hi),i=e.role;o.id=t;h.id=h.id||t+"-track";l.id=l.id||t+"-list";!c(o,d)&&o.tagName!=="SECTION"&&i&&n(o,d,i);n(o,pi,at.carousel);n(l,d,"presentation")}function ct(n){var t=cf(o,n);if(t&&ls(t,"."+lu)===o)return t}function lt(n){return[n+"--"+e.type,n+"--"+e.direction,e.drag&&n+"--draggable",e.isNavigation&&n+"--nav",n===lu&&ht]}var it=i(t),g=it.on,rt=it.bind,o=t.root,at=e.i18n,nt={},tt=[],y=[],b=[],h,l,ut;return oi(nt,{setup:et,mount:vt,destroy:ot})}function ys(r,f,e,l){function ri(){y||(l.id=bt.id+"-slide"+uu(f+1),n(l,d,ti?"tabpanel":"group"),n(l,pi,ut.slide),n(l,s,vt||ru(ut.slideLabel,[f+1,r.length])));ui()}function ui(){ct(l,"click",t(g,pf,p));ct(l,"keydown",t(g,ne,p));nt([ai,te,pt],ot);nt(bf,oi);ni&&nt(rt,si)}function ei(){et=!0;b.destroy();k(l,hs);v(l,cu);n(l,"style",ii);n(l,s,vt||"")}function oi(){var t=r.splides.map(function(n){var t=n.splide.Components.Slides.getAt(f);return t?t.slide.id:""}).join(" ");n(l,s,ru(ut.slideX,(y?e:f)+1));n(l,yi,t);n(l,d,ft?"button":"");ft&&v(l,pi)}function si(){et||ot()}function ot(){if(!et){var n=r.index;hi();ci();w(l,we,f===n-1);w(l,be,f===n+1)}}function hi(){var t=st();t!==sf(l,ht)&&(w(l,ht,t),n(l,fe,dt&&t||""),g(t?uo:fo,p))}function ci(){var t=bi(),i=!t&&(!st()||y),u;r.state.is([at,gt])||n(l,oe,i||"");n(gr(l,a.focusableNodes||""),wt,i?-1:"");ft&&n(l,wt,i?-1:0);t!==sf(l,vu)&&(w(l,vu,t),g(t?eo:oo,p));t||document.activeElement!==l||(u=tt.Slides.getAt(r.index),u&&ef(u.slide))}function vi(n,t,i){h(i&&yt||l,n,t)}function st(){var n=r.index;return n===f||a.cloneStatus&&n===e}function bi(){if(r.is(wi))return st();var n=o(tt.Elements.track),t=o(l),i=lt("left",!0),u=lt("right",!0);return ir(n[i])<=li(t[i])&&ir(t[u])<=li(n[u])}function ki(n,t){var i=u(n-f);return!y&&(a.rewind||r.is(kt))&&(i=it(i,r.length-i)),i<=t}var b=i(r),nt=b.on,g=b.emit,ct=b.bind,tt=r.Components,bt=r.root,a=r.options,dt=a.isNavigation,ni=a.updateOnMove,ut=a.i18n,ti=a.pagination,ft=a.slideFocus,lt=tt.Direction.resolve,ii=c(l,"style"),vt=c(l,s),y=e>-1,yt=fi(l,"."+is),et,p={index:f,slideIndex:e,slide:l,container:yt,isClone:y,mount:ri,destroy:ei,update:ot,style:vi,isWithin:ki};return p}function ps(n,u,f){function rt(){b();y(r,k);y(r,b)}function b(){v.forEach(function(n,t){d(n,t,-1)})}function k(){h(function(n){n.destroy()});p(o)}function ut(){h(function(n){n.update()})}function d(t,i,r){var u=ys(n,i,r,t);u.mount();o.push(u);o.sort(function(n,t){return n.index-t.index})}function g(n){return n?s(function(n){return!n.isClone}):o}function ft(n){var t=u.Controller,i=t.toIndex(n),r=t.hasFocus()?1:f.perPage;return s(function(n){return rr(n.index,i,i+r-1)})}function ot(n){return s(n)[0]}function st(n,i){e(n,function(n){if(nt(n)&&(n=hf(n)),rf(n)){var r=v[i];r?dr(n,r):ri(it,n);a(n,f.classes.slide);lt(n,t(l,vi))}});l(r)}function ht(n){et(s(n).map(function(n){return n.slide}));l(r)}function h(n,t){g(t).forEach(n)}function s(n){return o.filter(tf(n)?n:function(t){return nt(n)?ui(t.slide,n):kr(ii(n),t.index)})}function ct(n,t,i){h(function(r){r.style(n,t,i)})}function lt(n,t){var i=gr(n,"img"),r=i.length;r?i.forEach(function(n){tt(n,"load error",function(){--r||t()})}):t()}function at(n){return n?v.length:o.length}function vt(){return o.length>f.perPage}var c=i(n),y=c.on,l=c.emit,tt=c.bind,w=u.Elements,v=w.slides,it=w.list,o=[];return{mount:rt,destroy:k,update:ut,register:d,get:g,getIn:ft,getAt:ot,add:st,remove:ht,forEach:h,filter:s,style:ct,getLength:at,isEnough:vt}}function ws(n,e,s){function bt(){st();wt(window,"resize load",ko(t(b,vi)));ft([f,r],st);ft(vi,rt)}function st(){a=s.direction===hr;h(d,"maxWidth",ot(s.width));h(l,c("paddingLeft"),y(!1));h(l,c("paddingRight"),y(!0));rt(!0)}function rt(n){var t=o(d);(n||it.width!==t.width||it.height!==t.height)&&(h(l,"height",kt()),tt(c("marginRight"),ot(s.gap)),tt("width",dt()),tt("height",gt(),!0),it=t,b(fu),v!==(v=pt())&&(w(d,de,v),b(lo,v)))}function y(n){var t=s.padding,i=c(n?"right":"left");return t&&ot(t[i]||(ni(t)?0:t))||"0px"}function kt(){var n="";return a&&(n=ht(),ci(n,"height or heightRatio is missing."),n="calc("+n+" - "+y(!1)+" - "+y(!0)+")"),n}function ht(){return ot(s.height||o(g).width*s.heightRatio)}function dt(){return s.autoWidth?null:ot(s.fixedWidth)||(a?"":ct())}function gt(){return ot(s.fixedHeight)||(a?s.autoHeight?null:ct():ht())}function ct(){var n=ot(s.gap);return"calc((100%"+(n&&" + "+n)+")/"+(s.perPage||1)+(n&&" - "+n)+")"}function lt(){return o(g)[c("width")]}function at(n,t){var i=nt(n||0);return i?o(i.slide)[c("width")]+(t?0:yt()):0}function ut(n,t){var i=nt(n),r,f;return i?(r=o(i.slide)[c("right")],f=o(g)[c("left")],u(r-f)+(t?0:yt())):0}function vt(t){return ut(n.length-1)-ut(0)+at(0,t)}function yt(){var n=nt(0);return n&&parseFloat(h(n.slide,c("marginRight")))||0}function ti(n){return parseFloat(h(l,c("padding"+(n?"Right":"Left"))))||0}function pt(){return n.is(wi)||vt(!0)>lt()}var p=i(n),ft=p.on,wt=p.bind,b=p.emit,et=e.Slides,c=e.Direction.resolve,k=e.Elements,d=k.root,l=k.track,g=k.list,nt=et.getAt,tt=et.style,a,it,v;return{mount:bt,resize:rt,listSize:lt,slideSize:at,sliderSize:vt,totalSize:ut,getPadding:ti,isOverflow:pt}}function ks(n,t,u){function w(){l(r,d);l([f,vi],g);(e=k())&&(nt(e),t.Layout.resize(!0))}function d(){b();w()}function b(){et(c);p(c);s.destroy()}function g(){var n=k();e!==n&&(ei)&&(vt(),v(y(l(),n>i),!0));nt(at);b(rt,t,i,n);d.start(t,function(){nt(lt);b(ai,t,i,n);r&&r()})}function ct(n){v(p(n,!0))}function v(t,i){if(!n.is(wi)){var r=i?t:ri(t);h(k,"transform","translate"+a("X")+"("+r+"px)");t!==r&&b(te)}}function ri(i){if(n.is(kt)){var r=pt(i),u=r>t.Controller.getEnd(),f=r<0;(f||u)&&(i=y(i,u))}return i}function y(n,t){var r=n-w(t),i=ut();return n-s(i*(li(u(r)/i)||1))*(t?1:-1)}function vt(){v(l(),!0);d.cancel()}function pt(n){for(var r,f,e=t.Slides.get(),o=0,s=Infinity,i=0;i=0:t<=k[a("scrollWidth")]-o(ot)[a("width")]}function oi(n,t){t=ti(t)?l():t;var i=n!==!0&&s(t)s(w(!0));return i||r}var g=i(n),wt=g.on,b=g.emit,nt=n.state.set,c=t.Layout,tt=c.slideSize,dt=c.getPadding,gt=c.totalSize,it=c.listSize,ut=c.sliderSize,ft=t.Direction,a=ft.resolve,s=ft.orient,et=t.Elements,k=et.list,ot=et.track,d;return{mount:ni,move:ii,jump:ct,translate:v,shift:y,cancel:vt,toIndex:pt,toPosition:p,getPosition:l,getLimit:w,exceededLimit:oi,reposition:ht}}function gs(n,u,e){function ui(){vt();st([f,r,ur],vt);st(fu,fi)}function vt(){h=ri(!0);v=e.perMove;l=e.perPage;s=ut();var n=yt(o,0,k?s:h-1);n!==o&&(o=n,c.reposition())}function fi(){s!==ut()&&dt(ur)}function ei(n,t,i){if(!wt()){var u=si(n),r=rt(u);r>-1&&(t||r!==o)&&(et(r),c.move(u,r,g,i))}}function oi(n,t,i,r){u.Scroll.scroll(n,t,i,function(){var n=rt(c.toIndex(w()));et(k?it(n,s):n);r&&r()})}function si(n){var t=o;if(nt(n)){var u=n.match(/([+\-<>])(\d+)?/)||[],i=u[1],r=u[2];i==="+"||i==="-"?t=pt(o+ +(""+i+(+r||1)),o):i===">"?t=r?p(+r):ct(!0):i==="<"&&(t=lt(!0))}else t=y?n:yt(n,0,s);return t}function tt(n,t){var r=v||(a()?1:l),i=pt(o+r*(n?-1:1),o,!(v||a()));return i===-1&&d&&!lf(w(),ni(!n),1)?n?0:s:t?i:rt(i)}function pt(n,t,i){if(ii()||a()){var r=hi(n);r!==n&&(t=n,n=r,i=!1);n<0||n>s?n=!v&&(rr(0,n,t,!0)||rr(s,t,n,!0))?p(ft(n)):y?i?n<0?-(h%l||l):h:n:e.rewind?n<0?s:0:-1:i&&n!==t&&(n=p(ft(t)+(n0;)if(b(h-1,!0)!==b(n,!0)){n++;break}return yt(n,0,h-1)}function p(n){return yt(a()?n:l*n,0,s)}function ft(n){return a()?it(n,s):ir((n>=s?h-1:n)/l)}function ci(n){var t=c.toIndex(n);return d?yt(t,0,s):t}function et(n){n!==o&&(g=o,o=n)}function li(n){return n?g:o}function a(){return!ti(e.focus)||e.isNavigation}function wt(){return n.state.is([at,gt])&&!!e.waitForTransition}var ot=i(n),st=ot.on,dt=ot.emit,c=u.Move,w=c.getPosition,ni=c.getLimit,b=c.toPosition,ht=u.Slides,ii=ht.isEnough,ri=ht.getLength,k=e.omitEnd,y=n.is(kt),d=n.is(bt),ct=t(tt,!1),lt=t(tt,!0),o=e.start||0,s,g=o,h,v,l;return{mount:ui,go:ei,scroll:oi,getNext:ct,getPrev:lt,getAdjacent:tt,getEnd:ut,setIndex:et,getIndex:li,toIndex:p,toPage:ft,toDest:ci,hasFocus:a,isBusy:wt}}function ih(u,e,o){function ct(){bt();tt(f,wt)}function wt(){lt();ct()}function bt(){var t=o.arrows;!t||h&&c||dt();h&&c&&(oi(ht,{prev:h,next:c}),si(l,t?"":"none"),a(l,ot=au+"--"+o.direction),t&&(kt(),nt(),n([h,c],yi,ut.id),rt(ao,h,c)))}function lt(){y.destroy();k(l,ot);ft?(et(d?[h,c]:l),h=c=null):v([h,c],cu)}function kt(){tt([st,ai,r,pt,ur],nt);it(c,"click",t(at,">"));it(h,"click",t(at,"<"))}function at(n){g.go(n,!0)}function dt(){l=d||vt("div",p.arrows);h=yt(!0);c=yt(!1);ft=!0;ri(l,[h,c]);d||dr(l,ut)}function yt(n){var t='
`:console.error("YouTube url is not valid",n.innerText)});document.querySelectorAll(".mw-video .controls[data-type='youtube']").forEach(async n=>{var t,i,r;if(!n.style.backgroundImage||n.style.backgroundImage==='url("")'||n.style.backgroundImage==="url('')"||n.style.backgroundImage==="url()"){try{i=await fetch("https://www.youtube.com/oembed?format=json&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D"+n.dataset.videoId);r=await i.json();t=r.thumbnail_url}catch{}t??="https://i.ytimg.com/vi_webp/"+n.dataset.videoId+"/maxresdefault.webp";n.style.backgroundImage="url("+t+")"}});document.querySelectorAll(".mw-video .controls button").forEach(n=>{n.onclick=()=>{let t=n.closest(".mw-article-video").querySelector("iframe");if(n.closest(".mw-article-video").querySelector(".fb-video")){if(!t.dataset.source)return;hideMask(t);t.src=document.querySelector(".fb-video-container").dataset.source;t.onload=()=>{document.querySelector(".fb-video-container").style.display="block"};delete document.querySelector(".fb-video-container").dataset.source}else if(n.closest(".mw-article-video").querySelector("video"))t=n.closest(".mw-article-video").querySelector("video"),hideMask(t),n.closest(".mw-article-video").querySelector(".media.interno").style.display="block",t.play();else{if(!t.dataset.source)return;t.onload=()=>{hideMask(t)};t.src=t.dataset.source;delete t.dataset.source}}});for(x of document.querySelectorAll(".splide.inline-galery-splide"))splide=new Splide(x,{perPage:1,autoplay:!0,interval:6e3,pagination:!1,arrows:!0}),splide.mount(),x.style.display="inherit"