function _defineProperties(n,t){for(var e=0;e=o))return l();p(f)}}function l(){a=!0}function d(){cancelAnimationFrame(n),a=!(n=s=0)}return{start:function(n){n||d(),r=u()-(n?s*t:0),a=!1,p(f)},rewind:function(){r=u(),s=0,i&&i(s)},pause:l,cancel:d,set:function(n){t=n},isPaused:function(){return a}}}function c(n){var t=n;return{set:function(n){t=n},is:function(n){return A(S(n),t)}}}function In(e,i){var o;return function(){var n,t=this;o||(n=f(arguments),(o=Mn(i||0,function(){e.apply(t,n),o=null},null,1)).start())}}var v={marginRight:["marginBottom","marginLeft"],autoWidth:["autoHeight"],fixedWidth:["fixedHeight"],paddingLeft:["paddingTop","paddingRight"],paddingRight:["paddingBottom","paddingLeft"],width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:["ArrowUp","ArrowRight"],ArrowRight:["ArrowDown","ArrowLeft"]};var Rn="role",On="tabindex",e="aria-",Fn=e+"controls",jn=e+"selected",Wn=e+"label",Bn=e+"hidden",Xn=e+"orientation",Gn=e+"roledescription",Hn=e+"atomic",Yn=e+"live",qn=[Rn,On,"disabled",Fn,"aria-current",Wn,Bn,Xn,Gn,Hn,Yn],Un=wn,Jn=wn+"__slider",Kn=wn+"__track",Qn=wn+"__list",Vn=wn+"__slide",Zn=Vn+"--clone",$n=Vn+"__container",nt=wn+"__arrows",tt=wn+"__arrow",et=tt+"--prev",it=tt+"--next",e=wn+"__pagination",ot=wn+"__progress",rt=ot+"__bar",ut=wn+"__autoplay",st=wn+"__play",at=wn+"__pause",ct="is-active",ft="is-prev",lt="is-next",dt="is-visible",pt="is-loading",vt="has-focus",ht=[ct,dt,ft,lt,pt,vt];var gt="slide",mt="loop",yt="fade";function bt(o,i,t,r){var u,n=zn(o),e=n.on,s=n.emit,a=n.bind,c=n.destroy,f=o.Components,l=o.root,d=o.options,p=d.isNavigation,v=d.updateOnMove,h=d.i18n,g=f.Elements.isTab,m=f.Direction.resolve,y=cn(r,"style"),b=-1r.perPage}}},Layout:function(n,t,e){var i,o,r=(a=zn(n)).on,u=a.bind,s=a.emit,a=t.Slides,c=t.Direction.resolve,f=(t=t.Elements).root,l=t.track,d=t.list,p=a.getAt,v=a.style;function h(){o=null,i="ttb"===e.direction,sn(f,"maxWidth",bn(e.width)),sn(l,c("paddingLeft"),m(!1)),sn(l,c("paddingRight"),m(!0)),g()}function g(){var n=ln(f);o&&o.width===n.width&&o.height===n.height||(sn(l,"height",function(){var n="";i&&(_n(n=y(),"height or heightRatio is missing."),n="calc("+n+" - "+m(!1)+" - "+m(!0)+")");return n}()),v(c("marginRight"),bn(e.gap)),v("width",(e.autoWidth?"":bn(e.fixedWidth)||(i?"":b()))||null),v("height",bn(e.fixedHeight)||(i?e.autoHeight?"":b():y())||null,!0),o=n,s(P))}function m(n){var t=e.padding,n=c(n?"right":"left");return t&&bn(t[n]||(Y(t)?0:t))||"0px"}function y(){return bn(e.height||ln(d).width*e.heightRatio)}function b(){var n=bn(e.gap);return"calc((100%"+(n&&" + "+n)+")/"+(e.perPage||1)+(n&&" - "+n)+")"}function w(n,t){var e=p(n);if(e){n=ln(e.slide)[c("right")],e=ln(d)[c("left")];return kn(n-e)+(t?0:_())}return 0}function _(){var n=p(0);return n&&parseFloat(sn(n.slide,c("marginRight")))||0}return{mount:function(){h(),u(window,"resize load",In(G(s,E))),r([j,O],h),r(E,g)},listSize:function(){return ln(d)[c("width")]},slideSize:function(n,t){return(n=p(n||0))?ln(n.slide)[c("width")]+(t?0:_()):0},sliderSize:function(){return w(n.length-1,!0)-w(-1,!0)},totalSize:w,getPadding:function(n){return parseFloat(sn(l,c("padding"+(n?"Right":"Left"))))||0}}},Clones:function(s,e,a){var n,t=zn(s),i=t.on,o=t.emit,c=e.Elements,f=e.Slides,r=e.Direction.resolve,l=[];function u(){(n=v())&&(function(o){var r=f.get().slice(),u=r.length;if(u){for(;r.lengthp(E(!0));return e||t}return{mount:function(){c=s.Transition,t([F,P,j,O],g)},move:function(n,t,e,i){var o,r;x()||(o=u.state.set,r=_(),n!==t&&(c.cancel(),y(b(r,t":"<",!1,i):i&&i()}))},jump:m,translate:y,shift:b,cancel:function(){y(_()),c.cancel()},toIndex:function(n){for(var t=s.Slides.get(),e=0,i=1/0,o=0;o])(\d+)?/)||[],e=i[1],i=i[2],"+"===e||"-"===e?t=E(m+ +(""+e+(+i||1)),m,!0):">"===e?t=i?P(+i):h(!0):"<"===e&&(t=g(!0))):t=p?n:Cn(n,0,x())}return t}(n);o.useScroll?w(i,!0,!0,o.speed,e):-1<(n=S(i))&&!c.isBusy()&&(t||n!==m)&&(C(n),c.move(i,n,y,e))},scroll:w,getNext:h,getPrev:g,getAdjacent:_,getEnd:x,setIndex:C,getIndex:function(n){return n?y:m},toIndex:P,toPage:k,toDest:A,hasFocus:L}},Arrows:function(o,n,t){var e,i=zn(o),r=i.on,u=i.bind,s=i.emit,a=t.classes,c=t.i18n,f=n.Elements,l=n.Controller,d=f.arrows,p=f.prev,v=f.next,h={};function g(){var n;t.arrows&&(p&&v||(d=un("div",a.arrows),p=m(!0),v=m(!1),e=!0,V(d,[p,v]),Z(d,tn("slider"===t.arrows&&f.slider||o.root)))),p&&v&&(h.prev||(rn([p,v],Fn,f.list.id),h.prev=p,h.next=v,n=l.go,r([F,L,j,O,B],y),u(v,"click",G(n,">",!0,void 0)),u(p,"click",G(n,"<",!0,void 0)),s("arrows:mounted",p,v)),an(d,!1===t.arrows?"none":""))}function m(n){return pn('