");return i.inlineElement=r,r}return e.updateStatus("ready"),e._parseMarkup(n,{},i),n}}});var L,M="ajax",O=function(){L&&t(document.body).removeClass(L)},Q=function(){O(),e.req&&e.req.abort()};t.magnificPopup.registerModule(M,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'
The content could not be loaded.'},proto:{initAjax:function(){e.types.push(M),L=e.st.ajax.cursor,C(a+"."+M,Q),C("BeforeChange."+M,Q)},getAjax:function(i){L&&t(document.body).addClass(L),e.updateStatus("loading");var n=t.extend({url:i.src,success:function(n,o,r){var s={data:n,xhr:r};k("ParseAjax",s),e.appendContent(t(s.data),M),i.finished=!0,O(),e._setFocus(),setTimeout(function(){e.wrap.addClass(g)},16),e.updateStatus("ready"),k("AjaxContentAdded")},error:function(){O(),i.finished=i.loadError=!0,e.updateStatus("error",e.st.ajax.tError.replace("%url%",i.src))}},e.st.ajax.settings);return e.req=t.ajax(n),""}}});var F,z=function(i){if(i.data&&void 0!==i.data.title)return i.data.title;var n=e.st.image.titleSrc;if(n){if(t.isFunction(n))return n.call(e,i);if(i.el)return i.el.attr(n)||""}return""};t.magnificPopup.registerModule("image",{options:{markup:'
',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'
The image could not be loaded.'},proto:{initImage:function(){var i=e.st.image,n=".image";e.types.push("image"),C(h+n,function(){"image"===e.currItem.type&&i.cursor&&t(document.body).addClass(i.cursor)}),C(a+n,function(){i.cursor&&t(document.body).removeClass(i.cursor),x.off("resize"+m)}),C("Resize"+n,e.resizeImage),e.isLowIE&&C("AfterChange",e.resizeImage)},resizeImage:function(){var t=e.currItem;if(t&&t.img&&e.st.image.verticalFit){var i=0;e.isLowIE&&(i=parseInt(t.img.css("padding-top"),10)+parseInt(t.img.css("padding-bottom"),10)),t.img.css("max-height",e.wH-i)}},_onImageHasSize:function(t){t.img&&(t.hasSize=!0,F&&clearInterval(F),t.isCheckingImgSize=!1,k("ImageHasSize",t),t.imgHidden&&(e.content&&e.content.removeClass("mfp-loading"),t.imgHidden=!1))},findImageSize:function(t){var i=0,n=t.img[0],o=function(r){F&&clearInterval(F),F=setInterval(function(){return n.naturalWidth>0?void e._onImageHasSize(t):(i>200&&clearInterval(F),i++,void(3===i?o(10):40===i?o(50):100===i&&o(500)))},r)};o(1)},getImage:function(i,n){var o=0,r=function(){i&&(i.img[0].complete?(i.img.off(".mfploader"),i===e.currItem&&(e._onImageHasSize(i),e.updateStatus("ready")),i.hasSize=!0,i.loaded=!0,k("ImageLoadComplete")):(o++,o<200?setTimeout(r,100):s()))},s=function(){i&&(i.img.off(".mfploader"),i===e.currItem&&(e._onImageHasSize(i),e.updateStatus("error",a.tError.replace("%url%",i.src))),i.hasSize=!0,i.loaded=!0,i.loadError=!0)},a=e.st.image,l=n.find(".mfp-img");if(l.length){var c=document.createElement("img");c.className="mfp-img",i.el&&i.el.find("img").length&&(c.alt=i.el.find("img").attr("alt")),i.img=t(c).on("load.mfploader",r).on("error.mfploader",s),c.src=i.src,l.is("img")&&(i.img=i.img.clone()),c=i.img[0],c.naturalWidth>0?i.hasSize=!0:c.width||(i.hasSize=!1)}return e._parseMarkup(n,{title:z(i),img_replaceWith:i.img},i),e.resizeImage(),i.hasSize?(F&&clearInterval(F),i.loadError?(n.addClass("mfp-loading"),e.updateStatus("error",a.tError.replace("%url%",i.src))):(n.removeClass("mfp-loading"),e.updateStatus("ready")),n):(e.updateStatus("loading"),i.loading=!0,i.hasSize||(i.imgHidden=!0,n.addClass("mfp-loading"),e.findImageSize(i)),n)}}});var N,$=function(){return void 0===N&&(N=void 0!==document.createElement("p").style.MozTransform),N};t.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(t){return t.is("img")?t:t.find("img")}},proto:{initZoom:function(){var t,i=e.st.zoom,n=".zoom";if(i.enabled&&e.supportsTransition){var o,r,s=i.duration,c=function(t){var e=t.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),n="all "+i.duration/1e3+"s "+i.easing,o={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},r="transition";return o["-webkit-"+r]=o["-moz-"+r]=o["-o-"+r]=o[r]=n,e.css(o),e},u=function(){e.content.css("visibility","visible")};C("BuildControls"+n,function(){if(e._allowZoom()){if(clearTimeout(o),e.content.css("visibility","hidden"),t=e._getItemToZoom(),!t)return void u();r=c(t),r.css(e._getOffset()),e.wrap.append(r),o=setTimeout(function(){r.css(e._getOffset(!0)),o=setTimeout(function(){u(),setTimeout(function(){r.remove(),t=r=null,k("ZoomAnimationEnded")},16)},s)},16)}}),C(l+n,function(){if(e._allowZoom()){if(clearTimeout(o),e.st.removalDelay=s,!t){if(t=e._getItemToZoom(),!t)return;r=c(t)}r.css(e._getOffset(!0)),e.wrap.append(r),e.content.css("visibility","hidden"),setTimeout(function(){r.css(e._getOffset())},16)}}),C(a+n,function(){e._allowZoom()&&(u(),r&&r.remove(),t=null)})}},_allowZoom:function(){return"image"===e.currItem.type},_getItemToZoom:function(){return!!e.currItem.hasSize&&e.currItem.img},_getOffset:function(i){var n;n=i?e.currItem.img:e.st.zoom.opener(e.currItem.el||e.currItem);var o=n.offset(),r=parseInt(n.css("padding-top"),10),s=parseInt(n.css("padding-bottom"),10);o.top-=t(window).scrollTop()-r;var a={width:n.width(),height:(w?n.innerHeight():n[0].offsetHeight)-s-r};return $()?a["-moz-transform"]=a.transform="translate("+o.left+"px,"+o.top+"px)":(a.left=o.left,a.top=o.top),a}}});var W="iframe",H="//about:blank",B=function(t){if(e.currTemplate[W]){var i=e.currTemplate[W].find("iframe");i.length&&(t||(i[0].src=H),e.isIE8&&i.css("display",t?"block":"none"))}};t.magnificPopup.registerModule(W,{options:{markup:'
',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){e.types.push(W),C("BeforeChange",function(t,e,i){e!==i&&(e===W?B():i===W&&B(!0))}),C(a+"."+W,function(){B()})},getIframe:function(i,n){var o=i.src,r=e.st.iframe;t.each(r.patterns,function(){if(o.indexOf(this.index)>-1)return this.id&&(o="string"==typeof this.id?o.substr(o.lastIndexOf(this.id)+this.id.length,o.length):this.id.call(this,o)),o=this.src.replace("%id%",o),!1});var s={};return r.srcAction&&(s[r.srcAction]=o),e._parseMarkup(n,s,i),e.updateStatus("ready"),n}}});var V=function(t){var i=e.items.length;return t>i-1?t-i:t<0?i+t:t},R=function(t,e,i){return t.replace(/%curr%/gi,e+1).replace(/%total%/gi,i)};t.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'
',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var i=e.st.gallery,o=".mfp-gallery";return e.direction=!0,!(!i||!i.enabled)&&(r+=" mfp-gallery",C(h+o,function(){i.navigateByImgClick&&e.wrap.on("click"+o,".mfp-img",function(){if(e.items.length>1)return e.next(),!1}),n.on("keydown"+o,function(t){37===t.keyCode?e.prev():39===t.keyCode&&e.next()})}),C("UpdateStatus"+o,function(t,i){i.text&&(i.text=R(i.text,e.currItem.index,e.items.length))}),C(d+o,function(t,n,o,r){var s=e.items.length;o.counter=s>1?R(i.tCounter,r.index,s):""}),C("BuildControls"+o,function(){if(e.items.length>1&&i.arrows&&!e.arrowLeft){var n=i.arrowMarkup,o=e.arrowLeft=t(n.replace(/%title%/gi,i.tPrev).replace(/%dir%/gi,"left")).addClass(y),r=e.arrowRight=t(n.replace(/%title%/gi,i.tNext).replace(/%dir%/gi,"right")).addClass(y);o.click(function(){e.prev()}),r.click(function(){e.next()}),e.container.append(o.add(r))}}),C(f+o,function(){e._preloadTimeout&&clearTimeout(e._preloadTimeout),e._preloadTimeout=setTimeout(function(){e.preloadNearbyImages(),e._preloadTimeout=null},16)}),void C(a+o,function(){n.off(o),e.wrap.off("click"+o),e.arrowRight=e.arrowLeft=null}))},next:function(){e.direction=!0,e.index=V(e.index+1),e.updateItemHTML()},prev:function(){e.direction=!1,e.index=V(e.index-1),e.updateItemHTML()},goTo:function(t){e.direction=t>=e.index,e.index=t,e.updateItemHTML()},preloadNearbyImages:function(){var t,i=e.st.gallery.preload,n=Math.min(i[0],e.items.length),o=Math.min(i[1],e.items.length);for(t=1;t<=(e.direction?o:n);t++)e._preloadItem(e.index+t);for(t=1;t<=(e.direction?n:o);t++)e._preloadItem(e.index-t)},_preloadItem:function(i){if(i=V(i),!e.items[i].preloaded){var n=e.items[i];n.parsed||(n=e.parseEl(i)),k("LazyLoad",n),"image"===n.type&&(n.img=t('
').on("load.mfploader",function(){n.hasSize=!0}).on("error.mfploader",function(){n.hasSize=!0,n.loadError=!0,k("LazyLoadError",n)}).attr("src",n.src)),n.preloaded=!0}}}});var q="retina";t.magnificPopup.registerModule(q,{options:{replaceSrc:function(t){return t.src.replace(/\.\w+$/,function(t){return"@2x"+t})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var t=e.st.retina,i=t.ratio;i=isNaN(i)?i():i,i>1&&(C("ImageHasSize."+q,function(t,e){e.img.css({"max-width":e.img[0].naturalWidth/i,width:"100%"})}),C("ElementParse."+q,function(e,n){n.src=t.replaceSrc(n,i)}))}}}}),P()})},function(t,e){
!function(){"use strict";function t(n){if(!n)throw new Error("No options passed to Waypoint constructor");if(!n.element)throw new Error("No element option passed to Waypoint constructor");if(!n.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+e,this.options=t.Adapter.extend({},t.defaults,n),this.element=this.options.element,this.adapter=new t.Adapter(this.element),this.callback=n.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=t.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=t.Context.findOrCreateByElement(this.options.context),t.offsetAliases[this.options.offset]&&(this.options.offset=t.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),i[this.key]=this,e+=1}var e=0,i={};t.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},t.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},t.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete i[this.key]},t.prototype.disable=function(){return this.enabled=!1,this},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},t.prototype.next=function(){return this.group.next(this)},t.prototype.previous=function(){return this.group.previous(this)},t.invokeAll=function(t){var e=[];for(var n in i)e.push(i[n]);for(var o=0,r=e.length;o
n.oldScroll,r=o?n.forward:n.backward;for(var s in this.waypoints[i]){var a=this.waypoints[i][s];if(null!==a.triggerPoint){var l=n.oldScroll=a.triggerPoint,u=l&&c,d=!l&&!c;(u||d)&&(a.queueTrigger(r),t[a.group.id]=a.group)}}}for(var h in t)t[h].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},e.prototype.innerHeight=function(){return this.element==this.element.window?o.viewportHeight():this.adapter.innerHeight()},e.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},e.prototype.innerWidth=function(){return this.element==this.element.window?o.viewportWidth():this.adapter.innerWidth()},e.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var i in this.waypoints[e])t.push(this.waypoints[e][i]);for(var n=0,o=t.length;n-1&&(p=Math.ceil(s.contextDimension*p/100))),l=s.contextScroll-s.contextOffset,f.triggerPoint=Math.floor(g+l-p),c=m=s.oldScroll,d=c&&u,h=!c&&!u,!v&&d?(f.queueTrigger(s.backward),n[f.group.id]=f.group):!v&&h?(f.queueTrigger(s.forward),n[f.group.id]=f.group):v&&s.oldScroll>=f.triggerPoint&&(f.queueTrigger(s.forward),n[f.group.id]=f.group)}}return o.requestAnimationFrame(function(){for(var t in n)n[t].flushTriggers()}),this},e.findOrCreateByElement=function(t){return e.findByElement(t)||new e(t)},e.refreshAll=function(){for(var t in n)n[t].refresh()},e.findByElement=function(t){return n[t.waypointContextKey]},window.onload=function(){r&&r(),e.refreshAll()},o.requestAnimationFrame=function(e){var i=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t;i.call(window,e)},o.Context=e}(),function(){"use strict";function t(t,e){return t.triggerPoint-e.triggerPoint}function e(t,e){return e.triggerPoint-t.triggerPoint}function i(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),n[this.axis][this.name]=this}var n={vertical:{},horizontal:{}},o=window.Waypoint;i.prototype.add=function(t){this.waypoints.push(t)},i.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},i.prototype.flushTriggers=function(){for(var i in this.triggerQueues){var n=this.triggerQueues[i],o="up"===i||"left"===i;n.sort(o?e:t);for(var r=0,s=n.length;r-1&&this.waypoints.splice(e,1)},i.prototype.first=function(){return this.waypoints[0]},i.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},i.findOrCreate=function(t){return n[t.axis][t.name]||new i(t)},o.Group=i}(),function(){"use strict";function t(t){this.$element=e(t)}var e=window.jQuery,i=window.Waypoint;e.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(e,i){t.prototype[i]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[i].apply(this.$element,t)}}),e.each(["extend","inArray","isEmptyObject"],function(i,n){t[n]=e[n]}),i.adapters.push({name:"jquery",Adapter:t}),i.Adapter=t}(),function(){"use strict";function t(t){return function(){var i=[],n=arguments[0];return t.isFunction(arguments[0])&&(n=t.extend({},arguments[1]),n.handler=arguments[0]),this.each(function(){var o=t.extend({},n,{element:this});"string"==typeof o.context&&(o.context=t(this).closest(o.context)[0]),i.push(new e(o))}),i}}var e=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=t(window.Zepto))}()},function(t,e){
"use strict";function i(t,e){return"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='"+t+"' height='"+e+"'%3E%3C/svg%3E"}function n(t){if(t.srcset&&!v&&window.picturefill){var e=window.picturefill._;t[e.ns]&&t[e.ns].evaled||e.fillImg(t,{reselect:!0}),t[e.ns].curSrc||(t[e.ns].supported=!1,e.fillImg(t,{reselect:!0})),t.currentSrc=t[e.ns].curSrc||t.src}}function o(t){for(var e,i=getComputedStyle(t).fontFamily,n={};null!==(e=h.exec(i));)n[e[1]]=e[2];return n}function r(t,e,n){var o=i(e||1,n||0);y.call(t,"src")!==o&&b.call(t,"src",o)}function s(t,e){t.naturalWidth?e(t):setTimeout(s,100,t,e)}function a(t){var e=o(t),i=t[d];if(e["object-fit"]=e["object-fit"]||"fill",!i.img){if("fill"===e["object-fit"])return;if(!i.skipTest&&p&&!e["object-position"])return}if(!i.img){i.img=new Image(t.width,t.height),i.img.srcset=y.call(t,"data-ofi-srcset")||t.srcset,i.img.src=y.call(t,"data-ofi-src")||t.src,b.call(t,"data-ofi-src",t.src),t.srcset&&b.call(t,"data-ofi-srcset",t.srcset),r(t,t.naturalWidth||t.width,t.naturalHeight||t.height),t.srcset&&(t.srcset="");try{l(t)}catch(t){window.console&&console.warn("https://bit.ly/ofi-old-browser")}}n(i.img),t.style.backgroundImage='url("'+(i.img.currentSrc||i.img.src).replace(/"/g,'\\"')+'")',t.style.backgroundPosition=e["object-position"]||"center",t.style.backgroundRepeat="no-repeat",t.style.backgroundOrigin="content-box",/scale-down/.test(e["object-fit"])?s(i.img,function(){i.img.naturalWidth>t.width||i.img.naturalHeight>t.height?t.style.backgroundSize="contain":t.style.backgroundSize="auto"}):t.style.backgroundSize=e["object-fit"].replace("none","auto").replace("fill","100% 100%"),s(i.img,function(e){r(t,e.naturalWidth,e.naturalHeight)})}function l(t){var e={get:function(e){return t[d].img[e?e:"src"]},set:function(e,i){return t[d].img[i?i:"src"]=e,b.call(t,"data-ofi-"+i,e),a(t),e}};Object.defineProperty(t,"src",e),Object.defineProperty(t,"currentSrc",{get:function(){return e.get("currentSrc")}}),Object.defineProperty(t,"srcset",{get:function(){return e.get("srcset")},set:function(t){return e.set(t,"srcset")}})}function c(){function t(t,e){return t[d]&&t[d].img&&("src"===e||"srcset"===e)?t[d].img:t}m||(HTMLImageElement.prototype.getAttribute=function(e){return y.call(t(this,e),e)},HTMLImageElement.prototype.setAttribute=function(e,i){return b.call(t(this,e),e,String(i))})}function u(t,e){var i=!w&&!t;if(e=e||{},t=t||"img",m&&!e.skipTest||!g)return!1;"img"===t?t=document.getElementsByTagName("img"):"string"==typeof t?t=document.querySelectorAll(t):"length"in t||(t=[t]);for(var n=0;n'),e.$elProxy.text(e.options.icon)):e.options.iconCloning?e.$elProxy=e.options.icon.clone(!0):e.$elProxy=e.options.icon,e.$elProxy.insertAfter(e.$el)):e.$elProxy=e.$el,"hover"==e.options.trigger?(e.$elProxy.on("mouseenter."+e.namespace,function(){r()&&!e.options.touchDevices||(e.mouseIsOverProxy=!0,e._show())}).on("mouseleave."+e.namespace,function(){r()&&!e.options.touchDevices||(e.mouseIsOverProxy=!1)}),c&&e.options.touchDevices&&e.$elProxy.on("touchstart."+e.namespace,function(){e._showNow()})):"click"==e.options.trigger&&e.$elProxy.on("click."+e.namespace,function(){r()&&!e.options.touchDevices||e._show()})}},_show:function(){var t=this;"shown"!=t.Status&&"appearing"!=t.Status&&(t.options.delay?t.timerShow=setTimeout(function(){("click"==t.options.trigger||"hover"==t.options.trigger&&t.mouseIsOverProxy)&&t._showNow()},t.options.delay):t._showNow())},_showNow:function(i){var n=this;n.options.functionBefore.call(n.$el,n.$el,function(){if(n.enabled&&null!==n.Content){i&&n.callbacks.show.push(i),n.callbacks.hide=[],clearTimeout(n.timerShow),n.timerShow=null,clearTimeout(n.timerHide),n.timerHide=null,n.options.onlyOne&&t(".tooltipstered").not(n.$el).each(function(e,i){var n=t(i),o=n.data("tooltipster-ns");t.each(o,function(t,e){var i=n.data(e),o=i.status(),r=i.option("autoClose");"hidden"!==o&&"disappearing"!==o&&r&&i.hide()})});var o=function(){n.Status="shown",t.each(n.callbacks.show,function(t,e){e.call(n.$el)}),n.callbacks.show=[]};if("hidden"!==n.Status){var r=0;"disappearing"===n.Status?(n.Status="appearing",s()?(n.$tooltip.clearQueue().removeClass("tooltipster-dying").addClass("tooltipster-"+n.options.animation+"-show"),n.options.speed>0&&n.$tooltip.delay(n.options.speed),n.$tooltip.queue(o)):n.$tooltip.stop().fadeIn(o)):"shown"===n.Status&&o()}else{n.Status="appearing";var r=n.options.speed;n.bodyOverflowX=t("body").css("overflow-x"),t("body").css("overflow-x","hidden");var a="tooltipster-"+n.options.animation,l="-webkit-transition-duration: "+n.options.speed+"ms; -webkit-animation-duration: "+n.options.speed+"ms; -moz-transition-duration: "+n.options.speed+"ms; -moz-animation-duration: "+n.options.speed+"ms; -o-transition-duration: "+n.options.speed+"ms; -o-animation-duration: "+n.options.speed+"ms; -ms-transition-duration: "+n.options.speed+"ms; -ms-animation-duration: "+n.options.speed+"ms; transition-duration: "+n.options.speed+"ms; animation-duration: "+n.options.speed+"ms;",u=n.options.minWidth?"min-width:"+Math.round(n.options.minWidth)+"px;":"",d=n.options.maxWidth?"max-width:"+Math.round(n.options.maxWidth)+"px;":"",h=n.options.interactive?"pointer-events: auto;":"";if(n.$tooltip=t(''),s()&&n.$tooltip.addClass(a),n._content_insert(),n.$tooltip.appendTo("body"),n.reposition(),n.options.functionReady.call(n.$el,n.$el,n.$tooltip),s()?(n.$tooltip.addClass(a+"-show"),n.options.speed>0&&n.$tooltip.delay(n.options.speed),n.$tooltip.queue(o)):n.$tooltip.css("display","none").fadeIn(n.options.speed,o),n._interval_set(),t(e).on("scroll."+n.namespace+" resize."+n.namespace,function(){n.reposition()}),n.options.autoClose)if(t("body").off("."+n.namespace),"hover"==n.options.trigger){if(c&&setTimeout(function(){t("body").on("touchstart."+n.namespace,function(){n.hide()})},0),n.options.interactive){c&&n.$tooltip.on("touchstart."+n.namespace,function(t){t.stopPropagation()});var f=null;n.$elProxy.add(n.$tooltip).on("mouseleave."+n.namespace+"-autoClose",function(){clearTimeout(f),f=setTimeout(function(){n.hide()},n.options.interactiveTolerance)}).on("mouseenter."+n.namespace+"-autoClose",function(){clearTimeout(f)})}else n.$elProxy.on("mouseleave."+n.namespace+"-autoClose",function(){n.hide()});n.options.hideOnClick&&n.$elProxy.on("click."+n.namespace+"-autoClose",function(){n.hide()})}else"click"==n.options.trigger&&(setTimeout(function(){t("body").on("click."+n.namespace+" touchstart."+n.namespace,function(){n.hide()})},0),n.options.interactive&&n.$tooltip.on("click."+n.namespace+" touchstart."+n.namespace,function(t){t.stopPropagation()}))}n.options.timer>0&&(n.timerHide=setTimeout(function(){n.timerHide=null,n.hide()},n.options.timer+r))}})},_interval_set:function(){var e=this;e.checkInterval=setInterval(function(){if(0===t("body").find(e.$el).length||0===t("body").find(e.$elProxy).length||"hidden"==e.Status||0===t("body").find(e.$tooltip).length)"shown"!=e.Status&&"appearing"!=e.Status||e.hide(),e._interval_cancel();else if(e.options.positionTracker){var i=e._repositionInfo(e.$elProxy),n=!1;o(i.dimension,e.elProxyPosition.dimension)&&("fixed"===e.$elProxy.css("position")?o(i.position,e.elProxyPosition.position)&&(n=!0):o(i.offset,e.elProxyPosition.offset)&&(n=!0)),n||(e.reposition(),e.options.positionTrackerCallback.call(e,e.$el))}},200)},_interval_cancel:function(){clearInterval(this.checkInterval),this.checkInterval=null},_content_set:function(t){"object"==typeof t&&null!==t&&this.options.contentCloning&&(t=t.clone(!0)),this.Content=t},_content_insert:function(){var t=this,e=this.$tooltip.find(".tooltipster-content");"string"!=typeof t.Content||t.options.contentAsHTML?e.empty().append(t.Content):e.text(t.Content)},_update:function(t){var e=this;e._content_set(t),null!==e.Content?"hidden"!==e.Status&&(e._content_insert(),e.reposition(),e.options.updateAnimation&&(s()?(e.$tooltip.css({width:"","-webkit-transition":"all "+e.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms","-moz-transition":"all "+e.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms","-o-transition":"all "+e.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms","-ms-transition":"all "+e.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms",transition:"all "+e.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms"}).addClass("tooltipster-content-changing"),setTimeout(function(){"hidden"!=e.Status&&(e.$tooltip.removeClass("tooltipster-content-changing"),setTimeout(function(){"hidden"!==e.Status&&e.$tooltip.css({"-webkit-transition":e.options.speed+"ms","-moz-transition":e.options.speed+"ms","-o-transition":e.options.speed+"ms","-ms-transition":e.options.speed+"ms",transition:e.options.speed+"ms"})},e.options.speed))},e.options.speed)):e.$tooltip.fadeTo(e.options.speed,.5,function(){"hidden"!=e.Status&&e.$tooltip.fadeTo(e.options.speed,1)}))):e.hide()},_repositionInfo:function(t){return{dimension:{height:t.outerHeight(!1),width:t.outerWidth(!1)},offset:t.offset(),position:{left:parseInt(t.css("left")),top:parseInt(t.css("top"))}}},hide:function(i){var n=this;i&&n.callbacks.hide.push(i),n.callbacks.show=[],clearTimeout(n.timerShow),n.timerShow=null,clearTimeout(n.timerHide),n.timerHide=null;var o=function(){t.each(n.callbacks.hide,function(t,e){e.call(n.$el)}),n.callbacks.hide=[]};if("shown"==n.Status||"appearing"==n.Status){n.Status="disappearing";var r=function(){n.Status="hidden","object"==typeof n.Content&&null!==n.Content&&n.Content.detach(),n.$tooltip.remove(),n.$tooltip=null,t(e).off("."+n.namespace),t("body").off("."+n.namespace).css("overflow-x",n.bodyOverflowX),t("body").off("."+n.namespace),n.$elProxy.off("."+n.namespace+"-autoClose"),n.options.functionAfter.call(n.$el,n.$el),o()};s()?(n.$tooltip.clearQueue().removeClass("tooltipster-"+n.options.animation+"-show").addClass("tooltipster-dying"),n.options.speed>0&&n.$tooltip.delay(n.options.speed),n.$tooltip.queue(r)):n.$tooltip.stop().fadeOut(n.options.speed,r)}else"hidden"==n.Status&&o();return n},show:function(t){return this._showNow(t),this},update:function(t){return this.content(t)},content:function(t){return"undefined"==typeof t?this.Content:(this._update(t),this)},reposition:function(){function i(){var i=t(e).scrollLeft();T-i<0&&(r=T-i,T=i),T+l-i>s&&(r=T-(s+i-l),T=s+i-l)}function n(i,n){a.offset.top-t(e).scrollTop()-c-I-12<0&&n.indexOf("top")>-1&&(L=i),a.offset.top+a.dimension.height+c+12+I>t(e).scrollTop()+t(e).height()&&n.indexOf("bottom")>-1&&(L=i,A=a.offset.top-c-I-12)}var o=this;if(0!==t("body").find(o.$tooltip).length){o.$tooltip.css("width",""),o.elProxyPosition=o._repositionInfo(o.$elProxy);var r=null,s=t(e).width(),a=o.elProxyPosition,l=o.$tooltip.outerWidth(!1),c=(o.$tooltip.innerWidth()+1,o.$tooltip.outerHeight(!1));if(o.$elProxy.is("area")){var u=o.$elProxy.attr("shape"),d=o.$elProxy.parent().attr("name"),h=t('img[usemap="#'+d+'"]'),f=h.offset().left,p=h.offset().top,m=void 0!==o.$elProxy.attr("coords")?o.$elProxy.attr("coords").split(","):void 0;if("circle"==u){var g=parseInt(m[0]),v=parseInt(m[1]),y=parseInt(m[2]);a.dimension.height=2*y,a.dimension.width=2*y,a.offset.top=p+v-y,a.offset.left=f+g-y}else if("rect"==u){var g=parseInt(m[0]),v=parseInt(m[1]),b=parseInt(m[2]),w=parseInt(m[3]);a.dimension.height=w-v,a.dimension.width=b-g,a.offset.top=p+v,a.offset.left=f+g}else if("poly"==u){for(var x=0,C=0,S=0,k=0,E="even",P=0;PS&&(S=j,0===P&&(x=S)),jk&&(k=j,1==P&&(C=k)),js){var Q=2*parseFloat(o.$tooltip.css("border-width")),F=l+T-Q;o.$tooltip.css("width",F+"px"),c=o.$tooltip.outerHeight(!1),T=a.offset.left-D-F-12-Q,O=a.offset.top+c-(a.offset.top+a.dimension.height),A=a.offset.top-O/2-I}else T<0&&(T=a.offset.left+D+a.dimension.width+12,r="left")}if("right"==L){T=a.offset.left+D+a.dimension.width+12,_=a.offset.left-D-l-12;var O=a.offset.top+c-(a.offset.top+a.dimension.height);if(A=a.offset.top-O/2-I,T+l>s&&_<0){var Q=2*parseFloat(o.$tooltip.css("border-width")),F=s-T-Q;o.$tooltip.css("width",F+"px"),c=o.$tooltip.outerHeight(!1),O=a.offset.top+c-(a.offset.top+a.dimension.height),A=a.offset.top-O/2-I}else T+l>s&&(T=a.offset.left-D-l-12,r="right")}if(o.options.arrow){var z="tooltipster-arrow-"+L;if(o.options.arrowColor.length<1)var N=o.$tooltip.css("background-color");else var N=o.options.arrowColor;if(r?"left"==r?(z="tooltipster-arrow-right",r=""):"right"==r?(z="tooltipster-arrow-left",r=""):r="left:"+Math.round(r)+"px;":r="","top"==L||"top-left"==L||"top-right"==L)var $=parseFloat(o.$tooltip.css("border-bottom-width")),W=o.$tooltip.css("border-bottom-color");else if("bottom"==L||"bottom-left"==L||"bottom-right"==L)var $=parseFloat(o.$tooltip.css("border-top-width")),W=o.$tooltip.css("border-top-color");else if("left"==L)var $=parseFloat(o.$tooltip.css("border-right-width")),W=o.$tooltip.css("border-right-color");else if("right"==L)var $=parseFloat(o.$tooltip.css("border-left-width")),W=o.$tooltip.css("border-left-color");else var $=parseFloat(o.$tooltip.css("border-bottom-width")),W=o.$tooltip.css("border-bottom-color");$>1&&$++;var H="";if(0!==$){var B="",V="border-color: "+W+";";z.indexOf("bottom")!==-1?B="margin-top: -"+Math.round($)+"px;":z.indexOf("top")!==-1?B="margin-bottom: -"+Math.round($)+"px;":z.indexOf("left")!==-1?B="margin-right: -"+Math.round($)+"px;":z.indexOf("right")!==-1&&(B="margin-left: -"+Math.round($)+"px;"),H=''}o.$tooltip.find(".tooltipster-arrow").remove();var R=''+H+'
';o.$tooltip.append(R)}o.$tooltip.css({top:Math.round(A)+"px",left:Math.round(T)+"px"})}return o},enable:function(){return this.enabled=!0,this},disable:function(){return this.hide(),this.enabled=!1,this},destroy:function(){var e=this;e.hide(),e.$el[0]!==e.$elProxy[0]&&e.$elProxy.remove(),e.$el.removeData(e.namespace).off("."+e.namespace);var i=e.$el.data("tooltipster-ns");if(1===i.length){var n=null;"previous"===e.options.restoration?n=e.$el.data("tooltipster-initialTitle"):"current"===e.options.restoration&&(n="string"==typeof e.Content?e.Content:t("").append(e.Content).html()),n&&e.$el.attr("title",n),e.$el.removeClass("tooltipstered").removeData("tooltipster-ns").removeData("tooltipster-initialTitle")}else i=t.grep(i,function(t,i){return t!==e.namespace}),e.$el.data("tooltipster-ns",i);return e},elementIcon:function(){return this.$el[0]!==this.$elProxy[0]?this.$elProxy[0]:void 0},elementTooltip:function(){return this.$tooltip?this.$tooltip[0]:void 0},option:function(t,e){return"undefined"==typeof e?this.options[t]:(this.options[t]=e,this)},status:function(){return this.Status}},t.fn[a]=function(){var e=arguments;if(0===this.length){if("string"==typeof e[0]){var i=!0;switch(e[0]){case"setDefaults":t.extend(l,e[1]);break;default:i=!1}return!!i||this}return this}if("string"==typeof e[0]){var o="#*$~&";return this.each(function(){var i=t(this).data("tooltipster-ns"),n=i?t(this).data(i[0]):null;if(!n)throw new Error("You called Tooltipster's \""+e[0]+'" method on an uninitialized element');if("function"!=typeof n[e[0]])throw new Error('Unknown method .tooltipster("'+e[0]+'")');var r=n[e[0]](e[1],e[2]);if(r!==n)return o=r,!1}),"#*$~&"!==o?o:this}var r=[],s=e[0]&&"undefined"!=typeof e[0].multiple,a=s&&e[0].multiple||!s&&l.multiple,c=e[0]&&"undefined"!=typeof e[0].debug,u=c&&e[0].debug||!c&&l.debug;return this.each(function(){var i=!1,o=t(this).data("tooltipster-ns"),s=null;o?a?i=!0:u&&console.log('Tooltipster: one or more tooltips are already attached to this element: ignoring. Use the "multiple" option to attach more tooltips.'):i=!0,i&&(s=new n(this,e[0]),o||(o=[]),o.push(s.namespace),t(this).data("tooltipster-ns",o),t(this).data(s.namespace,s)),r.push(s)}),a?r:this};var c=!!("ontouchstart"in e),u=!1;t("body").one("mousemove",function(){u=!0})}(jQuery,window,document)},function(t,e,i){(function(t){"use strict";function e(t){return t&&t.__esModule?t:{default:t}}var n=i(24),o=e(n);t.Flatsome={behaviors:{},plugin:function(t,e,i){i=i||{},jQuery.fn[t]=function(n){if("string"==typeof arguments[0]){var r=null,s=arguments[0],a=Array.prototype.slice.call(arguments,1);return this.each(function(){if(!jQuery.data(this,"plugin_"+t)||"function"!=typeof jQuery.data(this,"plugin_"+t)[s])throw new Error("Method "+s+" does not exist on jQuery."+t);r=jQuery.data(this,"plugin_"+t)[s].apply(this,a)}),"destroy"===s&&this.each(function(){jQuery(this).removeData("plugin_"+t)}),void 0!==r?r:this}if("object"===("undefined"==typeof n?"undefined":(0,o.default)(n))||!n)return this.each(function(){jQuery.data(this,"plugin_"+t)||(n=jQuery.extend({},i,n),jQuery.data(this,"plugin_"+t,new e(this,n)))})}},behavior:function(t,e){this.behaviors[t]=e,e.arrive&&jQuery(document).arrive(e.arrive.selector,e.arrive.handler||function(){Flatsome.attach(t,this.parentNode)})},attach:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;if("string"==typeof t)return this.behaviors.hasOwnProperty(t)&&"function"==typeof this.behaviors[t].attach?this.behaviors[t].attach(e||document):null;for(var i in this.behaviors)"function"==typeof this.behaviors[i].attach&&this.behaviors[i].attach(e||document)},detach:function(t){for(var e in this.behaviors)"function"==typeof this.behaviors[e].detach&&this.behaviors[e].detach(t||document)}}}).call(e,function(){return this}())},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=i(25),r=n(o),s=i(76),a=n(s),l="function"==typeof a.default&&"symbol"==typeof r.default?function(t){return typeof t}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":typeof t};e.default="function"==typeof a.default&&"symbol"===l(r.default)?function(t){return"undefined"==typeof t?"undefined":l(t)}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":"undefined"==typeof t?"undefined":l(t)}},function(t,e,i){t.exports={default:i(26),__esModule:!0}},function(t,e,i){i(27),i(71),t.exports=i(75).f("iterator")},function(t,e,i){"use strict";var n=i(28)(!0);i(31)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,i=this._i;return i>=e.length?{value:void 0,done:!0}:(t=n(e,i),this._i+=t.length,{value:t,done:!1})})},function(t,e,i){var n=i(29),o=i(30);t.exports=function(t){return function(e,i){var r,s,a=String(o(e)),l=n(i),c=a.length;return l<0||l>=c?t?"":void 0:(r=a.charCodeAt(l),r<55296||r>56319||l+1===c||(s=a.charCodeAt(l+1))<56320||s>57343?t?a.charAt(l):r:t?a.slice(l,l+2):(r-55296<<10)+(s-56320)+65536)}}},function(t,e){var i=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:i)(t)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,i){"use strict";var n=i(32),o=i(33),r=i(48),s=i(38),a=i(49),l=i(50),c=i(51),u=i(67),d=i(69),h=i(68)("iterator"),f=!([].keys&&"next"in[].keys()),p="@@iterator",m="keys",g="values",v=function(){return this};t.exports=function(t,e,i,y,b,w,x){c(i,e,y);var C,S,k,E=function(t){if(!f&&t in _)return _[t];switch(t){case m:return function(){return new i(this,t)};case g:return function(){return new i(this,t)}}return function(){return new i(this,t)}},P=e+" Iterator",j=b==g,T=!1,_=t.prototype,A=_[h]||_[p]||b&&_[b],I=A||E(b),D=b?j?E("entries"):I:void 0,L="Array"==e?_.entries||A:A;if(L&&(k=d(L.call(new t)),k!==Object.prototype&&k.next&&(u(k,P,!0),n||a(k,h)||s(k,h,v))),j&&A&&A.name!==g&&(T=!0,I=function(){return A.call(this)}),n&&!x||!f&&!T&&_[h]||s(_,h,I),l[e]=I,l[P]=v,b)if(C={values:j?I:E(g),keys:w?I:E(m),entries:D},x)for(S in C)S in _||r(_,S,C[S]);else o(o.P+o.F*(f||T),e,C);return C}},function(t,e){t.exports=!0},function(t,e,i){var n=i(34),o=i(35),r=i(36),s=i(38),a="prototype",l=function(t,e,i){var c,u,d,h=t&l.F,f=t&l.G,p=t&l.S,m=t&l.P,g=t&l.B,v=t&l.W,y=f?o:o[e]||(o[e]={}),b=y[a],w=f?n:p?n[e]:(n[e]||{})[a];f&&(i=e);for(c in i)u=!h&&w&&void 0!==w[c],u&&c in y||(d=u?w[c]:i[c],y[c]=f&&"function"!=typeof w[c]?i[c]:g&&u?r(d,n):v&&w[c]==d?function(t){var e=function(e,i,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,i)}return new t(e,i,n)}return t.apply(this,arguments)};return e[a]=t[a],e}(d):m&&"function"==typeof d?r(Function.call,d):d,m&&((y.virtual||(y.virtual={}))[c]=d,t&l.R&&b&&!b[c]&&s(b,c,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},function(t,e){var i=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)},function(t,e){var i=t.exports={version:"2.5.1"};"number"==typeof __e&&(__e=i)},function(t,e,i){var n=i(37);t.exports=function(t,e,i){if(n(t),void 0===e)return t;switch(i){case 1:return function(i){return t.call(e,i)};case 2:return function(i,n){return t.call(e,i,n)};case 3:return function(i,n,o){return t.call(e,i,n,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,i){var n=i(39),o=i(47);t.exports=i(43)?function(t,e,i){return n.f(t,e,o(1,i))}:function(t,e,i){return t[e]=i,t}},function(t,e,i){var n=i(40),o=i(42),r=i(46),s=Object.defineProperty;e.f=i(43)?Object.defineProperty:function(t,e,i){if(n(t),e=r(e,!0),n(i),o)try{return s(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[e]=i.value),t}},function(t,e,i){var n=i(41);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,i){t.exports=!i(43)&&!i(44)(function(){return 7!=Object.defineProperty(i(45)("div"),"a",{get:function(){return 7}}).a})},function(t,e,i){t.exports=!i(44)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,i){var n=i(41),o=i(34).document,r=n(o)&&n(o.createElement);t.exports=function(t){return r?o.createElement(t):{}}},function(t,e,i){var n=i(41);t.exports=function(t,e){if(!n(t))return t;var i,o;if(e&&"function"==typeof(i=t.toString)&&!n(o=i.call(t)))return o;if("function"==typeof(i=t.valueOf)&&!n(o=i.call(t)))return o;if(!e&&"function"==typeof(i=t.toString)&&!n(o=i.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,i){t.exports=i(38)},function(t,e){var i={}.hasOwnProperty;t.exports=function(t,e){return i.call(t,e)}},function(t,e){t.exports={}},function(t,e,i){"use strict";var n=i(52),o=i(47),r=i(67),s={};i(38)(s,i(68)("iterator"),function(){return this}),t.exports=function(t,e,i){t.prototype=n(s,{next:o(1,i)}),r(t,e+" Iterator")}},function(t,e,i){var n=i(40),o=i(53),r=i(65),s=i(62)("IE_PROTO"),a=function(){},l="prototype",c=function(){var t,e=i(45)("iframe"),n=r.length,o="<",s=">";for(e.style.display="none",i(66).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(o+"script"+s+"document.F=Object"+o+"/script"+s),t.close(),c=t.F;n--;)delete c[l][r[n]];return c()};t.exports=Object.create||function(t,e){var i;return null!==t?(a[l]=n(t),i=new a,a[l]=null,i[s]=t):i=c(),void 0===e?i:o(i,e)}},function(t,e,i){var n=i(39),o=i(40),r=i(54);t.exports=i(43)?Object.defineProperties:function(t,e){o(t);for(var i,s=r(e),a=s.length,l=0;a>l;)n.f(t,i=s[l++],e[i]);return t}},function(t,e,i){var n=i(55),o=i(65);t.exports=Object.keys||function(t){return n(t,o)}},function(t,e,i){var n=i(49),o=i(56),r=i(59)(!1),s=i(62)("IE_PROTO");t.exports=function(t,e){var i,a=o(t),l=0,c=[];for(i in a)i!=s&&n(a,i)&&c.push(i);for(;e.length>l;)n(a,i=e[l++])&&(~r(c,i)||c.push(i));return c}},function(t,e,i){var n=i(57),o=i(30);t.exports=function(t){return n(o(t))}},function(t,e,i){var n=i(58);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},function(t,e){var i={}.toString;t.exports=function(t){return i.call(t).slice(8,-1)}},function(t,e,i){var n=i(56),o=i(60),r=i(61);t.exports=function(t){return function(e,i,s){var a,l=n(e),c=o(l.length),u=r(s,c);if(t&&i!=i){for(;c>u;)if(a=l[u++],a!=a)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===i)return t||u||0;return!t&&-1}}},function(t,e,i){var n=i(29),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},function(t,e,i){var n=i(29),o=Math.max,r=Math.min;t.exports=function(t,e){return t=n(t),t<0?o(t+e,0):r(t,e)}},function(t,e,i){var n=i(63)("keys"),o=i(64);t.exports=function(t){return n[t]||(n[t]=o(t))}},function(t,e,i){var n=i(34),o="__core-js_shared__",r=n[o]||(n[o]={});t.exports=function(t){return r[t]||(r[t]={})}},function(t,e){var i=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++i+n).toString(36))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,i){var n=i(34).document;t.exports=n&&n.documentElement},function(t,e,i){var n=i(39).f,o=i(49),r=i(68)("toStringTag");t.exports=function(t,e,i){t&&!o(t=i?t:t.prototype,r)&&n(t,r,{configurable:!0,value:e})}},function(t,e,i){var n=i(63)("wks"),o=i(64),r=i(34).Symbol,s="function"==typeof r,a=t.exports=function(t){return n[t]||(n[t]=s&&r[t]||(s?r:o)("Symbol."+t))};a.store=n},function(t,e,i){var n=i(49),o=i(70),r=i(62)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),n(t,r)?t[r]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},function(t,e,i){var n=i(30);t.exports=function(t){return Object(n(t))}},function(t,e,i){i(72);for(var n=i(34),o=i(38),r=i(50),s=i(68)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,i):"values"==e?o(0,t[i]):o(0,[i,t[i]])},"values"),r.Arguments=r.Array,n("keys"),n("values"),n("entries")},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,i){e.f=i(68)},function(t,e,i){t.exports={default:i(77),__esModule:!0}},function(t,e,i){i(78),i(88),i(89),i(90),t.exports=i(35).Symbol},function(t,e,i){"use strict";var n=i(34),o=i(49),r=i(43),s=i(33),a=i(48),l=i(79).KEY,c=i(44),u=i(63),d=i(67),h=i(64),f=i(68),p=i(75),m=i(80),g=i(81),v=i(84),y=i(40),b=i(56),w=i(46),x=i(47),C=i(52),S=i(85),k=i(87),E=i(39),P=i(54),j=k.f,T=E.f,_=S.f,A=n.Symbol,I=n.JSON,D=I&&I.stringify,L="prototype",M=f("_hidden"),O=f("toPrimitive"),Q={}.propertyIsEnumerable,F=u("symbol-registry"),z=u("symbols"),N=u("op-symbols"),$=Object[L],W="function"==typeof A,H=n.QObject,B=!H||!H[L]||!H[L].findChild,V=r&&c(function(){return 7!=C(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a})?function(t,e,i){var n=j($,e);n&&delete $[e],T(t,e,i),n&&t!==$&&T($,e,n);
}:T,R=function(t){var e=z[t]=C(A[L]);return e._k=t,e},q=W&&"symbol"==typeof A.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof A},U=function(t,e,i){return t===$&&U(N,e,i),y(t),e=w(e,!0),y(i),o(z,e)?(i.enumerable?(o(t,M)&&t[M][e]&&(t[M][e]=!1),i=C(i,{enumerable:x(0,!1)})):(o(t,M)||T(t,M,x(1,{})),t[M][e]=!0),V(t,e,i)):T(t,e,i)},G=function(t,e){y(t);for(var i,n=g(e=b(e)),o=0,r=n.length;r>o;)U(t,i=n[o++],e[i]);return t},X=function(t,e){return void 0===e?C(t):G(C(t),e)},K=function(t){var e=Q.call(this,t=w(t,!0));return!(this===$&&o(z,t)&&!o(N,t))&&(!(e||!o(this,t)||!o(z,t)||o(this,M)&&this[M][t])||e)},Y=function(t,e){if(t=b(t),e=w(e,!0),t!==$||!o(z,e)||o(N,e)){var i=j(t,e);return!i||!o(z,e)||o(t,M)&&t[M][e]||(i.enumerable=!0),i}},Z=function(t){for(var e,i=_(b(t)),n=[],r=0;i.length>r;)o(z,e=i[r++])||e==M||e==l||n.push(e);return n},J=function(t){for(var e,i=t===$,n=_(i?N:b(t)),r=[],s=0;n.length>s;)!o(z,e=n[s++])||i&&!o($,e)||r.push(z[e]);return r};W||(A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),e=function(i){this===$&&e.call(N,i),o(this,M)&&o(this[M],t)&&(this[M][t]=!1),V(this,t,x(1,i))};return r&&B&&V($,t,{configurable:!0,set:e}),R(t)},a(A[L],"toString",function(){return this._k}),k.f=Y,E.f=U,i(86).f=S.f=Z,i(83).f=K,i(82).f=J,r&&!i(32)&&a($,"propertyIsEnumerable",K,!0),p.f=function(t){return R(f(t))}),s(s.G+s.W+s.F*!W,{Symbol:A});for(var tt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;tt.length>et;)f(tt[et++]);for(var it=P(f.store),nt=0;it.length>nt;)m(it[nt++]);s(s.S+s.F*!W,"Symbol",{for:function(t){return o(F,t+="")?F[t]:F[t]=A(t)},keyFor:function(t){if(!q(t))throw TypeError(t+" is not a symbol!");for(var e in F)if(F[e]===t)return e},useSetter:function(){B=!0},useSimple:function(){B=!1}}),s(s.S+s.F*!W,"Object",{create:X,defineProperty:U,defineProperties:G,getOwnPropertyDescriptor:Y,getOwnPropertyNames:Z,getOwnPropertySymbols:J}),I&&s(s.S+s.F*(!W||c(function(){var t=A();return"[null]"!=D([t])||"{}"!=D({a:t})||"{}"!=D(Object(t))})),"JSON",{stringify:function(t){if(void 0!==t&&!q(t)){for(var e,i,n=[t],o=1;arguments.length>o;)n.push(arguments[o++]);return e=n[1],"function"==typeof e&&(i=e),!i&&v(e)||(e=function(t,e){if(i&&(e=i.call(this,t,e)),!q(e))return e}),n[1]=e,D.apply(I,n)}}}),A[L][O]||i(38)(A[L],O,A[L].valueOf),d(A,"Symbol"),d(Math,"Math",!0),d(n.JSON,"JSON",!0)},function(t,e,i){var n=i(64)("meta"),o=i(41),r=i(49),s=i(39).f,a=0,l=Object.isExtensible||function(){return!0},c=!i(44)(function(){return l(Object.preventExtensions({}))}),u=function(t){s(t,n,{value:{i:"O"+ ++a,w:{}}})},d=function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!r(t,n)){if(!l(t))return"F";if(!e)return"E";u(t)}return t[n].i},h=function(t,e){if(!r(t,n)){if(!l(t))return!0;if(!e)return!1;u(t)}return t[n].w},f=function(t){return c&&p.NEED&&l(t)&&!r(t,n)&&u(t),t},p=t.exports={KEY:n,NEED:!1,fastKey:d,getWeak:h,onFreeze:f}},function(t,e,i){var n=i(34),o=i(35),r=i(32),s=i(75),a=i(39).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=r?{}:n.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:s.f(t)})}},function(t,e,i){var n=i(54),o=i(82),r=i(83);t.exports=function(t){var e=n(t),i=o.f;if(i)for(var s,a=i(t),l=r.f,c=0;a.length>c;)l.call(t,s=a[c++])&&e.push(s);return e}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,i){var n=i(58);t.exports=Array.isArray||function(t){return"Array"==n(t)}},function(t,e,i){var n=i(56),o=i(86).f,r={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return o(t)}catch(t){return s.slice()}};t.exports.f=function(t){return s&&"[object Window]"==r.call(t)?a(t):o(n(t))}},function(t,e,i){var n=i(55),o=i(65).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},function(t,e,i){var n=i(83),o=i(47),r=i(56),s=i(46),a=i(49),l=i(42),c=Object.getOwnPropertyDescriptor;e.f=i(43)?c:function(t,e){if(t=r(t),e=s(e,!0),l)try{return c(t,e)}catch(t){}if(a(t,e))return o(!n.f.call(t,e),t[e])}},function(t,e){},function(t,e,i){i(80)("asyncIterator")},function(t,e,i){i(80)("observable")},function(t,e){"use strict";var i=jQuery("#wrapper"),n=jQuery("#header"),o=-jQuery(".header-wrapper").height()-100,r=-jQuery(".header-top.hide-for-sticky").height()-1,s=n.hasClass("has-sticky");if(jQuery(".sticky-shrink .header-wrapper").length){var a=jQuery(".header-top.hide-for-sticky").height();a+=jQuery("#wpadminbar").height(),o=-1-a,r=-1-a}s&&(n.find(".header-wrapper").waypoint(function(t){var e=jQuery(this.element),i=n.height();"down"===t&&(e.addClass("stuck"),n.height(i),jQuery(".has-transparent").removeClass("transparent"),jQuery(".toggle-nav-dark").removeClass("nav-dark"))},{offset:o}),i.waypoint(function(t){"up"===t&&(n.height(""),jQuery(".header-wrapper").removeClass("stuck"),jQuery(".has-transparent").addClass("transparent"),jQuery(".toggle-nav-dark").addClass("nav-dark"))},{offset:r}))},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}var o=i(21),r=n(o);(0,r.default)()},function(t,e){"use strict";function i(t){t.classList.add("parallax-active"),/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent)||t.classList&&t.dataset&&(p.push({element:t,type:a(t)}),o(p[p.length-1]))}function n(){for(var t=0;tr||d.top+s.offsetHeight<0))switch(i){case"backgroundImage":x=d.top*o,e.style.backgroundPosition=o?"50% "+x.toFixed(0)+"px":null,e.style.backgroundAttachment=o?"fixed":null;break;case"backgroundElement":x=v*o-a/2,e.style.transform=o?"translate3d(0, "+x.toFixed(2)+"px, 0)":null,e.style.backfaceVisibility=o?"hidden":null;break;case"element":x=b*o,e.style.transform=o?"translate3d(0, "+x.toFixed(2)+"px, 0)":null,e.style.backfaceVisibility=o?"hidden":null,"undefined"!=typeof e.dataset.parallaxFade&&(e.style.opacity=o?h(1-w).toFixed(2):null)}}function a(t){return"undefined"!=typeof t.dataset.parallaxBackground?"backgroundElement":"undefined"!=typeof t.dataset.parallaxElemenet?"element":""!==t.style.backgroundImage?"backgroundImage":"element"}function l(){return document.documentElement.scrollTop||document.body.scrollTop}function c(t){return u(t,t.dataset.parallaxContainer||"[data-parallax-container]")||t}function u(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;t&&!d(t).call(t,e);)t=t.parentElement;return t}function d(t){return t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector}function h(t){return t*(2-t)}function f(t){var e=t/10*-1,i=Math.abs(t)/10;return e/(2-i)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var p=[];window.addEventListener("scroll",function(){return window.requestAnimationFrame(n)}),window.addEventListener("resize",function(){return window.requestAnimationFrame(n)}),window.addEventListener("DOMNodeInserted",function(){return window.requestAnimationFrame(n)}),window.jQuery&&(window.jQuery.fn.flatsomeParallax=function(t){"destroy"!==t&&this.each(function(t,e){return i(e)})})},function(t,e){"use strict";var i=10;Flatsome.plugin("resizeselect",function(t,e){var n=jQuery(t);n.change(function(){var t=jQuery(this),e=t.find("option:selected").val(),n=t.find("option:selected").text(),o=jQuery("").html(n);o.appendTo("body");var r=o.width();o.remove(),t.width(r+i),e&&t.parent().parent().find("input.search-field").focus()}).change()})},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}var o=i(96),r=n(o);jQuery(".section .loading-spin, .banner .loading-spin, .page-loader").fadeOut(),jQuery('.mobile-sidebar a[href^="#"]').click(function(){jQuery.magnificPopup.close()}),jQuery("#top-link").click(function(t){jQuery.scrollTo(0,300),t.preventDefault()}),jQuery(".scroll-for-more").click(function(){jQuery.scrollTo(jQuery(this),{duration:300})}),jQuery(".search-dropdown button").click(function(t){jQuery(this).parent().find("input").focus(),t.preventDefault()}),jQuery(".current-cat").addClass("active"),jQuery("html").removeClass("loading-site"),setTimeout(function(){jQuery(".page-loader").remove()},1e3),jQuery(".resize-select").resizeselect(),jQuery(".block-edit-link").each(function(){var t=jQuery(this).data("link"),e=jQuery(this).data("backend"),i=jQuery(this).data("title");jQuery(this).next().addClass("has-block").tooltipster({animationDuration:100,distance:-15,delay:0,repositionOnScroll:!0,interactive:!0,contentAsHTML:!0,content:""+i+'
UX Builder WP Editor'}),jQuery(this).remove()}),jQuery("#hotspot").click(function(t){t.preventDefault()}),jQuery(".wpcf7-form .wpcf7-submit").on("click",function(){jQuery(this).parent().parent().addClass("processing")}),jQuery(document).ajaxComplete(function(t,e,i){jQuery(".processing").removeClass("processing")}),jQuery(document).ready(function(){(0,r.default)()})},function(t,e){
var i=function(t){"use strict";function e(t){for(var e=getComputedStyle(t).fontFamily,i=null,n={};null!==(i=c.exec(e));)n[i[1]]=i[2];return n["object-position"]?o(n):n}function i(t){var i=-1;t?"length"in t||(t=[t]):t=document.querySelectorAll("video");for(;t[++i];){var o=e(t[i]);(o["object-fit"]||o["object-position"])&&(o["object-fit"]=o["object-fit"]||"fill",n(t[i],o))}}function n(t,e){function i(){var i=t.videoWidth,o=t.videoHeight,s=i/o,a=r.clientWidth,l=r.clientHeight,c=a/l,u=0,d=0;n.marginLeft=n.marginTop=0,(s=1&&(t.removeEventListener("loadedmetadata",i),i())}}function o(t){return~t["object-position"].indexOf("left")?t["object-position-x"]="left":~t["object-position"].indexOf("right")?t["object-position-x"]="right":t["object-position-x"]="center",~t["object-position"].indexOf("top")?t["object-position-y"]="top":~t["object-position"].indexOf("bottom")?t["object-position-y"]="bottom":t["object-position-y"]="center",t}function r(t,e,i){i=i||window;var n=!1,o=null;try{o=new CustomEvent(e)}catch(t){o=document.createEvent("Event"),o.initEvent(e,!0,!0)}var r=function(){n||(n=!0,requestAnimationFrame(function(){i.dispatchEvent(o),n=!1}))};i.addEventListener(t,r)}var s=new Image,a="object-fit"in s.style,l="object-position"in s.style,c=/(object-fit|object-position)\s*:\s*([-\w\s%]+)/g;a&&l||(i(t),r("resize","optimizedResize"))};"undefined"!=typeof t&&"undefined"!=typeof t.exports&&(t.exports=i)},function(t,e){"use strict";Flatsome.behavior("animate",{attach:function(t){jQuery("[data-animate]",t).each(function(t,e){var i=jQuery(e),n=i.data("animate");if(0===n.length)return i.attr("data-animated","true");i.waypoint(function(t){if("down"===t){if("true"==i.data("animated"))return;setTimeout(function(){i.attr("data-animated","true")},300)}},{offset:"101%"})})},detach:function(t){jQuery("[data-animate]",t).each(function(t,e){jQuery(e).attr("data-animated","false")})}})},function(t,e){"use strict";Flatsome.behavior("commons",{attach:function(t){jQuery("select.resizeselect").resizeselect(),jQuery("[data-parallax]",t).flatsomeParallax(),jQuery.fn.packery&&(jQuery("[data-packery-options], .has-packery",t).each(function(){var t=jQuery(this);t.packery(),setTimeout(function(){t.imagesLoaded(function(){t.packery("layout")})},100)}),jQuery(".banner-grid-wrapper").imagesLoaded(function(){jQuery(this.elements).removeClass("processing")}))},detach:function(t){}})},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}var o=i(100),r=n(o);Flatsome.behavior("count-up",{attach:function(t){jQuery("span.count-up",t).each(function(t,e){var i=jQuery(e);i.waypoint({handler:function(t){if(!jQuery(this.element).hasClass("active")){var e=parseInt(i.text()),n=new r.default(i.get(0),0,e,0,4);n.start(),i.addClass("active")}},offset:"100%"})})}})},function(t,e,i){var n,o;!function(r,s){n=s,o="function"==typeof n?n.call(e,i,e,t):n,!(void 0!==o&&(t.exports=o))}(this,function(t,e,i){var n=function(t,e,i,n,o,r){function s(t){var e,i,n,o,r,s,a=t<0;if(t=Math.abs(t).toFixed(c.decimals),t+="",e=t.split("."),i=e[0],n=e.length>1?c.options.decimal+e[1]:"",c.options.useGrouping){for(o="",r=0,s=i.length;rc.endVal,c.frameVal=c.startVal,c.initialized=!0,0):(c.error="[CountUp] startVal ("+e+") or endVal ("+i+") is not a number",1)):(c.error="[CountUp] target is null or undefined",1)))},c.printValue=function(t){var e=c.options.formattingFn(t);"INPUT"===c.d.tagName?this.d.value=e:"text"===c.d.tagName||"tspan"===c.d.tagName?this.d.textContent=e:this.d.innerHTML=e},c.count=function(t){c.startTime||(c.startTime=t),c.timestamp=t;var e=t-c.startTime;c.remaining=c.duration-e,c.options.useEasing?c.countDown?c.frameVal=c.startVal-c.options.easingFn(e,0,c.startVal-c.endVal,c.duration):c.frameVal=c.options.easingFn(e,c.startVal,c.endVal-c.startVal,c.duration):c.countDown?c.frameVal=c.startVal-(c.startVal-c.endVal)*(e/c.duration):c.frameVal=c.startVal+(c.endVal-c.startVal)*(e/c.duration),c.countDown?c.frameVal=c.frameValc.endVal?c.endVal:c.frameVal,c.frameVal=Math.round(c.frameVal*c.dec)/c.dec,c.printValue(c.frameVal),ec.endVal,c.rAF=requestAnimationFrame(c.count))}},c.initialize()&&c.printValue(c.startVal)};return n})},function(t,e){(function(t){"use strict";function e(e){var i=e,n=jQuery(".header-inner").width();if(n<750)return!1;var o=Math.max(document.documentElement.clientWidth,window.innerWidth||0),r=i.offset().left-(o-n)/2;t.flatsomeVars.rtl&&(r=jQuery(window).width()-(i.offset().left+i.outerWidth())-(o-n)/2);var s=i.width(),a=n-(r+s),l=!1;r>a&&rn&&i.addClass("nav-dropdown-full")}Flatsome.behavior("dropdown",{attach:function(t){jQuery(".nav li.has-dropdown",t).each(function(t,i){var n=jQuery(i),o=!1,r=!1;n.on("touchstart click",function(t){"touchstart"===t.type&&(o=!0),"click"===t.type&&o&&(o&&!r&&t.preventDefault(),r=!0)}),n.hoverIntent({sensitivity:3,interval:20,timeout:70,over:function(t){n.addClass("current-dropdown"),e(n.find(".nav-dropdown"))},out:function(){r=!1,o=!1,n.find(".nav-dropdown").attr("style",""),n.removeClass("current-dropdown")}})})}})}).call(e,function(){return this}())},function(t,e){"use strict";Flatsome.behavior("lightbox-gallery",{attach:function(t){jQuery('.lightbox .gallery a[href*=".jpg"], .lightbox .gallery a[href*=".jpeg"], .lightbox a.lightbox-gallery',t).parent().magnificPopup({delegate:"a",type:"image",closeBtnInside:!1,tLoading:'',removalDelay:300,gallery:{enabled:!0,navigateByImgClick:!0,arrowMarkup:'',preload:[0,1]},image:{tError:'The image #%curr% could not be loaded.',verticalFit:!1}})}})},function(t,e){"use strict";Flatsome.behavior("lightbox-image",{attach:function(t){jQuery('.lightbox *[id^="attachment"] a,.lightbox a.image-lightbox,.lightbox .entry-content a[href*=".jpg"],.lightbox .entry-content a[href*=".jpeg"]',t).not('.lightbox a.lightbox-gallery, .lightbox .gallery a[href*=".jpg"],.lightbox .gallery a[href*=".jpeg"]').magnificPopup({type:"image",tLoading:'',closeOnContentClick:!0,closeBtnInside:!1,removalDelay:300,image:{verticalFit:!1}})}})},function(t,e){"use strict";Flatsome.behavior("lightboxes-link",{attach:function(t){jQuery(".lightbox-by-id",t).each(function(){var e=jQuery(this).attr("id");jQuery('a[href="#'+e+'"]',t).on("click",function(t){var e=jQuery(t.currentTarget),i=e.attr("href").substring(1),n=jQuery("#"+i+".lightbox-by-id");if(i&&n.length>0){var o=n[0],r=jQuery.magnificPopup.open?300:0;r&&jQuery.magnificPopup.close(),setTimeout(function(){jQuery.magnificPopup.open({removalDelay:300,closeBtnInside:!1,items:{src:o,type:"inline",tLoading:''}})},r),t.preventDefault()}})})}})},function(t,e){"use strict";Flatsome.behavior("lightbox-video",{attach:function(t){jQuery('a.open-video, a.button[href*="vimeo"], a.button[href*="youtube.com/watch"]',t).magnificPopup({type:"iframe",closeBtnInside:!1,mainClass:"my-mfp-video",tLoading:'',removalDelay:300,preloader:!0,callbacks:{open:function(){jQuery(".slider .is-selected .video").trigger("pause")},close:function(){jQuery(".slider .is-selected .video").trigger("play")}}})}})},function(t,e){"use strict";Flatsome.behavior("lightboxes",{attach:function(t){jQuery("[data-open]",t).on("click",function(t){var e=jQuery(t.currentTarget),i=e.data("open"),n=e.data("color"),o=e.data("bg"),r=e.data("pos"),s=e.data("visible-after"),a=e.data("class"),l=e.attr("data-focus");e.offset();e.addClass("current-lightbox-clicked"),jQuery.magnificPopup.open({items:{src:i,type:"inline",tLoading:''},removalDelay:300,closeBtnInside:!1,focus:l,callbacks:{beforeOpen:function(){this.st.mainClass="off-canvas "+n+" off-canvas-"+r},open:function(){jQuery("html").addClass("has-off-canvas"),jQuery("html").addClass("has-off-canvas-"+r),a&&jQuery(".mfp-content").addClass(a),o&&jQuery(".mfp-bg").addClass(o),jQuery.fn.packery&&jQuery("[data-packery-options], .has-packery").packery("layout")},beforeClose:function(){jQuery("html").removeClass("has-off-canvas")},afterClose:function(){jQuery("html").removeClass("has-off-canvas-"+r),jQuery(".current-lightbox-clicked").removeClass("current-lightbox-clicked"),s&&jQuery(i).removeClass("mfp-hide")}}}),t.preventDefault()})}})},function(t,e){"use strict";Flatsome.behavior("slider",{attach:function(t){var e;e=jQuery(t).data("flickityOptions")?jQuery(t):jQuery("[data-flickity-options]",t),e.each(function(t,e){var i=jQuery(e),n=i.closest(".slider-wrapper"),o=i.data("flickity-options");"undefined"!=typeof UxBuilder&&(o.draggable=!1);var r=i.flickity(o);if(i.imagesLoaded(function(){n.find(".loading-spin").fadeOut()}),i.on("cellSelect.flickity",function(){i.find(".banner:not(.is-selected) .video-bg").trigger("pause"),i.find(".banner.is-selected .video-bg").trigger("play")}),i.on("dragStart.flickity",function(){i.addClass("is-dragging")}),i.on("dragEnd.flickity",function(){i.removeClass("is-dragging")}),o.parallax){var s=r.data("flickity"),a=i.find(".bg, .flickity-slider > .img img");i.addClass("slider-has-parallax"),i.on("scroll.flickity",function(t,e){s.slides.forEach(function(t,e){var i=a[e],n=(t.target+s.x)*-1/o.parallax;i&&(i.style.transform="translateX("+n+"px)")})})}})},detach:function(t){jQuery(t).data("flickityOptions")?jQuery(t).flickity("destroy"):jQuery("[data-flickity-options]",t).flickity("destroy")}})},function(t,e){"use strict";function i(t,e,i){e.each(function(e,i){return jQuery(i).parent().toggleClass("active",e===t)}),i.each(function(e,i){return jQuery(i).toggleClass("active",e===t)}),jQuery("[data-flickity-options]",i[t]).flickity("resize")}Flatsome.behavior("tabs",{attach:function(t){jQuery(".tabbed-content",t).each(function(t,e){var n=jQuery(e),o=n.find("> .nav > li > a"),r=n.find("> .tab-panels > .panel");r.removeAttr("style"),o.each(function(t,e){location.hash.substr(1).length&&"reviews"===location.hash.substr(1)&&(jQuery.scrollTo(".reviews_tab",{duration:300,offset:-150}),i(t,o,r)),location.hash.substr(1).length&&location.hash.substr(1)===e.hash.substr(1)&&i(t,o,r),jQuery(e).on("click",function(e){i(t,o,r),e.preventDefault(),e.stopPropagation()})})})}})},function(t,e){"use strict";Flatsome.behavior("toggle",{attach:function(t){jQuery(".widget ul.children, .nav ul.children, .menu .sub-menu",t).each(function(){jQuery(this).parent().addClass("has-child").attr("aria-expanded","false"),jQuery(this).before('')}),jQuery(".current-cat-parent",t).addClass("active").attr("aria-expanded","true").removeClass("current-cat-parent"),jQuery(".toggle",t).click(function(t){var e=jQuery(this);e.parent().toggleClass("active"),e.parent().attr("aria-expanded","false"===e.parent().attr("aria-expanded")?"true":"false"),t.preventDefault()})}})},function(t,e){"use strict";Flatsome.behavior("back-to-top",{attach:function(t){jQuery("body",t).waypoint({handler:function(e){jQuery(".back-to-top",t).toggleClass("active")},offset:"-100%"})}})},function(t,e){"use strict";Flatsome.behavior("scroll-to",{attach:function(){var t=jQuery("span.scroll-to"),e=jQuery(".scroll-to-bullets"),i=flatsomeVars.sticky_height;e.length&&(e.children().tooltipster("destroy"),e.remove()),jQuery("li.scroll-to-link").remove(),t.length&&(e=jQuery(''),jQuery("body").append(e),t.each(function(t,e){var n=jQuery(e),o=n.data("link"),r=n.data("title"),s=n.data("bullet"),a=n.offset().top-i,l='a[href*="'+(o||"")+'"]';if(s){var c=jQuery('\n \n \n \n ');c.tooltipster({position:"left",delay:50,contentAsHTML:!0,touchDevices:!1}),jQuery(".scroll-to-bullets").append(c)}var u=jQuery('\n \n '+r+"\n \n ");if(jQuery("li.nav-single-page").before(u),setTimeout(function(){jQuery(".scroll-to-link a").attr("data-animated","true")},300),n.waypoint(function(t){jQuery(".scroll-to-bullets a, .scroll-to-link").removeClass("active"),jQuery(".scroll-to-bullets").find(l).addClass("active"),jQuery(".nav-single-page").parent().find(l).parent().addClass("active"),"up"===t&&jQuery(".scroll-to-bullets, .nav-single-page").find(l).removeClass("active").prev().addClass("active")},{offset:i}),jQuery(l).off("click").on("click",function(t){jQuery.scrollTo(a,{duration:500,axis:"y"}),jQuery.magnificPopup.close(),t.preventDefault()}),location.hash){var d=location.hash.replace("#","");jQuery(function(t){return jQuery.scrollTo("a[name="+d+"]",{duration:300,offset:-i}),!1})}}))},detach:function(){jQuery("span.scroll-to").length&&setTimeout(this.attach,0)}})},function(t,e){"use strict";Flatsome.behavior("accordion",{attach:function(t){jQuery(".accordion",t).each(function(){var t=jQuery(this).attr("rel");t>0&&(jQuery(this).find(".accordion-item:nth-child("+t+") .accordion-inner").show(),jQuery(this).find(".accordion-item:nth-child("+t+") .accordion-inner").prev().addClass("active"))})}}),Flatsome.behavior("accordion-title",{attach:function(t){jQuery(".accordion-title",t).each(function(t){jQuery(this).click(function(t){jQuery(this).next().is(":hidden")?(jQuery(this).parent().parent().find(".accordion-title").removeClass("active").next().slideUp(200),jQuery(this).toggleClass("active").next().slideDown(200),jQuery(this).parent().parent().find("[data-flickity-options]").flickity("resize"),/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent)&&jQuery.scrollTo(jQuery(this),300,{offset:-100})):jQuery(this).parent().parent().find(".accordion-title").removeClass("active").next().slideUp(200),t.preventDefault()})})}})},function(t,e){"use strict";Flatsome.behavior("tooltips",{attach:function(t){jQuery(".tooltip, .has-tooltip, .product-summary .star-rating, .tip-top, li.chosen a",t).tooltipster(),jQuery(".tooltip-as-html",t).tooltipster({interactive:!0,contentAsHTML:!0})}})},function(t,e){"use strict";Flatsome.behavior("lazy-load-bg",{attach:function(t){jQuery(".bg",t).each(function(t,e){var i=jQuery(e);i.waypoint(function(t){i.addClass("bg-loaded")},{offset:"110%"})})}})},function(t,e){"use strict";Flatsome.behavior("sticky-section",{attach:function(t){jQuery(".sticky-section",t).each(function(t,e){var i=jQuery(e);i.waypoint(function(t){"down"===t&&(i.addClass("is-sticky-section"),i.after('')),"up"===t&&(i.removeClass("is-sticky-section"),i.next(".sticky-section-helper").remove())},{offset:"0.1px"}),i.waypoint(function(t){"down"===t&&(i.removeClass("is-sticky-section"),i.next(".sticky-section-helper").remove()),"up"===t&&(i.addClass("is-sticky-section"),i.after(''))},{offset:"-100%"})})}})},function(t,e){"use strict";Flatsome.behavior("youtube",{attach:function(t){var e=jQuery(".ux-youtube",t);0!==e.length&&(window.onYouTubePlayerAPIReady=function(){e.each(function(){var t=jQuery(this),e=t.attr("id"),i=t.data("videoid"),n=t.data("loop"),o=t.data("audio");new YT.Player(e,{height:"100%",width:"100%",playerVars:{html5:1,autoplay:1,controls:0,rel:0,modestbranding:1,playsinline:1,showinfo:0,fs:0,loop:n,el:0,playlist:n?i:void 0},videoId:i,events:{onReady:function(t){0===o&&t.target.mute()}}})})},function(t,e,i){var n,o=t.getElementsByTagName(e)[0];t.getElementById(i)||(n=t.createElement(e),n.id=i,n.src="https://www.youtube.com/player_api",o.parentNode.insertBefore(n,o))}(document,"script","youtube-jssdk"))}})}]);;
!function(t){function e(o){if(i[o])return i[o].exports;var r=i[o]={exports:{},id:o,loaded:!1};return t[o].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var i={};return e.m=t,e.c=i,e.p="",e(0)}({0:function(t,e,i){t.exports=i(117)},16:function(t,e){t.exports=window.jQuery},117:function(t,e,i){"use strict";function o(t){if(jQuery(".cart-item .nav-dropdown").length)jQuery(".cart-item").addClass("current-dropdown cart-active"),jQuery(".shop-container").click(function(){jQuery(".cart-item").removeClass("current-dropdown cart-active")}),jQuery(".cart-item").hover(function(){jQuery(".cart-active").removeClass("cart-active")}),setTimeout(function(){jQuery(".cart-active").removeClass("current-dropdown")},t);else{var e=jQuery.magnificPopup.open?0:300;e&&jQuery.magnificPopup.close(),setTimeout(function(){jQuery(".cart-item .off-canvas-toggle").click()},e)}}i(118),i(119),i(120),i(121);var r=!1;/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent)||(r=jQuery(".has-image-zoom .slide").easyZoom({loadingNotice:"",preventClicks:!1})),jQuery("table.my_account_orders").wrap(''),jQuery("a.woocommerce-review-link").click(function(t){jQuery.scrollTo(".reviews_tab",{duration:300,offset:-150})}),jQuery(".single_add_to_cart_button").click(function(t){jQuery(this).hasClass("disabled")||jQuery(this).addClass("loading")});var a=jQuery(".product-thumbnails .first img").attr("data-src")?jQuery(".product-thumbnails .first img").attr("data-src"):jQuery(".product-thumbnails .first img").attr("src"),s=jQuery("form.variations_form");s.on("show_variation",function(t,e){if(e.hasOwnProperty("image")&&e.image.thumb_src){if(jQuery(".product-gallery-slider-old .slide.first img, .product-thumbnails .first img, .product-gallery-slider .slide.first .zoomImg").attr("src",e.image.thumb_src).attr("srcset",""),jQuery(".product-gallery-slider").data("flickity")&&jQuery(".product-gallery-slider").flickity("select",0),r&&r.length){var i=r.filter(".has-image-zoom .slide.first").data("easyZoom");i.swap(jQuery(".has-image-zoom .slide.first img").attr("src"),jQuery(".has-image-zoom .slide.first img").attr("data-large_image"))}}else if(e.hasOwnProperty("image_src")&&e.image_src){if(jQuery(".product-gallery-slider .slide.first img, .product-thumbnails .first img").attr("src",e.image_src).attr("srcset",""),jQuery(".product-gallery-slider").data("flickity")&&jQuery(".product-gallery-slider").flickity("select",0),r&&r.length){var i=r.filter(".has-image-zoom .slide.first").data("easyZoom");i.swap(jQuery(".has-image-zoom .slide.first img").attr("src"),jQuery(".has-image-zoom .slide.first img").attr("src"))}}else jQuery(".product-thumbnails .first img").attr("src",a)}),s.on("click",".reset_variations",function(){jQuery(".product-thumbnails .first img").attr("src",a)}),jQuery(document).ready(function(){jQuery(".has-lightbox .product-gallery-slider").each(function(){jQuery(this).magnificPopup({delegate:"a",type:"image",tLoading:'',closeBtnInside:!1,gallery:{enabled:!0,navigateByImgClick:!0,preload:[0,1],arrowMarkup:''},image:{tError:'The image #%curr% could not be loaded.',verticalFit:!1}})})}),jQuery(".zoom-button").click(function(t){jQuery(".product-gallery-slider").find(".is-selected a").click(),t.preventDefault()}),jQuery("body").on("added_to_cart",function(){o("5000")}),jQuery(document.body).on("updated_cart_totals",function(){Flatsome.attach("lazy-load-images",jQuery(".cart-wrapper"))}),jQuery(document).ajaxComplete(function(){Flatsome.attach(jQuery(".quantity").parent())}),jQuery(document).on("yith_infs_adding_elem",function(t){Flatsome.attach(jQuery(".shop-container"))}),jQuery(document).ready(function(){jQuery("span.added-to-cart").length&&o("5000")}),jQuery(".disable-lightbox a").click(function(t){t.preventDefault()}),jQuery(document).ready(function(){jQuery("body").hasClass("single-product")&&window.location.hash.indexOf("#comment-")>=0&&jQuery("a",".reviews_tab.active").trigger("click")})},118:function(t,e,i){var o,r;
!function(a,s){"use strict";o=[i(16)],r=function(t){s(t)}.apply(e,o),!(void 0!==r&&(t.exports=r))}(this,function(t){"use strict";function e(e,i){this.$target=t(e),this.opts=t.extend({},c,i,this.$target.data()),void 0===this.isOpen&&this._init()}var i,o,r,a,s,n,c={loadingNotice:"Loading image",errorNotice:"The image could not be loaded",errorDuration:2500,linkAttribute:"href",preventClicks:!0,beforeShow:t.noop,beforeHide:t.noop,onShow:t.noop,onHide:t.noop,onMove:t.noop};e.prototype._init=function(){this.$link=this.$target.find("a"),this.$image=this.$target.find("img"),this.$flyout=t(''),this.$notice=t(''),this.$target.on({"mousemove.easyzoom touchmove.easyzoom":t.proxy(this._onMove,this),"mouseleave.easyzoom touchend.easyzoom":t.proxy(this._onLeave,this),"mouseenter.easyzoom touchstart.easyzoom":t.proxy(this._onEnter,this)}),this.opts.preventClicks&&this.$target.on("click.easyzoom",function(t){t.preventDefault()})},e.prototype.show=function(t,e){var s,n,c,l,u=this;if(this.opts.beforeShow.call(this)!==!1){if(!this.isReady)return this._loadImage(this.$link.attr(this.opts.linkAttribute),function(){!u.isMouseOver&&e||u.show(t)});this.$target.append(this.$flyout),s=this.$target.width(),n=this.$target.height(),c=this.$flyout.width(),l=this.$flyout.height(),i=this.$zoom.width()-c,o=this.$zoom.height()-l,i<0&&(i=0),o<0&&(o=0),r=i/s,a=o/n,this.isOpen=!0,this.opts.onShow.call(this),t&&this._move(t)}},e.prototype._onEnter=function(t){var e=t.originalEvent.touches;this.isMouseOver=!0,e&&1!=e.length||(t.preventDefault(),this.show(t,!0))},e.prototype._onMove=function(t){this.isOpen&&(t.preventDefault(),this._move(t))},e.prototype._onLeave=function(){this.isMouseOver=!1,this.isOpen&&this.hide()},e.prototype._onLoad=function(t){t.currentTarget.width&&(this.isReady=!0,this.$notice.detach(),this.$flyout.html(this.$zoom),this.$target.removeClass("is-loading").addClass("is-ready"),t.data.call&&t.data())},e.prototype._onError=function(){var t=this;this.$notice.text(this.opts.errorNotice),this.$target.removeClass("is-loading").addClass("is-error"),this.detachNotice=setTimeout(function(){t.$notice.detach(),t.detachNotice=null},this.opts.errorDuration)},e.prototype._loadImage=function(e,i){var o=new Image;this.$target.addClass("is-loading").append(this.$notice.text(this.opts.loadingNotice)),this.$zoom=t(o).on("error",t.proxy(this._onError,this)).on("load",i,t.proxy(this._onLoad,this)),o.style.position="absolute",o.src=e},e.prototype._move=function(t){if(0===t.type.indexOf("touch")){var e=t.touches||t.originalEvent.touches;s=e[0].pageX,n=e[0].pageY}else s=t.pageX||s,n=t.pageY||n;var c=this.$target.offset(),l=n-c.top,u=s-c.left,d=Math.ceil(l*a),h=Math.ceil(u*r);if(h<0||d<0||h>i||d>o)this.hide();else{var p=d*-1,y=h*-1;this.$zoom.css({top:p,left:y}),this.opts.onMove.call(this,p,y)}},e.prototype.hide=function(){this.isOpen&&this.opts.beforeHide.call(this)!==!1&&(this.$flyout.detach(),this.isOpen=!1,this.opts.onHide.call(this))},e.prototype.swap=function(e,i,o){this.hide(),this.isReady=!1,this.detachNotice&&clearTimeout(this.detachNotice),this.$notice.parent().length&&this.$notice.detach(),this.$target.removeClass("is-loading is-ready is-error"),this.$image.attr({src:e,srcset:t.isArray(o)?o.join():o}),this.$link.attr(this.opts.linkAttribute,i)},e.prototype.teardown=function(){this.hide(),this.$target.off(".easyzoom").removeClass("is-loading is-ready is-error"),this.detachNotice&&clearTimeout(this.detachNotice),delete this.$link,delete this.$zoom,delete this.$image,delete this.$notice,delete this.$flyout,delete this.isOpen,delete this.isReady},t.fn.easyZoom=function(i){return this.each(function(){var o=t.data(this,"easyZoom");o?void 0===o.isOpen&&o._init():t.data(this,"easyZoom",new e(this,i))})}})},119:function(t,e){"use strict";Flatsome.plugin("addQty",function(t,e){var i=jQuery(t);i.on("click",".plus, .minus",function(){var t=jQuery(this),e=t.closest(".quantity").find(".qty"),i=parseFloat(e.val()),o=parseFloat(e.attr("max")),r=parseFloat(e.attr("min")),a=e.attr("step");i&&""!==i&&"NaN"!==i||(i=0),""!==o&&"NaN"!==o||(o=""),""!==r&&"NaN"!==r||(r=0),"any"!==a&&""!==a&&void 0!==a&&"NaN"!==parseFloat(a)||(a=1),t.is(".plus")?o&&(o===i||i>o)?e.val(o):e.val(i+parseFloat(a)):r&&(r===i||i0&&e.val(i-parseFloat(a)),e.trigger("change")})})},120:function(t,e){"use strict";Flatsome.behavior("add-qty",{attach:function(t){jQuery(".quantity",t).addQty()}})},121:function(t,e){"use strict";Flatsome.behavior("quick-view",{attach:function(t){jQuery(".quick-view",t).each(function(t,e){jQuery(e).hasClass("quick-view-added")||(jQuery(e).click(function(t){if(""!=jQuery(this).attr("data-prod")){jQuery(this).parent().parent().addClass("processing");var e=jQuery(this).attr("data-prod"),i={action:"flatsome_quickview",product:e};jQuery.post(flatsomeVars.ajaxurl,i,function(t){jQuery(".processing").removeClass("processing"),jQuery.magnificPopup.open({removalDelay:300,closeBtnInside:!0,autoFocusLast:!1,items:{src:''+t+"
",type:"inline"}}),setTimeout(function(){jQuery(".product-lightbox").imagesLoaded(function(){jQuery(".product-lightbox .slider").flickity({cellAlign:"left",wrapAround:!0,autoPlay:!1,prevNextButtons:!0,adaptiveHeight:!0,imagesLoaded:!0,dragThreshold:15})})},300),jQuery(".product-lightbox form").hasClass("variations_form")&&jQuery(".product-lightbox form.variations_form").wc_variation_form(),jQuery(".product-lightbox form.variations_form").on("show_variation",function(t,e){e.image.src?(jQuery(".product-lightbox .product-gallery-slider .slide.first img").attr("src",e.image.src).attr("srcset",""),jQuery(".product-lightbox .product-gallery-slider .slide.first a").attr("href",e.image_link),jQuery(".product-lightbox .product-gallery-slider").flickity("select",0)):e.image_src&&(jQuery(".product-lightbox .product-gallery-slider .slide.first img").attr("src",e.image_src).attr("srcset",""),jQuery(".product-lightbox .product-gallery-slider .slide.first a").attr("href",e.image_link),jQuery(".product-lightbox .product-gallery-slider").flickity("select",0))}),jQuery(".product-lightbox .quantity").addQty()}),t.preventDefault()}}),jQuery(e).addClass("quick-view-added"))})}})}});;
(function($){
"use strict";
$.maxmegamenu=function(menu, options){
var plugin=this;
var $menu=$(menu);
var defaults={
event: $menu.attr("data-event"),
effect: $menu.attr("data-effect"),
effect_speed: parseInt($menu.attr("data-effect-speed")),
panel_width: $menu.attr("data-panel-width"),
panel_inner_width: $menu.attr("data-panel-inner-width"),
second_click: $menu.attr("data-second-click"),
vertical_behaviour: $menu.attr("data-vertical-behaviour"),
document_click: $menu.attr("data-document-click"),
breakpoint: $menu.attr("data-breakpoint"),
unbind_events: $menu.attr("data-unbind")
};
plugin.settings={};
var items_with_submenus=$("li.mega-menu-megamenu.mega-menu-item-has-children," +
"li.mega-menu-flyout.mega-menu-item-has-children," +
"li.mega-menu-tabbed > ul.mega-sub-menu > li.mega-menu-item-has-children," +
"li.mega-menu-flyout li.mega-menu-item-has-children", menu);
plugin.hidePanel=function(anchor, immediate){
if(!immediate&&plugin.settings.effect=='slide'){
anchor.siblings(".mega-sub-menu").animate({"height":"hide"}, plugin.settings.effect_speed, function(){
anchor.siblings(".mega-sub-menu").css("display", "");
anchor.parent().removeClass("mega-toggle-on").triggerHandler("close_panel");
});
return;
}
if(immediate){
anchor.siblings(".mega-sub-menu").css("display", "none").delay(plugin.settings.effect_speed).queue(function(){
$(this).css("display", "").dequeue();
});
}
anchor.siblings(".mega-sub-menu").find('.widget_media_video video').each(function(){
this.player.pause();
});
anchor.parent().removeClass("mega-toggle-on").triggerHandler("close_panel");
plugin.addAnimatingClass(anchor.parent());
};
plugin.addAnimatingClass=function(element){
if(plugin.settings.effect==="disabled"){
return;
}
$(".mega-animating").removeClass("mega-animating");
var timeout=plugin.settings.effect_speed + parseInt(megamenu.timeout, 10);
element.addClass("mega-animating");
setTimeout(function(){
element.removeClass("mega-animating");
}, timeout);
};
plugin.hideAllPanels=function(){
$(".mega-toggle-on > a.mega-menu-link", $menu).each(function(){
plugin.hidePanel($(this), false);
});
};
plugin.hideSiblingPanels=function(anchor, immediate){
anchor.parent().parent().find(".mega-toggle-on").children("a.mega-menu-link").each(function(){
plugin.hidePanel($(this), immediate);
});
};
plugin.isDesktopView=function(){
return Math.max(window.outerWidth, $(window).width()) > plugin.settings.breakpoint;
};
plugin.isMobileView=function(){
return !plugin.isDesktopView();
};
plugin.showPanel=function(anchor){
$(".mega-animating").removeClass("mega-animating");
if(plugin.isMobileView()&&anchor.parent().hasClass("mega-hide-sub-menu-on-mobile")){
return;
}
if(plugin.isDesktopView()&&($menu.hasClass("mega-menu-horizontal")||$menu.hasClass("mega-menu-vertical"))){
plugin.hideSiblingPanels(anchor, true);
}
if((plugin.isMobileView()&&$menu.hasClass("mega-keyboard-navigation"))||plugin.settings.vertical_behaviour==="accordion"){
plugin.hideSiblingPanels(anchor, false);
}
plugin.calculateDynamicSubmenuWidths(anchor);
if(plugin.settings.effect=="slide"){
anchor.siblings(".mega-sub-menu").css("display", "none").animate({'height':'show'}, plugin.settings.effect_speed);
}
anchor.parent().addClass("mega-toggle-on").triggerHandler("open_panel");
};
plugin.calculateDynamicSubmenuWidths=function(anchor){
if(anchor.parent().hasClass("mega-menu-megamenu")&&plugin.settings.panel_width&&$(plugin.settings.panel_width).length > 0){
if(plugin.isDesktopView()){
var submenu_offset=$menu.offset();
var target_offset=$(plugin.settings.panel_width).offset();
anchor.siblings(".mega-sub-menu").css({
width: $(plugin.settings.panel_width).outerWidth(),
left: (target_offset.left - submenu_offset.left) + "px"
});
}else{
anchor.siblings(".mega-sub-menu").css({
width: "",
left: ""
});
}}
if(anchor.parent().hasClass("mega-menu-megamenu")&&plugin.settings.panel_inner_width&&$(plugin.settings.panel_inner_width).length > 0){
var target_width=0;
if($(plugin.settings.panel_inner_width).length){
target_width=parseInt($(plugin.settings.panel_inner_width).width(), 10);
}else{
target_width=parseInt(plugin.settings.panel_inner_width, 10);
}
var submenu_width=parseInt(anchor.siblings(".mega-sub-menu").innerWidth(), 10);
if(plugin.isDesktopView()&&target_width > 0&&target_width < submenu_width){
anchor.siblings(".mega-sub-menu").css({
"paddingLeft": (submenu_width - target_width) / 2 + "px",
"paddingRight": (submenu_width - target_width) / 2 + "px"
});
}else{
anchor.siblings(".mega-sub-menu").css({
"paddingLeft": "",
"paddingRight": ""
});
}}
}
var bindClickEvents=function(){
var dragging=false;
$(document).on({
"touchmove": function(e){ dragging=true; },
"touchstart": function(e){ dragging=false; }});
$(document).on("click touchend", function(e){
if(!dragging&&plugin.settings.document_click==="collapse"&&! $(e.target).closest(".mega-menu li").length&&! $(e.target).closest(".mega-menu-toggle").length){
plugin.hideAllPanels();
}
dragging=false;
});
$("> a.mega-menu-link", items_with_submenus).on("click.megamenu touchend.megamenu", function(e){
if(e.type==='touchend'){
plugin.unbindHoverEvents();
plugin.unbindHoverIntentEvents();
}
if(plugin.isDesktopView()&&$(this).parent().hasClass("mega-toggle-on")&&$(this).parent().parent().parent().hasClass("mega-menu-tabbed")){
e.preventDefault();
return;
}
if(dragging){
return;
}
if(plugin.isMobileView()&&$(this).parent().hasClass("mega-hide-sub-menu-on-mobile")){
return;
}
if(plugin.settings.second_click==="go"||$(this).parent().hasClass("mega-click-click-go")){
if(!$(this).parent().hasClass("mega-toggle-on")){
e.preventDefault();
plugin.showPanel($(this));
}}else{
e.preventDefault();
if($(this).parent().hasClass("mega-toggle-on")){
plugin.hidePanel($(this), false);
}else{
plugin.showPanel($(this));
}}
});
};
var bindHoverEvents=function(){
items_with_submenus.on({
"mouseenter.megamenu":function(){
plugin.unbindClickEvents();
if(! $(this).hasClass("mega-toggle-on")){
plugin.showPanel($(this).children("a.mega-menu-link"));
}},
"mouseleave.megamenu":function(){
if($(this).hasClass("mega-toggle-on")&&! $(this).parent().parent().hasClass("mega-menu-tabbed")){
plugin.hidePanel($(this).children("a.mega-menu-link"), false);
}}
});
};
var bindHoverIntentEvents=function(){
items_with_submenus.hoverIntent({
over: function (){
plugin.unbindClickEvents();
if(! $(this).hasClass("mega-toggle-on")){
plugin.showPanel($(this).children("a.mega-menu-link"));
}},
out: function (){
if($(this).hasClass("mega-toggle-on")&&! $(this).parent().parent().hasClass("mega-menu-tabbed")){
plugin.hidePanel($(this).children("a.mega-menu-link"), false);
}},
timeout: megamenu.timeout,
interval: megamenu.interval
});
};
var bindKeyboardEvents=function(){
var tab_key=9;
var escape_key=27;
$("body").on("keyup", function(e){
var keyCode=e.keyCode||e.which;
if(keyCode===escape_key){
$menu.parent().removeClass("mega-keyboard-navigation");
plugin.hideAllPanels();
}
if($menu.parent().hasClass("mega-keyboard-navigation")&&!($(event.target).closest(".mega-menu li").length||$(event.target).closest(".mega-menu-toggle").length)){
$menu.parent().removeClass("mega-keyboard-navigation");
plugin.hideAllPanels();
if(plugin.isMobileView()){
$menu.siblings('.mega-menu-toggle').removeClass('mega-menu-open');
}}
});
$menu.parent().on("keyup", function(e){
var keyCode=e.keyCode||e.which;
var active_link=$(e.target);
if(keyCode===tab_key){
$menu.parent().addClass("mega-keyboard-navigation");
if(active_link.parent().is(items_with_submenus)){
plugin.showPanel(active_link);
}else{
plugin.hideSiblingPanels(active_link);
}
if(active_link.hasClass("mega-menu-toggle")){
active_link.addClass("mega-menu-open");
}}
});
};
plugin.unbindAllEvents=function(){
$("ul.mega-sub-menu, li.mega-menu-item, a.mega-menu-link", menu).off().unbind();
};
plugin.unbindClickEvents=function(){
$("> a.mega-menu-link", items_with_submenus).off("click.megamenu touchend.megamenu");
};
plugin.unbindHoverEvents=function(){
items_with_submenus.unbind("mouseenter.megamenu mouseleave.megamenu");
};
plugin.unbindHoverIntentEvents=function(){
items_with_submenus.unbind("mouseenter mouseleave").removeProp('hoverIntent_t').removeProp('hoverIntent_s');
};
plugin.unbindMegaMenuEvents=function(){
if(plugin.settings.event==="hover_intent"){
plugin.unbindHoverIntentEvents();
}
if(plugin.settings.event==="hover"){
plugin.unbindHoverEvents();
}
plugin.unbindClickEvents();
}
plugin.bindMegaMenuEvents=function(){
if(plugin.isDesktopView()&&plugin.settings.event==="hover_intent"){
bindHoverIntentEvents();
}
if(plugin.isDesktopView()&&plugin.settings.event==="hover"){
bindHoverEvents();
}
bindClickEvents();
bindKeyboardEvents();
};
plugin.monitorView=function(){
if(plugin.isDesktopView()){
$menu.data("view", "desktop");
}else{
$menu.data("view", "mobile");
plugin.switchToMobile();
}
plugin.checkWidth();
$(window).resize(function(){
plugin.checkWidth();
});
};
plugin.checkWidth=function(){
if(plugin.isMobileView()&&$menu.data("view")==="desktop"){
$menu.data("view", "mobile");
plugin.switchToMobile();
}
if(plugin.isDesktopView()&&$menu.data("view")==="mobile"){
$menu.data("view", "desktop");
plugin.switchToDesktop();
}
if(plugin.isDesktopView()){
plugin.calculateDynamicSubmenuWidths($("li.mega-menu-megamenu.mega-toggle-on > a.mega-menu-link", $menu));
}};
plugin.reverseRightAlignedItems=function(){
if(! $('body').hasClass('rtl')){
$menu.append($menu.children("li.mega-item-align-right").get().reverse());
}};
plugin.addClearClassesToMobileItems=function(){
$(".mega-menu-row", $menu).each(function(){
$("> .mega-sub-menu > .mega-menu-column:not(.mega-hide-on-mobile)", $(this)).filter(":even").addClass('mega-menu-clear');
});
}
plugin.switchToMobile=function(){
plugin.unbindMegaMenuEvents();
plugin.bindMegaMenuEvents();
plugin.reverseRightAlignedItems();
plugin.addClearClassesToMobileItems();
plugin.hideAllPanels();
};
plugin.switchToDesktop=function(){
plugin.unbindMegaMenuEvents();
plugin.bindMegaMenuEvents();
plugin.reverseRightAlignedItems();
plugin.hideAllPanels();
};
plugin.init=function(){
$menu.triggerHandler("before_mega_menu_init");
plugin.settings=$.extend({}, defaults, options);
$menu.removeClass("mega-no-js");
$menu.siblings(".mega-menu-toggle").on("click", function(e){
if($(e.target).is(".mega-menu-toggle-block, .mega-menu-toggle")){
$(this).toggleClass("mega-menu-open");
}});
if(plugin.settings.unbind_events=='true'){
plugin.unbindAllEvents();
}
plugin.bindMegaMenuEvents();
plugin.monitorView();
$menu.triggerHandler("after_mega_menu_init");
};
plugin.init();
};
$.fn.maxmegamenu=function(options){
return this.each(function(){
if(undefined===$(this).data("maxmegamenu")){
var plugin=new $.maxmegamenu(this, options);
$(this).data("maxmegamenu", plugin);
}});
};
$(function(){
$(".mega-menu").maxmegamenu();
});
})(jQuery);;
(function(){var a=function(){var a,b;return b=document.createElement("script"),b.src=_zxcvbnSettings.src,b.type="text/javascript",b.async=!0,a=document.getElementsByTagName("script")[0],a.parentNode.insertBefore(b,a)};null!=window.attachEvent?window.attachEvent("onload",a):window.addEventListener("load",a,!1)}).call(this);;
!function(e){"object"==typeof exports&&"undefined"!=typeof module||"function"!=typeof define||!define.amd?e():define("inert",e)}((function(){"use strict";var e,t,n,i,o,r,s=function(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e};function a(e,t){for(var n=0;nf;)o(n,e=r[f++])&&(~a(s,e)||c(s,e));return s}},function(t,r,e){var n=e(11),o=e(60),i=e(63);e=function(t){return function(r,e,a){var u,c=n(r),f=i(c),s=o(a,f);if(t&&e!=e){for(;s"+t+""+v+">"}var a,u=n(46),c=n(75),f=n(65),s=n(54),p=n(77),l=n(42),h=(n=n(53),"prototype"),v="script",y=n("IE_PROTO"),d=function(){try{a=new ActiveXObject("htmlfile")}catch(t){}var t;d="undefined"==typeof document||document.domain&&a?function(t){t.write(i("")),t.close();var r=t.parentWindow.Object;return t=null,r}(a):((t=l("iframe")).style.display="none",p.appendChild(t),t.src=String("javascript:"),(t=t.contentWindow.document).open(),t.write(i("document.F=Object")),t.close(),t.F);for(var r=f.length;r--;)delete d[h][f[r]];return d()};s[y]=!0,r.exports=Object.create||function(r,e){var n;return null!==r?(o[h]=u(r),n=new o,o[h]=null,n[y]=r):n=d(),e===t?n:c.f(n,e)}},function(t,r,e){var n=e(5),o=e(45),i=e(44),a=e(46),u=e(11),c=e(76);r.f=n&&!o?Object.defineProperties:function(t,r){a(t);for(var e,n=u(r),o=c(r),f=o.length,s=0;s=r||56320!=(64512&u(t,e))))return!1}return!0}})},function(t,r,e){var n=e(89),o=String;t.exports=function(t){if("Symbol"===n(t))throw TypeError("Cannot convert a Symbol value to a string");return o(t)}},function(r,e,n){var o=n(90),i=n(20),a=n(14),u=n(33)("toStringTag"),c=Object,f="Arguments"==a(function(){return arguments}());r.exports=o?a:function(r){var e;return r===t?"Undefined":null===r?"Null":"string"==typeof(r=function(t,r){try{return t[r]}catch(t){}}(e=c(r),u))?r:f?a(e):"Object"==(r=a(e))&&i(e.callee)?"Arguments":r}},function(t,r,e){var n={};n[e(33)("toStringTag")]="z",t.exports="[object z]"===String(n)},function(t,r,e){var n=e(2),o=e(7),i=e(13),a=e(15),u=e(88),c=(e=e(6),Array),f=i("".charAt),s=i("".charCodeAt),p=i([].join),l="".toWellFormed,h=l&&e((function(){return"1"!==o(l,1)}));n({target:"String",proto:!0,forced:h},{toWellFormed:function(){var t=u(a(this));if(h)return o(l,t);for(var r=t.length,e=c(r),n=0;n>>0)+(n>>>0)+(((t>>>=0)&(e>>>=0)|(t|e)&~(t+e>>>0))>>>31)|0}})},function(t,r,e){e(2)({target:"Math",stat:!0,forced:!0},{imulh:function(t,r){var e,n;t=65535&(e=+t),r=65535&(n=+r);return(e=e>>16)*(n=n>>16)+((r=(e*r>>>0)+(t*r>>>16))>>16)+((t*n>>>0)+(65535&r)>>16)}})},function(t,r,e){e(2)({target:"Math",stat:!0,forced:!0},{isubh:function(t,r,e,n){return(r>>>0)-(n>>>0)-((~(t>>>=0)&(e>>>=0)|~(t^e)&t-e>>>0)>>>31)|0}})},function(t,r,e){e(2)({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{RAD_PER_DEG:180/Math.PI})},function(t,r,e){e=e(2);var n=Math.PI/180;e({target:"Math",stat:!0,forced:!0},{radians:function(t){return t*n}})},function(t,r,e){e(2)({target:"Math",stat:!0,forced:!0},{scale:e(281)})},function(t,r,e){var n=e(2),o=e(46),i=e(291),a=e(186),u=e(118),c=e(51),f=(e="Seeded Random")+" Generator",s=c.set,p=c.getterFor(f),l=TypeError,h=a((function(t){s(this,{type:f,seed:t%2147483647})}),e,(function(){var t=(t=p(this)).seed=(1103515245*t.seed+12345)%2147483647;return u((1073741823&t)/1073741823,!1)}));n({target:"Math",stat:!0,forced:!0},{seededPRNG:function(t){if(t=o(t).seed,!i(t))throw l('Math.seededPRNG() argument should have a "seed" field with a finite value.');return new h(t)}})},function(t,r,e){var n=e(3).isFinite;t.exports=Number.isFinite||function(t){return"number"==typeof t&&n(t)}},function(t,r,e){e(2)({target:"Math",stat:!0,forced:!0},{signbit:function(t){return(t=+t)==t&&0==t?1/t==-1/0:t<0}})},function(t,r,e){e(2)({target:"Math",stat:!0,forced:!0},{umulh:function(t,r){var e,n;t=65535&(e=+t),r=65535&(n=+r);return(e=e>>>16)*(n=n>>>16)+((r=(e*r>>>0)+(t*r>>>16))>>>16)+((t*n>>>0)+(65535&r)>>>16)}})},function(r,e,n){var o=n(2),i=n(13),a=n(61),u=n(295),c="Invalid number representation",f=RangeError,s=SyntaxError,p=TypeError,l=/^[\da-z]+$/,h=i("".charAt),v=i(l.exec),y=i(1..toString),d=i("".slice);o({target:"Number",stat:!0,forced:!0},{fromString:function(r,e){var n,o=1;if("string"!=typeof r)throw p(c);if(!r.length)throw s(c);if("-"==h(r,0)&&(o=-1,!(r=d(r,1)).length))throw s(c);if((e=e===t?10:a(e))<2||36>>0||(p(s,t)?16:10))}:c},function(t,r,e){var n=e(13),o=e(15),i=e(88),a=(e=e(297),n("".replace)),u=RegExp("^["+e+"]+"),c=RegExp("(^|[^"+e+"])["+e+"]+$");e=function(t){return function(r){return r=i(o(r)),1&t&&(r=a(r,u,"")),2&t?a(r,c,"$1"):r}};t.exports={start:e(1),end:e(2),trim:e(3)}},function(t,r){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(t,r,e){var n=e(2),o=e(185);n({target:"Number",stat:!0,forced:!0},{range:function(t,r,e){return new o(t,r,e,"number",0,1)}})},function(t,r,e){var n=e(2),o=e(300);n({target:"Object",stat:!0,forced:!0},{iterateEntries:function(t){return new o(t,"entries")}})},function(r,e,n){var o=n(51),i=n(186),a=n(118),u=n(38),c=n(76),f=n(39),s="Object Iterator",p=o.set,l=o.getterFor(s);r.exports=i((function(t,r){t=f(t),p(this,{type:s,mode:r,object:t,keys:c(t),index:0})}),"Object",(function(){for(var r=l(this),e=r.keys;;){if(null===e||r.index>=e.length)return r.object=r.keys=null,a(t,!0);var n=e[r.index++],o=r.object;if(u(o,n)){switch(r.mode){case"keys":return a(n,!1);case"values":return a(o[n],!1)}return a([n,o[n]],!1)}}}))},function(t,r,e){var n=e(2),o=e(300);n({target:"Object",stat:!0,forced:!0},{iterateKeys:function(t){return new o(t,"keys")}})},function(t,r,e){var n=e(2),o=e(300);n({target:"Object",stat:!0,forced:!0},{iterateValues:function(t){return new o(t,"values")}})},function(t,r,e){var n=e(2),o=e(23),i=e(13),a=e(30),u=e(15),c=e(17),f=e(202),s=o("Object","create"),p=i([].push);n({target:"Object",stat:!0,forced:!0},{groupBy:function(t,r){u(t),a(r);var e=s(null),n=0;return f(t,(function(t){var o=c(r(t,n++));o in e?p(e[o],t):e[o]=[t]})),e}})},function(t,r,e){e(305),e(308),e(309)},function(r,e,n){function o(r){this.observer=s(r),this.cleanup=t,this.subscriptionObserver=t}var i=n(2),a=n(7),u=n(5),c=n(208),f=n(30),s=n(46),p=n(157),l=n(20),h=n(16),v=n(19),y=n(29),d=n(47),g=n(116),b=n(85),m=n(306),x=n(33),w=n(51),S=n(307),A=x("observable"),E="Observable",O=(n="Subscription","SubscriptionObserver"),R=(x=w.getterFor,w.set),I=x(E),k=x(n),T=x(O);function M(t,r){var e,n=R(this,new o(t));u||(this.closed=!1);try{(e=y(t,"start"))&&a(e,t,this)}catch(r){m(r)}if(!n.isClosed()){t=n.subscriptionObserver=new j(n);try{var i=r(t),c=i;h(i)||(n.cleanup=l(i.unsubscribe)?function(){c.unsubscribe()}:f(i))}catch(r){return void t.error(r)}n.isClosed()&&n.clean()}}o.prototype={type:n,clean:function(){var r=this.cleanup;if(r){this.cleanup=t;try{r()}catch(r){m(r)}}},close:function(){var r,e;u||(r=this.facade,e=this.subscriptionObserver,r.closed=!0,e&&(e.closed=!0)),this.observer=t},isClosed:function(){return this.observer===t}},M.prototype=g({},{unsubscribe:function(){var t=k(this);t.isClosed()||(t.close(),t.clean())}}),u&&b(M.prototype,"closed",{configurable:!0,get:function(){return k(this).isClosed()}});var j=function(t){R(this,{type:O,subscriptionState:t}),u||(this.closed=!1)};j.prototype=g({},{next:function(t){var r=T(this).subscriptionState;if(!r.isClosed()){r=r.observer;try{var e=y(r,"next");e&&a(e,r,t)}catch(t){m(t)}}},error:function(t){var r=T(this).subscriptionState;if(!r.isClosed()){var e=r.observer;r.close();try{var n=y(e,"error");n?a(n,e,t):m(t)}catch(t){m(t)}r.clean()}},complete:function(){var t=T(this).subscriptionState;if(!t.isClosed()){var r=t.observer;t.close();try{var e=y(r,"complete");e&&a(e,r)}catch(t){m(t)}t.clean()}}}),u&&b(j.prototype,"closed",{configurable:!0,get:function(){return T(this).subscriptionState.isClosed()}});b=function(t){p(this,P),R(this,{type:E,subscriber:f(t)})};var P=b.prototype;g(P,{subscribe:function(r){var e=arguments.length;return new M(l(r)?{next:r,error:1e.size?c(e.getIterator(),(function(t){p(r,t)&&s(o,t)})):u(r,(function(t){e.includes(t)&&s(o,t)})),o}},function(t,r,e){var n=e(2),o=e(7),i=e(335),a=e(342);n({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(t){return o(a,this,i(t))}})},function(t,r,e){var n=e(2),o=e(345);n({target:"Set",proto:!0,real:!0,forced:!e(333)("isDisjointFrom")},{isDisjointFrom:o})},function(t,r,e){var n=e(324),o=e(325).has,i=e(331),a=e(332),u=e(330),c=e(144),f=e(165);t.exports=function(t){var r=n(this),e=a(t);if(i(r)<=e.size)return!1!==u(r,(function(t){if(e.includes(t))return!1}),!0);var s=e.getIterator();return!1!==c(s,(function(t){if(o(r,t))return f(s,"normal",!1)}))}},function(t,r,e){var n=e(2),o=e(7),i=e(335),a=e(345);n({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(t){return o(a,this,i(t))}})},function(t,r,e){var n=e(2),o=e(348);n({target:"Set",proto:!0,real:!0,forced:!e(333)("isSubsetOf")},{isSubsetOf:o})},function(t,r,e){var n=e(324),o=e(331),i=e(330),a=e(332);t.exports=function(t){var r=n(this),e=a(t);return!(o(r)>e.size)&&!1!==i(r,(function(t){if(!e.includes(t))return!1}),!0)}},function(t,r,e){var n=e(2),o=e(7),i=e(335),a=e(348);n({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(t){return o(a,this,i(t))}})},function(t,r,e){var n=e(2),o=e(351);n({target:"Set",proto:!0,real:!0,forced:!e(333)("isSupersetOf")},{isSupersetOf:o})},function(t,r,e){var n=e(324),o=e(325).has,i=e(331),a=e(332),u=e(144),c=e(165);t.exports=function(t){var r=n(this);t=a(t);if(i(r)=e.length?a(t,!0):(e=p(e,n),r.index+=e.length,a({codePoint:s(e,0),position:n},!1))}));o({target:"String",proto:!0,forced:!0},{codePoints:function(){return new y(c(u(this)))}})},function(r,e,n){var o=n(201),i=n(2),a=n(34),u=n(23),c=n(48),f=n(13),s=n(190),p=n(46),l=n(39),h=n(20),v=n(63),y=n(44).f,d=n(197),g=n(367),b=n(370),m=(n=n(297),a("GlobalDedentRegistry",new(u("WeakMap"))));function x(t){return c((function(r){var e=d(arguments);return e[0]=function(t){var r=t.raw;if(o&&!E(r))throw S("Raw template should be frozen");if(m.has(r))return m.get(r);var e=C(r);t=N(e);return y(t,"raw",{value:A(e)}),A(t),m.set(r,t),t}(p(r)),s(t,this,e)}),"")}m.has=m.has,m.get=m.get,m.set=m.set;var w=Array,S=TypeError,A=Object.freeze||Object,E=Object.isFrozen,O=Math.min,R=f("".charAt),I=f("".slice),k=f("".split),T=f(/./.exec),M=/([\n\u2028\u2029]|\r\n?)/g,j=RegExp("^["+n+"]*"),P=RegExp("[^"+n+"]"),D="Invalid tag",C=function(t){var r,e=l(t),n=v(e),o=w(n),i=w(n),a=0;if(!n)throw S(D);for(;a=t.length)return-1;for(var n=0;r{"use strict";var t={d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{actions:()=>S,addAction:()=>m,addFilter:()=>p,applyFilters:()=>k,createHooks:()=>h,currentAction:()=>w,currentFilter:()=>I,defaultHooks:()=>f,didAction:()=>O,didFilter:()=>j,doAction:()=>b,doingAction:()=>x,doingFilter:()=>T,filters:()=>z,hasAction:()=>v,hasFilter:()=>y,removeAction:()=>A,removeAllActions:()=>F,removeAllFilters:()=>g,removeFilter:()=>_});const n=function(t){return"string"!=typeof t||""===t?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(t)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)};const r=function(t){return"string"!=typeof t||""===t?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(t)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(t)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)};const o=function(t,e){return function(o,i,s,c=10){const l=t[e];if(!r(o))return;if(!n(i))return;if("function"!=typeof s)return void console.error("The hook callback must be a function.");if("number"!=typeof c)return void console.error("If specified, the hook priority must be a number.");const u={callback:s,priority:c,namespace:i};if(l[o]){const t=l[o].handlers;let e;for(e=t.length;e>0&&!(c>=t[e-1].priority);e--);e===t.length?t[e]=u:t.splice(e,0,u),l.__current.forEach((t=>{t.name===o&&t.currentIndex>=e&&t.currentIndex++}))}else l[o]={handlers:[u],runs:0};"hookAdded"!==o&&t.doAction("hookAdded",o,i,s,c)}};const i=function(t,e,o=!1){return function(i,s){const c=t[e];if(!r(i))return;if(!o&&!n(s))return;if(!c[i])return 0;let l=0;if(o)l=c[i].handlers.length,c[i]={runs:c[i].runs,handlers:[]};else{const t=c[i].handlers;for(let e=t.length-1;e>=0;e--)t[e].namespace===s&&(t.splice(e,1),l++,c.__current.forEach((t=>{t.name===i&&t.currentIndex>=e&&t.currentIndex--})))}return"hookRemoved"!==i&&t.doAction("hookRemoved",i,s),l}};const s=function(t,e){return function(n,r){const o=t[e];return void 0!==r?n in o&&o[n].handlers.some((t=>t.namespace===r)):n in o}};const c=function(t,e,n=!1){return function(r,...o){const i=t[e];i[r]||(i[r]={handlers:[],runs:0}),i[r].runs++;const s=i[r].handlers;if(!s||!s.length)return n?o[0]:void 0;const c={name:r,currentIndex:0};for(i.__current.push(c);c.currentIndex{var t={2058:(t,e,r)=>{var n;!function(){"use strict";var i={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function a(t){return function(t,e){var r,n,o,s,l,u,p,c,f,d=1,h=t.length,g="";for(n=0;n=0),s.type){case"b":r=parseInt(r,10).toString(2);break;case"c":r=String.fromCharCode(parseInt(r,10));break;case"d":case"i":r=parseInt(r,10);break;case"j":r=JSON.stringify(r,null,s.width?parseInt(s.width):0);break;case"e":r=s.precision?parseFloat(r).toExponential(s.precision):parseFloat(r).toExponential();break;case"f":r=s.precision?parseFloat(r).toFixed(s.precision):parseFloat(r);break;case"g":r=s.precision?String(Number(r.toPrecision(s.precision))):parseFloat(r);break;case"o":r=(parseInt(r,10)>>>0).toString(8);break;case"s":r=String(r),r=s.precision?r.substring(0,s.precision):r;break;case"t":r=String(!!r),r=s.precision?r.substring(0,s.precision):r;break;case"T":r=Object.prototype.toString.call(r).slice(8,-1).toLowerCase(),r=s.precision?r.substring(0,s.precision):r;break;case"u":r=parseInt(r,10)>>>0;break;case"v":r=r.valueOf(),r=s.precision?r.substring(0,s.precision):r;break;case"x":r=(parseInt(r,10)>>>0).toString(16);break;case"X":r=(parseInt(r,10)>>>0).toString(16).toUpperCase()}i.json.test(s.type)?g+=r:(!i.number.test(s.type)||c&&!s.sign?f="":(f=c?"+":"-",r=r.toString().replace(i.sign,"")),u=s.pad_char?"0"===s.pad_char?"0":s.pad_char.charAt(1):" ",p=s.width-(f+r).length,l=s.width&&p>0?u.repeat(p):"",g+=s.align?f+r+l:"0"===u?f+l+r:l+f+r)}return g}(function(t){if(s[t])return s[t];var e,r=t,n=[],a=0;for(;r;){if(null!==(e=i.text.exec(r)))n.push(e[0]);else if(null!==(e=i.modulo.exec(r)))n.push("%");else{if(null===(e=i.placeholder.exec(r)))throw new SyntaxError("[sprintf] unexpected placeholder");if(e[2]){a|=1;var o=[],l=e[2],u=[];if(null===(u=i.key.exec(l)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(o.push(u[1]);""!==(l=l.substring(u[0].length));)if(null!==(u=i.key_access.exec(l)))o.push(u[1]);else{if(null===(u=i.index_access.exec(l)))throw new SyntaxError("[sprintf] failed to parse named argument key");o.push(u[1])}e[2]=o}else a|=2;if(3===a)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");n.push({placeholder:e[0],param_no:e[1],keys:e[2],sign:e[3],pad_char:e[4],align:e[5],width:e[6],precision:e[7],type:e[8]})}r=r.substring(e[0].length)}return s[t]=n}(t),arguments)}function o(t,e){return a.apply(null,[t].concat(e||[]))}var s=Object.create(null);e.sprintf=a,e.vsprintf=o,"undefined"!=typeof window&&(window.sprintf=a,window.vsprintf=o,void 0===(n=function(){return{sprintf:a,vsprintf:o}}.call(e,r,e,t))||(t.exports=n))}()}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var a=e[n]={exports:{}};return t[n](a,a.exports,r),a.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{__:()=>F,_n:()=>j,_nx:()=>L,_x:()=>S,createI18n:()=>x,defaultI18n:()=>_,getLocaleData:()=>v,hasTranslation:()=>D,isRTL:()=>T,resetLocaleData:()=>w,setLocaleData:()=>m,sprintf:()=>a,subscribe:()=>k});var t=r(2058),e=r.n(t);const i=function(t,e){var r,n,i=0;function a(){var a,o,s=r,l=arguments.length;t:for(;s;){if(s.args.length===arguments.length){for(o=0;o":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},s=["(","?"],l={")":["("],":":["?","?:"]},u=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var p={"!":function(t){return!t},"*":function(t,e){return t*e},"/":function(t,e){return t/e},"%":function(t,e){return t%e},"+":function(t,e){return t+e},"-":function(t,e){return t-e},"<":function(t,e){return t":function(t,e){return t>e},">=":function(t,e){return t>=e},"==":function(t,e){return t===e},"!=":function(t,e){return t!==e},"&&":function(t,e){return t&&e},"||":function(t,e){return t||e},"?:":function(t,e,r){if(t)throw e;return r}};function c(t){var e=function(t){for(var e,r,n,i,a=[],p=[];e=t.match(u);){for(r=e[0],(n=t.substr(0,e.index).trim())&&a.push(n);i=p.pop();){if(l[r]){if(l[r][0]===i){r=l[r][1]||r;break}}else if(s.indexOf(i)>=0||o[i]1===t?0:1},g=/^i18n\.(n?gettext|has_translation)(_|$)/,x=(t,e,r)=>{const n=new d({}),i=new Set,a=()=>{i.forEach((t=>t()))},o=(t,e="default")=>{n.data[e]={...n.data[e],...t},n.data[e][""]={...h,...n.data[e]?.[""]},delete n.pluralForms[e]},s=(t,e)=>{o(t,e),a()},l=(t="default",e,r,i,a)=>(n.data[t]||o(void 0,t),n.dcnpgettext(t,e,r,i,a)),u=(t="default")=>t,p=(t,e,n)=>{let i=l(n,e,t);return r?(i=r.applyFilters("i18n.gettext_with_context",i,t,e,n),r.applyFilters("i18n.gettext_with_context_"+u(n),i,t,e,n)):i};if(t&&s(t,e),r){const t=t=>{g.test(t)&&a()};r.addAction("hookAdded","core/i18n",t),r.addAction("hookRemoved","core/i18n",t)}return{getLocaleData:(t="default")=>n.data[t],setLocaleData:s,addLocaleData:(t,e="default")=>{n.data[e]={...n.data[e],...t,"":{...h,...n.data[e]?.[""],...t?.[""]}},delete n.pluralForms[e],a()},resetLocaleData:(t,e)=>{n.data={},n.pluralForms={},s(t,e)},subscribe:t=>(i.add(t),()=>i.delete(t)),__:(t,e)=>{let n=l(e,void 0,t);return r?(n=r.applyFilters("i18n.gettext",n,t,e),r.applyFilters("i18n.gettext_"+u(e),n,t,e)):n},_x:p,_n:(t,e,n,i)=>{let a=l(i,void 0,t,e,n);return r?(a=r.applyFilters("i18n.ngettext",a,t,e,n,i),r.applyFilters("i18n.ngettext_"+u(i),a,t,e,n,i)):a},_nx:(t,e,n,i,a)=>{let o=l(a,i,t,e,n);return r?(o=r.applyFilters("i18n.ngettext_with_context",o,t,e,n,i,a),r.applyFilters("i18n.ngettext_with_context_"+u(a),o,t,e,n,i,a)):o},isRTL:()=>"rtl"===p("ltr","text direction"),hasTranslation:(t,e,i)=>{const a=e?e+""+t:t;let o=!!n.data?.[null!=i?i:"default"]?.[a];return r&&(o=r.applyFilters("i18n.has_translation",o,t,e,i),o=r.applyFilters("i18n.has_translation_"+u(i),o,t,e,i)),o}}},y=window.wp.hooks,b=x(void 0,void 0,y.defaultHooks),_=b,v=b.getLocaleData.bind(b),m=b.setLocaleData.bind(b),w=b.resetLocaleData.bind(b),k=b.subscribe.bind(b),F=b.__.bind(b),S=b._x.bind(b),j=b._n.bind(b),L=b._nx.bind(b),T=b.isRTL.bind(b),D=b.hasTranslation.bind(b)})(),(window.wp=window.wp||{}).i18n=n})();