1(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{"+4mo":function(t,e,n){"use strict";var i={props:{name:String,delegateOpenState:Boolean,openState:Boolean,autoCloseOnClickOutside:{type:Boolean,default:!0},showOpenButton:{type:Boolean,default:!0},showOpenIcon:Boolean,optionsMode:{type:String,default:"dropdown",validator:function(t){return["dropdown","static"].includes(t)}},optionsDirection:{type:String,default:"auto",validator:function(t){return["auto","downwards","upwards"].includes(t)}},optionsContainer:String,transition:{type:String,default:"collapse",validator:function(t){return["collapse","fade"].includes(t)}}},data:function(){return{open:!1,isAutoCloseOptionsEventHandlerAttached:!1,controlOptionsElement:null}},computed:{isOpen:function(){return!this.showOpenButton||(this.delegateOpenState?this.openState:this.open)}},methods:{beforeOpenOptions:function(){},openOptions:function(){this.beforeOpenOptions(),this.delegateOpenState?this.$emit("open",this.name):this.open=!0,this.attachAutoCloseOptionsEventHandler(),this.afterOpenOptions()},afterOpenOptions:function(){},beforeCloseOptions:function(){},closeOptions:function(){this.beforeCloseOptions(),this.delegateOpenState?this.$emit("close",this.name):this.open=!1,this.removeAutoCloseOptionsEventHandler(),this.afterCloseOptions()},afterCloseOptions:function(){},toggleOptions:function(){this.isOpen?this.closeOptions():this.openOptions()},attachAutoCloseOptionsEventHandler:function(){var t=this;this.autoCloseOnClickOutside&&!this.isAutoCloseOptionsEventHandlerAttached&&(setTimeout((function(){document.addEventListener("click",t.autoCloseOptionsEventHandler)}),0),this.isAutoCloseOptionsEventHandlerAttached=!0)},removeAutoCloseOptionsEventHandler:function(){this.isAutoCloseOptionsEventHandlerAttached&&(document.removeEventListener("click",this.autoCloseOptionsEventHandler),this.isAutoCloseOptionsEventHandlerAttached=!1)},autoCloseOptionsEventHandler:function(t){t.composedPath().includes(this.$el)||this.closeOptions()},calculateOptionsOpeningDirection:function(t){if(t){var e=this.optionsDirection;if("auto"==e){var n=this.$el.getBoundingClientRect();e=window.innerHeight-(n.bottom+this.$root.maxControlOptionsHeight+10)<0&&n.top-this.$root.maxControlOptionsHeight-10>this.$root.contentTopOffset?"upwards":"downwards"}this.setOpenOptionsDirection(t,e)}},setOpenOptionsDirection:function(t,e){switch(e){case"upwards":t.classList.add("upwards");break;case"downwards":t.classList.remove("upwards")}}},watch:{openState:function(t,e){t!=e&&(t?this.attachAutoCloseOptionsEventHandler():this.removeAutoCloseOptionsEventHandler())}}},o=n("KHd+"),a=Object(o.a)(i,void 0,void 0,!1,null,null,null);e.a=a.exports},"0Upe":function(t,e,n){function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,(a=o.key,s=void 0,s=function(t,e){if("object"!==i(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!==i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(a,"string"),"symbol"===i(s)?s:String(s)),o)}var a,s}n("OWSx"),function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n,i;return e=t,i=[{key:"bind",value:function(){window.FancyboxManagerBinded||($((function(){$("[data-fancybox]").fancybox({preventCaptionOverlap:!1,toolbar:!0,thumbs:{autoStart:!0},mobile:{thumbs:{autoStart:!1}},onInit:function(t,e){$.each(t.group,(function(t,e){if(e.$thumb){var n=e.$thumb.attr("src"),i=e.$thumb.data("src");i&&0===n.indexOf("data:")&&(e.thumb=i)}}))}})})),window.FancyboxManagerBinded=!0)}}],(n=null)&&o(e.prototype,n),i&&o(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}().bind()},"3ocG":function(t,e,n){"use strict";n.r(e);var i=n("uqBF"),o=n.n(i),a={name:"Dropdown",props:{name:String,value:String,options:Array,variant:String,size:String,classes:[String,Array],width:{type:String,default:"fit"}},data:function(){return{dropdownInstance:null}}
1,computed:{cssClasses:function(){var t=["btn"];return Array.isArray(this.classes)&&this.classes.length?t.merge(this.classes):this.classes&&t.push(this.classes),this.variant&&t.push("btn-".concat(this.variant)),this.size&&t.push("btn-".concat(this.size)),t},label:function(){return this.placeholder}},mounted:function(){this.initDropdown(),this.attachEvents()},methods:{initDropdown:function(){this.dropdownInstance=new o.a(this.$refs.select,{style:this.cssClasses.join(" ")})},attachEvents:function(){var t=this;$(this.$refs.select).on("changed.bs.select",(function(e,n,i,o){t.$emit("input",t.options[n].value)}))}},watch:{options:function(t,e){var n=this;t!=e&&this.$nextTick((function(){return n.dropdownInstance.refresh()}))},value:function(t,e){var n=this;t!=e&&this.$nextTick((function(){return n.dropdownInstance.refresh()}))}}},s=n("KHd+"),l=Object(s.a)(a,(function(){var t=this,e=t._self._c;return e("select",{ref:"select",attrs:{name:t.name,"data-width":t.width}},t._l(t.options,(function(n){return e("option",{key:n.value,domProps:{value:n.value,selected:t.value==n.value}},[t._v(t._s(n.label))])})),0)}),[],!1,null,null,null).exports,r=n("M/KR"),c=n.n(r),u=n("97ZQ"),h=n("v4L8"),d=n("rrt1"),p=n("H8Oj"),g=n("vxtp"),f=n("+4mo"),m={name:"FormIncrementer",mixins:[f.a],components:{FormControlButton:p.a,FormControlOptions:g.a},props:{min:[Number,String],max:[Number,String],step:{type:[Number,String],default:1},options:Array,placeholder:String,title:String,subtitle:String,value:[Array,Number,Object,String],icon:String,iconStyle:{type:String,default:"fal"},useValueAsLabel:Boolean,showBadge:Boolean,showFooter:{type:Boolean,default:!0},autoApply:Boolean,note:String},data:function(){return{originalValue:null,intervalInstance:null}},computed:{hasValue:function(){var t;return this.options?null===(t=this.value)||void 0===t?void 0:t.value:this.value},effectiveValue:function(){return this.value?this.options?this.value.value:this.value:null},valueLabel:function(){return this.value?this.options?this.value.label:this.value:this.placeholder},label:function(){return this.useValueAsLabel&&this.value?this.options?this.value.label:this.value:this.placeholder},badge:function(){var t;return this.showBadge&&this.hasValue?this.options?null===(t=this.value)||void 0===t?void 0:t.label:this.value:null},currentOption:function(){this.value},startValue:function(){return this.originalValue||(this.options?this.options[0]:parseFloat(this.min)||1)}},created:function(){this.originalValue=this.value},methods:{increment:function(){var t=this;if(this.value){var e;if(this.options)e=this.options[Math.min(this.options.length-1,this.options.findIndex((function(e){return e.value==t.value.value}))+1)];else{var n=this.value+parseFloat(this.step);e=this.max?Math.min(this.max,n):n}this.$emit("input",e)}else this.$emit("input",this.startValue)},decrement:function(){var t=this;if(this.value){var e;if(this.options)e=this.options[Math.max(0,this.options.findIndex((function(e){return e.value==t.value.value}))-1)];else{var n=this.value?this.value-parseFloat(this.step):this.startValue;e=this.min?Math.max(this.min,n):n}this.$emit("input",e)}else this.$emit("input",this.startValue)},startIncrement:function(){var t=this;document.addEventListener("mouseup",this.stopIncrement),document.addEventListener("touchend",this.stopIncrement),document.addEventListener("touchcancel",this.stopIncrement),this.increment(),this.intervalInstance=setTimeout((function(){t.intervalInstance=setInterval((function(){t.increment()}),200)}),500)},stopIncrement:function(){document.removeEventListener("mouseup",this.stopIncrement),document.removeEventListener("touchend",this.stopIncrement),document.removeEventListener("touchcancel",this.stopIncrement),clearInterval(this.intervalInstance)},startDecrement:function(){var t=this;document.addEventListener("mouseup",this.stopDecrement),document.addEventListener("touchend",this.stopDecrement),document.addEventListener("touchcancel",this.stopDecrement),this.decrement(),this.intervalInstance=setTimeout((function(){t.intervalInstance=setInterval((function(){t.decrement()}),200)}),500)},stopDecrement:function(){document.removeEventListener("mouseup",this.stopDecrement),document.removeEventListener("touchend",this.stopDecrement),document.removeEventListener("touchcancel",this.stopDecrement),clearInterval(this.intervalInstance)},apply:function(){var t;this.$emit("input",this.options?null===(t=this.options[this.currentValue])||void 0===t?void 0:t.value:this.currentValue),this.autoCloseOnApply&&!this.delegateOpenState&&this.closeOptions()}}},v=Object(s.a)(m,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"form-control-container form-incrementer",class:{"label-placeholder":!t.hasValue,"label-value":t.useValueAsLabel&&t.hasValue}},[t.showOpenButton?e("form-control-button",{attrs:{placeholder:t.placeholder,value:t.label,label:t.label,badge:t.badge,icon:t.icon,iconStyle:t.iconStyle,"show-open-icon":t.showOpenIcon,open:t.isOpen},on:{click:t.toggleOptions}}):t._e(),t._v(" "),e("form-control-options",{ref:"controlOptions",attrs:{container:t.optionsContainer,transition:t.transition,title:t.title||t.placeholder,subtitle:t.subtitle,mode:t.optionsMode,direction:t.optionsDirection,open:t.isOpen,"calculate-height-on-mounted":"auto"==t.o
1ptionsDirection}},[e("div",{staticClass:"d-flex flex-row flex-md-column align-items-center justfy-content-md-center gap-md-2",class:{"justify-content-between":t.note,"justify-content-center":!t.note}},[t.note?e("div",{staticClass:"form-incrementer-note",domProps:{innerHTML:t._s(t.note)}}):t._e(),t._v(" "),e("div",{staticClass:"d-flex flex-row justify-content-center align-items-center gap-3"},[e("button",{staticClass:"btn btn-alt form-incrementer-btn",attrs:{type:"button"},on:{mousedown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"left",37,e.key,["Left","ArrowLeft"])?null:(e.preventDefault(),e.stopPropagation(),"button"in e&&0!==e.button?null:t.startDecrement.apply(null,arguments))},touchstart:function(e){return e.preventDefault(),e.stopPropagation(),t.startDecrement.apply(null,arguments)}}},[e("i",{staticClass:"far fa-minus fa-fw"})]),t._v(" "),e("div",{staticClass:"form-incrementer-value"},[t._v(t._s(t.valueLabel))]),t._v(" "),e("button",{staticClass:"btn btn-alt form-incrementer-btn",attrs:{type:"button"},on:{mousedown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"left",37,e.key,["Left","ArrowLeft"])?null:(e.preventDefault(),e.stopPropagation(),"button"in e&&0!==e.button?null:t.startIncrement.apply(null,arguments))},touchstart:function(e){return e.preventDefault(),e.stopPropagation(),t.startIncrement.apply(null,arguments)}}},[e("i",{staticClass:"far fa-plus fa-fw"})])])]),t._v(" "),t.showFooter?e("div",{staticClass:"form-select-footer"},[e("div"),t._v(" "),e("button",{staticClass:"btn btn-primary self-end form-select-footer-button-apply",attrs:{type:"button"},on:{click:t.apply}},[t._v("Apply")])]):t._e()])],1)}),[],!1,null,null,null).exports;function b(t){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function y(t){return function(t){if(Array.isArray(t))return w(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return w(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return w(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function x(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function S(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?x(Object(n),!0).forEach((function(e){C(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function C(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==b(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!==b(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===b(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var _={name:"FormRange",mixins:[f.a],components:{FormControlButton:p.a,FormControlOptions:g.a},props:{default:null,min:[Number,String],max:[Number,String],step:{type:[Number,String],default:1},minSeparation:[Number,String],placeholder:String,title:String,subtitle:String,value:Array,icon:String,iconStyle:{type:String,default:"fal"},useValueAsLabel:Boolean,showBadge:Boolean,showFooter:{type:Boolean,default:!0},format:{type:[String,Function],validator:function(t){return"function"==typeof t||["number","currency"].includes(t)}},formatCurrency:String},data:function(){return{trackWidth:null,drag:{knob:null,startPosition:null,startValue:null,previousValue:null},dragOriginalValue:null}},computed:{hasValue:function(){return this.minValue!=this.min||this.maxValue!=this.max},label:function(){return this.useValueAsLabel?this.currentValue:this.placeholder},badge:function(){return this.showBadge&&this.hasValue?"".concat(this.formatValue(this.minValue)," - ").concat(this.formatValue(this.maxValue)):null},minValue:function(){return Math.max(this.min,parseFloat(Array.isArray(this.value)&&![void 0,null].includes(this.value[0])?this.value[0]:this.min))},maxValue:function(){return Math.min(this.max,parseFloat(Array.isArray(this.value)&&![void 0,null].includes(this.value[1])?this.value[1]:this.max))},knobMinPosition:function(){return(this.minValue-this.min)/(this.max-this.min)*this.trackWidth},knobMaxPosition:function(){return(this.maxValue-this.min)/(this.max-this.min)*this.trackWidth},formattedMinValue:function(){return this.formatValue(this.minValue)},formattedMaxValue:function(){return this.formatValue(this.maxValue)}},created:function(){this.value?this.ensureValidRange(this.value[0],this.value[1]):this.value=[this.min,this.max],window.addEventListener("resize",this.updateTrackWidth)},mounted:function(){this.initRangeSelector()},methods:{afterOpenOptions:function(){this.$nextTick(this.initRangeSelector)},initRangeSelector:function(){if(this.isOpen){var t=this;$(this.$refs["knob-min"]).tooltip({title:function(){return t.formattedMinValue}}),$(this.$refs["knob-max"]).tooltip({title:function(){return t.formattedMaxValue}}),this.updateTrackWidth()}},getTrackWidth:function(){var t;return(null===(t=this.$refs.slider)||void 0===t?void 0:t.clientWidth)||1},updateTrackWidth:function(){this.trackWidth=this.getTrackWidth()},startDrag:function(t,e){this.dragOriginalValue=S({},this.drag),this.drag.knob=t,this.drag.startPosition="touchstart"===e.type?e.touches[0].clientX:e.clientX,this.drag.startValue=[this.minValue,this.maxValue],document.addEventListener("mousemove",this.dragKnob),document.addEventListener("mouseup",this.stopDrag),document.addEventListener("touchmove",this.dragKnob),document.addEventListener("touchend",this.stopDrag),document.addEventListener("touchcancel",this.stopDrag)},dragKnob:function(t){var e=("touchmove"===t.type?t.touches[0].clientX:t.clientX)-this.drag.startPosition,n=y(this.drag.startValue);n[this.drag.knob]=this.roundToStep(n[this.drag.knob]+e/this.trackWidth*(this.max-this.min));var i=parseFloat(this.minSeparation||this.step);n[1]-n[0]<i&&(0===this.drag.knob?(n[1]=n[0]+i,this.drag.startValue[1]=n[1]):(n[0]=n[1]-i,this.drag.startValue[0]=n[0])),n[0]=Math.min(Math.max(this.min,n[0]),this.max-i),n[1]=Math.max(Math.min(this.max,n[1]),this.min+i),(this.drag.previousValue||n[0]==this.drag.startValue[0]&&n[1]==this.drag.startValue[1])&&(!this.drag.previousValue||n[0]==this.drag.previousValue[0]&&n[1]==this.drag.previousValue[1])||(this.drag.previousValue=n,this.$emit("input",n))},stopDrag:function(){document.removeEventListener("mousemove",this.dragKnob),document.removeEventListener("mouseup",this.stopDrag),document.removeEventListener("touchmove",this.dragKnob),document.removeEventListener("touchend",this.stopDrag),document.removeEventListener("touchcancel",this.stopDrag),this.drag=S({},this.dragOriginalValue)},roundToStep:function(t){return Math.round(t/this.step)*this.step},formatValue:function(t){if(!this.format)return t;switch("function"==typeof this.format&&this.format(t),this.format){case"number":return new Intl.NumberFormat("en-GB",{style:"decimal"}).format(t);case"currency":return new Intl.NumberFormat("en-GB",{style:"currency",currency:this.formatCurrency,currencyDisplay:"narrowSymbol",maximumFractionDigits:0}).format(t).replace(/^(\D+)/,"$1 ").replace(/\s+/," ")}},ensureValidRange:function(t,e){return!(Math.min(t,e)<this.min||Math.max(t,e)>this.max)||(this.$emit("input",[Math.max(this.min,Math.min(t,e)),Math.min(this.max,Math.max(t,e))]),!1)}},watch:{value:function(t,e){if(t[0]!=e[0]||t[1]!=e[1]){if(!this.ensureValidRange(t[0],t[1]))return;this.isOpen&&($($(this.$refs["knob-min"]).data("bs.tooltip").getTipElement()).is(":visible")&&$(this.$refs["knob-min"]).tooltip("show"),$($(this.$refs["knob-max"]).data("bs.tooltip").getTipElement()).is(":visible")&&$(this.$refs["knob-max"]).tooltip("show"))}}}},M=Object(s.a)(_,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"form-control-container form-range",class:{"label-placeholder":!t.hasValue,"label-value":t.useValueAsLabel&&t.hasValue}},[e("form-control-button",{attrs:{placeholder:t.placeholder,value:t.label,label:t.label,badge:t.badge,icon:t.icon,iconStyle:t.iconStyle,"show-open-icon":t.showOpenIcon,open:t.isOpen},on:{click:t.toggleOptions}}),t._v(" "),e("form-control-options",{ref:"controlOptions",attrs:{container:t.optionsContainer,transition:t.transition,title:t.title||t.placeholder,subtitle:t.subtitle,mode:t.optionsMode,direction:t.optionsDirection,open:t.isOpen,"calculate-height-on-mounted":"auto"==t.o
1ptionsDirection}},[e("div",{staticClass:"d-flex flex-column gap-3 p-2"},[e("div",{staticClass:"d-flex flex-row align-items-start gap-3"},[e("div",{staticClass:"form-range-value d-flex flex-row gap-3"},[e("div",{staticClass:"d-flex flex-column"},[e("div",{staticClass:"fs-10 text-uppercase"},[t._v("From")]),t._v(" "),e("div",{staticClass:"font-weight-bold"},[t._v(t._s(t.formattedMinValue))])]),t._v(" "),e("div",{staticClass:"align-self-end fs-10",staticStyle:{"margin-bottom":"3px"}},[t._v("to")]),t._v(" "),e("div",{staticClass:"d-flex flex-column"},[e("div",{staticClass:"fs-10 text-uppercase"},[t._v("Up to")]),t._v(" "),e("div",{staticClass:"font-weight-bold"},[t._v(t._s(t.formattedMaxValue))])])]),t._v(" "),e("div",[t._t("default")],2)]),t._v(" "),e("div",{ref:"slider",staticClass:"form-range-slider"},[e("div",{staticClass:"form-range-active-track",style:{left:"".concat(t.knobMinPosition,"px"),width:"".concat(t.knobMaxPosition-t.knobMinPosition,"px")}}),t._v(" "),e("div",{ref:"knob-min",staticClass:"form-range-knob form-range-knob-min",class:{dragging:0===this.drag.knob},style:{left:"".concat(t.knobMinPosition,"px"),cursor:t.minValue===t.min?"e-resize":"ew-resize"},on:{mousedown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"left",37,e.key,["Left","ArrowLeft"])?null:(e.preventDefault(),e.stopPropagation(),"button"in e&&0!==e.button?null:t.startDrag(0,e))},touchstart:function(e){return e.preventDefault(),e.stopPropagation(),t.startDrag(0,e)}}}),t._v(" "),e("div",{ref:"knob-max",staticClass:"form-range-knob form-range-knob-max",class:{dragging:1===this.drag.knob},style:{left:"".concat(t.knobMaxPosition,"px"),cursor:t.maxValue===t.max?"w-resize":"ew-resize"},on:{mousedown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"left",37,e.key,["Left","ArrowLeft"])?null:(e.preventDefault(),e.stopPropagation(),"button"in e&&0!==e.button?null:t.startDrag(1,e))},touchstart:function(e){return e.preventDefault(),e.stopPropagation(),t.startDrag(1,e)}}})])]),t._v(" "),t.showFooter?e("div",{staticClass:"form-select-footer"},[e("div"),t._v(" "),e("button",{staticClass:"btn btn-primary self-end form-select-footer-button-apply",attrs:{type:"button"},on:{click:t.apply}},[t._v("Apply")])]):t._e()])],1)}),[],!1,null,null,null).exports,k=n("hBhx"),T=function(t,e){return(T=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function O(t,e){function n(){this.constructor=t}T(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var P=function(){return(P=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};var E=function t(){!function(t,e){for(var n in e.prototype)t.prototype[n]=e.prototype[n]}(t,google.maps.OverlayView)};function A(t){return Object.keys(t).reduce((function(e,n){return t[n]&&e.push(n+":"+t[n]),e}),[]).join(";")}function I(t){return t?t+"px":void 0}var L=function(t){function e(e,n){var i=t.call(this)||this;return i.cluster_=e,i.styles_=n,i.center_=null,i.div_=null,i.sums_=null,i.visible_=!1,i.style=null,i.setMap(e.getMap()),i}return O(e,t),e.prototype.onAdd=function(){var t,e,n=this,i=this.cluster_.getMarkerClusterer(),o=google.maps.version.split("."),a=o[0],s=o[1],l=100*parseInt(a,10)+parseInt(s,10);this.div_=document.createElement("div"),this.visible_&&this.show(),this.getPanes().overlayMouseTarget.appendChild(this.div_),this.boundsChangedListener_=google.maps.event.addListener(this.getMap(),"bounds_changed",(function(){e=t})),google.maps.event.addDomListener(this.div_,"mousedown",(function(){t=!0,e=!1})),google.maps.event.addDomListener(this.div_,"contextmenu",(function(){google.maps.event.trigger(i,"contextmenu",n.cluster_)})),l>=332&&google.maps.event.addDomListener(this.div_,"touchstart",(function(t){t.stopPropagation()})),google.maps.event.addDomListener(this.div_,"click",(function(o){if(t=!1,!e){if(google.maps.event.trigger(i,"click",n.cluster_),google.maps.event.trigger(i,"clusterclick",n.cluster_),i.getZoomOnClick()){var a=i.getMaxZoom(),s=n.cluster_.getBounds();i.getMap().fitBounds(s),setTimeout((function(){i.getMap().fitBounds(s),null!==a&&i.getMap().getZoom()>a&&i.getMap().setZoom(a+1)}),100)}o.cancelBubble=!0,o.stopPropagation&&o.stopPropagation()}})),google.maps.event.addDomListener(this.div_,"mouseover",(function(){google.maps.event.trigger(i,"mouseover",n.cluster_)})),google.maps.event.addDomListener(this.div_,"mouseout",(function(){google.maps.event.trigger(i,"mouseout",n.cluster_)}))},e.prototype.onRemove=function(){this.div_&&this.div_.parentNode&&(this.hide(),google.maps.event.removeListener(this.boundsChangedListener_),google.maps.event.clearInstanceListeners(this.div_),this.div_.parentNode.removeChild(this.div_),this.div_=null)},e.prototype.draw=function(){if(this.visible_){var t=this.getPosFromLatLng_(this.center_);this.div_.style.top=t.y+"px",this.div_.style.left=t.x+"px"}},e.prototype.hide=function(){this.div_&&(this.div_.style.display="none"),this.visible_=!1},e.prototype.show=function(){this.div_&&(this.div_.className=this.className_,this.div_.style.cssText=this.createCss_(this.getPosFromLatLng_(this.center_)),this.div_.innerHTML=(this.style.url?this.getImageElementHtml():"")+this.getLabelDivHtml(),void 0===this.sums_.title||""===this.sums_.title?this.div_.title=this.cluster_.getMarkerClusterer().getTitle():this.div_.title=this.sums_.title,this.div_.style.display=""),this.visible_=!0},e.prototype.getLabelDivHtml=function(){var t=this.cluster_.getMarkerClusterer().ariaLabelFn(this.sums_.text),e={position:"absolute",top:I(this.anchorText_[0]),left:I(this.anchorText_[1]),color:this.style.textColor,"font-size":I(this.style.textSize),"font-family":this.style.fontFamily,"font-weight":this.style.fontWeight,"font-style":this.style.fontStyle,"text-decoration":this.style.textDecoration,"text-align":"center",width:I(this.style.width),"line-height":I(this.style.textLineHeight)};return'\n<div aria-label="'.concat(t,'" style="').concat(A(e),'" tabindex="0">\n <span aria-hidden="true">').concat(this.sums_.text,"</span>\n</div>\n")},e.prototype.getImageElementHtml=function(){var t=(this.style.backgroundPosition||"0 0").split(" "),e=parseInt(t[0].replace(/^\s+|\s+$/g,""),10),n=parseInt(t[1].replace(/^\s+|\s+$/g,""),10),i={};if(this.cluster_.getMarkerClusterer().getEnableRetinaIcons())i={width:I(this.style.width),height:I(this.style.height)};else{var o=[-1*n,-1*e+this.style.width,-1*n+this.style.height,-1*e],a=o[1],s=o[2],l=o[3];i={clip:"rect(".concat(o[0],"px, ").concat(a,"px, ").concat(s,"px, ").concat(l,"px)")}}var r=this.sums_.url?{width:"100%",height:"100%"}:{},c=A(P(P({position:"absolute",top:I(n),left:I(e)},i),r));return'<img alt="'.concat(this.sums_.text,'" aria-hidden="true" src="').concat(this.style.url,'" style="').concat(c,'"/>')},e.prototype.useStyle=function(t){this.sums_=t;var e=Math.max(0,t.index-1);e=Math.min(this.styles_.length-1,e),this.style=this.sums_.url?P(P({},this.styles_[e]),{url:this.sums_.url}):this.styles_[e],this.anchorText_=this.style.anchorText||[0,0],this.anchorIcon_=this.style.anchorIcon||[Math.floor(this.style.height/2),Math.floor(this.style.width/2)],this.className_=this.cluster_.getMarkerClusterer().getClusterClass()+" "+(this.style.className||"cluster-"+e)},e.prototype.setCenter=function(t){this.center_=t},e.prototype.createCss_=function(t){return A({"z-index":"".concat(this.cluster_.getMarkerClusterer().getZIndex()),top:I(t.y),left
vendor: 11,127 bytes, line 1
1:I(t.x),width:I(this.style.width),height:I(this.style.height),cursor:"pointer",position:"absolute","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-o-user-select":"none","user-select":"none"})},e.prototype.getPosFromLatLng_=function(t){var e=this.getProjection().fromLatLngToDivPixel(t);return e.x=Math.floor(e.x-this.anchorIcon_[1]),e.y=Math.floor(e.y-this.anchorIcon_[0]),e},e}(E),D=function(){function t(t){this.markerClusterer_=t,this.map_=this.markerClusterer_.getMap(),this.minClusterSize_=this.markerClusterer_.getMinimumClusterSize(),this.averageCenter_=this.markerClusterer_.getAverageCenter(),this.markers_=[],this.center_=null,this.bounds_=null,this.clusterIcon_=new L(this,this.markerClusterer_.getStyles())}return t.prototype.getSize=function(){return this.markers_.length},t.prototype.getMarkers=function(){return this.markers_},t.prototype.getCenter=function(){return this.center_},t.prototype.getMap=function(){return this.map_},t.prototype.getMarkerClusterer=function(){return this.markerClusterer_},t.prototype.getBounds=function(){for(var t=new google.maps.LatLngBounds(this.center_,this.center_),e=this.getMarkers(),n=0;n<e.length;n++)t.extend(e[n].getPosition());return t},t.prototype.remove=function(){this.clusterIcon_.setMap(null),this.markers_=[],delete this.markers_},t.prototype.addMarker=function(t){if(this.isMarkerAlreadyAdded_(t))return!1;if(this.center_){if(this.averageCenter_){var e=this.markers_.length+1,n=(this.center_.lat()*(e-1)+t.getPosition().lat())/e,i=(this.center_.lng()*(e-1)+t.getPosition().lng())/e;this.center_=new google.maps.LatLng(n,i),this.calculateBounds_()}}else this.center_=t.getPosition(),this.calculateBounds_();t.isAdded=!0,this.markers_.push(t);var o=this.markers_.length,a=this.markerClusterer_.getMaxZoom();if(null!==a&&this.map_.getZoom()>a)t.getMap()!==this.map_&&t.setMap(this.map_);else if(o<this.minClusterSize_)t.getMap()!==this.map_&&t.setMap(this.map_);else if(o===this.minClusterSize_)for(var s=0;s<o;s++)this.markers_[s].setMap(null);else t.setMap(null);return!0},t.prototype.isMarkerInClusterBounds=function(t){return this.bounds_.contains(t.getPosition())},t.prototype.calculateBounds_=function(){var t=new google.maps.LatLngBounds(this.center_,this.center_);this.bounds_=this.markerClusterer_.getExtendedBounds(t)},t.prototype.updateIcon=function(){var t=this.markers_.length,e=this.markerClusterer_.getMaxZoom();if(null!==e&&this.map_.getZoom()>e)this.clusterIcon_.hide();else if(t<this.minClusterSize_)this.clusterIcon_.hide();else{var n=this.markerClusterer_.getStyles().length,i=this.markerClusterer_.getCalculator()(this.markers_,n);this.clusterIcon_.setCenter(this.center_),this.clusterIcon_.useStyle(i),this.clusterIcon_.show()}},t.prototype.isMarkerAlreadyAdded_=function(t){if(this.markers_.indexOf)return-1!==this.markers_.indexOf(t);for(var e=0;e<this.markers_.length;e++)if(t===this.markers_[e])return!0;return!1},t}(),R=function(t,e,n){return void 0!==t[e]?t[e]:n},V=function(t){function e(n,i,o){void 0===i&&(i=[]),void 0===o&&(o={});var a=t.call(this)||this;return a.options=o,a.markers_=[],a.clusters_=[],a.listeners_=[],a.activeMap_=null,a.ready_=!1,a.ariaLabelFn=a.options.ariaLabelFn||function(){return""},a.zIndex_=a.options.zIndex||Number(google.maps.Marker.MAX_ZINDEX)+1,a.gridSize_=a.options.gridSize||60,a.minClusterSize_=a.options.minimumClusterSize||2,a.maxZoom_=a.options.maxZoom||null,a.styles_=a.options.styles||[],a.title_=a.options.title||"",a.zoomOnClick_=R(a.options,"zoomOnClick",!0),a.averageCenter_=R(a.options,"averageCenter",!1),a.ignoreHidden_=R(a.options,"ignoreHidden",!1),a.enableRetinaIcons_=R(a.options,"enableRetinaIcons",!1),a.imagePath_=a.options.imagePath||e.IMAGE_PATH,a.imageExtension_=a.options.imageExtension||e.IMAGE_EXTENSION,a.imageSizes_=a.options.imageSizes||e.IMAGE_SIZES,a.calculator_=a.options.calculator||e.CALCULATOR,a.batchSize_=a.options.batchSize||e.BATCH_SIZE,a.batchSizeIE_=a.options.batchSizeIE||e.BATCH_SIZE_IE,a.clusterClass_=a.options.clusterClass||"cluster",-1!==navigator.userAgent.toLowerCase().indexOf("msie")&&(a.batchSize_=a.batchSizeIE_),a.setupStyles_(),a.addMarkers(i,!0),a.setMap(n),a}return O(e,t),e.prototype.onAdd=function(){var t=this;this.activeMap_=this.getMap(),this.ready_=!0,this.repaint(),this.prevZoom_=this.getMap().getZoom(),this.listeners_=[google.maps.event.addListener(this.getMap(),"zoom_changed",(function(){var e=t.getMap(),n=e.minZoom||0,i=Math.min(e.maxZoom||100,e.mapTypes[e.getMapTypeId()].maxZoom),o=Math.min(Math.max(t.getMap().getZoom(),n),i);t.prevZoom_!=o&&(t.prevZoom_=o,t.resetViewport_(!1))})),google.maps.event.addListener(this.getMap(),"idle",(function(){t.redraw_()}))]},e.prototype.onRemove=function(){for(var t=0;t<this.markers_.length;t++)this.markers_[t].getMap()!==this.activeMap_&&this.markers_[t].setMap(this.activeMap_);for(t=0;t<this.clusters_.length;t++)this.clusters_[t].remove();this.clusters_=[];for(t=0;t<this.listeners_.length;t++)google.maps.event.removeListener(this.listeners_[t]);this.listeners_=[],this.activeMap_=null,this.ready_=!1},e.prototype.draw=function(){},e.prototype.setupStyles_=function(){if(!(this.styles_.length>0))for(var t=0;t<this.imageSizes_.length;t++){var n=this.imageSizes_[t];this.styles_.push(e.withDefaultStyle({url:this.imagePath_+(t+1)+"."+this.imageExtension_,height:n,width:n}))}},e.prototype.fitMapToMarkers=function(t){for(var e=this.getMarkers(),n=new google.maps.LatLngBounds,i=0;i<e.length;i++)!e[i].getVisible()&&this.getIgnoreHidden()||n.extend(e[i].getPosition());this.getMap().fitBounds(n,t)},e.prototype.getGridSize=function(){return this.gridSize_},e.prototype.setGridSize=function(t){this.gridSize_=t},e.prototype.getMinimumClusterSize=function(){return this.minClusterSize_},e.prototype.setMinimumClusterSize=function(t){this.minClusterSize_=t},e.prototype.getMaxZoom=function(){return this.maxZoom_},e.prototype.setMaxZoom=function(t){this.maxZoom_=t},e.prototype.getZIndex=function(){return this.zIndex_},e.prototype.setZIndex=function(t){this.zIndex_=t},e.prototype.getStyles=function(){return this.styles_},e.prototype.setStyles=function(t){this.styles_=t},e.prototype.getTitle=function(){return this.title_},e.prototype.setTitle=function(t){this.title_=t},e.prototype.getZoomOnClick=function(){return this.zoomOnClick_},e.prototype.setZoomOnClick=function(t){this.zoomOnClick_=t},e.prototype.getAverageCenter=function(){return this.averageCenter_},e.prototype.setAverageCenter=function(t){this.averageCenter_=t},e.prototype.getIgnoreHidden=function(){return this.ignoreHidden_},e.prototype.setIgnoreHidden=function(t){this.ignoreHidden_=t},e.prototype.getEnableRetinaIcons=function(){return this.enableRetinaIcons_},e.prototype.setEnableRetinaIcons=function(t){this.enableRetinaIcons_=t},e.prototype.getImageExtension=function(){return this.imageExtension_},e.prototype.setImageExtension=function(t){this.imageExtension_=t},e.prototype.getImagePath=function(){return this.imagePath_},e.prototype.setImagePath=function(t){this.imagePath_=t},e.prototype.getImageSizes=function(){return this.imageSizes_},e.prototype.setImageSizes=function(t){this.imageSizes_=t},e.prototype.getCalculator=function(){return this.calculator_},e.prototype.setCalculator=function(t){this.calculator_=t},e.prototype.getBatchSizeIE=function(){return this.batchSizeIE_},e.prototype.setBatchSizeIE=function(t){this.batchSizeIE_=t},e.prototype.getClusterClass=function(){return this.clusterClass_},e.prototype.setClusterClass=function(t){this.clusterClass_=t},e.prototype.getMarkers=function(){return this.markers_},e.prototype.getTotalMarkers=function(){return this.markers_.length},e.prototype.getClusters=function(){return this.clusters_},e.prototype.getTotalClusters=function(){return this.clusters_.length},e.prototype.addMarker=function(t,e){this.pushMarkerTo_(t),e||this.redraw_()},e.prototype.addMarkers=function(t,e){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&this.pushMarkerTo_(t[n]);e||this.redraw_()},e.prototype.pushMarkerTo_=function(t){var e=this;t.getDraggable()&&google.maps.event.addListener(t,"dragend",(function(){e.ready_&&(t.isAdded=!1,e.repaint())})),t.isAdded=!1,this.markers_.push(t)},e.prototype.removeMarker=function(t,e){var n=this.removeMarker_(t);return!e&&n&&this.repaint(),n},e.prototype.removeMarkers=function(t,e){for(var n=!1,i=0;i<t.length;i++){var o=this.removeMarker_(t[i]);n=n||o}return!e&&n&&this.repaint(),n},e.prototype.removeMarker_=function(t){var e=-1;if(this.markers_.indexOf)e=this.markers_.indexOf(t);else for(var n=0;n<this.markers_.length;n++)if(t===this.markers_[n]){e=n;break}return-1!==e&&(t.setMap(null),this.markers_.splice(e,1),!0)},e.prototype.clearMarkers=function(){this.resetViewport_(!0),this.markers_=[]},e.prototype.repaint=function(){var t=this.clusters_.slice();this.clusters_=[],this.resetViewport_(!1),this.redraw_(),setTimeout((function(){for(var e=0;e<t.length;e++)t[e].remove()}),0)},e.prototype.getExtendedBounds=function(t){var e=this.getProjection(),n=new google.maps.LatLng(t.getNorthEast().lat(),t.getNorthEast().lng()),i=new google.maps.LatLng(t.getSouthWest().lat(),t.getSouthWest().lng()),o=e.fromLatLngToDivPixel(n);o.x+=this.gridSize_,o.y-=this.gridSize_;var a=e.fromLatLngToDivPixel(i);a.x-=this.gridSize_,a.y+=this.gridSize_;var s=e.fromDivPixelToLatLng(o),l=e.fromDivPixelToLatLng(a);return t.extend(s),t.extend(l),t},e.prototype.redraw_=function(){this.createClusters_(0)},e.prototype.resetViewport_=function(t){for(var e=0;e<this.clusters_.length;e++)this.clusters_[e].remove();this.clusters_=[];for(e=0;e<this.markers_.length;e++){var n=this.markers_[e];n.isAdded=!1,t&&n.setMap(null)}},e.prototype.distanceBetweenPoints_=function(t,e){var n=(e.lat()-t.lat())*Math.PI/180,i=(e.lng()-t.lng())*Math.PI/180,o=Math.sin(n/2)*Math.sin(n/2)+Math.cos(t.lat()*Math.PI/180)*Math.cos(e.lat()*Math.PI/180)*Math.sin(i/2)*Math.sin(i/2);return 6371*(2*Math.atan2(Math.sqrt(o),Math.sqrt(1-o)))},e.prototype.isMarkerInBounds_=function(t,e){return e.contains(t.getPosition())},e.prototype.addToClosestCluster_=function(t){for(var e=4e4,n=null,i=0;i<this.clusters_.length;i++){var o,a=(o=this.clusters_[i]).getCenter();if(a){var s=this.distanceBetweenPoints_(a,t.getPosition());s<e&&(e=s,n=o)}}n&&n.isMarkerInClusterBounds(t)?n.addMarker(t):((o=new D(this)).addMarker(t),this.clusters_.push(o))},e.prototype.createClusters_=function(t){var e=this;if(this.ready_){0===t&&(google.maps.event.trigger(this,"clusteringbegin",this),void 0!==this.timerRefStatic&&(clearTimeout(this.timerRefStatic),delete this.timerRefStatic));for(var n=new google.maps.LatLngBounds(this.getMap().getBounds().getSouthWest(),this.getMap().getBounds().getNorthEast()),i=this.getExtendedBounds(n),o=Math.min(t+this.batchSize_,this.markers_.length),a=t;a<o;a++){var s=this.markers_[a];!s.isAdded&&this.isMarkerInBounds_(s,i)&&(!this.ignoreHidden_||this.ignoreHidden_&&s.getVisible())&&this.addToClosestCluster_(s)}if(o<this.markers_.length)this.timerRefStatic=window.setTimeout((function(){e.createClusters_(o)}),0);else{delete this.timerRefStatic,google.maps.event.trigger(this,"clusteringend",this);for(a=0;
1a<this.clusters_.length;a++)this.clusters_[a].updateIcon()}}},e.CALCULATOR=function(t,e){for(var n=0,i=t.length,o=i;0!==o;)o=Math.floor(o/10),n++;return n=Math.min(n,e),{text:i.toString(),index:n,title:""}},e.withDefaultStyle=function(t){return P({textColor:"black",textSize:11,textDecoration:"none",textLineHeight:t.height,fontWeight:"bold",fontStyle:"normal",fontFamily:"Arial,sans-serif",backgroundPosition:"0 0"},t)},e.BATCH_SIZE=2e3,e.BATCH_SIZE_IE=500,e.IMAGE_PATH="../images/m",e.IMAGE_EXTENSION="png",e.IMAGE_SIZES=[53,56,66,78,90],e}(E),F=n("q+7z"),z=n.n(F),B=n("JIoJ"),j=n.n(B);function H(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=W(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){l=!0,a=t},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}function q(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,o,a,s,l=[],r=!0,c=!1;try{if(a=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;r=!1}else for(;!(r=(i=a.call(n)).done)&&(l.push(i.value),l.length!==e);r=!0);}catch(t){c=!0,o=t}finally{try{if(!r&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw o}}return l}}(t,e)||W(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function U(t){return(U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function N(t){return function(t){if(Array.isArray(t))return Y(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||W(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function W(t,e){if(t){if("string"==typeof t)return Y(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Y(t,e):void 0}}function Y(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function X(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Z(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?X(Object(n),!0).forEach((function(e){G(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):X(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function G(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==U(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!==U(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===U(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n("0Upe"),new Vue({name:"SearchResults",mixins:[k.a],el:".search-results-component-wrapper",template:"#search-results-component-template",components:{Dropdown:l,FormControlModal:u.a,FormDatepicker:h.a,FormSelect:d.a,FormIncrementer:v,FormRange:M},data:{created:!1,mounted:!1,isInitialSearch:!0,useModal:!1,clearResultsBeforeSearch:!1,clearAlternativeResultsBeforeSearch:!1,hidePrices:!!geolocator.hidePrices,initialPage:1,includePageInURL:!1,defaultList:window.defaultList,list:window.list||null,originalList:null,loadingMainSearch:!1,loadingAlternativeSearch:!1,loadingCounters:!1,loadingMapMarkers:!1,responseMainSearch:null,responseAlternativeSearch:null,responseMapMarkers:null,resultsMainSearch:[],resultsAlternativeSearch:[],resultsMapMarkers:[],totalResults:null,countersTotalResults:null,profile:{resultsRequestTime:null,countersRequestTime:null},options:window.searchFiltersOptions,orderOptions:window.sortOptions,currencies:[{code:"eur",n
1ame:"EUR",index:"E",symbol:"â¬"},{code:"gbp",name:"GBP",index:"P",symbol:"£"},{code:"usd",name:"USD",index:"U",symbol:"$"}],priceFilterMin:0,priceFilterMax:5e4,priceFilterMaxBase:null,values:{destinations:[],date:null,weeks:null,bedrooms:null,guests:null,price:[],features:[]},searchValues:null,searchValuesAlternative:null,originalValues:null,requestValuesMainSearch:null,requestValuesAlternativeSearch:null,order:"recommended-asc",currencyCode:geolocator.currency||"eur",showFilters:!1,filtersTotalResults:null,ajaxRequestMainSearch:null,ajaxRequestAlternativeSearch:null,ajaxRequestMapMarkers:null,countersAjaxRequest:null,updateUrlTimer:null,updateCountersTimer:null,thresholdForAlternativeSearch:8,totalProperties:null,infiniteScroll:null,datepickerStartDate:null,datepickerEndDate:"".concat(window.maxYearPrice,"-12-31"),descriptionReadMoreHeight:window.descriptionReadMoreHeight,descriptionReadMoreInstance:null,descriptionReadMoreBuilt:!1,view:"list",interactiveMapInstance:null,map:null,mapMarkerClusterer:null,mapMarkers:[],openInfoWindow:null,singleMap:null,singleMapMarker:null,title:window.title||"",openedControl:null,resultsPerPage:window.resultsPerPage||12,allowedSearchParameters:["utm_source","utm_medium","utm_campaign","utm_content","utm_term","utm_id","gclid","_gl"]},computed:{defaultValues:function(){return{weeks:this.options.weeks[0],bedrooms:this.options.bedrooms[0],guests:this.options.guests[0]}},searchButtonLabel:function(){return null!==this.countersTotalResults?"View ".concat(this.countersTotalResults," villas"):"View villas"},filtersCount:function(){var t,e,n,i=0;return this.searchValues?(this.searchValues.destinations.length&&i++,this.searchValues.date&&i++,null!==(t=this.searchValues.weeks)&&void 0!==t&&t.value&&i++,null!==(e=this.searchValues.bedrooms)&&void 0!==e&&e.value&&i++,null!==(n=this.searchValues.guests)&&void 0!==n&&n.value&&i++,!this.searchValues.price||this.searchValues.price[0]==this.originalValues.price[0]&&this.searchValues.price[1]==this.originalValues.price[1]||i++,this.searchValues.features.length&&i++,i):i},searchFiltersTags:function(){return this.getFiltersTags(this.searchValues)},currentFiltersTags:function(){return this.getFiltersTags(this.values)},currency:function(){var t=this;return this.currencies.find((function(e){return e.code==t.currencyCode}))},priceCurrency:function(){return{name:this.currency.code,label:this.currency.name,symbol:this.currency.symbol}},loading:function(){return this.loadingMainSearch||this.loadingAlternativeSearch||this.loadingMapMarkers},requestValues:function(){return this.requestValuesAlternativeSearch||this.requestValuesMainSearch},response:function(){return"map"===this.view?this.responseMapMarkers:this.responseAlternativeSearch||this.responseMainSearch},orderDropdownOptions:function(){return this.orderOptions.map((function(t){return{label:t.text,value:"".concat(t.sort,"-").concat(t.dir||"asc")}}))},currencyDropdownOptions:function(){var t=this;return this.currencies.map((function(e){var n=e.symbol;return t.isMobile||(n+=" ".concat(e.name)),{label:n,value:e.code}}))},searchValueDateTo:function(){var t;return this.searchValues.date?new Date(this.searchValues.date.getTime()).setDate(this.searchValues.date.getDate()+7*((null===(t=this.searchValues.weeks)||void 0===t?void 0:t.value)||1)):null},formattedSearchValueDateFrom:function(){return this.searchValues.date?this.formatDateDayMonth(this.searchValues.date):""},formattedSearchValueDateTo:function(){return this.searchValues.date?this.formatDateDayMonth(this.searchValueDateTo):""},nextSaturday:function(){var t=new Date,e=6-t.getDay();e<1&&(e+=7);var n=t.getTime()+24*e*3600*1e3;return new Date(n).toISOString().substring(0,10)},normalizedTotalProperties:function(){var t;return this.responseMainSearch?Math.max(this.totalProperties,null===(t=this.responseMainSearch)||void 0===t||null===(t=t.meta)||void 0===t?void 0:t.total_count):this.totalProperties},hasMainSearchResults:function(){var t;return this.responseMainSearch&&(null===(t=this.resultsMainSearch)||void 0===t?void 0:t.length)},hasAlternativeSearchResults:function(){var t;return this.responseAlternativeSearch&&(null===(t=this.resultsAlternativeSearch)||void 0===t?void 0:t.length)},hasMapMarkersResults:function(){var t;return this.responseMapMarkers&&(null===(t=this.responseMapMarkers.markers)||void 0===t?void 0:t.length)},hasNotEnoughMainSearchResults:function(){var t;return(null===(t=this.responseMainSearch)||void 0===t?void 0:t.meta.total_count)<=this.thresholdForAlternativeSearch||this.hasAlternativeSearchResults},hasResults:function(){return"list"==this.view?this.hasMainSearchResults||this.hasAlternativeSearchResults:this.hasMapMarkersResults},allResultsLoaded:function(){var t,e,n;return(null===(t=this.response)||void 0===t||null===(t=t.meta)||void 0===t?void 0:t.offset)+(null===(e=this.response)||void 0===e||null===(e=e.meta)||void 0===e?void 0:e.limit)>=(null===(n=this.response)||void 0===n||null===(n=n.meta)||void 0===n?void 0:n.total_count)},isMapInitiated:function(){return!!this.map},showNoResultsMessage:function(){return!this.isInitialSearch&&!this.loading&&!this.hasResults&&("list"==this.view||this.isMapInitiated)},descriptionStyles:function(){return this.descriptionReadMoreBuilt?{}:{maxHeight:"".concat(this.descriptionReadMoreHeight.maxHeight+this.descriptionReadMoreHeight.btnHeight,"px"),overflow:"hidden"}}},created:function(){var t,e=this;switch(null===(t=this.list)||void 0===t?void 0:t.list_type){case"":this.list.tailoredchoices&&!this.findOptionByValue(this.list.tailoredchoices.remote_id,this.options.features)&&(this.options.features.push({label:this.list.tailoredchoices.name,value:this.list.tailoredchoices.remote_id,hiddenWhenUnselected:!0}),this.options.features.sort((function(t,e){return t.label<e.label?-1:t.label>e.label?1:0})),this.originalList=this.list)}this.priceFilterMaxBase=this.priceFilterMax,this.values.price=[this.priceFilterMin,this.priceFilterMax],this.values=Z(Z({},this.values),this.defaultValues),this.originalValues=structuredClone(this.values),this.show
1Filters=!this.isMobile,this.datepickerStartDate=this.nextSaturday,this.parseParams(),this.prepareOptions(this.options.destinations),window.searchResult?(this.searchValues=Z({},this.values),this.requestValuesMainSearch=this.getValues(),this.onSearchSuccess(window.searchResult)):this.doSearch(),window.addEventListener("popstate",(function(){e.parseUrl(),e.doSearch()})),this.created=!0},mounted:function(){var t,e=this;this.$nextTick((function(){e.initMap(),e.initReadMore(),window.addEventListener("scroll",e.setFiltersPosition)})),null===(t=document.querySelector(".search-live-avail-button-caret"))||void 0===t||t.addEventListener("click",(function(t){e.toggleFilters(!0)})),window.searchResultsOnClickMapItem=function(t){var n=e.responseMapMarkers.markers.find((function(e){return t==e.propertyId}));e.onClickSearchResultsItem(Z(Z({},n),{},{id:n.propertyId}))},this.mounted=!0},methods:{setFiltersPosition:function(){if(!this.isMobile){var t=document.querySelector(".navbar-mainmenu").getBoundingClientRect(),e=this.$refs.filtersCell.getBoundingClientRect(),n=this.$refs.filters.getBoundingClientRect(),i=t.height+15;this.$refs.filters.style.setProperty("--search-filters-top","".concat(i,"px")),this.$refs.filters.style.setProperty("--search-filters-max-height","".concat(window.innerHeight-n.top-Math.max(0,window.innerHeight-e.bottom),"px"))}},initReadMore:function(){var t=this;this.descriptionReadMoreInstance=new z.a(this.$refs.listDescriptions,this.descriptionReadMoreHeight.maxHeight,{scrollTarget:this.$refs.descriptionArea,onCollapsed:this.setFiltersPosition,onExpanded:this.setFiltersPosition,onBuilt:function(){t.$refs.listDescriptions.style.maxHeight="",t.$refs.listDescriptions.style.overflow="",t.descriptionReadMoreBuilt=!0}})},initInfiniteScroll:function(){var t=this;this.infiniteScroll||(this.infiniteScroll=new InfiniteScroll("onSearch",{target:$(".search-results-view-list").get(0),beforeRequest:function(){t.infiniteScroll.requestOptions.data=Z(Z({},t.requestValues),{},{limit:t.response.meta.limit,offset:t.response.meta.offset+t.response.meta.limit,excludedIds:t.responseAlternativeSearch?t.resultsMainSearch.map((function(t){return t.id})).join(","):[],return:"results"})},success:function(e){var n=window.scrollY;t.responseAlternativeSearch?(t.responseAlternativeSearch=t.prepareResponse(e.response,t.requestValuesAlternativeSearch),t.responseAlternativeSearch.objects.forEach((function(e){return t.resultsAlternativeSearch.push(e)}))):(t.responseMainSearch=t.prepareResponse(e.response,t.requestValuesMainSearch),t.responseMainSearch.objects.forEach((function(e){return t.resultsMainSearch.push(e)}))),t.allResultsLoaded&&t.infiniteScroll.disconnect(),t.$nextTick((function(){var e;window.scrollTo(0,n),null===(e=window.carousel)||void 0===e||e.init(),t.setFiltersPosition(),$('[data-toggle="tooltip"]').tooltip()}))}}))},loadMoreVillas:function(){this.initInfiniteScroll()},onClickSearchResultsItem:function(t){this.dataLayerPushSelectItemEvent(t)},onInput:function(){this.mounted&&((this.responseMainSearch&&this.isMobile&&this.showFilters||"map"===this.view)&&(clearTimeout(this.updateCountersTimer),this.updateCountersTimer=setTimeout(this.updateCounters,250)),this.isMobile&&this.showFilters||(clearTimeout(this.updateUrlTimer),this.updateUrlTimer=setTimeout(this.search,250)),this.updatePriceFilterMax())},onInputDate:function(){this.onInput(),"date"==this.openedControl&&this.scrollFiltersTo($(this.$refs.weeksFilter.$el).position().top)},onChangeCurrency:function(){SessionManager.changeCurrency(this.currencyCode),this.values.price[0]==this.priceFilterMin&&this.values.price[1]==this.priceFilterMax||this.search()},updateUrl:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=new URL(t||location),i=this.getValues(null,!0);if(n.host=location.host,this.includePageInURL&&(i.page=this.initialPage),n.search=new URLSearchParams(i),this.allowedSearchParameters.length){var o=new URLSearchParams(location.search);this.allowedSearchParameters.forEach((function(t){return o.has(t)&&n.searchParams.append(t,o.get(t))}))}history[e?"replaceState":"pushState"](this.getValues(this.searchValues),"",n)},parseUrl:function(){this.$set(this,"values",structuredClone(this.originalValues)),this.parseParams(Object.fromEntries(new URL(window.location.href).searchParams.entr
1ies()))},getValues:function(){var t,e,n,i,o=this,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l={};if(a||(a=this.values),!s&&this.originalList&&""==this.originalList.list_type&&this.originalList.tailoredchoices&&this.findOptionByValue(this.originalList.tailoredchoices.remote_id,a.features)&&(l.list=this.originalList.slug),a.destinations.length&&this.options.destinations.some((function(t){return!t._checked}))){var r=a.destinations.filter((function(t,e,n){return n.findIndex((function(e){return e.value==t.value}))===e&&t.isRegion&&t._checked})).map((function(t){return t.value})),c=a.destinations.filter((function(t,e,n){var i;return!(n.findIndex((function(e){return e.value==t.value}))!==e||t.isRegion||null!==(i=t._parent)&&void 0!==i&&i._checked)})).map((function(t){return t.value}));if(s&&this.list)switch(this.list.list_type){case"regions":r=r.filter((function(t){return t!=o.list.regions.remote_id}));break;case"marketingregions":c=c.filter((function(t){var e;return t!=(null===(e=o.list.marketingregions)||void 0===e?void 0:e.remote_id)}))}r.length&&(l.regions=r.join(",")),c.length&&(l.destinations=c.join(","))}a.date&&(l.date=Intl.DateTimeFormat("nl",{day:"2-digit",month:"2-digit",year:"numeric",timeZone:"UTC"}).format(a.date.getTime()),null!==(i=a.weeks)&&void 0!==i&&i.value&&(l.weeks=a.weeks.value));null===(t=a.bedrooms)||void 0===t||!t.value||s&&""==(null===(e=this.list)||void 0===e?void 0:e.list_type)&&this.list.searchbedrooms||(l.bedrooms=a.bedrooms.value),null!==(n=a.guests)&&void 0!==n&&n.value&&(l.guests=a.guests.value),a.price[0]==this.originalValues.price[0]&&a.price[1]==this.originalValues.price[1]||(l.price=a.price.join(","),l.currency=this.currency.code);var u,h=[];a.features.length&&(h=a.features.map((function(t){return t.value})),s&&""==(null===(u=this.list)||void 0===u?void 0:u.list_type)&&this.list.tailoredchoices&&(h=h.filter((function(t){var e;return t!=(null===(e=o.list.tailoredchoices)||void 0===e?void 0:e.remote_id)}))));h.length&&(l.features=h.join(","));var d=this.order.split("-");return"recommended"!=d[0]&&(l.orderby=d[0],"asc"!=d[1]&&(l.orderdir=d[1])),l},parseParams:function(){var t,e,n,i,o,a,s,l,r,c,u=this,h=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;(h||(h=Z({},window.httpRequestInput)),h.page&&(this.initialPage=Math.max(1,parseInt(h.page,10)),this.includePageInURL=!0),null!==(t=h)&&void 0!==t&&t.regions&&h.regions.toString().split(",").forEach((function(t){var e=u.findOptionsByValue(t.trim(),u.options.destinations);e&&e.forEach((function(t){u.getAllChildrenRecursively(t).forEach((function(t){return u.values.destinations.push(t)}))}))})),null!==(e=h)&&void 0!==e&&e.destinations&&h.destinations.toString().split(",").forEach((function(t){var e=u.findOptionsByValue(t.trim(),u.options.destinations);e&&e.forEach((function(t){return u.values.destinations.push(t)}))})),null!==(n=h)&&void 0!==n&&n.features&&h.features.toString().split(",").forEach((function(t){var e=u.findOptionByValue(t.trim(),u.options.features);e&&u.values.features.push(e)})),null!==(i=h)&&void 0!==i&&i.date)&&(this.values.date=new Date(h.date.replace(/^(\d+)-(\d+)-(\d+)$/,"$3-$2-$1")),null!==(c=h)&&void 0!==c&&c.weeks&&(this.values.weeks=this.options.weeks.find((function(t){return t.value==h.weeks}))||this.options.weeks[0]));null!==(o=h)&&void 0!==o&&o.bedrooms&&(this.values.bedrooms=this.options.bedrooms.find((function(t){return t.value==h.bedrooms}))||this.options.bedrooms[0]),null!==(a=h)&&void 0!==a&&a.guests&&(this.values.guests=this.options.guests.find((function(t){return t.value==h.guests}))||this.options.guests[0]),null!==(s=h)&&void 0!==s&&s.price&&(this.values.price=h.price.split(",")),null!==(l=h)&&void 0!==l&&l.orderby&&(this.order="".concat(h.orderby,"-").concat(h.orderdir||"asc")),null!==(r=h)&&void 0!==r&&r.currency&&this.currencies.map((function(t){return t.code})).includes(h.currency)&&(this.currencyCode=h.currency),this.updatePriceFilterMax()},prepareOptions:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;t.forEach((function(t){return e.prepareOption(t,n,i)}))},prepareOption:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;this.$set(t,"_level",n),this.$set(t,"_checked",this.values.destinations.some((function(e){return e===t}))),t.children&&this.prepareOptions(t.children,t,n+1),e&&this.$set(t,"_parent",e)},search:function(){switch(this.updateUrl(),this.view){case"list":this.doSearch();break;case"map":this.loadMapMarkers()}},doSearch:function(){var t,e=this,n=this.getValues();
1if(JSON.stringify(this.requestValuesMainSearch)!=JSON.stringify(n)){this.ajaxRequestMapMarkers&&(this.ajaxRequestMapMarkers.abort(),this.ajaxRequestMapMarkers=null),this.ajaxRequestMainSearch&&(this.ajaxRequestMainSearch.abort(),this.ajaxRequestMainSearch=null),this.ajaxRequestAlternativeSearch&&(this.ajaxRequestAlternativeSearch.abort(),this.ajaxRequestAlternativeSearch=null),this.infiniteScroll&&this.infiniteScroll.pause(),this.loadingMainSearch=!0,this.searchValues=Z({},this.values),this.requestValuesMainSearch=n,this.requestValuesAlternativeSearch=null,this.responseMapMarkers=null;var i=new Date;this.clearResultsBeforeSearch&&(this.list=null,this.totalResults=null,this.responseMainSearch=null,this.resultsMainSearch=[]),(this.clearResultsBeforeSearch||this.clearAlternativeResultsBeforeSearch)&&(this.responseAlternativeSearch=null,this.resultsAlternativeSearch=[]),this.isInitialSearch||(this.initialPage=1,this.includePageInURL=!1),this.ajaxRequestMainSearch=$.request("onSearch",{data:Z(Z({},n),{},{limit:this.resultsPerPage,offset:10*(this.initialPage-1),return:null!==(t=this.responseMainSearch)&&void 0!==t&&t.objects&&this.isMobile?"results":null}),success:this.onSearchSuccess,complete:function(){e.loadingMainSearch=!1,e.profile.resultsRequestTime=((new Date-i)/1e3).toFixed(3),e.ajaxRequestMainSearch=null,e.responseAlternativeSearch=null}})}},onSearchSuccess:function(t){var e,n=this,i=this.isInitialSearch;this.error=null,this.list=t.list,this.totalProperties=t.totalProperties,this.setTitle(t.title),this.setMetatags(t.metatags),this.isInitialSearch=!1,this.updateUrl((null===(e=t.list)||void 0===e?void 0:e.link)||this.defaultList.link,!0),this.responseMainSearch=this.prepareResponse(t.response,this.requestValuesMainSearch),this.totalResults=t.response.meta.total_count,this.searchValuesAlternative=null,this.resultsMainSearch=[],this.resultsAlternativeSearch=[],this.responseMainSearch.objects.forEach((function(t){return n.resultsMainSearch.push(t)})),this.infiniteScroll&&(this.infiniteScroll.destroy(),this.infiniteScroll=null),i&&this.dataLayerPushViewItemListEvent(this.resultsMainSearch),t.response.meta.total_count<=this.thresholdForAlternativeSearch&&this.doAlternativeSearch(!1,i),this.$nextTick((function(){var t=function(){var t;window.carouselOptions.autoInit=!0,null===(t=window.carousel)||void 0===t||t.init(),$('[data-toggle="tooltip"]').tooltip(),n.descriptionReadMoreInstance?n.descriptionReadMoreInstance.refresh():n.initReadMore()};i?setTimeout(t,500):(n.isMobile?GoTo.scrollTo(0,0,null,0):GoTo.element(n.$refs.filtersCell,15,null,0,GoTo.SCROLL_ONLY_UP),t()),n.setFiltersPosition()}))},doAlternativeSearch:function(){var t=this,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.searchValuesAlternative||(this.searchValuesAlternative=structuredClone(this.searchValues)),this.searchValuesAlternative.destinations.length){var n=this.searchValuesAlternative.destinations.reduce((function(t,e){return e._level<t._level?e:t}));if(2==n._level)this.searchValuesAlternative.destinations=[];else{var i=this.searchValuesAlternative.destinations.filter((function(t){return t._level==n._level}));this.searchValuesAlternative.destinations=N(new Map(i.map((function(e){return t.getAllChildrenRecursively(e._parent)})).flat().map((function(t){return[t.value,t]}))).values())}}else if(this.searchValuesAlternative.features.length)this.searchValuesAlternative.features=[];else if(this.searchValuesAlternative.bedrooms.value)this.searchValuesAlternative.bedrooms.value=null;else{if(!this.searchValuesAlternative.guests.value)return;this.searchValuesAlternative.guests.value=null}var o=!(this.searchValuesAlternative.destinations.length||this.searchValuesAlternative.features.length||this.searchValuesAlternative.bedrooms.value||this.searchValuesAlternative.guests.value);this.loadingAlternativeSearch=!0,this.requestValuesAlternativeSearch=this.getValues(this.searchValuesAlternative),this.ajaxRequestAlternativeSearch=$.request("onSearch",{data:Z(Z({},this.requestValuesAlternativeSearch),{},{limit:this.resultsPerPage,offset:0,excludedIds:this.resultsMainSearch.map((function(t){return t.id})).join(","),return:"results"}),success:function(n){!o&&n.response.meta.total_count<=t.thresholdForAlternativeSearch?t.doAlternativeSearch(!0,e):(t.loadingAlternativeSearch=!1,t.responseAlternativeSearch=t.prepareResponse(n.response,t.requestValuesAlternativeSearch),t.responseAlternativeSearch.objects.forEac
1h((function(e){return t.resultsAlternativeSearch.push(e)})),e&&t.dataLayerPushViewItemListEvent(t.resultsAlternativeSearch)),t.$nextTick((function(){var e;null===(e=window.carousel)||void 0===e||e.init(),t.setFiltersPosition(),$('[data-toggle="tooltip"]').tooltip()}))},error:function(){t.loadingAlternativeSearch=!1}})},loadMapMarkers:function(){var t=this;this.ajaxRequestMapMarkers&&(this.ajaxRequestMapMarkers.abort(),this.ajaxRequestMapMarkers=null),this.ajaxRequestMainSearch&&(this.ajaxRequestMainSearch.abort(),this.ajaxRequestMainSearch=null),this.ajaxRequestAlternativeSearch&&(this.ajaxRequestAlternativeSearch.abort(),this.ajaxRequestAlternativeSearch=null);var e=this.getValues();this.loadingMapMarkers=!0,this.searchValues=Z({},this.values),this.requestValuesMainSearch=null,this.requestValuesAlternativeSearch=null,this.responseMainSearch=null,this.responseAlternativeSearch=null,this.resultsMainSearch=[],this.resultsAlternativeSearch=[],this.ajaxRequestMapMarkers=$.request("onLoadMapMarkers",{data:Z(Z({},e),{},{mode:"map"}),success:function(n){var i;t.list=n.list,t.totalProperties=n.totalProperties,t.setTitle(n.title),t.setMetatags(n.metatags);var o=new URL((null===(i=n.list)||void 0===i?void 0:i.link)||t.defaultList.link);o.pathname!=location.pathname&&(o.host=location.host,o.search=location.search,history.replaceState(e,null,o)),t.responseMapMarkers=n,t.totalResults=n.meta.total_count,t.updateMapMarkers(n.markers),t.$nextTick((function(){t.descriptionReadMoreInstance?t.descriptionReadMoreInstance.refresh():t.initReadMore(),t.setFiltersPosition()}))},complete:function(){t.loadingMapMarkers=!1,t.ajaxRequestMapMarkers=null}})},initMap:function(){var t=this,e=this;new j.a(this.$refs.map,{onVisible:function(n){n.disconnect(),t.interactiveMapInstance=new c.a(t.$refs.map,{onInit:function(t){e.map=t,e.mapMarkerClusterer=new V(e.map,[],{styles:[{anchorText:[18,0],url:"/themes/tnam/assets/images/maps/pin-cluster.png",width:53,height:52,fontFamily:"Source Serif Pro",fontWeight:700,textSize:14,textColor:"white"}]}),e.loadMapMarkers()}})}})},updateMapMarkers:function(t){var e=this;if(this.map){this.clearMapMarkers();var n=new google.maps.LatLngBounds;t.forEach((function(t){var i=e.createMapMarkerInfoWindowContent(t),o=e.interactiveMapInstance.createMarker(t.latitude,t.longitude,{title:t.name}),a=new google.maps.InfoWindow({content:i});o.addListener("click",(function(){var t;null===(t=e.openInfoWindow)||void 0===t||t.close(),a.open(e.map,o),e.openInfoWindow=a})),e.mapMarkers.push(o),n.extend(o.position)})),this.mapMarkerClusterer.addMarkers(this.mapMarkers),this.map.fitBounds(n),this.map.panToBounds(n,100)}}
1,clearMapMarkers:function(){this.mapMarkerClusterer.clearMarkers(),this.mapMarkers=[]},updateCounters:function(){var t=this,e=this.getValues();this.countersAjaxRequest&&this.countersAjaxRequest.abort(),this.loadingCounters=!0;var n=Z(Z({},e),{},{return:"counters"}),i=new Date;this.countersAjaxRequest=$.request("onSearch",{data:n,success:function(e){return t.prepareCounters(e.response)},error:function(e,n,i){return t.error={jqXHR:e,textStatus:n,errorThrown:i}},complete:function(){t.loadingCounters=!1,t.profile.countersRequestTime=((new Date-i)/1e3).toFixed(3)}})},setTitle:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.title=t,e&&this.setMetaTitle(t)},updateTitle:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.setTitle(this.buildTitle(t))},buildTitle:function(){var t,e,n,i,o,a,s,l,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,c=(null===(t=r=r||this.searchValues||this.values)||void 0===t?void 0:t.destinations.length)||(null===(e=r)||void 0===e?void 0:e.bedrooms)||(null===(n=r)||void 0===n?void 0:n.guests)||(null===(i=r)||void 0===i?void 0:i.date),u="";if(null!==(o=this.list)&&void 0!==o&&o.title)u+=this.list.title;else if(this.list||c){var h;u+="Search results:",c&&(u+=" Villas"),1===(null===(h=r)||void 0===h?void 0:h.destinations.length)&&(u+=" in ".concat(r.destinations[0].label))}else u+=this.defaultList.title;if(null!==(a=r)&&void 0!==a&&a.bedrooms&&(u+=" with ".concat(r.bedrooms.label," ").concat(this.getPlural("bedrooms",r.bedrooms.label))),null!==(s=r)&&void 0!==s&&s.guests&&(u+=" for ".concat(r.guests.label," ").concat(this.getPlural("guests",r.guests.label))),null!==(l=r)&&void 0!==l&&l.date){var d,p=(null===(d=r.weeks)||void 0===d?void 0:d.value)||1;u+=", for ".concat(p," ").concat(this.getPlural("weeks",r.weeks.label)," starting on ").concat(this.formatDateMedium(r.date))}return u},setMetaTitle:function(t){document.title=t,document.querySelector('meta[name="title"]').setAttribute("content",t)},setMetaDescription:function(t){document.querySelector('meta[name="description"]').setAttribute("content",t)},setCanonicalLink:function(t){this.setLinkElementHref("canonical",t)},setPrevPageLink:function(t){this.setLinkElementHref("prev",t)},setNextPageLink:function(t){this.setLinkElementHref("next",t)},createLinkElement:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=document.createElement("link");return i.setAttribute("rel",t),e&&this.setLinkElementHref(i,e),n&&this.appendLinkElement(i),i},appendLinkElement:function(t){document.head.appendChild(t)},getLinkElement:function(t){return"string"==typeof t?document.querySelector('link[rel="'.concat(t,'"]')):t},setLinkElementHref:function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!1===e)this.removeLinkElement(rel);else{var i=this.getLinkElement(t);!i&&n?this.createLinkElement(t,e):i.setAttribute("href",e)}},removeLinkElement:function(t){var e;null===(e=this.getLinkElement(t))||void 0===e||e.remove()},setMetatags:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;if("object"===U(t)){var a=Z({},t);a.title&&(t=a.title),a.description&&(e=a.description),a.canonicalLink&&(n=a.canonicalLink),a.prev&&(i=a.prev),a.next&&(o=a.next)}t&&this.setMetaTitle(t),e&&this.setMetaDescription(e),n&&this.setCanonicalLink(n),i&&this.setPrevPageLink(i),o&&this.setNextPageLink(o)},getFiltersTags:function(t){var e,n,i,o,a,s,l=[];if(!t)return l;if(t.destinations!=this.originalValues.destinations){var r=[];t.destinations.filter((function(e,n,i){return!(i.findIndex((function(t){return t.value==e.value}))!==n||e._parent&&t.destinations.includes(e._parent))})).forEach((function(t){r.push({name:"destinations",label:t.label,value:t})})),r.sort((function(t,e){return t.label>e.label?1:t.label<e.label?-1:0}
1)).forEach((function(t){return l.push(t)}))}if(t.date!=this.originalValues.date&&l.push({name:"date",value:t.date,label:this.formatDateMedium(t.date)}),(null===(e=t.weeks)||void 0===e?void 0:e.value)!=(null===(n=this.originalValues.weeks)||void 0===n?void 0:n.value)&&l.push({name:"weeks",value:t.weeks,label:"".concat(t.weeks.label," ").concat(this.getPlural("weeks",t.weeks.label))}),(null===(i=t.bedrooms)||void 0===i?void 0:i.value)!=(null===(o=this.originalValues.bedrooms)||void 0===o?void 0:o.value)&&l.push({name:"bedrooms",value:t.bedrooms,label:"".concat(t.bedrooms.label," ").concat(this.getPlural("bedrooms",t.bedrooms.label))}),(null===(a=t.guests)||void 0===a?void 0:a.value)!=(null===(s=this.originalValues.guests)||void 0===s?void 0:s.value)&&l.push({name:"guests",value:t.guests,label:"".concat(t.guests.label," ").concat(this.getPlural("guests",t.guests.label))}),t.price[0]!=this.originalValues.price[0]&&l.push({name:"min-price",value:t.price,label:"From ".concat(this.formatCurrency(t.price[0]))}),t.price[1]!=this.originalValues.price[1]&&l.push({name:"max-price",value:t.price,label:"Up to ".concat(this.formatCurrency(t.price[1]))}),t.features!=this.originalValues.features){var c=[];t.features.forEach((function(t){c.push({name:"features",label:t.label,value:t})})),c.sort((function(t,e){return t.label>e.label?1:t.label<e.label?-1:0})).forEach((function(t){return l.push(t)}))}return l},prepareResponse:function(t,e){var n,i,o,a=this;if(e.guests){var s=q(e.guests.split(","),2);i=s[0],o=s[1],i=parseInt(i,10),o=parseInt(o,10)}return null===(n=t.objects)||void 0===n||n.forEach((function(t,e){var n,s=a.ajaxRequestAlternativeSearch?a.resultsAlternativeSearch.length:a.resultsMainSearch.length;t.indexes={absolute:a.resultsMainSearch.length+s+e,group:s+e},null===(n=t.products)||void 0===n||n.forEach((function(e){var n;e.isValid=(!i||e.adults>=i)&&(!o||e.adults<=o),e.cms&&!e.cms.slidesList&&null!==(n=t.cms)&&void 0!==n&&n.slidesList&&(e.cms.slidesList=t.cms.slidesList)})),t.product=t.products.find((function(t){return t.is_default}))||t.products.find((function(t){return t.isValid}))||t.products[0]})),this.prepareCounters(t),t},prepareCounters:function(t){var e,n,i,o=this;if(null!==(e=t.meta)&&void 0!==e&&e.counters&&this.options.features.filter((function(t){return!t.hiddenWhenUnselected})).forEach((function(e){return o.$set(e,"counter",t.meta.counters.tailored_choices[e.value]||0)})),""==(null===(n=this.list)||void 0===n?void 0:n.list_type)&&null!==(i=this.list)&&void 0!==i&&null!==(i=i.tailoredchoices)&&void 0!==i&&i.remote_id){var a,s=this.options.features.find((function(t){return t.value==o.list.tailoredchoices.remote_id&&t.hiddenWhenUnselected}));if(s)this.$set(s,"counter",null===(a=t.meta)||void 0===a?void 0:a.total_count)}return this.countersTotalResults=parseInt(t.meta.total_count,10),t},resetFilters:function(){this.$set(this,"values",structuredClone(this.originalValues)),this.onInput()},addFilterValue:function(t,e){switch(t){case"destinations":var n=this.findOptionByValue(e,this.options[t]);if(n&&!this.values[t].find((function(t){return t.value==e}))){var i=structuredClone(this.values[t]);i.push(n),this.$set(this.values,t,i)}}this.search()},removeFilterValue:function(t,e){var n=this,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];switch(t){case"date":case"weeks":case"bedrooms":case"guests":case"price":this.$set(this.values,t,this.originalValues[t]),"date"==t&&this.removeFilterValue("weeks",this.searchValues.weeks,!1);break;case"min-price":this.$set(this.values,"price",[this.originalValues.price[0],this.values.price[1]]);break;case"max-price":this.$set(this.values,"price",[this.values.price[0],this.originalValues.price[1]]);break;case"destinations":case"features":this.findOptionsByValue(e.value,this.values[t]).forEach((function(e){n.$set(n.values,t,n.values[t].filter((function(t){return t!=e&&!n.optionIsDescendantOf(e,t)})))}))}i&&(this.updatePriceFilterMax(),this.onInput())},updatePriceFilterMax:function(){var t,e,n,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;i||(i=this.priceFilterMaxBase,this.values.date!=this.originalValues.date&&(null===(t=this.values.weeks)||void 0===t?void 0:t.value)!=(null===(e=this.originalValues.weeks)||void 0===e?void 0:e.value)&&(i*=(null===(n=this.values.weeks)||void 0===n?void 0:n.value)||1));var o=this.priceFilterMax;this.priceFilterMax=i,this.originalValues.price[1]=i,(this.values.price[1]>this.priceFilterMax||this.values.price[1]==o)&&(this.values.price[1]=this.priceFilterMax)},showList:function(){var t=this;"list"!==this.view&&(this.changeView("list"),this.$nextTick((function(){var e;t.search(),null===(e=t.infiniteScroll)||void 0===e||e.observe()})))},showMap:function(){var t,e=this;"map"!==this.view&&(null===(t=this.infiniteScroll)||void 0===t||t.unobserve(),this.changeView("map"),this.$nextTick((function(){e.map&&e.search()})))},changeView:function(t){this.view=t},showProduct:function(t,e,n){t.product=e,this.$nextTick((function(){var t;$(n.target).closest(".result-item").find(".carousel").slick("unslick")&&(null===(t=window.carousel)||void 0===t||t.init())}))},toggleFilters:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;
1this.showFilters=!0===t||!1===t?t:!this.showFilters,this.isMobile?this.showFilters?document.body.classList.add("overflow-hidden"):(document.body.classList.remove("overflow-hidden"),this.closeControl()):this.$nextTick((function(){setTimeout((function(){var t;$(".result-item").find(".carousel").slick("unslick")&&(null===(t=window.carousel)||void 0===t||t.init())}),250)}))},showPropertyMap:function(t){var e=this,n=this,i=$("#single-map-container");$.fancybox.open(i,{touch:!1,smallBtn:!1,beforeShow:function(){n.singleMapMarker&&(n.singleMapMarker.setMap(null),n.singleMapMarker=null)},afterShow:function(){var i=function(i){n.singleMapMarker=n.singleMap.createMarker(t.geoposition.lat,t.geoposition.long,{title:t.cms.website_name||t.name});var o=new google.maps.InfoWindow({content:e.createMapMarkerInfoWindowContent({image:t.cms.slidesList[0].src,name:t.cms.website_name||t.name,description:t.description,url:t.cms.url})});n.singleMapMarker.addListener("click",(function(){o.open(i,n.singleMapMarker)}));var a=new google.maps.LatLngBounds;a.extend(n.singleMapMarker.position),i.fitBounds(a),i.setCenter(a.getCenter()),i.setZoom(8)};e.singleMap?i(e.singleMap.map):e.singleMap=new c.a(".single-map-container",{onInit:function(t){google.maps.event.addListenerOnce(t,"bounds_changed",(function(){this.setZoom(8)}));var e=n.createMapRightControl();e.index=1,t.controls[google.maps.ControlPosition.TOP_CENTER].push(e),i(t)}})}})},createMapMarkerInfoWindowContent:function(t){return'<div class="custom-img" style="background-image: url('.concat(t.image,'); background-size: cover; background-position: center;"></div><section class="custom-content"><div class="custom-header">').concat(t.name,'</div><div class="custom-body">').concat(t.description,'</div><a href="').concat(t.url,'" class="text-link-icon" onclick="searchResultsOnClickMapItem(').concat(t.propertyId,');">View full details</a></section>')},createMapRightControl:function(){var t=document.createElement("div"),e=document.createElement("div");e.style.backgroundColor="#fff",e.style.border="none",e.style.borderRadius="2px",e.style.cursor="pointer",e.style.marginBottom="0",e.style.textAlign="center",e.style.width="40px",e.style.height="40px",e.title="Close Map",t.className="customCloseBtn",t.appendChild(e);var n=document.createElement("div");return n.style.color="rgb(117,117,117)",n.style.fontSize="18px",n.style.lineHeight="18px",n.style.paddingLeft="0px",n.style.paddingRight="0px",n.style.paddingTop="8px",n.style.paddingBottom="3px",n.style.marginTop="10px",n.innerHTML='<i class="fas fa-lg fa-times"></i>',e.appendChild(n),e.addEventListener("click",(function(){$.fancybox.close(!0)})),t},openControl:function(t){this.openedControl=t},closeControl:function(){this.openedControl=null},scrollFiltersTo:function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200;e=document.documentElement.classList.contains("hiddenscroll")?this.$refs.filtersControls:this.$refs.filters,$(e).animate({scrollTop:t},n)},getPlural:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return 1===parseFloat(e)?t.replace(/[sS]$/,""):t.replace(/[sS]*$/,"s")},getAllChildrenRecursively:function(t){var e,n=this,i=[t];return null===(e=t.children)||void 0===e||e.forEach((function(t){return n.getAllChildrenRecursively(t).forEach((function(t){return i.push(t)}))})),i},optionIsDescendantOf:function(t,e){return e._parent&&e._parent!=t?this.optionIsDescendantOf(t,e._parent):e._parent==t},findOptionByValue:function(t,e){var n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=H(e);try{for(o.s();!(n=o.n()).done;){var a=n.value;if(a.value==t)return a;
1if(a.children){var s=void 0;if(s=this.findOptionByValue(t,a.children,i))return s}}}catch(t){o.e(t)}finally{o.f()}},findOptionsByValue:function(t,e){var n=this,i=[];return e.forEach((function(e){var o;null!==(o=e.children)&&void 0!==o&&o.length&&n.findOptionsByValue(t,e.children).forEach((function(t){return i.push(t)})),e.value==t&&i.push(e)})),i},formatDateDayMonth:function(t){return Intl.DateTimeFormat("en-gb",{day:"numeric",month:"short",timeZone:"UTC"}).format(t)},formatDateMedium:function(t){return Intl.DateTimeFormat("en-gb",{dateStyle:"medium",timeZone:"UTC"}).format(t)},formatCurrency:function(t){return new Intl.NumberFormat("en-GB",{style:"currency",currency:this.currency.code,currencyDisplay:"narrowSymbol",maximumFractionDigits:0}).format(t).replace(/^(\D+)/,"$1 ").replace(/\s+/," ")},dataLayerPushViewItemListEvent:function(t){var e,n=this;t.length&&(null===(e=window.DataLayerHelper)||void 0===e||e.pushEvent(window.DataLayerHelper.EVENT_VIEW_ITEM_LIST,{ecommerce:{item_list_name:this.title||null,items:t.map((function(t){var e;return{item_id:t.id,item_name:t.name,item_brand:window.DataLayerHelper.BRAND_NAME,item_category:t.region||null,item_category2:t.cmsMarketingRegion.short_name||t.subregion||null,price:parseInt(null===(e=t.product.prices)||void 0===e?void 0:e[window.DataLayerHelper.DEFAULT_CURRENCY].min.replace(",",""),10)||null,price_type:window.DataLayerHelper[n.values.date?"PRICE_TYPE_SELECTED_DATES":"PRICE_TYPE_FROM_PRICE"],currency:window.DataLayerHelper.DEFAULT_CURRENCY.toUpperCase()||null,quantity:1,index:t.indexes.absolute}}))}}))},dataLayerPushSelectItemEvent:function(t){var e,n,i,o,a,s,l,r,c,u,h,d,p,g,f,m,v,b,y,w;null===(e=window.DataLayerHelper)||void 0===e||e.pushEvent(window.DataLayerHelper.EVENT_SELECT_ITEM,{destinations:N(new Set(null===(n=this.values.destinations)||void 0===n?void 0:n.filter((function(t){var e;return!(null!==(e=t._parent)&&void 0!==e&&e._checked)&&"0"!=t.value})).map((function(t){return t.label})))).join(",")||null,check_in_date:this.values.date?this.values.date.toISOString().split("T")[0]:null,weeks:(null===(i=this.values.weeks)||void 0===i?void 0:i.value)||null,bedrooms:(null===(o=this.values.bedrooms)||void 0===o||null===(o=o.value)||void 0===o?void 0:o.split(",")[0])||null,guests:(null===(a=this.values.guests)||void 0===a?void 0:a.value)||null,price_min:(null===(s=this.values.price)||void 0===s?void 0:s[0])!=this.originalValues.price[0]?this.values.price[0]:null,price_max:(null===(l=this.values.price)||void 0===l?void 0:l[1])!=this.originalValues.price[1]?this.values.price[1]:null,features:(null===(r=this.values.features)||void 0===r?void 0:r.map((function(t){return t.label})).join(","))||null,currency:(null===(c=geolocator.currency)||void 0===c?void 0:c.toUpperCase())||null,search_results:(null===(u=this.responseMainSearch)||void 0===u||null===(u=u.meta)||void 0===u?void 0:u.total_count)||null,view:this.view||null,ecommerce:{item_list_name:this.title||null,items:[{item_id:t.id||null,item_name:t.name||null,item_brand:window.DataLayerHelper.BRAND_NAME,item_category:t.region||null,item_category2:(null===(h=t.cmsMarketingRegion)||void 0===h?void 0:h.short_name)||t.subregion||null,item_variant:(null===(d=t.product)||void 0===d?void 0:d.adults)||null,item_variant2:null!==(p=t.product)&&void 0!==p&&p.categories.length?t.product.categories[0].url_slug:null,price:parseInt(null===(g=t.product)||void 0===g||null===(g=g.prices)||void 0===g?void 0:g[window.DataLayerHelper.DEFAULT_CURRENCY].min.replace(",",""),10)||null,price_type:window.DataLayerHelper[this.values.date?"PRICE_TYPE_SELECTED_DATES":"PRICE_TYPE_FROM_PRICE"],currency:window.DataLayerHelper.DEFAULT_CURRENCY.toUpperCase()||null,quantity:1,index:null!==(f=null===(m=t.indexes)||void 0===m?void 0:m.absolute)&&void 0!==f?f:null,rental_option_id:(null===(v=t.product)||void 0===v?void 0:v.id)||null,rental_option_name:(null===(b=t.product)||void 0===b?void 0:b.name)||null,rental_option_code:t.product?"".concat(null===(y=t.product)||void 0===y?void 0:y.adults).concat(null!==(w=t.product)&&void 0!==w&&w.categories.length?t.product.categories[0].url_slug:""):null}]}})}},watch:{isMobile:function(t,e){null!==e&&!e&&t&&this.toggleFilters(!1)}}})},4:function(t,e,n){t.exports=n("3ocG")},"97ZQ":function(t,e,n){"use strict";var i={name:"FormControlModal",components:{Teleport:n("sMx2").a},props:{id:String,show:Boolean},watch:{show:function(t,e){t!=e&&(t?$("body").addClass("overflow-hidden"):$("body").removeClass("overflow-hidden"))}},mounted:function(){var t;null===(t=window.FontAwesome)||void 0===t||t.dom.i2svg()},methods:{closeModal:function(){this.$emit("close")},goToPreviousStep:function(){this.$emit("go-to-previous-step")}}},o=n("KHd+"),a=Object(o.a)(i,(function(){var t=this,e=t._self._c;return e("teleport",{attrs:{to:"body"}},[e("transition",{attrs:{name:"fade"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:void 0===t.show||t.show,expression:"show === undefined || show"}],staticClass:"form-control-modal",attrs:{id:t.id}},[e("div",{staticClass:"form-control-modal-header"},[e("div",[e("button",{directives:[{name:"show",rawName:"v-show",value:!t.$root.isModalFirstStep,expression:"!$root.isModalFirstStep"}],staticClass:"btn",attrs:{type:"button"},on:{click:t.goToPreviousStep}},[e("i",{staticClass:"far fa-chevron-left"}),t._v(" "),e("span",{staticClass:"fs-20 pl-2"},[t._v("Back")])])]),t._v(" "),e("div",[e("button",{staticClass:"btn",attrs:{type:"button"},on:{click:t.closeModal}},[e("i",{staticClass:"far fa-times"})])])]),t._v(" "),e("div",{staticClass:"form-control-modal-content"},[e("div",{staticClass:"form-control-modal-heading"}),t._v(" "),e("div",{staticClass:"form-control-modal-control"}
1)])])])],1)}),[],!1,null,null,null);e.a=a.exports},DxOX:function(t,e,n){"use strict";function i(){var t=$(".navbar-mainmenu"),e=$(".navbar-submenu"),n=$(".navbar-live-avail"),i=0;return t.length&&t.is(":visible")&&!e.length&&(i+=t.outerHeight()),e.length&&e.is(":visible")&&(i+=e.outerHeight()),n.length&&n.is(":visible")&&(i+=n.outerHeight()),i}n.d(e,"a",(function(){return i}))},H8Oj:function(t,e,n){"use strict";var i={name:"FormControlButton",props:{label:{type:String,required:!0},icon:String,iconStyle:{type:String,default:"fal"},iconClass:String,badge:[String,Number],open:Boolean,showOpenIcon:Boolean},computed:{iconClasses:function(){return this.iconClass||"".concat(this.iconStyle," fa-").concat(this.icon)}}},o=n("KHd+"),a=Object(o.a)(i,(function(){var t=this,e=t._self._c;return e("button",{staticClass:"form-control form-control-lg text-left text-nowrap",class:{open:t.open},attrs:{type:"button"},on:{click:function(e){return t.$emit("click")}}},[e("div",{staticClass:"form-control-label",domProps:{textContent:t._s(t.label)}}),t._v(" "),t.badge?e("div",{staticClass:"badge badge-pill badge-primary fs-12"},[t._v(t._s(t.badge))]):t._e(),t._v(" "),t.icon||t.iconClass?e("div",{staticClass:"form-control-icon"},[e("i",{class:t.iconClasses})]):t._e(),t._v(" "),t.showOpenIcon?e("div",{staticClass:"form-control-open-icon fs-14"},[e("div",{directives:[{name:"show",rawName:"v-show",value:!t.open,expression:"!open"}]},[e("i",{staticClass:"far fa-plus"})]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}]},[e("i",{staticClass:"far fa-minus"})])]):t._e()])}),[],!1,null,null,null);e.a=a.exports},HDxs:function(t,e,n){"use strict";n.r(e);var i={name:"FormSelectOption",components:{FormSelectOptions:function(){return Promise.resolve().then(n.bind(null,"HDxs"))}},props:{checkbox:{type:Boolean,default:!1},option:{type:Object,required:!0},level:{type:Number,default:1},showCounter:Boolean,showCheckbox:{type:Boolean,default:!0},layout:{type:String,default:"list",validator:function(t){return["list","grid"].includes(t)}}},data:function(){return{open:!1,childrenElementHeight:null}},computed:{disabled:function(){return this.showCounter&&this.option.counter<1&&!this.option._checked},cssStyles:function(){var t={paddingLeft:"calc(var(--form-select-item-base-padding-left) * ".concat("grid"==this.layout?2*this.option.gridLevel:this.level,")")};return"grid"==this.layout&&(void 0!==this.option.column&&(t.gridColumn=this.option.column),void 0!==this.option.row&&(t.gridRow=this.option.row)),t}},created:function(){var t;this.open=null===(t=this.option.children)||void 0===t?void 0:t.some((function(t){return t._checked}))},mounted:function(){this.option.children||this.onOptionsMounted()},methods:{onOptionsMounted:function(){this.$emit("option-mounted")},onCollapseEnter:function(t){t.style.setProperty("--height","".concat(t.scrollHeight,"px"))},onClickHandle:function(){this.option.children&&!1!==this.option.collapsible&&"grid"!=this.layout?this.toggleChildren():this.optionClicked()},onClickCheckbox:function(){this.disabled||this.optionClicked()},optionClicked:function(t){this.disabled||this.$emit("option-click",t||this.option)},showChildren:function(){this.open=!0},hideChildren:function(){this.open=!1},toggleChildren:function(){this.open?this.hideChildren():this.showChildren()}}},o=n("KHd+"),a={name:"FormSelectOptions",components:{FormSelectOption:Object(o.a)(i,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"form-select-option",class:[{checked:t.option._checked,disabled:t.disabled},t.showCheckbox?"has-checkbox":"no-checkbox"]},[e("div",{staticClass:"form-select-option-handle",style:t.cssStyles,on:{click:t.onClickHandle}},["list"==t.layout?e("div",{staticClass:"form-select-option-handle-arrow",class:{"fa-rotate-90":t.open}},[!1!==t.option.collapsible&&t.option.children?e("i",{staticClass:"fas fa-chevron-right fa-fw"}):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"form-select-option-handle-label",domProps:{textContent:t._s(t.option.label)}}),t._v(" "),t.showCounter?e("div",{staticClass:"form-select-option-counter",domProps:{textContent:t._s(t.option.counter)}}):t._e(),t._v(" "),t.showCheckbox?e("div",{class:[t.checkbox?"form-checkbox":"form-radio",{checked:t.option._checked}],on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.onClickCheckbox.apply(null,arguments)}}},[t.option._checked?e("div",[e("i",{staticClass:"far fa-check"})]):t._e()]):t._e()]),t._v(" "),e("transition",{attrs:{name:"collapse"},on:{enter:t.onCollapseEnter}},[t.option.children?e("div",{directives:[{name:"show",rawName:"v-show",value:!1===t.option.collapsible||t.open||"grid"==t.layout,expression:"option.collapsible === false || open || layout == 'grid'"}],ref:"children",staticClass:"form-select-option-children"},[e("form-select-options",{attrs:{options:t.option.children,level:t.level+1,checkbox:t.checkbox,layout:t.layout},on:{"option-click":t.optionClicked,"options-mounted":t.onOptionsMounted}})],1):t._e()])],1)}),[],!1,null,null,null).exports},props:{checkbox:{type:Boolean,default:!1},options:{type:Array,required:!0},level:{type:Number,default:1},showCounters:Boolean,showCheckbox:{type:Boolean,default:!0},layout:{type:String,default:"list",validator:function(t){return["list","grid"].includes(t)}}},data:function(){return{mountedOptions:0}},mounted:function(){var t;null===(t=window.FontAwesome)||void 0===t||t.dom.i2svg()},methods:{optionClicked:function(t){this.$emit("option-click",t)},onOptionMounted:function(){this.mountedOptions++,this.mountedOptions>=this.options.length&&(this.level,this.$emit("options-mounted"))}}},s=Object(o.a)(a,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"form-select-options",class:["level-".concat(t.level),"layout-".concat(t.layout)]}
1,t._l(t.options,(function(n,i){return e("form-select-option",{key:i,attrs:{option:n,level:t.level,showCheckbox:t.showCheckbox,checkbox:t.checkbox,"show-counter":t.showCounters,layout:t.layout},on:{"option-click":t.optionClicked,"option-mounted":t.onOptionMounted}})})),1)}),[],!1,null,null,null);e.default=s.exports},JIoJ:function(t,e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,a=function(){};return{s:a,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,l=!0,r=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return l=t.done,t},e:function(t){r=!0,s=t},f:function(){try{l||null==n.return||n.return()}finally{if(r)throw s}}}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){for(var i=0;i<e.length;i++){var o=e[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,(a=o.key,s=void 0,s=function(t,e){if("object"!==n(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var o=i.call(t,e||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(a,"string"),"symbol"===n(s)?s:String(s)),o)}var a,s}t.exports=function(){function t(e,n){var o=this,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};a(this,t),this.options=Object.assign({onChange:$.noop,onVisible:$.noop,onHidden:$.noop},n||{}),this.observer=new IntersectionObserver((function(t,e){t.forEach((function(t){o.onIntersect(t.isIntersecting,e)}))}),Object.assign({root:document.documentElement},s)),Symbol.iterator in Object(e)||(e=[e]);var l,r=i(e);try{for(r.s();!(l=r.n()).done;){var c=l.value;this.observer.observe(c)}}catch(t){r.e(t)}finally{r.f()}}var e,n,o;return e=t,(n=[{key:"onIntersect",value:function(t,e){t?this.options.onVisible.apply(this,[e]):this.options.onHidden.apply(this,[e]),this.options.onChange.apply(this,[t,e])}},{key:"disconnect",value:function(){this.observer.disconnect()}},{key:"observe",value:function(t){this.observer.observe(t)}},{key:"takeRecords",value:function(){return this.observer.takeRecords()}},{key:"unobserve",value:function(t){this.observer.unobserve(t)}}])&&s(e.prototype,n),o&&s(e,o),Object.defineProperty(e,"prototype",{writable:!1}),t}()},"KHd+":function(t,e,n){"use strict";function i(t,e,n,i,o,a,s,l){var r,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),a&&(c._scopeId="data-v-"+a),s?(r=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=r):o&&(r=l?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),r)if(c.functional){c._injectStyles=r;var u=c.render;c.render=function(t,e){return r.call(e),u(t,e)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,r):[r]}return{exports:t,options:c}}n.d(e,"a",(function(){return i}))},"M/KR":function(t,e){var n;function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,l(i.key),i)}}function s(t,e,n){return(e=l(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function l(t){var e=function(t,e){if("object"!==i(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!==i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"===i(e)?e:String(e)}t.exports=(s(n=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};o(this,t),this.$target=$(e),this.options=Object.assign({onInit:null,airports:!1,borders:!1},n),this.googleMapsOptions=Object.assign({center:{lat:44,lng:11},zoom:8,maxZoom:window.googleMapsMaxZoom||null,styles:t.mapStyle},i),this.loadGoogleMapsApi()}var e,n,i;return e=t,(n=[{key:"loadGoogleMapsApi",value:function(){var e=this,n=Date.now(),i=Math.round(8999*Math.random()+1e3),o="initMapT".concat(n,"R").concat(i);if(void 0===window.GoogleMapScriptLoaded){var a=document.createElement("script");return a.src="https://maps.googleapis.com/maps/api/js?key=".concat(t.apiKey,"&callback=").concat(o),a.defer=!0,window[o]=function(){e.initMap()},document.head.appendChild(a),void(window.GoogleMapScriptLoaded=!0)}this.initMap()}},{key:"initMap",value:function(){this.$target.removeClass("loading"),this.map=new google.maps.Map(this.$target.get(0),this.googleMapsOptions),this.options.borders&&this.drawBorders(),this.options.airports&&this.placeAirports(),this.options.onInit&&this.options.onInit.apply(this,[this.map])}},{key:"drawBorders",value:function(){new google.maps.Polygon({paths:t.italyBorders,strokeColor:"#72afa4",strokeOpacity:.6,strokeWeight:5,fillColor:"#72afa4",fillOpacity:.1}).setMap(this.map)}},{key:"placeAirports",value:function(){var e=this;t.airports.forEach((function(t){e.createMarker(t.latitude_deg,t.longitude_deg,{title:t.name,icon:{url:"themes/tnam/assets/images/maps/airport.png",anchor:new google.maps.Point(14,15)},zIndex:-100})}))}},{key:"createMarker",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=new google.maps.LatLng(t,e);return new google.maps.Marker(Object.assign({position:i,map:this.map,icon:{url:"/themes/tnam/assets/images/maps/pin.png",anchor:new google.maps.Point(14,34),size:new google.maps.Size(33,35)}},n))}}])&&a(e.prototype,n),i&&a(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}(),"apiKey","AIzaSyCup6_NiBNXO0EUyg-M3xOt7hwoNdCHZJw"),s(n,"mapStyle",[{featureType:"landscape.natural",elementType:"geometry.fill",stylers:[{visibility:"on"},{color:"#e0efef"}]},{featureType:"poi",elementType:"geometry.fill",stylers:[{visibility:"on"},{hue:"#1900ff"},{color:"#c0e8e8"}]},{featureType:"road",elementType:"geometry",stylers:[{lightness:100},{visibility:"simplified"}]},{featureType:"road",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"administrative",elementType:"labels",stylers:[{visibility:"simplified"}]},{featureType:"administrative.country",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"administrative",elementType:"geometry",stylers:[{lightness:100},{visibility:"simplified"}]},{featureType:"poi",elementType:"labels",stylers:[{visibility:"on"}]},{featureType:"water",elementType:"labels",stylers:[{visibility:"on"}]},{featureType:"road",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{visibility:"on"},{lightness:700}]},{featureType:"transit.station.airport",elementType:"all",stylers:[{visibility:"on"},{lightness:700}]}]),s(n,"airports",[{ident:"PSA",type:"large_airport",name:"Pisa (PSA - Galileo Galilei)",latitude_deg:43.68389893,longitude_deg:10.3927002},{ident:"LIMJ",type:"large_airport",name:"Genoa Cristoforo Colombo Airport",latitude_deg:44.41329956,longitude_deg:8.837499619},{ident:"LIRQ",type:"medium_airport",name:"Peretola Airport",latitude_deg:43.810001,longitude_deg:11.2051},{ident:"LIRA",type:"large_airport",name:"Ciampino G. B. Pastine International Airport",latitude_deg:41.79940033,longitude_deg:12.59490013},{ident:"PEG",type:"medium_airport",name:"Perugia (PEG - Sant'Egidio)",latitude_deg:43.095901,longitude_deg:12.5132},{ident:"FCO",type:"medium_airport",name:"Fiumicino (FCO)",latitude_deg:41.850954,longitude_deg:12.243777}]),s(n,"italyBorders",[[{lat:43.972221,lng:12.740554999999972},{lat:43.976944,lng:12.720553999999993},{lat:43.987495,lng:12.689720999999963},{lat:44.088608,lng:12.545832000000019},{lat:44.109993,lng:12.518609999999967},{lat:44.16777,lng:12.44638800000007},{lat:44.189304,lng:12.422359000000029}
1,{lat:44.246666,lng:12.36833200000001},{lat:44.278332,lng:12.353471000000013},{lat:44.45166,lng:12.288886999999932},{lat:44.476105,lng:12.279998999999975},{lat:44.693886,lng:12.24541499999998},{lat:44.723885,lng:12.247638000000052},{lat:44.776245,lng:12.261526000000003},{lat:44.838261,lng:12.290136999999959},{lat:44.803886,lng:12.356109999999944},{lat:44.791382,lng:12.396943999999962},{lat:44.868401,lng:12.389859999999999},{lat:44.900131,lng:12.422637000000009},{lat:44.881733,lng:12.439372999999932},{lat:44.853607,lng:12.426805000000058},{lat:44.817749,lng:12.448783999999932},{lat:44.852772,lng:12.480000000000018},{lat:44.960617,lng:12.538053999999988},{lat:44.982635,lng:12.520137999999974},{lat:44.987011,lng:12.49527599999999},{lat:45.008236,lng:12.443704000000025},{lat:45.056107,lng:12.361943999999994},{lat:45.197495,lng:12.233332000000019},{lat:45.263885,lng:12.161110000000008},{lat:45.301964,lng:12.154224999999997},{lat:45.473328,lng:12.287082000000055},{lat:45.533051,lng:12.394444000000021},{lat:45.567493,lng:12.489651999999978},{lat:45.543816,lng:12.580692999999997},{lat:45.491261,lng:12.503991000000042},{lat:45.483257,lng:12.44847100000004},{lat:45.441174,lng:12.418262000000027},{lat:45.483887,lng:12.587499999999977},{lat:45.494438,lng:12.61722199999997},{lat:45.50222,lng:12.638054000000011},{lat:45.531105,lng:12.706944000000021},{lat:45.568886,lng:12.798887000000036},{lat:45.595551,lng:12.863887999999974},{lat:45.618332,lng:12.922499000000016},{lat:45.629997,lng:13.000831999999946},{lat:45.633888,lng:13.06361000000004},{lat:45.636524,lng:13.08777699999996},{lat:45.651665,lng:13.09610900000007},{lat:45.709648,lng:13.071248999999966},{lat:45.767841,lng:13.120901000000003},{lat:45.778053,lng:13.193332999999939},{lat:45.776939,lng:13.216944000000012},{lat:45.737442,lng:13.367942999999968},{lat:45.720551,lng:13.41506800000002},{lat:45.695621,lng:13.422151999999983},{lat:45.678291,lng:13.387428999999997},{lat:45.677219,lng:13.428888000000029},{lat:45.709442,lng:13.499442999999928},{lat:45.735134,lng:13.526458000000048},{lat:45.760971,lng:13.525068000000033},{lat:45.783329,lng:13.54263800000001},{lat:45.78196,lng:13.579473000000007},{lat:45.769997,lng:13.629998999999998},{lat:45.753609,lng:13.65611100000001},{lat:45.694302,lng:13.73569299999997},{lat:45.607494,lng:13.798054999999977},{lat:45.596107,lng:13.716944000000012},{lat:45.586388,lng:13.802221000000031},{lat:45.584442,lng:13.827775999999972},{lat:45.587219,lng:13.857220999999981},{lat:45.636387,lng:13.918331999999964},{lat:45.717773,lng:13.835278000000017},{lat:45.752773,lng:13.791526999999974},{lat:45.784164,lng:13.697497999999996},{lat:45.808884,lng:13.603747999999996},{lat:45.850273,lng:13.578332000000046},{lat:45.888119,lng:13.590692999999987},{lat:45.905136,lng:13.614096000000018},{lat:45.94791,lng:13.63472200000001},{lat:45.982006,lng:13.63510199999996},{lat:45.99305,lng:13.593332000000032},{lat:45.97937,lng:13.568956999999955},{lat:45.96833,lng:13.54027700000006},{lat:45.986248,lng:13.509860000000003},{lat:46.012218,lng:13.47972100000004},{lat:46.063332,lng:13.521943999999962},{lat:46.079437,lng:13.538886999999932},{lat:46.087284,lng:13.557360000000017},{lat:46.10527,lng:13.59361100000001},{lat:46.14555,lng:13.648192999999992},{lat:46.175308,lng:13.666040000000066},{lat:46.218048,lng:13.550554000000034},{lat:46.231941,lng:13.488471000000004},{lat:46.22319,lng:13.458957000000055},{lat:46.213051,lng:13.418888000000038},{lat:46.295135,lng:13.383470999999986},{lat:46.346382,lng:13.440832},{lat:46.38472,lng:13.511389000000008},{lat:46.449715,lng:13.657776000000013},{lat:46.45166,lng:13.692012999999974},{lat:46.492775,lng:13.71111099999996},{lat:46.518467,lng:13.719165999999973},{lat:46.526611,lng:13.718655000000012},{lat:46.54805,lng:13.611110999999937},{lat:46.556248,lng:13.554998000000069},{lat:46.563049,lng:13.428888000000029},{lat:46.561943,lng:13.257499999999936},{lat:46.631245,lng:12.825555000000008},{lat:46.647915,lng:12.778332999999975},{lat:46.649719,lng:12.757776000000035},{lat:46.644493,lng:12.747929},{lat:46.641315,lng:12.735623000000032},{lat:46.659721,lng:12.692498999999998},{lat:46.658882,lng:12.590277000000015},{lat:46.661659,lng:12.554442999999992},{lat:46.682365,lng:12.486174000000005},{lat:46.690826,lng:12.44055400000002},{lat:46.705551,lng:12.404305000000022},{lat:46.721107,lng:12.383748999999966},{lat:46.84111,lng:12.301666000000068},{lat:46.888885,lng:12.232221999999979},{lat:46.907913,lng:12.185555000000022},{lat:46.928055,lng:12.160276000000067},{lat:46.966942,lng:12.13611000000003},{lat:47.012566,lng:12.13301899999999},{lat:47.032982,lng:12.194581999999969},{lat:47.063049,lng:12.223887999999988},{lat:47.07222,lng:12.230832999999961},{lat:47.08416,lng:12.227498999999966},{lat:47.094582,lng:12.186109999999985},{lat:47.084812,lng:12.140130999999997},{lat:47.059441,lng:12.075277000000028},{lat:46.978188,lng:11.761250000000018},{lat:46.978886,lng:11.731109999999944},{lat:46.996384,lng:11.710137000000032},{lat:47.012775,lng:11.621942999999987}
1,{lat:47.01416,lng:11.483888999999976},{lat:46.967358,lng:11.177151999999978},{lat:46.929993,lng:11.118055000000027},{lat:46.915413,lng:11.100553999999988},{lat:46.891594,lng:11.097082},{lat:46.823467,lng:11.071386999999959},{lat:46.773331,lng:11.016804999999977},{lat:46.771111,lng:10.887777000000028},{lat:46.786942,lng:10.834165999999982},{lat:46.801384,lng:10.791665999999964},{lat:46.830551,lng:10.763263000000052},{lat:46.873814,lng:10.680137999999943},{lat:46.870415,lng:10.646943999999962},{lat:46.857773,lng:10.599721999999929},{lat:46.848885,lng:10.56361000000004},{lat:46.85527,lng:10.49777599999993},{lat:46.865692,lng:10.476110000000062},{lat:46.871353,lng:10.471234999999979},{lat:46.763054,lng:10.447497999999996},{lat:46.635826,lng:10.47083299999997},{lat:46.617355,lng:10.486526000000026},{lat:46.592636,lng:10.485693999999967},{lat:46.555759,lng:10.47187400000007},{lat:46.542503,lng:10.457531000000017},{lat:46.539162,lng:10.44972000000007},{lat:46.549438,lng:10.337221},{lat:46.554859,lng:10.303611000000046},{lat:46.590412,lng:10.246318999999971},{lat:46.615967,lng:10.25360999999998},{lat:46.634441,lng:10.241804000000002},{lat:46.632217,lng:10.18110999999999},{lat:46.611382,lng:10.119165000000066},{lat:46.541523,lng:10.051388999999972},{lat:46.502636,lng:10.044443999999999},{lat:46.445587,lng:10.049684999999954},{lat:46.423748,lng:10.090692999999987},{lat:46.390274,lng:10.153888999999936},{lat:46.263119,lng:10.173956999999973},{lat:46.23069,lng:10.13638800000001},{lat:46.221798,lng:10.071769000000018},{lat:46.291664,lng:9.994999000000007},{lat:46.33305,lng:9.982220999999981},{lat:46.355202,lng:9.990415999999982},{lat:46.379581,lng:9.946943000000033},{lat:46.38319,lng:9.908053999999993},{lat:46.36972,lng:9.85277700000006},{lat:46.35833,lng:9.813054999999963},{lat:46.342209,lng:9.770555000000058},{lat:46.300274,lng:9.708816999999954},{lat:46.291939,lng:9.62472200000002},{lat:46.296944,lng:9.581944000000021},{lat:46.306244,lng:9.544860999999969},{lat:46.319717,lng:9.521387000000004},{lat:46.386246,lng:9.457637999999974},{lat:46.426666,lng:9.450277000000028},{lat:46.472496,lng:9.455000000000041},{lat:46.508053,lng:9.366804000000002},{lat:46.500828,lng:9.293782999999962},{lat:46.442425,lng:9.250624000000016},{lat:46.425762,lng:9.273124000000053},{lat:46.350967,lng:9.297221000000036},{lat:46.324856,lng:9.29263800000001},{lat:46.292496,lng:9.276666999999975},{lat:46.233631,lng:9.24100999999996},{lat:46.178604,lng:9.176457000000028},{lat:46.168049,lng:9.144439000000034},{lat:46.160271,lng:9.132220999999959},{lat:46.121109,lng:9.083332000000041},{lat:46.05722,lng:9.03583100000003},{lat:46.022499,lng:9.016665999999987},{lat:45.975136,lng:8.997360000000072},{lat:45.938953,lng:9.022985000000062},{lat:45.919998,lng:9.073053999999956},{lat:45.902287,lng:9.084096000000045},{lat:45.837776,lng:9.03666499999997},{lat:45.829437,lng:8.998333000000002},{lat:45.845276,lng:8.951110999999969},{lat:45.871872,lng:8.936318000000028},{lat:45.900833,lng:8.926666000000068},{lat:45.95277,lng:8.897778000000017},{lat:45.986385,lng:8.819860000000062},{lat:46.033886,lng:8.820277000000033},{lat:46.056732,lng:8.851456999999982},{lat:46.080757,lng:8.844165999999973},{lat:46.09861,lng:8.82222200000001},{lat:46.121109,lng:8.747220999999968},{lat:46.108589,lng:8.728855000000067},{lat:46.104023,lng:8.719303999999966},{lat:46.101109,lng:8.69652700000006},{lat:46.121246,lng:8.615831999999955},{lat:46.23333,lng:8.460554000000002},{lat:46.247215,lng:8.444999000000053},{lat:46.29319,lng:8.434582999999975},{lat:46.322979,lng:8.448124000000007},{lat:46.372635,lng:8.465970999999968},{lat:46.44833,lng:8.46083299999998},{lat:46.462078,lng:8.441457000000014},{lat:46.453606,lng:8.365275999999994},{lat:46.449997,lng:8.357221999999979},{lat:46.422913,lng:8.303749000000039},{lat:46.222912,lng:8.141943999999967},{lat:46.183819,lng:8.158748999999943},{lat:46.151245,lng:8.14958200000001},{lat:46.0093,lng:8.00902700000006},{lat:45.996941,lng:7.973054999999931},{lat:45.994164,lng:7.9500000000000455},{lat:45.992634,lng:7.906804999999963},{lat:45.975136,lng:7.879304999999931},{lat:45.948326,lng:7.866388000000029},{lat:45.919052,lng:7.855741999999964},{lat:45.923607,lng:7.783889000000045},{lat:45.93222,lng:7.743333000000007},{lat:45.943329,lng:7.7091669999999795},{lat:45.980553,lng:7.65027699999996},{lat:45.981667,lng:7.536665999999968},{lat:45.941109,lng:7.4580550000000585},{lat:45.929443,lng:7.42972199999997},{lat:45.915413,lng:7.386110000000031},{lat:45.920555,lng:7.338887999999997},{lat:45.923187,lng:7.296804999999949},{lat:45.898048,lng:7.230277000000001},{lat:45.880692,lng:7.191388999999958},{lat:45.883537,lng:7.10326299999997},{lat:45.903053,lng:7.070277000000033},{lat:45.931938,lng:7.038053999999988},{lat:45.875896,lng:6.984512999999993},{lat:45.85833,lng:6.943889000000013},{lat:45.852219,lng:6.922222000000033},{lat:45.849857,lng:6.902082999999948},{lat:45.855968,lng:6.872359999999958},{lat:45.834232,lng:6.813333000000057},{lat:45.788666,lng:6.799346000000014},{lat:45.729649,lng:6.809860999999955},{lat:45.596939,lng:6.969444000000067},{lat:45.525272,lng:6.995415999999977},{lat:45.47686,lng:7.089158999999995},{lat:45.43055,lng:7.146943999999962},{lat:45.377495,lng:7.158609999999953},{lat:45.2593,lng:7.127777000000037},{lat:45.223053,lng:7.064721999999961},{lat:45.179443,lng:6.93944399999998},{lat:45.153053,lng:6.82166600000005},{lat:45.16819,lng:6.766388000000006},{lat:45.148052,lng:6.689930000000004},{lat:45.126106,lng:6.637777000000028},{lat:45.124001,lng:6.63412100000005},{lat:45.115723,lng:6.623966999999993},{lat:45.039993,lng:6.661665999999968},{lat:44.918331,lng:6.749027999999953},{lat:44.905548,lng:6.77527699999996},{lat:44.870411,lng:6.8493049999999585},{lat:44.860413,lng:6.901665999999977},{lat:44.870689,lng:6.942360000000008},{lat:44.864304,lng:6.969165999999973},{lat:44.850693,lng:7.006388000000015},{lat:44.831383,lng:7.031665999999973},{lat:44.74472,lng:7.028332999999975},{lat:44.68819,lng:6.975415999999996},{lat:44.664719,lng:6.950832999999989},{lat:44.540833,lng:6.85277700000006},{lat:44.517776,lng:6.853611000000001},{lat:44.375134,lng:6.8779160000000275},{lat:44.284164,lng:6.976388000000043},{lat:44.246941,lng:7.031387999999993},{lat:44.131523,lng:7.3508319999999685},{lat:44.126106,lng:7.420971000000009},{lat:44.138611,lng:7.4663889999999355},{lat:44.156105,lng:7.520276999999965},{lat:44.180275,lng:7.614721000000031},{lat:44.17083,lng:7.662221999999929},{lat:44.133953,lng:7.661665999999968},{lat:44.091309,lng:7.70904500000006},{lat:44.075829,lng:7.7062499999999545},{lat:44.006802,lng:7.6586110000000645},{lat:43.964722,lng:7.598332000000028},{lat:43.874508,lng:7.4962150000000065},{lat:43.821106,lng:7.5125000000000455},{lat:43.782043,lng:7.531934999999976},{lat:43.791248,lng:7.5802079999999705},{lat:43.788887,lng:7.613888999999972},{lat:43.779575,lng:7.66548499999999},{lat:43.796246,lng:7.738888999999972},{lat:43.815277,lng:7.772778000000017},{lat:43.839996,lng:7.913888000000043},{lat:43.846382,lng:7.948889000000008},{lat:43.893051,lng:8.067777999999976},{lat:43.958748,lng:8.164651000000049},{lat:43.982773,lng:8.15631899999994},{lat:44.100414,lng:8.234304000000066},{lat:44.140831,lng:8.274026999999933},{lat:44.153469,lng:8.301387999999974},{lat:44.158607,lng:8.332222000000002},{lat:44.17979,lng:8.399234999999976},{lat:44.26791,lng:8.44392199999993},{lat:44.322632,lng:8.49527599999999},{lat:44.388329,lng:8.639998999999989},{lat:44.428051,lng:8.747220999999968},{lat:44.425552,lng:8.81555400000002},{lat:44.346939,lng:9.231111000000055},{lat:44.309719,lng:9.336526999999933},{lat:44.285271,lng:9.37277599999993},{lat:44.140831,lng:9.661110000000008},{lat:44.114716,lng:9.714995999999928},{lat:44.053879,lng:9.983606000000009},{lat:44.044174,lng:10.027333999999996},{lat:44.033054,lng:10.059720999999968},{lat:44.018608,lng:10.090831999999978},{lat:44.00375,lng:10.111804000000006},{lat:43.944717,lng:10.179442999999992},{lat:43.904995,lng:10.215692999999987},{lat:43.879025,lng:10.236249000000043},{lat:43.84333,lng:10.25222199999996},{lat:43.796108,lng:10.267499000000043},{lat:43.743328,lng:10.274166000000037},{lat:43.714439,lng:10.27694299999996},{lat:43.693745,lng:10.276665999999977},{lat:43.591301,lng:10.28760699999998},{lat:43.542564,lng:10.295137999999952},{lat:43.475132,lng:10.324513000000024},{lat:43.458611,lng:10.357497999999964},{lat:43.445831,lng:10.377637999999934},{lat:43.398048,lng:10.422776999999996},{lat:43.257496,lng:10.518331999999987},{lat:43.22361,lng:10.53027700000007},{lat:43.180832,lng:10.538331999999969},{lat:43.150135,lng:10.54263800000001},{lat:43.123329,lng:10.54083300000002},{lat:43.052773,lng:10.533331999999973},{lat:42.957497,lng:10.588887999999997},{lat:42.946522,lng:10.680694000000017},{lat:42.928677,lng:10.732637000000068}
1,{lat:42.899025,lng:10.775136999999972},{lat:42.839161,lng:10.768957},{lat:42.766937,lng:10.86249900000007},{lat:42.758888,lng:10.889444000000026},{lat:42.745831,lng:10.925554000000034},{lat:42.724442,lng:10.965692999999987},{lat:42.632217,lng:11.080276000000026},{lat:42.554993,lng:11.158053999999993},{lat:42.512497,lng:11.18715199999997},{lat:42.484859,lng:11.183887000000027},{lat:42.445618,lng:11.164651999999933},{lat:42.439438,lng:11.133055000000013},{lat:42.442425,lng:11.109928999999966},{lat:42.430275,lng:11.084581999999955},{lat:42.396523,lng:11.097429000000034},{lat:42.365131,lng:11.179720999999972},{lat:42.390827,lng:11.201804000000038},{lat:42.4118,lng:11.205971999999974},{lat:42.417496,lng:11.231667000000016},{lat:42.418606,lng:11.262220999999954},{lat:42.404648,lng:11.37277599999993},{lat:42.374176,lng:11.451317000000017},{lat:42.357498,lng:11.497499000000062},{lat:42.342773,lng:11.534166000000027},{lat:42.29826,lng:11.627706999999987},{lat:42.224442,lng:11.703888000000006},{lat:42.18222,lng:11.725554999999986},{lat:42.149548,lng:11.739359000000036},{lat:42.057495,lng:11.804998000000069},{lat:42.030273,lng:11.830762999999934},{lat:42.031105,lng:11.862220999999977},{lat:42.037773,lng:11.885276999999974},{lat:42.035969,lng:11.912498000000028},{lat:41.985832,lng:12.021111000000019},{lat:41.923054,lng:12.123332000000005},{lat:41.892082,lng:12.158470999999963},{lat:41.868053,lng:12.177776999999992},{lat:41.81694,lng:12.207082000000014},{lat:41.788052,lng:12.215832999999975},{lat:41.694443,lng:12.351388000000043},{lat:41.627632,lng:12.44708300000002},{lat:41.607216,lng:12.47194300000001},{lat:41.567772,lng:12.517776000000026},{lat:41.507217,lng:12.576110999999969},{lat:41.45784,lng:12.656110000000012},{lat:41.409996,lng:12.855000000000018},{lat:41.395554,lng:12.892221000000063},{lat:41.383606,lng:12.913054999999986},{lat:41.370277,lng:12.93222000000003},{lat:41.35305,lng:12.951944000000026},{lat:41.326385,lng:12.980000000000018},{lat:41.297913,lng:13.005415999999968},{lat:41.260136,lng:13.029583000000002},{lat:41.243332,lng:13.116805},{lat:41.259163,lng:13.146943999999962},{lat:41.268883,lng:13.169997999999964},{lat:41.282494,lng:13.21111099999996},{lat:41.295135,lng:13.276111000000014},{lat:41.238052,lng:13.566804000000047},{lat:41.25597,lng:13.614444000000049},{lat:41.259716,lng:13.64416499999993},{lat:41.25111,lng:13.712221},{lat:41.234741,lng:13.73765400000002},{lat:41.211105,lng:13.775833000000034},{lat:41.193329,lng:13.798054999999977},{lat:41.152496,lng:13.837221},{lat:41.078049,lng:13.899999999999977},{lat:40.963329,lng:13.989166000000068},{lat:40.919716,lng:14.017776000000026},{lat:40.901245,lng:14.028749000000062},{lat:40.862221,lng:14.04680499999995},{lat:40.821938,lng:14.073889000000008},{lat:40.806938,lng:14.166942999999947},{lat:40.818192,lng:14.216041000000018},{lat:40.840202,lng:14.26888800000006},{lat:40.826244,lng:14.31194400000004},{lat:40.747913,lng:14.452775999999972},{lat:40.710201,lng:14.47454700000003},{lat:40.63805,lng:14.390971000000036},{lat:40.627357,lng:14.36298499999998},{lat:40.599998,lng:14.40194299999996},{lat:40.61972,lng:14.504721000000018},{lat:40.647633,lng:14.625137999999993},{lat:40.675968,lng:14.753469999999993},{lat:40.67305,lng:14.77485999999999},{lat:40.631519,lng:14.830762999999934},{lat:40.558746,lng:14.898331999999982},{lat:40.445831,lng:14.96444299999996},{lat:40.395691,lng:14.99166600000001},{lat:40.363953,lng:14.990624000000025},{lat:40.341385,lng:14.964166999999975},{lat:40.271111,lng:14.927221000000031},{lat:40.234161,lng:14.941944000000035},{lat:40.195549,lng:15.012498999999934},{lat:40.172356,lng:15.104444000000058},{lat:40.16069,lng:15.137359999999944},{lat:40.0718,lng:15.264305000000036},{lat:40.031387,lng:15.313054999999963},{lat:40.000896,lng:15.35486000000003},{lat:39.991451,lng:15.416387999999984},{lat:40.02861,lng:15.458611000000019},{lat:40.070065,lng:15.509790000000066},{lat:40.076107,lng:15.560694000000012},{lat:40.07444,lng:15.583055000000058},{lat:40.064579,lng:15.618749999999977},{lat:40.042931,lng:15.64225799999997},{lat:40.033051,lng:15.663749000000053},{lat:39.979721,lng:15.712221},{lat:39.95694,lng:15.728887999999984},{lat:39.927216,lng:15.748333000000002},{lat:39.918884,lng:15.754998999999998},{lat:39.862843,lng:15.781874000000016},{lat:39.792496,lng:15.787498000000028},{lat:39.707497,lng:15.799860999999964},{lat:39.679302,lng:15.80791499999998},{lat:39.609993,lng:15.85305399999993},{lat:39.533882,lng:15.903888999999936},{lat:39.516525,lng:15.926666000000068},{lat:39.449646,lng:15.980902000000015},{lat:39.344368,lng:16.033817},{lat:39.256386,lng:16.053333000000066},{lat:39.224998,lng:16.05610999999999},{lat:39.186245,lng:16.05722000000003},{lat:39.129166,lng:16.064163000000008},{lat:39.022774,lng:16.099719999999934},{lat:38.948193,lng:16.157081999999946},{lat:38.931938,lng:16.194164},{lat:38.921383,lng:16.21978999999999},{lat:38.868607,lng:16.22110699999996},{lat:38.836384,lng:16.218748000000005},{lat:38.797775,lng:16.208053999999947},{lat:38.769165,lng:16.194999999999936},{lat:38.745205,lng:16.178191999999967},{lat:38.715553,lng:16.12916599999994},{lat:38.712635,lng:16.098885999999993}
1,{lat:38.720833,lng:16.067497000000003},{lat:38.72361,lng:16.045276999999942},{lat:38.723885,lng:16.023608999999965},{lat:38.721664,lng:15.984443000000056},{lat:38.657288,lng:15.849790999999982},{lat:38.627979,lng:15.829025999999999},{lat:38.612774,lng:15.845552999999995},{lat:38.59333,lng:15.87694399999998},{lat:38.576111,lng:15.894722000000002},{lat:38.545967,lng:15.922638000000006},{lat:38.525265,lng:15.92239799999993},{lat:38.472771,lng:15.90611100000001},{lat:38.451942,lng:15.895555000000058},{lat:38.302494,lng:15.815277000000037},{lat:38.281521,lng:15.794721999999979},{lat:38.266106,lng:15.760276999999974},{lat:38.257496,lng:15.737359999999967},{lat:38.255829,lng:15.715277000000015},{lat:38.240273,lng:15.654444000000012},{lat:38.229298,lng:15.62958100000003},{lat:38.192841,lng:15.629998},{lat:38.063049,lng:15.645276999999965},{lat:38.004581,lng:15.635137999999984},{lat:37.957844,lng:15.667846999999938},{lat:37.931107,lng:15.720276000000013},{lat:37.92083,lng:15.756109000000038},{lat:37.916939,lng:15.775833000000034},{lat:37.916939,lng:15.78111100000001},{lat:37.919167,lng:15.794721999999979},{lat:37.926109,lng:15.866665000000012},{lat:37.927773,lng:15.922776999999996},{lat:37.922493,lng:15.94722200000001},{lat:37.918884,lng:15.996111000000042},{lat:37.924232,lng:16.057286999999974},{lat:37.946106,lng:16.087775999999963},{lat:37.975277,lng:16.113470000000007},{lat:38.020828,lng:16.135553000000073},{lat:38.041523,lng:16.13888499999996},{lat:38.069164,lng:16.143331999999987},{lat:38.128258,lng:16.159997999999973},{lat:38.297913,lng:16.33041400000002},{lat:38.309162,lng:16.358469000000014},{lat:38.32444,lng:16.414165000000025},{lat:38.336937,lng:16.448887000000013},{lat:38.346382,lng:16.470553999999993},{lat:38.358055,lng:16.490554999999972},{lat:38.376938,lng:16.515552999999954},{lat:38.391663,lng:16.532776000000013},{lat:38.428333,lng:16.569165999999996},{lat:38.448566,lng:16.576387000000068},{lat:38.520271,lng:16.57499699999994},{lat:38.554161,lng:16.569999999999936},{lat:38.602776,lng:16.561664999999948},{lat:38.648605,lng:16.548884999999927},{lat:38.709438,lng:16.53451199999995},{lat:38.742493,lng:16.54999900000007},{lat:38.779716,lng:16.573608000000036},{lat:38.800827,lng:16.594997000000035},{lat:38.817635,lng:16.614998000000014},{lat:38.875549,lng:16.730830999999966},{lat:38.91708,lng:16.834879},{lat:38.935829,lng:16.929442999999992},{lat:38.938747,lng:16.95291499999996},{lat:38.939022,lng:16.97583199999997},{lat:38.907845,lng:17.097845000000007},{lat:38.919441,lng:17.126941999999985},{lat:38.963333,lng:17.169167000000016},{lat:38.997772,lng:17.169167000000016},{lat:39.039024,lng:17.158191999999985},{lat:39.053745,lng:17.14180399999998},{lat:39.098743,lng:17.116665000000012},{lat:39.263054,lng:17.10888699999998},{lat:39.314579,lng:17.115970999999945},{lat:39.365551,lng:17.13597100000004},{lat:39.396385,lng:17.145553999999947},{lat:39.46611,lng:17.034164000000033},{lat:39.492775,lng:16.96305499999994},{lat:39.568604,lng:16.823608000000036},{lat:39.617218,lng:16.741386000000034},{lat:39.622772,lng:16.626389000000017},{lat:39.629715,lng:16.59694300000001},{lat:39.644581,lng:16.555691000000024},{lat:39.662914,lng:16.529998999999975},{lat:39.749161,lng:16.490554999999972},{lat:39.773746,lng:16.48666400000002},{lat:39.799999,lng:16.490137000000004},{lat:39.822357,lng:16.499164999999948},{lat:39.871941,lng:16.536662999999976},{lat:39.898048,lng:16.563331999999946},{lat:39.996246,lng:16.60972000000004},{lat:40.04361,lng:16.599441999999954},{lat:40.086174,lng:16.60861},{lat:40.109856,lng:16.629997000000003},{lat:40.118301,lng:16.64134999999999},{lat:40.147079,lng:16.688052999999968},{lat:40.216526,lng:16.74131799999998},{lat:40.244858,lng:16.74972200000002},{lat:40.311382,lng:16.79152499999998},{lat:40.39035,lng:16.86379599999998},{lat:40.405273,lng:16.874164999999948},{lat:40.45055,lng:16.91930400000001},{lat:40.467777,lng:16.942221000000018},{lat:40.498886,lng:16.998333000000002},{lat:40.506386,lng:17.017776000000026},{lat:40.515274,lng:17.04694399999994},{lat:40.520481,lng:17.076594999999998},{lat:40.488293,lng:17.31701099999998},{lat:40.469719,lng:17.28999699999997},{lat:40.473328,lng:17.268055000000004},{lat:40.454994,lng:17.245830999999953},{lat:40.412495,lng:17.203817000000072},{lat:40.330551,lng:17.392776000000026},{lat:40.297497,lng:17.50680399999999},{lat:40.299721,lng:17.54999900000007},{lat:40.303329,lng:17.636387000000013},{lat:40.304024,lng:17.673469999999952},{lat:40.296661,lng:17.762775000000033},{lat:40.294441,lng:17.784999999999968},{lat:40.284439,lng:17.857219999999984},{lat:40.254997,lng:17.906386999999995},{lat:40.101315,lng:18.01221799999996},{lat:40.011177,lng:18.019407},{lat:39.998814,lng:17.99659500000007},{lat:39.937706,lng:18.040761999999972},{lat:39.902916,lng:18.08208300000001},{lat:39.856667,lng:18.155830000000037},{lat:39.846939,lng:18.17722100000003},{lat:39.837494,lng:18.19944399999997},{lat:39.833328,lng:18.226944000000003}
1,{lat:39.832359,lng:18.257218999999964},{lat:39.819996,lng:18.30499800000007},{lat:39.806107,lng:18.329719999999952},{lat:39.791939,lng:18.349441999999954},{lat:39.798191,lng:18.375274999999988},{lat:39.816246,lng:18.39110900000003},{lat:39.899612,lng:18.399337999999943},{lat:39.936104,lng:18.399441000000024},{lat:39.994022,lng:18.41874699999994},{lat:40.028049,lng:18.443888000000015},{lat:40.03923,lng:18.472429000000034},{lat:40.102913,lng:18.51444200000003},{lat:40.13472,lng:18.51249699999994},{lat:40.23111,lng:18.459720999999945},{lat:40.264999,lng:18.440830000000005},{lat:40.288467,lng:18.424859999999967},{lat:40.410828,lng:18.274719000000005},{lat:40.494438,lng:18.127498999999943},{lat:40.524994,lng:18.08166499999993},{lat:40.555271,lng:18.039164000000028},{lat:40.577774,lng:18.03583100000003},{lat:40.612221,lng:18.026108000000022},{lat:40.643051,lng:18.012638000000038},{lat:40.678604,lng:17.93722200000002},{lat:40.730827,lng:17.761108000000036},{lat:40.819717,lng:17.496387000000027},{lat:40.828884,lng:17.473610000000008},{lat:40.942772,lng:17.321941000000038},{lat:40.964787,lng:17.29485699999998},{lat:40.989441,lng:17.254997000000003},{lat:41.029579,lng:17.183748000000037},{lat:41.08194,lng:17.049720999999977},{lat:41.154716,lng:16.78888699999993},{lat:41.191383,lng:16.657776000000013},{lat:41.25222,lng:16.491942999999992},{lat:41.365555,lng:16.192219000000023},{lat:41.404716,lng:16.085278000000017},{lat:41.418884,lng:16.033053999999993},{lat:41.439716,lng:15.985000000000014},{lat:41.485828,lng:15.926248999999984},{lat:41.530273,lng:15.898331999999982},{lat:41.565273,lng:15.890414999999962},{lat:41.588467,lng:15.890971000000036},{lat:41.613331,lng:15.897638000000029},{lat:41.631386,lng:15.919859999999971},{lat:41.640553,lng:15.937776999999983},{lat:41.653191,lng:15.980277000000001},{lat:41.676941,lng:16.030551999999943},{lat:41.740555,lng:16.13888499999996},{lat:41.757774,lng:16.16499699999997},{lat:41.789993,lng:16.19277599999998},{lat:41.829437,lng:16.193677999999977},{lat:41.911175,lng:16.145553999999947},{lat:41.936104,lng:16.08249699999999},{lat:41.943886,lng:16.053886000000034},{lat:41.946663,lng:16.022915000000012},{lat:41.935272,lng:15.913610000000062},{lat:41.925278,lng:15.856943000000001},{lat:41.916943,lng:15.765275999999972},{lat:41.915829,lng:15.679095999999959},{lat:41.923607,lng:15.599998000000028},{lat:41.909164,lng:15.497220999999968},{lat:41.906387,lng:15.455555000000004},{lat:41.903885,lng:15.404720999999995},{lat:41.905548,lng:15.373055000000022},{lat:41.924442,lng:15.162360000000035},{lat:41.928024,lng:15.141920000000027},{lat:41.937218,lng:15.09916499999997},{lat:41.952774,lng:15.062776999999983},{lat:41.984859,lng:15.025971000000027},{lat:42.00444,lng:14.996387000000027},{lat:42.015831,lng:14.93972199999996},{lat:42.02055,lng:14.894027000000051},{lat:42.042774,lng:14.83124900000007},{lat:42.074783,lng:14.762181999999939},{lat:42.077774,lng:14.754721000000018},{lat:42.08791,lng:14.736526000000026},{lat:42.104027,lng:14.72166500000003},{lat:42.141937,lng:14.714998000000037},{lat:42.168053,lng:14.716249000000062},{lat:42.189163,lng:14.661387999999988},{lat:42.198883,lng:14.628886999999963},{lat:42.204994,lng:14.60472100000004},{lat:42.218887,lng:14.565832},{lat:42.261383,lng:14.504165999999941},{lat:42.482498,lng:14.199998999999934},{lat:42.541107,lng:14.130553999999961},{lat:42.600273,lng:14.074998999999934},{lat:42.61972,lng:14.058332000000064},{lat:42.669998,lng:14.016665999999987},{lat:42.711109,lng:13.987221999999974},{lat:42.803604,lng:13.93972199999996},{lat:42.844719,lng:13.923610999999937},{lat:42.901382,lng:13.905553999999938},{lat:42.91333,lng:13.897499000000039},{lat:42.942215,lng:13.882499999999936},{lat:42.964439,lng:13.873609999999985},{lat:43.006386,lng:13.86249900000007},{lat:43.078331,lng:13.848054999999931},{lat:43.350555,lng:13.711666000000037},{lat:43.489025,lng:13.62958100000003},{lat:43.537045,lng:13.621526000000017},{lat:43.57,lng:13.599443000000065},{lat:43.601665,lng:13.552082000000041},{lat:43.630661,lng:13.506399999999985},{lat:43.610966,lng:13.480414999999994},{lat:43.622772,lng:13.426108999999997},{lat:43.649162,lng:13.356667000000016},{lat:43.675415,lng:13.295278000000053},{lat:43.735832,lng:13.193332999999939},{lat:43.754059,lng:13.171182999999928},{lat:43.786659,lng:13.125554999999963},{lat:43.835827,lng:13.055971},{lat:43.924721,lng:12.903054999999995},{lat:43.963192,lng:12.818609000000038},{lat:43.970276,lng:12.764721000000009},{lat:43.971001,lng:12.753574000000071}],[{lat:39.200554,lng:8.396943999999962},{lat:39.163052,lng:8.432083000000034},{lat:39.117496,lng:8.459165999999982},{lat:39.089706,lng:8.45382799999993},{lat:39.107079,lng:8.425833000000011},{lat:39.105759,lng:8.356805000000008},{lat:39.073746,lng:8.345831999999973},{lat:39.030273,lng:8.360000000000014},{lat:38.958538,lng:8.408331999999973},{lat:38.964718,lng:8.43652700000007},{lat:39,lng:8.44987900000001},{lat:39.036549,lng:8.474483999999961},{lat:39.061028,lng:8.505380999999943},{lat:39.049995,lng:8.551387999999974},{lat:39.009995,lng:8.566386999999963},{lat:38.91861,lng:8.615833000000066},{lat:38.890274,lng:8.646387000000004},{lat:38.921803,lng:8.711666000000037},{lat:38.877911,lng:8.851179000000002},{lat:38.902634,lng:8.902082000000064},{lat:38.988052,lng:9.006942999999978},{lat:39.044998,lng:9.043332999999961},{lat:39.07972,lng:9.022499000000039},{lat:39.101662,lng:9.016109000000029},{lat:39.126389,lng:9.013331999999991},{lat:39.263191,lng:9.013540000000035},{lat:39.184685,lng:9.154340999999931},{lat:39.213882,lng:9.295276999999942},{lat:39.205826,lng:9.321664999999939},{lat:39.19416,lng:9.342498999999975},{lat:39.177498,lng:9.366109999999935},{lat:39.158054,lng:9.39083299999993},{lat:39.140831,lng:9.410554999999931},{lat:39.12442,lng:9.442635999999993},{lat:39.118332,lng:9.521665999999982},{lat:39.145618,lng:9.565067999999997},{lat:39.190899,lng:9.569408000000067},{lat:39.22847,lng:9.56763699999999},{lat:39.332771,lng:9.600277000000006},{lat:39.430275,lng:9.630832999999939},{lat:39.486382,lng:9.642221000000063}
1,{lat:39.549164,lng:9.651666999999975},{lat:39.730827,lng:9.675344999999993},{lat:39.753052,lng:9.670971000000009},{lat:39.779442,lng:9.670555000000036},{lat:39.808884,lng:9.674720999999977},{lat:39.935272,lng:9.694999999999936},{lat:40.04055,lng:9.713610000000017},{lat:40.102219,lng:9.698333000000048},{lat:40.139164,lng:9.656804999999963},{lat:40.193188,lng:9.626666},{lat:40.251873,lng:9.623332000000005},{lat:40.282219,lng:9.636943999999971},{lat:40.308327,lng:9.657220999999936},{lat:40.354023,lng:9.705554000000006},{lat:40.372913,lng:9.734860000000026},{lat:40.38562,lng:9.76131799999996},{lat:40.442497,lng:9.800277999999935},{lat:40.46833,lng:9.809443999999985},{lat:40.527218,lng:9.824164999999994},{lat:40.540554,lng:9.804930000000013},{lat:40.597496,lng:9.750276999999983},{lat:40.629997,lng:9.742776999999933},{lat:40.638611,lng:9.742498000000069},{lat:40.666245,lng:9.750276999999983},{lat:40.852493,lng:9.659166000000027},{lat:40.921104,lng:9.612777999999935},{lat:40.913055,lng:9.566386999999963},{lat:40.920376,lng:9.510449999999992},{lat:40.989166,lng:9.63388800000007},{lat:41.117775,lng:9.562498000000005},{lat:41.14666,lng:9.513331999999991},{lat:41.254715,lng:9.233055000000036},{lat:41.239227,lng:9.164512999999943},{lat:41.191666,lng:9.16083100000003},{lat:41.130276,lng:9.04694399999994},{lat:41.121941,lng:9.012638000000038},{lat:40.999443,lng:8.873470999999995},{lat:40.966591,lng:8.849998000000028},{lat:40.934441,lng:8.81027599999993},{lat:40.918468,lng:8.78263800000002},{lat:40.914577,lng:8.749721000000022},{lat:40.912357,lng:8.701387000000068},{lat:40.890484,lng:8.638680000000022},{lat:40.868465,lng:8.620554999999968},{lat:40.848606,lng:8.604303999999956},{lat:40.839996,lng:8.579721000000063},{lat:40.831383,lng:8.543054999999981},{lat:40.823608,lng:8.505277999999976},{lat:40.820274,lng:8.480000000000018},{lat:40.821938,lng:8.457498999999984},{lat:40.836105,lng:8.356388000000038},{lat:40.847359,lng:8.307082000000037},{lat:40.859997,lng:8.284444000000008},{lat:40.909718,lng:8.232221999999979},{lat:40.938396,lng:8.22805399999993},{lat:40.913605,lng:8.192498999999998},{lat:40.744164,lng:8.148887999999943},{lat:40.721382,lng:8.149721},{lat:40.692215,lng:8.172222000000033},{lat:40.636383,lng:8.178333000000066},{lat:40.620831,lng:8.148192999999992},{lat:40.587406,lng:8.164008999999965},{lat:40.615971,lng:8.195970999999986},{lat:40.587494,lng:8.301805000000058},{lat:40.492775,lng:8.36722199999997},{lat:40.321388,lng:8.457222000000002},{lat:40.226662,lng:8.461666000000037},{lat:40.143326,lng:8.46444299999996},{lat:40.006802,lng:8.408887999999934},{lat:39.946106,lng:8.39861099999996},{lat:39.901314,lng:8.395971000000031},{lat:39.894581,lng:8.429998000000069},{lat:39.910133,lng:8.45659599999999},{lat:39.902287,lng:8.520414999999957},{lat:39.867702,lng:8.553956999999969},{lat:39.844994,lng:8.55722000000003},{lat:39.816666,lng:8.551666000000068},{lat:39.779442,lng:8.541942999999947},{lat:39.75222,lng:8.52361099999996},{lat:39.723747,lng:8.497221999999965},{lat:39.758987,lng:8.452046999999993},{lat:39.681938,lng:8.443332999999939},{lat:39.632706,lng:8.448194000000058},{lat:39.493607,lng:8.413054999999986},{lat:39.44722,lng:8.39194299999997},{lat:39.372913,lng:8.371528000000012},{lat:39.343468,lng:8.398124000000053},{lat:39.339439,lng:8.418609999999944},{lat:39.290619,lng:8.432361000000014},{lat:39.268883,lng:8.424166000000014},{lat:39.226105,lng:8.366109999999935}],[{lat:36.651802,lng:15.091527000000042},{lat:36.674091,lng:15.13395700000001},{lat:36.743534,lng:15.114164999999957},{lat:36.78569,lng:15.095762000000036},{lat:36.839996,lng:15.110276999999996},{lat:36.913326,lng:15.15069399999993},{lat:36.935272,lng:15.180276999999933},{lat:36.955276,lng:15.214166999999975},{lat:36.981667,lng:15.26222000000007},{lat:37.008888,lng:15.316665999999941},{lat:37.043053,lng:15.316110999999978},{lat:37.103123,lng:15.299930000000018},{lat:37.109787,lng:15.259997999999996},{lat:37.124855,lng:15.230692999999974},{lat:37.157494,lng:15.203888000000006},{lat:37.183884,lng:15.186942999999928},{lat:37.348324,lng:15.092707000000019},{lat:37.463051,lng:15.08583299999998},{lat:37.490273,lng:15.092498999999975},{lat:37.51944,lng:15.11860999999999},{lat:37.542774,lng:15.14999899999998},{lat:37.561939,lng:15.168054999999981},{lat:37.651382,lng:15.200831999999991},{lat:37.709164,lng:15.217775999999958},{lat:37.764442,lng:15.219720999999936},{lat:37.785271,lng:15.235276999999996},{lat:37.943886,lng:15.369024999999965},{lat:38.000832,lng:15.427775999999994},{lat:38.078606,lng:15.50360999999998},{lat:38.13694,lng:15.528888999999936},{lat:38.210274,lng:15.559999000000062},{lat:38.236732,lng:15.576247999999964},{lat:38.250694,lng:15.608194000000026},{lat:38.264576,lng:15.647936999999956},{lat:38.29694,lng:15.545832000000019},{lat:38.292912,lng:15.51541599999996},{lat:38.207222,lng:15.301666000000068},{lat:38.145554,lng:15.150833000000034},{lat:38.122498,lng:15.088749000000007},{lat:38.157219,lng:14.969442999999956},{lat:38.170555,lng:14.874442999999928},{lat:38.154442,lng:14.78472099999999},{lat:38.077286,lng:14.643470999999977},{lat:38.04277,lng:14.519444000000021},{lat:38.01833,lng:14.367916000000037},{lat:38.012215,lng:14.311942999999928},{lat:38.012215,lng:14.242776999999933},{lat:38.022774,lng:14.132776000000035},{lat:38.035828,lng:14.013887000000068},{lat:38.029579,lng:13.944303999999988},{lat:38.010342,lng:13.916525999999976},{lat:37.998055,lng:13.886664999999994},{lat:37.978737,lng:13.820985999999948},{lat:37.972221,lng:13.791111},{lat:37.970966,lng:13.760694000000058},{lat:37.976662,lng:13.711387999999943},{lat:38.107498,lng:13.382499999999936},{lat:38.120758,lng:13.367151000000035},{lat:38.152775,lng:13.372013000000038},{lat:38.186943,lng:13.357915999999932},{lat:38.217495,lng:13.318610000000035},{lat:38.184509,lng:13.100345999999945},{lat:38.133781,lng:13.056108999999992},{lat:38.090168,lng:13.069478000000004},{lat:38.058884,lng:13.01916499999993},{lat:38.032776,lng:12.955555000000004},{lat:38.02486,lng:12.923610999999937},{lat:38.025272,lng:12.892845999999963},{lat:38.068886,lng:12.821664999999939},{lat:38.139717,lng:12.733609999999999},{lat:38.060551,lng:12.558193999999958},{lat:38.015137,lng:12.510138999999981},{lat:37.916107,lng:12.466388999999936},{lat:37.872772,lng:12.477846},{lat:37.817978,lng:12.458471000000031},{lat:37.806107,lng:12.441665999999941},{lat:37.803257,lng:12.430797999999982},{lat:37.699165,lng:12.468332000000032},{lat:37.658882,lng:12.514165999999932},{lat:37.559784,lng:12.656110000000012},{lat:37.555134,lng:12.68138799999997},{lat:37.566105,lng:12.728748999999993},{lat:37.573051,lng:12.756109000000038},{lat:37.579021,lng:12.792777000000001},{lat:37.573051,lng:12.922915999999987},{lat:37.557358,lng:12.962221},{lat:37.541523,lng:12.985000000000014},{lat:37.49305,lng:13.08583299999998},{lat:37.491245,lng:13.15597200000002},{lat:37.455276,lng:13.218332000000032},{lat:37.421944,lng:13.256665999999996},{lat:37.398537,lng:13.272428999999988},{lat:37.361107,lng:13.330000000000041},{lat:37.324165,lng:13.412777000000006},{lat:37.287216,lng:13.505277999999976},{lat:37.283333,lng:13.543332999999961},{lat:37.275829,lng:13.566804000000047},{lat:37.216106,lng:13.647638000000029},{lat:37.1968,lng:13.66506800000002},{lat:37.157776,lng:13.738333000000011},{lat:37.099438,lng:13.887638000000038},{lat:37.094719,lng:13.932361000000014},{lat:37.100349,lng:13.955754999999954},{lat:37.110275,lng:13.998055000000022},{lat:37.109859,lng:14.101805000000013},{lat:37.099022,lng:14.144999999999982},{lat:37.062218,lng:14.245832000000064},{lat:37.042496,lng:14.276387999999997},{lat:36.989292,lng:14.347120000000018},{lat:36.966385,lng:14.373609999999985},{lat:36.942497,lng:14.39388800000006},{lat:36.914021,lng:14.414165000000025},{lat:36.873329,lng:14.441110999999978},{lat:36.83416,lng:14.459165999999982},{lat:36.780273,lng:14.553609999999935},{lat:36.718605,lng:14.721387999999934},{lat:36.704437,lng:14.779165000000035},{lat:36.714996,lng:14.813889000000017},{lat:36.728054,lng:14.863194000000021},{lat:36.72583,lng:14.895833000000039},{lat:36.698608,lng:15.023609999999962},{lat:36.686943,lng:15.043748999999934},{lat:36.649162,lng:15.08138800000006}],[{lat:42.713676,lng:10.427637000000004}
1,{lat:42.851871,lng:10.439165000000003},{lat:42.870068,lng:10.413053999999988},{lat:42.856106,lng:10.393055000000004},{lat:42.827358,lng:10.378055000000018},{lat:42.805275,lng:10.355693999999971},{lat:42.792774,lng:10.233471000000009},{lat:42.799858,lng:10.220970999999963},{lat:42.809166,lng:10.208611000000019},{lat:42.813606,lng:10.182776999999987},{lat:42.810829,lng:10.144998999999984},{lat:42.806389,lng:10.126665000000003},{lat:42.799442,lng:10.111388000000034},{lat:42.784855,lng:10.100970999999959},{lat:42.768887,lng:10.10305500000004},{lat:42.747498,lng:10.116942999999992},{lat:42.739582,lng:10.124582000000032},{lat:42.731667,lng:10.139165999999932},{lat:42.729721,lng:10.149166000000037},{lat:42.729439,lng:10.160276000000067},{lat:42.735275,lng:10.209165999999982},{lat:42.746384,lng:10.234722000000033},{lat:42.75972,lng:10.299720999999977},{lat:42.765274,lng:10.340832999999975},{lat:42.761246,lng:10.351388000000043},{lat:42.708611,lng:10.418609999999944}],[{lat:45.419994,lng:12.379226000000017},{lat:45.414959,lng:12.426902000000041},{lat:45.430325,lng:12.391145000000051},{lat:45.425819,lng:12.369160999999963},{lat:45.341328,lng:12.314332000000036}]]),n)},OWSx:function(t,e){!function(t,e,n,i){"use strict";if(t.console=t.console||{info:function(t){}},n)if(n.fn.fancybox)console.info("fancyBox already initialized");else{var o,a,s={closeExisting:!1,loop:!1,gutter:50,keyboard:!0,preventCaptionOverlap:!0,arrows:!0,infobar:!0,smallBtn:"auto",toolbar:"auto",buttons:["zoom","slideShow","thumbs","close"],idleTime:3,protect:!1,modal:!1,image:{preload:!1},ajax:{settings:{data:{fancybox:!0}}},iframe:{tpl:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" allowfullscreen="allowfullscreen" allow="autoplay; fullscreen" src=""></iframe>',preload:!0,css:{},attr:{scrolling:"auto"}},video:{tpl:'<video class="fancybox-video" controls controlsList="nodownload" poster="{{poster}}"><source src="{{src}}" type="{{format}}" />Sorry, your browser doesn\'t support embedded videos, <a href="{{src}}">download</a> and watch with your favorite video player!</video>',format:"",autoStart:!0},defaultType:"image",animationEffect:"zoom",animationDuration:366,zoomOpacity:"auto",transitionEffect:"fade",transitionDuration:366,slideClass:"",baseClass:"",baseTpl:'<div class="fancybox-container" role="dialog" tabindex="-1"><div class="fancybox-bg"></div><div class="fancybox-inner"><div class="fancybox-infobar"><span data-fancybox-index></span> / <span data-fancybox-count></span></div><div class="fancybox-toolbar">{{buttons}}</div><div class="fancybox-navigation">{{arrows}}</div><div class="fancybox-stage"></div><div class="fancybox-caption"><div class="fancybox-caption__body"></div></div></div></div>',spinnerTpl:'<div class="fancybox-loading"></div>',errorTpl:'<div class="fancybox-error"><p>{{ERROR}}</p></div>',btnTpl:{download:'<a download data-fancybox-download class="fancybox-button fancybox-button--download" title="{{DOWNLOAD}}" href="javascript:;"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.62 17.09V19H5.38v-1.91zm-2.97-6.96L17 11.45l-5 4.87-5-4.87 1.36-1.32 2.68 2.64V5h1.92v7.77z"/></svg></a>',zoom:'<button data-fancybox-zoom class="fancybox-button fancybox-button--zoom" title="{{ZOOM}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.7 17.3l-3-3a5.9 5.9 0 0 0-.6-7.6 5.9 5.9 0 0 0-8.4 0 5.9 5.9 0 0 0 0 8.4 5.9 5.9 0 0 0 7.7.7l3 3a1 1 0 0 0 1.3 0c.4-.5.4-1 0-1.5zM8.1 13.8a4 4 0 0 1 0-5.7 4 4 0 0 1 5.7 0 4 4 0 0 1 0 5.7 4 4 0 0 1-5.7 0z"/></svg></button>',close:'<button data-fancybox-close class="fancybox-button fancybox-button--close" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 10.6L6.6 5.2 5.2 6.6l5.4 5.4-5.4 5.4 1.4 1.4 5.4-5.4 5.4 5.4 1.4-1.4-5.4-5.4 5.4-5.4-1.4-1.4-5.4 5.4z"/></svg></button>',arrowLeft:'<button data-fancybox-prev class="fancybox-button fancybox-button--arrow_left" title="{{PREV}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11.28 15.7l-1.34 1.37L5 12l4.94-5.07 1.34 1.38-2.68 2.72H19v1.94H8.6z"/></svg></div></button>',arrowRight:'<button data-fancybox-next class="fancybox-button fancybox-button--arrow_right" title="{{NEXT}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1<path d="M15.4 12.97l-2.68 2.72 1.34 1.38L19 12l-4.94-5.07-1.34 1.38 2.68 2.72H5v1.94z"/></svg></div></button>',smallBtn:'<button type="button" data-fancybox-close class="fancybox-button fancybox-close-small" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" version="1" viewBox="0 0 24 24"><path d="M13 12l5-5-1-1-5 5-5-5-1 1 5 5-5 5 1 1 5-5 5 5 1-1z"/></svg></button>'},parentEl:"body",hideScrollbar:!0,autoFocus:!0,backFocus:!0,trapFocus:!0,fullScreen:{autoStart:!1},touch:{vertical:!0,momentum:!0},hash:null,media:{},slideShow:{autoStart:!1,speed:3e3},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"},wheel:"auto",onInit:n.noop,beforeLoad:n.noop,afterLoad:n.noop,beforeShow:n.noop,afterShow:n.noop,beforeClose:n.noop,afterClose:n.noop,onActivate:n.noop,onDeactivate:n.noop,clickContent:function(t,e){return"image"===t.type&&"zoom"},clickSlide:"close",clickOutside:"close",dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1,mobile:{preventCaptionOverlap:!1,idleTime:!1,clickContent:function(t,e){return"image"===t.type&&"toggleControls"},clickSlide:function(t,e){return"image"===t.type?"toggleControls":"close"},dblclickContent:function(t,e){return"image"===t.type&&"zoom"},dblclickSlide:function(t,e){return"image"===t.type&&"zoom"}},lang:"en",i18n:{en:{CLOSE:"Close",NEXT:"Next",PREV:"Previous",ERROR:"The requested content cannot be loaded. <br/> Please try again later.",PLAY_START:"Start slideshow",PLAY_STOP:"Pause slideshow",FULL_SCREEN:"Full screen",THUMBS:"Thumbnails",DOWNLOAD:"Download",SHARE:"Share",ZOOM:"Zoom"},de:{CLOSE:"Schließen",NEXT:"Weiter",PREV:"Zurück",ERROR:"Die angeforderten Daten konnten nicht geladen werden. <br/> Bitte versuchen Sie es später nochmal.",PLAY_START:"Diaschau starten",PLAY_STOP:"Diaschau beenden",FULL_SCREEN:"Vollbild",THUMBS:"Vorschaubilder",DOWNLOAD:"Herunterladen",SHARE:"Teilen",ZOOM:"Vergrößern"}}},l=n(t),r=n(e),c=0,u=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||function(e){return t.setTimeout(e,1e3/60)},h=t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.oCancelAnimationFrame||function(e){t.clearTimeout(e)},d=function(){var t,n=e.createElement("fakeelement"),i={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(t in i)if(void 0!==n.style[t])return i[t];return"transitionend"}(),p=function(t){return t&&t.length&&t[0].offsetHeight},g=function(t,e){var i=n.extend(!0,{},t,e);return n.each(e,(function(t,e){n.isArray(e)&&(i[t]=e)})),i},f=function(t,e,i){this.opts=g({index:i},n.fancybox.defaults),n.isPlainObject(e)&&(this.opts=g(this.opts,e)),n.fancybox.isMobile&&(this.opts=g(this.opts,this.opts.mobile)),this.id=this.opts.id||++c,this.currIndex=parseInt(this.opts.index,10)||0,this.prevIndex=null,this.prevPos=null,this.currPos=0,this.firstRun=!0,this.group=[],this.slides={},this.addContent(t),this.group.length&&this.init()};n.extend(f.prototype,{init:function(){var i,o,a=this,s=a.group[a.currIndex].opts;s.closeExisting&&n.fancybox.close(!0),n("body").addClass("fancybox-active"),!n.fancybox.getInstance()&&!1!==s.hideScrollbar&&!n.fancybox.isMobile&&e.body.scrollHeight>t.innerHeight&&(n("head").append('<style id="fancybox-style-noscroll" type="text/css">.compensate-for-scrollbar{margin-right:'+(t.innerWidth-e.documentElement.clientWidth)+"px;}</style>"),n("body").addClass("compensate-for-scrollbar")),o="",n.each(s.buttons,(function(t,e){o+=s.btnTpl[e]||""})),i=n(a.translate(a,s.baseTpl.replace("{{buttons}}",o).replace("{{arrows}}",s.btnTpl.arrowLeft+s.btnTpl.arrowRight))).attr("id","fancybox-container-"+a.id).addClass(s.baseClass).data("FancyBox",a).appendTo(s.parentEl),a.$refs={container:i},["bg","inner","infobar","toolbar","stage","caption","navigation"].forEach((function(t){a.$refs[t]=i.find(".fancybox-"+t)})),a.trigger("onInit"),a.activate(),a.jumpTo(a.currIndex)},translate:function(t,e){var n=t.opts.i18n[t.opts.lang]||t.opts.i18n.en;return e.replace(/\{\{(\w+)\}\}/g,(function(t,e){return void 0===n[e]?t:n[e]}))},addContent:function(t){var e,i=this,o=n.makeArray(t);n.each(o,(function(t,e){var o,a,s,l,r,c={},u={};n.isPlainObject(e)?(c=e,u=e.opts||e):"object"===n.type(e)&&n(e).length?(u=(o=n(e)).data()||{},(u=n.extend(!0,{},u,u.options)).$orig=o,c.src=i.opts.src||u.src||o.attr("href"),c.type||c.src||(c.type="inline",c.src=e)):c={type:"html",src:e+""},c.opts=n.extend(!0,{},i.opts,u),n.isArray(u.buttons)&&(c.opts.buttons=u.buttons),n.fancybox.isMobile&&c.opts.mobile&&(c.opts=g(c.opts,c.opts.mobile)),a=c.type||c.opts.type,l=c.src||"",!a&&l&&((s=l.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i))?(a="video",c.opts.video.format||(c.opts.video.format="video/"+("ogv"===s[1]?"ogg":s[1]))):l.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?a="image":l.match(/\.(pdf)((\?|#).*)?$/i)?(a="iframe",c=n.extend(!0,c,{contentType:"pdf",opts:{iframe:{preload:!1}}})):"#"===l.charAt(0)&&(a="inline")),a?c.type=a:i.trigger("objectNeedsType",c),c.contentType||(c.contentType=n.inArray(c.type,["html","inline","ajax"])>-1?"html":c.type),c.index=i.group.length,"auto"==c.opts.smallBtn&&(c.opts.smallBtn=n.inArray(c.type,["html","inline","ajax"])>-1),"auto"===c.opts.toolbar&&(c.opts.toolbar=!c.opts.smallBtn),c.$thumb=c.opts.$thumb||null,c.opts.$trigger&&c.index===i.opts.index&&(c.$thumb=c.opts.$trigger.find("img:first"),c.$thumb.length&&(c.opts.$orig=c.opts.$trigger)),c.$thumb&&c.$thumb.length||!c.opts.$orig||(c.$thumb=c.opts.$orig.find("img:first")),c.$thumb&&!c.$thumb.length&&(c.$thumb=null),c.thumb=c.opts.thumb||(c.$thumb?c.$thumb[0].src:null),"function"===n.type(c.opts.caption)&&(c.opts.caption=c.opts.caption.apply(e,[i,c])),"function"===n.type(i.opts.caption)&&(c.opts.caption=i.opts.caption.apply(e,[i,c])),c.opts.caption instanceof n||(c.opts.caption=void 0===c.opts.caption?"":c.opts.caption+""),"ajax"===c.type&&(r=l.split(/\s+/,2)).length>1&&(c.src=r.shift(),c.opts.filter=r.shift()),c.opts.modal&&(c.opts=n.extend(!0,c.opts,{trapFocus:!0,infobar:0,toolbar:0,smallBtn:0,keyboard:0,slideShow:0,fullScreen:0,thumbs:0,touch:0,clickContent:!1,clickSlide:!1,clickOutside:!1,dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1})),i.group.push(c)})),Object.keys(i.slides).length&&(i.updateControls(),(e=i.Thumbs
1)&&e.isActive&&(e.create(),e.focus()))},addEvents:function(){var e=this;e.removeEvents(),e.$refs.container.on("click.fb-close","[data-fancybox-close]",(function(t){t.stopPropagation(),t.preventDefault(),e.close(t)})).on("touchstart.fb-prev click.fb-prev","[data-fancybox-prev]",(function(t){t.stopPropagation(),t.preventDefault(),e.previous()})).on("touchstart.fb-next click.fb-next","[data-fancybox-next]",(function(t){t.stopPropagation(),t.preventDefault(),e.next()})).on("click.fb","[data-fancybox-zoom]",(function(t){e[e.isScaledDown()?"scaleToActual":"scaleToFit"]()})),l.on("orientationchange.fb resize.fb",(function(t){t&&t.originalEvent&&"resize"===t.originalEvent.type?(e.requestId&&h(e.requestId),e.requestId=u((function(){e.update(t)}))):(e.current&&"iframe"===e.current.type&&e.$refs.stage.hide(),setTimeout((function(){e.$refs.stage.show(),e.update(t)}),n.fancybox.isMobile?600:250))})),r.on("keydown.fb",(function(t){var i=(n.fancybox?n.fancybox.getInstance():null).current,o=t.keyCode||t.which;if(9!=o){if(!(!i.opts.keyboard||t.ctrlKey||t.altKey||t.shiftKey||n(t.target).is("input,textarea,video,audio,select")))return 8===o||27===o?(t.preventDefault(),void e.close(t)):37===o||38===o?(t.preventDefault(),void e.previous()):39===o||40===o?(t.preventDefault(),void e.next()):void e.trigger("afterKeydown",t,o)}else i.opts.trapFocus&&e.focus(t)})),e.group[e.currIndex].opts.idleTime&&(e.idleSecondsCounter=0,r.on("mousemove.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle",(function(t){e.idleSecondsCounter=0,e.isIdle&&e.showControls(),e.isIdle=!1})),e.idleInterval=t.setInterval((function(){e.idleSecondsCounter++,e.idleSecondsCounter>=e.group[e.currIndex].opts.idleTime&&!e.isDragging&&(e.isIdle=!0,e.idleSecondsCounter=0,e.hideControls())}),1e3))},removeEvents:function(){l.off("orientationchange.fb resize.fb"),r.off("keydown.fb .fb-idle"),this.$refs.container.off(".fb-close .fb-prev .fb-next"),this.idleInterval&&(t.clearInterval(this.idleInterval),this.idleInterval=null)},previous:function(t){return this.jumpTo(this.currPos-1,t)},next:function(t){return this.jumpTo(this.currPos+1,t)},jumpTo:function(t,e){var i,o,a,s,l,r,c,u,h,d=this,g=d.group.length;if(!(d.isDragging||d.isClosing||d.isAnimating&&d.firstRun)){if(t=parseInt(t,10),!(a=d.current?d.current.opts.loop:d.opts.loop)&&(t<0||t>=g))return!1;if(i=d.firstRun=!Object.keys(d.slides).length,l=d.current,d.prevIndex=d.currIndex,d.prevPos=d.currPos,s=d.createSlide(t),g>1&&((a||s.index<g-1)&&d.createSlide(t+1),(a||s.index>0)&&d.createSlide(t-1)),d.current=s,d.currIndex=s.index,d.currPos=s.pos,d.trigger("beforeShow",i),d.updateControls(),s.forcedDuration=void 0,n.isNumeric(e)?s.forcedDuration=e:e=s.opts[i?"animationDuration":"transitionDuration"],e=parseInt(e,10),o=d.isMoved(s),s.$slide.addClass("fancybox-slide--current"),i)return s.opts.animationEffect&&e&&d.$refs.container.css("transition-duration",e+"ms"),d.$refs.container.addClass("fancybox-is-open").trigger("focus"),d.loadSlide(s),void d.preload("image");r=n.fancybox.getTranslate(l.$slide),c=n.fancybox.getTranslate(d.$refs.stage),n.each(d.slides,(function(t,e){n.fancybox.stop(e.$slide,!0)})),l.pos!==s.pos&&(l.isComplete=!1),l.$slide.removeClass("fancybox-slide--complete fancybox-slide--current"),o?(h=r.left-(l.pos*r.width+l.pos*l.opts.gutter),n.each(d.slides,(function(t,i){i.$slide.removeClass("fancybox-animated").removeClass((function(t,e){return(e.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")}));var o=i.pos*r.width+i.pos*i.opts.gutter;n.fancybox.setTranslate(i.$slide,{top:0,left:o-c.left+h}),i.pos!==s.pos&&i.$slide.addClass("fancybox-slide--"+(i.pos>s.pos?"next":"previous")),p(i.$slide),n.fancybox.animate(i.$slide,{top:0,left:(i.pos-s.pos)*r.width+(i.pos-s.pos)*i.opts.gutter},e,(function(){i.$slide.css({transform:"",opacity:""}).removeClass("fancybox-slide--next fancybox-slide--previous"),i.pos===d.currPos&&d.complete()}))}))):e&&s.opts.transitionEffect&&(u="fancybox-animated fancybox-fx-"+s.opts.transitionEffect,l.$slide.addClass("fancybox-slide--"+(l.pos>s.pos?"next":"previous")),n.fancybox.animate(l.$slide,u,e,(function(){l.$slide.removeClass(u).removeClass("fancybox-slide--next fancybox-slide--previous")}),!1)),s.isLoaded?d.revealContent(s):d.loadSlide(s),d.preload("image")}},createSlide:function(t){var e,i;return i=(i=t%this.group.length)<0?this.group.length+i:i,!this.slides[t]&&this.group[i]&&(e=n('<div class="fancybox-slide"></div>').appendTo(this.$refs.stage),this.slides[t]=n.extend(!0,{},this.group[i],{pos:t,$slide:e,isLoaded:!1}),this.updateSlide(this.slides[t])),this.slides[t]}
1,scaleToActual:function(t,e,i){var o,a,s,l,r,c=this,u=c.current,h=u.$content,d=n.fancybox.getTranslate(u.$slide).width,p=n.fancybox.getTranslate(u.$slide).height,g=u.width,f=u.height;c.isAnimating||c.isMoved()||!h||"image"!=u.type||!u.isLoaded||u.hasError||(c.isAnimating=!0,n.fancybox.stop(h),t=void 0===t?.5*d:t,e=void 0===e?.5*p:e,(o=n.fancybox.getTranslate(h)).top-=n.fancybox.getTranslate(u.$slide).top,o.left-=n.fancybox.getTranslate(u.$slide).left,l=g/o.width,r=f/o.height,a=.5*d-.5*g,s=.5*p-.5*f,g>d&&((a=o.left*l-(t*l-t))>0&&(a=0),a<d-g&&(a=d-g)),f>p&&((s=o.top*r-(e*r-e))>0&&(s=0),s<p-f&&(s=p-f)),c.updateCursor(g,f),n.fancybox.animate(h,{top:s,left:a,scaleX:l,scaleY:r},i||366,(function(){c.isAnimating=!1})),c.SlideShow&&c.SlideShow.isActive&&c.SlideShow.stop())},scaleToFit:function(t){var e,i=this,o=i.current,a=o.$content;i.isAnimating||i.isMoved()||!a||"image"!=o.type||!o.isLoaded||o.hasError||(i.isAnimating=!0,n.fancybox.stop(a),e=i.getFitPos(o),i.updateCursor(e.width,e.height),n.fancybox.animate(a,{top:e.top,left:e.left,scaleX:e.width/a.width(),scaleY:e.height/a.height()},t||366,(function(){i.isAnimating=!1})))},getFitPos:function(t){var e,i,o,a,s=t.$content,l=t.$slide,r=t.width||t.opts.width,c=t.height||t.opts.height,u={};return!!(t.isLoaded&&s&&s.length)&&(e=n.fancybox.getTranslate(this.$refs.stage).width,i=n.fancybox.getTranslate(this.$refs.stage).height,e-=parseFloat(l.css("paddingLeft"))+parseFloat(l.css("paddingRight"))+parseFloat(s.css("marginLeft"))+parseFloat(s.css("marginRight")),i-=parseFloat(l.css("paddingTop"))+parseFloat(l.css("paddingBottom"))+parseFloat(s.css("marginTop"))+parseFloat(s.css("marginBottom")),r&&c||(r=e,c=i),(r*=o=Math.min(1,e/r,i/c))>
1e-.5&&(r=e),(c*=o)>i-.5&&(c=i),"image"===t.type?(u.top=Math.floor(.5*(i-c))+parseFloat(l.css("paddingTop")),u.left=Math.floor(.5*(e-r))+parseFloat(l.css("paddingLeft"))):"video"===t.contentType&&(c>r/(a=t.opts.width&&t.opts.height?r/c:t.opts.ratio||16/9)?c=r/a:r>c*a&&(r=c*a)),u.width=r,u.height=c,u)},update:function(t){var e=this;n.each(e.slides,(function(n,i){e.updateSlide(i,t)}))},updateSlide:function(t,e){var i=t&&t.$content,o=t.width||t.opts.width,a=t.height||t.opts.height,s=t.$slide;this.adjustCaption(t),i&&(o||a||"video"===t.contentType)&&!t.hasError&&(n.fancybox.stop(i),n.fancybox.setTranslate(i,this.getFitPos(t)),t.pos===this.currPos&&(this.isAnimating=!1,this.updateCursor())),this.adjustLayout(t),s.length&&(s.trigger("refresh"),t.pos===this.currPos&&this.$refs.toolbar.add(this.$refs.navigation.find(".fancybox-button--arrow_right")).toggleClass("compensate-for-scrollbar",s.get(0).scrollHeight>s.get(0).clientHeight)),this.trigger("onUpdate",t,e)},centerSlide:function(t){var e=this,i=e.current,o=i.$slide;!e.isClosing&&i&&(o.siblings().css({transform:"",opacity:""}),o.parent().children().removeClass("fancybox-slide--previous fancybox-slide--next"),n.fancybox.animate(o,{top:0,left:0,opacity:1},void 0===t?0:t,(function(){o.css({transform:"",opacity:""}),i.isComplete||e.complete()}),!1))},isMoved:function(t){var e,i,o=t||this.current;return!!o&&(i=n.fancybox.getTranslate(this.$refs.stage),e=n.fancybox.getTranslate(o.$slide),!o.$slide.hasClass("fancybox-animated")&&(Math.abs(e.top-i.top)>.5||Math.abs(e.left-i.left)>.5))},updateCursor:function(t,e){var i,o,a=this.current,s=this.$refs.container;a&&!this.isClosing&&this.Guestures&&(s.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-zoomOut fancybox-can-swipe fancybox-can-pan"),o=!!(i=this.canPan(t,e))||this.isZoomable(),s.toggleClass("fancybox-is-zoomable",o),n("[data-fancybox-zoom]").prop("disabled",!o),i?s.addClass("fancybox-can-pan"):o&&("zoom"===a.opts.clickContent||n.isFunction(a.opts.clickContent)&&"zoom"==a.opts.clickContent(a))?s.addClass("fancybox-can-zoomIn"):a.opts.touch&&(a.opts.touch.vertical||this.group.length>1)&&"video"!==a.contentType&&s.addClass("fancybox-can-swipe"))},isZoomable:function(){var t,e=this.current;if(e&&!this.isClosing&&"image"===e.type&&!e.hasError){if(!e.isLoaded)return!0;if((t=this.getFitPos(e))&&(e.width>t.width||e.height>t.height))return!0}return!1},isScaledDown:function(t,e){var i=!1,o=this.current,a=o.$content;return void 0!==t&&void 0!==e?i=t<o.width&&e<o.height:a&&(i=(i=n.fancybox.getTranslate(a)).width<o.width&&i.height<o.height),i},canPan:function(t,e){var i=this.current,o=null,a=!1;return"image"===i.type&&(i.isComplete||t&&e)&&!i.hasError&&(a=this.getFitPos(i),void 0!==t&&void 0!==e?o={width:t,height:e}:i.isComplete&&(o=n.fancybox.getTranslate(i.$content)),o&&a&&(a=Math.abs(o.width-a.width)>1.5||Math.abs(o.height-a.height)>1.5)),a},loadSlide:function(t){var e,i,o,a=this;if(!t.isLoading&&!t.isLoaded){if(t.isLoading=!0,!1===a.trigger("beforeLoad",t))return t.isLoading=!1,!1;switch(e=t.type,(i=t.$slide).off("refresh").trigger("onReset").addClass(t.opts.slideClass),e){case"image":a.setImage(t);break;case"iframe":a.setIframe(t);break;case"html":a.setContent(t,t.src||t.content);break;case"video":a.setContent(t,t.opts.video.tpl.replace(/\{\{src\}\}/gi,t.src).replace("{{format}}",t.opts.videoFormat||t.opts.video.format||"").replace("{{poster}}",t.thumb||""));break;case"inline":n(t.src).length?a.setContent(t,n(t.src)):a.setError(t);break;case"ajax":a.showLoading(t),o=n.ajax(n.extend({},t.opts.ajax.settings,{url:t.src,success:function(e,n){"success"===n&&a.setContent(t,e)},error:function(e,n){e&&"abort"!==n&&a.setError(t)}})),i.one("onReset",(function(){o.abort()}));break;default:a.setError(t)}return!0}},setImage:function(t){var i,o=this;setTimeout((function(){var e=t.$image;o.isClosing||!t.isLoading||e&&e.length&&e[0].complete||t.hasError||o.showLoading(t)}),50),o.checkSrcset(t),t.$content=n('<div class="fancybox-content"></div>').addClass("fancybox-is-hidden").appendTo(t.$slide.addClass("fancybox-slide--image")),!1!==t.opts.preload&&t.opts.width&&t.opts.height&&t.thumb&&(t.width=t.opts.width,t.height=t.opts.height,(i=e.createElement("img")).onerror=function(){n(this).remove(),t.$ghost=null},i.onload=function(){o.afterLoad(t)},t.$ghost=n(i).addClass("fancybox-image").appendTo(t.$content).attr("src",t.thumb)),o.setBigImage(t)}
1,checkSrcset:function(e){var n,i,o,a,s=e.opts.srcset||e.opts.image.srcset;if(s){o=t.devicePixelRatio||1,a=t.innerWidth*o,(i=s.split(",").map((function(t){var e={};return t.trim().split(/\s+/).forEach((function(t,n){var i=parseInt(t.substring(0,t.length-1),10);if(0===n)return e.url=t;i&&(e.value=i,e.postfix=t[t.length-1])})),e}))).sort((function(t,e){return t.value-e.value}));for(var l=0;l<i.length;l++){var r=i[l];if("w"===r.postfix&&r.value>=a||"x"===r.postfix&&r.value>=o){n=r;break}}!n&&i.length&&(n=i[i.length-1]),n&&(e.src=n.url,e.width&&e.height&&"w"==n.postfix&&(e.height=e.width/e.height*n.value,e.width=n.value),e.opts.srcset=s)}},setBigImage:function(t){var i=this,o=e.createElement("img"),a=n(o);t.$image=a.one("error",(function(){i.setError(t)})).one("load",(function(){var e;t.$ghost||(i.resolveImageSlideSize(t,this.naturalWidth,this.naturalHeight),i.afterLoad(t)),i.isClosing||(t.opts.srcset&&((e=t.opts.sizes)&&"auto"!==e||(e=(t.width/t.height>1&&l.width()/l.height()>1?"100":Math.round(t.width/t.height*100))+"vw"),a.attr("sizes",e).attr("srcset",t.opts.srcset)),t.$ghost&&setTimeout((function(){t.$ghost&&!i.isClosing&&t.$ghost.hide()}),Math.min(300,Math.max(1e3,t.height/1600))),i.hideLoading(t))})).addClass("fancybox-image").attr("src",t.src).appendTo(t.$content),(o.complete||"complete"==o.readyState)&&a.naturalWidth&&a.naturalHeight?a.trigger("load"):o.error&&a.trigger("error")},resolveImageSlideSize:function(t,e,n){var i=parseInt(t.opts.width,10),o=parseInt(t.opts.height,10);t.width=e,t.height=n,i>0&&(t.width=i,t.height=Math.floor(i*n/e)),o>0&&(t.width=Math.floor(o*e/n),t.height=o)},setIframe:function(t){var e,i=this,o=t.opts.iframe,a=t.$slide;t.$content=n('<div class="fancybox-content'+(o.preload?" fancybox-is-hidden":"")+'"></div>').css(o.css).appendTo(a),a.addClass("fancybox-slide--"+t.contentType),t.$iframe=e=n(o.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr(o.attr).appendTo(t.$content),o.preload?(i.showLoading(t),e.on("load.fb error.fb",(function(e){this.isReady=1,t.$slide.trigger("refresh"),i.afterLoad(t)})),a.on("refresh.fb",(function(){var n,i=t.$content,s=o.css.width,l=o.css.height;if(1===e[0].isReady){try{n=e.contents().find("body")}catch(t){}n&&n.length&&n.children().length&&(a.css("overflow","visible"),i.css({width:"100%","max-width":"100%",height:"9999px"}),void 0===s&&(s=Math.ceil(Math.max(n[0].clientWidth,n.outerWidth(!0)))),i.css("width",s||"").css("max-width",""),void 0===l&&(l=Math.ceil(Math.max(n[0].clientHeight,n.outerHeight(!0)))),i.css("height",l||""),a.css("overflow","auto")),i.removeClass("fancybox-is-hidden")}}))):i.afterLoad(t),e.attr("src",t.src),a.one("onReset",(function(){try{n(this).find("iframe").hide().unbind().attr("src","//about:blank")}catch(t){}n(this).off("refresh.fb").empty(),t.isLoaded=!1,t.isRevealed=!1}))},setContent:function(t,e){var i;this.isClosing||(this.hideLoading(t),t.$content&&n.fancybox.stop(t.$content),t.$slide.empty(),(i=e)&&i.hasOwnProperty&&i instanceof n&&e.parent().length?((e.hasClass("fancybox-content")||e.parent().hasClass("fancybox-content"))&&e.parents(".fancybox-slide").trigger("onReset"),t.$placeholder=n("<div>").hide().insertAfter(e),e.css("display","inline-block")):t.hasError||("string"===n.type(e)&&(e=n("<div>").append(n.trim(e)).contents()),t.opts.filter&&(e=n("<div>").html(e).find(t.opts.filter))),t.$slide.one("onReset",(function(){n(this).find("video,audio").trigger("pause"),t.$placeholder&&(t.$placeholder.after(e.removeClass("fancybox-content").hide()).remove(),t.$placeholder=null),t.$smallBtn&&(t.$smallBtn.remove(),t.$smallBtn=null),t.hasError||(n(this).empty(),t.isLoaded=!1,t.isRevealed=!1)})),n(e).appendTo(t.$slide),n(e).is("video,audio")&&(n(e).addClass("fancybox-video"),n(e).wrap("<div></div>"),t.contentType="video",t.opts.width=t.opts.width||n(e).attr("width"),t.opts.height=t.opts.height||n(e).attr("height")),t.$content=t.$slide.children().filter("div,form,main,video,audio,article,.fancybox-content").first(),t.$content.siblings().hide(),t.$content.length||(t.$content=t.$slide.wrapInner("<div></div>").children().first()),t.$content.addClass("fancybox-content"),t.$slide.addClass("fancybox-slide--"+t.contentType),this.afterLoad(t))},setError:function(t){t.hasError=!0,t.$slide.trigger("onReset").removeClass("fancybox-slide--"+t.contentType).addClass("fancybox-slide--error"),t.contentType="html",this.setContent(t,this.translate(t,t.opts.errorTpl)),t.pos===this.currPos&&(this.isAnimating=!1)},showLoading:function(t){(t=t||this.current)&&!t.$spinner&&(t.$spinner=n(this.translate(this,this.opts.spinnerTpl)).appendTo(t.$slide).hide().fadeIn("fast"))},hideLoading:function(t){(t=t||this.current)&&t.$spinner&&(t.$spinner.stop().remove(),delete t.$spinner)},afterLoad:function(t){this.isClosing||(t.isLoading=!1,t.isLoaded=!0,this.trigger("afterLoad",t),this.hideLoading(t),!t.opts.smallBtn||t.$smallBtn&&t.$smallBtn.length||(t.$smallBtn=n(this.translate(t,t.opts.btnTpl.smallBtn)).appendTo(t.$content)),t.opts.protect&&t.$content&&!t.hasError&&(t.$content.on("contextmenu.fb",(function(t){return 2==t.button&&t.preventDefault(),!0})),"image"===t.type&&n('<div class="fancybox-spaceball"></div>').appendTo(t.$content)),this.adjustCaption(t),this.adjustLayout(t),t.pos===this.currPos&&this.updateCursor(
1),this.revealContent(t))},adjustCaption:function(t){var e,n=t||this.current,i=n.opts.caption,o=n.opts.preventCaptionOverlap,a=this.$refs.caption,s=!1;a.toggleClass("fancybox-caption--separate",o),o&&i&&i.length&&(n.pos!==this.currPos?((e=a.clone().appendTo(a.parent())).children().eq(0).empty().html(i),s=e.outerHeight(!0),e.empty().remove()):this.$caption&&(s=this.$caption.outerHeight(!0)),n.$slide.css("padding-bottom",s||""))},adjustLayout:function(t){var e,n,i,o,a=t||this.current;a.isLoaded&&!0!==a.opts.disableLayoutFix&&(a.$content.css("margin-bottom",""),a.$content.outerHeight()>a.$slide.height()+.5&&(i=a.$slide[0].style["padding-bottom"],o=a.$slide.css("padding-bottom"),parseFloat(o)>0&&(e=a.$slide[0].scrollHeight,a.$slide.css("padding-bottom",0),Math.abs(e-a.$slide[0].scrollHeight)<1&&(n=o),a.$slide.css("padding-bottom",i))),a.$content.css("margin-bottom",n))},revealContent:function(t){var e,i,o,a,s=this,l=t.$slide,r=!1,c=!1,u=s.isMoved(t),h=t.isRevealed;return t.isRevealed=!0,e=t.opts[s.firstRun?"animationEffect":"transitionEffect"],o=t.opts[s.firstRun?"animationDuration":"transitionDuration"],o=parseInt(void 0===t.forcedDuration?o:t.forcedDuration,10),!u&&t.pos===s.currPos&&o||(e=!1),"zoom"===e&&(t.pos===s.currPos&&o&&"image"===t.type&&!t.hasError&&(c=s.getThumbPos(t))?r=s.getFitPos(t):e="fade"),"zoom"===e?(s.isAnimating=!0,r.scaleX=r.width/c.width,r.scaleY=r.height/c.height,"auto"==(a=t.opts.zoomOpacity)&&(a=Math.abs(t.width/t.height-c.width/c.height)>.1),a&&(c.opacity=.1,r.opacity=1),n.fancybox.setTranslate(t.$content.removeClass("fancybox-is-hidden"),c),p(t.$content),void n.fancybox.animate(t.$content,r,o,(function(){s.isAnimating=!1,s.complete()}))):(s.updateSlide(t),e?(n.fancybox.stop(l),i="fancybox-slide--"+(t.pos>=s.prevPos?"next":"previous")+" fancybox-animated fancybox-fx-"+e,l.addClass(i).removeClass("fancybox-slide--current"),t.$content.removeClass("fancybox-is-hidden"),p(l),"image"!==t.type&&t.$content.hide().show(0),void n.fancybox.animate(l,"fancybox-slide--current",o,(function(){l.removeClass(i).css({transform:"",opacity:""}),t.pos===s.currPos&&s.complete()}),!0)):(t.$content.removeClass("fancybox-is-hidden"),h||!u||"image"!==t.type||t.hasError||t.$content.hide().fadeIn("fast"),void(t.pos===s.currPos&&s.complete())))},getThumbPos:function(t){var i,o,a,s,l,r,c=t.$thumb;return!(!c||!function(t){var i,o;return!(!t||t.ownerDocument!==e)&&(n(".fancybox-container").css("pointer-events","none"),i={x:t.getBoundingClientRect().left+t.offsetWidth/2,y:t.getBoundingClientRect().top+t.offsetHeight/2},o=e.elementFromPoint(i.x,i.y)===t,n(".fancybox-container").css("pointer-events",""),o)}(c[0]))&&(o=n.fancybox.getTranslate(c),a=parseFloat(c.css("border-top-width")||0),s=parseFloat(c.css("border-right-width")||0),l=parseFloat(c.css("border-bottom-width")||0),r=parseFloat(c.css("border-left-width")||0),i={top:o.top+a,left:o.left+r,width:o.width-s-r,height:o.height-a-l,scaleX:1,scaleY:1},o.width>0&&o.height>0&&i)},complete:function(){var t,e=this,i=e.current,o={};!e.isMoved()&&i.isLoaded&&(i.isComplete||(i.isComplete=!0,i.$slide.siblings().trigger("onReset"),e.preload("inline"),p(i.$slide),i.$slide.addClass("fancybox-slide--complete"),n.each(e.slides,(function(t,i){i.pos>=e.currPos-1&&i.pos<=e.currPos+1?o[i.pos]=i:i&&(n.fancybox.stop(i.$slide),i.$slide.off().remove())})),e.slides=o),e.isAnimating=!1,e.updateCursor(),e.trigger("afterShow"),i.opts.video.autoStart&&i.$slide.find("video,audio").filter(":visible:first").trigger("play").one("ended",(function(){Document.exitFullscreen?Document.exitFullscreen():this.webkitExitFullscreen&&this.webkitExitFullscreen(),e.next()})),i.opts.autoFocus&&"html"===i.contentType&&((t=i.$content.find("input[autofocus]:enabled:visible:first")).length?t.trigger("focus"):e.focus(null,!0)),i.$slide.scrollTop(0).scrollLeft(0))},preload:function(t){var e,n;this.group.length<2||(n=this.slides[this.currPos+1],(e=this.slides[this.currPos-1])&&e.type===t&&this.loadSlide(e),n&&n.type===t&&this.loadSlide(n))},focus:function(t,i){var o,a,s=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","video","audio","[contenteditable]",'[tabindex]:not
1([tabindex^="-"])'].join(",");this.isClosing||((o=(o=!t&&this.current&&this.current.isComplete?this.current.$slide.find("*:visible"+(i?":not(.fancybox-close-small)":"")):this.$refs.container.find("*:visible")).filter(s).filter((function(){return"hidden"!==n(this).css("visibility")&&!n(this).hasClass("disabled")}))).length?(a=o.index(e.activeElement),t&&t.shiftKey?(a<0||0==a)&&(t.preventDefault(),o.eq(o.length-1).trigger("focus")):(a<0||a==o.length-1)&&(t&&t.preventDefault(),o.eq(0).trigger("focus"))):this.$refs.container.trigger("focus"))},activate:function(){var t=this;n(".fancybox-container").each((function(){var e=n(this).data("FancyBox");e&&e.id!==t.id&&!e.isClosing&&(e.trigger("onDeactivate"),e.removeEvents(),e.isVisible=!1)})),t.isVisible=!0,(t.current||t.isIdle)&&(t.update(),t.updateControls()),t.trigger("onActivate"),t.addEvents()},close:function(t,e){var i,o,a,s,l,r,c,h=this,d=h.current,g=function(){h.cleanUp(t)};return!h.isClosing&&(h.isClosing=!0,!1===h.trigger("beforeClose",t)?(h.isClosing=!1,u((function(){h.update()})),!1):(h.removeEvents(),a=d.$content,i=d.opts.animationEffect,o=n.isNumeric(e)?e:i?d.opts.animationDuration:0,d.$slide.removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"),!0!==t?n.fancybox.stop(d.$slide):i=!1,d.$slide.siblings().trigger("onReset").remove(),o&&h.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing").css("transition-duration",o+"ms"),h.hideLoading(d),h.hideControls(!0),h.updateCursor(),"zoom"!==i||a&&o&&"image"===d.type&&!h.isMoved()&&!d.hasError&&(c=h.getThumbPos(d))||(i="fade"),"zoom"===i?(n.fancybox.stop(a),r={top:(s=n.fancybox.getTranslate(a)).top,left:s.left,scaleX:s.width/c.width,scaleY:s.height/c.height,width:c.width,height:c.height},"auto"==(l=d.opts.zoomOpacity)&&(l=Math.abs(d.width/d.height-c.width/c.height)>.1),l&&(c.opacity=0),n.fancybox.setTranslate(a,r),p(a),n.fancybox.animate(a,c,o,g),!0):(i&&o?n.fancybox.animate(d.$slide.addClass("fancybox-slide--previous").removeClass("fancybox-slide--current"),"fancybox-animated fancybox-fx-"+i,o,g):!0===t?setTimeout(g,o):g(),!0)))},cleanUp:function(e){var i,o,a,s=this.current.opts.$orig;this.current.$slide.trigger("onReset"),this.$refs.container.empty().remove(),this.trigger("afterClose",e),this.current.opts.backFocus&&(s&&s.length&&s.is(":visible")||(s=this.$trigger),s&&s.length&&(o=t.scrollX,a=t.scrollY,s.trigger("focus"),n("html, body").scrollTop(a).scrollLeft(o))),this.current=null,(i=n.fancybox.getInstance())?i.activate():(n("body").removeClass("fancybox-active compensate-for-scrollbar"),n("#fancybox-style-noscroll").remove())},trigger:function(t,e){var i,o=Array.prototype.slice.call(arguments,1),a=this,s=e&&e.opts?e:a.current;if(s?o.unshift(s):s=a,o.unshift(a),n.isFunction(s.opts[t])&&(i=s.opts[t].apply(s,o)),!1===i)return i;"afterClose"!==t&&a.$refs?a.$refs.container.trigger(t+".fb",o):r.trigger(t+".fb",o)},updateControls:function(){var t=this.current,i=t.index,o=this.$refs.container,a=this.$refs.caption,s=t.opts.caption;t.$slide.trigger("refresh"),s&&s.length?(this.$caption=a,a.children().eq(0).html(s)):this.$caption=null,this.hasHiddenControls||this.isIdle||this.showControls(),o.find("[data-fancybox-count]").html(this.group.length),o.find("[data-fancybox-index]").html(i+1),o.find("[data-fancybox-prev]").prop("disabled",!t.opts.loop&&i<=0),o.find("[data-fancybox-next]").prop("disabled",!t.opts.loop&&i>=this.group.length-1),"image"===t.type?o.find("[data-fancybox-zoom]").show().end().find("[data-fancybox-download]").attr("href",t.opts.image.src||t.src).show():t.opts.toolbar&&o.find("[data-fancybox-download],[data-fancybox-zoom]").hide(),n(e.activeElement).is(":hidden,[disabled]")&&this.$refs.container.trigger("focus")},hideControls:function(t){var e=["infobar","toolbar","nav"];!t&&this.current.opts.preventCaptionOverlap||e.push("caption"),this.$refs.container.removeClass(e.map((function(t){return"fancybox-show-"+t})).join(" ")),this.hasHiddenControls=!0},showControls:function(){var t=this.current?this.current.opts:this.opts,e=this.$refs.container;
1this.hasHiddenControls=!1,this.idleSecondsCounter=0,e.toggleClass("fancybox-show-toolbar",!(!t.toolbar||!t.buttons)).toggleClass("fancybox-show-infobar",!!(t.infobar&&this.group.length>1)).toggleClass("fancybox-show-caption",!!this.$caption).toggleClass("fancybox-show-nav",!!(t.arrows&&this.group.length>1)).toggleClass("fancybox-is-modal",!!t.modal)},toggleControls:function(){this.hasHiddenControls?this.showControls():this.hideControls()}}),n.fancybox={version:"3.5.7",defaults:s,getInstance:function(t){var e=n('.fancybox-container:not(".fancybox-is-closing"):last').data("FancyBox"),i=Array.prototype.slice.call(arguments,1);return e instanceof f&&("string"===n.type(t)?e[t].apply(e,i):"function"===n.type(t)&&t.apply(e,i),e)},open:function(t,e,n){return new f(t,e,n)},close:function(t){var e=this.getInstance();e&&(e.close(),!0===t&&this.close(t))},destroy:function(){this.close(!0),r.add("body").off("click.fb-start","**")},isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),use3d:(o=e.createElement("div"),t.getComputedStyle&&t.getComputedStyle(o)&&t.getComputedStyle(o).getPropertyValue("transform")&&!(e.documentMode&&e.documentMode<11)),getTranslate:function(t){var e;return!(!t||!t.length)&&{top:(e=t[0].getBoundingClientRect()).top||0,left
1:e.left||0,width:e.width,height:e.height,opacity:parseFloat(t.css("opacity"))}},setTranslate:function(t,e){var n="",i={};if(t&&e)return void 0===e.left&&void 0===e.top||(n=(void 0===e.left?t.position().left:e.left)+"px, "+(void 0===e.top?t.position().top:e.top)+"px",n=this.use3d?"translate3d("+n+", 0px)":"translate("+n+")"),void 0!==e.scaleX&&void 0!==e.scaleY?n+=" scale("+e.scaleX+", "+e.scaleY+")":void 0!==e.scaleX&&(n+=" scaleX("+e.scaleX+")"),n.length&&(i.transform=n),void 0!==e.opacity&&(i.opacity=e.opacity),void 0!==e.width&&(i.width=e.width),void 0!==e.height&&(i.height=e.height),t.css(i)},animate:function(t,e,i,o,a){var s,l=this;n.isFunction(i)&&(o=i,i=null),l.stop(t),s=l.getTranslate(t),t.on(d,(function(r){(!r||!r.originalEvent||t.is(r.originalEvent.target)&&"z-index"!=r.originalEvent.propertyName)&&(l.stop(t),n.isNumeric(i)&&t.css("transition-duration",""),n.isPlainObject(e)?void 0!==e.scaleX&&void 0!==e.scaleY&&l.setTranslate(t,{top:e.top,left:e.left,width:s.width*e.scaleX,height:s.height*e.scaleY,scaleX:1,scaleY:1}):!0!==a&&t.removeClass(e),n.isFunction(o)&&o(r))})),n.isNumeric(i)&&t.css("transition-duration",i+"ms"),n.isPlainObject(e)?(void 0!==e.scaleX&&void 0!==e.scaleY&&(delete e.width,delete e.height,t.parent().hasClass("fancybox-slide--image")&&t.parent().addClass("fancybox-is-scaling")),n.fancybox.setTranslate(t,e)):t.addClass(e),t.data("timer",setTimeout((function(){t.trigger(d)}),i+33))},stop:function(t,e){t&&t.length&&(clearTimeout(t.data("timer")),e&&t.trigger(d),t.off(d).css("transition-duration",""),t.parent().removeClass("fancybox-is-scaling"))}},n.fn.fancybox=function(t){var e;return(e=(t=t||{}).selector||!1)?n("body").off("click.fb-start",e).on("click.fb-start",e,{options:t},m):this.off("click.fb-start").on("click.fb-start",{items:this,options:t},m),this},r.on("click.fb-start","[data-fancybox]",m),r.on("click.fb-start","[data-fancybox-trigger]",(function(t){n('[data-fancybox="'+n(this).attr("data-fancybox-trigger")+'"]').eq(n(this).attr("data-fancybox-index")||0).trigger("click.fb-start",{$trigger:n(this)})})),a=null,r.on("mousedown mouseup focus blur",".fancybox-button",(function(t){switch(t.type){case"mousedown":a=n(this);break;case"mouseup":a=null;break;case"focusin":n(".fancybox-button").removeClass("fancybox-focus"),n(this).is(a)||n(this).is("[disabled]")||n(this).addClass("fancybox-focus");break;case"focusout":n(".fancybox-button").removeClass("fancybox-focus")}}))}function m(t,e){var i,o,a,s=[],l=0;t&&t.isDefaultPrevented()||(t.preventDefault(),e=e||{},t&&t.data&&(e=g(t.data.options,e)),i=e.$target||n(t.currentTarget).trigger("blur"),(a=n.fancybox.getInstance())&&a.$trigger&&a.$trigger.is(i)||(s=e.selector?n(e.selector):(o=i.attr("data-fancybox")||"")?(s=t.data?t.data.items:[]).length?s.filter('[data-fancybox="'+o+'"]'):n('[data-fancybox="'+o+'"]'):[i],(l=n(s).index(i))<0&&(l=0),(a=n.fancybox.open(s,e,l)).$trigger=i))}}(window,document,jQuery),function(t){"use strict";var e={youtube:{matcher:/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(watch\?(.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*))(.*)/i,params:{autoplay:1,autohide:1,fs:1,rel:0,hd:1,wmode:"transparent",enablejsapi:1,html5:1},paramPlace:8,type:"iframe",url:"https://www.youtube-nocookie.com/embed/$4",thumb:"https://img.youtube.com/vi/$4/hqdefault.jpg"},vimeo:{matcher:/^.+vimeo.com\/(.*\/)?([\d]+)(.*)?/,params:{autoplay:1,hd:1,show_title:1,show_byline:1,show_portrait:0,fullscreen:1},paramPlace:3,type:"iframe",url:"//player.vimeo.com/video/$2"},instagram:{matcher:/(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,type:"image",url:"//$1/p/$2/media/?size=l"},gmap_place:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(((maps\/(place\/(.*)\/)?\@(.*),(\d+.?\d+?)z))|(\?ll=))(.*)?/i,type:"iframe",url:function(t){return"//maps.google."+t[2]+"/?ll="+(t[9]?t[9]+"&z="+Math.floor(t[10])+(t[12]?t[12].replace(/^\//,"&"):""):t[12]+"").replace(/\?/,"&")+"&output="+(t[12]&&t[12].indexOf("layer=c")>0?"svembed":"embed")}},gmap_search:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(maps\/search\/)(.*)/i,type:"iframe",url:function(t){return"//maps.google."+t[2]+"/maps?q="+t[5].replace("query=","q=").replace("api=1","")+"&output=embed"}}},n=function(e,n,i){if(e)return i=i||"","object"===t.type(i)&&(i=t.param(i,!0)),t.each(n,(function(t,n){e=e.replace("$"+t,n||"")})),i.length&&(e+=(e.indexOf("?")>0?"&":"?")+i),e};t(document).on("objectNeedsType.fb",(function(i,o,a){var s,l,r,c,u,h,d,p=a.src||"",g=!1;s=t.extend(!0,{},e,a.opts.media),t.each(s,(function(e,i){if(r=p.match(i.matcher)){if(g=i.type,d=e,h={},i.paramPlace&&r[i.paramPlace]){"?"==(u=r[i.paramPlace])[0]&&(u=u.substring(1)),u=u.split("&");for(var o=0;o<u.length;++o){var s=u[o].split("=",2);2==s.length&&(h[s[0]]=decodeURIComponent(s[1].replace(/\+/g," ")))}}return c=t.extend(!0,{},i.params,a.opts[e],h),p="function"===t.type(i.url)?i.url.call(this,r,c,a):n(i.url,r,c),l="function"===t.type(i.thumb)?i.thumb.call(this,r,c,a):n(i.thumb,r),"youtube"===e?p=p.replace(/&t=((\d+)m)?(\d+)s/,(function(t,e,n,i){return"&start="+((n?60*parseInt(n,10):0)+parseInt(i,10))})):"vimeo"===e&&(p=p.replace("&%23","#")),!1}})),g?(a.opts.thumb||a.opts.$thumb&&a.opts.$thumb.length||(a.opts.thumb=l),"iframe"===g&&(a.opts=t.extend(!0,a.opts,{iframe:{preload:!1,attr:{scrolling:"no"}}})),t.extend(a,{type:g,src:p,origSrc:a.src,contentSource:d,contentType:"image"===g?"image":"gmap_place"==d||"gmap_search"==d?"map":"video"})):p&&(a.type=a.opts.defaultType)}));var i={youtube:{src:"https://www.youtube.com/iframe_api",class:"YT",loading:!1,loaded:!1},vimeo:{src:"https://player.vimeo.com/api/player.js",class:"Vimeo",loading:!1,loaded:!1},load:function(t){var e,n=this;this[t].loaded?setTimeout((function(){n.done(t)})):this[t].loading||(this[t].loading=!0,(e=document.createElement("script")).type="text/javascript",e.src=this[t].src,"youtube"===t?window.onYouTubeIframeAPIReady=function(){n[t].loaded=!0,n.done(t)}:e.onload=function(){n[t].loaded=!0,n.done(t)},document.body.appendChild(e))},done:function(e){var n,i;"youtube"===e&&delete window.onYouTubeIframeAPIReady,(n=t.fancybox.getInstance())&&(i=n.current.$content.find("iframe"),"youtube"===e&&void 0!==YT&&YT?new YT.Player(i.attr("id"),{events:{onStateChange:function(t){0==t.data&&n.next()}}}):"vimeo"===e&&void 0!==Vimeo&&Vimeo&&new Vimeo.Player(i).on("ended",(function(){n.next()})))}};t(document).on({"afterShow.fb":function(t,e,n){e.group.length>1&&("youtube"===n.contentSource||"vimeo"===n.contentSource)&&i.load(n.contentSource)}})}(jQuery),function(t,e,n){"use strict";var i=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||function(e){return t.setTimeout(e,1e3/60)},o=t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.oCancelAnimationFrame||function(e){t.clearTimeout(e)},a=function(e){var n=[];for(var i in e=(e=e.originalEvent||e||t.e).touches&&e.touches.length?e.touches:e.changedTouches&&e.changedTouches.length?e.changedTouches:[e])e[i].pageX?n.push({x:e[i].pageX,y:e[i].pageY}):e[i].clientX&&n.push({x:e[i].clientX,y:e[i].clientY});return n},s=function(t,e,n){return e&&t?"x"===n?t.x-e.x:"y"===n?t.y-e.y:Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)):0},l=function(t){if(t.is('a,area,button,[role="button"],input,label,select,summary,textarea,video,audio,iframe')||n.isFunction(t.get(0).onclick)||t.data("selectable"))return!0;for(var e=0,i=t[0].attributes,o=i.length;e<o;e++)if("data-fancybox-"===i[e].nodeName.substr(0,14))return!0;return!1},r=function(e){for(var n,i,o,a,s,l=!1;n=e.get(0),i=void 0,o=void 0,a=void 0,s=void 0,i=t.getComputedStyle(n)["overflow-y"],o=t.getComputedStyle(n)["overflow-x"],a=("scroll"===i||"auto"===i)&&n.scrollHeight>n.clientHeight,s=("scroll"===o||"auto"===o)&&n.scrollWidth>n.clientWidth,!(l=a||s)&&(e=e.parent()).length&&!e.hasClass("fancybox-stage")&&!e.is("body"););return l},c=function(t){this.instance=t,this.$bg=t.$refs.bg,this.$stage=t.$refs.stage,this.$container=t.$refs.container,this.destroy(),this.$container.on("touchstart.fb.touch mousedown.fb.touch",n.proxy(this,"ontouchstart"))};c.prototype.destroy=function(){this.$container.off(".fb.touch"),n(e).off(".fb.touch"),this.requestId&&(o(this.requestId),this.requestId=null),this.tapped&&(clearTimeout(this.tapped),this.tapped=null)},c.prototype.ontouchstart=function(i){var o=n(i.target),c=this.instance,u=c.current,h=u.$slide,d=u.$content,p="touchstart"==i.type;if(p&&this.$container.off("mousedown.fb.touch"),(!i.originalEvent||2!=i.originalEvent.button)&&h.length&&o.length&&!l(o)&&!l(o.parent())&&(o.is("img")||!(i.originalEvent.clientX>o[0].clientWidth+o.offset().left))){if(!u||c.isAnimating||u.$slide.hasClass("fancybox-animated"))return i.stopPropagation(),void i.preventDefault();this.realPoints=this.startPoints=a(i),this.startPoints.length&&(u.touch&&i.stopPropagation(),this.startEvent=i,this.canTap=!0,this.$target=
1o,this.$content=d,this.opts=u.opts.touch,this.isPanning=!1,this.isSwiping=!1,this.isZooming=!1,this.isScrolling=!1,this.canPan=c.canPan(),this.startTime=(new Date).getTime(),this.distanceX=this.distanceY=this.distance=0,this.canvasWidth=Math.round(h[0].clientWidth),this.canvasHeight=Math.round(h[0].clientHeight),this.contentLastPos=null,this.contentStartPos=n.fancybox.getTranslate(this.$content)||{top:0,left:0},this.sliderStartPos=n.fancybox.getTranslate(h),this.stagePos=n.fancybox.getTranslate(c.$refs.stage),this.sliderStartPos.top-=this.stagePos.top,this.sliderStartPos.left-=this.stagePos.left,this.contentStartPos.top-=this.stagePos.top,this.contentStartPos.left-=this.stagePos.left,n(e).off(".fb.touch").on(p?"touchend.fb.touch touchcancel.fb.touch":"mouseup.fb.touch mouseleave.fb.touch",n.proxy(this,"ontouchend")).on(p?"touchmove.fb.touch":"mousemove.fb.touch",n.proxy(this,"ontouchmove")),n.fancybox.isMobile&&e.addEventListener("scroll",this.onscroll,!0),((this.opts||this.canPan)&&(o.is(this.$stage)||this.$stage.find(o).length)||(o.is(".fancybox-image")&&i.preventDefault(),n.fancybox.isMobile&&o.parents(".fancybox-caption").length))&&(this.isScrollable=r(o)||r(o.parent()),n.fancybox.isMobile&&this.isScrollable||i.preventDefault(),(1===this.startPoints.length||u.hasError)&&(this.canPan?(n.fancybox.stop(this.$content),this.isPanning=!0):this.isSwiping=!0,this.$container.addClass("fancybox-is-grabbing")),2===this.startPoints.length&&"image"===u.type&&(u.isLoaded||u.$ghost)&&(this.canTap=!1,this.isSwiping=!1,this.isPanning=!1,this.isZooming=!0,n.fancybox.stop(this.$content),this.centerPointStartX=.5*(this.startPoints[0].x+this.startPoints[1].x)-n(t).scrollLeft(),this.centerPointStartY=.5*(this.startPoints[0].y+this.startPoints[1].y)-n(t).scrollTop(),this.percentageOfImageAtPinchPointX=(this.centerPointStartX-this.contentStartPos.left)/this.contentStartPos.width,this.percentageOfImageAtPinchPointY=(this.centerPointStartY-this.contentStartPos.top)/this.contentStartPos.height,this.startDistanceBetweenFingers=s(this.startPoints[0],this.startPoints[1]))))}},c.prototype.onscroll=function(t){this.isScrolling=!0,e.removeEventListener("scroll",this.onscroll,!0)},c.prototype.ontouchmove=function(t){void 0===t.originalEvent.buttons||0!==t.originalEvent.buttons?this.isScrolling?this.canTap=!1:(this.newPoints=a(t),(this.opts||this.canPan)&&this.newPoints.length&&this.newPoints.length&&(this.isSwiping&&!0===this.isSwiping||t.preventDefault(),this.distanceX=s(this.newPoints[0],this.startPoints[0],"x"),this.distanceY=s(this.newPoints[0],this.startPoints[0],"y"),this.distance=s(this.newPoints[0],this.startPoints[0]),this.distance>0&&(this.isSwiping?this.onSwipe(t):this.isPanning?this.onPan():this.isZooming&&this.onZoom()))):this.ontouchend(t)},c.prototype.onSwipe=function(e){var a,s=this,l=s.instance,r=s.isSwiping,c=s.sliderStartPos.left||0;if(!0!==r)"x"==r&&(s.distanceX>0&&(s.instance.group.length<2||0===s.instance.current.index&&!s.instance.current.opts.loop)?c+=Math.pow(s.distanceX,.8):s.distanceX<0&&(s.instance.group.length<2||s.instance.current.index===s.instance.group.length-1&&!s.instance.current.opts.loop)?c-=Math.pow(-s.distanceX,.8):c+=s.distanceX),s.sliderLastPos={top:"x"==r?0:s.sliderStartPos.top+s.distanceY,left:c},s.requestId&&(o(s.requestId),s.requestId=null),s.requestId=i((function(){s.sliderLastPos&&(n.each(s.instance.slides,(function(t,e){var i=e.pos-s.instance.currPos;
1n.fancybox.setTranslate(e.$slide,{top:s.sliderLastPos.top,left:s.sliderLastPos.left+i*s.canvasWidth+i*e.opts.gutter})})),s.$container.addClass("fancybox-is-sliding"))}));else if(Math.abs(s.distance)>10){if(s.canTap=!1,l.group.length<2&&s.opts.vertical?s.isSwiping="y":l.isDragging||!1===s.opts.vertical||"auto"===s.opts.vertical&&n(t).width()>800?s.isSwiping="x":(a=Math.abs(180*Math.atan2(s.distanceY,s.distanceX)/Math.PI),s.isSwiping=a>45&&a<135?"y":"x"),"y"===s.isSwiping&&n.fancybox.isMobile&&s.isScrollable)return void(s.isScrolling=!0);l.isDragging=s.isSwiping,s.startPoints=s.newPoints,n.each(l.slides,(function(t,e){var i,o;n.fancybox.stop(e.$slide),i=n.fancybox.getTranslate(e.$slide),o=n.fancybox.getTranslate(l.$refs.stage),e.$slide.css({transform:"",opacity:"","transition-duration":""}).removeClass("fancybox-animated").removeClass((function(t,e){return(e.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")})),e.pos===l.current.pos&&(s.sliderStartPos.top=i.top-o.top,s.sliderStartPos.left=i.left-o.left),n.fancybox.setTranslate(e.$slide,{top:i.top-o.top,left:i.left-o.left})})),l.SlideShow&&l.SlideShow.isActive&&l.SlideShow.stop()}},c.prototype.onPan=function(){var t=this;s(t.newPoints[0],t.realPoints[0])<(n.fancybox.isMobile?10:5)?t.startPoints=t.newPoints:(t.canTap=!1,t.contentLastPos=t.limitMovement(),t.requestId&&o(t.requestId),t.requestId=i((function(){n.fancybox.setTranslate(t.$content,t.contentLastPos)})))},c.prototype.limitMovement=function(){var t,e,n,i,o,a,s=this.canvasWidth,l=this.canvasHeight,r=this.distanceX,c=this.distanceY,u=this.contentStartPos,h=u.left,d=u.top,p=u.width,g=u.height;return o=p>s?h+r:h,a=d+c,t=Math.max(0,.5*s-.5*p),e=Math.max(0,.5*l-.5*g),n=Math.min(s-p,.5*s-.5*p),i=Math.min(l-g,.5*l-.5*g),r>0&&o>t&&(o=t-1+Math.pow(-t+h+r,.8)||0),r<0&&o<n&&(o=n+1-Math.pow(n-h-r,.8)||0),c>0&&a>e&&(a=e-1+Math.pow(-e+d+c,.8)||0),c<0&&a<i&&(a=i+1-Math.pow(i-d-c,.8)||0),{top:a,left:o}},c.prototype.limitPosition=function(t,e,n,i){var o=this.canvasWidth,a=this.canvasHeight;return t=n>o?(t=t>0?0:t)<o-n?o-n:t:Math.max(0,o/2-n/2),{top:e=i>a?(e=e>0?0:e)<a-i?a-i:e:Math.max(0,a/2-i/2),left:t}},c.prototype.onZoom=function(){var e=this,a=e.contentStartPos,l=a.width,r=a.height,c=a.left,u=a.top,h=s(e.newPoints[0],e.newPoints[1])/e.startDistanceBetweenFingers,d=Math.floor(l*h),p=Math.floor(r*h),g=(l-d)*e.percentageOfImageAtPinchPointX,f=(r-p)*e.percentageOfImageAtPinchPointY,m=(e.newPoints[0].x+e.newPoints[1].x)/2-n(t).scrollLeft(),v=(e.newPoints[0].y+e.newPoints[1].y)/2-n(t).scrollTop(),b=m-e.centerPointStartX,y={top:u+(f+(v-e.centerPointStartY)),left:c+(g+b),scaleX:h,scaleY:h};e.canTap=!1,e.newWidth=d,e.newHeight=p,e.contentLastPos=y,e.requestId&&o(e.requestId),e.requestId=i((function(){n.fancybox.setTranslate(e.$content,e.contentLastPos)}))},c.prototype.ontouchend=function(t){var i=this.isSwiping,s=this.isPanning,l=this.isZooming,r=this.isScrolling;if(this.endPoints=a(t),this.dMs=Math.max((new Date).getTime()-this.startTime,1),this.$container.removeClass("fancybox-is-grabbing"),n(e).off(".fb.touch"),e.removeEventListener("scroll",this.onscroll,!0),this.requestId&&(o(this.requestId),this.requestId=null),this.isSwiping=!1,this.isPanning=!1,this.isZooming=!1,this.isScrolling=!1,this.instance.isDragging=!1,this.canTap)return this.onTap(t);this.speed=100,this.velocityX=this.distanceX/this.dMs*.5,this.velocityY=this.distanceY/this.dMs*.5,s?this.endPanning():l?this.endZooming():this.endSwiping(i,r)},c.prototype.endSwiping=function(t,e){var i=!1,o=this.instance.group.length,a=Math.abs(this.distanceX),s="x"==t&&o>1&&(this.dMs>130&&a>10||a>50);this.sliderLastPos=null,"y"==t&&!e&&Math.abs(this.distanceY)>50?(n.fancybox.animate(this.instance.current.$slide,{top:this.sliderStartPos.top+this.distanceY+150*this.velocityY,opacity:0},200),i=this.instance.close(!0,250)):s&&this.distanceX>0?i=this.instance.previous(300):s&&this.distanceX<0&&(i=this.instance.next(300)),!1!==i||"x"!=t&&"y"!=t||this.instance.centerSlide(200),this.$container.removeClass("fancybox-is-sliding")},c.prototype.endPanning=function(){var t,e,i;this.contentLastPos&&(!1===this.opts.momentum||this.dMs>350?(t=this.contentLastPos.left,e=this.contentLastPos.top):(t=this.contentLastPos.left+500*this.velocityX,e=this.contentLastPos.top+500*this.velocityY),(i=this.limitPosition(t,e,this.contentStartPos.width,this.contentStartPos.height)).width=this.contentStartPos.width,i.height=this.contentStartPos.height,n.fancybox.animate(this.$content,i,366))},c.prototype.endZooming=function(){var t,e,i,o,a=this.instance.current,s=this.newWidth,l=this.newHeight;this.contentLastPos&&(t=this.contentLastPos.left,o={top:e=this.contentLastPos.top,left
1:t,width:s,height:l,scaleX:1,scaleY:1},n.fancybox.setTranslate(this.$content,o),s<this.canvasWidth&&l<this.canvasHeight?this.instance.scaleToFit(150):s>a.width||l>a.height?this.instance.scaleToActual(this.centerPointStartX,this.centerPointStartY,150):(i=this.limitPosition(t,e,s,l),n.fancybox.animate(this.$content,i,150)))},c.prototype.onTap=function(e){var i,o=this,s=n(e.target),l=o.instance,r=l.current,c=e&&a(e)||o.startPoints,u=c[0]?c[0].x-n(t).scrollLeft()-o.stagePos.left:0,h=c[0]?c[0].y-n(t).scrollTop()-o.stagePos.top:0,d=function(t){var i=r.opts[t];if(n.isFunction(i)&&(i=i.apply(l,[r,e])),i)switch(i){case"close":l.close(o.startEvent);break;case"toggleControls":l.toggleControls();break;case"next":l.next();break;case"nextOrClose":l.group.length>1?l.next():l.close(o.startEvent);break;case"zoom":"image"==r.type&&(r.isLoaded||r.$ghost)&&(l.canPan()?l.scaleToFit():l.isScaledDown()?l.scaleToActual(u,h):l.group.length<2&&l.close(o.startEvent))}};if((!e.originalEvent||2!=e.originalEvent.button)&&(s.is("img")||!(u>s[0].clientWidth+s.offset().left))){if(s.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container"))i="Outside";else if(s.is(".fancybox-slide"))i="Slide";else{if(!l.current.$content||!l.current.$content.find(s).addBack().filter(s).length)return;i="Content"}if(o.tapped){if(clearTimeout(o.tapped),o.tapped=null,Math.abs(u-o.tapX)>50||Math.abs(h-o.tapY)>50)return this;d("dblclick"+i)}else o.tapX=u,o.tapY=h,r.opts["dblclick"+i]&&r.opts["dblclick"+i]!==r.opts["click"+i]?o.tapped=setTimeout((function(){o.tapped=null,l.isAnimating||d("click"+i)}),500):d("click"+i);return this}},n(e).on("onActivate.fb",(function(t,e){e&&!e.Guestures&&(e.Guestures=new c(e))})).on("beforeClose.fb",(function(t,e){e&&e.Guestures&&e.Guestures.destroy()}))}(window,document,jQuery),function(t,e){"use strict";e.extend(!0,e.fancybox.defaults,{btnTpl:{slideShow:'<button data-fancybox-play class="fancybox-button fancybox-button--play" title="{{PLAY_START}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.5 5.4v13.2l11-6.6z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.33 5.75h2.2v12.5h-2.2V5.75zm5.15 0h2.2v12.5h-2.2V5.75z"/></svg></button>'},slideShow:{autoStart:!1,speed:3e3,progress:!0}});var n=function(t){this.instance=t,this.init()};e.extend(n.prototype,{timer:null,isActive:!1,$button:null,init:function(){var t=this,n=t.instance,i=n.group[n.currIndex].opts.slideShow;t.$button=n.$refs.toolbar.find("[data-fancybox-play]").on("click",(function(){t.toggle()})),n.group.length<2||!i?t.$button.hide():i.progress&&(t.$progress=e('<div class="fancybox-progress"></div>').appendTo(n.$refs.inner))},set:function(t){var n=this.instance,i=n.current;i&&(!0===t||i.opts.loop||n.currIndex<n.group.length-1)?this.isActive&&"video"!==i.contentType&&(this.$progress&&e.fancybox.animate(this.$progress.show(),{scaleX:1},i.opts.slideShow.speed),this.timer=setTimeout((function(){n.current.opts.loop||n.current.index!=n.group.length-1?n.next():n.jumpTo(0)}),i.opts.slideShow.speed)):(this.stop(),n.idleSecondsCounter=0,n.showControls())},clear:function(){clearTimeout(this.timer),this.timer=null,this.$progress&&this.$progress.removeAttr("style").hide()},start:function(){var t=this.instance.current;t&&(this.$button.attr("title",(t.opts.i18n[t.opts.lang]||t.opts.i18n.en).PLAY_STOP).removeClass("fancybox-button--play").addClass("fancybox-button--pause"),this.isActive=!0,t.isComplete&&this.set(!0),this.instance.trigger("onSlideShowChange",!0))},stop:function(){var t=this.instance.current;this.clear(),this.$button.attr("title",(t.opts.i18n[t.opts.lang]||t.opts.i18n.en).PLAY_START).removeClass("fancybox-button--pause").addClass("fancybox-button--play"),this.isActive=!1,this.instance.trigger("onSlideShowChange",!1),this.$progress&&this.$progress.removeAttr("style").hide()},toggle:function(){this.isActive?this.stop():this.start()}}),e(t).on({"onInit.fb":function(t,e){e&&!e.SlideShow&&(e.SlideShow=new n(e))},"beforeShow.fb":function(t,e,n,i){var o=e&&e.SlideShow;i?o&&n.opts.slideShow.autoStart&&o.start():o&&o.isActive&&o.clear()},"afterShow.fb":function(t,e,n){var i=e&&e.SlideShow;i&&i.isActive&&i.set()},"afterKeydown.fb":function(n,i,o,a,s){var l=i&&i.SlideShow;!l||!o.opts.slideShow||80!==s&&32!==s||e(t.activeElement).is("button,a,input")||(a.preventDefault(),l.toggle(
1))},"beforeClose.fb onDeactivate.fb":function(t,e){var n=e&&e.SlideShow;n&&n.stop()}}),e(t).on("visibilitychange",(function(){var n=e.fancybox.getInstance(),i=n&&n.SlideShow;i&&i.isActive&&(t.hidden?i.clear():i.set())}))}(document,jQuery),function(t,e){"use strict";var n=function(){for(var e=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],n={},i=0;i<e.length;i++){var o=e[i];if(o&&o[1]in t){for(var a=0;a<o.length;a++)n[e[0][a]]=o[a];return n}}return!1}();if(n){var i={request:function(e){(e=e||t.documentElement)[n.requestFullscreen](e.ALLOW_KEYBOARD_INPUT)},exit:function(){t[n.exitFullscreen]()},toggle:function(e){e=e||t.documentElement,this.isFullscreen()?this.exit():this.request(e)},isFullscreen:function(){return Boolean(t[n.fullscreenElement])},enabled:function(){return Boolean(t[n.fullscreenEnabled])}};e.extend(!0,e.fancybox.defaults,{btnTpl:{fullScreen:'<button data-fancybox-fullscreen class="fancybox-button fancybox-button--fsenter" title="{{FULL_SCREEN}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5 16h3v3h2v-5H5zm3-8H5v2h5V5H8zm6 11h2v-3h3v-2h-5zm2-11V5h-2v5h5V8z"/></svg></button>'},fullScreen:{autoStart:!1}}),e(t).on(n.fullscreenchange,(function(){var t=i.isFullscreen(),n=e.fancybox.getInstance();n&&(n.current&&"image"===n.current.type&&n.isAnimating&&(n.isAnimating=!1,n.update(!0,!0,0),n.isComplete||n.complete()),n.trigger("onFullscreenChange",t),n.$refs.container.toggleClass("fancybox-is-fullscreen",t),n.$refs.toolbar.find("[data-fancybox-fullscreen]").toggleClass("fancybox-button--fsenter",!t).toggleClass("fancybox-button--fsexit",t))}))}e(t).on({"onInit.fb":function(t,e){n?e&&e.group[e.currIndex].opts.fullScreen?(e.$refs.container.on("click.fb-fullscreen","[data-fancybox-fullscreen]",(function(t){t.stopPropagation(),t.preventDefault(),i.toggle()})),e.opts.fullScreen&&!0===e.opts.fullScreen.autoStart&&i.request(),e.FullScreen=i):e&&e.$refs.toolbar.find("[data-fancybox-fullscreen]").hide():e.$refs.toolbar.find("[data-fancybox-fullscreen]").remove()},"afterKeydown.fb":function(t,e,n,i,o){e&&e.FullScreen&&70===o&&(i.preventDefault(),e.FullScreen.toggle())},"beforeClose.fb":function(t,e){e&&e.FullScreen&&e.$refs.container.hasClass("fancybox-is-fullscreen")&&i.exit()}})}(document,jQuery),function(t,e){"use strict";var n="fancybox-thumbs";e.fancybox.defaults=e.extend(!0,{btnTpl:{thumbs:'<button data-fancybox-thumbs class="fancybox-button fancybox-button--thumbs" title="{{THUMBS}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14.59 14.59h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76H5.65V5.65z"/></svg></button>'},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"}},e.fancybox.defaults);var i=function(t){this.init(t)};e.extend(i.prototype,{$button:null,$grid:null,$list:null,isVisible:!1,isActive:!1,init:function(t){var e=this,n=t.group,i=0;e.instance=t,e.opts=n[t.currIndex].opts.thumbs,t.Thumbs=e,e.$button=t.$refs.toolbar.find("[data-fancybox-thumbs]");for(var o=0,a=n.length;o<a&&(n[o].thumb&&i++,!(i>1));o++);i>1&&e.opts?(e.$button.removeAttr("style").on("click",(function(){e.toggle(
1)})),e.isActive=!0):e.$button.hide()},create:function(){var t,i=this.instance,o=this.opts.parentEl,a=[];this.$grid||(this.$grid=e('<div class="'+n+" "+n+"-"+this.opts.axis+'"></div>').appendTo(i.$refs.container.find(o).addBack().filter(o)),this.$grid.on("click","a",(function(){i.jumpTo(e(this).attr("data-index"))}))),this.$list||(this.$list=e('<div class="'+n+'__list">').appendTo(this.$grid)),e.each(i.group,(function(e,n){(t=n.thumb)||"image"!==n.type||(t=n.src),a.push('<a href="javascript:;" tabindex="0" data-index="'+e+'"'+(t&&t.length?' style="background-image:url('+t+')"':'class="fancybox-thumbs-missing"')+"></a>")})),this.$list[0].innerHTML=a.join(""),"x"===this.opts.axis&&this.$list.width(parseInt(this.$grid.css("padding-right"),10)+i.group.length*this.$list.children().eq(0).outerWidth(!0))},focus:function(t){var e,n,i=this.$list,o=this.$grid;this.instance.current&&(n=(e=i.children().removeClass("fancybox-thumbs-active").filter('[data-index="'+this.instance.current.index+'"]').addClass("fancybox-thumbs-active")).position(),"y"===this.opts.axis&&(n.top<0||n.top>i.height()-e.outerHeight())?i.stop().animate({scrollTop:i.scrollTop()+n.top},t):"x"===this.opts.axis&&(n.left<o.scrollLeft()||n.left>o.scrollLeft()+(o.width()-e.outerWidth()))&&i.parent().stop().animate({scrollLeft:n.left},t))},update:function(){this.instance.$refs.container.toggleClass("fancybox-show-thumbs",this.isVisible),this.isVisible?(this.$grid||this.create(),this.instance.trigger("onThumbsShow"),this.focus(0)):this.$grid&&this.instance.trigger("onThumbsHide"),this.instance.update()},hide:function(){this.isVisible=!1,this.update()},show:function(){this.isVisible=!0,this.update()},toggle:function(){this.isVisible=!this.isVisible,this.update()}}),e(t).on({"onInit.fb":function(t,e){var n;e&&!e.Thumbs&&(n=new i(e)).isActive&&!0===n.opts.autoStart&&n.show()},"beforeShow.fb":function(t,e,n,i){var o=e&&e.Thumbs;o&&o.isVisible&&o.focus(i?0:250)},"afterKeydown.fb":function(t,e,n,i,o){var a=e&&e.Thumbs;a&&a.isActive&&71===o&&(i.preventDefault(),a.toggle())},"beforeClose.fb":function(t,e){var n=e&&e.Thumbs;n&&n.isVisible&&!1!==n.opts.hideOnClose&&n.$grid.hide()}})}(document,jQuery),function(t,e){"use strict";e.extend(!0,e.fancybox.defaults,{btnTpl:{share:'<button data-fancybox-share class="fancybox-button fancybox-button--share" title="{{SHARE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M2.55 19c1.4-8.4 9.1-9.8 11.9-9.8V5l7 7-7 6.3v-3.5c-2.8 0-10.5 2.1-11.9 4.2z"/></svg></button>'},share:{url:function(t,e){return!t.currentHash&&"inline"!==e.type&&"html"!==e.type&&(e.origSrc||e.src)||window.location},tpl:'<div class="fancybox-share"><h1>{{SHARE}}</h1><p><a class="fancybox-share__button fancybox-share__button--fb" href="https://www.facebook.com/sharer/sharer.php?u={{url}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m287 456v-299c0-21 6-35 35-35h38v-63c-7-1-29-3-55-3-54 0-91 33-91 94v306m143-254h-205v72h196" /></svg><span>Facebook</span></a><a class="fancybox-share__button fancybox-share__button--tw" href="https://twitter.com/intent/tweet?url={{url}}&text={{descr}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m456 133c-14 7-31 11-47 13 17-10 30-27 37-46-15 10-34 16-52 20-61-62-157-7-141 75-68-3-129-35-169-85-22 37-11 86 26 109-13 0-26-4-37-9 0 39 28 72 65 80-12 3-25 4-37 2 10 33 41 57 77 57-42 30-77 38-122 34 170 111 378-32 359-208 16-11 30-25 41-42z" /></svg><span>Twitter</span></a><a class="fancybox-share__button fancybox-share__button--pt" href="https://www.pinterest.com/pin/create/button/?url={{url}}&description={{descr}}&media={{media}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m265 56c-109 0-164 78-164 144 0 39 15 74 47 87 5 2 10 0 12-5l4-19c2-6 1-8-3-13-9-11-15-25-15-45 0-58 43-110 113-110 62 0 96 38 96 88 0 67-30 122-73 122-24 0-42-19-36-44 6-29 20-60 20-81 0-19-10-35-31-35-25 0-44 26-44 60 0 21 7 36 7 36l-30 125c-8 37-1 83 0 87 0 3 4 4 5 2 2-3 32-39 42-75l16-64c8 16 31 29 56 29 74 0 124-67 124-157 0-69-58-132-146-132z" fill="#fff"/></svg><span>Pinterest</span></a></p><p><input class="fancybox-share__input" type="text" value="{{url_raw}}" onclick="select()" /></p></div>'}}),e(t).on("click","[data-fancybox-share]",(function(){var t,n,i,o,a=e.fancybox.getInstance(),s=a.current||null;s&&("function"===e.type(s.opts.share.url)&&(t=s.opts.share.url.apply(s,[a,s])),n=s.opts.share.tpl.replace(/\{\{media\}\}/g,"image"===s.type?encodeURIComponent(s.src):"").replace(/\{\{url\}\}/g,encodeURIComponent(t)).replace(/\{\{url_raw\}\}/g,(i=t,o={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="},String(i).replace(/[&<>"'`=\/]/g,(function(t){return o[t]})))).replace(/\{\{descr\}\}/g,a.$caption?encodeURIComponent(a.$caption.text()):""),e.fancybox.open({src:a.translate(a,n),type:"html",opts:{touch:!1,animationEffect:!1,afterLoad:function(t,e){a.$refs.container.one("beforeClose.fb",(function(){t.close(null,0)})),e.$content.find(".fancybox-share__button").click((function(){return window.open(this.href,"Share","width=550, height=450"),!1}))}
1,mobile:{autoFocus:!1}}}))}))}(document,jQuery),function(t,e,n){"use strict";function i(){var e=t.location.hash.substr(1),n=e.split("-"),i=n.length>1&&/^\+?\d+$/.test(n[n.length-1])&&parseInt(n.pop(-1),10)||1;return{hash:e,index:i<1?1:i,gallery:n.join("-")}}function o(t){""!==t.gallery&&n("[data-fancybox='"+n.escapeSelector(t.gallery)+"']").eq(t.index-1).focus().trigger("click.fb-start")}function a(t){var e,n;return!!t&&(""!==(n=(e=t.current?t.current.opts:t.opts).hash||(e.$orig?e.$orig.data("fancybox")||e.$orig.data("fancybox-trigger"):""))&&n)}n.escapeSelector||(n.escapeSelector=function(t){return(t+"").replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,(function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t}))}),n((function(){!1!==n.fancybox.defaults.hash&&(n(e).on({"onInit.fb":function(t,e){var n,o;!1!==e.group[e.currIndex].opts.hash&&(n=i(),(o=a(e))&&n.gallery&&o==n.gallery&&(e.currIndex=n.index-1))},"beforeShow.fb":function(n,i,o,s){var l;o&&!1!==o.opts.hash&&(l=a(i))&&(i.currentHash=l+(i.group.length>1?"-"+(o.index+1):""),t.location.hash!=="#"+i.currentHash&&(s&&!i.origHash&&(i.origHash=t.location.hash),i.hashTimer&&clearTimeout(i.hashTimer),i.hashTimer=setTimeout((function(){"replaceState"in t.history?(t.history[s?"pushState":"replaceState"]({},e.title,t.location.pathname+t.location.search+"#"+i.currentHash),s&&(i.hasCreatedHistory=!0)):t.location.hash=i.currentHash,i.hashTimer=null}),300)))},"beforeClose.fb":function(n,i,o){o&&!1!==o.opts.hash&&(clearTimeout(i.hashTimer),i.currentHash&&i.hasCreatedHistory?t.history.back():i.currentHash&&("replaceState"in t.history?t.history.replaceState({},e.title,t.location.pathname+t.location.search+(i.origHash||"")):t.location.hash=i.origHash),i.currentHash=null)}}),n(t).on("hashchange.fb",(function(){var t=i(),e=null;n.each(n(".fancybox-container").get().reverse(),(function(t,i){var o=n(i).data("FancyBox");if(o&&o.currentHash)return e=o,!1})),e?e.currentHash===t.gallery+"-"+t.index||1===t.index&&e.currentHash==t.gallery||(e.currentHash=null,e.close()):""!==t.gallery&&o(t)})),setTimeout((function(){n.fancybox.getInstance()||o(i())}),50))}))}(window,document,jQuery),function(t,e){"use strict";var n=(new Date).getTime();e(t).on({"onInit.fb":function(t,e,i){e.$refs.stage.on("mousewheel DOMMouseScroll wheel MozMousePixelScroll",(function(t){var i=e.current,o=(new Date).getTime();e.group.length<2||!1===i.opts.wheel||"auto"===i.opts.wheel&&"image"!==i.type||(t.preventDefault(),t.stopPropagation(),i.$slide.hasClass("fancybox-animated")||(t=t.originalEvent||t,o-n<250||(n=o,e[(-t.deltaY||-t.deltaX||t.wheelDelta||-t.detail)<0?"next":"previous"]())))}))}})}(document,jQuery)},hBhx:function(t,e,n){"use strict";var i=n("DxOX");function o(t){return function(t){if(Array.isArray(t))return a(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var s={data:function(){return{contentTopOffset:0,controlOptionsHeights:{},isMobile:null}},computed:{maxControlOptionsHeight:function(){return Math.max.apply(Math,o(Object.values(this.controlOptionsHeights)))}},created:function(){var t=this;window.addEventListener("resize",this.onWindowResize),this.onWindowResize(),this.$root.$on("control-options-height",(function(e,n){t.$set(t.controlOptionsHeights,e,n)}))},mounted:function(){var t=this;window.addEventListener("resize",(function(){t.updateContentTopOffset()})),this.updateContentTopOffset()},destroyed:function(){window.removeEventListener("resize",this.onWindowResize)},methods:{updateContentTopOffset:function(){this.contentTopOffset=Object(i.a)()},onWindowResize:function(){var t=this.isMobile;this.isMobile=window.innerWidth<768,null!==t&&t!=this.isMobile&&this.$root.$emit("calculate-all-control-options-height")}}},l=n("KHd+"),r=Object(l.a)(s,void 0,void 0,!1,null,null,null);e.a=r.exports},"q+7z":function(t,e,n){function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,(a=o.key,s=void 0,s=function(t,e){if("object"!==i(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!==i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(a,"string"),"symbol"===i(s)?s:String(s)),o)}var a,s}var s=n("JIoJ");t.exports=function(){function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};o(this,t),this.$target=$(e),this.maxHeight=n,this.windowWidth=$(window).width(),this.observer=null,this.building=!1,this.options=Object.assign({labelCollapsed:"Read more",labelExpanded:"Read less",scrollTarget:this.$target,onBuilt:$.noop,onCollapsing:$.noop,onCollapsed:$.noop,onExpanding:$.noop,onExpanded:$.noop},i),this.build(),this.$target.get(0).readMore=this}var e,n,i;return e=t,(n=[{key:"attachOnResizeEvent",value:function(){var t=this;this.onResizeEventAttached||($(window).on("resize",(function(){var e=$
1(window).width();e!==t.windowWidth&&(t.windowWidth=e,t.refresh())})),this.onResizeEventAttached=!0)}},{key:"build",value:function(){var t=this,e=this;this.$target.addClass(["readmore","readmore-prebuild"]),this.observer=new s(this.$target,{onVisible:function(n){t.building=!0,e.attachOnResizeEvent(),e.optionalVideoModalEvent(),e.$target.prop("scrollHeight")>e.maxHeight&&(e.attachReadMoreButton(),e.$target.hasClass("readmore-build-without-collapse")?e.expand():e.collapse()),n.disconnect(),e.$target.removeClass(["readmore-prebuild","readmore-build-without-collapse"]),t.building=!1,t.options.onBuilt.apply(t)}})}},{key:"collapse",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];!this.building&&this.$target.hasClass("readmore-collapsed")||(this.options.onCollapsing.apply(this),this.$target.one("transitionend",(function(){t.options.onCollapsed.apply(t)})),this.$readMoreBtnWrapper.removeClass("dropup"),this.$readMoreBtn.text(this.options.labelCollapsed+" "),this.$target.css("height",this.maxHeight).addClass("readmore-collapsed").removeClass("readmore-expanded"),this.building||e||GoTo.element($(this.options.scrollTarget)))}},{key:"expand",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];(this.building||this.$target.hasClass("readmore-collapsed"))&&(this.options.onExpanding.apply(this),this.$target.one("transitionend",(function(){t.options.onExpanded.apply(t)})),this.$readMoreBtnWrapper.addClass("dropup"),this.$readMoreBtn.text(this.options.labelExpanded+" "),this.$target.css("height",this.$target.prop("scrollHeight")).removeClass("readmore-collapsed").addClass("readmore-expanded"),this.building||e||GoTo.element($(this.options.scrollTarget)))}},{key:"toggle",value:function(){this.$target.hasClass("readmore-collapsed")?this.expand():this.collapse()}},{key:"destroy",value:function(){this.detachReadMoreButton(),this.$target.css("height","").removeClass(["readmore","readmore-collapsed"])}},{key:"enable",value:function(){this.attachReadMoreButton(),this.$target.hasClass("readmore-expanded")?this.$target.css("height",this.$target.prop("scrollHeight")):this.$target.css("height",this.maxHeight).addClass("readmore-collapsed")}},{key:"disable",value:function(){this.detachReadMoreButton(),this.$readMoreBtnWrapper&&this.$readMoreBtnWrapper.removeClass("dropup"),this.$target.css("height","").removeClass("readmore-collapsed").removeClass("readmore-expanded")}},{key:"refresh",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t?(this.observer&&this.observer.disconnect(),this.destroy(),this.build()):(this.$target.hasClass("readmore-collapsed")||this.$target.css("height",""),this.$target.prop("scrollHeight")<=this.maxHeight?this.disable():this.$target.prop("scrollHeight")>this.maxHeight&&this.enable())}},{key:"attachReadMoreButton",value:function(){this.$readMoreBtn||this.createReadMoreButton(),this.$target.after(this.$readMoreBtnWrapper)}},{key:"detachReadMoreButton",value:function(){this.$readMoreBtnWrapper&&this.$readMoreBtnWrapper.detach()}},{key:"removeReadMoreButton",value:function(){this.$readMoreBtnWrapper&&this.$readMoreBtnWrapper.remove()}},{key:"createReadMoreButton",value:function(){var t=this;this.$readMoreBtn||(this.$readMoreBtnWrapper=$('<div class="readmore-btn-wrapper d-flex justify-content-center mt-2"></div>'),this.$readMoreBtn=$('<button type="button" class="btn btn-link shadow-none readmore-btn dropdown-toggle">'.concat(this.options.labelCollapsed,"</button>")),this.$readMoreBtnWrapper.on("click",(function(){t.toggle()})),this.$readMoreBtn.appendTo(this.$readMoreBtnWrapper))}},{key:"optionalVideoModalEvent",value:function(){$("#header-video-modal").on("show.bs.modal",(function(t){var e=$(t.relatedTarget).data("src");$(this).find("#header-video-frame").attr("src",e)})),$("#header-video-modal").on("hide.bs.modal",(function(t){$(this).find("#header-video-frame").attr("src","")}))}}])&&a(e.prototype,n),i&&a(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}()},rrt1:function(t,e,n){"use strict";var i=n("H8Oj"),o=n("vxtp"),a=n("HDxs");function s(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return l(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var r={name:"FormSelect",mixins:[n("+4mo").a],components:{FormControlButton:i.a,FormControlOptions:o.a,FormSelectOptions:a.default},props:{multiple:Boolean,options:Array,placeholder:String,title:String,subtitle:String,value:[String,Number,Array,Object],autoCloseOnApply:{type:Boolean,default:!0},multipleOptionsLabelMode:{type:String,default:"smart",validator:function(t){return["all","single","smart"].includes(t)}},multipleOptionsLabelSeparator:{type:String,default:", "},multipleOptionsSelectedLabel:{type:String,default:"Multiple options selected"},icon:String,iconStyle:{type:String,default:"fal"},useValueAsLabel:Boolean,showBadge:Boolean,showCounters:Boolean,showCheckbox:{type:Boolean,default:!0},showFooter:{type:Boolean,default:!0},autoApply:Boolean,optionsLayout:{type:String,default:"list",validator:function(t){return["list","grid"].includes(t)}}},data:function(){return{parsedValue:null,selectedOptions:[],needsToEmitInputAfterPreparingOptions:!1}},computed:{hasValue:function(){return this.selectedOptions.length>0},label:function(){var t;if(!this.useValueAsLabel)return this.placeholder;if(this.selectedOptions.length>1){if("single"===this.multipleOptionsLabelMode)return this.multipleOptionsSelectedLabel;var e=[];return"all"===this.multipleOptionsLabelMode?e=this.selectedOptions.filter((function(t){var e;return!(null!==(e=t.children)&&void 0!==e&&e.length)})):this.selectedOptions.forEach((function(t){var n,i,o;null!==(n=t._parent)&&void 0!==n&&n._checked||!(null===(i=t.children)||void 0===i||!i.length||null!==(o=t.children)&&void 0!==o&&o.length&&t._checked)||e.push(t)})),s(new Set(e.map((function(t){return t.label})))).join(this.multipleOptionsLabelSeparator)}return(null===(t=this.selectedOptions[0])||void 0===t?void 0:t.label)||this.placeholder},badge:function(){return this.showBadge&&this.hasValue?this.selectedOptions.length:null},normalizedOptions:function(){return this.options.filter((function(t){return!t.hidden&&(!t.hiddenWhenUnselected||t._checked)}))},isMultiLevel:function(){var t;return null===(t=this.options)||void 0===t?void 0:t.some((function(t){var e;return(null===(e=t.children)||void 0===e?void 0:e.length)>0}))}},created:function(){this.prepareOptions(this.options),this.value&&this.reCheckOptions(this.options),this.needsToEmitInputAfterPreparingOptions&&this.$emit("input",this.multiple?this.selectedOptions:this.selectedOptions[0]),this.$root.$on("close-modal",this.apply)},methods:{onOptionsMounted:function(){this.isMultiLevel&&this.$emit("calculate-control-options-height")},addSelectedOption:function(t){this.selectedOptions.some((function(e){return e===t}))||this.selectedOptions.push(t)},onOptionClick:function(t){var e=this.multiple?t:this.selectedOptions[0],n=null==e?void 0:e._checked;n&&this.uncheckOption(e),this.multiple&&n||this.checkOption(t),this.$emit("input",this.multiple?this.selectedOptions:this.selectedOptions[0]),this.multiple||this.apply()},checkOption:function(t){var e=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t._checked){var o;if(this.$set(t,"_checked",!0),this.addSelectedOption(t),i)null===(o=t.children)||void 0===o||o.filter((function(t){return!t._checked}
1)).forEach((function(t){e.checkOption(t,!1,!0)}));n&&t._parent&&t._parent.children.every((function(t){return t._checked}))&&this.checkOption(t._parent,!0,!1)}},uncheckOption:function(t){var e=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];this.$set(t,"_checked",!1);var o,a=this.multiple?this.selectedOptions.indexOf(t):this.selectedOptions.length-1;(a>-1&&this.selectedOptions.splice(a,1),n&&t._parent&&t._parent._checked&&this.uncheckOption(t._parent,!0,!1),i)&&(null===(o=t.children)||void 0===o||o.forEach((function(t){e.uncheckOption(t,!1,!0)})))},clear:function(){this.selectedOptions.forEach((function(t){return t._checked=!1})),this.selectedOptions.splice(0,this.selectedOptions.length)},apply:function(){this.$emit("apply",this.name,this.multiple?this.selectedOptions:this.selectedOptions[0]),this.autoCloseOnApply&&!this.delegateOpenState&&this.closeOptions()},prepareOptions:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;t.forEach((function(t){return e.prepareOption(t,n,i)}))},prepareOption:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;void 0===t._level&&this.$set(t,"_level",n),void 0===t._checked&&this.$set(t,"_checked",!1),t.children&&this.prepareOptions(t.children,t,n+1),void 0===t._parent&&e&&this.$set(t,"_parent",e)},reCheckOptions:function(t){var e=this;t.forEach((function(t){return e.reCheckOption(t)}))},reCheckOption:function(t){var e;e=Array.isArray(this.value)?this.value.some((function(e){return e===t})):this.value==t,t._checked!=e?(this.needsToEmitInputAfterPreparingOptions=!0,t._checked?this.uncheckOption(t):this.checkOption(t)):t._checked&&this.addSelectedOption(t),t.children&&this.reCheckOptions(t.children)}},watch:{value:function(t,e){t!=e&&this.reCheckOptions(this.options)}}},c=n("KHd+"),u=Object(c.a)(r,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"form-control-container form-select",class:{multiple:t.multiple,"label-placeholder":!t.hasValue,"label-value":t.useValueAsLabel&&t.hasValue}},[t.showOpenButton?e("form-control-button",{attrs:{placeholder:t.placeholder,value:t.label,label:t.label,badge:t.badge,icon:t.icon,iconStyle:t.iconStyle,"show-open-icon":t.showOpenIcon,open:t.isOpen},on:{click:t.toggleOptions}}):t._e(),t._v(" "),e("form-control-options",{ref:"controlOptions",attrs:{container:t.optionsContainer,transition:t.transition,title:t.title||t.placeholder,subtitle:t.subtitle,mode:t.optionsMode,direction:t.optionsDirection,open:t.isOpen,"calculate-height-on-mounted":!t.isMultiLevel}},[e("form-select-options",{class:{multiple:t.multiple},attrs:{showCheckbox:t.showCheckbox,checkbox:t.multiple,options:t.normalizedOptions,"show-counters":t.showCounters,layout:t.optionsLayout},on:{"option-click":t.onOptionClick,"options-mounted":t.onOptionsMounted}}),t._v(" "),t.multiple&&t.showFooter?e("div",{staticClass:"form-select-footer"},[e("button",{staticClass:"btn btn-outline-gray-more form-select-footer-button-clear",attrs:{type:"button"},on:{click:t.clear}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary form-select-footer-button-apply",attrs:{type:"button"},on:{click:t.apply}},[t._v("Apply")])]):t._e()],1)],1)}),[],!1,null,null,null);e.a=u.exports},sMx2:function(t,e,n){"use strict";(function(t){var n={name:"teleport",props:{to:{type:String,required:!0},where:{type:String,default:"after"},disabled:Boolean},data:function(){return{nodes:[],waiting:!1,observer:null,parent:null}},watch:{to:"maybeMove",where:"maybeMove",disabled:function(t){t?(this.disable(),this.teardownObserver()):(this.bootObserver(),this.move())}},mounted:function(){this.nodes=Array.from(this.$el.childNodes),this.disabled||this.bootObserver(),this.maybeMove()},beforeDestroy:function(){this.disable(),this.teardownObserver()},computed:{classes:function(){return this.disabled?["teleporter"]:["teleporter","hidden"]}},methods:{maybeMove:function(){this.disabled||this.move()},move:function(){if(this.waiting=!1,this.parent=document.querySelector(this.to),!this.parent)return this.disable(),void(this.waiting=!0);
1"before"===this.where?this.parent.prepend(this.getFragment()):this.parent.appendChild(this.getFragment())},disable:function(){this.$el.appendChild(this.getFragment()),this.parent=null},getFragment:function(){var t=document.createDocumentFragment();return this.nodes.forEach((function(e){return t.appendChild(e)})),t},onMutations:function(t){for(var e=this,n=!1,i=0;i<t.length;i++){var o=t[i],a=Array.from(o.addedNodes).filter((function(t){return!e.nodes.includes(t)}));Array.from(o.removedNodes).includes(this.parent)?(this.disable(),this.waiting=!this.disabled):this.waiting&&a.length>0&&(n=!0)}n&&this.move()},bootObserver:function(){var t=this;this.observer||(this.observer=new MutationObserver((function(e){return t.onMutations(e)})),this.observer.observe(document.body,{childList:!0,subtree:!0,attributes:!1,characterData:!1}))},teardownObserver:function(){this.observer&&(this.observer.disconnect(),this.observer=null)}}};function i(t,e,n,i,o,a,s,l,r,c){"boolean"!=typeof s&&(r=l,l=s,s=!1);var u,h="function"==typeof n?n.options:n;if(t&&t.render&&(h.render=t.render,h.staticRenderFns=t.staticRenderFns,h._compiled=!0,o&&(h.functional=!0)),i&&(h._scopeId=i),a?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,r(t)),t&&t._registeredComponents&&t._registeredComponents.add(a)},h._ssrRegister=u):e&&(u=s?function(t){e.call(this,c(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,l(t))}),u)if(h.functional){var d=h.render;h.render=function(t,e){return u.call(e),d(t,e)}}else{var p=h.beforeCreate;h.beforeCreate=p?[].concat(p,u):[u]}return n}var o,a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());function s(t){return function(t,e){return function(t,e){var n=a?e.media||"default":t,i=l[n]||(l[n]={ids:new Set,styles:[]});if(!i.ids.has(t)){i.ids.add(t);var s=e.source;if(e.map&&(s+="\n/*# sourceURL="+e.map.sources[0]+" */",s+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e.map))))+" */"),i.element||(i.element=document.createElement("style"),i.element.type="text/css",e.media&&i.element.setAttribute("media",e.media),void 0===o&&(o=document.head||document.getElementsByTagName("head")[0]),o.appendChild(i.element)),"styleSheet"in i.element)i.styles.push(s),i.element.styleSheet.cssText=i.styles.filter(Boolean).join("\n");else{var r=i.ids.size-1,c=document.createTextNode(s),u=i.element.childNodes;u[r]&&i.element.removeChild(u[r]),u.length?i.element.insertBefore(c,u[r]):i.element.appendChild(c)}}}(t,e)}}var l={};var r=n,c=function(){var t=this.$createElement;return(this._self._c||t)("div",{class:this.classes},[this._t("default")],2)};c._withStripped=!0;var u=i({render:c,staticRenderFns:[]},(function(t){t&&t("data-v-d4e6e290_0",{source:".hidden[data-v-d4e6e290] {\n visibility: hidden;\n display: none;\n}\n\n/*# sourceMappingURL=Teleport.vue.map */",map:{version:3,sources:["/Users/shodan/Projects/vue2-teleport/src/Teleport.vue","Teleport.vue"],names:[],mappings:"AAuJA;EACA,kBAAA;EACA,aAAA;ACtJA;;AAEA,uCAAuC",file:"Teleport.vue",sourcesContent:["<template>\n <div :class=\"classes\">\n <slot/>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'teleport',\n props: {\n to: {\n type: String,\n required: true,\n },\n where: {\n type: String,\n default: 'after',\n },\n disabled: Boolean,\n },\n data() {\n return {\n nodes: [],\n waiting: false,\n observer: null,\n parent: null,\n };\n },\n watch: {\n to: 'maybeMove',\n where: 'maybeMove',\n disabled(value) {\n if (value) {\n this.disable();\n this.teardownObserver();\n } else {\n this.bootObserver();\n this.move();\n }\n },\n },\n mounted() {\n // Store a reference to the nodes\n this.nodes = Array.from(this.$el.childNodes);\n\n if (!this.disabled) {\n this.bootObserver();\n }\n\n // Move slot content to target\n this.maybeMove();\n },\n beforeDestroy() {\n // Move back\n this.disable();\n\n // Stop observing\n this.teardownObserver();\n },\n computed: {\n classes() {\n if (this.disabled) {\n return ['teleporter'];\n }\n\n return ['teleporter', 'hidden'];\n },\n },\n methods: {\n maybeMove() {\n if (!this.disabled) {\n this.move();\n }\n },\n move() {\n this.waiting = false;\n\n this.parent = document.querySelector(this.to);\n\n if (!this.parent) {\n this.disable();\n\n this.waiting = true;\n\n return;\n }\n\n if (this.where === 'before') {\n this.parent.prepe
1nd(this.getFragment());\n } else {\n this.parent.appendChild(this.getFragment());\n }\n },\n disable() {\n this.$el.appendChild(this.getFragment());\n this.parent = null;\n },\n // Using a fragment is faster because it'll trigger only a single reflow\n // See https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment\n getFragment() {\n const fragment = document.createDocumentFragment();\n\n this.nodes.forEach(node => fragment.appendChild(node));\n\n return fragment;\n },\n onMutations(mutations) {\n // Makes sure the move operation is only done once\n let shouldMove = false;\n\n for (let i = 0; i < mutations.length; i++) {\n const mutation = mutations[i];\n const filteredAddedNodes = Array.from(mutation.addedNodes).filter(node => !this.nodes.includes(node));\n\n if (Array.from(mutation.removedNodes).includes(this.parent)) {\n this.disable();\n this.waiting = !this.disabled;\n } else if (this.waiting && filteredAddedNodes.length > 0) {\n shouldMove = true;\n }\n }\n\n if (shouldMove) {\n this.move();\n }\n },\n bootObserver() {\n if (this.observer) {\n return;\n }\n\n this.observer = new MutationObserver(mutations => this.onMutations(mutations));\n\n this.observer.observe(document.body, {\n childList: true,\n subtree: true,\n attributes: false,\n characterData: false,\n });\n },\n teardownObserver() {\n if (this.observer) {\n this.observer.disconnect();\n this.observer = null;\n }\n },\n },\n};\n<\/script>\n\n<style scoped lang=\"scss\">\n.hidden {\n visibility: hidden;\n display: none;\n}\n</style>\n",".hidden {\n visibility: hidden;\n display: none;\n}\n\n/*# sourceMappingURL=Teleport.vue.map */"]},media:void 0})}),r,"data-v-d4e6e290",!1,void 0,!1,s,void 0,void 0);var h={install:function t(e){t.installed||(t.installed=!0,e.component("Teleport",u))}},d=null;"undefined"!=typeof window?d=window.Vue:void 0!==t&&(d=t.Vue),d&&d.use(h),e.a=u}).call(this,n("yLpj"))},uqBF:function(t,e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var i=0;i<e.length;i++){var o=e[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,(a=o.key,s=void 0,s=function(t,e){if("object"!==n(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var o=i.call(t,e||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(a,"string"),"symbol"===n(s)?s:String(s)),o)}var a,s}t.exports=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i(this,t),this.$target=$(e),this.options=Object.assign({windowPadding:[70,0,0,0]},n),this.loadSelector()}var e,n,a;return e=t,(n=[{key:"loadSelector",value:function(){this.$target.selectpicker(this.options)}},{key:"refresh",value:function(){this.$target.selectpicker("refresh")}}])&&o(e.prototype,n),a&&o(e,a),Object.defineProperty(e,"prototype",{writable:!1}),t}()},v4L8:function(t,e,n){"use strict";var i=n("H8Oj"),o=n("vxtp");function a(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var l={name:"FormDatepicker",mixins:[n("+4mo").a],components:{FormControlButton:i.a,FormControlOptions:o.a},props:{placeholder:String,title:String,subtitle:String,unknownDatesLabel:{type:String,default:"I don't know my dates"},value:[Date,String,Boolean],autoCloseOnApply:{type:Boolean,default:!0},icon:String,iconStyle:{type:String,default:"fal"},disabledDaysTooltip:String,useValueAsLabel:Boolean,showBadge:Boolean,mode:{type:String,default:"static",validator:function(t){return["scroll","static"].includes(t)}},direction:{type:String,default:"vertical",validator:function(t){return["vertical","horizontal"].includes(t)}},visibleMonths:{type:[Number,String],default:1},startDate:{type:[Date,String],default:function(){return new Date},validator:function(t){return"string"!=typeof t||new RegExp(/^\d{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2]\d|3[01])$/).test(t)}},endDate:{type:[Date,String],validator:function(t){return"string"!=typeof t||new RegExp(/^\d{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2]\d|3[01])$/).test(t)}},currentDate:{type:[Date,String],validator:function(t){return"string"!=typeof t||new RegExp(/^\d{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2]\d|3[01])$/).test(t)}},disabledDates:[Array,Function],disabledWeekdays:[Array,Function],showYearsPicker:Boolean,showUnknownDateOption:Boolean,note:String},data:function(){return{normalized:{value:null,startDate:null,endD
1ate:null,disabledDates:null,currentDate:null}}},computed:{hasValue:function(){return null!==this.normalized.value},label:function(){return this.useValueAsLabel?!1===this.normalized.value?this.unknownDatesLabel:this.normalized.value?Intl.DateTimeFormat("en-gb",{day:"numeric",month:"long",year:"numeric",timeZone:"UTC"}).format(this.normalized.value.getTime()):this.placeholder:this.placeholder},calendar:function(){var t=new Date;t.setUTCHours(0,0,0,0);var e=new Date(this.normalized.currentDate.getTime()),n=parseInt(this.visibleMonths,10);return"scroll"===this.mode&&(n=12*(this.normalized.endDate.getUTCFullYear()-this.normalized.startDate.getUTCFullYear()+1)-this.normalized.startDate.getUTCMonth()),e.setUTCDate(1),a(Array(n)).map((function(n,i){var o=new Date(e.getTime());o.setUTCMonth(o.getUTCMonth()+i);var s=new Date(o.getTime());return s.setUTCMonth(s.getUTCMonth()+1),s.setUTCDate(0),{date:o,index:o.getUTCMonth(),number:o.getUTCMonth()+1,year:o.getUTCFullYear(),label:Intl.DateTimeFormat("en-gb",{month:"long",year:"numeric",timeZone:"UTC"}
1).format(o.getTime()),days:a(Array(s.getUTCDate())).map((function(e,n){var i=new Date(o.getTime());return i.setUTCDate(n+1),{date:i,number:i.getUTCDate(),label:i.getUTCDate(),weekday:i.getUTCDay(),time:i.getTime(),isValidDateIn:i>t&&6===i.getUTCDay()}}))}}))},visibleCalendar:function(){return"scroll"===this.mode?this.calendar:this.calendar.slice(0,this.visibleMonths)},valueTime:function(){return this.normalized.value?this.normalized.value.getTime():null},badge:function(){return this.showBadge&&this.hasValue?new Intl.DateTimeFormat("en-GB",{dateStyle:"medium",timeZone:"UTC"}).format(this.normalized.value):null},yearsPickerYears:function(){var t=this;return this.showYearsPicker&&this.normalized.startDate&&this.normalized.endDate?a(Array(this.normalized.endDate.getFullYear()-this.normalized.startDate.getFullYear()+1)).map((function(e,n){return t.normalized.startDate.getFullYear()+n})):[]},currentMonthName:function(){return new Intl.DateTimeFormat("en-GB",{month:"long",timeZone:"UTC"}).format(this.normalized.currentDate)},isStartMonth:function(){return this.normalized.startDate&&this.normalized.startDate.getUTCFullYear()==this.normalized.currentDate.getFullYear()&&this.normalized.startDate.getUTCMonth()==this.normalized.currentDate.getMonth()},isEndMonth:function(){return this.normalized.endDate&&this.normalized.endDate.getUTCFullYear()==this.normalized.currentDate.getFullYear()&&this.normalized.endDate.getUTCMonth()==this.normalized.currentDate.getMonth()},currentlyDisplayedYear:function(){var t;return(null===(t=this.visibleCalendar[0])||void 0===t?void 0:t.year)||null}},created:function(){this.normalizeProps(),this.hasValue&&this.apply()},mounted:function(){$('[data-toggle="tooltip"]').tooltip()},methods:{normalizeProps:function(){var t,e=this;this.normalized.value=this.normalizeDate(this.value),this.normalized.startDate=this.normalizeDate(this.startDate),this.normalized.endDate=this.normalizeDate(this.endDate),this.normalized.currentDate=this.normalizeDate(this.currentDate,this.value?this.normalized.value:this.normalized.startDate),this.normalized.disabledDates=null===(t=this.disabledDates)||void 0===t?void 0:t.map((function(t){return e.normalizeDate(t)})),this.visibleMonths>1&&this.normalized.endDate.setUTCMonth(this.normalized.endDate.getUTCMonth()-(parseInt(this.visibleMonths,10)-1))},normalizeDate:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=t instanceof Date?t:"string"==typeof t?new Date(t):e;return n instanceof Date&&(n.setUTCHours(0),n.setUTCMinutes(0),n.setUTCSeconds(0),n.setUTCMilliseconds(0)),n},selectDate:function(t){this.normalized.value=t,this.apply()},selectUnknownDates:function(){this.normalized.value=!1,this.apply()},apply:function(){this.$emit("input",this.normalized.value),this.autoCloseOnApply&&!this.delegateOpenState&&this.closeOptions()},goYear:function(t){var e=new Date(this.normalized.currentDate.getTime());e.setUTCFullYear(t),this.goDate(e)},goNextMonth:function(){var t=new Date(this.normalized.currentDate.getTime());t.setUTCDate(1),t.setUTCMonth(t.getUTCMonth()+1),this.goDate(t)},goPreviousMonth:function(){var t=new Date(this.normalized.currentDate.getTime());t.setUTCDate(1),t.setUTCMonth(t.getUTCMonth()-1),this.goDate(t)},goDate:function(t){this.normalized.startDate&&t<this.normalized.startDate&&(t=new Date(this.normalized.startDate.getTime())),this.normalized.endDate&&t>this.normalized.endDate&&(t=new Date(this.normalized.endDate.getTime())),this.$set(this.normalized,"currentDate",t)}},watch:{value:function(t,e){t!=e&&(this.normalized.value=this.normalizeDate(t))}}},r=n("KHd+"),c=Object(r.a)(l,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"form-control-container form-datepicker",class:{"label-placeholder":!t.hasValue,"label-value":t.useValueAsLabel&&t.hasValue,"multiple-months":t.visibleMonths>1}},[t.showOpenButton?e("form-control-button",{attrs:{label:t.label,badge:t.badge,icon:t.icon,iconStyle:t.iconStyle,"show-open-icon":t.showOpenIcon,open:t.isOpen},on:{click:t.toggleOptions}}):t._e(),t._v(" "),e("form-control-options",{ref:"controlOptions",attrs:{container:t.optionsContainer,transition:t.transition,title:t.title||t.placeholder,subtitle:t.subtitle,classes:["form-datepicker-options","horizontal"==t.direction?"form-datepicker-options-horizontal":"form-datepicker-options-vertical"],mode:t.optionsMode,direction:t.optionsDirection,open:t.isOpen,"calculate-height-on-mounted":"auto"==t.o
1ptionsDirection}},[t.note?e("div",{staticClass:"form-datepicker-note",domProps:{innerHTML:t._s(t.note)}}):t._e(),t._v(" "),"static"===t.mode?e("div",{staticClass:"form-datepicker-controls d-flex flex-column gap-2 py-2"},[t.yearsPickerYears.length?e("div",{staticClass:"form-datepicker-years-selector d-flex gap-2 justify-content-center"},[t._l(t.yearsPickerYears,(function(n){return e("button",{key:"m".concat(n),staticClass:"btn btn-gray-more-2 btn-xs rounded-pill d-md-none",class:{active:t.currentlyDisplayedYear==n},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),e.stopPropagation(),t.goYear(n)}}},[t._v(t._s(n))])})),t._v(" "),t._l(t.yearsPickerYears,(function(n){return e("button",{key:"d".concat(n),staticClass:"btn btn-white btn-xs rounded-pill d-none d-md-block",class:{active:t.currentlyDisplayedYear==n},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),e.stopPropagation(),t.goYear(n)}}},[t._v(t._s(n))])}))],2):t._e(),t._v(" "),e("div",{staticClass:"form-datepicker-months-selector d-flex justify-content-center align-items-center"},[e("button",{staticClass:"btn btn-link btn-xs",attrs:{type:"button"},on:{click:t.goPreviousMonth}},[e("i",{staticClass:"fas fa-chevron-left"})]),t._v(" "),e("div",{staticClass:"form-datepicker-months-selector-month-label font-weight-bold d-flex"},t._l(t.calendar,(function(n,i){return e("div",{key:i},[t._v(t._s(n.label))])})),0),t._v(" "),e("button",{staticClass:"btn btn-link btn-xs",attrs:{type:"button"},on:{click:t.goNextMonth}},[e("i",{staticClass:"fas fa-chevron-right"})])])]):t._e(),t._v(" "),1==t.visibleMonths?e("div",{staticClass:"form-datepicker-weekdays-container"},[e("div",{staticClass:"form-datepicker-weekdays"},[e("div",[t._v("Mon")]),t._v(" "),e("div",[t._v("Tue")]),t._v(" "),e("div",[t._v("Wed")]),t._v(" "),e("div",[t._v("Thu")]),t._v(" "),e("div",[t._v("Fri")]),t._v(" "),e("div",[t._v("Sat")]),t._v(" "),e("div",[t._v("Sun")])])]):t._e(),t._v(" "),e("div",{staticClass:"form-datepicker-months"},t._l(t.calendar,(function(n,i){return e("div",{key:i,staticClass:"form-datepicker-month"},["scroll"===t.mode?e("div",{staticClass:"form-datepicker-month-name",domProps:{textContent:t._s(n.label)}}):t._e(),t._v(" "),t.visibleMonths>1?e("div",{staticClass:"form-datepicker-weekdays-container"},[e("div",{staticClass:"form-datepicker-weekdays"},[e("div",[t._v("Mon")]),t._v(" "),e("div",[t._v("Tue")]),t._v(" "),e("div",[t._v("Wed")]),t._v(" "),e("div",[t._v("Thu")]),t._v(" "),e("div",[t._v("Fri")]),t._v(" "),e("div",[t._v("Sat")]),t._v(" "),e("div",[t._v("Sun")])])]):t._e(),t._v(" "),e("div",{staticClass:"form-datepicker-days"},t._l(n.days,(function(n,i){return e("div",{key:i,staticClass:"form-datepicker-day-wrapper",style:[0===i?{"grid-column-start":n.weekday||7}:""],attrs:{title:!(n.isValidDateIn||!t.disabledDaysTooltip)&&t.disabledDaysTooltip,"data-toggle":!(n.isValidDateIn||!t.disabledDaysTooltip)&&"tooltip","data-placement":!(n.isValidDateIn||!t.disabledDaysTooltip)&&"top"}},[e("button",{staticClass:"btn form-datepicker-day",class:{selected:n.isValidDateIn&&t.valueTime==n.time},attrs:{type:"button",disabled:!n.isValidDateIn},domProps:{textContent:t._s(n.label)},on:{click:function(e){return t.selectDate(n.date)}}})])})),0)])})),0),t._v(" "),e("div",[t._t("default")],2),t._v(" "),t.showUnknownDateOption?e("div",{staticClass:"form-datepicker-unknown-dates",on:{click:t.selectUnknownDates}},[e("div",{staticClass:"form-checkbox",class:{checked:!1===t.normalized.value}}),t._v(" "),e("div",{staticClass:"form-datepicker-unknown-dates-label",domProps:{textContent:t._s(t.unknownDatesLabel)}})]):t._e()])],1)}),[],!1,null,null,null);e.a=c.exports},vxtp:function(t,e,n){"use strict";var i={name:"FormControlOptions",components:{Teleport:n("sMx2").a},props:{title:String,subtitle:String,classes:[String,Object,Array],mode:{type:String,default:"dropdown",validator:function(t){return["dropdown","static"].includes(t)}},direction:{type:String,default:"auto",validator:function(t){return["auto","downwards","upwards"].includes(t)}},container:{type:String,default:null},open:{type:Boolean,default:!1},calculateHeightOnMounted:{type:Boolean,default:!0},transition:{type:String,default:"collapse",validator:function(t){return["collapse","fade"].includes(t)}}},data:function(){return{tpDisabled:!1,isDocumentInteractive:!1,optionsHeightTimer:null,optionsHeightQueuedResolves:[],openUpwards:!1,isScrollEventHandlerAttached:!1}},computed:{hasContainer:function(){return this.container&&""!==this.container.trim()},isModalContainer:function(){var t;return this.isDocumentInteractive&&this.hasContainer&&(null===(t=document.querySelector(this.container))||void 0===t?void 0:t.classList.contains("form-control-modal"))},teleportControlTarget:function(){return this.isModalContainer?"".concat(this.container," .form-control-modal-control"):this.container||""},teleportHeadingTarget:function(){return this.isModalContainer?"".concat(this.container," .form-control-modal-heading"):""}},created:function(){var t=this;this.$root.$on("calculate-all-control-options-height",(function(){t.updateControlOptionsHeight()})),this.$parent.$on("calculate-control-options-height",(function(){t.updateControlOptionsHeight()}))},mounted:function(){var t=this;"complete"!==document.readyState?document.addEventListener("readystatechange",(function(){t.onDocumentIsInteractive()}
1)):this.onDocumentIsInteractive()},methods:{onDocumentIsInteractive:function(){this.isDocumentInteractive=!0,this.calculateHeightOnMounted&&this.updateControlOptionsHeight()},onEnterTransition:function(t){"collapse"==this.transition&&t.style.setProperty("--height","".concat(t.scrollHeight,"px")),this.updateControlOptionsHeight(),this.calculateOptionsOpeningDirection(),this.attachScrollEventHandlerAttached(),this.$emit("enter-transition",t)},onAfterLeaveTransition:function(t){this.removeScrollEventHandlerAttached(),this.$emit("after-leave-transition",t)},close:function(){this.$emit("close")},calculateOptionsOpeningDirection:function(){if("auto"==this.direction){var t=this.$parent.$el.getBoundingClientRect();window.innerHeight-(t.bottom+this.$root.maxControlOptionsHeight+10)<0&&t.top-this.$root.maxControlOptionsHeight-10>this.$root.contentTopOffset?this.openUpwards=!0:this.openUpwards=!1}else this.openUpwards="upwards"==this.direction},updateControlOptionsHeight:function(){var t=this;this.$nextTick((function(){"dropdown"==t.mode&&"auto"==t.direction&&t.$root.$emit("control-options-height",t.$parent.name,t.getOptionsHeightSync())}))},getOptionsHeight:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return new Promise((function(n){t.optionsHeightQueuedResolves.push(n),t.optionsHeightTimer&&clearTimeout(t.optionsHeightTimer),t.optionsHeightTimer=setTimeout((function(){var e=t.getOptionsHeightSync();t.optionsHeightQueuedResolves.forEach((function(t){return t(e)}))}),e?0:200)}))},getOptionsHeightSync:function(){var t=this.$refs.options;if(t.checkVisibility())return t.scrollHeight;var e=t.style.getPropertyValue("position"),n=t.style.getPropertyValue("visibility"),i=t.style.getPropertyValue("display");t.style.setProperty("position","absolute"),t.style.setProperty("visibility","hidden"),t.style.setProperty("display","block");var o=t.scrollHeight;return t.style.setProperty("display",i),t.style.setProperty("visibility",n),t.style.setProperty("position",e),o},attachScrollEventHandlerAttached:function(){"auto"!=this.direction||this.isScrollEventHandlerAttached||(window.addEventListener("scroll",this.calculateOptionsOpeningDirection,{passive:!0}),this.isScrollEventHandlerAttached=!0)},removeScrollEventHandlerAttached:function(){this.isScrollEventHandlerAttached&&(window.removeEventListener("scroll",this.calculateOptionsOpeningDirection),this.isScrollEventHandlerAttached=!1)}}},o=n("KHd+"),a=Object(o.a)(i,(function(){var t=this,e=t._self._c;return e("teleport",{attrs:{to:t.teleportControlTarget,disabled:!t.hasContainer}},[t.open?e("teleport",{attrs:{to:t.teleportHeadingTarget,disabled:!t.isModalContainer}},[t.isModalContainer&&t.title?e("span",{staticClass:"form-control-title",domProps:{textContent:t._s(t.title)}}):t._e(),t._v(" "),t.subtitle?e("span",{staticClass:"form-control-subtitle",domProps:{textContent:t._s(t.subtitle)}}):t._e()]):t._e(),t._v(" "),e("transition",{attrs:{name:t.transition},on:{enter:t.onEnterTransition,"after-leave":t.onAfterLeaveTransition}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}],ref:"options",staticClass:"form-control-options",class:[t.classes,{upwards:t.openUpwards}]},[t._t("default")],2)])],1)}),[],!1,null,null,null);e.a=a.exports},yLpj:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n}},[[4,0]]]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.