1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 2function r(n,t){for(var i=0;i<t.length;i++){var r=t[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value" in r&&(r.writable=!0),Object.defineProperty(n,r.key,r);}}function Jt(n,t,i){t&&r(n.prototype,t),i&&r(n,i),Object.defineProperty(n,"prototype",{writable:!1});}var n,t;n=this,t=function(){"use strict";var v="(prefers-reduced-motion: reduce)",G=4,rn=5,r={CREATED:1,MOUNTED:2,IDLE:3,MOVING:G,SCROLLING:rn,DRAGGING:6,DESTROYED:7};function D(n){n.length=0;}function o(n,t,i){return Array.prototype.slice.call(n,t,i);}function R(n){return n.bind.apply(n,[null].concat(o(arguments,1)));}function on(){}var p=setTimeout;function h(n){return requestAnimationFrame(n);}function u(n,t){return typeof t===n;}function un(n){return !c(n)&&u("object",n);}var e=Array.isArray,x=R(u,"function"),C=R(u,"string"),en=R(u,"undefined");function c(n){return null===n;}function m(n){try{return n instanceof (n.ownerDocument.defaultView||window).HTMLElement;}catch(n){return !1;}}function y(n){return e(n)?n:[n];}function g(n,t){y(n).forEach(t);}function b(n,t){return -1<n.indexOf(t);}function k(n,t){return n.push.apply(n,y(t)),n;}function A(t,n,i){t&&g(n,function(n){n&&t.classList[i?"add":"remove"](n);});}function M(n,t){A(n,C(t)?t.split(" "):t,!0);}function L(n,t){g(t,n.appendChild.bind(n));}function O(n,i){g(n,function(n){var t=(i||n).parentNode;t&&t.insertBefore(n,i);});}function cn(n,t){return m(n)&&(n.msMatchesSelector||n.matches).call(n,t);}function S(n,t){n=n?o(n.children):[];return t?n.filter(function(n){return cn(n,t);}):n;}function fn(n,t){return t?S(n,t)[0]:n.firstElementChild;}var E=Object.keys;function w(t,i,n){t&&(n?E(t).reverse():E(t)).forEach(function(n){"__proto__"!==n&&i(t[n],n);});}function an(r){return o(arguments,1).forEach(function(i){w(i,function(n,t){r[t]=i[t];});}),r;}function d(i){return o(arguments,1).forEach(function(n){w(n,function(n,t){e(n)?i[t]=n.slice():un(n)?i[t]=d({},un(i[t])?i[t]:{},n):i[t]=n;});}),i;}function sn(t,n){g(n||E(t),function(n){delete t[n];});}function P(n,i){g(n,function(t){g(i,function(n){t&&t.removeAttribute(n);});});}function I(i,t,r){un(t)?w(t,function(n,t){I(i,t,n);}):g(i,function(n){c(r)||""===r?P(n,t):n.setAttribute(t,String(r));});}function j(n,t,i){n=document.createElement(n);return t&&(C(t)?M:I)(n,t),i&&L(i,n),n;}function _(n,t,i){if(en(i))return getComputedStyle(n)[t];c(i)||(n.style[t]=""+i);}function ln(n,t){_(n,"display",t);}function dn(n){n.setActive&&n.setActive()||n.focus({preventScroll:!0});}function z(n,t){return n.getAttribute(t);}function vn(n,t){return n&&n.classList.contains(t);}function N(n){return n.getBoundingClientRect();}function T(n){g(n,function(n){n&&n.parentNode&&n.parentNode.removeChild(n);});}function hn(n){return fn((new DOMParser()).parseFromString(n,"text/html").body);}function F(n,t){n.preventDefault(),t&&(n.stopPropagation(),n.stopImmediatePropagation());}function pn(n,t){return n&&n.querySelector(t);}function gn(n,t){return t?o(n.querySelectorAll(t)):[];}function X(n,t){A(n,t,!1);}function mn(n){return n.timeStamp;}function W(n){return C(n)?n:n?n+"px":"";}var yn="splide",f="data-"+yn;function bn(n,t){if(!n)throw new Error("["+yn+"] "+(t||""));}var Y=Math.min,wn=Math.max,xn=Math.floor,kn=Math.ceil,U=Math.abs;function Sn(n,t,i){return U(n-t)<i;}function En(n,t,i,r){var o=Y(t,i),t=wn(t,i);return r?o<n&&n<t:o<=n&&n<=t;}function q(n,t,i){var r=Y(t,i),t=wn(t,i);return Y(wn(r,n),t);}function Ln(n){return (0<n)-(n<0);}function On(t,n){return g(n,function(n){t=t.replace("%s",""+n);}),t;}function An(n){return n<10?"0"+n:""+n;}var _n={};function zn(){var c=[];function i(n,i,r){g(n,function(t){t&&g(i,function(n){n.split(" ").forEach(function(n){n=n.split(".");r(t,n[0],n[1]);});});});}return {bind:function(n,t,u,e){i(n,t,function(n,t,i){var r="addEventListener" in n,o=r?n.removeEventListener.bind(n,t,u,e):n.removeListener.bind(n,u);r?n.addEventListener(t,u,e):n.addListener(u),c.push([n,t,i,u,o]);});},unbind:function(n,t,o){i(n,t,function(t,i,r){c=c.filter(function(n){return !!(n[0]!==t||n[1]!==i||n[2]!==r||o&&n[3]!==o)||(n[4](),!1);});});},dispatch:function(n,t,i){var r;return "function"==typeof CustomEvent?r=new CustomEvent(t,{bubbles:!0,detail:i}):(r=document.createEvent("CustomEvent")).initCustomEvent(t,!0,!1,i),n.dispatchEvent(r),r;}
2,destroy:function(){c.forEach(function(n){n[4]();}),D(c);}};}var B="mounted",H="move",Dn="moved",Mn="click",Pn="active",In="inactive",Rn="visible",Cn="hidden",J="refresh",K="updated",jn="resize",Nn="resized",Tn="scroll",V="scrolled",a="destroy",Gn="navigation:mounted",Fn="autoplay:play",Xn="autoplay:pause",Wn="lazyload:loaded",Yn="sk",Un="sh";function Q(n){var i=n?n.event.bus:document.createDocumentFragment(),r=zn();return n&&n.event.on(a,r.destroy),an(r,{bus:i,on:function(n,t){r.bind(i,y(n).join(" "),function(n){t.apply(t,e(n.detail)?n.detail:[]);});},off:R(r.unbind,i),emit:function(n){r.dispatch(i,n,o(arguments,1));}});}function qn(t,n,i,r){var o,u,e=Date.now,c=0,f=!0,a=0;function s(){if(!f){if(c=t?Y((e()-o)/t,1):1,i&&i(c),1<=c&&(n(),o=e(),r&&++a>=r))return l();u=h(s);}}function l(){f=!0;}function d(){u&&cancelAnimationFrame(u),f=!(u=c=0);}return {start:function(n){n||d(),o=e()-(n?c*t:0),f=!1,u=h(s);},rewind:function(){o=e(),c=0,i&&i(c);},pause:l,cancel:d,set:function(n){t=n;},isPaused:function(){return f;}};}function s(n){var t=n;return {set:function(n){t=n;},is:function(n){return b(y(n),t);}};}var n="Arrow",Bn=n+"Left",Hn=n+"Right",t=n+"Up",n=n+"Down",Jn="ttb",l={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[t,Hn],ArrowRight:[n,Bn]};var Z="role",$="tabindex",i="aria-",Kn=i+"controls",Vn=i+"current",Qn=i+"selected",nn=i+"label",Zn=i+"labelledby",$n=i+"hidden",nt=i+"orientation",tt=i+"roledescription",it=i+"live",rt=i+"busy",ot=i+"atomic",ut=[Z,$,"disabled",Kn,Vn,nn,Zn,$n,nt,tt],i=yn+"__",et=yn,ct=i+"track",ft=i+"list",at=i+"slide",st=at+"--clone",lt=at+"__container",dt=i+"arrows",vt=i+"arrow",ht=vt+"--prev",pt=vt+"--next",gt=i+"pagination",mt=gt+"__page",yt=i+"progress"+"__bar",bt=i+"toggle",wt=i+"sr",tn="is-active",xt="is-prev",kt="is-next",St="is-visible",Et="is-loading",Lt="is-focus-in",Ot="is-overflow",At=[tn,St,xt,kt,Et,Lt,Ot];var _t="touchstart mousedown",zt="touchmove mousemove",Dt="touchend touchcancel mouseup click";var Mt="slide",Pt="loop",It="fade";function Rt(o,r,t,u){var e,n=Q(o),i=n.on,c=n.emit,f=n.bind,a=o.Components,s=o.root,l=o.options,d=l.isNavigation,v=l.updateOnMove,h=l.i18n,p=l.pagination,g=l.slideFocus,m=a.Direction.resolve,y=z(u,"style"),b=z(u,nn),w=-1<t,x=fn(u,"."+lt);function k(){var n=o.splides.map(function(n){n=n.splide.Components.Slides.getAt(r);return n?n.slide.id:"";}).join(" ");I(u,nn,On(h.slideX,(w?t:r)+1)),I(u,Kn,n),I(u,Z,g?"button":""),g&&P(u,tt);}function S(){e||E();}function E(){var n,t,i;e||(n=o.index,(i=L())!==vn(u,tn)&&(A(u,tn,i),I(u,Vn,d&&i||""),c(i?Pn:In,O)),i=function(){if(o.is(It))return L();var n=N(a.Elements.track),t=N(u),i=m("left",!0),r=m("right",!0);return xn(n[i])<=kn(t[i])&&xn(t[r])<=kn(n[r]);}(),t=!i&&(!L()||w),o.state.is([G,rn])||I(u,$n,t||""),I(gn(u,l.focusableNodes||""),$,t?-1:""),g&&I(u,$,t?-1:0),i!==vn(u,St)&&(A(u,St,i),c(i?Rn:Cn,O)),i||document.activeElement!==u||(t=a.Slides.getAt(o.index))&&dn(t.slide),A(u,xt,r===n-1),A(u,kt,r===n+1));}function L(){var n=o.index;return n===r||l.cloneStatus&&n===t;}var O={index:r,slideIndex:t,slide:u,container:x,isClone:w,mount:function(){w||(u.id=s.id+"-slide"+An(r+1),I(u,Z,p?"tabpanel":"group"),I(u,tt,h.slide),I(u,nn,b||On(h.slideLabel,[r+1,o.length]))),f(u,"click",R(c,Mn,O)),f(u,"keydown",R(c,Yn,O)),i([Dn,Un,V],E),i(Gn,k),v&&i(H,S);},destroy:function(){e=!0,n.destroy(),X(u,At),P(u,ut),I(u,"style",y),I(u,nn,b||"");},update:E,style:function(n,t,i){_(i&&x||u,n,t);},isWithin:function(n,t){return n=U(n-r),(n=w||!l.rewind&&!o.is(Pt)?n:Y(n,o.length-n))<=t;}};return O;}var Ct=f+"-interval";var jt={passive:!1,capture:!0};var Nt={Spacebar:" ",Right:Hn,Left:Bn,Up:t,Down:n};function Tt(n){return n=C(n)?n:n.key,Nt[n]||n;}var Gt="keydown";var Ft=f+"-lazy",Xt=Ft+"-srcset",Wt="["+Ft+"], ["+Xt+"]";var Yt=[" ","Enter"];var Ut=Object.freeze({__proto__:null,Media:function(r,n,o){var u=r.state,t=o.breakpoints||{},e=o.reducedMotion||{},i=zn(),c=[];function f(n){n&&i.destroy();}function a(n,t){t=matchMedia(t);i.bind(t,"change",s),c.push([n,t]);}function s(){var n=u.is(7),t=o.direction,i=c.reduce(function(n,t){return d(n,t[1].matches?t[0]:{});},{});sn(o),l(i),o.destroy?r.destroy("completely"===o.destroy):n?(f(!0),r.mount()):t!==o.direction&&r.refresh();}
2function l(n,t,i){d(o,n),t&&d(Object.getPrototypeOf(o),n),!i&&u.is(1)||r.emit(K,o);}return {setup:function(){var i="min"===o.mediaQuery;E(t).sort(function(n,t){return i?+n-+t:+t-+n;}).forEach(function(n){a(t[n],"("+(i?"min":"max")+"-width:"+n+"px)");}),a(e,v),s();},destroy:f,reduce:function(n){matchMedia(v).matches&&(n?d(o,e):sn(o,E(e)));},set:l};},Direction:function(n,t,o){return {resolve:function(n,t,i){var r="rtl"!==(i=i||o.direction)||t?i===Jn?0:-1:1;return l[n]&&l[n][r]||n.replace(/width|left|right/i,function(n,t){n=l[n.toLowerCase()][r]||n;return 0<t?n.charAt(0).toUpperCase()+n.slice(1):n;});},orient:function(n){return n*("rtl"===o.direction?1:-1);}};},Elements:function(n,t,i){var r,o,u,e=Q(n),c=e.on,f=e.bind,a=n.root,s=i.i18n,l={},d=[],v=[],h=[];function p(){r=y("."+ct),o=fn(r,"."+ft),bn(r&&o,"A track/list element is missing."),k(d,S(o,"."+at+":not(."+st+")")),w({arrows:dt,pagination:gt,prev:ht,next:pt,bar:yt,toggle:bt},function(n,t){l[t]=y("."+n);}),an(l,{root:a,track:r,list:o,slides:d});var n=a.id||function(n){return ""+n+An(_n[n]=(_n[n]||0)+1);}(yn),t=i.role;a.id=n,r.id=r.id||n+"-track",o.id=o.id||n+"-list",!z(a,Z)&&"SECTION"!==a.tagName&&t&&I(a,Z,t),I(a,tt,s.carousel),I(o,Z,"presentation"),m();}function g(n){var t=ut.concat("style");D(d),X(a,v),X(r,h),P([r,o],t),P(a,n?t:["style",tt]);}function m(){X(a,v),X(r,h),v=b(et),h=b(ct),M(a,v),M(r,h),I(a,nn,i.label),I(a,Zn,i.labelledby);}function y(n){n=pn(a,n);return n&&function(n,t){if(x(n.closest))return n.closest(t);for(var i=n;i&&1===i.nodeType&&!cn(i,t);)i=i.parentElement;return i;}(n,"."+et)===a?n:void 0;}function b(n){return [n+"--"+i.type,n+"--"+i.direction,i.drag&&n+"--draggable",i.isNavigation&&n+"--nav",n===et&&tn];}return an(l,{setup:p,mount:function(){c(J,g),c(J,p),c(K,m),f(document,_t+" keydown",function(n){u="keydown"===n.type;},{capture:!0}),f(a,"focusin",function(){A(a,Lt,!!u);});},destroy:g});},Slides:function(r,o,u){var n=Q(r),t=n.on,e=n.emit,c=n.bind,f=(n=o.Elements).slides,a=n.list,s=[];function i(){f.forEach(function(n,t){d(n,t,-1);});}function l(){h(function(n){n.destroy();}),D(s);}function d(n,t,i){t=Rt(r,t,i,n);t.mount(),s.push(t),s.sort(function(n,t){return n.index-t.index;});}function v(n){return n?p(function(n){return !n.isClone;}):s;}function h(n,t){v(t).forEach(n);}function p(t){return s.filter(x(t)?t:function(n){return C(t)?cn(n.slide,t):b(y(t),n.index);});}
2return {mount:function(){i(),t(J,l),t(J,i);},destroy:l,update:function(){h(function(n){n.update();});},register:d,get:v,getIn:function(n){var t=o.Controller,i=t.toIndex(n),r=t.hasFocus()?1:u.perPage;return p(function(n){return En(n.index,i,i+r-1);});},getAt:function(n){return p(n)[0];},add:function(n,o){g(n,function(n){var t,i,r;m(n=C(n)?hn(n):n)&&((t=f[o])?O(n,t):L(a,n),M(n,u.classes.slide),t=n,i=R(e,jn),t=gn(t,"img"),(r=t.length)?t.forEach(function(n){c(n,"load error",function(){--r||i();});}):i());}),e(J);},remove:function(n){T(p(n).map(function(n){return n.slide;})),e(J);},forEach:h,filter:p,style:function(t,i,r){h(function(n){n.style(t,i,r);});},getLength:function(n){return (n?f:s).length;},isEnough:function(){return s.length>u.perPage;}};},Layout:function(t,n,i){var r,o,u,e=(a=Q(t)).on,c=a.bind,f=a.emit,a=n.Slides,s=n.Direction.resolve,l=(n=n.Elements).root,d=n.track,v=n.list,h=a.getAt,p=a.style;function g(){r=i.direction===Jn,_(l,"maxWidth",W(i.width)),_(d,s("paddingLeft"),y(!1)),_(d,s("paddingRight"),y(!0)),m(!0);}function m(n){var t=N(l);!n&&o.width===t.width&&o.height===t.height||(_(d,"height",function(){var n="";r&&(bn(n=b(),"height or heightRatio is missing."),n="calc("+n+" - "+y(!1)+" - "+y(!0)+")");return n;}()),p(s("marginRight"),W(i.gap)),p("width",i.autoWidth?null:W(i.fixedWidth)||(r?"":w())),p("height",W(i.fixedHeight)||(r?i.autoHeight?null:w():b()),!0),o=t,f(Nn),u!==(u=O())&&(A(l,Ot,u),f("overflow",u)));}function y(n){var t=i.padding,n=s(n?"right":"left");return t&&W(t[n]||(un(t)?0:t))||"0px";}function b(){return W(i.height||N(v).width*i.heightRatio);}function w(){var n=W(i.gap);return "calc((100%"+(n&&" + "+n)+")/"+(i.perPage||1)+(n&&" - "+n)+")";}function x(){return N(v)[s("width")];}function k(n,t){n=h(n||0);return n?N(n.slide)[s("width")]+(t?0:L()):0;}function S(n,t){var i,n=h(n);return n?(n=N(n.slide)[s("right")],i=N(v)[s("left")],U(n-i)+(t?0:L())):0;}function E(n){return S(t.length-1)-S(0)+k(0,n);}function L(){var n=h(0);return n&&parseFloat(_(n.slide,s("marginRight")))||0;}function O(){return t.is(It)||E(!0)>x();}
2return {mount:function(){var n,t,i;g(),c(window,"resize load",(n=R(f,jn),i=qn(t||0,n,null,1),function(){i.isPaused()&&i.start();})),e([K,J],g),e(jn,m);},resize:m,listSize:x,slideSize:k,sliderSize:E,totalSize:S,getPadding:function(n){return parseFloat(_(d,s("padding"+(n?"Right":"Left"))))||0;},isOverflow:O};},Clones:function(c,i,f){var t,r=Q(c),n=r.on,a=i.Elements,s=i.Slides,o=i.Direction.resolve,l=[];function u(){if(n(J,d),n([K,jn],v),t=h()){var o=t,u=s.get().slice(),e=u.length;if(e){for(;u.length<o;)k(u,u);k(u.slice(-o),u.slice(0,o)).forEach(function(n,t){var i=t<o,r=function(n,t){n=n.cloneNode(!0);return M(n,f.classes.clone),n.id=c.root.id+"-clone"+An(t+1),n;}(n.slide,t);i?O(r,u[0].slide):L(a.list,r),k(l,r),s.register(r,t-o+(i?0:e),n.index);});}i.Layout.resize(!0);}}function d(){e(),u();}function e(){T(l),D(l),r.destroy();}function v(){var n=h();t!==n&&(t<n||!n)&&r.emit(J);}function h(){var n,t=f.clones;return c.is(Pt)?en(t)&&(t=(n=f[o("fixedWidth")]&&i.Layout.slideSize(0))&&kn(N(a.track)[o("width")]/n)||f[o("autoWidth")]&&c.length||2*f.perPage):t=0,t;}
2return {mount:u,destroy:e};},Move:function(r,c,o){var e,n=Q(r),t=n.on,f=n.emit,a=r.state.set,u=(n=c.Layout).slideSize,i=n.getPadding,s=n.totalSize,l=n.listSize,d=n.sliderSize,v=(n=c.Direction).resolve,h=n.orient,p=(n=c.Elements).list,g=n.track;function m(){c.Controller.isBusy()||(c.Scroll.cancel(),y(r.index),c.Slides.update());}function y(n){b(S(n,!0));}function b(n,t){r.is(It)||(t=t?n:function(n){var t,i;r.is(Pt)&&(t=k(n),i=t>c.Controller.getEnd(),(t<0||i)&&(n=w(n,i)));;return n;}(n),_(p,"transform","translate"+v("X")+"("+t+"px)"),n!==t&&f(Un));}function w(n,t){var i=n-L(t),r=d();return n-=h(r*(kn(U(i)/r)||1))*(t?1:-1);}function x(){b(E(),!0),e.cancel();}function k(n){for(var t=c.Slides.get(),i=0,r=1/0,o=0;o<t.length;o++){var u=t[o].index,e=U(S(u,!0)-n);if(!(e<=r))break;r=e,i=u;}return i;}function S(n,t){var i=h(s(n-1)-(n=n,"center"===(i=o.focus)?(l()-u(n,!0))/2:+i*u(n)||0));return t?(n=i,n=o.trimSpace&&r.is(Mt)?q(n,0,h(d(!0)-l())):n):i;}function E(){var n=v("left");return N(p)[n]-N(g)[n]+h(i(!1));}function L(n){return S(n?c.Controller.getEnd():0,!!o.trimSpace);}
2return {mount:function(){e=c.Transition,t([B,Nn,K,J],m);},move:function(n,t,i,r){var o,u;n!==t&&(o=i<n,u=h(w(E(),o)),o?0<=u:u<=p[v("scrollWidth")]-N(g)[v("width")])&&(x(),b(w(E(),i<n),!0)),a(G),f(H,t,i,n),e.start(t,function(){a(3),f(Dn,t,i,n),r&&r();});},jump:y,translate:b,shift:w,cancel:x,toIndex:k,toPosition:S,getPosition:E,getLimit:L,exceededLimit:function(n,t){t=en(t)?E():t;var i=!0!==n&&h(t)<h(L(!1)),n=!1!==n&&h(t)>h(L(!0));return i||n;},reposition:m};},Controller:function(o,u,e){var c,f,a,s,n=Q(o),t=n.on,i=n.emit,l=u.Move,d=l.getPosition,r=l.getLimit,v=l.toPosition,h=(n=u.Slides).isEnough,p=n.getLength,g=e.omitEnd,m=o.is(Pt),y=o.is(Mt),b=R(L,!1),w=R(L,!0),x=e.start||0,k=x;function S(){f=p(!0),a=e.perMove,s=e.perPage,c=_();var n=q(x,0,g?c:f-1);n!==x&&(x=n,l.reposition());}function E(){c!==_()&&i("ei");}function L(n,t){var i=a||(P()?1:s),i=O(x+i*(n?-1:1),x,!(a||P()));return -1===i&&y&&!Sn(d(),r(!n),1)?n?0:c:t?i:A(i);}function O(n,t,i){var r;return h()||P()?((r=function(n){if(y&&"move"===e.trimSpace&&n!==x)for(var t=d();t===v(n,!0)&&En(n,0,o.length-1,!e.rewind);)n<x?--n:++n;return n;}(n))!==n&&(t=n,n=r,i=!1),n<0||c<n?n=a||!En(0,n,t,!0)&&!En(c,t,n,!0)?m?i?n<0?-(f%s||s):f:n:e.rewind?n<0?c:0:-1:z(D(n)):i&&n!==t&&(n=z(D(t)+(n<t?-1:1)))):n=-1,n;}function A(n){return m?(n+f)%f||0:n;}function _(){for(var n=f-(P()||m&&a?1:s);g&&0<n--;)if(v(f-1,!0)!==v(n,!0)){n++;break;}return q(n,0,f-1);}function z(n){return q(P()?n:s*n,0,c);}function D(n){return P()?Y(n,c):xn((c<=n?f-1:n)/s);}function M(n){n!==x&&(k=x,x=n);}function P(){return !en(e.focus)||e.isNavigation;}function I(){return o.state.is([G,rn])&&!!e.waitForTransition;}
2return {mount:function(){S(),t([K,J,"ei"],S),t(Nn,E);},go:function(n,t,i){var r;I()||-1<(r=A(n=function(n){var t=x;var i,r;C(n)?(r=n.match(/([+\-<>])(\d+)?/)||[],i=r[1],r=r[2],"+"===i||"-"===i?t=O(x+ +(""+i+(+r||1)),x):">"===i?t=r?z(+r):b(!0):"<"===i&&(t=w(!0))):t=m?n:q(n,0,c);;return t;}(n)))&&(t||r!==x)&&(M(r),l.move(n,r,k,i));},scroll:function(n,t,i,r){u.Scroll.scroll(n,t,i,function(){var n=A(l.toIndex(d()));M(g?Y(n,c):n),r&&r();});},getNext:b,getPrev:w,getAdjacent:L,getEnd:_,setIndex:M,getIndex:function(n){return n?k:x;},toIndex:z,toPage:D,toDest:function(n){return n=l.toIndex(n),y?q(n,0,c):n;},hasFocus:P,isBusy:I};},Arrows:function(o,n,t){var i,r,u=Q(o),e=u.on,c=u.bind,f=u.emit,a=t.classes,s=t.i18n,l=n.Elements,d=n.Controller,v=l.arrows,h=l.track,p=v,g=l.prev,m=l.next,y={};function b(){var n=t.arrows;!n||g&&m||(p=v||j("div",a.arrows),g=S(!0),m=S(!1),i=!0,L(p,[g,m]),v||O(p,h)),g&&m&&(an(y,{prev:g,next:m}),ln(p,n?"":"none"),M(p,r=dt+"--"+t.direction),n&&(e([B,Dn,J,V,"ei"],E),c(m,"click",R(k,">")),c(g,"click",R(k,"<")),E(),I([g,m],Kn,h.id),f("arrows:mounted",g,m))),e(K,w);}function w(){x(),b();}function x(){u.destroy(),X(p,r),i?(T(v?[g,m]:p),g=m=null):P([g,m],ut);}function k(n){d.go(n,!0);}function S(n){return hn('<button class="'+a.arrow+" "+(n?a.prev:a.next)+'" type="button"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" width="40" height="40" focusable="false"><path d="'+(t.arrowPath||"m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z")+'" />');}function E(){var n,t,i,r;g&&m&&(r=o.index,n=d.getPrev(),t=d.getNext(),i=-1<n&&r<n?s.last:s.prev,r=-1<t&&t<r?s.first:s.next,g.disabled=n<0,m.disabled=t<0,I(g,nn,i),I(m,nn,r),f("arrows:updated",g,m,n,t));}return {arrows:y,mount:b,destroy:x,update:E};},Autoplay:function(n,t,i){var r,o,u=Q(n),e=u.on,c=u.bind,f=u.emit,a=qn(i.interval,n.go.bind(n,">"),function(n){var t=l.bar;t&&_(t,"width",100*n+"%"),f("autoplay:playing",n);}),s=a.isPaused,l=t.Elements,d=(u=t.Elements).root,v=u.toggle,h=i.autoplay,p="pause"===h;function g(){s()&&t.Slides.isEnough()&&(a.start(!i.resetProgress),o=r=p=!1,b(),f(Fn));}function m(n){p=!!(n=void 0===n?!0:n),b(),s()||(a.pause(),f(Xn));}function y(){p||(r||o?m(!1):g());}function b(){v&&(A(v,tn,!p),I(v,nn,i.i18n[p?"play":"pause"]));}function w(n){n=t.Slides.getAt(n);a.set(n&&+z(n.slide,Ct)||i.interval);}
2return {mount:function(){h&&(i.pauseOnHover&&c(d,"mouseenter mouseleave",function(n){r="mouseenter"===n.type,y();}),i.pauseOnFocus&&c(d,"focusin focusout",function(n){o="focusin"===n.type,y();}),v&&c(v,"click",function(){p?g():m(!0);}),e([H,Tn,J],a.rewind),e(H,w),v&&I(v,Kn,l.track.id),p||g(),b());},destroy:a.cancel,play:g,pause:m,isPaused:s};},Cover:function(n,t,i){var r=Q(n).on;function o(i){t.Slides.forEach(function(n){var t=fn(n.container||n.slide,"img");t&&t.src&&u(i,t,n);});}function u(n,t,i){i.style("background",n?'center/cover no-repeat url("'+t.src+'")':"",!0),ln(t,n?"none":"");}return {mount:function(){i.cover&&(r(Wn,R(u,!0)),r([B,K,J],R(o,!0)));},destroy:R(o,!1)};},Scroll:function(n,c,u){var f,a,t=Q(n),i=t.on,s=t.emit,l=n.state.set,d=c.Move,v=d.getPosition,e=d.getLimit,h=d.exceededLimit,p=d.translate,g=n.is(Mt),m=1;function y(n,t,i,r,o){var u,e=v(),i=(x(),!i||g&&h()||(i=c.Layout.sliderSize(),u=Ln(n)*i*xn(U(n)/i)||0,n=d.toPosition(c.Controller.toDest(n%i))+u),Sn(e,n,1));m=1,t=i?0:t||wn(U(n-e)/1.5,800),a=r,f=qn(t,b,R(w,e,n,o),1),l(rn),s(Tn),f.start();}function b(){l(3),a&&a(),s(V);}function w(n,t,i,r){var o=v(),r=(n+(t-n)*(t=r,(n=u.easingFunc)?n(t):1-Math.pow(1-t,4))-o)*m;p(o+r),g&&!i&&h()&&(m*=.6,U(r)<10&&y(e(h(!0)),600,!1,a,!0));}function x(){f&&f.cancel();}function r(){f&&!f.isPaused()&&(x(),b());}
2return {mount:function(){i(H,x),i([K,J],r);},destroy:x,scroll:y,cancel:r};},Drag:function(e,o,c){var f,t,u,a,s,l,d,v,n=Q(e),i=n.on,h=n.emit,p=n.bind,g=n.unbind,m=e.state,y=o.Move,b=o.Scroll,w=o.Controller,x=o.Elements.track,k=o.Media.reduce,r=(n=o.Direction).resolve,S=n.orient,E=y.getPosition,L=y.exceededLimit,O=!1;function j(){var n=c.drag;C(!n),a="free"===n;}function N(n){var t,i,r;l=!1,d||(t=R(n),i=n.target,r=c.noDrag,cn(i,"."+mt+", ."+vt)||r&&cn(i,r)||!t&&n.button||(w.isBusy()?F(n,!0):(v=t?x:window,s=m.is([G,rn]),u=null,p(v,zt,A,jt),p(v,Dt,_,jt),y.cancel(),b.cancel(),z(n))));}function A(n){var t,i,r,o,u;m.is(6)||(m.set(6),h("drag")),n.cancelable&&(s?(y.translate(f+D(n)/(O&&e.is(Mt)?5:1)),u=200<M(n),t=O!==(O=L()),(u||t)&&z(n),l=!0,h("dragging"),F(n)):U(D(u=n))>U(D(u,!0))&&(t=n,i=c.dragMinThreshold,r=un(i),o=r&&i.mouse||0,r=(r?i.touch:+i)||10,s=U(D(t))>(R(t)?r:o),F(n)));}function _(n){var t,i,r;m.is(6)&&(m.set(3),h("dragged")),s&&(i=function(n){return E()+Ln(n)*Y(U(n)*(c.flickPower||600),a?1/0:o.Layout.listSize()*(c.flickMaxPages||1));}(t=function(n){if(e.is(Pt)||!O){var t=M(n);if(t&&t<200)return D(n)/t;}return 0;}(t=n)),r=c.rewind&&c.rewindByDrag,k(!1),a?w.scroll(i,0,c.snap):e.is(It)?w.go(S(Ln(t))<0?r?"<":"-":r?">":"+"):e.is(Mt)&&O&&r?w.go(L(!0)?">":"<"):w.go(w.toDest(i),!0),k(!0),F(n)),g(v,zt,A),g(v,Dt,_),s=!1;}function T(n){!d&&l&&F(n,!0);}function z(n){u=t,t=n,f=E();}function D(n,t){return I(n,t)-I(P(n),t);}function M(n){return mn(n)-mn(P(n));}function P(n){return t===n&&u||t;}function I(n,t){return (R(n)?n.changedTouches[0]:n)["page"+r(t?"Y":"X")];}function R(n){return "undefined"!=typeof TouchEvent&&n instanceof TouchEvent;}function C(n){d=n;}
2return {mount:function(){p(x,zt,on,jt),p(x,Dt,on,jt),p(x,_t,N,jt),p(x,"click",T,{capture:!0}),p(x,"dragstart",F),i([B,K],j);},disable:C,isDragging:function(){return s;}};},Keyboard:function(t,n,i){var r,o,u=Q(t),e=u.on,c=u.bind,f=u.unbind,a=t.root,s=n.Direction.resolve;function l(){var n=i.keyboard;n&&(r="global"===n?window:a,c(r,Gt,h));}function d(){f(r,Gt);}function v(){var n=o;o=!0,p(function(){o=n;});}function h(n){o||((n=Tt(n))===s(Bn)?t.go("<"):n===s(Hn)&&t.go(">"));}return {mount:function(){l(),e(K,d),e(K,l),e(H,v);},destroy:d,disable:function(n){o=n;}};},LazyLoad:function(i,n,o){var t=Q(i),r=t.on,u=t.off,e=t.bind,c=t.emit,f="sequential"===o.lazyLoad,a=[Dn,V],s=[];function l(){D(s),n.Slides.forEach(function(r){gn(r.slide,Wt).forEach(function(n){var t=z(n,Ft),i=z(n,Xt);t===n.src&&i===n.srcset||(t=o.classes.spinner,t=fn(i=n.parentElement,"."+t)||j("span",t,i),s.push([n,r,t]),n.src||ln(n,"none"));});}),(f?p:(u(a),r(a,d),d))();}function d(){(s=s.filter(function(n){var t=o.perPage*((o.preloadPages||1)+1)-1;return !n[1].isWithin(i.index,t)||v(n);})).length||u(a);}function v(n){var t=n[0];M(n[1].slide,Et),e(t,"load error",R(h,n)),I(t,"src",z(t,Ft)),I(t,"srcset",z(t,Xt)),P(t,Ft),P(t,Xt);}function h(n,t){var i=n[0],r=n[1];X(r.slide,Et),"error"!==t.type&&(T(n[2]),ln(i,""),c(Wn,i,r),c(jn)),f&&p();}function p(){s.length&&v(s.shift());}
2return {mount:function(){o.lazyLoad&&(l(),r(J,l));},destroy:R(D,s),check:d};},Pagination:function(l,n,d){var v,h,t=Q(l),p=t.on,g=t.emit,m=t.bind,y=n.Slides,b=n.Elements,w=n.Controller,x=w.hasFocus,r=w.getIndex,e=w.go,c=n.Direction.resolve,k=b.pagination,S=[];function E(){v&&(T(k?o(v.children):v),X(v,h),D(S),v=null),t.destroy();}function L(n){e(">"+n,!0);}function O(n,t){var i=S.length,r=Tt(t),o=A(),u=-1,o=(r===c(Hn,!1,o)?u=++n%i:r===c(Bn,!1,o)?u=(--n+i)%i:"Home"===r?u=0:"End"===r&&(u=i-1),S[u]);o&&(dn(o.button),e(">"+u),F(t,!0));}function A(){return d.paginationDirection||d.direction;}function _(n){return S[w.toPage(n)];}function z(){var n,t=_(r(!0)),i=_(r());t&&(X(n=t.button,tn),P(n,Qn),I(n,$,-1)),i&&(M(n=i.button,tn),I(n,Qn,!0),I(n,$,"")),g("pagination:updated",{list:v,items:S},t,i);}return {items:S,mount:function n(){E(),p([K,J,"ei"],n);var t=d.pagination;if(k&&ln(k,t?"":"none"),t){p([H,Tn,V],z);var t=l.length,i=d.classes,r=d.i18n,o=d.perPage,u=x()?w.getEnd()+1:kn(t/o);M(v=k||j("ul",i.pagination,b.track.parentElement),h=gt+"--"+A()),I(v,Z,"tablist"),I(v,nn,r.select),I(v,nt,A()===Jn?"vertical":"");for(var e=0;e<u;e++){var c=j("li",null,v),f=j("button",{class:i.page,type:"button"},c),a=y.getIn(e).map(function(n){return n.slide.id;}),s=!x()&&1<o?r.pageX:r.slideX;m(f,"click",R(L,e)),d.paginationKeyboard&&m(f,"keydown",R(O,e)),I(c,Z,"presentation"),I(f,Z,"tab"),I(f,Kn,a.join(" ")),I(f,nn,On(s,e+1)),I(f,$,-1),S.push({li:c,button:f,page:e});}z(),g("pagination:mounted",{list:v,items:S},_(l.index));}},destroy:E,getAt:_,update:z};},Sync:function(i,n,t){var r=t.isNavigation,o=t.slideFocus,u=[];function e(){var n,t;i.splides.forEach(function(n){n.isParent||(f(i,n.splide),f(n.splide,i));}),r&&(n=Q(i),(t=n.on)(Mn,s),t(Yn,l),t([B,K],a),u.push(n),n.emit(Gn,i.splides));}function c(){u.forEach(function(n){n.destroy();}),D(u);}function f(n,r){n=Q(n);n.on(H,function(n,t,i){r.go(r.is(Pt)?i:n);}),u.push(n);}function a(){I(n.Elements.list,nt,t.direction===Jn?"vertical":"");}function s(n){i.go(n.index);}function l(n,t){b(Yt,Tt(t))&&(s(n),F(t));}return {setup:R(n.Media.set,{slideFocus:en(o)?r:o},!0),mount:e,destroy:c,remount:function(){c(),e();}};},Wheel:function(e,c,f){var n=Q(e).bind,a=0;function t(n){var t,i,r,o,u;n.cancelable&&(t=(u=n.deltaY)<0,i=mn(n),r=f.wheelMinThreshold||0,o=f.wheelSleep||0,U(u)>r&&o<i-a&&(e.go(t?"<":">"),a=i),u=t,f.releaseWheel&&!e.state.is(G)&&-1===c.Controller.getAdjacent(u)||F(n));}
2return {mount:function(){f.wheel&&n(c.Elements.track,"wheel",t,jt);}};},Live:function(n,t,i){var r=Q(n).on,o=t.Elements.track,u=i.live&&!i.isNavigation,e=j("span",wt),c=qn(90,R(f,!1));function f(n){I(o,rt,n),n?(L(o,e),c.start()):(T(e),c.cancel());}function a(n){u&&I(o,it,n?"off":"polite");}return {mount:function(){u&&(a(!t.Autoplay.isPaused()),I(o,ot,!0),e.textContent="â¦",r(Fn,R(a,!0)),r(Xn,R(a,!1)),r([Dn,V],R(f,!0)));},disable:a,destroy:function(){P(o,[it,ot,rt]),T(e);}};}}),qt={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:{slide:at,clone:st,arrows:dt,arrow:vt,prev:ht,next:pt,pagination:gt,page:mt,spinner:i+"spinner"},i18n:{prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function Bt(n,t,i){var r=t.Slides;function o(){r.forEach(function(n){n.style("transform","translateX(-"+100*n.index+"%)");});}
2return {mount:function(){Q(n).on([B,J],o);},start:function(n,t){r.style("transition","opacity "+i.speed+"ms "+i.easing),p(t);},cancel:on};}function Ht(u,n,e){var c,f=n.Move,a=n.Controller,s=n.Scroll,t=n.Elements.list,l=R(_,t,"transition");function i(){l(""),s.cancel();}return {mount:function(){Q(u).bind(t,"transitionend",function(n){n.target===t&&c&&(i(),c());});},start:function(n,t){var i=f.toPosition(n,!0),r=f.getPosition(),o=function(n){var t=e.rewindSpeed;if(u.is(Mt)&&t){var i=a.getIndex(!0),r=a.getEnd();if(0===i&&r<=n||r<=i&&0===n)return t;}return e.speed;}(n);1<=U(i-r)&&1<=o?e.useScroll?s.scroll(i,o,!1,t):(l("transform "+o+"ms "+e.easing),f.translate(i,!0),c=t):(f.jump(n),t());},cancel:i};}t=function(){function i(n,t){this.event=Q(),this.Components={},this.state=s(1),this.splides=[],this.n={},this.t={};n=C(n)?pn(document,n):n;bn(n,n+" is invalid."),t=d({label:z(this.root=n,nn)||"",labelledby:z(n,Zn)||""},qt,i.defaults,t||{});try{d(t,JSON.parse(z(n,f)));}catch(n){bn(!1,"Invalid JSON");}this.n=Object.create(d({},t));}var n=i.prototype;return n.mount=function(n,t){var i=this,r=this.state,o=this.Components;return bn(r.is([1,7]),"Already mounted!"),r.set(1),this.i=o,this.r=t||this.r||(this.is(It)?Bt:Ht),this.t=n||this.t,w(an({},Ut,this.t,{Transition:this.r}),function(n,t){n=n(i,o,i.n);(o[t]=n).setup&&n.setup();}),w(o,function(n){n.mount&&n.mount();}),this.emit(B),M(this.root,"is-initialized"),r.set(3),this.emit("ready"),this;},n.sync=function(n){return this.splides.push({splide:n}),n.splides.push({splide:this,isParent:!0}),this.state.is(3)&&(this.i.Sync.remount(),n.Components.Sync.remount()),this;},n.go=function(n){return this.i.Controller.go(n),this;},n.on=function(n,t){return this.event.on(n,t),this;},n.off=function(n){return this.event.off(n),this;},n.emit=function(n){var t;return (t=this.event).emit.apply(t,[n].concat(o(arguments,1))),this;},n.add=function(n,t){return this.i.Slides.add(n,t),this;},n.remove=function(n){return this.i.Slides.remove(n),this;},n.is=function(n){return this.n.type===n;},n.refresh=function(){return this.emit(J),this;},n.destroy=function(t){void 0===t&&(t=!0);var n=this.event,i=this.state;return i.is(1)?Q(this).on("ready",this.destroy.bind(this,t)):(w(this.i,function(n){n.destroy&&n.destroy(t);},!0),n.emit(a),n.destroy(),t&&D(this.splides),i.set(7)),this;},Jt(i,[{key:"options",get:function(){return this.n;},set:function(n){this.i.Media.set(n,!0,!0);}},{key:"length",get:function(){return this.i.Slides.getLength(!0);}},{key:"index",get:function(){return this.i.Controller.getIndex();}}]),i;}();return t.defaults={},t.STATES=r,t;},"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(n="undefined"!=typeof globalThis?globalThis:n||self).Splide=t();; 3(function(O){typeof define=="function"&&define.amd?define(O):O();})(function(){"use strict";function O(n){n.length=0;}function M(n,t,r){return Array.prototype.slice.call(n,t,r);}function D(n){return n.bind.apply(n,[null].concat(M(arguments,1)));}function V(n,t){return typeof t===n;}var Q=Array.isArray;D(V,"function"),D(V,"string"),D(V,"undefined");function X(n){return Q(n)?n:[n];}function Z(n,t){X(n).forEach(t);}var En=Object.keys;function hn(n,t,r){if(n){var i=En(n);i=r?i.reverse():i;for(var f=0;f<i.length;f++){var c=i[f];if(c!=="__proto__"&&t(n[c],c)===!1)break;}}return n;}function pn(n){return M(arguments,1).forEach(function(t){hn(t,function(r,i){n[i]=t[i];});}),n;}var j="splide";function mn(){var n=[];function t(u,a,v,l){f(u,a,function(d,p,m){var A="addEventListener" in d,C=A?d.removeEventListener.bind(d,p,v,l):d.removeListener.bind(d,v);A?d.addEventListener(p,v,l):d.addListener(v),n.push([d,p,m,v,C]);});}function r(u,a,v){f(u,a,function(l,d,p){n=n.filter(function(m){return m[0]===l&&m[1]===d&&m[2]===p&&(!v||m[3]===v)?(m[4](),!1):!0;});});}function i(u,a,v){var l,d=!0;return typeof CustomEvent=="function"?l=new CustomEvent(a,{bubbles:d,detail:v}):(l=document.createEvent("CustomEvent"),l.initCustomEvent(a,d,!1,v)),u.dispatchEvent(l),l;}function f(u,a,v){Z(u,function(l){l&&Z(a,function(d){d.split(" ").forEach(function(p){var m=p.split(".");v(l,m[0],m[1]);});});});}
3function c(){n.forEach(function(u){u[4]();}),O(n);}return {bind:t,unbind:r,dispatch:i,destroy:c};}var gn="visible",_n="hidden",F="refresh",yn="updated",An="destroy";function k(n){var t=n?n.event.bus:document.createDocumentFragment(),r=mn();function i(c,u){r.bind(t,X(c).join(" "),function(a){u.apply(u,Q(a.detail)?a.detail:[]);});}function f(c){r.dispatch(t,c,M(arguments,1));}return n&&n.event.on(An,r.destroy),pn(r,{bus:t,on:i,off:D(r.unbind,t),emit:f});}var Cn=j,T=j+"__slide",wn=T+"__container";function nn(n){n.length=0;}function N(n,t,r){return Array.prototype.slice.call(n,t,r);}function H(n){return n.bind.apply(n,[null].concat(N(arguments,1)));}function $(n,t){return typeof t===n;}function Ln(n){return !P(n)&&$("object",n);}var U=Array.isArray;H($,"function");var B=H($,"string"),Sn=H($,"undefined");function P(n){return n===null;}function bn(n){return n instanceof HTMLElement;}function q(n){return U(n)?n:[n];}function w(n,t){q(n).forEach(t);}function tn(n,t){return n.push.apply(n,q(t)),n;}function rn(n,t,r){n&&w(t,function(i){i&&n.classList[r?"add":"remove"](i);});}function G(n,t){rn(n,B(t)?t.split(" "):t,!0);}function x(n,t){w(t,n.appendChild.bind(n));}function On(n,t){return bn(n)&&(n.msMatchesSelector||n.matches).call(n,t);}function Dn(n,t){var r=n?N(n.children):[];return t?r.filter(function(i){return On(i,t);}):r;}function on(n,t){return t?Dn(n,t)[0]:n.firstElementChild;}var en=Object.keys;function un(n,t,r){if(n){var i=en(n);i=r?i.reverse():i;for(var f=0;f<i.length;f++){var c=i[f];if(c!=="__proto__"&&t(n[c],c)===!1)break;}}return n;}function Tn(n){return N(arguments,1).forEach(function(t){un(t,function(r,i){n[i]=t[i];});}),n;}function Nn(n,t){q(t||en(n)).forEach(function(r){delete n[r];});}function J(n,t){w(n,function(r){w(t,function(i){r&&r.removeAttribute(i);});});}function K(n,t,r){Ln(t)?un(t,function(i,f){K(n,f,i);}):w(n,function(i){P(r)||r===""?J(i,t):i.setAttribute(t,String(r));});}function fn(n,t,r){var i=document.createElement(n);return t&&(B(t)?G(i,t):K(i,t)),r&&x(r,i),i;}function g(n,t,r){if(Sn(r))return getComputedStyle(n)[t];P(r)||(n.style[t]=""+r);}function $n(n,t){return n&&n.classList.contains(t);}function xn(n){w(n,function(t){t&&t.parentNode&&t.parentNode.removeChild(t);});}function cn(n,t){return t?N(n.querySelectorAll(t)):[];}function an(n,t){rn(n,t,!1);}function I(n){return B(n)?n:n?n+"px":"";}var In="splide";function Rn(n,t){if(!n)throw new Error("["+In+"] "+(t||""));}var Mn=Math.min,qn=Math.max,Gn=Math.floor,Jn=Math.ceil,Kn=Math.abs;function Vn(n){return n<10?"0"+n:""+n;}var sn=T+"__row",W=T+"--col",Fn={rows:1,cols:1,dimensions:[],gap:{}};function Hn(n){function t(){var f=n.rows,c=n.cols,u=n.dimensions;return U(u)&&u.length?u:[[f,c]];}function r(f){var c=t();return c[Mn(f,c.length-1)];}function i(f){for(var c=t(),u,a,v=0,l=0;l<c.length;l++){var d=c[l];if(u=d[0]||1,a=d[1]||1,v+=u*a,f<v)break;}return Rn(u&&a,"Invalid dimension"),[u,a];}return {get:r,getAt:i};}function Un(n,t,r){var i=k(n),f=i.on,c=i.destroy,u=n.Components,a=n.options,v=u.Direction.resolve,l=u.Slides.forEach;function d(){m(),a.slideFocus&&(f(gn,Y),f(_n,z));}function p(){l(function(e){var s=e.slide;b(s,!1),R(s).forEach(function(o){J(o,"style");}),L(s).forEach(function(o){S(o,!0),J(o,"style");});}),c();}function m(){l(function(e){var s=e.slide,o=r.get(e.isClone?e.slideIndex:e.index),E=o[0],h=o[1];A(E,s),C(h,s),L(e.slide).forEach(function(_,y){_.id=e.slide.id+"-col"+Vn(y+1),n.options.cover&&S(_);});});}function A(e,s){var o=t.gap.row,E="calc("+100/e+"%"+(o?" - "+I(o)+" * "+(e-1)/e:"")+")";R(s).forEach(function(h,_,y){g(h,"height",E),g(h,"display","flex"),g(h,"margin","0 0 "+I(o)+" 0"),g(h,"padding",0),_===y.length-1&&g(h,"marginBottom",0);});}function C(e,s){var o=t.gap.col,E="calc("+100/e+"%"+(o?" - "+I(o)+" * "+(e-1)/e:"")+")";L(s).forEach(function(h,_,y){g(h,"width",E),_!==y.length-1&&g(h,v("marginRight"),I(o));});}function S(e,s){var o=on(e,"."+wn),E=on(o||e,"img");E&&E.src&&(g(o||e,"background",s?"":'center/cover no-repeat url("'+E.src+'")'),g(E,"display",s?"":"none"));}function R(e){return cn(e,"."+sn);}function L(e){return cn(e,"."+W);}function b(e,s){L(e).forEach(function(o){K(o,"tabindex",s?0:null);});}function Y(e){b(e.slide,!0);}function z(e){b(e.slide,!1);}
3return {mount:d,destroy:p};}function Bn(n,t,r){var i=k(n),f=i.on,c=i.off,u=t.Elements,a={},v=Hn(a),l=Un(n,a,v),d=Cn+"--grid",p=[];function m(){A(),f(yn,A);}function A(){Nn(a),Tn(a,Fn,r.grid||{}),z()?(C(),tn(p,u.slides),G(n.root,d),x(u.list,L()),c(F),f(F,R),S()):e()&&(C(),S());}function C(){if(e()){var s=u.slides;l.destroy(),p.forEach(function(o){an(o,W),x(u.list,o);}),xn(s),an(n.root,d),nn(s),tn(s,p),nn(p),c(F);}}function S(){n.refresh();}function R(){e()&&l.mount();}function L(){var s=[],o=0,E=0,h,_;return p.forEach(function(y,Pn){var dn=v.getAt(Pn),ln=dn[0],vn=dn[1];E||(o||(h=fn(y.tagName,T),s.push(h)),_=b(ln,y,h)),Y(vn,y,_),++E>=vn&&(E=0,o=++o>=ln?0:o);}),s;}function b(s,o,E){var h=o.tagName.toLowerCase()==="li"?"ul":"div";return fn(h,sn,E);}function Y(s,o,E){return G(o,W),x(E,o),o;}function z(){if(r.grid){var s=a.rows,o=a.cols,E=a.dimensions;return s>1||o>1||U(E)&&E.length>0;}return !1;}function e(){return $n(n.root,d);}return {mount:m,destroy:C};}typeof window<"u"&&(window.splide=window.splide||{},window.splide.Extensions=window.splide.Extensions||{},window.splide.Extensions.Grid=Bn);});; 4(function(){var __webpack_exports__={};function _createForOfIteratorHelper(a,b){var c="undefined"!=typeof Symbol&&a[Symbol.iterator]||a["@@iterator"];if(!c){if(Array.isArray(a)||(c=_unsupportedIterableToArray(a))||b&&a&&"number"==typeof a.length){c&&(a=c);var d=0,e=function(){};return {s:e,n:function n(){return d>=a.length?{done:!0}:{done:!1,value:a[d++]};},e:function e(a){throw a;},f:e};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var f,g=!0,h=!1;return {s:function s(){c=c.call(a);},n:function n(){var a=c.next();return g=a.done,a;},e:function e(a){h=!0,f=a;},f:function f(){try{g||null==c.return||c.return();}finally{if(h)throw f;}}};}function _unsupportedIterableToArray(a,b){if(a){if("string"==typeof a)return _arrayLikeToArray(a,b);var c=Object.prototype.toString.call(a).slice(8,-1);return "Object"===c&&a.constructor&&(c=a.constructor.name),"Map"===c||"Set"===c?Array.from(a):"Arguments"===c||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c)?_arrayLikeToArray(a,b):void 0;}}function _arrayLikeToArray(a,b){(null==b||b>a.length)&&(b=a.length);for(var c=0,d=Array(b);c<b;c++)d[c]=a[c];return d;}window.addEventListener("DOMContentLoaded",function(){var a=document.querySelectorAll(".splide");if(0<a.length){var b,c=_createForOfIteratorHelper(a);try{var d=function _loop(){var a=b.value,c=new Splide(a);c.on("mounted",function(){var b=a.querySelector(".splide__buttons");if(b){var d=a.querySelector(".splide__button--play"),f=a.querySelector(".splide__button--pause");d&&d.addEventListener("click",function(a){var b;a.preventDefault(),d.classList.remove("show"),f.classList.add("show"),null===c||void 0===c||null===(b=c.Components)||void 0===b||b.Autoplay.play();}),f&&f.addEventListener("click",function(a){var b;a.preventDefault(),f.classList.remove("show"),d.classList.add("show"),null===c||void 0===c||null===(b=c.Components)||void 0===b||b.Autoplay.pause();});}});var d="DEVELOPMENT"==window.CONFIG_TYPE?"":window.splide.Extensions;c.mount(d);};for(c.s();!(b=c.n()).done;)d();}catch(a){c.e(a);}finally{c.f();}}var e=document.querySelectorAll(".carousel--images .splide"),f=document.querySelectorAll(".carousel--images_thumbnails .splide");e&&f&&e.forEach(function(a,b){var c=new Splide(a),d=new Splide(f[b],{isNavigation:!0});c.sync(d),c.mount(),d.mount();});});})();;; 5(function(Drupal){Drupal.behaviors.FormsTextSpeach={attach:function(context,settings){const audioContainer=document.querySelector('.audio');let playButton=document.getElementById('playButton');let stopButton=document.getElementById('stopButton');const synth=window.speechSynthesis;let isPlaying=false;let queue=[];let currentIndex=0;let utterance;function splitText(text,maxLength=200){const sentences=text.split(/(?<=[.?!])\s+/);let fragments=[];let currentFragment='';sentences.forEach((sentence)=>{if((currentFragment+sentence).length<=maxLength)currentFragment+=sentence+' ';else{fragments.push(currentFragment.trim());currentFragment=sentence+' ';}});if(currentFragment)fragments.push(currentFragment.trim());return fragments;}function playQueue(){if(currentIndex>=queue.length){isPlaying=false;return;}utterance=new SpeechSynthesisUtterance(queue[currentIndex]);utterance.lang='es-ES';utterance.rate=1;utterance.pitch=1;utterance.onend=()=>{currentIndex++;playQueue();};utterance.onerror=(event)=>{console.error('Error en el sintetizador:',event.error);isPlaying=false;};synth.speak(utterance);}function playText(){if(isPlaying)return;synth.cancel();const textToRead=audioContainer.innerText.trim();queue=splitText(textToRead);currentIndex=0;isPlaying=true;playQueue();}function stopText(){synth.cancel();isPlaying=false;}if(audioContainer){once('play-btn',playButton,context).forEach(function(play){play.addEventListener('click',function(){playText();});});once('stop-btn',stopButton,context).forEach(function(stop){stop.addEventListener('click',function(){stopText();});});}}};})(Drupal);; 6(function(S,_){typeof exports=="object"&&typeof module<"u"?module.exports=_():typeof define=="function"&&define.amd?define(_):(S=typeof globalThis<"u"?globalThis:S||self,S.Zoomist=_());})(this,function(){var G,zt,P,yt,F,At,q,Mt,K,It,J,Ct,Q,xt,tt,$t,et,Nt,st,Bt,nt,Wt,it,Ht;"use strict";var pe=Object.defineProperty;var Ee=(S,_,O)=>_ in S?pe(S,_,{enumerable:!0,configurable:!0,writable:!0,value:O}):S[_]=O;var R=(S,_,O)=>(Ee(S,typeof _!="symbol"?_+"":_,O),O),Se=(S,_,O)=>{if(!_.has(S))throw TypeError("Cannot "+O);};var D=(S,_,O)=>{if(_.has(S))throw TypeError("Cannot add the same private member more than once");_ instanceof WeakSet?_.add(S):_.set(S,O);};var w=(S,_,O)=>(Se(S,_,"access private method"),O);const S="",_=(n)=>document.contains(H(n)),O=(n)=>{if(!n)return !1;try{const {constructor:t}=n,{prototype:e}=t,{hasOwnProperty:s}=Object.prototype;return t&&e&&s.call(e,"isPrototypeOf");}catch{return !1;}},pt=(n)=>typeof n=="function",W=(n)=>!isNaN(Number(n)),at=(n)=>n==null,H=(n)=>n instanceof HTMLElement?n:document.querySelector(n),lt=(n,t)=>t?n.closest(`.${t}`):null,X=(n)=>{const t="touches" in n?n.touches[0]:n;return {clientX:t.clientX,clientY:t.clientY};},Z=(n)=>({clientX:[...n].map((t)=>t.clientX).reduce((t,e)=>t+e)/n.length,clientY:[...n].map((t)=>t.clientY).reduce((t,e)=>t+e)/n.length}),L=(n)=>{const {width:t,height:e,top:s,left:i,bottom:a}=n.getBoundingClientRect();return {width:t,height:e,top:s,left:i,bottom:a};},Et=(n)=>n.length>=2?Math.hypot(n[0].clientX-n[1].clientX,n[0].clientY-n[1].clientY):0,I=(n,t)=>{for(const [e,s] of Object.entries(t))typeof s=="string"&&n.style.setProperty(e,s);},C=(n,t)=>{for(const [e,s] of Object.entries(t))n.setAttribute(e,s);},T=(n,t)=>{for(const [e,s] of Object.entries(t))n[e]=s;},z=(n,t,e)=>Math.min(Math.max(n,t),e),Y=(n)=>{const t=+(Math.round(+(n+"e+2"))+"e-2");return isNaN(t)?0:t;},St=(n)=>{throw new Error(n);},ct=(n)=>console.warn(n),x=(n="div",t,e,s)=>{const i=document.createElement(n);return t&&i.classList.add(...t.split(" ")),e&&C(i,e),s&&(i.innerHTML=s),i;},E="zoomist",Zt=`${E}-container`,bt=`${E}-wrapper`,ht=`${E}-image`,Vt=`${E}-not-draggable`,Ut=`${E}-not-wheelable`,$=`${E}-slider`,jt=`${E}-slider-wrapper`,kt=`${E}-slider-bar`,Gt=`${E}-slider-button`,V=`${E}-zoomer`,Pt=`${E}-zoomer-button`,dt=`${E}-zoomer-icon`,ut=`${E}-zoomer-in`,mt=`${E}-zoomer-out`,ft=`${E}-zoomer-reset`,Ft=`${E}-zoomer-disabled`,qt={tabindex:"0",role:"slider","aria-label":"slider for zoomist","aria-valuemin":"
60","aria-valuemax":"100","aria-valuenow":"0","aria-disabled":"false"},gt={tabindex:"0",role:"button",type:"button","aria-disabled":"false"},Kt={...gt,"aria-label":"button for zoom in zoomist"},Jt={...gt,"aria-label":"button for zoom out zoomist"},Qt={...gt,"aria-label":"button for reset zoomist scale"},A=typeof window<"u"&&typeof window.document<"u"&&"ontouchstart" in window,te=A?"touchstart":"mousedown",U=A?"touchmove":"mousemove",j=A?"touchend":"mouseup",ee="wheel",se=["left","right","center"],ne=["top","bottom","center"],Ot="--scale",vt="--translate-x",Tt="--translate-y",ie="--value",Dt={draggable:!0,wheelable:!0,pinchable:!0,bounds:!0,zoomRatio:.1,maxScale:10,minScale:1,initScale:null,dragReleaseOnBounds:!1,wheelReleaseOnMinMax:!1,disableDraggingClass:Vt,disableWheelingClass:Ut},oe={el:null,direction:"horizontal"},re={el:`.${$}`},ae={el:null,inEl:null,outEl:null,resetEl:null,disabledClass:Ft},le={el:`.${V}`,inEl:`.${ut}`,outEl:`.${mt}`,resetEl:`.${ft}`},ce={ready:null,reset:null,resize:null,beforeDestroy:null,destroy:null,beforeUpdate:null,update:null,zoom:null,wheel:null,dragStart:null,drag:null,dragEnd:null,pinchStart:null,pinch:null,pinchEnd:null,slideStart:null,slide:null,slideEnd:null},he={slider:null,zoomer:null},de=` 7<svg viewBox="0 0 12 12" class="${dt}"> 8 <polygon points="12,5.5 6.5,5.5 6.5,0 5.5,0 5.5,5.5 0,5.5 0,6.5 5.5,6.5 5.5,12 6.5,12 6.5,6.5 12,6.5 "/> 9</svg> 10`,ue=` 11<svg viewBox="0 0 12 12" class="${dt}"> 12 <rect y="5.5" width="12" height="1"/> 13</svg> 14`,me=` 15<svg viewBox="0 0 12 12" class="${dt}"> 16 <path d="m7.45,1.27l.35-.22c.26-.17.34-.52.17-.78-.17-.27-.52-.34-.78-.17l-1.54.99-.19.13-.11.46,1.12,1.75c.11.17.29.26.48.26.1,0,.21-.03.31-.09.26-.17.34-.52.17-.78l-.29-.46c1.85.5,3.22,2.17,3.22,4.18,0,2.39-1.95,4.34-4.34,4.34S1.66,8.92,1.66,6.52c0-1.15.44-2.23,1.25-3.05.22-.22.22-.58,0-.8-.22-.22-.58-.22-.8,0-1.02,1.03-1.58,2.4-1.58,3.85,0,3.02,2.46,5.48,5.48,5.48s5.48-2.46,5.48-5.48c0-2.51-1.71-4.62-4.02-5.26Z"/> 17</svg> 18`,fe={on(n,t){if(!t||!pt(t))return this;const {__events__:e}=this;return n.split(" ").forEach((s)=>{const i=s;e[i]||(e[i]=[]),e[i].push(t);}),this;},emit(n,...t){const {__events__:e}=this;return e[n]?(e[n].forEach((s)=>{pt(s)&&s.apply(this,t);}),this):this;},zoom(n,t){const {scale:e}=this.transform,s=this.useFixedRatio(Y(e*(n+1)));return e===s?this:(this.zoomTo(s,t),this);},zoomTo(n,t=!0){const {image:e,transform:{scale:s,translateX:i,translateY:a},options:{bounds:r}}=this;if(n=this.useFixedRatio(n),n===s)return this;if(this.transform.scale=n,!t)return this.emit("zoom",this,this.transform.scale),this;t=typeof t=="boolean"?this.getContainerCenterClient():t;const {clientX:c,clientY:l}=t,{top:d,left:o,width:h,height:m}=L(e),{width:u,height:f}=this.getImageDiff(),b=n/s-1,p=(h/2-c+o)*b+i,g=(m/2-l+d)*b+a,v=r?z(p,u,-u):p,y=r?z(g,f,-f):g;return T(this.transform,{translateX:v,translateY:y}),this.emit("zoom",this,this.transform.scale),this;},move(n){const {options:{bounds:t},transform:{translateX:e,translateY:s}}=this,{x:i,y:a}=n,{width:r,height:c}=this.getImageDiff();if(W(i)){const l=e+i,d=t?z(l,r,-r):l;this.transform.translateX=d;}if(W(a)){const l=s+a,d=t?z(l,c,-c):l;this.transform.translateY=d;}return this;},moveTo(n){const {options:{bounds:t}}=this,{x:e,y:s}=n,{width:i,height:a}=this.getImageDiff();if(W(e)){const r=Number(e),c=t?z(r,i,-i):r;this.transform.translateX=c;}if(se.some((r)=>r===e)){const c={left:-i,right:i,center:0}[e];this.transform.translateX=c;}if(W(s)){const r=Number(s),c=t?z(r,a,-a):r;this.transform.translateY=c;}if(ne.some((r)=>r===s)){const c={top:-a,bottom:a,center:0}[s];this.transform.translateY=c;}return this;},slideTo(n){const {options:{minScale:t,maxScale:e}}=this,s=(e-t)*n/100+t;return this.zoomTo(s),this;},reset(){const {options:{initScale:n}}=this;return T(this.transform,{scale:n,translateX:0,translateY:0}),this.emit("reset",this),this;},destroy(n=!1){const {element:t,image:e,controller:s}=this;return this.mounted&&(this.emit("beforeDestroy",this),s.abort(),this.destroyModules(),n&&e&&(this.reset(),e.removeAttribute("style")),t[E]=null,this.mounted=!1,this.emit("destroy",this)),null;},update(n){const {element:t,controller:e}=this;
vendor: 6,128 bytes, lines 18-20
18return this.emit("beforeUpdate",this),t[E]=null,this.mounted=!1,e.abort(),this.destroyModules(),n&&(this.options=Object.assign({},Dt,O(n)&&n)),this.init(),this.emit("update",this),this;},getImageData(){return {...this.data.imageData};},getContainerData(){return {...this.data.containerData};},getSliderValue(){const {__modules__:{slider:n}}=this;return n&&n.value!==void 0?n.value:null;},isOnBoundTop(){const {options:{bounds:n}}=this;if(!n)return !1;const {transform:{translateY:t}}=this,{height:e}=this.getImageDiff();return t*-1===Y(e);},isOnBoundBottom(){const {options:{bounds:n}}=this;if(!n)return !1;const {transform:{translateY:t}}=this,{height:e}=this.getImageDiff();return t===Y(e);},isOnBoundLeft(){const {options:{bounds:n}}=this;if(!n)return !1;const {transform:{translateX:t}}=this,{width:e}=this.getImageDiff();return t*-1===Y(e);},isOnBoundRight(){const {options:{bounds:n}}=this;if(!n)return !1;const {transform:{translateX:t}}=this,{width:e}=this.getImageDiff();return t===Y(e);},isOnBoundX(){const {options:{bounds:n}}=this;if(!n)return !1;const {transform:{translateX:t}}=this,{width:e}=this.getImageDiff();return Math.abs(t)===Math.abs(Y(e));},isOnBoundY(){const {options:{bounds:n}}=this;if(!n)return !1;const {transform:{translateY:t}}=this,{height:e}=this.getImageDiff();return Math.abs(t)===Math.abs(Y(e));},isOnMinScale(){const {options:{minScale:n}}=this,{transform:{scale:t}}=this;return t===n;},isOnMaxScale(){const {options:{maxScale:n}}=this,{transform:{scale:t}}=this;return t===n;},getImageDiff(){const {width:n,height:t}=this.getContainerData(),{width:e,height:s}=this.getImageData();return {width:(n-e)/2,height:(t-s)/2};},getContainerCenterClient(){const {element:n}=this,{top:t,left:e,width:s,height:i}=L(n);return {clientX:e+s/2,clientY:t+i/2};},getScaleRatio(){const {transform:{scale:n},options:{minScale:t,maxScale:e}}=this;return (n-t)/(e-t);},useFixedRatio(n){const {options:{minScale:t,maxScale:e}}=this;return z(n,t,e);}},{defineProperty:k}=Object;class wt{constructor(t,e){D(this,G);D(this,P);D(this,F);D(this,q);D(this,K);D(this,J);D(this,Q);D(this,tt);D(this,et);D(this,st);D(this,nt);D(this,it);R(this,"element");R(this,"options");R(this,"wrapper");R(this,"image");R(this,"mounted");R(this,"data");R(this,"transform");R(this,"states");R(this,"controller");R(this,"__events__");R(this,"__modules__");t||St("The first argument is required."),_(t)||St(`Element ${t} is not exist.`),this.element=H(t),this.options=Object.assign({},Dt,O(e)&&e),this.init();}init(){const {element:t}=this,{options:{bounds:e,minScale:s,maxScale:i,initScale:a}}=this;if(t[E])return;t[E]=this;const r=t.querySelector(`.${bt}`),c=t.querySelector(`.${ht}`);if(!r)return ct(`${E} needs a ".${bt}" element.`);if(!c)return ct(`${E} needs a ".${ht}" element.`);this.options.minScale=e&&s<1?1:s,this.options.maxScale=Math.max(i,s),this.options.initScale=z(a||s,s,i),this.wrapper=r,this.image=c,w(this,G,zt).call(this);}destroyModules(){const {slider:t,zoomer:e}=this.__modules__;t&&this.destroySlider(),e&&this.destroyZoomer();}destroySlider(){var a,r;const {__modules__:{slider:t}}=this;if(!t||!t.mounted)return;const {options:{el:e},controller:s}=t;e===`.${$}`?(a=t.sliderEl)==null||a.remove():(r=t.sliderTrack)==null||r.remove(),s==null||s.abort(),t.mounted=!1;}destroyZoomer(){const {__modules__:{zoomer:t}}=this;if(!t||!t.mounted)return;const {options:{el:e,inEl:s,outEl:i,resetEl:a},controller:r,zoomerEl:c,zoomerInEl:l,zoomerOutEl:d,zoomerResetEl:o}=t,h=(m,u,f)=>{m===`.${u}`&&(f==null||f.remove());};[{target:e,className:V,el:c},{target:s,className:ut,el:l},{target:i,className:mt,el:d},{target:a,className:ft,el:o}].forEach((m)=>h(m.target,m.className,m.el)),r==null||r.abort(),t.mounted=!1;}}return G=new WeakSet(),zt=function(){const {element:t,image:e,options:s}=this,{draggable:i,pinchable:a}=s,{offsetWidth:r,offsetHeight:c}=t,{offsetWidth:l,offsetHeight:d}=e,{width:o,height:h}=L(e);if(!l||!d)return ct(`The width or height of ${ht} should not be 0.`);if(this.transform={scale:0,translateX:0,translateY:0},this.data={imageData:{originWidth:l,originHeight:d,width:o,height:h},containerData:{width:r,height:c}},A&&(i||a)&&(this.data.touchData={hypot:0,startX:0,startY:0,prevX:0,prevY:0,imageTop:0,imageLeft:0,widthDiff:0,heightDiff:0}),!A&&i&&(this.data.dragData={startX:0,startY:0}),this.__events__={...ce},s.on){for(const [m,u] of Object.entries(s.on))this.__events__[m]=[u];}if(this.__modules__={...he},s.slider){const m=s.slider===!0?re:s.slider;this.__modules__.slider={options:Object.assign({},oe,m)};}if(s.zoomer){const m=s.zoomer===!0?le:s.zoomer;this.__modules__.zoomer={options:Object.assign({},ae,m)};}this.controller=new AbortController(),w(this,P,yt).call(this);},P=new WeakSet(),yt=function(){if(this.mounted)return;const {element:t,image:e,options:{minScale:s,maxScale:i,initScale:a},__modules__:{slider:r,zoomer:c}}=this,l=this;I(e,{transform:` 19 translate(var(${vt}, 0px), var(${Tt}, 0px)) 20 scale(var(${Ot}, 0))`}),k(this.transform,"scale",{get(){return l.transform.__scale__;},set(d){const o=l.useFixedRatio(d);if(!(at(o)||l.transform.__scale__===o)){if(l.transform.__scale__=o,I(e,{[Ot]:o.toString()}),T(l.data.imageData,{width:L(e).width,height:L(e).height}),r){const h=Math.round(l.getScaleRatio()*100);r.value=h;}if(c&&c.options.disabledClass){const {zoomerInEl:h,zoomerOutEl:m,zoomerResetEl:u,options:{disabledClass:f}}=c;h&&(h.classList[o===i?"add":"remove"](f),C(h,{"aria-disabled":o===i?"true":"false"})),m&&(m.classList[o===s?"add":"remove"](f),C(m,{"aria-disabled":o===s?"true":"false"})),u&&(u.classList[o===a?"add":"remove"](f),C(u,{"aria-disabled":o===a?"true":"false"}));}}}}),k(this.transform,"translateX",{get(){return l.transform.__translateX__;},set(d){const o=Y(d);at(o)||l.transform.__translateX__===o||(l.transform.__translateX__=o,I(e,{[vt]:`${o}px`}));}}),k(this.transform,"translateY",{get(){return l.transform.__translateY__;},set(d){const o=Y(d);at(o)||l.transform.__translateY__===o||(l.transform.__translateY__=o,I(e,{[Tt]:`${o}px`}));}}),w(this,F,At).call(this),w(this,tt,$t).call(this),T(this.transform,{scale:a,translateX:0,translateY:0}
20),t.classList.add(Zt),this.mounted=!0,this.emit("ready",this);},F=new WeakSet(),At=function(){const {wrapper:t,options:e,controller:{signal:s}}=this,{draggable:i,pinchable:a,wheelable:r}=e;if(this.states={},r){this.states.wheeling=!1;const c=(l)=>w(this,q,Mt).call(this,l);t.addEventListener(ee,c,{signal:s});}if(A&&(i||a)){i&&(this.states.dragging=!1),a&&(this.states.pinching=!1);const c=(l)=>w(this,J,Ct).call(this,l);t.addEventListener("touchstart",c,{signal:s});}if(!A&&i){this.states.dragging=!1;const c=(l)=>w(this,K,It).call(this,l);t.addEventListener("mousedown",c,{signal:s});}w(this,Q,xt).call(this);},q=new WeakSet(),Mt=function(t){const {options:{zoomRatio:e,wheelReleaseOnMinMax:s,disableWheelingClass:i}}=this,a=(t.deltaY||t.detail)>0?-1:1;if(s){const r=this.isOnMinScale(),c=this.isOnMaxScale();r&&a===-1||c&&a===1||t.preventDefault();}else t.preventDefault();this.states.wheeling||lt(t.target,i)||(this.states.wheeling=!0,setTimeout(()=>{this.states.wheeling=!1;},30),this.zoom(a*e,X(t)),this.emit("wheel",this,this.transform.scale,t));},K=new WeakSet(),It=function(t){const {data:e,transform:s,options:{disableDraggingClass:i}}=this,{dragData:a,imageData:r}=e;if(!a||!r)return;const c=(o)=>{o&&o.button!==0||(o.preventDefault(),!lt(o.target,i)&&(T(a,{startX:X(o).clientX,startY:X(o).clientY}),this.states.dragging=!0,this.emit("dragStart",this,{x:s.translateX,y:s.translateY},o),document.addEventListener(U,l),document.addEventListener(j,d)));},l=(o)=>{if(o.touches||!this.states.dragging)return;o.preventDefault();const h=X(o).clientX,m=X(o).clientY,u=h-a.startX+s.translateX,f=m-a.startY+s.translateY;this.moveTo({x:u,y:f}),T(a,{startX:X(o).clientX,startY:X(o).clientY}),this.emit("drag",this,{x:u,y:f},o);},d=(o)=>{o.touches||(this.states.dragging=!1,this.emit("dragEnd",this,{x:s.translateX,y:s.translateY},o),document.removeEventListener(U,l),document.removeEventListener(j,d));};c(t);},J=new WeakSet(),Ct=function(t){const {data:e,transform:s,options:{maxScale:i,minScale:a,draggable:r,pinchable:c,bounds:l,dragReleaseOnBounds:d,disableDraggingClass:o}}=this,{touchData:h,imageData:m}=e;if(!h||!m)return;const u=(p)=>{const g=p.touches;if(!g)return;if(l&&d){const ot=this.isOnBoundX(),rt=this.isOnBoundY(),M=g.length===1&&(ot||rt);console.log(M),M||p.preventDefault();}else p.preventDefault();if(lt(p.target,o)&&g.length<=1)return;const {top:v,left:y}=L(this.image),{width:N,height:B}=this.getImageDiff();T(h,{hypot:Et(g),startX:Z(g).clientX,startY:Z(g).clientY,prevX:0,prevY:0,imageTop:v,imageLeft:y,widthDiff:N,heightDiff:B}),r&&(this.states.dragging=!0,this.emit("dragStart",this,{x:s.translateX,y:s.translateY},p)),c&&g.length===2&&(this.states.pinching=!0,this.emit("pinchStart",this,s.scale,p)),document.addEventListener("touchmove",f),document.addEventListener("touchend",b);},f=(p)=>{const g=p.touches;if(!g)return;const {states:{dragging:v,pinching:y}}=this,{top:N,left:B}=L(this.image),{width:ot,height:rt}=this.getImageDiff(),M=Et(g),Yt=M?M/h.hypot:1,_t=this.useFixedRatio(Yt*s.scale),Rt=Z(g).clientX+h.prevX,Xt=Z(g).clientY+h.prevY;if(y&&g.length===2&&this.zoomTo(_t,!1),v){const Lt=_t!==i&&_t!==a&&c?Yt:1,ge=Y(Rt-h.imageLeft-(ot-h.widthDiff)-(h.startX-h.imageLeft)*Lt+s.translateX),_e=Y(Xt-h.imageTop-(rt-h.heightDiff)-(h.startY-h.imageTop)*Lt+s.translateY);this.moveTo({x:ge,y:_e});}T(h,{hypot:M,startX:Rt,startY:Xt,imageTop:N,imageLeft:B,widthDiff:ot,heightDiff:rt}),y&&g.length===2&&this.emit("pinch",this,s.scale,p),v&&this.emit("drag",this,{x:s.translateX,y:s.translateY},p);},b=(p)=>{const g=p.touches;if(!g)return;const {states:{dragging:v,pinching:y}}=this;if(v&&!g.length&&(this.states.dragging=!1,this.emit("dragEnd",this,{x:s.translateX,y:s.translateY},p)),y&&g.length<2&&(this.states.pinching=!1,this.emit("pinchEnd",this,s.scale,p)),v&&g.length===1){const N=X(p).clientX,B=X(p).clientY;T(h,{prevX:h.startX-N,prevY:h.startY-B});}g.length||(document.removeEventListener("touchmove",f),document.removeEventListener("touchend",b));};u(t);},Q=new WeakSet(),xt=function(){const {element:t,image:e,transform:s}=this;new ResizeObserver(()=>{const {offsetWidth:a,offsetHeight:r}=t,{width:c,height:l}=this.getContainerData();if(a===c&&r===l)return;const d=s.translateX,o=s.translateY;if(d){const b=a/c*d;this.transform.translateX=b;}if(o){const b=r/l*o;this.transform.translateY=b;}const {offsetWidth:h,offsetHeight:m}=e,{width:u,height:f}=L(e);T(this.data.containerData,{width:a,height:r}),T(this.data.imageData,{originWidth:h,originHeight:m,width:u,height:f}
20),this.emit("resize",this);}).observe(t);},tt=new WeakSet(),$t=function(){const {slider:t,zoomer:e}=this.__modules__;t&&w(this,et,Nt).call(this),e&&w(this,nt,Wt).call(this);},et=new WeakSet(),Nt=function(){const {element:t,__modules__:{slider:e}}=this;if(!e||e.mounted)return;const {options:{el:s,direction:i}}=e,a=s===`.${$}`;if(!s||!a&&!_(s))return;const r=a?x("div",$):H(s),c=x("div",jt),l=x("span",kt),d=x("span",Gt,{...qt,"aria-orientation":i});r.classList.add(`${$}-${i}`),k(e,"value",{get(){return e.__value__;},set(o){e.__value__!==o&&(e.__value__=o,I(r,{[ie]:o.toString()}),C(d,{"aria-valuenow":o.toString()}));}}),T(e,{value:this.getScaleRatio()*100,controller:new AbortController(),sliding:!1,sliderEl:r,sliderTrack:c,sliderButton:d}),w(this,st,Bt).call(this),c.append(l,d),r.append(c),a&&t.append(r),e.mounted=!0;},st=new WeakSet(),Bt=function(){const {options:{minScale:t,maxScale:e},__modules__:{slider:s}}=this;if(!s)return;const {options:{direction:i},controller:a,sliderEl:r,sliderTrack:c}=s;if(!r||!c)return;const l=i==="vertical",d=(u)=>{const f=L(c),b=f[l?"height":"width"],p=f[l?"bottom":"left"],g=X(u)[l?"clientY":"clientX"],v=Y(z((g-p)*(l?-1:1)/b,0,1));return (e-t)*v+t;},o=(u)=>{if(u instanceof MouseEvent&&u.button!==0)return;s.sliding=!0;const f=d(u);this.zoomTo(f),this.emit("slideStart",this,this.getSliderValue(),u),document.addEventListener(U,h),document.addEventListener(j,m);},h=(u)=>{if(!s.sliding)return;const f=d(u);this.zoomTo(f),this.emit("slide",this,this.getSliderValue(),u);},m=(u)=>{this.emit("slideEnd",this,this.getSliderValue(),u),s.sliding=!1,document.removeEventListener(U,h),document.removeEventListener(j,m);};r.addEventListener(te,o,{signal:a==null?void 0:a.signal});},nt=new WeakSet(),Wt=function(){const {element:t,__modules__:{zoomer:e}}=this;if(!e||e.mounted)return;const {options:{el:s,inEl:i,outEl:a,resetEl:r}}=e,c=[i,a,r],l=(u,f,b,p,g)=>{const v=u===`.${b}`;return !u||!v&&!_(u)?null:(b=c.includes(u)?`${b} ${Pt}`:b,v?x(f,b,p,g):H(u));},d=l(s,"div",V),o=l(i,"button",ut,Kt,de),h=l(a,"button",mt,Jt,ue),m=l(r,"button",ft,Qt,me);T(e,{controller:new AbortController(),zoomerEl:d,zoomerInEl:o,zoomerOutEl:h,zoomerResetEl:m}),d&&(o&&d.append(o),h&&d.append(h),m&&d.append(m),s===`.${V}`&&t.append(d)),w(this,it,Ht).call(this),e.mounted=!0;},it=new WeakSet(),Ht=function(){const {options:{zoomRatio:t},__modules__:{zoomer:e}}=this,s=this;if(!e)return;const {controller:i,zoomerInEl:a,zoomerOutEl:r,zoomerResetEl:c}=e;a&&a.addEventListener("click",()=>{s.zoom(t);},{signal:i==null?void 0:i.signal}),r&&r.addEventListener("click",()=>{s.zoom(-t);},{signal:i==null?void 0:i.signal}),c&&c.addEventListener("click",()=>{s.reset();},{signal:i==null?void 0:i.signal});},Object.assign(wt.prototype,fe),wt;});; 21(function(Drupal){Drupal.behaviors.FormsZoomist={attach:function(context,settings){const zoomistContainers=document.querySelectorAll('.zoomist-container');zoomistContainers.forEach((container)=>{const zoomistInstance=new Zoomist(container,{slider:true,zoomer:true});window.addEventListener('resize',()=>{zoomistInstance.update();});});}};})(Drupal);; 22(function(){var __webpack_exports__={};window.addEventListener("DOMContentLoaded",function(){var a=document.querySelector(".socialFixed"),b=document.querySelector(".socialFixed .socialFixed__container"),c=a.querySelector(".close");c&&c.addEventListener("click",function(){c.classList.toggle("show"),b.classList.toggle("show");});});})();;; 23(function(){var __webpack_exports__={};Drupal.behaviors.header={attach:function attach(a){var b=a.querySelector(".header"),c=getComputedStyle(document.documentElement).getPropertyValue("--breakpoint-large");if(b){var d,e=b.offsetHeight,f=b.querySelector(".header__menu")?null===(d=b.querySelector(".header__menu"))||void 0===d?void 0:d.offsetHeight:null,g=a.querySelector(".header-mobile"),h=function(){var a=b.querySelector(".header__primary__container-menu .gtranslate_wrapper"),d=b.querySelector(".header__primary__container-menu .actualizacion");console.log({headerUpdate:d});var e=b.querySelector(".header__primary__container-menu .menu");if(window.innerWidth<c){var f,h,j,k=b.querySelector("#main-nav");null===a||void 0===a||null===(f=a.parentNode)||void 0===f||f.removeChild(a),null===k||void 0===k||k.insertBefore(a,k.firstChild),null===d||void 0===d||null===(h=d.parentNode)||void 0===h||h.removeChild(d),null===k||void 0===k||k.insertBefore(d,k.firstChild),null===e||void 0===e||null===(j=e.parentNode)||void 0===j||j.removeChild(e),null===k||void 0===k||k.appendChild(e);}var l=b.querySelector(".header__menu-image"),m=b.querySelectorAll(".header__inner__logo"),n=g.querySelector(".header-mobile__logos");if(n&&n&&l){if(0<n.children.length)return;var o=null===l||void 0===l?void 0:l.cloneNode(!0);if(n.appendChild(o),1<m.length){2===m.length&&n.classList.add("header-mobile__logos--two"),3===m.length&&n.classList.add("header-mobile__logos--three");for(var p=0;p<m.length;p++){var q=m[p],r=q.cloneNode(!0);n.appendChild(r);}}}};g&&h(),document.documentElement.style.setProperty("--size-menu","".concat(f?f:"56","px")),window.onscroll=function(){window.scrollY>=e-f&&window.innerWidth>c?b.classList.add("header--sticky"):b.classList.remove("header--sticky"),window.innerWidth<c&&b.classList.contains("header--sticky")&&b.classList.remove("header--sticky");};}}};})();;;
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.