1!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).Glide=e()}(this,function(){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function o(t,e,n){e&&i(t.prototype,e),n&&i(t,n)}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function u(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");e=t;if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(n){var i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=s(n);return u(this,i?(t=s(this).constructor,Reflect.construct(e,arguments,t)):e.apply(this,arguments))}}function l(){return(l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var i=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=s(t)););return t}(t,e);if(i)return i=Object.getOwnPropertyDescriptor(i,e),i.get?i.get.call(arguments.length<3?t:n):i.value}).apply(this,arguments)}var f={type:"slider",startAt:0,perView:1,focusAt:0,gap:10,autoplay:!1,hoverpause:!0,keyboard:!0,bound:!1,swipeThreshold:80,dragThreshold:120,perSwipe:"",touchRatio:.5,touchAngle:45,animationDuration:400,rewind:!0,rewindDuration:800,animationTimingFunc:"cubic-bezier(.165, .840, .440, 1)",waitForTransition:!0,throttle:10,direction:"ltr",peek:0,cloningRatio:1,breakpoints:{},classes:{swipeable:"glide--swipeable",dragging:"glide--dragging",direction:{ltr:"glide--ltr",rtl:"glide--rtl"},type:{slider:"glide--slider",carousel:"glide--carousel"},slide:{clone:"glide__slide--clone",active:"glide__slide--active"},arrow:{disabled:"glide__arrow--disabled"},nav:{active:"glide__bullet--active"}}};function d(t){console.error("[Glide warn]: ".concat(t))}function h(t){return parseInt(t)}function v(t){return"string"==typeof t}function p(t){var e=n(t);return"function"===e||"object"===e&&t}function m(t){return"function"==typeof t}function g(t){return void 0===t}function y(t){return t.constructor===Array}function b(t,e,n){Object.defineProperty(t,e,n)}function w(t,e){var n=Object.assign({},t,e);return e.hasOwnProperty("classes")&&(n.classes=Object.assign({},t.classes,e.classes),e.classes.hasOwnProperty("direction")&&(n.classes.direction=Object.assign({},t.classes.direction,e.classes.direction)),e.classes.hasOwnProperty("type")&&(n.classes.type=Object.assign({},t.classes.type,e.classes.type)),e.classes.hasOwnProperty("slide")&&(n.classes.slide=Object.assign({},t.classes.slide,e.classes.slide)),e.classes.hasOwnProperty("arrow")&&(n.classes.arrow=Object.assign({},t.classes.arrow,e.classes.arrow)),e.classes.hasOwnProperty("nav")&&(n.classes.nav=Object.assign({},t.classes.nav,e.classes.nav))),e.hasOwnProperty("breakpoints")&&(n.breakpoints=Object.assign({},t.breakpoints,e.breakpoints)),n}var _=function(){function e(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};r(this,e),this.events=t,this.hop=t.hasOwnProperty}return o(e,[{key:"on",value:function(t,e){var n;{if(!y(t))return this.hop.call(this.events,t)||(this.events[t]=[]),n=this.events[t].push(e)-1,{remove:function(){delete this.events[t][n]}};for(var i=0;i<t.length;i++)this.on(t[i],e)}}},{key:"emit",value:function(t,e){if(y(t))for(var n=0;n<t.length;
1n++)this.emit(t[n],e);else this.hop.call(this.events,t)&&this.events[t].forEach(function(t){t(e||{})})}}]),e}(),L=function(){function n(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};r(this,n),this._c={},this._t=[],this._e=new _,this.disabled=!1,this.selector=t,this.settings=w(f,e),this.index=this.settings.startAt}return o(n,[{key:"mount",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return this._e.emit("mount.before"),p(t)?this._c=function(t,e,n){var i,r,o={};for(i in e)m(e[i])?o[i]=e[i](t,o,n):d("Extension must be a function");for(r in o)m(o[r].mount)&&o[r].mount();return o}(this,t,this._e):d("You need to provide a object on `mount()`"),this._e.emit("mount.after"),this}},{key:"mutate",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];return y(t)?this._t=t:d("You need to provide a array on `mutate()`"),this}},{key:"update",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return this.settings=w(this.settings,t),t.hasOwnProperty("startAt")&&(this.index=t.startAt),this._e.emit("update"),this}},{key:"go",value:function(t){return this._c.Run.make(t),this}},{key:"move",value:function(t){return this._c.Transition.disable(),this._c.Move.make(t),this}},{key:"destroy",value:function(){return this._e.emit("destroy"),this}},{key:"play",value:function(){var t=0<arguments.length&&void 0!==arguments[0]&&arguments[0];return t&&(this.settings.autoplay=t),this._e.emit("play"),this}},{key:"pause",value:function(){return this._e.emit("pause"),this}},{key:"disable",value:function(){return this.disabled=!0,this}},{key:"enable",value:function(){return this.disabled=!1,this}},{key:"on",value:function(t,e){return this._e.on(t,e),this}},{key:"isType",value:function(t){return this.settings.type===t}},{key:"settings",get:function(){return this._o},set:function(t){p(t)?this._o=t:d("Options must be an `object` instance.")}},{key:"index",get:function(){return this._i},set:function(t){this._i=h(t)}},{key:"type",get:function(){return this.settings.type}},{key:"disabled",get:function(){return this._d},set:function(t){this._d=!!t}}]),n}();function k(){return(new Date).getTime()}function S(n,i,r){function o(){l=!1===r.leading?0:k(),s=null,c=n.apply(a,u),s||(a=u=null)}function t(){var t=k(),e=(l||!1!==r.leading||(l=t),i-(t-l));return a=this,u=arguments,e<=0||i<e?(s&&(clearTimeout(s),s=null),l=t,c=n.apply(a,u),s||(a=u=null)):s||!1===r.trailing||(s=setTimeout(o,e)),c}var s,a,u,c,l=0;r=r||{};return t.cancel=function(){clearTimeout(s),l=0,s=a=u=null},t}var H={ltr:["marginLeft","marginRight"],rtl:["marginRight","marginLeft"]};function O(t){if(t&&t.parentNode){for(var e=t.parentNode.firstChild,n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}return[]}function T(t){return!!(t&&t instanceof window.HTMLElement)}var x='[data-glide-el="track"]';var A=function(){function e(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};r(this,e),this.listeners=t}return o(e,[{key:"on",value:function(t,e,n){var i=3<arguments.length&&void 0!==arguments[3]&&arguments[3];v(t)&&(t=[t]);for(var r=0;r<t.length;r++)this.listeners[t[r]]=n,e.addEventListener(t[r],this.listeners[t[r]],i)}},{key:"off",value:function(t,e){var n=2<arguments.length&&void 0!==arguments[2]&&arguments[2];v(t)&&(t=[t]);for(var i=0;i<t.length;i++)e.removeEventListener(t[i],this.listeners[t[i]],n)}},{key:"destroy",value:function(){delete this.listeners}}]),e}();var D=["ltr","rtl"],B={">":"<","<":">","=":"="};function W(t,e){return{modify:function(t){return e.Direction.is("rtl")?-t:t}}}function q(i,r,o){var s=[function(t,n){return{modify:function(t){var e=Math.floor(t/n.Sizes.slideWidth);return t+n.Gaps.value*e}}},function(t,e){return{modify:function(t){return t+e.Clones.grow/2}}},function(n,i){return{modify:function(t){var e;return 0<=n.settings.focusAt?p(e=i.Peek.value)?t-e.before:t-e:t}}},function(o,s){return{modify:function(t){var e=s.Gaps.value,n=s.Sizes.width,i=o.settings.focusAt,r=s.Sizes.slideWidth;return"center"===i?t-(n/2-r/2):t-r*i-e*i}}}].concat(i._t,[W]);return{mutate:function(t){for(var e=0;e<s.length;e++){var n=s[e];m(n)&&m(n().modify)?t=n(i,r,o).modify(t):d("Transformer should be a function that returns an object with `modify()` method")}return t}}}var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassive",null,e),window.removeEventListener("testPassive",null,e)}catch(t){}var j=t,R=["touchstart","mousedown"],P=["touchmove","mousemove"],C=["touchend","touchcancel","mouseup","mouseleave"],M=["mousedown","mousemove","mouseup","mouseleave"];var z='[data-glide-el^="controls"]',I="".concat(z,' [data-glide-dir*="<"]'),V="".concat(z,' [data-glide-dir*=">"]');function E(t){return p(t)?(n=t,Object.keys(n).sort().reduce(function(t,e){return t[e]=n[e],t[e],t},{})):(d("Breakpoints option must be an object"),{});var n}var G={Html:function(e,t,n){var i={mount:function(){this.root=e.selector,this.track=this.root.querySelector(x),this.collectSlides()},collectSlides:function(){this.slides=Array.prototype.slice.call(this.wrapper.children).filter(function(t){return!t.classList.contains(e.settings.classes.slide.clone)})}};return b(i,"root",{get:function(){return i._r},set:function(t){T(t=v(t)?document.querySelector(t):t)?i._r=t:d("Root element must be a existing Html node")}}),b(i,"track",{get:function(){return i._t},set:function(t){T(t)?i._t=t:d("Could not find track element. Please use ".concat(x," attribute."))}}),b(i,"wrapper",{get:function(){return i.track.children[0]}}),n.on("update",function(){i.collectSlides()}),i},Translate:function(i,r,e){var n={set:function(t){t=q(i,r).mutate(t),t="translate3d(".concat(-1*t,"px, 0px, 0px)");r.Html.wrapper.style.mozTransform=t,r.Html.wrapper.style.webkitTransform=t,r.Html.wrapper.style.transform=t},remove:function(){r.Html.wrapper.style.transform=""}
vendor: 6,611 bytes, line 1
1,getStartIndex:function(){var t=r.Sizes.length,e=i.index,n=i.settings.perView;return r.Run.isOffset(">")||r.Run.isOffset("|>")?t+(e-n):(e+n)%t},getTravelDistance:function(){var t=r.Sizes.slideWidth*i.settings.perView;return r.Run.isOffset(">")||r.Run.isOffset("|>")?-1*t:t}};return e.on("move",function(t){if(!i.isType("carousel")||!r.Run.isOffset())return n.set(t.movement);r.Transition.after(function(){e.emit("translate.jump"),n.set(r.Sizes.slideWidth*i.index)});t=r.Sizes.slideWidth*r.Translate.getStartIndex();return n.set(t-r.Translate.getTravelDistance())}),e.on("destroy",function(){n.remove()}),n},Transition:function(n,e,t){var i=!1,r={compose:function(t){var e=n.settings;return(i?"".concat(t," 0ms "):"".concat(t," ").concat(this.duration,"ms ")).concat(e.animationTimingFunc)},set:function(){e.Html.wrapper.style.transition=this.compose(0<arguments.length&&void 0!==arguments[0]?arguments[0]:"transform")},remove:function(){e.Html.wrapper.style.transition=""},after:function(t){setTimeout(function(){t()},this.duration)},enable:function(){i=!1,this.set()},disable:function(){i=!0,this.set()}};return b(r,"duration",{get:function(){var t=n.settings;return n.isType("slider")&&e.Run.offset?t.rewindDuration:t.animationDuration}}),t.on("move",function(){r.set()}),t.on(["build.before","resize","translate.jump"],function(){r.disable()}),t.on("run",function(){r.enable()}),t.on("destroy",function(){r.remove()}),r},Direction:function(t,e,n){var i={mount:function(){this.value=t.settings.direction},resolve:function(t){var e=t.slice(0,1);return this.is("rtl")?t.split(e).join(B[e]):t},is:function(t){return this.value===t},addClass:function(){e.Html.root.classList.add(t.settings.classes.direction[this.value])},removeClass:function(){e.Html.root.classList.remove(t.settings.classes.direction[this.value])}};return b(i,"value",{get:function(){return i._v},set:function(t){-1<D.indexOf(t)?i._v=t:d("Direction value must be `ltr` or `rtl`")}}),n.on(["destroy","update"],function(){i.removeClass()}),n.on("update",function(){i.mount()}),n.on(["build.before","update"],function(){i.addClass()}),i},Peek:function(n,t,e){var i={mount:function(){this.value=n.settings.peek}};return b(i,"value",{get:function(){return i._v},set:function(t){p(t)?(t.before=h(t.before),t.after=h(t.after)):t=h(t),i._v=t}}),b(i,"reductor",{get:function(){var t=i.value,e=n.settings.perView;return p(t)?t.before/e+t.after/e:2*t/e}}),e.on(["resize","update"],function(){i.mount()}),i},Sizes:function(t,i,e){var n={setupSlides:function(){for(var t="".concat(this.slideWidth,"px"),e=i.Html.slides,n=0;n<e.length;n++)e[n].style.width=t},setupWrapper:function(){i.Html.wrapper.style.width="".concat(this.wrapperSize,"px")},remove:function(){for(var t=i.Html.slides,e=0;e<t.length;e++)t[e].style.width="";i.Html.wrapper.style.width=""}};return b(n,"length",{get:function(){return i.Html.slides.length}}),b(n,"width",{get:function(){return i.Html.track.offsetWidth}}),b(n,"wrapperSize",{get:function(){return n.slideWidth*n.length+i.Gaps.grow+i.Clones.grow}}),b(n,"slideWidth",{get:function(){return n.width/t.settings.perView-i.Peek.reductor-i.Gaps.reductor}}),e.on(["build.before","resize","update"],function(){n.setupSlides(),n.setupWrapper()}),e.on("destroy",function(){n.remove()}),n},Gaps:function(e,o,t){var n={apply:function(t){for(var e=0,n=t.length;e<n;e++){var i=t[e].style,r=o.Direction.value;i[H[r][0]]=0!==e?"".concat(this.value/2,"px"):"",e!==t.length-1?i[H[r][1]]="".concat(this.value/2,"px"):i[H[r][1]]=""}},remove:function(t){for(var e=0,n=t.length;e<n;e++){var i=t[e].style;i.marginLeft="",i.marginRight=""}}};return b(n,"value",{get:function(){return h(e.settings.gap)}}),b(n,"grow",{get:function(){return n.value*o.Sizes.length}}),b(n,"reductor",{get:function(){var t=e.settings.perView;return n.value*(t-1)/t}}),t.on(["build.after","update"],S(function(){n.apply(o.Html.wrapper.children)},30)),t.on("destroy",function(){n.remove(o.Html.wrapper.children)}),n},Move:function(t,n,e){var i={mount:function(){this._o=0},make:function(){var t=this;this.offset=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0,e.emit("move",{movement:this.value}),n.Transition.after(function(){e.emit("move.after",{movement:t.value})})}};return b(i,"offset",{get:function(){return i._o},set:function(t){i._o=g(t)?0:h(t)}}),b(i,"translate",{get:function(){return n.Sizes.slideWidth*t.index}}),b(i,"value",{get:function(){var t=this.offset,e=this.translate;return n.Direction.is("rtl")?e+t:e-t}}),e.on(["build.before","run"],function(){i.make()}),i},Clones:function(h,v,t){var e={mount:function(){this.items=[],h.isType("carousel")&&(this.items=this.collect())},collect:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],e=v.Html.slides,n=h.settings,i=n.perView,r=n.classes,o=n.cloningRatio;if(0!==e.length)for(var n=i+ +!!h.settings.peek+Math.round(i/2),s=e.slice(0,n).reverse(),a=e.slice(-1*n),u=0;u<Math.max(o,Math.floor(i/e.length));u++){for(var c=0;c<s.length;c++){var l=s[c].cloneNode(!0);l.classList.add(r.slide.clone),t.push(l)}for(var f=0;f<a.length;f++){var d=a[f].cloneNode(!0);d.classList.add(r.slide.clone),t.unshift(d)}}return t},append:function(){for(var t=this.items,e=v.Html,n=e.wrapper,i=e.slides,e=Math.floor(t.length/2),r=t.slice(0,e).reverse(),o=t.slice(-1*e).reverse(),s="".concat(v.Sizes.slideWidth,"px"),a=0;a<o.length;a++)n.appendChild(o[a]);for(var u=0;u<r.length;u++)n.insertBefore(r[u],i[0]);for(var c=0;c<t.length;c++)t[c].style.width=s},remove:function(){for(var t=this.items,e=0;e<t.length;e++)v.Html.wrapper.removeChild(t[e])}};return b(e,"grow",{get:function(){return(v.Sizes.slideWidth+v.Gaps.value)*e.items.length}}),t.on("update",function(){e.remove(),e.mount(),e.append()}),t.on("build.before",function(){h.isType("carousel")&&e.append()}),t.on("destroy",function(){e.remove()}),e},Resize:function(t,e,n){var i=new A,r={mount:function(){this.bind()},bind:function(){i.on("resize",window,S(function(){n.emit("resize")},t.settings.throttle))},unbind:function(){i.off("resize",window)}};return n.on("destroy",function(){r.unbind(),i.destroy()}),r},Build:function(i,r,t){var e={mount:function(){t.emit("build.before"),this.typeClass(),this.activeClass(),t.emit("build.after")},typeClass:function(){r.Html.root.classList.add(i.settings.classes.type[i.settings.type])},activeClass:function(){var e=i.settings.classes,t=r.Html.slides[i.index];t&&(t.classList.add(e.slide.active),O(t).forEach(function(t){t.classList.remove(e.slide.active)}))},removeClasses:function(){var t=i.settings.classes,e=t.type,n=t.slide;r.Html.root.classList.remove(e[i.settings.type]),r.Html.slides.forEac
1h(function(t){t.classList.remove(n.active)})}};return t.on(["destroy","update"],function(){e.removeClasses()}),t.on(["resize","update"],function(){e.mount()}),t.on("move.after",function(){e.activeClass()}),e},Run:function(r,n,i){var o={mount:function(){this._o=!1},make:function(t){var e=this;r.disabled||(r.settings.waitForTransition&&r.disable(),this.move=t,i.emit("run.before",this.move),this.calculate(),i.emit("run",this.move),n.Transition.after(function(){e.isStart()&&i.emit("run.start",e.move),e.isEnd()&&i.emit("run.end",e.move),e.isOffset()&&(e._o=!1,i.emit("run.offset",e.move)),i.emit("run.after",e.move),r.enable()}))},calculate:function(){var t=this.move,e=this.length,n=t.steps,t=t.direction,i=1;if("="===t)return r.settings.bound&&h(n)>e?void(r.index=e):void(r.index=n);if(">"===t&&">"===n)r.index=e;else{if("<"!==t||"<"!==n)return"|"===t&&(i=r.settings.perView||1),">"===t||"|"===t&&">"===n?(e<(e=function(t){var e=r.index;if(r.isType("carousel"))return e+t;return e+(t-e%t)}(i))&&(this._o=!0),void(r.index=function(t,e){var n=o.length;if(t<=n)return t;if(r.isType("carousel"))return t-(n+1);if(r.settings.rewind)return o.isBound()&&!o.isEnd()?n:0;if(o.isBound())return n;return Math.floor(n/e)*e}(e,i))):"<"===t||"|"===t&&"<"===n?((e=function(t){var e=r.index;if(r.isType("carousel"))return e-t;return(Math.ceil(e/t)-1)*t}(i))<0&&(this._o=!0),void(r.index=function(t,e){var n=o.length;if(0<=t)return t;if(r.isType("carousel"))return t+(n+1);if(r.settings.rewind)return o.isBound()&&o.isStart()?n:Math.floor(n/e)*e;return 0}(e,i))):void d("Invalid direction pattern [".concat(t).concat(n,"] has been used"));r.index=0}},isStart:function(){return r.index<=0},isEnd:function(){return r.index>=this.length},isOffset:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:void 0;return t?!!this._o&&("|>"===t?"|"===this.move.direction&&">"===this.move.steps:"|<"===t?"|"===this.move.direction&&"<"===this.move.steps:this.move.direction===t):this._o},isBound:function(){return r.isType("slider")&&"center"!==r.settings.focusAt&&r.settings.bound}};return b(o,"move",{get:function(){return this._m},set:function(t){var e=t.substr(1);this._m={direction:t.substr(0,1),steps:e?h(e)?h(e):e:0}}}),b(o,"length",{get:function(){var t=r.settings,e=n.Html.slides.length;return this.isBound()?e-1-(h(t.perView)-1)+h(t.focusAt):e-1}}),b(o,"offset",{get:function(){return this._o}}),o},Swipe:function(a,u,c){var i=new A,l=0,f=0,d=0,e=!1,r=!!j&&{passive:!0},t={mount:function(){this.bindSwipeStart()},start:function(t){e||a.disabled||(this.disable(),t=this.touches(t),l=null,f=h(t.pageX),d=h(t.pageY),this.bindSwipeMove(),this.bindSwipeEnd(),c.emit("swipe.start"))},move:function(t){if(!a.disabled){var e=a.settings,n=e.touchAngle,i=e.touchRatio,e=e.classes,r=this.touches(t),o=h(r.pageX)-f,r=h(r.pageY)-d,s=Math.abs(o<<2),r=Math.abs(r<<2),s=Math.sqrt(s+r),r=Math.sqrt(r);if(!(180*(l=Math.asin(r/s))/Math.PI<n))return!1;t.stopPropagation(),u.Move.make(o*parseFloat(i)),u.Html.root.classList.add(e.dragging),c.emit("swipe.move")}},end:function(t){var e,n,i,r,o;a.disabled||(e=(i=a.settings).perSwipe,n=i.touchAngle,i=i.classes,r=this.touches(t),t=this.threshold(t),r=r.pageX-f,o=180*l/Math.PI,this.enable(),t<r&&o<n?u.Run.make(u.Direction.resolve("".concat(e,"<"))):r<-t&&o<n?u.Run.make(u.Direction.resolve("".concat(e,">"))):u.Move.make(),u.Html.root.classList.remove(i.dragging),this.unbindSwipeMove(),this.unbindSwipeEnd(),c.emit("swipe.end"))},bindSwipeStart:function(){var e=this,t=a.settings,n=t.swipeThreshold,t=t.dragThreshold;n&&i.on(R[0],u.Html.wrapper,function(t){e.start(t)},r),t&&i.on(R[1],u.Html.wrapper,function(t){e.start(t)},r)},unbindSwipeStart:function(){i.off(R[0],u.Html.wrapper,r),i.off(R[1],u.Html.wrapper,r)},bindSwipeMove:function(){var e=this;i.on(P,u.Html.wrapper,S(function(t){e.move(t)},a.settings.throttle),r)},unbindSwipeMove:function(){i.off(P,u.Html.wrapper,r)},bindSwipeEnd:function(){var e=this;i.on(C,u.Html.wrapper,function(t){e.end(t)})},unbindSwipeEnd:function(){i.off(C,u.Html.wrapper)},touches:function(t){return-1<M.indexOf(t.type)?t:t.touches[0]||t.changedTouches[0]},threshold:function(t){var e=a.settings;return-1<M.indexOf(t.type)?e.dragThreshold:e.swipeThreshold},enable:function(){return e=!1,u.Transition.enable(),this},disable:function(){return e=!0,u.Transition.disable(),this}};return c.on("build.after",function(){u.Html.root.classList.add(a.settings.classes.swipeable)}),c.on("destroy",function(){t.unbindSwipeStart(),t.unbindSwipeMove(),t.unbindSwipeEnd(),i.destroy()}),t},Images:function(t,e,n){var i=new A,r={mount:function(){this.bind()},bind:function(){i.on("dragstart",e.Html.wrapper,this.dragstart)},unbind:function(){i.off("dragstart",e.Html.wrapper)},dragstart:function(t){t.preventDefault()}};return n.on("destroy",function(){r.unbind(),i.destroy()}),r},Anchors:function(t,e,n){var i=new A,r=!1,o=!1,s={mount:function(){this._a=e.Html.wrapper.querySelectorAll("a"),this.bind()},bind:function(){i.on("click",e.Html.wrapper,this.click)},unbind:function(){i.off("click",e.Html.wrapper)},click:function(t){o&&(t.stopPropagation(),t.preventDefault())},detach:function(){if(o=!0,!r){for(var t=0;t<this.items.length;t++)this.items[t].draggable=!1;r=!0}return this},attach:function(){if(o=!1,r){for(var t=0;t<this.items.length;t++)this.items[t].draggable=!0;r=!1}return this}};return b(s,"items",{get:function(){return s._a}}),n.on("swipe.move",function(){s.detach()}),n.on("swipe.end",function(){e.Transition.after(function(){s.attach()})}),n.on("destroy",function(){s.attach(),s.unbind(),i.destroy()}),s},Controls:function(r,n,t){var i=new A,o=!!j&&{passive:!0},s={mount:function(){this._n=n.Html.root.querySelectorAll('[data-glide-el="
1controls[nav]"]'),this._c=n.Html.root.querySelectorAll(z),this._arrowControls={previous:n.Html.root.querySelectorAll(I),next:n.Html.root.querySelectorAll(V)},this.addBindings()},setActive:function(){for(var t=0;t<this._n.length;t++)this.addClass(this._n[t].children)},removeActive:function(){for(var t=0;t<this._n.length;t++)this.removeClass(this._n[t].children)},addClass:function(t){var e=r.settings,t=t[r.index];t&&(t.classList.add(e.classes.nav.active),O(t).forEach(function(t){t.classList.remove(e.classes.nav.active)}))},removeClass:function(t){t=t[r.index];t&&t.classList.remove(r.settings.classes.nav.active)},setArrowState:function(){var t,e;r.settings.rewind||(t=s._arrowControls.next,e=s._arrowControls.previous,this.resetArrowState(t,e),0===r.index&&this.disableArrow(e),r.index===n.Run.length&&this.disableArrow(t))},resetArrowState:function(){for(var e=r.settings,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];n.forEach(function(t){t.forEach(function(t){t.classList.remove(e.classes.arrow.disabled)})})},disableArrow:function(){for(var e=r.settings,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];n.forEach(function(t){t.forEach(function(t){t.classList.add(e.classes.arrow.disabled)})})},addBindings:function(){for(var t=0;t<this._c.length;t++)this.bind(this._c[t].children)},removeBindings:function(){for(var t=0;t<this._c.length;t++)this.unbind(this._c[t].children)},bind:function(t){for(var e=0;e<t.length;e++)i.on("click",t[e],this.click),i.on("touchstart",t[e],this.click,o)},unbind:function(t){for(var e=0;e<t.length;e++)i.off(["click","touchstart"],t[e])},click:function(t){j||"touchstart"!==t.type||t.preventDefault();t=t.currentTarget.getAttribute("data-glide-dir");n.Run.make(n.Direction.resolve(t))}};return b(s,"items",{get:function(){return s._c}}),t.on(["mount.after","move.after"],function(){s.setActive()}),t.on(["mount.after","run"],function(){s.setArrowState()}),t.on("destroy",function(){s.removeBindings(),s.removeActive(),i.destroy()}),s},Keyboard:function(n,i,t){var e=new A,r={mount:function(){n.settings.keyboard&&this.bind()},bind:function(){e.on("keyup",document,this.press)},unbind:function(){e.off("keyup",document)},press:function(t){var e=n.settings.perSwipe;39===t.keyCode&&i.Run.make(i.Direction.resolve("".concat(e,">"))),37===t.keyCode&&i.Run.make(i.Direction.resolve("".concat(e,"<")))}};return t.on(["destroy","update"],function(){r.unbind()}),t.on("update",function(){r.mount()}),t.on("destroy",function(){e.destroy()}),r},Autoplay:function(e,n,i){var r=new A,t={mount:function(){this.enable(),this.start(),e.settings.hoverpause&&this.bind()},enable:function(){this._e=!0},disable:function(){this._e=!1},start:function(){var t=this;this._e&&(this.enable(),e.settings.autoplay&&g(this._i)&&(this._i=setInterval(function(){t.stop(),n.Run.make(">"),t.start(),i.emit("autoplay")},this.time)))},stop:function(){this._i=clearInterval(this._i)},bind:function(){var t=this;r.on("mouseover",n.Html.root,function(){t._e&&t.stop()}),r.on("mouseout",n.Html.root,function(){t._e&&t.start()})},unbind:function(){r.off(["mouseover","mouseout"],n.Html.root)}};return b(t,"time",{get:function(){var t=n.Html.slides[e.index].getAttribute("data-glide-autoplay");return h(t||e.settings.autoplay)}}),i.on(["destroy","update"],function(){t.unbind()}),i.on(["run.before","swipe.start","update"],function(){t.stop()}),i.on(["pause","destroy"],function(){t.disable(),t.stop()}),i.on(["run.after","swipe.end"],function(){t.start()}),i.on(["play"],function(){t.enable(),t.start()}),i.on("update",function(){t.mount()}),i.on("destroy",function(){r.destroy()}),t},Breakpoints:function(t,e,n){var i=new A,r=t.settings,o=E(r.breakpoints),s=Object.assign({},r),a={match:function(t){if(void 0!==window.matchMedia)for(var e in t)if(t.hasOwnProperty(e)&&window.matchMedia("(max-width: ".concat(e,"px)")).matches)return t[e];return s}};return Object.assign(r,a.match(o)),i.on("resize",window,S(function(){t.settings=w(r,a.match(o))},t.settings.throttle)),n.on("update",function(){o=E(o),s=Object.assign({},r)}),n.on("destroy",function(){i.off("resize",window)}),a}};return function(){var t=i,e=L;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e);var n=c(i);function i(){return r(this,i),n.apply(this,arguments)}return o(i,[{key:"mount",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return l(s(i.prototype),"mount",this).call(this,Object.assign({},G,t))}}]),i}()});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.