1import{c as pt,g as vt,_ as gt,d as mt}from"./app-co0WSqPV.js";var dt={exports:{}},A={exports:{}},L={exports:{}},J;function X(){return J||(J=1,function(m){(function(h,l){m.exports?m.exports=l():h.EvEmitter=l()})(typeof window<"u"?window:pt,function(){function h(){}var l=h.prototype;return l.on=function(d,a){if(!(!d||!a)){var n=this._events=this._events||{},s=n[d]=n[d]||[];return s.indexOf(a)==-1&&s.push(a),this}},l.once=function(d,a){if(!(!d||!a)){this.on(d,a);var n=this._onceEvents=this._onceEvents||{},s=n[d]=n[d]||{};return s[a]=!0,this}},l.off=function(d,a){var n=this._events&&this._events[d];if(!(!n||!n.length)){var s=n.indexOf(a);return s!=-1&&n.splice(s,1),this}},l.emitEvent=function(d,a){var n=this._events&&this._events[d];if(!(!n||!n.length)){n=n.slice(0),a=a||[];for(var s=this._onceEvents&&this._onceEvents[d],o=0;o<n.length;o++){var t=n[o],e=s&&s[t];e&&(this.off(d,t),delete s[t]),t.apply(this,a)}return this}},l.allOff=function(){delete this._events,delete this._onceEvents},h})}(L)),L.exports}var k={exports:{}};/*! 2 * getSize v2.0.3 3 * measure size of elements 4 * MIT license 5 */var $;function ft(){return $||($=1,function(m){(function(h,l){m.exports?m.exports=l():h.getSize=l()})(window,function(){function l(f){var S=parseFloat(f),p=f.indexOf("%")==-1&&!isNaN(S);return p&&S}function d(){}var a=typeof console>"u"?d:function(f){console.error(f)},n=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],s=n.length;function o(){for(var f={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},S=0;S<s;S++){var p=n[S];f[p]=0}return f}function t(f){var S=getComputedStyle(f);return S||a("Style returned "+S+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),S}var e=!1,r;function c(){if(!e){e=!0;var f=document.createElement("div");f.style.width="200px",f.style.padding="1px 2px 3px 4px",f.style.borderStyle="solid",f.style.borderWidth="1px 2px 3px 4px",f.style.boxSizing="border-box";var S=document.body||document.documentElement;S.appendChild(f);var p=t(f);r=Math.round(l(p.width))==200,g.isBoxSizeOuter=r,S.removeChild(f)}}function g(f){if(c(),typeof f=="string"&&(f=document.querySelector(f)),!(!f||typeof f!="object"||!f.nodeType)){var S=t(f);if(S.display=="none")return o();var p={};p.width=f.offsetWidth,p.height=f.offsetHeight;for(var v=p.isBorderBox=S.boxSizing=="border-box",D=0;D<s;D++){var i=n[D],u=S[i],y=parseFloat(u);p[i]=isNaN(y)?0:y}var x=p.paddingLeft+p.paddingRight,E=p.paddingTop+p.paddingBottom,b=p.marginLeft+p.marginRight,C=p.marginTop+p.marginBottom,P=p.borderLeftWidth+p.borderRightWidth,V=p.borderTopWidth+p.borderBottomWidth,Y=v&&r,j=l(S.width);j!==!1&&(p.width=j+(Y?0:x+P));var Q=l(S.height);return Q!==!1&&(p.height=Q+(Y?0:E+V)),p.innerWidth=p.width-(x+P),p.innerHeight=p.height-(E+V),p.outerWidth=p.width+b,p.outerHeight=p.height+C,p}}return g})}(k)),k.exports}var I={exports:{}},M={exports:{}},Z;function yt(){return Z||(Z=1,function(m){(function(h,l){m.exports?m.exports=l():h.matchesSelector=l()})(window,function(){var l=function(){var d=window.Element.prototype;if(d.matches)return"matches";if(d.matchesSelector)return"matchesSelector";for(var a=["webkit","moz","ms","o"],n=0;n<a.length;n++){var s=a[n],o=s+"MatchesSelector";if(d[o])return o}}();return function(a,n){return a[l](n)}})}(M)),M.exports}var K;function _(){return K||(K=1,function(m){(function(h,l){m.exports?m.exports=l(h,yt()):h.fizzyUIUtils=l(h,h.matchesSelector)})(window,function(l,d){var a={};a.extend=function(o,t){for(var e in t)o[e]=t[e];return o},a.modulo=function(o,t){return(o%t+t)%t};var n=Array.prototype.slice;a.makeArray=function(o){if(Array.isArray(o))return o;if(o==null)return[];var t=typeof o=="object"&&typeof o.length=="number";return t?n.call(o):[o]},a.removeFrom=function(o,t){var e=o.indexOf(t);e!=-1&&o.splice(e,1)},a.getParent=function(o,t){for(;o.parentNode&&o!=document.body;)if(o=o.parentNode,d(o,t))return o}
5,a.getQueryElement=function(o){return typeof o=="string"?document.querySelector(o):o},a.handleEvent=function(o){var t="on"+o.type;this[t]&&this[t](o)},a.filterFindElements=function(o,t){o=a.makeArray(o);var e=[];return o.forEach(function(r){if(r instanceof HTMLElement){if(!t){e.push(r);return}d(r,t)&&e.push(r);for(var c=r.querySelectorAll(t),g=0;g<c.length;g++)e.push(c[g])}}),e},a.debounceMethod=function(o,t,e){e=e||100;var r=o.prototype[t],c=t+"Timeout";o.prototype[t]=function(){var g=this[c];clearTimeout(g);var f=arguments,S=this;this[c]=setTimeout(function(){r.apply(S,f),delete S[c]},e)}},a.docReady=function(o){var t=document.readyState;t=="complete"||t=="interactive"?setTimeout(o):document.addEventListener("DOMContentLoaded",o)},a.toDashed=function(o){return o.replace(/(.)([A-Z])/g,function(t,e,r){return e+"-"+r}).toLowerCase()};var s=l.console;return a.htmlInit=function(o,t){a.docReady(function(){var e=a.toDashed(t),r="data-"+e,c=document.querySelectorAll("["+r+"]"),g=document.querySelectorAll(".js-"+e),f=a.makeArray(c).concat(a.makeArray(g)),S=r+"-options",p=l.jQuery;f.forEach(function(v){var D=v.getAttribute(r)||v.getAttribute(S),i;try{i=D&&JSON.parse(D)}catch(y){s&&s.error("Error parsing "+r+" on "+v.className+": "+y);return}var u=new o(v,i);p&&p.data(v,t,u)})})},a})}(I)),I.exports}var T={exports:{}},tt;function St(){return tt||(tt=1,function(m){(function(h,l){m.exports?m.exports=l(h,ft()):(h.Flickity=h.Flickity||{},h.Flickity.Cell=l(h,h.getSize))})(window,function(l,d){function a(s,o){this.element=s,this.parent=o,this.create()}var n=a.prototype;return n.create=function(){this.element.style.position="absolute",this.element.setAttribute("aria-hidden","true"),this.x=0,this.shift=0,this.element.style[this.parent.originSide]=0},n.destroy=function(){this.unselect(),this.element.style.position="";var s=this.parent.originSide;this.element.style[s]="",this.element.style.transform="",this.element.removeAttribute("aria-hidden")},n.getSize=function(){this.size=d(this.element)},n.setPosition=function(s){this.x=s,this.updateTarget(),this.renderPosition(s)},n.updateTarget=n.setDefaultTarget=function(){var s=this.parent.originSide=="left"?"marginLeft":"marginRight";this.target=this.x+this.size[s]+this.size.width*this.parent.cellAlign},n.renderPosition=function(s){var o=this.parent.originSide==="left"?1:-1,t=this.parent.options.percentPosition?s*o*(this.parent.size.innerWidth/this.size.width):s*o;this.element.style.transform="translateX("+this.parent.getPositionValue(t)+")"},n.select=function(){this.element.classList.add("is-selected"),this.element.removeAttribute("aria-hidden")},n.unselect=function(){this.element.classList.remove("is-selected"),this.element.setAttribute("aria-hidden","true")},n.wrapShift=function(s){this.shift=s,this.renderPosition(this.x+this.parent.slideableWidth*s)},n.remove=function(){this.element.parentNode.removeChild(this.element)},a})}(T)),T.exports}var W={exports:{}},et;function xt(){return et||(et=1,function(m){(function(h,l){m.exports?m.exports=l():(h.Flickity=h.Flickity||{},h.Flickity.Slide=l())})(window,function(){function l(a){this.parent=a,this.isOriginLeft=a.originSide=="left",this.cells=[],this.outerWidth=0,this.height=0}var d=l.prototype;return d.addCell=function(a){if(this.cells.push(a),this.outerWidth+=a.size.outerWidth,this.height=Math.max(a.size.outerHeight,this.height),this.cells.length==1){this.x=a.x;var n=this.isOriginLeft?"marginLeft":"marginRight";this.firstMargin=a.size[n]}},d.updateTarget=function(){var a=this.isOriginLeft?"marginRight":"marginLeft",n=this.getLastCell(),s=n?n.size[a]:0,o=this.outerWidth-(this.firstMargin+s);this.target=this.x+this.firstMargin+o*this.parent.cellAlign},d.getLastCell=function(){return this.cells[this.cells.length-1]},d.select=function(){this.cells.forEach(function(a){a.select()})},d.unselect=function(){this.cells.forEach(function(a){a.unselect()})},d.getCellElements=function(){return this.cells.map(function(a){return a.element})},l})}(W)),W.exports}var w={exports:{}},it;function Et(){return it||(it=1,function(m){(function(h,l){m.exports?m.exports=l(h,_()):(h.Flickity=h.Flickity||{},h.Flickity.animatePrototype=l(h,h.fizzyUIUtils))})(window,function(l,d){var a={};return a.startAnimation=function(){this.isAnimating||(this.isAnimating=!0,this.restingFrames=0,this.animate())},a.animate=function(){this.applyDragForce(),this.applySelectedAttraction();var n=this.x;if(this.integratePhysics(),this.positionSlider(),this.settle(n),this.isAnimating){var s=this;requestAnimationFrame(function(){s.animate()})}},a.positionSlider=function(){var n=this.x;this.options.wrapAround&&this.cells.length>1&&(n=d.modulo(n,this.slideableWidth),n-=this.slideableWidth,this.shiftWrapCells(n)),this.setTranslateX(n,this.isAnimating),this.dispatchScrollEvent()},a.setTranslateX=function(n,s){n+=this.cursorPosition,n=this.options.rightToLeft?-n:n;var o=this.getPositionValue(n);this.slider.style.transform=s?"translate3d("+o+",0,0)":"translateX("+o+")"},a.dispatchScrollEvent=function(){var n=this.slides[0];if(n){var s=-this.x-n.target,o=s/this.slidesWidth;this.dispatchEvent("scroll",null,[o,s])}},a.positionSliderAtSelected=function(){this.cells.length&&(this.x=-this.selectedSlide.target,this.velocity=0,this.positionSlider())},a.getPositionValue=function(n){return this.options.percentPosition?Math.round(n/this.size.innerWidth*1e4)*.01+"%":Math.round(n)+"px"},a.settle=function(n){var s=!this.isPointerDown&&Math.round(this.x*100)==Math.round(n*100);s&&this.restingFrames++,this.restingFrames>2&&(this.isAnimating=!1,delete this.isFreeScrolling,this.positionSlider(),this.dispatchEvent("settle",null,[this.selectedIndex]))},a.shiftWrapCells=function(n){var s=this.cursorPosition+n;this._shiftCells(this.beforeShiftCells,s,-1);var o=this.size.innerWidth-(n+this.slideableWidth+this.cursorPosition);this._shiftCells(this.afterShiftCells,o,1)},a._shiftCells=function(n,s,o){for(var t=0;t<n.length;t++){var e=n[t],r=s>0?o:0;e.wrapShift(r),s-=e.size.outerWidth}},a._unshiftCells=function(n){if(!(!n||!n.length))for(var s=0;s<n.length;s++)n[s].wrapShift(0)},a.integratePhysics=function(){this.x+=this.velocity,this.velocity
5*=this.getFrictionFactor()},a.applyForce=function(n){this.velocity+=n},a.getFrictionFactor=function(){return 1-this.options[this.isFreeScrolling?"freeScrollFriction":"friction"]},a.getRestingPosition=function(){return this.x+this.velocity/(1-this.getFrictionFactor())},a.applyDragForce=function(){if(!(!this.isDraggable||!this.isPointerDown)){var n=this.dragX-this.x,s=n-this.velocity;this.applyForce(s)}},a.applySelectedAttraction=function(){var n=this.isDraggable&&this.isPointerDown;if(!(n||this.isFreeScrolling||!this.slides.length)){var s=this.selectedSlide.target*-1-this.x,o=s*this.options.selectedAttraction;this.applyForce(o)}},a})}(w)),w.exports}var st;function z(){return st||(st=1,function(m){(function(h,l){if(m.exports)m.exports=l(h,X(),ft(),_(),St(),xt(),Et());else{var d=h.Flickity;h.Flickity=l(h,h.EvEmitter,h.getSize,h.fizzyUIUtils,d.Cell,d.Slide,d.animatePrototype)}})(window,function(l,d,a,n,s,o,t){var e=l.jQuery,r=l.getComputedStyle,c=l.console;function g(i,u){for(i=n.makeArray(i);i.length;)u.appendChild(i.shift())}var f=0,S={};function p(i,u){var y=n.getQueryElement(i);if(!y){c&&c.error("Bad element for Flickity: "+(y||i));return}if(this.element=y,this.element.flickityGUID){var x=S[this.element.flickityGUID];return x&&x.option(u),x}e&&(this.$element=e(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(u),this._create()}p.defaults={accessibility:!0,cellAlign:"center",freeScrollFriction:.075,friction:.28,namespaceJQueryEvents:!0,percentPosition:!0,resize:!0,selectedAttraction:.025,setGallerySize:!0},p.createMethods=[];var v=p.prototype;n.extend(v,d.prototype),v._create=function(){var i=this.guid=++f;this.element.flickityGUID=i,S[i]=this,this.selectedIndex=0,this.restingFrames=0,this.x=0,this.velocity=0,this.originSide=this.options.rightToLeft?"right":"left",this.viewport=document.createElement("div"),this.viewport.className="flickity-viewport",this._createSlider(),(this.options.resize||this.options.watchCSS)&&l.addEventListener("resize",this);for(var u in this.options.on){var y=this.options.on[u];this.on(u,y)}p.createMethods.forEach(function(x){this[x]()},this),this.options.watchCSS?this.watchCSS():this.activate()},v.option=function(i){n.extend(this.options,i)},v.activate=function(){if(!this.isActive){this.isActive=!0,this.element.classList.add("flickity-enabled"),this.options.rightToLeft&&this.element.classList.add("flickity-rtl"),this.getSize();var i=this._filterFindCellElements(this.element.children);g(i,this.slider),this.viewport.appendChild(this.slider),this.element.appendChild(this.viewport),this.reloadCells(),this.options.accessibility&&(this.element.tabIndex=0,this.element.addEventListener("keydown",this)),this.emitEvent("activate"),this.selectInitialIndex(),this.isInitActivated=!0,this.dispatchEvent("ready")}},v._createSlider=function(){var i=document.createElement("div");i.className="flickity-slider",i.style[this.originSide]=0,this.slider=i},v._filterFindCellElements=function(i){return n.filterFindElements(i,this.options.cellSelector)},v.reloadCells=function(){this.cells=this._makeCells(this.slider.children),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize()},v._makeCells=function(i){var u=this._filterFindCellElements(i),y=u.map(function(x){return new s(x,this)},this);return y},v.getLastCell=function(){return this.cells[this.cells.length-1]},v.getLastSlide=function(){return this.slides[this.slides.length-1]},v.positionCells=function(){this._sizeCells(this.cells),this._positionCells(0)},v._positionCells=function(i){i=i||0,this.maxCellHeight=i&&this.maxCellHeight||0;var u=0;if(i>0){var y=this.cells[i-1];u=y.x+y.size.outerWidth}for(var x=this.cells.length,E=i;E<x;E++){var b=this.cells[E];b.setPosition(u),u+=b.size.outerWidth,this.maxCellHeight=Math.max(b.size.outerHeight,this.maxCellHeight)}this.slideableWidth=u,this.updateSlides(),this._containSlides(),this.slidesWidth=x?this.getLastSlide().target-this.slides[0].target:0},v._sizeCells=function(i){i.forEach(function(u){u.getSize()})},v.updateSlides=function(){if(this.slides=[],!!this.cells.length){var i=new o(this);this.slides.push(i);var u=this.originSide=="left",y=u?"marginRight":"marginLeft",x=this._getCanCellFit();
5this.cells.forEach(function(E,b){if(!i.cells.length){i.addCell(E);return}var C=i.outerWidth-i.firstMargin+(E.size.outerWidth-E.size[y]);x.call(this,b,C)||(i.updateTarget(),i=new o(this),this.slides.push(i)),i.addCell(E)},this),i.updateTarget(),this.updateSelectedSlide()}},v._getCanCellFit=function(){var i=this.options.groupCells;if(i){if(typeof i=="number"){var u=parseInt(i,10);return function(E){return E%u!==0}}}else return function(){return!1};var y=typeof i=="string"&&i.match(/^(\d+)%$/),x=y?parseInt(y[1],10)/100:1;return function(E,b){return b<=(this.size.innerWidth+1)*x}},v._init=v.reposition=function(){this.positionCells(),this.positionSliderAtSelected()},v.getSize=function(){this.size=a(this.element),this.setCellAlign(),this.cursorPosition=this.size.innerWidth*this.cellAlign};var D={center:{left:.5,right:.5},left:{left:0,right:1},right:{right:0,left:1}};return v.setCellAlign=function(){var i=D[this.options.cellAlign];this.cellAlign=i?i[this.originSide]:this.options.cellAlign},v.setGallerySize=function(){if(this.options.setGallerySize){var i=this.options.adaptiveHeight&&this.selectedSlide?this.selectedSlide.height:this.maxCellHeight;this.viewport.style.height=i+"px"}},v._getWrapShiftCells=function(){if(this.options.wrapAround){this._unshiftCells(this.beforeShiftCells),this._unshiftCells(this.afterShiftCells);var i=this.cursorPosition,u=this.cells.length-1;this.beforeShiftCells=this._getGapCells(i,u,-1),i=this.size.innerWidth-this.cursorPosition,this.afterShiftCells=this._getGapCells(i,0,1)}},v._getGapCells=function(i,u,y){for(var x=[];i>0;){var E=this.cells[u];if(!E)break;x.push(E),u+=y,i-=E.size.outerWidth}return x},v._containSlides=function(){if(!(!this.options.contain||this.options.wrapAround||!this.cells.length)){var i=this.options.rightToLeft,u=i?"marginRight":"marginLeft",y=i?"marginLeft":"marginRight",x=this.slideableWidth-this.getLastCell().size[y],E=x<this.size.innerWidth,b=this.cursorPosition+this.cells[0].size[u],C=x-this.size.innerWidth*(1-this.cellAlign);this.slides.forEach(function(P){E?P.target=x*this.cellAlign:(P.target=Math.max(P.target,b),P.target=Math.min(P.target,C))},this)}},v.dispatchEvent=function(i,u,y){var x=u?[u].concat(y):y;if(this.emitEvent(i,x),e&&this.$element){i+=this.options.namespaceJQueryEvents?".flickity":"";var E=i;if(u){var b=new e.Event(u);b.type=i,E=b}this.$element.trigger(E,y)}},v.select=function(i,u,y){if(this.isActive&&(i=parseInt(i,10),this._wrapSelect(i),(this.options.wrapAround||u)&&(i=n.modulo(i,this.slides.length)),!!this.slides[i])
5){var x=this.selectedIndex;this.selectedIndex=i,this.updateSelectedSlide(),y?this.positionSliderAtSelected():this.startAnimation(),this.options.adaptiveHeight&&this.setGallerySize(),this.dispatchEvent("select",null,[i]),i!=x&&this.dispatchEvent("change",null,[i]),this.dispatchEvent("cellSelect")}},v._wrapSelect=function(i){var u=this.slides.length,y=this.options.wrapAround&&u>1;if(!y)return i;var x=n.modulo(i,u),E=Math.abs(x-this.selectedIndex),b=Math.abs(x+u-this.selectedIndex),C=Math.abs(x-u-this.selectedIndex);!this.isDragSelect&&b<E?i+=u:!this.isDragSelect&&C<E&&(i-=u),i<0?this.x-=this.slideableWidth:i>=u&&(this.x+=this.slideableWidth)},v.previous=function(i,u){this.select(this.selectedIndex-1,i,u)},v.next=function(i,u){this.select(this.selectedIndex+1,i,u)},v.updateSelectedSlide=function(){var i=this.slides[this.selectedIndex];i&&(this.unselectSelectedSlide(),this.selectedSlide=i,i.select(),this.selectedCells=i.cells,this.selectedElements=i.getCellElements(),this.selectedCell=i.cells[0],this.selectedElement=this.selectedElements[0])},v.unselectSelectedSlide=function(){this.selectedSlide&&this.selectedSlide.unselect()},v.selectInitialIndex=function(){var i=this.options.initialIndex;if(this.isInitActivated){this.select(this.selectedIndex,!1,!0);return}if(i&&typeof i=="string"){var u=this.queryCell(i);if(u){this.selectCell(i,!1,!0);return}}var y=0;i&&this.slides[i]&&(y=i),this.select(y,!1,!0)},v.selectCell=function(i,u,y){var x=this.queryCell(i);if(x){var E=this.getCellSlideIndex(x);this.select(E,u,y)}},v.getCellSlideIndex=function(i){for(var u=0;u<this.slides.length;u++){var y=this.slides[u],x=y.cells.indexOf(i);if(x!=-1)return u}},v.getCell=function(i){for(var u=0;u<this.cells.length;u++){var y=this.cells[u];if(y.element==i)return y}},v.getCells=function(i){i=n.makeArray(i);var u=[];return i.forEach(function(y){var x=this.getCell(y);x&&u.push(x)},this),u},v.getCellElements=function(){return this.cells.map(function(i){return i.element})},v.getParentCell=function(i){var u=this.getCell(i);return u||(i=n.getParent(i,".flickity-slider > *"),this.getCell(i))},v.getAdjacentCellElements=function(i,u){if(!i)return this.selectedSlide.getCellElements();u=u===void 0?this.selectedIndex:u;var y=this.slides.length;if(1+i*2>=y)return this.getCellElements();for(var x=[],E=u-i;E<=u+i;E++){var b=this.options.wrapAround?n.modulo(E,y):E,C=this.slides[b];C&&(x=x.concat(C.getCellElements()))}return x},v.queryCell=function(i){if(typeof i=="number")return this.cells[i];if(typeof i=="string"){if(i.match(/^[#.]?[\d/]/))return;i=this.element.querySelector(i)}return this.getCell(i)},v.uiChange=function(){this.emitEvent("uiChange")},v.childUIPointerDown=function(i){i.type!="touchstart"&&i.preventDefault(),this.focus()},v.onresize=function(){this.watchCSS(),this.resize()},n.debounceMethod(p,"onresize",150),v.resize=function(){if(!(!this.isActive||this.isAnimating||this.isDragging)){this.getSize(),this.options.wrapAround&&(this.x=n.modulo(this.x,this.slideableWidth)),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize(),this.emitEvent("resize");var i=this.selectedElements&&this.selectedElements[0];this.selectCell(i,!1,!0)}},v.watchCSS=function(){var i=this.options.watchCSS;if(i){var u=r(this.element,":after").content;u.indexOf("flickity")!=-1?this.activate():this.deactivate()}},v.onkeydown=function(i){var u=document.activeElement&&document.activeElement!=this.element;if(!(!this.options.accessibility||u)){var y=p.keyboardHandlers[i.keyCode];y&&y.call(this)}},p.keyboardHandlers={37:function(){var i=this.options.rightToLeft?"next":"previous";this.uiChange(),this[i]()},39:function(){var i=this.options.rightToLeft?"previous":"next";this.uiChange(),this[i]()}},v.focus=function(){var i=l.pageYOffset;this.element.focus({preventScroll:!0}),l.pageYOffset!=i&&l.scrollTo(l.pageXOffset,i)},v.deactivate=function(){this.isActive&&(this.element.classList.remove("flickity-enabled"),this.element.classList.remove("flickity-rtl"),this.unselectSelectedSlide(),this.cells.forEach(function(i){i.destroy()}),this.element.removeChild(this.viewport),g(this.slider.children,this.element),this.options.accessibility&&(this.element.removeAttribute("tabIndex"),this.element.removeEventListener("keydown",this)),this.isActive=!1,this.emitEvent("deactivate"))},v.destroy=function(){this.deactivate(),l.removeEventListener("resize",this),this.allOff(),this.emitEvent("destroy"),e&&this.$element&&e.removeData(this.element,"flickity"),delete this.element.flickityGUID,delete S[this.guid]},n.extend(v,t),p.data=function(i){i=n.getQueryElement(i);var u=i&&i.flickityGUID;return u&&S[u]},n.htmlInit(p,"flickity"),e&&e.bridget&&e.bridget("flickity",p),p.setJQuery=function(i){e=i},p.Cell=s,p.Slide=o,p})}(A)),A.exports}var U={exports:{}},R={exports:{}},N={exports:{}};/*! 6 * Unipointer v2.4.0 7 * base class for doing one thing with pointer event 8 * MIT license 9 */var nt;function G(){return nt||(nt=1,function(m){(function(h,l){m.exports?m.exports=l(h,X()):h.Unipointer=l(h,h.EvEmitter)})(window,function(l,d){function a(){}function n(){}var s=n.prototype=Object.create(d.prototype);s.bindStartEvent=function(t){this._bindStartEvent(t,!0)},s.unbindStartEvent=function(t){this._bindStartEvent(t,!1)},s._bindStartEvent=function(t,e){e=e===void 0?!0:e;var r=e?"addEventListener":"removeEventListener",c="mousedown";"ontouchstart"in l?c="touchstart":l.PointerEvent&&(c="pointerdown"),t[r](c,this)},s.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},s.getTouch=function(t){for(var e=0;e<t.length;e++){var r=t[e];if(r.identifier==this.pointerIdentifier)return r}},s.onmousedown=function(t){var e=t.button;e&&e!==0&&e!==1||this._pointerDown(t,t)},s.ontouchstart=function(t){this._pointerDown(t,t.changedTouches[0])},s.onpointerdown=function(t){this._pointerDown(t,t)},s._pointerDown=function(t,e){t.button||this.isPointerDown||(this.isPointerDown=!0,this.pointerIdentifier=e.pointerId!==void 0?e.pointerId:e.identifier,this.pointerDown(t,e))},s.pointerDown=function(t,e){this._bindPostStartEvents(t),this.emitEvent("pointerDown",[t,e])};var o={mousedown:["mousemove","mouseup"],touchstart:["touchmove","touchend","touchcancel"],pointerdown:["pointermove","pointerup","pointercancel"]};return s._bindPostStartEvents=function(t){if(t){var e=o[t.type];e.forEach(function(r){l.addEventListener(r,this)},this),this._boundPointerEvents=e}},s._unbindPostStartEvents=function(){this._boundPointerEvents&&(this._boundPointerEvents.forEac
9h(function(t){l.removeEventListener(t,this)},this),delete this._boundPointerEvents)},s.onmousemove=function(t){this._pointerMove(t,t)},s.onpointermove=function(t){t.pointerId==this.pointerIdentifier&&this._pointerMove(t,t)},s.ontouchmove=function(t){var e=this.getTouch(t.changedTouches);e&&this._pointerMove(t,e)},s._pointerMove=function(t,e){this.pointerMove(t,e)},s.pointerMove=function(t,e){this.emitEvent("pointerMove",[t,e])},s.onmouseup=function(t){this._pointerUp(t,t)},s.onpointerup=function(t){t.pointerId==this.pointerIdentifier&&this._pointerUp(t,t)},s.ontouchend=function(t){var e=this.getTouch(t.changedTouches);e&&this._pointerUp(t,e)},s._pointerUp=function(t,e){this._pointerDone(),this.pointerUp(t,e)},s.pointerUp=function(t,e){this.emitEvent("pointerUp",[t,e])},s._pointerDone=function(){this._pointerReset(),this._unbindPostStartEvents(),this.pointerDone()},s._pointerReset=function(){this.isPointerDown=!1,delete this.pointerIdentifier},s.pointerDone=a,s.onpointercancel=function(t){t.pointerId==this.pointerIdentifier&&this._pointerCancel(t,t)},s.ontouchcancel=function(t){var e=this.getTouch(t.changedTouches);e&&this._pointerCancel(t,e)},s._pointerCancel=function(t,e){this._pointerDone(),this.pointerCancel(t,e)},s.pointerCancel=function(t,e){this.emitEvent("pointerCancel",[t,e])},n.getPointerPoint=function(t){return{x:t.pageX,y:t.pageY}},n})}(N)),N.exports}/*! 10 * Unidragger v2.4.0 11 * Draggable base class 12 * MIT license 13 */var rt;function bt(){return rt||(rt=1,function(m){(function(h,l){m.exports?m.exports=l(h,G()):h.Unidragger=l(h,h.Unipointer)})(window,function(l,d){function a(){}var n=a.prototype=Object.create(d.prototype);n.bindHandles=function(){this._bindHandles(!0)},n.unbindHandles=function(){this._bindHandles(!1)},n._bindHandles=function(t){t=t===void 0?!0:t;for(var e=t?"addEventListener":"removeEventListener",r=t?this._touchActionValue:"",c=0;c<this.handles.length;c++){var g=this.handles[c];this._bindStartEvent(g,t),g[e]("click",this),l.PointerEvent&&(g.style.touchAction=r)}},n._touchActionValue="none",n.pointerDown=function(t,e){var r=this.okayPointerDown(t);r&&(this.pointerDownPointer={pageX:e.pageX,pageY:e.pageY},t.preventDefault(),this.pointerDownBlur(),this._bindPostStartEvents(t),this.emitEvent("pointerDown",[t,e]))};var s={TEXTAREA:!0,INPUT:!0,SELECT:!0,OPTION:!0},o={radio:!0,checkbox:!0,button:!0,submit:!0,image:!0,file:!0};return n.okayPointerDown=function(t){var e=s[t.target.nodeName],r=o[t.target.type],c=!e||r;return c||this._pointerReset(),c},n.pointerDownBlur=function(){var t=document.activeElement,e=t&&t.blur&&t!=document.body;e&&t.blur()},n.pointerMove=function(t,e){var r=this._dragPointerMove(t,e);this.emitEvent("pointerMove",[t,e,r]),this._dragMove(t,e,r)},n._dragPointerMove=function(t,e){var r={x:e.pageX-this.pointerDownPointer.pageX,y:e.pageY-this.pointerDownPointer.pageY};return!this.isDragging&&this.hasDragStarted(r)&&this._dragStart(t,e),r},n.hasDragStarted=function(t){return Math.abs(t.x)>3||Math.abs(t.y)>3},n.pointerUp=function(t,e){this.emitEvent("pointerUp",[t,e]),this._dragPointerUp(t,e)},n._dragPointerUp=function(t,e){this.isDragging?this._dragEnd(t,e):this._staticClick(t,e)},n._dragStart=function(t,e){this.isDragging=!0,this.isPreventing
13Clicks=!0,this.dragStart(t,e)},n.dragStart=function(t,e){this.emitEvent("dragStart",[t,e])},n._dragMove=function(t,e,r){this.isDragging&&this.dragMove(t,e,r)},n.dragMove=function(t,e,r){t.preventDefault(),this.emitEvent("dragMove",[t,e,r])},n._dragEnd=function(t,e){this.isDragging=!1,setTimeout((function(){delete this.isPreventingClicks}).bind(this)),this.dragEnd(t,e)},n.dragEnd=function(t,e){this.emitEvent("dragEnd",[t,e])},n.onclick=function(t){this.isPreventingClicks&&t.preventDefault()},n._staticClick=function(t,e){this.isIgnoringMouseUp&&t.type=="mouseup"||(this.staticClick(t,e),t.type!="mouseup"&&(this.isIgnoringMouseUp=!0,setTimeout((function(){delete this.isIgnoringMouseUp}).bind(this),400)))},n.staticClick=function(t,e){this.emitEvent("staticClick",[t,e])},a.getPointerPoint=d.getPointerPoint,a})}(R)),R.exports}var ot;function Ct(){return ot||(ot=1,function(m){(function(h,l){m.exports?m.exports=l(h,z(),bt(),_()):h.Flickity=l(h,h.Flickity,h.Unidragger,h.fizzyUIUtils)})(window,function(l,d,a,n){n.extend(d.defaults,{draggable:">1",dragThreshold:3}),d.createMethods.push("_createDrag");var s=d.prototype;n.extend(s,a.prototype),s._touchActionValue="pan-y",s._createDrag=function(){this.on("activate",this.onActivateDrag),this.on("uiChange",this._uiChangeDrag),this.on("deactivate",this.onDeactivateDrag),this.on("cellChange",this.updateDraggable)},s.onActivateDrag=function(){this.handles=[this.viewport],this.bindHandles(),this.updateDraggable()},s.onDeactivateDrag=function(){this.unbindHandles(),this.element.classList.remove("is-draggable")},s.updateDraggable=function(){this.options.draggable==">1"?this.isDraggable=this.slides.length>1:this.isDraggable=this.options.draggable,this.isDraggable?this.element.classList.add("is-draggable"):this.element.classList.remove("is-draggable")},s.bindDrag=function(){this.options.draggable=!0,this.updateDraggable()},s.unbindDrag=function(){this.options.draggable=!1,this.updateDraggable()},s._uiChangeDrag=function(){delete this.isFreeScrolling},s.pointerDown=function(e,r){if(!this.isDraggable){this._pointerDownDefault(e,r);return}var c=this.okayPointerDown(e);c&&(this._pointerDownPreventDefault(e),this.pointerDownFocus(e),document.activeElement!=this.element&&this.pointerDownBlur(),this.dragX=this.x,this.viewport.classList.add("is-pointer-down"),this.pointerDownScroll=t(),l.addEventListener("scroll",this),this._pointerDownDefault(e,r))},s._pointerDownDefault=function(e,r){this.pointerDownPointer={pageX:r.pageX,pageY:r.pageY},this._bindPostStartEvents(e),this.dispatchEvent("pointerDown",e,[r])};var o={INPUT:!0,TEXTAREA:!0,SELECT:!0};s.pointerDownFocus=function(e){var r=o[e.target.nodeName];r||this.focus()},s._pointerDownPreventDefault=function(e){var r=e.type=="touchstart",c=e.pointerType=="touch",g=o[e.target.nodeName];!r&&!c&&!g&&e.preventDefault()},s.hasDragStarted=function(e){return Math.abs(e.x)>this.options.dragThreshold},s.pointerUp=function(e,r){delete this.isTouchScrolling,this.viewport.classList.remove("is-pointer-down"),this.dispatchEvent("pointerUp",e,[r]),this._dragPointerUp(e,r)},s.pointerDone=function(){l.removeEventListener("scroll",this),delete this.pointerDownScroll},s.dragStart=function(e,r){this.isDraggable&&(this.dragStartPosition=this.x,this.startAnimation(),l.removeEventListener("scroll",this),this.dispatchEvent("dragStart",e,[r]))},s.pointerMove=function(e,r){var c=this._dragPointerMove(e,r);this.dispatchEvent("pointerMove",e,[r,c]),this._dragMove(e,r,c)},s.dragMove=function(e,r,c){if(this.isDraggable){e.preventDefault(),this.previousDragX=this.dragX;var g=this.options.rightToLeft?-1:1;this.options.wrapAround&&(c.x%=this.slideableWidth);var f=this.dragStartPosition+c.x*g;if(!this.options.wrapAround&&this.slides.length){var S=Math.max(-this.slides[0].target,this.dragStartPosition);f=f>S?(f+S)*.5:f;var p=Math.min(-this.getLastSlide().target,this.dragStartPosition);f=f<p?(f+p)*.5:f}this.dragX=f,this.dragMoveTime=new Date,this.dispatchEvent("dragMove",e,[r,c])}},s.dragEnd=function(e,r){if(this.isDraggable){this.options.freeScroll&&(this.isFreeScrolling=!0);var c=this.dragEndRestingSelect();if(this.options.freeScroll&&!this.options.wrapAround){var g=this.getRestingPosition();this.isFreeScrolling=-g>this.slides[0].target&&-g<this.getLastSlide().target}else!this.options.freeScroll&&c==this.selectedIndex&&(c+=this.dragEndBoostSelect());delete this.previousDragX,this.isDragSelect=this.options.wrapAround,this.select(c),delete this.isDragSelect,this.dispatchEvent("dragEnd",e,[r])}},s.dragEndRestingSelect=function(){var e=this.getRestingPosition(),r=Math.abs(this.getSlideDistance(-e,this.selectedIndex)),c=this._getClosestResting(e,r,1),g=this._getClosestResting(e,r,-1),f=c.distance<g.distance?c.index:g.index;return f},s._getClosestResting=function(e,r,c){for(var g=this.selectedIndex,f=1/0,S=this.options.contain&&!this.options.wrapAround?function(p,v){return p<=v}:function(p,v){return p<v};S(r,f)&&(g+=c,f=r,r=this.getSlideDistance(-e,g),r!==null);)r=Math.abs(r);return{distance:f,index:g-c}},s.getSlideDistance=function(e,r){var c=this.slides.length,g=this.options.wrapAround&&c>1,f=g?n.modulo(r,c):r,S=this.slides[f];if(!S)return null;var p=g?this.slideableWidth*Math.floor(r/c):0;return e-(S.target+p)},s.dragEndBoostSelect=function(){if(this.previousDragX===void 0||!this.dragMoveTime||new Date-this.dragMoveTime>100)return 0;var e=this.getSlideDistance(-this.dragX,this.selectedIndex),r=this.previousDragX-this.dragX;return e>0&&r>0?1:e<0&&r<0?-1:0},s.staticClick=function(e,r){var c=this.getParentCell(e.target),g=c&&c.element,f=c&&this.cells.indexOf(c);this.dispatchEvent("staticClick",e,[r,g,f])},s.onscroll=function(){var e=t(),r=this.pointerDownScroll.x-e.x,c=this.pointerDownScroll.y-e.y;(Math.abs(r)>3||Math.abs(c)>3)&&this._pointerDone()};function t(){return{x:l.pageXOffset,y:l.pageYOffset}}return d})}(U)),U.exports}var F={exports:{}},at;function Dt(){return at||(at=1,function(m){(function(h,l){m.exports?m.exports=l(h,z(),G(),_()):l(h,h.Flickity,h.Unipointer,h.fizzyUIUtils)})(window,function(l,d,a,n){var s="http://www.w3.org/2000/svg";function o(r,c){this.direction=r,this.parent=c,this._create()}o.prototype=Object.create(a.prototype),o.prototype._create=function(){this.isEnabled=!0,this.isPrevious=this.direction==-1;var r=this.parent.options.rightToLeft?1:-1;this.isLeft=this.direction==r;var c=this.element=document.createElement("button");c.className="flickity-button flickity-prev-next-button",c.className+=this.isPrevious?" previous":" next",c.setAttribute("type","button"),this.disable(),c.setAttribute("aria-label",this.isPrevious?"Previous":"Next");var g=this.createSVG();c.appendChild(g),this.parent.on("select",this.update.bind(this)),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},o.prototype.activate=function(){this.bindStartEvent(this.element),this.element.addEventListener("click",this),this.parent.element.appendChild(this.element)},o.prototype.deactivate=function(){this.parent.element.removeChild(this.element),this.unbindStartEvent(this.element),this.element.removeEventListener("click",this)},o.prototype.createSVG=function(){var r=document.createElementNS(s,"svg");r.setAttribute("class","flickity-button-icon"),r.setAttribute("viewBox","0 0 100 100");var c=document.createElementNS(s,"path"),g=t(this.parent.options.arrowShape);return c.setAttribute("d",g),c.setAttribute("class","arrow"),this.isLeft||c.setAttribute("transform","translate(100, 100) rotate(180) "),r.appendChild(c),r};function t(r){return typeof r=="string"?r:"M "+r.x0+",50 L "+r.x1+","+(r.y1+50)+" L "+r.x2+","+(r.y2+50)+" L "+r.x3+",50 L "+r.x2+","+(50-r.y2)+" L "+r.x1+","+(50-r.y1)+" Z"}o.prototype.handleEvent=n.handleEvent,o.prototype.onclick=function(){if(this.isEnabled){this.parent.uiChange();var r=this.isPrevious?"previous":"next";this.parent[r]()}},o.prototype.enable=function(){this.isEnabled||(this.element.disabled=!1,this.isEnabled=!0)},o.prototype.disable=function(){this.isEnabled&&(this.element.disabled=!0,this.isEnabled=!1)},o.prototype.update=function(){var r=this.parent.slides;if(this.parent.options.wrapAround&&r.length>1){this.enable();return}var c=r.length?r.length-1:0,g=this.isPrevious?0:c,f=this.parent.selectedIndex==g?"disable":"enable";this[f]()},o.prototype.destroy=function(){this.deactivate(),this.allOff()},n.extend(d.defaults,{prevNextButtons:!0,arrowShape:{x0:10,x1:60,y1:50,x2:70,y2:40,x3:30}}),d.createMethods.push("_createPrevNextButtons");var e=d.prototype;return e._createPrevNextButtons=function(){this.options.prevNextButtons&&(this.prevButton=new o(-1,this),this.nextButton=new o(1,this),this.on("activate",this.activatePrevNextButtons))},e.activatePrevNextButtons=function(){this.prevButton.activate(),this.nextButton.activate(),this.on("deactivate",this.deactivatePrevNextButtons)},e.deactivatePrevNextButtons=function(){this.prevButton.deactivate(),this.nextButton.deactivate(),this.off("deactivate",this.deactivatePrevNextButtons)},d.PrevNextButton=o,d})}(F)),F.exports}var q={exports:{}},ht;function Pt(){return ht||(ht=1,function(m){(function(h,l){m.exports?m.exports=l(h,z(),G(),_()):l(h,h.Flickity,h.Unipointer,h.fizzyUIUtils)})(window,function(l,d,a,n){function s(t){this.parent=t,this._create()}s.prototype=Object.create(a.prototype),s.prototype._create=function(){this.holder=document.createElement("ol"),this.holder.className="flickity-page-dots",this.dots=[],this.handleClick=this.onClick.bind(this),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},s.prototype.activate=function(){this.setDots(),this.holder.addEventListener("click",this.handleClick),this.bindStartEvent(this.holder),this.parent.element.appendChild(this.holder)},s.prototype.deactivate=function(){this.holder.removeEventListener("click",this.handleClick),this.unbindStartEvent(this.holder),this.parent.element.removeChild(this.holder)},s.prototype.setDots=function(){var t=this.parent.slides.length-this.dots.length;t>0?this.addDots(t):t<0&&this.removeDots(-t)},s.prototype.addDots=function(t){for(var e=document.createDocumentFragment(),r=[],c=this.dots.length,g=c+t,f
13=c;f<g;f++){var S=document.createElement("li");S.className="dot",S.setAttribute("aria-label","Page dot "+(f+1)),e.appendChild(S),r.push(S)}this.holder.appendChild(e),this.dots=this.dots.concat(r)},s.prototype.removeDots=function(t){var e=this.dots.splice(this.dots.length-t,t);e.forEach(function(r){this.holder.removeChild(r)},this)},s.prototype.updateSelected=function(){this.selectedDot&&(this.selectedDot.className="dot",this.selectedDot.removeAttribute("aria-current")),this.dots.length&&(this.selectedDot=this.dots[this.parent.selectedIndex],this.selectedDot.className="dot is-selected",this.selectedDot.setAttribute("aria-current","step"))},s.prototype.onTap=s.prototype.onClick=function(t){var e=t.target;if(e.nodeName=="LI"){this.parent.uiChange();var r=this.dots.indexOf(e);this.parent.select(r)}},s.prototype.destroy=function(){this.deactivate(),this.allOff()},d.PageDots=s,n.extend(d.defaults,{pageDots:!0}),d.createMethods.push("_createPageDots");var o=d.prototype;return o._createPageDots=function(){this.options.pageDots&&(this.pageDots=new s(this),this.on("activate",this.activatePageDots),this.on("select",this.updateSelectedPageDots),this.on("cellChange",this.updatePageDots),this.on("resize",this.updatePageDots),this.on("deactivate",this.deactivatePageDots))},o.activatePageDots=function(){this.pageDots.activate()},o.updateSelectedPageDots=function(){this.pageDots.updateSelected()},o.updatePageDots=function(){this.pageDots.setDots()},o.deactivatePageDots=function(){this.pageDots.deactivate()},d.PageDots=s,d})}(q)),q.exports}var O={exports:{}},lt;function _t(){return lt||(lt=1,function(m){(function(h,l){m.exports?m.exports=l(X(),_(),z()):l(h.EvEmitter,h.fizzyUIUtils,h.Flickity)})(window,function(l,d,a){function n(o){this.parent=o,this.state="stopped",this.onVisibilityChange=this.visibilityChange.bind(this),this.onVisibilityPlay=this.visibilityPlay.bind(this)}n.prototype=Object.create(l.prototype),n.prototype.play=function(){if(this.state!="playing"){var o=document.hidden;if(o){document.addEventListener("visibilitychange",this.onVisibilityPlay);return}this.state="playing",document.addEventListener("visibilitychange",this.onVisibilityChange),this.tick()}},n.prototype.tick=function(){if(this.state=="playing"){var o=this.parent.options.autoPlay;o=typeof o=="number"?o:3e3;var t=this;this.clear(),this.timeout=setTimeout(function(){t.parent.next(!0),t.tick()},o)}},n.prototype.stop=function(){this.state="stopped",this.clear(),document.removeEventListener("visibilitychange",this.onVisibilityChange)},n.prototype.clear=function(){clearTimeout(this.timeout)},n.prototype.pause=function(){this.state=="playing"&&(this.state="paused",this.clear())},n.prototype.unpause=function(){this.state=="paused"&&this.play()},n.prototype.visibilityChange=function(){var o=document.hidden;this[o?"pause":"unpause"]()},n.prototype.visibilityPlay=function(){this.play(),document.removeEventListener("visibilitychange",this.onVisibilityPlay)},d.extend(a.defaults,{pauseAutoPlayOnHover:!0}),a.createMethods.push("_createPlayer");var s=a.prototype;return s._createPlayer=function(){this.player=new n(this),this.on("activate",this.activatePlayer),this.on("uiChange",this.stopPlayer),this.on("pointerDown",this.stopPlayer),this.on("deactivate",this.deactivatePlayer)},s.activatePlayer=function(){this.options.autoPlay&&(this.player.play(),this.element.addEventListener("mouseenter",this))},s.playPlayer=function(){this.player.play()},s.stopPlayer=function(){this.player.stop()},s.pausePlayer=function(){this.player.pause()},s.unpausePlayer=function(){this.player.unpause()},s.deactivatePlayer=function(){this.player.stop(),this.element.removeEventListener("mouseenter",this)},s.onmouseenter=function(){this.options.pauseAutoPlayOnHover&&(this.player.pause(),this.element.addEventListener("mouseleave",this))},s.onmouseleave=function(){this.player.unpause(),this.element.removeEventListener("mouseleave",this)},a.Player=n,a})}(O)),O.exports}var B={exports:{}},ct;function zt(){return ct||(ct=1,function(m){(function(h,l){m.exports?m.exports=l(h,z(),_()):l(h,h.Flickity,h.fizzyUIUtils)})(window,function(l,d,a){function n(o){var t=document.createDocumentFragment();return o.forEach(function(e){t.appendChild(e.element)}),t}var s=d.prototype;return s.insert=function(o,t){var e=this._makeCells(o);if(!(!e||!e.length)){var r=this.cells.length;t=t===void 0?r:t;var c=n(e),g=t==r;if(g)this.slider.appendChild(c);else{var f=this.cells[t].element;this.slider.insertBefore(c,f)}if(t===0)this.cells=e.concat(this.cells);else if(g)this.cells=this.cells.concat(e);else{var S=this.cells.splice(t,r-t);this.cells=this.cells.concat(e).concat(S)}this._sizeCells(e),this.cellChange(t,!0)}},s.append=function(o){this.insert(o,this.cells.length)},s.prepend=function(o){this.insert(o,0)},s.remove=function(o){var t=this.getCells(o);if(!(!t||!t.length)){var e=this.cells.length-1;t.forEach(function(r){r.remove();var c=this.cells.indexOf(r);e=Math.min(c,e),a.removeFrom(this.cells,r)},this),this.cellChange(e,!0)}},s.cellSizeChange=function(o){var t=this.getCell(o);if(t){t.getSize();var e=this.cells.indexOf(t);this.cellChange(e)}},s.cellChange=function(o,t){var e=this.selectedElement;this._positionCells(o),this._getWrapShiftCells(),this.setGallerySize();var r=this.getCell(e);r&&(this.selectedIndex=this.getCellSlideIndex(r)),this.selectedIndex=Math.min(this.slides.length-1,this.selectedIndex),this.emitEvent("cellChange",[o]),this.select(this.selectedIndex),t&&this.positionSliderAtSelected()},d})}(B)),B.exports}var H={exports:{}},ut;function At(){return ut||(ut=1,function(m){(function(h,l){m.exports?m.exports=l(h,z(),_()):l(h,h.Flickity,h.fizzyUIUtils)})(window,function(l,d,a){d.createMethods.push("_createLazyload");var n=d.prototype;n._createLazyload=function(){this.on("select",this.lazyLoad)},n.lazyLoad=function(){var t=this.options.lazyLoad;if(t){var e=typeof t=="number"?t:0,r=this.getAdjacentCellElements(e),c=[];r.forEach(function(g){var f=s(g);c=c.concat(f)}
13),c.forEach(function(g){new o(g,this)},this)}};function s(t){if(t.nodeName=="IMG"){var e=t.getAttribute("data-flickity-lazyload"),r=t.getAttribute("data-flickity-lazyload-src"),c=t.getAttribute("data-flickity-lazyload-srcset");if(e||r||c)return[t]}var g="img[data-flickity-lazyload], img[data-flickity-lazyload-src], img[data-flickity-lazyload-srcset]",f=t.querySelectorAll(g);return a.makeArray(f)}function o(t,e){this.img=t,this.flickity=e,this.load()}return o.prototype.handleEvent=a.handleEvent,o.prototype.load=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this);var t=this.img.getAttribute("data-flickity-lazyload")||this.img.getAttribute("data-flickity-lazyload-src"),e=this.img.getAttribute("data-flickity-lazyload-srcset");this.img.src=t,e&&this.img.setAttribute("srcset",e),this.img.removeAttribute("data-flickity-lazyload"),this.img.removeAttribute("data-flickity-lazyload-src"),this.img.removeAttribute("data-flickity-lazyload-srcset")},o.prototype.onload=function(t){this.complete(t,"flickity-lazyloaded")},o.prototype.onerror=function(t){this.complete(t,"flickity-lazyerror")},o.prototype.complete=function(t,e){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this);var r=this.flickity.getParentCell(this.img),c=r&&r.element;this.flickity.cellSizeChange(c),this.img.classList.add(e),this.flickity.dispatchEvent("lazyLoad",t,c)},d.LazyLoader=o,d})}(H)),H.exports}/*! 14 * Flickity v2.3.0 15 * Touch, responsive, flickable carousels 16 * 17 * Licensed GPLv3 for open source use 18 * or Flickity Commercial License for commercial use 19 * 20 * https://flickity.metafizzy.co 21 * Copyright 2015-2021 Metafizzy 22 */(function(m){(function(h,l){m.exports&&(m.exports=l(z(),Ct(),Dt(),Pt(),_t(),zt(),At()))})(window,function(l){return l})})(dt);var Lt=dt.exports;const kt=vt(Lt);function It({node:m,plugins:{addEvents:h}}){const d=m.querySelector(".is-selected").dataset.reportNav,a=[...document.querySelectorAll(' [data-behaviour="ReportCarousel"] .c-sprig-list__item')],n={cellAlign:"left",contain:!1,pageDots:!1,wrapAround:!0,prevNextButtons:!1,initialIndex:d,arrowShape:"M65.6,0 73.6,8 31.7,50 73.6,92 65.6,100 15.6,50"},s=m.dataset.options?JSON.parse(m.dataset.options):{},o={...n,...s},t=new kt(m,o);function e({target:c}){const g=c.dataset.reportNav;g&&t.select(g),a.forEach(f=>{f.dataset.reportNav===g?f.classList.add("is-selected"):f.classList.remove("is-selected")})}function r({target:c}){const g=c.dataset.reportNext,S=a.filter(p=>p.dataset.id===g)[0].dataset.reportNav;S&&t.select(S),a.forEach(p=>{p.dataset.reportNav===S?p.classList.add("is-selected"):p.classList.remove("is-selected")})}return h(document.body,{"click [data-report-nav]":e,"click [data-report-next]":r}),()=>{t.destroy()}}const Tt=gt(mt)(It);export{Tt as default}; 23//# sourceMappingURL=ReportCarousel-Ccw9FgJi.js.map
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.