function _t(n,t){for(var i=0;i=u)?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 Vn(n){var t=n;return{set:function(n){t=n},is:function(n){return M(_(n),t)}}}function Qn(i,r){var u;return function(){var n=arguments,t=this;u||(u=Kn(r||0,function(){i.apply(t,n),u=null},null,1)).start()}}var Zn="role",$n="aria-controls",nt="aria-current",tt="aria-label",it="aria-hidden",rt="tabindex",ut=[Zn,$n,nt,tt,it,rt,"disabled"],ot="slide",et="loop",ct="fade";function ft(u,r,i,o){var e,n=Jn(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,g=s.Direction.resolve,p=-1 ."+hn:""),s.Style.rule(i,n,t)},isWithin:function(n,t){return n=un(n-r),(n=!u.is(ot)&&!p?$(n,u.length-n):n)<=t}}}var at="touchmove mousemove",st="touchend touchcancel mouseup mouseleave";var lt=["Left","Right","Up","Down"];var dt=f+"-lazy",vt=dt+"-srcset",ht="["+dt+"], ["+vt+"]";var gt=[" ","Enter","Spacebar"];var pt=Object.freeze({__proto__:null,Options:function(t,n,i){var r,u,o;function e(n){n&&removeEventListener("resize",c)}function c(){var n=a(u,function(n){return n[1].matches})||[];n[0]!==o&&function(n){n=i.breakpoints[n]||r;n.destroy?(t.options=r,t.destroy("completely"===n.destroy)):(t.state.is(5)&&(e(!0),t.mount()),t.options=n)}(o=n[0])}return{setup:function(){try{s(i,JSON.parse(g(t.root,f)))}catch(n){K(!1,n.message)}r=s({},i)},mount:function(){var n=i.breakpoints;n&&(u=Object.keys(n).sort(function(n,t){return+n-+t}).map(function(n){return[n,matchMedia("("+(i.mediaQuery||"max")+"-width:"+n+"px)")]}),addEventListener("resize",c),c())},destroy:e}},Direction:function(n,t,r){return{resolve:function(n,t){var i=r.direction;return p[n]["rtl"!==i||t?"ttb"===i?0:-1:1]||n},orient:function(n){return n*("rtl"===r.direction?1:-1)}}},Elements:function(n,t,i){var r,u,o,e,c=Jn(n).on,f=n.root,a={},s=[];function l(){var n;!function(){u=D(f,"."+an),o=H(f,"."+sn),e=D(o,"."+ln),K(o&&e,"Missing a track/list element."),E(s,O(e,"."+dn+":not(."+vn+")"));var n=g("."+bn),t=g("."+gn);T(a,{root:f,slider:u,track:o,list:e,slides:s,arrows:t,prev:H(t,"."+pn),next:H(t,"."+mn),bar:H(g("."+wn),"."+_n),play:H(n,"."+xn),pause:H(n,"."+kn)})}(),n=f.id||function(n){return""+n+en(cn[n]=(cn[n]||0)+1)}(m),f.id=n,o.id=o.id||n+"-track",e.id=e.id||n+"-list",S(f,r=p())}function d(){w(s),q(f,r)}function v(){d(),l()}function h(){q(f,r),S(f,r=p())}function g(n){return D(f,n)||D(u,n)}function p(){return[fn+"--"+i.type,fn+"--"+i.direction,i.drag&&fn+"--draggable",i.isNavigation&&fn+"--nav",Mn]}return T(a,{setup:l,mount:function(){c(Bn,v),c(Cn,h)},destroy:d})},Style:function(){var n,u;function r(t,n,i){var r=u.cssRules,r=a(r,function(n){return o(n)&&n.selectorText===t})||r[u.insertRule(t+"{}",0)];o(r)&&(r.style[n]=""+i)}function o(n){return n instanceof CSSStyleRule}return{mount:function(){n=I("style",{},document.head),u=n.sheet},destroy:function(){Y(n),u=null},rule:r,ruleBy:function(n,t,i){r("#"+(y(n)?n.id:n),t,i)}}},Slides:function(r,u,o){var n=Jn(r),t=n.on,e=n.emit,c=n.bind,f=(n=u.Elements).slides,a=n.list,s=[];function i(){f.forEach(function(n,t){v(n,t,-1)})}function l(){g(function(n){n.destroy()}),w(s)}function d(){l(),i()}function v(n,t,i){n=ft(r,t,i,n);n.mount(),s.push(n)}function h(n){return n?p(function(n){return!n.isClone}):s}function g(n,t){h(t).forEach(n)}function p(t){return s.filter("function"==typeof t?t:function(n){return A(t)?P(n.slide,t):M(_(t),n.index)})}return{mount:function(){i(),t(Bn,d)},destroy:l,register:v,get:h,getIn:function(n){var t=u.Controller,i=t.toIndex(n),r=t.hasFocus()?1:o.perPage;return p(function(n){return V(n.index,i,i+r-1)})},getAt:function(n){return p(n)[0]},add:function(n,u){k(n,function(n){var t,i,r;y(n=A(n)?X(n):n)&&((t=f[u])?R(n,t):z(a,n),S(n,o.classes.slide),n=n,i=e.bind(null,Xn),n=N(n,"img"),(r=n.length)?n.forEach(function(n){c(n,"load error",function(){--r||i()})}):i())}),e(Bn)},remove:function(n){Y(p(n).map(function(n){return n.slide})),e(Bn)},forEach:g,filter:p,rule:function(t,i,r){g(function(n){n.rule(t,i,r)})},getLength:function(n){return(n?f:s).length},isEnough:function(){return s.length>o.perPage}}},Clones:function(c,n,f){var t,a,i=Jn(c),r=i.on,u=i.emit,s=n.Elements,l=n.Slides,o=n.Direction.resolve,d=[];function e(){(t=p())&&function(u){var o=l.get().slice(),e=o.length;if(e){for(a=0;o.lengthh(A(!0))}return{mount:function(){t([Xn,Gn,Cn,Bn],w,Yn-1)},move:function(n,t,i){var r;E()||(r=M(),e=n!==t,f=o.waitForTransition,u.state.set(4),a(Pn,t,i,n),c.Transition.start(n,function(){!function(n,t,i,r){e&&_(t);f=!1,u.state.set(3),a(On,t,i,n),"move"===o.trimSpace&&n!==i&&r===M()&&c.Controller.go(i":"<")}(n,t,i,r)}))},jump:_,translate:b,cancel:function(){b(M()),c.Transition.cancel()},toIndex:x,toPosition:k,getPosition:M,getLimit:A,isBusy:E,isExceededMin:L,isExceededMax:S,isExceeded:function(){return L(m)||S(m)}}},Controller:function(n,t,u){var o,e,c,i=Jn(n).on,r=t.Move,f=(t=t.Slides).isEnough,a=t.getLength,s=n.is(et),l=u.start||0,d=l;function v(){o=a(!0),e=u.perMove,c=u.perPage,o<=l&&r.jump(l=o-1)}function h(){k(r.toIndex(r.getPosition()))}function g(n){return m(!1,n)}function p(n){return m(!0,n)}function m(n,t){n=y(l+(e||M()?1:c)*(n?-1:1),l);return t?n:_(n)}function y(n,t,i){var r;return f()?(r=w(),n<0||r])(\d+)?/)||[],i=r[1],r=r[2],"+"===i||"-"===i?t=y(l+ +(""+i+(+r||1)),l,!0):">"===i?t=r?b(+r):g(!0):"<"===i&&(t=p(!0))):t=s?Q(n,-c,o+c-1):Q(n,0,w())}return t}(n);-1<(n=_(i))&&!r.isBusy()&&(t||n!==l)&&(k(n),r.move(i,n,d))},getNext:g,getPrev:p,getEnd:w,setIndex:k,getIndex:function(n){return n?d:l},toIndex:b,toPage:x,hasFocus:M}},Arrows:function(u,n,i){var r,o=(t=Jn(u)).on,e=t.bind,c=t.emit,f=i.classes,a=i.i18n,t=n.Elements,s=n.Controller,l=t.slider,d=t.track,v=t.arrows,h=t.prev,g=t.next,p={};function m(){var n,t;i.arrows&&(h&&g||(n="slider"===i.arrows&&l?l:u.root,v=I("div",f.arrows),h=y(!0),g=y(!1),r=!0,z(v,[h,g]),R(v,D(n)))),h&&g&&(p.prev?B(v,!1===i.arrows?"none":""):(F(h,$n,d.id),F(g,$n,d.id),p.prev=h,p.next=g,t=s.go,o([Rn,Pn,Cn,Bn,Hn],w),e(g,"click",function(){t(">")}),e(h,"click",function(){t("<")}),c("arrows:mounted",h,g)))}function y(n){return X('