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