mp-design-system 2.0.78 → 2.0.79

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,10 +1,10 @@
1
- (()=>{var xo=Object.create;var Tn=Object.defineProperty;var _o=Object.getOwnPropertyDescriptor;var ko=Object.getOwnPropertyNames;var Co=Object.getPrototypeOf,To=Object.prototype.hasOwnProperty;var qo=(o,i)=>()=>(i||o((i={exports:{}}).exports,i),i.exports);var Mo=(o,i,c,u)=>{if(i&&typeof i=="object"||typeof i=="function")for(let p of ko(i))!To.call(o,p)&&p!==c&&Tn(o,p,{get:()=>i[p],enumerable:!(u=_o(i,p))||u.enumerable});return o};var Po=(o,i,c)=>(c=o!=null?xo(Co(o)):{},Mo(i||!o||!o.__esModule?Tn(c,"default",{value:o,enumerable:!0}):c,o));var Pn=qo((We,$e)=>{function Mn(o,i){for(var c=0;c<i.length;c++){var u=i[c];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(o,u.key,u)}}function Ho(o,i,c){i&&Mn(o.prototype,i),c&&Mn(o,c),Object.defineProperty(o,"prototype",{writable:!1})}var Be,we;Be=We,we=function(){"use strict";var o="(prefers-reduced-motion: reduce)",i=4,c=5,u={CREATED:1,MOUNTED:2,IDLE:3,MOVING:i,SCROLLING:c,DRAGGING:6,DESTROYED:7};function p(t){t.length=0}function v(t,r,e){return Array.prototype.slice.call(t,r,e)}function y(t){return t.bind.apply(t,[null].concat(v(arguments,1)))}function I(){}var H=setTimeout;function F(t){return requestAnimationFrame(t)}function Z(t,r){return typeof r===t}function nt(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 ae(t){try{return t instanceof(t.ownerDocument.defaultView||window).HTMLElement}catch{return!1}}function j(t){return lt(t)?t:[t]}function Y(t,r){j(t).forEach(r)}function pt(t,r){return-1<t.indexOf(r)}function se(t,r){return t.push.apply(t,j(r)),t}function yt(t,r,e){t&&Y(r,function(n){n&&t.classList[e?"add":"remove"](n)})}function mt(t,r){yt(t,ft(r)?r.split(" "):r,!0)}function jt(t,r){Y(r,t.appendChild.bind(t))}function Ee(t,r){Y(t,function(e){var n=(r||e).parentNode;n&&n.insertBefore(e,r)})}function Gt(t,r){return ae(t)&&(t.msMatchesSelector||t.matches).call(t,r)}function Ye(t,r){return t=t?v(t.children):[],r?t.filter(function(e){return Gt(e,r)}):t}function Vt(t,r){return r?Ye(t,r)[0]:t.firstElementChild}var Xt=Object.keys;function Tt(t,r,e){t&&(e?Xt(t).reverse():Xt(t)).forEach(function(n){n!=="__proto__"&&r(t[n],n)})}function Yt(t){return v(arguments,1).forEach(function(r){Tt(r,function(e,n){t[n]=r[n]})}),t}function St(t){return v(arguments,1).forEach(function(r){Tt(r,function(e,n){lt(e)?t[n]=e.slice():nt(e)?t[n]=St({},nt(t[n])?t[n]:{},e):t[n]=e})}),t}function Ke(t,r){Y(r||Xt(t),function(e){delete t[e]})}function gt(t,r){Y(t,function(e){Y(r,function(n){e&&e.removeAttribute(n)})})}function R(t,r,e){nt(r)?Tt(r,function(n,a){R(t,a,n)}):Y(t,function(n){Dt(e)||e===""?gt(n,r):n.setAttribute(r,String(e))})}function Ht(t,r,e){return t=document.createElement(t),r&&(ft(r)?mt:R)(t,r),e&&jt(e,t),t}function ht(t,r,e){if(Lt(e))return getComputedStyle(t)[r];Dt(e)||(t.style[r]=""+e)}function Kt(t,r){ht(t,"display",r)}function Ue(t){t.setActive&&t.setActive()||t.focus({preventScroll:!0})}function vt(t,r){return t.getAttribute(r)}function Qe(t,r){return t&&t.classList.contains(r)}function ut(t){return t.getBoundingClientRect()}function qt(t){Y(t,function(r){r&&r.parentNode&&r.parentNode.removeChild(r)})}function Je(t){return Vt(new DOMParser().parseFromString(t,"text/html").body)}function bt(t,r){t.preventDefault(),r&&(t.stopPropagation(),t.stopImmediatePropagation())}function Ze(t,r){return t&&t.querySelector(r)}function Ae(t,r){return r?v(t.querySelectorAll(r)):[]}function wt(t,r){yt(t,r,!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,r){if(!t)throw new Error("["+Ut+"] "+(r||""))}var xt=Math.min,le=Math.max,ue=Math.floor,Jt=Math.ceil,rt=Math.abs;function tn(t,r,e){return rt(t-r)<e}function de(t,s,e,n){var a=xt(s,e),s=le(s,e);return n?a<t&&t<s:a<=t&&t<=s}function Nt(t,a,e){var n=xt(a,e),a=le(a,e);return xt(le(n,t),a)}function xe(t){return(0<t)-(t<0)}function _e(t,r){return Y(r,function(e){t=t.replace("%s",""+e)}),t}function ke(t){return t<10?"0"+t:""+t}var en={};function nn(){var t=[];function r(e,n,a){Y(e,function(s){s&&Y(n,function(h){h.split(" ").forEach(function(d){d=d.split("."),a(s,d[0],d[1])})})})}return{bind:function(e,n,a,s){r(e,n,function(h,d,w){var m="addEventListener"in h,g=m?h.removeEventListener.bind(h,d,a,s):h.removeListener.bind(h,a);m?h.addEventListener(d,a,s):h.addListener(a),t.push([h,d,w,a,g])})},unbind:function(e,n,a){r(e,n,function(s,h,d){t=t.filter(function(w){return!!(w[0]!==s||w[1]!==h||w[2]!==d||a&&w[3]!==a)||(w[4](),!1)})})},dispatch:function(e,n,a){var s;return typeof CustomEvent=="function"?s=new CustomEvent(n,{bubbles:!0,detail:a}):(s=document.createEvent("CustomEvent")).initCustomEvent(n,!0,!1,a),e.dispatchEvent(s),s},destroy:function(){t.forEach(function(e){e[4]()}),p(t)}}}var Pt="mounted",_t="move",Zt="moved",on="click",ro="active",io="inactive",co="visible",ao="hidden",Q="refresh",it="updated",te="resize",Ce="resized",Te="scroll",zt="scrolled",rn="destroy",cn="navigation:mounted",an="autoplay:play",sn="autoplay:pause",ln="lazyload:loaded",un="sk",dn="sh";function X(t){var r=t?t.event.bus:document.createDocumentFragment(),e=nn();return t&&t.event.on(rn,e.destroy),Yt(e,{bus:r,on:function(n,a){e.bind(r,j(n).join(" "),function(s){a.apply(a,lt(s.detail)?s.detail:[])})},off:y(e.unbind,r),emit:function(n){e.dispatch(r,n,v(arguments,1))}})}function fe(t,r,e,n){var a,s,h=Date.now,d=0,w=!0,m=0;function g(){if(!w){if(d=t?xt((h()-a)/t,1):1,e&&e(d),1<=d&&(r(),a=h(),n&&++m>=n))return k();s=F(g)}}function k(){w=!0}function S(){s&&cancelAnimationFrame(s),w=!(s=d=0)}return{start:function(E){E||S(),a=h()-(E?d*t:0),w=!1,s=F(g)},rewind:function(){a=h(),d=0,e&&e(d)},pause:k,cancel:S,set:function(E){t=E},isPaused:function(){return w}}}function so(t){var r=t;return{set:function(e){r=e},is:function(e){return pt(j(e),r)}}}var Ot="Arrow",pe=Ot+"Left",he=Ot+"Right",Ft=Ot+"Up",Ot=Ot+"Down",ve="ttb",qe={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[Ft,he],ArrowRight:[Ot,pe]},Et="role",Rt="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,Rt,"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",Fe="touchend touchcancel mouseup click",Bt="slide",Wt="loop",oe="fade";function mo(t,r,e,n){var a,s=X(t),h=s.on,d=s.emit,w=s.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"),q=vt(n,dt),T=-1<e,A=Vt(n,"."+uo);function D(){var b=t.splides.map(function(L){return L=L.splide.Components.Slides.getAt(r),L?L.slide.id:""}).join(" ");R(n,dt,_e(C.slideX,(T?e:r)+1)),R(n,ee,b),R(n,Et,l?"button":""),l&&gt(n,ne)}function $(){a||B()}function B(){var b,L,M;a||(b=t.index,(M=N())!==Qe(n,It)&&(yt(n,It,M),R(n,fn,S&&M||""),d(M?ro:io,_)),M=(function(){if(t.is(oe))return N();var W=ut(m.Elements.track),J=ut(n),V=f("left",!0),st=f("right",!0);return ue(W[V])<=Jt(J[V])&&ue(J[st])<=Jt(W[st])})(),L=!M&&(!N()||T),t.state.is([i,c])||R(n,hn,L||""),R(Ae(n,k.focusableNodes||""),Rt,L?-1:""),l&&R(n,Rt,L?-1:0),M!==Qe(n,He)&&(yt(n,He,M),d(M?co:ao,_)),M||document.activeElement!==n||(L=m.Slides.getAt(t.index))&&Ue(L.slide),yt(n,Ln,r===b-1),yt(n,Sn,r===b+1))}function N(){var b=t.index;return b===r||k.cloneStatus&&b===e}var _={index:r,slideIndex:e,slide:n,container:A,isClone:T,mount:function(){T||(n.id=g.id+"-slide"+ke(r+1),R(n,Et,x?"tabpanel":"group"),R(n,ne,C.slide),R(n,dt,q||_e(C.slideLabel,[r+1,t.length]))),w(n,"click",y(d,on,_)),w(n,"keydown",y(d,un,_)),h([Zt,dn,zt],B),h(cn,D),E&&h(_t,$)},destroy:function(){a=!0,s.destroy(),wt(n,vo),gt(n,Oe),R(n,"style",P),R(n,dt,q||"")},update:B,style:function(b,L,M){ht(M&&A||n,b,L)},isWithin:function(b,L){return b=rt(b-r),(b=T||!k.rewind&&!t.is(Wt)?b:xt(b,t.length-b))<=L}};return _}var go=Se+"-interval",$t={passive:!1,capture:!0},yo={Spacebar:" ",Right:he,Left:pe,Up:Ft,Down:Ot};function Re(t){return t=ft(t)?t:t.key,yo[t]||t}var Cn="keydown",re=Se+"-lazy",be=re+"-srcset",bo="["+re+"], ["+be+"]",wo=[" ","Enter"],Eo=Object.freeze({__proto__:null,Media:function(t,r,e){var n=t.state,a=e.breakpoints||{},s=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(it,e)}return{setup:function(){var S=e.mediaQuery==="min";Xt(a).sort(function(E,C){return S?+E-+C:+C-+E}).forEach(function(E){m(a[E],"("+(S?"min":"max")+"-width:"+E+"px)")}),m(s,o),g()},destroy:w,reduce:function(S){matchMedia(o).matches&&(S?St(e,s):Ke(e,Xt(s)))},set:k}},Direction:function(t,r,e){return{resolve:function(n,a,s){var h=(s=s||e.direction)!=="rtl"||a?s===ve?0:-1:1;return qe[n]&&qe[n][h]||n.replace(/width|left|right/i,function(d,w){return d=qe[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,r,e){var n,a,s,h=X(t),d=h.on,w=h.bind,m=t.root,g=e.i18n,k={},S=[],E=[],C=[];function x(){n=P("."+yn),a=Vt(n,"."+lo),Qt(n&&a,"A track/list element is missing."),se(S,Ye(a,"."+me+":not(."+bn+")")),Tt({arrows:De,pagination:ye,prev:wn,next:En,bar:fo,toggle:po},function(D,$){k[$]=P("."+D)}),Yt(k,{root:m,track:n,list:a,slides:S});var T=m.id||(function(D){return""+D+ke(en[D]=(en[D]||0)+1)})(Ut),A=e.role;m.id=T,n.id=n.id||T+"-track",a.id=a.id||T+"-list",!vt(m,Et)&&m.tagName!=="SECTION"&&A&&R(m,Et,A),R(m,ne,g.carousel),R(a,Et,"presentation"),f()}function l(T){var A=Oe.concat("style");p(S),wt(m,E),wt(n,C),gt([n,a],A),gt(m,T?A:["style",ne])}function f(){wt(m,E),wt(n,C),E=q(Ie),C=q(yn),mt(m,E),mt(n,C),R(m,dt,e.label),R(m,Me,e.labelledby)}function P(T){return T=Ze(m,T),T&&(function(A,D){if(At(A.closest))return A.closest(D);for(var $=A;$&&$.nodeType===1&&!Gt($,D);)$=$.parentElement;return $})(T,"."+Ie)===m?T:void 0}function q(T){return[T+"--"+e.type,T+"--"+e.direction,e.drag&&T+"--draggable",e.isNavigation&&T+"--nav",T===Ie&&It]}return Yt(k,{setup:x,mount:function(){d(Q,l),d(Q,x),d(it,f),w(document,kn+" keydown",function(T){s=T.type==="keydown"},{capture:!0}),w(m,"focusin",function(){yt(m,xn,!!s)})},destroy:l})},Slides:function(t,r,e){var n=X(t),a=n.on,s=n.emit,h=n.bind,d=(n=r.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(q,T){return q.index-T.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)?Gt(f.slide,l):pt(j(l),f.index)})}return{mount:function(){g(),a(Q,k),a(Q,g)},destroy:k,update:function(){C(function(l){l.update()})},register:S,get:E,getIn:function(l){var f=r.Controller,P=f.toIndex(l),q=f.hasFocus()?1:e.perPage;return x(function(T){return de(T.index,P,P+q-1)})},getAt:function(l){return x(l)[0]},add:function(l,f){Y(l,function(P){var q,T,A;ae(P=ft(P)?Je(P):P)&&((q=d[f])?Ee(P,q):jt(w,P),mt(P,e.classes.slide),q=P,T=y(s,te),q=Ae(q,"img"),(A=q.length)?q.forEach(function(D){h(D,"load error",function(){--A||T()})}):T())}),s(Q)},remove:function(l){qt(x(l).map(function(f){return f.slide})),s(Q)},forEach:C,filter:x,style:function(l,f,P){C(function(q){q.style(l,f,P)})},getLength:function(l){return(l?d:m).length},isEnough:function(){return m.length>e.perPage}}},Layout:function(t,r,e){var n,a,s,h=(m=X(t)).on,d=m.bind,w=m.emit,m=r.Slides,g=r.Direction.resolve,k=(r=r.Elements).root,S=r.track,E=r.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&&a.width===L.width&&a.height===L.height||(ht(S,"height",(function(){var M="";return n&&(Qt(M=q(),"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?"":T())),x("height",Mt(e.fixedHeight)||(n?e.autoHeight?null:T():q()),!0),a=L,w(Ce),s!==(s=_())&&(yt(k,_n,s),w("overflow",s)))}function P(M){var L=e.padding,M=g(M?"right":"left");return L&&Mt(L[M]||(nt(L)?0:L))||"0px"}function q(){return Mt(e.height||ut(E).width*e.heightRatio)}function T(){var b=Mt(e.gap);return"calc((100%"+(b&&" + "+b)+")/"+(e.perPage||1)+(b&&" - "+b)+")"}function A(){return ut(E)[g("width")]}function D(b,L){return b=C(b||0),b?ut(b.slide)[g("width")]+(L?0:N()):0}function $(W,L){var M,W=C(W);return W?(W=ut(W.slide)[g("right")],M=ut(E)[g("left")],rt(W-M)+(L?0:N())):0}function B(b){return $(t.length-1)-$(0)+D(0,b)}function N(){var b=C(0);return b&&parseFloat(ht(b.slide,g("marginRight")))||0}function _(){return t.is(oe)||B(!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([it,Q],l),h(te,f)},resize:f,listSize:A,slideSize:D,sliderSize:B,totalSize:$,getPadding:function(b){return parseFloat(ht(S,g("padding"+(b?"Right":"Left"))))||0},isOverflow:_}},Clones:function(t,r,e){var n,a=X(t),s=a.on,h=r.Elements,d=r.Slides,w=r.Direction.resolve,m=[];function g(){if(s(Q,k),s([it,te],E),n=C()){var x=n,l=d.get().slice(),f=l.length;if(f){for(;l.length<x;)se(l,l);se(l.slice(-x),l.slice(0,x)).forEach(function(P,q){var T=q<x,A=(function(D,$){return D=D.cloneNode(!0),mt(D,e.classes.clone),D.id=t.root.id+"-clone"+ke($+1),D})(P.slide,q);T?Ee(A,l[0].slide):jt(h.list,A),se(m,A),d.register(A,q-x+(T?0:f),P.index)})}r.Layout.resize(!0)}}function k(){S(),g()}function S(){qt(m),p(m),a.destroy()}function E(){var x=C();n!==x&&(n<x||!x)&&a.emit(Q)}function C(){var x,l=e.clones;return t.is(Wt)?Lt(l)&&(l=(x=e[w("fixedWidth")]&&r.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,r,e){var n,a=X(t),s=a.on,h=a.emit,d=t.state.set,w=(a=r.Layout).slideSize,m=a.getPadding,g=a.totalSize,k=a.listSize,S=a.sliderSize,E=(a=r.Direction).resolve,C=a.orient,x=(a=r.Elements).list,l=a.track;function f(){r.Controller.isBusy()||(r.Scroll.cancel(),P(t.index),r.Slides.update())}function P(_){q($(_,!0))}function q(_,b){t.is(oe)||(b=b?_:(function(L){{var M,W;t.is(Wt)&&(M=D(L),W=M>r.Controller.getEnd(),(M<0||W)&&(L=T(L,W)))}return L})(_),ht(x,"transform","translate"+E("X")+"("+b+"px)"),_!==b&&h(dn))}function T(_,b){var L=_-N(b),M=S();return _-=C(M*(Jt(rt(L)/M)||1))*(b?1:-1)}function A(){q(B(),!0),n.cancel()}function D(_){for(var b=r.Slides.get(),L=0,M=1/0,W=0;W<b.length;W++){var J=b[W].index,V=rt($(J,!0)-_);if(!(V<=M))break;M=V,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(Bt)?Nt(_,0,C(S(!0)-k())):_):L}function B(){var _=E("left");return ut(x)[_]-ut(l)[_]+C(m(!1))}function N(_){return $(_?r.Controller.getEnd():0,!!e.trimSpace)}return{mount:function(){n=r.Transition,s([Pt,Ce,it,Q],f)},move:function(_,b,L,M){var W,J;_!==b&&(W=L<_,J=C(T(B(),W)),W?0<=J:J<=x[E("scrollWidth")]-ut(l)[E("width")])&&(A(),q(T(B(),L<_),!0)),d(i),h(_t,b,L,_),n.start(b,function(){d(3),h(Zt,b,L,_),M&&M()})},jump:P,translate:q,shift:T,cancel:A,toIndex:D,toPosition:$,getPosition:B,getLimit:N,exceededLimit:function(M,b){b=Lt(b)?B():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,r,e){var n,a,s,h,d=X(t),w=d.on,m=d.emit,g=r.Move,k=g.getPosition,S=g.getLimit,E=g.toPosition,C=(d=r.Slides).isEnough,x=d.getLength,l=e.omitEnd,f=t.is(Wt),P=t.is(Bt),q=y(N,!1),T=y(N,!0),A=e.start||0,D=A;function $(){a=x(!0),s=e.perMove,h=e.perPage,n=L();var O=Nt(A,0,l?n:a-1);O!==A&&(A=O,g.reposition())}function B(){n!==L()&&m("ei")}function N(O,ot){var tt=s||(V()?1:h),tt=_(A+tt*(O?-1:1),A,!(s||V()));return tt===-1&&P&&!tn(k(),S(!O),1)?O?0:n:ot?tt:b(tt)}function _(O,ot,tt){var ct;return C()||V()?((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&&(ot=O,O=ct,tt=!1),O<0||n<O?O=s||!de(0,O,ot,!0)&&!de(n,ot,O,!0)?f?tt?O<0?-(a%h||h):a:O:e.rewind?O<0?n:0:-1:M(W(O)):tt&&O!==ot&&(O=M(W(ot)+(O<ot?-1:1)))):O=-1,O}function b(O){return f?(O+a)%a||0:O}function L(){for(var O=a-(V()||f&&s?1:h);l&&0<O--;)if(E(a-1,!0)!==E(O,!0)){O++;break}return Nt(O,0,a-1)}function M(O){return Nt(V()?O:h*O,0,n)}function W(O){return V()?xt(O,n):ue((n<=O?a-1:O)/h)}function J(O){O!==A&&(D=A,A=O)}function V(){return!Lt(e.focus)||e.isNavigation}function st(){return t.state.is([i,c])&&!!e.waitForTransition}return{mount:function(){$(),w([it,Q,"ei"],$),w(Ce,B)},go:function(O,ot,tt){var ct;st()||-1<(ct=b(O=(function(et){var z=A;{var G,U;ft(et)?(U=et.match(/([+\-<>])(\d+)?/)||[],G=U[1],U=U[2],G==="+"||G==="-"?z=_(A+ +(""+G+(+U||1)),A):G===">"?z=U?M(+U):q(!0):G==="<"&&(z=T(!0))):z=f?et:Nt(et,0,n)}return z})(O)))&&(ot||ct!==A)&&(J(ct),g.move(O,ct,D,tt))},scroll:function(O,ot,tt,ct){r.Scroll.scroll(O,ot,tt,function(){var et=b(g.toIndex(k()));J(l?xt(et,n):et),ct&&ct()})},getNext:q,getPrev:T,getAdjacent:N,getEnd:L,setIndex:J,getIndex:function(O){return O?D:A},toIndex:M,toPage:W,toDest:function(O){return O=g.toIndex(O),P?Nt(O,0,n):O},hasFocus:V,isBusy:st}},Arrows:function(t,r,e){var n,a,s=X(t),h=s.on,d=s.bind,w=s.emit,m=e.classes,g=e.i18n,k=r.Elements,S=r.Controller,E=k.arrows,C=k.track,x=E,l=k.prev,f=k.next,P={};function q(){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,a=De+"--"+e.direction),N&&(h([Pt,Zt,Q,zt,"ei"],B),d(f,"click",y(D,">")),d(l,"click",y(D,"<")),B(),R([l,f],ee,C.id),w("arrows:mounted",l,f))),h(it,T)}function T(){A(),q()}function A(){s.destroy(),wt(x,a),n?(qt(E?[l,f]:x),l=f=null):gt([l,f],Oe)}function D(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 B(){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,R(l,dt,b),R(f,dt,L),w("arrows:updated",l,f,N,_))}return{arrows:P,mount:q,destroy:A,update:B}},Autoplay:function(t,r,e){var n,a,s=X(t),h=s.on,d=s.bind,w=s.emit,m=fe(e.interval,t.go.bind(t,">"),function(A){var D=k.bar;D&&ht(D,"width",100*A+"%"),w("autoplay:playing",A)}),g=m.isPaused,k=r.Elements,S=(s=r.Elements).root,E=s.toggle,C=e.autoplay,x=C==="pause";function l(){g()&&r.Slides.isEnough()&&(m.start(!e.resetProgress),a=n=x=!1,q(),w(an))}function f(A){x=!!(A=A===void 0?!0:A),q(),g()||(m.pause(),w(sn))}function P(){x||(n||a?f(!1):l())}function q(){E&&(yt(E,It,!x),R(E,dt,e.i18n[x?"play":"pause"]))}function T(A){A=r.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){a=A.type==="focusin",P()}),E&&d(E,"click",function(){x?l():f(!0)}),h([_t,Te,Q],m.rewind),h(_t,T),E&&R(E,ee,k.track.id),x||l(),q())},destroy:m.cancel,play:l,pause:f,isPaused:g}},Cover:function(t,r,e){var n=X(t).on;function a(h){r.Slides.forEach(function(d){var w=Vt(d.container||d.slide,"img");w&&w.src&&s(h,w,d)})}function s(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(s,!0)),n([Pt,it,Q],y(a,!0)))},destroy:y(a,!1)}},Scroll:function(t,r,e){var n,a,s=X(t),h=s.on,d=s.emit,w=t.state.set,m=r.Move,g=m.getPosition,k=m.getLimit,S=m.exceededLimit,E=m.translate,C=t.is(Bt),x=1;function l(A,D,L,B,N){var _,b=g(),L=(q(),!L||C&&S()||(L=r.Layout.sliderSize(),_=xe(A)*L*ue(rt(A)/L)||0,A=m.toPosition(r.Controller.toDest(A%L))+_),tn(b,A,1));x=1,D=L?0:D||le(rt(A-b)/1.5,800),a=B,n=fe(D,f,y(P,b,A,N),1),w(c),d(Te),n.start()}function f(){w(3),a&&a(),d(zt)}function P(A,D,$,_){var N=g(),_=(A+(D-A)*(D=_,(A=e.easingFunc)?A(D):1-Math.pow(1-D,4))-N)*x;E(N+_),C&&!$&&S()&&(x*=.6,rt(_)<10&&l(k(S(!0)),600,!1,a,!0))}function q(){n&&n.cancel()}function T(){n&&!n.isPaused()&&(q(),f())}return{mount:function(){h(_t,q),h([it,Q],T)},destroy:q,scroll:l,cancel:T}},Drag:function(t,r,e){var n,a,s,h,d,w,m,g,k=X(t),S=k.on,E=k.emit,C=k.bind,x=k.unbind,l=t.state,f=r.Move,P=r.Scroll,q=r.Controller,T=r.Elements.track,A=r.Media.reduce,D=(k=r.Direction).resolve,$=k.orient,B=f.getPosition,N=f.exceededLimit,_=!1;function b(){var z=e.drag;et(!z),h=z==="free"}function L(z){var G,U,at;w=!1,m||(G=ct(z),U=z.target,at=e.noDrag,Gt(U,"."+An+", ."+ge)||at&&Gt(U,at)||!G&&z.button||(q.isBusy()?bt(z,!0):(g=G?T:window,d=l.is([i,c]),s=null,C(g,ze,M,$t),C(g,Fe,W,$t),f.cancel(),P.cancel(),V(z))))}function M(z){var G,U,at,kt,Ct;l.is(6)||(l.set(6),E("drag")),z.cancelable&&(d?(f.translate(n+st(z)/(_&&t.is(Bt)?5:1)),Ct=200<O(z),G=_!==(_=N()),(Ct||G)&&V(z),w=!0,E("dragging"),bt(z)):rt(st(Ct=z))>rt(st(Ct,!0))&&(G=z,U=e.dragMinThreshold,at=nt(U),kt=at&&U.mouse||0,at=(at?U.touch:+U)||10,d=rt(st(G))>(ct(G)?at:kt),bt(z)))}function W(z){var G,U,at;l.is(6)&&(l.set(3),E("dragged")),d&&(U=(function(kt){return B()+xe(kt)*xt(rt(kt)*(e.flickPower||600),h?1/0:r.Layout.listSize()*(e.flickMaxPages||1))})(G=(function(kt){if(t.is(Wt)||!_){var Ct=O(kt);if(Ct&&Ct<200)return st(kt)/Ct}return 0})(G=z)),at=e.rewind&&e.rewindByDrag,A(!1),h?q.scroll(U,0,e.snap):t.is(oe)?q.go($(xe(G))<0?at?"<":"-":at?">":"+"):t.is(Bt)&&_&&at?q.go(N(!0)?">":"<"):q.go(q.toDest(U),!0),A(!0),bt(z)),x(g,ze,M),x(g,Fe,W),d=!1}function J(z){!m&&w&&bt(z,!0)}function V(z){s=a,a=z,n=B()}function st(z,G){return tt(z,G)-tt(ot(z),G)}function O(z){return Le(z)-Le(ot(z))}function ot(z){return a===z&&s||a}function tt(z,G){return(ct(z)?z.changedTouches[0]:z)["page"+D(G?"Y":"X")]}function ct(z){return typeof TouchEvent<"u"&&z instanceof TouchEvent}function et(z){m=z}return{mount:function(){C(T,ze,I,$t),C(T,Fe,I,$t),C(T,kn,L,$t),C(T,"click",J,{capture:!0}),C(T,"dragstart",bt),S([Pt,it],b)},disable:et,isDragging:function(){return d}}},Keyboard:function(t,r,e){var n,a,s=X(t),h=s.on,d=s.bind,w=s.unbind,m=t.root,g=r.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=a;a=!0,H(function(){a=x})}function C(x){a||((x=Re(x))===g(pe)?t.go("<"):x===g(he)&&t.go(">"))}return{mount:function(){k(),h(it,S),h(it,k),h(_t,E)},destroy:S,disable:function(x){a=x}}},LazyLoad:function(t,r,e){var n=X(t),a=n.on,s=n.off,h=n.bind,d=n.emit,w=e.lazyLoad==="sequential",m=[Zt,zt],g=[];function k(){p(g),r.Slides.forEach(function(l){Ae(l.slide,bo).forEach(function(f){var P=vt(f,re),q=vt(f,be);P===f.src&&q===f.srcset||(P=e.classes.spinner,P=Vt(q=f.parentElement,"."+P)||Ht("span",P,q),g.push([f,l,P]),f.src||Kt(f,"none"))})}),(w?x:(s(m),a(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||s(m)}function E(l){var f=l[0];mt(l[1].slide,Ne),h(f,"load error",y(C,l)),R(f,"src",vt(f,re)),R(f,"srcset",vt(f,be)),gt(f,re),gt(f,be)}function C(l,f){var P=l[0],q=l[1];wt(q.slide,Ne),f.type!=="error"&&(qt(l[2]),Kt(P,""),d(ln,P,q),d(te)),w&&x()}function x(){g.length&&E(g.shift())}return{mount:function(){e.lazyLoad&&(k(),a(Q,k))},destroy:y(p,g),check:S}},Pagination:function(t,r,e){var n,a,s=X(t),h=s.on,d=s.emit,w=s.bind,m=r.Slides,g=r.Elements,k=r.Controller,S=k.hasFocus,E=k.getIndex,C=k.go,x=r.Direction.resolve,l=g.pagination,f=[];function P(){n&&(qt(l?v(n.children):n),wt(n,a),p(f),n=null),s.destroy()}function q(B){C(">"+B,!0)}function T(B,N){var _=f.length,b=Re(N),M=A(),L=-1,M=(b===x(he,!1,M)?L=++B%_:b===x(pe,!1,M)?L=(--B+_)%_: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 D(B){return f[k.toPage(B)]}function $(){var B,N=D(E(!0)),_=D(E());N&&(wt(B=N.button,It),gt(B,pn),R(B,Rt,-1)),_&&(mt(B=_.button,It),R(B,pn,!0),R(B,Rt,"")),d("pagination:updated",{list:n,items:f},N,_)}return{items:f,mount:function B(){P(),h([it,Q,"ei"],B);var N=e.pagination;if(l&&Kt(l,N?"":"none"),N){h([_t,Te,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),a=ye+"--"+A()),R(n,Et,"tablist"),R(n,dt,b.select),R(n,Pe,A()===ve?"vertical":"");for(var W=0;W<M;W++){var J=Ht("li",null,n),V=Ht("button",{class:_.page,type:"button"},J),st=m.getIn(W).map(function(tt){return tt.slide.id}),O=!S()&&1<L?b.pageX:b.slideX;w(V,"click",y(q,W)),e.paginationKeyboard&&w(V,"keydown",y(T,W)),R(J,Et,"presentation"),R(V,Et,"tab"),R(V,ee,st.join(" ")),R(V,dt,_e(O,W+1)),R(V,Rt,-1),f.push({li:J,button:V,page:W})}$(),d("pagination:mounted",{list:n,items:f},D(t.index))}},destroy:P,getAt:D,update:$}},Sync:function(t,r,e){var n=e.isNavigation,a=e.slideFocus,s=[];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,it],m),s.push(S),S.emit(cn,t.splides))}function d(){s.forEach(function(S){S.destroy()}),p(s)}function w(S,E){S=X(S),S.on(_t,function(C,x,l){E.go(E.is(Wt)?l:C)}),s.push(S)}function m(){R(r.Elements.list,Pe,e.direction===ve?"vertical":"")}function g(S){t.go(S.index)}function k(S,E){pt(wo,Re(E))&&(g(S),bt(E))}return{setup:y(r.Media.set,{slideFocus:Lt(a)?n:a},!0),mount:h,destroy:d,remount:function(){d(),h()}}},Wheel:function(t,r,e){var n=X(t).bind,a=0;function s(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,rt(k)>m&&g<w-a&&(t.go(d?"<":">"),a=w),k=d,e.releaseWheel&&!t.state.is(i)&&r.Controller.getAdjacent(k)===-1||bt(h))}return{mount:function(){e.wheel&&n(r.Elements.track,"wheel",s,$t)}}},Live:function(t,r,e){var n=X(t).on,a=r.Elements.track,s=e.live&&!e.isNavigation,h=Ht("span",ho),d=fe(90,y(w,!1));function w(g){R(a,mn,g),g?(jt(a,h),d.start()):(qt(h),d.cancel())}function m(g){s&&R(a,vn,g?"off":"polite")}return{mount:function(){s&&(m(!r.Autoplay.isPaused()),R(a,gn,!0),h.textContent="\u2026",n(an,y(m,!0)),n(sn,y(m,!1)),n([Zt,zt],y(w,!0)))},disable:m,destroy:function(){gt(a,[vn,gn,mn]),qt(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,r,e){var n=r.Slides;function a(){n.forEach(function(s){s.style("transform","translateX(-"+100*s.index+"%)")})}return{mount:function(){X(t).on([Pt,Q],a)},start:function(s,h){n.style("transition","opacity "+e.speed+"ms "+e.easing),H(h)},cancel:I}}function So(t,r,e){var n,a=r.Move,s=r.Controller,h=r.Scroll,d=r.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=a.toPosition(g,!0),E=a.getPosition(),C=(function(x){var l=e.rewindSpeed;if(t.is(Bt)&&l){var f=s.getIndex(!0),P=s.getEnd();if(f===0&&P<=x||P<=f&&x===0)return l}return e.speed})(g);1<=rt(S-E)&&1<=C?e.useScroll?h.scroll(S,C,!1,k):(w("transform "+C+"ms "+e.easing),a.translate(S,!0),n=k):(a.jump(g),k())},cancel:m}}return Ft=(function(){function t(e,n){this.event=X(),this.Components={},this.state=so(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 r=t.prototype;return r.mount=function(e,n){var a=this,s=this.state,h=this.Components;return Qt(s.is([1,7]),"Already mounted!"),s.set(1),this.i=h,this.r=n||this.r||(this.is(oe)?Lo:So),this.t=e||this.t,Tt(Yt({},Eo,this.t,{Transition:this.r}),function(d,w){d=d(a,h,a.n),(h[w]=d).setup&&d.setup()}),Tt(h,function(d){d.mount&&d.mount()}),this.emit(Pt),mt(this.root,"is-initialized"),s.set(3),this.emit("ready"),this},r.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},r.go=function(e){return this.i.Controller.go(e),this},r.on=function(e,n){return this.event.on(e,n),this},r.off=function(e){return this.event.off(e),this},r.emit=function(e){var n;return(n=this.event).emit.apply(n,[e].concat(v(arguments,1))),this},r.add=function(e,n){return this.i.Slides.add(e,n),this},r.remove=function(e){return this.i.Slides.remove(e),this},r.is=function(e){return this.n.type===e},r.refresh=function(){return this.emit(Q),this},r.destroy=function(e){e===void 0&&(e=!0);var n=this.event,a=this.state;return a.is(1)?X(this).on("ready",this.destroy.bind(this,e)):(Tt(this.i,function(s){s.destroy&&s.destroy(e)},!0),n.emit(rn),n.destroy(),e&&p(this.splides),a.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})(),Ft.defaults={},Ft.STATES=u,Ft},typeof We=="object"&&typeof $e<"u"?$e.exports=we():typeof define=="function"&&define.amd?define(we):(Be=typeof globalThis<"u"?globalThis:Be||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 i=o.currentTarget.parentElement;i.classList.toggle("c-accordion__item--open")}}var qn=Oo;var ie=Po(Pn());function je(){document.querySelectorAll('[data-carousel="hero"]').forEach(i=>{new ie.default(i,{type:"fade",autoplay:!0,interval:5e3,pauseOnHover:!1,arrows:!1,pagination:!1}).mount()}),document.querySelectorAll('[data-carousel="cards"]').forEach(i=>{let c=i.dataset.carouselType||"slide",u=i.dataset.carouselRewind==="true",p=parseInt(i.dataset.carouselPerMove)||1,v=getComputedStyle(document.documentElement),y=v.getPropertyValue("--wrapper"),I=parseFloat(v.fontSize),H=parseFloat(y)*I,F=new ie.default(i,{type:c,perMove:p,focus:0,arrows:!1,drag:!0,pagination:!1,preventClick:!0,rewind:u,clones:0,autoWidth:!0,gap:"var(--row-gap)"});F.mount(),i.querySelector(".c-carousel__arrow--prev")?.addEventListener("click",()=>F.go("<")),i.querySelector(".c-carousel__arrow--next")?.addEventListener("click",()=>F.go(">")),i.querySelectorAll("a").forEach(Z=>{Z.addEventListener("click",nt=>nt.stopPropagation())})}),document.querySelectorAll('[data-carousel="gallery-main"]').forEach(i=>{let c=i.dataset.galleryId,u=document.querySelector(`[data-carousel="gallery-thumbs"][data-gallery-id="${c}"]`);if(!u)return;let p=new ie.default(u,{type:"slide",perPage:parseInt(u.dataset.perPage)||4,gap:"0.5rem",focus:"center",isNavigation:!0,pagination:!1,arrows:!1}).mount();new ie.default(i,{type:"fade",pagination:!1,arrows:!0}).sync(p).mount(),i.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(Fo)}function Fo(o){let i=o.parentNode.parentNode,c=i.querySelector(".c-comparison-table tbody"),u=i.querySelector(".c-comparison-table thead"),p=i.parentElement.querySelector(".c-comparison-table__mobile");if(!c||!u||!p)return;let v=Array.from(u.children[0].children).filter((H,F)=>F).map(H=>({info:H.innerHTML})),y=Array.from(u.children[1].children).filter((H,F)=>F).map(H=>({buttons:H.innerHTML})),I=v.map((H,F)=>({...H,...y[F],table:[]}));Array.from(c.children).forEach(H=>{if(H.classList.contains("c-comparison-table__title"))I.forEach(F=>{F.table.push({type:"title",title:H.children[0].textContent})});else{let F=Array.from(H.children),Z=F.shift();F.forEach((nt,lt)=>{I[lt].table.push({type:"row",key:Z.textContent,value:nt.innerHTML})})}}),I.forEach(H=>{let F=Ro(H);p.appendChild(F)})}function Ro(o){let i=document.createElement("article");return i.innerHTML=`${o.info}${o.buttons}
1
+ (()=>{var xo=Object.create;var Tn=Object.defineProperty;var _o=Object.getOwnPropertyDescriptor;var ko=Object.getOwnPropertyNames;var Co=Object.getPrototypeOf,To=Object.prototype.hasOwnProperty;var qo=(o,i)=>()=>(i||o((i={exports:{}}).exports,i),i.exports);var Mo=(o,i,c,u)=>{if(i&&typeof i=="object"||typeof i=="function")for(let p of ko(i))!To.call(o,p)&&p!==c&&Tn(o,p,{get:()=>i[p],enumerable:!(u=_o(i,p))||u.enumerable});return o};var Po=(o,i,c)=>(c=o!=null?xo(Co(o)):{},Mo(i||!o||!o.__esModule?Tn(c,"default",{value:o,enumerable:!0}):c,o));var Pn=qo((We,$e)=>{function Mn(o,i){for(var c=0;c<i.length;c++){var u=i[c];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(o,u.key,u)}}function No(o,i,c){i&&Mn(o.prototype,i),c&&Mn(o,c),Object.defineProperty(o,"prototype",{writable:!1})}var Be,we;Be=We,we=function(){"use strict";var o="(prefers-reduced-motion: reduce)",i=4,c=5,u={CREATED:1,MOUNTED:2,IDLE:3,MOVING:i,SCROLLING:c,DRAGGING:6,DESTROYED:7};function p(t){t.length=0}function v(t,r,e){return Array.prototype.slice.call(t,r,e)}function y(t){return t.bind.apply(t,[null].concat(v(arguments,1)))}function I(){}var N=setTimeout;function F(t){return requestAnimationFrame(t)}function Q(t,r){return typeof r===t}function nt(t){return!Dt(t)&&Q("object",t)}var ot=Array.isArray,mt=y(Q,"function"),lt=y(Q,"string"),Lt=y(Q,"undefined");function Dt(t){return t===null}function ae(t){try{return t instanceof(t.ownerDocument.defaultView||window).HTMLElement}catch{return!1}}function j(t){return ot(t)?t:[t]}function Y(t,r){j(t).forEach(r)}function pt(t,r){return-1<t.indexOf(r)}function se(t,r){return t.push.apply(t,j(r)),t}function bt(t,r,e){t&&Y(r,function(n){n&&t.classList[e?"add":"remove"](n)})}function gt(t,r){bt(t,lt(r)?r.split(" "):r,!0)}function jt(t,r){Y(r,t.appendChild.bind(t))}function Ee(t,r){Y(t,function(e){var n=(r||e).parentNode;n&&n.insertBefore(e,r)})}function Gt(t,r){return ae(t)&&(t.msMatchesSelector||t.matches).call(t,r)}function Ye(t,r){return t=t?v(t.children):[],r?t.filter(function(e){return Gt(e,r)}):t}function Vt(t,r){return r?Ye(t,r)[0]:t.firstElementChild}var Xt=Object.keys;function Tt(t,r,e){t&&(e?Xt(t).reverse():Xt(t)).forEach(function(n){n!=="__proto__"&&r(t[n],n)})}function Yt(t){return v(arguments,1).forEach(function(r){Tt(r,function(e,n){t[n]=r[n]})}),t}function St(t){return v(arguments,1).forEach(function(r){Tt(r,function(e,n){ot(e)?t[n]=e.slice():nt(e)?t[n]=St({},nt(t[n])?t[n]:{},e):t[n]=e})}),t}function Ke(t,r){Y(r||Xt(t),function(e){delete t[e]})}function yt(t,r){Y(t,function(e){Y(r,function(n){e&&e.removeAttribute(n)})})}function R(t,r,e){nt(r)?Tt(r,function(n,a){R(t,a,n)}):Y(t,function(n){Dt(e)||e===""?yt(n,r):n.setAttribute(r,String(e))})}function Nt(t,r,e){return t=document.createElement(t),r&&(lt(r)?gt:R)(t,r),e&&jt(e,t),t}function ht(t,r,e){if(Lt(e))return getComputedStyle(t)[r];Dt(e)||(t.style[r]=""+e)}function Kt(t,r){ht(t,"display",r)}function Ue(t){t.setActive&&t.setActive()||t.focus({preventScroll:!0})}function vt(t,r){return t.getAttribute(r)}function Qe(t,r){return t&&t.classList.contains(r)}function dt(t){return t.getBoundingClientRect()}function qt(t){Y(t,function(r){r&&r.parentNode&&r.parentNode.removeChild(r)})}function Je(t){return Vt(new DOMParser().parseFromString(t,"text/html").body)}function wt(t,r){t.preventDefault(),r&&(t.stopPropagation(),t.stopImmediatePropagation())}function Ze(t,r){return t&&t.querySelector(r)}function Ae(t,r){return r?v(t.querySelectorAll(r)):[]}function Et(t,r){bt(t,r,!1)}function Le(t){return t.timeStamp}function Mt(t){return lt(t)?t:t?t+"px":""}var Ut="splide",Se="data-"+Ut;function Qt(t,r){if(!t)throw new Error("["+Ut+"] "+(r||""))}var xt=Math.min,le=Math.max,ue=Math.floor,Jt=Math.ceil,it=Math.abs;function tn(t,r,e){return it(t-r)<e}function de(t,s,e,n){var a=xt(s,e),s=le(s,e);return n?a<t&&t<s:a<=t&&t<=s}function Ht(t,a,e){var n=xt(a,e),a=le(a,e);return xt(le(n,t),a)}function xe(t){return(0<t)-(t<0)}function _e(t,r){return Y(r,function(e){t=t.replace("%s",""+e)}),t}function ke(t){return t<10?"0"+t:""+t}var en={};function nn(){var t=[];function r(e,n,a){Y(e,function(s){s&&Y(n,function(h){h.split(" ").forEach(function(d){d=d.split("."),a(s,d[0],d[1])})})})}return{bind:function(e,n,a,s){r(e,n,function(h,d,w){var m="addEventListener"in h,g=m?h.removeEventListener.bind(h,d,a,s):h.removeListener.bind(h,a);m?h.addEventListener(d,a,s):h.addListener(a),t.push([h,d,w,a,g])})},unbind:function(e,n,a){r(e,n,function(s,h,d){t=t.filter(function(w){return!!(w[0]!==s||w[1]!==h||w[2]!==d||a&&w[3]!==a)||(w[4](),!1)})})},dispatch:function(e,n,a){var s;return typeof CustomEvent=="function"?s=new CustomEvent(n,{bubbles:!0,detail:a}):(s=document.createEvent("CustomEvent")).initCustomEvent(n,!0,!1,a),e.dispatchEvent(s),s},destroy:function(){t.forEach(function(e){e[4]()}),p(t)}}}var Pt="mounted",_t="move",Zt="moved",on="click",ro="active",io="inactive",co="visible",ao="hidden",J="refresh",ct="updated",te="resize",Ce="resized",Te="scroll",zt="scrolled",rn="destroy",cn="navigation:mounted",an="autoplay:play",sn="autoplay:pause",ln="lazyload:loaded",un="sk",dn="sh";function X(t){var r=t?t.event.bus:document.createDocumentFragment(),e=nn();return t&&t.event.on(rn,e.destroy),Yt(e,{bus:r,on:function(n,a){e.bind(r,j(n).join(" "),function(s){a.apply(a,ot(s.detail)?s.detail:[])})},off:y(e.unbind,r),emit:function(n){e.dispatch(r,n,v(arguments,1))}})}function fe(t,r,e,n){var a,s,h=Date.now,d=0,w=!0,m=0;function g(){if(!w){if(d=t?xt((h()-a)/t,1):1,e&&e(d),1<=d&&(r(),a=h(),n&&++m>=n))return k();s=F(g)}}function k(){w=!0}function S(){s&&cancelAnimationFrame(s),w=!(s=d=0)}return{start:function(E){E||S(),a=h()-(E?d*t:0),w=!1,s=F(g)},rewind:function(){a=h(),d=0,e&&e(d)},pause:k,cancel:S,set:function(E){t=E},isPaused:function(){return w}}}function so(t){var r=t;return{set:function(e){r=e},is:function(e){return pt(j(e),r)}}}var Ot="Arrow",pe=Ot+"Left",he=Ot+"Right",Ft=Ot+"Up",Ot=Ot+"Down",ve="ttb",qe={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[Ft,he],ArrowRight:[Ot,pe]},At="role",Rt="tabindex",K="aria-",ee=K+"controls",fn=K+"current",pn=K+"selected",ft=K+"label",Me=K+"labelledby",hn=K+"hidden",Pe=K+"orientation",ne=K+"roledescription",vn=K+"live",mn=K+"busy",gn=K+"atomic",Oe=[At,Rt,"disabled",ee,fn,ft,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",Ne="is-visible",He="is-loading",xn="is-focus-in",_n="is-overflow",vo=[It,Ne,Ln,Sn,He,xn,_n],kn="touchstart mousedown",ze="touchmove mousemove",Fe="touchend touchcancel mouseup click",Bt="slide",Wt="loop",oe="fade";function mo(t,r,e,n){var a,s=X(t),h=s.on,d=s.emit,w=s.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"),q=vt(n,ft),T=-1<e,A=Vt(n,"."+uo);function D(){var b=t.splides.map(function(L){return L=L.splide.Components.Slides.getAt(r),L?L.slide.id:""}).join(" ");R(n,ft,_e(C.slideX,(T?e:r)+1)),R(n,ee,b),R(n,At,l?"button":""),l&&yt(n,ne)}function $(){a||B()}function B(){var b,L,M;a||(b=t.index,(M=H())!==Qe(n,It)&&(bt(n,It,M),R(n,fn,S&&M||""),d(M?ro:io,_)),M=(function(){if(t.is(oe))return H();var W=dt(m.Elements.track),Z=dt(n),V=f("left",!0),ut=f("right",!0);return ue(W[V])<=Jt(Z[V])&&ue(Z[ut])<=Jt(W[ut])})(),L=!M&&(!H()||T),t.state.is([i,c])||R(n,hn,L||""),R(Ae(n,k.focusableNodes||""),Rt,L?-1:""),l&&R(n,Rt,L?-1:0),M!==Qe(n,Ne)&&(bt(n,Ne,M),d(M?co:ao,_)),M||document.activeElement!==n||(L=m.Slides.getAt(t.index))&&Ue(L.slide),bt(n,Ln,r===b-1),bt(n,Sn,r===b+1))}function H(){var b=t.index;return b===r||k.cloneStatus&&b===e}var _={index:r,slideIndex:e,slide:n,container:A,isClone:T,mount:function(){T||(n.id=g.id+"-slide"+ke(r+1),R(n,At,x?"tabpanel":"group"),R(n,ne,C.slide),R(n,ft,q||_e(C.slideLabel,[r+1,t.length]))),w(n,"click",y(d,on,_)),w(n,"keydown",y(d,un,_)),h([Zt,dn,zt],B),h(cn,D),E&&h(_t,$)},destroy:function(){a=!0,s.destroy(),Et(n,vo),yt(n,Oe),R(n,"style",P),R(n,ft,q||"")},update:B,style:function(b,L,M){ht(M&&A||n,b,L)},isWithin:function(b,L){return b=it(b-r),(b=T||!k.rewind&&!t.is(Wt)?b:xt(b,t.length-b))<=L}};return _}var go=Se+"-interval",$t={passive:!1,capture:!0},yo={Spacebar:" ",Right:he,Left:pe,Up:Ft,Down:Ot};function Re(t){return t=lt(t)?t:t.key,yo[t]||t}var Cn="keydown",re=Se+"-lazy",be=re+"-srcset",bo="["+re+"], ["+be+"]",wo=[" ","Enter"],Eo=Object.freeze({__proto__:null,Media:function(t,r,e){var n=t.state,a=e.breakpoints||{},s=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(ct,e)}return{setup:function(){var S=e.mediaQuery==="min";Xt(a).sort(function(E,C){return S?+E-+C:+C-+E}).forEach(function(E){m(a[E],"("+(S?"min":"max")+"-width:"+E+"px)")}),m(s,o),g()},destroy:w,reduce:function(S){matchMedia(o).matches&&(S?St(e,s):Ke(e,Xt(s)))},set:k}},Direction:function(t,r,e){return{resolve:function(n,a,s){var h=(s=s||e.direction)!=="rtl"||a?s===ve?0:-1:1;return qe[n]&&qe[n][h]||n.replace(/width|left|right/i,function(d,w){return d=qe[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,r,e){var n,a,s,h=X(t),d=h.on,w=h.bind,m=t.root,g=e.i18n,k={},S=[],E=[],C=[];function x(){n=P("."+yn),a=Vt(n,"."+lo),Qt(n&&a,"A track/list element is missing."),se(S,Ye(a,"."+me+":not(."+bn+")")),Tt({arrows:De,pagination:ye,prev:wn,next:En,bar:fo,toggle:po},function(D,$){k[$]=P("."+D)}),Yt(k,{root:m,track:n,list:a,slides:S});var T=m.id||(function(D){return""+D+ke(en[D]=(en[D]||0)+1)})(Ut),A=e.role;m.id=T,n.id=n.id||T+"-track",a.id=a.id||T+"-list",!vt(m,At)&&m.tagName!=="SECTION"&&A&&R(m,At,A),R(m,ne,g.carousel),R(a,At,"presentation"),f()}function l(T){var A=Oe.concat("style");p(S),Et(m,E),Et(n,C),yt([n,a],A),yt(m,T?A:["style",ne])}function f(){Et(m,E),Et(n,C),E=q(Ie),C=q(yn),gt(m,E),gt(n,C),R(m,ft,e.label),R(m,Me,e.labelledby)}function P(T){return T=Ze(m,T),T&&(function(A,D){if(mt(A.closest))return A.closest(D);for(var $=A;$&&$.nodeType===1&&!Gt($,D);)$=$.parentElement;return $})(T,"."+Ie)===m?T:void 0}function q(T){return[T+"--"+e.type,T+"--"+e.direction,e.drag&&T+"--draggable",e.isNavigation&&T+"--nav",T===Ie&&It]}return Yt(k,{setup:x,mount:function(){d(J,l),d(J,x),d(ct,f),w(document,kn+" keydown",function(T){s=T.type==="keydown"},{capture:!0}),w(m,"focusin",function(){bt(m,xn,!!s)})},destroy:l})},Slides:function(t,r,e){var n=X(t),a=n.on,s=n.emit,h=n.bind,d=(n=r.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(q,T){return q.index-T.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(mt(l)?l:function(f){return lt(l)?Gt(f.slide,l):pt(j(l),f.index)})}return{mount:function(){g(),a(J,k),a(J,g)},destroy:k,update:function(){C(function(l){l.update()})},register:S,get:E,getIn:function(l){var f=r.Controller,P=f.toIndex(l),q=f.hasFocus()?1:e.perPage;return x(function(T){return de(T.index,P,P+q-1)})},getAt:function(l){return x(l)[0]},add:function(l,f){Y(l,function(P){var q,T,A;ae(P=lt(P)?Je(P):P)&&((q=d[f])?Ee(P,q):jt(w,P),gt(P,e.classes.slide),q=P,T=y(s,te),q=Ae(q,"img"),(A=q.length)?q.forEach(function(D){h(D,"load error",function(){--A||T()})}):T())}),s(J)},remove:function(l){qt(x(l).map(function(f){return f.slide})),s(J)},forEach:C,filter:x,style:function(l,f,P){C(function(q){q.style(l,f,P)})},getLength:function(l){return(l?d:m).length},isEnough:function(){return m.length>e.perPage}}},Layout:function(t,r,e){var n,a,s,h=(m=X(t)).on,d=m.bind,w=m.emit,m=r.Slides,g=r.Direction.resolve,k=(r=r.Elements).root,S=r.track,E=r.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=dt(k);!b&&a.width===L.width&&a.height===L.height||(ht(S,"height",(function(){var M="";return n&&(Qt(M=q(),"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?"":T())),x("height",Mt(e.fixedHeight)||(n?e.autoHeight?null:T():q()),!0),a=L,w(Ce),s!==(s=_())&&(bt(k,_n,s),w("overflow",s)))}function P(M){var L=e.padding,M=g(M?"right":"left");return L&&Mt(L[M]||(nt(L)?0:L))||"0px"}function q(){return Mt(e.height||dt(E).width*e.heightRatio)}function T(){var b=Mt(e.gap);return"calc((100%"+(b&&" + "+b)+")/"+(e.perPage||1)+(b&&" - "+b)+")"}function A(){return dt(E)[g("width")]}function D(b,L){return b=C(b||0),b?dt(b.slide)[g("width")]+(L?0:H()):0}function $(W,L){var M,W=C(W);return W?(W=dt(W.slide)[g("right")],M=dt(E)[g("left")],it(W-M)+(L?0:H())):0}function B(b){return $(t.length-1)-$(0)+D(0,b)}function H(){var b=C(0);return b&&parseFloat(ht(b.slide,g("marginRight")))||0}function _(){return t.is(oe)||B(!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([ct,J],l),h(te,f)},resize:f,listSize:A,slideSize:D,sliderSize:B,totalSize:$,getPadding:function(b){return parseFloat(ht(S,g("padding"+(b?"Right":"Left"))))||0},isOverflow:_}},Clones:function(t,r,e){var n,a=X(t),s=a.on,h=r.Elements,d=r.Slides,w=r.Direction.resolve,m=[];function g(){if(s(J,k),s([ct,te],E),n=C()){var x=n,l=d.get().slice(),f=l.length;if(f){for(;l.length<x;)se(l,l);se(l.slice(-x),l.slice(0,x)).forEach(function(P,q){var T=q<x,A=(function(D,$){return D=D.cloneNode(!0),gt(D,e.classes.clone),D.id=t.root.id+"-clone"+ke($+1),D})(P.slide,q);T?Ee(A,l[0].slide):jt(h.list,A),se(m,A),d.register(A,q-x+(T?0:f),P.index)})}r.Layout.resize(!0)}}function k(){S(),g()}function S(){qt(m),p(m),a.destroy()}function E(){var x=C();n!==x&&(n<x||!x)&&a.emit(J)}function C(){var x,l=e.clones;return t.is(Wt)?Lt(l)&&(l=(x=e[w("fixedWidth")]&&r.Layout.slideSize(0))&&Jt(dt(h.track)[w("width")]/x)||e[w("autoWidth")]&&t.length||2*e.perPage):l=0,l}return{mount:g,destroy:S}},Move:function(t,r,e){var n,a=X(t),s=a.on,h=a.emit,d=t.state.set,w=(a=r.Layout).slideSize,m=a.getPadding,g=a.totalSize,k=a.listSize,S=a.sliderSize,E=(a=r.Direction).resolve,C=a.orient,x=(a=r.Elements).list,l=a.track;function f(){r.Controller.isBusy()||(r.Scroll.cancel(),P(t.index),r.Slides.update())}function P(_){q($(_,!0))}function q(_,b){t.is(oe)||(b=b?_:(function(L){{var M,W;t.is(Wt)&&(M=D(L),W=M>r.Controller.getEnd(),(M<0||W)&&(L=T(L,W)))}return L})(_),ht(x,"transform","translate"+E("X")+"("+b+"px)"),_!==b&&h(dn))}function T(_,b){var L=_-H(b),M=S();return _-=C(M*(Jt(it(L)/M)||1))*(b?1:-1)}function A(){q(B(),!0),n.cancel()}function D(_){for(var b=r.Slides.get(),L=0,M=1/0,W=0;W<b.length;W++){var Z=b[W].index,V=it($(Z,!0)-_);if(!(V<=M))break;M=V,L=Z}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(Bt)?Ht(_,0,C(S(!0)-k())):_):L}function B(){var _=E("left");return dt(x)[_]-dt(l)[_]+C(m(!1))}function H(_){return $(_?r.Controller.getEnd():0,!!e.trimSpace)}return{mount:function(){n=r.Transition,s([Pt,Ce,ct,J],f)},move:function(_,b,L,M){var W,Z;_!==b&&(W=L<_,Z=C(T(B(),W)),W?0<=Z:Z<=x[E("scrollWidth")]-dt(l)[E("width")])&&(A(),q(T(B(),L<_),!0)),d(i),h(_t,b,L,_),n.start(b,function(){d(3),h(Zt,b,L,_),M&&M()})},jump:P,translate:q,shift:T,cancel:A,toIndex:D,toPosition:$,getPosition:B,getLimit:H,exceededLimit:function(M,b){b=Lt(b)?B():b;var L=M!==!0&&C(b)<C(H(!1)),M=M!==!1&&C(b)>C(H(!0));return L||M},reposition:f}},Controller:function(t,r,e){var n,a,s,h,d=X(t),w=d.on,m=d.emit,g=r.Move,k=g.getPosition,S=g.getLimit,E=g.toPosition,C=(d=r.Slides).isEnough,x=d.getLength,l=e.omitEnd,f=t.is(Wt),P=t.is(Bt),q=y(H,!1),T=y(H,!0),A=e.start||0,D=A;function $(){a=x(!0),s=e.perMove,h=e.perPage,n=L();var O=Ht(A,0,l?n:a-1);O!==A&&(A=O,g.reposition())}function B(){n!==L()&&m("ei")}function H(O,rt){var tt=s||(V()?1:h),tt=_(A+tt*(O?-1:1),A,!(s||V()));return tt===-1&&P&&!tn(k(),S(!O),1)?O?0:n:rt?tt:b(tt)}function _(O,rt,tt){var at;return C()||V()?((at=(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&&(rt=O,O=at,tt=!1),O<0||n<O?O=s||!de(0,O,rt,!0)&&!de(n,rt,O,!0)?f?tt?O<0?-(a%h||h):a:O:e.rewind?O<0?n:0:-1:M(W(O)):tt&&O!==rt&&(O=M(W(rt)+(O<rt?-1:1)))):O=-1,O}function b(O){return f?(O+a)%a||0:O}function L(){for(var O=a-(V()||f&&s?1:h);l&&0<O--;)if(E(a-1,!0)!==E(O,!0)){O++;break}return Ht(O,0,a-1)}function M(O){return Ht(V()?O:h*O,0,n)}function W(O){return V()?xt(O,n):ue((n<=O?a-1:O)/h)}function Z(O){O!==A&&(D=A,A=O)}function V(){return!Lt(e.focus)||e.isNavigation}function ut(){return t.state.is([i,c])&&!!e.waitForTransition}return{mount:function(){$(),w([ct,J,"ei"],$),w(Ce,B)},go:function(O,rt,tt){var at;ut()||-1<(at=b(O=(function(et){var z=A;{var G,U;lt(et)?(U=et.match(/([+\-<>])(\d+)?/)||[],G=U[1],U=U[2],G==="+"||G==="-"?z=_(A+ +(""+G+(+U||1)),A):G===">"?z=U?M(+U):q(!0):G==="<"&&(z=T(!0))):z=f?et:Ht(et,0,n)}return z})(O)))&&(rt||at!==A)&&(Z(at),g.move(O,at,D,tt))},scroll:function(O,rt,tt,at){r.Scroll.scroll(O,rt,tt,function(){var et=b(g.toIndex(k()));Z(l?xt(et,n):et),at&&at()})},getNext:q,getPrev:T,getAdjacent:H,getEnd:L,setIndex:Z,getIndex:function(O){return O?D:A},toIndex:M,toPage:W,toDest:function(O){return O=g.toIndex(O),P?Ht(O,0,n):O},hasFocus:V,isBusy:ut}},Arrows:function(t,r,e){var n,a,s=X(t),h=s.on,d=s.bind,w=s.emit,m=e.classes,g=e.i18n,k=r.Elements,S=r.Controller,E=k.arrows,C=k.track,x=E,l=k.prev,f=k.next,P={};function q(){var H=e.arrows;!H||l&&f||(x=E||Nt("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,H?"":"none"),gt(x,a=De+"--"+e.direction),H&&(h([Pt,Zt,J,zt,"ei"],B),d(f,"click",y(D,">")),d(l,"click",y(D,"<")),B(),R([l,f],ee,C.id),w("arrows:mounted",l,f))),h(ct,T)}function T(){A(),q()}function A(){s.destroy(),Et(x,a),n?(qt(E?[l,f]:x),l=f=null):yt([l,f],Oe)}function D(H){S.go(H,!0)}function $(H){return Je('<button class="'+m.arrow+" "+(H?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 B(){var H,_,b,L;l&&f&&(L=t.index,H=S.getPrev(),_=S.getNext(),b=-1<H&&L<H?g.last:g.prev,L=-1<_&&_<L?g.first:g.next,l.disabled=H<0,f.disabled=_<0,R(l,ft,b),R(f,ft,L),w("arrows:updated",l,f,H,_))}return{arrows:P,mount:q,destroy:A,update:B}},Autoplay:function(t,r,e){var n,a,s=X(t),h=s.on,d=s.bind,w=s.emit,m=fe(e.interval,t.go.bind(t,">"),function(A){var D=k.bar;D&&ht(D,"width",100*A+"%"),w("autoplay:playing",A)}),g=m.isPaused,k=r.Elements,S=(s=r.Elements).root,E=s.toggle,C=e.autoplay,x=C==="pause";function l(){g()&&r.Slides.isEnough()&&(m.start(!e.resetProgress),a=n=x=!1,q(),w(an))}function f(A){x=!!(A=A===void 0?!0:A),q(),g()||(m.pause(),w(sn))}function P(){x||(n||a?f(!1):l())}function q(){E&&(bt(E,It,!x),R(E,ft,e.i18n[x?"play":"pause"]))}function T(A){A=r.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){a=A.type==="focusin",P()}),E&&d(E,"click",function(){x?l():f(!0)}),h([_t,Te,J],m.rewind),h(_t,T),E&&R(E,ee,k.track.id),x||l(),q())},destroy:m.cancel,play:l,pause:f,isPaused:g}},Cover:function(t,r,e){var n=X(t).on;function a(h){r.Slides.forEach(function(d){var w=Vt(d.container||d.slide,"img");w&&w.src&&s(h,w,d)})}function s(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(s,!0)),n([Pt,ct,J],y(a,!0)))},destroy:y(a,!1)}},Scroll:function(t,r,e){var n,a,s=X(t),h=s.on,d=s.emit,w=t.state.set,m=r.Move,g=m.getPosition,k=m.getLimit,S=m.exceededLimit,E=m.translate,C=t.is(Bt),x=1;function l(A,D,L,B,H){var _,b=g(),L=(q(),!L||C&&S()||(L=r.Layout.sliderSize(),_=xe(A)*L*ue(it(A)/L)||0,A=m.toPosition(r.Controller.toDest(A%L))+_),tn(b,A,1));x=1,D=L?0:D||le(it(A-b)/1.5,800),a=B,n=fe(D,f,y(P,b,A,H),1),w(c),d(Te),n.start()}function f(){w(3),a&&a(),d(zt)}function P(A,D,$,_){var H=g(),_=(A+(D-A)*(D=_,(A=e.easingFunc)?A(D):1-Math.pow(1-D,4))-H)*x;E(H+_),C&&!$&&S()&&(x*=.6,it(_)<10&&l(k(S(!0)),600,!1,a,!0))}function q(){n&&n.cancel()}function T(){n&&!n.isPaused()&&(q(),f())}return{mount:function(){h(_t,q),h([ct,J],T)},destroy:q,scroll:l,cancel:T}},Drag:function(t,r,e){var n,a,s,h,d,w,m,g,k=X(t),S=k.on,E=k.emit,C=k.bind,x=k.unbind,l=t.state,f=r.Move,P=r.Scroll,q=r.Controller,T=r.Elements.track,A=r.Media.reduce,D=(k=r.Direction).resolve,$=k.orient,B=f.getPosition,H=f.exceededLimit,_=!1;function b(){var z=e.drag;et(!z),h=z==="free"}function L(z){var G,U,st;w=!1,m||(G=at(z),U=z.target,st=e.noDrag,Gt(U,"."+An+", ."+ge)||st&&Gt(U,st)||!G&&z.button||(q.isBusy()?wt(z,!0):(g=G?T:window,d=l.is([i,c]),s=null,C(g,ze,M,$t),C(g,Fe,W,$t),f.cancel(),P.cancel(),V(z))))}function M(z){var G,U,st,kt,Ct;l.is(6)||(l.set(6),E("drag")),z.cancelable&&(d?(f.translate(n+ut(z)/(_&&t.is(Bt)?5:1)),Ct=200<O(z),G=_!==(_=H()),(Ct||G)&&V(z),w=!0,E("dragging"),wt(z)):it(ut(Ct=z))>it(ut(Ct,!0))&&(G=z,U=e.dragMinThreshold,st=nt(U),kt=st&&U.mouse||0,st=(st?U.touch:+U)||10,d=it(ut(G))>(at(G)?st:kt),wt(z)))}function W(z){var G,U,st;l.is(6)&&(l.set(3),E("dragged")),d&&(U=(function(kt){return B()+xe(kt)*xt(it(kt)*(e.flickPower||600),h?1/0:r.Layout.listSize()*(e.flickMaxPages||1))})(G=(function(kt){if(t.is(Wt)||!_){var Ct=O(kt);if(Ct&&Ct<200)return ut(kt)/Ct}return 0})(G=z)),st=e.rewind&&e.rewindByDrag,A(!1),h?q.scroll(U,0,e.snap):t.is(oe)?q.go($(xe(G))<0?st?"<":"-":st?">":"+"):t.is(Bt)&&_&&st?q.go(H(!0)?">":"<"):q.go(q.toDest(U),!0),A(!0),wt(z)),x(g,ze,M),x(g,Fe,W),d=!1}function Z(z){!m&&w&&wt(z,!0)}function V(z){s=a,a=z,n=B()}function ut(z,G){return tt(z,G)-tt(rt(z),G)}function O(z){return Le(z)-Le(rt(z))}function rt(z){return a===z&&s||a}function tt(z,G){return(at(z)?z.changedTouches[0]:z)["page"+D(G?"Y":"X")]}function at(z){return typeof TouchEvent<"u"&&z instanceof TouchEvent}function et(z){m=z}return{mount:function(){C(T,ze,I,$t),C(T,Fe,I,$t),C(T,kn,L,$t),C(T,"click",Z,{capture:!0}),C(T,"dragstart",wt),S([Pt,ct],b)},disable:et,isDragging:function(){return d}}},Keyboard:function(t,r,e){var n,a,s=X(t),h=s.on,d=s.bind,w=s.unbind,m=t.root,g=r.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=a;a=!0,N(function(){a=x})}function C(x){a||((x=Re(x))===g(pe)?t.go("<"):x===g(he)&&t.go(">"))}return{mount:function(){k(),h(ct,S),h(ct,k),h(_t,E)},destroy:S,disable:function(x){a=x}}},LazyLoad:function(t,r,e){var n=X(t),a=n.on,s=n.off,h=n.bind,d=n.emit,w=e.lazyLoad==="sequential",m=[Zt,zt],g=[];function k(){p(g),r.Slides.forEach(function(l){Ae(l.slide,bo).forEach(function(f){var P=vt(f,re),q=vt(f,be);P===f.src&&q===f.srcset||(P=e.classes.spinner,P=Vt(q=f.parentElement,"."+P)||Nt("span",P,q),g.push([f,l,P]),f.src||Kt(f,"none"))})}),(w?x:(s(m),a(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||s(m)}function E(l){var f=l[0];gt(l[1].slide,He),h(f,"load error",y(C,l)),R(f,"src",vt(f,re)),R(f,"srcset",vt(f,be)),yt(f,re),yt(f,be)}function C(l,f){var P=l[0],q=l[1];Et(q.slide,He),f.type!=="error"&&(qt(l[2]),Kt(P,""),d(ln,P,q),d(te)),w&&x()}function x(){g.length&&E(g.shift())}return{mount:function(){e.lazyLoad&&(k(),a(J,k))},destroy:y(p,g),check:S}},Pagination:function(t,r,e){var n,a,s=X(t),h=s.on,d=s.emit,w=s.bind,m=r.Slides,g=r.Elements,k=r.Controller,S=k.hasFocus,E=k.getIndex,C=k.go,x=r.Direction.resolve,l=g.pagination,f=[];function P(){n&&(qt(l?v(n.children):n),Et(n,a),p(f),n=null),s.destroy()}function q(B){C(">"+B,!0)}function T(B,H){var _=f.length,b=Re(H),M=A(),L=-1,M=(b===x(he,!1,M)?L=++B%_:b===x(pe,!1,M)?L=(--B+_)%_:b==="Home"?L=0:b==="End"&&(L=_-1),f[L]);M&&(Ue(M.button),C(">"+L),wt(H,!0))}function A(){return e.paginationDirection||e.direction}function D(B){return f[k.toPage(B)]}function $(){var B,H=D(E(!0)),_=D(E());H&&(Et(B=H.button,It),yt(B,pn),R(B,Rt,-1)),_&&(gt(B=_.button,It),R(B,pn,!0),R(B,Rt,"")),d("pagination:updated",{list:n,items:f},H,_)}return{items:f,mount:function B(){P(),h([ct,J,"ei"],B);var H=e.pagination;if(l&&Kt(l,H?"":"none"),H){h([_t,Te,zt],$);var H=t.length,_=e.classes,b=e.i18n,L=e.perPage,M=S()?k.getEnd()+1:Jt(H/L);gt(n=l||Nt("ul",_.pagination,g.track.parentElement),a=ye+"--"+A()),R(n,At,"tablist"),R(n,ft,b.select),R(n,Pe,A()===ve?"vertical":"");for(var W=0;W<M;W++){var Z=Nt("li",null,n),V=Nt("button",{class:_.page,type:"button"},Z),ut=m.getIn(W).map(function(tt){return tt.slide.id}),O=!S()&&1<L?b.pageX:b.slideX;w(V,"click",y(q,W)),e.paginationKeyboard&&w(V,"keydown",y(T,W)),R(Z,At,"presentation"),R(V,At,"tab"),R(V,ee,ut.join(" ")),R(V,ft,_e(O,W+1)),R(V,Rt,-1),f.push({li:Z,button:V,page:W})}$(),d("pagination:mounted",{list:n,items:f},D(t.index))}},destroy:P,getAt:D,update:$}},Sync:function(t,r,e){var n=e.isNavigation,a=e.slideFocus,s=[];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,ct],m),s.push(S),S.emit(cn,t.splides))}function d(){s.forEach(function(S){S.destroy()}),p(s)}function w(S,E){S=X(S),S.on(_t,function(C,x,l){E.go(E.is(Wt)?l:C)}),s.push(S)}function m(){R(r.Elements.list,Pe,e.direction===ve?"vertical":"")}function g(S){t.go(S.index)}function k(S,E){pt(wo,Re(E))&&(g(S),wt(E))}return{setup:y(r.Media.set,{slideFocus:Lt(a)?n:a},!0),mount:h,destroy:d,remount:function(){d(),h()}}},Wheel:function(t,r,e){var n=X(t).bind,a=0;function s(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-a&&(t.go(d?"<":">"),a=w),k=d,e.releaseWheel&&!t.state.is(i)&&r.Controller.getAdjacent(k)===-1||wt(h))}return{mount:function(){e.wheel&&n(r.Elements.track,"wheel",s,$t)}}},Live:function(t,r,e){var n=X(t).on,a=r.Elements.track,s=e.live&&!e.isNavigation,h=Nt("span",ho),d=fe(90,y(w,!1));function w(g){R(a,mn,g),g?(jt(a,h),d.start()):(qt(h),d.cancel())}function m(g){s&&R(a,vn,g?"off":"polite")}return{mount:function(){s&&(m(!r.Autoplay.isPaused()),R(a,gn,!0),h.textContent="\u2026",n(an,y(m,!0)),n(sn,y(m,!1)),n([Zt,zt],y(w,!0)))},disable:m,destroy:function(){yt(a,[vn,gn,mn]),qt(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,r,e){var n=r.Slides;function a(){n.forEach(function(s){s.style("transform","translateX(-"+100*s.index+"%)")})}return{mount:function(){X(t).on([Pt,J],a)},start:function(s,h){n.style("transition","opacity "+e.speed+"ms "+e.easing),N(h)},cancel:I}}function So(t,r,e){var n,a=r.Move,s=r.Controller,h=r.Scroll,d=r.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=a.toPosition(g,!0),E=a.getPosition(),C=(function(x){var l=e.rewindSpeed;if(t.is(Bt)&&l){var f=s.getIndex(!0),P=s.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),a.translate(S,!0),n=k):(a.jump(g),k())},cancel:m}}return Ft=(function(){function t(e,n){this.event=X(),this.Components={},this.state=so(1),this.splides=[],this.n={},this.t={},e=lt(e)?Ze(document,e):e,Qt(e,e+" is invalid."),n=St({label:vt(this.root=e,ft)||"",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 r=t.prototype;return r.mount=function(e,n){var a=this,s=this.state,h=this.Components;return Qt(s.is([1,7]),"Already mounted!"),s.set(1),this.i=h,this.r=n||this.r||(this.is(oe)?Lo:So),this.t=e||this.t,Tt(Yt({},Eo,this.t,{Transition:this.r}),function(d,w){d=d(a,h,a.n),(h[w]=d).setup&&d.setup()}),Tt(h,function(d){d.mount&&d.mount()}),this.emit(Pt),gt(this.root,"is-initialized"),s.set(3),this.emit("ready"),this},r.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},r.go=function(e){return this.i.Controller.go(e),this},r.on=function(e,n){return this.event.on(e,n),this},r.off=function(e){return this.event.off(e),this},r.emit=function(e){var n;return(n=this.event).emit.apply(n,[e].concat(v(arguments,1))),this},r.add=function(e,n){return this.i.Slides.add(e,n),this},r.remove=function(e){return this.i.Slides.remove(e),this},r.is=function(e){return this.n.type===e},r.refresh=function(){return this.emit(J),this},r.destroy=function(e){e===void 0&&(e=!0);var n=this.event,a=this.state;return a.is(1)?X(this).on("ready",this.destroy.bind(this,e)):(Tt(this.i,function(s){s.destroy&&s.destroy(e)},!0),n.emit(rn),n.destroy(),e&&p(this.splides),a.set(7)),this},No(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})(),Ft.defaults={},Ft.STATES=u,Ft},typeof We=="object"&&typeof $e<"u"?$e.exports=we():typeof define=="function"&&define.amd?define(we):(Be=typeof globalThis<"u"?globalThis:Be||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 i=o.currentTarget.parentElement;i.classList.toggle("c-accordion__item--open")}}var qn=Oo;var ie=Po(Pn());function je(){document.querySelectorAll('[data-carousel="hero"]').forEach(i=>{new ie.default(i,{type:"fade",autoplay:!0,interval:5e3,pauseOnHover:!1,arrows:!1,pagination:!1}).mount()}),document.querySelectorAll('[data-carousel="cards"]').forEach(i=>{let c=i.dataset.carouselType||"slide",u=i.dataset.carouselRewind==="true",p=parseInt(i.dataset.carouselPerMove)||1,v=getComputedStyle(document.documentElement),y=v.getPropertyValue("--wrapper"),I=parseFloat(v.fontSize),N=parseFloat(y)*I,F=new ie.default(i,{type:c,perMove:p,focus:0,arrows:!1,drag:!0,pagination:!1,preventClick:!0,rewind:u,clones:0,autoWidth:!0,gap:"var(--row-gap)"});F.mount();let Q=i.parentNode,nt=Q.querySelector(".c-carousel__arrow--prev"),ot=Q.querySelector(".c-carousel__arrow--next");nt&&nt.addEventListener("click",()=>F.go("<")),ot&&ot.addEventListener("click",()=>F.go(">")),i.querySelectorAll("a").forEach(mt=>{mt.addEventListener("click",lt=>lt.stopPropagation())})}),document.querySelectorAll('[data-carousel="gallery-main"]').forEach(i=>{let c=i.dataset.galleryId,u=document.querySelector(`[data-carousel="gallery-thumbs"][data-gallery-id="${c}"]`);if(!u)return;let p=new ie.default(u,{type:"slide",perPage:parseInt(u.dataset.perPage)||4,gap:"0.5rem",focus:"center",isNavigation:!0,pagination:!1,arrows:!1}).mount();new ie.default(i,{type:"fade",pagination:!1,arrows:!0}).sync(p).mount(),i.querySelectorAll("a").forEach(y=>{y.addEventListener("click",I=>I.stopPropagation())})})}function Ho(){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=Ho;function zo(){document.querySelectorAll(".c-comparison-table").forEach(Fo)}function Fo(o){let i=o.parentNode.parentNode,c=i.querySelector(".c-comparison-table tbody"),u=i.querySelector(".c-comparison-table thead"),p=i.parentElement.querySelector(".c-comparison-table__mobile");if(!c||!u||!p)return;let v=Array.from(u.children[0].children).filter((N,F)=>F).map(N=>({info:N.innerHTML})),y=Array.from(u.children[1].children).filter((N,F)=>F).map(N=>({buttons:N.innerHTML})),I=v.map((N,F)=>({...N,...y[F],table:[]}));Array.from(c.children).forEach(N=>{if(N.classList.contains("c-comparison-table__title"))I.forEach(F=>{F.table.push({type:"title",title:N.children[0].textContent})});else{let F=Array.from(N.children),Q=F.shift();F.forEach((nt,ot)=>{I[ot].table.push({type:"row",key:Q.textContent,value:nt.innerHTML})})}}),I.forEach(N=>{let F=Ro(N);p.appendChild(F)})}function Ro(o){let i=document.createElement("article");return i.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>
5
5
  <td>${c.value}</td>
6
6
  </tr>`).join("")}
7
- </table>`,i}var In=zo;function Bo(){Array.from(document.querySelectorAll(".c-facet__toggle")).forEach(Wo)}function Wo(o){o.addEventListener("click",$o())}function $o(){return o=>{o.preventDefault();var i=o.currentTarget,c=i.parentElement;c.classList.toggle("c-facet--open");let u=c.classList.contains("c-facet--open")?"true":"false";i.setAttribute("aria-expanded",u)}}var Dn=Bo;function jo(){let o=document.querySelectorAll(".c-gallery__main .c-gallery__slide"),i=document.querySelectorAll(".c-gallery__thumbnails .c-gallery__slide");i.forEach(u=>u.addEventListener("click",function(p){i.forEach(function(v){v!=p.target.parentNode&&v.classList.remove("active")}),p.target.parentNode.classList.add("active"),o.forEach(function(v){v.dataset.slide==u.dataset.slide?v.classList.add("active"):v.classList.remove("active")})})),o.forEach(function(u){u.classList.contains("c-gallery__video")||u.addEventListener("click",c)});function c(){let u=document.querySelector(".c-gallery__main").cloneNode(!0);u.classList.remove("c-gallery__main"),u.classList.add("c-lightbox"),u.querySelectorAll(".c-gallery__slide").forEach(function(p){if(p.classList.contains("c-gallery__video")&&p.remove(),!p.classList.contains("c-gallery__video")){var v=p.querySelector("img");v.srcset!=""&&v.removeAttribute("srcset");var y=v.getAttribute("src");y?y.indexOf("?")!==-1?v.setAttribute("src",y.split("?")[0]+"?quality=90&width=2176"):v.setAttribute("src",y+"?quality=90&width=2176"):(console.log(v),console.log("has no src defined..."))}p.classList.add("c-lightbox__slide"),p.classList.remove("c-gallery__slide")}),document.body.appendChild(u),u.insertAdjacentHTML("beforeend",'<a class="c-lightbox__prev"></a><a class="c-lightbox__next"></a>'),u.querySelector(".c-lightbox__prev").addEventListener("click",function(){let p=u.querySelector(".active"),v=u.querySelector('[data-slide="'+(parseInt(p.dataset.slide)-1)+'"]');v!=null&&(p.classList.remove("active"),v.classList.add("active"))}),u.querySelector(".c-lightbox__next").addEventListener("click",function(){let p=u.querySelector(".active"),v=u.querySelector('[data-slide="'+(parseInt(p.dataset.slide)+1)+'"]');v!=null&&(p.classList.remove("active"),v.classList.add("active"))}),u.addEventListener("click",function(p){p.target===p.currentTarget&&u.remove()})}}var Hn=jo;function Nn(o){let i=[...o];for(let c=i.length-1;c>0;c--){let u=Math.floor(Math.random()*(c+1));[i[c],i[u]]=[i[u],i[c]]}return i}function zn(){return!window.matchMedia("(prefers-reduced-motion: no-preference)").matches}var Fn=(o,i)=>{let c=!1;return()=>{c||(o(),c=!0,setTimeout(()=>c=!1,i))}},Go=(o,i,c)=>o*(1-c)+i*c,Vo=(o,i=0,c=1)=>Math.min(c,Math.max(i,o)),Xo=(o,i,c)=>Vo((c-o)/(i-o)),Rn=(o,i,c,u,p)=>Go(c,u,Xo(o,i,p));function Yo(){let o=0,i=document.querySelector(".c-hero__canvas");if(!i)return;let c=i.getContext("2d"),u="rgb(19,170,19)",p=zn(),v=147,y=0,I=.5,H=.25,F,Z,nt,lt,At=[],ft;function Lt(){o=o+.005,c.clearRect(0,0,i.width,i.height),c.beginPath();for(let j=i.width;j>0;j--)c.lineTo(j,i.height*.5-Math.cos(o+j/5*.03)*(Z*.3));c.lineWidth=.5,c.strokeStyle=u,c.stroke(),At.forEach(j=>{ae(j.x,j.y,Rn(0,At.length,y,I,j.counter)),j.counter+=j.direction,j.counter>=At.length&&(j.direction=-1*H),j.counter<0&&(j.direction=H)}),p||window.requestAnimationFrame(Lt)}function Dt(){F=i.scrollWidth,Z=i.scrollHeight,c.canvas.width=F,c.canvas.height=Z,nt=Math.ceil(F/v),lt=Math.ceil(Z/v),ft=(nt+1)*(lt+1);let j=Nn(Array.from({length:ft},(Y,pt)=>pt));At=[];for(let Y=0;Y<=nt;Y++)for(let pt=0;pt<=lt;pt++)At.push({counter:j.shift(),direction:Math.random()>.5?H:-1*H,x:v*(Y+1)-v/1,y:v*(pt+1)-v/2})}function ae(j,Y,pt){c.beginPath(),c.moveTo(j-14,Y),c.lineTo(j+14,Y),c.strokeStyle=`rgba(255, 255, 255, ${pt}`,c.moveTo(j,Y-14),c.lineTo(j,Y+14),c.stroke()}window.addEventListener("resize",Dt),Dt(),Lt()}var Bn=Yo;function Ko(){document.addEventListener("DOMContentLoaded",()=>{let o=document.getElementById("videoBackground");if(typeof o<"u"&&o!=null){let v=function(){u.classList.contains("u-hidden")?(o.paused&&o.play(),p.paused||p.pause()):o.paused||o.pause()},i=window.matchMedia("(prefers-reduced-motion: reduce)");(!i||i.matches)&&o.pause();let c=document.getElementById("playVideo"),u=document.getElementById("lightboxVideo"),p=u.querySelector(".c-lightbox__video");c.addEventListener("click",y=>{o.pause(),u.classList.remove("u-hidden"),v()}),u.addEventListener("click",y=>{y.target.classList.contains("c-lightbox__video")||(o.setAttribute("autoplay",""),u.classList.add("u-hidden"),v())}),window.addEventListener("keydown",function(y){y.key=="Escape"&&(o.setAttribute("autoplay",""),u.classList.add("u-hidden"),v())})}})}var Wn=Ko;function Uo(){setTimeout(function(){document.querySelectorAll(".c-hotspot-image__button").forEach(i=>{i.addEventListener("click",Qo)}),document.addEventListener("keydown",Zo),document.addEventListener("click",Ve)},2e3)}function Qo(o){o.preventDefault();let i=o.currentTarget,c=i.getAttribute("aria-controls"),u=document.getElementById(c);u.classList.contains("c-hotspot-image__tooltip--open")?Ge(i,u):Jo(i,u)}function Jo(o,i){i.classList.add("c-hotspot-image__tooltip--open"),i.setAttribute("aria-hidden","false"),o.setAttribute("aria-expanded","true"),document.addEventListener("click",Ve)}function Ge(o,i){i.classList.remove("c-hotspot-image__tooltip--open"),i.setAttribute("aria-hidden","true"),o.setAttribute("aria-expanded","false"),document.removeEventListener("click",Ve)}function Zo(o){if(o.key==="Escape"){let i=document.querySelector(".c-hotspot-image__tooltip--open");if(i){let c=document.querySelector(`[aria-controls="${i.id}"]`);Ge(c,i)}}}function Ve(o){let i=document.querySelector(".c-hotspot-image__tooltip--open");if(i&&!i.contains(o.target)&&!o.target.closest(".c-hotspot-image__button")){let c=document.querySelector(`[aria-controls="${i.id}"]`);Ge(c,i)}}var $n=Uo;function tr(){let o=document.querySelector(".c-internal-nav--sticky");if(!o)return;let i={root:null,rootMargin:"0px",threshold:1},c=(y,I)=>{let H=y[0].isIntersecting;o.classList.toggle("c-internal-nav--stuck",!H)};new IntersectionObserver(c,i).observe(o);let p=o.offsetHeight,v=()=>{p=o.offsetHeight,Array.from(o.querySelectorAll("a")).forEach(I=>{let H=I.getAttribute("href").replace("#",""),F=document.getElementById(H);F&&(F.style.scrollMarginTop=`${p}px`)})};window.addEventListener("resize",v),v()}var jn=tr;function er(){let o=document.querySelector(".c-navicon--open"),i=document.querySelector(".c-navicon--close"),c=document.querySelector(".c-header__overlay");!o||!i||!c||(c.id||(c.id="overlay-menu"),o.setAttribute("aria-controls",c.id),o.setAttribute("aria-expanded","false"),c.setAttribute("aria-hidden","true"),nr(o,i,c))}function nr(o,i,c){let u='a[href], button:not([disabled]), input:not([disabled]), textarea:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex="-1"])',p=()=>c.querySelectorAll(u),v=F=>{let Z=p();if(!Z.length)return;let nt=Z[0],lt=Z[Z.length-1];F.key==="Tab"&&(F.shiftKey&&document.activeElement===nt?(F.preventDefault(),lt.focus()):!F.shiftKey&&document.activeElement===lt&&(F.preventDefault(),nt.focus()))},y=()=>{o.setAttribute("aria-expanded","true"),c.setAttribute("aria-hidden","false"),c.setAttribute("aria-modal","true"),c.classList.add("active"),document.body.classList.add("u-no-scroll"),document.addEventListener("keydown",H),document.addEventListener("keydown",v);let F=p()[0];F&&F.focus()},I=()=>{o.setAttribute("aria-expanded","false"),c.setAttribute("aria-hidden","true"),c.removeAttribute("aria-modal"),c.classList.remove("active"),document.body.classList.remove("u-no-scroll"),document.removeEventListener("keydown",H),document.removeEventListener("keydown",v),o.focus()},H=F=>{F.key==="Escape"&&c.classList.contains("active")&&I()};window.addEventListener("resize",()=>c.classList.contains("active")&&window.innerWidth>=880&&I()),o.addEventListener("click",()=>y()),i.addEventListener("click",()=>I())}var Gn=er;function or(){let o=document.querySelectorAll(".c-off-canvas__toggle");o.length&&(o.forEach(i=>{Xn(i,Vn(i)),i.addEventListener("click",()=>cr(i))}),window.addEventListener("resize",()=>{o.forEach(i=>{Xn(i,Vn(i))})}))}function Vn(o){let i=window.getComputedStyle(o);return i.display!=="none"&&i.visibility!=="hidden"}function Xn(o,i){let c=document.getElementById(o.getAttribute("data-target"));i===!0?rr(c):ir(c)}function rr(o){o.classList.add("c-off-canvas"),o.setAttribute("tabindex","-1"),o.setAttribute("aria-hidden","true");let i=o.querySelector('[data-off-canvas="header"]'),c=o.querySelector('[data-off-canvas="main"]'),u=o.querySelector('[data-off-canvas="footer"]'),p=i!==null?i.outerHTML:"",v=c!==null?c.outerHTML:"",y=u!==null?u.outerHTML:"";o.innerHTML=`
7
+ </table>`,i}var In=zo;function Bo(){Array.from(document.querySelectorAll(".c-facet__toggle")).forEach(Wo)}function Wo(o){o.addEventListener("click",$o())}function $o(){return o=>{o.preventDefault();var i=o.currentTarget,c=i.parentElement;c.classList.toggle("c-facet--open");let u=c.classList.contains("c-facet--open")?"true":"false";i.setAttribute("aria-expanded",u)}}var Dn=Bo;function jo(){let o=document.querySelectorAll(".c-gallery__main .c-gallery__slide"),i=document.querySelectorAll(".c-gallery__thumbnails .c-gallery__slide");i.forEach(u=>u.addEventListener("click",function(p){i.forEach(function(v){v!=p.target.parentNode&&v.classList.remove("active")}),p.target.parentNode.classList.add("active"),o.forEach(function(v){v.dataset.slide==u.dataset.slide?v.classList.add("active"):v.classList.remove("active")})})),o.forEach(function(u){u.classList.contains("c-gallery__video")||u.addEventListener("click",c)});function c(){let u=document.querySelector(".c-gallery__main").cloneNode(!0);u.classList.remove("c-gallery__main"),u.classList.add("c-lightbox"),u.querySelectorAll(".c-gallery__slide").forEach(function(p){if(p.classList.contains("c-gallery__video")&&p.remove(),!p.classList.contains("c-gallery__video")){var v=p.querySelector("img");v.srcset!=""&&v.removeAttribute("srcset");var y=v.getAttribute("src");y?y.indexOf("?")!==-1?v.setAttribute("src",y.split("?")[0]+"?quality=90&width=2176"):v.setAttribute("src",y+"?quality=90&width=2176"):(console.log(v),console.log("has no src defined..."))}p.classList.add("c-lightbox__slide"),p.classList.remove("c-gallery__slide")}),document.body.appendChild(u),u.insertAdjacentHTML("beforeend",'<a class="c-lightbox__prev"></a><a class="c-lightbox__next"></a>'),u.querySelector(".c-lightbox__prev").addEventListener("click",function(){let p=u.querySelector(".active"),v=u.querySelector('[data-slide="'+(parseInt(p.dataset.slide)-1)+'"]');v!=null&&(p.classList.remove("active"),v.classList.add("active"))}),u.querySelector(".c-lightbox__next").addEventListener("click",function(){let p=u.querySelector(".active"),v=u.querySelector('[data-slide="'+(parseInt(p.dataset.slide)+1)+'"]');v!=null&&(p.classList.remove("active"),v.classList.add("active"))}),u.addEventListener("click",function(p){p.target===p.currentTarget&&u.remove()})}}var Nn=jo;function Hn(o){let i=[...o];for(let c=i.length-1;c>0;c--){let u=Math.floor(Math.random()*(c+1));[i[c],i[u]]=[i[u],i[c]]}return i}function zn(){return!window.matchMedia("(prefers-reduced-motion: no-preference)").matches}var Fn=(o,i)=>{let c=!1;return()=>{c||(o(),c=!0,setTimeout(()=>c=!1,i))}},Go=(o,i,c)=>o*(1-c)+i*c,Vo=(o,i=0,c=1)=>Math.min(c,Math.max(i,o)),Xo=(o,i,c)=>Vo((c-o)/(i-o)),Rn=(o,i,c,u,p)=>Go(c,u,Xo(o,i,p));function Yo(){let o=0,i=document.querySelector(".c-hero__canvas");if(!i)return;let c=i.getContext("2d"),u="rgb(19,170,19)",p=zn(),v=147,y=0,I=.5,N=.25,F,Q,nt,ot,mt=[],lt;function Lt(){o=o+.005,c.clearRect(0,0,i.width,i.height),c.beginPath();for(let j=i.width;j>0;j--)c.lineTo(j,i.height*.5-Math.cos(o+j/5*.03)*(Q*.3));c.lineWidth=.5,c.strokeStyle=u,c.stroke(),mt.forEach(j=>{ae(j.x,j.y,Rn(0,mt.length,y,I,j.counter)),j.counter+=j.direction,j.counter>=mt.length&&(j.direction=-1*N),j.counter<0&&(j.direction=N)}),p||window.requestAnimationFrame(Lt)}function Dt(){F=i.scrollWidth,Q=i.scrollHeight,c.canvas.width=F,c.canvas.height=Q,nt=Math.ceil(F/v),ot=Math.ceil(Q/v),lt=(nt+1)*(ot+1);let j=Hn(Array.from({length:lt},(Y,pt)=>pt));mt=[];for(let Y=0;Y<=nt;Y++)for(let pt=0;pt<=ot;pt++)mt.push({counter:j.shift(),direction:Math.random()>.5?N:-1*N,x:v*(Y+1)-v/1,y:v*(pt+1)-v/2})}function ae(j,Y,pt){c.beginPath(),c.moveTo(j-14,Y),c.lineTo(j+14,Y),c.strokeStyle=`rgba(255, 255, 255, ${pt}`,c.moveTo(j,Y-14),c.lineTo(j,Y+14),c.stroke()}window.addEventListener("resize",Dt),Dt(),Lt()}var Bn=Yo;function Ko(){document.addEventListener("DOMContentLoaded",()=>{let o=document.getElementById("videoBackground");if(typeof o<"u"&&o!=null){let v=function(){u.classList.contains("u-hidden")?(o.paused&&o.play(),p.paused||p.pause()):o.paused||o.pause()},i=window.matchMedia("(prefers-reduced-motion: reduce)");(!i||i.matches)&&o.pause();let c=document.getElementById("playVideo"),u=document.getElementById("lightboxVideo"),p=u.querySelector(".c-lightbox__video");c.addEventListener("click",y=>{o.pause(),u.classList.remove("u-hidden"),v()}),u.addEventListener("click",y=>{y.target.classList.contains("c-lightbox__video")||(o.setAttribute("autoplay",""),u.classList.add("u-hidden"),v())}),window.addEventListener("keydown",function(y){y.key=="Escape"&&(o.setAttribute("autoplay",""),u.classList.add("u-hidden"),v())})}})}var Wn=Ko;function Uo(){setTimeout(function(){document.querySelectorAll(".c-hotspot-image__button").forEach(i=>{i.addEventListener("click",Qo)}),document.addEventListener("keydown",Zo),document.addEventListener("click",Ve)},2e3)}function Qo(o){o.preventDefault();let i=o.currentTarget,c=i.getAttribute("aria-controls"),u=document.getElementById(c);u.classList.contains("c-hotspot-image__tooltip--open")?Ge(i,u):Jo(i,u)}function Jo(o,i){i.classList.add("c-hotspot-image__tooltip--open"),i.setAttribute("aria-hidden","false"),o.setAttribute("aria-expanded","true"),document.addEventListener("click",Ve)}function Ge(o,i){i.classList.remove("c-hotspot-image__tooltip--open"),i.setAttribute("aria-hidden","true"),o.setAttribute("aria-expanded","false"),document.removeEventListener("click",Ve)}function Zo(o){if(o.key==="Escape"){let i=document.querySelector(".c-hotspot-image__tooltip--open");if(i){let c=document.querySelector(`[aria-controls="${i.id}"]`);Ge(c,i)}}}function Ve(o){let i=document.querySelector(".c-hotspot-image__tooltip--open");if(i&&!i.contains(o.target)&&!o.target.closest(".c-hotspot-image__button")){let c=document.querySelector(`[aria-controls="${i.id}"]`);Ge(c,i)}}var $n=Uo;function tr(){let o=document.querySelector(".c-internal-nav--sticky");if(!o)return;let i={root:null,rootMargin:"0px",threshold:1},c=(y,I)=>{let N=y[0].isIntersecting;o.classList.toggle("c-internal-nav--stuck",!N)};new IntersectionObserver(c,i).observe(o);let p=o.offsetHeight,v=()=>{p=o.offsetHeight,Array.from(o.querySelectorAll("a")).forEach(I=>{let N=I.getAttribute("href").replace("#",""),F=document.getElementById(N);F&&(F.style.scrollMarginTop=`${p}px`)})};window.addEventListener("resize",v),v()}var jn=tr;function er(){let o=document.querySelector(".c-navicon--open"),i=document.querySelector(".c-navicon--close"),c=document.querySelector(".c-header__overlay");!o||!i||!c||(c.id||(c.id="overlay-menu"),o.setAttribute("aria-controls",c.id),o.setAttribute("aria-expanded","false"),c.setAttribute("aria-hidden","true"),nr(o,i,c))}function nr(o,i,c){let u='a[href], button:not([disabled]), input:not([disabled]), textarea:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex="-1"])',p=()=>c.querySelectorAll(u),v=F=>{let Q=p();if(!Q.length)return;let nt=Q[0],ot=Q[Q.length-1];F.key==="Tab"&&(F.shiftKey&&document.activeElement===nt?(F.preventDefault(),ot.focus()):!F.shiftKey&&document.activeElement===ot&&(F.preventDefault(),nt.focus()))},y=()=>{o.setAttribute("aria-expanded","true"),c.setAttribute("aria-hidden","false"),c.setAttribute("aria-modal","true"),c.classList.add("active"),document.body.classList.add("u-no-scroll"),document.addEventListener("keydown",N),document.addEventListener("keydown",v);let F=p()[0];F&&F.focus()},I=()=>{o.setAttribute("aria-expanded","false"),c.setAttribute("aria-hidden","true"),c.removeAttribute("aria-modal"),c.classList.remove("active"),document.body.classList.remove("u-no-scroll"),document.removeEventListener("keydown",N),document.removeEventListener("keydown",v),o.focus()},N=F=>{F.key==="Escape"&&c.classList.contains("active")&&I()};window.addEventListener("resize",()=>c.classList.contains("active")&&window.innerWidth>=880&&I()),o.addEventListener("click",()=>y()),i.addEventListener("click",()=>I())}var Gn=er;function or(){let o=document.querySelectorAll(".c-off-canvas__toggle");o.length&&(o.forEach(i=>{Xn(i,Vn(i)),i.addEventListener("click",()=>cr(i))}),window.addEventListener("resize",()=>{o.forEach(i=>{Xn(i,Vn(i))})}))}function Vn(o){let i=window.getComputedStyle(o);return i.display!=="none"&&i.visibility!=="hidden"}function Xn(o,i){let c=document.getElementById(o.getAttribute("data-target"));i===!0?rr(c):ir(c)}function rr(o){o.classList.add("c-off-canvas"),o.setAttribute("tabindex","-1"),o.setAttribute("aria-hidden","true");let i=o.querySelector('[data-off-canvas="header"]'),c=o.querySelector('[data-off-canvas="main"]'),u=o.querySelector('[data-off-canvas="footer"]'),p=i!==null?i.outerHTML:"",v=c!==null?c.outerHTML:"",y=u!==null?u.outerHTML:"";o.innerHTML=`
8
8
  <div class="c-off-canvas__backdrop" role="presentation"></div>
9
9
  <div class="c-off-canvas__content" role="dialog" aria-modal="true" aria-labelledby="offCanvasHeader">
10
10
  <header id="offCanvasHeader" class="c-off-canvas__header">${p}</header>
@@ -30,7 +30,7 @@
30
30
  <div class="c-tabs__content">
31
31
  ${c.map(u=>u.outerHTML).join("")}
32
32
  </div>
33
- `,setTimeout(()=>to(o),0))}function wr(o){if(!o)return;let i=o.getBoundingClientRect(),c=window.pageYOffset+i.top,u=o.dataset.stickyOffset?parseInt(o.dataset.stickyOffset,10):0;window.scrollTo({top:c-u,behavior:"smooth"})}function Er(o,i,c){return u=>{let p=u.currentTarget,v=p.getAttribute("href")?.replace("#",""),y=i.find(H=>H.id===v);if(!y)return!0;u.preventDefault(),c&&history.pushState(null,null,p.getAttribute("href"));let I=window.innerWidth<=880;o.forEach(H=>{let F=H===p;H.classList.toggle("c-tabs__control--active",F),H.setAttribute("aria-selected",F?"true":"false")}),i.forEach(H=>{let F=H===y;H.classList.toggle("c-tab--active",F),H.hidden=!F}),wr(p.closest(".c-tabs--anchor, .c-tabs--mobile-accordion")),p.scrollIntoView&&p.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}}var no=mr;function Xe(){document.querySelectorAll("[data-component='tabs']").forEach((o,i)=>{let c=o.querySelectorAll("[role='tab']"),u=o.querySelectorAll("[role='tabpanel']");c.forEach((v,y)=>{let I=v.getAttribute("id")?.replace("tab","panel")||`panel-${i}-${y}`;v.setAttribute("role","tab"),v.setAttribute("aria-selected",y===0?"true":"false"),v.setAttribute("tabindex",y===0?"0":"-1"),v.setAttribute("aria-controls",I),v.id||=`tab-${i}-${y}`;let H=document.getElementById(I)||u[y];H&&(H.setAttribute("role","tabpanel"),H.setAttribute("aria-labelledby",v.id),H.hidden=y!==0)});function p(){c.forEach(v=>{let y=v.getAttribute("aria-controls"),I=o.querySelector(`#${y}`);I&&(I.hidden=v.getAttribute("aria-selected")!=="true")})}c.forEach((v,y)=>{v.addEventListener("click",()=>{c.forEach(I=>{I.setAttribute("aria-selected","false"),I.setAttribute("tabindex","-1")}),v.setAttribute("aria-selected","true"),v.setAttribute("tabindex","0"),v.focus(),p()}),v.addEventListener("keydown",I=>{let H;I.key==="ArrowRight"?(H=(y+1)%c.length,c[H].click(),I.preventDefault()):I.key==="ArrowLeft"?(H=(y-1+c.length)%c.length,c[H].click(),I.preventDefault()):I.key==="Home"?(c[0].click(),I.preventDefault()):I.key==="End"&&(c[c.length-1].click(),I.preventDefault())})}),p()})}function oo(){window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach),window.HTMLCollection&&!HTMLCollection.prototype.forEach&&(HTMLCollection.prototype.forEach=Array.prototype.forEach),qn(),je(),On(),In(),Dn(),Hn(),Bn(),Wn(),$n(),jn(),Gn(),Yn(),Kn(),Qn(),Jn(),no(),Xe()}typeof window<"u"&&oo();})();
33
+ `,setTimeout(()=>to(o),0))}function wr(o){if(!o)return;let i=o.getBoundingClientRect(),c=window.pageYOffset+i.top,u=o.dataset.stickyOffset?parseInt(o.dataset.stickyOffset,10):0;window.scrollTo({top:c-u,behavior:"smooth"})}function Er(o,i,c){return u=>{let p=u.currentTarget,v=p.getAttribute("href")?.replace("#",""),y=i.find(N=>N.id===v);if(!y)return!0;u.preventDefault(),c&&history.pushState(null,null,p.getAttribute("href"));let I=window.innerWidth<=880;o.forEach(N=>{let F=N===p;N.classList.toggle("c-tabs__control--active",F),N.setAttribute("aria-selected",F?"true":"false")}),i.forEach(N=>{let F=N===y;N.classList.toggle("c-tab--active",F),N.hidden=!F}),wr(p.closest(".c-tabs--anchor, .c-tabs--mobile-accordion")),p.scrollIntoView&&p.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}}var no=mr;function Xe(){document.querySelectorAll("[data-component='tabs']").forEach((o,i)=>{let c=o.querySelectorAll("[role='tab']"),u=o.querySelectorAll("[role='tabpanel']");c.forEach((v,y)=>{let I=v.getAttribute("id")?.replace("tab","panel")||`panel-${i}-${y}`;v.setAttribute("role","tab"),v.setAttribute("aria-selected",y===0?"true":"false"),v.setAttribute("tabindex",y===0?"0":"-1"),v.setAttribute("aria-controls",I),v.id||=`tab-${i}-${y}`;let N=document.getElementById(I)||u[y];N&&(N.setAttribute("role","tabpanel"),N.setAttribute("aria-labelledby",v.id),N.hidden=y!==0)});function p(){c.forEach(v=>{let y=v.getAttribute("aria-controls"),I=o.querySelector(`#${y}`);I&&(I.hidden=v.getAttribute("aria-selected")!=="true")})}c.forEach((v,y)=>{v.addEventListener("click",()=>{c.forEach(I=>{I.setAttribute("aria-selected","false"),I.setAttribute("tabindex","-1")}),v.setAttribute("aria-selected","true"),v.setAttribute("tabindex","0"),v.focus(),p()}),v.addEventListener("keydown",I=>{let N;I.key==="ArrowRight"?(N=(y+1)%c.length,c[N].click(),I.preventDefault()):I.key==="ArrowLeft"?(N=(y-1+c.length)%c.length,c[N].click(),I.preventDefault()):I.key==="Home"?(c[0].click(),I.preventDefault()):I.key==="End"&&(c[c.length-1].click(),I.preventDefault())})}),p()})}function oo(){window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach),window.HTMLCollection&&!HTMLCollection.prototype.forEach&&(HTMLCollection.prototype.forEach=Array.prototype.forEach),qn(),je(),On(),In(),Dn(),Nn(),Bn(),Wn(),$n(),jn(),Gn(),Yn(),Kn(),Qn(),Jn(),no(),Xe()}typeof window<"u"&&oo();})();
34
34
  /*! Bundled license information:
35
35
 
36
36
  @splidejs/splide/dist/js/splide.min.js: