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 s(n){var t=n;return{set:function(n){t=n},is:function(n){return w(y(n),t)}}}function Wn(e,i){var o;return function(){var n,t=this;o||(n=S(arguments),(o=Fn(i||0,function(){e.apply(t,n),o=null},null,1)).start())}}var Bn="ttb",a={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 Gn="role",Hn="tabindex",e="aria-",Xn=e+"controls",Yn=e+"current",qn=e+"selected",Un=e+"label",Kn=e+"hidden",Jn=e+"orientation",Qn=e+"roledescription",d=e+"atomic",h=e+"live",Vn=[Gn,Hn,"disabled",Xn,Yn,Un,Kn,Jn,Qn,d,h],Zn=en,$n=en+"__track",nt=en+"__list",tt=en+"__slide",et=tt+"--clone",it=tt+"__container",ot=en+"__arrows",rt=en+"__arrow",ut=rt+"--prev",st=rt+"--next",at=en+"__pagination",ct=at+"__page",ft=en+"__progress"+"__bar",lt=en+"__autoplay",dt=en+"__play",pt=en+"__pause",ht=en+"__sr",gt="is-active",vt="is-prev",mt="is-next",yt="is-visible",bt="is-loading",wt=[gt,yt,vt,mt,bt];var _t="slide",Et="loop",xt="fade";function St(o,i,t,r){var u,n=jn(o),e=n.on,s=n.emit,a=n.bind,c=o.Components,f=o.root,l=o.options,d=l.isNavigation,p=l.updateOnMove,h=l.i18n,g=l.pagination,v=l.slideFocus,m=c.Direction.resolve,y=Y(r,"style"),b=Y(r,Un),w=-1r.perPage}}},Layout:function(n,t,e){var i,o,r=(a=jn(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,h=a.style;function g(){o=null,i=e.direction===Bn,H(f,"maxWidth",tn(e.width)),H(l,c("paddingLeft"),m(!1)),H(l,c("paddingRight"),m(!0)),v()}function v(){var n=U(f);o&&o.width===n.width&&o.height===n.height||(H(l,"height",function(){var n="";i&&(on(n=y(),"height or heightRatio is missing."),n="calc("+n+" - "+m(!1)+" - "+m(!0)+")");return n}()),h(c("marginRight"),tn(e.gap)),h("width",e.autoWidth?"":tn(e.fixedWidth)||(i?"":b())),h("height",tn(e.fixedHeight)||(i?e.autoHeight?"":b():y()),!0),o=n,s(Dn))}function m(n){var t=e.padding,n=c(n?"right":"left");return t&&tn(t[n]||(W(t)?0:t))||"0px"}function y(){return tn(e.height||U(d).width*e.heightRatio)}function b(){var n=tn(e.gap);return"calc((100%"+(n&&" + "+n)+")/"+(e.perPage||1)+(n&&" - "+n)+")"}function w(n,t){var e=p(n);if(e){n=U(e.slide)[c("right")],e=U(d)[c("left")];return cn(n-e)+(t?0:_())}return 0}function _(){var n=p(0);return n&&parseFloat(H(n.slide,c("marginRight")))||0}return{mount:function(){g(),u(window,"resize load",Wn(D(s,kn))),r([An,Ln],g),r(kn,v)},listSize:function(){return U(d)[c("width")]},slideSize:function(n,t){return(n=p(n||0))?U(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(H(l,c("padding"+(n?"Right":"Left"))))||0}}},Clones:function(s,e,a){var n,t=jn(s),i=t.on,o=t.emit,c=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(S(!0));return e||t}return{mount:function(){a=s.Transition,t([mn,Dn,An,Ln],m)},move:function(n,t,e,i){var o,r,u=x();n!==t&&(o=t=S()?s-1:n)/a)}function L(n){n!==y&&(b=y,y=n)}function A(){return!z(u.focus)||u.isNavigation}function k(){return r.state.is([4,5])&&!!u.waitForTransition}return{mount:function(){w(),n([An,Ln],w)},go:function(n,t,e){var i;k()||-1<(n=x(i=function(n){var t=y;{var e,i;M(n)?(i=n.match(/([+\-<>])(\d+)?/)||[],e=i[1],i=i[2],"+"===e||"-"===e?t=E(y+ +(""+e+(+i||1)),y):">"===e?t=i?P(+i):v(!0):"<"===e&&(t=m(!0))):t=h?n:dn(n,0,S())}return t}(n)))&&(t||n!==y)&&(L(n),c.move(i,n,b,e))},scroll:function(n,t,e,i){o.Scroll.scroll(n,t,e,function(){L(x(c.toIndex(c.getPosition()))),i&&i()})},getNext:v,getPrev:m,getAdjacent:_,getEnd:S,setIndex:L,getIndex:function(n){return n?b:y},toIndex:P,toPage:C,toDest:function(n){return n=c.toIndex(n),g?dn(n,0,S()):n},hasFocus:A,isBusy:k}},Arrows:function(o,n,t){var e,i,r=jn(o),u=r.on,s=r.bind,a=r.emit,c=t.classes,f=t.i18n,l=n.Elements,d=n.Controller,p=l.arrows,h=p,g=l.prev,v=l.next,m={};function y(){!function(){var n=t.arrows;!n||g&&v||(h=p||G("div",c.arrows),g=E(!0),v=E(!1),e=!0,C(h,[g,v]),p||N(h,l.track));g&&v&&(A(m,{prev:g,next:v}),k(h,n?"":"none"),P(h,i=ot+"--"+t.direction),n&&(u([bn,Ln,Tn],x),s(v,"click",D(_,">")),s(g,"click",D(_,"<")),x(),O([g,v],Xn,l.list.id),a("arrows:mounted",g,v)))}(),u(An,b)}function b(){w(),y()}function w(){r.destroy(),$(h,i),e?(K(p?[g,v]:h),g=v=null):R([g,v],Vn)}function _(n){d.go(n,!0)}function E(n){return J('