/gi,b=/^(?:body|html)$/i,_=/([A-Z])/g,w=["val","css","html","text","data","width","height","offset"],t=d.createElement("table"),j=d.createElement("tr"),x={tr:d.createElement("tbody"),tbody:t,thead:t,tfoot:t,td:j,th:j,"*":d.createElement("div")},E=/complete|loaded|interactive/,k=/^[\w-]*$/,C={},T=C.toString,S={},O=d.createElement("div"),L={tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},I=Array.isArray||function(t){return t instanceof Array};function A(t){return null==t?String(t):C[T.call(t)]||"object"}function P(t){return"function"==A(t)}function N(t){return null!=t&&t==t.window}function R(t){return null!=t&&t.nodeType==t.DOCUMENT_NODE}function M(t){return"object"==A(t)}function $(t){return M(t)&&!N(t)&&Object.getPrototypeOf(t)==Object.prototype}function H(t){var e=!!t&&"length"in t&&t.length,n=l.type(t);return"function"!=n&&!N(t)&&("array"==n||0===e||"number"==typeof e&&0$2>")),e===u&&(e=v.test(t)&&RegExp.$1),e in x||(e="*"),(o=x[e]).innerHTML=""+t,i=l.each(h.call(o.childNodes),function(){o.removeChild(this)})),$(n)&&(r=l(i),l.each(n,function(t,e){-1)<[^<]*)*<\/script>/gi,Ih=/^(?:text|application)\/javascript/i,Jh=/^(?:text|application)\/xml/i,Kh="application/json",Lh="text/html",Mh=/^\s*$/,Nh=Eh.createElement("a");function Ph(t,e,n,i){if(t.global)return r=e||Eh,o=n,s=i,a=Ch.Event(o),Ch(r).trigger(a,s),!a.isDefaultPrevented();var r,o,s,a}function Sh(t,e){var n=e.context;if(!1===e.beforeSend.call(n,t,e)||!1===Ph(e,n,"ajaxBeforeSend",[t,e]))return!1;Ph(e,n,"ajaxSend",[t,e])}function Th(t,e,n,i){var r=n.context,o="success";n.success.call(r,t,o,e),i&&i.resolveWith(r,[t,o,e]),Ph(n,r,"ajaxSuccess",[e,n,t]),Vh(o,e,n)}function Uh(t,e,n,i,r){var o=i.context;i.error.call(o,n,e,t),r&&r.rejectWith(o,[n,e,t]),Ph(i,o,"ajaxError",[n,i,t||e]),Vh(e,n,i)}function Vh(t,e,n){var i,r=n.context;n.complete.call(r,e,t),Ph(n,r,"ajaxComplete",[e,n]),(i=n).global&&!--Ch.active&&Ph(i,null,"ajaxStop")}function Xh(){}function Zh(t,e){return""==e?t:(t+"&"+e).replace(/[&?]{1,2}/,"?")}function _h(t,e,n,i){return Ch.isFunction(e)&&(i=n,n=e,e=void 0),Ch.isFunction(n)||(i=n,n=void 0),{url:t,data:e,success:n,dataType:i}}Nh.href=c.location.href,Ch.active=0,Ch.ajaxJSONP=function(n,i){if(!("type"in n))return Ch.ajax(n);var r,o,t=n.jsonpCallback,s=(Ch.isFunction(t)?t():t)||"Zepto"+Dh++,a=Eh.createElement("script"),u=c[s],e=function(t){Ch(a).triggerHandler("error",t||"abort")},l={abort:e};return i&&i.promise(l),Ch(a).on("load error",function(t,e){clearTimeout(o),Ch(a).off().remove(),"error"!=t.type&&r?Th(r[0],l,n,i):Uh(null,e||"error",l,n,i),c[s]=u,r&&Ch.isFunction(u)&&u(r[0]),u=r=void 0}),!1===Sh(l,n)?e("abort"):(c[s]=function(){r=arguments},a.src=n.url.replace(/\?(.+)=\?/,"?$1="+s),Eh.head.appendChild(a),0").html(t.replace(Hh,"")).find(i):t),a&&a.apply(r,arguments)},Ch.ajax(s),this};var ai=encodeURIComponent;Ch.param=function(t,e){var n=[];return n.add=function(t,e){Ch.isFunction(e)&&(e=e()),null==e&&(e=""),this.push(ai(t)+"="+ai(e))},function n(i,t,r,o){var s,a=Ch.isArray(t),u=Ch.isPlainObject(t);Ch.each(t,function(t,e){s=Ch.type(e),o&&(t=r?o:o+"["+(u||"object"==s||"array"==s?t:"")+"]"),!o&&a?i.add(e.name,e.value):"array"==s||!r&&"object"==s?n(i,e,r,t):i.add(t,e)})}(n,t,e),n.join("&").replace(/%20/g,"+")}}(d),(Vj=d).fn.serializeArray=function(){var n,i,e=[],r=function(t){if(t.forEach)return t.forEach(r);e.push({name:n,value:t})};return this[0]&&Vj.each(this[0].elements,function(t,e){i=e.type,(n=e.name)&&"fieldset"!=e.nodeName.toLowerCase()&&!e.disabled&&"submit"!=i&&"reset"!=i&&"button"!=i&&"file"!=i&&("radio"!=i&&"checkbox"!=i||e.checked)&&r(Vj(e).val())}),e},Vj.fn.serialize=function(){var e=[];return this.serializeArray().forEach(function(t){e.push(encodeURIComponent(t.name)+"="+encodeURIComponent(t.value))}),e.join("&")},Vj.fn.submit=function(t){if(0 in arguments)this.bind("submit",t);else if(this.length){var e=Vj.Event("submit");this.eq(0).trigger(e),e.isDefaultPrevented()||this.get(0).submit()}return this},function(){try{getComputedStyle(void 0)}catch(t){var n=getComputedStyle;c.getComputedStyle=function(t,e){try{return n(t,e)}catch(t){return null}}}}(),d}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Glide=e()}(this,function(){"use strict";var i={type:"slider",startAt:0,perView:1,focusAt:0,gap:10,autoplay:!1,hoverpause:!0,keyboard:!0,bound:!1,swipeThreshold:80,dragThreshold:120,perTouch:!1,touchRatio:.5,touchAngle:45,animationDuration:400,rewind:!0,rewindDuration:800,animationTimingFunc:"cubic-bezier(.165, .840, .440, 1)",throttle:10,direction:"ltr",peek:0,breakpoints:{},classes:{direction:{ltr:"glide--ltr",rtl:"glide--rtl"},slider:"glide--slider",carousel:"glide--carousel",swipeable:"glide--swipeable",dragging:"glide--dragging",cloneSlide:"glide__slide--clone",activeNav:"glide__bullet--active",activeSlide:"glide__slide--active",disabledArrow:"glide__arrow--disabled"}},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")},o=function(){function i(t,e){for(var n=0;n":"<","<":">","=":"="};function k(t,e){return{modify:function(t){return e.Direction.is("rtl")?-t: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(k){}var C=t,T=["touchstart","mousedown"],S=["touchmove","mousemove"],O=["touchend","touchcancel","mouseup","mouseleave"],L=["mousedown","mousemove","mouseup","mouseleave"];function I(t){return c(t)?(n=t,Object.keys(n).sort().reduce(function(t,e){return t[e]=n[e],t[e],t},{})):{};var n}var A={Html:function(e,t){var n={mount:function(){this.root=e.selector,this.track=this.root.querySelector('[data-glide-el="track"]'),this.slides=Array.prototype.slice.call(this.wrapper.children).filter(function(t){return!t.classList.contains(e.settings.classes.cloneSlide)})}};return h(n,"root",{get:function(){return n._r},set:function(t){s(t)&&(t=document.querySelector(t)),w(t)&&(n._r=t)}}),h(n,"track",{get:function(){return n._t},set:function(t){w(t)&&(n._t=t)}}),h(n,"wrapper",{get:function(){return n.track.children[0]}}),n},Translate:function(a,u,r){var o={set:function(t){var i,r,o,s,e=(i=a,r=u,s=[function(e,n){return{modify:function(t){return t+n.Gaps.value*e.index}}},function(t,e){return{modify:function(t){return t+e.Clones.grow/2}}},function(n,i){return{modify:function(t){if(0<=n.settings.focusAt){var e=i.Peek.value;return c(e)?t-e.before:t-e}return 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,[k]),{mutate:function(t){for(var e=0;e")?(u.Transition.after(function(){r.emit("translate.jump"),o.set(0)}),o.set(i*n+e*n)):o.set(t.movement)}),r.on("destroy",function(){o.remove()}),o},Transition:function(n,e,t){var i=!1,r={compose:function(t){var e=n.settings;return i?t+" 0ms "+e.animationTimingFunc:t+" "+this.duration+"ms "+e.animationTimingFunc},set:function(){var t=0"))&&(e._o=!1,i.emit("run.offset",e.move)),i.emit("run.after",e.move),o.enable()}))},calculate:function(){var t=this.move,e=this.length,n=t.steps,i=t.direction,r="number"==typeof y(n)&&0!==y(n);switch(i){case">":">"===n?o.index=e:this.isEnd()?o.isType("slider")&&!o.settings.rewind||(this._o=!0,o.index=0):r?o.index+=Math.min(e-o.index,-y(n)):o.index++;break;case"<":"<"===n?o.index=0:this.isStart()?o.isType("slider")&&!o.settings.rewind||(this._o=!0,o.index=e):r?o.index-=Math.min(o.index,y(n)):o.index--;break;case"=":o.index=n}},isStart:function(){return 0===o.index},isEnd:function(){return o.index===this.length},isOffset:function(t){return this._o&&this.move.direction===t}};return h(t,"move",{get:function(){return this._m},set:function(t){var e=t.substr(1);this._m={direction:t.substr(0,1),steps:e?y(e)?y(e):e:0}}}),h(t,"length",{get:function(){var t=o.settings,e=n.Html.slides.length;return o.isType("slider")&&"center"!==t.focusAt&&t.bound?e-1-(y(t.perView)-1)+y(t.focusAt):e-1}}),h(t,"offset",{get:function(){return this._o}}),t},Swipe:function(h,d,p){var n=new j,m=0,v=0,g=0,i=!1,r=!!C&&{passive:!0},t={mount:function(){this.bindSwipeStart()},start:function(t){if(!i&&!h.disabled){this.disable();var e=this.touches(t);m=null,v=y(e.pageX),g=y(e.pageY),this.bindSwipeMove(),this.bindSwipeEnd(),p.emit("swipe.start")}},move:function(t){if(!h.disabled){var e=h.settings,n=e.touchAngle,i=e.touchRatio,r=e.classes,o=this.touches(t),s=y(o.pageX)-v,a=y(o.pageY)-g,u=Math.abs(s<<2),c=Math.abs(a<<2),l=Math.sqrt(u+c),f=Math.sqrt(c);if(!(180*(m=Math.asin(f/l))/Math.PI"+s))):d.Move.make(),d.Html.root.classList.remove(e.classes.dragging),this.unbindSwipeMove(),this.unbindSwipeEnd(),p.emit("swipe.end")}},bindSwipeStart:function(){var e=this,t=h.settings;t.swipeThreshold&&n.on(T[0],d.Html.wrapper,function(t){e.start(t)},r),t.dragThreshold&&n.on(T[1],d.Html.wrapper,function(t){e.start(t)},r)},unbindSwipeStart:function(){n.off(T[0],d.Html.wrapper,r),n.off(T[1],d.Html.wrapper,r)},bindSwipeMove:function(){var e=this;n.on(S,d.Html.wrapper,b(function(t){e.move(t)},h.settings.throttle),r)},unbindSwipeMove:function(){n.off(S,d.Html.wrapper,r)},bindSwipeEnd:function(){var e=this;n.on(O,d.Html.wrapper,function(t){e.end(t)})},unbindSwipeEnd:function(){n.off(O,d.Html.wrapper)},touches:function(t){return-1")),37===t.keyCode&&e.Run.make(e.Direction.resolve("<"))}};return n.on(["destroy","update"],function(){r.unbind()}),n.on("update",function(){r.mount()}),n.on("destroy",function(){i.destroy()}),r},Autoplay:function(e,n,t){var i=new j,r={mount:function(){this.start(),e.settings.hoverpause&&this.bind()},start:function(){var t=this;e.settings.autoplay&&a(this._i)&&(this._i=setInterval(function(){t.stop(),n.Run.make(">"),t.start()},this.time))},stop:function(){this._i=clearInterval(this._i)},bind:function(){var t=this;i.on("mouseover",n.Html.root,function(){t.stop()}),i.on("mouseout",n.Html.root,function(){t.start()})},unbind:function(){i.off(["mouseover","mouseout"],n.Html.root)}};return h(r,"time",{get:function(){return y(n.Html.slides[e.index].getAttribute("data-glide-autoplay")||e.settings.autoplay)}}),t.on(["destroy","update"],function(){r.unbind()}),t.on(["run.before","pause","destroy","swipe.start","update"],function(){r.stop()}),t.on(["run.after","play","swipe.end"],function(){r.start()}),t.on("update",function(){r.mount()}),t.on("destroy",function(){i.destroy()}),r},Breakpoints:function(t,e,n){var i=new j,r=t.settings,o=I(r.breakpoints),s=u({},r),a={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 s}};return u(r,a.match(o)),i.on("resize",window,b(function(){t.settings=d(r,a.match(o))},t.settings.throttle)),n.on("update",function(){o=I(o),s=u({},r)}),n.on("destroy",function(){i.off("resize",window)}),a}};return function(t){function e(){return r(this,e),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}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return 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)}(e,m),o(e,[{key:"mount",value:function(){var t=0