function _defineProperties(n,t){for(var e=0;e=o))return l();p(f)}}function l(){c=!0}function d(){cancelAnimationFrame(n),c=!(n=s=0)}return{start:function(n){n||d(),r=u()-(n?s*t:0),c=!1,p(f)},rewind:function(){r=u(),s=0,i&&i(s)},pause:l,cancel:d,set:function(n){t=n},isPaused:function(){return c}}}function s(n){var t=n;return{set:function(n){t=n},is:function(n){return b(m(n),t)}}}var e="Arrow",Gn=e+"Left",Xn=e+"Right",c=e+"Up",a=e+"Down",Bn="ttb",Hn={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[c,Xn],ArrowRight:[a,Gn]};var Yn="role",qn="tabindex",e="aria-",Un=e+"controls",Kn=e+"current",Jn=e+"selected",Qn=e+"label",Vn=e+"hidden",Zn=e+"orientation",$n=e+"roledescription",nt=e+"live",tt=[Yn,qn,"disabled",Un,Kn,Qn,Vn,Zn,$n,"aria-atomic",nt],et=rn,it=rn+"__track",ot=rn+"__list",rt=rn+"__slide",ut=rt+"--clone",st=rt+"__container",ct=rn+"__arrows",at=rn+"__arrow",ft=at+"--prev",lt=at+"--next",dt=rn+"__pagination",pt=dt+"__page",ht=rn+"__progress"+"__bar",vt=rn+"__toggle",gt=rn+"__sr",mt="is-active",yt="is-prev",bt="is-next",wt="is-visible",Et="is-loading",_t="has-focus-visible",St=[mt,wt,yt,bt,Et,_t];var xt="touchstart mousedown",Pt="touchmove mousemove",Ct="touchend touchcancel mouseup";var kt="slide",Lt="loop",At="fade";function Dt(o,e,t,r){var i,n=Rn(o),u=n.on,s=n.emit,c=n.bind,a=o.Components,f=o.root,l=o.options,d=l.isNavigation,p=l.updateOnMove,h=l.i18n,v=l.pagination,g=l.slideFocus,m=a.Direction.resolve,y=U(r,"style"),b=U(r,Qn),w=-1r.perPage}}},Layout:function(n,t,e){var i,o,r=(c=Rn(n)).on,u=c.bind,s=c.emit,c=t.Slides,a=t.Direction.resolve,f=(t=t.Elements).root,l=t.track,d=t.list,p=c.getAt,h=c.style;function v(){o=null,i=e.direction===Bn,H(f,"maxWidth",on(e.width)),H(l,a("paddingLeft"),m(!1)),H(l,a("paddingRight"),m(!0)),g()}function g(){var n=J(f);o&&o.width===n.width&&o.height===n.height||(H(l,"height",function(){var n="";i&&(un(n=y(),"height or heightRatio is missing."),n="calc("+n+" - "+m(!1)+" - "+m(!0)+")");return n}()),h(a("marginRight"),on(e.gap)),h("width",e.autoWidth?null:on(e.fixedWidth)||(i?"":b())),h("height",on(e.fixedHeight)||(i?e.autoHeight?null:b():y()),!0),o=n,s(zn))}function m(n){var t=e.padding,n=a(n?"right":"left");return t&&on(t[n]||(X(t)?0:t))||"0px"}function y(){return on(e.height||J(d).width*e.heightRatio)}function b(){var n=on(e.gap);return"calc((100%"+(n&&" + "+n)+")/"+(e.perPage||1)+(n&&" - "+n)+")"}function w(n,t){var e=p(n);if(e){n=J(e.slide)[a("right")],e=J(d)[a("left")];return ln(n-e)+(t?0:E())}return 0}function E(){var n=p(0);return n&&parseFloat(H(n.slide,a("marginRight")))||0}return{mount:function(){var n,t,e;v(),u(window,"resize load",(n=D(s,Mn),function(){e||(e=Wn(t||0,function(){n(),e=null},null,1)).start()})),r([Dn,An],v),r(Mn,g)},listSize:function(){return J(d)[a("width")]},slideSize:function(n,t){return(n=p(n||0))?J(n.slide)[a("width")]+(t?0:E()):0},sliderSize:function(){return w(n.length-1,!0)-w(-1,!0)},totalSize:w,getPadding:function(n){return parseFloat(H(l,a("padding"+(n?"Right":"Left"))))||0}}},Clones:function(s,e,c){var n,t=Rn(s),i=t.on,o=t.emit,a=e.Elements,f=e.Slides,r=e.Direction.resolve,l=[];function u(){(n=h())&&(function(o){var r=f.get().slice(),u=r.length;if(u){for(;r.lengthh(x(!0));return e||t}return{mount:function(){c=s.Transition,t([bn,zn,Dn,An],m)},move:function(n,t,e,i){var o,r,u=S();n!==t&&(o=t=x()?s-1:n)/c)}function k(n){n!==y&&(b=y,y=n)}function L(){return!z(u.focus)||u.isNavigation}function A(){return r.state.is([R,W])&&!!u.waitForTransition}return{mount:function(){w(),n([Dn,An],w)},go:function(n,t,e){var i;A()||-1<(n=S(i=function(n){var t=y;{var e,i;M(n)?(i=n.match(/([+\-<>])(\d+)?/)||[],e=i[1],i=i[2],"+"===e||"-"===e?t=_(y+ +(""+e+(+i||1)),y):">"===e?t=i?P(+i):g(!0):"<"===e&&(t=m(!0))):t=h?n:hn(n,0,x())}return t}(n)))&&(t||n!==y)&&(k(n),a.move(i,n,b,e))},scroll:function(n,t,e,i){o.Scroll.scroll(n,t,e,function(){k(S(a.toIndex(a.getPosition()))),i&&i()})},getNext:g,getPrev:m,getAdjacent:E,getEnd:x,setIndex:k,getIndex:function(n){return n?b:y},toIndex:P,toPage:C,toDest:function(n){return n=a.toIndex(n),v?hn(n,0,x()):n},hasFocus:L,isBusy:A}},Arrows:function(o,n,t){var e,i,r=Rn(o),u=r.on,s=r.bind,c=r.emit,a=t.classes,f=t.i18n,l=n.Elements,d=n.Controller,p=l.arrows,h=l.track,v=p,g=l.prev,m=l.next,y={};function b(){!function(){var n=t.arrows;!n||g&&m||(v=p||j("div",a.arrows),g=S(!0),m=S(!1),e=!0,C(v,[g,m]),p||k(v,h));g&&m&&(I(y,{prev:g,next:m}),Y(v,n?"":"none"),P(v,i=ct+"--"+t.direction),n&&(u([En,An,Tn],x),s(m,"click",D(_,">")),s(g,"click",D(_,"<")),x(),F([g,m],Un,h.id),c("arrows:mounted",g,m)))}(),u(Dn,w)}function w(){E(),b()}function E(){r.destroy(),tn(v,i),e?(Q(p?[g,m]:v),g=m=null):O([g,m],tt)}function _(n){d.go(n,!0)}function S(n){return V('