mp-design-system 2.0.76 → 2.0.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- (()=>{var xo=Object.create;var qn=Object.defineProperty;var _o=Object.getOwnPropertyDescriptor;var ko=Object.getOwnPropertyNames;var Co=Object.getPrototypeOf,qo=Object.prototype.hasOwnProperty;var To=(o,r)=>()=>(r||o((r={exports:{}}).exports,r),r.exports);var Mo=(o,r,c,u)=>{if(r&&typeof r=="object"||typeof r=="function")for(let p of ko(r))!qo.call(o,p)&&p!==c&&qn(o,p,{get:()=>r[p],enumerable:!(u=_o(r,p))||u.enumerable});return o};var Po=(o,r,c)=>(c=o!=null?xo(Co(o)):{},Mo(r||!o||!o.__esModule?qn(c,"default",{value:o,enumerable:!0}):c,o));var Pn=To((Be,$e)=>{function Mn(o,r){for(var c=0;c<r.length;c++){var u=r[c];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(o,u.key,u)}}function Ho(o,r,c){r&&Mn(o.prototype,r),c&&Mn(o,c),Object.defineProperty(o,"prototype",{writable:!1})}var We,we;We=Be,we=function(){"use strict";var o="(prefers-reduced-motion: reduce)",r=4,c=5,u={CREATED:1,MOUNTED:2,IDLE:3,MOVING:r,SCROLLING:c,DRAGGING:6,DESTROYED:7};function p(t){t.length=0}function v(t,i,e){return Array.prototype.slice.call(t,i,e)}function y(t){return t.bind.apply(t,[null].concat(v(arguments,1)))}function I(){}var D=setTimeout;function R(t){return requestAnimationFrame(t)}function Z(t,i){return typeof i===t}function ot(t){return!Dt(t)&&Z("object",t)}var lt=Array.isArray,At=y(Z,"function"),ft=y(Z,"string"),Lt=y(Z,"undefined");function Dt(t){return t===null}function se(t){try{return t instanceof(t.ownerDocument.defaultView||window).HTMLElement}catch{return!1}}function j(t){return lt(t)?t:[t]}function Y(t,i){j(t).forEach(i)}function pt(t,i){return-1<t.indexOf(i)}function ae(t,i){return t.push.apply(t,j(i)),t}function yt(t,i,e){t&&Y(i,function(n){n&&t.classList[e?"add":"remove"](n)})}function mt(t,i){yt(t,ft(i)?i.split(" "):i,!0)}function jt(t,i){Y(i,t.appendChild.bind(t))}function Ee(t,i){Y(t,function(e){var n=(i||e).parentNode;n&&n.insertBefore(e,i)})}function Vt(t,i){return se(t)&&(t.msMatchesSelector||t.matches).call(t,i)}function Ye(t,i){return t=t?v(t.children):[],i?t.filter(function(e){return Vt(e,i)}):t}function Gt(t,i){return i?Ye(t,i)[0]:t.firstElementChild}var Xt=Object.keys;function qt(t,i,e){t&&(e?Xt(t).reverse():Xt(t)).forEach(function(n){n!=="__proto__"&&i(t[n],n)})}function Yt(t){return v(arguments,1).forEach(function(i){qt(i,function(e,n){t[n]=i[n]})}),t}function St(t){return v(arguments,1).forEach(function(i){qt(i,function(e,n){lt(e)?t[n]=e.slice():ot(e)?t[n]=St({},ot(t[n])?t[n]:{},e):t[n]=e})}),t}function Ke(t,i){Y(i||Xt(t),function(e){delete t[e]})}function gt(t,i){Y(t,function(e){Y(i,function(n){e&&e.removeAttribute(n)})})}function F(t,i,e){ot(i)?qt(i,function(n,s){F(t,s,n)}):Y(t,function(n){Dt(e)||e===""?gt(n,i):n.setAttribute(i,String(e))})}function Ht(t,i,e){return t=document.createElement(t),i&&(ft(i)?mt:F)(t,i),e&&jt(e,t),t}function ht(t,i,e){if(Lt(e))return getComputedStyle(t)[i];Dt(e)||(t.style[i]=""+e)}function Kt(t,i){ht(t,"display",i)}function Ue(t){t.setActive&&t.setActive()||t.focus({preventScroll:!0})}function vt(t,i){return t.getAttribute(i)}function Qe(t,i){return t&&t.classList.contains(i)}function ut(t){return t.getBoundingClientRect()}function Tt(t){Y(t,function(i){i&&i.parentNode&&i.parentNode.removeChild(i)})}function Je(t){return Gt(new DOMParser().parseFromString(t,"text/html").body)}function bt(t,i){t.preventDefault(),i&&(t.stopPropagation(),t.stopImmediatePropagation())}function Ze(t,i){return t&&t.querySelector(i)}function Ae(t,i){return i?v(t.querySelectorAll(i)):[]}function wt(t,i){yt(t,i,!1)}function Le(t){return t.timeStamp}function Mt(t){return ft(t)?t:t?t+"px":""}var Ut="splide",Se="data-"+Ut;function Qt(t,i){if(!t)throw new Error("["+Ut+"] "+(i||""))}var xt=Math.min,le=Math.max,ue=Math.floor,Jt=Math.ceil,it=Math.abs;function tn(t,i,e){return it(t-i)<e}function de(t,a,e,n){var s=xt(a,e),a=le(a,e);return n?s<t&&t<a:s<=t&&t<=a}function Nt(t,s,e){var n=xt(s,e),s=le(s,e);return xt(le(n,t),s)}function xe(t){return(0<t)-(t<0)}function _e(t,i){return Y(i,function(e){t=t.replace("%s",""+e)}),t}function ke(t){return t<10?"0"+t:""+t}var en={};function nn(){var t=[];function i(e,n,s){Y(e,function(a){a&&Y(n,function(h){h.split(" ").forEach(function(d){d=d.split("."),s(a,d[0],d[1])})})})}return{bind:function(e,n,s,a){i(e,n,function(h,d,w){var m="addEventListener"in h,g=m?h.removeEventListener.bind(h,d,s,a):h.removeListener.bind(h,s);m?h.addEventListener(d,s,a):h.addListener(s),t.push([h,d,w,s,g])})},unbind:function(e,n,s){i(e,n,function(a,h,d){t=t.filter(function(w){return!!(w[0]!==a||w[1]!==h||w[2]!==d||s&&w[3]!==s)||(w[4](),!1)})})},dispatch:function(e,n,s){var a;return typeof CustomEvent=="function"?a=new CustomEvent(n,{bubbles:!0,detail:s}):(a=document.createEvent("CustomEvent")).initCustomEvent(n,!0,!1,s),e.dispatchEvent(a),a},destroy:function(){t.forEach(function(e){e[4]()}),p(t)}}}var Pt="mounted",_t="move",Zt="moved",on="click",io="active",ro="inactive",co="visible",so="hidden",Q="refresh",rt="updated",te="resize",Ce="resized",qe="scroll",zt="scrolled",rn="destroy",cn="navigation:mounted",sn="autoplay:play",an="autoplay:pause",ln="lazyload:loaded",un="sk",dn="sh";function X(t){var i=t?t.event.bus:document.createDocumentFragment(),e=nn();return t&&t.event.on(rn,e.destroy),Yt(e,{bus:i,on:function(n,s){e.bind(i,j(n).join(" "),function(a){s.apply(s,lt(a.detail)?a.detail:[])})},off:y(e.unbind,i),emit:function(n){e.dispatch(i,n,v(arguments,1))}})}function fe(t,i,e,n){var s,a,h=Date.now,d=0,w=!0,m=0;function g(){if(!w){if(d=t?xt((h()-s)/t,1):1,e&&e(d),1<=d&&(i(),s=h(),n&&++m>=n))return k();a=R(g)}}function k(){w=!0}function S(){a&&cancelAnimationFrame(a),w=!(a=d=0)}return{start:function(E){E||S(),s=h()-(E?d*t:0),w=!1,a=R(g)},rewind:function(){s=h(),d=0,e&&e(d)},pause:k,cancel:S,set:function(E){t=E},isPaused:function(){return w}}}function ao(t){var i=t;return{set:function(e){i=e},is:function(e){return pt(j(e),i)}}}var Ot="Arrow",pe=Ot+"Left",he=Ot+"Right",Rt=Ot+"Up",Ot=Ot+"Down",ve="ttb",Te={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[Rt,he],ArrowRight:[Ot,pe]},Et="role",Ft="tabindex",K="aria-",ee=K+"controls",fn=K+"current",pn=K+"selected",dt=K+"label",Me=K+"labelledby",hn=K+"hidden",Pe=K+"orientation",ne=K+"roledescription",vn=K+"live",mn=K+"busy",gn=K+"atomic",Oe=[Et,Ft,"disabled",ee,fn,dt,Me,hn,Pe,ne],K=Ut+"__",Ie=Ut,yn=K+"track",lo=K+"list",me=K+"slide",bn=me+"--clone",uo=me+"__container",De=K+"arrows",ge=K+"arrow",wn=ge+"--prev",En=ge+"--next",ye=K+"pagination",An=ye+"__page",fo=K+"progress__bar",po=K+"toggle",ho=K+"sr",It="is-active",Ln="is-prev",Sn="is-next",He="is-visible",Ne="is-loading",xn="is-focus-in",_n="is-overflow",vo=[It,He,Ln,Sn,Ne,xn,_n],kn="touchstart mousedown",ze="touchmove mousemove",Re="touchend touchcancel mouseup click",Wt="slide",Bt="loop",oe="fade";function mo(t,i,e,n){var s,a=X(t),h=a.on,d=a.emit,w=a.bind,m=t.Components,g=t.root,k=t.options,S=k.isNavigation,E=k.updateOnMove,C=k.i18n,x=k.pagination,l=k.slideFocus,f=m.Direction.resolve,P=vt(n,"style"),T=vt(n,dt),q=-1<e,A=Gt(n,"."+uo);function H(){var b=t.splides.map(function(L){return L=L.splide.Components.Slides.getAt(i),L?L.slide.id:""}).join(" ");F(n,dt,_e(C.slideX,(q?e:i)+1)),F(n,ee,b),F(n,Et,l?"button":""),l&&gt(n,ne)}function $(){s||W()}function W(){var b,L,M;s||(b=t.index,(M=N())!==Qe(n,It)&&(yt(n,It,M),F(n,fn,S&&M||""),d(M?io:ro,_)),M=(function(){if(t.is(oe))return N();var B=ut(m.Elements.track),J=ut(n),G=f("left",!0),at=f("right",!0);return ue(B[G])<=Jt(J[G])&&ue(J[at])<=Jt(B[at])})(),L=!M&&(!N()||q),t.state.is([r,c])||F(n,hn,L||""),F(Ae(n,k.focusableNodes||""),Ft,L?-1:""),l&&F(n,Ft,L?-1:0),M!==Qe(n,He)&&(yt(n,He,M),d(M?co:so,_)),M||document.activeElement!==n||(L=m.Slides.getAt(t.index))&&Ue(L.slide),yt(n,Ln,i===b-1),yt(n,Sn,i===b+1))}function N(){var b=t.index;return b===i||k.cloneStatus&&b===e}var _={index:i,slideIndex:e,slide:n,container:A,isClone:q,mount:function(){q||(n.id=g.id+"-slide"+ke(i+1),F(n,Et,x?"tabpanel":"group"),F(n,ne,C.slide),F(n,dt,T||_e(C.slideLabel,[i+1,t.length]))),w(n,"click",y(d,on,_)),w(n,"keydown",y(d,un,_)),h([Zt,dn,zt],W),h(cn,H),E&&h(_t,$)},destroy:function(){s=!0,a.destroy(),wt(n,vo),gt(n,Oe),F(n,"style",P),F(n,dt,T||"")},update:W,style:function(b,L,M){ht(M&&A||n,b,L)},isWithin:function(b,L){return b=it(b-i),(b=q||!k.rewind&&!t.is(Bt)?b:xt(b,t.length-b))<=L}};return _}var go=Se+"-interval",$t={passive:!1,capture:!0},yo={Spacebar:" ",Right:he,Left:pe,Up:Rt,Down:Ot};function Fe(t){return t=ft(t)?t:t.key,yo[t]||t}var Cn="keydown",ie=Se+"-lazy",be=ie+"-srcset",bo="["+ie+"], ["+be+"]",wo=[" ","Enter"],Eo=Object.freeze({__proto__:null,Media:function(t,i,e){var n=t.state,s=e.breakpoints||{},a=e.reducedMotion||{},h=nn(),d=[];function w(S){S&&h.destroy()}function m(S,E){E=matchMedia(E),h.bind(E,"change",g),d.push([S,E])}function g(){var S=n.is(7),E=e.direction,C=d.reduce(function(x,l){return St(x,l[1].matches?l[0]:{})},{});Ke(e),k(C),e.destroy?t.destroy(e.destroy==="completely"):S?(w(!0),t.mount()):E!==e.direction&&t.refresh()}function k(S,E,C){St(e,S),E&&St(Object.getPrototypeOf(e),S),!C&&n.is(1)||t.emit(rt,e)}return{setup:function(){var S=e.mediaQuery==="min";Xt(s).sort(function(E,C){return S?+E-+C:+C-+E}).forEach(function(E){m(s[E],"("+(S?"min":"max")+"-width:"+E+"px)")}),m(a,o),g()},destroy:w,reduce:function(S){matchMedia(o).matches&&(S?St(e,a):Ke(e,Xt(a)))},set:k}},Direction:function(t,i,e){return{resolve:function(n,s,a){var h=(a=a||e.direction)!=="rtl"||s?a===ve?0:-1:1;return Te[n]&&Te[n][h]||n.replace(/width|left|right/i,function(d,w){return d=Te[d.toLowerCase()][h]||d,0<w?d.charAt(0).toUpperCase()+d.slice(1):d})},orient:function(n){return n*(e.direction==="rtl"?1:-1)}}},Elements:function(t,i,e){var n,s,a,h=X(t),d=h.on,w=h.bind,m=t.root,g=e.i18n,k={},S=[],E=[],C=[];function x(){n=P("."+yn),s=Gt(n,"."+lo),Qt(n&&s,"A track/list element is missing."),ae(S,Ye(s,"."+me+":not(."+bn+")")),qt({arrows:De,pagination:ye,prev:wn,next:En,bar:fo,toggle:po},function(H,$){k[$]=P("."+H)}),Yt(k,{root:m,track:n,list:s,slides:S});var q=m.id||(function(H){return""+H+ke(en[H]=(en[H]||0)+1)})(Ut),A=e.role;m.id=q,n.id=n.id||q+"-track",s.id=s.id||q+"-list",!vt(m,Et)&&m.tagName!=="SECTION"&&A&&F(m,Et,A),F(m,ne,g.carousel),F(s,Et,"presentation"),f()}function l(q){var A=Oe.concat("style");p(S),wt(m,E),wt(n,C),gt([n,s],A),gt(m,q?A:["style",ne])}function f(){wt(m,E),wt(n,C),E=T(Ie),C=T(yn),mt(m,E),mt(n,C),F(m,dt,e.label),F(m,Me,e.labelledby)}function P(q){return q=Ze(m,q),q&&(function(A,H){if(At(A.closest))return A.closest(H);for(var $=A;$&&$.nodeType===1&&!Vt($,H);)$=$.parentElement;return $})(q,"."+Ie)===m?q:void 0}function T(q){return[q+"--"+e.type,q+"--"+e.direction,e.drag&&q+"--draggable",e.isNavigation&&q+"--nav",q===Ie&&It]}return Yt(k,{setup:x,mount:function(){d(Q,l),d(Q,x),d(rt,f),w(document,kn+" keydown",function(q){a=q.type==="keydown"},{capture:!0}),w(m,"focusin",function(){yt(m,xn,!!a)})},destroy:l})},Slides:function(t,i,e){var n=X(t),s=n.on,a=n.emit,h=n.bind,d=(n=i.Elements).slides,w=n.list,m=[];function g(){d.forEach(function(l,f){S(l,f,-1)})}function k(){C(function(l){l.destroy()}),p(m)}function S(l,f,P){f=mo(t,f,P,l),f.mount(),m.push(f),m.sort(function(T,q){return T.index-q.index})}function E(l){return l?x(function(f){return!f.isClone}):m}function C(l,f){E(f).forEach(l)}function x(l){return m.filter(At(l)?l:function(f){return ft(l)?Vt(f.slide,l):pt(j(l),f.index)})}return{mount:function(){g(),s(Q,k),s(Q,g)},destroy:k,update:function(){C(function(l){l.update()})},register:S,get:E,getIn:function(l){var f=i.Controller,P=f.toIndex(l),T=f.hasFocus()?1:e.perPage;return x(function(q){return de(q.index,P,P+T-1)})},getAt:function(l){return x(l)[0]},add:function(l,f){Y(l,function(P){var T,q,A;se(P=ft(P)?Je(P):P)&&((T=d[f])?Ee(P,T):jt(w,P),mt(P,e.classes.slide),T=P,q=y(a,te),T=Ae(T,"img"),(A=T.length)?T.forEach(function(H){h(H,"load error",function(){--A||q()})}):q())}),a(Q)},remove:function(l){Tt(x(l).map(function(f){return f.slide})),a(Q)},forEach:C,filter:x,style:function(l,f,P){C(function(T){T.style(l,f,P)})},getLength:function(l){return(l?d:m).length},isEnough:function(){return m.length>e.perPage}}},Layout:function(t,i,e){var n,s,a,h=(m=X(t)).on,d=m.bind,w=m.emit,m=i.Slides,g=i.Direction.resolve,k=(i=i.Elements).root,S=i.track,E=i.list,C=m.getAt,x=m.style;function l(){n=e.direction===ve,ht(k,"maxWidth",Mt(e.width)),ht(S,g("paddingLeft"),P(!1)),ht(S,g("paddingRight"),P(!0)),f(!0)}function f(b){var L=ut(k);!b&&s.width===L.width&&s.height===L.height||(ht(S,"height",(function(){var M="";return n&&(Qt(M=T(),"height or heightRatio is missing."),M="calc("+M+" - "+P(!1)+" - "+P(!0)+")"),M})()),x(g("marginRight"),Mt(e.gap)),x("width",e.autoWidth?null:Mt(e.fixedWidth)||(n?"":q())),x("height",Mt(e.fixedHeight)||(n?e.autoHeight?null:q():T()),!0),s=L,w(Ce),a!==(a=_())&&(yt(k,_n,a),w("overflow",a)))}function P(M){var L=e.padding,M=g(M?"right":"left");return L&&Mt(L[M]||(ot(L)?0:L))||"0px"}function T(){return Mt(e.height||ut(E).width*e.heightRatio)}function q(){var b=Mt(e.gap);return"calc((100%"+(b&&" + "+b)+")/"+(e.perPage||1)+(b&&" - "+b)+")"}function A(){return ut(E)[g("width")]}function H(b,L){return b=C(b||0),b?ut(b.slide)[g("width")]+(L?0:N()):0}function $(B,L){var M,B=C(B);return B?(B=ut(B.slide)[g("right")],M=ut(E)[g("left")],it(B-M)+(L?0:N())):0}function W(b){return $(t.length-1)-$(0)+H(0,b)}function N(){var b=C(0);return b&&parseFloat(ht(b.slide,g("marginRight")))||0}function _(){return t.is(oe)||W(!0)>A()}return{mount:function(){var b,L,M;l(),d(window,"resize load",(b=y(w,te),M=fe(L||0,b,null,1),function(){M.isPaused()&&M.start()})),h([rt,Q],l),h(te,f)},resize:f,listSize:A,slideSize:H,sliderSize:W,totalSize:$,getPadding:function(b){return parseFloat(ht(S,g("padding"+(b?"Right":"Left"))))||0},isOverflow:_}},Clones:function(t,i,e){var n,s=X(t),a=s.on,h=i.Elements,d=i.Slides,w=i.Direction.resolve,m=[];function g(){if(a(Q,k),a([rt,te],E),n=C()){var x=n,l=d.get().slice(),f=l.length;if(f){for(;l.length<x;)ae(l,l);ae(l.slice(-x),l.slice(0,x)).forEach(function(P,T){var q=T<x,A=(function(H,$){return H=H.cloneNode(!0),mt(H,e.classes.clone),H.id=t.root.id+"-clone"+ke($+1),H})(P.slide,T);q?Ee(A,l[0].slide):jt(h.list,A),ae(m,A),d.register(A,T-x+(q?0:f),P.index)})}i.Layout.resize(!0)}}function k(){S(),g()}function S(){Tt(m),p(m),s.destroy()}function E(){var x=C();n!==x&&(n<x||!x)&&s.emit(Q)}function C(){var x,l=e.clones;return t.is(Bt)?Lt(l)&&(l=(x=e[w("fixedWidth")]&&i.Layout.slideSize(0))&&Jt(ut(h.track)[w("width")]/x)||e[w("autoWidth")]&&t.length||2*e.perPage):l=0,l}return{mount:g,destroy:S}},Move:function(t,i,e){var n,s=X(t),a=s.on,h=s.emit,d=t.state.set,w=(s=i.Layout).slideSize,m=s.getPadding,g=s.totalSize,k=s.listSize,S=s.sliderSize,E=(s=i.Direction).resolve,C=s.orient,x=(s=i.Elements).list,l=s.track;function f(){i.Controller.isBusy()||(i.Scroll.cancel(),P(t.index),i.Slides.update())}function P(_){T($(_,!0))}function T(_,b){t.is(oe)||(b=b?_:(function(L){{var M,B;t.is(Bt)&&(M=H(L),B=M>i.Controller.getEnd(),(M<0||B)&&(L=q(L,B)))}return L})(_),ht(x,"transform","translate"+E("X")+"("+b+"px)"),_!==b&&h(dn))}function q(_,b){var L=_-N(b),M=S();return _-=C(M*(Jt(it(L)/M)||1))*(b?1:-1)}function A(){T(W(),!0),n.cancel()}function H(_){for(var b=i.Slides.get(),L=0,M=1/0,B=0;B<b.length;B++){var J=b[B].index,G=it($(J,!0)-_);if(!(G<=M))break;M=G,L=J}return L}function $(_,b){var L=C(g(_-1)-(_=_,(L=e.focus)==="center"?(k()-w(_,!0))/2:+L*w(_)||0));return b?(_=L,_=e.trimSpace&&t.is(Wt)?Nt(_,0,C(S(!0)-k())):_):L}function W(){var _=E("left");return ut(x)[_]-ut(l)[_]+C(m(!1))}function N(_){return $(_?i.Controller.getEnd():0,!!e.trimSpace)}return{mount:function(){n=i.Transition,a([Pt,Ce,rt,Q],f)},move:function(_,b,L,M){var B,J;_!==b&&(B=L<_,J=C(q(W(),B)),B?0<=J:J<=x[E("scrollWidth")]-ut(l)[E("width")])&&(A(),T(q(W(),L<_),!0)),d(r),h(_t,b,L,_),n.start(b,function(){d(3),h(Zt,b,L,_),M&&M()})},jump:P,translate:T,shift:q,cancel:A,toIndex:H,toPosition:$,getPosition:W,getLimit:N,exceededLimit:function(M,b){b=Lt(b)?W():b;var L=M!==!0&&C(b)<C(N(!1)),M=M!==!1&&C(b)>C(N(!0));return L||M},reposition:f}},Controller:function(t,i,e){var n,s,a,h,d=X(t),w=d.on,m=d.emit,g=i.Move,k=g.getPosition,S=g.getLimit,E=g.toPosition,C=(d=i.Slides).isEnough,x=d.getLength,l=e.omitEnd,f=t.is(Bt),P=t.is(Wt),T=y(N,!1),q=y(N,!0),A=e.start||0,H=A;function $(){s=x(!0),a=e.perMove,h=e.perPage,n=L();var O=Nt(A,0,l?n:s-1);O!==A&&(A=O,g.reposition())}function W(){n!==L()&&m("ei")}function N(O,nt){var tt=a||(G()?1:h),tt=_(A+tt*(O?-1:1),A,!(a||G()));return tt===-1&&P&&!tn(k(),S(!O),1)?O?0:n:nt?tt:b(tt)}function _(O,nt,tt){var ct;return C()||G()?((ct=(function(et){if(P&&e.trimSpace==="move"&&et!==A)for(var z=k();z===E(et,!0)&&de(et,0,t.length-1,!e.rewind);)et<A?--et:++et;return et})(O))!==O&&(nt=O,O=ct,tt=!1),O<0||n<O?O=a||!de(0,O,nt,!0)&&!de(n,nt,O,!0)?f?tt?O<0?-(s%h||h):s:O:e.rewind?O<0?n:0:-1:M(B(O)):tt&&O!==nt&&(O=M(B(nt)+(O<nt?-1:1)))):O=-1,O}function b(O){return f?(O+s)%s||0:O}function L(){for(var O=s-(G()||f&&a?1:h);l&&0<O--;)if(E(s-1,!0)!==E(O,!0)){O++;break}return Nt(O,0,s-1)}function M(O){return Nt(G()?O:h*O,0,n)}function B(O){return G()?xt(O,n):ue((n<=O?s-1:O)/h)}function J(O){O!==A&&(H=A,A=O)}function G(){return!Lt(e.focus)||e.isNavigation}function at(){return t.state.is([r,c])&&!!e.waitForTransition}return{mount:function(){$(),w([rt,Q,"ei"],$),w(Ce,W)},go:function(O,nt,tt){var ct;at()||-1<(ct=b(O=(function(et){var z=A;{var V,U;ft(et)?(U=et.match(/([+\-<>])(\d+)?/)||[],V=U[1],U=U[2],V==="+"||V==="-"?z=_(A+ +(""+V+(+U||1)),A):V===">"?z=U?M(+U):T(!0):V==="<"&&(z=q(!0))):z=f?et:Nt(et,0,n)}return z})(O)))&&(nt||ct!==A)&&(J(ct),g.move(O,ct,H,tt))},scroll:function(O,nt,tt,ct){i.Scroll.scroll(O,nt,tt,function(){var et=b(g.toIndex(k()));J(l?xt(et,n):et),ct&&ct()})},getNext:T,getPrev:q,getAdjacent:N,getEnd:L,setIndex:J,getIndex:function(O){return O?H:A},toIndex:M,toPage:B,toDest:function(O){return O=g.toIndex(O),P?Nt(O,0,n):O},hasFocus:G,isBusy:at}},Arrows:function(t,i,e){var n,s,a=X(t),h=a.on,d=a.bind,w=a.emit,m=e.classes,g=e.i18n,k=i.Elements,S=i.Controller,E=k.arrows,C=k.track,x=E,l=k.prev,f=k.next,P={};function T(){var N=e.arrows;!N||l&&f||(x=E||Ht("div",m.arrows),l=$(!0),f=$(!1),n=!0,jt(x,[l,f]),E||Ee(x,C)),l&&f&&(Yt(P,{prev:l,next:f}),Kt(x,N?"":"none"),mt(x,s=De+"--"+e.direction),N&&(h([Pt,Zt,Q,zt,"ei"],W),d(f,"click",y(H,">")),d(l,"click",y(H,"<")),W(),F([l,f],ee,C.id),w("arrows:mounted",l,f))),h(rt,q)}function q(){A(),T()}function A(){a.destroy(),wt(x,s),n?(Tt(E?[l,f]:x),l=f=null):gt([l,f],Oe)}function H(N){S.go(N,!0)}function $(N){return Je('<button class="'+m.arrow+" "+(N?m.prev:m.next)+'" type="button"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" width="40" height="40" focusable="false"><path d="'+(e.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 W(){var N,_,b,L;l&&f&&(L=t.index,N=S.getPrev(),_=S.getNext(),b=-1<N&&L<N?g.last:g.prev,L=-1<_&&_<L?g.first:g.next,l.disabled=N<0,f.disabled=_<0,F(l,dt,b),F(f,dt,L),w("arrows:updated",l,f,N,_))}return{arrows:P,mount:T,destroy:A,update:W}},Autoplay:function(t,i,e){var n,s,a=X(t),h=a.on,d=a.bind,w=a.emit,m=fe(e.interval,t.go.bind(t,">"),function(A){var H=k.bar;H&&ht(H,"width",100*A+"%"),w("autoplay:playing",A)}),g=m.isPaused,k=i.Elements,S=(a=i.Elements).root,E=a.toggle,C=e.autoplay,x=C==="pause";function l(){g()&&i.Slides.isEnough()&&(m.start(!e.resetProgress),s=n=x=!1,T(),w(sn))}function f(A){x=!!(A=A===void 0?!0:A),T(),g()||(m.pause(),w(an))}function P(){x||(n||s?f(!1):l())}function T(){E&&(yt(E,It,!x),F(E,dt,e.i18n[x?"play":"pause"]))}function q(A){A=i.Slides.getAt(A),m.set(A&&+vt(A.slide,go)||e.interval)}return{mount:function(){C&&(e.pauseOnHover&&d(S,"mouseenter mouseleave",function(A){n=A.type==="mouseenter",P()}),e.pauseOnFocus&&d(S,"focusin focusout",function(A){s=A.type==="focusin",P()}),E&&d(E,"click",function(){x?l():f(!0)}),h([_t,qe,Q],m.rewind),h(_t,q),E&&F(E,ee,k.track.id),x||l(),T())},destroy:m.cancel,play:l,pause:f,isPaused:g}},Cover:function(t,i,e){var n=X(t).on;function s(h){i.Slides.forEach(function(d){var w=Gt(d.container||d.slide,"img");w&&w.src&&a(h,w,d)})}function a(h,d,w){w.style("background",h?'center/cover no-repeat url("'+d.src+'")':"",!0),Kt(d,h?"none":"")}return{mount:function(){e.cover&&(n(ln,y(a,!0)),n([Pt,rt,Q],y(s,!0)))},destroy:y(s,!1)}},Scroll:function(t,i,e){var n,s,a=X(t),h=a.on,d=a.emit,w=t.state.set,m=i.Move,g=m.getPosition,k=m.getLimit,S=m.exceededLimit,E=m.translate,C=t.is(Wt),x=1;function l(A,H,L,W,N){var _,b=g(),L=(T(),!L||C&&S()||(L=i.Layout.sliderSize(),_=xe(A)*L*ue(it(A)/L)||0,A=m.toPosition(i.Controller.toDest(A%L))+_),tn(b,A,1));x=1,H=L?0:H||le(it(A-b)/1.5,800),s=W,n=fe(H,f,y(P,b,A,N),1),w(c),d(qe),n.start()}function f(){w(3),s&&s(),d(zt)}function P(A,H,$,_){var N=g(),_=(A+(H-A)*(H=_,(A=e.easingFunc)?A(H):1-Math.pow(1-H,4))-N)*x;E(N+_),C&&!$&&S()&&(x*=.6,it(_)<10&&l(k(S(!0)),600,!1,s,!0))}function T(){n&&n.cancel()}function q(){n&&!n.isPaused()&&(T(),f())}return{mount:function(){h(_t,T),h([rt,Q],q)},destroy:T,scroll:l,cancel:q}},Drag:function(t,i,e){var n,s,a,h,d,w,m,g,k=X(t),S=k.on,E=k.emit,C=k.bind,x=k.unbind,l=t.state,f=i.Move,P=i.Scroll,T=i.Controller,q=i.Elements.track,A=i.Media.reduce,H=(k=i.Direction).resolve,$=k.orient,W=f.getPosition,N=f.exceededLimit,_=!1;function b(){var z=e.drag;et(!z),h=z==="free"}function L(z){var V,U,st;w=!1,m||(V=ct(z),U=z.target,st=e.noDrag,Vt(U,"."+An+", ."+ge)||st&&Vt(U,st)||!V&&z.button||(T.isBusy()?bt(z,!0):(g=V?q:window,d=l.is([r,c]),a=null,C(g,ze,M,$t),C(g,Re,B,$t),f.cancel(),P.cancel(),G(z))))}function M(z){var V,U,st,kt,Ct;l.is(6)||(l.set(6),E("drag")),z.cancelable&&(d?(f.translate(n+at(z)/(_&&t.is(Wt)?5:1)),Ct=200<O(z),V=_!==(_=N()),(Ct||V)&&G(z),w=!0,E("dragging"),bt(z)):it(at(Ct=z))>it(at(Ct,!0))&&(V=z,U=e.dragMinThreshold,st=ot(U),kt=st&&U.mouse||0,st=(st?U.touch:+U)||10,d=it(at(V))>(ct(V)?st:kt),bt(z)))}function B(z){var V,U,st;l.is(6)&&(l.set(3),E("dragged")),d&&(U=(function(kt){return W()+xe(kt)*xt(it(kt)*(e.flickPower||600),h?1/0:i.Layout.listSize()*(e.flickMaxPages||1))})(V=(function(kt){if(t.is(Bt)||!_){var Ct=O(kt);if(Ct&&Ct<200)return at(kt)/Ct}return 0})(V=z)),st=e.rewind&&e.rewindByDrag,A(!1),h?T.scroll(U,0,e.snap):t.is(oe)?T.go($(xe(V))<0?st?"<":"-":st?">":"+"):t.is(Wt)&&_&&st?T.go(N(!0)?">":"<"):T.go(T.toDest(U),!0),A(!0),bt(z)),x(g,ze,M),x(g,Re,B),d=!1}function J(z){!m&&w&&bt(z,!0)}function G(z){a=s,s=z,n=W()}function at(z,V){return tt(z,V)-tt(nt(z),V)}function O(z){return Le(z)-Le(nt(z))}function nt(z){return s===z&&a||s}function tt(z,V){return(ct(z)?z.changedTouches[0]:z)["page"+H(V?"Y":"X")]}function ct(z){return typeof TouchEvent<"u"&&z instanceof TouchEvent}function et(z){m=z}return{mount:function(){C(q,ze,I,$t),C(q,Re,I,$t),C(q,kn,L,$t),C(q,"click",J,{capture:!0}),C(q,"dragstart",bt),S([Pt,rt],b)},disable:et,isDragging:function(){return d}}},Keyboard:function(t,i,e){var n,s,a=X(t),h=a.on,d=a.bind,w=a.unbind,m=t.root,g=i.Direction.resolve;function k(){var x=e.keyboard;x&&(n=x==="global"?window:m,d(n,Cn,C))}function S(){w(n,Cn)}function E(){var x=s;s=!0,D(function(){s=x})}function C(x){s||((x=Fe(x))===g(pe)?t.go("<"):x===g(he)&&t.go(">"))}return{mount:function(){k(),h(rt,S),h(rt,k),h(_t,E)},destroy:S,disable:function(x){s=x}}},LazyLoad:function(t,i,e){var n=X(t),s=n.on,a=n.off,h=n.bind,d=n.emit,w=e.lazyLoad==="sequential",m=[Zt,zt],g=[];function k(){p(g),i.Slides.forEach(function(l){Ae(l.slide,bo).forEach(function(f){var P=vt(f,ie),T=vt(f,be);P===f.src&&T===f.srcset||(P=e.classes.spinner,P=Gt(T=f.parentElement,"."+P)||Ht("span",P,T),g.push([f,l,P]),f.src||Kt(f,"none"))})}),(w?x:(a(m),s(m,S),S))()}function S(){(g=g.filter(function(l){var f=e.perPage*((e.preloadPages||1)+1)-1;return!l[1].isWithin(t.index,f)||E(l)})).length||a(m)}function E(l){var f=l[0];mt(l[1].slide,Ne),h(f,"load error",y(C,l)),F(f,"src",vt(f,ie)),F(f,"srcset",vt(f,be)),gt(f,ie),gt(f,be)}function C(l,f){var P=l[0],T=l[1];wt(T.slide,Ne),f.type!=="error"&&(Tt(l[2]),Kt(P,""),d(ln,P,T),d(te)),w&&x()}function x(){g.length&&E(g.shift())}return{mount:function(){e.lazyLoad&&(k(),s(Q,k))},destroy:y(p,g),check:S}},Pagination:function(t,i,e){var n,s,a=X(t),h=a.on,d=a.emit,w=a.bind,m=i.Slides,g=i.Elements,k=i.Controller,S=k.hasFocus,E=k.getIndex,C=k.go,x=i.Direction.resolve,l=g.pagination,f=[];function P(){n&&(Tt(l?v(n.children):n),wt(n,s),p(f),n=null),a.destroy()}function T(W){C(">"+W,!0)}function q(W,N){var _=f.length,b=Fe(N),M=A(),L=-1,M=(b===x(he,!1,M)?L=++W%_:b===x(pe,!1,M)?L=(--W+_)%_:b==="Home"?L=0:b==="End"&&(L=_-1),f[L]);M&&(Ue(M.button),C(">"+L),bt(N,!0))}function A(){return e.paginationDirection||e.direction}function H(W){return f[k.toPage(W)]}function $(){var W,N=H(E(!0)),_=H(E());N&&(wt(W=N.button,It),gt(W,pn),F(W,Ft,-1)),_&&(mt(W=_.button,It),F(W,pn,!0),F(W,Ft,"")),d("pagination:updated",{list:n,items:f},N,_)}return{items:f,mount:function W(){P(),h([rt,Q,"ei"],W);var N=e.pagination;if(l&&Kt(l,N?"":"none"),N){h([_t,qe,zt],$);var N=t.length,_=e.classes,b=e.i18n,L=e.perPage,M=S()?k.getEnd()+1:Jt(N/L);mt(n=l||Ht("ul",_.pagination,g.track.parentElement),s=ye+"--"+A()),F(n,Et,"tablist"),F(n,dt,b.select),F(n,Pe,A()===ve?"vertical":"");for(var B=0;B<M;B++){var J=Ht("li",null,n),G=Ht("button",{class:_.page,type:"button"},J),at=m.getIn(B).map(function(tt){return tt.slide.id}),O=!S()&&1<L?b.pageX:b.slideX;w(G,"click",y(T,B)),e.paginationKeyboard&&w(G,"keydown",y(q,B)),F(J,Et,"presentation"),F(G,Et,"tab"),F(G,ee,at.join(" ")),F(G,dt,_e(O,B+1)),F(G,Ft,-1),f.push({li:J,button:G,page:B})}$(),d("pagination:mounted",{list:n,items:f},H(t.index))}},destroy:P,getAt:H,update:$}},Sync:function(t,i,e){var n=e.isNavigation,s=e.slideFocus,a=[];function h(){var S,E;t.splides.forEach(function(C){C.isParent||(w(t,C.splide),w(C.splide,t))}),n&&(S=X(t),(E=S.on)(on,g),E(un,k),E([Pt,rt],m),a.push(S),S.emit(cn,t.splides))}function d(){a.forEach(function(S){S.destroy()}),p(a)}function w(S,E){S=X(S),S.on(_t,function(C,x,l){E.go(E.is(Bt)?l:C)}),a.push(S)}function m(){F(i.Elements.list,Pe,e.direction===ve?"vertical":"")}function g(S){t.go(S.index)}function k(S,E){pt(wo,Fe(E))&&(g(S),bt(E))}return{setup:y(i.Media.set,{slideFocus:Lt(s)?n:s},!0),mount:h,destroy:d,remount:function(){d(),h()}}},Wheel:function(t,i,e){var n=X(t).bind,s=0;function a(h){var d,w,m,g,k;h.cancelable&&(d=(k=h.deltaY)<0,w=Le(h),m=e.wheelMinThreshold||0,g=e.wheelSleep||0,it(k)>m&&g<w-s&&(t.go(d?"<":">"),s=w),k=d,e.releaseWheel&&!t.state.is(r)&&i.Controller.getAdjacent(k)===-1||bt(h))}return{mount:function(){e.wheel&&n(i.Elements.track,"wheel",a,$t)}}},Live:function(t,i,e){var n=X(t).on,s=i.Elements.track,a=e.live&&!e.isNavigation,h=Ht("span",ho),d=fe(90,y(w,!1));function w(g){F(s,mn,g),g?(jt(s,h),d.start()):(Tt(h),d.cancel())}function m(g){a&&F(s,vn,g?"off":"polite")}return{mount:function(){a&&(m(!i.Autoplay.isPaused()),F(s,gn,!0),h.textContent="\u2026",n(sn,y(m,!0)),n(an,y(m,!1)),n([Zt,zt],y(w,!0)))},disable:m,destroy:function(){gt(s,[vn,gn,mn]),Tt(h)}}}}),Ao={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:me,clone:bn,arrows:De,arrow:ge,prev:wn,next:En,pagination:ye,page:An,spinner:K+"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 Lo(t,i,e){var n=i.Slides;function s(){n.forEach(function(a){a.style("transform","translateX(-"+100*a.index+"%)")})}return{mount:function(){X(t).on([Pt,Q],s)},start:function(a,h){n.style("transition","opacity "+e.speed+"ms "+e.easing),D(h)},cancel:I}}function So(t,i,e){var n,s=i.Move,a=i.Controller,h=i.Scroll,d=i.Elements.list,w=y(ht,d,"transition");function m(){w(""),h.cancel()}return{mount:function(){X(t).bind(d,"transitionend",function(g){g.target===d&&n&&(m(),n())})},start:function(g,k){var S=s.toPosition(g,!0),E=s.getPosition(),C=(function(x){var l=e.rewindSpeed;if(t.is(Wt)&&l){var f=a.getIndex(!0),P=a.getEnd();if(f===0&&P<=x||P<=f&&x===0)return l}return e.speed})(g);1<=it(S-E)&&1<=C?e.useScroll?h.scroll(S,C,!1,k):(w("transform "+C+"ms "+e.easing),s.translate(S,!0),n=k):(s.jump(g),k())},cancel:m}}return Rt=(function(){function t(e,n){this.event=X(),this.Components={},this.state=ao(1),this.splides=[],this.n={},this.t={},e=ft(e)?Ze(document,e):e,Qt(e,e+" is invalid."),n=St({label:vt(this.root=e,dt)||"",labelledby:vt(e,Me)||""},Ao,t.defaults,n||{});try{St(n,JSON.parse(vt(e,Se)))}catch{Qt(!1,"Invalid JSON")}this.n=Object.create(St({},n))}var i=t.prototype;return i.mount=function(e,n){var s=this,a=this.state,h=this.Components;return Qt(a.is([1,7]),"Already mounted!"),a.set(1),this.i=h,this.r=n||this.r||(this.is(oe)?Lo:So),this.t=e||this.t,qt(Yt({},Eo,this.t,{Transition:this.r}),function(d,w){d=d(s,h,s.n),(h[w]=d).setup&&d.setup()}),qt(h,function(d){d.mount&&d.mount()}),this.emit(Pt),mt(this.root,"is-initialized"),a.set(3),this.emit("ready"),this},i.sync=function(e){return this.splides.push({splide:e}),e.splides.push({splide:this,isParent:!0}),this.state.is(3)&&(this.i.Sync.remount(),e.Components.Sync.remount()),this},i.go=function(e){return this.i.Controller.go(e),this},i.on=function(e,n){return this.event.on(e,n),this},i.off=function(e){return this.event.off(e),this},i.emit=function(e){var n;return(n=this.event).emit.apply(n,[e].concat(v(arguments,1))),this},i.add=function(e,n){return this.i.Slides.add(e,n),this},i.remove=function(e){return this.i.Slides.remove(e),this},i.is=function(e){return this.n.type===e},i.refresh=function(){return this.emit(Q),this},i.destroy=function(e){e===void 0&&(e=!0);var n=this.event,s=this.state;return s.is(1)?X(this).on("ready",this.destroy.bind(this,e)):(qt(this.i,function(a){a.destroy&&a.destroy(e)},!0),n.emit(rn),n.destroy(),e&&p(this.splides),s.set(7)),this},Ho(t,[{key:"options",get:function(){return this.n},set:function(e){this.i.Media.set(e,!0,!0)}},{key:"length",get:function(){return this.i.Slides.getLength(!0)}},{key:"index",get:function(){return this.i.Controller.getIndex()}}]),t})(),Rt.defaults={},Rt.STATES=u,Rt},typeof Be=="object"&&typeof $e<"u"?$e.exports=we():typeof define=="function"&&define.amd?define(we):(We=typeof globalThis<"u"?globalThis:We||self).Splide=we()});function Oo(){Array.from(document.querySelectorAll(".c-accordion__title")).forEach(Io)}function Io(o){o.addEventListener("click",Do())}function Do(){return o=>{var r=o.currentTarget.parentElement;r.classList.toggle("c-accordion__item--open")}}var Tn=Oo;var re=Po(Pn());function je(){document.querySelectorAll('[data-carousel="hero"]').forEach(r=>{new re.default(r,{type:"fade",autoplay:!0,interval:5e3,pauseOnHover:!1,arrows:!1,pagination:!1}).mount()}),document.querySelectorAll('[data-carousel="cards"]').forEach(r=>{let c=r.dataset.carouselType||"slide",u=r.dataset.carouselRewind==="true",p=parseInt(r.dataset.carouselPerMove)||1,v=new re.default(r,{type:c,perMove:p,focus:0,arrows:!1,drag:!0,pagination:!1,preventClick:!0,rewind:u,clones:0,autoWidth:!0});function y(){let I=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--wrapper")),D=parseInt(getComputedStyle(r).getPropertyValue("--row-gap")),R;window.innerWidth>=1024?R=(I-3*D)/4:window.innerWidth>=768?R=(I-2*D)/3:window.innerWidth>=680?R=(I-D)/2:R=I,r.querySelectorAll(".splide__slide").forEach(Z=>{Z.style.width=`${R}px`}),v.refresh()}window.addEventListener("resize",y),y(),r.querySelector(".c-carousel__arrow--prev")?.addEventListener("click",()=>v.go("<")),r.querySelector(".c-carousel__arrow--next")?.addEventListener("click",()=>v.go(">")),r.querySelectorAll("a").forEach(I=>{I.addEventListener("click",D=>D.stopPropagation())}),v.mount()}),document.querySelectorAll('[data-carousel="gallery-main"]').forEach(r=>{let c=r.dataset.galleryId,u=document.querySelector(`[data-carousel="gallery-thumbs"][data-gallery-id="${c}"]`);if(!u)return;let p=new re.default(u,{type:"slide",perPage:parseInt(u.dataset.perPage)||4,gap:"0.5rem",focus:"center",isNavigation:!0,pagination:!1,arrows:!1}).mount();new re.default(r,{type:"fade",pagination:!1,arrows:!0}).sync(p).mount(),r.querySelectorAll("a").forEach(y=>{y.addEventListener("click",I=>I.stopPropagation())})})}function No(){let o=document.getElementById("clearForm");o&&o.addEventListener("click",function(){this.closest("form").elements.forEach(c=>{if(c.value!=""){if(c.type.toLowerCase()=="text"||c.type.toLowerCase()=="email"||c.type.toLowerCase()=="tel"||c.type.toLowerCase()=="select-one"||c.type.toLowerCase()=="textarea"){c.value="";return}else if(c.type.toLowerCase()=="checkbox"){c.checked=!1;return}}})})}var On=No;function zo(){document.querySelectorAll(".c-comparison-table").forEach(Ro)}function Ro(o){let r=o.parentNode.parentNode,c=r.querySelector(".c-comparison-table tbody"),u=r.querySelector(".c-comparison-table thead"),p=r.parentElement.querySelector(".c-comparison-table__mobile");if(!c||!u||!p)return;let v=Array.from(u.children[0].children).filter((D,R)=>R).map(D=>({info:D.innerHTML})),y=Array.from(u.children[1].children).filter((D,R)=>R).map(D=>({buttons:D.innerHTML})),I=v.map((D,R)=>({...D,...y[R],table:[]}));Array.from(c.children).forEach(D=>{if(D.classList.contains("c-comparison-table__title"))I.forEach(R=>{R.table.push({type:"title",title:D.children[0].textContent})});else{let R=Array.from(D.children),Z=R.shift();R.forEach((ot,lt)=>{I[lt].table.push({type:"row",key:Z.textContent,value:ot.innerHTML})})}}),I.forEach(D=>{let R=Fo(D);p.appendChild(R)})}function Fo(o){let r=document.createElement("article");return r.innerHTML=`${o.info}${o.buttons}
1
+ (()=>{var xo=Object.create;var qn=Object.defineProperty;var _o=Object.getOwnPropertyDescriptor;var ko=Object.getOwnPropertyNames;var Co=Object.getPrototypeOf,qo=Object.prototype.hasOwnProperty;var To=(o,r)=>()=>(r||o((r={exports:{}}).exports,r),r.exports);var Mo=(o,r,c,u)=>{if(r&&typeof r=="object"||typeof r=="function")for(let p of ko(r))!qo.call(o,p)&&p!==c&&qn(o,p,{get:()=>r[p],enumerable:!(u=_o(r,p))||u.enumerable});return o};var Po=(o,r,c)=>(c=o!=null?xo(Co(o)):{},Mo(r||!o||!o.__esModule?qn(c,"default",{value:o,enumerable:!0}):c,o));var Pn=To((Be,$e)=>{function Mn(o,r){for(var c=0;c<r.length;c++){var u=r[c];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(o,u.key,u)}}function Ho(o,r,c){r&&Mn(o.prototype,r),c&&Mn(o,c),Object.defineProperty(o,"prototype",{writable:!1})}var We,we;We=Be,we=function(){"use strict";var o="(prefers-reduced-motion: reduce)",r=4,c=5,u={CREATED:1,MOUNTED:2,IDLE:3,MOVING:r,SCROLLING:c,DRAGGING:6,DESTROYED:7};function p(t){t.length=0}function v(t,i,e){return Array.prototype.slice.call(t,i,e)}function y(t){return t.bind.apply(t,[null].concat(v(arguments,1)))}function I(){}var D=setTimeout;function R(t){return requestAnimationFrame(t)}function Z(t,i){return typeof i===t}function ot(t){return!Dt(t)&&Z("object",t)}var lt=Array.isArray,At=y(Z,"function"),ft=y(Z,"string"),Lt=y(Z,"undefined");function Dt(t){return t===null}function se(t){try{return t instanceof(t.ownerDocument.defaultView||window).HTMLElement}catch{return!1}}function j(t){return lt(t)?t:[t]}function Y(t,i){j(t).forEach(i)}function pt(t,i){return-1<t.indexOf(i)}function ae(t,i){return t.push.apply(t,j(i)),t}function yt(t,i,e){t&&Y(i,function(n){n&&t.classList[e?"add":"remove"](n)})}function mt(t,i){yt(t,ft(i)?i.split(" "):i,!0)}function jt(t,i){Y(i,t.appendChild.bind(t))}function Ee(t,i){Y(t,function(e){var n=(i||e).parentNode;n&&n.insertBefore(e,i)})}function Vt(t,i){return se(t)&&(t.msMatchesSelector||t.matches).call(t,i)}function Ye(t,i){return t=t?v(t.children):[],i?t.filter(function(e){return Vt(e,i)}):t}function Gt(t,i){return i?Ye(t,i)[0]:t.firstElementChild}var Xt=Object.keys;function qt(t,i,e){t&&(e?Xt(t).reverse():Xt(t)).forEach(function(n){n!=="__proto__"&&i(t[n],n)})}function Yt(t){return v(arguments,1).forEach(function(i){qt(i,function(e,n){t[n]=i[n]})}),t}function St(t){return v(arguments,1).forEach(function(i){qt(i,function(e,n){lt(e)?t[n]=e.slice():ot(e)?t[n]=St({},ot(t[n])?t[n]:{},e):t[n]=e})}),t}function Ke(t,i){Y(i||Xt(t),function(e){delete t[e]})}function gt(t,i){Y(t,function(e){Y(i,function(n){e&&e.removeAttribute(n)})})}function F(t,i,e){ot(i)?qt(i,function(n,s){F(t,s,n)}):Y(t,function(n){Dt(e)||e===""?gt(n,i):n.setAttribute(i,String(e))})}function Ht(t,i,e){return t=document.createElement(t),i&&(ft(i)?mt:F)(t,i),e&&jt(e,t),t}function ht(t,i,e){if(Lt(e))return getComputedStyle(t)[i];Dt(e)||(t.style[i]=""+e)}function Kt(t,i){ht(t,"display",i)}function Ue(t){t.setActive&&t.setActive()||t.focus({preventScroll:!0})}function vt(t,i){return t.getAttribute(i)}function Qe(t,i){return t&&t.classList.contains(i)}function ut(t){return t.getBoundingClientRect()}function Tt(t){Y(t,function(i){i&&i.parentNode&&i.parentNode.removeChild(i)})}function Je(t){return Gt(new DOMParser().parseFromString(t,"text/html").body)}function bt(t,i){t.preventDefault(),i&&(t.stopPropagation(),t.stopImmediatePropagation())}function Ze(t,i){return t&&t.querySelector(i)}function Ae(t,i){return i?v(t.querySelectorAll(i)):[]}function wt(t,i){yt(t,i,!1)}function Le(t){return t.timeStamp}function Mt(t){return ft(t)?t:t?t+"px":""}var Ut="splide",Se="data-"+Ut;function Qt(t,i){if(!t)throw new Error("["+Ut+"] "+(i||""))}var xt=Math.min,le=Math.max,ue=Math.floor,Jt=Math.ceil,it=Math.abs;function tn(t,i,e){return it(t-i)<e}function de(t,a,e,n){var s=xt(a,e),a=le(a,e);return n?s<t&&t<a:s<=t&&t<=a}function Nt(t,s,e){var n=xt(s,e),s=le(s,e);return xt(le(n,t),s)}function xe(t){return(0<t)-(t<0)}function _e(t,i){return Y(i,function(e){t=t.replace("%s",""+e)}),t}function ke(t){return t<10?"0"+t:""+t}var en={};function nn(){var t=[];function i(e,n,s){Y(e,function(a){a&&Y(n,function(h){h.split(" ").forEach(function(d){d=d.split("."),s(a,d[0],d[1])})})})}return{bind:function(e,n,s,a){i(e,n,function(h,d,w){var m="addEventListener"in h,g=m?h.removeEventListener.bind(h,d,s,a):h.removeListener.bind(h,s);m?h.addEventListener(d,s,a):h.addListener(s),t.push([h,d,w,s,g])})},unbind:function(e,n,s){i(e,n,function(a,h,d){t=t.filter(function(w){return!!(w[0]!==a||w[1]!==h||w[2]!==d||s&&w[3]!==s)||(w[4](),!1)})})},dispatch:function(e,n,s){var a;return typeof CustomEvent=="function"?a=new CustomEvent(n,{bubbles:!0,detail:s}):(a=document.createEvent("CustomEvent")).initCustomEvent(n,!0,!1,s),e.dispatchEvent(a),a},destroy:function(){t.forEach(function(e){e[4]()}),p(t)}}}var Pt="mounted",_t="move",Zt="moved",on="click",io="active",ro="inactive",co="visible",so="hidden",Q="refresh",rt="updated",te="resize",Ce="resized",qe="scroll",zt="scrolled",rn="destroy",cn="navigation:mounted",sn="autoplay:play",an="autoplay:pause",ln="lazyload:loaded",un="sk",dn="sh";function X(t){var i=t?t.event.bus:document.createDocumentFragment(),e=nn();return t&&t.event.on(rn,e.destroy),Yt(e,{bus:i,on:function(n,s){e.bind(i,j(n).join(" "),function(a){s.apply(s,lt(a.detail)?a.detail:[])})},off:y(e.unbind,i),emit:function(n){e.dispatch(i,n,v(arguments,1))}})}function fe(t,i,e,n){var s,a,h=Date.now,d=0,w=!0,m=0;function g(){if(!w){if(d=t?xt((h()-s)/t,1):1,e&&e(d),1<=d&&(i(),s=h(),n&&++m>=n))return k();a=R(g)}}function k(){w=!0}function S(){a&&cancelAnimationFrame(a),w=!(a=d=0)}return{start:function(E){E||S(),s=h()-(E?d*t:0),w=!1,a=R(g)},rewind:function(){s=h(),d=0,e&&e(d)},pause:k,cancel:S,set:function(E){t=E},isPaused:function(){return w}}}function ao(t){var i=t;return{set:function(e){i=e},is:function(e){return pt(j(e),i)}}}var Ot="Arrow",pe=Ot+"Left",he=Ot+"Right",Rt=Ot+"Up",Ot=Ot+"Down",ve="ttb",Te={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[Rt,he],ArrowRight:[Ot,pe]},Et="role",Ft="tabindex",K="aria-",ee=K+"controls",fn=K+"current",pn=K+"selected",dt=K+"label",Me=K+"labelledby",hn=K+"hidden",Pe=K+"orientation",ne=K+"roledescription",vn=K+"live",mn=K+"busy",gn=K+"atomic",Oe=[Et,Ft,"disabled",ee,fn,dt,Me,hn,Pe,ne],K=Ut+"__",Ie=Ut,yn=K+"track",lo=K+"list",me=K+"slide",bn=me+"--clone",uo=me+"__container",De=K+"arrows",ge=K+"arrow",wn=ge+"--prev",En=ge+"--next",ye=K+"pagination",An=ye+"__page",fo=K+"progress__bar",po=K+"toggle",ho=K+"sr",It="is-active",Ln="is-prev",Sn="is-next",He="is-visible",Ne="is-loading",xn="is-focus-in",_n="is-overflow",vo=[It,He,Ln,Sn,Ne,xn,_n],kn="touchstart mousedown",ze="touchmove mousemove",Re="touchend touchcancel mouseup click",Wt="slide",Bt="loop",oe="fade";function mo(t,i,e,n){var s,a=X(t),h=a.on,d=a.emit,w=a.bind,m=t.Components,g=t.root,k=t.options,S=k.isNavigation,E=k.updateOnMove,C=k.i18n,x=k.pagination,l=k.slideFocus,f=m.Direction.resolve,P=vt(n,"style"),T=vt(n,dt),q=-1<e,A=Gt(n,"."+uo);function H(){var b=t.splides.map(function(L){return L=L.splide.Components.Slides.getAt(i),L?L.slide.id:""}).join(" ");F(n,dt,_e(C.slideX,(q?e:i)+1)),F(n,ee,b),F(n,Et,l?"button":""),l&&gt(n,ne)}function $(){s||W()}function W(){var b,L,M;s||(b=t.index,(M=N())!==Qe(n,It)&&(yt(n,It,M),F(n,fn,S&&M||""),d(M?io:ro,_)),M=(function(){if(t.is(oe))return N();var B=ut(m.Elements.track),J=ut(n),G=f("left",!0),at=f("right",!0);return ue(B[G])<=Jt(J[G])&&ue(J[at])<=Jt(B[at])})(),L=!M&&(!N()||q),t.state.is([r,c])||F(n,hn,L||""),F(Ae(n,k.focusableNodes||""),Ft,L?-1:""),l&&F(n,Ft,L?-1:0),M!==Qe(n,He)&&(yt(n,He,M),d(M?co:so,_)),M||document.activeElement!==n||(L=m.Slides.getAt(t.index))&&Ue(L.slide),yt(n,Ln,i===b-1),yt(n,Sn,i===b+1))}function N(){var b=t.index;return b===i||k.cloneStatus&&b===e}var _={index:i,slideIndex:e,slide:n,container:A,isClone:q,mount:function(){q||(n.id=g.id+"-slide"+ke(i+1),F(n,Et,x?"tabpanel":"group"),F(n,ne,C.slide),F(n,dt,T||_e(C.slideLabel,[i+1,t.length]))),w(n,"click",y(d,on,_)),w(n,"keydown",y(d,un,_)),h([Zt,dn,zt],W),h(cn,H),E&&h(_t,$)},destroy:function(){s=!0,a.destroy(),wt(n,vo),gt(n,Oe),F(n,"style",P),F(n,dt,T||"")},update:W,style:function(b,L,M){ht(M&&A||n,b,L)},isWithin:function(b,L){return b=it(b-i),(b=q||!k.rewind&&!t.is(Bt)?b:xt(b,t.length-b))<=L}};return _}var go=Se+"-interval",$t={passive:!1,capture:!0},yo={Spacebar:" ",Right:he,Left:pe,Up:Rt,Down:Ot};function Fe(t){return t=ft(t)?t:t.key,yo[t]||t}var Cn="keydown",ie=Se+"-lazy",be=ie+"-srcset",bo="["+ie+"], ["+be+"]",wo=[" ","Enter"],Eo=Object.freeze({__proto__:null,Media:function(t,i,e){var n=t.state,s=e.breakpoints||{},a=e.reducedMotion||{},h=nn(),d=[];function w(S){S&&h.destroy()}function m(S,E){E=matchMedia(E),h.bind(E,"change",g),d.push([S,E])}function g(){var S=n.is(7),E=e.direction,C=d.reduce(function(x,l){return St(x,l[1].matches?l[0]:{})},{});Ke(e),k(C),e.destroy?t.destroy(e.destroy==="completely"):S?(w(!0),t.mount()):E!==e.direction&&t.refresh()}function k(S,E,C){St(e,S),E&&St(Object.getPrototypeOf(e),S),!C&&n.is(1)||t.emit(rt,e)}return{setup:function(){var S=e.mediaQuery==="min";Xt(s).sort(function(E,C){return S?+E-+C:+C-+E}).forEach(function(E){m(s[E],"("+(S?"min":"max")+"-width:"+E+"px)")}),m(a,o),g()},destroy:w,reduce:function(S){matchMedia(o).matches&&(S?St(e,a):Ke(e,Xt(a)))},set:k}},Direction:function(t,i,e){return{resolve:function(n,s,a){var h=(a=a||e.direction)!=="rtl"||s?a===ve?0:-1:1;return Te[n]&&Te[n][h]||n.replace(/width|left|right/i,function(d,w){return d=Te[d.toLowerCase()][h]||d,0<w?d.charAt(0).toUpperCase()+d.slice(1):d})},orient:function(n){return n*(e.direction==="rtl"?1:-1)}}},Elements:function(t,i,e){var n,s,a,h=X(t),d=h.on,w=h.bind,m=t.root,g=e.i18n,k={},S=[],E=[],C=[];function x(){n=P("."+yn),s=Gt(n,"."+lo),Qt(n&&s,"A track/list element is missing."),ae(S,Ye(s,"."+me+":not(."+bn+")")),qt({arrows:De,pagination:ye,prev:wn,next:En,bar:fo,toggle:po},function(H,$){k[$]=P("."+H)}),Yt(k,{root:m,track:n,list:s,slides:S});var q=m.id||(function(H){return""+H+ke(en[H]=(en[H]||0)+1)})(Ut),A=e.role;m.id=q,n.id=n.id||q+"-track",s.id=s.id||q+"-list",!vt(m,Et)&&m.tagName!=="SECTION"&&A&&F(m,Et,A),F(m,ne,g.carousel),F(s,Et,"presentation"),f()}function l(q){var A=Oe.concat("style");p(S),wt(m,E),wt(n,C),gt([n,s],A),gt(m,q?A:["style",ne])}function f(){wt(m,E),wt(n,C),E=T(Ie),C=T(yn),mt(m,E),mt(n,C),F(m,dt,e.label),F(m,Me,e.labelledby)}function P(q){return q=Ze(m,q),q&&(function(A,H){if(At(A.closest))return A.closest(H);for(var $=A;$&&$.nodeType===1&&!Vt($,H);)$=$.parentElement;return $})(q,"."+Ie)===m?q:void 0}function T(q){return[q+"--"+e.type,q+"--"+e.direction,e.drag&&q+"--draggable",e.isNavigation&&q+"--nav",q===Ie&&It]}return Yt(k,{setup:x,mount:function(){d(Q,l),d(Q,x),d(rt,f),w(document,kn+" keydown",function(q){a=q.type==="keydown"},{capture:!0}),w(m,"focusin",function(){yt(m,xn,!!a)})},destroy:l})},Slides:function(t,i,e){var n=X(t),s=n.on,a=n.emit,h=n.bind,d=(n=i.Elements).slides,w=n.list,m=[];function g(){d.forEach(function(l,f){S(l,f,-1)})}function k(){C(function(l){l.destroy()}),p(m)}function S(l,f,P){f=mo(t,f,P,l),f.mount(),m.push(f),m.sort(function(T,q){return T.index-q.index})}function E(l){return l?x(function(f){return!f.isClone}):m}function C(l,f){E(f).forEach(l)}function x(l){return m.filter(At(l)?l:function(f){return ft(l)?Vt(f.slide,l):pt(j(l),f.index)})}return{mount:function(){g(),s(Q,k),s(Q,g)},destroy:k,update:function(){C(function(l){l.update()})},register:S,get:E,getIn:function(l){var f=i.Controller,P=f.toIndex(l),T=f.hasFocus()?1:e.perPage;return x(function(q){return de(q.index,P,P+T-1)})},getAt:function(l){return x(l)[0]},add:function(l,f){Y(l,function(P){var T,q,A;se(P=ft(P)?Je(P):P)&&((T=d[f])?Ee(P,T):jt(w,P),mt(P,e.classes.slide),T=P,q=y(a,te),T=Ae(T,"img"),(A=T.length)?T.forEach(function(H){h(H,"load error",function(){--A||q()})}):q())}),a(Q)},remove:function(l){Tt(x(l).map(function(f){return f.slide})),a(Q)},forEach:C,filter:x,style:function(l,f,P){C(function(T){T.style(l,f,P)})},getLength:function(l){return(l?d:m).length},isEnough:function(){return m.length>e.perPage}}},Layout:function(t,i,e){var n,s,a,h=(m=X(t)).on,d=m.bind,w=m.emit,m=i.Slides,g=i.Direction.resolve,k=(i=i.Elements).root,S=i.track,E=i.list,C=m.getAt,x=m.style;function l(){n=e.direction===ve,ht(k,"maxWidth",Mt(e.width)),ht(S,g("paddingLeft"),P(!1)),ht(S,g("paddingRight"),P(!0)),f(!0)}function f(b){var L=ut(k);!b&&s.width===L.width&&s.height===L.height||(ht(S,"height",(function(){var M="";return n&&(Qt(M=T(),"height or heightRatio is missing."),M="calc("+M+" - "+P(!1)+" - "+P(!0)+")"),M})()),x(g("marginRight"),Mt(e.gap)),x("width",e.autoWidth?null:Mt(e.fixedWidth)||(n?"":q())),x("height",Mt(e.fixedHeight)||(n?e.autoHeight?null:q():T()),!0),s=L,w(Ce),a!==(a=_())&&(yt(k,_n,a),w("overflow",a)))}function P(M){var L=e.padding,M=g(M?"right":"left");return L&&Mt(L[M]||(ot(L)?0:L))||"0px"}function T(){return Mt(e.height||ut(E).width*e.heightRatio)}function q(){var b=Mt(e.gap);return"calc((100%"+(b&&" + "+b)+")/"+(e.perPage||1)+(b&&" - "+b)+")"}function A(){return ut(E)[g("width")]}function H(b,L){return b=C(b||0),b?ut(b.slide)[g("width")]+(L?0:N()):0}function $(B,L){var M,B=C(B);return B?(B=ut(B.slide)[g("right")],M=ut(E)[g("left")],it(B-M)+(L?0:N())):0}function W(b){return $(t.length-1)-$(0)+H(0,b)}function N(){var b=C(0);return b&&parseFloat(ht(b.slide,g("marginRight")))||0}function _(){return t.is(oe)||W(!0)>A()}return{mount:function(){var b,L,M;l(),d(window,"resize load",(b=y(w,te),M=fe(L||0,b,null,1),function(){M.isPaused()&&M.start()})),h([rt,Q],l),h(te,f)},resize:f,listSize:A,slideSize:H,sliderSize:W,totalSize:$,getPadding:function(b){return parseFloat(ht(S,g("padding"+(b?"Right":"Left"))))||0},isOverflow:_}},Clones:function(t,i,e){var n,s=X(t),a=s.on,h=i.Elements,d=i.Slides,w=i.Direction.resolve,m=[];function g(){if(a(Q,k),a([rt,te],E),n=C()){var x=n,l=d.get().slice(),f=l.length;if(f){for(;l.length<x;)ae(l,l);ae(l.slice(-x),l.slice(0,x)).forEach(function(P,T){var q=T<x,A=(function(H,$){return H=H.cloneNode(!0),mt(H,e.classes.clone),H.id=t.root.id+"-clone"+ke($+1),H})(P.slide,T);q?Ee(A,l[0].slide):jt(h.list,A),ae(m,A),d.register(A,T-x+(q?0:f),P.index)})}i.Layout.resize(!0)}}function k(){S(),g()}function S(){Tt(m),p(m),s.destroy()}function E(){var x=C();n!==x&&(n<x||!x)&&s.emit(Q)}function C(){var x,l=e.clones;return t.is(Bt)?Lt(l)&&(l=(x=e[w("fixedWidth")]&&i.Layout.slideSize(0))&&Jt(ut(h.track)[w("width")]/x)||e[w("autoWidth")]&&t.length||2*e.perPage):l=0,l}return{mount:g,destroy:S}},Move:function(t,i,e){var n,s=X(t),a=s.on,h=s.emit,d=t.state.set,w=(s=i.Layout).slideSize,m=s.getPadding,g=s.totalSize,k=s.listSize,S=s.sliderSize,E=(s=i.Direction).resolve,C=s.orient,x=(s=i.Elements).list,l=s.track;function f(){i.Controller.isBusy()||(i.Scroll.cancel(),P(t.index),i.Slides.update())}function P(_){T($(_,!0))}function T(_,b){t.is(oe)||(b=b?_:(function(L){{var M,B;t.is(Bt)&&(M=H(L),B=M>i.Controller.getEnd(),(M<0||B)&&(L=q(L,B)))}return L})(_),ht(x,"transform","translate"+E("X")+"("+b+"px)"),_!==b&&h(dn))}function q(_,b){var L=_-N(b),M=S();return _-=C(M*(Jt(it(L)/M)||1))*(b?1:-1)}function A(){T(W(),!0),n.cancel()}function H(_){for(var b=i.Slides.get(),L=0,M=1/0,B=0;B<b.length;B++){var J=b[B].index,G=it($(J,!0)-_);if(!(G<=M))break;M=G,L=J}return L}function $(_,b){var L=C(g(_-1)-(_=_,(L=e.focus)==="center"?(k()-w(_,!0))/2:+L*w(_)||0));return b?(_=L,_=e.trimSpace&&t.is(Wt)?Nt(_,0,C(S(!0)-k())):_):L}function W(){var _=E("left");return ut(x)[_]-ut(l)[_]+C(m(!1))}function N(_){return $(_?i.Controller.getEnd():0,!!e.trimSpace)}return{mount:function(){n=i.Transition,a([Pt,Ce,rt,Q],f)},move:function(_,b,L,M){var B,J;_!==b&&(B=L<_,J=C(q(W(),B)),B?0<=J:J<=x[E("scrollWidth")]-ut(l)[E("width")])&&(A(),T(q(W(),L<_),!0)),d(r),h(_t,b,L,_),n.start(b,function(){d(3),h(Zt,b,L,_),M&&M()})},jump:P,translate:T,shift:q,cancel:A,toIndex:H,toPosition:$,getPosition:W,getLimit:N,exceededLimit:function(M,b){b=Lt(b)?W():b;var L=M!==!0&&C(b)<C(N(!1)),M=M!==!1&&C(b)>C(N(!0));return L||M},reposition:f}},Controller:function(t,i,e){var n,s,a,h,d=X(t),w=d.on,m=d.emit,g=i.Move,k=g.getPosition,S=g.getLimit,E=g.toPosition,C=(d=i.Slides).isEnough,x=d.getLength,l=e.omitEnd,f=t.is(Bt),P=t.is(Wt),T=y(N,!1),q=y(N,!0),A=e.start||0,H=A;function $(){s=x(!0),a=e.perMove,h=e.perPage,n=L();var O=Nt(A,0,l?n:s-1);O!==A&&(A=O,g.reposition())}function W(){n!==L()&&m("ei")}function N(O,nt){var tt=a||(G()?1:h),tt=_(A+tt*(O?-1:1),A,!(a||G()));return tt===-1&&P&&!tn(k(),S(!O),1)?O?0:n:nt?tt:b(tt)}function _(O,nt,tt){var ct;return C()||G()?((ct=(function(et){if(P&&e.trimSpace==="move"&&et!==A)for(var z=k();z===E(et,!0)&&de(et,0,t.length-1,!e.rewind);)et<A?--et:++et;return et})(O))!==O&&(nt=O,O=ct,tt=!1),O<0||n<O?O=a||!de(0,O,nt,!0)&&!de(n,nt,O,!0)?f?tt?O<0?-(s%h||h):s:O:e.rewind?O<0?n:0:-1:M(B(O)):tt&&O!==nt&&(O=M(B(nt)+(O<nt?-1:1)))):O=-1,O}function b(O){return f?(O+s)%s||0:O}function L(){for(var O=s-(G()||f&&a?1:h);l&&0<O--;)if(E(s-1,!0)!==E(O,!0)){O++;break}return Nt(O,0,s-1)}function M(O){return Nt(G()?O:h*O,0,n)}function B(O){return G()?xt(O,n):ue((n<=O?s-1:O)/h)}function J(O){O!==A&&(H=A,A=O)}function G(){return!Lt(e.focus)||e.isNavigation}function at(){return t.state.is([r,c])&&!!e.waitForTransition}return{mount:function(){$(),w([rt,Q,"ei"],$),w(Ce,W)},go:function(O,nt,tt){var ct;at()||-1<(ct=b(O=(function(et){var z=A;{var V,U;ft(et)?(U=et.match(/([+\-<>])(\d+)?/)||[],V=U[1],U=U[2],V==="+"||V==="-"?z=_(A+ +(""+V+(+U||1)),A):V===">"?z=U?M(+U):T(!0):V==="<"&&(z=q(!0))):z=f?et:Nt(et,0,n)}return z})(O)))&&(nt||ct!==A)&&(J(ct),g.move(O,ct,H,tt))},scroll:function(O,nt,tt,ct){i.Scroll.scroll(O,nt,tt,function(){var et=b(g.toIndex(k()));J(l?xt(et,n):et),ct&&ct()})},getNext:T,getPrev:q,getAdjacent:N,getEnd:L,setIndex:J,getIndex:function(O){return O?H:A},toIndex:M,toPage:B,toDest:function(O){return O=g.toIndex(O),P?Nt(O,0,n):O},hasFocus:G,isBusy:at}},Arrows:function(t,i,e){var n,s,a=X(t),h=a.on,d=a.bind,w=a.emit,m=e.classes,g=e.i18n,k=i.Elements,S=i.Controller,E=k.arrows,C=k.track,x=E,l=k.prev,f=k.next,P={};function T(){var N=e.arrows;!N||l&&f||(x=E||Ht("div",m.arrows),l=$(!0),f=$(!1),n=!0,jt(x,[l,f]),E||Ee(x,C)),l&&f&&(Yt(P,{prev:l,next:f}),Kt(x,N?"":"none"),mt(x,s=De+"--"+e.direction),N&&(h([Pt,Zt,Q,zt,"ei"],W),d(f,"click",y(H,">")),d(l,"click",y(H,"<")),W(),F([l,f],ee,C.id),w("arrows:mounted",l,f))),h(rt,q)}function q(){A(),T()}function A(){a.destroy(),wt(x,s),n?(Tt(E?[l,f]:x),l=f=null):gt([l,f],Oe)}function H(N){S.go(N,!0)}function $(N){return Je('<button class="'+m.arrow+" "+(N?m.prev:m.next)+'" type="button"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" width="40" height="40" focusable="false"><path d="'+(e.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 W(){var N,_,b,L;l&&f&&(L=t.index,N=S.getPrev(),_=S.getNext(),b=-1<N&&L<N?g.last:g.prev,L=-1<_&&_<L?g.first:g.next,l.disabled=N<0,f.disabled=_<0,F(l,dt,b),F(f,dt,L),w("arrows:updated",l,f,N,_))}return{arrows:P,mount:T,destroy:A,update:W}},Autoplay:function(t,i,e){var n,s,a=X(t),h=a.on,d=a.bind,w=a.emit,m=fe(e.interval,t.go.bind(t,">"),function(A){var H=k.bar;H&&ht(H,"width",100*A+"%"),w("autoplay:playing",A)}),g=m.isPaused,k=i.Elements,S=(a=i.Elements).root,E=a.toggle,C=e.autoplay,x=C==="pause";function l(){g()&&i.Slides.isEnough()&&(m.start(!e.resetProgress),s=n=x=!1,T(),w(sn))}function f(A){x=!!(A=A===void 0?!0:A),T(),g()||(m.pause(),w(an))}function P(){x||(n||s?f(!1):l())}function T(){E&&(yt(E,It,!x),F(E,dt,e.i18n[x?"play":"pause"]))}function q(A){A=i.Slides.getAt(A),m.set(A&&+vt(A.slide,go)||e.interval)}return{mount:function(){C&&(e.pauseOnHover&&d(S,"mouseenter mouseleave",function(A){n=A.type==="mouseenter",P()}),e.pauseOnFocus&&d(S,"focusin focusout",function(A){s=A.type==="focusin",P()}),E&&d(E,"click",function(){x?l():f(!0)}),h([_t,qe,Q],m.rewind),h(_t,q),E&&F(E,ee,k.track.id),x||l(),T())},destroy:m.cancel,play:l,pause:f,isPaused:g}},Cover:function(t,i,e){var n=X(t).on;function s(h){i.Slides.forEach(function(d){var w=Gt(d.container||d.slide,"img");w&&w.src&&a(h,w,d)})}function a(h,d,w){w.style("background",h?'center/cover no-repeat url("'+d.src+'")':"",!0),Kt(d,h?"none":"")}return{mount:function(){e.cover&&(n(ln,y(a,!0)),n([Pt,rt,Q],y(s,!0)))},destroy:y(s,!1)}},Scroll:function(t,i,e){var n,s,a=X(t),h=a.on,d=a.emit,w=t.state.set,m=i.Move,g=m.getPosition,k=m.getLimit,S=m.exceededLimit,E=m.translate,C=t.is(Wt),x=1;function l(A,H,L,W,N){var _,b=g(),L=(T(),!L||C&&S()||(L=i.Layout.sliderSize(),_=xe(A)*L*ue(it(A)/L)||0,A=m.toPosition(i.Controller.toDest(A%L))+_),tn(b,A,1));x=1,H=L?0:H||le(it(A-b)/1.5,800),s=W,n=fe(H,f,y(P,b,A,N),1),w(c),d(qe),n.start()}function f(){w(3),s&&s(),d(zt)}function P(A,H,$,_){var N=g(),_=(A+(H-A)*(H=_,(A=e.easingFunc)?A(H):1-Math.pow(1-H,4))-N)*x;E(N+_),C&&!$&&S()&&(x*=.6,it(_)<10&&l(k(S(!0)),600,!1,s,!0))}function T(){n&&n.cancel()}function q(){n&&!n.isPaused()&&(T(),f())}return{mount:function(){h(_t,T),h([rt,Q],q)},destroy:T,scroll:l,cancel:q}},Drag:function(t,i,e){var n,s,a,h,d,w,m,g,k=X(t),S=k.on,E=k.emit,C=k.bind,x=k.unbind,l=t.state,f=i.Move,P=i.Scroll,T=i.Controller,q=i.Elements.track,A=i.Media.reduce,H=(k=i.Direction).resolve,$=k.orient,W=f.getPosition,N=f.exceededLimit,_=!1;function b(){var z=e.drag;et(!z),h=z==="free"}function L(z){var V,U,st;w=!1,m||(V=ct(z),U=z.target,st=e.noDrag,Vt(U,"."+An+", ."+ge)||st&&Vt(U,st)||!V&&z.button||(T.isBusy()?bt(z,!0):(g=V?q:window,d=l.is([r,c]),a=null,C(g,ze,M,$t),C(g,Re,B,$t),f.cancel(),P.cancel(),G(z))))}function M(z){var V,U,st,kt,Ct;l.is(6)||(l.set(6),E("drag")),z.cancelable&&(d?(f.translate(n+at(z)/(_&&t.is(Wt)?5:1)),Ct=200<O(z),V=_!==(_=N()),(Ct||V)&&G(z),w=!0,E("dragging"),bt(z)):it(at(Ct=z))>it(at(Ct,!0))&&(V=z,U=e.dragMinThreshold,st=ot(U),kt=st&&U.mouse||0,st=(st?U.touch:+U)||10,d=it(at(V))>(ct(V)?st:kt),bt(z)))}function B(z){var V,U,st;l.is(6)&&(l.set(3),E("dragged")),d&&(U=(function(kt){return W()+xe(kt)*xt(it(kt)*(e.flickPower||600),h?1/0:i.Layout.listSize()*(e.flickMaxPages||1))})(V=(function(kt){if(t.is(Bt)||!_){var Ct=O(kt);if(Ct&&Ct<200)return at(kt)/Ct}return 0})(V=z)),st=e.rewind&&e.rewindByDrag,A(!1),h?T.scroll(U,0,e.snap):t.is(oe)?T.go($(xe(V))<0?st?"<":"-":st?">":"+"):t.is(Wt)&&_&&st?T.go(N(!0)?">":"<"):T.go(T.toDest(U),!0),A(!0),bt(z)),x(g,ze,M),x(g,Re,B),d=!1}function J(z){!m&&w&&bt(z,!0)}function G(z){a=s,s=z,n=W()}function at(z,V){return tt(z,V)-tt(nt(z),V)}function O(z){return Le(z)-Le(nt(z))}function nt(z){return s===z&&a||s}function tt(z,V){return(ct(z)?z.changedTouches[0]:z)["page"+H(V?"Y":"X")]}function ct(z){return typeof TouchEvent<"u"&&z instanceof TouchEvent}function et(z){m=z}return{mount:function(){C(q,ze,I,$t),C(q,Re,I,$t),C(q,kn,L,$t),C(q,"click",J,{capture:!0}),C(q,"dragstart",bt),S([Pt,rt],b)},disable:et,isDragging:function(){return d}}},Keyboard:function(t,i,e){var n,s,a=X(t),h=a.on,d=a.bind,w=a.unbind,m=t.root,g=i.Direction.resolve;function k(){var x=e.keyboard;x&&(n=x==="global"?window:m,d(n,Cn,C))}function S(){w(n,Cn)}function E(){var x=s;s=!0,D(function(){s=x})}function C(x){s||((x=Fe(x))===g(pe)?t.go("<"):x===g(he)&&t.go(">"))}return{mount:function(){k(),h(rt,S),h(rt,k),h(_t,E)},destroy:S,disable:function(x){s=x}}},LazyLoad:function(t,i,e){var n=X(t),s=n.on,a=n.off,h=n.bind,d=n.emit,w=e.lazyLoad==="sequential",m=[Zt,zt],g=[];function k(){p(g),i.Slides.forEach(function(l){Ae(l.slide,bo).forEach(function(f){var P=vt(f,ie),T=vt(f,be);P===f.src&&T===f.srcset||(P=e.classes.spinner,P=Gt(T=f.parentElement,"."+P)||Ht("span",P,T),g.push([f,l,P]),f.src||Kt(f,"none"))})}),(w?x:(a(m),s(m,S),S))()}function S(){(g=g.filter(function(l){var f=e.perPage*((e.preloadPages||1)+1)-1;return!l[1].isWithin(t.index,f)||E(l)})).length||a(m)}function E(l){var f=l[0];mt(l[1].slide,Ne),h(f,"load error",y(C,l)),F(f,"src",vt(f,ie)),F(f,"srcset",vt(f,be)),gt(f,ie),gt(f,be)}function C(l,f){var P=l[0],T=l[1];wt(T.slide,Ne),f.type!=="error"&&(Tt(l[2]),Kt(P,""),d(ln,P,T),d(te)),w&&x()}function x(){g.length&&E(g.shift())}return{mount:function(){e.lazyLoad&&(k(),s(Q,k))},destroy:y(p,g),check:S}},Pagination:function(t,i,e){var n,s,a=X(t),h=a.on,d=a.emit,w=a.bind,m=i.Slides,g=i.Elements,k=i.Controller,S=k.hasFocus,E=k.getIndex,C=k.go,x=i.Direction.resolve,l=g.pagination,f=[];function P(){n&&(Tt(l?v(n.children):n),wt(n,s),p(f),n=null),a.destroy()}function T(W){C(">"+W,!0)}function q(W,N){var _=f.length,b=Fe(N),M=A(),L=-1,M=(b===x(he,!1,M)?L=++W%_:b===x(pe,!1,M)?L=(--W+_)%_:b==="Home"?L=0:b==="End"&&(L=_-1),f[L]);M&&(Ue(M.button),C(">"+L),bt(N,!0))}function A(){return e.paginationDirection||e.direction}function H(W){return f[k.toPage(W)]}function $(){var W,N=H(E(!0)),_=H(E());N&&(wt(W=N.button,It),gt(W,pn),F(W,Ft,-1)),_&&(mt(W=_.button,It),F(W,pn,!0),F(W,Ft,"")),d("pagination:updated",{list:n,items:f},N,_)}return{items:f,mount:function W(){P(),h([rt,Q,"ei"],W);var N=e.pagination;if(l&&Kt(l,N?"":"none"),N){h([_t,qe,zt],$);var N=t.length,_=e.classes,b=e.i18n,L=e.perPage,M=S()?k.getEnd()+1:Jt(N/L);mt(n=l||Ht("ul",_.pagination,g.track.parentElement),s=ye+"--"+A()),F(n,Et,"tablist"),F(n,dt,b.select),F(n,Pe,A()===ve?"vertical":"");for(var B=0;B<M;B++){var J=Ht("li",null,n),G=Ht("button",{class:_.page,type:"button"},J),at=m.getIn(B).map(function(tt){return tt.slide.id}),O=!S()&&1<L?b.pageX:b.slideX;w(G,"click",y(T,B)),e.paginationKeyboard&&w(G,"keydown",y(q,B)),F(J,Et,"presentation"),F(G,Et,"tab"),F(G,ee,at.join(" ")),F(G,dt,_e(O,B+1)),F(G,Ft,-1),f.push({li:J,button:G,page:B})}$(),d("pagination:mounted",{list:n,items:f},H(t.index))}},destroy:P,getAt:H,update:$}},Sync:function(t,i,e){var n=e.isNavigation,s=e.slideFocus,a=[];function h(){var S,E;t.splides.forEach(function(C){C.isParent||(w(t,C.splide),w(C.splide,t))}),n&&(S=X(t),(E=S.on)(on,g),E(un,k),E([Pt,rt],m),a.push(S),S.emit(cn,t.splides))}function d(){a.forEach(function(S){S.destroy()}),p(a)}function w(S,E){S=X(S),S.on(_t,function(C,x,l){E.go(E.is(Bt)?l:C)}),a.push(S)}function m(){F(i.Elements.list,Pe,e.direction===ve?"vertical":"")}function g(S){t.go(S.index)}function k(S,E){pt(wo,Fe(E))&&(g(S),bt(E))}return{setup:y(i.Media.set,{slideFocus:Lt(s)?n:s},!0),mount:h,destroy:d,remount:function(){d(),h()}}},Wheel:function(t,i,e){var n=X(t).bind,s=0;function a(h){var d,w,m,g,k;h.cancelable&&(d=(k=h.deltaY)<0,w=Le(h),m=e.wheelMinThreshold||0,g=e.wheelSleep||0,it(k)>m&&g<w-s&&(t.go(d?"<":">"),s=w),k=d,e.releaseWheel&&!t.state.is(r)&&i.Controller.getAdjacent(k)===-1||bt(h))}return{mount:function(){e.wheel&&n(i.Elements.track,"wheel",a,$t)}}},Live:function(t,i,e){var n=X(t).on,s=i.Elements.track,a=e.live&&!e.isNavigation,h=Ht("span",ho),d=fe(90,y(w,!1));function w(g){F(s,mn,g),g?(jt(s,h),d.start()):(Tt(h),d.cancel())}function m(g){a&&F(s,vn,g?"off":"polite")}return{mount:function(){a&&(m(!i.Autoplay.isPaused()),F(s,gn,!0),h.textContent="\u2026",n(sn,y(m,!0)),n(an,y(m,!1)),n([Zt,zt],y(w,!0)))},disable:m,destroy:function(){gt(s,[vn,gn,mn]),Tt(h)}}}}),Ao={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:me,clone:bn,arrows:De,arrow:ge,prev:wn,next:En,pagination:ye,page:An,spinner:K+"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 Lo(t,i,e){var n=i.Slides;function s(){n.forEach(function(a){a.style("transform","translateX(-"+100*a.index+"%)")})}return{mount:function(){X(t).on([Pt,Q],s)},start:function(a,h){n.style("transition","opacity "+e.speed+"ms "+e.easing),D(h)},cancel:I}}function So(t,i,e){var n,s=i.Move,a=i.Controller,h=i.Scroll,d=i.Elements.list,w=y(ht,d,"transition");function m(){w(""),h.cancel()}return{mount:function(){X(t).bind(d,"transitionend",function(g){g.target===d&&n&&(m(),n())})},start:function(g,k){var S=s.toPosition(g,!0),E=s.getPosition(),C=(function(x){var l=e.rewindSpeed;if(t.is(Wt)&&l){var f=a.getIndex(!0),P=a.getEnd();if(f===0&&P<=x||P<=f&&x===0)return l}return e.speed})(g);1<=it(S-E)&&1<=C?e.useScroll?h.scroll(S,C,!1,k):(w("transform "+C+"ms "+e.easing),s.translate(S,!0),n=k):(s.jump(g),k())},cancel:m}}return Rt=(function(){function t(e,n){this.event=X(),this.Components={},this.state=ao(1),this.splides=[],this.n={},this.t={},e=ft(e)?Ze(document,e):e,Qt(e,e+" is invalid."),n=St({label:vt(this.root=e,dt)||"",labelledby:vt(e,Me)||""},Ao,t.defaults,n||{});try{St(n,JSON.parse(vt(e,Se)))}catch{Qt(!1,"Invalid JSON")}this.n=Object.create(St({},n))}var i=t.prototype;return i.mount=function(e,n){var s=this,a=this.state,h=this.Components;return Qt(a.is([1,7]),"Already mounted!"),a.set(1),this.i=h,this.r=n||this.r||(this.is(oe)?Lo:So),this.t=e||this.t,qt(Yt({},Eo,this.t,{Transition:this.r}),function(d,w){d=d(s,h,s.n),(h[w]=d).setup&&d.setup()}),qt(h,function(d){d.mount&&d.mount()}),this.emit(Pt),mt(this.root,"is-initialized"),a.set(3),this.emit("ready"),this},i.sync=function(e){return this.splides.push({splide:e}),e.splides.push({splide:this,isParent:!0}),this.state.is(3)&&(this.i.Sync.remount(),e.Components.Sync.remount()),this},i.go=function(e){return this.i.Controller.go(e),this},i.on=function(e,n){return this.event.on(e,n),this},i.off=function(e){return this.event.off(e),this},i.emit=function(e){var n;return(n=this.event).emit.apply(n,[e].concat(v(arguments,1))),this},i.add=function(e,n){return this.i.Slides.add(e,n),this},i.remove=function(e){return this.i.Slides.remove(e),this},i.is=function(e){return this.n.type===e},i.refresh=function(){return this.emit(Q),this},i.destroy=function(e){e===void 0&&(e=!0);var n=this.event,s=this.state;return s.is(1)?X(this).on("ready",this.destroy.bind(this,e)):(qt(this.i,function(a){a.destroy&&a.destroy(e)},!0),n.emit(rn),n.destroy(),e&&p(this.splides),s.set(7)),this},Ho(t,[{key:"options",get:function(){return this.n},set:function(e){this.i.Media.set(e,!0,!0)}},{key:"length",get:function(){return this.i.Slides.getLength(!0)}},{key:"index",get:function(){return this.i.Controller.getIndex()}}]),t})(),Rt.defaults={},Rt.STATES=u,Rt},typeof Be=="object"&&typeof $e<"u"?$e.exports=we():typeof define=="function"&&define.amd?define(we):(We=typeof globalThis<"u"?globalThis:We||self).Splide=we()});function Oo(){Array.from(document.querySelectorAll(".c-accordion__title")).forEach(Io)}function Io(o){o.addEventListener("click",Do())}function Do(){return o=>{var r=o.currentTarget.parentElement;r.classList.toggle("c-accordion__item--open")}}var Tn=Oo;var re=Po(Pn());function je(){document.querySelectorAll('[data-carousel="hero"]').forEach(r=>{new re.default(r,{type:"fade",autoplay:!0,interval:5e3,pauseOnHover:!1,arrows:!1,pagination:!1}).mount()}),document.querySelectorAll('[data-carousel="cards"]').forEach(r=>{let c=r.dataset.carouselType||"slide",u=r.dataset.carouselRewind==="true",p=parseInt(r.dataset.carouselPerMove)||1,v=new re.default(r,{type:c,perMove:p,focus:0,arrows:!1,drag:!0,pagination:!1,preventClick:!0,rewind:u,clones:0});function y(){let I=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--wrapper")),D=parseInt(getComputedStyle(r).getPropertyValue("--row-gap")),R;window.innerWidth>=1024?R=(I-3*D)/4:window.innerWidth>=768?R=(I-2*D)/3:window.innerWidth>=680?R=(I-D)/2:R=I,r.querySelectorAll(".splide__slide").forEach(Z=>{Z.style.width=`${R}px`}),v.refresh()}window.addEventListener("resize",y),y(),r.querySelector(".c-carousel__arrow--prev")?.addEventListener("click",()=>v.go("<")),r.querySelector(".c-carousel__arrow--next")?.addEventListener("click",()=>v.go(">")),r.querySelectorAll("a").forEach(I=>{I.addEventListener("click",D=>D.stopPropagation())}),v.mount()}),document.querySelectorAll('[data-carousel="gallery-main"]').forEach(r=>{let c=r.dataset.galleryId,u=document.querySelector(`[data-carousel="gallery-thumbs"][data-gallery-id="${c}"]`);if(!u)return;let p=new re.default(u,{type:"slide",perPage:parseInt(u.dataset.perPage)||4,gap:"0.5rem",focus:"center",isNavigation:!0,pagination:!1,arrows:!1}).mount();new re.default(r,{type:"fade",pagination:!1,arrows:!0}).sync(p).mount(),r.querySelectorAll("a").forEach(y=>{y.addEventListener("click",I=>I.stopPropagation())})})}function No(){let o=document.getElementById("clearForm");o&&o.addEventListener("click",function(){this.closest("form").elements.forEach(c=>{if(c.value!=""){if(c.type.toLowerCase()=="text"||c.type.toLowerCase()=="email"||c.type.toLowerCase()=="tel"||c.type.toLowerCase()=="select-one"||c.type.toLowerCase()=="textarea"){c.value="";return}else if(c.type.toLowerCase()=="checkbox"){c.checked=!1;return}}})})}var On=No;function zo(){document.querySelectorAll(".c-comparison-table").forEach(Ro)}function Ro(o){let r=o.parentNode.parentNode,c=r.querySelector(".c-comparison-table tbody"),u=r.querySelector(".c-comparison-table thead"),p=r.parentElement.querySelector(".c-comparison-table__mobile");if(!c||!u||!p)return;let v=Array.from(u.children[0].children).filter((D,R)=>R).map(D=>({info:D.innerHTML})),y=Array.from(u.children[1].children).filter((D,R)=>R).map(D=>({buttons:D.innerHTML})),I=v.map((D,R)=>({...D,...y[R],table:[]}));Array.from(c.children).forEach(D=>{if(D.classList.contains("c-comparison-table__title"))I.forEach(R=>{R.table.push({type:"title",title:D.children[0].textContent})});else{let R=Array.from(D.children),Z=R.shift();R.forEach((ot,lt)=>{I[lt].table.push({type:"row",key:Z.textContent,value:ot.innerHTML})})}}),I.forEach(D=>{let R=Fo(D);p.appendChild(R)})}function Fo(o){let r=document.createElement("article");return r.innerHTML=`${o.info}${o.buttons}
2
2
  <table class="c-comparison-table">
3
3
  ${o.table.map(c=>c.type==="title"?`<tr class="c-comparison-table__title"><th><span>${c.title}</span></th><th></th></tr>`:`<tr>
4
4
  <td>${c.key}</td>