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 C(_(n),t)}}}function Rn(e,i){var o;return function(){var n,t=this;o||(n=f(arguments),(o=In(i||0,function(){e.apply(t,n),o=null},null,1)).start())}}var On="ttb",v={marginRight:["marginBottom","marginLeft"],autoWidth:["autoHeight"],fixedWidth:["fixedHeight"],paddingLeft:["paddingTop","paddingRight"],paddingRight:["paddingBottom","paddingLeft"],width:["height"],Width:["Height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:["ArrowUp","ArrowRight"],ArrowRight:["ArrowDown","ArrowLeft"]};var Fn="role",jn="tabindex",e="aria-",Wn=e+"controls",Bn=e+"current",Gn=e+"selected",Hn=e+"label",Xn=e+"hidden",Yn=e+"orientation",qn=e+"roledescription",Un=e+"atomic",Kn=e+"live",Jn=[Fn,jn,"disabled",Wn,Bn,Hn,Xn,Yn,qn,Un,Kn],Qn=_n,Vn=_n+"__slider",Zn=_n+"__track",$n=_n+"__list",nt=_n+"__slide",tt=nt+"--clone",et=nt+"__container",it=_n+"__arrows",ot=_n+"__arrow",rt=ot+"--prev",ut=ot+"--next",e=_n+"__pagination",st=_n+"__progress",at=st+"__bar",ct=_n+"__autoplay",ft=_n+"__play",lt=_n+"__pause",dt="is-active",pt="is-prev",vt="is-next",ht="is-visible",gt="is-loading",mt=[dt,ht,pt,vt,gt];var yt="slide",bt="loop",wt="fade";function _t(o,i,t,r){var u,n=Tn(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=d.pagination,m=f.Direction.resolve,y=fn(r,"style"),b=-1r.perPage}}},Layout:function(n,t,e){var i,o,r=(a=Tn(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=e.direction===On,sn(f,"maxWidth",wn(e.width)),sn(l,c("paddingLeft"),m(!1)),sn(l,c("paddingRight"),m(!0)),g()}function g(){var n=dn(f);o&&o.width===n.width&&o.height===n.height||(sn(l,"height",function(){var n="";i&&(En(n=y(),"height or heightRatio is missing."),n="calc("+n+" - "+m(!1)+" - "+m(!0)+")");return n}()),v(c("marginRight"),wn(e.gap)),v("width",(e.autoWidth?"":wn(e.fixedWidth)||(i?"":b()))||null),v("height",wn(e.fixedHeight)||(i?e.autoHeight?"":b():y())||null,!0),o=n,s(L))}function m(n){var t=e.padding,n=c(n?"right":"left");return t&&wn(t[n]||(Y(t)?0:t))||"0px"}function y(){return wn(e.height||dn(d).width*e.heightRatio)}function b(){var n=wn(e.gap);return"calc((100%"+(n&&" + "+n)+")/"+(e.perPage||1)+(n&&" - "+n)+")"}function w(n,t){var e=p(n);if(e){n=dn(e.slide)[c("right")],e=dn(d)[c("left")];return Cn(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",Rn(H(s,E))),r([j,O],h),r(E,g)},listSize:function(){return dn(d)[c("width")]},slideSize:function(n,t){return(n=p(n||0))?dn(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=Tn(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.lengthv(S(!0));return e||t}return{mount:function(){a=s.Transition,t([F,L,j,O],m)},move:function(n,t,e,i){var o,r,u=x();n!==t&&(o=t=L()?s-1:n)/c)}function k(n){n!==b&&(w=b,b=n)}function D(){return!U(u.focus)||u.isNavigation}function z(){return o.state.is([4,5])&&!!u.waitForTransition}return{mount:function(){i(),n([j,O],i)},go:function(n,t,e){var i;z()||-1<(n=function(n){if("move"===u.trimSpace&&n!==b)for(var t=l();t===p(n,!0)&&An(n,0,o.length-1,!0);)n])(\d+)?/)||[],e=i[1],i=i[2],"+"===e||"-"===e?t=S(b+ +(""+e+(+i||1)),b,!0):">"===e?t=i?C(+i):m(!0):"<"===e&&(t=y(!0))):t=h?n:kn(n,0,L())}return t}(n)))&&(t||n!==b)&&(k(n),u.useScroll?E(i,u.speed,e):f.move(i,n,w,e))},scroll:_,scrollTo:E,getNext:m,getPrev:y,getAdjacent:x,getEnd:L,setIndex:k,getIndex:function(n){return n?w:b},toIndex:C,toPage:A,toDest:function(n){return n=f.toIndex(n),g?kn(n,0,L()):n},hasFocus:D,isBusy:z}},Arrows:function(o,n,t){var e,i=Tn(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],Wn,f.list.id),h.prev=p,h.next=v,n=l.go,r([F,k,j,O,B],y),u(v,"click",H(n,">",!0,void 0)),u(p,"click",H(n,"<",!0,void 0)),s("arrows:mounted",p,v)),an(d,!1===t.arrows?"none":""))}function m(n){return vn('