PageSourceSearch

https://www.interlaken.swiss/dist/js/splide.esm-C1--57YL.js

js interlaken.swiss collected 2026-09-25 00:14:43 UTC 30,889 bytes, 1 lines download raw bytes

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

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.