function _defineProperties(t,e){for(var n=0;n=i))return f();a(d)}}function f(){c=!0}function p(){r&&cancelAnimationFrame(r),c=!(r=u=0)}return{start:function(e){e||p(),o=s()-(e?u*t:0),c=!1,a(d)},rewind:function(){o=s(),u=0,n&&n(u)},pause:f,cancel:p,set:function(e){t=e},isPaused:function(){return c}}}var Lt,zt=(Lt="Arrow")+"Left",Dt=Lt+"Right",It=Lt+"Up",qt=Lt+"Down",Mt="ttb",At={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[It,Dt],ArrowRight:[qt,zt]},Bt="role",$t="tabindex",Nt=(Lt="aria-")+"controls",Tt=Lt+"current",Ot=Lt+"selected",Ft=Lt+"label",Rt=Lt+"labelledby",Wt=Lt+"hidden",Gt=Lt+"orientation",Xt=Lt+"roledescription",Ht=Lt+"live",Yt=Lt+"busy",Kt=Lt+"atomic",Ut=[Bt,$t,"disabled",Nt,Tt,Ft,Rt,Wt,Gt,Xt],Jt=K,Vt=K+"__track",Zt=K+"__slide",te=Zt+"--clone",ee=K+"__arrows",ne=K+"__arrow",ie=ne+"--prev",oe=ne+"--next",re=K+"__pagination",se=re+"__page",ae="is-active",ue="is-prev",ce="is-next",le="is-visible",de="is-loading",fe="is-focus-in",pe=[ae,le,ue,ce,de,fe],me="touchstart mousedown",he="touchmove mousemove",ge="touchend touchcancel mouseup click",ve="slide",ye="loop",be="fade";var _e={passive:!1,capture:!0},we={Spacebar:" ",Right:Dt,Left:zt,Up:It,Down:qt};function Ce(t){return t=f(t)?t:t.key,we[t]||t}var je="keydown",ke=U+"-lazy",Qe=ke+"-srcset",Ee=[" ","Enter"],xe=Object.freeze({__proto__:null,Media:function(e,n,i){var o=e.state,r=i.breakpoints||{},s=i.reducedMotion||{},a=lt(),u=[];function c(t){t&&a.destroy()}function l(t,e){e=matchMedia(e),a.bind(e,"change",d),u.push([t,e])}function d(){var t=o.is(7),n=i.direction,r=u.reduce((function(t,e){return L(t,e[1].matches?e[0]:{})}),{});z(i),f(r),i.destroy?e.destroy("completely"===i.destroy):t?(c(!0),e.mount()):n!==i.direction&&e.refresh()}function f(t,n){L(i,t),n&&L(Object.getPrototypeOf(i),t),o.is(1)||e.emit(yt,i)}return{setup:function(){var e="min"===i.mediaQuery;x(r).sort((function(t,n){return e?+t-+n:+n-+t})).forEach((function(t){l(r[t],"("+(e?"min":"max")+"-width:"+t+"px)")})),l(s,t),d()},destroy:c,reduce:function(e){matchMedia(t).matches&&(e?L(i,s):z(i,x(s)))},set:f}},Direction:function(t,e,n){return{resolve:function(t,e,i){var o="rtl"!==(i=i||n.direction)||e?i===Mt?0:-1:1;return At[t]&&At[t][o]||t.replace(/width|left|right/i,(function(t,e){return t=At[t.toLowerCase()][o]||t,0i.perPage}}},Layout:function(t,e,n){var i,r,s=(l=St(t)).on,a=l.bind,u=l.emit,l=e.Slides,d=e.Direction.resolve,f=(e=e.Elements).root,p=e.track,m=e.list,h=l.getAt,g=l.style;function v(){r=null,i=n.direction===Mt,M(f,"maxWidth",Y(n.width)),M(p,d("paddingLeft"),b(!1)),M(p,d("paddingRight"),b(!0)),y()}function y(){var t=T(f);r&&r.width===t.width&&r.height===t.height||(M(p,"height",function(){var t="";return i&&(J(t=_(),"height or heightRatio is missing."),t="calc("+t+" - "+b(!1)+" - "+b(!0)+")"),t}()),g(d("marginRight"),Y(n.gap)),g("width",n.autoWidth?null:Y(n.fixedWidth)||(i?"":w())),g("height",Y(n.fixedHeight)||(i?n.autoHeight?null:w():_()),!0),r=t,u(_t))}function b(t){var e=n.padding;t=d(t?"right":"left");return e&&Y(e[t]||(c(e)?0:e))||"0px"}function _(){return Y(n.height||T(m).width*n.heightRatio)}function w(){var t=Y(n.gap);return"calc((100%"+(t&&" + "+t)+")/"+(n.perPage||1)+(t&&" - "+t)+")"}function C(t,e){var n=h(t);return n?(t=T(n.slide)[d("right")],n=T(m)[d("left")],nt(t-n)+(e?0:j())):0}function j(){var t=h(0);return t&&parseFloat(M(t.slide,d("marginRight")))||0}return{mount:function(){var t,e;v(),a(window,"resize load",(t=o(u,bt),function(){e||(e=Pt(0,(function(){t(),e=null}),null,1)).start()})),s([yt,vt],v),s(bt,y)},listSize:function(){return T(m)[d("width")]},slideSize:function(t,e){return(t=h(t||0))?T(t.slide)[d("width")]+(e?0:j()):0},sliderSize:function(){return C(t.length-1,!0)-C(-1,!0)},totalSize:C,getPadding:function(t){return parseFloat(M(p,d("padding"+(t?"Right":"Left"))))||0}}},Clones:function(t,e,i){var o,r=St(t),s=r.on,a=r.emit,u=e.Elements,c=e.Slides,l=e.Direction.resolve,d=[];function f(){(o=h())&&(function(e){var n=c.get().slice(),o=n.length;if(o){for(;n.lengthe.Controller.getEnd(),(i<0||o)&&(n=w(n,o))),n}(n),M(g,"transform","translate"+m("X")+"("+i+"px)"),n!==i&&s(mt))}function w(t,e){var n=t-E(e),i=f();return t-h(i*(et(nt(n)/i)||1))*(e?1:-1)}function C(){_(Q()),i.cancel()}function j(t){for(var n=e.Slides.get(),i=0,o=1/0,r=0;rh(E(!0));return n||e},reposition:y}},Controller:function(t,e,n){var i,r,s,a=St(t).on,u=e.Move,c=u.getPosition,l=u.getLimit,d=u.toPosition,m=e.Slides,h=m.isEnough,g=m.getLength,v=t.is(ye),y=t.is(ve),b=o(k,!1),_=o(k,!0),w=n.start||0,C=w;function j(){i=g(!0),r=n.perMove,s=n.perPage;var t=rt(w,0,i-1);t!==w&&(w=t,u.reposition())}function k(t,e){var n=r||(z()?1:s);return-1===(n=Q(w+n*(t?-1:1),w,!(r||z())))&&y&&!it(c(),l(!t),1)?t?0:x():e?n:E(n)}function Q(e,o,a){var u,l;return h()?(u=x(),(l=function(e){if(y&&"move"===n.trimSpace&&e!==w)for(var i=c();i===d(e,!0)&&ot(e,0,t.length-1,!n.rewind);)e=x()?i-1:t)/s)}function L(t){t!==w&&(C=w,w=t)}function z(){return!p(n.focus)||n.isNavigation}function D(){return t.state.is([4,5])&&!!n.waitForTransition}return{mount:function(){j(),a([yt,vt],j)},go:function(t,e,n){var i;D()||-1<(t=E(i=function(t){var e,n,i=w;return f(t)?(e=(n=t.match(/([+\-<>])(\d+)?/)||[])[1],n=n[2],"+"===e||"-"===e?i=Q(w+ +(""+e+(+n||1)),w):">"===e?i=n?S(+n):b(!0):"<"===e&&(i=_(!0))):i=v?t:rt(t,0,x()),i}(t)))&&(e||t!==w)&&(L(t),u.move(i,t,C,n))},scroll:function(t,n,i,o){e.Scroll.scroll(t,n,i,(function(){L(E(u.toIndex(c()))),o&&o()}))},getNext:b,getPrev:_,getAdjacent:k,getEnd:x,setIndex:L,getIndex:function(t){return t?C:w},toIndex:S,toPage:P,toDest:function(t){return t=u.toIndex(t),y?rt(t,0,x()):t},hasFocus:z,isBusy:D}},Arrows:function(t,e,n){var i,r,s=St(t),a=s.on,u=s.bind,c=s.emit,l=n.classes,d=n.i18n,f=e.Elements,p=e.Controller,m=f.arrows,h=f.track,g=m,v=f.prev,y=f.next,b={};function _(){!function(){var t=n.arrows;!t||v&&y||(g=m||q("div",l.arrows),v=x(!0),y=x(!1),i=!0,C(g,[v,y]),m||j(g,h)),v&&y&&(P(b,{prev:v,next:y}),A(g,t?"":"none"),w(g,r=ee+"--"+n.direction),t&&(a([pt,vt,Ct],S),u(y,"click",o(E,">")),u(v,"click",o(E,"<")),S(),I([v,y],Nt,h.id),c("arrows:mounted",v,y)))}(),a(yt,k)}function k(){Q(),_()}function Q(){s.destroy(),X(g,r),i?(O(m?[v,y]:g),v=y=null):D([v,y],Ut)}function E(t){p.go(t,!0)}function x(t){return F('