function wt(n,t){for(var i=0;i=u))return l();v(s)}}function l(){f=!0}function d(){cancelAnimationFrame(n),f=!(n=c=0)}return{start:function(n){n||d(),o=e()-(n?c*t:0),f=!1,v(s)},rewind:function(){o=e(),c=0,r&&r(c)},pause:l,cancel:d,isPaused:function(){return f}}}function h(n){var t=n;return{set:function(n){t=n},is:function(n){return b(y(n),t)}}}function Sn(i,r){var u;return function(){var n=arguments,t=this;u||(u=zn(r||0,function(){i.apply(t,n),u=null},null,1)).start()}}var g={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=m,Dn=m+"__slider",Pn=m+"__track",Mn=m+"__list",On=m+"__slide",Tn=On+"--clone",Fn=On+"__container",In=m+"__arrows",t=m+"__arrow",jn=t+"--prev",Wn=t+"--next",i=m+"__pagination",Cn=m+"__progress",Nn=Cn+"__bar",Xn=m+"__autoplay",Bn=m+"__play",Gn=m+"__pause",Hn="is-active",Yn="is-prev",Un="is-next",qn="is-visible",Jn="is-loading",Kn=[Hn,qn,Yn,Un,Jn];var Vn="role",Qn="aria-controls",Zn="aria-current",$n="aria-label",nt="aria-hidden",tt="tabindex",it="aria-orientation",rt=[Vn,Qn,Zn,$n,nt,it,tt,"disabled"],ut="slide",ot="loop",et="fade";function ct(u,r,i,o){var e,n=En(u),c=n.on,f=n.emit,a=n.bind,t=n.destroy,s=u.Components,l=u.root,d=u.options,v=d.isNavigation,h=d.updateOnMove,p=s.Direction.resolve,g=X(o,"style"),m=-1o.perPage}}},Layout:function(n,t,i){var r,u,o=En(n),e=o.on,c=o.bind,f=o.emit,a=t.Slides,s=t.Direction.resolve,l=(t=t.Elements).root,d=t.track,v=t.list,h=a.getAt;function p(){u=null,r="ttb"===i.direction,I(l,"maxWidth",V(i.width)),I(d,s("paddingLeft"),m(!1)),I(d,s("paddingRight"),m(!0)),g()}function g(){var n=G(l);u&&u.width===n.width&&u.height===n.height||(I(d,"height",function(){var n="";r&&(Q(n=y(),"height or heightRatio is missing."),n="calc("+n+" - "+m(!1)+" - "+m(!0)+")");return n}()),a.style(s("marginRight"),V(i.gap)),a.style("width",(i.autoWidth?"":V(i.fixedWidth)||(r?"":w()))||null),a.style("height",V(i.fixedHeight)||(r?i.autoHeight?"":w():y())||null,!0),u=n,f(kn))}function m(n){var t=i.padding,n=s(n?"right":"left");return t&&V(t[n]||(W(t)?0:t))||"0px"}function y(){return V(i.height||G(v).width*i.heightRatio)}function w(){var n=V(i.gap);return"calc((100%"+(n&&" + "+n)+")/"+(i.perPage||1)+(n&&" - "+n)+")"}function _(n,t){var i=h(n);if(i){n=G(i.slide)[s("right")],i=G(v)[s("left")];return un(n-i)+(t?0:b())}return 0}function b(){var n=h(0);return n&&parseFloat(I(n.slide,s("marginRight")))||0}return{mount:function(){p(),c(window,"resize load",Sn(f.bind(this,xn))),e([bn,_n],p),e(xn,g)},listSize:function(){return G(v)[s("width")]},slideSize:function(n,t){return(n=h(n||0))?G(n.slide)[s("width")]+(t?0:b()):0},sliderSize:function(){return _(n.length-1,!0)-_(-1,!0)},totalSize:_,getPadding:function(n){return parseFloat(I(d,s("padding"+(n?"Right":"Left"))))||0}}},Clones:function(c,n,f){var t,i=En(c),r=i.on,u=i.emit,a=n.Elements,s=n.Slides,o=n.Direction.resolve,l=[];function e(){(t=p())&&(function(u){var o=s.get().slice(),e=o.length;if(e){for(;o.lengthv(x(!0));return i||t}return{mount:function(){t([ln,kn,bn,_n],g)},destroy:function(){O(h,"style")},move:function(n,t,i,r){var u,o,e;s||(u=c.state.set,o=b(),s=(e=n!==t)||a.waitForTransition,u(4),l(dn,t,i,n),f.Transition.start(n,function(){e&&m(t),s=!1,u(3),l(vn,t,i,n),"move"===a.trimSpace&&n!==i&&o===b()?f.Controller.go(i":"<",!1,r):r&&r()}))},jump:m,translate:y,shift:w,cancel:function(){s=!1,y(b()),f.Transition.cancel()},toIndex:function(n){for(var t=f.Slides.get(),i=0,r=1/0,u=0;u])(\d+)?/)||[],i=r[1],r=r[2],"+"===i||"-"===i?t=x(p+ +(""+i+(+r||1)),p,!0):">"===i?t=r?L(+r):w(!0):"<"===i&&(t=_(!0))):t=v?en(n,-f,o+f-1):en(n,0,k())}return t}(n);u.useScroll?y(r,!0,!0,u.speed,i):-1<(n=A(r))&&!a.isBusy()&&(t||n!==p)&&(S(n),a.move(r,n,g,i))},scroll:y,getNext:w,getPrev:_,getEnd:k,setIndex:S,getIndex:function(n){return n?g:p},toIndex:L,toPage:E,toDest:z,hasFocus:R}},Arrows:function(u,n,i){var r,t=En(u),o=t.on,e=t.bind,c=t.emit,f=i.classes,a=i.i18n,s=n.Elements,l=n.Controller,d=s.arrows,v=s.prev,h=s.next,p={};function g(){var n,t;i.arrows&&(v&&h||(d=F("div",f.arrows),v=m(!0),h=m(!1),r=!0,L(d,[v,h]),E(d,S("slider"===i.arrows&&s.slider||u.root)))),v&&h&&(p.prev?j(d,!1===i.arrows?"none":""):(n=s.track.id,T(v,Qn,n),T(h,Qn,n),p.prev=v,p.next=h,t=l.go,o([ln,vn,bn,_n,Ln],y),e(h,"click",function(){t(">",!0)}),e(v,"click",function(){t("<",!0)}),c("arrows:mounted",v,h)))}function m(n){return Y('