define("_commonjsHelpers-DA3mUP_w.js",["exports"],function(t){"use strict";t.getDefaultExportFromCjs=function(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}}),define("npm:navigo/lib/navigo.js",["_commonjsHelpers-DA3mUP_w.js"],function(t){"use strict";var e,n={exports:{}};var r,i=(e||(e=1,"undefined"!=typeof self&&self,r=function(){return function(){var t={"./src/Q.ts":function(t,e,n){function r(t,e,n){var r=e||{},i=0;!function e(){t[i]?Array.isArray(t[i])?(t.splice.apply(t,[i,1].concat(t[i][0](r)?t[i][1]:t[i][2])),e()):t[i](r,function(t){void 0===t||!0===t?(i+=1,e()):n&&n(r)}):n&&n(r)}()}n.r(e),n.d(e,{default:function(){return r}}),r.if=function(t,e,n){return Array.isArray(e)||(e=[e]),Array.isArray(n)||(n=[n]),[t,e,n]}},"./src/constants.ts":function(t,e,n){n.r(e),n.d(e,{PARAMETER_REGEXP:function(){return r},REPLACE_VARIABLE_REGEXP:function(){return i},WILDCARD_REGEXP:function(){return o},REPLACE_WILDCARD:function(){return s},NOT_SURE_REGEXP:function(){return a},REPLACE_NOT_SURE:function(){return u},START_BY_SLASH_REGEXP:function(){return c},MATCH_REGEXP_FLAGS:function(){return l}});var r=/([:*])(\w+)/g,i="([^/]+)",o=/\*/g,s="?(?:.*)",a=/\/\?/g,u="/?([^/]+|)",c="(?:/^|^)",l=""},"./src/index.ts":function(t,e,n){n.r(e),n.d(e,{default:function(){return v}});var r=n("./src/utils.ts"),i=n("./src/Q.ts"),o=n("./src/middlewares/setLocationPath.ts"),s=n("./src/middlewares/matchPathToRegisteredRoutes.ts"),a=n("./src/middlewares/checkForDeprecationMethods.ts"),u=n("./src/middlewares/checkForForceOp.ts"),c=n("./src/middlewares/updateBrowserURL.ts"),l=n("./src/middlewares/processMatches.ts"),f=n("./src/middlewares/waitingList.ts"),d=n("./src/lifecycles.ts");function h(){return h=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},h.apply(this,arguments)}var p="[data-navigo]";function v(t,e){var n,v=e||{strategy:"ONE",hash:!1,noMatchWarning:!1,linksSelector:p},m=this,g="/",y=null,w=[],b=!1,_=(0,r.pushStateAvailable)(),k=(0,r.windowAvailable)();function O(t){return t.indexOf("#")>=0&&(t=!0===v.hash?t.split("#")[1]||"/":t.split("#")[0]),t}function S(t){return(0,r.clean)(g+"/"+(0,r.clean)(t))}function E(t,e,n,i){return t=(0,r.isString)(t)?S(t):t,{name:i||(0,r.clean)(String(t)),path:t,handler:e,hooks:(0,r.accumulateHooks)(n)}}function L(t,e){if(!m.__dirty){m.__dirty=!0,t=t?(0,r.clean)(g)+"/"+(0,r.clean)(t):void 0;var n={instance:m,to:t,currentLocationPath:t,navigateOptions:{},resolveOptions:h({},v,e)};return(0,i.default)([o.default,s.default,i.default.if(function(t){var e=t.matches;return e&&e.length>0},l.default,d.notFoundLifeCycle)],n,f.default),!!n.matches&&n.matches}m.__waiting.push(function(){return m.resolve(t,e)})}function A(t,e){if(m.__dirty)m.__waiting.push(function(){return m.navigate(t,e)});else{m.__dirty=!0,t=(0,r.clean)(g)+"/"+(0,r.clean)(t);var n={instance:m,to:t,navigateOptions:e||{},resolveOptions:e&&e.resolveOptions?e.resolveOptions:v,currentLocationPath:O(t)};(0,i.default)([a.default,u.default,s.default,i.default.if(function(t){var e=t.matches;return e&&e.length>0},l.default,d.notFoundLifeCycle),c.default,f.default],n,f.default)}}function R(){if(k)return(k?[].slice.call(document.querySelectorAll(v.linksSelector||p)):[]).forEach(function(t){"false"!==t.getAttribute("data-navigo")&&"_blank"!==t.getAttribute("target")?t.hasListenerAttached||(t.hasListenerAttached=!0,t.navigoHandler=function(e){if((e.ctrlKey||e.metaKey)&&"a"===e.target.tagName.toLowerCase())return!1;var n=t.getAttribute("href");if(null==n)return!1;if(n.match(/^(http|https)/)&&"undefined"!=typeof URL)try{var i=new URL(n);n=i.pathname+i.search}catch(t){}var o=(0,r.parseNavigateOptions)(t.getAttribute("data-navigo-options"));b||(e.preventDefault(),e.stopPropagation(),m.navigate((0,r.clean)(n),o))},t.addEventListener("click",t.navigoHandler)):t.hasListenerAttached&&t.removeEventListener("click",t.navigoHandler)}),m}function P(t,e,n){var r=w.find(function(e){return e.name===t}),i=null;if(r){if(i=r.path,e)for(var o in e)i=i.replace(":"+o,e[o]);i=i.match(/^\//)?i:"/"+i}return i&&n&&!n.includeRoot&&(i=i.replace(new RegExp("^/"+g),"")),i}function H(t){var e=(0,r.extractGETParameters)((0,r.clean)(t)),i=e[0],o=e[1],s=""===o?null:(0,r.parseQuery)(o);return{url:i,queryString:o,hashString:(0,r.extractHashFromURL)(t),route:E(i,function(){},[n],i),data:null,params:s}}function T(t,e,n){return"string"==typeof e&&(e=x(e)),e?(e.hooks[t]||(e.hooks[t]=[]),e.hooks[t].push(n),function(){e.hooks[t]=e.hooks[t].filter(function(t){return t!==n})}):(console.warn("Route doesn't exists: "+e),function(){})}function x(t){return"string"==typeof t?w.find(function(e){return e.name===S(t)}):w.find(function(e){return e.handler===t})}t?g=(0,r.clean)(t):console.warn('Navigo requires a root path in its constructor. If not provided will use "/" as default.'),this.root=g,this.routes=w,this.destroyed=b,this.current=y,this.__freezeListening=!1,this.__waiting=[],this.__dirty=!1,this.__markAsClean=function(t){t.instance.__dirty=!1,t.instance.__waiting.length>0&&t.instance.__waiting.shift()()},this.on=function(t,e,r){var i=this;return"object"!=typeof t||t instanceof RegExp?("function"==typeof t&&(r=e,e=t,t=g),w.push(E(t,e,[n,r])),this):(Object.keys(t).forEach(function(e){if("function"==typeof t[e])i.on(e,t[e]);else{var r=t[e],o=r.uses,s=r.as,a=r.hooks;w.push(E(e,o,[n,a],s))}}),this)},this.off=function(t){return this.routes=w=w.filter(function(e){return(0,r.isString)(t)?(0,r.clean)(e.path)!==(0,r.clean)(t):(0,r.isFunction)(t)?t!==e.handler:String(e.path)!==String(t)}),this},this.resolve=L,this.navigate=A,this.navigateByName=function(t,e,n){var r=P(t,e);return null!==r&&(A(r.replace(new RegExp("^/?"+g),""),n),!0)},this.destroy=function(){this.routes=w=[],_&&window.removeEventListener("popstate",this.__popstateListener),this.destroyed=b=!0},this.notFound=function(t,e){return m._notFoundRoute=E("*",t,[n,e],"__NOT_FOUND__"),this},this.updatePageLinks=R,this.link=function(t){return"/"+g+"/"+(0,r.clean)(t)},this.hooks=function(t){return n=t,this},this.extractGETParameters=function(t){return(0,r.extractGETParameters)(O(t))},this.lastResolved=function(){return y},this.generate=P,this.getLinkPath=function(t){return t.getAttribute("href")},this.match=function(t){var e={instance:m,currentLocationPath:t,to:t,navigateOptions:{},resolveOptions:v};return(0,s.default)(e,function(){}),!!e.matches&&e.matches},this.matchLocation=function(t,e,n){void 0===e||void 0!==n&&!n||(e=S(e));var i={instance:m,to:e,currentLocationPath:e};(0,o.default)(i,function(){}),"string"==typeof t&&(t=void 0===n||n?S(t):t);var s=(0,r.matchRoute)(i,{name:String(t),path:t,handler:function(){},hooks:{}});return s||!1},this.getCurrentLocation=function(){return H((0,r.clean)((0,r.getCurrentEnvURL)(g)).replace(new RegExp("^"+g),""))},this.addBeforeHook=T.bind(this,"before"),this.addAfterHook=T.bind(this,"after"),this.addAlreadyHook=T.bind(this,"already"),this.addLeaveHook=T.bind(this,"leave"),this.getRoute=x,this._pathToMatchObject=H,this._clean=r.clean,this._checkForAHash=O,this._setCurrent=function(t){return y=m.current=t},function(){_&&(this.__popstateListener=function(){m.__freezeListening||L()},window.addEventListener("popstate",this.__popstateListener))}.call(this),R.call(this)}},"./src/lifecycles.ts":function(t,e,n){n.r(e),n.d(e,{foundLifecycle:function(){return h},notFoundLifeCycle:function(){return p}});var r=n("./src/Q.ts"),i=n("./src/middlewares/checkForLeaveHook.ts"),o=n("./src/middlewares/checkForBeforeHook.ts"),s=n("./src/middlewares/callHandler.ts"),a=n("./src/middlewares/checkForAfterHook.ts"),u=n("./src/middlewares/checkForAlreadyHook.ts"),c=n("./src/middlewares/checkForNotFoundHandler.ts"),l=n("./src/middlewares/errorOut.ts"),f=n("./src/middlewares/flushCurrent.ts"),d=n("./src/middlewares/updateState.ts"),h=[u.default,o.default,s.default,a.default],p=[i.default,c.default,r.default.if(function(t){return t.notFoundHandled},h.concat([d.default]),[l.default,f.default])]},"./src/middlewares/callHandler.ts":function(t,e,n){n.r(e),n.d(e,{default:function(){return i}});var r=n("./src/utils.ts");function i(t,e){(0,r.undefinedOrTrue)(t.navigateOptions,"callHandler")&&t.match.route.handler(t.match),t.instance.updatePageLinks(),e()}},"./src/middlewares/checkForAfterHook.ts":function(t,e,n){n.r(e),n.d(e,{default:function(){return i}});var r=n("./src/utils.ts");function i(t,e){t.match.route.hooks&&t.match.route.hooks.after&&(0,r.undefinedOrTrue)(t.navigateOptions,"callHooks")&&t.match.route.hooks.after.forEach(function(e){return e(t.match)}),e()}},"./src/middlewares/checkForAlreadyHook.ts":function(t,e,n){n.r(e),n.d(e,{default:function(){return i}});var r=n("./src/utils.ts");function i(t,e){var n=t.instance.lastResolved();if(n&&n[0]&&n[0].route===t.match.route&&n[0].url===t.match.url&&n[0].queryString===t.match.queryString)return n.forEach(function(e){e.route.hooks&&e.route.hooks.already&&(0,r.undefinedOrTrue)(t.navigateOptions,"callHooks")&&e.route.hooks.already.forEach(function(e){return e(t.match)})}),void e(!1);e()}},"./src/middlewares/checkForBeforeHook.ts":function(t,e,n){n.r(e),n.d(e,{default:function(){return o}});var r=n("./src/Q.ts"),i=n("./src/utils.ts");function o(t,e){t.match.route.hooks&&t.match.route.hooks.before&&(0,i.undefinedOrTrue)(t.navigateOptions,"callHooks")?(0,r.default)(t.match.route.hooks.before.map(function(e){return function(n,r){return e(function(e){!1===e?t.instance.__markAsClean(t):r()},t.match)}}).concat([function(){return e()}])):e()}},"./src/middlewares/checkForDeprecationMethods.ts":function(t,e,n){function r(t,e){t.navigateOptions&&(void 0!==t.navigateOptions.shouldResolve&&console.warn('"shouldResolve" is deprecated. Please check the documentation.'),void 0!==t.navigateOptions.silent&&console.warn('"silent" is deprecated. Please check the documentation.')),e()}n.r(e),n.d(e,{default:function(){return r}})},"./src/middlewares/checkForForceOp.ts":function(t,e,n){function r(t,e){!0===t.navigateOptions.force?(t.instance._setCurrent([t.instance._pathToMatchObject(t.to)]),e(!1)):e()}n.r(e),n.d(e,{default:function(){return r}})},"./src/middlewares/checkForLeaveHook.ts":function(t,e,n){n.r(e),n.d(e,{default:function(){return o}});var r=n("./src/Q.ts"),i=n("./src/utils.ts");function o(t,e){var n=t.instance;n.lastResolved()?(0,r.default)(n.lastResolved().map(function(e){return function(n,o){if(e.route.hooks&&e.route.hooks.leave){var s=!1,a=t.instance.matchLocation(e.route.path,t.currentLocationPath,!1);s="*"!==e.route.path?!a:!(t.matches&&t.matches.find(function(t){return e.route.path===t.route.path})),(0,i.undefinedOrTrue)(t.navigateOptions,"callHooks")&&s?(0,r.default)(e.route.hooks.leave.map(function(e){return function(n,r){return e(function(e){!1===e?t.instance.__markAsClean(t):r()},t.matches&&t.matches.length>0?1===t.matches.length?t.matches[0]:t.matches:void 0)}}).concat([function(){return o()}])):o()}else o()}}),{},function(){return e()}):e()}},"./src/middlewares/checkForNotFoundHandler.ts":function(t,e,n){n.r(e),n.d(e,{default:function(){return i}});var r=n("./src/utils.ts");function i(t,e){var n=t.instance._notFoundRoute;if(n){t.notFoundHandled=!0;var i=(0,r.extractGETParameters)(t.currentLocationPath),o=i[0],s=i[1],a=(0,r.extractHashFromURL)(t.to);n.path=(0,r.clean)(o);var u={url:n.path,queryString:s,hashString:a,data:null,route:n,params:""!==s?(0,r.parseQuery)(s):null};t.matches=[u],t.match=u}e()}},"./src/middlewares/errorOut.ts":function(t,e,n){function r(t,e){t.resolveOptions&&!1!==t.resolveOptions.noMatchWarning&&void 0!==t.resolveOptions.noMatchWarning||console.warn('Navigo: "'+t.currentLocationPath+"\" didn't match any of the registered routes."),e()}n.r(e),n.d(e,{default:function(){return r}})},"./src/middlewares/flushCurrent.ts":function(t,e,n){function r(t,e){t.instance._setCurrent(null),e()}n.r(e),n.d(e,{default:function(){return r}})},"./src/middlewares/matchPathToRegisteredRoutes.ts":function(t,e,n){n.r(e),n.d(e,{default:function(){return i}});var r=n("./src/utils.ts");function i(t,e){for(var n=0;n<t.instance.routes.length;n++){var i=t.instance.routes[n],o=(0,r.matchRoute)(t,i);if(o&&(t.matches||(t.matches=[]),t.matches.push(o),"ONE"===t.resolveOptions.strategy))return void e()}e()}},"./src/middlewares/processMatches.ts":function(t,e,n){n.r(e),n.d(e,{default:function(){return u}});var r=n("./src/Q.ts"),i=n("./src/lifecycles.ts"),o=n("./src/middlewares/updateState.ts"),s=n("./src/middlewares/checkForLeaveHook.ts");function a(){return a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},a.apply(this,arguments)}function u(t,e){var n=0;(0,s.default)(t,function s(){n!==t.matches.length?(0,r.default)(i.foundLifecycle,a({},t,{match:t.matches[n]}),function(){n+=1,s()}):(0,o.default)(t,e)})}},"./src/middlewares/setLocationPath.ts":function(t,e,n){n.r(e),n.d(e,{default:function(){return i}});var r=n("./src/utils.ts");function i(t,e){void 0===t.currentLocationPath&&(t.currentLocationPath=t.to=(0,r.getCurrentEnvURL)(t.instance.root)),t.currentLocationPath=t.instance._checkForAHash(t.currentLocationPath),e()}},"./src/middlewares/updateBrowserURL.ts":function(t,e,n){n.r(e),n.d(e,{default:function(){return s}});var r=n("./src/utils.ts"),i=(0,r.windowAvailable)(),o=(0,r.pushStateAvailable)();function s(t,e){if((0,r.undefinedOrTrue)(t.navigateOptions,"updateBrowserURL")){var n=("/"+t.to).replace(/\/\//g,"/"),s=i&&t.resolveOptions&&!0===t.resolveOptions.hash;o?(history[t.navigateOptions.historyAPIMethod||"pushState"](t.navigateOptions.stateObj||{},t.navigateOptions.title||"",s?"#"+n:n),location&&location.hash&&(t.instance.__freezeListening=!0,setTimeout(function(){if(!s){var e=location.hash;location.hash="",location.hash=e}t.instance.__freezeListening=!1},1))):i&&(window.location.href=t.to)}e()}},"./src/middlewares/updateState.ts":function(t,e,n){n.r(e),n.d(e,{default:function(){return i}});var r=n("./src/utils.ts");function i(t,e){(0,r.undefinedOrTrue)(t.navigateOptions,"updateState")&&t.instance._setCurrent(t.matches),e()}},"./src/middlewares/waitingList.ts":function(t,e,n){function r(t){t.instance.__markAsClean(t)}n.r(e),n.d(e,{default:function(){return r}})},"./src/utils.ts":function(t,e,n){n.r(e),n.d(e,{getCurrentEnvURL:function(){return i},clean:function(){return o},isString:function(){return s},isFunction:function(){return a},extractHashFromURL:function(){return u},regExpResultToParams:function(){return c},extractGETParameters:function(){return l},parseQuery:function(){return f},matchRoute:function(){return d},pushStateAvailable:function(){return h},undefinedOrTrue:function(){return p},parseNavigateOptions:function(){return v},windowAvailable:function(){return m},accumulateHooks:function(){return g}});var r=n("./src/constants.ts");function i(t){return void 0===t&&(t="/"),m()?location.pathname+location.search+location.hash:t}function o(t){return t.replace(/\/+$/,"").replace(/^\/+/,"")}function s(t){return"string"==typeof t}function a(t){return"function"==typeof t}function u(t){return t&&t.indexOf("#")>=0&&t.split("#").pop()||""}function c(t,e){return 0===e.length?null:t?t.slice(1,t.length).reduce(function(t,n,r){return null===t&&(t={}),t[e[r]]=decodeURIComponent(n),t},null):null}function l(t){var e=o(t).split(/\?(.*)?$/);return[o(e[0]),e.slice(1).join("")]}function f(t){for(var e={},n=t.split("&"),r=0;r<n.length;r++){var i=n[r].split("=");if(""!==i[0]){var o=decodeURIComponent(i[0]);e[o]?(Array.isArray(e[o])||(e[o]=[e[o]]),e[o].push(decodeURIComponent(i[1]||""))):e[o]=decodeURIComponent(i[1]||"")}}return e}function d(t,e){var n,i=l(o(t.currentLocationPath)),a=i[0],d=i[1],h=""===d?null:f(d),p=[];if(s(e.path)){if(n=r.START_BY_SLASH_REGEXP+o(e.path).replace(r.PARAMETER_REGEXP,function(t,e,n){return p.push(n),r.REPLACE_VARIABLE_REGEXP}).replace(r.WILDCARD_REGEXP,r.REPLACE_WILDCARD).replace(r.NOT_SURE_REGEXP,r.REPLACE_NOT_SURE)+"$",""===o(e.path)&&""===o(a))return{url:a,queryString:d,hashString:u(t.to),route:e,data:null,params:h}}else n=e.path;var v=new RegExp(n,r.MATCH_REGEXP_FLAGS),m=a.match(v);if(m){var g=s(e.path)?c(m,p):m.groups?m.groups:m.slice(1);return{url:o(a.replace(new RegExp("^"+t.instance.root),"")),queryString:d,hashString:u(t.to),route:e,data:g,params:h}}return!1}function h(){return!("undefined"==typeof window||!window.history||!window.history.pushState)}function p(t,e){return void 0===t[e]||!0===t[e]}function v(t){if(!t)return{};var e,n=t.split(","),r={};return n.forEach(function(t){var n=t.split(":").map(function(t){return t.replace(/(^ +| +$)/g,"")});switch(n[0]){case"historyAPIMethod":r.historyAPIMethod=n[1];break;case"resolveOptionsStrategy":e||(e={}),e.strategy=n[1];break;case"resolveOptionsHash":e||(e={}),e.hash="true"===n[1];break;case"updateBrowserURL":case"callHandler":case"updateState":case"force":r[n[0]]="true"===n[1]}}),e&&(r.resolveOptions=e),r}function m(){return"undefined"!=typeof window}function g(t,e){return void 0===t&&(t=[]),void 0===e&&(e={}),t.filter(function(t){return t}).forEach(function(t){["before","after","already","leave"].forEach(function(n){t[n]&&(e[n]||(e[n]=[]),e[n].push(t[n]))})}),e}}},e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}return n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n("./src/index.ts")}().default},n.exports=r()),n.exports);return t.getDefaultExportFromCjs(i)}),define("npm:@glidejs/glide/dist/glide.js",["_commonjsHelpers-DA3mUP_w.js"],function(t){"use strict";var e,n={exports:{}};var r=(e||(e=1,n.exports=function(){var t={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,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 e(t){console.error("[Glide warn]: "+t)}var 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},r=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},s=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if("value"in i)return i.value;var s=i.get;return void 0!==s?s.call(r):void 0},a=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)},u=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e};function c(t){return parseInt(t)}function l(t){return parseFloat(t)}function f(t){return"string"==typeof t}function d(t){var e=void 0===t?"undefined":n(t);return"function"===e||"object"===e&&!!t}function h(t){return"function"==typeof t}function p(t){return void 0===t}function v(t){return t.constructor===Array}function m(t,n,r){var i={};for(var o in n)h(n[o])?i[o]=n[o](t,i,r):e("Extension must be a function");for(var s in i)h(i[s].mount)&&i[s].mount();return i}function g(t,e,n){Object.defineProperty(t,e,n)}function y(t){return Object.keys(t).sort().reduce(function(e,n){return e[n]=t[n],e[n],e},{})}function w(t,e){var n=o({},t,e);return e.hasOwnProperty("classes")&&(n.classes=o({},t.classes,e.classes),e.classes.hasOwnProperty("direction")&&(n.classes.direction=o({},t.classes.direction,e.classes.direction)),e.classes.hasOwnProperty("type")&&(n.classes.type=o({},t.classes.type,e.classes.type)),e.classes.hasOwnProperty("slide")&&(n.classes.slide=o({},t.classes.slide,e.classes.slide)),e.classes.hasOwnProperty("arrow")&&(n.classes.arrow=o({},t.classes.arrow,e.classes.arrow)),e.classes.hasOwnProperty("nav")&&(n.classes.nav=o({},t.classes.nav,e.classes.nav))),e.hasOwnProperty("breakpoints")&&(n.breakpoints=o({},t.breakpoints,e.breakpoints)),n}var b=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r(this,t),this.events=e,this.hop=e.hasOwnProperty}return i(t,[{key:"on",value:function(t,e){if(v(t))for(var n=0;n<t.length;n++)this.on(t[n],e);this.hop.call(this.events,t)||(this.events[t]=[]);var r=this.events[t].push(e)-1;return{remove:function(){delete this.events[t][r]}}}},{key:"emit",value:function(t,e){if(v(t))for(var n=0;n<t.length;n++)this.emit(t[n],e);this.hop.call(this.events,t)&&this.events[t].forEach(function(t){t(e||{})})}}]),t}(),_=function(){function n(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r(this,n),this._c={},this._t=[],this._e=new b,this.disabled=!1,this.selector=e,this.settings=w(t,i),this.index=this.settings.startAt}return i(n,[{key:"mount",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this._e.emit("mount.before"),d(t)?this._c=m(this,t,this._e):e("You need to provide a object on `mount()`"),this._e.emit("mount.after"),this}},{key:"mutate",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return v(t)?this._t=t:e("You need to provide a array on `mutate()`"),this}},{key:"update",value:function(){var t=arguments.length>0&&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=arguments.length>0&&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){d(t)?this._o=t:e("Options must be an `object` instance.")}},{key:"index",get:function(){return this._i},set:function(t){this._i=c(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(t,n,r){var i={mount:function(){this._o=!1},make:function(e){var i=this;t.disabled||(!t.settings.waitForTransition||t.disable(),this.move=e,r.emit("run.before",this.move),this.calculate(),r.emit("run",this.move),n.Transition.after(function(){i.isStart()&&r.emit("run.start",i.move),i.isEnd()&&r.emit("run.end",i.move),i.isOffset()&&(i._o=!1,r.emit("run.offset",i.move)),r.emit("run.after",i.move),t.enable()}))},calculate:function(){var n=this.move,r=this.length,i=n.steps,c=n.direction,l=1;if("="!==c)if(">"!==c||">"!==i)if("<"!==c||"<"!==i){if("|"===c&&(l=t.settings.perView||1),">"===c||"|"===c&&">"===i){var f=o(l);return f>r&&(this._o=!0),void(t.index=s(f,l))}if("<"===c||"|"===c&&"<"===i){var d=a(l);return d<0&&(this._o=!0),void(t.index=u(d,l))}e("Invalid direction pattern ["+c+i+"] has been used")}else t.index=0;else t.index=r;else t.index=i},isStart:function(){return t.index<=0},isEnd:function(){return t.index>=this.length},isOffset:function(){var t=arguments.length>0&&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 t.isType("slider")&&"center"!==t.settings.focusAt&&t.settings.bound}};function o(e){var n=t.index;return t.isType("carousel")?n+e:n+(e-n%e)}function s(e,n){var r=i.length;return e<=r?e:t.isType("carousel")?e-(r+1):t.settings.rewind?i.isBound()&&!i.isEnd()?r:0:i.isBound()?r:Math.floor(r/n)*n}function a(e){var n=t.index;return t.isType("carousel")?n-e:(Math.ceil(n/e)-1)*e}function u(e,n){var r=i.length;return e>=0?e:t.isType("carousel")?e+(r+1):t.settings.rewind?i.isBound()&&i.isStart()?r:Math.floor(r/n)*n:0}return g(i,"move",{get:function(){return this._m},set:function(t){var e=t.substr(1);this._m={direction:t.substr(0,1),steps:e?c(e)?c(e):e:0}}}),g(i,"length",{get:function(){var e=t.settings,r=n.Html.slides.length;return this.isBound()?r-1-(c(e.perView)-1)+c(e.focusAt):r-1}}),g(i,"offset",{get:function(){return this._o}}),i}function O(){return(new Date).getTime()}function S(t,e,n){var r=void 0,i=void 0,o=void 0,s=void 0,a=0;n||(n={});var u=function(){a=!1===n.leading?0:O(),r=null,s=t.apply(i,o),r||(i=o=null)},c=function(){var c=O();a||!1!==n.leading||(a=c);var l=e-(c-a);return i=this,o=arguments,l<=0||l>e?(r&&(clearTimeout(r),r=null),a=c,s=t.apply(i,o),r||(i=o=null)):r||!1===n.trailing||(r=setTimeout(u,l)),s};return c.cancel=function(){clearTimeout(r),a=0,r=i=o=null},c}var E={ltr:["marginLeft","marginRight"],rtl:["marginRight","marginLeft"]};function L(t,e,n){var r={apply:function(t){for(var n=0,r=t.length;n<r;n++){var i=t[n].style,o=e.Direction.value;i[E[o][0]]=0!==n?this.value/2+"px":"",n!==t.length-1?i[E[o][1]]=this.value/2+"px":i[E[o][1]]=""}},remove:function(t){for(var e=0,n=t.length;e<n;e++){var r=t[e].style;r.marginLeft="",r.marginRight=""}}};return g(r,"value",{get:function(){return c(t.settings.gap)}}),g(r,"grow",{get:function(){return r.value*e.Sizes.length}}),g(r,"reductor",{get:function(){var e=t.settings.perView;return r.value*(e-1)/e}}),n.on(["build.after","update"],S(function(){r.apply(e.Html.wrapper.children)},30)),n.on("destroy",function(){r.remove(e.Html.wrapper.children)}),r}function A(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 R(t){return!!(t&&t instanceof window.HTMLElement)}var P='[data-glide-el="track"]';function H(t,n){var r={mount:function(){this.root=t.selector,this.track=this.root.querySelector(P),this.slides=Array.prototype.slice.call(this.wrapper.children).filter(function(e){return!e.classList.contains(t.settings.classes.slide.clone)})}};return g(r,"root",{get:function(){return r._r},set:function(t){f(t)&&(t=document.querySelector(t)),R(t)?r._r=t:e("Root element must be a existing Html node")}}),g(r,"track",{get:function(){return r._t},set:function(t){R(t)?r._t=t:e("Could not find track element. Please use "+P+" attribute.")}}),g(r,"wrapper",{get:function(){return r.track.children[0]}}),r}function T(t,e,n){var r={mount:function(){this.value=t.settings.peek}};return g(r,"value",{get:function(){return r._v},set:function(t){d(t)?(t.before=c(t.before),t.after=c(t.after)):t=c(t),r._v=t}}),g(r,"reductor",{get:function(){var e=r.value,n=t.settings.perView;return d(e)?e.before/n+e.after/n:2*e/n}}),n.on(["resize","update"],function(){r.mount()}),r}function x(t,e,n){var r={mount:function(){this._o=0},make:function(){var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.offset=r,n.emit("move",{movement:this.value}),e.Transition.after(function(){n.emit("move.after",{movement:t.value})})}};return g(r,"offset",{get:function(){return r._o},set:function(t){r._o=p(t)?0:c(t)}}),g(r,"translate",{get:function(){return e.Sizes.slideWidth*t.index}}),g(r,"value",{get:function(){var t=this.offset,n=this.translate;return e.Direction.is("rtl")?n+t:n-t}}),n.on(["build.before","run"],function(){r.make()}),r}function C(t,e,n){var r={setupSlides:function(){for(var t=this.slideWidth+"px",n=e.Html.slides,r=0;r<n.length;r++)n[r].style.width=t},setupWrapper:function(){e.Html.wrapper.style.width=this.wrapperSize+"px"},remove:function(){for(var t=e.Html.slides,n=0;n<t.length;n++)t[n].style.width="";e.Html.wrapper.style.width=""}};return g(r,"length",{get:function(){return e.Html.slides.length}}),g(r,"width",{get:function(){return e.Html.root.offsetWidth}}),g(r,"wrapperSize",{get:function(){return r.slideWidth*r.length+e.Gaps.grow+e.Clones.grow}}),g(r,"slideWidth",{get:function(){return r.width/t.settings.perView-e.Peek.reductor-e.Gaps.reductor}}),n.on(["build.before","resize","update"],function(){r.setupSlides(),r.setupWrapper()}),n.on("destroy",function(){r.remove()}),r}function j(t,e,n){var r={mount:function(){n.emit("build.before"),this.typeClass(),this.activeClass(),n.emit("build.after")},typeClass:function(){e.Html.root.classList.add(t.settings.classes.type[t.settings.type])},activeClass:function(){var n=t.settings.classes,r=e.Html.slides[t.index];r&&(r.classList.add(n.slide.active),A(r).forEach(function(t){t.classList.remove(n.slide.active)}))},removeClasses:function(){var n=t.settings.classes,r=n.type,i=n.slide;e.Html.root.classList.remove(r[t.settings.type]),e.Html.slides.forEach(function(t){t.classList.remove(i.active)})}};return n.on(["destroy","update"],function(){r.removeClasses()}),n.on(["resize","update"],function(){r.mount()}),n.on("move.after",function(){r.activeClass()}),r}function F(t,e,n){var r={mount:function(){this.items=[],t.isType("carousel")&&(this.items=this.collect())},collect:function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=e.Html.slides,i=t.settings,o=i.perView,s=i.classes,a=o+ +!!t.settings.peek+Math.round(o/2),u=r.slice(0,a).reverse(),c=r.slice(-1*a),l=0;l<Math.max(1,Math.floor(o/r.length));l++){for(var f=0;f<u.length;f++){var d=u[f].cloneNode(!0);d.classList.add(s.slide.clone),n.push(d)}for(var h=0;h<c.length;h++){var p=c[h].cloneNode(!0);p.classList.add(s.slide.clone),n.unshift(p)}}return n},append:function(){for(var t=this.items,n=e.Html,r=n.wrapper,i=n.slides,o=Math.floor(t.length/2),s=t.slice(0,o).reverse(),a=t.slice(-1*o).reverse(),u=e.Sizes.slideWidth+"px",c=0;c<a.length;c++)r.appendChild(a[c]);for(var l=0;l<s.length;l++)r.insertBefore(s[l],i[0]);for(var f=0;f<t.length;f++)t[f].style.width=u},remove:function(){for(var t=this.items,n=0;n<t.length;n++)e.Html.wrapper.removeChild(t[n])}};return g(r,"grow",{get:function(){return(e.Sizes.slideWidth+e.Gaps.value)*r.items.length}}),n.on("update",function(){r.remove(),r.mount(),r.append()}),n.on("build.before",function(){t.isType("carousel")&&r.append()}),n.on("destroy",function(){r.remove()}),r}var M=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r(this,t),this.listeners=e}return i(t,[{key:"on",value:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];f(t)&&(t=[t]);for(var i=0;i<t.length;i++)this.listeners[t[i]]=n,e.addEventListener(t[i],this.listeners[t[i]],r)}},{key:"off",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];f(t)&&(t=[t]);for(var r=0;r<t.length;r++)e.removeEventListener(t[r],this.listeners[t[r]],n)}},{key:"destroy",value:function(){delete this.listeners}}]),t}();function D(t,e,n){var r=new M,i={mount:function(){this.bind()},bind:function(){r.on("resize",window,S(function(){n.emit("resize")},t.settings.throttle))},unbind:function(){r.off("resize",window)}};return n.on("destroy",function(){i.unbind(),r.destroy()}),i}var z=["ltr","rtl"],G={">":"<","<":">","=":"="};function B(t,n,r){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(G[e]):t},is:function(t){return this.value===t},addClass:function(){n.Html.root.classList.add(t.settings.classes.direction[this.value])},removeClass:function(){n.Html.root.classList.remove(t.settings.classes.direction[this.value])}};return g(i,"value",{get:function(){return i._v},set:function(t){z.indexOf(t)>-1?i._v=t:e("Direction value must be `ltr` or `rtl`")}}),r.on(["destroy","update"],function(){i.removeClass()}),r.on("update",function(){i.mount()}),r.on(["build.before","update"],function(){i.addClass()}),i}function U(t,e){return{modify:function(t){return e.Direction.is("rtl")?-t:t}}}function I(t,e){return{modify:function(t){var n=Math.floor(t/e.Sizes.slideWidth);return t+e.Gaps.value*n}}}function W(t,e){return{modify:function(t){return t+e.Clones.grow/2}}}function N(t,e){return{modify:function(n){if(t.settings.focusAt>=0){var r=e.Peek.value;return d(r)?n-r.before:n-r}return n}}}function q(t,e){return{modify:function(n){var r=e.Gaps.value,i=e.Sizes.width,o=t.settings.focusAt,s=e.Sizes.slideWidth;return"center"===o?n-(i/2-s/2):n-s*o-r*o}}}function X(t,n,r){var i=[I,W,N,q].concat(t._t,[U]);return{mutate:function(o){for(var s=0;s<i.length;s++){var a=i[s];h(a)&&h(a().modify)?o=a(t,n,r).modify(o):e("Transformer should be a function that returns an object with `modify()` method")}return o}}}function V(t,e,n){var r={set:function(n){var r=X(t,e).mutate(n);e.Html.wrapper.style.transform="translate3d("+-1*r+"px, 0px, 0px)"},remove:function(){e.Html.wrapper.style.transform=""},getStartIndex:function(){var n=e.Sizes.length,r=t.index,i=t.settings.perView;return e.Run.isOffset(">")||e.Run.isOffset("|>")?n+(r-i):(r+i)%n},getTravelDistance:function(){var n=e.Sizes.slideWidth*t.settings.perView;return e.Run.isOffset(">")||e.Run.isOffset("|>")?-1*n:n}};return n.on("move",function(i){if(!t.isType("carousel")||!e.Run.isOffset())return r.set(i.movement);e.Transition.after(function(){n.emit("translate.jump"),r.set(e.Sizes.slideWidth*t.index)});var o=e.Sizes.slideWidth*e.Translate.getStartIndex();return r.set(o-e.Translate.getTravelDistance())}),n.on("destroy",function(){r.remove()}),r}function Q(t,e,n){var r=!1,i={compose:function(e){var n=t.settings;return r?e+" 0ms "+n.animationTimingFunc:e+" "+this.duration+"ms "+n.animationTimingFunc},set:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";e.Html.wrapper.style.transition=this.compose(t)},remove:function(){e.Html.wrapper.style.transition=""},after:function(t){setTimeout(function(){t()},this.duration)},enable:function(){r=!1,this.set()},disable:function(){r=!0,this.set()}};return g(i,"duration",{get:function(){var n=t.settings;return t.isType("slider")&&e.Run.offset?n.rewindDuration:n.animationDuration}}),n.on("move",function(){i.set()}),n.on(["build.before","resize","translate.jump"],function(){i.disable()}),n.on("run",function(){i.enable()}),n.on("destroy",function(){i.remove()}),i}var Y=!1;try{var $=Object.defineProperty({},"passive",{get:function(){Y=!0}});window.addEventListener("testPassive",null,$),window.removeEventListener("testPassive",null,$)}catch(t){}var K=Y,J=["touchstart","mousedown"],Z=["touchmove","mousemove"],tt=["touchend","touchcancel","mouseup","mouseleave"],et=["mousedown","mousemove","mouseup","mouseleave"];function nt(t,e,n){var r=new M,i=0,o=0,s=0,a=!1,u=!!K&&{passive:!0},f={mount:function(){this.bindSwipeStart()},start:function(e){if(!a&&!t.disabled){this.disable();var r=this.touches(e);i=null,o=c(r.pageX),s=c(r.pageY),this.bindSwipeMove(),this.bindSwipeEnd(),n.emit("swipe.start")}},move:function(r){if(!t.disabled){var a=t.settings,u=a.touchAngle,f=a.touchRatio,d=a.classes,h=this.touches(r),p=c(h.pageX)-o,v=c(h.pageY)-s,m=Math.abs(p<<2),g=Math.abs(v<<2),y=Math.sqrt(m+g),w=Math.sqrt(g);if(!(180*(i=Math.asin(w/y))/Math.PI<u))return!1;r.stopPropagation(),e.Move.make(p*l(f)),e.Html.root.classList.add(d.dragging),r.cancelable&&r.preventDefault(),n.emit("swipe.move")}},end:function(r){if(!t.disabled){var s=t.settings,a=s.perSwipe,u=s.touchAngle,c=s.classes,l=this.touches(r),f=this.threshold(r),d=l.pageX-o,h=180*i/Math.PI;this.enable(),d>f&&h<u?e.Run.make(e.Direction.resolve(a+"<")):d<-f&&h<u?e.Run.make(e.Direction.resolve(a+">")):e.Move.make(),e.Html.root.classList.remove(c.dragging),this.unbindSwipeMove(),this.unbindSwipeEnd(),n.emit("swipe.end")}},bindSwipeStart:function(){var n=this,i=t.settings,o=i.swipeThreshold,s=i.dragThreshold;o&&r.on(J[0],e.Html.wrapper,function(t){n.start(t)},u),s&&r.on(J[1],e.Html.wrapper,function(t){n.start(t)},u)},unbindSwipeStart:function(){r.off(J[0],e.Html.wrapper,u),r.off(J[1],e.Html.wrapper,u)},bindSwipeMove:function(){var n=this;r.on(Z,e.Html.wrapper,S(function(t){n.move(t)},t.settings.throttle))},unbindSwipeMove:function(){r.off(Z,e.Html.wrapper)},bindSwipeEnd:function(){var t=this;r.on(tt,e.Html.wrapper,function(e){t.end(e)})},unbindSwipeEnd:function(){r.off(tt,e.Html.wrapper)},touches:function(t){return et.indexOf(t.type)>-1?t:t.touches[0]||t.changedTouches[0]},threshold:function(e){var n=t.settings;return et.indexOf(e.type)>-1?n.dragThreshold:n.swipeThreshold},enable:function(){return a=!1,e.Transition.enable(),this},disable:function(){return a=!0,e.Transition.disable(),this}};return n.on("build.after",function(){e.Html.root.classList.add(t.settings.classes.swipeable)}),n.on("destroy",function(){f.unbindSwipeStart(),f.unbindSwipeMove(),f.unbindSwipeEnd(),r.destroy()}),f}function rt(t,e,n){var r=new M,i={mount:function(){this.bind()},bind:function(){r.on("dragstart",e.Html.wrapper,this.dragstart)},unbind:function(){r.off("dragstart",e.Html.wrapper)},dragstart:function(t){t.preventDefault()}};return n.on("destroy",function(){i.unbind(),r.destroy()}),i}function it(t,e,n){var r=new M,i=!1,o=!1,s={mount:function(){this._a=e.Html.wrapper.querySelectorAll("a"),this.bind()},bind:function(){r.on("click",e.Html.wrapper,this.click)},unbind:function(){r.off("click",e.Html.wrapper)},click:function(t){o&&(t.stopPropagation(),t.preventDefault())},detach:function(){if(o=!0,!i){for(var t=0;t<this.items.length;t++)this.items[t].draggable=!1,this.items[t].setAttribute("data-href",this.items[t].getAttribute("href")),this.items[t].removeAttribute("href");i=!0}return this},attach:function(){if(o=!1,i){for(var t=0;t<this.items.length;t++)this.items[t].draggable=!0,this.items[t].setAttribute("href",this.items[t].getAttribute("data-href"));i=!1}return this}};return g(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(),r.destroy()}),s}var ot='[data-glide-el="controls[nav]"]',st='[data-glide-el^="controls"]';function at(t,e,n){var r=new M,i=!!K&&{passive:!0},o={mount:function(){this._n=e.Html.root.querySelectorAll(ot),this._c=e.Html.root.querySelectorAll(st),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(e){var n=t.settings,r=e[t.index];r&&(r.classList.add(n.classes.nav.active),A(r).forEach(function(t){t.classList.remove(n.classes.nav.active)}))},removeClass:function(e){var n=e[t.index];n&&n.classList.remove(t.settings.classes.nav.active)},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++)r.on("click",t[e],this.click),r.on("touchstart",t[e],this.click,i)},unbind:function(t){for(var e=0;e<t.length;e++)r.off(["click","touchstart"],t[e])},click:function(t){t.preventDefault(),e.Run.make(e.Direction.resolve(t.currentTarget.getAttribute("data-glide-dir")))}};return g(o,"items",{get:function(){return o._c}}),n.on(["mount.after","move.after"],function(){o.setActive()}),n.on("destroy",function(){o.removeBindings(),o.removeActive(),r.destroy()}),o}function ut(t,e,n){var r=new M,i={mount:function(){t.settings.keyboard&&this.bind()},bind:function(){r.on("keyup",document,this.press)},unbind:function(){r.off("keyup",document)},press:function(t){39===t.keyCode&&e.Run.make(e.Direction.resolve(">")),37===t.keyCode&&e.Run.make(e.Direction.resolve("<"))}};return n.on(["destroy","update"],function(){i.unbind()}),n.on("update",function(){i.mount()}),n.on("destroy",function(){r.destroy()}),i}function ct(t,e,n){var r=new M,i={mount:function(){this.start(),t.settings.hoverpause&&this.bind()},start:function(){var n=this;t.settings.autoplay&&p(this._i)&&(this._i=setInterval(function(){n.stop(),e.Run.make(">"),n.start()},this.time))},stop:function(){this._i=clearInterval(this._i)},bind:function(){var t=this;r.on("mouseover",e.Html.root,function(){t.stop()}),r.on("mouseout",e.Html.root,function(){t.start()})},unbind:function(){r.off(["mouseover","mouseout"],e.Html.root)}};return g(i,"time",{get:function(){var n=e.Html.slides[t.index].getAttribute("data-glide-autoplay");return c(n||t.settings.autoplay)}}),n.on(["destroy","update"],function(){i.unbind()}),n.on(["run.before","pause","destroy","swipe.start","update"],function(){i.stop()}),n.on(["run.after","play","swipe.end"],function(){i.start()}),n.on("update",function(){i.mount()}),n.on("destroy",function(){r.destroy()}),i}function lt(t){return d(t)?y(t):(e("Breakpoints option must be an object"),{})}function ft(t,e,n){var r=new M,i=t.settings,s=lt(i.breakpoints),a=o({},i),u={match:function(t){if(void 0!==window.matchMedia)for(var e in t)if(t.hasOwnProperty(e)&&window.matchMedia("(max-width: "+e+"px)").matches)return t[e];return a}};return o(i,u.match(s)),r.on("resize",window,S(function(){t.settings=w(i,u.match(s))},t.settings.throttle)),n.on("update",function(){s=lt(s),a=o({},i)}),n.on("destroy",function(){r.off("resize",window)}),u}var dt={Html:H,Translate:V,Transition:Q,Direction:B,Peek:T,Sizes:C,Gaps:L,Move:x,Clones:F,Resize:D,Build:j,Run:k,Swipe:nt,Images:rt,Anchors:it,Controls:at,Keyboard:ut,Autoplay:ct,Breakpoints:ft},ht=function(t){function e(){return r(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),i(e,[{key:"mount",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return s(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"mount",this).call(this,o({},dt,t))}}]),e}(_);return ht}()),n.exports);return t.getDefaultExportFromCjs(r)});