HEX
Server: LiteSpeed
System: Linux linux31.centraldnserver.com 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
User: salamatk (1501)
PHP: 8.1.33
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open
Upload Files
File: /home/salamatk/takarzan.ir/wp-content/themes/xts-luman/js/combine-libraries.min.js
(e=>{"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports&&"function"==typeof require?e(require("jquery")):e(jQuery)})(function(h){var i={escapeRegExChars:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},createNode:function(e){var t=document.createElement("div");return t.className=e,t.style.position="absolute",t.style.display="none",t}},n=27,s=9,o=13,a=38,r=39,l=40;function c(e,t){function i(){}var n=this,s={ajaxSettings:{},autoSelectFirst:!1,appendTo:document.body,serviceUrl:null,lookup:null,onSelect:null,width:"auto",minChars:1,maxHeight:300,deferRequestBy:0,params:{},formatResult:c.formatResult,delimiter:null,zIndex:9999,type:"GET",noCache:!1,onSearchStart:i,onSearchComplete:i,onSearchError:i,preserveInput:!1,containerClass:"autocomplete-suggestions",tabDisabled:!1,dataType:"text",currentRequest:null,triggerSelectOnValidInput:!0,preventBadQueries:!0,lookupFilter:function(e,t,i){return-1!==e.value.toLowerCase().indexOf(i)},paramName:"query",transformResult:function(e){return"string"==typeof e?JSON.parse(e):e},showNoSuggestionNotice:!1,noSuggestionNotice:"No results",orientation:"bottom",forceFixPosition:!1};n.element=e,n.el=h(e),n.suggestions=[],n.badQueries=[],n.selectedIndex=-1,n.currentValue=n.element.value,n.intervalId=0,n.cachedResponse={},n.onChangeInterval=null,n.onChange=null,n.isLocal=!1,n.suggestionsContainer=null,n.noSuggestionsContainer=null,n.options=h.extend({},s,t),n.classes={selected:"autocomplete-selected",suggestion:"autocomplete-suggestion"},n.hint=null,n.hintValue="",n.selection=null,n.initialize(),n.setOptions(t)}c.utils=i,(h.Autocomplete=c).formatResult=function(e,t){t="("+i.escapeRegExChars(t)+")";return e.value.replace(new RegExp(t,"gi"),"<strong>$1</strong>").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/&lt;(\/?strong)&gt;/g,"<$1>")},c.prototype={killerFn:null,initialize:function(){var e,t=this,i="."+t.classes.suggestion,n=t.classes.selected,s=t.options;t.element.setAttribute("autocomplete","off"),t.killerFn=function(e){0===h(e.target).closest("."+t.options.containerClass).length&&(t.killSuggestions(),t.disableKillerFn())},t.noSuggestionsContainer=h('<div class="autocomplete-no-suggestion"></div>').html(this.options.noSuggestionNotice).get(0),t.suggestionsContainer=c.utils.createNode(s.containerClass),(e=h(t.suggestionsContainer)).appendTo(s.appendTo),"auto"!==s.width&&e.width(s.width),e.on("mouseover.autocomplete",i,function(){t.activate(h(this).data("index"))}),e.on("mouseout.autocomplete",function(){t.selectedIndex=-1,e.children("."+n).removeClass(n)}),e.on("click.autocomplete",i,function(){t.select(h(this).data("index"))}),t.fixPositionCapture=function(){t.visible&&t.fixPosition()},h(window).on("resize.autocomplete",t.fixPositionCapture),t.el.on("keydown.autocomplete",function(e){t.onKeyPress(e)}),t.el.on("keyup.autocomplete",function(e){t.onKeyUp(e)}),t.el.on("blur.autocomplete",function(){t.onBlur()}),t.el.on("focus.autocomplete",function(){t.onFocus()}),t.el.on("change.autocomplete",function(e){t.onKeyUp(e)}),t.el.on("input.autocomplete",function(e){t.onKeyUp(e)})},onFocus:function(){var e=this;e.fixPosition(),0===e.options.minChars&&0===e.el.val().length&&e.onValueChange()},onBlur:function(){this.enableKillerFn()},abortAjax:function(){var e=this;e.currentRequest&&(e.currentRequest.abort(),e.currentRequest=null)},setOptions:function(e){var t=this,i=t.options;h.extend(i,e),t.isLocal=Array.isArray(i.lookup),t.isLocal&&(i.lookup=t.verifySuggestionsFormat(i.lookup)),i.orientation=t.validateOrientation(i.orientation,"bottom"),h(t.suggestionsContainer).css({"max-height":i.maxHeight+"px",width:i.width+"px","z-index":i.zIndex})},clearCache:function(){this.cachedResponse={},this.badQueries=[]},clear:function(){this.clearCache(),this.currentValue="",this.suggestions=[]},disable:function(){var e=this;e.disabled=!0,clearInterval(e.onChangeInterval),e.abortAjax()},enable:function(){this.disabled=!1},fixPosition:function(){var e,t,i,n,s,o,a,r,l=this,c=h(l.suggestionsContainer),d=c.parent().get(0);d!==document.body&&!l.options.forceFixPosition||(o=l.options.orientation,e=c.outerHeight(),t=l.el.outerHeight(),i={top:(r=l.el.offset()).top,left:r.left},"auto"===o&&(a=h(window).height(),n=-(s=h(window).scrollTop())+r.top-e,s=s+a-(r.top+t+e),o=Math.max(n,s)===n?"top":"bottom"),i.top+="top"===o?-e:t,d!==document.body&&(a=c.css("opacity"),l.visible||c.css("opacity",0).show(),r=c.offsetParent().offset(),i.top-=r.top,i.left-=r.left,l.visible||c.css("opacity",a).hide()),"auto"===l.options.width&&(i.width=l.el.outerWidth()-2+"px"),c.css(i))},enableKillerFn:function(){h(document).on("click.autocomplete",this.killerFn)},disableKillerFn:function(){h(document).off("click.autocomplete",this.killerFn)},killSuggestions:function(){var e=this;e.stopKillSuggestions(),e.intervalId=window.setInterval(function(){e.visible&&(e.el.val(e.currentValue),e.hide()),e.stopKillSuggestions()},50)},stopKillSuggestions:function(){window.clearInterval(this.intervalId)},isCursorAtEnd:function(){var e=this.el.val().length,t=this.element.selectionStart;return"number"==typeof t?t===e:!document.selection||((t=document.selection.createRange()).moveStart("character",-e),e===t.text.length)},onKeyPress:function(e){var t=this;if(t.disabled||t.visible||e.which!==l||!t.currentValue){if(!t.disabled&&t.visible){switch(e.which){case n:t.el.val(t.currentValue),t.hide();break;case r:if(t.hint&&t.options.onHint&&t.isCursorAtEnd()){t.selectHint();break}return;case s:if(t.hint&&t.options.onHint)return void t.selectHint();if(-1===t.selectedIndex)return void t.hide();if(t.select(t.selectedIndex),!1===t.options.tabDisabled)return;break;case o:if(-1===t.selectedIndex)return void t.hide();t.select(t.selectedIndex);break;case a:t.moveUp();break;case l:t.moveDown();break;default:return}e.stopImmediatePropagation(),e.preventDefault()}}else t.suggest()},onKeyUp:function(e){var t=this;if(!t.disabled){switch(e.which){case a:case l:return}clearInterval(t.onChangeInterval),t.currentValue!==t.el.val()&&(t.findBestHint(),0<t.options.deferRequestBy?t.onChangeInterval=setInterval(function(){t.onValueChange()},t.options.deferRequestBy):t.onValueChange())}},onValueChange:function(){var e=this,t=e.options,i=e.el.val(),n=e.getQuery(i);e.selection&&e.currentValue!==n&&(e.selection=null,(t.onInvalidateSelection||h.noop).call(e.element)),clearInterval(e.onChangeInterval),e.currentValue=i,e.selectedIndex=-1,t.triggerSelectOnValidInput&&e.isExactMatch(n)?e.select(0):n.length<t.minChars?e.hide():e.getSuggestions(n)},isExactMatch:function(e){var t=this.suggestions;return 1===t.length&&t[0].value.toLowerCase()===e.toLowerCase()},getQuery:function(e){var t=this.options.delimiter;return t?(t=e.split(t),h.trim(t[t.length-1])):e},getSuggestionsLocal:function(t){var e=this.options,i=t.toLowerCase(),n=e.lookupFilter,s=parseInt(e.lookupLimit,10),e={suggestions:h.grep(e.lookup,function(e){return n(e,t,i)})};return s&&e.suggestions.length>s&&(e.suggestions=e.suggestions.slice(0,s)),e},getSuggestions:function(n){var e,t,i,s=this,o=s.options,a=o.serviceUrl;o.params[o.paramName]=n,e=o.ignoreParams?null:o.params,!1!==o.onSearchStart.call(s.element,o.params)&&("function"==typeof o.lookup?o.lookup(n,function(e){s.suggestions=e.suggestions,s.suggest(),o.onSearchComplete.call(s.element,n,e.suggestions)}):(i=s.isLocal?s.getSuggestionsLocal(n):("function"==typeof a&&(a=a.call(s.element,n)),t=a+"?"+h.param(e||{}),s.cachedResponse[t]))&&Array.isArray(i.suggestions)?(s.suggestions=i.suggestions,s.suggest(),o.onSearchComplete.call(s.element,n,i.suggestions)):s.isBadQuery(n)?o.onSearchComplete.call(s.element,n,[]):(s.abortAjax(),i={url:a,data:e,type:o.type,dataType:o.dataType},h.extend(i,o.ajaxSettings),s.currentRequest=h.ajax(i).done(function(e){s.currentRequest=null,e=o.transformResult(e,n),s.processResponse(e,n,t),o.onSearchComplete.call(s.element,n,e.suggestions)}).fail(function(e,t,i){o.onSearchError.call(s.element,n,e,t,i)})))},isBadQuery:function(e){if(this.options.preventBadQueries)for(var t=this.badQueries,i=t.length;i--;)if(0===e.indexOf(t[i]))return!0;return!1},hide:function(){var e=this,t=h(e.suggestionsContainer);"function"==typeof e.options.onHide&&e.visible&&e.options.onHide.call(e.element,t),e.visible=!1,e.selectedIndex=-1,clearInterval(e.onChangeInterval),h(e.suggestionsContainer).hide(),e.signalHint(null)},suggest:function(){var e,t,i,n,s,o,a,r,l,c,d,u;0===this.suggestions.length?this.options.showNoSuggestionNotice?this.noSuggestions():this.hide():(t=(e=this).options,i=t.groupBy,n=t.formatResult,s=e.getQuery(e.currentValue),o=e.classes.suggestion,a=e.classes.selected,r=h(e.suggestionsContainer),l=h(e.noSuggestionsContainer),c=t.beforeRender,d="",t.triggerSelectOnValidInput&&e.isExactMatch(s)?e.select(0):(h.each(e.suggestions,function(e,t){i&&(d+=(e=>(e=e.data[i],u===e?"":'<div class="autocomplete-group"><strong>'+(u=e)+"</strong></div>"))(t)),d+='<div class="'+o+'" data-index="'+e+'">'+n(t,s)+"</div>"}),this.adjustContainerWidth(),l.detach(),r.html(d),"function"==typeof c&&c.call(e.element,r),e.fixPosition(),r.show(),t.autoSelectFirst&&(e.selectedIndex=0,r.scrollTop(0),r.children("."+o).first().addClass(a)),e.visible=!0,e.findBestHint()))},noSuggestions:function(){var e=h(this.suggestionsContainer),t=h(this.noSuggestionsContainer);this.adjustContainerWidth(),t.detach(),e.empty(),e.append(t),this.fixPosition(),e.show(),this.visible=!0},adjustContainerWidth:function(){var e=this.options,t=h(this.suggestionsContainer);"auto"===e.width&&(e=this.el.outerWidth()-2,t.width(0<e?e:300))},findBestHint:function(){var n=this.el.val().toLowerCase(),s=null;n&&(h.each(this.suggestions,function(e,t){var i=0===t.value.toLowerCase().indexOf(n);return i&&(s=t),!i}),this.signalHint(s))},signalHint:function(e){var t="",i=this;e&&(t=i.currentValue+e.value.substr(i.currentValue.length)),i.hintValue!==t&&(i.hintValue=t,i.hint=e,(this.options.onHint||h.noop)(t))},verifySuggestionsFormat:function(e){return e.length&&"string"==typeof e[0]?h.map(e,function(e){return{value:e,data:null}}):e},validateOrientation:function(e,t){return e=h.trim(e||"").toLowerCase(),e=-1===h.inArray(e,["auto","bottom","top"])?t:e},processResponse:function(e,t,i){var n=this,s=n.options;e.suggestions=n.verifySuggestionsFormat(e.suggestions),s.noCache||(n.cachedResponse[i]=e,s.preventBadQueries&&0===e.suggestions.length&&n.badQueries.push(t)),t===n.getQuery(n.currentValue)&&(n.suggestions=e.suggestions,n.suggest())},activate:function(e){var t=this,i=t.classes.selected,n=h(t.suggestionsContainer),s=n.find("."+t.classes.suggestion);return n.find("."+i).removeClass(i),t.selectedIndex=e,-1!==t.selectedIndex&&s.length>t.selectedIndex?(n=s.get(t.selectedIndex),h(n).addClass(i),n):null},selectHint:function(){var e=h.inArray(this.hint,this.suggestions);this.select(e)},select:function(e){this.hide(),this.onSelect(e)},moveUp:function(){var e=this;-1!==e.selectedIndex&&(0===e.selectedIndex?(h(e.suggestionsContainer).children().first().removeClass(e.classes.selected),e.selectedIndex=-1,e.el.val(e.currentValue),e.findBestHint()):e.adjustScroll(e.selectedIndex-1))},moveDown:function(){this.selectedIndex!==this.suggestions.length-1&&this.adjustScroll(this.selectedIndex+1)},adjustScroll:function(e){var t,i,n,s=this,o=s.activate(e);o&&(t=h(o).outerHeight(),o=o.offsetTop,n=(i=h(s.suggestionsContainer).scrollTop())+s.options.maxHeight-t,o<i?h(s.suggestionsContainer).scrollTop(o):n<o&&h(s.suggestionsContainer).scrollTop(o-s.options.maxHeight+t),s.options.preserveInput||s.el.val(s.getValue(s.suggestions[e].value)),s.signalHint(null))},onSelect:function(e){var t=this,i=t.options.onSelect,e=t.suggestions[e];t.currentValue=t.getValue(e.value),t.currentValue===t.el.val()||t.options.preserveInput||t.el.val(t.currentValue),t.signalHint(null),t.suggestions=[],t.selection=e,"function"==typeof i&&i.call(t.element,e)},getValue:function(e){var t,i=this.options.delimiter;return!i||1===(i=(t=this.currentValue).split(i)).length?e:t.substr(0,t.length-i[i.length-1].length)+e},dispose:function(){this.el.off(".autocomplete").removeData("autocomplete"),this.disableKillerFn(),h(window).off("resize.autocomplete",this.fixPositionCapture),h(this.suggestionsContainer).remove()}},h.fn.devbridgeAutocomplete=function(i,n){var s="autocomplete";return 0===arguments.length?this.first().data(s):this.each(function(){var e=h(this),t=e.data(s);"string"==typeof i?t&&"function"==typeof t[i]&&t[i](n):(t&&t.dispose&&t.dispose(),t=new c(this,i),e.data(s,t))})}}),((e,t)=>{"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).xtsSwiper=t()})(this,function(){function l(e){for(var t=0;t<e.length;t+=1)this[t]=e[t];return this.length=e.length,this}var u="undefined"==typeof document?{body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},location:{hash:""}}:document,Y="undefined"==typeof window?{document:u,navigator:{userAgent:""},location:{},history:{},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){}}:window;function E(e,t){var i=[],n=0;if(e&&!t&&e instanceof l)return e;if(e)if("string"==typeof e){var s,o,a=e.trim();if(0<=a.indexOf("<")&&0<=a.indexOf(">")){var r="div";for(0===a.indexOf("<li")&&(r="ul"),0===a.indexOf("<tr")&&(r="tbody"),0!==a.indexOf("<td")&&0!==a.indexOf("<th")||(r="tr"),0===a.indexOf("<tbody")&&(r="table"),0===a.indexOf("<option")&&(r="select"),(o=u.createElement(r)).innerHTML=a,n=0;n<o.childNodes.length;n+=1)i.push(o.childNodes[n])}else for(s=t||"#"!==e[0]||e.match(/[ .<>:~]/)?(t||u).querySelectorAll(e.trim()):[u.getElementById(e.trim().split("#")[1])],n=0;n<s.length;n+=1)s[n]&&i.push(s[n])}else if(e.nodeType||e===Y||e===u)i.push(e);else if(0<e.length&&e[0].nodeType)for(n=0;n<e.length;n+=1)i.push(e[n]);return new l(i)}function o(e){for(var t=[],i=0;i<e.length;i+=1)-1===t.indexOf(e[i])&&t.push(e[i]);return t}E.fn=l.prototype,E.Class=l,E.Dom7=l;function e(e){var t=this;t.params=e=void 0===e?{}:e,t.eventsListeners={},t.params&&t.params.on&&Object.keys(t.params.on).forEach(function(e){t.on(e,t.params.on[e])})}var t,i,n,s,L={addClass:function(e){if(void 0!==e)for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var n=0;n<this.length;n+=1)void 0!==this[n]&&void 0!==this[n].classList&&this[n].classList.add(t[i]);return this},removeClass:function(e){for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var n=0;n<this.length;n+=1)void 0!==this[n]&&void 0!==this[n].classList&&this[n].classList.remove(t[i]);return this},hasClass:function(e){return!!this[0]&&this[0].classList.contains(e)},toggleClass:function(e){for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var n=0;n<this.length;n+=1)void 0!==this[n]&&void 0!==this[n].classList&&this[n].classList.toggle(t[i]);return this},attr:function(e,t){var i=arguments;if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var n=0;n<this.length;n+=1)if(2===i.length)this[n].setAttribute(e,t);else for(var s in e)this[n][s]=e[s],this[n].setAttribute(s,e[s]);return this},removeAttr:function(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},data:function(e,t){var i;if(void 0!==t){for(var n=0;n<this.length;n+=1)(i=this[n]).dom7ElementDataStorage||(i.dom7ElementDataStorage={}),i.dom7ElementDataStorage[e]=t;return this}if(i=this[0])return i.dom7ElementDataStorage&&e in i.dom7ElementDataStorage?i.dom7ElementDataStorage[e]:i.getAttribute("data-"+e)||void 0},transform:function(e){for(var t=0;t<this.length;t+=1){var i=this[t].style;i.webkitTransform=e,i.transform=e}return this},transition:function(e){"string"!=typeof e&&(e+="ms");for(var t=0;t<this.length;t+=1){var i=this[t].style;i.webkitTransitionDuration=e,i.transitionDuration=e}return this},on:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var i=e[0],o=e[1],a=e[2],n=e[3];function s(e){var t=e.target;if(t){var i=e.target.dom7EventData||[];if(i.indexOf(e)<0&&i.unshift(e),E(t).is(o))a.apply(t,i);else for(var n=E(t).parents(),s=0;s<n.length;s+=1)E(n[s]).is(o)&&a.apply(n[s],i)}}function r(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),a.apply(this,t)}"function"==typeof e[1]&&(i=e[0],a=e[1],n=e[2],o=void 0);for(var l,n=n||!1,c=i.split(" "),d=0;d<this.length;d+=1){var u=this[d];if(o)for(l=0;l<c.length;l+=1){var h=c[l];u.dom7LiveListeners||(u.dom7LiveListeners={}),u.dom7LiveListeners[h]||(u.dom7LiveListeners[h]=[]),u.dom7LiveListeners[h].push({listener:a,proxyListener:s}),u.addEventListener(h,s,n)}else for(l=0;l<c.length;l+=1){var p=c[l];u.dom7Listeners||(u.dom7Listeners={}),u.dom7Listeners[p]||(u.dom7Listeners[p]=[]),u.dom7Listeners[p].push({listener:a,proxyListener:r}),u.addEventListener(p,r,n)}}return this},off:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var i=e[0],n=e[1],s=e[2],o=e[3];"function"==typeof e[1]&&(i=e[0],s=e[1],o=e[2],n=void 0);for(var o=o||!1,a=i.split(" "),r=0;r<a.length;r+=1)for(var l=a[r],c=0;c<this.length;c+=1){var d=this[c],u=void 0;if(!n&&d.dom7Listeners?u=d.dom7Listeners[l]:n&&d.dom7LiveListeners&&(u=d.dom7LiveListeners[l]),u&&u.length)for(var h=u.length-1;0<=h;--h){var p=u[h];(s&&p.listener===s||s&&p.listener&&p.listener.dom7proxy&&p.listener.dom7proxy===s||!s)&&(d.removeEventListener(l,p.proxyListener,o),u.splice(h,1))}}return this},trigger:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var i=e[0].split(" "),n=e[1],s=0;s<i.length;s+=1)for(var o=i[s],a=0;a<this.length;a+=1){var r=this[a],l=void 0;try{l=new Y.CustomEvent(o,{detail:n,bubbles:!0,cancelable:!0})}catch(e){(l=u.createEvent("Event")).initEvent(o,!0,!0),l.detail=n}r.dom7EventData=e.filter(function(e,t){return 0<t}),r.dispatchEvent(l),r.dom7EventData=[],delete r.dom7EventData}return this},transitionEnd:function(t){var i,n=["webkitTransitionEnd","transitionend"],s=this;function o(e){if(e.target===this)for(t.call(this,e),i=0;i<n.length;i+=1)s.off(n[i],o)}if(t)for(i=0;i<n.length;i+=1)s.on(n[i],o);return this},outerWidth:function(e){return 0<this.length?e?(e=this.styles(),this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))):this[0].offsetWidth:null},outerHeight:function(e){return 0<this.length?e?(e=this.styles(),this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))):this[0].offsetHeight:null},offset:function(){var e,t,i,n,s;return 0<this.length?(e=(s=this[0]).getBoundingClientRect(),i=u.body,t=s.clientTop||i.clientTop||0,i=s.clientLeft||i.clientLeft||0,n=s===Y?Y.scrollY:s.scrollTop,s=s===Y?Y.scrollX:s.scrollLeft,{top:e.top+n-t,left:e.left+s-i}):null},css:function(e,t){var i;if(1===arguments.length){if("string"!=typeof e){for(i=0;i<this.length;i+=1)for(var n in e)this[i].style[n]=e[n];return this}if(this[0])return Y.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e)for(i=0;i<this.length;i+=1)this[i].style[e]=t;return this},each:function(e){if(e)for(var t=0;t<this.length;t+=1)if(!1===e.call(this[t],t,this[t]))return this;return this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:void 0;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){var t,i,n=this[0];if(n&&void 0!==e)if("string"==typeof e){if(n.matches)return n.matches(e);if(n.webkitMatchesSelector)return n.webkitMatchesSelector(e);if(n.msMatchesSelector)return n.msMatchesSelector(e);for(t=E(e),i=0;i<t.length;i+=1)if(t[i]===n)return!0}else{if(e===u)return n===u;if(e===Y)return n===Y;if(e.nodeType||e instanceof l)for(t=e.nodeType?[e]:e,i=0;i<t.length;i+=1)if(t[i]===n)return!0}return!1},index:function(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){var t;return void 0===e?this:(t=this.length,new l(t-1<e?[]:e<0?(t=t+e)<0?[]:[this[t]]:[this[e]]))},append:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var i=0;i<e.length;i+=1)for(var n=e[i],s=0;s<this.length;s+=1)if("string"==typeof n){var o=u.createElement("div");for(o.innerHTML=n;o.firstChild;)this[s].appendChild(o.firstChild)}else if(n instanceof l)for(var a=0;a<n.length;a+=1)this[s].appendChild(n[a]);else this[s].appendChild(n);return this},prepend:function(e){for(var t,i=0;i<this.length;i+=1)if("string"==typeof e){var n=u.createElement("div");for(n.innerHTML=e,t=n.childNodes.length-1;0<=t;--t)this[i].insertBefore(n.childNodes[t],this[i].childNodes[0])}else if(e instanceof l)for(t=0;t<e.length;t+=1)this[i].insertBefore(e[t],this[i].childNodes[0]);else this[i].insertBefore(e,this[i].childNodes[0]);return this},next:function(e){return 0<this.length?e?this[0].nextElementSibling&&E(this[0].nextElementSibling).is(e)?new l([this[0].nextElementSibling]):new l([]):this[0].nextElementSibling?new l([this[0].nextElementSibling]):new l([]):new l([])},nextAll:function(e){var t=[],i=this[0];if(!i)return new l([]);for(;i.nextElementSibling;){var n=i.nextElementSibling;e&&!E(n).is(e)||t.push(n),i=n}return new l(t)},prev:function(e){var t;return 0<this.length?(t=this[0],e?t.previousElementSibling&&E(t.previousElementSibling).is(e)?new l([t.previousElementSibling]):new l([]):t.previousElementSibling?new l([t.previousElementSibling]):new l([])):new l([])},prevAll:function(e){var t=[],i=this[0];if(!i)return new l([]);for(;i.previousElementSibling;){var n=i.previousElementSibling;e&&!E(n).is(e)||t.push(n),i=n}return new l(t)},parent:function(e){for(var t=[],i=0;i<this.length;i+=1)null===this[i].parentNode||e&&!E(this[i].parentNode).is(e)||t.push(this[i].parentNode);return E(o(t))},parents:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var n=this[i].parentNode;n;)e&&!E(n).is(e)||t.push(n),n=n.parentNode;return E(o(t))},closest:function(e){var t=this;return void 0===e?new l([]):t=t.is(e)?t:t.parents(e).eq(0)},find:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var n=this[i].querySelectorAll(e),s=0;s<n.length;s+=1)t.push(n[s]);return new l(t)},children:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var n=this[i].childNodes,s=0;s<n.length;s+=1)e?1===n[s].nodeType&&E(n[s]).is(e)&&t.push(n[s]):1===n[s].nodeType&&t.push(n[s]);return new l(o(t))},filter:function(e){for(var t=[],i=0;i<this.length;i+=1)e.call(this[i],i,this[i])&&t.push(this[i]);return new l(t)},remove:function(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this},add:function(){for(var e,t=[],i=arguments.length;i--;)t[i]=arguments[i];for(e=0;e<t.length;e+=1)for(var n=E(t[e]),s=0;s<n.length;s+=1)this[this.length]=n[s],this.length+=1;return this},styles:function(){return this[0]?Y.getComputedStyle(this[0],null):{}}},X=(Object.keys(L).forEach(function(e){E.fn[e]=E.fn[e]||L[e]}),{deleteProps:function(e){var t=e;Object.keys(t).forEach(function(e){try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}})},nextTick:function(e,t){return void 0===t&&(t=0),setTimeout(e,t)},now:function(){return Date.now()},getTranslate:function(e,t){void 0===t&&(t="x");var i,n,s,e=Y.getComputedStyle(e,null);return Y.WebKitCSSMatrix?(6<(n=e.transform||e.webkitTransform).split(",").length&&(n=n.split(", ").map(function(e){return e.replace(",",".")}).join(", ")),s=new Y.WebKitCSSMatrix("none"===n?"":n)):i=(s=e.MozTransform||e.OTransform||e.MsTransform||e.msTransform||e.transform||e.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(n=Y.WebKitCSSMatrix?s.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),(n="y"===t?Y.WebKitCSSMatrix?s.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5]):n)||0},parseUrlQuery:function(e){var t,i,n,s,o={},e=e||Y.location.href;if("string"==typeof e&&e.length)for(s=(i=(e=-1<e.indexOf("?")?e.replace(/\S*\?/,""):"").split("&").filter(function(e){return""!==e})).length,t=0;t<s;t+=1)n=i[t].replace(/#\S+/g,"").split("="),o[decodeURIComponent(n[0])]=void 0===n[1]?void 0:decodeURIComponent(n[1])||"";return o},isObject:function(e){return"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object},extend:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var i=Object(e[0]),n=1;n<e.length;n+=1){var s=e[n];if(null!=s)for(var o=Object.keys(Object(s)),a=0,r=o.length;a<r;a+=1){var l=o[a],c=Object.getOwnPropertyDescriptor(s,l);void 0!==c&&c.enumerable&&(X.isObject(i[l])&&X.isObject(s[l])?X.extend(i[l],s[l]):!X.isObject(i[l])&&X.isObject(s[l])?(i[l]={},X.extend(i[l],s[l])):i[l]=s[l])}}return i}}),w={touch:Y.Modernizr&&!0===Y.Modernizr.touch||!!(0<Y.navigator.maxTouchPoints||"ontouchstart"in Y||Y.DocumentTouch&&u instanceof Y.DocumentTouch),pointerEvents:!!Y.PointerEvent&&"maxTouchPoints"in Y.navigator&&0<Y.navigator.maxTouchPoints,observer:"MutationObserver"in Y||"WebkitMutationObserver"in Y,passiveListener:(()=>{var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});Y.addEventListener("testPassiveListener",null,t)}catch(e){}return e})(),gestures:"ongesturestart"in Y},a={components:{configurable:!0}},a=(e.prototype.on=function(e,t,i){var n,s=this;return"function"==typeof t&&(n=i?"unshift":"push",e.split(" ").forEach(function(e){s.eventsListeners[e]||(s.eventsListeners[e]=[]),s.eventsListeners[e][n](t)})),s},e.prototype.once=function(i,n,e){var s=this;return"function"!=typeof n?s:(o.f7proxy=n,s.on(i,o,e));function o(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];s.off(i,o),o.f7proxy&&delete o.f7proxy,n.apply(s,e)}},e.prototype.off=function(e,n){var s=this;return s.eventsListeners&&e.split(" ").forEach(function(i){void 0===n?s.eventsListeners[i]=[]:s.eventsListeners[i]&&s.eventsListeners[i].length&&s.eventsListeners[i].forEach(function(e,t){(e===n||e.f7proxy&&e.f7proxy===n)&&s.eventsListeners[i].splice(t,1)})}),s},e.prototype.emit=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var i,n,s,o=this;return o.eventsListeners&&(s="string"==typeof e[0]||Array.isArray(e[0])?(i=e[0],n=e.slice(1,e.length),o):(i=e[0].events,n=e[0].data,e[0].context||o),(Array.isArray(i)?i:i.split(" ")).forEach(function(e){var t;o.eventsListeners&&o.eventsListeners[e]&&(t=[],o.eventsListeners[e].forEach(function(e){t.push(e)}),t.forEach(function(e){e.apply(s,n)}))})),o},e.prototype.useModulesParams=function(t){var i=this;i.modules&&Object.keys(i.modules).forEach(function(e){e=i.modules[e];e.params&&X.extend(t,e.params)})},e.prototype.useModules=function(t){void 0===t&&(t={});var n=this;n.modules&&Object.keys(n.modules).forEach(function(e){var i=n.modules[e],e=t[e]||{};i.instance&&Object.keys(i.instance).forEach(function(e){var t=i.instance[e];n[e]="function"==typeof t?t.bind(n):t}),i.on&&n.on&&Object.keys(i.on).forEach(function(e){n.on(e,i.on[e])}),i.create&&i.create.bind(n)(e)})},a.components.set=function(e){this.use&&this.use(e)},e.installModule=function(t){for(var e=[],i=arguments.length-1;0<i--;)e[i]=arguments[i+1];var n=this,s=(n.prototype.modules||(n.prototype.modules={}),t.name||Object.keys(n.prototype.modules).length+"_"+X.now());return(n.prototype.modules[s]=t).proto&&Object.keys(t.proto).forEach(function(e){n.prototype[e]=t.proto[e]}),t.static&&Object.keys(t.static).forEach(function(e){n[e]=t.static[e]}),t.install&&t.install.apply(n,e),n},e.use=function(e){for(var t=[],i=arguments.length-1;0<i--;)t[i]=arguments[i+1];var n=this;return Array.isArray(e)?(e.forEach(function(e){return n.installModule(e)}),n):n.installModule.apply(n,[e].concat(t))},Object.defineProperties(e,a),{updateSize:function(){var e=this.$el,t=void 0!==this.params.width?this.params.width:e[0].clientWidth,i=void 0!==this.params.height?this.params.height:e[0].clientHeight;0===t&&this.isHorizontal()||0===i&&this.isVertical()||(t=t-parseInt(e.css("padding-left"),10)-parseInt(e.css("padding-right"),10),i=i-parseInt(e.css("padding-top"),10)-parseInt(e.css("padding-bottom"),10),X.extend(this,{width:t,height:i,size:this.isHorizontal()?t:i}))},updateSlides:function(){var t=this.params,e=this.$wrapperEl,i=this.size,n=this.rtlTranslate,N=this.wrongRTL,s=this.virtual&&t.virtual.enabled,F=(s?this.virtual:this).slides.length,o=e.children("."+this.params.slideClass),a=(s?this.virtual.slides:o).length,r=[],l=[],c=[];function d(e){return!t.cssMode||e!==o.length-1}var u,h=t.slidesOffsetBefore,p=("function"==typeof h&&(h=t.slidesOffsetBefore.call(this)),t.slidesOffsetAfter),s=("function"==typeof p&&(p=t.slidesOffsetAfter.call(this)),this.snapGrid.length),B=this.snapGrid.length,f=t.spaceBetween,m=-h,g=0,v=0;if(void 0!==i){"string"==typeof f&&0<=f.indexOf("%")&&(f=parseFloat(f.replace("%",""))/100*i),this.virtualSize=-f,n?o.css({marginLeft:"",marginTop:""}):o.css({marginRight:"",marginBottom:""}),1<t.slidesPerColumn&&(u=Math.floor(a/t.slidesPerColumn)===a/this.params.slidesPerColumn?a:Math.ceil(a/t.slidesPerColumn)*t.slidesPerColumn,"auto"!==t.slidesPerView)&&"row"===t.slidesPerColumnFill&&(u=Math.max(u,t.slidesPerView*t.slidesPerColumn));for(var y,R,b,j,w=t.slidesPerColumn,W=u/w,$=Math.floor(a/t.slidesPerColumn),x=0;x<a;x+=1){k=0;var E,A,S,T,C,M,k,z,I,P,H,q,G,_=o.eq(x);1<t.slidesPerColumn&&(M=C=T=void 0,"row"===t.slidesPerColumnFill&&1<t.slidesPerGroup?(S=Math.floor(x/(t.slidesPerGroup*t.slidesPerColumn)),E=x-t.slidesPerColumn*t.slidesPerGroup*S,A=0===S?t.slidesPerGroup:Math.min(Math.ceil((a-S*w*t.slidesPerGroup)/w),t.slidesPerGroup),T=(C=E-(M=Math.floor(E/A))*A+S*t.slidesPerGroup)+M*u/w,_.css({"-webkit-box-ordinal-group":T,"-moz-box-ordinal-group":T,"-ms-flex-order":T,"-webkit-order":T,order:T})):"column"===t.slidesPerColumnFill?(M=x-(C=Math.floor(x/w))*w,($<C||C===$&&M===w-1)&&(M+=1)>=w&&(M=0,C+=1)):C=x-(M=Math.floor(x/W))*W,_.css("margin-"+(this.isHorizontal()?"top":"left"),0!==M&&t.spaceBetween&&t.spaceBetween+"px")),"none"!==_.css("display")&&("auto"===t.slidesPerView?(E=Y.getComputedStyle(_[0],null),A=_[0].style.transform,S=_[0].style.webkitTransform,A&&(_[0].style.transform="none"),S&&(_[0].style.webkitTransform="none"),k=t.roundLengths?this.isHorizontal()?_.outerWidth(!0):_.outerHeight(!0):this.isHorizontal()?(T=parseFloat(E.getPropertyValue("width")),C=parseFloat(E.getPropertyValue("padding-left")),M=parseFloat(E.getPropertyValue("padding-right")),I=parseFloat(E.getPropertyValue("margin-left")),P=parseFloat(E.getPropertyValue("margin-right")),(z=E.getPropertyValue("box-sizing"))&&"border-box"===z?T+I+P:T+C+M+I+P):(z=parseFloat(E.getPropertyValue("height")),I=parseFloat(E.getPropertyValue("padding-top")),P=parseFloat(E.getPropertyValue("padding-bottom")),H=parseFloat(E.getPropertyValue("margin-top")),q=parseFloat(E.getPropertyValue("margin-bottom")),(G=E.getPropertyValue("box-sizing"))&&"border-box"===G?z+H+q:z+I+P+H+q),A&&(_[0].style.transform=A),S&&(_[0].style.webkitTransform=S),t.roundLengths&&(k=Math.floor(k))):(k=(i-(t.slidesPerView-1)*f)/t.slidesPerView,t.roundLengths&&(k=Math.floor(k)),o[x]&&(this.isHorizontal()?o[x].style.width=k+"px":o[x].style.height=k+"px")),o[x]&&(o[x].swiperSlideSize=k),c.push(k),t.centeredSlides?(m=m+k/2+g/2+f,0===g&&0!==x&&(m=m-i/2-f),0===x&&(m=m-i/2-f),Math.abs(m)<.001&&(m=0),t.roundLengths&&(m=Math.floor(m)),v%t.slidesPerGroup==0&&r.push(m),l.push(m)):(t.roundLengths&&(m=Math.floor(m)),(v-Math.min(this.params.slidesPerGroupSkip,v))%this.params.slidesPerGroup==0&&r.push(m),l.push(m),m=m+k+f),this.virtualSize+=k+f,g=k,v+=1)}if(this.virtualSize=Math.max(this.virtualSize,i)+p,n&&N&&("slide"===t.effect||"coverflow"===t.effect)&&e.css({width:this.virtualSize+t.spaceBetween+"px"}),t.setWrapperSize&&(this.isHorizontal()?e.css({width:this.virtualSize+t.spaceBetween+"px"}):e.css({height:this.virtualSize+t.spaceBetween+"px"})),1<t.slidesPerColumn&&(this.virtualSize=(k+t.spaceBetween)*u,this.virtualSize=Math.ceil(this.virtualSize/t.slidesPerColumn)-t.spaceBetween,this.isHorizontal()?e.css({width:this.virtualSize+t.spaceBetween+"px"}):e.css({height:this.virtualSize+t.spaceBetween+"px"}),t.centeredSlides)){for(var D=[],L=0;L<r.length;L+=1){var U=r[L];t.roundLengths&&(U=Math.floor(U)),r[L]<this.virtualSize+r[0]&&D.push(U)}r=D}if(!t.centeredSlides){D=[];for(var O=0;O<r.length;O+=1){var V=r[O];t.roundLengths&&(V=Math.floor(V)),r[O]<=this.virtualSize-i&&D.push(V)}r=D,1<Math.floor(this.virtualSize-i)-Math.floor(r[r.length-1])&&r.push(this.virtualSize-i)}0===r.length&&(r=[0]),0!==t.spaceBetween&&(this.isHorizontal()?n?o.filter(d).css({marginLeft:f+"px"}):o.filter(d).css({marginRight:f+"px"}):o.filter(d).css({marginBottom:f+"px"})),t.centeredSlides&&t.centeredSlidesBounds&&(y=0,c.forEach(function(e){y+=e+(t.spaceBetween||0)}),R=(y-=t.spaceBetween)-i,r=r.map(function(e){return e<0?-h:R<e?R+p:e})),t.centerInsufficientSlides&&(b=0,c.forEach(function(e){b+=e+(t.spaceBetween||0)}),(b-=t.spaceBetween)<i)&&(j=(i-b)/2,r.forEach(function(e,t){r[t]=e-j}),l.forEach(function(e,t){l[t]=e+j})),X.extend(this,{slides:o,snapGrid:r,slidesGrid:l,slidesSizesGrid:c}),a!==F&&this.emit("slidesLengthChange"),r.length!==s&&(this.params.watchOverflow&&this.checkOverflow(),this.emit("snapGridLengthChange")),l.length!==B&&this.emit("slidesGridLengthChange"),(t.watchSlidesProgress||t.watchSlidesVisibility)&&this.updateSlidesOffset()}},updateAutoHeight:function(e){var t,i,n=[],s=0;if("number"==typeof e?this.setTransition(e):!0===e&&this.setTransition(this.params.speed),"auto"!==this.params.slidesPerView&&1<this.params.slidesPerView)if(this.params.centeredSlides)n.push.apply(n,this.visibleSlides);else for(t=0;t<Math.ceil(this.params.slidesPerView);t+=1){var o=this.activeIndex+t;if(o>this.slides.length)break;n.push(this.slides.eq(o)[0])}else n.push(this.slides.eq(this.activeIndex)[0]);for(t=0;t<n.length;t+=1)void 0!==n[t]&&(s=s<(i=n[t].offsetHeight)?i:s);s&&this.$wrapperEl.css("height",s+"px")},updateSlidesOffset:function(){for(var e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this.params,i=this.slides,n=this.rtlTranslate;if(0!==i.length){void 0===i[0].swiperSlideOffset&&this.updateSlidesOffset();var s=n?e:-e;i.removeClass(t.slideVisibleClass),this.visibleSlidesIndexes=[],this.visibleSlides=[];for(var o=0;o<i.length;o+=1){var a,r,l=i[o],c=(s+(t.centeredSlides?this.minTranslate():0)-l.swiperSlideOffset)/(l.swiperSlideSize+t.spaceBetween);(t.watchSlidesVisibility||t.centeredSlides&&t.autoHeight)&&(r=(a=-(s-l.swiperSlideOffset))+this.slidesSizesGrid[o],0<=a&&a<this.size-1||1<r&&r<=this.size||a<=0&&r>=this.size)&&(this.visibleSlides.push(l),this.visibleSlidesIndexes.push(o),i.eq(o).addClass(t.slideVisibleClass)),l.progress=n?-c:c}this.visibleSlides=E(this.visibleSlides)}},updateProgress:function(e){void 0===e&&(t=this.rtlTranslate?-1:1,e=this&&this.translate&&this.translate*t||0);var t=this.params,i=this.maxTranslate()-this.minTranslate(),n=this.progress,s=this.isBeginning,o=s,a=r=this.isEnd,r=0==i?s=!(n=0):(s=(n=(e-this.minTranslate())/i)<=0,1<=n);X.extend(this,{progress:n,isBeginning:s,isEnd:r}),(t.watchSlidesProgress||t.watchSlidesVisibility||t.centeredSlides&&t.autoHeight)&&this.updateSlidesProgress(e),s&&!o&&this.emit("reachBeginning toEdge"),r&&!a&&this.emit("reachEnd toEdge"),(o&&!s||a&&!r)&&this.emit("fromEdge"),this.emit("progress",n)},updateSlidesClasses:function(){var e=this.slides,t=this.params,i=this.$wrapperEl,n=this.activeIndex,s=this.realIndex,o=this.virtual&&t.virtual.enabled,n=(e.removeClass(t.slideActiveClass+" "+t.slideNextClass+" "+t.slidePrevClass+" "+t.slideDuplicateActiveClass+" "+t.slideDuplicateNextClass+" "+t.slideDuplicatePrevClass),(o=o?this.$wrapperEl.find("."+t.slideClass+'[data-swiper-slide-index="'+n+'"]'):e.eq(n)).addClass(t.slideActiveClass),t.loop&&(o.hasClass(t.slideDuplicateClass)?i.children("."+t.slideClass+":not(."+t.slideDuplicateClass+')[data-swiper-slide-index="'+s+'"]'):i.children("."+t.slideClass+"."+t.slideDuplicateClass+'[data-swiper-slide-index="'+s+'"]')).addClass(t.slideDuplicateActiveClass),o.nextAll("."+t.slideClass).eq(0).addClass(t.slideNextClass)),s=(t.loop&&0===n.length&&(n=e.eq(0)).addClass(t.slideNextClass),o.prevAll("."+t.slideClass).eq(0).addClass(t.slidePrevClass));t.loop&&0===s.length&&(s=e.eq(-1)).addClass(t.slidePrevClass),t.loop&&((n.hasClass(t.slideDuplicateClass)?i.children("."+t.slideClass+":not(."+t.slideDuplicateClass+')[data-swiper-slide-index="'+n.attr("data-swiper-slide-index")+'"]'):i.children("."+t.slideClass+"."+t.slideDuplicateClass+'[data-swiper-slide-index="'+n.attr("data-swiper-slide-index")+'"]')).addClass(t.slideDuplicateNextClass),(s.hasClass(t.slideDuplicateClass)?i.children("."+t.slideClass+":not(."+t.slideDuplicateClass+')[data-swiper-slide-index="'+s.attr("data-swiper-slide-index")+'"]'):i.children("."+t.slideClass+"."+t.slideDuplicateClass+'[data-swiper-slide-index="'+s.attr("data-swiper-slide-index")+'"]')).addClass(t.slideDuplicatePrevClass))},updateActiveIndex:function(e){var t=this.rtlTranslate?this.translate:-this.translate,i=this.slidesGrid,n=this.snapGrid,s=this.params,o=this.activeIndex,a=this.realIndex,r=this.snapIndex,l=e;if(void 0===l){for(var c=0;c<i.length;c+=1)void 0!==i[c+1]?t>=i[c]&&t<i[c+1]-(i[c+1]-i[c])/2?l=c:t>=i[c]&&t<i[c+1]&&(l=c+1):t>=i[c]&&(l=c);s.normalizeSlideIndex&&(l<0||void 0===l)&&(l=0)}(e=0<=n.indexOf(t)?n.indexOf(t):(e=Math.min(s.slidesPerGroupSkip,l))+Math.floor((l-e)/s.slidesPerGroup))>=n.length&&(e=n.length-1),l!==o?(s=parseInt(this.slides.eq(l).attr("data-swiper-slide-index")||l,10),X.extend(this,{snapIndex:e,realIndex:s,previousIndex:o,activeIndex:l}),this.emit("activeIndexChange"),this.emit("snapIndexChange"),a!==s&&this.emit("realIndexChange"),(this.initialized||this.runCallbacksOnInit)&&this.emit("slideChange")):e!==r&&(this.snapIndex=e,this.emit("snapIndexChange"))},updateClickedSlide:function(e){var t=this.params,i=E(e.target).closest("."+t.slideClass)[0],n=!1;if(i)for(var s=0;s<this.slides.length;s+=1)this.slides[s]===i&&(n=!0);i&&n?(this.clickedSlide=i,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt(E(i).attr("data-swiper-slide-index"),10):this.clickedIndex=E(i).index(),t.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()):(this.clickedSlide=void 0,this.clickedIndex=void 0)}}),O={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this.params,i=this.rtlTranslate,n=this.translate,s=this.$wrapperEl;return t.virtualTranslate?i?-n:n:t.cssMode?n:(t=X.getTranslate(s[0],e),(t=i?-t:t)||0)},setTranslate:function(e,t){var i=this.rtlTranslate,n=this.params,s=this.$wrapperEl,o=this.wrapperEl,a=this.progress,r=0,l=0,i=(this.isHorizontal()?r=i?-e:e:l=e,n.roundLengths&&(r=Math.floor(r),l=Math.floor(l)),n.cssMode?o[this.isHorizontal()?"scrollLeft":"scrollTop"]=this.isHorizontal()?-r:-l:n.virtualTranslate||s.transform("translate3d("+r+"px, "+l+"px, 0px)"),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?r:l,this.maxTranslate()-this.minTranslate());(0==i?0:(e-this.minTranslate())/i)!==a&&this.updateProgress(e),this.emit("setTranslate",this.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,i,n,s){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),void 0===n&&(n=!0);var o,a,r=this,l=r.params,c=r.wrapperEl;return!(r.animating&&l.preventInteractionOnTransition||(a=r.minTranslate(),o=r.maxTranslate(),r.updateProgress(a=n&&a<e?a:n&&e<o?o:e),l.cssMode?(n=r.isHorizontal(),0!==t&&c.scrollTo?c.scrollTo(((o={})[n?"left":"top"]=-a,o.behavior="smooth",o)):c[n?"scrollLeft":"scrollTop"]=-a):0===t?(r.setTransition(0),r.setTranslate(a),i&&(r.emit("beforeTransitionStart",t,s),r.emit("transitionEnd"))):(r.setTransition(t),r.setTranslate(a),i&&(r.emit("beforeTransitionStart",t,s),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,i)&&r.emit("transitionEnd")}),r.$wrapperEl[0].addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onTranslateToWrapperTransitionEnd))),0))}},N={slideTo:function(e,t,i,n){void 0===t&&(t=this.params.speed),void 0===i&&(i=!0);var s=this,o=e=void 0===e?0:e,e=(o<0&&(o=0),s.params),a=s.snapGrid,r=s.slidesGrid,l=s.previousIndex,c=s.activeIndex,d=s.rtlTranslate,u=s.wrapperEl;if(s.animating&&e.preventInteractionOnTransition)return!1;var h=Math.min(s.params.slidesPerGroupSkip,o),h=h+Math.floor((o-h)/s.params.slidesPerGroup);h>=a.length&&(h=a.length-1),(c||e.initialSlide||0)===(l||0)&&i&&s.emit("beforeSlideChangeStart");var p,f=-a[h];if(s.updateProgress(f),e.normalizeSlideIndex)for(var m=0;m<r.length;m+=1)-Math.floor(100*f)>=Math.floor(100*r[m])&&(o=m);if(s.initialized&&o!==c){if(!s.allowSlideNext&&f<s.translate&&f<s.minTranslate())return!1;if(!s.allowSlidePrev&&f>s.translate&&f>s.maxTranslate()&&(c||0)!==o)return!1}return p=c<o?"next":o<c?"prev":"reset",d&&-f===s.translate||!d&&f===s.translate?(s.updateActiveIndex(o),e.autoHeight&&s.updateAutoHeight(),s.updateSlidesClasses(),"slide"!==e.effect&&s.setTranslate(f),"reset"!=p&&(s.transitionStart(i,p),s.transitionEnd(i,p)),!1):(e.cssMode?(l=s.isHorizontal(),0!==t&&u.scrollTo?u.scrollTo(((a={})[l?"left":"top"]=-f,a.behavior="smooth",a)):u[l?"scrollLeft":"scrollTop"]=-f):0===t?(s.setTransition(0),s.setTranslate(f),s.updateActiveIndex(o),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,n),s.transitionStart(i,p),s.transitionEnd(i,p)):(s.setTransition(t),s.setTranslate(f),s.updateActiveIndex(o),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,n),s.transitionStart(i,p),s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(e){s&&!s.destroyed&&e.target===this&&(s.$wrapperEl[0].removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.$wrapperEl[0].removeEventListener("webkitTransitionEnd",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(i,p))}),s.$wrapperEl[0].addEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.$wrapperEl[0].addEventListener("webkitTransitionEnd",s.onSlideToWrapperTransitionEnd))),!0)},slideToLoop:function(e,t,i,n){void 0===t&&(t=this.params.speed);e=void 0===e?0:e;return this.params.loop&&(e+=this.loopedSlides),this.slideTo(e,t,i=void 0===i?!0:i,n)},slideNext:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var n=this.params,s=this.animating,o=this.activeIndex<n.slidesPerGroupSkip?1:n.slidesPerGroup;if(n.loop){if(s)return!1;this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft}return this.slideTo(this.activeIndex+o,e,t,i)},slidePrev:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var n=this.params,s=this.animating,o=this.snapGrid,a=this.slidesGrid,r=this.rtlTranslate;if(n.loop){if(s)return!1;this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft}function l(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var c,d=l(r?this.translate:-this.translate),s=o.map(l),u=(a.map(l),o[s.indexOf(d)],o[s.indexOf(d)-1]);return void 0===u&&n.cssMode&&o.forEach(function(e){!u&&e<=d&&(u=e)}),void 0!==u&&(c=a.indexOf(u))<0&&(c=this.activeIndex-1),this.slideTo(c,e,t,i)},slideReset:function(e,t,i){return void 0===e&&(e=this.params.speed),this.slideTo(this.activeIndex,e,t=void 0===t?!0:t,i)},slideToClosest:function(e,t,i,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===n&&(n=.5);var s,o=this.activeIndex,a=Math.min(this.params.slidesPerGroupSkip,o),a=a+Math.floor((o-a)/this.params.slidesPerGroup),r=this.rtlTranslate?this.translate:-this.translate;return r>=this.snapGrid[a]?r-(s=this.snapGrid[a])>(this.snapGrid[a+1]-s)*n&&(o+=this.params.slidesPerGroup):r-(s=this.snapGrid[a-1])<=(this.snapGrid[a]-s)*n&&(o-=this.params.slidesPerGroup),o=Math.max(o,0),o=Math.min(o,this.slidesGrid.length-1),this.slideTo(o,e,t,i)},slideToClickedSlide:function(){var e,t=this,i=t.params,n=t.$wrapperEl,s="auto"===i.slidesPerView?t.slidesPerViewDynamic():i.slidesPerView,o=t.clickedIndex;i.loop?t.animating||(e=parseInt(E(t.clickedSlide).attr("data-swiper-slide-index"),10),i.centeredSlides?o<t.loopedSlides-s/2||o>t.slides.length-t.loopedSlides+s/2?(t.loopFix(),o=n.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),X.nextTick(function(){t.slideTo(o)})):t.slideTo(o):o>t.slides.length-s?(t.loopFix(),o=n.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),X.nextTick(function(){t.slideTo(o)})):t.slideTo(o)):t.slideTo(o)}},F={loopCreate:function(){var n=this,e=n.params,t=n.$wrapperEl,s=(t.children("."+e.slideClass+"."+e.slideDuplicateClass).remove(),t.children("."+e.slideClass));if(e.loopFillGroupWithBlank){var i=e.slidesPerGroup-s.length%e.slidesPerGroup;if(i!==e.slidesPerGroup){for(var o=0;o<i;o+=1){var a=E(u.createElement("div")).addClass(e.slideClass+" "+e.slideBlankClass);t.append(a)}s=t.children("."+e.slideClass)}}"auto"!==e.slidesPerView||e.loopedSlides||(e.loopedSlides=s.length),n.loopedSlides=Math.ceil(parseFloat(e.loopedSlides||e.slidesPerView,10)),n.loopedSlides+=e.loopAdditionalSlides,n.loopedSlides>s.length&&(n.loopedSlides=s.length);var r=[],l=[];s.each(function(e,t){var i=E(t);e<n.loopedSlides&&l.push(t),e<s.length&&e>=s.length-n.loopedSlides&&r.push(t),i.attr("data-swiper-slide-index",e)});for(var c=0;c<l.length;c+=1)t.append(E(l[c].cloneNode(!0)).addClass(e.slideDuplicateClass));for(var d=r.length-1;0<=d;--d)t.prepend(E(r[d].cloneNode(!0)).addClass(e.slideDuplicateClass))},loopFix:function(){this.emit("beforeLoopFix");var e,t=this.activeIndex,i=this.slides,n=this.loopedSlides,s=this.allowSlidePrev,o=this.allowSlideNext,a=this.snapGrid,r=this.rtlTranslate,a=(this.allowSlidePrev=!0,this.allowSlideNext=!0,-a[t]-this.getTranslate());t<n?(e=i.length-3*n+t,this.slideTo(e+=n,0,!1,!0)&&0!=a&&this.setTranslate((r?-this.translate:this.translate)-a)):t>=i.length-n&&(e=-i.length+t+n,this.slideTo(e+=n,0,!1,!0))&&0!=a&&this.setTranslate((r?-this.translate:this.translate)-a),this.allowSlidePrev=s,this.allowSlideNext=o,this.emit("loopFix")},loopDestroy:function(){var e=this.$wrapperEl,t=this.params,i=this.slides;e.children("."+t.slideClass+"."+t.slideDuplicateClass+",."+t.slideClass+"."+t.slideBlankClass).remove(),i.removeAttr("data-swiper-slide-index")}},B={setGrabCursor:function(e){var t;w.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked||this.params.cssMode||((t=this.el).style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab")},unsetGrabCursor:function(){w.touch||this.params.watchOverflow&&this.isLocked||this.params.cssMode||(this.el.style.cursor="")}},R={appendSlide:function(e){var t=this.$wrapperEl,i=this.params;if(i.loop&&this.loopDestroy(),"object"==typeof e&&"length"in e)for(var n=0;n<e.length;n+=1)e[n]&&t.append(e[n]);else t.append(e);i.loop&&this.loopCreate(),i.observer&&w.observer||this.update()},prependSlide:function(e){var t=this.params,i=this.$wrapperEl,n=this.activeIndex,s=(t.loop&&this.loopDestroy(),n+1);if("object"==typeof e&&"length"in e){for(var o=0;o<e.length;o+=1)e[o]&&i.prepend(e[o]);s=n+e.length}else i.prepend(e);t.loop&&this.loopCreate(),t.observer&&w.observer||this.update(),this.slideTo(s,0,!1)},addSlide:function(e,t){var i=this.$wrapperEl,n=this.params,s=this.activeIndex,o=(n.loop&&(s-=this.loopedSlides,this.loopDestroy(),this.slides=i.children("."+n.slideClass)),this.slides.length);if(e<=0)this.prependSlide(t);else if(o<=e)this.appendSlide(t);else{for(var a=e<s?s+1:s,r=[],l=o-1;e<=l;--l){var c=this.slides.eq(l);c.remove(),r.unshift(c)}if("object"==typeof t&&"length"in t){for(var d=0;d<t.length;d+=1)t[d]&&i.append(t[d]);a=e<s?s+t.length:s}else i.append(t);for(var u=0;u<r.length;u+=1)i.append(r[u]);n.loop&&this.loopCreate(),n.observer&&w.observer||this.update(),n.loop?this.slideTo(a+this.loopedSlides,0,!1):this.slideTo(a,0,!1)}},removeSlide:function(e){var t=this.params,i=this.$wrapperEl,n=this.activeIndex;t.loop&&(n-=this.loopedSlides,this.loopDestroy(),this.slides=i.children("."+t.slideClass));var s,o=n;if("object"==typeof e&&"length"in e)for(var a=0;a<e.length;a+=1)this.slides[s=e[a]]&&this.slides.eq(s).remove(),s<o&&--o;else this.slides[s=e]&&this.slides.eq(s).remove(),s<o&&--o;o=Math.max(o,0),t.loop&&this.loopCreate(),t.observer&&w.observer||this.update(),t.loop?this.slideTo(o+this.loopedSlides,0,!1):this.slideTo(o,0,!1)},removeAllSlides:function(){for(var e=[],t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}},r=(s=Y.navigator.platform,D=Y.navigator.userAgent,t={ios:!1,android:!1,androidChrome:!1,desktop:!1,iphone:!1,ipod:!1,ipad:!1,edge:!1,ie:!1,firefox:!1,macos:!1,windows:!1,cordova:!(!Y.cordova&&!Y.phonegap),phonegap:!(!Y.cordova&&!Y.phonegap),electron:!1},h=Y.screen.width,f=Y.screen.height,m=D.match(/(Android);?[\s\/]+([\d.]+)?/),b=D.match(/(iPad).*OS\s([\d_]+)/),x=D.match(/(iPod)(.*OS\s([\d_]+))?/),v=!b&&D.match(/(iPhone\sOS|iOS)\s([\d_]+)/),U=0<=D.indexOf("MSIE ")||0<=D.indexOf("Trident/"),c=0<=D.indexOf("Edge/"),V=0<=D.indexOf("Gecko/")&&0<=D.indexOf("Firefox/"),i="Win32"===s,n=0<=D.toLowerCase().indexOf("electron"),s="MacIntel"===s,!b&&s&&w.touch&&(1024===h&&1366===f||834===h&&1194===f||834===h&&1112===f||768===h&&1024===f)&&(b=D.match(/(Version)\/([\d.]+)/),s=!1),t.ie=U,t.edge=c,t.firefox=V,m&&!i&&(t.os="android",t.osVersion=m[2],t.android=!0,t.androidChrome=0<=D.toLowerCase().indexOf("chrome")),(b||v||x)&&(t.os="ios",t.ios=!0),v&&!x&&(t.osVersion=v[2].replace(/_/g,"."),t.iphone=!0),b&&(t.osVersion=b[2].replace(/_/g,"."),t.ipad=!0),x&&(t.osVersion=x[3]?x[3].replace(/_/g,"."):null,t.ipod=!0),t.ios&&t.osVersion&&0<=D.indexOf("Version/")&&"10"===t.osVersion.split(".")[0]&&(t.osVersion=D.toLowerCase().split("version/")[1].split(" ")[0]),t.webView=!(!(v||b||x)||!D.match(/.*AppleWebKit(?!.*Safari)/i)&&!Y.navigator.standalone)||Y.matchMedia&&Y.matchMedia("(display-mode: standalone)").matches,t.webview=t.webView,t.standalone=t.webView,t.desktop=!(t.ios||t.android)||n,t.desktop&&(t.electron=n,t.macos=s,t.windows=i,t.macos&&(t.os="macos"),t.windows)&&(t.os="windows"),t.pixelRatio=Y.devicePixelRatio||1,t);function j(){var e,t,i=this.params,n=this.el;n&&0===n.offsetWidth||(i.breakpoints&&this.setBreakpoint(),n=this.allowSlideNext,e=this.allowSlidePrev,t=this.snapGrid,this.allowSlideNext=!0,this.allowSlidePrev=!0,this.updateSize(),this.updateSlides(),this.updateSlidesClasses(),("auto"===i.slidesPerView||1<i.slidesPerView)&&this.isEnd&&!this.params.centeredSlides?this.slideTo(this.slides.length-1,0,!1,!0):this.slideTo(this.activeIndex,0,!1,!0),this.autoplay&&this.autoplay.running&&this.autoplay.paused&&this.autoplay.run(),this.allowSlidePrev=e,this.allowSlideNext=n,this.params.watchOverflow&&t!==this.snapGrid&&this.checkOverflow())}var W=!1;function $(){}var c,d,h,H={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0},q={update:a,translate:O,transition:{setTransition:function(e,t){this.params.cssMode||this.$wrapperEl.transition(e),this.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);var i=this.activeIndex,n=this.params,s=this.previousIndex;n.cssMode||(n.autoHeight&&this.updateAutoHeight(),n=(n=t)||(s<i?"next":i<s?"prev":"reset"),this.emit("transitionStart"),e&&i!==s&&("reset"===n?this.emit("slideResetTransitionStart"):(this.emit("slideChangeTransitionStart"),"next"===n?this.emit("slideNextTransitionStart"):this.emit("slidePrevTransitionStart"))))},transitionEnd:function(e,t){void 0===e&&(e=!0);var i=this.activeIndex,n=this.previousIndex,s=this.params;this.animating=!1,s.cssMode||(this.setTransition(0),s=(s=t)||(n<i?"next":i<n?"prev":"reset"),this.emit("transitionEnd"),e&&i!==n&&("reset"===s?this.emit("slideResetTransitionEnd"):(this.emit("slideChangeTransitionEnd"),"next"===s?this.emit("slideNextTransitionEnd"):this.emit("slidePrevTransitionEnd"))))}},slide:N,loop:F,grabCursor:B,manipulation:R,events:{attachEvents:function(){var e,t=this.params,i=this.touchEvents,n=this.el,s=this.wrapperEl,o=(this.onTouchStart=function(e){var t,i,n,s,o,a=this.touchEventsData,r=this.params,l=this.touches;this.animating&&r.preventInteractionOnTransition||(t=E((e=(e=e).originalEvent?e.originalEvent:e).target),"wrapper"===r.touchEventsTarget&&!t.closest(this.wrapperEl).length)||(a.isTouchEvent="touchstart"===e.type,!a.isTouchEvent&&"which"in e&&3===e.which)||(!a.isTouchEvent&&"button"in e&&0<e.button||a.isTouched&&a.isMoved)||(r.noSwiping&&t.closest(r.noSwipingSelector||"."+r.noSwipingClass)[0]?this.allowClick=!0:r.swipeHandler&&!t.closest(r.swipeHandler)[0]||(l.currentX=("touchstart"===e.type?e.targetTouches[0]:e).pageX,l.currentY=("touchstart"===e.type?e.targetTouches[0]:e).pageY,i=l.currentX,n=l.currentY,s=r.edgeSwipeDetection||r.iOSEdgeSwipeDetection,o=r.edgeSwipeThreshold||r.iOSEdgeSwipeThreshold,s&&(i<=o||i>=Y.screen.width-o))||(X.extend(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=i,l.startY=n,a.touchStartTime=X.now(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,0<r.threshold&&(a.allowThresholdMove=!1),"touchstart"!==e.type&&(s=!0,t.is(a.formElements)&&(s=!1),u.activeElement&&E(u.activeElement).is(a.formElements)&&u.activeElement!==t[0]&&u.activeElement.blur(),o=s&&this.allowTouchMove&&r.touchStartPreventDefault,r.touchStartForcePreventDefault||o)&&e.preventDefault(),this.emit("touchStart",e)))}.bind(this),this.onTouchMove=function(e){var t=this.touchEventsData,i=this.params,n=this.touches,s=this.rtlTranslate;if(e.originalEvent&&(e=e.originalEvent),t.isTouched){if(!t.isTouchEvent||"mousemove"!==e.type){var o="touchmove"===e.type&&e.targetTouches&&(e.targetTouches[0]||e.changedTouches[0]),a=("touchmove"===e.type?o:e).pageX,o=("touchmove"===e.type?o:e).pageY;if(e.preventedByNestedSwiper)n.startX=a,n.startY=o;else if(this.allowTouchMove){if(t.isTouchEvent&&i.touchReleaseOnEdges&&!i.loop)if(this.isVertical()){if(o<n.startY&&this.translate<=this.maxTranslate()||o>n.startY&&this.translate>=this.minTranslate())return t.isTouched=!1,void(t.isMoved=!1)}else if(a<n.startX&&this.translate<=this.maxTranslate()||a>n.startX&&this.translate>=this.minTranslate())return;if(t.isTouchEvent&&u.activeElement&&e.target===u.activeElement&&E(e.target).is(t.formElements))t.isMoved=!0,this.allowClick=!1;else if(t.allowTouchCallbacks&&this.emit("touchMove",e),!(e.targetTouches&&1<e.targetTouches.length)){n.currentX=a,n.currentY=o;var r=n.currentX-n.startX,l=n.currentY-n.startY;if(!(this.params.threshold&&Math.sqrt(Math.pow(r,2)+Math.pow(l,2))<this.params.threshold))if(void 0===t.isScrolling&&(this.isHorizontal()&&n.currentY===n.startY||this.isVertical()&&n.currentX===n.startX?t.isScrolling=!1:25<=r*r+l*l&&(c=180*Math.atan2(Math.abs(l),Math.abs(r))/Math.PI,t.isScrolling=this.isHorizontal()?c>i.touchAngle:90-c>i.touchAngle)),t.isScrolling&&this.emit("touchMoveOpposite",e),void 0!==t.startMoving||n.currentX===n.startX&&n.currentY===n.startY||(t.startMoving=!0),t.isScrolling)t.isTouched=!1;else if(t.startMoving){this.allowClick=!1,i.cssMode||e.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&e.stopPropagation(),t.isMoved||(i.loop&&this.loopFix(),t.startTranslate=this.getTranslate(),this.setTransition(0),this.animating&&this.$wrapperEl.trigger("webkitTransitionEnd transitionend"),t.allowMomentumBounce=!1,!i.grabCursor||!0!==this.allowSlideNext&&!0!==this.allowSlidePrev||this.setGrabCursor(!0),this.emit("sliderFirstMove",e)),this.emit("sliderMove",e),t.isMoved=!0;var c=this.isHorizontal()?r:l,r=(n.diff=c,c*=i.touchRatio,this.swipeDirection=0<(c=s?-c:c)?"prev":"next",t.currentTranslate=c+t.startTranslate,!0),l=i.resistanceRatio;if(i.touchReleaseOnEdges&&(l=0),0<c&&t.currentTranslate>this.minTranslate()?(r=!1,i.resistance&&(t.currentTranslate=this.minTranslate()-1+Math.pow(-this.minTranslate()+t.startTranslate+c,l))):c<0&&t.currentTranslate<this.maxTranslate()&&(r=!1,i.resistance)&&(t.currentTranslate=this.maxTranslate()+1-Math.pow(this.maxTranslate()-t.startTranslate-c,l)),r&&(e.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&t.currentTranslate<t.startTranslate&&(t.currentTranslate=t.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&t.currentTranslate>t.startTranslate&&(t.currentTranslate=t.startTranslate),0<i.threshold){if(!(Math.abs(c)>i.threshold||t.allowThresholdMove))return void(t.currentTranslate=t.startTranslate);if(!t.allowThresholdMove)return t.allowThresholdMove=!0,n.startX=n.currentX,n.startY=n.currentY,t.currentTranslate=t.startTranslate,void(n.diff=this.isHorizontal()?n.currentX-n.startX:n.currentY-n.startY)}i.followFinger&&!i.cssMode&&((i.freeMode||i.watchSlidesProgress||i.watchSlidesVisibility)&&(this.updateActiveIndex(),this.updateSlidesClasses()),i.freeMode&&(0===t.velocities.length&&t.velocities.push({position:n[this.isHorizontal()?"startX":"startY"],time:t.touchStartTime}),t.velocities.push({position:n[this.isHorizontal()?"currentX":"currentY"],time:X.now()})),this.updateProgress(t.currentTranslate),this.setTranslate(t.currentTranslate))}}}else this.allowClick=!1,t.isTouched&&(X.extend(n,{startX:a,startY:o,currentX:a,currentY:o}),t.touchStartTime=X.now())}}else t.startMoving&&t.isScrolling&&this.emit("touchMoveOpposite",e)}.bind(this),this.onTouchEnd=function(e){var t=this,i=t.touchEventsData,n=t.params,s=t.touches,o=t.rtlTranslate,a=t.$wrapperEl,r=t.slidesGrid,l=t.snapGrid;if(e.originalEvent&&(e=e.originalEvent),i.allowTouchCallbacks&&t.emit("touchEnd",e),i.allowTouchCallbacks=!1,i.isTouched){n.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var c,d=X.now(),u=d-i.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(e),t.emit("tap click",e),u<300)&&d-i.lastClickTime<300&&t.emit("doubleTap doubleClick",e),i.lastClickTime=X.now(),X.nextTick(function(){t.destroyed||(t.allowClick=!0)}),i.isTouched&&i.isMoved&&t.swipeDirection&&0!==s.diff&&i.currentTranslate!==i.startTranslate){if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,c=n.followFinger?o?t.translate:-t.translate:-i.currentTranslate,!n.cssMode)if(n.freeMode)if(c<-t.minTranslate())t.slideTo(t.activeIndex);else if(c>-t.maxTranslate())t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1);else{if(n.freeModeMomentum){(!(1<i.velocities.length)||(d=i.velocities.pop(),s=i.velocities.pop(),h=d.position-s.position,s=d.time-s.time,t.velocity=h/s,t.velocity/=2,Math.abs(t.velocity)<n.freeModeMinimumVelocity&&(t.velocity=0),150<s)||300<X.now()-d.time)&&(t.velocity=0),t.velocity*=n.freeModeMomentumVelocityRatio,i.velocities.length=0;var h=1e3*n.freeModeMomentumRatio,s=t.velocity*h,p=t.translate+s;o&&(p=-p);var f,m,d=!1,s=20*Math.abs(t.velocity)*n.freeModeMomentumBounceRatio;if(p<t.maxTranslate())n.freeModeMomentumBounce?(p+t.maxTranslate()<-s&&(p=t.maxTranslate()-s),f=t.maxTranslate(),i.allowMomentumBounce=d=!0):p=t.maxTranslate(),n.loop&&n.centeredSlides&&(m=!0);else if(p>t.minTranslate())n.freeModeMomentumBounce?(p-t.minTranslate()>s&&(p=t.minTranslate()+s),f=t.minTranslate(),i.allowMomentumBounce=d=!0):p=t.minTranslate(),n.loop&&n.centeredSlides&&(m=!0);else if(n.freeModeSticky){for(var g,v=0;v<l.length;v+=1)if(l[v]>-p){g=v;break}p=-(Math.abs(l[g]-p)<Math.abs(l[g-1]-p)||"next"===t.swipeDirection?l[g]:l[g-1])}if(m&&t.once("transitionEnd",function(){t.loopFix()}),0!==t.velocity)h=o?Math.abs((-p-t.translate)/t.velocity):Math.abs((p-t.translate)/t.velocity),n.freeModeSticky&&(h=(s=Math.abs((o?-p:p)-t.translate))<(m=t.slidesSizesGrid[t.activeIndex])?n.speed:s<2*m?1.5*n.speed:2.5*n.speed);else if(n.freeModeSticky)return void t.slideToClosest();n.freeModeMomentumBounce&&d?(t.updateProgress(f),t.setTransition(h),t.setTranslate(p),t.transitionStart(!0,t.swipeDirection),t.animating=!0,a.transitionEnd(function(){t&&!t.destroyed&&i.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(n.speed),t.setTranslate(f),a.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()}))})):t.velocity?(t.updateProgress(p),t.setTransition(h),t.setTranslate(p),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,a.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()}))):t.updateProgress(p),t.updateActiveIndex(),t.updateSlidesClasses()}else if(n.freeModeSticky)return void t.slideToClosest();(!n.freeModeMomentum||u>=n.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var y=0,b=t.slidesSizesGrid[0],w=0;w<r.length;w+=w<n.slidesPerGroupSkip?1:n.slidesPerGroup){var x=w<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;void 0!==r[w+x]?c>=r[w]&&c<r[w+x]&&(b=r[(y=w)+x]-r[w]):c>=r[w]&&(y=w,b=r[r.length-1]-r[r.length-2])}o=(c-r[y])/b,s=y<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;u>n.longSwipesMs?n.longSwipes?("next"===t.swipeDirection&&(o>=n.longSwipesRatio?t.slideTo(y+s):t.slideTo(y)),"prev"===t.swipeDirection&&(o>1-n.longSwipesRatio?t.slideTo(y+s):t.slideTo(y))):t.slideTo(t.activeIndex):n.shortSwipes?!t.navigation||e.target!==t.navigation.nextEl&&e.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(y+s),"prev"===t.swipeDirection&&t.slideTo(y)):e.target===t.navigation.nextEl?t.slideTo(y+s):t.slideTo(y):t.slideTo(t.activeIndex)}}else i.isTouched=!1,i.isMoved=!1,i.startMoving=!1}else i.isMoved&&n.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1}.bind(this),t.cssMode&&(this.onScroll=function(){var e=this.wrapperEl;this.previousTranslate=this.translate,this.translate=this.isHorizontal()?-e.scrollLeft:-e.scrollTop,-0===this.translate&&(this.translate=0),this.updateActiveIndex(),this.updateSlidesClasses(),(0==(e=this.maxTranslate()-this.minTranslate())?0:(this.translate-this.minTranslate())/e)!==this.progress&&this.updateProgress(this.translate),this.emit("setTranslate",this.translate,!1)}.bind(this)),this.onClick=function(e){this.allowClick||(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}.bind(this),!!t.nested);!w.touch&&w.pointerEvents?(n.addEventListener(i.start,this.onTouchStart,!1),u.addEventListener(i.move,this.onTouchMove,o),u.addEventListener(i.end,this.onTouchEnd,!1)):(w.touch&&(e=!("touchstart"!==i.start||!w.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1},n.addEventListener(i.start,this.onTouchStart,e),n.addEventListener(i.move,this.onTouchMove,w.passiveListener?{passive:!1,capture:o}:o),n.addEventListener(i.end,this.onTouchEnd,e),i.cancel&&n.addEventListener(i.cancel,this.onTouchEnd,e),W||(u.addEventListener("touchstart",$),W=!0)),(t.simulateTouch&&!r.ios&&!r.android||t.simulateTouch&&!w.touch&&r.ios)&&(n.addEventListener("mousedown",this.onTouchStart,!1),u.addEventListener("mousemove",this.onTouchMove,o),u.addEventListener("mouseup",this.onTouchEnd,!1))),(t.preventClicks||t.preventClicksPropagation)&&n.addEventListener("click",this.onClick,!0),t.cssMode&&s.addEventListener("scroll",this.onScroll),t.updateOnWindowResize?this.on(r.ios||r.android?"resize orientationchange observerUpdate":"resize observerUpdate",j,!0):this.on("observerUpdate",j,!0)},detachEvents:function(){var e,t=this.params,i=this.touchEvents,n=this.el,s=this.wrapperEl,o=!!t.nested;!w.touch&&w.pointerEvents?(n.removeEventListener(i.start,this.onTouchStart,!1),u.removeEventListener(i.move,this.onTouchMove,o),u.removeEventListener(i.end,this.onTouchEnd,!1)):(w.touch&&(e=!("onTouchStart"!==i.start||!w.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1},n.removeEventListener(i.start,this.onTouchStart,e),n.removeEventListener(i.move,this.onTouchMove,o),n.removeEventListener(i.end,this.onTouchEnd,e),i.cancel)&&n.removeEventListener(i.cancel,this.onTouchEnd,e),(t.simulateTouch&&!r.ios&&!r.android||t.simulateTouch&&!w.touch&&r.ios)&&(n.removeEventListener("mousedown",this.onTouchStart,!1),u.removeEventListener("mousemove",this.onTouchMove,o),u.removeEventListener("mouseup",this.onTouchEnd,!1))),(t.preventClicks||t.preventClicksPropagation)&&n.removeEventListener("click",this.onClick,!0),t.cssMode&&s.removeEventListener("scroll",this.onScroll),this.off(r.ios||r.android?"resize orientationchange observerUpdate":"resize observerUpdate",j)}},breakpoints:{setBreakpoint:function(){var e,i,t,n,s=this.activeIndex,o=this.initialized,a=this.loopedSlides,r=(void 0===a&&(a=0),this.params),l=this.$el,c=r.breakpoints;c&&0!==Object.keys(c).length&&(e=this.getBreakpoint(c))&&this.currentBreakpoint!==e&&((i=e in c?c[e]:void 0)&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerGroupSkip","slidesPerColumn"].forEach(function(e){var t=i[e];void 0!==t&&(i[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")}),c=i||this.originalParams,t=1<r.slidesPerColumn,n=1<c.slidesPerColumn,t&&!n?l.removeClass(r.containerModifierClass+"multirow "+r.containerModifierClass+"multirow-column"):!t&&n&&(l.addClass(r.containerModifierClass+"multirow"),"column"===c.slidesPerColumnFill)&&l.addClass(r.containerModifierClass+"multirow-column"),t=c.direction&&c.direction!==r.direction,n=r.loop&&(c.slidesPerView!==r.slidesPerView||t),t&&o&&this.changeDirection(),X.extend(this.params,c),X.extend(this,{allowTouchMove:this.params.allowTouchMove,allowSlideNext:this.params.allowSlideNext,allowSlidePrev:this.params.allowSlidePrev}),this.currentBreakpoint=e,n&&o&&(this.loopDestroy(),this.loopCreate(),this.updateSlides(),this.slideTo(s-a+this.loopedSlides,0,!1)),this.emit("breakpoint",c))},getBreakpoint:function(e){if(e){var t=!1,i=Object.keys(e).map(function(e){var t;return"string"==typeof e&&0===e.indexOf("@")?(t=parseFloat(e.substr(1)),{value:Y.innerHeight*t,point:e}):{value:e,point:e}});i.sort(function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)});for(var n=0;n<i.length;n+=1){var s=i[n],o=s.point;s.value<=Y.innerWidth&&(t=o)}return t||"max"}}},checkOverflow:{checkOverflow:function(){var e=this.params,t=this.isLocked,i=0<this.slides.length&&e.slidesOffsetBefore+e.spaceBetween*(this.slides.length-1)+this.slides[0].offsetWidth*this.slides.length;e.slidesOffsetBefore&&e.slidesOffsetAfter&&i?this.isLocked=i<=this.size:this.isLocked=1===this.snapGrid.length,this.allowSlideNext=!this.isLocked,this.allowSlidePrev=!this.isLocked,t!==this.isLocked&&this.emit(this.isLocked?"lock":"unlock"),t&&t!==this.isLocked&&(this.isEnd=!1,this.navigation.update())}},classes:{addClasses:function(){var t=this.classNames,i=this.params,e=this.rtl,n=this.$el,s=[];s.push("initialized"),s.push(i.direction),i.freeMode&&s.push("free-mode"),i.autoHeight&&s.push("autoheight"),e&&s.push("rtl"),1<i.slidesPerColumn&&(s.push("multirow"),"column"===i.slidesPerColumnFill)&&s.push("multirow-column"),r.android&&s.push("android"),r.ios&&s.push("ios"),i.cssMode&&s.push("css-mode"),s.forEach(function(e){t.push(i.containerModifierClass+e)}),n.addClass(t.join(" "))},removeClasses:function(){var e=this.$el,t=this.classNames;e.removeClass(t.join(" "))}},images:{loadImage:function(e,t,i,n,s,o){function a(){o&&o()}(!e.complete||!s)&&t?((e=new Y.Image).onload=a,e.onerror=a,n&&(e.sizes=n),i&&(e.srcset=i),t&&(e.src=t)):a()},preloadImages:function(){var e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length)&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady"))}e.imagesToLoad=e.$el.find("img");for(var i=0;i<e.imagesToLoad.length;i+=1){var n=e.imagesToLoad[i];e.loadImage(n,n.currentSrc||n.getAttribute("src"),n.srcset||n.getAttribute("srcset"),n.sizes||n.getAttribute("sizes"),!0,t)}}}},G={},p=((d=e)&&(S.__proto__=d),h={extendedDefaults:{configurable:!0},defaults:{configurable:!0},Class:{configurable:!0},$:{configurable:!0}},((S.prototype=Object.create(d&&d.prototype)).constructor=S).prototype.slidesPerViewDynamic=function(){var e=this.params,t=this.slides,i=this.slidesGrid,n=this.size,s=this.activeIndex,o=1;if(e.centeredSlides){for(var a,r=t[s].swiperSlideSize,l=s+1;l<t.length;l+=1)t[l]&&!a&&(o+=1,(r+=t[l].swiperSlideSize)>n)&&(a=!0);for(var c=s-1;0<=c;--c)t[c]&&!a&&(o+=1,(r+=t[c].swiperSlideSize)>n)&&(a=!0)}else for(var d=s+1;d<t.length;d+=1)i[d]-i[s]<n&&(o+=1);return o},S.prototype.update=function(){var e,t,i=this;function n(){var e=i.rtlTranslate?-1*i.translate:i.translate,e=Math.min(Math.max(e,i.maxTranslate()),i.minTranslate());i.setTranslate(e),i.updateActiveIndex(),i.updateSlidesClasses()}i&&!i.destroyed&&(e=i.snapGrid,(t=i.params).breakpoints&&i.setBreakpoint(),i.updateSize(),i.updateSlides(),i.updateProgress(),i.updateSlidesClasses(),i.params.freeMode?(n(),i.params.autoHeight&&i.updateAutoHeight()):(("auto"===i.params.slidesPerView||1<i.params.slidesPerView)&&i.isEnd&&!i.params.centeredSlides?i.slideTo(i.slides.length-1,0,!1,!0):i.slideTo(i.activeIndex,0,!1,!0))||n(),t.watchOverflow&&e!==i.snapGrid&&i.checkOverflow(),i.emit("update"))},S.prototype.changeDirection=function(i,e){void 0===e&&(e=!0);var t=this.params.direction;return(i=i||("horizontal"===t?"vertical":"horizontal"))===t||"horizontal"!==i&&"vertical"!==i||(this.$el.removeClass(""+this.params.containerModifierClass+t).addClass(""+this.params.containerModifierClass+i),this.params.direction=i,this.slides.each(function(e,t){"vertical"===i?t.style.width="":t.style.height=""}),this.emit("changeDirection"),e&&this.update()),this},S.prototype.init=function(){this.initialized||(this.emit("beforeInit"),this.params.breakpoints&&this.setBreakpoint(),this.addClasses(),this.params.loop&&this.loopCreate(),this.updateSize(),this.updateSlides(),this.params.watchOverflow&&this.checkOverflow(),this.params.grabCursor&&this.setGrabCursor(),this.params.preloadImages&&this.preloadImages(),this.params.loop?this.slideTo(this.params.initialSlide+this.loopedSlides,0,this.params.runCallbacksOnInit):this.slideTo(this.params.initialSlide,0,this.params.runCallbacksOnInit),this.attachEvents(),this.initialized=!0,this.emit("init"))},S.prototype.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var i=this,n=i.params,s=i.$el,o=i.$wrapperEl,a=i.slides;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),n.loop&&i.loopDestroy(),t&&(i.removeClasses(),s.removeAttr("style"),o.removeAttr("style"),a)&&a.length&&a.removeClass([n.slideVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index"),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(function(e){i.off(e)}),!1!==e&&(i.$el[0].swiper=null,i.$el.data("swiper",null),X.deleteProps(i)),i.destroyed=!0),null},S.extendDefaults=function(e){X.extend(G,e)},h.extendedDefaults.get=function(){return G},h.defaults.get=function(){return H},h.Class.get=function(){return d},h.$.get=function(){return E},Object.defineProperties(S,h),S),f={name:"device",proto:{device:r},static:{device:r}},U={name:"support",proto:{support:w},static:{support:w}},A={isEdge:!!Y.navigator.userAgent.match(/Edge/g),isSafari:0<=(c=Y.navigator.userAgent.toLowerCase()).indexOf("safari")&&c.indexOf("chrome")<0&&c.indexOf("android")<0,isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(Y.navigator.userAgent)},V={name:"browser",proto:{browser:A},static:{browser:A}},m={name:"resize",create:function(){var e=this;X.extend(e,{resize:{resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(){Y.addEventListener("resize",this.resize.resizeHandler),Y.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy:function(){Y.removeEventListener("resize",this.resize.resizeHandler),Y.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}},g={func:Y.MutationObserver||Y.WebkitMutationObserver,attach:function(e,t){void 0===t&&(t={});var i=this,n=new g.func(function(e){var t;1!==e.length?(t=function(){i.emit("observerUpdate",e[0])},Y.requestAnimationFrame?Y.requestAnimationFrame(t):Y.setTimeout(t,0)):i.emit("observerUpdate",e[0])});n.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),i.observer.observers.push(n)},init:function(){if(w.observer&&this.params.observer){if(this.params.observeParents)for(var e=this.$el.parents(),t=0;t<e.length;t+=1)this.observer.attach(e[t]);this.observer.attach(this.$el[0],{childList:this.params.observeSlideChildren}),this.observer.attach(this.$wrapperEl[0],{attributes:!1})}},destroy:function(){this.observer.observers.forEach(function(e){e.disconnect()}),this.observer.observers=[]}},v={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){X.extend(this,{observer:{init:g.init.bind(this),attach:g.attach.bind(this),destroy:g.destroy.bind(this),observers:[]}})},on:{init:function(){this.observer.init()},destroy:function(){this.observer.destroy()}}},y={update:function(e){var t=this,i=t.params,n=i.slidesPerView,s=i.slidesPerGroup,i=i.centeredSlides,o=t.params.virtual,a=o.addSlidesBefore,o=o.addSlidesAfter,r=t.virtual,l=r.from,c=r.to,d=r.slides,u=r.slidesGrid,h=r.renderSlide,r=r.offset;t.updateActiveIndex();var p,f=t.activeIndex||0,m=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",i=i?(p=Math.floor(n/2)+s+a,Math.floor(n/2)+s+o):(p=n+(s-1)+a,s+o),g=Math.max((f||0)-i,0),v=Math.min((f||0)+p,d.length-1),n=(t.slidesGrid[g]||0)-(t.slidesGrid[0]||0);function y(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(X.extend(t.virtual,{from:g,to:v,offset:n,slidesGrid:t.slidesGrid}),l!==g||c!==v||e){if(t.params.virtual.renderExternal)t.params.virtual.renderExternal.call(t,{offset:n,from:g,to:v,slides:(()=>{for(var e=[],t=g;t<=v;t+=1)e.push(d[t]);return e})()});else{var b=[],w=[];if(e)t.$wrapperEl.find("."+t.params.slideClass).remove();else for(var x=l;x<=c;x+=1)(x<g||v<x)&&t.$wrapperEl.find("."+t.params.slideClass+'[data-swiper-slide-index="'+x+'"]').remove();for(var E=0;E<d.length;E+=1)g<=E&&E<=v&&(void 0===c||e?w.push(E):(c<E&&w.push(E),E<l&&b.push(E)));w.forEach(function(e){t.$wrapperEl.append(h(d[e],e))}),b.sort(function(e,t){return t-e}).forEach(function(e){t.$wrapperEl.prepend(h(d[e],e))}),t.$wrapperEl.children(".swiper-slide").css(m,n+"px")}y()}else t.slidesGrid!==u&&n!==r&&t.slides.css(m,n+"px"),t.updateProgress()},renderSlide:function(e,t){var i=this.params.virtual;return i.cache&&this.virtual.cache[t]?this.virtual.cache[t]:((e=E(i.renderSlide?i.renderSlide.call(this,e,t):'<div class="'+this.params.slideClass+'" data-swiper-slide-index="'+t+'">'+e+"</div>")).attr("data-swiper-slide-index")||e.attr("data-swiper-slide-index",t),i.cache&&(this.virtual.cache[t]=e),e)},appendSlide:function(e){if("object"==typeof e&&"length"in e)for(var t=0;t<e.length;t+=1)e[t]&&this.virtual.slides.push(e[t]);else this.virtual.slides.push(e);this.virtual.update(!0)},prependSlide:function(e){var n,s,t=this.activeIndex,i=t+1,o=1;if(Array.isArray(e)){for(var a=0;a<e.length;a+=1)e[a]&&this.virtual.slides.unshift(e[a]);i=t+e.length,o=e.length}else this.virtual.slides.unshift(e);this.params.virtual.cache&&(n=this.virtual.cache,s={},Object.keys(n).forEach(function(e){var t=n[e],i=t.attr("data-swiper-slide-index");i&&t.attr("data-swiper-slide-index",parseInt(i,10)+1),s[parseInt(e,10)+o]=t}),this.virtual.cache=s),this.virtual.update(!0),this.slideTo(i,0)},removeSlide:function(e){if(null!=e){var t=this.activeIndex;if(Array.isArray(e))for(var i=e.length-1;0<=i;--i)this.virtual.slides.splice(e[i],1),this.params.virtual.cache&&delete this.virtual.cache[e[i]],e[i]<t&&--t,t=Math.max(t,0);else this.virtual.slides.splice(e,1),this.params.virtual.cache&&delete this.virtual.cache[e],e<t&&--t,t=Math.max(t,0);this.virtual.update(!0),this.slideTo(t,0)}},removeAllSlides:function(){this.virtual.slides=[],this.params.virtual.cache&&(this.virtual.cache={}),this.virtual.update(!0),this.slideTo(0,0)}},b={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,addSlidesBefore:0,addSlidesAfter:0}},create:function(){X.extend(this,{virtual:{update:y.update.bind(this),appendSlide:y.appendSlide.bind(this),prependSlide:y.prependSlide.bind(this),removeSlide:y.removeSlide.bind(this),removeAllSlides:y.removeAllSlides.bind(this),renderSlide:y.renderSlide.bind(this),slides:this.params.virtual.slides,cache:{}}})},on:{beforeInit:function(){var e;this.params.virtual.enabled&&(this.classNames.push(this.params.containerModifierClass+"virtual"),X.extend(this.params,e={watchSlidesProgress:!0}),X.extend(this.originalParams,e),this.params.initialSlide||this.virtual.update())},setTranslate:function(){this.params.virtual.enabled&&this.virtual.update()}}},K={handle:function(e){var t=this.rtlTranslate,i=(e=e.originalEvent?e.originalEvent:e).keyCode||e.charCode;if(!this.allowSlideNext&&(this.isHorizontal()&&39===i||this.isVertical()&&40===i||34===i))return!1;if(!this.allowSlidePrev&&(this.isHorizontal()&&37===i||this.isVertical()&&38===i||33===i))return!1;if(!(e.shiftKey||e.altKey||e.ctrlKey||e.metaKey||u.activeElement&&u.activeElement.nodeName&&("input"===u.activeElement.nodeName.toLowerCase()||"textarea"===u.activeElement.nodeName.toLowerCase()))){if(this.params.keyboard.onlyInViewport&&(33===i||34===i||37===i||39===i||38===i||40===i)){var n=!1;if(0<this.$el.parents("."+this.params.slideClass).length&&0===this.$el.parents("."+this.params.slideActiveClass).length)return;var s=Y.innerWidth,o=Y.innerHeight,a=this.$el.offset();t&&(a.left-=this.$el[0].scrollLeft);for(var r=[[a.left,a.top],[a.left+this.width,a.top],[a.left,a.top+this.height],[a.left+this.width,a.top+this.height]],l=0;l<r.length;l+=1){var c=r[l];0<=c[0]&&c[0]<=s&&0<=c[1]&&c[1]<=o&&(n=!0)}if(!n)return}this.isHorizontal()?(33!==i&&34!==i&&37!==i&&39!==i||(e.preventDefault?e.preventDefault():e.returnValue=!1),(34!==i&&39!==i||t)&&(33!==i&&37!==i||!t)||this.slideNext(),(33!==i&&37!==i||t)&&(34!==i&&39!==i||!t)||this.slidePrev()):(33!==i&&34!==i&&38!==i&&40!==i||(e.preventDefault?e.preventDefault():e.returnValue=!1),34!==i&&40!==i||this.slideNext(),33!==i&&38!==i||this.slidePrev()),this.emit("keyPress",i)}},enable:function(){this.keyboard.enabled||(E(u).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable:function(){this.keyboard.enabled&&(E(u).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}},x={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0}},create:function(){X.extend(this,{keyboard:{enabled:!1,enable:K.enable.bind(this),disable:K.disable.bind(this),handle:K.handle.bind(this)}})},on:{init:function(){this.params.keyboard.enabled&&this.keyboard.enable()},destroy:function(){this.keyboard.enabled&&this.keyboard.disable()}}};function S(){for(var i,e=[],t=arguments.length;t--;)e[t]=arguments[t];i=(i=1===e.length&&e[0].constructor&&e[0].constructor===Object?e[0]:(o=e[0],e[1]))||{},i=X.extend({},i),o&&!i.el&&(i.el=o),d.call(this,i),Object.keys(q).forEach(function(t){Object.keys(q[t]).forEach(function(e){S.prototype[e]||(S.prototype[e]=q[t][e])})});var n,s,o,a=this,r=(void 0===a.modules&&(a.modules={}),Object.keys(a.modules).forEach(function(e){var t,e=a.modules[e];e.params&&(t=Object.keys(e.params)[0],"object"==typeof(e=e.params[t]))&&null!==e&&t in i&&"enabled"in e&&(!0===i[t]&&(i[t]={enabled:!0}),"object"!=typeof i[t]||"enabled"in i[t]||(i[t].enabled=!0),i[t]||(i[t]={enabled:!1}))}),X.extend({},H)),l=(a.useModulesParams(r),a.params=X.extend({},r,G,i),a.originalParams=X.extend({},a.params),a.passedParams=X.extend({},i),(a.$=E)(a.params.el));if(o=l[0])return 1<l.length?(n=[],l.each(function(e,t){t=X.extend({},i,{el:t});n.push(new S(t))}),n):(o.swiper=a,l.data("swiper",a),o&&o.shadowRoot&&o.shadowRoot.querySelector?(s=E(o.shadowRoot.querySelector("."+a.params.wrapperClass))).children=function(e){return l.children(e)}:s=l.children("."+a.params.wrapperClass),X.extend(a,{$el:l,el:o,$wrapperEl:s,wrapperEl:s[0],classNames:[],slides:E(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===a.params.direction},isVertical:function(){return"vertical"===a.params.direction},rtl:"rtl"===o.dir.toLowerCase()||"rtl"===l.css("direction"),rtlTranslate:"horizontal"===a.params.direction&&("rtl"===o.dir.toLowerCase()||"rtl"===l.css("direction")),wrongRTL:"-webkit-box"===s.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEvents:(r=w.pointerEvents?["pointerdown","pointermove","pointerup"]:["mousedown","mousemove","mouseup"],a.touchEventsTouch={start:(o=["touchstart","touchmove","touchend","touchcancel"])[0],move:o[1],end:o[2],cancel:o[3]},a.touchEventsDesktop={start:r[0],move:r[1],end:r[2]},w.touch||!a.params.simulateTouch?a.touchEventsTouch:a.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video, label",lastClickTime:X.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.useModules(),a.params.init&&a.init(),a)}var T={lastScrollTime:X.now(),lastEventBeforeSnap:void 0,recentWheelEvents:[],event:function(){return-1<Y.navigator.userAgent.indexOf("firefox")?"DOMMouseScroll":((t="onwheel"in u)||((e=u.createElement("div")).setAttribute("onwheel","return;"),t="function"==typeof e.onwheel),(t=!t&&u.implementation&&u.implementation.hasFeature&&!0!==u.implementation.hasFeature("","")?u.implementation.hasFeature("Events.wheel","3.0"):t)?"wheel":"mousewheel");var e,t},normalize:function(e){var t=0,i=0,n=0,s=0;return"detail"in e&&(i=e.detail),"wheelDelta"in e&&(i=-e.wheelDelta/120),"wheelDeltaY"in e&&(i=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=i,i=0),n=10*t,s=10*i,"deltaY"in e&&(s=e.deltaY),"deltaX"in e&&(n=e.deltaX),e.shiftKey&&!n&&(n=s,s=0),(n||s)&&e.deltaMode&&(1===e.deltaMode?(n*=40,s*=40):(n*=800,s*=800)),{spinX:t=n&&!t?n<1?-1:1:t,spinY:i=s&&!i?s<1?-1:1:i,pixelX:n,pixelY:s}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(e){var t=e,i=this,n=i.params.mousewheel,s=(i.params.cssMode&&t.preventDefault(),i.$el);if("container"!==i.params.mousewheel.eventsTarged&&(s=E(i.params.mousewheel.eventsTarged)),!i.mouseEntered&&!s[0].contains(t.target)&&!n.releaseOnEdges)return!0;t.originalEvent&&(t=t.originalEvent);var s=0,o=i.rtlTranslate?-1:1,a=T.normalize(t);if(n.forceToAxis)if(i.isHorizontal()){if(!(Math.abs(a.pixelX)>Math.abs(a.pixelY)))return!0;s=a.pixelX*o}else{if(!(Math.abs(a.pixelY)>Math.abs(a.pixelX)))return!0;s=a.pixelY}else s=Math.abs(a.pixelX)>Math.abs(a.pixelY)?-a.pixelX*o:-a.pixelY;if(0===s)return!0;if(n.invert&&(s=-s),i.params.freeMode){var r={time:X.now(),delta:Math.abs(s),direction:Math.sign(s)},o=i.mousewheel.lastEventBeforeSnap,a=o&&r.time<o.time+500&&r.delta<=o.delta&&r.direction===o.direction;if(!a){i.mousewheel.lastEventBeforeSnap=void 0,i.params.loop&&i.loopFix();var l,c,o=i.getTranslate()+s*n.sensitivity,n=i.isBeginning,d=i.isEnd;if((o=o>=i.minTranslate()?i.minTranslate():o)<=i.maxTranslate()&&(o=i.maxTranslate()),i.setTransition(0),i.setTranslate(o),i.updateProgress(),i.updateActiveIndex(),i.updateSlidesClasses(),(!n&&i.isBeginning||!d&&i.isEnd)&&i.updateSlidesClasses(),i.params.freeModeSticky&&(clearTimeout(i.mousewheel.timeout),i.mousewheel.timeout=void 0,15<=(l=i.mousewheel.recentWheelEvents).length&&l.shift(),n=l.length?l[l.length-1]:void 0,d=l[0],l.push(r),n&&(r.delta>n.delta||r.direction!==n.direction)?l.splice(0):15<=l.length&&r.time-d.time<500&&1<=d.delta-r.delta&&r.delta<=6&&(c=0<s?.8:.2,i.mousewheel.lastEventBeforeSnap=r,l.splice(0),i.mousewheel.timeout=X.nextTick(function(){i.slideToClosest(i.params.speed,!0,void 0,c)},0)),i.mousewheel.timeout||(i.mousewheel.timeout=X.nextTick(function(){i.mousewheel.lastEventBeforeSnap=r,l.splice(0),i.slideToClosest(i.params.speed,!0,void 0,.5)},500))),a||i.emit("scroll",t),i.params.autoplay&&i.params.autoplayDisableOnInteraction&&i.autoplay.stop(),o===i.minTranslate()||o===i.maxTranslate())return!0}}else{n={time:X.now(),delta:Math.abs(s),direction:Math.sign(s),raw:e},d=i.mousewheel.recentWheelEvents,a=(2<=d.length&&d.shift(),d.length?d[d.length-1]:void 0);if(d.push(n),(!a||n.direction!==a.direction||n.delta>a.delta)&&i.mousewheel.animateSlider(n),i.mousewheel.releaseScroll(n))return!0}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1},animateSlider:function(e){return 6<=e.delta&&X.now()-this.mousewheel.lastScrollTime<60||(e.direction<0?this.isEnd&&!this.params.loop||this.animating||(this.slideNext(),this.emit("scroll",e.raw)):this.isBeginning&&!this.params.loop||this.animating||(this.slidePrev(),this.emit("scroll",e.raw)),this.mousewheel.lastScrollTime=(new Y.Date).getTime(),!1)},releaseScroll:function(e){var t=this.params.mousewheel;if(e.direction<0){if(this.isEnd&&!this.params.loop&&t.releaseOnEdges)return!0}else if(this.isBeginning&&!this.params.loop&&t.releaseOnEdges)return!0;return!1},enable:function(){var e,t=T.event();return this.params.cssMode?(this.wrapperEl.removeEventListener(t,this.mousewheel.handle),!0):!!t&&!this.mousewheel.enabled&&(e=this.$el,(e="container"!==this.params.mousewheel.eventsTarged?E(this.params.mousewheel.eventsTarged):e).on("mouseenter",this.mousewheel.handleMouseEnter),e.on("mouseleave",this.mousewheel.handleMouseLeave),e.on(t,this.mousewheel.handle),this.mousewheel.enabled=!0)},disable:function(){var e,t=T.event();return this.params.cssMode?(this.wrapperEl.addEventListener(t,this.mousewheel.handle),!0):!!t&&!(!this.mousewheel.enabled||(e=this.$el,(e="container"!==this.params.mousewheel.eventsTarged?E(this.params.mousewheel.eventsTarged):e).off(t,this.mousewheel.handle),this.mousewheel.enabled=!1))}},C={update:function(){var e,t,i=this.params.navigation;this.params.loop||(e=(t=this.navigation).$nextEl,(t=t.$prevEl)&&0<t.length&&(this.isBeginning?t.addClass(i.disabledClass):t.removeClass(i.disabledClass),t[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](i.lockClass)),e&&0<e.length&&(this.isEnd?e.addClass(i.disabledClass):e.removeClass(i.disabledClass),e[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](i.lockClass)))},onPrevClick:function(e){e.preventDefault(),this.isBeginning&&!this.params.loop||this.slidePrev()},onNextClick:function(e){e.preventDefault(),this.isEnd&&!this.params.loop||this.slideNext()},init:function(){var e,t,i=this.params.navigation;(i.nextEl||i.prevEl)&&(i.nextEl&&(e=E(i.nextEl),this.params.uniqueNavElements)&&"string"==typeof i.nextEl&&1<e.length&&1===this.$el.find(i.nextEl).length&&(e=this.$el.find(i.nextEl)),i.prevEl&&(t=E(i.prevEl),this.params.uniqueNavElements)&&"string"==typeof i.prevEl&&1<t.length&&1===this.$el.find(i.prevEl).length&&(t=this.$el.find(i.prevEl)),e&&0<e.length&&e.on("click",this.navigation.onNextClick),t&&0<t.length&&t.on("click",this.navigation.onPrevClick),X.extend(this.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}))},destroy:function(){var e=this.navigation,t=e.$nextEl,e=e.$prevEl;t&&t.length&&(t.off("click",this.navigation.onNextClick),t.removeClass(this.params.navigation.disabledClass)),e&&e.length&&(e.off("click",this.navigation.onPrevClick),e.removeClass(this.params.navigation.disabledClass))}},M={update:function(){var e=this.rtl,n=this.params.pagination;if(n.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var s,t=(this.virtual&&this.params.virtual.enabled?this.virtual:this).slides.length,i=this.pagination.$el,o=this.params.loop?Math.ceil((t-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length;if(this.params.loop?((s=Math.ceil((this.activeIndex-this.loopedSlides)/this.params.slidesPerGroup))>t-1-2*this.loopedSlides&&(s-=t-2*this.loopedSlides),o-1<s&&(s-=o),s<0&&"bullets"!==this.params.paginationType&&(s=o+s)):s=void 0!==this.snapIndex?this.snapIndex:this.activeIndex||0,"bullets"===n.type&&this.pagination.bullets&&0<this.pagination.bullets.length){var a,r,l,c=this.pagination.bullets;if(n.dynamicBullets&&(this.pagination.bulletSize=c.eq(0)[this.isHorizontal()?"outerWidth":"outerHeight"](!0),i.css(this.isHorizontal()?"width":"height",this.pagination.bulletSize*(n.dynamicMainBullets+4)+"px"),1<n.dynamicMainBullets&&void 0!==this.previousIndex&&(this.pagination.dynamicBulletIndex+=s-this.previousIndex,this.pagination.dynamicBulletIndex>n.dynamicMainBullets-1?this.pagination.dynamicBulletIndex=n.dynamicMainBullets-1:this.pagination.dynamicBulletIndex<0&&(this.pagination.dynamicBulletIndex=0)),a=s-this.pagination.dynamicBulletIndex,l=((r=a+(Math.min(c.length,n.dynamicMainBullets)-1))+a)/2),c.removeClass(n.bulletActiveClass+" "+n.bulletActiveClass+"-next "+n.bulletActiveClass+"-next-next "+n.bulletActiveClass+"-prev "+n.bulletActiveClass+"-prev-prev "+n.bulletActiveClass+"-main"),1<i.length)c.each(function(e,t){var t=E(t),i=t.index();i===s&&t.addClass(n.bulletActiveClass),n.dynamicBullets&&(a<=i&&i<=r&&t.addClass(n.bulletActiveClass+"-main"),i===a&&t.prev().addClass(n.bulletActiveClass+"-prev").prev().addClass(n.bulletActiveClass+"-prev-prev"),i===r)&&t.next().addClass(n.bulletActiveClass+"-next").next().addClass(n.bulletActiveClass+"-next-next")});else{var t=c.eq(s),d=t.index();if(t.addClass(n.bulletActiveClass),n.dynamicBullets){for(var t=c.eq(a),u=c.eq(r),h=a;h<=r;h+=1)c.eq(h).addClass(n.bulletActiveClass+"-main");if(this.params.loop)if(d>=c.length-n.dynamicMainBullets){for(var p=n.dynamicMainBullets;0<=p;--p)c.eq(c.length-p).addClass(n.bulletActiveClass+"-main");c.eq(c.length-n.dynamicMainBullets-1).addClass(n.bulletActiveClass+"-prev")}else t.prev().addClass(n.bulletActiveClass+"-prev").prev().addClass(n.bulletActiveClass+"-prev-prev"),u.next().addClass(n.bulletActiveClass+"-next").next().addClass(n.bulletActiveClass+"-next-next");else t.prev().addClass(n.bulletActiveClass+"-prev").prev().addClass(n.bulletActiveClass+"-prev-prev"),u.next().addClass(n.bulletActiveClass+"-next").next().addClass(n.bulletActiveClass+"-next-next")}}n.dynamicBullets&&(d=Math.min(c.length,n.dynamicMainBullets+4),t=(this.pagination.bulletSize*d-this.pagination.bulletSize)/2-l*this.pagination.bulletSize,u=e?"right":"left",c.css(this.isHorizontal()?u:"top",t+"px"))}"fraction"===n.type&&(i.find("."+n.currentClass).text(n.formatFractionCurrent(s+1)),i.find("."+n.totalClass).text(n.formatFractionTotal(o))),"progressbar"===n.type&&(d=n.progressbarOpposite?this.isHorizontal()?"vertical":"horizontal":this.isHorizontal()?"horizontal":"vertical",l=(s+1)/o,u=e=1,"horizontal"==d?e=l:u=l,i.find("."+n.progressbarFillClass).transform("translate3d(0,0,0) scaleX("+e+") scaleY("+u+")").transition(this.params.speed)),"custom"===n.type&&n.renderCustom?(i.html(n.renderCustom(this,s+1,o)),this.emit("paginationRender",this,i[0])):this.emit("paginationUpdate",this,i[0]),i[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](n.lockClass)}},render:function(){var e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var t=(this.virtual&&this.params.virtual.enabled?this.virtual:this).slides.length,i=this.pagination.$el,n="";if("bullets"===e.type){for(var s=this.params.loop?Math.ceil((t-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length,o=0;o<s;o+=1)e.renderBullet?n+=e.renderBullet.call(this,o,e.bulletClass):n+="<"+e.bulletElement+' class="'+e.bulletClass+'"></'+e.bulletElement+">";i.html(n),this.pagination.bullets=i.find("."+e.bulletClass)}"fraction"===e.type&&(n=e.renderFraction?e.renderFraction.call(this,e.currentClass,e.totalClass):'<span class="'+e.currentClass+'"></span> / <span class="'+e.totalClass+'"></span>',i.html(n)),"progressbar"===e.type&&(n=e.renderProgressbar?e.renderProgressbar.call(this,e.progressbarFillClass):'<span class="'+e.progressbarFillClass+'"></span>',i.html(n)),"custom"!==e.type&&this.emit("paginationRender",this.pagination.$el[0])}},init:function(){var e,t=this,i=t.params.pagination;i.el&&0!==(e=E(i.el)).length&&(t.params.uniqueNavElements&&"string"==typeof i.el&&1<e.length&&1===t.$el.find(i.el).length&&(e=t.$el.find(i.el)),"bullets"===i.type&&i.clickable&&e.addClass(i.clickableClass),e.addClass(i.modifierClass+i.type),"bullets"===i.type&&i.dynamicBullets&&(e.addClass(""+i.modifierClass+i.type+"-dynamic"),t.pagination.dynamicBulletIndex=0,i.dynamicMainBullets<1)&&(i.dynamicMainBullets=1),"progressbar"===i.type&&i.progressbarOpposite&&e.addClass(i.progressbarOppositeClass),i.clickable&&e.on("click","."+i.bulletClass,function(e){e.preventDefault();e=E(this).index()*t.params.slidesPerGroup;t.params.loop&&(e+=t.loopedSlides),t.slideTo(e)}),X.extend(t.pagination,{$el:e,el:e[0]}))},destroy:function(){var e,t=this.params.pagination;t.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length&&((e=this.pagination.$el).removeClass(t.hiddenClass),e.removeClass(t.modifierClass+t.type),this.pagination.bullets&&this.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable)&&e.off("click","."+t.bulletClass)}},k={setTranslate:function(){var e,t,i,n,s,o,a,r;this.params.scrollbar.el&&this.scrollbar.el&&(i=this.scrollbar,e=this.rtlTranslate,r=this.progress,t=i.dragSize,n=i.$dragEl,s=i.$el,o=this.params.scrollbar,r=((i=i.trackSize)-(a=t))*r,e?0<(r=-r)?(a=t-r,r=0):i<-r+t&&(a=i+r):r<0?(a=t+r,r=0):i<r+t&&(a=i-r),this.isHorizontal()?(n.transform("translate3d("+r+"px, 0, 0)"),n[0].style.width=a+"px"):(n.transform("translate3d(0px, "+r+"px, 0)"),n[0].style.height=a+"px"),o.hide)&&(clearTimeout(this.scrollbar.timeout),s[0].style.opacity=1,this.scrollbar.timeout=setTimeout(function(){s[0].style.opacity=0,s.transition(400)},1e3))},setTransition:function(e){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(e)},updateSize:function(){var e,t,i,n,s,o,a;this.params.scrollbar.el&&this.scrollbar.el&&(t=(e=this.scrollbar).$dragEl,i=e.$el,t[0].style.width="",t[0].style.height="",n=this.isHorizontal()?i[0].offsetWidth:i[0].offsetHeight,o=(s=this.size/this.virtualSize)*(n/this.size),a="auto"===this.params.scrollbar.dragSize?n*s:parseInt(this.params.scrollbar.dragSize,10),this.isHorizontal()?t[0].style.width=a+"px":t[0].style.height=a+"px",i[0].style.display=1<=s?"none":"",this.params.scrollbar.hide&&(i[0].style.opacity=0),X.extend(e,{trackSize:n,divider:s,moveDivider:o,dragSize:a}),e.$el[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](this.params.scrollbar.lockClass))},getPointerPosition:function(e){return this.isHorizontal()?("touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0]:e).clientX:("touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0]:e).clientY},setDragPosition:function(e){var t=this.scrollbar,i=this.rtlTranslate,n=t.$el,s=t.dragSize,o=t.trackSize,a=t.dragStartPos,t=(t.getPointerPosition(e)-n.offset()[this.isHorizontal()?"left":"top"]-(null!==a?a:s/2))/(o-s),e=(t=Math.max(Math.min(t,1),0),i&&(t=1-t),this.minTranslate()+(this.maxTranslate()-this.minTranslate())*t);this.updateProgress(e),this.setTranslate(e),this.updateActiveIndex(),this.updateSlidesClasses()},onDragStart:function(e){var t=this.params.scrollbar,i=this.scrollbar,n=this.$wrapperEl,s=i.$el,o=i.$dragEl;this.scrollbar.isTouched=!0,this.scrollbar.dragStartPos=e.target===o[0]||e.target===o?i.getPointerPosition(e)-e.target.getBoundingClientRect()[this.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),n.transition(100),o.transition(100),i.setDragPosition(e),clearTimeout(this.scrollbar.dragTimeout),s.transition(0),t.hide&&s.css("opacity",1),this.params.cssMode&&this.$wrapperEl.css("scroll-snap-type","none"),this.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this.scrollbar,i=this.$wrapperEl,n=t.$el,s=t.$dragEl;this.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),i.transition(0),n.transition(0),s.transition(0),this.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this.params.scrollbar,i=this.scrollbar,n=this.$wrapperEl,s=i.$el;this.scrollbar.isTouched&&(this.scrollbar.isTouched=!1,this.params.cssMode&&(this.$wrapperEl.css("scroll-snap-type",""),n.transition("")),t.hide&&(clearTimeout(this.scrollbar.dragTimeout),this.scrollbar.dragTimeout=X.nextTick(function(){s.css("opacity",0),s.transition(400)},1e3)),this.emit("scrollbarDragEnd",e),t.snapOnRelease)&&this.slideToClosest()},enableDraggable:function(){var e,t,i,n,s;this.params.scrollbar.el&&(i=this.scrollbar,e=this.touchEventsTouch,t=this.touchEventsDesktop,s=this.params,i=i.$el[0],n=!(!w.passiveListener||!s.passiveListeners)&&{passive:!1,capture:!1},s=!(!w.passiveListener||!s.passiveListeners)&&{passive:!0,capture:!1},w.touch?(i.addEventListener(e.start,this.scrollbar.onDragStart,n),i.addEventListener(e.move,this.scrollbar.onDragMove,n),i.addEventListener(e.end,this.scrollbar.onDragEnd,s)):(i.addEventListener(t.start,this.scrollbar.onDragStart,n),u.addEventListener(t.move,this.scrollbar.onDragMove,n),u.addEventListener(t.end,this.scrollbar.onDragEnd,s)))},disableDraggable:function(){var e,t,i,n,s;this.params.scrollbar.el&&(i=this.scrollbar,e=this.touchEventsTouch,t=this.touchEventsDesktop,s=this.params,i=i.$el[0],n=!(!w.passiveListener||!s.passiveListeners)&&{passive:!1,capture:!1},s=!(!w.passiveListener||!s.passiveListeners)&&{passive:!0,capture:!1},w.touch?(i.removeEventListener(e.start,this.scrollbar.onDragStart,n),i.removeEventListener(e.move,this.scrollbar.onDragMove,n),i.removeEventListener(e.end,this.scrollbar.onDragEnd,s)):(i.removeEventListener(t.start,this.scrollbar.onDragStart,n),u.removeEventListener(t.move,this.scrollbar.onDragMove,n),u.removeEventListener(t.end,this.scrollbar.onDragEnd,s)))},init:function(){var e,t,i,n;this.params.scrollbar.el&&(e=this.scrollbar,n=this.$el,i=E((t=this.params.scrollbar).el),0===(n=(i=this.params.uniqueNavElements&&"string"==typeof t.el&&1<i.length&&1===n.find(t.el).length?n.find(t.el):i).find("."+this.params.scrollbar.dragClass)).length&&(n=E('<div class="'+this.params.scrollbar.dragClass+'"></div>'),i.append(n)),X.extend(e,{$el:i,el:i[0],$dragEl:n,dragEl:n[0]}),t.draggable)&&e.enableDraggable()},destroy:function(){this.scrollbar.disableDraggable()}},Z={setTransform:function(e,t){var i=this.rtl,e=E(e),i=i?-1:1,n=e.attr("data-swiper-parallax")||"0",s=e.attr("data-swiper-parallax-x"),o=e.attr("data-swiper-parallax-y"),a=e.attr("data-swiper-parallax-scale"),r=e.attr("data-swiper-parallax-opacity");s||o?(s=s||"0",o=o||"0"):this.isHorizontal()?(s=n,o="0"):(o=n,s="0"),s=0<=s.indexOf("%")?parseInt(s,10)*t*i+"%":s*t*i+"px",o=0<=o.indexOf("%")?parseInt(o,10)*t+"%":o*t+"px",null!=r&&(n=r-(r-1)*(1-Math.abs(t)),e[0].style.opacity=n),null==a?e.transform("translate3d("+s+", "+o+", 0px)"):(i=a-(a-1)*(1-Math.abs(t)),e.transform("translate3d("+s+", "+o+", 0px) scale("+i+")"))},setTranslate:function(){var n=this,e=n.$el,t=n.slides,s=n.progress,o=n.snapGrid;e.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(e,t){n.parallax.setTransform(t,s)}),t.each(function(e,t){var i=t.progress;1<n.params.slidesPerGroup&&"auto"!==n.params.slidesPerView&&(i+=Math.ceil(e/2)-s*(o.length-1)),i=Math.min(Math.max(i,-1),1),E(t).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(e,t){n.parallax.setTransform(t,i)})})},setTransition:function(n){void 0===n&&(n=this.params.speed),this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(e,t){var t=E(t),i=parseInt(t.attr("data-swiper-parallax-duration"),10)||n;0===n&&(i=0),t.transition(i)})}},Q={getDistanceBetweenTouches:function(e){var t,i,n;return e.targetTouches.length<2?1:(t=e.targetTouches[0].pageX,i=e.targetTouches[0].pageY,n=e.targetTouches[1].pageX,e=e.targetTouches[1].pageY,Math.sqrt(Math.pow(n-t,2)+Math.pow(e-i,2)))},onGestureStart:function(e){var t=this.params.zoom,i=this.zoom,n=i.gesture;if(i.fakeGestureTouched=!1,i.fakeGestureMoved=!1,!w.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;i.fakeGestureTouched=!0,n.scaleStart=Q.getDistanceBetweenTouches(e)}n.$slideEl&&n.$slideEl.length||(n.$slideEl=E(e.target).closest("."+this.params.slideClass),0===n.$slideEl.length&&(n.$slideEl=this.slides.eq(this.activeIndex)),n.$imageEl=n.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),n.$imageWrapEl=n.$imageEl.parent("."+t.containerClass),n.maxRatio=n.$imageWrapEl.attr("data-swiper-zoom")||t.maxRatio,0!==n.$imageWrapEl.length)?(n.$imageEl.transition(0),this.zoom.isScaling=!0):n.$imageEl=void 0},onGestureChange:function(e){var t=this.params.zoom,i=this.zoom,n=i.gesture;if(!w.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;i.fakeGestureMoved=!0,n.scaleMove=Q.getDistanceBetweenTouches(e)}n.$imageEl&&0!==n.$imageEl.length&&(i.scale=w.gestures?e.scale*i.currentScale:n.scaleMove/n.scaleStart*i.currentScale,i.scale>n.maxRatio&&(i.scale=n.maxRatio-1+Math.pow(i.scale-n.maxRatio+1,.5)),i.scale<t.minRatio&&(i.scale=t.minRatio+1-Math.pow(t.minRatio-i.scale+1,.5)),n.$imageEl.transform("translate3d(0,0,0) scale("+i.scale+")"))},onGestureEnd:function(e){var t=this.params.zoom,i=this.zoom,n=i.gesture;if(!w.gestures){if(!i.fakeGestureTouched||!i.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!r.android)return;i.fakeGestureTouched=!1,i.fakeGestureMoved=!1}n.$imageEl&&0!==n.$imageEl.length&&(i.scale=Math.max(Math.min(i.scale,n.maxRatio),t.minRatio),n.$imageEl.transition(this.params.speed).transform("translate3d(0,0,0) scale("+i.scale+")"),i.currentScale=i.scale,i.isScaling=!1,1===i.scale)&&(n.$slideEl=void 0)},onTouchStart:function(e){var t=this.zoom,i=t.gesture,t=t.image;i.$imageEl&&0!==i.$imageEl.length&&!t.isTouched&&(r.android&&e.preventDefault(),t.isTouched=!0,t.touchesStart.x=("touchstart"===e.type?e.targetTouches[0]:e).pageX,t.touchesStart.y=("touchstart"===e.type?e.targetTouches[0]:e).pageY)},onTouchMove:function(e){var t=this.zoom,i=t.gesture,n=t.image,s=t.velocity;if(i.$imageEl&&0!==i.$imageEl.length&&(this.allowClick=!1,n.isTouched)&&i.$slideEl){n.isMoved||(n.width=i.$imageEl[0].offsetWidth,n.height=i.$imageEl[0].offsetHeight,n.startX=X.getTranslate(i.$imageWrapEl[0],"x")||0,n.startY=X.getTranslate(i.$imageWrapEl[0],"y")||0,i.slideWidth=i.$slideEl[0].offsetWidth,i.slideHeight=i.$slideEl[0].offsetHeight,i.$imageWrapEl.transition(0),this.rtl&&(n.startX=-n.startX,n.startY=-n.startY));var o=n.width*t.scale,a=n.height*t.scale;if(!(o<i.slideWidth&&a<i.slideHeight)){if(n.minX=Math.min(i.slideWidth/2-o/2,0),n.maxX=-n.minX,n.minY=Math.min(i.slideHeight/2-a/2,0),n.maxY=-n.minY,n.touchesCurrent.x=("touchmove"===e.type?e.targetTouches[0]:e).pageX,n.touchesCurrent.y=("touchmove"===e.type?e.targetTouches[0]:e).pageY,!n.isMoved&&!t.isScaling){if(this.isHorizontal()&&(Math.floor(n.minX)===Math.floor(n.startX)&&n.touchesCurrent.x<n.touchesStart.x||Math.floor(n.maxX)===Math.floor(n.startX)&&n.touchesCurrent.x>n.touchesStart.x))return void(n.isTouched=!1);if(!this.isHorizontal()&&(Math.floor(n.minY)===Math.floor(n.startY)&&n.touchesCurrent.y<n.touchesStart.y||Math.floor(n.maxY)===Math.floor(n.startY)&&n.touchesCurrent.y>n.touchesStart.y))return void(n.isTouched=!1)}e.preventDefault(),e.stopPropagation(),n.isMoved=!0,n.currentX=n.touchesCurrent.x-n.touchesStart.x+n.startX,n.currentY=n.touchesCurrent.y-n.touchesStart.y+n.startY,n.currentX<n.minX&&(n.currentX=n.minX+1-Math.pow(n.minX-n.currentX+1,.8)),n.currentX>n.maxX&&(n.currentX=n.maxX-1+Math.pow(n.currentX-n.maxX+1,.8)),n.currentY<n.minY&&(n.currentY=n.minY+1-Math.pow(n.minY-n.currentY+1,.8)),n.currentY>n.maxY&&(n.currentY=n.maxY-1+Math.pow(n.currentY-n.maxY+1,.8)),s.prevPositionX||(s.prevPositionX=n.touchesCurrent.x),s.prevPositionY||(s.prevPositionY=n.touchesCurrent.y),s.prevTime||(s.prevTime=Date.now()),s.x=(n.touchesCurrent.x-s.prevPositionX)/(Date.now()-s.prevTime)/2,s.y=(n.touchesCurrent.y-s.prevPositionY)/(Date.now()-s.prevTime)/2,Math.abs(n.touchesCurrent.x-s.prevPositionX)<2&&(s.x=0),Math.abs(n.touchesCurrent.y-s.prevPositionY)<2&&(s.y=0),s.prevPositionX=n.touchesCurrent.x,s.prevPositionY=n.touchesCurrent.y,s.prevTime=Date.now(),i.$imageWrapEl.transform("translate3d("+n.currentX+"px, "+n.currentY+"px,0)")}}},onTouchEnd:function(){var e,t,i,n,s=this.zoom,o=s.gesture,a=s.image,r=s.velocity;o.$imageEl&&0!==o.$imageEl.length&&(a.isTouched&&a.isMoved?(a.isTouched=!1,a.isMoved=!1,e=r.x*(i=300),e=a.currentX+e,t=r.y*(n=300),t=a.currentY+t,0!==r.x&&(i=Math.abs((e-a.currentX)/r.x)),0!==r.y&&(n=Math.abs((t-a.currentY)/r.y)),r=Math.max(i,n),a.currentX=e,a.currentY=t,i=a.width*s.scale,n=a.height*s.scale,a.minX=Math.min(o.slideWidth/2-i/2,0),a.maxX=-a.minX,a.minY=Math.min(o.slideHeight/2-n/2,0),a.maxY=-a.minY,a.currentX=Math.max(Math.min(a.currentX,a.maxX),a.minX),a.currentY=Math.max(Math.min(a.currentY,a.maxY),a.minY),o.$imageWrapEl.transition(r).transform("translate3d("+a.currentX+"px, "+a.currentY+"px,0)")):(a.isTouched=!1,a.isMoved=!1))},onTransitionEnd:function(){var e=this.zoom,t=e.gesture;t.$slideEl&&this.previousIndex!==this.activeIndex&&(t.$imageEl.transform("translate3d(0,0,0) scale(1)"),t.$imageWrapEl.transform("translate3d(0,0,0)"),e.scale=1,e.currentScale=1,t.$slideEl=void 0,t.$imageEl=void 0,t.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,i,n,s,o=this.zoom,a=this.params.zoom,r=o.gesture,l=o.image;r.$slideEl||(r.$slideEl=this.slides.eq(this.activeIndex),r.$imageEl=r.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),r.$imageWrapEl=r.$imageEl.parent("."+a.containerClass)),r.$imageEl&&0!==r.$imageEl.length&&(r.$slideEl.addClass(""+a.zoomedSlideClass),l=void 0===l.touchesStart.x&&e?(t=("touchend"===e.type?e.changedTouches[0]:e).pageX,("touchend"===e.type?e.changedTouches[0]:e).pageY):(t=l.touchesStart.x,l.touchesStart.y),o.scale=r.$imageWrapEl.attr("data-swiper-zoom")||a.maxRatio,o.currentScale=r.$imageWrapEl.attr("data-swiper-zoom")||a.maxRatio,e?(a=r.$slideEl[0].offsetWidth,e=r.$slideEl[0].offsetHeight,t=r.$slideEl.offset().left+a/2-t,l=r.$slideEl.offset().top+e/2-l,n=r.$imageEl[0].offsetWidth,s=r.$imageEl[0].offsetHeight,n=n*o.scale,s=s*o.scale,n=-(a=Math.min(a/2-n/2,0)),s=-(e=Math.min(e/2-s/2,0)),n<(i=(i=t*o.scale)<a?a:i)&&(i=n),s<(n=(n=l*o.scale)<e?e:n)&&(n=s)):n=i=0,r.$imageWrapEl.transition(300).transform("translate3d("+i+"px, "+n+"px,0)"),r.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+o.scale+")"))},out:function(){var e=this.zoom,t=this.params.zoom,i=e.gesture;i.$slideEl||(i.$slideEl=this.slides.eq(this.activeIndex),i.$imageEl=i.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),i.$imageWrapEl=i.$imageEl.parent("."+t.containerClass)),i.$imageEl&&0!==i.$imageEl.length&&(e.scale=1,e.currentScale=1,i.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),i.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),i.$slideEl.removeClass(""+t.zoomedSlideClass),i.$slideEl=void 0)},enable:function(){var e,t,i,n=this.zoom;n.enabled||(n.enabled=!0,e=!("touchstart"!==this.touchEvents.start||!w.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1},t=!w.passiveListener||{passive:!1,capture:!0},i="."+this.params.slideClass,w.gestures?(this.$wrapperEl.on("gesturestart",i,n.onGestureStart,e),this.$wrapperEl.on("gesturechange",i,n.onGestureChange,e),this.$wrapperEl.on("gestureend",i,n.onGestureEnd,e)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.on(this.touchEvents.start,i,n.onGestureStart,e),this.$wrapperEl.on(this.touchEvents.move,i,n.onGestureChange,t),this.$wrapperEl.on(this.touchEvents.end,i,n.onGestureEnd,e),this.touchEvents.cancel)&&this.$wrapperEl.on(this.touchEvents.cancel,i,n.onGestureEnd,e),this.$wrapperEl.on(this.touchEvents.move,"."+this.params.zoom.containerClass,n.onTouchMove,t))},disable:function(){var e,t,i,n=this.zoom;n.enabled&&(this.zoom.enabled=!1,e=!("touchstart"!==this.touchEvents.start||!w.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1},t=!w.passiveListener||{passive:!1,capture:!0},i="."+this.params.slideClass,w.gestures?(this.$wrapperEl.off("gesturestart",i,n.onGestureStart,e),this.$wrapperEl.off("gesturechange",i,n.onGestureChange,e),this.$wrapperEl.off("gestureend",i,n.onGestureEnd,e)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.off(this.touchEvents.start,i,n.onGestureStart,e),this.$wrapperEl.off(this.touchEvents.move,i,n.onGestureChange,t),this.$wrapperEl.off(this.touchEvents.end,i,n.onGestureEnd,e),this.touchEvents.cancel)&&this.$wrapperEl.off(this.touchEvents.cancel,i,n.onGestureEnd,e),this.$wrapperEl.off(this.touchEvents.move,"."+this.params.zoom.containerClass,n.onTouchMove,t))}},J={loadInSlide:function(e,r){void 0===r&&(r=!0);var l,c=this,d=c.params.lazy;void 0!==e&&0!==c.slides.length&&(e=(l=c.virtual&&c.params.virtual.enabled?c.$wrapperEl.children("."+c.params.slideClass+'[data-swiper-slide-index="'+e+'"]'):c.slides.eq(e)).find("."+d.elementClass+":not(."+d.loadedClass+"):not(."+d.loadingClass+")"),0!==(e=!l.hasClass(d.elementClass)||l.hasClass(d.loadedClass)||l.hasClass(d.loadingClass)?e:e.add(l[0])).length)&&e.each(function(e,t){var i=E(t),n=(i.addClass(d.loadingClass),i.attr("data-background")),s=i.attr("data-src"),o=i.attr("data-srcset"),a=i.attr("data-sizes");c.loadImage(i[0],s||n,o,a,!1,function(){var e,t;null==c||!c||c&&!c.params||c.destroyed||(n?(i.css("background-image",'url("'+n+'")'),i.removeAttr("data-background")):(o&&(i.attr("srcset",o),i.removeAttr("data-srcset")),a&&(i.attr("sizes",a),i.removeAttr("data-sizes")),s&&(i.attr("src",s),i.removeAttr("data-src"))),i.addClass(d.loadedClass).removeClass(d.loadingClass),l.find("."+d.preloaderClass).remove(),c.params.loop&&r&&(e=l.attr("data-swiper-slide-index"),l.hasClass(c.params.slideDuplicateClass)?(t=c.$wrapperEl.children('[data-swiper-slide-index="'+e+'"]:not(.'+c.params.slideDuplicateClass+")"),c.lazy.loadInSlide(t.index(),!1)):(t=c.$wrapperEl.children("."+c.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]'),c.lazy.loadInSlide(t.index(),!1))),c.emit("lazyImageReady",l[0],i[0]),c.params.autoHeight&&c.updateAutoHeight())}),c.emit("lazyImageLoad",l[0],i[0])})},load:function(){var i=this,t=i.$wrapperEl,n=i.params,s=i.slides,e=i.activeIndex,o=i.virtual&&n.virtual.enabled,a=n.lazy,r=n.slidesPerView;function l(e){if(o){if(t.children("."+n.slideClass+'[data-swiper-slide-index="'+e+'"]').length)return 1}else if(s[e])return 1}function c(e){return o?E(e).attr("data-swiper-slide-index"):E(e).index()}if("auto"===r&&(r=0),i.lazy.initialImageLoaded||(i.lazy.initialImageLoaded=!0),i.params.watchSlidesVisibility)t.children("."+n.slideVisibleClass).each(function(e,t){t=o?E(t).attr("data-swiper-slide-index"):E(t).index();i.lazy.loadInSlide(t)});else if(1<r)for(var d=e;d<e+r;d+=1)l(d)&&i.lazy.loadInSlide(d);else i.lazy.loadInSlide(e);if(a.loadPrevNext)if(1<r||a.loadPrevNextAmount&&1<a.loadPrevNextAmount){for(var a=a.loadPrevNextAmount,u=r,h=Math.min(e+u+Math.max(a,u),s.length),u=Math.max(e-Math.max(u,a),0),p=e+r;p<h;p+=1)l(p)&&i.lazy.loadInSlide(p);for(var f=u;f<e;f+=1)l(f)&&i.lazy.loadInSlide(f)}else{a=t.children("."+n.slideNextClass),u=(0<a.length&&i.lazy.loadInSlide(c(a)),t.children("."+n.slidePrevClass));0<u.length&&i.lazy.loadInSlide(c(u))}}},z={LinearSpline:function(e,t){var i,n,s,o,a;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(a=((e,t)=>{for(n=-1,i=e.length;1<i-n;)e[s=i+n>>1]<=t?n=s:i=s;return i})(this.x,e),o=a-1,(e-this.x[o])*(this.y[a]-this.y[o])/(this.x[a]-this.x[o])+this.y[o]):0},this},getInterpolateFunction:function(e){this.controller.spline||(this.controller.spline=this.params.loop?new z.LinearSpline(this.slidesGrid,e.slidesGrid):new z.LinearSpline(this.snapGrid,e.snapGrid))},setTranslate:function(e,t){var i,n,s=this,o=s.controller.control;function a(e){var t=s.rtlTranslate?-s.translate:s.translate;"slide"===s.params.controller.by&&(s.controller.getInterpolateFunction(e),n=-s.controller.spline.interpolate(-t)),n&&"container"!==s.params.controller.by||(i=(e.maxTranslate()-e.minTranslate())/(s.maxTranslate()-s.minTranslate()),n=(t-s.minTranslate())*i+e.minTranslate()),s.params.controller.inverse&&(n=e.maxTranslate()-n),e.updateProgress(n),e.setTranslate(n,s),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(o))for(var r=0;r<o.length;r+=1)o[r]!==t&&o[r]instanceof p&&a(o[r]);else o instanceof p&&t!==o&&a(o)},setTransition:function(t,e){var i,n=this,s=n.controller.control;function o(e){e.setTransition(t,n),0!==t&&(e.transitionStart(),e.params.autoHeight&&X.nextTick(function(){e.updateAutoHeight()}),e.$wrapperEl.transitionEnd(function(){s&&(e.params.loop&&"slide"===n.params.controller.by&&e.loopFix(),e.transitionEnd())}))}if(Array.isArray(s))for(i=0;i<s.length;i+=1)s[i]!==e&&s[i]instanceof p&&o(s[i]);else s instanceof p&&e!==s&&o(s)}},ee={makeElFocusable:function(e){return e.attr("tabIndex","0"),e},addElRole:function(e,t){return e.attr("role",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterKey:function(e){var t=this.params.a11y;13===e.keyCode&&(e=E(e.target),this.navigation&&this.navigation.$nextEl&&e.is(this.navigation.$nextEl)&&(this.isEnd&&!this.params.loop||this.slideNext(),this.isEnd?this.a11y.notify(t.lastSlideMessage):this.a11y.notify(t.nextSlideMessage)),this.navigation&&this.navigation.$prevEl&&e.is(this.navigation.$prevEl)&&(this.isBeginning&&!this.params.loop||this.slidePrev(),this.isBeginning?this.a11y.notify(t.firstSlideMessage):this.a11y.notify(t.prevSlideMessage)),this.pagination)&&e.is("."+this.params.pagination.bulletClass)&&e[0].click()},notify:function(e){var t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation:function(){var e,t;!this.params.loop&&this.navigation&&(e=(t=this.navigation).$nextEl,(t=t.$prevEl)&&0<t.length&&(this.isBeginning?this.a11y.disableEl(t):this.a11y.enableEl(t)),e)&&0<e.length&&(this.isEnd?this.a11y.disableEl(e):this.a11y.enableEl(e))},updatePagination:function(){var i=this,n=i.params.a11y;i.pagination&&i.params.pagination.clickable&&i.pagination.bullets&&i.pagination.bullets.length&&i.pagination.bullets.each(function(e,t){t=E(t);i.a11y.makeElFocusable(t),i.a11y.addElRole(t,"button"),i.a11y.addElLabel(t,n.paginationBulletMessage.replace(/{{index}}/,t.index()+1))})},init:function(){this.$el.append(this.a11y.liveRegion);var e,t,i=this.params.a11y;this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl),e&&(this.a11y.makeElFocusable(e),this.a11y.addElRole(e,"button"),this.a11y.addElLabel(e,i.nextSlideMessage),e.on("keydown",this.a11y.onEnterKey)),t&&(this.a11y.makeElFocusable(t),this.a11y.addElRole(t,"button"),this.a11y.addElLabel(t,i.prevSlideMessage),t.on("keydown",this.a11y.onEnterKey)),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.on("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)},destroy:function(){var e,t;this.a11y.liveRegion&&0<this.a11y.liveRegion.length&&this.a11y.liveRegion.remove(),this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl),e&&e.off("keydown",this.a11y.onEnterKey),t&&t.off("keydown",this.a11y.onEnterKey),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.off("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)}},I={init:function(){var e;this.params.history&&(Y.history&&Y.history.pushState?((e=this.history).initialized=!0,e.paths=I.getPathValues(),(e.paths.key||e.paths.value)&&(e.scrollToSlide(0,e.paths.value,this.params.runCallbacksOnInit),this.params.history.replaceState||Y.addEventListener("popstate",this.history.setHistoryPopState))):(this.params.history.enabled=!1,this.params.hashNavigation.enabled=!0))},destroy:function(){this.params.history.replaceState||Y.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){this.history.paths=I.getPathValues(),this.history.scrollToSlide(this.params.speed,this.history.paths.value,!1)},getPathValues:function(){var e=Y.location.pathname.slice(1).split("/").filter(function(e){return""!==e}),t=e.length;return{key:e[t-2],value:e[t-1]}},setHistory:function(e,t){this.history.initialized&&this.params.history.enabled&&(t=this.slides.eq(t),t=I.slugify(t.attr("data-history")),Y.location.pathname.includes(e)||(t=e+"/"+t),(e=Y.history.state)&&e.value===t||(this.params.history.replaceState?Y.history.replaceState({value:t},null,t):Y.history.pushState({value:t},null,t)))},slugify:function(e){return e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,i){if(t)for(var n=0,s=this.slides.length;n<s;n+=1){var o=this.slides.eq(n);I.slugify(o.attr("data-history"))!==t||o.hasClass(this.params.slideDuplicateClass)||(o=o.index(),this.slideTo(o,e,i))}else this.slideTo(0,e,i)}},P={onHashCange:function(){var e=u.location.hash.replace("#","");e!==this.slides.eq(this.activeIndex).attr("data-hash")&&void 0!==(e=this.$wrapperEl.children("."+this.params.slideClass+'[data-hash="'+e+'"]').index())&&this.slideTo(e)},setHash:function(){var e;this.hashNavigation.initialized&&this.params.hashNavigation.enabled&&(this.params.hashNavigation.replaceState&&Y.history&&Y.history.replaceState?Y.history.replaceState(null,null,"#"+this.slides.eq(this.activeIndex).attr("data-hash")||""):(e=(e=this.slides.eq(this.activeIndex)).attr("data-hash")||e.attr("data-history"),u.location.hash=e||""))},init:function(){if(!(!this.params.hashNavigation.enabled||this.params.history&&this.params.history.enabled)){this.hashNavigation.initialized=!0;var e=u.location.hash.replace("#","");if(e)for(var t=0,i=this.slides.length;t<i;t+=1){var n=this.slides.eq(t);(n.attr("data-hash")||n.attr("data-history"))!==e||n.hasClass(this.params.slideDuplicateClass)||(n=n.index(),this.slideTo(n,0,this.params.runCallbacksOnInit,!0))}this.params.hashNavigation.watchState&&E(Y).on("hashchange",this.hashNavigation.onHashCange)}},destroy:function(){this.params.hashNavigation.watchState&&E(Y).off("hashchange",this.hashNavigation.onHashCange)}},_={run:function(){var e=this,t=e.slides.eq(e.activeIndex),i=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(i=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(e.autoplay.timeout),e.autoplay.timeout=X.nextTick(function(){e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")),e.params.cssMode&&e.autoplay.running&&e.autoplay.run()},i)},start:function(){return void 0===this.autoplay.timeout&&!this.autoplay.running&&(this.autoplay.running=!0,this.emit("autoplayStart"),this.autoplay.run(),!0)},stop:function(){return!!this.autoplay.running&&void 0!==this.autoplay.timeout&&(this.autoplay.timeout&&(clearTimeout(this.autoplay.timeout),this.autoplay.timeout=void 0),this.autoplay.running=!1,this.emit("autoplayStop"),!0)},pause:function(e){!this.autoplay.running||this.autoplay.paused||(this.autoplay.timeout&&clearTimeout(this.autoplay.timeout),this.autoplay.paused=!0,0!==e&&this.params.autoplay.waitForTransition?(this.$wrapperEl[0].addEventListener("transitionend",this.autoplay.onTransitionEnd),this.$wrapperEl[0].addEventListener("webkitTransitionEnd",this.autoplay.onTransitionEnd)):(this.autoplay.paused=!1,this.autoplay.run()))}},te={setTranslate:function(){for(var e=this.slides,t=0;t<e.length;t+=1){var i=this.slides.eq(t),n=-i[0].swiperSlideOffset,s=(this.params.virtualTranslate||(n-=this.translate),0),o=(this.isHorizontal()||(s=n,n=0),this.params.fadeEffect.crossFade?Math.max(1-Math.abs(i[0].progress),0):1+Math.min(Math.max(i[0].progress,-1),0));i.css({opacity:o}).transform("translate3d("+n+"px, "+s+"px, 0px)")}},setTransition:function(e){var i,n=this,t=n.slides,s=n.$wrapperEl;t.transition(e),n.params.virtualTranslate&&0!==e&&(i=!1,t.transitionEnd(function(){if(!i&&n&&!n.destroyed){i=!0,n.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],t=0;t<e.length;t+=1)s.trigger(e[t])}}))}},ie={setTranslate:function(){var e,t=this.$el,i=this.$wrapperEl,n=this.slides,s=this.width,o=this.height,a=this.rtlTranslate,r=this.size,l=this.params.cubeEffect,c=this.isHorizontal(),d=this.virtual&&this.params.virtual.enabled,u=0;l.shadow&&(c?(0===(e=i.find(".swiper-cube-shadow")).length&&(e=E('<div class="swiper-cube-shadow"></div>'),i.append(e)),e.css({height:s+"px"})):0===(e=t.find(".swiper-cube-shadow")).length&&(e=E('<div class="swiper-cube-shadow"></div>'),t.append(e)));for(var h,p=0;p<n.length;p+=1){var f=n.eq(p),m=p,g=90*(m=d?parseInt(f.attr("data-swiper-slide-index"),10):m),v=Math.floor(g/360),y=(a&&(g=-g,v=Math.floor(-g/360)),Math.max(Math.min(f[0].progress,1),-1)),b=0,w=0,x=0,v=(m%4==0?(b=4*-v*r,x=0):(m-1)%4==0?(b=0,x=4*-v*r):(m-2)%4==0?(b=r+4*v*r,x=r):(m-3)%4==0&&(b=-r,x=3*r+4*r*v),a&&(b=-b),c||(w=b,b=0),"rotateX("+(c?0:-g)+"deg) rotateY("+(c?g:0)+"deg) translate3d("+b+"px, "+w+"px, "+x+"px)");y<=1&&-1<y&&(u=90*m+90*y,a)&&(u=90*-m-90*y),f.transform(v),l.slideShadows&&(g=c?f.find(".swiper-slide-shadow-left"):f.find(".swiper-slide-shadow-top"),b=c?f.find(".swiper-slide-shadow-right"):f.find(".swiper-slide-shadow-bottom"),0===g.length&&(g=E('<div class="swiper-slide-shadow-'+(c?"left":"top")+'"></div>'),f.append(g)),0===b.length&&(b=E('<div class="swiper-slide-shadow-'+(c?"right":"bottom")+'"></div>'),f.append(b)),g.length&&(g[0].style.opacity=Math.max(-y,0)),b.length)&&(b[0].style.opacity=Math.max(y,0))}i.css({"-webkit-transform-origin":"50% 50% -"+r/2+"px","-moz-transform-origin":"50% 50% -"+r/2+"px","-ms-transform-origin":"50% 50% -"+r/2+"px","transform-origin":"50% 50% -"+r/2+"px"}),l.shadow&&(c?e.transform("translate3d(0px, "+(s/2+l.shadowOffset)+"px, "+-s/2+"px) rotateX(90deg) rotateZ(0deg) scale("+l.shadowScale+")"):(t=Math.abs(u)-90*Math.floor(Math.abs(u)/90),s=1.5-(Math.sin(2*t*Math.PI/360)/2+Math.cos(2*t*Math.PI/360)/2),t=l.shadowScale,s=l.shadowScale/s,h=l.shadowOffset,e.transform("scale3d("+t+", 1, "+s+") translate3d(0px, "+(o/2+h)+"px, "+-o/2/s+"px) rotateX(-90deg)"))),i.transform("translate3d(0px,0,"+(A.isSafari||A.isUiWebView?-r/2:0)+"px) rotateX("+(this.isHorizontal()?0:u)+"deg) rotateY("+(this.isHorizontal()?-u:0)+"deg)")},setTransition:function(e){var t=this.$el;this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),this.params.cubeEffect.shadow&&!this.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)}},ne={setTranslate:function(){for(var e=this.slides,t=this.rtlTranslate,i=0;i<e.length;i+=1){var n,s,o=e.eq(i),a=o[0].progress,r=-180*(a=this.params.flipEffect.limitRotation?Math.max(Math.min(o[0].progress,1),-1):a),l=0,c=-o[0].swiperSlideOffset,d=0;this.isHorizontal()?t&&(r=-r):(d=c,l=-r,r=c=0),o[0].style.zIndex=-Math.abs(Math.round(a))+e.length,this.params.flipEffect.slideShadows&&(n=this.isHorizontal()?o.find(".swiper-slide-shadow-left"):o.find(".swiper-slide-shadow-top"),s=this.isHorizontal()?o.find(".swiper-slide-shadow-right"):o.find(".swiper-slide-shadow-bottom"),0===n.length&&(n=E('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"left":"top")+'"></div>'),o.append(n)),0===s.length&&(s=E('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"right":"bottom")+'"></div>'),o.append(s)),n.length&&(n[0].style.opacity=Math.max(-a,0)),s.length)&&(s[0].style.opacity=Math.max(a,0)),o.transform("translate3d("+c+"px, "+d+"px, 0px) rotateX("+l+"deg) rotateY("+r+"deg)")}},setTransition:function(e){var i,n=this,t=n.slides,s=n.activeIndex,o=n.$wrapperEl;t.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),n.params.virtualTranslate&&0!==e&&(i=!1,t.eq(s).transitionEnd(function(){if(!i&&n&&!n.destroyed){i=!0,n.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],t=0;t<e.length;t+=1)o.trigger(e[t])}}))}},se={setTranslate:function(){for(var e=this.width,t=this.height,i=this.slides,n=this.$wrapperEl,s=this.slidesSizesGrid,o=this.params.coverflowEffect,a=this.isHorizontal(),r=this.translate,l=a?e/2-r:t/2-r,c=a?o.rotate:-o.rotate,d=o.depth,u=0,h=i.length;u<h;u+=1){var p=i.eq(u),f=s[u],m=(l-p[0].swiperSlideOffset-f/2)/f*o.modifier,g=a?c*m:0,v=a?0:c*m,y=-d*Math.abs(m),b=o.stretch,f=("string"==typeof b&&-1!==b.indexOf("%")&&(b=parseFloat(o.stretch)/100*f),a?0:b*m),b=a?b*m:0,b=(Math.abs(b)<.001&&(b=0),Math.abs(f)<.001&&(f=0),Math.abs(y)<.001&&(y=0),Math.abs(g)<.001&&(g=0),"translate3d("+b+"px,"+f+"px,"+y+"px)  rotateX("+(v=Math.abs(v)<.001?0:v)+"deg) rotateY("+g+"deg)");p.transform(b),p[0].style.zIndex=1-Math.abs(Math.round(m)),o.slideShadows&&(f=a?p.find(".swiper-slide-shadow-left"):p.find(".swiper-slide-shadow-top"),y=a?p.find(".swiper-slide-shadow-right"):p.find(".swiper-slide-shadow-bottom"),0===f.length&&(f=E('<div class="swiper-slide-shadow-'+(a?"left":"top")+'"></div>'),p.append(f)),0===y.length&&(y=E('<div class="swiper-slide-shadow-'+(a?"right":"bottom")+'"></div>'),p.append(y)),f.length&&(f[0].style.opacity=0<m?m:0),y.length)&&(y[0].style.opacity=0<-m?-m:0)}(w.pointerEvents||w.prefixedPointerEvents)&&(n[0].style.perspectiveOrigin=l+"px 50%")},setTransition:function(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},oe={init:function(){var e=this.params.thumbs,t=this.constructor;e.swiper instanceof t?(this.thumbs.swiper=e.swiper,X.extend(this.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),X.extend(this.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):X.isObject(e.swiper)&&(this.thumbs.swiper=new t(X.extend({},e.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),this.thumbs.swiperCreated=!0),this.thumbs.swiper.$el.addClass(this.params.thumbs.thumbsContainerClass),this.thumbs.swiper.on("tap",this.thumbs.onThumbClick)},onThumbClick:function(){var e,t,i,n=this.thumbs.swiper;n&&(e=n.clickedIndex,(i=n.clickedSlide)&&E(i).hasClass(this.params.thumbs.slideThumbActiveClass)||null==e||(i=n.params.loop?parseInt(E(n.clickedSlide).attr("data-swiper-slide-index"),10):e,this.params.loop&&(n=this.activeIndex,this.slides.eq(n).hasClass(this.params.slideDuplicateClass)&&(this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft,n=this.activeIndex),e=this.slides.eq(n).prevAll('[data-swiper-slide-index="'+i+'"]').eq(0).index(),t=this.slides.eq(n).nextAll('[data-swiper-slide-index="'+i+'"]').eq(0).index(),i=void 0===e||void 0!==t&&t-n<n-e?t:e),this.slideTo(i)))},update:function(e){var t=this.thumbs.swiper;if(t){var i,n,s,o="auto"===t.params.slidesPerView?t.slidesPerViewDynamic():t.params.slidesPerView,a=(this.realIndex!==t.realIndex&&(i=t.activeIndex,s=t.params.loop?(t.slides.eq(i).hasClass(t.params.slideDuplicateClass)&&(t.loopFix(),t._clientLeft=t.$wrapperEl[0].clientLeft,i=t.activeIndex),n=t.slides.eq(i).prevAll('[data-swiper-slide-index="'+this.realIndex+'"]').eq(0).index(),s=t.slides.eq(i).nextAll('[data-swiper-slide-index="'+this.realIndex+'"]').eq(0).index(),void 0===n?s:void 0===s?n:s-i==i-n?i:s-i<i-n?s:n):this.realIndex,t.visibleSlidesIndexes)&&t.visibleSlidesIndexes.indexOf(s)<0&&(t.params.centeredSlides?s=i<s?s-Math.floor(o/2)+1:s+Math.floor(o/2)-1:i<s&&(s=s-o+1),t.slideTo(s,e?0:void 0)),1),r=this.params.thumbs.slideThumbActiveClass;if(1<this.params.slidesPerView&&!this.params.centeredSlides&&(a=this.params.slidesPerView),this.params.thumbs.multipleActiveThumbs||(a=1),a=Math.floor(a),t.slides.removeClass(r),t.params.loop||t.params.virtual&&t.params.virtual.enabled)for(var l=0;l<a;l+=1)t.$wrapperEl.children('[data-swiper-slide-index="'+(this.realIndex+l)+'"]').addClass(r);else for(var c=0;c<a;c+=1)t.slides.eq(this.realIndex+c).addClass(r)}}},D=[f,U,V,m,v,b,x,{name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create:function(){X.extend(this,{mousewheel:{enabled:!1,enable:T.enable.bind(this),disable:T.disable.bind(this),handle:T.handle.bind(this),handleMouseEnter:T.handleMouseEnter.bind(this),handleMouseLeave:T.handleMouseLeave.bind(this),animateSlider:T.animateSlider.bind(this),releaseScroll:T.releaseScroll.bind(this),lastScrollTime:X.now(),lastEventBeforeSnap:void 0,recentWheelEvents:[]}})},on:{init:function(){!this.params.mousewheel.enabled&&this.params.cssMode&&this.mousewheel.disable(),this.params.mousewheel.enabled&&this.mousewheel.enable()},destroy:function(){this.params.cssMode&&this.mousewheel.enable(),this.mousewheel.enabled&&this.mousewheel.disable()}}},{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){X.extend(this,{navigation:{init:C.init.bind(this),update:C.update.bind(this),destroy:C.destroy.bind(this),onNextClick:C.onNextClick.bind(this),onPrevClick:C.onPrevClick.bind(this)}})},on:{init:function(){this.navigation.init(),this.navigation.update()},toEdge:function(){this.navigation.update()},fromEdge:function(){this.navigation.update()},destroy:function(){this.navigation.destroy()},click:function(e){var t,i=this.navigation,n=i.$nextEl,i=i.$prevEl;!this.params.navigation.hideOnClick||E(e.target).is(i)||E(e.target).is(n)||(n?t=n.hasClass(this.params.navigation.hiddenClass):i&&(t=i.hasClass(this.params.navigation.hiddenClass)),!0===t?this.emit("navigationShow",this):this.emit("navigationHide",this),n&&n.toggleClass(this.params.navigation.hiddenClass),i&&i.toggleClass(this.params.navigation.hiddenClass))}}},{name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){X.extend(this,{pagination:{init:M.init.bind(this),render:M.render.bind(this),update:M.update.bind(this),destroy:M.destroy.bind(this),dynamicBulletIndex:0}})},on:{init:function(){this.pagination.init(),this.pagination.render(),this.pagination.update()},activeIndexChange:function(){!this.params.loop&&void 0!==this.snapIndex||this.pagination.update()},snapIndexChange:function(){this.params.loop||this.pagination.update()},slidesLengthChange:function(){this.params.loop&&(this.pagination.render(),this.pagination.update())},snapGridLengthChange:function(){this.params.loop||(this.pagination.render(),this.pagination.update())},destroy:function(){this.pagination.destroy()},click:function(e){this.params.pagination.el&&this.params.pagination.hideOnClick&&0<this.pagination.$el.length&&!E(e.target).hasClass(this.params.pagination.bulletClass)&&(!0===this.pagination.$el.hasClass(this.params.pagination.hiddenClass)?this.emit("paginationShow",this):this.emit("paginationHide",this),this.pagination.$el.toggleClass(this.params.pagination.hiddenClass))}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){X.extend(this,{scrollbar:{init:k.init.bind(this),destroy:k.destroy.bind(this),updateSize:k.updateSize.bind(this),setTranslate:k.setTranslate.bind(this),setTransition:k.setTransition.bind(this),enableDraggable:k.enableDraggable.bind(this),disableDraggable:k.disableDraggable.bind(this),setDragPosition:k.setDragPosition.bind(this),getPointerPosition:k.getPointerPosition.bind(this),onDragStart:k.onDragStart.bind(this),onDragMove:k.onDragMove.bind(this),onDragEnd:k.onDragEnd.bind(this),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){this.scrollbar.init(),this.scrollbar.updateSize(),this.scrollbar.setTranslate()},update:function(){this.scrollbar.updateSize()},resize:function(){this.scrollbar.updateSize()},observerUpdate:function(){this.scrollbar.updateSize()},setTranslate:function(){this.scrollbar.setTranslate()},setTransition:function(e){this.scrollbar.setTransition(e)},destroy:function(){this.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){X.extend(this,{parallax:{setTransform:Z.setTransform.bind(this),setTranslate:Z.setTranslate.bind(this),setTransition:Z.setTransition.bind(this)}})},on:{beforeInit:function(){this.params.parallax.enabled&&(this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},init:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTranslate:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTransition:function(e){this.params.parallax.enabled&&this.parallax.setTransition(e)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var n=this,t={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}},s=("onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach(function(e){t[e]=Q[e].bind(n)}),X.extend(n,{zoom:t}),1);Object.defineProperty(n.zoom,"scale",{get:function(){return s},set:function(e){var t,i;s!==e&&(t=n.zoom.gesture.$imageEl?n.zoom.gesture.$imageEl[0]:void 0,i=n.zoom.gesture.$slideEl?n.zoom.gesture.$slideEl[0]:void 0,n.emit("zoomChange",e,t,i)),s=e}})},on:{init:function(){this.params.zoom.enabled&&this.zoom.enable()},destroy:function(){this.zoom.disable()},touchStart:function(e){this.zoom.enabled&&this.zoom.onTouchStart(e)},touchEnd:function(e){this.zoom.enabled&&this.zoom.onTouchEnd(e)},doubleTap:function(e){this.params.zoom.enabled&&this.zoom.enabled&&this.params.zoom.toggle&&this.zoom.toggle(e)},transitionEnd:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.zoom.onTransitionEnd()},slideChange:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.params.cssMode&&this.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){X.extend(this,{lazy:{initialImageLoaded:!1,load:J.load.bind(this),loadInSlide:J.loadInSlide.bind(this)}})},on:{beforeInit:function(){this.params.lazy.enabled&&this.params.preloadImages&&(this.params.preloadImages=!1)},init:function(){this.params.lazy.enabled&&!this.params.loop&&0===this.params.initialSlide&&this.lazy.load()},scroll:function(){this.params.freeMode&&!this.params.freeModeSticky&&this.lazy.load()},resize:function(){this.params.lazy.enabled&&this.lazy.load()},scrollbarDragMove:function(){this.params.lazy.enabled&&this.lazy.load()},transitionStart:function(){this.params.lazy.enabled&&(this.params.lazy.loadOnTransitionStart||!this.params.lazy.loadOnTransitionStart&&!this.lazy.initialImageLoaded)&&this.lazy.load()},transitionEnd:function(){this.params.lazy.enabled&&!this.params.lazy.loadOnTransitionStart&&this.lazy.load()},slideChange:function(){this.params.lazy.enabled&&this.params.cssMode&&this.lazy.load()}}},{name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){X.extend(this,{controller:{control:this.params.controller.control,getInterpolateFunction:z.getInterpolateFunction.bind(this),setTranslate:z.setTranslate.bind(this),setTransition:z.setTransition.bind(this)}})},on:{update:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},resize:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},observerUpdate:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},setTranslate:function(e,t){this.controller.control&&this.controller.setTranslate(e,t)},setTransition:function(e,t){this.controller.control&&this.controller.setTransition(e,t)}}},{name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create:function(){var t=this;X.extend(t,{a11y:{liveRegion:E('<span class="'+t.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>')}}),Object.keys(ee).forEach(function(e){t.a11y[e]=ee[e].bind(t)})},on:{init:function(){this.params.a11y.enabled&&(this.a11y.init(),this.a11y.updateNavigation())},toEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate:function(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy:function(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){X.extend(this,{history:{init:I.init.bind(this),setHistory:I.setHistory.bind(this),setHistoryPopState:I.setHistoryPopState.bind(this),scrollToSlide:I.scrollToSlide.bind(this),destroy:I.destroy.bind(this)}})},on:{init:function(){this.params.history.enabled&&this.history.init()},destroy:function(){this.params.history.enabled&&this.history.destroy()},transitionEnd:function(){this.history.initialized&&this.history.setHistory(this.params.history.key,this.activeIndex)},slideChange:function(){this.history.initialized&&this.params.cssMode&&this.history.setHistory(this.params.history.key,this.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){X.extend(this,{hashNavigation:{initialized:!1,init:P.init.bind(this),destroy:P.destroy.bind(this),setHash:P.setHash.bind(this),onHashCange:P.onHashCange.bind(this)}})},on:{init:function(){this.params.hashNavigation.enabled&&this.hashNavigation.init()},destroy:function(){this.params.hashNavigation.enabled&&this.hashNavigation.destroy()},transitionEnd:function(){this.hashNavigation.initialized&&this.hashNavigation.setHash()},slideChange:function(){this.hashNavigation.initialized&&this.params.cssMode&&this.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var t=this;X.extend(t,{autoplay:{running:!1,paused:!1,run:_.run.bind(t),start:_.start.bind(t),stop:_.stop.bind(t),pause:_.pause.bind(t),onVisibilityChange:function(){"hidden"===document.visibilityState&&t.autoplay.running&&t.autoplay.pause(),"visible"===document.visibilityState&&t.autoplay.paused&&(t.autoplay.run(),t.autoplay.paused=!1)},onTransitionEnd:function(e){t&&!t.destroyed&&t.$wrapperEl&&e.target===this&&(t.$wrapperEl[0].removeEventListener("transitionend",t.autoplay.onTransitionEnd),t.$wrapperEl[0].removeEventListener("webkitTransitionEnd",t.autoplay.onTransitionEnd),t.autoplay.paused=!1,t.autoplay.running?t.autoplay.run():t.autoplay.stop())}}})},on:{init:function(){this.params.autoplay.enabled&&(this.autoplay.start(),document.addEventListener("visibilitychange",this.autoplay.onVisibilityChange))},beforeTransitionStart:function(e,t){this.autoplay.running&&(t||!this.params.autoplay.disableOnInteraction?this.autoplay.pause(e):this.autoplay.stop())},sliderFirstMove:function(){this.autoplay.running&&(this.params.autoplay.disableOnInteraction?this.autoplay.stop():this.autoplay.pause())},touchEnd:function(){this.params.cssMode&&this.autoplay.paused&&!this.params.autoplay.disableOnInteraction&&this.autoplay.run()},destroy:function(){this.autoplay.running&&this.autoplay.stop(),document.removeEventListener("visibilitychange",this.autoplay.onVisibilityChange)}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){X.extend(this,{fadeEffect:{setTranslate:te.setTranslate.bind(this),setTransition:te.setTransition.bind(this)}})},on:{beforeInit:function(){var e;"fade"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass+"fade"),X.extend(this.params,e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0}),X.extend(this.originalParams,e))},setTranslate:function(){"fade"===this.params.effect&&this.fadeEffect.setTranslate()},setTransition:function(e){"fade"===this.params.effect&&this.fadeEffect.setTransition(e)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){X.extend(this,{cubeEffect:{setTranslate:ie.setTranslate.bind(this),setTransition:ie.setTransition.bind(this)}})},on:{beforeInit:function(){var e;"cube"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass+"cube"),this.classNames.push(this.params.containerModifierClass+"3d"),X.extend(this.params,e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0}),X.extend(this.originalParams,e))},setTranslate:function(){"cube"===this.params.effect&&this.cubeEffect.setTranslate()},setTransition:function(e){"cube"===this.params.effect&&this.cubeEffect.setTransition(e)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){X.extend(this,{flipEffect:{setTranslate:ne.setTranslate.bind(this),setTransition:ne.setTransition.bind(this)}})},on:{beforeInit:function(){var e;"flip"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass+"flip"),this.classNames.push(this.params.containerModifierClass+"3d"),X.extend(this.params,e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0}),X.extend(this.originalParams,e))},setTranslate:function(){"flip"===this.params.effect&&this.flipEffect.setTranslate()},setTransition:function(e){"flip"===this.params.effect&&this.flipEffect.setTransition(e)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0}},create:function(){X.extend(this,{coverflowEffect:{setTranslate:se.setTranslate.bind(this),setTransition:se.setTransition.bind(this)}})},on:{beforeInit:function(){"coverflow"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass+"coverflow"),this.classNames.push(this.params.containerModifierClass+"3d"),this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},setTranslate:function(){"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()},setTransition:function(e){"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(e)}}},{name:"thumbs",params:{thumbs:{multipleActiveThumbs:!0,swiper:null,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){X.extend(this,{thumbs:{swiper:null,init:oe.init.bind(this),update:oe.update.bind(this),onThumbClick:oe.onThumbClick.bind(this)}})},on:{beforeInit:function(){var e=this.params.thumbs;e&&e.swiper&&(this.thumbs.init(),this.thumbs.update(!0))},slideChange:function(){this.thumbs.swiper&&this.thumbs.update()},update:function(){this.thumbs.swiper&&this.thumbs.update()},resize:function(){this.thumbs.swiper&&this.thumbs.update()},observerUpdate:function(){this.thumbs.swiper&&this.thumbs.update()},setTransition:function(e){var t=this.thumbs.swiper;t&&t.setTransition(e)},beforeDestroy:function(){var e=this.thumbs.swiper;e&&this.thumbs.swiperCreated&&e&&e.destroy()}}}];return void 0===p.use&&(p.use=p.Class.use,p.installModule=p.Class.installModule),p.use(D),p}),(()=>{var t=0,o={};function i(e){if(!e)throw new Error("No options passed to Waypoint constructor");if(!e.element)throw new Error("No element option passed to Waypoint constructor");if(!e.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+t,this.options=i.Adapter.extend({},i.defaults,e),this.element=this.options.element,this.adapter=new i.Adapter(this.element),this.callback=e.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=i.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=i.Context.findOrCreateByElement(this.options.context),i.offsetAliases[this.options.offset]&&(this.options.offset=i.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),o[this.key]=this,t+=1}i.prototype.queueTrigger=function(e){this.group.queueTrigger(this,e)},i.prototype.trigger=function(e){this.enabled&&this.callback&&this.callback.apply(this,e)},i.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete o[this.key]},i.prototype.disable=function(){return this.enabled=!1,this},i.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},i.prototype.next=function(){return this.group.next(this)},i.prototype.previous=function(){return this.group.previous(this)},i.invokeAll=function(e){var t,i=[];for(t in o)i.push(o[t]);for(var n=0,s=i.length;n<s;n++)i[n][e]()},i.destroyAll=function(){i.invokeAll("destroy")},i.disableAll=function(){i.invokeAll("disable")},i.enableAll=function(){for(var e in i.Context.refreshAll(),o)o[e].enabled=!0;return this},i.refreshAll=function(){i.Context.refreshAll()},i.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},i.viewportWidth=function(){return document.documentElement.clientWidth},i.adapters=[],i.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},i.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=i})(),(()=>{function t(e){window.setTimeout(e,1e3/60)}var i=0,n={},p=window.Waypoint,e=window.onload;function s(e){this.element=e,this.Adapter=p.Adapter,this.adapter=new this.Adapter(e),this.key="waypoint-context-"+i,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},e.waypointContextKey=this.key,n[e.waypointContextKey]=this,i+=1,p.windowContext||(p.windowContext=!0,p.windowContext=new s(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}s.prototype.add=function(e){var t=e.options.horizontal?"horizontal":"vertical";this.waypoints[t][e.key]=e,this.refresh()},s.prototype.checkEmpty=function(){var e=this.Adapter.isEmptyObject(this.waypoints.horizontal),t=this.Adapter.isEmptyObject(this.waypoints.vertical),i=this.element==this.element.window;e&&t&&!i&&(this.adapter.off(".waypoints"),delete n[this.key])},s.prototype.createThrottledResizeHandler=function(){var e=this;function t(){e.handleResize(),e.didResize=!1}this.adapter.on("resize.waypoints",function(){e.didResize||(e.didResize=!0,p.requestAnimationFrame(t))})},s.prototype.createThrottledScrollHandler=function(){var e=this;function t(){e.handleScroll(),e.didScroll=!1}this.adapter.on("scroll.waypoints",function(){e.didScroll&&!p.isTouch||(e.didScroll=!0,p.requestAnimationFrame(t))})},s.prototype.handleResize=function(){p.Context.refreshAll()},s.prototype.handleScroll=function(){var e,t,i={},n={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(e in n){var s,o=n[e],a=o.newScroll>o.oldScroll?o.forward:o.backward;for(s in this.waypoints[e]){var r,l,c=this.waypoints[e][s];null!==c.triggerPoint&&(r=o.oldScroll<c.triggerPoint,l=o.newScroll>=c.triggerPoint,r&&l||!r&&!l)&&(c.queueTrigger(a),i[c.group.id]=c.group)}}for(t in i)i[t].flushTriggers();this.oldScroll={x:n.horizontal.newScroll,y:n.vertical.newScroll}},s.prototype.innerHeight=function(){return this.element==this.element.window?p.viewportHeight():this.adapter.innerHeight()},s.prototype.remove=function(e){delete this.waypoints[e.axis][e.key],this.checkEmpty()},s.prototype.innerWidth=function(){return this.element==this.element.window?p.viewportWidth():this.adapter.innerWidth()},s.prototype.destroy=function(){var e,t=[];for(e in this.waypoints)for(var i in this.waypoints[e])t.push(this.waypoints[e][i]);for(var n=0,s=t.length;n<s;n++)t[n].destroy()},s.prototype.refresh=function(){var e,t,i=this.element==this.element.window,n=i?void 0:this.adapter.offset(),s={};for(t in this.handleScroll(),e={horizontal:{contextOffset:i?0:n.left,contextScroll:i?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:i?0:n.top,contextScroll:i?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var o,a=e[t];for(o in this.waypoints[t]){var r,l=this.waypoints[t][o],c=l.options.offset,d=l.triggerPoint,u=0,h=null==d;l.element!==l.element.window&&(u=l.adapter.offset()[a.offsetProp]),"function"==typeof c?c=c.apply(l):"string"==typeof c&&(c=parseFloat(c),-1<l.options.offset.indexOf("%"))&&(c=Math.ceil(a.contextDimension*c/100)),r=a.contextScroll-a.contextOffset,l.triggerPoint=Math.floor(u+r-c),u=d<a.oldScroll,r=l.triggerPoint>=a.oldScroll,c=!u&&!r,!h&&(u&&r)?(l.queueTrigger(a.backward),s[l.group.id]=l.group):(!h&&c||h&&a.oldScroll>=l.triggerPoint)&&(l.queueTrigger(a.forward),s[l.group.id]=l.group)}}return p.requestAnimationFrame(function(){for(var e in s)s[e].flushTriggers()}),this},s.findOrCreateByElement=function(e){return s.findByElement(e)||new s(e)},s.refreshAll=function(){for(var e in n)n[e].refresh()},s.findByElement=function(e){return n[e.waypointContextKey]},window.onload=function(){e&&e(),s.refreshAll()},p.requestAnimationFrame=function(e){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t).call(window,e)},p.Context=s})(),(()=>{function o(e,t){return e.triggerPoint-t.triggerPoint}function a(e,t){return t.triggerPoint-e.triggerPoint}var t={vertical:{},horizontal:{}},i=window.Waypoint;function n(e){this.name=e.name,this.axis=e.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),t[this.axis][this.name]=this}n.prototype.add=function(e){this.waypoints.push(e)},n.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},n.prototype.flushTriggers=function(){for(var e in this.triggerQueues){var t=this.triggerQueues[e];t.sort("up"===e||"left"===e?a:o);for(var i=0,n=t.length;i<n;i+=1){var s=t[i];!s.options.continuous&&i!==t.length-1||s.trigger([e])}}this.clearTriggerQueues()},n.prototype.next=function(e){this.waypoints.sort(o);e=i.Adapter.inArray(e,this.waypoints);return e===this.waypoints.length-1?null:this.waypoints[e+1]},n.prototype.previous=function(e){this.waypoints.sort(o);e=i.Adapter.inArray(e,this.waypoints);return e?this.waypoints[e-1]:null},n.prototype.queueTrigger=function(e,t){this.triggerQueues[t].push(e)},n.prototype.remove=function(e){e=i.Adapter.inArray(e,this.waypoints);-1<e&&this.waypoints.splice(e,1)},n.prototype.first=function(){return this.waypoints[0]},n.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},n.findOrCreate=function(e){return t[e.axis][e.name]||new n(e)},i.Group=n})(),(()=>{var i=window.jQuery,e=window.Waypoint;function n(e){this.$element=i(e)}i.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(e,t){n.prototype[t]=function(){var e=Array.prototype.slice.call(arguments);return this.$element[t].apply(this.$element,e)}}),i.each(["extend","inArray","isEmptyObject"],function(e,t){n[t]=i[t]}),e.adapters.push({name:"jquery",Adapter:n}),e.Adapter=n})(),(()=>{var s=window.Waypoint;function e(n){return function(){var t=[],i=arguments[0];return n.isFunction(arguments[0])&&((i=n.extend({},arguments[1])).handler=arguments[0]),this.each(function(){var e=n.extend({},i,{element:this});"string"==typeof e.context&&(e.context=n(this).closest(e.context)[0]),t.push(new s(e))}),t}}window.jQuery&&(window.jQuery.fn.waypoint=e(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=e(window.Zepto))})(),(e=>{"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)})(function(n){var s=[],o={precision:100,elapse:!1};(t=[]).push(/^[0-9]*$/.source),t.push(/([0-9]{1,2}\/){2}[0-9]{4}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),t.push(/[0-9]{4}([\/\-][0-9]{1,2}){2}( [0-9]{1,2}(:[0-9]{2}){2})?/.source);var t=new RegExp(t.join("|")),d={Y:"years",m:"months",n:"daysToMonth",w:"weeks",d:"daysToWeek",D:"totalDays",H:"hours",M:"minutes",S:"seconds"};function i(c){return function(e){var t=e.match(/%(-|!)?[A-Z]{1}(:[^;]+;)?/gi);if(t)for(var i=0,n=t.length;i<n;++i){var s=t[i].match(/%(-|!)?([a-zA-Z]{1})(:[^;]+;)?/),o=(o=(o=s[0]).toString().replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1"),new RegExp(o)),a=s[1]||"",r=s[3]||"",l=null;d.hasOwnProperty(s=s[2])&&(l=d[s],l=Number(c[l])),null!==l&&("!"===a&&(l=((e,t)=>{var i="s",n="";return e&&(e=e.replace(/(:|;|\s)/gi,"").split(/\,/),i=1===e.length?e[0]:(n=e[0],e[1])),1===Math.abs(t)?n:i})(r,l)),""===a&&l<10&&(l="0"+l.toString()),e=e.replace(o,l.toString()))}return e=e.replace(/%%/,"%")}}function a(e,t,i){this.el=e,this.$el=n(e),this.interval=null,this.offset={},this.options=n.extend({},o),this.instanceNumber=s.length,s.push(this),this.$el.data("countdown-instance",this.instanceNumber),i&&("function"==typeof i?(this.$el.on("update.countdown",i),this.$el.on("stoped.countdown",i),this.$el.on("finish.countdown",i)):this.options=n.extend({},o,i)),this.setFinalDate(t),this.start()}n.extend(a.prototype,{start:function(){null!==this.interval&&clearInterval(this.interval);var e=this;this.update(),this.interval=setInterval(function(){e.update.call(e)},this.options.precision)},stop:function(){clearInterval(this.interval),this.interval=null,this.dispatchEvent("stoped")},toggle:function(){this.interval?this.stop():this.start()},pause:function(){this.stop()},resume:function(){this.start()},remove:function(){this.stop.call(this),s[this.instanceNumber]=null,delete this.$el.data().countdownInstance},setFinalDate:function(e){this.finalDate=(e=>{if(e instanceof Date)return e;if(String(e).match(t))return String(e).match(/^[0-9]*$/)&&(e=Number(e)),String(e).match(/\-/)&&(e=String(e).replace(/\-/g,"/")),new Date(e);throw new Error("Couldn't cast `"+e+"` to a date object.")})(e)},update:function(){var e,t,i;0===this.$el.closest("html").length?this.remove():(e=void 0!==n._data(this.el,"events"),t=new Date,i=this.finalDate.getTime()-t.getTime(),i=Math.ceil(i/1e3),i=!this.options.elapse&&i<0?0:Math.abs(i),this.totalSecsLeft!==i&&e&&(this.totalSecsLeft=i,this.elapsed=t>=this.finalDate,this.offset={seconds:this.totalSecsLeft%60,minutes:Math.floor(this.totalSecsLeft/60)%60,hours:Math.floor(this.totalSecsLeft/60/60)%24,days:Math.floor(this.totalSecsLeft/60/60/24)%7,daysToWeek:Math.floor(this.totalSecsLeft/60/60/24)%7,daysToMonth:Math.floor(this.totalSecsLeft/60/60/24%30.4368),totalDays:Math.floor(this.totalSecsLeft/60/60/24),weeks:Math.floor(this.totalSecsLeft/60/60/24/7),months:Math.floor(this.totalSecsLeft/60/60/24/30.4368),years:Math.abs(this.finalDate.getFullYear()-t.getFullYear())},this.options.elapse||0!==this.totalSecsLeft?this.dispatchEvent("update"):(this.stop(),this.dispatchEvent("finish"))))},dispatchEvent:function(e){e=n.Event(e+".countdown");e.finalDate=this.finalDate,e.elapsed=this.elapsed,e.offset=n.extend({},this.offset),e.strftime=i(this.offset),this.$el.trigger(e)}}),n.fn.countdown=function(){var i=Array.prototype.slice.call(arguments,0);return this.each(function(){var e,t=n(this).data("countdown-instance");void 0!==t?(t=s[t],e=i[0],a.prototype.hasOwnProperty(e)?t[e].apply(t,i.slice(1)):null===String(e).match(/^[$A-Z_][0-9A-Z_$]*$/i)?(t.setFinalDate.call(t,e),t.start()):n.error("Method %s does not exist on jQuery.countdown".replace(/\%s/gi,e))):new a(this,i[0],i[1])})}}),((e,t)=>{"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.dayjs=t()})(this,function(){function n(e,t,i){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(i)+e}function i(e){return e instanceof x}function s(e,t,i){var n;return e?("string"==typeof e?(d[e]&&(n=e),t&&(d[e]=t,n=e)):(t=e.name,d[t]=e,n=t),!i&&n&&(c=n),n||!i&&c):c}function a(e,t){return i(e)?e.clone():((t="object"==typeof t?t:{}).date=e,t.args=arguments,new x(t))}var o="millisecond",u="second",h="minute",p="hour",f="day",m="week",g="month",r="quarter",v="year",y="date",l=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d+)?$/,b=/\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,e={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},t={s:n,z:function(e){var e=-e.utcOffset(),t=Math.abs(e),i=Math.floor(t/60),t=t%60;return(e<=0?"+":"-")+n(i,2,"0")+":"+n(t,2,"0")},m:function e(t,i){var n,s,o;return t.date()<i.date()?-e(i,t):(n=12*(i.year()-t.year())+(i.month()-t.month()),o=i-(s=t.clone().add(n,g))<0,t=t.clone().add(n+(o?-1:1),g),+(-(n+(i-s)/(o?s-t:t-s))||0))},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:g,y:v,w:m,d:f,D:y,h:p,m:h,s:u,ms:o,Q:r}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},c="en",d={},w=(d[c]=e,t),x=(w.l=s,w.i=i,w.w=function(e,t){return a(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})},(e=A.prototype).parse=function(o){this.$d=(()=>{var e=o.date,t=o.utc;if(null===e)return new Date(NaN);if(w.u(e))return new Date;if(!(e instanceof Date||"string"!=typeof e||/Z$/i.test(e))){var i,n,s=e.match(l);if(s)return i=s[2]-1||0,n=(s[7]||"0").substring(0,3),t?new Date(Date.UTC(s[1],i,s[3]||1,s[4]||0,s[5]||0,s[6]||0,n)):new Date(s[1],i,s[3]||1,s[4]||0,s[5]||0,s[6]||0,n)}return new Date(e)})(),this.$x=o.x||{},this.init()},e.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},e.$utils=function(){return w},e.isValid=function(){return!("Invalid Date"===this.$d.toString())},e.isSame=function(e,t){e=a(e);return this.startOf(t)<=e&&e<=this.endOf(t)},e.isAfter=function(e,t){return a(e)<this.startOf(t)},e.isBefore=function(e,t){return this.endOf(t)<a(e)},e.$g=function(e,t,i){return w.u(e)?this[t]:this.set(i,e)},e.unix=function(){return Math.floor(this.valueOf()/1e3)},e.valueOf=function(){return this.$d.getTime()},e.startOf=function(e,t){function i(e,t){return t=w.w(s.$u?Date.UTC(s.$y,t,e):new Date(s.$y,t,e),s),o?t:t.endOf(f)}function n(e,t){return w.w(s.toDate()[e].apply(s.toDate("s"),(o?[0,0,0,0]:[23,59,59,999]).slice(t)),s)}var s=this,o=!!w.u(t)||t,t=w.p(e),a=this.$W,r=this.$M,l=this.$D,c="set"+(this.$u?"UTC":"");switch(t){case v:return o?i(1,0):i(31,11);case g:return o?i(1,r):i(0,r+1);case m:var d=this.$locale().weekStart||0,d=(a<d?a+7:a)-d;return i(o?l-d:l+(6-d),r);case f:case y:return n(c+"Hours",0);case p:return n(c+"Minutes",1);case h:return n(c+"Seconds",2);case u:return n(c+"Milliseconds",3);default:return this.clone()}},e.endOf=function(e){return this.startOf(e,!1)},e.$set=function(e,t){var e=w.p(e),i="set"+(this.$u?"UTC":""),i=((n={}).day=i+"Date",n[y]=i+"Date",n[g]=i+"Month",n[v]=i+"FullYear",n[p]=i+"Hours",n[h]=i+"Minutes",n[u]=i+"Seconds",n[o]=i+"Milliseconds",n[e]),n=e===f?this.$D+(t-this.$W):t;return e===g||e===v?((t=this.clone().set(y,1)).$d[i](n),t.init(),this.$d=t.set(y,Math.min(this.$D,t.daysInMonth())).$d):i&&this.$d[i](n),this.init(),this},e.set=function(e,t){return this.clone().$set(e,t)},e.get=function(e){return this[w.p(e)]()},e.add=function(i,e){function t(e){var t=a(n);return w.w(t.date(t.date()+Math.round(e*i)),n)}var n=this,e=(i=Number(i),w.p(e));return e===g?this.set(g,this.$M+i):e===v?this.set(v,this.$y+i):e===f?t(1):e===m?t(7):(e={minute:6e4,hour:36e5,second:1e3}[e]||1,e=this.$d.getTime()+i*e,w.w(e,this))},e.subtract=function(e,t){return this.add(-1*e,t)},e.format=function(e){var s,i,t,n,o,a,r,l,c,d,u,h=this;return this.isValid()?(s=e||"YYYY-MM-DDTHH:mm:ssZ",i=w.z(this),e=this.$locale(),t=this.$H,n=this.$m,o=this.$M,a=e.weekdays,r=e.months,l=function(e,t,i,n){return e&&(e[t]||e(h,s))||i[t].substr(0,n)},c=function(e){return w.s(t%12||12,e,"0")},d=e.meridiem||function(e,t,i){e=e<12?"AM":"PM";return i?e.toLowerCase():e},u={YY:String(this.$y).slice(-2),YYYY:this.$y,M:o+1,MM:w.s(o+1,2,"0"),MMM:l(e.monthsShort,o,r,3),MMMM:l(r,o),D:this.$D,DD:w.s(this.$D,2,"0"),d:String(this.$W),dd:l(e.weekdaysMin,this.$W,a,2),ddd:l(e.weekdaysShort,this.$W,a,3),dddd:a[this.$W],H:String(t),HH:w.s(t,2,"0"),h:c(1),hh:c(2),a:d(t,n,!0),A:d(t,n,!1),m:String(n),mm:w.s(n,2,"0"),s:String(this.$s),ss:w.s(this.$s,2,"0"),SSS:w.s(this.$ms,3,"0"),Z:i},s.replace(b,function(e,t){return t||u[e]||i.replace(":","")})):"Invalid Date"},e.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},e.diff=function(e,t,i){var t=w.p(t),e=a(e),n=6e4*(e.utcOffset()-this.utcOffset()),s=this-e,e=w.m(this,e),o={};return o[v]=e/12,o[g]=e,o[r]=e/3,o[m]=(s-n)/6048e5,o.day=(s-n)/864e5,o[p]=s/36e5,o[h]=s/6e4,o[u]=s/1e3,e=o[t]||s,i?e:w.a(e)},e.daysInMonth=function(){return this.endOf(g).$D},e.$locale=function(){return d[this.$L]},e.locale=function(e,t){var i;return e?(i=this.clone(),(e=s(e,t,!0))&&(i.$L=e),i):this.$L},e.clone=function(){return w.w(this.$d,this)},e.toDate=function(){return new Date(this.valueOf())},e.toJSON=function(){return this.isValid()?this.toISOString():null},e.toISOString=function(){return this.$d.toISOString()},e.toString=function(){return this.$d.toUTCString()},A),E=x.prototype;function A(e){this.$L=s(e.locale,null,!0),this.parse(e)}return a.prototype=E,[["$ms",o],["$s",u],["$m",h],["$H",p],["$W",f],["$M",g],["$y",v],["$D",y]].forEach(function(t){E[t[1]]=function(e){return this.$g(e,t[0],t[1])}}),a.extend=function(e,t){return e(t,x,a),a},a.locale=s,a.isDayjs=i,a.unix=function(e){return a(1e3*e)},a.en=d[c],a.Ls=d,a.p={},a}),((e,t)=>{"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).timezoneSupport={})})(this,function(e){function u(e){return 96<e?e-87:64<e?e-29:e-48}function c(e){for(var t=0,i=e.length;t<i;++t)e[t]=(e=>{var t=(s=e.split("."))[0],i=s[1]||"",n=1,s=0,o=0,a=1;45===e.charCodeAt(0)&&(a=-(s=1));for(var r=s,l=t.length;r<l;++r)o=60*o+u(t.charCodeAt(r));for(var c=0,d=i.length;c<d;++c)o+=u(i.charCodeAt(c))*(n/=60);return o*a})(e[t])}function d(e,t){for(var i=[],n=0,s=t.length;n<s;++n)i[n]=e[t[n]];return i}var n,t,s,o,i,a;function r(e){var t=e.year,i=e.hours,n=e.minutes,s=e.seconds,o=e.milliseconds;return Date.UTC(t,e.month-1,e.day,void 0===i?0:i,void 0===n?0:n,void 0===s?0:s,void 0===o?0:o)}function l(e){return{year:e.getUTCFullYear(),month:e.getUTCMonth()+1,day:e.getUTCDate(),dayOfWeek:e.getUTCDay(),hours:e.getUTCHours(),minutes:e.getUTCMinutes(),seconds:e.getUTCSeconds()||0,milliseconds:e.getUTCMilliseconds()||0}}function h(e){return{year:e.getFullYear(),month:e.getMonth()+1,day:e.getDate(),dayOfWeek:e.getDay(),hours:e.getHours(),minutes:e.getMinutes(),seconds:e.getSeconds()||0,milliseconds:e.getMilliseconds()||0}}function p(e,s){e=(e=>{for(var t=s.untils,i=0,n=t.length;i<n;++i)if(e<t[i])return i})(e);return{abbreviation:s.abbreviations[e],offset:s.offsets[e]}}function f(e,t){Object.defineProperty(e,"epoch",{value:t})}i=(a={version:"2019a",zones:["Africa/Abidjan|GMT|0|0||48e5","Africa/Nairobi|EAT|-30|0||47e5","Africa/Algiers|CET|-10|0||26e5","Africa/Lagos|WAT|-10|0||17e6","Africa/Maputo|CAT|-20|0||26e5","Africa/Cairo|EET EEST|-20 -30|01010|1M2m0 gL0 e10 mn0|15e6","Africa/Casablanca|+00 +01|0 -10|010101010101010101010101010101010101|1H3C0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 28M0 e00 2600 e00 28M0 e00 2600 gM0|32e5","Europe/Paris|CET CEST|-10 -20|01010101010101010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|11e6","Africa/Johannesburg|SAST|-20|0||84e5","Africa/Khartoum|EAT CAT|-30 -20|01|1Usl0|51e5","Africa/Sao_Tome|GMT WAT|0 -10|010|1UQN0 2q00","Africa/Tripoli|EET CET CEST|-20 -10 -20|0120|1IlA0 TA0 1o00|11e5","Africa/Windhoek|CAT WAT|-20 -10|0101010101010|1GQo0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|32e4","America/Adak|HST HDT|a0 90|01010101010101010101010|1GIc0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|326","America/Anchorage|AKST AKDT|90 80|01010101010101010101010|1GIb0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|30e4","America/Santo_Domingo|AST|40|0||29e5","America/Araguaina|-03 -02|30 20|010|1IdD0 Lz0|14e4","America/Fortaleza|-03|30|0||34e5","America/Asuncion|-03 -04|30 40|01010101010101010101010|1GTf0 1cN0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0|28e5","America/Panama|EST|50|0||15e5","America/Mexico_City|CST CDT|60 50|01010101010101010101010|1GQw0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|20e6","America/Bahia|-02 -03|20 30|01|1GCq0|27e5","America/Managua|CST|60|0||22e5","America/La_Paz|-04|40|0||19e5","America/Lima|-05|50|0||11e6","America/Denver|MST MDT|70 60|01010101010101010101010|1GI90 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|26e5","America/Campo_Grande|-03 -04|30 40|01010101010101010101010|1GCr0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0 1HB0 FX0 1HB0 IL0 1HB0 FX0 1HB0|77e4","America/Cancun|CST CDT EST|60 50 50|01010102|1GQw0 1nX0 14p0 1lb0 14p0 1lb0 Dd0|63e4","America/Caracas|-0430 -04|4u 40|01|1QMT0|29e5","America/Chicago|CST CDT|60 50|01010101010101010101010|1GI80 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|92e5","America/Chihuahua|MST MDT|70 60|01010101010101010101010|1GQx0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|81e4","America/Phoenix|MST|70|0||42e5","America/Los_Angeles|PST PDT|80 70|01010101010101010101010|1GIa0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|15e6","America/New_York|EST EDT|50 40|01010101010101010101010|1GI70 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|21e6","America/Rio_Branco|-04 -05|40 50|01|1KLE0|31e4","America/Fort_Nelson|PST PDT MST|80 70 70|01010102|1GIa0 1zb0 Op0 1zb0 Op0 1zb0 Op0|39e2","America/Halifax|AST ADT|40 30|01010101010101010101010|1GI60 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|39e4","America/Godthab|-03 -02|30 20|01010101010101010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|17e3","America/Grand_Turk|EST EDT AST|50 40 40|0101010121010101010|1GI70 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 5Ip0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|37e2","America/Havana|CST CDT|50 40|01010101010101010101010|1GQt0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0|21e5","America/Metlakatla|PST AKST AKDT|80 90 80|01212120121212121|1PAa0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 uM0 jB0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|14e2","America/Miquelon|-03 -02|30 20|01010101010101010101010|1GI50 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|61e2","America/Montevideo|-02 -03|20 30|01010101|1GI40 1o10 11z0 1o10 11z0 1o10 11z0|17e5","America/Noronha|-02|20|0||30e2","America/Port-au-Prince|EST EDT|50 40|010101010101010101010|1GI70 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 3iN0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|23e5","Antarctica/Palmer|-03 -04|30 40|010101010|1H3D0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0|40","America/Santiago|-03 -04|30 40|010101010101010101010|1H3D0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|62e5","America/Sao_Paulo|-02 -03|20 30|01010101010101010101010|1GCq0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0 1HB0 FX0 1HB0 IL0 1HB0 FX0 1HB0|20e6","Atlantic/Azores|-01 +00|10 0|01010101010101010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|25e4","America/St_Johns|NST NDT|3u 2u|01010101010101010101010|1GI5u 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|11e4","Antarctica/Casey|+11 +08|-b0 -80|0101|1GAF0 blz0 3m10|10","Antarctica/Davis|+05 +07|-50 -70|01|1GAI0|70","Pacific/Port_Moresby|+10|-a0|0||25e4","Pacific/Guadalcanal|+11|-b0|0||11e4","Asia/Tashkent|+05|-50|0||23e5","Pacific/Auckland|NZDT NZST|-d0 -c0|01010101010101010101010|1GQe0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00|14e5","Asia/Baghdad|+03|-30|0||66e5","Antarctica/Troll|+00 +02|0 -20|01010101010101010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|40","Asia/Dhaka|+06|-60|0||16e6","Asia/Amman|EET EEST|-20 -30|010101010101010101010|1GPy0 4bX0 Dd0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00|25e5","Asia/Kamchatka|+12|-c0|0||18e4","Asia/Baku|+04 +05|-40 -50|010101010|1GNA0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|27e5","Asia/Bangkok|+07|-70|0||15e6","Asia/Barnaul|+07 +06|-70 -60|010|1N7v0 3rd0","Asia/Beirut|EET EEST|-20 -30|01010101010101010101010|1GNy0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0|22e5","Asia/Kuala_Lumpur|+08|-80|0||71e5","Asia/Kolkata|IST|-5u|0||15e6","Asia/Chita|+10 +08 +09|-a0 -80 -90|012|1N7s0 3re0|33e4","Asia/Ulaanbaatar|+08 +09|-80 -90|01010|1O8G0 1cJ0 1cP0 1cJ0|12e5","Asia/Shanghai|CST|-80|0||23e6","Asia/Colombo|+0530|-5u|0||22e5","Asia/Damascus|EET EEST|-20 -30|01010101010101010101010|1GPy0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0|26e5","Asia/Dili|+09|-90|0||19e4","Asia/Dubai|+04|-40|0||39e5","Asia/Famagusta|EET EEST +03|-20 -30 -30|0101010101201010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 15U0 2Ks0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0","Asia/Gaza|EET EEST|-20 -30|01010101010101010101010|1GPy0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nz0 1220 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0|18e5","Asia/Hong_Kong|HKT|-80|0||73e5","Asia/Hovd|+07 +08|-70 -80|01010|1O8H0 1cJ0 1cP0 1cJ0|81e3","Asia/Irkutsk|+09 +08|-90 -80|01|1N7t0|60e4","Europe/Istanbul|EET EEST +03|-20 -30 -30|01010101012|1GNB0 1qM0 11A0 1o00 1200 1nA0 11A0 1tA0 U00 15w0|13e6","Asia/Jakarta|WIB|-70|0||31e6","Asia/Jayapura|WIT|-90|0||26e4","Asia/Jerusalem|IST IDT|-20 -30|01010101010101010101010|1GPA0 1aL0 1eN0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0|81e4","Asia/Kabul|+0430|-4u|0||46e5","Asia/Karachi|PKT|-50|0||24e6","Asia/Kathmandu|+0545|-5J|0||12e5","Asia/Yakutsk|+10 +09|-a0 -90|01|1N7s0|28e4","Asia/Krasnoyarsk|+08 +07|-80 -70|01|1N7u0|10e5","Asia/Magadan|+12 +10 +11|-c0 -a0 -b0|012|1N7q0 3Cq0|95e3","Asia/Makassar|WITA|-80|0||15e5","Asia/Manila|PST|-80|0||24e6","Europe/Athens|EET EEST|-20 -30|01010101010101010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|35e5","Asia/Novosibirsk|+07 +06|-70 -60|010|1N7v0 4eN0|15e5","Asia/Omsk|+07 +06|-70 -60|01|1N7v0|12e5","Asia/Pyongyang|KST KST|-90 -8u|010|1P4D0 6BA0|29e5","Asia/Qyzylorda|+06 +05|-60 -50|01|1Xei0|73e4","Asia/Rangoon|+0630|-6u|0||48e5","Asia/Sakhalin|+11 +10|-b0 -a0|010|1N7r0 3rd0|58e4","Asia/Seoul|KST|-90|0||23e6","Asia/Srednekolymsk|+12 +11|-c0 -b0|01|1N7q0|35e2","Asia/Tehran|+0330 +0430|-3u -4u|01010101010101010101010|1GLUu 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0|14e6","Asia/Tokyo|JST|-90|0||38e6","Asia/Tomsk|+07 +06|-70 -60|010|1N7v0 3Qp0|10e5","Asia/Vladivostok|+11 +10|-b0 -a0|01|1N7r0|60e4","Asia/Yekaterinburg|+06 +05|-60 -50|01|1N7w0|14e5","Europe/Lisbon|WET WEST|0 -10|01010101010101010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|27e5","Atlantic/Cape_Verde|-01|10|0||50e4","Australia/Sydney|AEDT AEST|-b0 -a0|01010101010101010101010|1GQg0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|40e5","Australia/Adelaide|ACDT ACST|-au -9u|01010101010101010101010|1GQgu 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|11e5","Australia/Brisbane|AEST|-a0|0||20e5","Australia/Darwin|ACST|-9u|0||12e4","Australia/Eucla|+0845|-8J|0||368","Australia/Lord_Howe|+11 +1030|-b0 -au|01010101010101010101010|1GQf0 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu|347","Australia/Perth|AWST|-80|0||18e5","Pacific/Easter|-05 -06|50 60|010101010101010101010|1H3D0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|30e2","Europe/Dublin|GMT IST|0 -10|01010101010101010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|12e5","Etc/GMT-1|+01|-10|0|","Pacific/Fakaofo|+13|-d0|0||483","Pacific/Kiritimati|+14|-e0|0||51e2","Etc/GMT-2|+02|-20|0|","Pacific/Tahiti|-10|a0|0||18e4","Pacific/Niue|-11|b0|0||12e2","Etc/GMT+12|-12|c0|0|","Pacific/Galapagos|-06|60|0||25e3","Etc/GMT+7|-07|70|0|","Pacific/Pitcairn|-08|80|0||56","Pacific/Gambier|-09|90|0||125","Etc/UTC|UTC|0|0|","Europe/Ulyanovsk|+04 +03|-40 -30|010|1N7y0 3rd0|13e5","Europe/London|GMT BST|0 -10|01010101010101010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|10e6","Europe/Chisinau|EET EEST|-20 -30|01010101010101010101010|1GNA0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|67e4","Europe/Kaliningrad|+03 EET|-30 -20|01|1N7z0|44e4","Europe/Kirov|+04 +03|-40 -30|01|1N7y0|48e4","Europe/Moscow|MSK MSK|-40 -30|01|1N7y0|16e6","Europe/Saratov|+04 +03|-40 -30|010|1N7y0 5810","Europe/Simferopol|EET EEST MSK MSK|-20 -30 -40 -30|0101023|1GNB0 1qM0 11A0 1o00 11z0 1nW0|33e4","Europe/Volgograd|+04 +03|-40 -30|010|1N7y0 9Jd0|10e5","Pacific/Honolulu|HST|a0|0||37e4","MET|MET MEST|-10 -20|01010101010101010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0","Pacific/Chatham|+1345 +1245|-dJ -cJ|01010101010101010101010|1GQe0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00|600","Pacific/Apia|+14 +13|-e0 -d0|01010101010101010101010|1GQe0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00|37e3","Pacific/Bougainville|+10 +11|-a0 -b0|01|1NwE0|18e4","Pacific/Fiji|+13 +12|-d0 -c0|01010101010101010101010|1Goe0 1Nc0 Ao0 1Q00 xz0 1SN0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 s00 1VA0 uM0 1SM0 uM0 1VA0 s00 1VA0|88e4","Pacific/Guam|ChST|-a0|0||17e4","Pacific/Marquesas|-0930|9u|0||86e2","Pacific/Pago_Pago|SST|b0|0||37e2","Pacific/Norfolk|+1130 +11|-bu -b0|01|1PoCu|25e4","Pacific/Tongatapu|+13 +14|-d0 -e0|010|1S4d0 s00|75e3"],links:["Africa/Abidjan|Africa/Accra","Africa/Abidjan|Africa/Bamako","Africa/Abidjan|Africa/Banjul","Africa/Abidjan|Africa/Bissau","Africa/Abidjan|Africa/Conakry","Africa/Abidjan|Africa/Dakar","Africa/Abidjan|Africa/Freetown","Africa/Abidjan|Africa/Lome","Africa/Abidjan|Africa/Monrovia","Africa/Abidjan|Africa/Nouakchott","Africa/Abidjan|Africa/Ouagadougou","Africa/Abidjan|Africa/Timbuktu","Africa/Abidjan|America/Danmarkshavn","Africa/Abidjan|Atlantic/Reykjavik","Africa/Abidjan|Atlantic/St_Helena","Africa/Abidjan|Etc/GMT","Africa/Abidjan|Etc/GMT+0","Africa/Abidjan|Etc/GMT-0","Africa/Abidjan|Etc/GMT0","Africa/Abidjan|Etc/Greenwich","Africa/Abidjan|GMT","Africa/Abidjan|GMT+0","Africa/Abidjan|GMT-0","Africa/Abidjan|GMT0","Africa/Abidjan|Greenwich","Africa/Abidjan|Iceland","Africa/Algiers|Africa/Tunis","Africa/Cairo|Egypt","Africa/Casablanca|Africa/El_Aaiun","Africa/Johannesburg|Africa/Maseru","Africa/Johannesburg|Africa/Mbabane","Africa/Lagos|Africa/Bangui","Africa/Lagos|Africa/Brazzaville","Africa/Lagos|Africa/Douala","Africa/Lagos|Africa/Kinshasa","Africa/Lagos|Africa/Libreville","Africa/Lagos|Africa/Luanda","Africa/Lagos|Africa/Malabo","Africa/Lagos|Africa/Ndjamena","Africa/Lagos|Africa/Niamey","Africa/Lagos|Africa/Porto-Novo","Africa/Maputo|Africa/Blantyre","Africa/Maputo|Africa/Bujumbura","Africa/Maputo|Africa/Gaborone","Africa/Maputo|Africa/Harare","Africa/Maputo|Africa/Kigali","Africa/Maputo|Africa/Lubumbashi","Africa/Maputo|Africa/Lusaka","Africa/Nairobi|Africa/Addis_Ababa","Africa/Nairobi|Africa/Asmara","Africa/Nairobi|Africa/Asmera","Africa/Nairobi|Africa/Dar_es_Salaam","Africa/Nairobi|Africa/Djibouti","Africa/Nairobi|Africa/Juba","Africa/Nairobi|Africa/Kampala","Africa/Nairobi|Africa/Mogadishu","Africa/Nairobi|Indian/Antananarivo","Africa/Nairobi|Indian/Comoro","Africa/Nairobi|Indian/Mayotte","Africa/Tripoli|Libya","America/Adak|America/Atka","America/Adak|US/Aleutian","America/Anchorage|America/Juneau","America/Anchorage|America/Nome","America/Anchorage|America/Sitka","America/Anchorage|America/Yakutat","America/Anchorage|US/Alaska","America/Campo_Grande|America/Cuiaba","America/Chicago|America/Indiana/Knox","America/Chicago|America/Indiana/Tell_City","America/Chicago|America/Knox_IN","America/Chicago|America/Matamoros","America/Chicago|America/Menominee","America/Chicago|America/North_Dakota/Beulah","America/Chicago|America/North_Dakota/Center","America/Chicago|America/North_Dakota/New_Salem","America/Chicago|America/Rainy_River","America/Chicago|America/Rankin_Inlet","America/Chicago|America/Resolute","America/Chicago|America/Winnipeg","America/Chicago|CST6CDT","America/Chicago|Canada/Central","America/Chicago|US/Central","America/Chicago|US/Indiana-Starke","America/Chihuahua|America/Mazatlan","America/Chihuahua|Mexico/BajaSur","America/Denver|America/Boise","America/Denver|America/Cambridge_Bay","America/Denver|America/Edmonton","America/Denver|America/Inuvik","America/Denver|America/Ojinaga","America/Denver|America/Shiprock","America/Denver|America/Yellowknife","America/Denver|Canada/Mountain","America/Denver|MST7MDT","America/Denver|Navajo","America/Denver|US/Mountain","America/Fortaleza|America/Argentina/Buenos_Aires","America/Fortaleza|America/Argentina/Catamarca","America/Fortaleza|America/Argentina/ComodRivadavia","America/Fortaleza|America/Argentina/Cordoba","America/Fortaleza|America/Argentina/Jujuy","America/Fortaleza|America/Argentina/La_Rioja","America/Fortaleza|America/Argentina/Mendoza","America/Fortaleza|America/Argentina/Rio_Gallegos","America/Fortaleza|America/Argentina/Salta","America/Fortaleza|America/Argentina/San_Juan","America/Fortaleza|America/Argentina/San_Luis","America/Fortaleza|America/Argentina/Tucuman","America/Fortaleza|America/Argentina/Ushuaia","America/Fortaleza|America/Belem","America/Fortaleza|America/Buenos_Aires","America/Fortaleza|America/Catamarca","America/Fortaleza|America/Cayenne","America/Fortaleza|America/Cordoba","America/Fortaleza|America/Jujuy","America/Fortaleza|America/Maceio","America/Fortaleza|America/Mendoza","America/Fortaleza|America/Paramaribo","America/Fortaleza|America/Recife","America/Fortaleza|America/Rosario","America/Fortaleza|America/Santarem","America/Fortaleza|Antarctica/Rothera","America/Fortaleza|Atlantic/Stanley","America/Fortaleza|Etc/GMT+3","America/Halifax|America/Glace_Bay","America/Halifax|America/Goose_Bay","America/Halifax|America/Moncton","America/Halifax|America/Thule","America/Halifax|Atlantic/Bermuda","America/Halifax|Canada/Atlantic","America/Havana|Cuba","America/La_Paz|America/Boa_Vista","America/La_Paz|America/Guyana","America/La_Paz|America/Manaus","America/La_Paz|America/Porto_Velho","America/La_Paz|Brazil/West","America/La_Paz|Etc/GMT+4","America/Lima|America/Bogota","America/Lima|America/Guayaquil","America/Lima|Etc/GMT+5","America/Los_Angeles|America/Dawson","America/Los_Angeles|America/Ensenada","America/Los_Angeles|America/Santa_Isabel","America/Los_Angeles|America/Tijuana","America/Los_Angeles|America/Vancouver","America/Los_Angeles|America/Whitehorse","America/Los_Angeles|Canada/Pacific","America/Los_Angeles|Canada/Yukon","America/Los_Angeles|Mexico/BajaNorte","America/Los_Angeles|PST8PDT","America/Los_Angeles|US/Pacific","America/Los_Angeles|US/Pacific-New","America/Managua|America/Belize","America/Managua|America/Costa_Rica","America/Managua|America/El_Salvador","America/Managua|America/Guatemala","America/Managua|America/Regina","America/Managua|America/Swift_Current","America/Managua|America/Tegucigalpa","America/Managua|Canada/Saskatchewan","America/Mexico_City|America/Bahia_Banderas","America/Mexico_City|America/Merida","America/Mexico_City|America/Monterrey","America/Mexico_City|Mexico/General","America/New_York|America/Detroit","America/New_York|America/Fort_Wayne","America/New_York|America/Indiana/Indianapolis","America/New_York|America/Indiana/Marengo","America/New_York|America/Indiana/Petersburg","America/New_York|America/Indiana/Vevay","America/New_York|America/Indiana/Vincennes","America/New_York|America/Indiana/Winamac","America/New_York|America/Indianapolis","America/New_York|America/Iqaluit","America/New_York|America/Kentucky/Louisville","America/New_York|America/Kentucky/Monticello","America/New_York|America/Louisville","America/New_York|America/Montreal","America/New_York|America/Nassau","America/New_York|America/Nipigon","America/New_York|America/Pangnirtung","America/New_York|America/Thunder_Bay","America/New_York|America/Toronto","America/New_York|Canada/Eastern","America/New_York|EST5EDT","America/New_York|US/East-Indiana","America/New_York|US/Eastern","America/New_York|US/Michigan","America/Noronha|Atlantic/South_Georgia","America/Noronha|Brazil/DeNoronha","America/Noronha|Etc/GMT+2","America/Panama|America/Atikokan","America/Panama|America/Cayman","America/Panama|America/Coral_Harbour","America/Panama|America/Jamaica","America/Panama|EST","America/Panama|Jamaica","America/Phoenix|America/Creston","America/Phoenix|America/Dawson_Creek","America/Phoenix|America/Hermosillo","America/Phoenix|MST","America/Phoenix|US/Arizona","America/Rio_Branco|America/Eirunepe","America/Rio_Branco|America/Porto_Acre","America/Rio_Branco|Brazil/Acre","America/Santiago|Chile/Continental","America/Santo_Domingo|America/Anguilla","America/Santo_Domingo|America/Antigua","America/Santo_Domingo|America/Aruba","America/Santo_Domingo|America/Barbados","America/Santo_Domingo|America/Blanc-Sablon","America/Santo_Domingo|America/Curacao","America/Santo_Domingo|America/Dominica","America/Santo_Domingo|America/Grenada","America/Santo_Domingo|America/Guadeloupe","America/Santo_Domingo|America/Kralendijk","America/Santo_Domingo|America/Lower_Princes","America/Santo_Domingo|America/Marigot","America/Santo_Domingo|America/Martinique","America/Santo_Domingo|America/Montserrat","America/Santo_Domingo|America/Port_of_Spain","America/Santo_Domingo|America/Puerto_Rico","America/Santo_Domingo|America/St_Barthelemy","America/Santo_Domingo|America/St_Kitts","America/Santo_Domingo|America/St_Lucia","America/Santo_Domingo|America/St_Thomas","America/Santo_Domingo|America/St_Vincent","America/Santo_Domingo|America/Tortola","America/Santo_Domingo|America/Virgin","America/Sao_Paulo|Brazil/East","America/St_Johns|Canada/Newfoundland","Antarctica/Palmer|America/Punta_Arenas","Asia/Baghdad|Antarctica/Syowa","Asia/Baghdad|Asia/Aden","Asia/Baghdad|Asia/Bahrain","Asia/Baghdad|Asia/Kuwait","Asia/Baghdad|Asia/Qatar","Asia/Baghdad|Asia/Riyadh","Asia/Baghdad|Etc/GMT-3","Asia/Baghdad|Europe/Minsk","Asia/Bangkok|Asia/Ho_Chi_Minh","Asia/Bangkok|Asia/Novokuznetsk","Asia/Bangkok|Asia/Phnom_Penh","Asia/Bangkok|Asia/Saigon","Asia/Bangkok|Asia/Vientiane","Asia/Bangkok|Etc/GMT-7","Asia/Bangkok|Indian/Christmas","Asia/Dhaka|Antarctica/Vostok","Asia/Dhaka|Asia/Almaty","Asia/Dhaka|Asia/Bishkek","Asia/Dhaka|Asia/Dacca","Asia/Dhaka|Asia/Kashgar","Asia/Dhaka|Asia/Qostanay","Asia/Dhaka|Asia/Thimbu","Asia/Dhaka|Asia/Thimphu","Asia/Dhaka|Asia/Urumqi","Asia/Dhaka|Etc/GMT-6","Asia/Dhaka|Indian/Chagos","Asia/Dili|Etc/GMT-9","Asia/Dili|Pacific/Palau","Asia/Dubai|Asia/Muscat","Asia/Dubai|Asia/Tbilisi","Asia/Dubai|Asia/Yerevan","Asia/Dubai|Etc/GMT-4","Asia/Dubai|Europe/Samara","Asia/Dubai|Indian/Mahe","Asia/Dubai|Indian/Mauritius","Asia/Dubai|Indian/Reunion","Asia/Gaza|Asia/Hebron","Asia/Hong_Kong|Hongkong","Asia/Jakarta|Asia/Pontianak","Asia/Jerusalem|Asia/Tel_Aviv","Asia/Jerusalem|Israel","Asia/Kamchatka|Asia/Anadyr","Asia/Kamchatka|Etc/GMT-12","Asia/Kamchatka|Kwajalein","Asia/Kamchatka|Pacific/Funafuti","Asia/Kamchatka|Pacific/Kwajalein","Asia/Kamchatka|Pacific/Majuro","Asia/Kamchatka|Pacific/Nauru","Asia/Kamchatka|Pacific/Tarawa","Asia/Kamchatka|Pacific/Wake","Asia/Kamchatka|Pacific/Wallis","Asia/Kathmandu|Asia/Katmandu","Asia/Kolkata|Asia/Calcutta","Asia/Kuala_Lumpur|Asia/Brunei","Asia/Kuala_Lumpur|Asia/Kuching","Asia/Kuala_Lumpur|Asia/Singapore","Asia/Kuala_Lumpur|Etc/GMT-8","Asia/Kuala_Lumpur|Singapore","Asia/Makassar|Asia/Ujung_Pandang","Asia/Rangoon|Asia/Yangon","Asia/Rangoon|Indian/Cocos","Asia/Seoul|ROK","Asia/Shanghai|Asia/Chongqing","Asia/Shanghai|Asia/Chungking","Asia/Shanghai|Asia/Harbin","Asia/Shanghai|Asia/Macao","Asia/Shanghai|Asia/Macau","Asia/Shanghai|Asia/Taipei","Asia/Shanghai|PRC","Asia/Shanghai|ROC","Asia/Tashkent|Antarctica/Mawson","Asia/Tashkent|Asia/Aqtau","Asia/Tashkent|Asia/Aqtobe","Asia/Tashkent|Asia/Ashgabat","Asia/Tashkent|Asia/Ashkhabad","Asia/Tashkent|Asia/Atyrau","Asia/Tashkent|Asia/Dushanbe","Asia/Tashkent|Asia/Oral","Asia/Tashkent|Asia/Samarkand","Asia/Tashkent|Etc/GMT-5","Asia/Tashkent|Indian/Kerguelen","Asia/Tashkent|Indian/Maldives","Asia/Tehran|Iran","Asia/Tokyo|Japan","Asia/Ulaanbaatar|Asia/Choibalsan","Asia/Ulaanbaatar|Asia/Ulan_Bator","Asia/Vladivostok|Asia/Ust-Nera","Asia/Yakutsk|Asia/Khandyga","Atlantic/Azores|America/Scoresbysund","Atlantic/Cape_Verde|Etc/GMT+1","Australia/Adelaide|Australia/Broken_Hill","Australia/Adelaide|Australia/South","Australia/Adelaide|Australia/Yancowinna","Australia/Brisbane|Australia/Lindeman","Australia/Brisbane|Australia/Queensland","Australia/Darwin|Australia/North","Australia/Lord_Howe|Australia/LHI","Australia/Perth|Australia/West","Australia/Sydney|Australia/ACT","Australia/Sydney|Australia/Canberra","Australia/Sydney|Australia/Currie","Australia/Sydney|Australia/Hobart","Australia/Sydney|Australia/Melbourne","Australia/Sydney|Australia/NSW","Australia/Sydney|Australia/Tasmania","Australia/Sydney|Australia/Victoria","Etc/UTC|Etc/UCT","Etc/UTC|Etc/Universal","Etc/UTC|Etc/Zulu","Etc/UTC|UCT","Etc/UTC|UTC","Etc/UTC|Universal","Etc/UTC|Zulu","Europe/Athens|Asia/Nicosia","Europe/Athens|EET","Europe/Athens|Europe/Bucharest","Europe/Athens|Europe/Helsinki","Europe/Athens|Europe/Kiev","Europe/Athens|Europe/Mariehamn","Europe/Athens|Europe/Nicosia","Europe/Athens|Europe/Riga","Europe/Athens|Europe/Sofia","Europe/Athens|Europe/Tallinn","Europe/Athens|Europe/Uzhgorod","Europe/Athens|Europe/Vilnius","Europe/Athens|Europe/Zaporozhye","Europe/Chisinau|Europe/Tiraspol","Europe/Dublin|Eire","Europe/Istanbul|Asia/Istanbul","Europe/Istanbul|Turkey","Europe/Lisbon|Atlantic/Canary","Europe/Lisbon|Atlantic/Faeroe","Europe/Lisbon|Atlantic/Faroe","Europe/Lisbon|Atlantic/Madeira","Europe/Lisbon|Portugal","Europe/Lisbon|WET","Europe/London|Europe/Belfast","Europe/London|Europe/Guernsey","Europe/London|Europe/Isle_of_Man","Europe/London|Europe/Jersey","Europe/London|GB","Europe/London|GB-Eire","Europe/Moscow|W-SU","Europe/Paris|Africa/Ceuta","Europe/Paris|Arctic/Longyearbyen","Europe/Paris|Atlantic/Jan_Mayen","Europe/Paris|CET","Europe/Paris|Europe/Amsterdam","Europe/Paris|Europe/Andorra","Europe/Paris|Europe/Belgrade","Europe/Paris|Europe/Berlin","Europe/Paris|Europe/Bratislava","Europe/Paris|Europe/Brussels","Europe/Paris|Europe/Budapest","Europe/Paris|Europe/Busingen","Europe/Paris|Europe/Copenhagen","Europe/Paris|Europe/Gibraltar","Europe/Paris|Europe/Ljubljana","Europe/Paris|Europe/Luxembourg","Europe/Paris|Europe/Madrid","Europe/Paris|Europe/Malta","Europe/Paris|Europe/Monaco","Europe/Paris|Europe/Oslo","Europe/Paris|Europe/Podgorica","Europe/Paris|Europe/Prague","Europe/Paris|Europe/Rome","Europe/Paris|Europe/San_Marino","Europe/Paris|Europe/Sarajevo","Europe/Paris|Europe/Skopje","Europe/Paris|Europe/Stockholm","Europe/Paris|Europe/Tirane","Europe/Paris|Europe/Vaduz","Europe/Paris|Europe/Vatican","Europe/Paris|Europe/Vienna","Europe/Paris|Europe/Warsaw","Europe/Paris|Europe/Zagreb","Europe/Paris|Europe/Zurich","Europe/Paris|Poland","Europe/Ulyanovsk|Europe/Astrakhan","Pacific/Auckland|Antarctica/McMurdo","Pacific/Auckland|Antarctica/South_Pole","Pacific/Auckland|NZ","Pacific/Chatham|NZ-CHAT","Pacific/Easter|Chile/EasterIsland","Pacific/Fakaofo|Etc/GMT-13","Pacific/Fakaofo|Pacific/Enderbury","Pacific/Galapagos|Etc/GMT+6","Pacific/Gambier|Etc/GMT+9","Pacific/Guadalcanal|Antarctica/Macquarie","Pacific/Guadalcanal|Etc/GMT-11","Pacific/Guadalcanal|Pacific/Efate","Pacific/Guadalcanal|Pacific/Kosrae","Pacific/Guadalcanal|Pacific/Noumea","Pacific/Guadalcanal|Pacific/Pohnpei","Pacific/Guadalcanal|Pacific/Ponape","Pacific/Guam|Pacific/Saipan","Pacific/Honolulu|HST","Pacific/Honolulu|Pacific/Johnston","Pacific/Honolulu|US/Hawaii","Pacific/Kiritimati|Etc/GMT-14","Pacific/Niue|Etc/GMT+11","Pacific/Pago_Pago|Pacific/Midway","Pacific/Pago_Pago|Pacific/Samoa","Pacific/Pago_Pago|US/Samoa","Pacific/Pitcairn|Etc/GMT+8","Pacific/Port_Moresby|Antarctica/DumontDUrville","Pacific/Port_Moresby|Etc/GMT-10","Pacific/Port_Moresby|Pacific/Chuuk","Pacific/Port_Moresby|Pacific/Truk","Pacific/Port_Moresby|Pacific/Yap","Pacific/Tahiti|Etc/GMT+10","Pacific/Tahiti|Pacific/Rarotonga"]}).zones,a=a.links,n={},t=i.map(function(e){var t=e.substr(0,e.indexOf("|"));return n[t]=e,t}),s=a.reduce(function(e,t){var t=t.split("|"),i=t[0];return e[t[1]]=i,e},{}),o={},e.convertDateToTime=function(e){var t=h(e),i=/\(([^)]+)\)$/.exec(e.toTimeString());return t.zone={abbreviation:i?i[1]:"???",offset:e.getTimezoneOffset()},f(t,e.getTime()),t},e.convertTimeToDate=function(e){var t,i,n,s,o,a=e.epoch;return void 0!==a?new Date(a):void 0===(a=(e.zone||{}).offset)?(o=e.year,t=e.hours,i=e.minutes,n=e.seconds,s=e.milliseconds,new Date(o,e.month-1,e.day,void 0===t?0:t,void 0===i?0:i,void 0===n?0:n,void 0===s?0:s)):(o=r(e),new Date(o+6e4*a))},e.findTimeZone=function(e){var e=s[e]||e,t=o[e];if(!t){var i=n[e];if(!i)throw new Error('Unknown time zone "'+e+'".');t=o[e]=(e=>{for(var t=(e=e.split("|"))[2].split(" "),i=e[3].split(""),n=e[4].split(" "),s=(c(t),c(i),c(n),n),o=i.length,a=0;a<o;++a)s[a]=Math.round((s[a-1]||0)+6e4*s[a]);s[o-1]=1/0;var r=e[0],l=d(e[1].split(" "),i),e=0|e[5];return{name:r,abbreviations:l,offsets:d(t,i),untils:n,population:e}})(i)}return t},e.getUTCOffset=function(e,t){e=p("number"==typeof e?e:e.getTime(),t);return{abbreviation:e.abbreviation,offset:e.offset}},e.getUnixTime=function(e,t){var i=e.zone,n=e.epoch;if(n){if(t)throw new Error("Both epoch and other time zone specified. Omit the other one.");return n}n=r(e);if(i){if(t)throw new Error("Both own and other time zones specified. Omit the other one.")}else{if(!t)throw new Error("Missing other time zone.");i=p(n,t)}return n+6e4*i.offset},e.getZonedTime=function(e,t){var i="number"==typeof e,n=i?e:e.getTime(),t=p(n,t),s=t.abbreviation,t=t.offset,i=l(e=i||t?new Date(n-6e4*t):e);return i.zone={abbreviation:s,offset:t},f(i,n),i},e.listTimeZones=function(){return t.slice()},e.setTimeZone=function(e,t,n){var i=r(e=e instanceof Date?(e=>{var t,i=(n||{}).useUTC;if(!0===i)t=l;else{if(!1!==i)throw new Error("Extract local or UTC date? Set useUTC option.");t=h}return t(e)})(e):{year:(i=e).year,month:i.month,day:i.day,hours:i.hours,minutes:i.minutes,seconds:void 0===(s=i.seconds)?0:s,milliseconds:void 0===(s=i.milliseconds)?0:s}),s=new Date(i),s=(e.dayOfWeek=s.getUTCDay(),p(i,t)),t=s.abbreviation,s=s.offset;return e.zone={abbreviation:t,offset:s},f(e,i+6e4*s),e},Object.defineProperty(e,"__esModule",{value:!0})}),((e,t)=>{"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.dayjs_plugin_timezone=t()})(this,function(){var d={year:0,month:1,day:2,hour:3,minute:4,second:5},u={};return function(e,t,r){function l(e,t,i){void 0===i&&(i={});var n,s,e=new Date(e);return i=(void 0===i?{}:i).timeZoneName||"short",(s=u[n=t+"|"+i])||(s=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:i}),u[n]=s),s.formatToParts(e)}function a(e,t){for(var i=l(e,t),n=[],s=0;s<i.length;s+=1){var o=i[s],a=o.type,a=d[a];0<=a&&(n[a]=parseInt(o.value,10))}return t=n[3],e=+e,(r.utc(n[0]+"-"+n[1]+"-"+n[2]+" "+(24===t?0:t)+":"+n[4]+":"+n[5]+":000").valueOf()-(e-e%1e3))/6e4}var c,o=r().utcOffset(),t=t.prototype;t.tz=function(e,t){void 0===e&&(e=c);var i=this.utcOffset(),n=this.toDate().toLocaleString("en-US",{timeZone:e}),s=Math.round((this.toDate()-new Date(n))/1e3/60),n=r(n).$set("millisecond",this.$ms).utcOffset(o-s,!0);return t&&(s=n.utcOffset(),n=n.add(i-s,"minute")),n.$x.$timezone=e,n},t.offsetName=function(e){var t=this.$x.$timezone||r.tz.guess(),t=l(this.valueOf(),t,{timeZoneName:e}).find(function(e){return"timezonename"===e.type.toLowerCase()});return t&&t.value},r.tz=function(e,t,i){var n,s,o=i&&t,i=i||t||c,t=a(+r(),i);return"string"!=typeof e?r(e).tz(i):(e=r.utc(e,o).valueOf(),s=a(t=e-60*(o=t)*1e3,n=i),t=(n=o===s?[t,o]:s===(o=a(t-=60*(s-o)*1e3,n))?[t,s]:[e-60*Math.min(s,o)*1e3,Math.max(s,o)])[1],(e=r(n[0]).utcOffset(t)).$x.$timezone=i,e)},r.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},r.tz.setDefault=function(e){c=e}}}),((e,t)=>{"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.dayjs_plugin_utc=t()})(this,function(){return function(e,t,s){var i=t.prototype,n=(s.utc=function(e){return new t({date:e,utc:!0,args:arguments})},i.utc=function(e){var t=s(this.toDate(),{locale:this.$L,utc:!0});return e?t.add(this.utcOffset(),"minute"):t},i.local=function(){return s(this.toDate(),{locale:this.$L,utc:!1})},i.parse),o=(i.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),n.call(this,e)},i.init),a=(i.init=function(){var e;this.$u?(e=this.$d,this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()):o.call(this)},i.utcOffset),r=(i.utcOffset=function(e,t){var i,n=this.$utils().u;return n(e)?this.$u?0:n(this.$offset)?a.call(this):this.$offset:(n=Math.abs(e)<=16?60*e:e,i=this,t?(i.$offset=n,i.$u=0===e):0!==e?(t=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset(),(i=this.local().add(n+t,"minute")).$offset=n,i.$x.$localOffset=t):i=this.utc(),i)},i.format),l=(i.format=function(e){e=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return r.call(this,e)},i.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||(new Date).getTimezoneOffset());return this.$d.valueOf()-6e4*e},i.isUTC=function(){return!!this.$u},i.toISOString=function(){return this.toDate().toISOString()},i.toString=function(){return this.toDate().toUTCString()},i.toDate),c=(i.toDate=function(e){return"s"===e&&this.$offset?s(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():l.call(this)},i.diff);i.diff=function(e,t,i){var n;return this.$u===e.$u?c.call(this,e,t,i):(n=this.local(),e=s(e).local(),c.call(n,e,t,i))}}}),(e=>{var t,i="",n=(screen.width&&(width=screen.width||"",height=screen.height||"",i+=width+" x "+height),navigator.appVersion),s=navigator.userAgent,o=navigator.appName,a=""+parseFloat(navigator.appVersion),r=parseInt(navigator.appVersion,10),l=(-1!=(l=s.indexOf("Opera"))&&(o="Opera",a=s.substring(l+6),-1!=(l=s.indexOf("Version")))&&(a=s.substring(l+8)),-1!=(l=s.indexOf("OPR"))?(o="Opera",a=s.substring(l+4)):-1!=(l=s.indexOf("Edge"))?(o="Edge",a=s.substring(l+5)):-1!=(l=s.indexOf("Edg"))?(o="Microsoft Edge",a=s.substring(l+4)):-1!=(l=s.indexOf("MSIE"))?(o="Internet",a=s.substring(l+5)):-1!=(l=s.indexOf("Chrome"))?(o="Chrome",a=s.substring(l+7)):-1!=(l=s.indexOf("Safari"))?(o="Safari",a=s.substring(l+7),-1!=(l=s.indexOf("Version"))&&(a=s.substring(l+8))):-1!=(l=s.indexOf("Firefox"))?(o="Firefox",a=s.substring(l+8)):-1!=s.indexOf("Trident/")?(o="Internet",a=s.substring(s.indexOf("rv:")+3)):(f=s.lastIndexOf(" ")+1)<(l=s.lastIndexOf("/"))&&(o=s.substring(f,l),a=s.substring(l+1),o.toLowerCase()==o.toUpperCase())&&(o=navigator.appName),-1!=(f=(a=-1!=(f=(a=-1!=(f=a.indexOf(";"))?a.substring(0,f):a).indexOf(" "))?a.substring(0,f):a).indexOf(")"))&&(a=a.substring(0,f)),r=parseInt(""+a,10),isNaN(r)&&(a=""+parseFloat(navigator.appVersion),r=parseInt(navigator.appVersion,10)),/Mobile|mini|Fennec|Android|iP(ad|od|hone)/.test(n)),c="-",d=[{s:"Windows 10",r:/(Windows 10.0|Windows NT 10.0)/},{s:"Windows 8.1",r:/(Windows 8.1|Windows NT 6.3)/},{s:"Windows 8",r:/(Windows 8|Windows NT 6.2)/},{s:"Windows 7",r:/(Windows 7|Windows NT 6.1)/},{s:"Windows Vista",r:/Windows NT 6.0/},{s:"Windows Server 2003",r:/Windows NT 5.2/},{s:"Windows XP",r:/(Windows NT 5.1|Windows XP)/},{s:"Windows 2000",r:/(Windows NT 5.0|Windows 2000)/},{s:"Windows ME",r:/(Win 9x 4.90|Windows ME)/},{s:"Windows 98",r:/(Windows 98|Win98)/},{s:"Windows 95",r:/(Windows 95|Win95|Windows_95)/},{s:"Windows NT 4.0",r:/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/},{s:"Windows CE",r:/Windows CE/},{s:"Windows 3.11",r:/Win16/},{s:"Android",r:/Android/},{s:"Open BSD",r:/OpenBSD/},{s:"Sun OS",r:/SunOS/},{s:"Chrome OS",r:/CrOS/},{s:"Linux",r:/(Linux|X11(?!.*CrOS))/},{s:"iOS",r:/(iPhone|iPad|iPod)/},{s:"Mac OS X",r:/Mac OS X/},{s:"Mac OS",r:/(Mac OS|MacPPC|MacIntel|Mac_PowerPC|Macintosh)/},{s:"QNX",r:/QNX/},{s:"UNIX",r:/UNIX/},{s:"BeOS",r:/BeOS/},{s:"OS/2",r:/OS\/2/},{s:"Search Bot",r:/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask Jeeves\/Teoma|ia_archiver)/}];for(t in d){var u=d[t];if(u.r.test(s)){c=u.s;break}}var h="-";switch(/Windows/.test(c)&&(h=/Windows (.*)/.exec(c)[1],c="Windows"),c){case"Mac OS":case"Mac OS X":case"Android":h=/(?:Android|Mac OS|Mac OS X|MacPPC|MacIntel|Mac_PowerPC|Macintosh) ([\.\_\d]+)/.exec(s)[1];break;case"iOS":h=(h=/OS (\d+)_(\d+)_?(\d+)?/.exec(n))[1]+"."+h[2]+"."+(0|h[3])}var p,f="no check";"undefined"!=typeof swfobject&&(f=0<(p=swfobject.getFlashPlayerVersion()).major?p.major+"."+p.minor+" r"+p.release:"-"),e.jscd={screen:i,browser:o,browserVersion:a,browserMajorVersion:r,mobile:l,os:c,osVersion:h,flashVersion:f}})(this),(()=>{var e=jQuery("html");e.addClass("browser-"+jscd.browser),e.addClass("platform-"+jscd.os)})(),((t,i)=>{"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(e){return i(t,e)}):"object"==typeof module&&module.exports?module.exports=i(t,require("jquery")):t.jQueryBridget=i(t,t.jQuery)})(window,function(e,t){var i=Array.prototype.slice,n=e.console,u=void 0===n?function(){}:function(e){n.error(e)};function s(l,c,d){(d=d||t||e.jQuery)&&(c.prototype.option||(c.prototype.option=function(e){d.isPlainObject(e)&&(this.options=d.extend(!0,this.options,e))}),d.fn[l]=function(e){var t,n,s,o,a,r;return"string"==typeof e?(t=i.call(arguments,1),s=t,a="$()."+l+'("'+(n=e)+'")',(t=this).each(function(e,t){var i,t=d.data(t,l);t?(i=t[n])&&"_"!=n.charAt(0)?(i=i.apply(t,s),o=void 0===o?i:o):u(a+" is not a valid method"):u(l+" not initialized. Cannot call methods, i.e. "+a)}),void 0!==o?o:t):(r=e,this.each(function(e,t){var i=d.data(t,l);i?(i.option(r),i._init()):(i=new c(t,r),d.data(t,l,i))}),this)},o(d))}function o(e){e&&!e.bridget&&(e.bridget=s)}return o(t||e.jQuery),s}),((e,t)=>{"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()})("undefined"!=typeof window?window:this,function(){function e(){}var t=e.prototype;return t.on=function(e,t){var i;if(e&&t)return-1==(i=(i=this._events=this._events||{})[e]=i[e]||[]).indexOf(t)&&i.push(t),this},t.once=function(e,t){var i;if(e&&t)return this.on(e,t),((i=this._onceEvents=this._onceEvents||{})[e]=i[e]||{})[t]=!0,this},t.off=function(e,t){e=this._events&&this._events[e];if(e&&e.length)return-1!=(t=e.indexOf(t))&&e.splice(t,1),this},t.emitEvent=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){i=i.slice(0),t=t||[];for(var n=this._onceEvents&&this._onceEvents[e],s=0;s<i.length;s++){var o=i[s];n&&n[o]&&(this.off(e,o),delete n[o]),o.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e}),((e,t)=>{"function"==typeof define&&define.amd?define("get-size/get-size",t):"object"==typeof module&&module.exports?module.exports=t():e.getSize=t()})(window,function(){function g(e){var t=parseFloat(e);return-1==e.indexOf("%")&&!isNaN(t)&&t}var t="undefined"==typeof console?function(){}:function(e){console.error(e)},v=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],y=v.length;function b(e){e=getComputedStyle(e);return e||t("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),e}var w,x=!1;function E(e){if(x||(x=!0,(d=document.createElement("div")).style.width="200px",d.style.padding="1px 2px 3px 4px",d.style.borderStyle="solid",d.style.borderWidth="1px 2px 3px 4px",d.style.boxSizing="border-box",(c=document.body||document.documentElement).appendChild(d),o=b(d),w=200==Math.round(g(o.width)),E.isBoxSizeOuter=w,c.removeChild(d)),(e="string"==typeof e?document.querySelector(e):e)&&"object"==typeof e&&e.nodeType){var t=b(e);if("none"==t.display){for(var i={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},n=0;n<y;n++)i[v[n]]=0;return i}for(var s={},o=(s.width=e.offsetWidth,s.height=e.offsetHeight,s.isBorderBox="border-box"==t.boxSizing),a=0;a<y;a++){var r=v[a],l=t[r],l=parseFloat(l);s[r]=isNaN(l)?0:l}var c=s.paddingLeft+s.paddingRight,d=s.paddingTop+s.paddingBottom,e=s.marginLeft+s.marginRight,u=s.marginTop+s.marginBottom,h=s.borderLeftWidth+s.borderRightWidth,p=s.borderTopWidth+s.borderBottomWidth,f=o&&w,m=g(t.width),m=(!1!==m&&(s.width=m+(f?0:c+h)),g(t.height));return!1!==m&&(s.height=m+(f?0:d+p)),s.innerWidth=s.width-(c+h),s.innerHeight=s.height-(d+p),s.outerWidth=s.width+e,s.outerHeight=s.height+u,s}}return E}),((e,t)=>{"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",t):"object"==typeof module&&module.exports?module.exports=t():e.matchesSelector=t()})(window,function(){var i=(()=>{var e=window.Element.prototype;if(e.matches)return"matches";if(e.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],i=0;i<t.length;i++){var n=t[i]+"MatchesSelector";if(e[n])return n}})();return function(e,t){return e[i](t)}}),((t,i)=>{"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(e){return i(t,e)}):"object"==typeof module&&module.exports?module.exports=i(t,require("desandro-matches-selector")):t.fizzyUIUtils=i(t,t.matchesSelector)})(window,function(i,a){var l={extend:function(e,t){for(var i in t)e[i]=t[i];return e},modulo:function(e,t){return(e%t+t)%t}},t=Array.prototype.slice,c=(l.makeArray=function(e){return Array.isArray(e)?e:null==e?[]:"object"==typeof e&&"number"==typeof e.length?t.call(e):[e]},l.removeFrom=function(e,t){t=e.indexOf(t);-1!=t&&e.splice(t,1)},l.getParent=function(e,t){for(;e.parentNode&&e!=document.body;)if(a(e=e.parentNode,t))return e},l.getQueryElement=function(e){return"string"==typeof e?document.querySelector(e):e},l.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},l.filterFindElements=function(e,s){e=l.makeArray(e);var o=[];return e.forEach(function(e){var t;if(t=e,"object"==typeof HTMLElement?t instanceof HTMLElement:t&&"object"==typeof t&&null!==t&&1===t.nodeType&&"string"==typeof t.nodeName)if(s){a(e,s)&&o.push(e);for(var i=e.querySelectorAll(s),n=0;n<i.length;n++)o.push(i[n])}else o.push(e)}),o},l.debounceMethod=function(e,t,n){n=n||100;var s=e.prototype[t],o=t+"Timeout";e.prototype[t]=function(){var e=this[o],t=(clearTimeout(e),arguments),i=this;this[o]=setTimeout(function(){s.apply(i,t),delete i[o]},n)}},l.docReady=function(e){var t=document.readyState;"complete"==t||"interactive"==t?setTimeout(e):document.addEventListener("DOMContentLoaded",e)},l.toDashed=function(e){return e.replace(/(.)([A-Z])/g,function(e,t,i){return t+"-"+i}).toLowerCase()},i.console);return l.htmlInit=function(a,r){l.docReady(function(){var e=l.toDashed(r),n="data-"+e,t=document.querySelectorAll("["+n+"]"),e=document.querySelectorAll(".js-"+e),t=l.makeArray(t).concat(l.makeArray(e)),s=n+"-options",o=i.jQuery;t.forEach(function(t){var e,i=t.getAttribute(n)||t.getAttribute(s);try{e=i&&JSON.parse(i)}catch(e){return void(c&&c.error("Error parsing "+n+" on "+t.className+": "+e))}i=new a(t,e);o&&o.data(t,r,i)})})},l}),((e,t)=>{"function"==typeof define&&define.amd?define("flickity/js/cell",["get-size/get-size"],function(e){return t(0,e)}):"object"==typeof module&&module.exports?module.exports=t(0,require("get-size")):(e.Flickity=e.Flickity||{},e.Flickity.Cell=t(0,e.getSize))})(window,function(e,t){function i(e,t){this.element=e,this.parent=t,this.create()}var n=i.prototype;return n.create=function(){this.element.style.position="absolute",this.element.setAttribute("aria-hidden","true"),this.x=0,this.shift=0},n.destroy=function(){this.unselect(),this.element.style.position="";var e=this.parent.originSide;this.element.style[e]=""},n.getSize=function(){this.size=t(this.element)},n.setPosition=function(e){this.x=e,this.updateTarget(),this.renderPosition(e)},n.updateTarget=n.setDefaultTarget=function(){var e="left"==this.parent.originSide?"marginLeft":"marginRight";this.target=this.x+this.size[e]+this.size.width*this.parent.cellAlign},n.renderPosition=function(e){var t=this.parent.originSide;this.element.style[t]=this.parent.getPositionValue(e)},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(e){this.shift=e,this.renderPosition(this.x+this.parent.slideableWidth*e)},n.remove=function(){this.element.parentNode.removeChild(this.element)},i}),((e,t)=>{"function"==typeof define&&define.amd?define("flickity/js/slide",t):"object"==typeof module&&module.exports?module.exports=t():(e.Flickity=e.Flickity||{},e.Flickity.Slide=t())})(window,function(){function e(e){this.parent=e,this.isOriginLeft="left"==e.originSide,this.cells=[],this.outerWidth=0,this.height=0}var t=e.prototype;return t.addCell=function(e){var t;this.cells.push(e),this.outerWidth+=e.size.outerWidth,this.height=Math.max(e.size.outerHeight,this.height),1==this.cells.length&&(this.x=e.x,t=this.isOriginLeft?"marginLeft":"marginRight",this.firstMargin=e.size[t])},t.updateTarget=function(){var e=this.isOriginLeft?"marginRight":"marginLeft",t=this.getLastCell(),t=t?t.size[e]:0,e=this.outerWidth-(this.firstMargin+t);this.target=this.x+this.firstMargin+e*this.parent.cellAlign},t.getLastCell=function(){return this.cells[this.cells.length-1]},t.select=function(){this.cells.forEach(function(e){e.select()})},t.unselect=function(){this.cells.forEach(function(e){e.unselect()})},t.getCellElements=function(){return this.cells.map(function(e){return e.element})},e}),((e,t)=>{"function"==typeof define&&define.amd?define("flickity/js/animate",["fizzy-ui-utils/utils"],function(e){return t(0,e)}):"object"==typeof module&&module.exports?module.exports=t(0,require("fizzy-ui-utils")):(e.Flickity=e.Flickity||{},e.Flickity.animatePrototype=t(0,e.fizzyUIUtils))})(window,function(e,t){var i={startAnimation:function(){this.isAnimating||(this.isAnimating=!0,this.restingFrames=0,this.animate())},animate:function(){this.applyDragForce(),this.applySelectedAttraction();var e,t=this.x;this.integratePhysics(),this.positionSlider(),this.settle(t),this.isAnimating&&(e=this,requestAnimationFrame(function(){e.animate()}))},positionSlider:function(){var e=this.x;this.options.wrapAround&&1<this.cells.length&&(e=t.modulo(e,this.slideableWidth),e-=this.slideableWidth,this.shiftWrapCells(e)),this.setTranslateX(e,this.isAnimating),this.dispatchScrollEvent()},setTranslateX:function(e,t){e+=this.cursorPosition,e=this.options.rightToLeft?-e:e;e=this.getPositionValue(e);this.slider.style.transform=t?"translate3d("+e+",0,0)":"translateX("+e+")"},dispatchScrollEvent:function(){var e,t=this.slides[0];t&&(e=(t=-this.x-t.target)/this.slidesWidth,this.dispatchEvent("scroll",null,[e,t]))},positionSliderAtSelected:function(){this.cells.length&&(this.x=-this.selectedSlide.target,this.velocity=0,this.positionSlider())},getPositionValue:function(e){return this.options.percentPosition?.01*Math.round(e/this.size.innerWidth*1e4)+"%":Math.round(e)+"px"},settle:function(e){this.isPointerDown||Math.round(100*this.x)!=Math.round(100*e)||this.restingFrames++,2<this.restingFrames&&(this.isAnimating=!1,delete this.isFreeScrolling,this.positionSlider(),this.dispatchEvent("settle",null,[this.selectedIndex]))},shiftWrapCells:function(e){var t=this.cursorPosition+e,t=(this._shiftCells(this.beforeShiftCells,t,-1),this.size.innerWidth-(e+this.slideableWidth+this.cursorPosition));this._shiftCells(this.afterShiftCells,t,1)},_shiftCells:function(e,t,i){for(var n=0;n<e.length;n++){var s=e[n];s.wrapShift(0<t?i:0),t-=s.size.outerWidth}},_unshiftCells:function(e){if(e&&e.length)for(var t=0;t<e.length;t++)e[t].wrapShift(0)},integratePhysics:function(){this.x+=this.velocity,this.velocity*=this.getFrictionFactor()},applyForce:function(e){this.velocity+=e},getFrictionFactor:function(){return 1-this.options[this.isFreeScrolling?"freeScrollFriction":"friction"]},getRestingPosition:function(){return this.x+this.velocity/(1-this.getFrictionFactor())},applyDragForce:function(){var e;this.isDraggable&&this.isPointerDown&&(e=this.dragX-this.x-this.velocity,this.applyForce(e))},applySelectedAttraction:function(){var e;this.isDraggable&&this.isPointerDown||this.isFreeScrolling||!this.slides.length||(e=(-1*this.selectedSlide.target-this.x)*this.options.selectedAttraction,this.applyForce(e))}};return i}),((a,r)=>{var e;"function"==typeof define&&define.amd?define("flickity/js/flickity",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./cell","./slide","./animate"],function(e,t,i,n,s,o){return r(a,e,t,i,n,s,o)}):"object"==typeof module&&module.exports?module.exports=r(a,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./cell"),require("./slide"),require("./animate")):(e=a.Flickity,a.Flickity=r(a,a.EvEmitter,a.getSize,a.fizzyUIUtils,e.Cell,e.Slide,e.animatePrototype))})(window,function(n,e,t,a,i,r,s){var o=n.jQuery,l=n.getComputedStyle,c=n.console;function d(e,t){for(e=a.makeArray(e);e.length;)t.appendChild(e.shift())}var u=0,h={};function p(e,t){var i,n=a.getQueryElement(e);if(n){if(this.element=n,this.element.flickityGUID)return(i=h[this.element.flickityGUID]).option(t),i;o&&(this.$element=o(this.element)),this.options=a.extend({},this.constructor.defaults),this.option(t),this._create()}else c&&c.error("Bad element for Flickity: "+(n||e))}p.defaults={accessibility:!0,cellAlign:"center",freeScrollFriction:.075,friction:.28,namespaceJQueryEvents:!0,percentPosition:!0,resize:!0,selectedAttraction:.025,setGallerySize:!0},p.createMethods=[];var f=p.prototype,m=(a.extend(f,e.prototype),f._create=function(){var e,t=this.guid=++u;for(e in this.element.flickityGUID=t,(h[t]=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)&&n.addEventListener("resize",this),this.options.on){var i=this.options.on[e];this.on(e,i)}p.createMethods.forEach(function(e){this[e]()},this),this.options.watchCSS?this.watchCSS():this.activate()},f.option=function(e){a.extend(this.options,e)},f.activate=function(){this.isActive||(this.isActive=!0,this.element.classList.add("flickity-enabled"),this.options.rightToLeft&&this.element.classList.add("flickity-rtl"),this.getSize(),d(this._filterFindCellElements(this.element.children),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"))},f._createSlider=function(){var e=document.createElement("div");e.className="flickity-slider",e.style[this.originSide]=0,this.slider=e},f._filterFindCellElements=function(e){return a.filterFindElements(e,this.options.cellSelector)},f.reloadCells=function(){this.cells=this._makeCells(this.slider.children),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize()},f._makeCells=function(e){return this._filterFindCellElements(e).map(function(e){return new i(e,this)},this)},f.getLastCell=function(){return this.cells[this.cells.length-1]},f.getLastSlide=function(){return this.slides[this.slides.length-1]},f.positionCells=function(){this._sizeCells(this.cells),this._positionCells(0)},f._positionCells=function(e){this.maxCellHeight=(e=e||0)&&this.maxCellHeight||0;for(var t,i=0,n=(0<e&&(i=(t=this.cells[e-1]).x+t.size.outerWidth),this.cells.length),s=e;s<n;s++){var o=this.cells[s];o.setPosition(i),i+=o.size.outerWidth,this.maxCellHeight=Math.max(o.size.outerHeight,this.maxCellHeight)}this.slideableWidth=i,this.updateSlides(),this._containSlides(),this.slidesWidth=n?this.getLastSlide().target-this.slides[0].target:0},f._sizeCells=function(e){e.forEach(function(e){e.getSize()})},f.updateSlides=function(){var n,s,o;this.slides=[],this.cells.length&&(n=new r(this),this.slides.push(n),s="left"==this.originSide?"marginRight":"marginLeft",o=this._getCanCellFit(),this.cells.forEach(function(e,t){var i;n.cells.length&&(i=n.outerWidth-n.firstMargin+(e.size.outerWidth-e.size[s]),o.call(this,t,i)||(n.updateTarget(),n=new r(this),this.slides.push(n))),n.addCell(e)},this),n.updateTarget(),this.updateSelectedSlide())},f._getCanCellFit=function(){var t,i,e=this.options.groupCells;return e?"number"==typeof e?(t=parseInt(e,10),function(e){return e%t!=0}):(e="string"==typeof e&&e.match(/^(\d+)%$/),i=e?parseInt(e[1],10)/100:1,function(e,t){return t<=(this.size.innerWidth+1)*i}):function(){return!1}},f._init=f.reposition=function(){this.positionCells(),this.positionSliderAtSelected()},f.getSize=function(){this.size=t(this.element),this.setCellAlign(),this.cursorPosition=this.size.innerWidth*this.cellAlign},{center:{left:.5,right:.5},left:{left:0,right:1},right:{right:0,left:1}});return f.setCellAlign=function(){var e=m[this.options.cellAlign];this.cellAlign=e?e[this.originSide]:this.options.cellAlign},f.setGallerySize=function(){var e;this.options.setGallerySize&&(e=this.options.adaptiveHeight&&this.selectedSlide?this.selectedSlide.height:this.maxCellHeight,this.viewport.style.height=e+"px")},f._getWrapShiftCells=function(){var e,t;this.options.wrapAround&&(this._unshiftCells(this.beforeShiftCells),this._unshiftCells(this.afterShiftCells),e=this.cursorPosition,t=this.cells.length-1,this.beforeShiftCells=this._getGapCells(e,t,-1),e=this.size.innerWidth-this.cursorPosition,this.afterShiftCells=this._getGapCells(e,0,1))},f._getGapCells=function(e,t,i){for(var n=[];0<e;){var s=this.cells[t];if(!s)break;n.push(s),t+=i,e-=s.size.outerWidth}return n},f._containSlides=function(){var e,t,i,n,s,o;this.options.contain&&!this.options.wrapAround&&this.cells.length&&(e=(t=this.options.rightToLeft)?"marginRight":"marginLeft",t=t?"marginLeft":"marginRight",i=this.slideableWidth-this.getLastCell().size[t],n=i<this.size.innerWidth,s=this.cursorPosition+this.cells[0].size[e],o=i-this.size.innerWidth*(1-this.cellAlign),this.slides.forEach(function(e){n?e.target=i*this.cellAlign:(e.target=Math.max(e.target,s),e.target=Math.min(e.target,o))},this))},f.dispatchEvent=function(e,t,i){var n=t?[t].concat(i):i;this.emitEvent(e,n),o&&this.$element&&(n=e+=this.options.namespaceJQueryEvents?".flickity":"",t&&((t=o.Event(t)).type=e,n=t),this.$element.trigger(n,i))},f.select=function(e,t,i){this.isActive&&(e=parseInt(e,10),this._wrapSelect(e),(this.options.wrapAround||t)&&(e=a.modulo(e,this.slides.length)),this.slides[e])&&(t=this.selectedIndex,this.selectedIndex=e,this.updateSelectedSlide(),i?this.positionSliderAtSelected():this.startAnimation(),this.options.adaptiveHeight&&this.setGallerySize(),this.dispatchEvent("select",null,[e]),e!=t&&this.dispatchEvent("change",null,[e]),this.dispatchEvent("cellSelect"))},f._wrapSelect=function(e){var t=this.slides.length;if(!(this.options.wrapAround&&1<t))return e;var i=a.modulo(e,t),n=Math.abs(i-this.selectedIndex),s=Math.abs(i+t-this.selectedIndex),i=Math.abs(i-t-this.selectedIndex);!this.isDragSelect&&s<n?e+=t:!this.isDragSelect&&i<n&&(e-=t),e<0?this.x-=this.slideableWidth:t<=e&&(this.x+=this.slideableWidth)},f.previous=function(e,t){this.select(this.selectedIndex-1,e,t)},f.next=function(e,t){this.select(this.selectedIndex+1,e,t)},f.updateSelectedSlide=function(){var e=this.slides[this.selectedIndex];e&&(this.unselectSelectedSlide(),(this.selectedSlide=e).select(),this.selectedCells=e.cells,this.selectedElements=e.getCellElements(),this.selectedCell=e.cells[0],this.selectedElement=this.selectedElements[0])},f.unselectSelectedSlide=function(){this.selectedSlide&&this.selectedSlide.unselect()},f.selectInitialIndex=function(){var e=this.options.initialIndex;if(this.isInitActivated)this.select(this.selectedIndex,!1,!0);else{if(e&&"string"==typeof e)if(this.queryCell(e))return void this.selectCell(e,!1,!0);var t=0;e&&this.slides[e]&&(t=e),this.select(t,!1,!0)}},f.selectCell=function(e,t,i){var e=this.queryCell(e);e&&(e=this.getCellSlideIndex(e),this.select(e,t,i))},f.getCellSlideIndex=function(e){for(var t=0;t<this.slides.length;t++)if(-1!=this.slides[t].cells.indexOf(e))return t},f.getCell=function(e){for(var t=0;t<this.cells.length;t++){var i=this.cells[t];if(i.element==e)return i}},f.getCells=function(e){e=a.makeArray(e);var t=[];return e.forEach(function(e){e=this.getCell(e);e&&t.push(e)},this),t},f.getCellElements=function(){return this.cells.map(function(e){return e.element})},f.getParentCell=function(e){var t=this.getCell(e);return t||(e=a.getParent(e,".flickity-slider > *"),this.getCell(e))},f.getAdjacentCellElements=function(e,t){if(!e)return this.selectedSlide.getCellElements();t=void 0===t?this.selectedIndex:t;var i=this.slides.length;if(i<=1+2*e)return this.getCellElements();for(var n=[],s=t-e;s<=t+e;s++){var o=this.options.wrapAround?a.modulo(s,i):s,o=this.slides[o];o&&(n=n.concat(o.getCellElements()))}return n},f.queryCell=function(e){if("number"==typeof e)return this.cells[e];if("string"==typeof e){if(e.match(/^[#\.]?[\d\/]/))return;e=this.element.querySelector(e)}return this.getCell(e)},f.uiChange=function(){this.emitEvent("uiChange")},f.childUIPointerDown=function(e){"touchstart"!=e.type&&e.preventDefault(),this.focus()},f.onresize=function(){this.watchCSS(),this.resize()},a.debounceMethod(p,"onresize",150),f.resize=function(){var e;this.isActive&&(this.getSize(),this.options.wrapAround&&(this.x=a.modulo(this.x,this.slideableWidth)),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize(),this.emitEvent("resize"),e=this.selectedElements&&this.selectedElements[0],this.selectCell(e,!1,!0))},f.watchCSS=function(){this.options.watchCSS&&(-1!=l(this.element,":after").content.indexOf("flickity")?this.activate():this.deactivate())},f.onkeydown=function(e){var t=document.activeElement&&document.activeElement!=this.element;this.options.accessibility&&!t&&(t=p.keyboardHandlers[e.keyCode])&&t.call(this)},p.keyboardHandlers={37:function(){var e=this.options.rightToLeft?"next":"previous";this.uiChange(),this[e]()},39:function(){var e=this.options.rightToLeft?"previous":"next";this.uiChange(),this[e]()}},f.focus=function(){var e=n.pageYOffset;this.element.focus({preventScroll:!0}),n.pageYOffset!=e&&n.scrollTo(n.pageXOffset,e)},f.deactivate=function(){this.isActive&&(this.element.classList.remove("flickity-enabled"),this.element.classList.remove("flickity-rtl"),this.unselectSelectedSlide(),this.cells.forEach(function(e){e.destroy()}),this.element.removeChild(this.viewport),d(this.slider.children,this.element),this.options.accessibility&&(this.element.removeAttribute("tabIndex"),this.element.removeEventListener("keydown",this)),this.isActive=!1,this.emitEvent("deactivate"))},f.destroy=function(){this.deactivate(),n.removeEventListener("resize",this),this.allOff(),this.emitEvent("destroy"),o&&this.$element&&o.removeData(this.element,"flickity"),delete this.element.flickityGUID,delete h[this.guid]},a.extend(f,s),p.data=function(e){e=(e=a.getQueryElement(e))&&e.flickityGUID;return e&&h[e]},a.htmlInit(p,"flickity"),o&&o.bridget&&o.bridget("flickity",p),p.setJQuery=function(e){o=e},p.Cell=i,p.Slide=r,p}),((t,i)=>{"function"==typeof define&&define.amd?define("unipointer/unipointer",["ev-emitter/ev-emitter"],function(e){return i(t,e)}):"object"==typeof module&&module.exports?module.exports=i(t,require("ev-emitter")):t.Unipointer=i(t,t.EvEmitter)})(window,function(n,e){function t(){}var e=t.prototype=Object.create(e.prototype),i=(e.bindStartEvent=function(e){this._bindStartEvent(e,!0)},e.unbindStartEvent=function(e){this._bindStartEvent(e,!1)},e._bindStartEvent=function(e,t){var t=(t=void 0===t||t)?"addEventListener":"removeEventListener",i="mousedown";n.PointerEvent?i="pointerdown":"ontouchstart"in n&&(i="touchstart"),e[t](i,this)},e.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},e.getTouch=function(e){for(var t=0;t<e.length;t++){var i=e[t];if(i.identifier==this.pointerIdentifier)return i}},e.onmousedown=function(e){var t=e.button;t&&0!==t&&1!==t||this._pointerDown(e,e)},e.ontouchstart=function(e){this._pointerDown(e,e.changedTouches[0])},e.onpointerdown=function(e){this._pointerDown(e,e)},e._pointerDown=function(e,t){e.button||this.isPointerDown||(this.isPointerDown=!0,this.pointerIdentifier=void 0!==t.pointerId?t.pointerId:t.identifier,this.pointerDown(e,t))},e.pointerDown=function(e,t){this._bindPostStartEvents(e),this.emitEvent("pointerDown",[e,t])},{mousedown:["mousemove","mouseup"],touchstart:["touchmove","touchend","touchcancel"],pointerdown:["pointermove","pointerup","pointercancel"]});return e._bindPostStartEvents=function(e){e&&((e=i[e.type]).forEach(function(e){n.addEventListener(e,this)},this),this._boundPointerEvents=e)},e._unbindPostStartEvents=function(){this._boundPointerEvents&&(this._boundPointerEvents.forEach(function(e){n.removeEventListener(e,this)},this),delete this._boundPointerEvents)},e.onmousemove=function(e){this._pointerMove(e,e)},e.onpointermove=function(e){e.pointerId==this.pointerIdentifier&&this._pointerMove(e,e)},e.ontouchmove=function(e){var t=this.getTouch(e.changedTouches);t&&this._pointerMove(e,t)},e._pointerMove=function(e,t){this.pointerMove(e,t)},e.pointerMove=function(e,t){this.emitEvent("pointerMove",[e,t])},e.onmouseup=function(e){this._pointerUp(e,e)},e.onpointerup=function(e){e.pointerId==this.pointerIdentifier&&this._pointerUp(e,e)},e.ontouchend=function(e){var t=this.getTouch(e.changedTouches);t&&this._pointerUp(e,t)},e._pointerUp=function(e,t){this._pointerDone(),this.pointerUp(e,t)},e.pointerUp=function(e,t){this.emitEvent("pointerUp",[e,t])},e._pointerDone=function(){this._pointerReset(),this._unbindPostStartEvents(),this.pointerDone()},e._pointerReset=function(){this.isPointerDown=!1,delete this.pointerIdentifier},e.pointerDone=function(){},e.onpointercancel=function(e){e.pointerId==this.pointerIdentifier&&this._pointerCancel(e,e)},e.ontouchcancel=function(e){var t=this.getTouch(e.changedTouches);t&&this._pointerCancel(e,t)},e._pointerCancel=function(e,t){this._pointerDone(),this.pointerCancel(e,t)},e.pointerCancel=function(e,t){this.emitEvent("pointerCancel",[e,t])},t.getPointerPoint=function(e){return{x:e.pageX,y:e.pageY}},t}),((t,i)=>{"function"==typeof define&&define.amd?define("unidragger/unidragger",["unipointer/unipointer"],function(e){return i(t,e)}):"object"==typeof module&&module.exports?module.exports=i(t,require("unipointer")):t.Unidragger=i(t,t.Unipointer)})(window,function(o,e){function t(){}var i=t.prototype=Object.create(e.prototype),n=(i.bindHandles=function(){this._bindHandles(!0)},i.unbindHandles=function(){this._bindHandles(!1)},i._bindHandles=function(e){for(var t=(e=void 0===e||e)?"addEventListener":"removeEventListener",i=e?this._touchActionValue:"",n=0;n<this.handles.length;n++){var s=this.handles[n];this._bindStartEvent(s,e),s[t]("click",this),o.PointerEvent&&(s.style.touchAction=i)}},i._touchActionValue="none",i.pointerDown=function(e,t){this.okayPointerDown(e)&&(this.pointerDownPointer=t,e.preventDefault(),this.pointerDownBlur(),this._bindPostStartEvents(e),this.emitEvent("pointerDown",[e,t]))},{TEXTAREA:!0,INPUT:!0,SELECT:!0,OPTION:!0}),s={radio:!0,checkbox:!0,button:!0,submit:!0,image:!0,file:!0};return i.okayPointerDown=function(e){var t=n[e.target.nodeName],e=s[e.target.type],t=!t||e;return t||this._pointerReset(),t},i.pointerDownBlur=function(){var e=document.activeElement;e&&e.blur&&e!=document.body&&e.blur()},i.pointerMove=function(e,t){var i=this._dragPointerMove(e,t);this.emitEvent("pointerMove",[e,t,i]),this._dragMove(e,t,i)},i._dragPointerMove=function(e,t){var i={x:t.pageX-this.pointerDownPointer.pageX,y:t.pageY-this.pointerDownPointer.pageY};return!this.isDragging&&this.hasDragStarted(i)&&this._dragStart(e,t),i},i.hasDragStarted=function(e){return 3<Math.abs(e.x)||3<Math.abs(e.y)},i.pointerUp=function(e,t){this.emitEvent("pointerUp",[e,t]),this._dragPointerUp(e,t)},i._dragPointerUp=function(e,t){this.isDragging?this._dragEnd(e,t):this._staticClick(e,t)},i._dragStart=function(e,t){this.isDragging=!0,this.isPreventingClicks=!0,this.dragStart(e,t)},i.dragStart=function(e,t){this.emitEvent("dragStart",[e,t])},i._dragMove=function(e,t,i){this.isDragging&&this.dragMove(e,t,i)},i.dragMove=function(e,t,i){e.preventDefault(),this.emitEvent("dragMove",[e,t,i])},i._dragEnd=function(e,t){this.isDragging=!1,setTimeout(function(){delete this.isPreventingClicks}.bind(this)),this.dragEnd(e,t)},i.dragEnd=function(e,t){this.emitEvent("dragEnd",[e,t])},i.onclick=function(e){this.isPreventingClicks&&e.preventDefault()},i._staticClick=function(e,t){this.isIgnoringMouseUp&&"mouseup"==e.type||(this.staticClick(e,t),"mouseup"!=e.type&&(this.isIgnoringMouseUp=!0,setTimeout(function(){delete this.isIgnoringMouseUp}.bind(this),400)))},i.staticClick=function(e,t){this.emitEvent("staticClick",[e,t])},t.getPointerPoint=e.getPointerPoint,t}),((n,s)=>{"function"==typeof define&&define.amd?define("flickity/js/drag",["./flickity","unidragger/unidragger","fizzy-ui-utils/utils"],function(e,t,i){return s(n,e,t,i)}):"object"==typeof module&&module.exports?module.exports=s(n,require("./flickity"),require("unidragger"),require("fizzy-ui-utils")):n.Flickity=s(n,n.Flickity,n.Unidragger,n.fizzyUIUtils)})(window,function(i,e,t,o){o.extend(e.defaults,{draggable:">1",dragThreshold:3}),e.createMethods.push("_createDrag");var n=e.prototype,s=(o.extend(n,t.prototype),n._touchActionValue="pan-y","createTouch"in document),a=!1,r=(n._createDrag=function(){this.on("activate",this.onActivateDrag),this.on("uiChange",this._uiChangeDrag),this.on("deactivate",this.onDeactivateDrag),this.on("cellChange",this.updateDraggable),s&&!a&&(i.addEventListener("touchmove",function(){}),a=!0)},n.onActivateDrag=function(){this.handles=[this.viewport],this.bindHandles(),this.updateDraggable()},n.onDeactivateDrag=function(){this.unbindHandles(),this.element.classList.remove("is-draggable")},n.updateDraggable=function(){">1"==this.options.draggable?this.isDraggable=1<this.slides.length:this.isDraggable=this.options.draggable,this.isDraggable?this.element.classList.add("is-draggable"):this.element.classList.remove("is-draggable")},n.bindDrag=function(){this.options.draggable=!0,this.updateDraggable()},n.unbindDrag=function(){this.options.draggable=!1,this.updateDraggable()},n._uiChangeDrag=function(){delete this.isFreeScrolling},n.pointerDown=function(e,t){this.isDraggable?this.okayPointerDown(e)&&(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=l(),i.addEventListener("scroll",this),this._pointerDownDefault(e,t)):this._pointerDownDefault(e,t)},n._pointerDownDefault=function(e,t){this.pointerDownPointer={pageX:t.pageX,pageY:t.pageY},this._bindPostStartEvents(e),this.dispatchEvent("pointerDown",e,[t])},{INPUT:!0,TEXTAREA:!0,SELECT:!0});function l(){return{x:i.pageXOffset,y:i.pageYOffset}}return n.pointerDownFocus=function(e){r[e.target.nodeName]||this.focus()},n._pointerDownPreventDefault=function(e){var t="touchstart"==e.type,i=r[e.target.nodeName];t||"touch"==e.pointerType||i||e.preventDefault()},n.hasDragStarted=function(e){return Math.abs(e.x)>this.options.dragThreshold},n.pointerUp=function(e,t){delete this.isTouchScrolling,this.viewport.classList.remove("is-pointer-down"),this.dispatchEvent("pointerUp",e,[t]),this._dragPointerUp(e,t)},n.pointerDone=function(){i.removeEventListener("scroll",this),delete this.pointerDownScroll},n.dragStart=function(e,t){this.isDraggable&&(this.dragStartPosition=this.x,this.startAnimation(),i.removeEventListener("scroll",this),this.dispatchEvent("dragStart",e,[t]))},n.pointerMove=function(e,t){var i=this._dragPointerMove(e,t);this.dispatchEvent("pointerMove",e,[t,i]),this._dragMove(e,t,i)},n.dragMove=function(e,t,i){var n,s;this.isDraggable&&(e.preventDefault(),this.previousDragX=this.dragX,n=this.options.rightToLeft?-1:1,this.options.wrapAround&&(i.x=i.x%this.slideableWidth),n=this.dragStartPosition+i.x*n,!this.options.wrapAround&&this.slides.length&&(n=(n=(s=Math.max(-this.slides[0].target,this.dragStartPosition))<n?.5*(n+s):n)<(s=Math.min(-this.getLastSlide().target,this.dragStartPosition))?.5*(n+s):n),this.dragX=n,this.dragMoveTime=new Date,this.dispatchEvent("dragMove",e,[t,i]))},n.dragEnd=function(e,t){var i,n;this.isDraggable&&(this.options.freeScroll&&(this.isFreeScrolling=!0),i=this.dragEndRestingSelect(),this.options.freeScroll&&!this.options.wrapAround?(n=this.getRestingPosition(),this.isFreeScrolling=-n>this.slides[0].target&&-n<this.getLastSlide().target):this.options.freeScroll||i!=this.selectedIndex||(i+=this.dragEndBoostSelect()),delete this.previousDragX,this.isDragSelect=this.options.wrapAround,this.select(i),delete this.isDragSelect,this.dispatchEvent("dragEnd",e,[t]))},n.dragEndRestingSelect=function(){var e=this.getRestingPosition(),t=Math.abs(this.getSlideDistance(-e,this.selectedIndex)),i=this._getClosestResting(e,t,1),e=this._getClosestResting(e,t,-1);return(i.distance<e.distance?i:e).index},n._getClosestResting=function(e,t,i){for(var n=this.selectedIndex,s=1/0,o=this.options.contain&&!this.options.wrapAround?function(e,t){return e<=t}:function(e,t){return e<t};o(t,s)&&(s=t,null!==(t=this.getSlideDistance(-e,n+=i)));)t=Math.abs(t);return{distance:s,index:n-i}},n.getSlideDistance=function(e,t){var i=this.slides.length,n=this.options.wrapAround&&1<i,s=n?o.modulo(t,i):t,s=this.slides[s];return s?(n=n?this.slideableWidth*Math.floor(t/i):0,e-(s.target+n)):null},n.dragEndBoostSelect=function(){var e,t;return void 0===this.previousDragX||!this.dragMoveTime||100<new Date-this.dragMoveTime?0:(e=this.getSlideDistance(-this.dragX,this.selectedIndex),t=this.previousDragX-this.dragX,0<e&&0<t?1:e<0&&t<0?-1:0)},n.staticClick=function(e,t){var i=this.getParentCell(e.target),n=i&&i.element,i=i&&this.cells.indexOf(i);this.dispatchEvent("staticClick",e,[t,n,i])},n.onscroll=function(){var e=l(),t=this.pointerDownScroll.x-e.x,e=this.pointerDownScroll.y-e.y;(3<Math.abs(t)||3<Math.abs(e))&&this._pointerDone()},e}),((e,n)=>{"function"==typeof define&&define.amd?define("flickity/js/prev-next-button",["./flickity","unipointer/unipointer","fizzy-ui-utils/utils"],function(e,t,i){return n(0,e,t,i)}):"object"==typeof module&&module.exports?module.exports=n(0,require("./flickity"),require("unipointer"),require("fizzy-ui-utils")):n(0,e.Flickity,e.Unipointer,e.fizzyUIUtils)})(window,function(e,t,i,n){var s="http://www.w3.org/2000/svg";function o(e,t){this.direction=e,this.parent=t,this._create()}(o.prototype=Object.create(i.prototype))._create=function(){this.isEnabled=!0,this.isPrevious=-1==this.direction;var e=this.parent.options.rightToLeft?1:-1,e=(this.isLeft=this.direction==e,this.element=document.createElement("button")),t=(e.className="flickity-button flickity-prev-next-button",e.className+=this.isPrevious?" previous":" next",e.setAttribute("type","button"),this.disable(),e.setAttribute("aria-label",this.isPrevious?"Previous":"Next"),this.createSVG());e.appendChild(t),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 e=document.createElementNS(s,"svg"),t=(e.setAttribute("class","flickity-button-icon"),e.setAttribute("viewBox","0 0 100 100"),document.createElementNS(s,"path")),i="string"!=typeof(i=this.parent.options.arrowShape)?"M "+i.x0+",50 L "+i.x1+","+(i.y1+50)+" L "+i.x2+","+(i.y2+50)+" L "+i.x3+",50  L "+i.x2+","+(50-i.y2)+" L "+i.x1+","+(50-i.y1)+" Z":i;return t.setAttribute("d",i),t.setAttribute("class","arrow"),this.isLeft||t.setAttribute("transform","translate(100, 100) rotate(180) "),e.appendChild(t),e},o.prototype.handleEvent=n.handleEvent,o.prototype.onclick=function(){var e;this.isEnabled&&(this.parent.uiChange(),e=this.isPrevious?"previous":"next",this.parent[e]())},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 e=this.parent.slides;this.parent.options.wrapAround&&1<e.length?this.enable():(e=e.length?e.length-1:0,e=this.isPrevious?0:e,this[this.parent.selectedIndex==e?"disable":"enable"]())},o.prototype.destroy=function(){this.deactivate(),this.allOff()},n.extend(t.defaults,{prevNextButtons:!0,arrowShape:{x0:10,x1:60,y1:50,x2:70,y2:40,x3:30}}),t.createMethods.push("_createPrevNextButtons");i=t.prototype;return i._createPrevNextButtons=function(){this.options.prevNextButtons&&(this.prevButton=new o(-1,this),this.nextButton=new o(1,this),this.on("activate",this.activatePrevNextButtons))},i.activatePrevNextButtons=function(){this.prevButton.activate(),this.nextButton.activate(),this.on("deactivate",this.deactivatePrevNextButtons)},i.deactivatePrevNextButtons=function(){this.prevButton.deactivate(),this.nextButton.deactivate(),this.off("deactivate",this.deactivatePrevNextButtons)},t.PrevNextButton=o,t}),((e,n)=>{"function"==typeof define&&define.amd?define("flickity/js/page-dots",["./flickity","unipointer/unipointer","fizzy-ui-utils/utils"],function(e,t,i){return n(0,e,t,i)}):"object"==typeof module&&module.exports?module.exports=n(0,require("./flickity"),require("unipointer"),require("fizzy-ui-utils")):n(0,e.Flickity,e.Unipointer,e.fizzyUIUtils)})(window,function(e,t,i,n){function s(e){this.parent=e,this._create()}(s.prototype=Object.create(i.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 e=this.parent.slides.length-this.dots.length;0<e?this.addDots(e):e<0&&this.removeDots(-e)},s.prototype.addDots=function(e){for(var t=document.createDocumentFragment(),i=[],n=this.dots.length,s=n+e,o=n;o<s;o++){var a=document.createElement("li");a.className="dot",a.setAttribute("aria-label","Page dot "+(o+1)),t.appendChild(a),i.push(a)}this.holder.appendChild(t),this.dots=this.dots.concat(i)},s.prototype.removeDots=function(e){this.dots.splice(this.dots.length-e,e).forEach(function(e){this.holder.removeChild(e)},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(e){var e=e.target;"LI"==e.nodeName&&(this.parent.uiChange(),e=this.dots.indexOf(e),this.parent.select(e))},s.prototype.destroy=function(){this.deactivate(),this.allOff()},t.PageDots=s,n.extend(t.defaults,{pageDots:!0}),t.createMethods.push("_createPageDots");i=t.prototype;return i._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))},i.activatePageDots=function(){this.pageDots.activate()},i.updateSelectedPageDots=function(){this.pageDots.updateSelected()},i.updatePageDots=function(){this.pageDots.setDots()},i.deactivatePageDots=function(){this.pageDots.deactivate()},t.PageDots=s,t}),((e,t)=>{"function"==typeof define&&define.amd?define("flickity/js/player",["ev-emitter/ev-emitter","fizzy-ui-utils/utils","./flickity"],t):"object"==typeof module&&module.exports?module.exports=t(require("ev-emitter"),require("fizzy-ui-utils"),require("./flickity")):t(e.EvEmitter,e.fizzyUIUtils,e.Flickity)})(window,function(e,t,i){function n(e){this.parent=e,this.state="stopped",this.onVisibilityChange=this.visibilityChange.bind(this),this.onVisibilityPlay=this.visibilityPlay.bind(this)}(n.prototype=Object.create(e.prototype)).play=function(){"playing"!=this.state&&(document.hidden?document.addEventListener("visibilitychange",this.onVisibilityPlay):(this.state="playing",document.addEventListener("visibilitychange",this.onVisibilityChange),this.tick()))},n.prototype.tick=function(){var e,t;"playing"==this.state&&(e="number"==typeof(e=this.parent.options.autoPlay)?e:3e3,(t=this).clear(),this.timeout=setTimeout(function(){t.parent.next(!0),t.tick()},e))},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(){"playing"==this.state&&(this.state="paused",this.clear())},n.prototype.unpause=function(){"paused"==this.state&&this.play()},n.prototype.visibilityChange=function(){this[document.hidden?"pause":"unpause"]()},n.prototype.visibilityPlay=function(){this.play(),document.removeEventListener("visibilitychange",this.onVisibilityPlay)},t.extend(i.defaults,{pauseAutoPlayOnHover:!0}),i.createMethods.push("_createPlayer");e=i.prototype;return e._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)},e.activatePlayer=function(){this.options.autoPlay&&(this.player.play(),this.element.addEventListener("mouseenter",this))},e.playPlayer=function(){this.player.play()},e.stopPlayer=function(){this.player.stop()},e.pausePlayer=function(){this.player.pause()},e.unpausePlayer=function(){this.player.unpause()},e.deactivatePlayer=function(){this.player.stop(),this.element.removeEventListener("mouseenter",this)},e.onmouseenter=function(){this.options.pauseAutoPlayOnHover&&(this.player.pause(),this.element.addEventListener("mouseleave",this))},e.onmouseleave=function(){this.player.unpause(),this.element.removeEventListener("mouseleave",this)},i.Player=n,i}),((e,i)=>{"function"==typeof define&&define.amd?define("flickity/js/add-remove-cell",["./flickity","fizzy-ui-utils/utils"],function(e,t){return i(0,e,t)}):"object"==typeof module&&module.exports?module.exports=i(0,require("./flickity"),require("fizzy-ui-utils")):i(0,e.Flickity,e.fizzyUIUtils)})(window,function(e,t,n){var i=t.prototype;return i.insert=function(e,t){var i,n,s,o,a,e=this._makeCells(e);e&&e.length&&(i=this.cells.length,t=void 0===t?i:t,a=e,n=document.createDocumentFragment(),a.forEach(function(e){n.appendChild(e.element)}),a=n,(s=t==i)?this.slider.appendChild(a):(o=this.cells[t].element,this.slider.insertBefore(a,o)),0===t?this.cells=e.concat(this.cells):s?this.cells=this.cells.concat(e):(a=this.cells.splice(t,i-t),this.cells=this.cells.concat(e).concat(a)),this._sizeCells(e),this.cellChange(t,!0))},i.append=function(e){this.insert(e,this.cells.length)},i.prepend=function(e){this.insert(e,0)},i.remove=function(e){var i,e=this.getCells(e);e&&e.length&&(i=this.cells.length-1,e.forEach(function(e){e.remove();var t=this.cells.indexOf(e);i=Math.min(t,i),n.removeFrom(this.cells,e)},this),this.cellChange(i,!0))},i.cellSizeChange=function(e){var e=this.getCell(e);e&&(e.getSize(),e=this.cells.indexOf(e),this.cellChange(e))},i.cellChange=function(e,t){var i=this.selectedElement,i=(this._positionCells(e),this._getWrapShiftCells(),this.setGallerySize(),this.getCell(i));i&&(this.selectedIndex=this.getCellSlideIndex(i)),this.selectedIndex=Math.min(this.slides.length-1,this.selectedIndex),this.emitEvent("cellChange",[e]),this.select(this.selectedIndex),t&&this.positionSliderAtSelected()},t}),((e,i)=>{"function"==typeof define&&define.amd?define("flickity/js/lazyload",["./flickity","fizzy-ui-utils/utils"],function(e,t){return i(0,e,t)}):"object"==typeof module&&module.exports?module.exports=i(0,require("./flickity"),require("fizzy-ui-utils")):i(0,e.Flickity,e.fizzyUIUtils)})(window,function(e,t,s){t.createMethods.push("_createLazyload");var i=t.prototype;function n(e,t){this.img=e,this.flickity=t,this.load()}return i._createLazyload=function(){this.on("select",this.lazyLoad)},i.lazyLoad=function(){var t,e=this.options.lazyLoad;e&&(e=this.getAdjacentCellElements("number"==typeof e?e:0),t=[],e.forEach(function(e){e=(e=>{if("IMG"==e.nodeName){var t=e.getAttribute("data-flickity-lazyload"),i=e.getAttribute("data-flickity-lazyload-src"),n=e.getAttribute("data-flickity-lazyload-srcset");if(t||i||n)return[e]}return t=e.querySelectorAll("img[data-flickity-lazyload], img[data-flickity-lazyload-src], img[data-flickity-lazyload-srcset]"),s.makeArray(t)})(e);t=t.concat(e)}),t.forEach(function(e){new n(e,this)},this))},n.prototype.handleEvent=s.handleEvent,n.prototype.load=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this);var e=this.img.getAttribute("data-flickity-lazyload")||this.img.getAttribute("data-flickity-lazyload-src"),t=this.img.getAttribute("data-flickity-lazyload-srcset");this.img.src=e,t&&this.img.setAttribute("srcset",t),this.img.removeAttribute("data-flickity-lazyload"),this.img.removeAttribute("data-flickity-lazyload-src"),this.img.removeAttribute("data-flickity-lazyload-srcset")},n.prototype.onload=function(e){this.complete(e,"flickity-lazyloaded")},n.prototype.onerror=function(e){this.complete(e,"flickity-lazyerror")},n.prototype.complete=function(e,t){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this);var i=this.flickity.getParentCell(this.img),i=i&&i.element;this.flickity.cellSizeChange(i),this.img.classList.add(t),this.flickity.dispatchEvent("lazyLoad",e,i)},t.LazyLoader=n,t}),(e=>{"function"==typeof define&&define.amd?define("flickity/js/index",["./flickity","./drag","./prev-next-button","./page-dots","./player","./add-remove-cell","./lazyload"],e):"object"==typeof module&&module.exports&&(module.exports=e(require("./flickity"),require("./drag"),require("./prev-next-button"),require("./page-dots"),require("./player"),require("./add-remove-cell"),require("./lazyload")))})((window,function(e){return e})),((e,t)=>{"function"==typeof define&&define.amd?define("flickity-as-nav-for/as-nav-for",["flickity/js/index","fizzy-ui-utils/utils"],t):"object"==typeof module&&module.exports?module.exports=t(require("flickity"),require("fizzy-ui-utils")):e.Flickity=t(e.Flickity,e.fizzyUIUtils)})(window,function(i,n){i.createMethods.push("_createAsNavFor");var e=i.prototype;return e._createAsNavFor=function(){this.on("activate",this.activateAsNavFor),this.on("deactivate",this.deactivateAsNavFor),this.on("destroy",this.destroyAsNavFor);var e,t=this.options.asNavFor;t&&(e=this,setTimeout(function(){e.setNavCompanion(t)}))},e.setNavCompanion=function(e){e=n.getQueryElement(e);var t,e=i.data(e);e&&e!=this&&(this.navCompanion=e,(t=this).onNavCompanionSelect=function(){t.navCompanionSelect()},e.on("select",this.onNavCompanionSelect),this.on("staticClick",this.onNavStaticClick),this.navCompanionSelect(!0))},e.navCompanionSelect=function(e){var t,i,n;this.navCompanion&&(t=this.navCompanion.selectedCells[0],t=this.navCompanion.cells.indexOf(t),i=t+this.navCompanion.selectedCells.length-1,n=Math.floor((n=this.navCompanion.cellAlign,(i-t)*n+t)),this.selectCell(n,!1,e),this.removeNavSelectedElements(),n>=this.cells.length||(e=this.cells.slice(t,1+i),this.navSelectedElements=e.map(function(e){return e.element}),this.changeNavSelectedClass("add")))},e.changeNavSelectedClass=function(t){this.navSelectedElements.forEach(function(e){e.classList[t]("is-nav-selected")})},e.activateAsNavFor=function(){this.navCompanionSelect(!0)},e.removeNavSelectedElements=function(){this.navSelectedElements&&(this.changeNavSelectedClass("remove"),delete this.navSelectedElements)},e.onNavStaticClick=function(e,t,i,n){"number"==typeof n&&this.navCompanion.selectCell(n)},e.deactivateAsNavFor=function(){this.removeNavSelectedElements()},e.destroyAsNavFor=function(){this.navCompanion&&(this.navCompanion.off("select",this.onNavCompanionSelect),this.off("staticClick",this.onNavStaticClick),delete this.navCompanion)},i}),((t,i)=>{"function"==typeof define&&define.amd?define("imagesloaded/imagesloaded",["ev-emitter/ev-emitter"],function(e){return i(t,e)}):"object"==typeof module&&module.exports?module.exports=i(t,require("ev-emitter")):t.imagesLoaded=i(t,t.EvEmitter)})("undefined"!=typeof window?window:this,function(t,e){var o=t.jQuery,a=t.console;function r(e,t){for(var i in t)e[i]=t[i];return e}var l=Array.prototype.slice;function c(e,t,i){if(!(this instanceof c))return new c(e,t,i);var n,s=e;(s="string"==typeof e?document.querySelectorAll(e):s)?(this.elements=(n=s,Array.isArray(n)?n:"object"==typeof n&&"number"==typeof n.length?l.call(n):[n]),this.options=r({},this.options),"function"==typeof t?i=t:r(this.options,t),i&&this.on("always",i),this.getImages(),o&&(this.jqDeferred=new o.Deferred),setTimeout(this.check.bind(this))):a.error("Bad element for imagesLoaded "+(s||e))}(c.prototype=Object.create(e.prototype)).options={},c.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},c.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroundImages(e);var t=e.nodeType;if(t&&d[t]){for(var i=e.querySelectorAll("img"),n=0;n<i.length;n++){var s=i[n];this.addImage(s)}if("string"==typeof this.options.background)for(var o=e.querySelectorAll(this.options.background),n=0;n<o.length;n++){var a=o[n];this.addElementBackgroundImages(a)}}};var d={1:!0,9:!0,11:!0};function i(e){this.img=e}function n(e,t){this.url=e,this.element=t,this.img=new Image}return c.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(t.backgroundImage);null!==n;){var s=n&&n[2];s&&this.addBackground(s,e),n=i.exec(t.backgroundImage)}},c.prototype.addImage=function(e){e=new i(e);this.images.push(e)},c.prototype.addBackground=function(e,t){e=new n(e,t);this.images.push(e)},c.prototype.check=function(){var n=this;function t(e,t,i){setTimeout(function(){n.progress(e,t,i)})}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach(function(e){e.once("progress",t),e.check()}):this.complete()},c.prototype.progress=function(e,t,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&a&&a.log("progress: "+i,e,t)},c.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred&&(e=this.hasAnyBroken?"reject":"resolve",this.jqDeferred[e](this))},(i.prototype=Object.create(e.prototype)).check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src)},i.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},i.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.img,t])},i.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},i.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},i.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},i.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},(n.prototype=Object.create(i.prototype)).check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},n.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},n.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},(c.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((o=e).fn.imagesLoaded=function(e,t){return new c(this,e,t).jqDeferred.promise(o(this))})})(),c}),((e,i)=>{"function"==typeof define&&define.amd?define(["flickity/js/index","imagesloaded/imagesloaded"],function(e,t){return i(0,e,t)}):"object"==typeof module&&module.exports?module.exports=i(0,require("flickity"),require("imagesloaded")):e.Flickity=i(0,e.Flickity,e.imagesLoaded)})(window,function(e,t,n){t.createMethods.push("_createImagesLoaded");var i=t.prototype;return i._createImagesLoaded=function(){this.on("activate",this.imagesLoaded)},i.imagesLoaded=function(){var i;this.options.imagesLoaded&&n((i=this).slider).on("progress",function(e,t){t=i.getParentCell(t.img),i.cellSizeChange(t&&t.element),i.options.freeScroll||i.positionSliderAtSelected()})},t}),((e,t)=>{"function"==typeof define&&define.amd?define(["flickity/js/index","fizzy-ui-utils/utils"],t):"object"==typeof module&&module.exports?module.exports=t(require("flickity"),require("fizzy-ui-utils")):t(e.Flickity,e.fizzyUIUtils)})(this,function(e,n){var t=e.Slide,s=t.prototype.updateTarget,t=(t.prototype.updateTarget=function(){var i,n;s.apply(this,arguments),this.parent.options.fade&&(i=this.target-this.x,n=this.cells[0].x,this.cells.forEach(function(e){var t=e.x-n-i;e.renderPosition(t)}))},t.prototype.setOpacity=function(t){this.cells.forEach(function(e){e.element.style.opacity=t})},e.prototype),i=(e.createMethods.push("_createFade"),t._createFade=function(){this.fadeIndex=this.selectedIndex,this.prevSelectedIndex=this.selectedIndex,this.on("select",this.onSelectFade),this.on("dragEnd",this.onDragEndFade),this.on("settle",this.onSettleFade),this.on("activate",this.onActivateFade),this.on("deactivate",this.onDeactivateFade)},t.updateSlides),o=(t.updateSlides=function(){i.apply(this,arguments),this.options.fade&&this.slides.forEach(function(e,t){t=t==this.selectedIndex?1:0;e.setOpacity(t)},this)},t.onSelectFade=function(){this.fadeIndex=Math.min(this.prevSelectedIndex,this.slides.length-1),this.prevSelectedIndex=this.selectedIndex},t.onSettleFade=function(){delete this.didDragEnd,this.options.fade&&(this.selectedSlide.setOpacity(1),this.slides[this.fadeIndex])&&this.fadeIndex!=this.selectedIndex&&this.slides[this.fadeIndex].setOpacity(0)},t.onDragEndFade=function(){this.didDragEnd=!0},t.onActivateFade=function(){this.options.fade&&this.element.classList.add("is-fade")},t.onDeactivateFade=function(){this.options.fade&&(this.element.classList.remove("is-fade"),this.slides.forEach(function(e){e.setOpacity("")}))},t.positionSlider),a=(t.positionSlider=function(){this.options.fade?(this.fadeSlides(),this.dispatchScrollEvent()):o.apply(this,arguments)},t.positionSliderAtSelected),r=(t.positionSliderAtSelected=function(){this.options.fade&&this.setTranslateX(0),a.apply(this,arguments)},t.fadeSlides=function(){var e,t,i,n,s;this.slides.length<2||(e=this.getFadeIndexes(),s=this.slides[e.a],t=this.slides[e.b],i=this.wrapDifference(s.target,t.target),n=this.wrapDifference(s.target,-this.x),s.setOpacity(1-(n/=i)),t.setOpacity(n),s=e.a,this.isDragging&&(s=.5<n?e.a:e.b),null!=this.fadeHideIndex&&this.fadeHideIndex!=s&&this.fadeHideIndex!=e.a&&this.fadeHideIndex!=e.b&&this.slides[this.fadeHideIndex].setOpacity(0),this.fadeHideIndex=s)},t.getFadeIndexes=function(){return this.isDragging||this.didDragEnd?this.options.wrapAround?this.getFadeDragWrapIndexes():this.getFadeDragLimitIndexes():{a:this.fadeIndex,b:this.selectedIndex}},t.getFadeDragWrapIndexes=function(){var e=this.slides.map(function(e,t){return this.getSlideDistance(-this.x,t)},this),t=e.map(function(e){return Math.abs(e)}),i=Math.min.apply(Math,t),t=t.indexOf(i),i=e[t],e=this.slides.length;return{a:t,b:n.modulo(t+(0<=i?1:-1),e)}},t.getFadeDragLimitIndexes=function(){for(var e=0,t=0;t<this.slides.length-1;t++){var i=this.slides[t];if(-this.x<i.target)break;e=t}return{a:e,b:e+1}},t.wrapDifference=function(e,t){var i,t=t-e;return t=this.options.wrapAround&&(e=t+this.slideableWidth,i=t-this.slideableWidth,Math.abs(e)<Math.abs(t)&&(t=e),Math.abs(i)<Math.abs(t))?i:t},t._getWrapShiftCells),l=(t._getWrapShiftCells=function(){this.options.fade||r.apply(this,arguments)},t.shiftWrapCells);return t.shiftWrapCells=function(){this.options.fade||l.apply(this,arguments)},e}),(e=>{var c=Array.prototype.slice;function t(){}function i(r){var l;if(r)return l="undefined"==typeof console?t:function(e){console.error(e)},r.bridget=function(e,t){var i,o,a;(i=t).prototype.option||(i.prototype.option=function(e){r.isPlainObject(e)&&(this.options=r.extend(!0,this.options,e))}),o=e,a=t,r.fn[o]=function(t){if("string"!=typeof t)return this.each(function(){var e=r.data(this,o);e?(e.option(t),e._init()):(e=new a(this,t),r.data(this,o,e))});for(var e=c.call(arguments,1),i=0,n=this.length;i<n;i++){var s=this[i],s=r.data(s,o);if(s)if(s[t],"_"===t.charAt(0))l("no such method '"+t+"' for "+o+" instance");else{s=s[t].apply(s,e);if(void 0!==s)return s}else l("cannot call methods on "+o+" prior to initialization; attempted to call '"+t+"'")}return this}},r.bridget}"function"==typeof define&&define.amd?define("jquery-bridget/jquery.bridget",["jquery"],i):"object"==typeof exports?i(require("jquery")):i(e.jQuery)})(window),(i=>{var e=document.documentElement,t=function(){};function n(e){var t=i.event;return t.target=t.target||t.srcElement||e,t}e.addEventListener?t=function(e,t,i){e.addEventListener(t,i,!1)}:e.attachEvent&&(t=function(t,e,i){t[e+i]=i.handleEvent?function(){var e=n(t);i.handleEvent.call(i,e)}:function(){var e=n(t);i.call(t,e)},t.attachEvent("on"+e,t[e+i])});var s=function(){},e=(e.removeEventListener?s=function(e,t,i){e.removeEventListener(t,i,!1)}:e.detachEvent&&(s=function(t,i,n){t.detachEvent("on"+i,t[i+n]);try{delete t[i+n]}catch(e){t[i+n]=void 0}}),{bind:t,unbind:s});"function"==typeof define&&define.amd?define("eventie/eventie",e):"object"==typeof exports?module.exports=e:i.eventie=e})(window),function(){function e(){}var t=e.prototype,i=this,n=i.EventEmitter;function o(e,t){for(var i=e.length;i--;)if(e[i].listener===t)return i;return-1}function s(e){return function(){return this[e].apply(this,arguments)}}t.getListeners=function(e){var t,i,n=this._getEvents();if(e instanceof RegExp)for(i in t={},n)n.hasOwnProperty(i)&&e.test(i)&&(t[i]=n[i]);else t=n[e]||(n[e]=[]);return t},t.flattenListeners=function(e){for(var t=[],i=0;i<e.length;i+=1)t.push(e[i].listener);return t},t.getListenersAsObject=function(e){var t,i=this.getListeners(e);return i instanceof Array&&((t={})[e]=i),t||i},t.addListener=function(e,t){var i,n=this.getListenersAsObject(e),s="object"==typeof t;for(i in n)n.hasOwnProperty(i)&&-1===o(n[i],t)&&n[i].push(s?t:{listener:t,once:!1});return this},t.on=s("addListener"),t.addOnceListener=function(e,t){return this.addListener(e,{listener:t,once:!0})},t.once=s("addOnceListener"),t.defineEvent=function(e){return this.getListeners(e),this},t.defineEvents=function(e){for(var t=0;t<e.length;t+=1)this.defineEvent(e[t]);return this},t.removeListener=function(e,t){var i,n,s=this.getListenersAsObject(e);for(n in s)s.hasOwnProperty(n)&&-1!==(i=o(s[n],t))&&s[n].splice(i,1);return this},t.off=s("removeListener"),t.addListeners=function(e,t){return this.manipulateListeners(!1,e,t)},t.removeListeners=function(e,t){return this.manipulateListeners(!0,e,t)},t.manipulateListeners=function(e,t,i){var n,s,o=e?this.removeListener:this.addListener,a=e?this.removeListeners:this.addListeners;if("object"!=typeof t||t instanceof RegExp)for(n=i.length;n--;)o.call(this,t,i[n]);else for(n in t)t.hasOwnProperty(n)&&(s=t[n])&&("function"==typeof s?o:a).call(this,n,s);return this},t.removeEvent=function(e){var t,i=typeof e,n=this._getEvents();if("string"==i)delete n[e];else if(e instanceof RegExp)for(t in n)n.hasOwnProperty(t)&&e.test(t)&&delete n[t];else delete this._events;return this},t.removeAllListeners=s("removeEvent"),t.emitEvent=function(e,t){var i,n,s,o=this.getListenersAsObject(e);for(s in o)if(o.hasOwnProperty(s))for(n=o[s].length;n--;)!0===(i=o[s][n]).once&&this.removeListener(e,i.listener),i.listener.apply(this,t||[])===this._getOnceReturnValue()&&this.removeListener(e,i.listener);return this},t.trigger=s("emitEvent"),t.emit=function(e){var t=Array.prototype.slice.call(arguments,1);return this.emitEvent(e,t)},t.setOnceReturnValue=function(e){return this._onceReturnValue=e,this},t._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},t._getEvents=function(){return this._events||(this._events={})},e.noConflict=function(){return i.EventEmitter=n,e},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return e}):"object"==typeof module&&module.exports?module.exports=e:i.EventEmitter=e}.call(this),(e=>{var s="Webkit Moz ms Ms O".split(" "),o=document.documentElement.style;function t(e){if(e){if("string"==typeof o[e])return e;var t;e=e.charAt(0).toUpperCase()+e.slice(1);for(var i=0,n=s.length;i<n;i++)if(t=s[i]+e,"string"==typeof o[t])return t}}"function"==typeof define&&define.amd?define("get-style-property/get-style-property",[],function(){return t}):"object"==typeof exports?module.exports=t:e.getStyleProperty=t})(window),(P=>{function _(e){var t=parseFloat(e);return-1===e.indexOf("%")&&!isNaN(t)&&t}var D="undefined"==typeof console?function(){}:function(e){console.error(e)},L=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];function e(C){var M,k,z,I=!1;return function(e){var t,i;if(!I&&(I=!0,t=P.getComputedStyle,i=t?function(e){return t(e,null)}:function(e){return e.currentStyle},M=function(e){e=i(e);return e||D("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),e},k=C("boxSizing"))&&((b=document.createElement("div")).style.width="200px",b.style.padding="1px 2px 3px 4px",b.style.borderStyle="solid",b.style.borderWidth="1px 2px 3px 4px",b.style[k]="border-box",(y=document.body||document.documentElement).appendChild(b),h=M(b),z=200===_(h.width),y.removeChild(b)),(e="string"==typeof e?document.querySelector(e):e)&&"object"==typeof e&&e.nodeType){var n=M(e);if("none"===n.display){for(var s={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},o=0,a=L.length;o<a;o++)s[L[o]]=0;return s}for(var r,l,c,d,u={},h=(u.width=e.offsetWidth,u.height=e.offsetHeight,u.isBorderBox=!(!k||!n[k]||"border-box"!==n[k])),p=0,f=L.length;p<f;p++){var m=L[p],g=n[m],v=(v=e,g=g,d=c=l=r=void 0,P.getComputedStyle||-1===g.indexOf("%")||(r=v.style,l=r.left,(d=(c=v.runtimeStyle)&&c.left)&&(c.left=v.currentStyle.left),r.left=g,g=r.pixelLeft,r.left=l,d&&(c.left=d)),parseFloat(g));u[m]=isNaN(v)?0:v}var y=u.paddingLeft+u.paddingRight,b=u.paddingTop+u.paddingBottom,w=u.marginLeft+u.marginRight,x=u.marginTop+u.marginBottom,E=u.borderLeftWidth+u.borderRightWidth,A=u.borderTopWidth+u.borderBottomWidth,S=h&&z,T=_(n.width),T=(!1!==T&&(u.width=T+(S?0:y+E)),_(n.height));return!1!==T&&(u.height=T+(S?0:b+A)),u.innerWidth=u.width-(y+E),u.innerHeight=u.height-(b+A),u.outerWidth=u.width+w,u.outerHeight=u.height+x,u}}}"function"==typeof define&&define.amd?define("get-size/get-size",["get-style-property/get-style-property"],e):"object"==typeof exports?module.exports=e(require("desandro-get-style-property")):P.getSize=e(P.getStyleProperty)})(window),(t=>{var i=t.document,n=[];function s(e){"function"==typeof e&&(s.isReady?e():n.push(e))}function o(e){e="readystatechange"===e.type&&"complete"!==i.readyState;s.isReady||e||a()}function a(){s.isReady=!0;for(var e=0,t=n.length;e<t;e++)(0,n[e])()}function e(e){return"complete"===i.readyState?a():(e.bind(i,"DOMContentLoaded",o),e.bind(i,"readystatechange",o),e.bind(t,"load",o)),s}s.isReady=!1,"function"==typeof define&&define.amd?define("doc-ready/doc-ready",["eventie/eventie"],e):"object"==typeof exports?module.exports=e(require("eventie")):t.docReady=e(t.eventie)})(window),(s=>{var e,i=(()=>{if(s.matches)return"matches";if(s.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],t=0,i=e.length;t<i;t++){var n=e[t]+"MatchesSelector";if(s[n])return n}})();function n(e,t){return e[i](t)}function o(e){e.parentNode||document.createDocumentFragment().appendChild(e)}e=i?n(document.createElement("div"),"div")?n:function(e,t){return o(e),n(e,t)}:function(e,t){o(e);for(var i=e.parentNode.querySelectorAll(t),n=0,s=i.length;n<s;n++)if(i[n]===e)return!0;return!1},"function"==typeof define&&define.amd?define("matches-selector/matches-selector",[],function(){return e}):"object"==typeof exports?module.exports=e:window.matchesSelector=e})(Element.prototype),((i,n)=>{"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["doc-ready/doc-ready","matches-selector/matches-selector"],function(e,t){return n(i,e,t)}):"object"==typeof exports?module.exports=n(i,require("doc-ready"),require("desandro-matches-selector")):i.fizzyUIUtils=n(i,i.docReady,i.matchesSelector)})(window,function(u,e,c){var i,h={extend:function(e,t){for(var i in t)e[i]=t[i];return e},modulo:function(e,t){return(e%t+t)%t}},t=Object.prototype.toString,p=(h.isArray=function(e){return"[object Array]"==t.call(e)},h.makeArray=function(e){var t=[];if(h.isArray(e))t=e;else if(e&&"number"==typeof e.length)for(var i=0,n=e.length;i<n;i++)t.push(e[i]);else t.push(e);return t},h.indexOf=Array.prototype.indexOf?function(e,t){return e.indexOf(t)}:function(e,t){for(var i=0,n=e.length;i<n;i++)if(e[i]===t)return i;return-1},h.removeFrom=function(e,t){t=h.indexOf(e,t);-1!=t&&e.splice(t,1)},h.isElement="object"==typeof HTMLElement?function(e){return e instanceof HTMLElement}:function(e){return e&&"object"==typeof e&&null!==e&&1==e.nodeType&&"string"==typeof e.nodeName},h.setText=function(e,t){e[i=i||(void 0!==document.documentElement.textContent?"textContent":"innerText")]=t},h.getParent=function(e,t){for(;e!=document.body;)if(e=e.parentNode,c(e,t))return e},h.getQueryElement=function(e){return"string"==typeof e?document.querySelector(e):e},h.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},h.filterFindElements=function(e,t){for(var i=[],n=0,s=(e=h.makeArray(e)).length;n<s;n++){var o=e[n];if(h.isElement(o))if(t){c(o,t)&&i.push(o);for(var a=o.querySelectorAll(t),r=0,l=a.length;r<l;r++)i.push(a[r])}else i.push(o)}return i},h.debounceMethod=function(e,t,n){var s=e.prototype[t],o=t+"Timeout";e.prototype[t]=function(){var e=this[o],t=(e&&clearTimeout(e),arguments),i=this;this[o]=setTimeout(function(){s.apply(i,t),delete i[o]},n||100)}},h.toDashed=function(e){return e.replace(/(.)([A-Z])/g,function(e,t,i){return t+"-"+i}).toLowerCase()},u.console);return h.htmlInit=function(c,d){e(function(){for(var e=h.toDashed(d),t=document.querySelectorAll(".js-"+e),i="data-"+e+"-options",n=0,s=t.length;n<s;n++){var o,a=t[n],r=a.getAttribute(i);try{o=r&&JSON.parse(r)}catch(e){p&&p.error("Error parsing "+i+" on "+a.nodeName.toLowerCase()+(a.id?"#"+a.id:"")+": "+e);continue}var r=new c(a,o),l=u.jQuery;l&&l.data(a,d,r)}})},h}),((s,o)=>{"function"==typeof define&&define.amd?define("outlayer/item",["eventEmitter/EventEmitter","get-size/get-size","get-style-property/get-style-property","fizzy-ui-utils/utils"],function(e,t,i,n){return o(s,e,t,i,n)}):"object"==typeof exports?module.exports=o(s,require("wolfy87-eventemitter"),require("get-size"),require("desandro-get-style-property"),require("fizzy-ui-utils")):(s.Outlayer={},s.Outlayer.Item=o(s,s.EventEmitter,s.getSize,s.getStyleProperty,s.fizzyUIUtils))})(window,function(e,t,i,o,n){var s=e.getComputedStyle,a=s?function(e){return s(e,null)}:function(e){return e.currentStyle};var r=o("transition"),e=o("transform"),e=r&&e,l=!!o("perspective"),c={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"}[r],d=["transform","transition","transitionDuration","transitionProperty"],u=(()=>{for(var e={},t=0,i=d.length;t<i;t++){var n=d[t],s=o(n);s&&s!==n&&(e[n]=s)}return e})();function h(e,t){e&&(this.element=e,this.layout=t,this.position={x:0,y:0},this._create())}n.extend(h.prototype,t.prototype),h.prototype._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},h.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},h.prototype.getSize=function(){this.size=i(this.element)},h.prototype.css=function(e){var t,i=this.element.style;for(t in e)i[u[t]||t]=e[t]},h.prototype.getPosition=function(){var e=a(this.element),t=this.layout.options,i=t.isOriginLeft,t=t.isOriginTop,n=e[i?"left":"right"],e=e[t?"top":"bottom"],s=this.layout.size,n=-1!=n.indexOf("%")?parseFloat(n)/100*s.width:parseInt(n,10),e=-1!=e.indexOf("%")?parseFloat(e)/100*s.height:parseInt(e,10),n=isNaN(n)?0:n,e=isNaN(e)?0:e;n-=i?s.paddingLeft:s.paddingRight,e-=t?s.paddingTop:s.paddingBottom,this.position.x=n,this.position.y=e},h.prototype.layoutPosition=function(){var e=this.layout.size,t=this.layout.options,i={},n=t.isOriginLeft?"paddingLeft":"paddingRight",s=t.isOriginLeft?"right":"left",n=this.position.x+e[n],n=(i[t.isOriginLeft?"left":"right"]=this.getXValue(n),i[s]="",t.isOriginTop?"paddingTop":"paddingBottom"),s=t.isOriginTop?"top":"bottom",t=t.isOriginTop?"bottom":"top",e=this.position.y+e[n];i[s]=this.getYValue(e),i[t]="",this.css(i),this.emitEvent("layout",[this])},h.prototype.getXValue=function(e){var t=this.layout.options;return t.percentPosition&&!t.isHorizontal?e/this.layout.size.width*100+"%":e+"px"},h.prototype.getYValue=function(e){var t=this.layout.options;return t.percentPosition&&t.isHorizontal?e/this.layout.size.height*100+"%":e+"px"},h.prototype._transitionTo=function(e,t){this.getPosition();var i=this.position.x,n=this.position.y,s=parseInt(e,10),o=parseInt(t,10),s=s===this.position.x&&o===this.position.y;this.setPosition(e,t),s&&!this.isTransitioning?this.layoutPosition():((o={}).transform=this.getTranslate(e-i,t-n),this.transition({to:o,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0}))},h.prototype.getTranslate=function(e,t){var i=this.layout.options;return e=i.isOriginLeft?e:-e,t=i.isOriginTop?t:-t,l?"translate3d("+e+"px, "+t+"px, 0)":"translate("+e+"px, "+t+"px)"},h.prototype.goTo=function(e,t){this.setPosition(e,t),this.layoutPosition()},h.prototype.moveTo=e?h.prototype._transitionTo:h.prototype.goTo,h.prototype.setPosition=function(e,t){this.position.x=parseInt(e,10),this.position.y=parseInt(t,10)},h.prototype._nonTransition=function(e){for(var t in this.css(e.to),e.isCleaning&&this._removeStyles(e.to),e.onTransitionEnd)e.onTransitionEnd[t].call(this)},h.prototype._transition=function(e){if(parseFloat(this.layout.options.transitionDuration)){var t,i=this._transn;for(t in e.onTransitionEnd)i.onEnd[t]=e.onTransitionEnd[t];for(t in e.to)i.ingProperties[t]=!0,e.isCleaning&&(i.clean[t]=!0);e.from&&(this.css(e.from),this.element.offsetHeight,0),this.enableTransition(e.to),this.css(e.to),this.isTransitioning=!0}else this._nonTransition(e)};var p="opacity,"+(u.transform||"transform").replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()}),f=(h.prototype.enableTransition=function(){this.isTransitioning||(this.css({transitionProperty:p,transitionDuration:this.layout.options.transitionDuration}),this.element.addEventListener(c,this,!1))},h.prototype.transition=h.prototype[r?"_transition":"_nonTransition"],h.prototype.onwebkitTransitionEnd=function(e){this.ontransitionend(e)},h.prototype.onotransitionend=function(e){this.ontransitionend(e)},{"-webkit-transform":"transform","-moz-transform":"transform","-o-transform":"transform"}),m=(h.prototype.ontransitionend=function(e){var t,i;e.target===this.element&&(t=this._transn,i=f[e.propertyName]||e.propertyName,delete t.ingProperties[i],(e=>{for(var t in e)return;return 1})(t.ingProperties)&&this.disableTransition(),i in t.clean&&(this.element.style[e.propertyName]="",delete t.clean[i]),i in t.onEnd&&(t.onEnd[i].call(this),delete t.onEnd[i]),this.emitEvent("transitionEnd",[this]))},h.prototype.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(c,this,!1),this.isTransitioning=!1},h.prototype._removeStyles=function(e){var t,i={};for(t in e)i[t]="";this.css(i)},{transitionProperty:"",transitionDuration:""});return h.prototype.removeTransitionStyles=function(){this.css(m)},h.prototype.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},h.prototype.remove=function(){var e;r&&parseFloat(this.layout.options.transitionDuration)?((e=this).once("transitionEnd",function(){e.removeElem()}),this.hide()):this.removeElem()},h.prototype.reveal=function(){delete this.isHidden,this.css({display:""});var e=this.layout.options,t={};t[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:e.hiddenStyle,to:e.visibleStyle,isCleaning:!0,onTransitionEnd:t})},h.prototype.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},h.prototype.getHideRevealTransitionEndProperty=function(e){var t,e=this.layout.options[e];if(e.opacity)return"opacity";for(t in e)return t},h.prototype.hide=function(){this.isHidden=!0,this.css({display:""});var e=this.layout.options,t={};t[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:e.visibleStyle,to:e.hiddenStyle,isCleaning:!0,onTransitionEnd:t})},h.prototype.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},h.prototype.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},h}),((o,a)=>{"function"==typeof define&&define.amd?define("outlayer/outlayer",["eventie/eventie","eventEmitter/EventEmitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(e,t,i,n,s){return a(o,e,t,i,n,s)}):"object"==typeof exports?module.exports=a(o,require("eventie"),require("wolfy87-eventemitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):o.Outlayer=a(o,o.eventie,o.EventEmitter,o.getSize,o.fizzyUIUtils,o.Outlayer.Item)})(window,function(e,t,i,s,o,n){function a(){}var r=e.console,l=e.jQuery,c=0,d={};function u(e,t){var i=o.getQueryElement(e);i?(this.element=i,l&&(this.$element=l(this.element)),this.options=o.extend({},this.constructor.defaults),this.option(t),t=++c,this.element.outlayerGUID=t,(d[t]=this)._create(),this.options.isInitLayout&&this.layout()):r&&r.error("Bad element for "+this.constructor.namespace+": "+(i||e))}return u.namespace="outlayer",u.Item=n,u.defaults={containerStyle:{position:"relative"},isInitLayout:!0,isOriginLeft:!0,isOriginTop:!0,isResizeBound:!0,isResizingContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}},o.extend(u.prototype,i.prototype),u.prototype.option=function(e){o.extend(this.options,e)},u.prototype._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),o.extend(this.element.style,this.options.containerStyle),this.options.isResizeBound&&this.bindResize()},u.prototype.reloadItems=function(){this.items=this._itemize(this.element.children)},u.prototype._itemize=function(e){for(var t=this._filterFindItemElements(e),i=this.constructor.Item,n=[],s=0,o=t.length;s<o;s++){var a=new i(t[s],this);n.push(a)}return n},u.prototype._filterFindItemElements=function(e){return o.filterFindElements(e,this.options.itemSelector)},u.prototype.getItemElements=function(){for(var e=[],t=0,i=this.items.length;t<i;t++)e.push(this.items[t].element);return e},u.prototype._init=u.prototype.layout=function(){this._resetLayout(),this._manageStamps();var e=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},u.prototype._resetLayout=function(){this.getSize()},u.prototype.getSize=function(){this.size=s(this.element)},u.prototype._getMeasurement=function(e,t){var i,n=this.options[e];n?("string"==typeof n?i=this.element.querySelector(n):o.isElement(n)&&(i=n),this[e]=i?s(i)[t]:n):this[e]=0},u.prototype.layoutItems=function(e,t){e=this._getItemsForLayout(e),this._layoutItems(e,t),this._postLayout()},u.prototype._getItemsForLayout=function(e){for(var t=[],i=0,n=e.length;i<n;i++){var s=e[i];s.isIgnored||t.push(s)}return t},u.prototype._layoutItems=function(e,t){if(this._emitCompleteOnItems("layout",e),e&&e.length){for(var i=[],n=0,s=e.length;n<s;n++){var o=e[n],a=this._getItemLayoutPosition(o);a.item=o,a.isInstant=t||o.isLayoutInstant,i.push(a)}this._processLayoutQueue(i)}},u.prototype._getItemLayoutPosition=function(){return{x:0,y:0}},u.prototype._processLayoutQueue=function(e){for(var t=0,i=e.length;t<i;t++){var n=e[t];this._positionItem(n.item,n.x,n.y,n.isInstant)}},u.prototype._positionItem=function(e,t,i,n){n?e.goTo(t,i):e.moveTo(t,i)},u.prototype._postLayout=function(){this.resizeContainer()},u.prototype.resizeContainer=function(){var e;this.options.isResizingContainer&&(e=this._getContainerSize())&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))},u.prototype._getContainerSize=a,u.prototype._setContainerMeasure=function(e,t){var i;void 0!==e&&((i=this.size).isBorderBox&&(e+=t?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),e=Math.max(e,0),this.element.style[t?"width":"height"]=e+"px")},u.prototype._emitCompleteOnItems=function(e,t){var i=this;function n(){i.dispatchEvent(e+"Complete",null,[t])}var s=t.length;if(t&&s)for(var o=0,a=0,r=t.length;a<r;a++)t[a].once(e,l);else n();function l(){++o===s&&n()}},u.prototype.dispatchEvent=function(e,t,i){var n=t?[t].concat(i):i;this.emitEvent(e,n),l&&(this.$element=this.$element||l(this.element),t?((n=l.Event(t)).type=e,this.$element.trigger(n,i)):this.$element.trigger(e,i))},u.prototype.ignore=function(e){e=this.getItem(e);e&&(e.isIgnored=!0)},u.prototype.unignore=function(e){e=this.getItem(e);e&&delete e.isIgnored},u.prototype.stamp=function(e){if(e=this._find(e)){this.stamps=this.stamps.concat(e);for(var t=0,i=e.length;t<i;t++){var n=e[t];this.ignore(n)}}},u.prototype.unstamp=function(e){if(e=this._find(e))for(var t=0,i=e.length;t<i;t++){var n=e[t];o.removeFrom(this.stamps,n),this.unignore(n)}},u.prototype._find=function(e){if(e)return"string"==typeof e&&(e=this.element.querySelectorAll(e)),e=o.makeArray(e)},u.prototype._manageStamps=function(){if(this.stamps&&this.stamps.length){this._getBoundingRect();for(var e=0,t=this.stamps.length;e<t;e++){var i=this.stamps[e];this._manageStamp(i)}}},u.prototype._getBoundingRect=function(){var e=this.element.getBoundingClientRect(),t=this.size;this._boundingRect={left:e.left+t.paddingLeft+t.borderLeftWidth,top:e.top+t.paddingTop+t.borderTopWidth,right:e.right-(t.paddingRight+t.borderRightWidth),bottom:e.bottom-(t.paddingBottom+t.borderBottomWidth)}},u.prototype._manageStamp=a,u.prototype._getElementOffset=function(e){var t=e.getBoundingClientRect(),i=this._boundingRect,e=s(e);return{left:t.left-i.left-e.marginLeft,top:t.top-i.top-e.marginTop,right:i.right-t.right-e.marginRight,bottom:i.bottom-t.bottom-e.marginBottom}},u.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},u.prototype.bindResize=function(){this.isResizeBound||(t.bind(e,"resize",this),this.isResizeBound=!0)},u.prototype.unbindResize=function(){this.isResizeBound&&t.unbind(e,"resize",this),this.isResizeBound=!1},u.prototype.onresize=function(){this.resizeTimeout&&clearTimeout(this.resizeTimeout);var e=this;this.resizeTimeout=setTimeout(function(){e.resize(),delete e.resizeTimeout},100)},u.prototype.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},u.prototype.needsResizeLayout=function(){var e=s(this.element);return this.size&&e&&e.innerWidth!==this.size.innerWidth},u.prototype.addItems=function(e){e=this._itemize(e);return e.length&&(this.items=this.items.concat(e)),e},u.prototype.appended=function(e){e=this.addItems(e);e.length&&(this.layoutItems(e,!0),this.reveal(e))},u.prototype.prepended=function(e){var t,e=this._itemize(e);e.length&&(t=this.items.slice(0),this.items=e.concat(t),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(t))},u.prototype.reveal=function(e){this._emitCompleteOnItems("reveal",e);for(var t=e&&e.length,i=0;t&&i<t;i++)e[i].reveal()},u.prototype.hide=function(e){this._emitCompleteOnItems("hide",e);for(var t=e&&e.length,i=0;t&&i<t;i++)e[i].hide()},u.prototype.revealItemElements=function(e){e=this.getItems(e);this.reveal(e)},u.prototype.hideItemElements=function(e){e=this.getItems(e);this.hide(e)},u.prototype.getItem=function(e){for(var t=0,i=this.items.length;t<i;t++){var n=this.items[t];if(n.element===e)return n}},u.prototype.getItems=function(e){for(var t=[],i=0,n=(e=o.makeArray(e)).length;i<n;i++){var s=e[i],s=this.getItem(s);s&&t.push(s)}return t},u.prototype.remove=function(e){var t=this.getItems(e);if(this._emitCompleteOnItems("remove",t),t&&t.length)for(var i=0,n=t.length;i<n;i++){var s=t[i];s.remove(),o.removeFrom(this.items,s)}},u.prototype.destroy=function(){var e=this.element.style;e.height="",e.position="",e.width="";for(var t=0,i=this.items.length;t<i;t++)this.items[t].destroy();this.unbindResize();e=this.element.outlayerGUID;delete d[e],delete this.element.outlayerGUID,l&&l.removeData(this.element,this.constructor.namespace)},u.data=function(e){e=(e=o.getQueryElement(e))&&e.outlayerGUID;return e&&d[e]},u.create=function(e,t){function i(){u.apply(this,arguments)}return Object.create?i.prototype=Object.create(u.prototype):o.extend(i.prototype,u.prototype),(i.prototype.constructor=i).defaults=o.extend({},u.defaults),o.extend(i.defaults,t),i.prototype.settings={},i.namespace=e,i.data=u.data,(i.Item=function(){n.apply(this,arguments)}).prototype=new n,o.htmlInit(i,e),l&&l.bridget&&l.bridget(e,i),i},u.Item=n,u}),((e,t)=>{"function"==typeof define&&define.amd?define("isotope/js/item",["outlayer/outlayer"],t):"object"==typeof exports?module.exports=t(require("outlayer")):(e.Isotope=e.Isotope||{},e.Isotope.Item=t(e.Outlayer))})(window,function(e){function t(){e.Item.apply(this,arguments)}(t.prototype=new e.Item)._create=function(){this.id=this.layout.itemGUID++,e.Item.prototype._create.call(this),this.sortData={}},t.prototype.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var e,t=this.layout.options.getSortData,i=this.layout._sorters;for(e in t){var n=i[e];this.sortData[e]=n(this.element,this)}}};var i=t.prototype.destroy;return t.prototype.destroy=function(){i.apply(this,arguments),this.css({display:""})},t}),((e,t)=>{"function"==typeof define&&define.amd?define("isotope/js/layout-mode",["get-size/get-size","outlayer/outlayer"],t):"object"==typeof exports?module.exports=t(require("get-size"),require("outlayer")):(e.Isotope=e.Isotope||{},e.Isotope.LayoutMode=t(e.getSize,e.Outlayer))})(window,function(t,i){function n(e){(this.isotope=e)&&(this.options=e.options[this.namespace],this.element=e.element,this.items=e.filteredItems,this.size=e.size)}for(var e=["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout"],s=0,o=e.length;s<o;s++){var a=e[s];n.prototype[a]=(e=>function(){return i.prototype[e].apply(this.isotope,arguments)})(a)}return n.prototype.needsVerticalResizeLayout=function(){var e=t(this.isotope.element);return this.isotope.size&&e&&e.innerHeight!=this.isotope.size.innerHeight},n.prototype._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},n.prototype.getColumnWidth=function(){this.getSegmentSize("column","Width")},n.prototype.getRowHeight=function(){this.getSegmentSize("row","Height")},n.prototype.getSegmentSize=function(e,t){var i,e=e+t,n="outer"+t;this._getMeasurement(e,n),this[e]||(i=this.getFirstItemSize(),this[e]=i&&i[n]||this.isotope.size["inner"+t])},n.prototype.getFirstItemSize=function(){var e=this.isotope.filteredItems[0];return e&&e.element&&t(e.element)},n.prototype.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},n.prototype.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},n.modes={},n.create=function(e,t){function i(){n.apply(this,arguments)}return i.prototype=new n,t&&(i.options=t),n.modes[i.prototype.namespace=e]=i},n}),((e,t)=>{"function"==typeof define&&define.amd?define("masonry/masonry",["outlayer/outlayer","get-size/get-size","fizzy-ui-utils/utils"],t):"object"==typeof exports?module.exports=t(require("outlayer"),require("get-size"),require("fizzy-ui-utils")):e.Masonry=t(e.Outlayer,e.getSize,e.fizzyUIUtils)})(window,function(e,r,l){e=e.create("masonry");return e.prototype._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns();var e=this.cols;for(this.colYs=[];e--;)this.colYs.push(0);this.maxY=0},e.prototype.measureColumns=function(){this.getContainerWidth(),this.columnWidth||(e=(e=this.items[0])&&e.element,this.columnWidth=e&&r(e).outerWidth||this.containerWidth);var e=this.columnWidth+=this.gutter,t=this.containerWidth+this.gutter,i=t/e,t=e-t%e,i=Math[t&&t<1?"round":"floor"](i);this.cols=Math.max(i,1)},e.prototype.getContainerWidth=function(){var e=this.options.isFitWidth?this.element.parentNode:this.element,e=r(e);this.containerWidth=e&&e.innerWidth},e.prototype._getItemLayoutPosition=function(e){e.getSize();for(var t=e.size.outerWidth%this.columnWidth,t=Math[t&&t<1?"round":"ceil"](e.size.outerWidth/this.columnWidth),t=Math.min(t,this.cols),t=this._getColGroup(t),i=Math.min.apply(Math,t),n=l.indexOf(t,i),s={x:this.columnWidth*n,y:i},o=i+e.size.outerHeight,a=this.cols+1-t.length,r=0;r<a;r++)this.colYs[n+r]=o;return s},e.prototype._getColGroup=function(e){if(e<2)return this.colYs;for(var t=[],i=this.cols+1-e,n=0;n<i;n++){var s=this.colYs.slice(n,n+e);t[n]=Math.max.apply(Math,s)}return t},e.prototype._manageStamp=function(e){for(var t=r(e),e=this._getElementOffset(e),i=this.options.isOriginLeft?e.left:e.right,n=i+t.outerWidth,i=Math.floor(i/this.columnWidth),i=Math.max(0,i),s=Math.floor(n/this.columnWidth),o=(s-=n%this.columnWidth?0:1,s=Math.min(this.cols-1,s),(this.options.isOriginTop?e.top:e.bottom)+t.outerHeight),a=i;a<=s;a++)this.colYs[a]=Math.max(o,this.colYs[a])},e.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var e={height:this.maxY};return this.options.isFitWidth&&(e.width=this._getContainerFitWidth()),e},e.prototype._getContainerFitWidth=function(){for(var e=0,t=this.cols;--t&&0===this.colYs[t];)e++;return(this.cols-e)*this.columnWidth-this.gutter},e.prototype.needsResizeLayout=function(){var e=this.containerWidth;return this.getContainerWidth(),e!==this.containerWidth},e}),((e,t)=>{"function"==typeof define&&define.amd?define("isotope/js/layout-modes/masonry",["../layout-mode","masonry/masonry"],t):"object"==typeof exports?module.exports=t(require("../layout-mode"),require("masonry-layout")):t(e.Isotope.LayoutMode,e.Masonry)})(window,function(e,t){var i,e=e.create("masonry"),n=e.prototype._getElementOffset,s=e.prototype.layout,o=e.prototype._getMeasurement,a=e.prototype,r=t.prototype;for(i in r)a[i]=r[i];e.prototype._getElementOffset=n,e.prototype.layout=s,e.prototype._getMeasurement=o;var l=e.prototype.measureColumns,c=(e.prototype.measureColumns=function(){this.items=this.isotope.filteredItems,l.call(this)},e.prototype._manageStamp);return e.prototype._manageStamp=function(){this.options.isOriginLeft=this.isotope.options.isOriginLeft,this.options.isOriginTop=this.isotope.options.isOriginTop,c.apply(this,arguments)},e}),((e,t)=>{"function"==typeof define&&define.amd?define("isotope/js/layout-modes/fit-rows",["../layout-mode"],t):"object"==typeof exports?module.exports=t(require("../layout-mode")):t(e.Isotope.LayoutMode)})(window,function(e){e=e.create("fitRows");return e.prototype._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},e.prototype._getItemLayoutPosition=function(e){e.getSize();var t=e.size.outerWidth+this.gutter,i=this.isotope.size.innerWidth+this.gutter,i=(0!==this.x&&t+this.x>i&&(this.x=0,this.y=this.maxY),{x:this.x,y:this.y});return this.maxY=Math.max(this.maxY,this.y+e.size.outerHeight),this.x+=t,i},e.prototype._getContainerSize=function(){return{height:this.maxY}},e}),((e,t)=>{"function"==typeof define&&define.amd?define("isotope/js/layout-modes/vertical",["../layout-mode"],t):"object"==typeof exports?module.exports=t(require("../layout-mode")):t(e.Isotope.LayoutMode)})(window,function(e){e=e.create("vertical",{horizontalAlignment:0});return e.prototype._resetLayout=function(){this.y=0},e.prototype._getItemLayoutPosition=function(e){e.getSize();var t=(this.isotope.size.innerWidth-e.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=e.size.outerHeight,{x:t,y:i}},e.prototype._getContainerSize=function(){return{height:this.y}},e}),((a,r)=>{"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","matches-selector/matches-selector","fizzy-ui-utils/utils","isotope/js/item","isotope/js/layout-mode","isotope/js/layout-modes/masonry","isotope/js/layout-modes/fit-rows","isotope/js/layout-modes/vertical"],function(e,t,i,n,s,o){return r(a,e,0,i,n,s,o)}):"object"==typeof exports?module.exports=r(a,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("./item"),require("./layout-mode"),require("./layout-modes/masonry"),require("./layout-modes/fit-rows"),require("./layout-modes/vertical")):a.Isotope=r(a,a.Outlayer,0,a.matchesSelector,a.fizzyUIUtils,a.Isotope.Item,a.Isotope.LayoutMode)})(window,function(e,n,t,i,o,s,a){var r=e.jQuery,l=String.prototype.trim?function(e){return e.trim()}:function(e){return e.replace(/^\s+|\s+$/g,"")},c=document.documentElement.textContent?function(e){return e.textContent}:function(e){return e.innerText},d=n.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0}),u=(d.Item=s,d.LayoutMode=a,d.prototype._create=function(){for(var e in this.itemGUID=0,this._sorters={},this._getSorters(),n.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],a.modes)this._initLayoutMode(e)},d.prototype.reloadItems=function(){this.itemGUID=0,n.prototype.reloadItems.call(this)},d.prototype._itemize=function(){for(var e=n.prototype._itemize.apply(this,arguments),t=0,i=e.length;t<i;t++)e[t].id=this.itemGUID++;return this._updateItemsSortData(e),e},d.prototype._initLayoutMode=function(e){var t=a.modes[e],i=this.options[e]||{};this.options[e]=t.options?o.extend(t.options,i):i,this.modes[e]=new t(this)},d.prototype.layout=function(){!this._isLayoutInited&&this.options.isInitLayout?this.arrange():this._layout()},d.prototype._layout=function(){var e=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,e),this._isLayoutInited=!0},d.prototype.arrange=function(e){this.option(e),this._getIsInstant();var t=this._filter(this.items),i=(this.filteredItems=t.matches,this);function n(){i.reveal(t.needReveal),i.hide(t.needHide)}this._bindArrangeComplete(),this._isInstant?this._noTransition(n):n(),this._sort(),this._layout()},d.prototype._init=d.prototype.arrange,d.prototype._getIsInstant=function(){var e=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;return this._isInstant=e},d.prototype._bindArrangeComplete=function(){var e,t,i,n=this;function s(){e&&t&&i&&n.dispatchEvent("arrangeComplete",null,[n.filteredItems])}this.once("layoutComplete",function(){e=!0,s()}),this.once("hideComplete",function(){t=!0,s()}),this.once("revealComplete",function(){i=!0,s()})},d.prototype._filter=function(e){for(var t=this.options.filter,i=[],n=[],s=[],o=this._getFilterTest(t||"*"),a=0,r=e.length;a<r;a++){var l,c=e[a];c.isIgnored||((l=o(c))&&i.push(c),l&&c.isHidden?n.push(c):l||c.isHidden||s.push(c))}return{matches:i,needReveal:n,needHide:s}},d.prototype._getFilterTest=function(t){return r&&this.options.isJQueryFiltering?function(e){return r(e.element).is(t)}:"function"==typeof t?function(e){return t(e.element)}:function(e){return i(e.element,t)}},d.prototype.updateSortData=function(e){e=e?(e=o.makeArray(e),this.getItems(e)):this.items;this._getSorters(),this._updateItemsSortData(e)},d.prototype._getSorters=function(){var e,t=this.options.getSortData;for(e in t){var i=t[e];this._sorters[e]=u(i)}},d.prototype._updateItemsSortData=function(e){for(var t=e&&e.length,i=0;t&&i<t;i++)e[i].updateSortData()},function(e){var t,i,n,s,o;return"string"==typeof e&&(n=(i=(t=l(e).split(" "))[0]).match(/^\[(.+)\]$/),s=((t,i)=>t?function(e){return e.getAttribute(t)}:function(e){e=e.querySelector(i);return e&&c(e)})(n&&n[1],i),e=(o=d.sortDataParsers[t[1]])?function(e){return e&&o(s(e))}:function(e){return e&&s(e)}),e});d.sortDataParsers={parseInt:function(e){return parseInt(e,10)},parseFloat:function(e){return parseFloat(e)}},d.prototype._sort=function(){var e,r,l,t=this.options.sortBy;t&&(e=[].concat.apply(t,this.sortHistory),r=e,l=this.options.sortAscending,this.filteredItems.sort(function(e,t){for(var i=0,n=r.length;i<n;i++){var s=r[i],o=e.sortData[s],a=t.sortData[s];if(a<o||o<a)return(a<o?1:-1)*((void 0!==l[s]?l[s]:l)?1:-1)}return 0}),t!=this.sortHistory[0])&&this.sortHistory.unshift(t)},d.prototype._mode=function(){var e=this.options.layoutMode,t=this.modes[e];if(t)return t.options=this.options[e],t;throw new Error("No layout mode: "+e)},d.prototype._resetLayout=function(){n.prototype._resetLayout.call(this),this._mode()._resetLayout()},d.prototype._getItemLayoutPosition=function(e){return this._mode()._getItemLayoutPosition(e)},d.prototype._manageStamp=function(e){this._mode()._manageStamp(e)},d.prototype._getContainerSize=function(){return this._mode()._getContainerSize()},d.prototype.needsResizeLayout=function(){return this._mode().needsResizeLayout()},d.prototype.appended=function(e){var e=this.addItems(e);e.length&&(e=this._filterRevealAdded(e),this.filteredItems=this.filteredItems.concat(e))},d.prototype.prepended=function(e){var t,e=this._itemize(e);e.length&&(this._resetLayout(),this._manageStamps(),t=this._filterRevealAdded(e),this.layoutItems(this.filteredItems),this.filteredItems=t.concat(this.filteredItems),this.items=e.concat(this.items))},d.prototype._filterRevealAdded=function(e){e=this._filter(e);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},d.prototype.insert=function(e){var t=this.addItems(e);if(t.length){for(var i,n=t.length,s=0;s<n;s++)i=t[s],this.element.appendChild(i.element);e=this._filter(t).matches;for(s=0;s<n;s++)t[s].isLayoutInstant=!0;for(this.arrange(),s=0;s<n;s++)delete t[s].isLayoutInstant;this.reveal(e)}};var h=d.prototype.remove;return d.prototype.remove=function(e){e=o.makeArray(e);var t=this.getItems(e),i=(h.call(this,e),t&&t.length);if(i)for(var n=0;n<i;n++){var s=t[n];o.removeFrom(this.filteredItems,s)}},d.prototype.shuffle=function(){for(var e=0,t=this.items.length;e<t;e++)this.items[e].sortData.random=Math.random();this.options.sortBy="random",this._sort(),this._layout()},d.prototype._noTransition=function(e){var t=this.options.transitionDuration,e=(this.options.transitionDuration=0,e.call(this));return this.options.transitionDuration=t,e},d.prototype.getFilteredItemElements=function(){for(var e=[],t=0,i=this.filteredItems.length;t<i;t++)e.push(this.filteredItems[t].element);return e},d}),(e=>{function i(e){return new RegExp("(^|\\s+)"+e+"(\\s+|$)")}function t(e,t){(n(e,t)?o:s)(e,t)}var n,s,o="classList"in document.documentElement?(n=function(e,t){return e.classList.contains(t)},s=function(e,t){e.classList.add(t)},function(e,t){e.classList.remove(t)}):(n=function(e,t){return i(t).test(e.className)},s=function(e,t){n(e,t)||(e.className=e.className+" "+t)},function(e,t){e.className=e.className.replace(i(t)," ")}),a={hasClass:n,addClass:s,removeClass:o,toggleClass:t,has:n,add:s,remove:o,toggle:t};"function"==typeof define&&define.amd?define("classie/classie",a):"object"==typeof exports?module.exports=a:e.classie=a})(window),(e=>{function t(){function r(e){for(var t in r.defaults)this[t]=r.defaults[t];for(t in e)this[t]=e[t]}return(i.Rect=r).defaults={x:0,y:0,width:0,height:0},r.prototype.contains=function(e){var t=e.width||0;return this.x<=e.x&&this.y<=e.y&&this.x+this.width>=e.x+t&&this.y+this.height>=e.y+(e.height||0)},r.prototype.overlaps=function(e){var t=this.x+this.width,i=this.y+this.height,n=e.x+e.width;return this.x<n&&t>e.x&&this.y<e.y+e.height&&i>e.y},r.prototype.getMaximalFreeRects=function(e){var t,i,n,s,o,a;return!!this.overlaps(e)&&(i=[],n=this.x+this.width,s=this.y+this.height,o=e.x+e.width,a=e.y+e.height,this.y<e.y&&(t=new r({x:this.x,y:this.y,width:this.width,height:e.y-this.y}),i.push(t)),o<n&&(t=new r({x:o,y:this.y,width:n-o,height:this.height}),i.push(t)),a<s&&(t=new r({x:this.x,y:a,width:this.width,height:s-a}),i.push(t)),this.x<e.x&&(t=new r({x:this.x,y:this.y,width:e.x-this.x,height:this.height}),i.push(t)),i)},r.prototype.canFit=function(e){return this.width>=e.width&&this.height>=e.height},r}var i=e.Packery=function(){};"function"==typeof define&&define.amd?define("packery/js/rect",t):"object"==typeof exports?module.exports=t():(e.Packery=e.Packery||{},e.Packery.Rect=t())})(window),(e=>{function t(t){function e(e,t,i){this.width=e||0,this.height=t||0,this.sortDirection=i||"downwardLeftToRight",this.reset()}e.prototype.reset=function(){this.spaces=[],this.newSpaces=[];var e=new t({x:0,y:0,width:this.width,height:this.height});this.spaces.push(e),this.sorter=i[this.sortDirection]||i.downwardLeftToRight},e.prototype.pack=function(e){for(var t=0,i=this.spaces.length;t<i;t++){var n=this.spaces[t];if(n.canFit(e)){this.placeInSpace(e,n);break}}},e.prototype.placeInSpace=function(e,t){e.x=t.x,e.y=t.y,this.placed(e)},e.prototype.placed=function(e){for(var t=[],i=0,n=this.spaces.length;i<n;i++){var s=this.spaces[i],o=s.getMaximalFreeRects(e);o?t.push.apply(t,o):t.push(s)}this.spaces=t,this.mergeSortSpaces()},e.prototype.mergeSortSpaces=function(){e.mergeRects(this.spaces),this.spaces.sort(this.sorter)},e.prototype.addSpace=function(e){this.spaces.push(e),this.mergeSortSpaces()},e.mergeRects=function(e){for(var t=0,i=e.length;t<i;t++){var n=e[t];if(n){var s=e.slice(0);s.splice(t,1);for(var o=0,a=0,r=s.length;a<r;a++){var l=s[a],c=a<t?0:1;n.contains(l)&&(e.splice(a+c-o,1),o++)}}}return e};var i={downwardLeftToRight:function(e,t){return e.y-t.y||e.x-t.x},rightwardTopToBottom:function(e,t){return e.x-t.x||e.y-t.y}};return e}"function"==typeof define&&define.amd?define("packery/js/packer",["./rect"],t):"object"==typeof exports?module.exports=t(require("./rect")):(e=e.Packery=e.Packery||{}).Packer=t(e.Rect)})(window),(e=>{function t(e,t,i){function n(){t.Item.apply(this,arguments)}var s=e("transform"),o=(n.prototype=new t.Item)._create;return n.prototype._create=function(){o.call(this),this.rect=new i,this.placeRect=new i},n.prototype.dragStart=function(){this.getPosition(),this.removeTransitionStyles(),this.isTransitioning&&s&&(this.element.style[s]="none"),this.getSize(),this.isPlacing=!0,this.needsPositioning=!1,this.positionPlaceRect(this.position.x,this.position.y),this.isTransitioning=!1,this.didDrag=!1},n.prototype.dragMove=function(e,t){this.didDrag=!0;var i=this.layout.size;e-=i.paddingLeft,this.positionPlaceRect(e,t-=i.paddingTop)},n.prototype.dragStop=function(){this.getPosition();var e=this.position.x!==this.placeRect.x,t=this.position.y!==this.placeRect.y;this.needsPositioning=e||t,this.didDrag=!1},n.prototype.positionPlaceRect=function(e,t,i){this.placeRect.x=this.getPlaceRectCoord(e,!0),this.placeRect.y=this.getPlaceRectCoord(t,!1,i)},n.prototype.getPlaceRectCoord=function(e,t,i){var n=t?"Width":"Height",s=this.size["outer"+n],o=this.layout[t?"columnWidth":"rowHeight"],n=this.layout.size["inner"+n];return t||(n=Math.max(n,this.layout.maxY),this.layout.rowHeight)||(n-=this.layout.gutter),t=o?(o+=this.layout.gutter,n+=t?this.layout.gutter:0,e=Math.round(e/o),t=this.layout.options.isHorizontal?t?"ceil":"floor":t?"floor":"ceil",t=Math[t](n/o),t-=Math.ceil(s/o)):n-s,e=i?e:Math.min(e,t),e*=o||1,Math.max(0,e)},n.prototype.copyPlaceRectPosition=function(){this.rect.x=this.placeRect.x,this.rect.y=this.placeRect.y},n.prototype.removeElem=function(){this.element.parentNode.removeChild(this.element),this.layout.packer.addSpace(this.rect),this.emitEvent("remove",[this])},n}"function"==typeof define&&define.amd?define("packery/js/item",["get-style-property/get-style-property","outlayer/outlayer","./rect"],t):"object"==typeof exports?module.exports=t(require("desandro-get-style-property"),require("outlayer"),require("./rect")):e.Packery.Item=t(e.getStyleProperty,e.Outlayer,e.Packery.Rect)})(window),(e=>{function t(a,n,e,i,t,s){function o(e,t){return e.position.y-t.position.y||e.position.x-t.position.x}function r(e,t){return e.position.x-t.position.x||e.position.y-t.position.y}i.prototype.canFit=function(e){return this.width>=e.width-1&&this.height>=e.height-1};var l=e.create("packery");return l.Item=s,l.prototype._create=function(){e.prototype._create.call(this),this.packer=new t,this.stamp(this.options.stamped);var i=this;this.handleDraggabilly={dragStart:function(e){i.itemDragStart(e.element)},dragMove:function(e){i.itemDragMove(e.element,e.position.x,e.position.y)},dragEnd:function(e){i.itemDragEnd(e.element)}},this.handleUIDraggable={start:function(e){i.itemDragStart(e.currentTarget)},drag:function(e,t){i.itemDragMove(e.currentTarget,t.position.left,t.position.top)},stop:function(e){i.itemDragEnd(e.currentTarget)}}},l.prototype._resetLayout=function(){this.getSize(),this._getMeasurements();var e=this.packer;this.options.isHorizontal?(e.width=Number.POSITIVE_INFINITY,e.height=this.size.innerHeight+this.gutter,e.sortDirection="rightwardTopToBottom"):(e.width=this.size.innerWidth+this.gutter,e.height=Number.POSITIVE_INFINITY,e.sortDirection="downwardLeftToRight"),e.reset(),this.maxY=0,this.maxX=0},l.prototype._getMeasurements=function(){this._getMeasurement("columnWidth","width"),this._getMeasurement("rowHeight","height"),this._getMeasurement("gutter","width")},l.prototype._getItemLayoutPosition=function(e){return this._packItem(e),e.rect},l.prototype._packItem=function(e){this._setRectSize(e.element,e.rect),this.packer.pack(e.rect),this._setMaxXY(e.rect)},l.prototype._setMaxXY=function(e){this.maxX=Math.max(e.x+e.width,this.maxX),this.maxY=Math.max(e.y+e.height,this.maxY)},l.prototype._setRectSize=function(e,t){var e=n(e),i=e.outerWidth,e=e.outerHeight;(i||e)&&(i=this._applyGridGutter(i,this.columnWidth),e=this._applyGridGutter(e,this.rowHeight)),t.width=Math.min(i,this.packer.width),t.height=Math.min(e,this.packer.height)},l.prototype._applyGridGutter=function(e,t){var i;return t?(i=e%(t+=this.gutter),Math[i&&i<1?"round":"ceil"](e/t)*t):e+this.gutter},l.prototype._getContainerSize=function(){return this.options.isHorizontal?{width:this.maxX-this.gutter}:{height:this.maxY-this.gutter}},l.prototype._manageStamp=function(e){var t=this.getItem(e);t=t&&t.isPlacing?t.placeRect:(t=this._getElementOffset(e),new i({x:this.options.isOriginLeft?t.left:t.right,y:this.options.isOriginTop?t.top:t.bottom})),this._setRectSize(e,t),this.packer.placed(t),this._setMaxXY(t)},l.prototype.sortItemsByPosition=function(){var e=this.options.isHorizontal?r:o;this.items.sort(e)},l.prototype.fit=function(e,t,i){e=this.getItem(e);e&&(this._getMeasurements(),this.stamp(e.element),e.getSize(),e.isPlacing=!0,t=void 0===t?e.rect.x:t,i=void 0===i?e.rect.y:i,e.positionPlaceRect(t,i,!0),this._bindFitEvents(e),e.moveTo(e.placeRect.x,e.placeRect.y),this.layout(),this.unstamp(e.element),this.sortItemsByPosition(),e.isPlacing=!1,e.copyPlaceRectPosition())},l.prototype._bindFitEvents=function(e){function t(){2===++n&&i.emitEvent("fitComplete",[i,e])}var i=this,n=0;e.on("layout",function(){return t(),!0}),this.on("layoutComplete",function(){return t(),!0})},l.prototype.resize=function(){var e=n(this.element),t=this.size&&e,i=this.options.isHorizontal?"innerHeight":"innerWidth";t&&e[i]===this.size[i]||this.layout()},l.prototype.itemDragStart=function(e){this.stamp(e);e=this.getItem(e);e&&e.dragStart()},l.prototype.itemDragMove=function(e,t,i){var e=this.getItem(e),n=(e&&e.dragMove(t,i),this);this.clearDragTimeout(),this.dragTimeout=setTimeout(function(){n.layout(),delete n.dragTimeout},40)},l.prototype.clearDragTimeout=function(){this.dragTimeout&&clearTimeout(this.dragTimeout)},l.prototype.itemDragEnd=function(e){var t,i=this.getItem(e);i&&(t=i.didDrag,i.dragStop()),i&&(t||i.needsPositioning)?(a.add(i.element,"is-positioning-post-drag"),t=this._getDragEndLayoutComplete(e,i),i.needsPositioning?(i.on("layout",t),i.moveTo(i.placeRect.x,i.placeRect.y)):i&&i.copyPlaceRectPosition(),this.clearDragTimeout(),this.on("layoutComplete",t),this.layout()):this.unstamp(e)},l.prototype._getDragEndLayoutComplete=function(e,t){var i=t&&t.needsPositioning,n=0,s=i?2:1,o=this;return function(){return++n!==s||(t&&(a.remove(t.element,"is-positioning-post-drag"),t.isPlacing=!1,t.copyPlaceRectPosition()),o.unstamp(e),o.sortItemsByPosition(),i&&o.emitEvent("dragItemPositioned",[o,t])),!0}},l.prototype.bindDraggabillyEvents=function(e){e.on("dragStart",this.handleDraggabilly.dragStart),e.on("dragMove",this.handleDraggabilly.dragMove),e.on("dragEnd",this.handleDraggabilly.dragEnd)},l.prototype.bindUIDraggableEvents=function(e){e.on("dragstart",this.handleUIDraggable.start).on("drag",this.handleUIDraggable.drag).on("dragstop",this.handleUIDraggable.stop)},l.Rect=i,l.Packer=t,l}"function"==typeof define&&define.amd?define("packery/js/packery",["classie/classie","get-size/get-size","outlayer/outlayer","./rect","./packer","./item"],t):"object"==typeof exports?module.exports=t(require("desandro-classie"),require("get-size"),require("outlayer"),require("./rect"),require("./packer"),require("./item")):e.Packery=t(e.classie,e.getSize,e.Outlayer,e.Packery.Rect,e.Packery.Packer,e.Packery.Item)})(window),(e=>{function t(e,t,n){var i,e=e.create("packery"),s=e.prototype._getElementOffset,o=e.prototype._getMeasurement,a=e.prototype,r=t.prototype;for(i in r)a[i]=r[i];e.prototype._getElementOffset=s,e.prototype._getMeasurement=o;var l=e.prototype._resetLayout,c=(e.prototype._resetLayout=function(){this.packer=this.packer||new t.Packer,l.apply(this,arguments)},e.prototype._getItemLayoutPosition),d=(e.prototype._getItemLayoutPosition=function(e){return e.rect=e.rect||new t.Rect,c.call(this,e)},e.prototype._manageStamp);return e.prototype._manageStamp=function(){this.options.isOriginLeft=this.isotope.options.isOriginLeft,this.options.isOriginTop=this.isotope.options.isOriginTop,d.apply(this,arguments)},e.prototype.needsResizeLayout=function(){var e=n(this.element),t=this.size&&e,i=this.options.isHorizontal?"innerHeight":"innerWidth";return t&&e[i]!==this.size[i]},e}"function"==typeof define&&define.amd?define(["isotope/js/layout-mode","packery/js/packery","get-size/get-size"],t):"object"==typeof exports?module.exports=t(require("isotope-layout/js/layout-mode"),require("packery"),require("get-size")):t(e.Isotope.LayoutMode,e.Packery,e.getSize)})(window),(f=>{function e(e,i,n){var s=this;return this.on("click.pjax",e,function(e){var t=f.extend({},u(i,n));t.container||(t.container=f(this).attr("data-pjax")||s),o(e,t)})}function o(e,t,i){i=u(t,i);var n,t=e.currentTarget;if("A"!==t.tagName.toUpperCase())throw"$.fn.pjax or $.pjax.click requires an anchor element";1<e.which||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||location.protocol!==t.protocol||location.hostname!==t.hostname||-1<t.href.indexOf("#")&&l(t)==l(location)||e.isDefaultPrevented()||(n={url:t.href,container:f(t).attr("data-pjax"),target:t},n=f.extend({},n,i),i=f.Event("pjax:click"),f(t).trigger(i,[n]),i.isDefaultPrevented())||(m(n),e.preventDefault(),f(t).trigger("pjax:clicked",[n]))}function t(e,t,i){i=u(t,i);var t=e.currentTarget,n=f(t);if("FORM"!==t.tagName.toUpperCase())throw"$.pjax.submit requires a form element";n={type:(n.attr("method")||"GET").toUpperCase(),url:n.attr("action"),container:n.attr("data-pjax"),target:t};if("GET"!==n.type&&void 0!==window.FormData)n.data=new FormData(t),n.processData=!1,n.contentType=!1;else{if(f(t).find(":file").length)return;n.data=f(t).serializeArray()}m(f.extend({},n,i)),e.preventDefault()}function m(c){"function"==typeof(c=f.extend(!0,{},f.ajaxSettings,m.defaults,c)).url&&(c.url=c.url());var i,n=c.target,d=w(c.url).hash,e=x(c.container),u=c.context=e[0],h=e[1];function p(e,t,i){(i=i||{}).relatedTarget=n;e=f.Event(e,i);return u.trigger(e,t),!e.isDefaultPrevented()}c.data||(c.data={}),Array.isArray(c.data)?c.data.push({name:"_pjax",value:h}):c.data._pjax=h,c.beforeSend=function(e,t){if("GET"!==t.type&&(t.timeout=0),e.setRequestHeader("X-PJAX","true"),e.setRequestHeader("X-PJAX-Container",h),!p("pjax:beforeSend",[e,t]))return!1;0<t.timeout&&(i=setTimeout(function(){p("pjax:timeout",[e,c])&&e.abort("timeout")},t.timeout),t.timeout=0);t=w(t.url);d&&(t.hash=d),c.requestUrl=r(t)},c.complete=function(e,t){i&&clearTimeout(i),p("pjax:complete",[e,t,c]),p("pjax:end",[e,c])},c.error=function(e,t,i){var n=E("",e,c),e=p("pjax:error",[e,t,i,c]);"GET"==c.type&&"abort"!==t&&e&&g(n.url)},c.success=function(e,t,i){var n=m.state,s="function"==typeof f.pjax.defaults.version?f.pjax.defaults.version():f.pjax.defaults.version,o=i.getResponseHeader("X-PJAX-Version"),a=E(e,i,c),r=w(a.url);if(d&&(r.hash=d,a.url=r.href),s&&o&&s!==o)g(a.url);else if(a.contents){if(m.state={id:c.id||y(),url:a.url,title:a.title,container:h,fragment:c.fragment,timeout:c.timeout},(c.push||c.replace)&&window.history.replaceState(m.state,a.title,a.url),f.contains(c.container,document.activeElement))try{document.activeElement.blur()}catch(e){}a.title&&(document.title=a.title),p("pjax:beforeReplace",[a.contents,c],{state:m.state,previousState:n}),u.html(a.contents);var l,r=u.find("input[autofocus], textarea[autofocus]").last()[0],o=(r&&document.activeElement!==r&&r.focus(),(s=a.scripts)&&(l=f("script[src]"),s.each(function(){var e,t,i=this.src;l.filter(function(){return this.src===i}).length||(e=document.createElement("script"),(t=f(this).attr("type"))&&(e.type=t),e.src=f(this).attr("src"),document.head.appendChild(e))})),c.scrollTo);"number"==typeof(o=d&&(n=decodeURIComponent(d.slice(1)),r=document.getElementById(n)||document.getElementsByName(n)[0])?f(r).offset().top:o)&&f(window).scrollTop(o),p("pjax:success",[e,t,i,c])}else g(a.url)},m.state||(m.state={id:y(),url:window.location.href,title:document.title,container:h,fragment:c.fragment,timeout:c.timeout},window.history.replaceState(m.state,document.title)),v(m.xhr),m.options=c;var t,s,e=m.xhr=f.ajax(c);return 0<e.readyState&&(c.push&&!c.replace&&(t=m.state.id,s=b(u,h),A[t]=s,T.push(t),C(S,0),C(T,m.defaults.maxCacheLength),window.history.pushState(null,"",c.requestUrl)),p("pjax:start",[e,c]),p("pjax:send",[e,c])),m.xhr}function i(e,t){var i={url:window.location.href,push:!1,replace:!0,scrollTo:!1};return m(f.extend(i,u(e,t)))}function g(e){window.history.replaceState(null,"",m.state.url),window.location.replace(e)}var c=!0,d=window.location.href,n=window.history.state;function s(e){c||v(m.xhr);var t,i=m.state,e=e.state;if(e&&e.container){if(c&&d==e.url)return;if(i){if(i.id===e.id)return;t=i.id<e.id?"forward":"back"}var n,s,o,a=A[e.id]||[],r=a[0]||e.container,l=f(r),a=a[1];l.length?(i&&(s=t,o=i.id,r=b(l,r),A[o]=r,r="forward"===s?(n=T,S):(n=S,T),n.push(o),(o=r.pop())&&delete A[o],C(n,m.defaults.maxCacheLength)),s=f.Event("pjax:popstate",{state:e,direction:t}),l.trigger(s),r={id:e.id,url:e.url,container:l,push:!1,fragment:e.fragment,timeout:e.timeout,scrollTo:!1},a?(l.trigger("pjax:start",[null,r]),(m.state=e).title&&(document.title=e.title),o=f.Event("pjax:beforeReplace",{state:e,previousState:i}),l.trigger(o,[a,r]),l.html(a),l.trigger("pjax:end",[null,r])):m(r),l[0].offsetHeight):g(location.href)}c=!1}function a(e){var t,i="function"==typeof e.url?e.url():e.url,n=e.type?e.type.toUpperCase():"GET",s=f("<form>",{method:"GET"===n?"GET":"POST",action:i,style:"display:none"}),o=("GET"!==n&&"POST"!==n&&s.append(f("<input>",{type:"hidden",name:"_method",value:n.toLowerCase()})),e.data);if("string"==typeof o)f.each(o.split("&"),function(e,t){t=t.split("=");s.append(f("<input>",{type:"hidden",name:t[0],value:t[1]}))});else if(Array.isArray(o))f.each(o,function(e,t){s.append(f("<input>",{type:"hidden",name:t.name,value:t.value}))});else if("object"==typeof o)for(t in o)s.append(f("<input>",{type:"hidden",name:t,value:o[t]}));f(document.body).append(s),s.trigger("submit")}function v(e){e&&e.readyState<4&&(e.onreadystatechange=f.noop,e.abort())}function y(){return(new Date).getTime()}function b(e,t){e=e.clone();return e.find("script").each(function(){this.src||jQuery._data(this,"globalEval",!1)}),[t,e.contents()]}function r(e){return e.search=e.search.replace(/([?&])(_pjax|_)=[^&]*/g,""),e.href.replace(/\?($|#)/,"$1")}function w(e){var t=document.createElement("a");return t.href=e,t}function l(e){return e.href.replace(/#.*/,"")}function u(e,t){return e&&t?t.container=e:t=f.isPlainObject(e)?e:{container:e},t.container&&(t.container=x(t.container)),t}function x(e){var t,i;if(Array.isArray(e)?(i=e[0],t=e[1]):i=f(t=e),i.length)return[i,t];throw"no pjax container for "+t}function h(e,t){return e.filter(t).add(e.find(t))}function p(e){return f.parseHTML(e,document,!0)}function E(e,t,i){var n,s,o={},a=/<html/i.test(e),t=t.getResponseHeader("X-PJAX-URL");return o.url=t?r(w(t)):i.requestUrl,a?(s=f(p(e.match(/<head[^>]*>([\s\S.]*)<\/head>/i)[0])),n=f(p(e.match(/<body[^>]*>([\s\S.]*)<\/body>/i)[0]))):s=n=f(p(e)),0!==n.length&&(o.title=h(s,"title").last().text(),i.fragment?(t="body"===i.fragment?n:h(n,i.fragment).first()).length&&(o.contents="body"===i.fragment?t:t.contents(),o.title||(o.title=t.attr("title")||t.data("title"))):a||(o.contents=n),o.contents&&(o.contents=o.contents.not(function(){return f(this).is("title")}),o.contents.find("title").remove(),o.scripts=h(o.contents,"script[src]").remove(),o.contents=o.contents.not(o.scripts)),o.title)&&(o.title=f.trim(o.title)),o}n&&n.container&&(m.state=n),"state"in window.history&&(c=!1);var A={},S=[],T=[];function C(e,t){for(;e.length>t;)delete A[e.shift()]}function M(){return f("meta").filter(function(){var e=f(this).attr("http-equiv");return e&&"X-PJAX-VERSION"===e.toUpperCase()}).attr("content")}function k(){f.fn.pjax=e,f.pjax=m,f.pjax.enable=f.noop,f.pjax.disable=z,f.pjax.click=o,f.pjax.submit=t,f.pjax.reload=i,f.pjax.defaults={timeout:650,push:!0,replace:!1,type:"GET",dataType:"html",scrollTo:0,maxCacheLength:20,version:M},f(window).on("popstate.pjax",s)}function z(){f.fn.pjax=function(){return this},f.pjax=a,f.pjax.enable=k,f.pjax.disable=f.noop,f.pjax.click=f.noop,f.pjax.submit=f.noop,f.pjax.reload=function(){window.location.reload()},f(window).off("popstate.pjax",s)}f.event.props&&f.inArray("state",f.event.props)<0?f.event.props.push("state"):"state"in f.Event.prototype||f.event.addProp("state"),f.support.pjax=window.history&&window.history.pushState&&window.history.replaceState&&!navigator.userAgent.match(/((iPod|iPhone|iPad).+\bOS\s+[1-4]\D|WebApps\/.+CFNetwork)/),(f.support.pjax?k:z)()})(jQuery),(e=>{var t,i,n=!1;"function"==typeof define&&define.amd&&(define(e),n=!0),"object"==typeof exports&&(module.exports=e(),n=!0),n||(t=window.Cookies,(i=window.Cookies=e()).noConflict=function(){return window.Cookies=t,i})})(function(){function m(){for(var e=0,t={};e<arguments.length;e++){var i,n=arguments[e];for(i in n)t[i]=n[i]}return t}return function e(p){function f(e,t,i){var n,s;if("undefined"!=typeof document){if(1<arguments.length){"number"==typeof(i=m({path:"/"},f.defaults,i)).expires&&((s=new Date).setMilliseconds(s.getMilliseconds()+864e5*i.expires),i.expires=s),i.expires=i.expires?i.expires.toUTCString():"";try{n=JSON.stringify(t),/^[\{\[]/.test(n)&&(t=n)}catch(e){}t=p.write?p.write(t,e):encodeURIComponent(String(t)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=(e=(e=encodeURIComponent(String(e))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape);var o,a="";for(o in i)i[o]&&(a+="; "+o,!0!==i[o])&&(a+="="+i[o]);return document.cookie=e+"="+t+a}e||(n={});for(var r=document.cookie?document.cookie.split("; "):[],l=/(%[0-9A-Z]{2})+/g,c=0;c<r.length;c++){var d=r[c].split("=");'"'===(h=d.slice(1).join("=")).charAt(0)&&(h=h.slice(1,-1));try{var u=d[0].replace(l,decodeURIComponent),h=p.read?p.read(h,u):p(h,u)||h.replace(l,decodeURIComponent);if(this.json)try{h=JSON.parse(h)}catch(e){}if(e===u){n=h;break}e||(n[u]=h)}catch(e){}}return n}}return(f.set=f).get=function(e){return f.call(f,e)},f.getJSON=function(){return f.apply({json:!0},[].slice.call(arguments))},f.defaults={},f.remove=function(e,t){f(e,"",m(t,{expires:-1}))},f.withConverter=e,f}(function(){})}),(e=>{"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?e(require("jquery")):e(window.jQuery||window.Zepto)})(function(c){function e(){}function d(e,t){f.ev.on("mfp"+e+F,t)}function u(e,t,i,n){var s=document.createElement("div");return s.className="mfp-"+e,i&&(s.innerHTML=i),n?t&&t.appendChild(s):(s=c(s),t&&s.appendTo(t)),s}function h(e,t){f.ev.triggerHandler("mfp"+e,t),f.st.callbacks&&(e=e.charAt(0).toLowerCase()+e.slice(1),f.st.callbacks[e])&&f.st.callbacks[e].apply(f,Array.isArray(t)?t:[t])}function p(e){return e===i&&f.currTemplate.closeBtn||(f.currTemplate.closeBtn=c(f.st.closeMarkup.replace("%title%",f.st.tClose)),i=e),f.currTemplate.closeBtn}function o(){c.magnificPopup.instance||((f=new e).init(),c.magnificPopup.instance=f)}function a(){y&&(v.after(y.addClass(l)).detach(),y=null)}function s(){b&&c(document.body).removeClass(b)}function t(){s(),f.req&&f.req.abort()}var f,n,m,r,g,i,l,v,y,b,w="Close",N="BeforeClose",x="MarkupParse",F=".mfp",E="mfp-ready",B="mfp-removing",A="mfp-prevent-close",S=!!window.jQuery,T=c(window),C=(c.magnificPopup={instance:null,proto:e.prototype={constructor:e,init:function(){var e=navigator.appVersion;f.isIE7=-1!==e.indexOf("MSIE 7."),f.isIE8=-1!==e.indexOf("MSIE 8."),f.isLowIE=f.isIE7||f.isIE8,f.isAndroid=/android/gi.test(e),f.isIOS=/iphone|ipad|ipod/gi.test(e),f.supportsTransition=(()=>{var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1})(),f.probablyMobile=f.isAndroid||f.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),m=c(document),f.popupsCache={}},open:function(e){if(!1===e.isObj){f.items=e.items.toArray(),f.index=0;for(var t,i=e.items,n=0;n<i.length;n++)if((t=(t=i[n]).parsed?t.el[0]:t)===e.el[0]){f.index=n;break}}else f.items=Array.isArray(e.items)?e.items:[e.items],f.index=e.index||0;if(!f.isOpen){f.types=[],g="",e.mainEl&&e.mainEl.length?f.ev=e.mainEl.eq(0):f.ev=m,e.key?(f.popupsCache[e.key]||(f.popupsCache[e.key]={}),f.currTemplate=f.popupsCache[e.key]):f.currTemplate={},f.st=c.extend(!0,{},c.magnificPopup.defaults,e),f.fixedContentPos="auto"===f.st.fixedContentPos?!f.probablyMobile:f.st.fixedContentPos,f.st.modal&&(f.st.closeOnContentClick=!1,f.st.closeOnBgClick=!1,f.st.showCloseBtn=!1,f.st.enableEscapeKey=!1),f.bgOverlay||(f.bgOverlay=u("bg").on("click.mfp",function(){f.close()}),f.wrap=u("wrap").attr("tabindex",-1).on("click.mfp",function(e){f._checkIfClose(e.target)&&f.close()}),f.container=u("container",f.wrap)),f.contentContainer=u("content"),f.st.preloader&&(f.preloader=u("preloader",f.container,f.st.tLoading));var s=c.magnificPopup.modules;for(n=0;n<s.length;n++){var o=(o=s[n]).charAt(0).toUpperCase()+o.slice(1);f["init"+o].call(f)}h("BeforeOpen"),f.st.showCloseBtn&&(f.st.closeBtnInside?(d(x,function(e,t,i,n){i.close_replaceWith=p(n.type)}),g+=" mfp-close-btn-in"):f.wrap.append(p())),f.st.alignTop&&(g+=" mfp-align-top"),f.fixedContentPos?f.wrap.css({overflow:f.st.overflowY,overflowX:"hidden",overflowY:f.st.overflowY}):f.wrap.css({top:T.scrollTop(),position:"absolute"}),!1!==f.st.fixedBgPos&&("auto"!==f.st.fixedBgPos||f.fixedContentPos)||f.bgOverlay.css({height:m.height(),position:"absolute"}),f.st.enableEscapeKey&&m.on("keyup.mfp",function(e){27===e.keyCode&&f.close()}),T.on("resize.mfp",function(){f.updateSize()}),f.st.closeOnContentClick||(g+=" mfp-auto-cursor"),g&&f.wrap.addClass(g);var a=f.wH=T.height(),r={},l=(f.fixedContentPos&&f._hasScrollBar(a)&&(l=f._getScrollbarSize())&&(r.marginRight=l),f.fixedContentPos&&(f.isIE7?c("body, html").css("overflow","hidden"):r.overflow="hidden"),f.st.mainClass);return f.isIE7&&(l+=" mfp-ie7"),l&&f._addClassToMFP(l),f.updateItemHTML(),h("BuildControls"),c("html").css(r),f.bgOverlay.add(f.wrap).prependTo(f.st.prependTo||c(document.body)),f._lastFocusedEl=document.activeElement,setTimeout(function(){f.content?(f._addClassToMFP(E),f._setFocus()):f.bgOverlay.addClass(E),m.on("focusin.mfp",f._onFocusIn)},16),f.isOpen=!0,f.updateSize(a),h("Open"),e}f.updateItemHTML()},close:function(){f.isOpen&&(h(N),f.isOpen=!1,f.st.removalDelay&&!f.isLowIE&&f.supportsTransition?(f._addClassToMFP(B),setTimeout(function(){f._close()},f.st.removalDelay)):f._close())},_close:function(){h(w);var e=B+" "+E+" ";f.bgOverlay.detach(),f.wrap.detach(),f.container.empty(),f.st.mainClass&&(e+=f.st.mainClass+" "),f._removeClassFromMFP(e),f.fixedContentPos&&(e={marginRight:""},f.isIE7?c("body, html").css("overflow",""):e.overflow="",c("html").css(e)),m.off("keyup.mfp focusin.mfp"),f.ev.off(F),f.wrap.attr("class","mfp-wrap").removeAttr("style"),f.bgOverlay.attr("class","mfp-bg"),f.container.attr("class","mfp-container"),!f.st.showCloseBtn||f.st.closeBtnInside&&!0!==f.currTemplate[f.currItem.type]||f.currTemplate.closeBtn&&f.currTemplate.closeBtn.detach(),f.currItem=null,f.content=null,f.currTemplate=null,f.prevHeight=0,h("AfterClose")},updateSize:function(e){var t;f.isIOS?(t=document.documentElement.clientWidth/window.innerWidth,f.wrap.css("height",t=window.innerHeight*t),f.wH=t):f.wH=e||T.height(),f.fixedContentPos||f.wrap.css("height",f.wH),h("Resize")},updateItemHTML:function(){var e=f.items[f.index],t=(f.contentContainer.detach(),f.content&&f.content.detach(),(e=e.parsed?e:f.parseEl(f.index)).type),i=(h("BeforeChange",[f.currItem?f.currItem.type:"",t]),f.currItem=e,f.currTemplate[t]||(i=!!f.st[t]&&f.st[t].markup,h("FirstMarkupParse",i),f.currTemplate[t]=!i||c(i)),r&&r!==e.type&&f.container.removeClass("mfp-"+r+"-holder"),f["get"+t.charAt(0).toUpperCase()+t.slice(1)](e,f.currTemplate[t]));f.appendContent(i,t),e.preloaded=!0,h("Change",e),r=e.type,f.container.prepend(f.contentContainer),h("AfterChange")},appendContent:function(e,t){(f.content=e)?f.st.showCloseBtn&&f.st.closeBtnInside&&!0===f.currTemplate[t]?f.content.find(".mfp-close").length||f.content.append(p()):f.content=e:f.content="",h("BeforeAppend"),f.container.addClass("mfp-"+t+"-holder"),f.contentContainer.append(f.content)},parseEl:function(e){var t,i=f.items[e];if((i=i.tagName?{el:c(i)}:(t=i.type,{data:i,src:i.src})).el){for(var n=f.types,s=0;s<n.length;s++)if(i.el.hasClass("mfp-"+n[s])){t=n[s];break}i.src=i.el.attr("data-mfp-src"),i.src||(i.src=i.el.attr("href"))}return i.type=t||f.st.type||"inline",i.index=e,i.parsed=!0,f.items[e]=i,h("ElementParse",i),f.items[e]},addGroup:function(t,i){function e(e){e.mfpEl=this,f._openClick(e,t,i)}var n="click.magnificPopup";(i=i||{}).mainEl=t,i.items?(i.isObj=!0,t.off(n).on(n,e)):(i.isObj=!1,i.delegate?t.off(n).on(n,i.delegate,e):(i.items=t).off(n).on(n,e))},_openClick:function(e,t,i){if((void 0!==i.midClick?i:c.magnificPopup.defaults).midClick||2!==e.which&&!e.ctrlKey&&!e.metaKey){var n=(void 0!==i.disableOn?i:c.magnificPopup.defaults).disableOn;if(n)if("function"==typeof n){if(!n.call(f))return!0}else if(T.width()<n)return!0;e.type&&(e.preventDefault(),f.isOpen)&&e.stopPropagation(),i.el=c(e.mfpEl),i.delegate&&(i.items=t.find(i.delegate)),f.open(i)}},updateStatus:function(e,t){var i;f.preloader&&(n!==e&&f.container.removeClass("mfp-s-"+n),i={status:e,text:t=t||"loading"!==e?t:f.st.tLoading},h("UpdateStatus",i),e=i.status,f.preloader.html(t=i.text),f.preloader.find("a").on("click",function(e){e.stopImmediatePropagation()}),f.container.addClass("mfp-s-"+e),n=e)},_checkIfClose:function(e){if(!c(e).hasClass(A)){var t=f.st.closeOnContentClick,i=f.st.closeOnBgClick;if(t&&i)return!0;if(!f.content||c(e).hasClass("mfp-close")||f.preloader&&e===f.preloader[0])return!0;if(e===f.content[0]||c.contains(f.content[0],e)){if(t)return!0}else if(i&&c.contains(document,e))return!0;return!1}},_addClassToMFP:function(e){f.bgOverlay.addClass(e),f.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),f.wrap.removeClass(e)},_hasScrollBar:function(e){return(f.isIE7?m.height():document.body.scrollHeight)>(e||T.height())},_setFocus:function(){(f.st.focus?f.content.find(f.st.focus).eq(0):f.wrap).focus()},_onFocusIn:function(e){if(e.target!==f.wrap[0]&&!c.contains(f.wrap[0],e.target))return f._setFocus(),!1},_parseMarkup:function(s,e,t){var o;t.data&&(e=c.extend(t.data,e)),h(x,[s,e,t]),c.each(e,function(e,t){if(void 0===t||!1===t)return!0;var i,n;1<(o=e.split("_")).length?0<(i=s.find(".mfp-"+o[0])).length&&("replaceWith"===(n=o[1])?i[0]!==t[0]&&i.replaceWith(t):"img"===n?i.is("img")?i.attr("src",t):i.replaceWith('<img src="'+t+'" class="'+i.attr("class")+'" />'):i.attr(o[1],t)):s.find(".mfp-"+e).html(t)})},_getScrollbarSize:function(){var e;return void 0===f.scrollbarSize&&((e=document.createElement("div")).style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),f.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)),f.scrollbarSize}},modules:[],open:function(e,t){return o(),(e=e?c.extend(!0,{},e):{}).isObj=!0,e.index=t||0,this.instance.open(e)},close:function(){return c.magnificPopup.instance&&c.magnificPopup.instance.close()},registerModule:function(e,t){t.options&&(c.magnificPopup.defaults[e]=t.options),c.extend(this.proto,t.proto),this.modules.push(e)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&times;</button>',tClose:"Close (Esc)",tLoading:"Loading..."}},c.fn.magnificPopup=function(e){o();var t,i,n,s=c(this);return"string"==typeof e?"open"===e?(t=S?s.data("magnificPopup"):s[0].magnificPopup,i=parseInt(arguments[1],10)||0,n=t.items?t.items[i]:(n=s,(n=t.delegate?n.find(t.delegate):n).eq(i)),f._openClick({mfpEl:n},s,t)):f.isOpen&&f[e].apply(f,Array.prototype.slice.call(arguments,1)):(e=c.extend(!0,{},e),S?s.data("magnificPopup",e):s[0].magnificPopup=e,f.addGroup(s,e)),s},"inline"),M=(c.magnificPopup.registerModule(C,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){f.types.push(C),d(w+"."+C,function(){a()})},getInline:function(e,t){var i,n,s;return a(),e.src?(i=f.st.inline,(n=c(e.src)).length?((s=n[0].parentNode)&&s.tagName&&(v||(l=i.hiddenClass,v=u(l),l="mfp-"+l),y=n.after(v).detach().removeClass(l)),f.updateStatus("ready")):(f.updateStatus("error",i.tNotFound),n=c("<div>")),e.inlineElement=n):(f.updateStatus("ready"),f._parseMarkup(t,{},e),t)}}}),"ajax");c.magnificPopup.registerModule(M,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){f.types.push(M),b=f.st.ajax.cursor,d(w+"."+M,t),d("BeforeChange.ajax",t)},getAjax:function(n){b&&c(document.body).addClass(b),f.updateStatus("loading");var e=c.extend({url:n.src,success:function(e,t,i){e={data:e,xhr:i};h("ParseAjax",e),f.appendContent(c(e.data),M),n.finished=!0,s(),f._setFocus(),setTimeout(function(){f.wrap.addClass(E)},16),f.updateStatus("ready"),h("AjaxContentAdded")},error:function(){s(),n.finished=n.loadError=!0,f.updateStatus("error",f.st.ajax.tError.replace("%url%",n.src))}},f.st.ajax.settings);return f.req=c.ajax(e),""}}});var k;c.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var e=f.st.image,t=".image";f.types.push("image"),d("Open"+t,function(){"image"===f.currItem.type&&e.cursor&&c(document.body).addClass(e.cursor)}),d(w+t,function(){e.cursor&&c(document.body).removeClass(e.cursor),T.off("resize.mfp")}),d("Resize"+t,f.resizeImage),f.isLowIE&&d("AfterChange",f.resizeImage)},resizeImage:function(){var e,t=f.currItem;t&&t.img&&f.st.image.verticalFit&&(e=0,f.isLowIE&&(e=parseInt(t.img.css("padding-top"),10)+parseInt(t.img.css("padding-bottom"),10)),t.img.css("max-height",f.wH-e))},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,k&&clearInterval(k),e.isCheckingImgSize=!1,h("ImageHasSize",e),e.imgHidden)&&(f.content&&f.content.removeClass("mfp-loading"),e.imgHidden=!1)},findImageSize:function(t){function i(e){k&&clearInterval(k),k=setInterval(function(){0<s.naturalWidth?f._onImageHasSize(t):(200<n&&clearInterval(k),3===++n?i(10):40===n?i(50):100===n&&i(500))},e)}var n=0,s=t.img[0];i(1)},getImage:function(e,t){function i(){e&&(e.img[0].complete?(e.img.off(".mfploader"),e===f.currItem&&(f._onImageHasSize(e),f.updateStatus("ready")),e.hasSize=!0,e.loaded=!0,h("ImageLoadComplete")):++o<200?setTimeout(i,100):n())}function n(){e&&(e.img.off(".mfploader"),e===f.currItem&&(f._onImageHasSize(e),f.updateStatus("error",a.tError.replace("%url%",e.src))),e.hasSize=!0,e.loaded=!0,e.loadError=!0)}var s,o=0,a=f.st.image,r=t.find(".mfp-img");return r.length&&((s=document.createElement("img")).className="mfp-img",e.el&&e.el.find("img").length&&(s.alt=e.el.find("img").attr("alt")),e.img=c(s).on("load.mfploader",i).on("error.mfploader",n),s.src=e.src,r.is("img")&&(e.img=e.img.clone()),0<(s=e.img[0]).naturalWidth?e.hasSize=!0:s.width||(e.hasSize=!1)),f._parseMarkup(t,{title:(e=>{if(e.data&&void 0!==e.data.title)return e.data.title;var t=f.st.image.titleSrc;if(t){if("function"==typeof t)return t.call(f,e);if(e.el)return e.el.attr(t)||""}return""})(e),img_replaceWith:e.img},e),f.resizeImage(),e.hasSize?(k&&clearInterval(k),e.loadError?(t.addClass("mfp-loading"),f.updateStatus("error",a.tError.replace("%url%",e.src))):(t.removeClass("mfp-loading"),f.updateStatus("ready"))):(f.updateStatus("loading"),e.loading=!0,e.hasSize||(e.imgHidden=!0,t.addClass("mfp-loading"),f.findImageSize(e))),t}}});function z(e){var t;f.currTemplate[L]&&(t=f.currTemplate[L].find("iframe")).length&&(e||(t[0].src="//about:blank"),f.isIE8)&&t.css("display",e?"block":"none")}function I(e){var t=f.items.length;return t-1<e?e-t:e<0?t+e:e}function R(e,t,i){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,i)}c.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,t,i,n,s,o,a=f.st.zoom;a.enabled&&f.supportsTransition&&(t=a.duration,i=function(e){var e=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),t="all "+a.duration/1e3+"s "+a.easing,i={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},n="transition";return i["-webkit-"+n]=i["-moz-"+n]=i["-o-"+n]=i[n]=t,e.css(i),e},n=function(){f.content.css("visibility","visible")},d("BuildControls.zoom",function(){f._allowZoom()&&(clearTimeout(s),f.content.css("visibility","hidden"),(e=f._getItemToZoom())?((o=i(e)).css(f._getOffset()),f.wrap.append(o),s=setTimeout(function(){o.css(f._getOffset(!0)),s=setTimeout(function(){n(),setTimeout(function(){o.remove(),e=o=null,h("ZoomAnimationEnded")},16)},t)},16)):n())}),d(N+".zoom",function(){if(f._allowZoom()){if(clearTimeout(s),f.st.removalDelay=t,!e){if(!(e=f._getItemToZoom()))return;o=i(e)}o.css(f._getOffset(!0)),f.wrap.append(o),f.content.css("visibility","hidden"),setTimeout(function(){o.css(f._getOffset())},16)}}),d(w+".zoom",function(){f._allowZoom()&&(n(),o&&o.remove(),e=null)}))},_allowZoom:function(){return"image"===f.currItem.type},_getItemToZoom:function(){return!!f.currItem.hasSize&&f.currItem.img},_getOffset:function(e){var e=e?f.currItem.img:f.st.zoom.opener(f.currItem.el||f.currItem),t=e.offset(),i=parseInt(e.css("padding-top"),10),n=parseInt(e.css("padding-bottom"),10),e=(t.top-=c(window).scrollTop()-i,{width:e.width(),height:(S?e.innerHeight():e[0].offsetHeight)-n-i});return(P=void 0===P?void 0!==document.createElement("p").style.MozTransform:P)?e["-moz-transform"]=e.transform="translate("+t.left+"px,"+t.top+"px)":(e.left=t.left,e.top=t.top),e}}});var P,_,D,L="iframe",O=(c.magnificPopup.registerModule(L,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){f.types.push(L),d("BeforeChange",function(e,t,i){t!==i&&(t===L?z():i===L&&z(!0))}),d(w+"."+L,function(){z()})},getIframe:function(e,t){var i=e.src,n=f.st.iframe,s=(c.each(n.patterns,function(){if(-1<i.indexOf(this.index))return this.id&&(i="string"==typeof this.id?i.substr(i.lastIndexOf(this.id)+this.id.length,i.length):this.id.call(this,i)),i=this.src.replace("%id%",i),!1}),{});return n.srcAction&&(s[n.srcAction]=i),f._parseMarkup(t,s,e),f.updateStatus("ready"),t}}}),c.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var o=f.st.gallery,e=".mfp-gallery",n=Boolean(c.fn.mfpFastClick);if(f.direction=!0,!o||!o.enabled)return!1;g+=" mfp-gallery",d("Open"+e,function(){o.navigateByImgClick&&f.wrap.on("click"+e,".mfp-img",function(){if(1<f.items.length)return f.next(),!1}),m.on("keydown"+e,function(e){37===e.keyCode?f.prev():39===e.keyCode&&f.next()})}),d("UpdateStatus"+e,function(e,t){t.text&&(t.text=R(t.text,f.currItem.index,f.items.length))}),d(x+e,function(e,t,i,n){var s=f.items.length;i.counter=1<s?R(o.tCounter,n.index,s):""}),d("BuildControls"+e,function(){var e,t,i;1<f.items.length&&o.arrows&&!f.arrowLeft&&(t=o.arrowMarkup,e=f.arrowLeft=c(t.replace(/%title%/gi,o.tPrev).replace(/%dir%/gi,"left")).addClass(A),t=f.arrowRight=c(t.replace(/%title%/gi,o.tNext).replace(/%dir%/gi,"right")).addClass(A),e[i=n?"mfpFastClick":"click"](function(){f.prev()}),t[i](function(){f.next()}),f.isIE7&&(u("b",e[0],!1,!0),u("a",e[0],!1,!0),u("b",t[0],!1,!0),u("a",t[0],!1,!0)),f.container.append(e.add(t)))}),d("Change"+e,function(){f._preloadTimeout&&clearTimeout(f._preloadTimeout),f._preloadTimeout=setTimeout(function(){f.preloadNearbyImages(),f._preloadTimeout=null},16)}),d(w+e,function(){m.off(e),f.wrap.off("click"+e),f.arrowLeft&&n&&f.arrowLeft.add(f.arrowRight).destroyMfpFastClick(),f.arrowRight=f.arrowLeft=null})},next:function(){f.direction=!0,f.index=I(f.index+1),f.updateItemHTML()},prev:function(){f.direction=!1,f.index=I(f.index-1),f.updateItemHTML()},goTo:function(e){f.direction=e>=f.index,f.index=e,f.updateItemHTML()},preloadNearbyImages:function(){for(var e=f.st.gallery.preload,t=Math.min(e[0],f.items.length),i=Math.min(e[1],f.items.length),n=1;n<=(f.direction?i:t);n++)f._preloadItem(f.index+n);for(n=1;n<=(f.direction?t:i);n++)f._preloadItem(f.index-n)},_preloadItem:function(e){var t;e=I(e),f.items[e].preloaded||((t=f.items[e]).parsed||(t=f.parseEl(e)),h("LazyLoad",t),"image"===t.type&&(t.img=c('<img class="mfp-img" />').on("load.mfploader",function(){t.hasSize=!0}).on("error.mfploader",function(){t.hasSize=!0,t.loadError=!0,h("LazyLoadError",t)}).attr("src",t.src)),t.preloaded=!0)}}}),"retina");function j(){T.off("touchmove"+D+" touchend"+D)}c.magnificPopup.registerModule(O,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){var i,n;1<window.devicePixelRatio&&(i=f.st.retina,n=i.ratio,1<(n=isNaN(n)?n():n))&&(d("ImageHasSize."+O,function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/n,width:"100%"})}),d("ElementParse."+O,function(e,t){t.src=i.replaceSrc(t,n)}))}}}),_="ontouchstart"in window,D=".mfpFastClick",c.fn.mfpFastClick=function(l){return c(this).each(function(){var t,i,n,s,o,a,r,e=c(this);_&&e.on("touchstart"+D,function(e){o=!1,r=1,a=(e.originalEvent||e).touches[0],n=a.clientX,s=a.clientY,T.on("touchmove"+D,function(e){a=(e.originalEvent||e).touches,r=a.length,a=a[0],(10<Math.abs(a.clientX-n)||10<Math.abs(a.clientY-s))&&(o=!0,j())}).on("touchend"+D,function(e){j(),o||1<r||(t=!0,e.preventDefault(),clearTimeout(i),i=setTimeout(function(){t=!1},1e3),l())})}),e.on("click"+D,function(){t||l()})})},c.fn.destroyMfpFastClick=function(){c(this).off("touchstart"+D+" click"+D),_&&T.off("touchmove"+D+" touchend"+D)},o()}),(C=>{C(function(){C(window).width()<=1024||!C("body").hasClass("elementor-editor-active")&&0===C(".xts-parallax-on-scroll").length||e.init()});var e={showLogs:!1,round:1e3,init:function(){this._log("init"),this._inited?(this._log("Already Inited"),this._inited=!0):(this._requestAnimationFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e,t){window.setTimeout(e,1e3/60)},this._onScroll(!0))},_inited:!1,_properties:["x","y","z","rotateX","rotateY","rotateZ","scaleX","scaleY","scaleZ","scale"],_requestAnimationFrame:null,_log:function(e){this.showLogs&&console.log("Parallax Scroll / "+e)},_onScroll:function(A){var S=C(document).scrollTop(),T=C(window).height();this._log("onScroll "+S),C(".xts-parallax-on-scroll").each(C.proxy(function(e,t){for(var a=C(t),r=[],l=!1,i=a.data("style"),n=(null==i&&(i=a.attr("style")||"",a.data("style",i)),a.attr("class").split(" ")),s=[[]],e=0;e<n.length;e++)0<=n[e].indexOf("xts_scroll")&&(h=n[e].split("_"),s[0][h[2]]=h[3]);for(u=2;a.data("parallax"+u);u++)s.push(a.data("parallax-"+u));for(var o,c,d=s.length,u=0;u<d;u++){var h,p,f,m,g=(h=s[u])["from-scroll"],v=(null==g&&(g=Math.max(0,C(t).offset().top-T)),g|=0,h.distance),y=h["to-scroll"],b=(null==v&&null==y&&(v=T),v=Math.max(0|v,1),h.easing),w=h["easing-return"],x=(null!=b&&C.easing&&C.easing[b]||(b=null),null!=w&&C.easing&&C.easing[w]||(w=b),b&&(null==(p=h.duration)&&(p=v),p=Math.max(0|p,1),null==(f=h["duration-return"])&&(f=p),v=1,null==(m=a.data("current-time")))&&(m=0),null==y&&(y=g+v),y|=0,h.smoothness),E=(null==x&&(x=30),x|=0,!A&&0!=x||(x=1),x|=0,S),E=Math.max(E,g);E=Math.min(E,y),b&&(null==a.data("sens")&&a.data("sens","back"),g<E&&("back"==a.data("sens")?(m=1,a.data("sens","go")):m++),E<y&&("go"==a.data("sens")?(m=1,a.data("sens","back")):m++),A&&(m=p),a.data("current-time",m)),this._properties.map(C.proxy(function(e){var t,i,n,s=0,o=h[e];null!=o&&("scale"==e||"scaleX"==e||"scaleY"==e||"scaleZ"==e?s=1:o|=0,n=(t=null==(t=a.data("_"+e))?s:t)+((i=(E-g)/(y-g)*(o-s)+s)-t)/x,b&&0<m&&m<=p&&(s=s,"back"==a.data("sens")&&(o=-(s=o),b=w,p=f),n=C.easing[b](null,m,s,o,p)),(n=Math.ceil(n*this.round)/this.round)==t&&i==o&&(n=o),r[e]||(r[e]=0),r[e]+=n,t!=r[e])&&(a.data("_"+e,r[e]),l=!0)},this))}l&&(null!=r.z&&(null==(c=h.perspective)&&(c=800),(o=a.parent()).data("style")||o.data("style",o.attr("style")||""),o.attr("style","perspective:"+c+"px; -webkit-perspective:"+c+"px; "+o.data("style"))),null==r.scaleX&&(r.scaleX=1),null==r.scaleY&&(r.scaleY=1),null==r.scaleZ&&(r.scaleZ=1),null!=r.scale&&(r.scaleX*=r.scale,r.scaleY*=r.scale,r.scaleZ*=r.scale),this._log(c="translate3d("+(r.x||0)+"px, "+(r.y||0)+"px, "+(r.z||0)+"px)"+" "+("rotateX("+(r.rotateX||0)+"deg) rotateY("+(r.rotateY||0)+"deg) rotateZ("+(r.rotateZ||0)+"deg)")+" "+("scaleX("+r.scaleX+") scaleY("+r.scaleY+") scaleZ("+r.scaleZ+")")+";"),a.attr("style","transform:"+c+" -webkit-transform:"+c+" "+i))},this)),window.requestAnimationFrame?window.requestAnimationFrame(C.proxy(this._onScroll,this,!1)):this._requestAnimationFrame(C.proxy(this._onScroll,this,!1))}}})(jQuery),jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,t,i,n,s){return jQuery.easing[jQuery.easing.def](e,t,i,n,s)},easeInQuad:function(e,t,i,n,s){return n*(t/=s)*t+i},easeOutQuad:function(e,t,i,n,s){return-n*(t/=s)*(t-2)+i},easeInOutQuad:function(e,t,i,n,s){return(t/=s/2)<1?n/2*t*t+i:-n/2*(--t*(t-2)-1)+i},easeInCubic:function(e,t,i,n,s){return n*(t/=s)*t*t+i},easeOutCubic:function(e,t,i,n,s){return n*((t=t/s-1)*t*t+1)+i},easeInOutCubic:function(e,t,i,n,s){return(t/=s/2)<1?n/2*t*t*t+i:n/2*((t-=2)*t*t+2)+i},easeInQuart:function(e,t,i,n,s){return n*(t/=s)*t*t*t+i},easeOutQuart:function(e,t,i,n,s){return-n*((t=t/s-1)*t*t*t-1)+i},easeInOutQuart:function(e,t,i,n,s){return(t/=s/2)<1?n/2*t*t*t*t+i:-n/2*((t-=2)*t*t*t-2)+i},easeInQuint:function(e,t,i,n,s){return n*(t/=s)*t*t*t*t+i},easeOutQuint:function(e,t,i,n,s){return n*((t=t/s-1)*t*t*t*t+1)+i},easeInOutQuint:function(e,t,i,n,s){return(t/=s/2)<1?n/2*t*t*t*t*t+i:n/2*((t-=2)*t*t*t*t+2)+i},easeInSine:function(e,t,i,n,s){return-n*Math.cos(t/s*(Math.PI/2))+n+i},easeOutSine:function(e,t,i,n,s){return n*Math.sin(t/s*(Math.PI/2))+i},easeInOutSine:function(e,t,i,n,s){return-n/2*(Math.cos(Math.PI*t/s)-1)+i},easeInExpo:function(e,t,i,n,s){return 0==t?i:n*Math.pow(2,10*(t/s-1))+i},easeOutExpo:function(e,t,i,n,s){return t==s?i+n:n*(1-Math.pow(2,-10*t/s))+i},easeInOutExpo:function(e,t,i,n,s){return 0==t?i:t==s?i+n:(t/=s/2)<1?n/2*Math.pow(2,10*(t-1))+i:n/2*(2-Math.pow(2,-10*--t))+i},easeInCirc:function(e,t,i,n,s){return-n*(Math.sqrt(1-(t/=s)*t)-1)+i},easeOutCirc:function(e,t,i,n,s){return n*Math.sqrt(1-(t=t/s-1)*t)+i},easeInOutCirc:function(e,t,i,n,s){return(t/=s/2)<1?-n/2*(Math.sqrt(1-t*t)-1)+i:n/2*(Math.sqrt(1-(t-=2)*t)+1)+i},easeInElastic:function(e,t,i,n,s){var o=1.70158,a=0,r=n;return 0==t?i:1==(t/=s)?i+n:(a=a||.3*s,o=r<Math.abs(n)?(r=n,a/4):a/(2*Math.PI)*Math.asin(n/r),-(r*Math.pow(2,10*--t)*Math.sin(2*Math.PI*(t*s-o)/a))+i)},easeOutElastic:function(e,t,i,n,s){var o=1.70158,a=0,r=n;return 0==t?i:1==(t/=s)?i+n:(a=a||.3*s,o=r<Math.abs(n)?(r=n,a/4):a/(2*Math.PI)*Math.asin(n/r),r*Math.pow(2,-10*t)*Math.sin(2*Math.PI*(t*s-o)/a)+n+i)},easeInOutElastic:function(e,t,i,n,s){var o=1.70158,a=0,r=n;return 0==t?i:2==(t/=s/2)?i+n:(a=a||s*(.3*1.5),o=r<Math.abs(n)?(r=n,a/4):a/(2*Math.PI)*Math.asin(n/r),t<1?r*Math.pow(2,10*--t)*Math.sin(2*Math.PI*(t*s-o)/a)*-.5+i:r*Math.pow(2,-10*--t)*Math.sin(2*Math.PI*(t*s-o)/a)*.5+n+i)},easeInBack:function(e,t,i,n,s,o){return n*(t/=s)*t*(((o=null==o?1.70158:o)+1)*t-o)+i},easeOutBack:function(e,t,i,n,s,o){return n*((t=t/s-1)*t*(((o=null==o?1.70158:o)+1)*t+o)+1)+i},easeInOutBack:function(e,t,i,n,s,o){return null==o&&(o=1.70158),(t/=s/2)<1?n/2*(t*t*((1+(o*=1.525))*t-o))+i:n/2*((t-=2)*t*((1+(o*=1.525))*t+o)+2)+i},easeInBounce:function(e,t,i,n,s){return n-jQuery.easing.easeOutBounce(e,s-t,0,n,s)+i},easeOutBounce:function(e,t,i,n,s){return(t/=s)<1/2.75?n*(7.5625*t*t)+i:t<2/2.75?n*(7.5625*(t-=1.5/2.75)*t+.75)+i:t<2.5/2.75?n*(7.5625*(t-=2.25/2.75)*t+.9375)+i:n*(7.5625*(t-=2.625/2.75)*t+.984375)+i},easeInOutBounce:function(e,t,i,n,s){return t<s/2?.5*jQuery.easing.easeInBounce(e,2*t,0,n,s)+i:.5*jQuery.easing.easeOutBounce(e,2*t-s,0,n,s)+.5*n+i}}),((e,t)=>{"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():e.PhotoSwipe=t()})(this,function(){return function(h,F,t,B){function e(){return{x:0,y:0}}function R(e,t){g.extend(v,t.publicMethods),Ge.push(e)}function j(e){var t=D();return t-1<e?e-t:e<0?t+e:e}function o(e,t){return Ye[e]||(Ye[e]=[]),Ye[e].push(t)}function W(e,t,i,n){n===v.currItem.initialZoomLevel?i[e]=v.currItem.initialPosition[e]:(i[e]=Je(e,n),i[e]>t.min[e]?i[e]=t.min[e]:i[e]<t.max[e]&&(i[e]=t.max[e]))}function $(e){var t="";y.escKey&&27===e.keyCode?t="close":y.arrowKeys&&(37===e.keyCode?t="prev":39===e.keyCode&&(t="next")),!t||e.ctrlKey||e.altKey||e.shiftKey||e.metaKey||(e.preventDefault?e.preventDefault():e.returnValue=!1,v[t]())}function H(e){e&&(ke||Me||m||Se)&&(e.preventDefault(),e.stopPropagation())}function q(){v.setScrollOffset(0,g.getScrollY())}function G(e){var t;"mousedown"===e.type&&0<e.button||(Jt?e.preventDefault():Te&&"mousedown"===e.type||(Pt(e,!0)&&e.preventDefault(),A("pointerDown"),he&&((t=g.arraySearch(mt,e.pointerId,"id"))<0&&(t=mt.length),mt[t]={x:e.pageX,y:e.pageY,id:e.pointerId}),e=(t=Rt(e)).length,c=null,ct(),l&&1!==e||(l=Le=!0,g.bind(window,J,v),Ae=Fe=Oe=Se=Ie=ke=Ce=Me=!1,De=null,A("firstTouchStart",t),M(We,b),je.x=je.y=0,M(P,t[0]),M(ft,P),gt.x=x.x*$e,vt=[{x:P.x,y:P.y}],xe=we=S(),nt(f,!0),Ct(),Mt()),!d&&1<e&&!m&&!Ie&&(te=f,d=Ce=!(Me=!1),je.y=je.x=0,M(We,b),M(z,t[0]),M(pt,t[1]),Dt(z,pt,At),Et.x=Math.abs(At.x)-b.x,Et.y=Math.abs(At.y)-b.y,Pe=Tt(z,pt))))}function U(e){var t;e.preventDefault(),he&&-1<(t=g.arraySearch(mt,e.pointerId,"id"))&&((t=mt[t]).x=e.pageX,t.y=e.pageY),l&&(t=Rt(e),De||ke||d?c=t:_.x!==x.x*$e?De="h":(e=Math.abs(t[0].x-P.x)-Math.abs(t[0].y-P.y),Math.abs(e)>=ht&&(De=0<e?"h":"v",c=t)))}function V(e){if(r.isOldAndroid){if(Te&&"mouseup"===e.type)return;-1<e.type.indexOf("touch")&&(clearTimeout(Te),Te=setTimeout(function(){Te=0},600))}A("pointerUp"),Pt(e,!1)&&e.preventDefault(),he&&-1<(o=g.arraySearch(mt,e.pointerId,"id"))&&(t=mt.splice(o,1)[0],!navigator.pointerEnabled&&(t.type={4:"mouse",2:"touch",3:"pen"}[e.pointerType],t.type)||(t.type=e.pointerType||"mouse"));var t,i=(o=Rt(e)).length;if(2===(i="mouseup"===e.type?0:i))return!(c=null);1===i&&M(ft,o[0]),0!==i||De||m||(t||("mouseup"===e.type?t={x:e.pageX,y:e.pageY,type:"mouse"}:e.changedTouches&&e.changedTouches[0]&&(t={x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY,type:"touch"})),A("touchRelease",e,t));var n,s,o=-1;if(0===i&&(l=!1,g.unbind(window,J,v),Ct(),d?o=0:-1!==xt&&(o=S()-xt)),xt=1===i?S():-1,e=-1!==o&&o<150?"zoom":"swipe",d&&i<2&&(d=!1,1===i&&(e="zoomPointerUp"),A("zoomGestureEnded")),c=null,ke||Me||m||Se)if(ct(),(Ee=Ee||$t()).calculateSwipeSpeed("x"),Se)Ot()<y.verticalDragRange?v.close():(n=b.y,s=Ne,dt("verticalDrag",0,1,300,g.easing.cubic.out,function(e){b.y=(v.currItem.initialPosition.y-n)*e+n,T((1-s)*e+s),C()}),A("onVerticalDrag",1));else{if((Ie||m)&&0===i){if(qt(e,Ee))return;e="zoomPointerUp"}m||("swipe"!==e?Ut():!Ie&&f>v.currItem.fitRatio&&Ht(Ee))}}var Y,X,K,p,Z,Q,J,ee,n,f,te,ie,ne,se,oe,a,ae,re,le,ce,de,ue,he,s,pe,fe,me,ge,ve,ye,r,be,we,xe,Ee,Ae,Se,Te,l,Ce,Me,ke,ze,Ie,c,d,Pe,u,_e,m,De,Le,Oe,Ne,Fe,Be,g={features:null,bind:function(e,t,i,n){var s=(n?"remove":"add")+"EventListener";t=t.split(" ");for(var o=0;o<t.length;o++)t[o]&&e[s](t[o],i,!1)},isArray:function(e){return e instanceof Array},createEl:function(e,t){t=document.createElement(t||"div");return e&&(t.className=e),t},getScrollY:function(){var e=window.pageYOffset;return void 0!==e?e:document.documentElement.scrollTop},unbind:function(e,t,i){g.bind(e,t,i,!0)},removeClass:function(e,t){t=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className=e.className.replace(t," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")},addClass:function(e,t){g.hasClass(e,t)||(e.className+=(e.className?" ":"")+t)},hasClass:function(e,t){return e.className&&new RegExp("(^|\\s)"+t+"(\\s|$)").test(e.className)},getChildByClass:function(e,t){for(var i=e.firstChild;i;){if(g.hasClass(i,t))return i;i=i.nextSibling}},arraySearch:function(e,t,i){for(var n=e.length;n--;)if(e[n][i]===t)return n;return-1},extend:function(e,t,i){for(var n in t)!t.hasOwnProperty(n)||i&&e.hasOwnProperty(n)||(e[n]=t[n])},easing:{sine:{out:function(e){return Math.sin(e*(Math.PI/2))},inOut:function(e){return-(Math.cos(Math.PI*e)-1)/2}},cubic:{out:function(e){return--e*e*e+1}}},detectFeatures:function(){if(g.features)return g.features;for(var e,t,i,n,s,o=g.createEl().style,a="",r={},l=(r.oldIE=document.all&&!document.addEventListener,r.touch="ontouchstart"in window,window.requestAnimationFrame&&(r.raf=window.requestAnimationFrame,r.caf=window.cancelAnimationFrame),r.pointerEvent=navigator.pointerEnabled||navigator.msPointerEnabled,r.pointerEvent||(e=navigator.userAgent,/iP(hone|od)/.test(navigator.platform)&&(t=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/))&&0<t.length&&1<=(t=parseInt(t[1],10))&&t<8&&(r.isOldIOSPhone=!0),t=(t=e.match(/Android\s([0-9\.]*)/))?t[1]:0,1<=(t=parseFloat(t))&&(t<4.4&&(r.isOldAndroid=!0),r.androidVersion=t),r.isMobileOpera=/opera mini|opera mobi/i.test(e)),["transform","perspective","animationName"]),c=["","webkit","Moz","ms","O"],d=0;d<4;d++){for(var a=c[d],u=0;u<3;u++)i=l[u],n=a+(a?i.charAt(0).toUpperCase()+i.slice(1):i),!r[i]&&n in o&&(r[i]=n);a&&!r.raf&&(a=a.toLowerCase(),r.raf=window[a+"RequestAnimationFrame"],r.raf)&&(r.caf=window[a+"CancelAnimationFrame"]||window[a+"CancelRequestAnimationFrame"])}return r.raf||(s=0,r.raf=function(e){var t=(new Date).getTime(),i=Math.max(0,16-(t-s)),n=window.setTimeout(function(){e(t+i)},i);return s=t+i,n},r.caf=function(e){clearTimeout(e)}),r.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,g.features=r}},v=(g.detectFeatures(),g.features.oldIE&&(g.bind=function(e,t,i,n){t=t.split(" ");for(var s,o=(n?"detach":"attach")+"Event",a=function(){i.handleEvent.call(i)},r=0;r<t.length;r++)if(s=t[r])if("object"==typeof i&&i.handleEvent){if(n){if(!i["oldIE"+s])return!1}else i["oldIE"+s]=a;e[o]("on"+s,i["oldIE"+s])}else e[o]("on"+s,i)}),this),Re=25,y={allowPanToNext:!0,spacing:.12,bgOpacity:1,mouseUsed:!1,loop:!0,pinchToClose:!0,closeOnScroll:!0,closeOnVerticalDrag:!0,verticalDragRange:.75,hideAnimationDuration:333,showAnimationDuration:333,showHideOpacity:!1,focus:!0,escKey:!0,arrowKeys:!0,mainScrollEndFriction:.35,panEndFriction:.35,isClickableElement:function(e){return"A"===e.tagName},getDoubleTapZoom:function(e,t){return e||t.initialZoomLevel<.7?1:1.33},maxSpreadZoom:1.33,modal:!0,scaleMode:"fit"},je=(g.extend(y,B),e()),We=e(),b=e(),w={},$e=0,He={},x=e(),E=0,qe=!0,Ge=[],Ue={},Ve=!1,Ye={},A=function(e){var t=Ye[e];if(t){var i=Array.prototype.slice.call(arguments);i.shift();for(var n=0;n<t.length;n++)t[n].apply(v,i)}},S=function(){return(new Date).getTime()},T=function(e){Ne=e,v.bg.style.opacity=e*y.bgOpacity},Xe=function(e,t,i,n,s){(!Ve||s&&s!==v.currItem)&&(n/=(s||v.currItem).fitRatio),e[ue]=ie+t+"px, "+i+"px"+ne+" scale("+n+")"},C=function(e){_e&&(e&&(f>v.currItem.fitRatio?Ve||(li(v.currItem,!1,!0),Ve=!0):Ve&&(li(v.currItem),Ve=!1)),Xe(_e,b.x,b.y,f))},Ke=function(e){e.container&&Xe(e.container.style,e.initialPosition.x,e.initialPosition.y,e.initialZoomLevel,e)},Ze=function(e,t){t[ue]=ie+e+"px, 0px"+ne},Qe=function(e,t){var i;!y.loop&&t&&(t=p+(x.x*$e-e)/x.x,i=Math.round(e-_.x),t<0&&0<i||t>=D()-1&&i<0)&&(e=_.x+i*y.mainScrollEndFriction),_.x=e,Ze(e,Z)},Je=function(e,t){var i=Et[e]-He[e];return We[e]+je[e]+i-t/te*i},M=function(e,t){e.x=t.x,e.y=t.y,t.id&&(e.id=t.id)},et=function(e){e.x=Math.round(e.x),e.y=Math.round(e.y)},tt=null,it=function(){tt&&(g.unbind(document,"mousemove",it),g.addClass(h,"pswp--has_mouse"),y.mouseUsed=!0,A("mouseUsed")),tt=setTimeout(function(){tt=null},100)},nt=function(e,t){e=ai(v.currItem,w,e);return t&&(u=e),e},st=function(e){return(e=e||v.currItem).initialZoomLevel},ot=function(e){return 0<(e=e||v.currItem).w?y.maxSpreadZoom:1},k={},at=0,rt=function(e){k[e]&&(k[e].raf&&fe(k[e].raf),at--,delete k[e])},lt=function(e){k[e]&&rt(e),k[e]||(at++,k[e]={})},ct=function(){for(var e in k)k.hasOwnProperty(e)&&rt(e)},dt=function(e,t,i,n,s,o,a){function r(){k[e]&&(l=S()-c,n<=l?(rt(e),o(i),a&&a()):(o((i-t)*s(l/n)+t),k[e].raf=pe(r)))}var l,c=S();lt(e);r()},B={shout:A,listen:o,viewportSize:w,options:y,isMainScrollAnimating:function(){return m},getZoomLevel:function(){return f},getCurrentIndex:function(){return p},isDragging:function(){return l},isZooming:function(){return d},setScrollOffset:function(e,t){He.x=e,ye=He.y=t,A("updateScrollOffset",He)},applyZoomPan:function(e,t,i,n){b.x=t,b.y=i,f=e,C(n)},init:function(){if(!Y&&!X){v.framework=g,v.template=h,v.bg=g.getChildByClass(h,"pswp__bg"),me=h.className,Y=!0,r=g.detectFeatures(),pe=r.raf,fe=r.caf,ue=r.transform,ve=r.oldIE,v.scrollWrap=g.getChildByClass(h,"pswp__scroll-wrap"),v.container=g.getChildByClass(v.scrollWrap,"pswp__container"),Z=v.container.style,v.itemHolders=a=[{el:v.container.children[0],wrap:0,index:-1},{el:v.container.children[1],wrap:0,index:-1},{el:v.container.children[2],wrap:0,index:-1}],a[0].el.style.display=a[2].el.style.display="none",ue?(t=r.perspective&&!s,ie="translate"+(t?"3d(":"("),ne=r.perspective?", 0px)":")"):(ue="left",g.addClass(h,"pswp--ie"),Ze=function(e,t){t.left=e+"px"},Ke=function(e){var t=1<e.fitRatio?1:e.fitRatio,i=e.container.style,n=t*e.h;i.width=t*e.w+"px",i.height=n+"px",i.left=e.initialPosition.x+"px",i.top=e.initialPosition.y+"px"},C=function(){var e,t,i,n;_e&&(e=_e,n=(i=1<(t=v.currItem).fitRatio?1:t.fitRatio)*t.h,e.width=i*t.w+"px",e.height=n+"px",e.left=b.x+"px",e.top=b.y+"px")}),n={resize:v.updateSize,orientationchange:function(){clearTimeout(be),be=setTimeout(function(){w.x!==v.scrollWrap.clientWidth&&v.updateSize()},500)},scroll:q,keydown:$,click:H};var e,t=r.isOldIOSPhone||r.isOldAndroid||r.isMobileOpera;for(r.animationName&&r.transform&&!t||(y.showAnimationDuration=y.hideAnimationDuration=0),e=0;e<Ge.length;e++)v["init"+Ge[e]]();F&&(v.ui=new F(v,g)).init(),A("firstUpdate"),p=p||y.index||0,(isNaN(p)||p<0||p>=D())&&(p=0),v.currItem=ei(p),(r.isOldIOSPhone||r.isOldAndroid)&&(qe=!1),h.setAttribute("aria-hidden","false"),y.modal&&(qe?h.style.position="fixed":(h.style.position="absolute",h.style.top=g.getScrollY()+"px")),void 0===ye&&(A("initialLayout"),ye=ge=g.getScrollY());var i="pswp--open ";for(y.mainClass&&(i+=y.mainClass+" "),y.showHideOpacity&&(i+="pswp--animate_opacity "),i=(i=(i+=s?"pswp--touch":"pswp--notouch")+(r.animationName?" pswp--css_animation":""))+(r.svg?" pswp--svg":""),g.addClass(h,i),v.updateSize(),Q=-1,E=null,e=0;e<3;e++)Ze((e+Q)*x.x,a[e].el.style);ve||g.bind(v.scrollWrap,ee,v),o("initialZoomInEnd",function(){v.setContent(a[0],p-1),v.setContent(a[2],p+1),a[0].el.style.display=a[2].el.style.display="block",y.focus&&h.focus(),g.bind(document,"keydown",v),r.transform&&g.bind(v.scrollWrap,"click",v),y.mouseUsed||g.bind(document,"mousemove",it),g.bind(window,"resize scroll orientationchange",v),A("bindEvents")}),v.setContent(a[1],p),v.updateCurrItem(),A("afterInit"),qe||(se=setInterval(function(){at||l||d||f!==v.currItem.initialZoomLevel||v.updateSize()},1e3)),g.addClass(h,"pswp--visible")}},close:function(){Y&&(X=!(Y=!1),A("close"),g.unbind(window,"resize scroll orientationchange",v),g.unbind(window,"scroll",n.scroll),g.unbind(document,"keydown",v),g.unbind(document,"mousemove",it),r.transform&&g.unbind(v.scrollWrap,"click",v),l&&g.unbind(window,J,v),clearTimeout(be),A("unbindEvents"),ti(v.currItem,null,!0,v.destroy))},destroy:function(){A("destroy"),Kt&&clearTimeout(Kt),h.setAttribute("aria-hidden","true"),h.className=me,se&&clearInterval(se),g.unbind(v.scrollWrap,ee,v),g.unbind(window,"scroll",v),Ct(),ct(),Ye=null},panTo:function(e,t,i){i||(e>u.min.x?e=u.min.x:e<u.max.x&&(e=u.max.x),t>u.min.y?t=u.min.y:t<u.max.y&&(t=u.max.y)),b.x=e,b.y=t,C()},handleEvent:function(e){e=e||window.event,n[e.type]&&n[e.type](e)},goTo:function(e){var t=(e=j(e))-p;E=t,p=e,v.currItem=ei(p),$e-=t,Qe(x.x*$e),ct(),m=!1,v.updateCurrItem()},next:function(){v.goTo(p+1)},prev:function(){v.goTo(p-1)},updateCurrZoomItem:function(e){var t;e&&A("beforeChange",0),_e=a[1].el.children.length&&(t=a[1].el.children[0],g.hasClass(t,"pswp__zoom-wrap"))?t.style:null,u=v.currItem.bounds,te=f=v.currItem.initialZoomLevel,b.x=u.center.x,b.y=u.center.y,e&&A("afterChange")},invalidateCurrItems:function(){oe=!0;for(var e=0;e<3;e++)a[e].item&&(a[e].item.needsUpdate=!0)},updateCurrItem:function(e){if(0!==E){var t,i=Math.abs(E);if(!(e&&i<2)){v.currItem=ei(p),Ve=!1,A("beforeChange",E),3<=i&&(Q+=E+(0<E?-3:3),i=3);for(var n=0;n<i;n++)0<E?(t=a.shift(),a[2]=t,Ze((++Q+2)*x.x,t.el.style),v.setContent(t,p-i+n+1+1)):(t=a.pop(),a.unshift(t),Ze(--Q*x.x,t.el.style),v.setContent(t,p+i-n-1-1));_e&&1===Math.abs(E)&&(e=ei(ae)).initialZoomLevel!==f&&(ai(e,w),li(e),Ke(e)),E=0,v.updateCurrZoomItem(),ae=p,A("afterChange")}}},updateSize:function(e){if(!qe&&y.modal){var t=g.getScrollY();if(ye!==t&&(h.style.top=t+"px",ye=t),!e&&Ue.x===window.innerWidth&&Ue.y===window.innerHeight)return;Ue.x=window.innerWidth,Ue.y=window.innerHeight,h.style.height=Ue.y+"px"}if(w.x=v.scrollWrap.clientWidth,w.y=v.scrollWrap.clientHeight,q(),x.x=w.x+Math.round(w.x*y.spacing),x.y=w.y,Qe(x.x*$e),A("beforeResize"),void 0!==Q){for(var i,n,s,o=0;o<3;o++)i=a[o],Ze((o+Q)*x.x,i.el.style),s=p+o-1,y.loop&&2<D()&&(s=j(s)),(n=ei(s))&&(oe||n.needsUpdate||!n.bounds)?(v.cleanSlide(n),v.setContent(i,s),1===o&&(v.currItem=n,v.updateCurrZoomItem(!0)),n.needsUpdate=!1):-1===i.index&&0<=s&&v.setContent(i,s),n&&n.container&&(ai(n,w),li(n),Ke(n));oe=!1}te=f=v.currItem.initialZoomLevel,(u=v.currItem.bounds)&&(b.x=u.center.x,b.y=u.center.y,C(!0)),A("resize")},zoomTo:function(t,e,i,n,s){e&&(te=f,Et.x=Math.abs(e.x)-b.x,Et.y=Math.abs(e.y)-b.y,M(We,b));function o(e){1===e?(f=t,b.x=a.x,b.y=a.y):(f=(t-r)*e+r,b.x=(a.x-l.x)*e+l.x,b.y=(a.y-l.y)*e+l.y),s&&s(e),C(1===e)}var e=nt(t,!1),a={},r=(W("x",e,a,t),W("y",e,a,t),f),l={x:b.x,y:b.y};et(a);i?dt("customZoomTo",0,1,i,n||g.easing.sine.inOut,o):o(1)}},ut=30,ht=10,z={},pt={},I={},P={},ft={},mt=[],gt={},vt=[],yt={},bt=0,wt=e(),xt=0,_=e(),Et=e(),At=e(),St=function(e,t){return e.x===t.x&&e.y===t.y},Tt=function(e,t){return yt.x=Math.abs(e.x-t.x),yt.y=Math.abs(e.y-t.y),Math.sqrt(yt.x*yt.x+yt.y*yt.y)},Ct=function(){ze&&(fe(ze),ze=null)},Mt=function(){l&&(ze=pe(Mt),Wt())},kt=function(){return!("fit"===y.scaleMode&&f===v.currItem.initialZoomLevel)},zt=function(e,t){return!(!e||e===document||e.getAttribute("class")&&-1<e.getAttribute("class").indexOf("pswp__scroll-wrap"))&&(t(e)?e:zt(e.parentNode,t))},It={},Pt=function(e,t){return It.prevent=!zt(e.target,y.isClickableElement),A("preventDragEvent",e,t,It),It.prevent},_t=function(e,t){return t.x=e.pageX,t.y=e.pageY,t.id=e.identifier,t},Dt=function(e,t,i){i.x=.5*(e.x+t.x),i.y=.5*(e.y+t.y)},Lt=function(e,t,i){var n;50<e-xe&&((n=2<vt.length?vt.shift():{}).x=t,n.y=i,vt.push(n),xe=e)},Ot=function(){var e=b.y-v.currItem.initialPosition.y;return 1-Math.abs(e/(w.y/2))},Nt={},Ft={},Bt=[],Rt=function(e){for(;0<Bt.length;)Bt.pop();return he?(Be=0,mt.forEach(function(e){0===Be?Bt[0]=e:1===Be&&(Bt[1]=e),Be++})):-1<e.type.indexOf("touch")?e.touches&&0<e.touches.length&&(Bt[0]=_t(e.touches[0],Nt),1<e.touches.length)&&(Bt[1]=_t(e.touches[1],Ft)):(Nt.x=e.pageX,Nt.y=e.pageY,Nt.id="",Bt[0]=Nt),Bt},jt=function(e,t){var i,n,s,o=b[e]+t[e],a=0<t[e],r=_.x+t.x,l=_.x-gt.x,c=o>u.min[e]||o<u.max[e]?y.panEndFriction:1,o=b[e]+t[e]*c;if((y.allowPanToNext||f===v.currItem.initialZoomLevel)&&(_e?"h"!==De||"x"!==e||Me||(a?(o>u.min[e]&&(c=y.panEndFriction,u.min[e],i=u.min[e]-We[e]),(i<=0||l<0)&&1<D()?(s=r,l<0&&r>gt.x&&(s=gt.x)):u.min.x!==u.max.x&&(n=o)):(o<u.max[e]&&(c=y.panEndFriction,u.max[e],i=We[e]-u.max[e]),(i<=0||0<l)&&1<D()?(s=r,0<l&&r<gt.x&&(s=gt.x)):u.min.x!==u.max.x&&(n=o))):s=r,"x"===e))return void 0!==s&&(Qe(s,!0),Ie=s!==gt.x),u.min.x!==u.max.x&&(void 0!==n?b.x=n:Ie||(b.x+=t.x*c)),void 0!==s;m||Ie||f>v.currItem.fitRatio&&(b[e]+=t[e]*c)},Wt=function(){if(c){var e,t,i,n,s,o=c.length;if(0!==o)if(M(z,c[0]),I.x=z.x-P.x,I.y=z.y-P.y,d&&1<o)P.x=z.x,P.y=z.y,!I.x&&!I.y&&St(c[1],pt)||(M(pt,c[1]),Me||(Me=!0,A("zoomGestureStarted")),o=Tt(z,pt),(e=Gt(o))>v.currItem.initialZoomLevel+v.currItem.initialZoomLevel/15&&(Fe=!0),t=1,i=st(),n=ot(),e<i?y.pinchToClose&&!Fe&&te<=v.currItem.initialZoomLevel?(T(s=1-(i-e)/(i/1.2)),A("onPinchClose",s),Oe=!0):e=i-(t=1<(t=(i-e)/i)?1:t)*(i/3):n<e&&(e=n+(t=1<(t=(e-n)/(6*i))?1:t)*i),t<0&&(t=0),Dt(z,pt,wt),je.x+=wt.x-At.x,je.y+=wt.y-At.y,M(At,wt),b.x=Je("x",e),b.y=Je("y",e),Ae=f<e,f=e,C());else if(De&&(Le&&(Le=!1,Math.abs(I.x)>=ht&&(I.x-=c[0].x-ft.x),Math.abs(I.y)>=ht)&&(I.y-=c[0].y-ft.y),P.x=z.x,P.y=z.y,0!==I.x||0!==I.y)){if("v"===De&&y.closeOnVerticalDrag)if(!kt())return je.y+=I.y,b.y+=I.y,s=Ot(),Se=!0,A("onVerticalDrag",s),T(s),void C();Lt(S(),z.x,z.y),ke=!0,u=v.currItem.bounds,jt("x",I)||(jt("y",I),et(b),C())}}},$t=function(){var t,i,n={lastFlickOffset:{},lastFlickDist:{},lastFlickSpeed:{},slowDownRatio:{},slowDownRatioReverse:{},speedDecelerationRatio:{},speedDecelerationRatioAbs:{},distanceOffset:{},backAnimDestination:{},backAnimStarted:{},calculateSwipeSpeed:function(e){i=(1<vt.length?(t=S()-xe+50,vt[vt.length-2]):(t=S()-we,ft))[e],n.lastFlickOffset[e]=P[e]-i,n.lastFlickDist[e]=Math.abs(n.lastFlickOffset[e]),20<n.lastFlickDist[e]?n.lastFlickSpeed[e]=n.lastFlickOffset[e]/t:n.lastFlickSpeed[e]=0,Math.abs(n.lastFlickSpeed[e])<.1&&(n.lastFlickSpeed[e]=0),n.slowDownRatio[e]=.95,n.slowDownRatioReverse[e]=1-n.slowDownRatio[e],n.speedDecelerationRatio[e]=1},calculateOverBoundsAnimOffset:function(t,e){n.backAnimStarted[t]||(b[t]>u.min[t]?n.backAnimDestination[t]=u.min[t]:b[t]<u.max[t]&&(n.backAnimDestination[t]=u.max[t]),void 0!==n.backAnimDestination[t]&&(n.slowDownRatio[t]=.7,n.slowDownRatioReverse[t]=1-n.slowDownRatio[t],n.speedDecelerationRatioAbs[t]<.05)&&(n.lastFlickSpeed[t]=0,n.backAnimStarted[t]=!0,dt("bounceZoomPan"+t,b[t],n.backAnimDestination[t],e||300,g.easing.sine.out,function(e){b[t]=e,C()})))},calculateAnimOffset:function(e){n.backAnimStarted[e]||(n.speedDecelerationRatio[e]=n.speedDecelerationRatio[e]*(n.slowDownRatio[e]+n.slowDownRatioReverse[e]-n.slowDownRatioReverse[e]*n.timeDiff/10),n.speedDecelerationRatioAbs[e]=Math.abs(n.lastFlickSpeed[e]*n.speedDecelerationRatio[e]),n.distanceOffset[e]=n.lastFlickSpeed[e]*n.speedDecelerationRatio[e]*n.timeDiff,b[e]+=n.distanceOffset[e])},panAnimLoop:function(){k.zoomPan&&(k.zoomPan.raf=pe(n.panAnimLoop),n.now=S(),n.timeDiff=n.now-n.lastNow,n.lastNow=n.now,n.calculateAnimOffset("x"),n.calculateAnimOffset("y"),C(),n.calculateOverBoundsAnimOffset("x"),n.calculateOverBoundsAnimOffset("y"),n.speedDecelerationRatioAbs.x<.05)&&n.speedDecelerationRatioAbs.y<.05&&(b.x=Math.round(b.x),b.y=Math.round(b.y),C(),rt("zoomPan"))}};return n},Ht=function(e){if(e.calculateSwipeSpeed("y"),u=v.currItem.bounds,e.backAnimDestination={},e.backAnimStarted={},Math.abs(e.lastFlickSpeed.x)<=.05&&Math.abs(e.lastFlickSpeed.y)<=.05)return e.speedDecelerationRatioAbs.x=e.speedDecelerationRatioAbs.y=0,e.calculateOverBoundsAnimOffset("x"),e.calculateOverBoundsAnimOffset("y"),!0;lt("zoomPan"),e.lastNow=S(),e.panAnimLoop()},qt=function(e,t){m||(bt=p),"swipe"===e&&(e=P.x-ft.x,o=t.lastFlickDist.x<10,ut<e&&(o||20<t.lastFlickOffset.x)?n=-1:e<-ut&&(o||t.lastFlickOffset.x<-20)&&(n=1)),n&&((p+=n)<0?(p=y.loop?D()-1:0,s=!0):p>=D()&&(p=y.loop?0:D()-1,s=!0),s&&!y.loop||(E+=n,$e-=n,i=!0));var i,n,s,e=x.x*$e,o=Math.abs(e-_.x),a=i||e>_.x==0<t.lastFlickSpeed.x?(a=0<Math.abs(t.lastFlickSpeed.x)?o/Math.abs(t.lastFlickSpeed.x):333,a=Math.min(a,400),Math.max(a,250)):333;return bt===p&&(i=!1),m=!0,A("mainScrollAnimStart"),dt("mainScroll",_.x,e,a,g.easing.cubic.out,Qe,function(){ct(),m=!1,bt=-1,!i&&bt===p||v.updateCurrItem(),A("mainScrollAnimComplete")}),i&&v.updateCurrItem(!0),i},Gt=function(e){return 1/Pe*e*te},Ut=function(){var e,t=f,i=st(),n=ot(),s=(f<i?t=i:n<f&&(t=n),Ne);return Oe&&!Ae&&!Fe&&f<i?v.close():(Oe&&(e=function(e){T((1-s)*e+s)}),v.zoomTo(t,0,200,g.easing.cubic.out,e)),!0};R("Gestures",{publicMethods:{initGestures:function(){function e(e,t,i,n,s){re=e+t,le=e+i,ce=e+n,de=s?e+s:""}(he=r.pointerEvent)&&r.touch&&(r.touch=!1),he?navigator.pointerEnabled?e("pointer","down","move","up","cancel"):e("MSPointer","Down","Move","Up","Cancel"):r.touch?(e("touch","start","move","end","cancel"),s=!0):e("mouse","down","move","up"),J=le+" "+ce+" "+de,ee=re,he&&!s&&(s=1<navigator.maxTouchPoints||1<navigator.msMaxTouchPoints),v.likelyTouchDevice=s,n[re]=G,n[le]=U,n[ce]=V,de&&(n[de]=n[ce]),r.touch&&(ee+=" mousedown",J+=" mousemove mouseup",n.mousedown=n[re],n.mousemove=n[le],n.mouseup=n[ce]),s||(y.allowPanToNext=!1)}}});function Vt(e){function t(){e.loading=!1,e.loaded=!0,e.loadComplete?e.loadComplete(e):e.img=null,i.onload=i.onerror=null,i=null}e.loading=!0,e.loaded=!1;var i=e.img=g.createEl("pswp__img","img");i.onload=t,i.onerror=function(){e.loadError=!0,t()},i.src=e.src}function Yt(e,t){return e.src&&e.loadError&&e.container&&(t&&(e.container.innerHTML=""),e.container.innerHTML=y.errorMsg.replace("%url%",e.src),1)}function Xt(){if(ii.length){for(var e,t=0;t<ii.length;t++)(e=ii[t]).holder.index===e.index&&ri(e.index,e.item,e.baseDiv,e.img,!1,e.clearPlaceholder);ii=[]}}var Kt,Zt,Qt,Jt,ei,D,ti=function(o,e,a,t){function r(){rt("initialZoom"),a?(v.template.removeAttribute("style"),v.bg.removeAttribute("style")):(T(1),e&&(e.style.display="block"),g.addClass(h,"pswp--animated-in"),A("initialZoom"+(a?"OutEnd":"InEnd"))),t&&t(),Jt=!1}Kt&&clearTimeout(Kt),Qt=Jt=!0,o.initialLayout?(l=o.initialLayout,o.initialLayout=null):l=y.getThumbBoundsFn&&y.getThumbBoundsFn(p);var l,c,d,u=a?y.hideAnimationDuration:y.showAnimationDuration;u&&l&&void 0!==l.x?(c=K,d=!v.currItem.src||v.currItem.loadError||y.showHideOpacity,o.miniImg&&(o.miniImg.style.webkitBackfaceVisibility="hidden"),a||(f=l.w/o.w,b.x=l.x,b.y=l.y-ge,v[d?"template":"bg"].style.opacity=.001,C()),lt("initialZoom"),a&&!c&&g.removeClass(h,"pswp--animated-in"),d&&(a?g[(c?"remove":"add")+"Class"](h,"pswp--animate_opacity"):setTimeout(function(){g.addClass(h,"pswp--animate_opacity")},30)),Kt=setTimeout(function(){var t,i,n,s,e;A("initialZoom"+(a?"Out":"In")),a?(t=l.w/o.w,i={x:b.x,y:b.y},n=f,s=Ne,e=function(e){1===e?(f=t,b.x=l.x,b.y=l.y-ye):(f=(t-n)*e+n,b.x=(l.x-i.x)*e+i.x,b.y=(l.y-ye-i.y)*e+i.y),C(),d?h.style.opacity=1-e:T(s-e*s)},c?dt("initialZoom",0,1,u,g.easing.cubic.out,e,r):(e(1),Kt=setTimeout(r,u+20))):(f=o.initialZoomLevel,M(b,o.initialPosition),C(),T(1),d?h.style.opacity=1:T(1),Kt=setTimeout(r,u+20))},a?25:90)):(A("initialZoom"+(a?"Out":"In")),f=o.initialZoomLevel,M(b,o.initialPosition),C(),h.style.opacity=a?0:1,T(1),u?setTimeout(function(){r()},u):r())},L={},ii=[],ni={index:0,errorMsg:'<div class="pswp__error-msg"><a href="%url%" target="_blank">The image</a> could not be loaded.</div>',forceProgressiveLoading:!1,preload:[1,1],getNumItemsFn:function(){return Zt.length}},si=function(){return{center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}}},oi=function(e,t,i){var n=e.bounds;n.center.x=Math.round((L.x-t)/2),n.center.y=Math.round((L.y-i)/2)+e.vGap.top,n.max.x=t>L.x?Math.round(L.x-t):n.center.x,n.max.y=i>L.y?Math.round(L.y-i)+e.vGap.top:n.center.y,n.min.x=t>L.x?0:n.center.x,n.min.y=i>L.y?e.vGap.top:n.center.y},ai=function(e,t,i){var n,s;return!e.src||e.loadError?(e.w=e.h=0,e.initialZoomLevel=e.fitRatio=1,e.bounds=si(),e.initialPosition=e.bounds.center,e.bounds):((n=!i)&&(e.vGap||(e.vGap={top:0,bottom:0}),A("parseVerticalMargin",e)),L.x=t.x,L.y=t.y-e.vGap.top-e.vGap.bottom,n&&(t=L.x/e.w,s=L.y/e.h,e.fitRatio=t<s?t:s,"orig"===(t=y.scaleMode)?i=1:"fit"===t&&(i=e.fitRatio),e.initialZoomLevel=i=1<i?1:i,e.bounds||(e.bounds=si())),i?(oi(e,e.w*i,e.h*i),n&&i===e.initialZoomLevel&&(e.initialPosition=e.bounds.center),e.bounds):void 0)},ri=function(e,t,i,n,s,o){t.loadError||n&&(t.imageAppended=!0,li(t,n,t===v.currItem&&Ve),i.appendChild(n),o)&&setTimeout(function(){t&&t.loaded&&t.placeholder&&(t.placeholder.style.display="none",t.placeholder=null)},500)},li=function(e,t,i){var n;e.src&&(t=t||e.container.lastChild,n=i?e.w:Math.round(e.w*e.fitRatio),i=i?e.h:Math.round(e.h*e.fitRatio),e.placeholder&&!e.loaded&&(e.placeholder.style.width=n+"px",e.placeholder.style.height=i+"px"),t.style.width=n+"px",t.style.height=i+"px")};R("Controller",{publicMethods:{lazyLoadItem:function(e){e=j(e);var t=ei(e);t&&(!t.loaded&&!t.loading||oe)&&(A("gettingData",e,t),t.src)&&Vt(t)},initController:function(){g.extend(y,ni,!0),v.items=Zt=t,ei=v.getItemAt,D=y.getNumItemsFn,y.loop,D()<3&&(y.loop=!1),o("beforeChange",function(e){for(var t=y.preload,i=null===e||0<=e,n=Math.min(t[0],D()),s=Math.min(t[1],D()),o=1;o<=(i?s:n);o++)v.lazyLoadItem(p+o);for(o=1;o<=(i?n:s);o++)v.lazyLoadItem(p-o)}),o("initialLayout",function(){v.currItem.initialLayout=y.getThumbBoundsFn&&y.getThumbBoundsFn(p)}),o("mainScrollAnimComplete",Xt),o("initialZoomInEnd",Xt),o("destroy",function(){for(var e,t=0;t<Zt.length;t++)(e=Zt[t]).container&&(e.container=null),e.placeholder&&(e.placeholder=null),e.img&&(e.img=null),e.preloader&&(e.preloader=null),e.loadError&&(e.loaded=e.loadError=!1);ii=null})},getItemAt:function(e){return 0<=e&&void 0!==Zt[e]&&Zt[e]},allowProgressiveImg:function(){return y.forceProgressiveLoading||!s||y.mouseUsed||1200<screen.width},setContent:function(t,i){y.loop&&(i=j(i));var e,n,s,o=v.getItemAt(t.index),o=(o&&(o.container=null),v.getItemAt(i));o?(A("gettingData",i,o),t.index=i,n=(t.item=o).container=g.createEl("pswp__zoom-wrap"),!o.src&&o.html&&(o.html.tagName?n.appendChild(o.html):n.innerHTML=o.html),Yt(o),ai(o,w),!o.src||o.loadError||o.loaded?o.src&&!o.loadError&&((e=g.createEl("pswp__img","img")).style.opacity=1,e.src=o.src,li(o,e),ri(i,o,n,e,!0)):(o.loadComplete=function(e){if(Y){if(t&&t.index===i){if(Yt(e,!0))return e.loadComplete=e.img=null,ai(e,w),Ke(e),void(t.index===p&&v.updateCurrZoomItem());e.imageAppended?!Jt&&e.placeholder&&(e.placeholder.style.display="none",e.placeholder=null):r.transform&&(m||Jt)?ii.push({item:e,baseDiv:n,img:e.img,index:i,holder:t,clearPlaceholder:!0}):ri(i,e,n,e.img,m||Jt,!0)}e.loadComplete=null,e.img=null,A("imageLoadComplete",i,e)}},g.features.transform&&(s="pswp__img pswp__img--placeholder",s+=o.msrc?"":" pswp__img--placeholder--blank",s=g.createEl(s,o.msrc?"img":""),o.msrc&&(s.src=o.msrc),li(o,s),n.appendChild(s),o.placeholder=s),o.loading||Vt(o),v.allowProgressiveImg()&&(!Qt&&r.transform?ii.push({item:o,baseDiv:n,img:o.img,index:i,holder:t}):ri(i,o,n,o.img,!0,!0))),Qt||i!==p?Ke(o):(_e=n.style,ti(o,e||o.img)),t.el.innerHTML="",t.el.appendChild(n)):t.el.innerHTML=""},cleanSlide:function(e){e.img&&(e.img.onload=e.img.onerror=null),e.loaded=e.loading=e.img=e.imageAppended=!1}}});function ci(e,t,i){var n=document.createEvent("CustomEvent"),t={origEvent:e,target:e.target,releasePoint:t,pointerType:i||"touch"};n.initCustomEvent("pswpTap",!0,!0,t),e.target.dispatchEvent(n)}function di(){pi&&clearTimeout(pi),mi&&clearTimeout(mi)}function ui(){var e=Ti(),t={};if(!(e.length<5)){var i,n=e.split("&");for(o=0;o<n.length;o++)n[o]&&((i=n[o].split("=")).length<2||(t[i[0]]=i[1]));if(y.galleryPIDs){for(var s=t.pid,o=t.pid=0;o<Zt.length;o++)if(Zt[o].pid===s){t.pid=o;break}}else t.pid=parseInt(t.pid,10)-1;t.pid<0&&(t.pid=0)}return t}var hi,O,pi,fi,mi,gi,vi,yi,i,bi,wi,xi,N,Ei,Ai={},Si=(R("Tap",{publicMethods:{initTap:function(){o("firstTouchStart",v.onTapStart),o("touchRelease",v.onTapRelease),o("destroy",function(){Ai={},hi=null})},onTapStart:function(e){1<e.length&&(clearTimeout(hi),hi=null)},onTapRelease:function(e,t){var i,n,s;!t||ke||Ce||at||(i=t,hi&&(clearTimeout(hi),hi=null,n=i,s=Ai,Math.abs(n.x-s.x)<Re)&&Math.abs(n.y-s.y)<Re?A("doubleTap",i):"mouse"===t.type?ci(e,t,"mouse"):"BUTTON"===e.target.tagName.toUpperCase()||g.hasClass(e.target,"pswp__single-tap")?ci(e,t):(M(Ai,i),hi=setTimeout(function(){ci(e,t),hi=null},300)))}}}),R("DesktopZoom",{publicMethods:{initDesktopZoom:function(){ve||(s?o("mouseUsed",function(){v.setupDesktopZoom()}):v.setupDesktopZoom(!0))},setupDesktopZoom:function(e){O={};var t="wheel mousewheel DOMMouseScroll";o("bindEvents",function(){g.bind(h,t,v.handleMouseWheel)}),o("unbindEvents",function(){O&&g.unbind(h,t,v.handleMouseWheel)}),v.mouseZoomedIn=!1;function i(){v.mouseZoomedIn&&(g.removeClass(h,"pswp--zoomed-in"),v.mouseZoomedIn=!1),f<1?g.addClass(h,"pswp--zoom-allowed"):g.removeClass(h,"pswp--zoom-allowed"),s()}var n,s=function(){n&&(g.removeClass(h,"pswp--dragging"),n=!1)};o("resize",i),o("afterChange",i),o("pointerDown",function(){v.mouseZoomedIn&&(n=!0,g.addClass(h,"pswp--dragging"))}),o("pointerUp",s),e||i()},handleMouseWheel:function(e){if(f<=v.currItem.fitRatio)return y.modal&&(!y.closeOnScroll||at||l?e.preventDefault():ue&&2<Math.abs(e.deltaY)&&(K=!0,v.close())),!0;if(e.stopPropagation(),O.x=0,"deltaX"in e)1===e.deltaMode?(O.x=18*e.deltaX,O.y=18*e.deltaY):(O.x=e.deltaX,O.y=e.deltaY);else if("wheelDelta"in e)e.wheelDeltaX&&(O.x=-.16*e.wheelDeltaX),O.y=e.wheelDeltaY?-.16*e.wheelDeltaY:-.16*e.wheelDelta;else{if(!("detail"in e))return;O.y=e.detail}nt(f,!0);var t=b.x-O.x,i=b.y-O.y;(y.modal||t<=u.min.x&&t>=u.max.x&&i<=u.min.y&&i>=u.max.y)&&e.preventDefault(),v.panTo(t,i)},toggleDesktopZoom:function(e){e=e||{x:w.x/2+He.x,y:w.y/2+He.y};var t=y.getDoubleTapZoom(!0,v.currItem),i=f===t;v.mouseZoomedIn=!i,v.zoomTo(i?v.currItem.initialZoomLevel:t,e,333),g[(i?"remove":"add")+"Class"](h,"pswp--zoomed-in")}}}),{history:!0,galleryUID:1}),Ti=function(){return N.hash.substring(1)},Ci=function(){var e,t;mi&&clearTimeout(mi),at||l?mi=setTimeout(Ci,500):(gi?clearTimeout(fi):gi=!0,t=p+1,(e=ei(p)).hasOwnProperty("pid")&&(t=e.pid),e=i+"&gid="+y.galleryUID+"&pid="+t,bi||-1===N.hash.indexOf(e)&&(xi=!0),t=N.href.split("#")[0]+"#"+e,Ei?"#"+e!==window.location.hash&&history[bi?"replaceState":"pushState"]("",document.title,t):bi?N.replace(t):N.hash=e,bi=!0,fi=setTimeout(function(){gi=!1},60))};R("History",{publicMethods:{initHistory:function(){var e,t;g.extend(y,Si,!0),y.history&&(N=window.location,bi=wi=xi=!1,i=Ti(),Ei="pushState"in history,-1<i.indexOf("gid=")&&(i=(i=i.split("&gid=")[0]).split("?gid=")[0]),o("afterChange",v.updateURL),o("unbindEvents",function(){g.unbind(window,"hashchange",v.onHashChange)}),e=function(){yi=!0,wi||(xi?history.back():i?N.hash=i:Ei?history.pushState("",document.title,N.pathname+N.search):N.hash=""),di()},o("unbindEvents",function(){K&&e()}),o("destroy",function(){yi||e()}),o("firstUpdate",function(){p=ui().pid}),-1<(t=i.indexOf("pid="))&&"&"===(i=i.substring(0,t)).slice(-1)&&(i=i.slice(0,-1)),setTimeout(function(){Y&&g.bind(window,"hashchange",v.onHashChange)},40))},onHashChange:function(){Ti()===i?(wi=!0,v.close()):gi||(vi=!0,v.goTo(ui().pid),vi=!1)},updateURL:function(){di(),vi||(bi?pi=setTimeout(Ci,800):Ci())}}}),g.extend(v,B)}}),((e,t)=>{"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():e.PhotoSwipeUI_Default=t()})(this,function(){return function(n,r){function e(e){if(T)return!0;e=e||window.event,S.timeToIdle&&S.mouseUsed&&!y&&a();for(var t,i,n=(e.target||e.srcElement).getAttribute("class")||"",s=0;s<O.length;s++)(t=O[s]).onTap&&-1<n.indexOf("pswp__"+t.name)&&(t.onTap(),i=!0);i&&(e.stopPropagation&&e.stopPropagation(),T=!0,e=r.features.isOldAndroid?600:30,setTimeout(function(){T=!1},e))}function i(){var e=1===S.getNumItemsFn();e!==A&&(_(u,"ui--one-slide",e),A=e)}function t(){_(g,"share-modal--hidden",P)}function s(){for(var e,t,i,n,s="",o=0;o<S.shareButtons.length;o++)e=S.shareButtons[o],t=S.getImageURLForShare(e),i=S.getPageURLForShare(e),n=S.getTextForShare(e),s+='<a href="'+e.url.replace("{{url}}",encodeURIComponent(i)).replace("{{image_url}}",encodeURIComponent(t)).replace("{{raw_image_url}}",t).replace("{{text}}",encodeURIComponent(n))+'" target="_blank" class="pswp__share--'+e.id+'"'+(e.download?"download":"")+">"+e.label+"</a>",S.parseShareButtonOut&&(s=S.parseShareButtonOut(e,s));g.children[0].innerHTML=s,g.children[0].onclick=R}function o(e){for(var t=0;t<S.closeElClasses.length;t++)if(r.hasClass(e,"pswp__"+S.closeElClasses[t]))return!0}function a(){clearTimeout(M),L=0,y&&k.setIdle(!1)}function l(e){(e=(e=e||window.event).relatedTarget||e.toElement)&&"HTML"!==e.nodeName||(clearTimeout(M),M=setTimeout(function(){k.setIdle(!0)},S.timeToIdleOutside))}function c(e){x!==e&&(_(w,"preloader--active",!e),x=e)}function N(e){var t,i=e.vGap;!n.likelyTouchDevice||S.mouseUsed||screen.width>S.fitControlsWidth?(t=S.barsSize,S.captionEl&&"auto"===t.bottom?(p||((p=r.createEl("pswp__caption pswp__caption--fake")).appendChild(r.createEl("pswp__caption__center")),u.insertBefore(p,h),r.addClass(u,"pswp__ui--fit")),S.addCaptionHTMLFn(e,p,!0)?(e=p.clientHeight,i.bottom=parseInt(e,10)||44):i.bottom=t.top):i.bottom="auto"===t.bottom?0:t.bottom,i.top=t.top):i.top=i.bottom=0}function F(){function e(e){if(e)for(var t=e.length,i=0;i<t;i++){s=e[i],o=s.className;for(var n=0;n<O.length;n++)a=O[n],-1<o.indexOf("pswp__"+a.name)&&(S[a.option]?(r.removeClass(s,"pswp__element--disabled"),a.onInit&&a.onInit(s)):r.addClass(s,"pswp__element--disabled"))}}e(u.children);var s,o,a,t=r.getChildByClass(u,"pswp__top-bar");t&&e(t.children)}var d,u,h,p,f,m,g,v,y,b,w,x,E,A,S,T,C,M,k=this,z=!1,I=!0,P=!0,B={barsSize:{top:44,bottom:"auto"},closeElClasses:["item","caption","zoom-wrap","ui","top-bar"],timeToIdle:4e3,timeToIdleOutside:1e3,loadingIndicatorDelay:1e3,addCaptionHTMLFn:function(e,t){return e.title?(t.children[0].innerHTML=e.title,!0):(t.children[0].innerHTML="",!1)},closeEl:!0,captionEl:!0,fullscreenEl:!0,zoomEl:!0,shareEl:!0,counterEl:!0,arrowEl:!0,preloaderEl:!0,tapToClose:!1,tapToToggleControls:!0,clickToCloseNonZoomable:!0,shareButtons:[{id:"facebook",label:"Share on Facebook",url:"https://www.facebook.com/sharer/sharer.php?u={{url}}"},{id:"twitter",label:"Tweet",url:"https://x.com/intent/tweet?text={{text}}&url={{url}}"},{id:"pinterest",label:"Pin it",url:"http://www.pinterest.com/pin/create/button/?url={{url}}&media={{image_url}}&description={{text}}"},{id:"download",label:"Download image",url:"{{raw_image_url}}",download:!0}],getImageURLForShare:function(){return n.currItem.src||""},getPageURLForShare:function(){return window.location.href},getTextForShare:function(){return n.currItem.title||""},indexIndicatorSep:" / ",fitControlsWidth:1200},_=function(e,t,i){r[(i?"add":"remove")+"Class"](e,"pswp__"+t)},D=function(){return(P=!P)?(r.removeClass(g,"pswp__share-modal--fade-in"),setTimeout(function(){P&&t()},300)):(t(),setTimeout(function(){P||r.addClass(g,"pswp__share-modal--fade-in")},30)),P||s(),!1},R=function(e){var t=(e=e||window.event).target||e.srcElement;if(n.shout("shareLinkClick",e,t),t.href){if(t.hasAttribute("download"))return!0;window.open(t.href,"pswp_share","scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=550,height=420,top=100,left="+(window.screen?Math.round(screen.width/2-275):100)),P||D()}return!1},L=0,O=[{name:"caption",option:"captionEl",onInit:function(e){h=e}},{name:"share-modal",option:"shareEl",onInit:function(e){g=e},onTap:function(){D()}},{name:"button--share",option:"shareEl",onInit:function(e){m=e},onTap:function(){D()}},{name:"button--zoom",option:"zoomEl",onTap:n.toggleDesktopZoom},{name:"counter",option:"counterEl",onInit:function(e){f=e}},{name:"button--close",option:"closeEl",onTap:n.close},{name:"button--arrow--left",option:"arrowEl",onTap:n.prev},{name:"button--arrow--right",option:"arrowEl",onTap:n.next},{name:"button--fs",option:"fullscreenEl",onTap:function(){d.isFullscreen()?d.exit():d.enter()}},{name:"preloader",option:"preloaderEl",onInit:function(e){w=e}}];k.init=function(){var t;r.extend(n.options,B,!0),S=n.options,u=r.getChildByClass(n.scrollWrap,"pswp__ui"),(b=n.listen)("onVerticalDrag",function(e){I&&e<.95?k.hideControls():!I&&.95<=e&&k.showControls()}),b("onPinchClose",function(e){I&&e<.9?(k.hideControls(),t=!0):t&&!I&&.9<e&&k.showControls()}),b("zoomGestureEnded",function(){(t=!1)&&!I&&k.showControls()}),b("beforeChange",k.update),b("doubleTap",function(e){var t=n.currItem.initialZoomLevel;n.getZoomLevel()!==t?n.zoomTo(t,e,333):n.zoomTo(S.getDoubleTapZoom(!1,n.currItem),e,333)}),b("preventDragEvent",function(e,t,i){var n=e.target||e.srcElement;n&&n.getAttribute("class")&&-1<e.type.indexOf("mouse")&&(0<n.getAttribute("class").indexOf("__caption")||/(SMALL|STRONG|EM)/i.test(n.tagName))&&(i.prevent=!1)}),b("bindEvents",function(){r.bind(u,"pswpTap click",e),r.bind(n.scrollWrap,"pswpTap",k.onGlobalTap),n.likelyTouchDevice||r.bind(n.scrollWrap,"mouseover",k.onMouseOver)}),b("unbindEvents",function(){P||D(),C&&clearInterval(C),r.unbind(document,"mouseout",l),r.unbind(document,"mousemove",a),r.unbind(u,"pswpTap click",e),r.unbind(n.scrollWrap,"pswpTap",k.onGlobalTap),r.unbind(n.scrollWrap,"mouseover",k.onMouseOver),d&&(r.unbind(document,d.eventK,k.updateFullscreen),d.isFullscreen()&&(S.hideAnimationDuration=0,d.exit()),d=null)}),b("destroy",function(){S.captionEl&&(p&&u.removeChild(p),r.removeClass(h,"pswp__caption--empty")),g&&(g.children[0].onclick=null),r.removeClass(u,"pswp__ui--over-close"),r.addClass(u,"pswp__ui--hidden"),k.setIdle(!1)}),S.showAnimationDuration||r.removeClass(u,"pswp__ui--hidden"),b("initialZoomIn",function(){S.showAnimationDuration&&r.removeClass(u,"pswp__ui--hidden")}),b("initialZoomOut",function(){r.addClass(u,"pswp__ui--hidden")}),b("parseVerticalMargin",N),F(),S.shareEl&&m&&g&&(P=!0),i(),S.timeToIdle&&b("mouseUsed",function(){r.bind(document,"mousemove",a),r.bind(document,"mouseout",l),C=setInterval(function(){2===++L&&k.setIdle(!0)},S.timeToIdle/2)}),S.fullscreenEl&&!r.features.isOldAndroid&&((d=d||k.getFullscreenAPI())?(r.bind(document,d.eventK,k.updateFullscreen),k.updateFullscreen(),r.addClass(n.template,"pswp--supports-fs")):r.removeClass(n.template,"pswp--supports-fs")),S.preloaderEl&&(c(!0),b("beforeChange",function(){clearTimeout(E),E=setTimeout(function(){n.currItem&&n.currItem.loading?n.allowProgressiveImg()&&(!n.currItem.img||n.currItem.img.naturalWidth)||c(!1):c(!0)},S.loadingIndicatorDelay)}),b("imageLoadComplete",function(e,t){n.currItem===t&&c(!0)}))},k.setIdle=function(e){_(u,"ui--idle",y=e)},k.update=function(){z=!(!I||!n.currItem||(k.updateIndexIndicator(),S.captionEl&&(S.addCaptionHTMLFn(n.currItem,h),_(h,"caption--empty",!n.currItem.title)),0)),P||D(),i()},k.updateFullscreen=function(e){e&&setTimeout(function(){n.setScrollOffset(0,r.getScrollY())},50),r[(d.isFullscreen()?"add":"remove")+"Class"](n.template,"pswp--fs")},k.updateIndexIndicator=function(){S.counterEl&&(f.innerHTML=n.getCurrentIndex()+1+S.indexIndicatorSep+S.getNumItemsFn())},k.onGlobalTap=function(e){var t=(e=e||window.event).target||e.srcElement;T||(e.detail&&"mouse"===e.detail.pointerType?o(t)?n.close():r.hasClass(t,"pswp__img")&&(1===n.getZoomLevel()&&n.getZoomLevel()<=n.currItem.fitRatio?S.clickToCloseNonZoomable&&n.close():n.toggleDesktopZoom(e.detail.releasePoint)):(S.tapToToggleControls&&(I?k.hideControls():k.showControls()),S.tapToClose&&(r.hasClass(t,"pswp__img")||o(t))&&n.close()))},k.onMouseOver=function(e){e=(e=e||window.event).target||e.srcElement;_(u,"ui--over-close",o(e))},k.hideControls=function(){r.addClass(u,"pswp__ui--hidden"),I=!1},k.showControls=function(){I=!0,z||k.update(),r.removeClass(u,"pswp__ui--hidden")},k.supportsFullscreen=function(){var e=document;return!!(e.exitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen||e.msExitFullscreen)},k.getFullscreenAPI=function(){var e,t=document.documentElement,i="fullscreenchange";return t.requestFullscreen?e={enterK:"requestFullscreen",exitK:"exitFullscreen",elementK:"fullscreenElement",eventK:i}:t.mozRequestFullScreen?e={enterK:"mozRequestFullScreen",exitK:"mozCancelFullScreen",elementK:"mozFullScreenElement",eventK:"moz"+i}:t.webkitRequestFullscreen?e={enterK:"webkitRequestFullscreen",exitK:"webkitExitFullscreen",elementK:"webkitFullscreenElement",eventK:"webkit"+i}:t.msRequestFullscreen&&(e={enterK:"msRequestFullscreen",exitK:"msExitFullscreen",elementK:"msFullscreenElement",eventK:"MSFullscreenChange"}),e&&(e.enter=function(){if(v=S.closeOnScroll,S.closeOnScroll=!1,"webkitRequestFullscreen"!==this.enterK)return n.template[this.enterK]();n.template[this.enterK](Element.ALLOW_KEYBOARD_INPUT)},e.exit=function(){return S.closeOnScroll=v,document[this.exitK]()},e.isFullscreen=function(){return document[this.elementK]}),e}}}),function(){var P=window.jQuery,_=P(window);P.fn.stick_in_parent=function(e){var E,t,i,n,s,A,S=(e=null==e?{}:e).sticky_class,T=e.inner_scrolling,C=e.recalc_every,M=e.parent,k=e.offset_top,z=e.spacer,I=e.bottoming;for(null==k&&(k=0),null==M&&(M=void 0),null==T&&(T=!0),null==S&&(S="is_stuck"),E=P(document),null==I&&(I=!0),A=function(e){var t,i;return window.getComputedStyle?(e[0],t=window.getComputedStyle(e[0]),i=parseFloat(t.getPropertyValue("width"))+parseFloat(t.getPropertyValue("margin-left"))+parseFloat(t.getPropertyValue("margin-right")),"border-box"!==t.getPropertyValue("box-sizing")&&(i+=parseFloat(t.getPropertyValue("border-left-width"))+parseFloat(t.getPropertyValue("border-right-width"))+parseFloat(t.getPropertyValue("padding-left"))+parseFloat(t.getPropertyValue("padding-right"))),i):e.outerWidth(!0)},i=function(o,a,r,l,c,d,u,h){var p,e,f,m,g,v,y,b,t,w,x,n;if(!o.data("sticky_kit")){if(o.data("sticky_kit",!0),g=E.height(),y=o.parent(),!(y=null!=M?y.closest(M):y).length)throw"failed to find stick parent";if(p=f=!1,(x=null!=z?z&&o.closest(z):P("<div />"))&&x.css("position",o.css("position")),(b=function(){var e,t,i;if(!h)return g=E.height(),e=parseInt(y.css("border-top-width"),10),t=parseInt(y.css("padding-top"),10),a=parseInt(y.css("padding-bottom"),10),r=y.offset().top+e+t,l=y.height(),f&&(p=f=!1,null==z&&(o.insertAfter(x),x.detach()),o.css({position:"",top:"",width:"",bottom:""}).removeClass(S),i=!0),c=o.offset().top-(parseInt(o.css("margin-top"),10)||0)-k,d=o.outerHeight(!0),u=o.css("float"),x&&x.css({width:A(o),height:d,display:o.css("display"),"vertical-align":o.css("vertical-align"),float:u}),i?n():void 0})(),d!==l)return m=void 0,v=k,w=C,n=function(){var e,t,i,n,s;if(!h)return i=!1,null!=w&&--w<=0&&(w=C,b(),i=!0),i||E.height()===g||(b(),i=!0),i=_.scrollTop(),null!=m&&(t=i-m),m=i,f?(I&&(n=l+r<i+d+v,p)&&!n&&(p=!1,o.css({position:"fixed",bottom:"",top:v}).trigger("sticky_kit:unbottom")),i<c&&(f=!1,v=k,null==z&&("left"!==u&&"right"!==u||o.insertAfter(x),x.detach()),o.css(e={position:"",width:"",top:""}).removeClass(S).trigger("sticky_kit:unstick")),T&&(s=_.height())<d+k&&(p||(v-=t,v=Math.max(s-d,v),v=Math.min(k,v),f&&o.css({top:v+"px"})))):c<i&&(f=!0,(e={position:"fixed",top:v}).width="border-box"===o.css("box-sizing")?o.outerWidth()+"px":o.width()+"px",o.css(e).addClass(S),null==z&&(o.after(x),"left"!==u&&"right"!==u||x.append(o)),o.trigger("sticky_kit:stick")),f&&I&&(null==n&&(n=l+r<i+d+v),!p)&&n?(p=!0,"static"===y.css("position")&&y.css({position:"relative"}),o.css({position:"absolute",bottom:a,top:"auto"}).trigger("sticky_kit:bottom")):void 0},t=function(){return b(),n()},e=function(){if(h=!0,_.off("touchmove",n),_.off("scroll",n),_.off("resize",t),P(document.body).off("sticky_kit:recalc",t),o.off("sticky_kit:detach",e),o.removeData("sticky_kit"),o.css({position:"",bottom:"",top:"",width:""}),y.position("position",""),f)return null==z&&("left"!==u&&"right"!==u||o.insertAfter(x),x.remove()),o.removeClass(S)},_.on("touchmove",n),_.on("scroll",n),_.on("resize",t),P(document.body).on("sticky_kit:recalc",t),o.on("sticky_kit:detach",e),setTimeout(n,0)}},n=0,s=this.length;n<s;n++)t=this[n],i(P(t));return this}}.call(this),(a=>{a.ThreeSixty=function(e,t){var s,o=this,i=[];o.$el=a(e),o.el=e,o.$el.data("ThreeSixty",o),o.init=function(){o.$el.addClass("threesixty-ready"),(s=a.extend({},a.ThreeSixty.defaultOptions,t)).disableSpin&&(s.currentFrame=1,s.endFrame=1),o.initProgress(),o.loadImages()},o.resize=function(){},o.initProgress=function(){o.$el.css({width:s.width+"px",height:s.height+"px","background-image":"none !important"}),s.styles&&o.$el.css(s.styles),o.responsive(),o.$el.find(s.progress).css({marginTop:s.height/2-15+"px"}),o.$el.find(s.progress).fadeIn("slow"),o.$el.find(s.imgList).hide()},o.loadImages=function(){var e=document.createElement("li"),t=s.zeroBased?0:1,t=s.imgArray?s.imgArray[s.loadedImages]:s.domain+s.imagePath+s.filePrefix+o.zeroPad(s.loadedImages+t)+s.ext+(o.browser.isIE()?"?"+(new Date).getTime():""),t=a("<img>").attr("src",t).addClass("previous-image").appendTo(e);i.push(t),o.$el.find(s.imgList).append(e),a(t).on("load",function(){o.imageLoaded()})},o.imageLoaded=function(){s.loadedImages+=1,a(s.progress+" span").text(Math.floor(s.loadedImages/s.totalFrames*100)+"%"),s.loadedImages>=s.totalFrames?(s.disableSpin&&i[0].removeClass("previous-image").addClass("current-image"),a(s.progress).fadeOut("slow",function(){a(this).hide(),o.showImages(),o.showNavigation()})):o.loadImages()},o.showImages=function(){o.$el.find(".txtC").fadeIn(),o.$el.find(s.imgList).fadeIn(),o.ready=!0,s.ready=!0,s.drag&&o.initEvents(),o.refresh(),o.initPlugins(),s.onReady(),setTimeout(function(){o.responsive()},50)},o.initPlugins=function(){a.each(s.plugins,function(e,t){if("function"!=typeof a[t])throw new Error(t+" not available.");a[t].call(o,o.$el,s)})},o.showNavigation=function(){var e,t,i,n;s.navigation&&!s.navigation_init&&(e=a("<div/>").attr("class","nav_bar"),t=a("<a/>").attr({href:"#",class:"nav_bar_next"}).html("next"),i=a("<a/>").attr({href:"#",class:"nav_bar_previous"}).html("previous"),n=a("<a/>").attr({href:"#",class:"nav_bar_play"}).html("play"),e.append(i),e.append(n),e.append(t),o.$el.prepend(e),t.bind("mousedown touchstart",o.next),i.bind("mousedown touchstart",o.previous),n.bind("mousedown touchstart",o.play_stop),s.navigation_init=!0)},o.play_stop=function(e){e.preventDefault(),s.autoplay?(s.autoplay=!1,a(e.currentTarget).removeClass("nav_bar_stop").addClass("nav_bar_play"),clearInterval(s.play),s.play=null):(s.autoplay=!0,s.play=setInterval(o.moveToNextFrame,s.playSpeed),a(e.currentTarget).removeClass("nav_bar_play").addClass("nav_bar_stop"))},o.next=function(e){e&&e.preventDefault(),s.endFrame-=5,o.refresh()},o.previous=function(e){e&&e.preventDefault(),s.endFrame+=5,o.refresh()},o.play=function(e,t){e=e||s.playSpeed,t=t||s.autoplayDirection;s.autoplayDirection=t,s.autoplay||(s.autoplay=!0,s.play=setInterval(o.moveToNextFrame,e))},o.stop=function(){s.autoplay&&(s.autoplay=!1,clearInterval(s.play),s.play=null)},o.moveToNextFrame=function(){1===s.autoplayDirection?--s.endFrame:s.endFrame+=1,o.refresh()},o.gotoAndPlay=function(e){var t,i,n;s.disableWrap?(s.endFrame=e,o.refresh()):(t=1<(t=0===(t=Math.ceil(s.endFrame/s.totalFrames))?1:t)?s.endFrame-(t-1)*s.totalFrames:s.endFrame,i=s.totalFrames-t,n=(n=0)<e-t?e-t<t+(s.totalFrames-e)?s.endFrame+(e-t):s.endFrame-(t+(s.totalFrames-e)):t-e<i+e?s.endFrame-(t-e):s.endFrame+(i+e),t!==e&&(s.endFrame=n,o.refresh()))},o.initEvents=function(){o.$el.bind("mousedown touchstart touchmove touchend mousemove click",function(e){e.preventDefault(),"mousedown"===e.type&&1===e.which||"touchstart"===e.type?(s.pointerStartPosX=o.getPointerEvent(e).pageX,s.dragging=!0,s.onDragStart(s.currentFrame)):"touchmove"===e.type?o.trackPointer(e):"touchend"===e.type&&(s.dragging=!1,s.onDragStop(s.endFrame))}),a(document).bind("mouseup",function(e){s.dragging=!1,s.onDragStop(s.endFrame),a(this).css("cursor","none")}),a(window).bind("resize",function(e){o.responsive()}),a(document).bind("mousemove",function(e){s.dragging?(e.preventDefault(),!o.browser.isIE&&s.showCursor&&o.$el.css("cursor","url(assets/images/hand_closed.png), auto")):!o.browser.isIE&&s.showCursor&&o.$el.css("cursor","url(assets/images/hand_open.png), auto"),o.trackPointer(e)}),a(window).resize(function(){o.resize()})},o.getPointerEvent=function(e){return e.originalEvent.targetTouches?e.originalEvent.targetTouches[0]:e},o.trackPointer=function(e){s.ready&&s.dragging&&(s.pointerEndPosX=o.getPointerEvent(e).pageX,s.monitorStartTime<(new Date).getTime()-s.monitorInt)&&(s.pointerDistance=s.pointerEndPosX-s.pointerStartPosX,0<s.pointerDistance?s.endFrame=s.currentFrame+Math.ceil((s.totalFrames-1)*s.speedMultiplier*(s.pointerDistance/o.$el.width())):s.endFrame=s.currentFrame+Math.floor((s.totalFrames-1)*s.speedMultiplier*(s.pointerDistance/o.$el.width())),s.disableWrap&&(s.endFrame=Math.min(s.totalFrames-(s.zeroBased?1:0),s.endFrame),s.endFrame=Math.max(s.zeroBased?0:1,s.endFrame)),o.refresh(),s.monitorStartTime=(new Date).getTime(),s.pointerStartPosX=o.getPointerEvent(e).pageX)},o.refresh=function(){0===s.ticker&&(s.ticker=setInterval(o.render,Math.round(1e3/s.framerate)))},o.render=function(){var e;s.currentFrame!==s.endFrame?(e=s.endFrame<s.currentFrame?Math.floor(.1*(s.endFrame-s.currentFrame)):Math.ceil(.1*(s.endFrame-s.currentFrame)),o.hidePreviousFrame(),s.currentFrame+=e,o.showCurrentFrame(),o.$el.trigger("frameIndexChanged",[o.getNormalizedCurrentFrame(),s.totalFrames])):(window.clearInterval(s.ticker),s.ticker=0)},o.hidePreviousFrame=function(){i[o.getNormalizedCurrentFrame()].removeClass("current-image").addClass("previous-image")},o.showCurrentFrame=function(){i[o.getNormalizedCurrentFrame()].removeClass("previous-image").addClass("current-image")},o.getNormalizedCurrentFrame=function(){var e,t;return s.disableWrap?(e=Math.min(s.currentFrame,s.totalFrames-(s.zeroBased?1:0)),t=Math.min(s.endFrame,s.totalFrames-(s.zeroBased?1:0)),e=Math.max(e,s.zeroBased?0:1),t=Math.max(t,s.zeroBased?0:1),s.currentFrame=e,s.endFrame=t):(e=Math.ceil(s.currentFrame%s.totalFrames))<0&&(e+=s.totalFrames-(s.zeroBased?1:0)),e},o.getCurrentFrame=function(){return s.currentFrame},o.responsive=function(){s.responsive&&o.$el.css({height:o.$el.find(".current-image").first().css("height"),width:"100%"})},o.zeroPad=function(e){var t=Math.log(s.totalFrames)/Math.LN10,t=Math.round(1e3*t)/1e3,i=Math.floor(t)+1,n=e.toString();if(s.zeroPadding)for(;n.length<i;)n="0"+n;return n},o.browser={},o.browser.isIE=function(){var e,t=-1;return-1!==(t="Microsoft Internet Explorer"===navigator.appName&&(e=navigator.userAgent,null!==new RegExp("MSIE ([0-9]{1,}[\\.0-9]{0,})").exec(e))?parseFloat(RegExp.$1):t)},o.getConfig=function(){return s},a.ThreeSixty.defaultOptions={dragging:!1,ready:!1,pointerStartPosX:0,pointerEndPosX:0,pointerDistance:0,monitorStartTime:0,monitorInt:10,ticker:0,speedMultiplier:7,totalFrames:180,currentFrame:0,endFrame:0,loadedImages:0,framerate:60,domains:null,domain:"",parallel:!1,queueAmount:8,idle:0,filePrefix:"",ext:"png",height:300,width:300,styles:{},navigation:!1,autoplay:!1,autoplayDirection:1,disableSpin:!1,disableWrap:!1,responsive:!1,zeroPadding:!1,zeroBased:!1,plugins:[],showCursor:!1,drag:!0,onReady:function(){},onDragStart:function(){},onDragStop:function(){},imgList:".threesixty_images",imgArray:null,playSpeed:100},o.init()},a.fn.ThreeSixty=function(e){return Object.create(new a.ThreeSixty(this,e))}})(jQuery),"function"!=typeof Object.create&&(Object.create=function(e){function t(){}return t.prototype=e,new t}),((e,t)=>{"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],t):t(e.bootstrap={},e.jQuery)})(this,function(e,t){function N(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i,n=arguments[t];for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}t=t&&t.hasOwnProperty("default")?t.default:t;s=t,i=!1,a={TRANSITION_END:"bsTransitionEnd",getUID:function(e){for(;e+=~~(1e6*Math.random()),document.getElementById(e););return e},getSelectorFromElement:function(e){var t=e.getAttribute("data-target");"#"===(t=t&&"#"!==t?t:e.getAttribute("href")||"").charAt(0)&&(e=t,t=e="function"==typeof s.escapeSelector?s.escapeSelector(e).substr(1):e.replace(/(:|\.|\[|\]|,|=|@)/g,"\\$1"));try{return 0<s(document).find(t).length?t:null}catch(e){return null}},reflow:function(e){return e.offsetHeight},triggerTransitionEnd:function(e){s(e).trigger(i.end)},supportsTransitionEnd:function(){return Boolean(i)},isElement:function(e){return(e[0]||e).nodeType},typeCheckConfig:function(e,t,i){for(var n in i)if(Object.prototype.hasOwnProperty.call(i,n)){var s=i[n],o=t[n],o=o&&a.isElement(o)?"element":{}.toString.call(o).match(/\s([a-zA-Z]+)/)[1].toLowerCase();if(!new RegExp(s).test(o))throw new Error(e.toUpperCase()+': Option "'+n+'" provided type "'+o+'" but expected type "'+s+'".')}}},i=("undefined"==typeof window||!window.QUnit)&&{end:"transitionend"},s.fn.emulateTransitionEnd=F,a.supportsTransitionEnd()&&(s.event.special[a.TRANSITION_END]={bindType:i.end,delegateType:i.end,handle:function(e){if(s(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}});var s,i,a,o=a;function F(e){var t=this,i=!1;return s(this).one(a.TRANSITION_END,function(){i=!0}),setTimeout(function(){i||a.triggerTransitionEnd(t)},e),this}for(var B="undefined"!=typeof window&&"undefined"!=typeof document,R=["Edge","Trident","Firefox"],j=0,r=0;r<R.length;r+=1)if(B&&0<=navigator.userAgent.indexOf(R[r])){j=1;break}var W=B&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},j))}};function $(e){return e&&"[object Function]"==={}.toString.call(e)}function u(e,t){return 1!==e.nodeType?[]:(e=getComputedStyle(e,null),t?e[t]:e)}function h(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function p(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=u(e),i=t.overflow;return/(auto|scroll)/.test(i+t.overflowY+t.overflowX)?e:p(h(e))}function d(e){var t=e&&e.offsetParent,i=t&&t.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TD","TABLE"].indexOf(t.nodeName)&&"static"===u(t,"position")?d(t):t:(e?e.ownerDocument:document).documentElement}function l(e){return null!==e.parentNode?l(e.parentNode):e}function f(e,t){var i,n,s;return e&&e.nodeType&&t&&t.nodeType?(n=(s=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING)?e:t,s=s?t:e,(i=document.createRange()).setStart(n,0),i.setEnd(s,0),e!==(i=i.commonAncestorContainer)&&t!==i||n.contains(s)?"BODY"===(s=(n=i).nodeName)||"HTML"!==s&&d(n.firstElementChild)!==n?d(i):i:(s=l(e)).host?f(s.host,t):f(e,l(t).host)):document.documentElement}function m(e,t){var t="top"===(1<arguments.length&&void 0!==t?t:"top")?"scrollTop":"scrollLeft",i=e.nodeName;return("BODY"===i||"HTML"===i?(i=e.ownerDocument.documentElement,e.ownerDocument.scrollingElement||i):e)[t]}function H(e,t){var t="x"===t?"Left":"Top",i="Left"==t?"Right":"Bottom";return parseFloat(e["border"+t+"Width"],10)+parseFloat(e["border"+i+"Width"],10)}var c=void 0,g=function(){return c=void 0===c?-1!==navigator.appVersion.indexOf("MSIE 10"):c};function q(e,t,i,n){return Math.max(t["offset"+e],t["scroll"+e],i["client"+e],i["offset"+e],i["scroll"+e],g()?i["offset"+e]+n["margin"+("Height"===e?"Top":"Left")]+n["margin"+("Height"===e?"Bottom":"Right")]:0)}function G(){var e=document.body,t=document.documentElement,i=g()&&getComputedStyle(t);return{height:q("Height",e,t,i),width:q("Width",e,t,i)}}var U=function(e,t,i){return t&&V(e.prototype,t),i&&V(e,i),e};function V(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i,n=arguments[t];for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};function b(e){return y({},e,{right:e.left+e.width,bottom:e.top+e.height})}function Y(e){var t={};if(g())try{var t=e.getBoundingClientRect(),i=m(e,"top"),n=m(e,"left");t.top+=i,t.left+=n,t.bottom+=i,t.right+=n}catch(e){}else t=e.getBoundingClientRect();i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},n="HTML"===e.nodeName?G():{},t=n.width||e.clientWidth||i.right-i.left,n=n.height||e.clientHeight||i.bottom-i.top,t=e.offsetWidth-t,n=e.offsetHeight-n;return(t||n)&&(t-=H(e=u(e),"x"),n-=H(e,"y"),i.width-=t,i.height-=n),b(i)}function X(e,t){var i=g(),n="HTML"===t.nodeName,s=Y(e),o=Y(t),e=p(e),a=u(t),r=parseFloat(a.borderTopWidth,10),l=parseFloat(a.borderLeftWidth,10),o=b({top:s.top-o.top-r,left:s.left-o.left-l,width:s.width,height:s.height});return o.marginTop=0,o.marginLeft=0,!i&&n&&(s=parseFloat(a.marginTop,10),n=parseFloat(a.marginLeft,10),o.top-=r-s,o.bottom-=r-s,o.left-=l-n,o.right-=l-n,o.marginTop=s,o.marginLeft=n),o=(i?t.contains(e):t===e&&"BODY"!==e.nodeName)?function(e,t,i){var i=2<arguments.length&&void 0!==i&&i,n=m(t,"top"),t=m(t,"left"),i=i?-1:1;return e.top+=n*i,e.bottom+=n*i,e.left+=t*i,e.right+=t*i,e}(o,t):o}function K(e,t,i,n){var s,o,a,r,l,c={top:0,left:0},d=f(e,t);return"viewport"===n?(o=(s=d).ownerDocument.documentElement,s=X(s,o),a=Math.max(o.clientWidth,window.innerWidth||0),r=Math.max(o.clientHeight,window.innerHeight||0),l=m(o),o=m(o,"left"),c=b({top:l-s.top+s.marginTop,left:o-s.left+s.marginLeft,width:a,height:r})):(l=void 0,"scrollParent"===n?"BODY"===(l=p(h(t))).nodeName&&(l=e.ownerDocument.documentElement):l="window"===n?e.ownerDocument.documentElement:n,o=X(l,d),"HTML"!==l.nodeName||function e(t){var i=t.nodeName;return"BODY"!==i&&"HTML"!==i&&("fixed"===u(t,"position")||e(h(t)))}(d)?c=o:(a=(s=G()).height,r=s.width,c.top+=o.top-o.marginTop,c.bottom=a+o.top,c.left+=o.left-o.marginLeft,c.right=r+o.left)),c.left+=i,c.top+=i,c.right-=i,c.bottom-=i,c}function Z(e,t,i,n,s,o){var a,o=5<arguments.length&&void 0!==o?o:0;return-1===e.indexOf("auto")?e:(n=K(i,n,o,s),a={top:{width:n.width,height:t.top-n.top},right:{width:n.right-t.right,height:n.height},bottom:{width:n.width,height:n.bottom-t.bottom},left:{width:t.left-n.left,height:n.height}},(0<(s=(o=Object.keys(a).map(function(e){return y({key:e},a[e],{area:(e=a[e]).width*e.height})}).sort(function(e,t){return t.area-e.area})).filter(function(e){return e.width>=i.clientWidth&&e.height>=i.clientHeight})).length?s:o)[0].key+((t=e.split("-")[1])?"-"+t:""))}function Q(e,t,i){return X(i,f(t,i))}function J(e){var t=getComputedStyle(e),i=parseFloat(t.marginTop)+parseFloat(t.marginBottom),t=parseFloat(t.marginLeft)+parseFloat(t.marginRight);return{width:e.offsetWidth+t,height:e.offsetHeight+i}}function w(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function ee(e,t,i){i=i.split("-")[0];var e=J(e),n={width:e.width,height:e.height},s=-1!==["right","left"].indexOf(i),o=s?"top":"left",a=s?"left":"top",r=s?"height":"width",s=s?"width":"height";return n[o]=t[o]+t[r]/2-e[r]/2,n[a]=i===a?t[a]-e[s]:t[w(a)],n}function x(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function te(e,i,t){var n,s;return(void 0===t?e:e.slice(0,(e=e,n="name",s=t,Array.prototype.findIndex?e.findIndex(function(e){return e[n]===s}):(t=x(e,function(e){return e[n]===s}),e.indexOf(t))))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var t=e.function||e.fn;e.enabled&&$(t)&&(i.offsets.popper=b(i.offsets.popper),i.offsets.reference=b(i.offsets.reference),i=t(i,e))}),i}function ie(e,i){return e.some(function(e){var t=e.name;return e.enabled&&t===i})}function ne(e){for(var t=[!1,"ms","Webkit","Moz","O"],i=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length-1;n++){var s=t[n],s=s?""+s+i:e;if(void 0!==document.body.style[s])return s}return null}function se(e){e=e.ownerDocument;return e?e.defaultView:window}function oe(e,t,i,n){i.updateBound=n,se(e).addEventListener("resize",i.updateBound,{passive:!0});n=p(e);return function e(t,i,n,s){var o="BODY"===t.nodeName,t=o?t.ownerDocument.defaultView:t;t.addEventListener(i,n,{passive:!0}),o||e(p(t.parentNode),i,n,s),s.push(t)}(n,"scroll",i.updateBound,i.scrollParents),i.scrollElement=n,i.eventsEnabled=!0,i}function ae(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,se(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function re(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function le(i,n){Object.keys(n).forEach(function(e){var t="";-1!==["width","height","top","right","bottom","left"].indexOf(e)&&re(n[e])&&(t="px"),i.style[e]=n[e]+t})}function ce(e,t,i){var n,s=x(e,function(e){return e.name===t}),e=!!s&&e.some(function(e){return e.name===i&&e.enabled&&e.order<s.order});return e||(n="`"+t+"`",console.warn("`"+i+"`"+" modifier is required by "+n+" modifier in order to work, be sure to include it before "+n+"!")),e}var E=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],de=E.slice(3);function ue(e,t){t=1<arguments.length&&void 0!==t&&t,e=de.indexOf(e),e=de.slice(e+1).concat(de.slice(0,e));return t?e.reverse():e}var he="flip",pe="clockwise",fe="counterclockwise";function me(e,r,l,t){var s=[0,0],n=-1!==["right","left"].indexOf(t),t=e.split(/(\+|\-)/).map(function(e){return e.trim()}),e=t.indexOf(x(t,function(e){return-1!==e.search(/,|\s/)})),i=(t[e]&&-1===t[e].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."),/\s*,\s*|\s+/);return(-1!==e?[t.slice(0,e).concat([t[e].split(i)[0]]),[t[e].split(i)[1]].concat(t.slice(e+1))]:[t]).map(function(e,t){var a=(1===t?!n:n)?"height":"width",i=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,i=!0,e):i?(e[e.length-1]+=t,i=!1,e):e.concat(t)},[]).map(function(e){return t=a,i=r,n=l,s=+(o=(e=e).match(/((?:\-|\+)?\d*\.?\d*)(.*)/))[1],o=o[2],s?0===o.indexOf("%")?b("%p"===o?i:n)[t]/100*s:"vh"===o||"vw"===o?("vh"===o?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*s:s:e;var t,i,n,s,o})}).forEach(function(i,n){i.forEach(function(e,t){re(e)&&(s[n]+=e*("-"===i[t-1]?-1:1))})}),s}var ge={placement:"bottom",eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t,i,n,s=e.placement,o=s.split("-")[0];return(s=s.split("-")[1])&&(t=(i=e.offsets).reference,i=i.popper,n=(o=-1!==["bottom","top"].indexOf(o))?"width":"height",o={start:v({},o=o?"left":"top",t[o]),end:v({},o,t[o]+t[n]-i[n])},e.offsets.popper=y({},i,o[s])),e}},offset:{order:200,enabled:!0,fn:function(e,t){var t=t.offset,i=e.placement,n=(s=e.offsets).popper,s=s.reference,i=i.split("-")[0],o=void 0,o=re(+t)?[+t,0]:me(t,n,s,i);return"left"===i?(n.top+=o[0],n.left-=o[1]):"right"===i?(n.top+=o[0],n.left+=o[1]):"top"===i?(n.left+=o[0],n.top-=o[1]):"bottom"===i&&(n.left+=o[0],n.top+=o[1]),e.popper=n,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,n){var t=n.boundariesElement||d(e.instance.popper),s=(e.instance.reference===t&&(t=d(t)),K(e.instance.popper,e.instance.reference,n.padding,t)),t=(n.boundaries=s,n.priority),o=e.offsets.popper,i={primary:function(e){var t=o[e];return o[e]<s[e]&&!n.escapeWithReference&&(t=Math.max(o[e],s[e])),v({},e,t)},secondary:function(e){var t="right"===e?"left":"top",i=o[t];return o[e]>s[e]&&!n.escapeWithReference&&(i=Math.min(o[t],s[e]-("right"===e?o.width:o.height))),v({},t,i)}};return t.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";o=y({},o,i[t](e))}),e.offsets.popper=o,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=(i=e.offsets).popper,i=i.reference,n=e.placement.split("-")[0],s=Math.floor,o=(n=-1!==["top","bottom"].indexOf(n))?"right":"bottom",a=n?"left":"top",n=n?"width":"height";return t[o]<s(i[a])&&(e.offsets.popper[a]=s(i[a])-t[n]),t[a]>s(i[o])&&(e.offsets.popper[a]=s(i[o])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){if(ce(e.instance.modifiers,"arrow","keepTogether")){t=t.element;if("string"==typeof t){if(!(t=e.instance.popper.querySelector(t)))return e}else if(!e.instance.popper.contains(t))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var i=e.placement.split("-")[0],n=e.offsets,s=n.popper,n=n.reference,i=-1!==["left","right"].indexOf(i),o=i?"height":"width",a=i?"Top":"Left",r=a.toLowerCase(),l=i?"left":"top",i=i?"bottom":"right",c=J(t)[o],i=(n[i]-c<s[r]&&(e.offsets.popper[r]-=s[r]-(n[i]-c)),n[r]+c>s[i]&&(e.offsets.popper[r]+=n[r]+c-s[i]),e.offsets.popper=b(e.offsets.popper),n[r]+n[o]/2-c/2),n=u(e.instance.popper),d=parseFloat(n["margin"+a],10),n=parseFloat(n["border"+a+"Width"],10),a=i-e.offsets.popper[r]-d-n,a=Math.max(Math.min(s[o]-c,a),0);e.arrowElement=t,e.offsets.arrow=(v(i={},r,Math.round(a)),v(i,l,""),i)}return e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(l,c){if(!(ie(l.instance.modifiers,"inner")||l.flipped&&l.placement===l.originalPlacement)){var d=K(l.instance.popper,l.instance.reference,c.padding,c.boundariesElement),u=l.placement.split("-")[0],h=w(u),p=l.placement.split("-")[1]||"",f=[];switch(c.behavior){case he:f=[u,h];break;case pe:f=ue(u);break;case fe:f=ue(u,!0);break;default:f=c.behavior}f.forEach(function(e,t){if(u!==e||f.length===t+1)return l;u=l.placement.split("-")[0],h=w(u);var e=l.offsets.popper,i=l.offsets.reference,n=Math.floor,i="left"===u&&n(e.right)>n(i.left)||"right"===u&&n(e.left)<n(i.right)||"top"===u&&n(e.bottom)>n(i.top)||"bottom"===u&&n(e.top)<n(i.bottom),s=n(e.left)<n(d.left),o=n(e.right)>n(d.right),a=n(e.top)<n(d.top),e=n(e.bottom)>n(d.bottom),n="left"===u&&s||"right"===u&&o||"top"===u&&a||"bottom"===u&&e,r=-1!==["top","bottom"].indexOf(u),s=!!c.flipVariations&&(r&&"start"===p&&s||r&&"end"===p&&o||!r&&"start"===p&&a||!r&&"end"===p&&e);(i||n||s)&&(l.flipped=!0,(i||n)&&(u=f[t+1]),s&&(p="end"===(o=p)?"start":"start"===o?"end":o),l.placement=u+(p?"-"+p:""),l.offsets.popper=y({},l.offsets.popper,ee(l.instance.popper,l.offsets.reference,l.placement)),l=te(l.instance.modifiers,l,"flip"))})}return l},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,i=t.split("-")[0],n=(s=e.offsets).popper,s=s.reference,o=-1!==["left","right"].indexOf(i),a=-1===["top","left"].indexOf(i);return n[o?"left":"top"]=s[i]-(a?n[o?"width":"height"]:0),e.placement=w(t),e.offsets.popper=b(n),e}},hide:{order:800,enabled:!0,fn:function(e){if(ce(e.instance.modifiers,"hide","preventOverflow")){var t=e.offsets.reference,i=x(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<i.top||t.left>i.right||t.top>i.bottom||t.right<i.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var i=t.x,n=t.y,s=e.offsets.popper,o=(void 0!==(o=x(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration)&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!"),void 0!==o?o:t.gpuAcceleration),t=Y(d(e.instance.popper)),a={position:s.position},s={left:Math.floor(s.left),top:Math.floor(s.top),bottom:Math.floor(s.bottom),right:Math.floor(s.right)},i="bottom"===i?"top":"bottom",n="right"===n?"left":"right",r=ne("transform"),l=void 0,c=void 0,c="bottom"==i?-t.height+s.bottom:s.top,l="right"==n?-t.width+s.right:s.left,s=(o&&r?(a[r]="translate3d("+l+"px, "+c+"px, 0)",a[i]=0,a[n]=0,a.willChange="transform"):(t="right"==n?-1:1,a[i]=c*("bottom"==i?-1:1),a[n]=l*t,a.willChange=i+", "+n),{"x-placement":e.placement});return e.attributes=y({},s,e.attributes),e.styles=y({},a,e.styles),e.arrowStyles=y({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,i;return le(e.instance.popper,e.styles),t=e.instance.popper,i=e.attributes,Object.keys(i).forEach(function(e){!1!==i[e]?t.setAttribute(e,i[e]):t.removeAttribute(e)}),e.arrowElement&&Object.keys(e.arrowStyles).length&&le(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,i,n,s){var o=Q(0,t,e),o=Z(i.placement,o,t,e,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return t.setAttribute("x-placement",o),le(t,{position:"absolute"}),i},gpuAcceleration:void 0}}},A=(U(S,[{key:"update",value:function(){return function(){var e;this.state.isDestroyed||((e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}}).offsets.reference=Q(this.state,this.popper,this.reference),e.placement=Z(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.offsets.popper=ee(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position="absolute",e=te(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e)))}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,ie(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.left="",this.popper.style.position="",this.popper.style.top="",this.popper.style[ne("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=oe(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return ae.call(this)}}]),S);function S(e,t){var i=this,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},s=this,o=S;if(!(s instanceof o))throw new TypeError("Cannot call a class as a function");this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=W(this.update.bind(this)),this.options=y({},S.Defaults,n),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=t&&t.jquery?t[0]:t,this.options.modifiers={},Object.keys(y({},S.Defaults.modifiers,n.modifiers)).forEach(function(e){i.options.modifiers[e]=y({},S.Defaults.modifiers[e]||{},n.modifiers?n.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return y({name:e},i.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&$(e.onLoad)&&e.onLoad(i.reference,i.popper,i.options,e,i.state)}),this.update();s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}A.Utils=("undefined"!=typeof window?window:global).PopperUtils,A.placements=E,A.Defaults=ge;C="tooltip",k="."+(M="bs.tooltip"),ve=(T=t).fn[C],ye="bs-tooltip",be=new RegExp("(^|\\s)"+ye+"\\S+","g"),Ee={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!(xe={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"}),selector:!(we={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"}),placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},I="out",Ae={HIDE:"hide"+k,HIDDEN:"hidden"+k,SHOW:(z="show")+k,SHOWN:"shown"+k,INSERTED:"inserted"+k,CLICK:"click"+k,FOCUSIN:"focusin"+k,FOCUSOUT:"focusout"+k,MOUSEENTER:"mouseenter"+k,MOUSELEAVE:"mouseleave"+k},P="fade",_="show",Se=".tooltip-inner",Te=".arrow",D="hover",L="focus",Ce="click",Me="manual",O=(()=>{function s(e,t){if(void 0===A)throw new TypeError("Bootstrap tooltips require Popper.js (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(t),this.tip=null,this._setListeners()}var e,t,i=s.prototype;return i.enable=function(){this._isEnabled=!0},i.disable=function(){this._isEnabled=!1},i.toggleEnabled=function(){this._isEnabled=!this._isEnabled},i.toggle=function(e){var t,i;this._isEnabled&&(e?(t=this.constructor.DATA_KEY,(i=T(e.currentTarget).data(t))||(i=new this.constructor(e.currentTarget,this._getDelegateConfig()),T(e.currentTarget).data(t,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)):T(this.getTipElement()).hasClass(_)?this._leave(null,this):this._enter(null,this))},i.dispose=function(){clearTimeout(this._timeout),T.removeData(this.element,this.constructor.DATA_KEY),T(this.element).off(this.constructor.EVENT_KEY),T(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&T(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,(this._activeTrigger=null)!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},i.show=function(){var t=this;if("none"===T(this.element).css("display"))throw new Error("Please use show on visible elements");var e,i,n=T.Event(this.constructor.Event.SHOW);this.isWithContent()&&this._isEnabled&&(T(this.element).trigger(n),e=T.contains(this.element.ownerDocument.documentElement,this.element),!n.isDefaultPrevented())&&e&&(n=this.getTipElement(),e=o.getUID(this.constructor.NAME),n.setAttribute("id",e),this.element.setAttribute("aria-describedby",e),this.setContent(),this.config.animation&&T(n).addClass(P),e="function"==typeof this.config.placement?this.config.placement.call(this,n,this.element):this.config.placement,e=this._getAttachment(e),this.addAttachmentClass(e),i=!1===this.config.container?document.body:T(this.config.container),T(n).data(this.constructor.DATA_KEY,this),T.contains(this.element.ownerDocument.documentElement,this.tip)||T(n).appendTo(i),T(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new A(this.element,n,{placement:e,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:Te},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){t._handlePopperPlacementChange(e)}}),T(n).addClass(_),"ontouchstart"in document.documentElement&&T("body").children().on("mouseover",null,T.noop),i=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,T(t.element).trigger(t.constructor.Event.SHOWN),e===I&&t._leave(null,t)},o.supportsTransitionEnd()&&T(this.tip).hasClass(P)?T(this.tip).one(o.TRANSITION_END,i).emulateTransitionEnd(s._TRANSITION_DURATION):i())},i.hide=function(e){function t(){i._hoverState!==z&&n.parentNode&&n.parentNode.removeChild(n),i._cleanTipClass(),i.element.removeAttribute("aria-describedby"),T(i.element).trigger(i.constructor.Event.HIDDEN),null!==i._popper&&i._popper.destroy(),e&&e()}var i=this,n=this.getTipElement(),s=T.Event(this.constructor.Event.HIDE);T(this.element).trigger(s),s.isDefaultPrevented()||(T(n).removeClass(_),"ontouchstart"in document.documentElement&&T("body").children().off("mouseover",null,T.noop),this._activeTrigger[Ce]=!1,this._activeTrigger[L]=!1,this._activeTrigger[D]=!1,o.supportsTransitionEnd()&&T(this.tip).hasClass(P)?T(n).one(o.TRANSITION_END,t).emulateTransitionEnd(150):t(),this._hoverState="")},i.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},i.isWithContent=function(){return Boolean(this.getTitle())},i.addAttachmentClass=function(e){T(this.getTipElement()).addClass(ye+"-"+e)},i.getTipElement=function(){return this.tip=this.tip||T(this.config.template)[0],this.tip},i.setContent=function(){var e=T(this.getTipElement());this.setElementContent(e.find(Se),this.getTitle()),e.removeClass(P+" "+_)},i.setElementContent=function(e,t){var i=this.config.html;"object"==typeof t&&(t.nodeType||t.jquery)?i?T(t).parent().is(e)||e.empty().append(t):e.text(T(t).text()):e[i?"html":"text"](t)},i.getTitle=function(){return this.element.getAttribute("data-original-title")||("function"==typeof this.config.title?this.config.title.call(this.element):this.config.title)},i._getAttachment=function(e){return xe[e.toUpperCase()]},i._setListeners=function(){var i=this;this.config.trigger.split(" ").forEach(function(e){var t;"click"===e?T(i.element).on(i.constructor.Event.CLICK,i.config.selector,function(e){return i.toggle(e)}):e!==Me&&(t=e===D?i.constructor.Event.MOUSEENTER:i.constructor.Event.FOCUSIN,e=e===D?i.constructor.Event.MOUSELEAVE:i.constructor.Event.FOCUSOUT,T(i.element).on(t,i.config.selector,function(e){return i._enter(e)}).on(e,i.config.selector,function(e){return i._leave(e)})),T(i.element).closest(".modal").on("hide.bs.modal",function(){return i.hide()})}),this.config.selector?this.config=n({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},i._fixTitle=function(){var e=typeof this.element.getAttribute("data-original-title");!this.element.getAttribute("title")&&"string"==e||(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},i._enter=function(e,t){var i=this.constructor.DATA_KEY;(t=t||T(e.currentTarget).data(i))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),T(e.currentTarget).data(i,t)),e&&(t._activeTrigger["focusin"===e.type?L:D]=!0),T(t.getTipElement()).hasClass(_)||t._hoverState===z?t._hoverState=z:(clearTimeout(t._timeout),t._hoverState=z,t.config.delay&&t.config.delay.show?t._timeout=setTimeout(function(){t._hoverState===z&&t.show()},t.config.delay.show):t.show())},i._leave=function(e,t){var i=this.constructor.DATA_KEY;(t=t||T(e.currentTarget).data(i))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),T(e.currentTarget).data(i,t)),e&&(t._activeTrigger["focusout"===e.type?L:D]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=I,t.config.delay&&t.config.delay.hide?t._timeout=setTimeout(function(){t._hoverState===I&&t.hide()},t.config.delay.hide):t.hide())},i._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},i._getConfig=function(e){return"number"==typeof(e=n({},this.constructor.Default,T(this.element).data(),e)).delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),o.typeCheckConfig(C,e,this.constructor.DefaultType),e},i._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e},i._cleanTipClass=function(){var e=T(this.getTipElement()),t=e.attr("class").match(be);null!==t&&0<t.length&&e.removeClass(t.join(""))},i._handlePopperPlacementChange=function(e){this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},i._fixTransition=function(){var e=this.getTipElement(),t=this.config.animation;null===e.getAttribute("x-placement")&&(T(e).removeClass(P),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},s._jQueryInterface=function(i){return this.each(function(){var e=T(this).data(M),t="object"==typeof i&&i;if((e||!/dispose|hide/.test(i))&&(e||(e=new s(this,t),T(this).data(M,e)),"string"==typeof i)){if(void 0===e[i])throw new TypeError('No method named "'+i+'"');e[i]()}})},i=s,t=[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return Ee}},{key:"NAME",get:function(){return C}},{key:"DATA_KEY",get:function(){return M}},{key:"Event",get:function(){return Ae}},{key:"EVENT_KEY",get:function(){return k}},{key:"DefaultType",get:function(){return we}}],(e=null)&&N(i.prototype,e),t&&N(i,t),s})(),T.fn[C]=O._jQueryInterface,T.fn[C].Constructor=O,T.fn[C].noConflict=function(){return T.fn[C]=ve,O._jQueryInterface};var T,C,M,k,ve,ye,be,we,xe,Ee,z,I,Ae,P,_,Se,Te,D,L,Ce,Me,O,U=O,E=t;if(void 0===E)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");if((E=E.fn.jquery.split(" ")[0].split("."))[0]<2&&E[1]<9||1===E[0]&&9===E[1]&&E[2]<1||4<=E[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0");e.Util=o,e.Tooltip=U,Object.defineProperty(e,"__esModule",{value:!0})}),((e,t)=>{"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):((e=e||self).Vimeo=e.Vimeo||{},e.Vimeo.Player=t())})(this,function(){function s(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var e="undefined"!=typeof global&&"[object global]"==={}.toString.call(global);function o(e,t){return 0===e.indexOf(t.toLowerCase())?e:"".concat(t.toLowerCase()).concat(e.substr(0,1).toUpperCase()).concat(e.substr(1))}function l(e){return/^(https?:)?\/\/((player|www)\.)?vimeo\.com(?=$|\/)/.test(e)}function c(e){var t,e=0<arguments.length&&void 0!==e?e:{},i=e.id,e=i||e.url;if(!e)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(t=e,!isNaN(parseFloat(t))&&isFinite(t)&&Math.floor(t)==t)return"https://vimeo.com/".concat(e);if(l(e))return e.replace("http:","https:");if(i)throw new TypeError("“".concat(i,"” is not a valid video id."));throw new TypeError("“".concat(e,"” is not a vimeo.com url."))}var t=void 0!==Array.prototype.indexOf,i="undefined"!=typeof window&&void 0!==window.postMessage;if(!(e||t&&i))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var n,a,r="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function d(){if(void 0===this)throw new TypeError("Constructor WeakMap requires 'new'");if(a(this,"_id","_WeakMap_"+h()+"."+h()),0<arguments.length)throw new TypeError("WeakMap iterable is not supported")}function u(e,t){if(!p(e)||!n.call(e,"_id"))throw new TypeError(t+" method called on incompatible receiver "+typeof e)}function h(){return Math.random().toString().substring(2)}function p(e){return Object(e)===e}(t="undefined"!=typeof self?self:"undefined"!=typeof window?window:r).WeakMap||(n=Object.prototype.hasOwnProperty,t.WeakMap=((a=function(e,t,i){Object.defineProperty?Object.defineProperty(e,t,{configurable:!0,writable:!0,value:i}):e[t]=i})(d.prototype,"delete",function(e){var t;return u(this,"delete"),!!p(e)&&!(!(t=e[this._id])||t[0]!==e||(delete e[this._id],0))}),a(d.prototype,"get",function(e){var t;return u(this,"get"),p(e)&&(t=e[this._id])&&t[0]===e?t[1]:void 0}),a(d.prototype,"has",function(e){var t;return u(this,"has"),!!p(e)&&!(!(t=e[this._id])||t[0]!==e)}),a(d.prototype,"set",function(e,t){var i;if(u(this,"set"),p(e))return(i=e[this._id])&&i[0]===e?i[1]=t:a(e,this._id,[e,t]),this;throw new TypeError("Invalid value used as weak map key")}),a(d,"_polyfill",!0),d));(function(e){var t,i,n;n=function(){var t,i,n,s,o,e=Object.prototype.toString,a="undefined"!=typeof setImmediate?function(e){return setImmediate(e)}:setTimeout;try{Object.defineProperty({},"x",{}),t=function(e,t,i,n){return Object.defineProperty(e,t,{value:i,writable:!0,configurable:!1!==n})}}catch(e){t=function(e,t,i){return e[t]=i,e}}function r(e,t){this.fn=e,this.self=t,this.next=void 0}function l(e,t){v.add(e,t),i=i||a(v.drain)}function c(e){var t,i=typeof e;return"function"==typeof(t=null==e||"object"!=i&&"function"!=i?t:e.then)&&t}function d(){for(var e=0;e<this.chain.length;e++){i=t=o=s=n=void 0;var t,i,n=this,s=1===this.state?this.chain[e].success:this.chain[e].failure,o=this.chain[e];try{!1===s?o.reject(n.msg):(t=!0===s?n.msg:s.call(void 0,n.msg))===o.promise?o.reject(TypeError("Promise-chain cycle")):(i=c(t))?i.call(t,o.resolve,o.reject):o.resolve(t)}catch(e){o.reject(e)}}this.chain.length=0}function u(e){var i,n=this;if(!n.triggered){n.triggered=!0,n.def&&(n=n.def);try{(i=c(e))?l(function(){var t=new f(n);try{i.call(e,function(){u.apply(t,arguments)},function(){h.apply(t,arguments)})}catch(e){h.call(t,e)}}):(n.msg=e,n.state=1,0<n.chain.length&&l(d,n))}catch(e){h.call(new f(n),e)}}}function h(e){var t=this;t.triggered||(t.triggered=!0,(t=t.def?t.def:t).msg=e,t.state=2,0<t.chain.length&&l(d,t))}function p(e,i,n,s){for(var t=0;t<i.length;t++)(t=>{e.resolve(i[t]).then(function(e){n(t,e)},s)})(t)}function f(e){this.def=e,this.triggered=!1}function m(e){this.promise=e,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function g(e){if("function"!=typeof e)throw TypeError("Not a function");if(0!==this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var n=new m(this);this.then=function(e,t){var i={success:"function"!=typeof e||e,failure:"function"==typeof t&&t};return i.promise=new this.constructor(function(e,t){if("function"!=typeof e||"function"!=typeof t)throw TypeError("Not a function");i.resolve=e,i.reject=t}),n.chain.push(i),0!==n.state&&l(d,n),i.promise},this.catch=function(e){return this.then(void 0,e)};try{e.call(void 0,function(e){u.call(n,e)},function(e){h.call(n,e)})}catch(e){h.call(n,e)}}var v={add:function(e,t){o=new r(e,t),s?s.next=o:n=o,s=o},drain:function(){var e=n;for(n=s=i=void 0;e;)e.fn.call(e.self),e=e.next}},y=t({},"constructor",g,!1);return t(g.prototype=y,"__NPO__",0,!1),t(g,"resolve",function(i){return i&&"object"==typeof i&&1===i.__NPO__?i:new this(function(e,t){if("function"!=typeof e||"function"!=typeof t)throw TypeError("Not a function");e(i)})}),t(g,"reject",function(i){return new this(function(e,t){if("function"!=typeof e||"function"!=typeof t)throw TypeError("Not a function");t(i)})}),t(g,"all",function(t){var a=this;return"[object Array]"!=e.call(t)?a.reject(TypeError("Not an array")):0===t.length?a.resolve([]):new a(function(i,e){if("function"!=typeof i||"function"!=typeof e)throw TypeError("Not a function");var n=t.length,s=Array(n),o=0;p(a,t,function(e,t){s[e]=t,++o===n&&i(s)},e)})}),t(g,"race",function(t){var n=this;return"[object Array]"!=e.call(t)?n.reject(TypeError("Not an array")):new n(function(i,e){if("function"!=typeof i||"function"!=typeof e)throw TypeError("Not a function");p(n,t,function(e,t){i(t)},e)})}),g},(i=r)[t="Promise"]=i[t]||n(),e.exports&&(e.exports=i[t])})(i={exports:{}});var f=i.exports,m=new WeakMap;function g(e,t,i){var n=m.get(e.element)||{};t in n||(n[t]=[]),n[t].push(i),m.set(e.element,n)}function v(e,t){return(m.get(e.element)||{})[t]||[]}function y(e,t,i){var n=m.get(e.element)||{};return!n[t]||(i?(-1!==(i=n[t].indexOf(i))&&n[t].splice(i,1),m.set(e.element,n),n[t]&&0===n[t].length):(n[t]=[],m.set(e.element,n),!0))}var b=["autopause","autoplay","background","byline","color","controls","dnt","height","id","loop","maxheight","maxwidth","muted","playsinline","portrait","responsive","speed","texttrack","title","transparent","url","width"];function w(n,e){return b.reduce(function(e,t){var i=n.getAttribute("data-vimeo-".concat(t));return!i&&""!==i||(e[t]=""===i?1:i),e},1<arguments.length&&void 0!==e?e:{})}function x(e,t){var i,e=e.html;if(t)return null===t.getAttribute("data-vimeo-initialized")&&((i=document.createElement("div")).innerHTML=e,t.appendChild(i.firstChild),t.setAttribute("data-vimeo-initialized","true")),t.querySelector("iframe");throw new TypeError("An element must be provided")}function E(o,e,t){var a=1<arguments.length&&void 0!==e?e:{},r=2<arguments.length?t:void 0;return new Promise(function(t,i){if(!l(o))throw new TypeError("“".concat(o,"” is not a vimeo.com url."));var e,n="https://vimeo.com/api/oembed.json?url=".concat(encodeURIComponent(o));for(e in a)a.hasOwnProperty(e)&&(n+="&".concat(e,"=").concat(encodeURIComponent(a[e])));var s=new("XDomainRequest"in window?XDomainRequest:XMLHttpRequest);s.open("GET",n,!0),s.onload=function(){if(404===s.status)i(new Error("“".concat(o,"” was not found.")));else if(403===s.status)i(new Error("“".concat(o,"” is not embeddable.")));else try{var e=JSON.parse(s.responseText);403===e.domain_status_code?(x(e,r),i(new Error("“".concat(o,"” is not embeddable.")))):t(e)}catch(e){i(e)}},s.onerror=function(){var e=s.status?" (".concat(s.status,")"):"";i(new Error("There was an error fetching the embed code from Vimeo".concat(e,".")))},s.send()})}function A(e){function i(e){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(e))}e=0<arguments.length&&void 0!==e?e:document,e=[].slice.call(e.querySelectorAll("[data-vimeo-id], [data-vimeo-url]"));e.forEach(function(t){try{var e;null===t.getAttribute("data-vimeo-defer")&&E(c(e=w(t)),e,t).then(function(e){return x(e,t)}).catch(i)}catch(e){i(e)}})}function S(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){return console.warn(e),{}}return e}function T(e,t,i){e.element.contentWindow&&e.element.contentWindow.postMessage&&(t={method:t},void 0!==i&&(t.value=i),8<=(i=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1")))&&i<10&&(t=JSON.stringify(t)),e.element.contentWindow.postMessage(t,e.origin))}function C(i,n){var t,e,s,o,a=[];(n=S(n)).event?("error"===n.event&&v(i,n.data.method).forEach(function(e){var t=new Error(n.data.message);t.name=n.data.name,e.reject(t),y(i,n.data.method,e)}),a=v(i,"event:".concat(n.event)),t=n.data):n.method&&(e=i,s=n.method,s=!((o=v(e,s)).length<1)&&(y(e,s,e=o.shift()),e))&&(a.push(s),t=n.value),a.forEach(function(e){try{"function"==typeof e?e.call(i,t):e.resolve(t)}catch(e){}})}var M=new WeakMap,k=new WeakMap,t=(()=>{function n(o){var a=this,i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},e=this,t=n;if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");if(window.jQuery&&o instanceof jQuery&&(1<o.length&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),o=o[0]),"undefined"!=typeof document&&"string"==typeof o&&(o=document.getElementById(o)),e=o,!Boolean(e&&1===e.nodeType&&"nodeName"in e&&e.ownerDocument&&e.ownerDocument.defaultView))throw new TypeError("You must pass either a valid element or a valid id.");var r=o.ownerDocument.defaultView;if("IFRAME"===(o="IFRAME"!==o.nodeName&&(t=o.querySelector("iframe"))?t:o).nodeName&&!l(o.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(M.has(o))return M.get(o);this.element=o,this.origin="*";e=new f(function(n,s){function e(e){var t,i;l(e.origin)&&a.element.contentWindow===e.source&&("*"===a.origin&&(a.origin=e.origin),(e=S(e.data))&&"error"===e.event&&e.data&&"ready"===e.data.method?((t=new Error(e.data.message)).name=e.data.name,s(t)):(t=e&&"ready"===e.event,i=e&&"ping"===e.method,t||i?(a.element.setAttribute("data-ready","true"),n()):C(a,e)))}var t;r.addEventListener?r.addEventListener("message",e,!1):r.attachEvent&&r.attachEvent("onmessage",e),"IFRAME"!==a.element.nodeName&&E(c(t=w(o,i)),t,o).then(function(e){var t,i,n=x(e,o);return a.element=n,a._originalElement=o,t=o,n=n,i=m.get(t),m.set(n,i),m.delete(t),M.set(a.element,a),e}).catch(s)});return k.set(this,e),M.set(this.element,this),"IFRAME"===this.element.nodeName&&T(this,"ping"),this}var e,t,i;return e=n,(t=[{key:"callMethod",value:function(i){var n=this,s=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return new f(function(e,t){return n.ready().then(function(){g(n,i,{resolve:e,reject:t}),T(n,i,s)}).catch(t)})}},{key:"get",value:function(i){var n=this;return new f(function(e,t){return i=o(i,"get"),n.ready().then(function(){g(n,i,{resolve:e,reject:t}),T(n,i)}).catch(t)})}},{key:"set",value:function(i,n){var s=this;return new f(function(e,t){if(i=o(i,"set"),null==n)throw new TypeError("There must be a value to set.");return s.ready().then(function(){g(s,i,{resolve:e,reject:t}),T(s,i,n)}).catch(t)})}},{key:"on",value:function(e,t){if(!e)throw new TypeError("You must pass an event name.");if(!t)throw new TypeError("You must pass a callback function.");if("function"!=typeof t)throw new TypeError("The callback must be a function.");0===v(this,"event:".concat(e)).length&&this.callMethod("addEventListener",e).catch(function(){}),g(this,"event:".concat(e),t)}},{key:"off",value:function(e,t){if(!e)throw new TypeError("You must pass an event name.");if(t&&"function"!=typeof t)throw new TypeError("The callback must be a function.");y(this,"event:".concat(e),t)&&this.callMethod("removeEventListener",e).catch(function(e){})}},{key:"loadVideo",value:function(e){return this.callMethod("loadVideo",e)}},{key:"ready",value:function(){var e=k.get(this)||new f(function(e,t){t(new Error("Unknown player. Probably unloaded."))});return f.resolve(e)}},{key:"addCuePoint",value:function(e){return this.callMethod("addCuePoint",{time:e,data:1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}})}},{key:"removeCuePoint",value:function(e){return this.callMethod("removeCuePoint",e)}},{key:"enableTextTrack",value:function(e,t){if(e)return this.callMethod("enableTextTrack",{language:e,kind:t});throw new TypeError("You must pass a language.")}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var t=this;return new f(function(e){k.delete(t),M.delete(t.element),t._originalElement&&(M.delete(t._originalElement),t._originalElement.removeAttribute("data-vimeo-initialized")),t.element&&"IFRAME"===t.element.nodeName&&t.element.parentNode&&t.element.parentNode.removeChild(t.element),e()})}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(e){return this.set("autopause",e)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getColor",value:function(){return this.get("color")}},{key:"setColor",value:function(e){return this.set("color",e)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(e){return this.set("currentTime",e)}},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(e){return this.set("loop",e)}},{key:"setMuted",value:function(e){return this.set("muted",e)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(e){return this.set("playbackRate",e)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(e){return this.set("volume",e)}}])&&s(e.prototype,t),i&&s(e,i),n})();return e||(A(),function(e){var n=0<arguments.length&&void 0!==e?e:document;window.VimeoPlayerResizeEmbeds_||(window.VimeoPlayerResizeEmbeds_=!0,e=function(e){if(l(e.origin)&&e.data&&"spacechange"===e.data.event)for(var t=n.querySelectorAll("iframe"),i=0;i<t.length;i++)if(t[i].contentWindow===e.source){t[i].parentElement.style.paddingBottom="".concat(e.data.data[0].bottom,"px");break}},window.addEventListener?window.addEventListener("message",e,!1):window.attachEvent&&window.attachEvent("onmessage",e))}()),t});