PageSourceSearch

https://www.ores-germany.com/wp-content/themes/inspiro/js/inspiro-scripts-extra.min.js?ver=9.7.3

js ores-germany.com collected 2026-10-07 22:34:54 UTC 109,753 bytes, 4 lines download raw bytes

vendor: 10,514 bytes, lines 1-4
1/*! Inspiro Scripts
2 * https://www.wpzoom.com/
3 * Do not edit this file directly! */
4(t=>{"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?t(require("jquery")):t(window.jQuery||window.Zepto)})(function(d){function t(){}function c(t,e){m.ev.on("mfp"+t+".mfp",e)}function u(t,e,i,o){var n=document.createElement("div");return n.className="mfp-"+t,i&&(n.innerHTML=i),o?e&&e.appendChild(n):(n=d(n),e&&n.appendTo(e)),n}function p(t,e){m.ev.triggerHandler("mfp"+t,e),m.st.callbacks&&(t=t.charAt(0).toLowerCase()+t.slice(1),m.st.callbacks[t])&&m.st.callbacks[t].apply(m,Array.isArray(e)?e:[e])}function f(t){return t===e&&m.currTemplate.closeBtn||(m.currTemplate.closeBtn=d(m.st.closeMarkup.replace("%title%",m.st.tClose)),e=t),m.currTemplate.closeBtn}function a(){d.magnificPopup.instance||((m=new t).init(),d.magnificPopup.instance=m)}var m,o,h,n,g,e,r=!!window.jQuery,v=d(window);d.magnificPopup={instance:null,proto:t.prototype={constructor:t,init:function(){var t=navigator.appVersion;m.isLowIE=m.isIE8=document.all&&!document.addEventListener,m.isAndroid=/android/gi.test(t),m.isIOS=/iphone|ipad|ipod/gi.test(t),m.supportsTransition=(()=>{var t=document.createElement("p").style,e=["ms","O","Moz","Webkit"];if(void 0!==t.transition)return!0;for(;e.length;)if(e.pop()+"Transition"in t)return!0;return!1})(),m.probablyMobile=m.isAndroid||m.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),h=d(document),m.popupsCache={}},open:function(t){if(!1===t.isObj){m.items=t.items.toArray(),m.index=0;for(var e,i=t.items,o=0;o<i.length;o++)if((e=(e=i[o]).parsed?e.el[0]:e)===t.el[0]){m.index=o;break}}else m.items=Array.isArray(t.items)?t.items:[t.items],m.index=t.index||0;if(!m.isOpen){m.types=[],g="",t.mainEl&&t.mainEl.length?m.ev=t.mainEl.eq(0):m.ev=h,t.key?(m.popupsCache[t.key]||(m.popupsCache[t.key]={}),m.currTemplate=m.popupsCache[t.key]):m.currTemplate={},m.st=d.extend(!0,{},d.magnificPopup.defaults,t),m.fixedContentPos="auto"===m.st.fixedContentPos?!m.probablyMobile:m.st.fixedContentPos,m.st.modal&&(m.st.closeOnContentClick=!1,m.st.closeOnBgClick=!1,m.st.showCloseBtn=!1,m.st.enableEscapeKey=!1),m.bgOverlay||(m.bgOverlay=u("bg").on("click.mfp",function(){m.close()}),m.wrap=u("wrap").attr("tabindex",-1).on("click.mfp",function(t){m._checkIfClose(t.target)&&m.close()}),m.container=u("container",m.wrap)),m.contentContainer=u("content"),m.st.preloader&&(m.preloader=u("preloader",m.container,m.st.tLoading));var n=d.magnificPopup.modules;for(o=0;o<n.length;o++){var a=(a=n[o]).charAt(0).toUpperCase()+a.slice(1);m["init"+a].call(m)}p("BeforeOpen"),m.st.showCloseBtn&&(m.st.closeBtnInside?(c("MarkupParse",function(t,e,i,o){i.close_replaceWith=f(o.type)}),g+=" mfp-close-btn-in"):m.wrap.append(f())),m.st.alignTop&&(g+=" mfp-align-top"),m.fixedContentPos?m.wrap.css({overflow:m.st.overflowY,overflowX:"hidden",overflowY:m.st.overflowY}):m.wrap.css({top:v.scrollTop(),position:"absolute"}),!1!==m.st.fixedBgPos&&("auto"!==m.st.fixedBgPos||m.fixedContentPos)||m.bgOverlay.css({height:h.height(),position:"absolute"}),m.st.enableEscapeKey&&h.on("keyup.mfp",function(t){27===t.keyCode&&m.close()}),v.on("resize.mfp",function(){m.updateSize()}),m.st.closeOnContentClick||(g+=" mfp-auto-cursor"),g&&m.wrap.addClass(g);var r=m.wH=v.height(),s={},l=(m.fixedContentPos&&m._hasScrollBar(r)&&(l=m._getScrollbarSize())&&(s.marginRight=l),m.fixedContentPos&&(m.isIE7?d("body, html").css("overflow","hidden"):s.overflow="hidden"),m.st.mainClass);return m.isIE7&&(l+=" mfp-ie7"),l&&m._addClassToMFP(l),m.updateItemHTML(),p("BuildControls"),d("html").css(s),m.bgOverlay.add(m.wrap).prependTo(m.st.prependTo||d(document.body)),m._lastFocusedEl=document.activeElement,setTimeout(function(){m.content?(m._addClassToMFP("mfp-ready"),m._setFocus()):m.bgOverlay.addClass("mfp-ready"),h.on("focusin.mfp",m._onFocusIn)},16),m.isOpen=!0,m.updateSize(r),p("Open"),t}m.updateItemHTML()},close:function(){m.isOpen&&(p("BeforeClose"),m.isOpen=!1,m.st.removalDelay&&!m.isLowIE&&m.supportsTransition?(m._addClassToMFP("mfp-removing"),setTimeout(function(){m._close()},m.st.removalDelay)):m._close())},_close:function(){p("Close");var t="mfp-removing mfp-ready ";m.bgOverlay.detach(),m.wrap.detach(),m.container.empty(),m.st.mainClass&&(t+=m.st.mainClass+" "),m._removeClassFromMFP(t),m.fixedContentPos&&(t={marginRight:""},m.isIE7?d("body, html").css("overflow",""):t.overflow="",d("html").css(t)),h.off("keyup.mfp focusin.mfp"),m.ev.off(".mfp"),m.wrap.attr("class","mfp-wrap").removeAttr("style"),m.bgOverlay.attr("class","mfp-bg"),m.container.attr("class","mfp-container"),!m.st.showCloseBtn||m.st.closeBtnInside&&!0!==m.currTemplate[m.currItem.type]||m.currTemplate.closeBtn&&m.currTemplate.closeBtn.detach(),m.st.autoFocusLast&&m._lastFocusedEl&&d(m._lastFocusedEl).trigger("focus"),m.currItem=null,m.content=null,m.currTemplate=null,m.prevHeight=0,p("AfterClose")},updateSize:function(t){var e;m.isIOS?(e=document.documentElement.clientWidth/window.innerWidth,m.wrap.css("height",e=window.innerHeight*e),m.wH=e):m.wH=t||v.height(),m.fixedContentPos||m.wrap.css("height",m.wH),p("Resize")},updateItemHTML:function(){var t=m.items[m.index],e=(m.contentContainer.detach(),m.content&&m.content.detach(),(t=t.parsed?t:m.parseEl(m.index)).type),i=(p("BeforeChange",[m.currItem?m.currItem.type:"",e]),m.currItem=t,m.currTemplate[e]||(i=!!m.st[e]&&m.st[e].markup,p("FirstMarkupParse",i),m.currTemplate[e]=!i||d(i)),n&&n!==t.type&&m.container.removeClass("mfp-"+n+"-holder"),m["get"+e.charAt(0).toUpperCase()+e.slice(1)](t,m.currTemplate[e]));m.appendContent(i,e),t.preloaded=!0,p("Change",t),n=t.type,m.container.prepend(m.contentContainer),p("AfterChange")},appendContent:function(t,e){(m.content=t)?m.st.showCloseBtn&&m.st.closeBtnInside&&!0===m.currTemplate[e]?m.content.find(".mfp-close").length||m.content.append(f()):m.content=t:m.content="",p("BeforeAppend"),m.container.addClass("mfp-"+e+"-holder"),m.contentContainer.append(m.content)},parseEl:function(t){var e,i=m.items[t];if((i=i.tagName?{el:d(i)}:(e=i.type,{data:i,src:i.src})).el){for(var o=m.types,n=0;n<o.length;n++)if(i.el.hasClass("mfp-"+o[n])){e=o[n];break}i.src=i.el.attr("data-mfp-src"),i.src||(i.src=i.el.attr("href"))}return i.type=e||m.st.type||"inline",i.index=t,i.parsed=!0,m.items[t]=i,p("ElementParse",i),m.items[t]},addGroup:function(e,i){function t(t){t.mfpEl=this,m._openClick(t,e,i)}var o="click.magnificPopup";(i=i||{}).mainEl=e,i.items?(i.isObj=!0,e.off(o).on(o,t)):(i.isObj=!1,i.delegate?e.off(o).on(o,i.delegate,t):(i.items=e).off(o).on(o,t))},_openClick:function(t,e,i){if((void 0!==i.midClick?i:d.magnificPopup.defaults).midClick||!(2===t.which||t.ctrlKey||t.metaKey||t.altKey||t.shiftKey)){var o=(void 0!==i.disableOn?i:d.magnificPopup.defaults).disableOn;if(o)if("function"==typeof o){if(!o.call(m))return!0}else if(v.width()<o)return!0;t.type&&(t.preventDefault(),m.isOpen)&&t.stopPropagation(),i.el=d(t.mfpEl),i.delegate&&(i.items=e.find(i.delegate)),m.open(i)}},updateStatus:function(t,e){var i;m.preloader&&(o!==t&&m.container.removeClass("mfp-s-"+o),i={status:t,text:e=e||"loading"!==t?e:m.st.tLoading},p("UpdateStatus",i),t=i.status,m.preloader.html(e=i.text),m.preloader.find("a").on("click",function(t){t.stopImmediatePropagation()}),m.container.addClass("mfp-s-"+t),o=t)},_checkIfClose:function(t){if(!d(t).hasClass("mfp-prevent-close")){var e=m.st.closeOnContentClick,i=m.st.closeOnBgClick;if(e&&i)return!0;if(!m.content||d(t).hasClass("mfp-close")||m.preloader&&t===m.preloader[0])return!0;if(t===m.content[0]||d.contains(m.content[0],t)){if(e)return!0}else if(i&&d.contains(document,t))return!0;return!1}},_addClassToMFP:function(t){m.bgOverlay.addClass(t),m.wrap.addClass(t)},_removeClassFromMFP:function(t){this.bgOverlay.removeClass(t),m.wrap.removeClass(t)},_hasScrollBar:function(t){return(m.isIE7?h.height():document.body.scrollHeight)>(t||v.height())},_setFocus:function(){(m.st.focus?m.content.find(m.st.focus).eq(0):m.wrap).trigger("focus")},_onFocusIn:function(t){if(t.target!==m.wrap[0]&&!d.contains(m.wrap[0],t.target))return m._setFocus(),!1},_parseMarkup:function(n,t,e){var a;e.data&&(t=d.extend(e.data,t)),p("MarkupParse",[n,t,e]),d.each(t,function(t,e){if(void 0===e||!1===e)return!0;var i,o;1<(a=t.split("_")).length?0<(i=n.find(".mfp-"+a[0])).length&&("replaceWith"===(o=a[1])?i[0]!==e[0]&&i.replaceWith(e):"img"===o?i.is("img")?i.attr("src",e):i.replaceWith(d("<img>").attr("src",e).attr("class",i.attr("class"))):i.attr(a[1],e)):n.find(".mfp-"+t).html(e)})},_getScrollbarSize:function(){var t;return void 0===m.scrollbarSize&&((t=document.createElement("div")).style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(t),m.scrollbarSize=t.offsetWidth-t.clientWidth,document.body.removeChild(t)),m.scrollbarSize}},modules:[],open:function(t,e){return a(),(t=t?d.extend(!0,{},t):{}).isObj=!0,t.index=e||0,this.instance.open(t)},close:function(){return d.magnificPopup.instance&&d.magnificPopup.instance.close()},registerModule:function(t,e){e.options&&(d.magnificPopup.defaults[t]=e.options),d.extend(this.proto,e.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close"><svg width="30" height="30" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve"><path fill-rule="evenodd" clip-rule="evenodd" fill="#fff" d="M11.6,10.1l5.5-5.7c0.5-0.5,0.5-1.1,0-1.6c-0.5-0.5-1.1-0.5-1.6,0 l-5.5,5.6L4.4,2.8C4,2.4,3.3,2.4,2.8,2.8S2.4,4,2.8,4.4L8.4,10l-5.5,5.6c-0.5,0.5-0.5,1.1,0,1.6c0.5,0.5,1.1,0.5,1.6,0l5.5-5.6 l5.5,5.6c0.5,0.5,1.1,0.5,1.6,0c0.5-0.5,0.5-1.1,0-1.6C17,15.6,11.6,10.1,11.6,10.1z"></path></svg></button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},d.fn.magnificPopup=function(t){a();var e,i,o,n=d(this);return"string"==typeof t?"open"===t?(e=r?n.data("magnificPopup"):n[0].magnificPopup,i=parseInt(arguments[1],10)||0,o=e.items?e.items[i]:(o=n,(o=e.delegate?o.find(e.delegate):o).eq(i)),m._openClick({mfpEl:o},n,e)):m.isOpen&&m[t].apply(m,Array.prototype.slice.call(arguments,1
4)):(t=d.extend(!0,{},t),r?n.data("magnificPopup",t):n[0].magnificPopup=t,m.addGroup(n,t)),n};function s(){w&&(y.after(w.addClass(l)).detach(),w=null)}var l,y,w;d.magnificPopup.registerModule("inline",{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){m.types.push("inline"),c("Close.inline",function(){s()})},getInline:function(t,e){var i,o,n;return s(),t.src?(i=m.st.inline,(o=d(t.src)).length?((n=o[0].parentNode)&&n.tagName&&(y||(l=i.hiddenClass,y=u(l),l="mfp-"+l),w=o.after(y).detach().removeClass(l)),m.updateStatus("ready")):(m.updateStatus("error",i.tNotFound),o=d("<div>")),t.inlineElement=o):(m.updateStatus("ready"),m._parseMarkup(e,{},t),e)}}});function b(){x&&d(document.body).removeClass(x)}function i(){b(),m.req&&m.req.abort()}var x;d.magnificPopup.registerModule("ajax",{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){m.types.push("ajax"),x=m.st.ajax.cursor,c("Close.ajax",i),c("BeforeChange.ajax",i)},getAjax:function(o){x&&d(document.body).addClass(x),m.updateStatus("loading");var t=d.extend({url:o.src,success:function(t,e,i){t={data:t,xhr:i};p("ParseAjax",t),m.appendContent(d(t.data),"ajax"),o.finished=!0,b(),m._setFocus(),setTimeout(function(){m.wrap.addClass("mfp-ready")},16),m.updateStatus("ready"),p("AjaxContentAdded")},error:function(){b(),o.finished=o.loadError=!0,m.updateStatus("error",m.st.ajax.tError.replace("%url%",o.src))}},m.st.ajax.settings);return m.req=d.ajax(t),""}}});function _(t){var e;m.currTemplate.iframe&&(e=m.currTemplate.iframe.find("iframe")).length&&(t||(e[0].src="//about:blank"),m.isIE8)&&e.css("display",t?"block":"none")}function C(t){var e=m.items.length;return e-1<t?t-e:t<0?e+t:t}function I(t,e,i){return t.replace(/%curr%/gi,e+1).replace(/%total%/gi,i)}var z,S;d.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var t=m.st.image,e=".image";m.types.push("image"),c("Open"+e,function(){"image"===m.currItem.type&&t.cursor&&d(document.body).addClass(t.cursor)}),c("Close"+e,function(){t.cursor&&d(document.body).removeClass(t.cursor),v.off("resize.mfp")}),c("Resize"+e,m.resizeImage),m.isLowIE&&c("AfterChange",m.resizeImage)},resizeImage:function(){var t,e=m.currItem;e&&e.img&&m.st.image.verticalFit&&(t=0,m.isLowIE&&(t=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",m.wH-t))},_onImageHasSize:function(t){t.img&&(t.hasSize=!0,z&&clearInterval(z),t.isCheckingImgSize=!1,p("ImageHasSize",t),t.imgHidden)&&(m.content&&m.content.removeClass("mfp-loading"),t.imgHidden=!1)},findImageSize:function(e){function i(t){z&&clearInterval(z),z=setInterval(function(){0<n.naturalWidth?m._onImageHasSize(e):(200<o&&clearInterval(z),3==++o?i(10):40===o?i(50):100===o&&i(500))},t)}var o=0,n=e.img[0];i(1)},getImage:function(t,e){function i(){t&&(t.img[0].complete?(t.img.off(".mfploader"),t===m.currItem&&(m._onImageHasSize(t),m.updateStatus("ready")),t.hasSize=!0,t.loaded=!0,p("ImageLoadComplete")):++a<200?setTimeout(i,100):o())}function o(){t&&(t.img.off(".mfploader"),t===m.currItem&&(m._onImageHasSize(t),m.updateStatus("error",r.tError.replace("%url%",t.src))),t.hasSize=!0,t.loaded=!0,t.loadError=!0)}var n,a=0,r=m.st.image,s=e.find(".mfp-img");return s.length&&((n=document.createElement("img")).className="mfp-img",t.el&&t.el.find("img").length&&(n.alt=t.el.find("img").attr("alt")),t.img=d(n).on("load.mfploader",i).on("error.mfploader",o),n.src=t.src,s.is("img")&&(t.img=t.img.clone()),0<(n=t.img[0]).naturalWidth?t.hasSize=!0:n.width||(t.hasSize=!1)),m._parseMarkup(e,{title:(t=>{if(t.data&&void 0!==t.data.title)return t.data.title;var e=m.st.image.titleSrc;if(e){if("function"==typeof e)return e.call(m,t);if(t.el)return t.el.attr(e)||""}return""})(t),img_replaceWith:t.img},t),m.resizeImage(),t.hasSize?(z&&clearInterval(z),t.loadError?(e.addClass("mfp-loading"),m.updateStatus("error",r.tError.replace("%url%",t.src))):(e.removeClass("mfp-loading"),m.updateStatus("ready"))):(m.updateStatus("loading"),t.loading=!0,t.hasSize||(t.imgHidden=!0,e.addClass("mfp-loading"),m.findImageSize(t))),e}}}),d.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,e,i,o,n,a,r=m.st.zoom,s=".zoom";r.enabled&&m.supportsTransition&&(o=r.duration,n=function(t){var t=t.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),e="all "+r.duration/1e3+"s "+r.easing,i={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},o="transition";return i["-webkit-"+o]=i["-moz-"+o]=i["-o-"+o]=i[o]=e,t.css(i),t},a=function(){m.content.css("visibility","visible")},c("BuildControls"+s,function(){m._allowZoom()&&(clearTimeout(e),m.content.css("visibility","hidden"),(t=m._getItemToZoom())?((i=n(t)).css(m._getOffset()),m.wrap.append(i),e=setTimeout(function(){i.css(m._getOffset(!0)),e=setTimeout(function(){a(),setTimeout(function(){i.remove(),t=i=null,p("ZoomAnimationEnded")},16)},o)},16)):a())}),c("BeforeClose"+s,function(){if(m._allowZoom()){if(clearTimeout(e),m.st.removalDelay=o,!t){if(!(t=m._getItemToZoom()))return;i=n(t)}i.css(m._getOffset(!0)),m.wrap.append(i),m.content.css("visibility","hidden"),setTimeout(function(){i.css(m._getOffset())},16)}}),c("Close"+s,function(){m._allowZoom()&&(a(),i&&i.remove(),t=null)}))},_allowZoom:function(){return"image"===m.currItem.type},_getItemToZoom:function(){return!!m.currItem.hasSize&&m.currItem.img},_getOffset:function(t){var e=(t=t?m.currItem.img:m.st.zoom.opener(m.currItem.el||m.currItem)).offset(),i=parseInt(t.css("padding-top"),10),o=parseInt(t.css("padding-bottom"),10),t=(e.top-=d(window).scrollTop()-i,{width:t.width(),height:(r?t.innerHe
4ight():t[0].offsetHeight)-o-i});return(S=void 0===S?void 0!==document.createElement("p").style.MozTransform:S)?t["-moz-transform"]=t.transform="translate("+e.left+"px,"+e.top+"px)":(t.left=e.left,t.top=e.top),t}}}),d.magnificPopup.registerModule("iframe",{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen allow="autoplay"></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1&rel=0"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1&playsinline=0"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){m.types.push("iframe"),c("BeforeChange",function(t,e,i){e!==i&&("iframe"===e?_():"iframe"===i&&_(!0))}),c("Close.iframe",function(){_()})},getIframe:function(t,e){var i=t.src,o=m.st.iframe,n=(d.each(o.patterns,function(){if(-1<i.indexOf(this.index))return this.id&&(i="string"==typeof this.id?i.substr(i.lastIndexOf(this.id)+this.id.length,i.length):this.id.call(this,i)),i=this.src.replace("%id%",i),!1}),{});return o.srcAction&&(n[o.srcAction]=i),m._parseMarkup(e,n,t),m.updateStatus("ready"),e}}});d.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var a=m.st.gallery,t=".mfp-gallery";if(m.direction=!0,!a||!a.enabled)return!1;g+=" mfp-gallery",c("Open"+t,function(){a.navigateByImgClick&&m.wrap.on("click"+t,".mfp-img",function(){if(1<m.items.length)return m.next(),!1}),h.on("keydown"+t,function(t){37===t.keyCode?m.prev():39===t.keyCode&&m.next()})}),c("UpdateStatus"+t,function(t,e){e.text&&(e.text=I(e.text,m.currItem.index,m.items.length))}),c("MarkupParse"+t,function(t,e,i,o){var n=m.items.length;i.counter=1<n?I(a.tCounter,o.index,n):""}),c("BuildControls"+t,function(){var t,e;1<m.items.length&&a.arrows&&!m.arrowLeft&&(e=a.arrowMarkup,t=m.arrowLeft=d(e.replace(/%title%/gi,a.tPrev).replace(/%dir%/gi,"left")).addClass("mfp-prevent-close"),e=m.arrowRight=d(e.replace(/%title%/gi,a.tNext).replace(/%dir%/gi,"right")).addClass("mfp-prevent-close"),t.on("click",function(){m.prev()}),e.on("click",function(){m.next()}),m.container.append(t.add(e)))}),c("Change"+t,function(){m._preloadTimeout&&clearTimeout(m._preloadTimeout),m._preloadTimeout=setTimeout(function(){m.preloadNearbyImages(),m._preloadTimeout=null},16)}),c("Close"+t,function(){h.off(t),m.wrap.off("click"+t),m.arrowRight=m.arrowLeft=null})},next:function(){m.direction=!0,m.index=C(m.index+1),m.updateItemHTML()},prev:function(){m.direction=!1,m.index=C(m.index-1),m.updateItemHTML()},goTo:function(t){m.direction=t>=m.index,m.index=t,m.updateItemHTML()},preloadNearbyImages:function(){for(var t=m.st.gallery.preload,e=Math.min(t[0],m.items.length),i=Math.min(t[1],m.items.length),o=1;o<=(m.direction?i:e);o++)m._preloadItem(m.index+o);for(o=1;o<=(m.direction?e:i);o++)m._preloadItem(m.index-o)},_preloadItem:function(t){var e;t=C(t),m.items[t].preloaded||((e=m.items[t]).parsed||(e=m.parseEl(t)),p("LazyLoad",e),"image"===e.type&&(e.img=d('<img class="mfp-img" />').on("load.mfploader",function(){e.hasSize=!0}).on("error.mfploader",function(){e.hasSize=!0,e.loadError=!0,p("LazyLoadError",e)}).attr("src",e.src)),e.preloaded=!0)}}}),d.magnificPopup.registerModule("retina",{options:{replaceSrc:function(t){return t.src.replace(/\.\w+$/,function(t){return"@2x"+t})},ratio:1},proto:{initRetina:function(){var i,o;1<window.devicePixelRatio&&(i=m.st.retina,o=i.ratio,1<(o=isNaN(o)?o():o))&&(c("ImageHasSize.retina",function(t,e){e.img.css({"max-width":e.img[0].naturalWidth/o,width:"100%"})}),c("ElementParse.retina",function(t,e){e.src=i.replaceSrc(e,o)}))}}}),a()}),(u=>{var i=!0;u.flexslider=function(f,t){var m=u(f);void 0===t.rtl&&"rtl"==u("html").attr("dir")&&(t.rtl=!0),m.vars=u.extend({},u.flexslider.defaults,t);var e,r=m.vars.namespace,h=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,s=("ontouchstart"in window||h||window.DocumentTouch&&document instanceof DocumentTouch)&&m.vars.touch,a="click touchend MSPointerUp keyup",l="",g="vertical"===m.vars.direction,v=m.vars.reverse,y=0<m.vars.itemWidth,w="fade"===m.vars.animation,d=""!==m.vars.asNavFor,c={};u.data(f,"flexslider",m),c={init:function(){m.animating=!1,m.currentSlide=parseInt(m.vars.startAt||0,10),isNaN(m.currentSlide)&&(m.currentSlide=0),m.animatingTo=m.currentSlide,m.atEnd=0===m.currentSlide||m.currentSlide===m.last,m.containerSelector=m.vars.selector.substr(0,m.vars.selector.search(" ")),m.slides=u(m.vars.selector,m),m.container=u(m.containerSelector,m),m.count=m.slides.length,m.syncExists=0<u(m.vars.sync).length,"slide"===m.vars.animation&&(m.vars.animation="swing"),m.prop=g?"top":m.vars.rtl?"marginRight":"marginLeft",m.args={},m.manualPause=!1,m.stopped=!1,m.started=!1,m.startTimeout=null,m.transitions=!m.vars.video&&!w&&m.vars.useCSS&&(()=>{var t,e=document.createElement("div"),i=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(t in i)if(void 0!==e.style[i[t]])return m.pfx=i[t].replace("Perspective","").toLowerCase(),m.prop="-"+m.pfx+"-transform",!0;return!1})(),m.isFirefox=-1<navigator.userAgent.toLowerCase().indexOf("firefox"),(m.ensureAnimationEnd="")!==m.vars.controlsContainer&&(m.controlsContainer=0<u(m.vars.controlsContainer).length&&u(m.vars.controlsContainer)),""!==m.vars.manualControls&&(m.manualControls=0<u(m.vars.manualControls).length&&u(m.vars.manualControls)),""!==m.vars.customDirectionNav&&(m.customDirectionNav=2===u(m.vars.customDirectionNav).length&&u(m.vars.customDirectionNav)),m.vars.randomize&&(m.slides.sort(function(){return Math.round(Math.random())-.5}),m.container.empty().append(m.slides)),m.doMath(),m.setup("init"),m.vars.controlNav&&c.controlNav.setup(),m.vars.directionNav&&c.directionNav.setup(),m.vars.keyboard&&(1===u(m.containerSelector).length||m.vars.multipleKeyboard)&&u(document).on("keyup",function(t){var t=t.keyCode;m.animating||39!==t&&37!==t||(t=m.vars.rtl?37===t?m.getTarget("next"):39===t&&m.getTarget("prev"):39===t?m.getTarget("next"):37===t&&m.getTarget("prev"),m.flexAnimate(t,m.vars.pauseOnAction))}
4),m.vars.mousewheel&&m.on("mousewheel",function(t,e,i,o){t.preventDefault();t=e<0?m.getTarget("next"):m.getTarget("prev");m.flexAnimate(t,m.vars.pauseOnAction)}),m.vars.pausePlay&&c.pausePlay.setup(),m.vars.slideshow&&m.vars.pauseInvisible&&c.pauseInvisible.init(),m.vars.slideshow&&(m.vars.pauseOnHover&&m.hover(function(){m.manualPlay||m.manualPause||m.pause()},function(){m.manualPause||m.manualPlay||m.stopped||m.play()}),m.vars.pauseInvisible&&c.pauseInvisible.isHidden()||(0<m.vars.initDelay?m.startTimeout=setTimeout(m.play,m.vars.initDelay):m.play())),d&&c.asNav.setup(),s&&m.vars.touch&&c.touch(),w&&!m.vars.smoothHeight||u(window).on("resize orientationchange focus",c.resize),m.find("img").attr("draggable","false"),setTimeout(function(){m.vars.start(m)},200)},asNav:{setup:function(){m.asNav=!0,m.animatingTo=Math.floor(m.currentSlide/m.move),m.currentItem=m.currentSlide,m.slides.removeClass(r+"active-slide").eq(m.currentItem).addClass(r+"active-slide"),h?(f._slider=m).slides.each(function(){this._gesture=new MSGesture,(this._gesture.target=this).addEventListener("MSPointerDown",function(t){t.preventDefault(),t.currentTarget._gesture&&t.currentTarget._gesture.addPointer(t.pointerId)},!1),this.addEventListener("MSGestureTap",function(t){t.preventDefault();var t=u(this),e=t.index();u(m.vars.asNavFor).data("flexslider").animating||t.hasClass("active")||(m.direction=m.currentItem<e?"next":"prev",m.flexAnimate(e,m.vars.pauseOnAction,!1,!0,!0))})}):m.slides.on(a,function(t){t.preventDefault();var t=u(this),e=t.index();(m.vars.rtl?-1*(t.offset().right-u(m).scrollLeft()):t.offset().left-u(m).scrollLeft())<=0&&t.hasClass(r+"active-slide")?m.flexAnimate(m.getTarget("prev"),!0):u(m.vars.asNavFor).data("flexslider").animating||t.hasClass(r+"active-slide")||(m.direction=m.currentItem<e?"next":"prev",m.flexAnimate(e,m.vars.pauseOnAction,!1,!0,!0))})}},controlNav:{setup:function(){m.manualControls?c.controlNav.setupManual():c.controlNav.setupPaging()},setupPaging:function(){var t,e="thumbnails"===m.vars.controlNav?"control-thumbs":"control-paging",i=1;if(m.controlNavScaffold=u('<ol class="'+r+"control-nav "+r+e+'"></ol>'),1<m.pagingCount)for(var o=0;o<m.pagingCount;o++){void 0===(n=m.slides.eq(o)).attr("data-thumb-alt")&&n.attr("data-thumb-alt",""),t=u("<a></a>").attr("href","#").text(i),"thumbnails"===m.vars.controlNav&&(t=u("<img/>").attr("src",n.attr("data-thumb"))),""!==n.attr("data-thumb-alt")&&t.attr("alt",n.attr("data-thumb-alt")),"thumbnails"===m.vars.controlNav&&!0===m.vars.thumbCaptions&&""!==(n=n.attr("data-thumbcaption"))&&void 0!==n&&(n=u("<span></span>").addClass(r+"caption").text(n),t.append(n));var n=u("<li>");t.appendTo(n),n.append("</li>"),m.controlNavScaffold.append(n),i++}(m.controlsContainer?u(m.controlsContainer):m).append(m.controlNavScaffold),c.controlNav.set(),c.controlNav.active(),m.controlNavScaffold.delegate("a, img",a,function(t){var e,i;t.preventDefault(),""!==l&&l!==t.type||(e=u(this),i=m.controlNav.index(e),e.hasClass(r+"active"))||(m.direction=i>m.currentSlide?"next":"prev",m.flexAnimate(i,m.vars.pauseOnAction)),""===l&&(l=t.type),c.setToClearWatchedEvent()})},setupManual:function(){m.controlNav=m.manualControls,c.controlNav.active(),m.controlNav.on(a,function(t){var e,i;t.preventDefault(),""!==l&&l!==t.type||(e=u(this),i=m.controlNav.index(e),e.hasClass(r+"active"))||(i>m.currentSlide?m.direction="next":m.direction="prev",m.flexAnimate(i,m.vars.pauseOnAction)),""===l&&(l=t.type),c.setToClearWatchedEvent()})},set:function(){var t="thumbnails"===m.vars.controlNav?"img":"a";m.controlNav=u("."+r+"control-nav li "+t,m.controlsContainer||m)},active:function(){m.controlNav.removeClass(r+"active").eq(m.animatingTo).addClass(r+"active")},update:function(t,e){1<m.pagingCount&&"add"===t?m.controlNavScaffold.append(u('<li><a href="#">'+m.count+"</a></li>")):(1===m.pagingCount?m.controlNavScaffold.find("li"):m.controlNav.eq(e).closest("li")).remove(),c.controlNav.set(),1<m.pagingCount&&m.pagingCount!==m.controlNav.length?m.update(e,t):c.controlNav.active()}},directionNav:{setup:function(){var t=u('<ul class="'+r+'direction-nav"><li class="'+r+'nav-prev"><a class="'+r+'prev" href="#">'+m.vars.prevText+'</a></li><li class="'+r+'nav-next"><a class="'+r+'next" href="#">'+m.vars.nextText+"</a></li></ul>");m.customDirectionNav?m.directionNav=m.customDirectionNav:m.controlsContainer?(u(m.controlsContainer).append(t),m.directionNav=u("."+r+"direction-nav li a",m.controlsContainer)):(m.append(t),m.directionNav=u("."+r+"direction-nav li a",m)),c.directionNav.update(
4),m.directionNav.on(a,function(t){var e;t.preventDefault(),""!==l&&l!==t.type||(e=u(this).hasClass(r+"next")?m.getTarget("next"):m.getTarget("prev"),m.flexAnimate(e,m.vars.pauseOnAction)),""===l&&(l=t.type),c.setToClearWatchedEvent()})},update:function(){var t=r+"disabled";1===m.pagingCount?m.directionNav.addClass(t).attr("tabindex","-1"):m.vars.animationLoop?m.directionNav.removeClass(t).removeAttr("tabindex"):0===m.animatingTo?m.directionNav.removeClass(t).filter("."+r+"prev").addClass(t).attr("tabindex","-1"):m.animatingTo===m.last?m.directionNav.removeClass(t).filter("."+r+"next").addClass(t).attr("tabindex","-1"):m.directionNav.removeClass(t).removeAttr("tabindex")}},pausePlay:{setup:function(){var t=u('<div class="'+r+'pauseplay"><a href="#"></a></div>');m.controlsContainer?(m.controlsContainer.append(t),m.pausePlay=u("."+r+"pauseplay a",m.controlsContainer)):(m.append(t),m.pausePlay=u("."+r+"pauseplay a",m)),c.pausePlay.update(m.vars.slideshow?r+"pause":r+"play"),m.pausePlay.on(a,function(t){t.preventDefault(),""!==l&&l!==t.type||(u(this).hasClass(r+"pause")?(m.manualPause=!0,m.manualPlay=!1,m.pause()):(m.manualPause=!1,m.manualPlay=!0,m.play())),""===l&&(l=t.type),c.setToClearWatchedEvent()})},update:function(t){"play"===t?m.pausePlay.removeClass(r+"pause").addClass(r+"play").html(m.vars.playText):m.pausePlay.removeClass(r+"play").addClass(r+"pause").html(m.vars.pauseText)}},touch:function(){var o,n,a,r,s,l,d,c,u=!1,e=0,i=0,p=0;h?(f.style.msTouchAction="none",f._gesture=new MSGesture,(f._gesture.target=f).addEventListener("MSPointerDown",function(t){t.stopPropagation(),m.animating?t.preventDefault():(m.pause(),f._gesture.addPointer(t.pointerId),p=0,r=g?m.h:m.w,l=Number(new Date),a=y&&v&&m.animatingTo===m.last?0:y&&v?m.limit-(m.itemW+m.vars.itemMargin)*m.move*m.animatingTo:y&&m.currentSlide===m.last?m.limit:y?(m.itemW+m.vars.itemMargin)*m.move*m.currentSlide:v?(m.last-m.currentSlide+m.cloneOffset)*r:(m.currentSlide+m.cloneOffset)*r)},!1),f._slider=m,f.addEventListener("MSGestureChange",function(t){t.stopPropagation();var e,i,o=t.target._slider;o&&(e=-t.translationX,i=-t.translationY,p+=g?i:e,s=(o.vars.rtl?-1:1)*p,u=g?Math.abs(p)<Math.abs(-e):Math.abs(p)<Math.abs(-i),t.detail===t.MSGESTURE_FLAG_INERTIA?setImmediate(function(){f._gesture.stop()}):(!u||500<Number(new Date)-l)&&(t.preventDefault(),!w)&&o.transitions&&(o.vars.animationLoop||(s=p/(0===o.currentSlide&&p<0||o.currentSlide===o.last&&0<p?Math.abs(p)/r+2:1)),o.setProps(a+s,"setTouch")))},!1),f.addEventListener("MSGestureEnd",function(t){t.stopPropagation();var e,i,t=t.target._slider;t&&(t.animatingTo!==t.currentSlide||u||null===s||(i=0<(e=v?-s:s)?t.getTarget("next"):t.getTarget("prev"),t.canAdvance(i)&&(Number(new Date)-l<550&&50<Math.abs(e)||Math.abs(e)>r/2)?t.flexAnimate(i,t.vars.pauseOnAction):w||t.flexAnimate(t.currentSlide,t.vars.pauseOnAction,!0)),a=s=n=o=null,p=0)},!1)):(d=function(t){e=t.touches[0].pageX,i=t.touches[0].pageY,s=g?o-i:(m.vars.rtl?-1:1)*(o-e),(!(u=g?Math.abs(s)<Math.abs(e-n):Math.abs(s)<Math.abs(i-n))||500<Number(new Date)-l)&&(t.preventDefault(),!w)&&m.transitions&&(m.vars.animationLoop||(s/=0===m.currentSlide&&s<0||m.currentSlide===m.last&&0<s?Math.abs(s)/r+2:1),m.setProps(a+s,"setTouch"))},c=function(t){var e,i;f.removeEventListener("touchmove",d,!1),m.animatingTo!==m.currentSlide||u||null===s||(i=0<(e=v?-s:s)?m.getTarget("next"):m.getTarget("prev"),m.canAdvance(i)&&(Number(new Date)-l<550&&50<Math.abs(e)||Math.abs(e)>r/2)?m.flexAnimate(i,m.vars.pauseOnAction):w||m.flexAnimate(m.currentSlide,m.vars.pauseOnAction,!0)),f.removeEventListener("touchend",c,!1),a=s=n=o=null},f.addEventListener("touchstart",function(t){m.animating?t.preventDefault():!window.navigator.msPointerEnabled&&1!==t.touches.length||(m.pause(),r=g?m.h:m.w,l=Number(new Date),e=t.touches[0].pageX,i=t.touches[0].pageY,a=y&&v&&m.animatingTo===m.last?0:y&&v?m.limit-(m.itemW+m.vars.itemMargin)*m.move*m.animatingTo:y&&m.currentSlide===m.last?m.limit:y?(m.itemW+m.vars.itemMargin)*m.move*m.currentSlide:v?(m.last-m.currentSlide+m.cloneOffset)*r:(m.currentSlide+m.cloneOffset)*r,o=g?i:e,n=g?e:i,f.addEventListener("touchmove",d,!1),f.addEventListener("touchend",c,!1))},!1))},resize:function(){!m.animating&&m.is(":visible")&&(y||m.doMath(),w?c.smoothHeight():y?(m.slides.width(m.computedW),m.update(m.pagingCount),m.setProps()):g?(m.viewport.height(m.h),m.setProps(m.h,"setTotal")):(m.vars.smoothHeight&&c.smoothHeight(),m.newSlides.width(m.computedW),m.setProps(m.computedW,"setTotal")))},smoothHeight:function(t){var e;g&&!w||(e=w?m:m.viewport,t?e.animate({height:m.slides.eq(m.animatingTo).innerHeight()}
4,t):e.innerHeight(m.slides.eq(m.animatingTo).innerHeight()))},sync:function(t){var e=u(m.vars.sync).data("flexslider"),i=m.animatingTo;switch(t){case"animate":e.flexAnimate(i,m.vars.pauseOnAction,!1,!0);break;case"play":e.playing||e.asNav||e.play();break;case"pause":e.pause()}},uniqueID:function(t){return t.filter("[id]").add(t.find("[id]")).each(function(){var t=u(this);t.attr("id",t.attr("id")+"_clone")}),t},pauseInvisible:{visProp:null,init:function(){var t=c.pauseInvisible.getHiddenProp();t&&(t=t.replace(/[H|h]idden/,"")+"visibilitychange",document.addEventListener(t,function(){c.pauseInvisible.isHidden()?m.startTimeout?clearTimeout(m.startTimeout):m.pause():!m.started&&0<m.vars.initDelay?setTimeout(m.play,m.vars.initDelay):m.play()}))},isHidden:function(){var t=c.pauseInvisible.getHiddenProp();return!!t&&document[t]},getHiddenProp:function(){var t=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var e=0;e<t.length;e++)if(t[e]+"Hidden"in document)return t[e]+"Hidden";return null}},setToClearWatchedEvent:function(){clearTimeout(e),e=setTimeout(function(){l=""},3e3)}},m.flexAnimate=function(t,e,i,o,n){if(m.vars.animationLoop||t===m.currentSlide||(m.direction=t>m.currentSlide?"next":"prev"),d&&1===m.pagingCount&&(m.direction=m.currentItem<t?"next":"prev"),!m.animating&&(m.canAdvance(t,n)||i)&&m.is(":visible")){if(d&&o){i=u(m.vars.asNavFor).data("flexslider");if(m.atEnd=0===t||t===m.count-1,i.flexAnimate(t,!0,!1,!0,n),m.direction=m.currentItem<t?"next":"prev",i.direction=m.direction,Math.ceil((t+1)/m.visible)-1===m.currentSlide||0===t)return m.currentItem=t,m.slides.removeClass(r+"active-slide").eq(t).addClass(r+"active-slide"),!1;m.currentItem=t,m.slides.removeClass(r+"active-slide").eq(t).addClass(r+"active-slide"),t=Math.floor(t/m.visible)}var a;m.animating=!0,m.animatingTo=t,e&&m.pause(),m.vars.before(m),m.syncExists&&!n&&c.sync("animate"),m.vars.controlNav&&c.controlNav.active(),y||m.slides.removeClass(r+"active-slide").eq(t).addClass(r+"active-slide"),m.atEnd=0===t||t===m.last,m.vars.directionNav&&c.directionNav.update(),t===m.last&&(m.vars.end(m),m.vars.animationLoop||m.pause()),w?s?(m.slides.eq(m.currentSlide).css({opacity:0,zIndex:1}),m.slides.eq(t).css({opacity:1,zIndex:2}),m.wrapup(a)):(m.slides.eq(m.currentSlide).css({zIndex:1}).animate({opacity:0}
4,m.vars.animationSpeed,m.vars.easing),m.slides.eq(t).css({zIndex:2}).animate({opacity:1},m.vars.animationSpeed,m.vars.easing,m.wrapup)):(a=g?m.slides.filter(":first").height():m.computedW,e=y?(o=m.vars.itemMargin,(i=(m.itemW+o)*m.move*m.animatingTo)>m.limit&&1!==m.visible?m.limit:i):0===m.currentSlide&&t===m.count-1&&m.vars.animationLoop&&"next"!==m.direction?v?(m.count+m.cloneOffset)*a:0:m.currentSlide===m.last&&0===t&&m.vars.animationLoop&&"prev"!==m.direction?v?0:(m.count+1)*a:v?(m.count-1-t+m.cloneOffset)*a:(t+m.cloneOffset)*a,m.setProps(e,"",m.vars.animationSpeed),m.transitions?(m.vars.animationLoop&&m.atEnd||(m.animating=!1,m.currentSlide=m.animatingTo),m.container.off("webkitTransitionEnd transitionend"),m.container.on("webkitTransitionEnd transitionend",function(){clearTimeout(m.ensureAnimationEnd),m.wrapup(a)}),clearTimeout(m.ensureAnimationEnd),m.ensureAnimationEnd=setTimeout(function(){m.wrapup(a)},m.vars.animationSpeed+100)):m.container.animate(m.args,m.vars.animationSpeed,m.vars.easing,function(){m.wrapup(a)})),m.vars.smoothHeight&&c.smoothHeight(m.vars.animationSpeed)}},m.wrapup=function(t){w||y||(0===m.currentSlide&&m.animatingTo===m.last&&m.vars.animationLoop?m.setProps(t,"jumpEnd"):m.currentSlide===m.last&&0===m.animatingTo&&m.vars.animationLoop&&m.setProps(t,"jumpStart")),m.animating=!1,m.currentSlide=m.animatingTo,m.vars.after(m)},m.animateSlides=function(){!m.animating&&i&&m.flexAnimate(m.getTarget("next"))},m.pause=function(){clearInterval(m.animatedSlides),m.animatedSlides=null,m.playing=!1,m.vars.pausePlay&&c.pausePlay.update("play"),m.syncExists&&c.sync("pause")},m.play=function(){m.playing&&clearInterval(m.animatedSlides),m.animatedSlides=m.animatedSlides||setInterval(m.animateSlides,m.vars.slideshowSpeed),m.started=m.playing=!0,m.vars.pausePlay&&c.pausePlay.update("pause"),m.syncExists&&c.sync("play")},m.stop=function(){m.pause(),m.stopped=!0},m.canAdvance=function(t,e){var i=d?m.pagingCount-1:m.last;return!(!e&&(!d||m.currentItem!==m.count-1||0!==t||"prev"!==m.direction)&&(d&&0===m.currentItem&&t===m.pagingCount-1&&"next"!==m.direction||t===m.currentSlide&&!d||!m.vars.animationLoop&&(m.atEnd&&0===m.currentSlide&&t===i&&"next"!==m.direction||m.atEnd&&m.currentSlide===i&&0===t&&"next"===m.direction)))},m.getTarget=function(t){return"next"===(m.direction=t)?m.currentSlide===m.last?0:m.currentSlide+1:0===m.currentSlide?m.last:m.currentSlide-1},m.setProps=function(t,e,i){o=t||(m.itemW+m.vars.itemMargin)*m.move*m.animatingTo;var o,n=(()=>{if(y)return"setTouch"===e?t:v&&m.animatingTo===m.last?0:v?m.limit-(m.itemW+m.vars.itemMargin)*m.move*m.animatingTo:m.animatingTo===m.last?m.limit:o;switch(e){case"setTotal":return v?(m.count-1-m.currentSlide+m.cloneOffset)*t:(m.currentSlide+m.cloneOffset)*t;case"setTouch":return t;case"jumpEnd":return v?t:m.count*t;case"jumpStart":return v?m.count*t:t;default:return t}})()*(m.vars.rtl?1:-1)+"px";m.transitions&&(n=m.isFirefox?g?"translate3d(0,"+n+",0)":"translate3d("+parseInt(n)+"px,0,0)":g?"translate3d(0,"+n+",0)":"translate3d("+(m.vars.rtl?-1:1)*parseInt(n)+"px,0,0)",m.container.css("-"+m.pfx+"-transition-duration",i=void 0!==i?i/1e3+"s":"0s"),m.container.css("transition-duration",i)),m.args[m.prop]=n,!m.transitions&&void 0!==i||m.container.css(m.args),m.container.css("transform",n)},m.setup=function(t){var e,i;w?(m.vars.rtl?m.slides.css({width:"100%",float:"right",marginLeft:"-100%",position:"relative"}):m.slides.css({width:"100%",float:"left",marginRight:"-100%",position:"relative"}),"init"===t&&(s?m.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+m.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(m.currentSlide).css({opacity:1,zIndex:2}):0==m.vars.fadeFirstSlide?m.slides.css({opacity:0,display:"block",zIndex:1}).eq(m.currentSlide).css({zIndex:2}).css({opacity:1}):m.slides.css({opacity:0,display:"block",zIndex:1}).eq(m.currentSlide).css({zIndex:2}).animate({opacity:1},m.vars.animationSpeed,m.vars.easing)),m.vars.smoothHeight&&c.smoothHeight()):("init"===t&&(m.viewport=u('<div class="'+r+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(m).append(m.container),m.cloneCount=0,m.cloneOffset=0,v)&&(i=u.makeArray(m.slides).reverse(),m.slides=u(i),m.container.empty().append(m.slides)),m.vars.animationLoop&&!y&&(m.cloneCount=2,m.cloneOffset=1,"init"!==t&&m.container.find(".clone").remove(),m.container.append(c.uniqueID(m.slides.first().clone().addClass("clone")).attr("aria-hidden","true")).prepend(c.uniqueID(m.slides.last().clone().addClass("clone")).attr("aria-hidden","true"))),m.newSlides=u(m.vars.selector,m),e=v?m.count-1-m.currentSlide+m.cloneOffset:m.currentSlide+m.cloneOffset,g&&!y?(m.container.height(200*(m.count+m.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){m.newSlides.css({display:"block"}),m.doMath(),m.viewport.height(m.h),m.setProps(e*m.h,"init")},"init"===t?100:0)):(m.container.width(200*(m.count+m.cloneCount)+"%"),m.setProps(e*m.computedW,"init"),setTimeout(function(){m.doMath(),m.vars.rtl&&m.isFirefox?m.newSlides.css({width:m.computedW,marginRight:m.computedM,float:"right",display:"block"}):m.newSlides.css({width:m.computedW,marginRight:m.computedM,float:"left",display:"block"}),m.vars.smoothHeight&&c.smoothHeight()},"init"===t?100:0))),y||m.slides.removeClass(r+"active-slide").eq(m.currentSlide).addClass(r+"active-slide"),m.vars.init(m)},m.doMath=function(){var t=m.slides.first(),e=m.vars.itemMargin,i=m.vars.minItems,o=m.vars.maxItems;m.w=(void 0===m.viewport?m:m.viewport).width(),m.isFirefox&&(m.w=m.width()),m.h=t.height(),m.boxPadding=t.outerWidth()-t.width(),y?(m.itemT=m.vars.itemWidth+e,m.itemM=e,m.minW=i?i*m.itemT:m.w,m.maxW=o?o*m.itemT-e:m.w,m.itemW=m.minW>m.w?(m.w-e*(i-1))/i:m.maxW<m.w?(m.w-e*(o-1))/o:m.vars.itemWidth>m.w?m.w:m.vars.itemWidth,m.visible=Math.floor(m.w/m.itemW),m.move=0<m.vars.move&&m.vars.move<m.visible?m.vars.move:m.visible,m.pagingCount=Math.ceil((m.count-m.visible)/m.move+1),m.last=m.pagingCount-1,m.limit=1===m.pagingCount?0:m.vars.itemWidth>m.w?m.itemW*(m.count-1)+e*(m.count-1):(m.itemW+e)*m.count-m.w-e):(m.itemW=m.w,m.itemM=e,m.pagingCount=m.count,m.last=m.count-1),m.computedW=m.itemW-m.boxPadding,m.computedM=m.itemM},m.update=function(t,e){m.doMath(),y||(t<m.currentSlide?m.currentSlide+=1:t<=m.currentSlide&&0!==t&&--m.currentSlide,m.animatingTo=m.currentSlide),m.vars.controlNav&&!m.manualControls&&("add"===e&&!y||m.pagingCount>m.controlNav.length?c.controlNav.update("add"):("remove"===e&&!y||m.pagingCount<m.controlNav.length)&&(y&&m.currentSlide>m.last&&(--m.currentSlide,--m.animatingTo),c.controlNav.update("remove",m.last))),m.vars.directionNav&&c.directionNav.update(
4)},m.addSlide=function(t,e){t=u(t);m.count+=1,m.last=m.count-1,g&&v?void 0!==e?m.slides.eq(m.count-e).after(t):m.container.prepend(t):void 0!==e?m.slides.eq(e).before(t):m.container.append(t),m.update(e,"add"),m.slides=u(m.vars.selector+":not(.clone)",m),m.setup(),m.vars.added(m)},m.removeSlide=function(t){var e=isNaN(t)?m.slides.index(u(t)):t;--m.count,m.last=m.count-1,(isNaN(t)?u(t,m.slides):g&&v?m.slides.eq(m.last):m.slides.eq(t)).remove(),m.doMath(),m.update(e,"remove"),m.slides=u(m.vars.selector+":not(.clone)",m),m.setup(),m.vars.removed(m)},c.init()},u(window).on("blur",function(t){i=!1}).on("focus",function(t){i=!0}),u.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,fadeFirstSlide:!0,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",customDirectionNav:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,isFirefox:!1,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){},rtl:!1},u.fn.flexslider=function(i){if("object"==typeof(i=void 0===i?{}:i))return this.each(function(){var t=u(this),e=i.selector||".slides > li",e=t.find(e);1===e.length&&!1===i.allowOneSlide||0===e.length?(e.fadeIn(400),i.start&&i.start(t)):void 0===t.data("flexslider")&&new u.flexslider(this,i)});var t=u(this).data("flexslider");switch(i){case"play":t.play();break;case"pause":t.pause();break;case"stop":t.stop();break;case"next":t.flexAnimate(t.getTarget("next"),!0);break;case"prev":case"previous":t.flexAnimate(t.getTarget("prev"),!0);break;default:"number"==typeof i&&t.flexAnimate(i,!0)}}})(jQuery),((e,i)=>{"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(t){return i(e,t)}):"object"==typeof module&&module.exports?module.exports=i(e,require("jquery")):e.jQueryBridget=i(e,e.jQuery)})(window,function(t,e){function i(l,d,c){(c=c||e||t.jQuery)&&(d.prototype.option||(d.prototype.option=function(t){c.isPlainObject(t)&&(this.options=c.extend(!0,this.options,t))}),c.fn[l]=function(t){var e,o,n,a,r,s;return"string"==typeof t?(e=u.call(arguments,1),n=e,r="$()."+l+'("'+(o=t)+'")',(e=this).each(function(t,e){var i,e=c.data(e,l);e?(i=e[o])&&"_"!=o.charAt(0)?(i=i.apply(e,n),a=void 0===a?i:a):p(r+" is not a valid method"):p(l+" not initialized. Cannot call methods, i.e. "+r)}),void 0!==a?a:e):(s=t,this.each(function(t,e){var i=c.data(e,l);i?(i.option(s),i._init()):(i=new d(e,s),c.data(e,l,i))}),this)},o(c))}function o(t){t&&!t.bridget&&(t.bridget=i)}var u=Array.prototype.slice,n=t.console,p=void 0===n?function(){}:function(t){n.error(t)};return o(e||t.jQuery),i}),((t,e)=>{"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()})("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){var i;if(t&&e)return-1==(i=(i=this._events=this._events||{})[t]=i[t]||[]).indexOf(e)&&i.push(e),this},e.once=function(t,e){var i;if(t&&e)return this.on(t,e),((i=this._onceEvents=this._onceEvents||{})[t]=i[t]||{})[e]=!0,this},e.off=function(t,e){t=this._events&&this._events[t];if(t&&t.length)return-1!=(e=t.indexOf(e))&&t.splice(e,1),this},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var o=this._onceEvents&&this._onceEvents[t],n=0;n<i.length;n++){var a=i[n];o&&o[a]&&(this.off(t,a),delete o[a]),a.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),((t,e)=>{"function"==typeof define&&define.amd?define("get-size/get-size",e):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()})(window,function(){function g(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}function v(t){t=getComputedStyle(t);return t||e("Style returned "+t+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),t}function y(t){if(_||(_=!0,(c=document.createElement("div")).style.width="200px",c.style.padding="1px 2px 3px 4px",c.style.borderStyle="solid",c.style.borderWidth="1px 2px 3px 4px",c.style.boxSizing="border-box",(d=document.body||document.documentElement).appendChild(c),a=v(c),w=200==Math.round(g(a.width)),y.isBoxSizeOuter=w,d.removeChild(c)),(t="string"==typeof t?document.querySelector(t):t)&&"object"==typeof t&&t.nodeType){var e=v(t);if("none"==e.display){for(var i={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},o=0;o<x;o++)i[b[o]]=0;return i}var n={};n.width=t.offsetWidth,n.height=t.offsetHeight;for(var a=n.isBorderBox="border-box"==e.boxSizing,r=0;r<x;r++){var s=b[r],l=e[s],l=parseFloat(l);n[s]=isNaN(l)?0:l}var d=n.paddingLeft+n.paddingRight,c=n.paddingTop+n.paddingBottom,t=n.marginLeft+n.marginRight,u=n.marginTop+n.marginBottom,p=n.borderLeftWidth+n.borderRightWidth,f=n.borderTopWidth+n.borderBottomWidth,m=a&&w,h=g(e.width),h=(!1!==h&&(n.width=h+(m?0:d+p)),g(e.height));return!1!==h&&(n.height=h+(m?0:c+f)),n.innerWidth=n.width-(d+p),n.innerHeight=n.height-(c+f),n.outerWidth=n.width+t,n.outerHeight=n.height+u,n}var c,d,a}var w,e="undefined"==typeof console?function(){}:function(t){console.error(t)},b=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],x=b.length,_=!1;return y}),((t,e)=>{"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()})(window,function(){var i=(()=>{var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var o=e[i]+"MatchesSelector";if(t[o])return o}})();return function(t,e){return t[i](e)}}),((e,i)=>{"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["de
4sandro-matches-selector/matches-selector"],function(t){return i(e,t)}):"object"==typeof module&&module.exports?module.exports=i(e,require("desandro-matches-selector")):e.fizzyUIUtils=i(e,e.matchesSelector)})(window,function(i,a){var l={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e}},e=Array.prototype.slice,d=(l.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?e.call(t):[t]},l.removeFrom=function(t,e){e=t.indexOf(e);-1!=e&&t.splice(e,1)},l.getParent=function(t,e){for(;t.parentNode&&t!=document.body;)if(a(t=t.parentNode,e))return t},l.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},l.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.filterFindElements=function(t,o){t=l.makeArray(t);var n=[];return t.forEach(function(t){if(t instanceof HTMLElement)if(o){a(t,o)&&n.push(t);for(var e=t.querySelectorAll(o),i=0;i<e.length;i++)n.push(e[i])}else n.push(t)}),n},l.debounceMethod=function(t,e,o){o=o||100;var n=t.prototype[e],a=e+"Timeout";t.prototype[e]=function(){var t=this[a],e=(clearTimeout(t),arguments),i=this;this[a]=setTimeout(function(){n.apply(i,e),delete i[a]},o)}},l.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},l.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()},i.console);return l.htmlInit=function(r,s){l.docReady(function(){var t=l.toDashed(s),o="data-"+t,e=document.querySelectorAll("["+o+"]"),t=document.querySelectorAll(".js-"+t),e=l.makeArray(e).concat(l.makeArray(t)),n=o+"-options",a=i.jQuery;e.forEach(function(e){var t,i=e.getAttribute(o)||e.getAttribute(n);try{t=i&&JSON.parse(i)}catch(t){return void(d&&d.error("Error parsing "+o+" on "+e.className+": "+t))}i=new r(e,t);a&&a.data(e,s,i)})})},l}),((t,e)=>{"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))})(window,function(t,e){function i(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var o=document.documentElement.style,n="string"==typeof o.transition?"transition":"WebkitTransition",o="string"==typeof o.transform?"transform":"WebkitTransform",a={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[n],r={transform:o,transition:n,transitionDuration:n+"Duration",transitionProperty:n+"Property",transitionDelay:n+"Delay"},t=i.prototype=Object.create(t.prototype),s=(t.constructor=i,t._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},t.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},t.getSize=function(){this.size=e(this.element)},t.css=function(t){var e,i=this.element.style;for(e in t)i[r[e]||e]=t[e]},t.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),o=t[e?"left":"right"],t=t[i?"top":"bottom"],n=parseFloat(o),a=parseFloat(t),r=this.layout.size;-1!=o.indexOf("%")&&(n=n/100*r.width),-1!=t.indexOf("%")&&(a=a/100*r.height),n=isNaN(n)?0:n,a=isNaN(a)?0:a,n-=e?r.paddingLeft:r.paddingRight,a-=i?r.paddingTop:r.paddingBottom,this.position.x=n,this.position.y=a},t.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),o=this.layout._getOption("originTop"),n=i?"right":"left",a=this.position.x+t[i?"paddingLeft":"paddingRight"],i=(e[i?"left":"right"]=this.getXValue(a),e[n]="",o?"paddingTop":"paddingBottom"),a=o?"bottom":"top",n=this.position.y+t[i];e[o?"top":"bottom"]=this.getYValue(n),e[a]="",this.css(e),this.emitEvent("layout",[this])},t.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},t.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},t._transitionTo=function(t,e){this.getPosition();var i=this.position.x,o=this.position.y,n=t==this.position.x&&e==this.position.y;
4this.setPosition(t,e),n&&!this.isTransitioning?this.layoutPosition():((n={}).transform=this.getTranslate(t-i,e-o),this.transition({to:n,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0}))},t.getTranslate=function(t,e){return"translate3d("+(t=this.layout._getOption("originLeft")?t:-t)+"px, "+(e=this.layout._getOption("originTop")?e:-e)+"px, 0)"},t.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},t.moveTo=t._transitionTo,t.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},t._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},t.transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var e,i=this._transn;for(e in t.onTransitionEnd)i.onEnd[e]=t.onTransitionEnd[e];for(e in t.to)i.ingProperties[e]=!0,t.isCleaning&&(i.clean[e]=!0);t.from&&(this.css(t.from),this.element.offsetHeight,0),this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)},"opacity,"+o.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})),l=(t.enableTransition=function(){var t;this.isTransitioning||(t=this.layout.options.transitionDuration,this.css({transitionProperty:s,transitionDuration:t="number"==typeof t?t+"ms":t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(a,this,!1))},t.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},t.onotransitionend=function(t){this.ontransitionend(t)},{"-webkit-transform":"transform"}),d=(t.ontransitionend=function(t){var e,i;t.target===this.element&&(e=this._transn,i=l[t.propertyName]||t.propertyName,delete e.ingProperties[i],(t=>{for(var e in t)return;return 1})(e.ingProperties)&&this.disableTransition(),i in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[i]),i in e.onEnd&&(e.onEnd[i].call(this),delete e.onEnd[i]),this.emitEvent("transitionEnd",[this]))},t.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(a,this,!1),this.isTransitioning=!1},t._removeStyles=function(t){var e,i={};for(e in t)i[e]="";this.css(i)},{transitionProperty:"",transitionDuration:"",transitionDelay:""});return t.removeTransitionStyles=function(){this.css(d)},t.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},t.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},t.remove=function(){return n&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},t.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},t.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},t.getHideRevealTransitionEndProperty=function(t){var e,t=this.layout.options[t];if(t.opacity)return"opacity";for(e in t)return e},t.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},t.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},t.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},i}),((n,a)=>{"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(t,e,i,o){return a(n,t,e,i,o)}):"object"==typeof module&&module.exports?module.exports=a(n,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):n.Outlayer=a(n,n.EvEmitter,n.getSize,n.fizzyUIUtils,n.Outlayer.Item)})(window,function(t,e,n,o,a){function r(t,e){var i=o.getQueryElement(t);i?(this.element=i,d&&(this.$element=d(this.element)),this.options=o.extend({},this.constructor.defaults),this.option(e),e=++c,this.element.outlayerGUID=e,(u[e]=this)._create(),this._getOption("initLayout")&&this.layout()):l&&l.error("Bad element for "+this.constructor.namespace+": "+(i||t))}function s(t){function e(){t.apply(this,arguments)}return(e.prototype=Object.create(t.prototype)).constructor=e}function i(){}var l=t.console,d=t.jQuery,c=0,u={},p=(r.namespace="outlayer",r.Item=a,r.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}},r.prototype),f=(o.extend(p,e.prototype),p.option=function(t){o.extend(this.options,t)},p._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},r.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},p._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),o.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},p.reloadItems=function(){this.items=this._itemize(this.element.children)},p._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,o=[],n=0;n<e.length;n++){var a=new i(e[n],this);o.push(a)}return o},p._filterFindItemElements=function(t){return o.filterFindElements(t,this.options.itemSelector)},p.getItemElements=function(){return this.items.map(function(t){return t.element})},p.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),t=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0}
4,p._init=p.layout,p._resetLayout=function(){this.getSize()},p.getSize=function(){this.size=n(this.element)},p._getMeasurement=function(t,e){var i,o=this.options[t];o?("string"==typeof o?i=this.element.querySelector(o):o instanceof HTMLElement&&(i=o),this[t]=i?n(i)[e]:o):this[t]=0},p.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},p._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},p._layoutItems=function(t,i){var o;this._emitCompleteOnItems("layout",t),t&&t.length&&(o=[],t.forEach(function(t){var e=this._getItemLayoutPosition(t);e.item=t,e.isInstant=i||t.isLayoutInstant,o.push(e)},this),this._processLayoutQueue(o))},p._getItemLayoutPosition=function(){return{x:0,y:0}},p._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},p.updateStagger=function(){var t,e=this.options.stagger;return null==e?void(this.stagger=0):(this.stagger="number"==typeof(e=e)?e:(t=(e=e.match(/(^\d*\.?\d*)(\w*)/))&&e[1],e=e&&e[2],t.length?(t=parseFloat(t))*(f[e]||1):0),this.stagger)},p._positionItem=function(t,e,i,o,n){o?t.goTo(e,i):(t.stagger(n*this.stagger),t.moveTo(e,i))},p._postLayout=function(){this.resizeContainer()},p.resizeContainer=function(){var t;this._getOption("resizeContainer")&&(t=this._getContainerSize())&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))},p._getContainerSize=i,p._setContainerMeasure=function(t,e){var i;void 0!==t&&((i=this.size).isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px")},p._emitCompleteOnItems=function(e,t){function i(){a.dispatchEvent(e+"Complete",null,[t])}function o(){++n==r&&i()}var n,a=this,r=t.length;t&&r?(n=0,t.forEach(function(t){t.once(e,o)})):i()},p.dispatchEvent=function(t,e,i){var o=e?[e].concat(i):i;this.emitEvent(t,o),d&&(this.$element=this.$element||d(this.element),e?((o=d.Event(e)).type=t,this.$element.trigger(o,i)):this.$element.trigger(t,i))},p.ignore=function(t){t=this.getItem(t);t&&(t.isIgnored=!0)},p.unignore=function(t){t=this.getItem(t);t&&delete t.isIgnored},p.stamp=function(t){(t=this._find(t))&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},p.unstamp=function(t){(t=this._find(t))&&t.forEach(function(t){o.removeFrom(this.stamps,t),this.unignore(t)},this)},p._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),o.makeArray(t)},p._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},p._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},p._manageStamp=i,p._getElementOffset=function(t){var e=t.getBoundingClientRect(),i=this._boundingRect,t=n(t);return{left:e.left-i.left-t.marginLeft,top:e.top-i.top-t.marginTop,right:i.right-e.right-t.marginRight,bottom:i.bottom-e.bottom-t.marginBottom}},p.handleEvent=o.handleEvent,p.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},p.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},p.onresize=function(){this.resize()},o.debounceMethod(r,"onresize",100),p.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},p.needsResizeLayout=function(){var t=n(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},p.addItems=function(t){t=this._itemize(t);return t.length&&(this.items=this.items.concat(t)),t},p.appended=function(t){t=this.addItems(t);t.length&&(this.layoutItems(t,!0),this.reveal(t))},p.prepended=function(t){var e,t=this._itemize(t);t.length&&(e=this.items.slice(0),this.items=t.concat(e),this._resetLayout(),this._manageStamps(),this.layoutItems(t,!0),this.reveal(t),this.layoutItems(e))},p.reveal=function(t){var i;this._emitCompleteOnItems("reveal",t),t&&t.length&&(i=this.updateStagger(),t.forEach(function(t,e){t.stagger(e*i),t.reveal()}))},p.hide=function(t){var i;this._emitCompleteOnItems("hide",t),t&&t.length&&(i=this.updateStagger(),t.forEach(function(t,e){t.stagger(e*i),t.hide()}))},p.revealItemElements=function(t){t=this.getItems(t);this.reveal(t)},p.hideItemElements=function(t){t=this.getItems(t);this.hide(t)},p.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},p.getItems=function(t){t=o.makeArray(t);var e=[];return t.forEach(function(t){t=this.getItem(t);t&&e.push(t)},this),e},p.remove=function(t){t=this.getItems(t);this._emitCompleteOnItems("remove",t),t&&t.length&&t.forEach(function(t){t.remove(),o.removeFrom(this.items,t)},this)},p.destroy=function(){var t=this.element.style,t=(t.height="",t.position="",t.width="",this.items.forEac
4h(function(t){t.destroy()}),this.unbindResize(),this.element.outlayerGUID);delete u[t],delete this.element.outlayerGUID,d&&d.removeData(this.element,this.constructor.namespace)},r.data=function(t){t=(t=o.getQueryElement(t))&&t.outlayerGUID;return t&&u[t]},r.create=function(t,e){var i=s(r);return i.defaults=o.extend({},r.defaults),o.extend(i.defaults,e),i.compatOptions=o.extend({},r.compatOptions),i.namespace=t,i.data=r.data,i.Item=s(a),o.htmlInit(i,t),d&&d.bridget&&d.bridget(t,i),i},{ms:1,s:1e3});return r.Item=a,r}),((t,e)=>{"function"==typeof define&&define.amd?define("isotope-layout/js/item",["outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.Item=e(t.Outlayer))})(window,function(t){function e(){t.Item.apply(this,arguments)}var i=e.prototype=Object.create(t.Item.prototype),o=i._create,n=(i._create=function(){this.id=this.layout.itemGUID++,o.call(this),this.sortData={}},i.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var t,e=this.layout.options.getSortData,i=this.layout._sorters;for(t in e){var o=i[t];this.sortData[t]=o(this.element,this)}}},i.destroy);return i.destroy=function(){n.apply(this,arguments),this.css({display:""})},e}),((t,e)=>{"function"==typeof define&&define.amd?define("isotope-layout/js/layout-mode",["get-size/get-size","outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.LayoutMode=e(t.getSize,t.Outlayer))})(window,function(e,i){function o(t){(this.isotope=t)&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}var n=o.prototype;return["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"].forEach(function(t){n[t]=function(){return i.prototype[t].apply(this.isotope,arguments)}}),n.needsVerticalResizeLayout=function(){var t=e(this.isotope.element);return this.isotope.size&&t&&t.innerHeight!=this.isotope.size.innerHeight},n._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},n.getColumnWidth=function(){this.getSegmentSize("column","Width")},n.getRowHeight=function(){this.getSegmentSize("row","Height")},n.getSegmentSize=function(t,e){var i,t=t+e,o="outer"+e;this._getMeasurement(t,o),this[t]||(i=this.getFirstItemSize(),this[t]=i&&i[o]||this.isotope.size["inner"+e])},n.getFirstItemSize=function(){var t=this.isotope.filteredItems[0];return t&&t.element&&e(t.element)},n.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},n.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},o.modes={},o.create=function(t,e){function i(){o.apply(this,arguments)}return(i.prototype=Object.create(n)).constructor=i,e&&(i.options=e),o.modes[i.prototype.namespace=t]=i},o}),((t,e)=>{"function"==typeof define&&define.amd?define("masonry-layout/masonry",["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)})(window,function(t,s){var t=t.create("masonry"),e=(t.compatOptions.fitWidth="isFitWidth",t.prototype);return e._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},e.measureColumns=function(){this.getContainerWidth(),this.columnWidth||(t=(t=this.items[0])&&t.element,this.columnWidth=t&&s(t).outerWidth||this.containerWidth);var t=this.columnWidth+=this.gutter,e=this.containerWidth+this.gutter,i=e/t,e=t-e%t,i=Math[e&&e<1?"round":"floor"](i);this.cols=Math.max(i,1)},e.getContainerWidth=function(){var t=this._getOption("fitWidth")?this.element.parentNode:this.element,t=s(t);this.containerWidth=t&&t.innerWidth},e._getItemLayoutPosition=function(t){t.getSize();for(var e=t.size.outerWidth%this.columnWidth,e=Math[e&&e<1?"round":"ceil"](t.size.outerWidth/this.columnWidth),e=Math.min(e,this.cols),i=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](e,t),o={x:this.columnWidth*i.col,y:i.y},n=i.y+t.size.outerHeight,a=e+i.col,r=i.col;r<a;r++)this.colYs[r]=n;return o},e._getTopColPosition=function(t){var t=this._getTopColGroup(t),e=Math.min.apply(Math,t);return{col:t.indexOf(e),y:e}},e._getTopColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,o=0;o<i;o++)e[o]=this._getColGroupY(o,t);return e},e._getColGroupY=function(t,e){return e<2?this.colYs[t]:(t=this.colYs.slice(t,t+e),Math.max.apply(Math,t))},e._getHorizontalColPosition=function(t,e){var i=this.horizontalColIndex%this.cols,i=1<t&&i+t>this.cols?0:i,e=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=e?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},e._manageStamp=function(t){var e=s(t),t=this._getElementOffset(t),i=this._getOption("originLeft")?t.left:t.right,o=i+e.outerWidth,i=Math.floor(i/this.columnWidth),i=Math.max(0,i),n=Math.floor(o/this.columnWidth);n-=o%this.columnWidth?0:1;for(var n=Math.min(this.cols-1,n),a=(this._getOption("originTop")?t.top:t.bottom)+e.outerHeight,r=i;r<=n;r++)this.colYs[r]=Math.max(a,this.colYs[r])},e._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},e._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},e.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},t}),((t,e)=>{"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/masonry",["../layout-mode","masonry-layout/masonry"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.Isotope.LayoutMode,t.Masonry)})(window,function(t,e){var i,t=t.create("masonry"),o=t.prototype,n={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(i in e.prototype)n[i]||(o[i]=e.prototype[i]);var a=o.measureColumns,r=(o.measureColumns=function(){this.items=this.isotope.filteredItems,a.call(this)},o._getOption);return o._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:r.apply(this.isotope,arguments)},t}),((t,e)=>{"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}
4)(window,function(t){var t=t.create("fitRows"),e=t.prototype;return e._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},e._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.isotope.size.innerWidth+this.gutter,i=(0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY),{x:this.x,y:this.y});return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,i},e._getContainerSize=function(){return{height:this.maxY}},t}),((t,e)=>{"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)})(window,function(t){var t=t.create("vertical",{horizontalAlignment:0}),e=t.prototype;return e._resetLayout=function(){this.y=0},e._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotope.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},e._getContainerSize=function(){return{height:this.y}},t}),((r,s)=>{"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotope-layout/js/item","isotope-layout/js/layout-mode","isotope-layout/js/layout-modes/masonry","isotope-layout/js/layout-modes/fit-rows","isotope-layout/js/layout-modes/vertical"],function(t,e,i,o,n,a){return s(r,t,0,i,o,n,a)}):"object"==typeof module&&module.exports?module.exports=s(r,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotope-layout/js/item"),require("isotope-layout/js/layout-mode"),require("isotope-layout/js/layout-modes/masonry"),require("isotope-layout/js/layout-modes/fit-rows"),require("isotope-layout/js/layout-modes/vertical")):r.Isotope=s(r,r.Outlayer,0,r.matchesSelector,r.fizzyUIUtils,r.Isotope.Item,r.Isotope.LayoutMode)})(window,function(t,i,e,o,a,n,r){var s=t.jQuery,l=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},d=i.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0}),t=(d.Item=n,d.LayoutMode=r,d.prototype),c=(t._create=function(){for(var t in this.itemGUID=0,this._sorters={},this._getSorters(),i.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],r.modes)this._initLayoutMode(t)},t.reloadItems=function(){this.itemGUID=0,i.prototype.reloadItems.call(this)},t._itemize=function(){for(var t=i.prototype._itemize.apply(this,arguments),e=0;e<t.length;e++)t[e].id=this.itemGUID++;return this._updateItemsSortData(t),t},t._initLayoutMode=function(t){var e=r.modes[t],i=this.options[t]||{};this.options[t]=e.options?a.extend(e.options,i):i,this.modes[t]=new e(this)},t.layout=function(){return!this._isLayoutInited&&this._getOption("initLayout")?void this.arrange():void this._layout()},t._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},t.arrange=function(t){this.option(t),this._getIsInstant();t=this._filter(this.items);this.filteredItems=t.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[t]):this._hideReveal(t),this._sort(),this._layout()},t._init=t.arrange,t._hideReveal=function(t){this.reveal(t.needReveal),this.hide(t.needHide)},t._getIsInstant=function(){var t=this._getOption("layoutInstant"),t=void 0!==t?t:!this._isLayoutInited;return this._isInstant=t},t._bindArrangeComplete=function(){function t(){e&&i&&o&&n.dispatchEvent("arrangeComplete",null,[n.filteredItems])}var e,i,o,n=this;this.once("layoutComplete",function(){e=!0,t()}),this.once("hideComplete",function(){i=!0,t()}),this.once("revealComplete",function(){o=!0,t()})},t._filter=function(t){for(var e=this.options.filter,i=[],o=[],n=[],a=this._getFilterTest(e||"*"),r=0;r<t.length;r++){var s,l=t[r];l.isIgnored||((s=a(l))&&i.push(l),s&&l.isHidden?o.push(l):s||l.isHidden||n.push(l))}return{matches:i,needReveal:o,needHide:n}},t._getFilterTest=function(e){return s&&this.options.isJQueryFiltering?function(t){return s(t.element).is(e)}:"function"==typeof e?function(t){return e(t.element)}:function(t){return o(t.element,e)}},t.updateSortData=function(t){t=t?(t=a.makeArray(t),this.getItems(t)):this.items;this._getSorters(),this._updateItemsSortData(t)},t._getSorters=function(){var t,e=this.options.getSortData;for(t in e){var i=e[t];this._sorters[t]=c(i)}},t._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&i<e;i++)t[i].updateSortData()},function(t){var e,i,o,n,a,r;return"string"!=typeof t?t:(i=(i=(e=(t=l(t).split(" "))[0]).match(/^\[(.+)\]$/))&&i[1],r=e,o=(a=i)?function(t){return t.getAttribute(a)}:function(t){t=t.querySelector(r);return t&&t.textContent},(n=d.sortDataParsers[t[1]])?function(t){return t&&n(o(t))}:function(t){return t&&o(t)})}),u=(d.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},t._sort=function(){var t,r,s;this.options.sortBy&&(t=a.makeArray(this.options.sortBy),this._getIsSameSortBy(t)||(this.sortHistory=t.concat(this.sortHistory)),r=this.sortHistory,s=this.options.sortAscending,this.filteredItems.sort(function(t,e){for(var i=0;i<r.length;i++){var o=r[i],n=t.sortData[o],a=e.sortData[o];if(a<n||n<a)return(a<n?1:-1)*((void 0!==s[o]?s[o]:s)?1:-1)}return 0}))},t._getIsSameSortBy=function(t){for(var e=0;e<t.length;e++)if(t[e]!=this.sortHistory[e])return!1;return!0},t._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(e)return e.options=this.options[t],e;throw new Error("No layout mode: "+t)},t._resetLayout=function(){i.prototype._resetLayout.call(this),this._mode()._resetLayout()},t._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},t._manageStamp=function(t){this._mode()._manageStamp(t)},t._getContainerSize=function(){return this._mode()._getContainerSize()},t.needsResizeLayout=function(){return this._mode().needsResizeLayout()},t.appended=function(t){var t=this.addItems(t);t.length&&(t=this._filterRevealAdded(t),this.filteredItems=this.filteredItems.concat(t))},t.prepended=function(t){var e,t=this._itemize(t);t.length&&(this._resetLayout(),this._manageStamps(),e=this._filterRevealAdded(t),this.layoutItems(this.filteredItems),this.filteredItems=e.concat(this.filteredItems),this.items=t.concat(this.items))},t._filterRevealAdded=function(t){t=this._filter(t);return this.hide(t.needHide),this.reveal(t.matches),this.layoutItems(t.matches,!0),t.matches},t.insert=function(t){var e=this.addItems(t);if(e.length){for(var i,o=e.length,n=0;n<o;n++)i=e[n],this.element.appendChild(i.element);t=this._filter(e).matches;for(n=0;n<o;n++)e[n].isLayoutInstant=!0;for(this.arrange(),n=0;n<o;n++)delete e[n].isLayoutInstant;this.reveal(t)}},t.remove);return t.remove=function(t){t=a.makeArray(t);var e=this.getItems(t);u.call(this,t);for(var i=e&&e.length,o=0;i&&o<i;o++){var n=e[o];a.removeFrom(this.filteredItems,n)}},t.shuffle=function(){for(var t=0;t<this.items.length;t++)this.items[t].sortData.random=Math.random();this.options.sortBy="random",this._sort(),this._layout()},t._noTransition=function(t,e){var i=this.options.transitionDuration,t=(this.options.transitionDuration=0,t.apply(this,e));return this.options.transitionDuration=i,t},t.getFilteredItemElements=function(){return this.filteredItems.map(function(t){return t.element})},d}),(d=>{var c,e=d(window);e.on("resize",function(){c=d(this).height()}).triggerHandler("resize"),d.fn.parallax=function(o,n,a,t){var r,s,l=d(this);o=o||"50%",n=n||0,a=a||.5,r=(t=void 0===t?!0:t)?function(t){return t.outerHeight(!0)}:function(t){return t.height()},e.on("scroll resize",function(){var i=e.scrollTop();l.each(function(){var t=d(this),e=t.offset().top,t=r(t);s=l.offset().top,e+t<i||i+c<e||l.css("backgroundPosition",o+" "+Math.round(n+(s-i)*a)+"px")})}).triggerHandler("scroll")}})(jQuery),(m=>{var e,n={openedFromHash:!1,updateHash:function(t){t?history.pushState({videoLightbox:t},"","#video-"+t):history.pushState({videoLightbox:null},"",window.location.pathname+window.location.search)},getPostId:function(t){t=t.closest('article[id^="post-"]').attr("id");return t?t.replace("post-",""):null},isVideoLightbox:function(t){return t.hasClass("mfp-iframe")||t.hasClass("mfp-inline")}},s=(m.fn.magnificPopupCallbackforPortfolios=function(){if(m(this).attr("data-magnificpopup-initialized"))return this;try{m(this).data("magnificPopup")&&m(this).magnificPopup("close")}catch(t){console.log("Cleanup failed:",t)}m(this).attr("data-magnificpopup-initialized","true"),this.magnificPopup({disableOn:function(){return!(m(window).width()<0)},type:"image",gallery:{enabled:!0}
4,image:{titleSrc:function(t){var e=this.currItem.el.closest(".entry-thumbnail-popover-content"),i=e.find(".portfolio_item-title a"),o=i.html(),i=i.attr("href"),n=e.data("show-caption"),a=e.data("show-excerpt"),e=e.find(".portfolio_item-excerpt"),r="";return n&&(r+='<a href="'+i+'">'+o+"</a>"),a&&e.length&&(r+='<p class="mfp-excerpt">'+e.text()+"</p>"),r||void 0}},iframe:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" frameborder="0" allow="autoplay" allowfullscreen></iframe><div class="mfp-bottom-bar"><div class="mfp-title"></div></div></div>',callbacks:{},patterns:{vimeo:{index:"vimeo.com/",id:function(t){var e,i,t=t.match(/(?:https?:\/\/)?(?:www\.)?(?:player\.)?vimeo\.com\/(?:[a-z]*\/)*([0-9]{6,11})(?:\/([a-zA-Z0-9]+))?/);return t&&t[1]?(e=t[1],i=(t=t[2]?"h="+t[2]:"")?"":"?autoplay=1",t?e+"?"+t+i:e+i):null},src:"//player.vimeo.com/video/%id%"},youtu:{index:"youtu.be",id:function(t){t=t.match(/^.+youtu.be\/([^?]+)/);return null!==t?t[1]:null},src:"//www.youtube.com/embed/%id%?autoplay=1&rel=0"}}},mainClass:"mfp-fade",removalDelay:160,preloader:!1,fixedContentPos:!1,callbacks:{open:function(){var i,o,t=this.currItem.el;n.isVideoLightbox(t)&&(t=n.getPostId(t))&&n.updateHash(t),"inline"===this.currItem.type&&(i=this,o=n.openedFromHash,n.openedFromHash=!1,setTimeout(function(){var e=m(i.content).find("video")[0];if(e)if(m.fn.mediaelementplayer){var t=m(i.content).find(".wp-video-shortcode");if(t.length&&!t.hasClass("mejs-container"))try{t.mediaelementplayer({success:function(t){!o&&t.play&&t.play()}})}catch(t){console.log("MediaElement.js initialization failed:",t),o||e.play()}else o||e.play()}else o||e.play()},100))},change:function(){var e=this.currItem.el;if(n.isVideoLightbox(e)&&(e=n.getPostId(e))&&n.updateHash(e),"inline"===this.currItem.type){e=m(this.content).find("video")[0];if(e)if(m.fn.mediaelementplayer){var t=m(this.content).find(".wp-video-shortcode");if(t.length&&!t.hasClass("mejs-container"))try{t.mediaelementplayer({success:function(t){t.play&&t.play()}})}catch(t){console.log("MediaElement.js initialization failed:",t),e.play()}else e.play()}else e.play()}},beforeClose:function(){var t,e;"inline"===this.currItem.type&&(t=m(this.content).find("video")).length&&(e=(t=t[0]).currentSrc,t.pause(),t.currentTime=0,t.src="",t.src=e)},close:function(){n.updateHash(null)},markupParse:function(t,e,i){var o,n,a,r;"iframe"===i.type&&(r=(i=i.el).closest(".entry-thumbnail-popover-content"),o=(i=i.closest(".entry-thumbnail-popover-content").find(".portfolio_item-title a")).html(),i=i.attr("href"),n=r.data("show-caption"),a=r.data("show-excerpt"),r=r.find(".portfolio_item-excerpt"),e.title="",n&&(e.title+='<a href="'+i+'">'+o+"</a>"),a)&&r.length&&(e.title+='<p class="mfp-excerpt">'+r.text()+"</p>")}}})},m(document),m(window));function h(t){if(t&&t.length)if(t.data("isotope"))t.isotope("reloadItems").isotope("layout"),t.imagesLoaded(function(){t.isotope("layout")});else{if(t.data("masonry"))try{t.masonry("destroy")}catch(t){}var e=0<t.closest(".portfolio-masonry").length;t.fadeIn().isotope({itemSelector:"article",layoutMode:e?"masonry":"fitRows",masonry:{columnWidth:".portfolio_item"}}),t.isotope("reloadItems").isotope("layout"),t.imagesLoaded(function(){t.isotope("reloadItems").isotope("layout")})}}function g(){var t;m.fn.mediaelementplayer?setTimeout(function(){m(".mfp-hide .wp-video-shortcode").not(".mejs-container").filter(function(){return!m(this).parent().hasClass(".mejs-mediaelement")}).mediaelementplayer(),m(".wp-video-shortcode").not(".mejs-container").filter(function(){return!m(this).parent().hasClass(".mejs-mediaelement")}).mediaelementplayer()},150):0<(t=m(".wp-video-shortcode").not(".mejs-container")).length&&(console.log("MediaElement.js not loaded but video elements found. Video functionality may be limited."),t.find("video").attr("controls","controls"))}(e=window.fizzyUIUtils)&&e.filterFindElements&&!e.__inspiroPatched&&(e.filterFindElements=function(t,a){t=e.makeArray(t);var r=[];return t.forEach(function(t){if(t&&1===t.nodeType)if(a){i=a,((e=t).matches?e.matches(i):!!e.webkitMatchesSelector&&e.webkitMatchesSelector(i))&&r.push(t);for(var e,i,o=t.querySelectorAll(a),n=0;n<o.length;n++)r.push(o[n])}else r.push(t)}),r},e.__inspiroPatched=!0),m(function(){m("#slider").sllider(),m("#scroll-to-content").on("click",function(){var t=m("#slider").length?m("#slider"):m(".entry-cover");t.length&&m("html, body").animate({scrollTop:t.offset().top+t.outerHeight()-m(".navbar").outerHeight()},600)});var e=m("#portfolio-masonry, .portfolio-masonry").not(".portfolio-showcase .portfolio-masonry").find(".portfolio-gri
4d").masonry({itemSelector:".portfolio_item",columnWidth:".portfolio_item"});function t(){setTimeout(function(){var e=!1;try{e=m.magnificPopup.instance&&m.magnificPopup.instance.isOpen}catch(t){e=m(".mfp-bg").is(":visible")}if(!e)try{m(".portfolio-popup-video").each(function(){m(this).data("magnificPopup")&&m(this).magnificPopup("close")})}catch(t){console.log("Lightbox cleanup error:",t)}m(".portfolio-showcase").each(function(){m(this).find(".portfolio_item .portfolio-popup-video").not("[data-magnificpopup-initialized]").magnificPopupCallbackforPortfolios()}),m(".portfolio-archive .portfolio_item").find(".portfolio-popup-video").not("[data-magnificpopup-initialized]").magnificPopupCallbackforPortfolios(),m(".entry-cover").find(".portfolio-popup-video").not("[data-magnificpopup-initialized]").magnificPopupCallbackforPortfolios(),m(".carousel_widget_wrapper .portfolio_item").find(".portfolio-popup-video").not("[data-magnificpopup-initialized]").magnificPopupCallbackforPortfolios()},100)}m(".entry-cover").find(".portfolio-popup-video").not("[data-magnificpopup-initialized]").magnificPopupCallbackforPortfolios(),m(".portfolio-showcase").each(function(){m(this).find(".portfolio_item .portfolio-popup-video").not("[data-magnificpopup-initialized]").magnificPopupCallbackforPortfolios()}),m(".portfolio-archive .portfolio_item").find(".portfolio-popup-video").not("[data-magnificpopup-initialized]").magnificPopupCallbackforPortfolios(),e.imagesLoaded().progress(function(){e.masonry("layout")}).done(function(){e.find(".portfolio-popup-video").not("[data-magnificpopup-initialized]").magnificPopupCallbackforPortfolios()}),m(".portfolio-showcase .portfolio-masonry .portfolio-grid").each(function(){h(m(this))}),m(window).on("popstate",function(t){var t=t.originalEvent.state;t&&null===t.videoLightbox?m.magnificPopup.instance&&m.magnificPopup.instance.isOpen&&m.magnificPopup.close():t&&t.videoLightbox&&(t=m("#post-"+t.videoLightbox).find(".portfolio-popup-video").first()).length&&!t.hasClass("popup_image_insp")&&t.trigger("click")}),m(window).on("load",function(){var t,e;(e=window.location.hash.match(/^#video-(\d+)$/))&&(e=e[1],(t=m("#post-"+e).find(".portfolio-popup-video").first()).length)&&!t.hasClass("popup_image_insp")&&(n.openedFromHash=!0,setTimeout(function(){t.trigger("click")},100))}),m(document).on("jetpack-lazy-loaded-image",function(){e.imagesLoaded().progress().done(function(){e.masonry("layout")})}),m.fn.playBackgroundVideo=function(){m(".portfolio-grid:not(.always-play-background-video)").on({mouseenter:function(t){var e=m(this).find(".portfolio-gallery-video-background");0<e.length&&(null==t.data.promise?t.data.promise=e[0].play():t.data.promise.then(function(){t.data.promise=e[0].play()}).catch(function(){console.log("mouseenter IN Catch Video play failed"),t.data.promise=e[0].play()}))},mouseleave:function(t){var e=m(this).find(".portfolio-gallery-video-background");0<e.length&&null!==t.data.promise&&t.data.promise.then(function(){e[0].addEventListener("pause",function(t){e[0].load()}),e[0].pause()}).catch(function(t){console.log("mouseleave IN Catch Video play failed")})}},".is-portfolio-gallery-video-background",{promise:null}),m(".portfolio-fresh:not(.always-play-background-video)").on({mouseenter:function(t){var e=m(this).find(".portfolio-gallery-video-background");0<e.length&&(null==t.data.promise?t.data.promise=e[0].play():t.data.promise.then(function(){t.data.promise=e[0].play()}).catch(function(){console.log("mouseenter IN Catch Video play failed"),t.data.promise=e[0].play()}))}},".is-portfolio-gallery-video-background",{promise:null})},m.fn.responsiveSliderImages(),m.fn.paralised(),m.fn.singlePageWidgetBackground(),m.fn.singleportfolio(),m.fn.playBackgroundVideo(),m.fn.expandableAreas=function(){m(".portfolio-fresh .expand-btn").on("click",{promise:null},function(t){t.preventDefault(),t.stopPropagation();var e,i,o,n,a=m(this);a.prop("disabled")||(a.prop("disabled",!0),e=m(this).closest(".portfolio-fresh.portfolio-grid"),i=m(this).closest("article"),o=m(this).closest(".item-content").find(".collapsed-area"),n=i.find(".portfolio-gallery-video-background"),i.toggleClass("open"),i.hasClass("open")?(o.css("opacity",0).stop().slideDown({start:function(){m(this).css("display","flex")}}).animate({opacity:1},{queue:!1,duration:400}),0<n.length&&(null==t.data.promise?t.data.promise=n[0].play():t.data.promise.then(function(){t.data.promise=n[0].play()}).catch(function(){console.log("Video play failed"),t.data.promise=n[0].play()}))):(o.css("opacity",1).stop().slideUp().animate({opacity:0}
4,{queue:!1,duration:400}),0<n.length&&(null==t.data.promise?t.data.promise=n[0].pause():t.data.promise.then(function(){t.data.promise=n[0].pause()}).catch(function(){console.log("Video pause failed"),t.data.promise=n[0].pause()}))),e.fadeIn().isotope({itemSelector:"article",layoutMode:"fitRows"}).isotope("layout"),setTimeout(function(){a.prop("disabled",!1)},500))})},m.fn.expandableAreas(),m(document).ready(function(){t()}),m(window).on("load",function(){t()}),m(document).ajaxComplete(function(){t(),g()}),m(document).on("click",".wpz-quick-view-trigger",function(t){t.preventDefault();var e,t=m(this).data("product-id");t&&(e=(e=window.ajaxurl||window.wp&&wp.ajax&&wp.ajax.settings&&wp.ajax.settings.url||"/wp-admin/admin-ajax.php")+(-1<e.indexOf("?")?"&":"?")+"action=inspiro_quick_view&product_id="+encodeURIComponent(t),m.magnificPopup)&&m.magnificPopup.open({type:"ajax",items:{src:e},removalDelay:200,mainClass:"mfp-fade wpz-qv-mfp",closeOnBgClick:!0})}),m(".portfolio-archive .portfolio_item").thumbnailPopover(),m(".portfolio-showcase .portfolio_item").thumbnailPopover(),m(".carousel_widget_wrapper .portfolio_item").thumbnailPopover(),m(".portfolio-taxonomies-filter-by").portfolioIsotopeFilter();m(".portfolio-showcase").each(function(){var n,a,r,i,o,s,t=m(this),l=t.find(".portfolio-grid");if(l.attr("data-instance"))return n=t.find(".portfolio-view_all-link"),a=n.find("a"),r=l.attr("data-items-count"),i=JSON.parse(l.attr("data-instance")),o=l.attr("data-callback-template"),s=l.data("nonce"),t=parseInt(l.find(".type-portfolio_item").length),1!=i.show_categories&&!!a.attr("data-ajax-loading")&&(t==r&&a.hide(),void a.on("click",function(t){t.preventDefault();var t="all",e=("all"==t&&l.attr("data-subcategory")&&(t=l.attr("data-subcategory")),m(this).text("Loading..."),l.find(".type-portfolio_item").map(function(t,e){return m(e).attr("id").split("post-").pop()}).toArray().join(","));wp.ajax.post("wpz_get_portfolio_items",{category_id:t,widget_settings:i,nonce:s,tmpl:o,post_not_in:e,show_all:!0}).done(function(i){var o;_.isEmpty(i.content)?a.text(a.attr("title")):(o=m.parseHTML(i.content).filter(function(t){return m(t).addClass("wpz-portfolio-item-added-dynamic"),m(t).is("article")&&0===l.find("#"+m(t).attr("id")).length}),m(o).imagesLoaded(function(){l.append(m(o)).isotope("appended",m(o));var t=parseInt(l.find(".type-portfolio_item").length),e=parseInt(i.count)||r;a.text(a.attr("title")),e<=t&&n.hide(),l.find(".portfolio_item").thumbnailPopover(),l.find(".portfolio-popup-video").not("[data-magnificpopup-initialized]").magnificPopupCallbackforPortfolios(),l.find(".wpz-portfolio-item-added-dynamic video[autoplay]").each(function(){this.play()}),g(),m.fn.mediaelementplayer&&(l.find(".wpz-portfolio-item-added-dynamic .wp-video-shortcode").not(".mejs-container").filter(function(){return!m(this).parent().hasClass(".mejs-mediaelement")}).mediaelementplayer(),l.find(".wpz-portfolio-item-added-dynamic .mfp-hide .wp-video-shortcode").not(".mejs-container").filter(function(){return!m(this).parent().hasClass(".mejs-mediaelement")}).mediaelementplayer()),m.fn.playBackgroundVideo(),m.fn.expandableAreas(),l.isotope("layout")}).progress(function(){l.isotope("layout")}))}).fail(function(t){a.text(a.attr("title"))})}))});var i=m(".portfolio-grid");"undefined"!=typeof wpz_currPage&&wpz_currPage<wpz_maxPages&&(m(".navigation").empty().append('<a class="btn btn-primary" id="load-more" href="#">Load More&hellip;</a>'),m("#load-more").on("click",function(t){t.preventDefault(),wpz_currPage<wpz_maxPages&&(m(this).text("Loading..."),wpz_currPage++,m.get(wpz_pagingURL.replace("%page%",wpz_currPage),function(t){t=m(".portfolio-grid article",t);i.parent().is("#portfolio-masonry")?(e.append(t).masonry("appended",t),t.imagesLoaded().progress(function(){e.masonry("layout")}).done(function(){e.masonry("layout"),m.fn.playBackgroundVideo(),m.fn.mediaelementplayer&&m(".wp-audio-shortcode, .wp-video-shortcode").not(".mejs-container").filter(function(){return!m(this).parent().hasClass(".mejs-mediaelement")}).mediaelementplayer(),m("body").trigger("jetpack-lazy-images-load"),e.find(".portfolio-popup-video").not("[data-magnificpopup-initialized]").magnificPopupCallbackforPortfolios()})):(t.addClass("hidden").hide(),i.append(t),i.find(".portfolio-popup-video").not("[data-magnificpopup-initialized]").magnificPopupCallbackforPortfolios(),i.find("article.hidden").fadeIn().removeClass("hidden"),g(),m("body").trigger("jetpack-lazy-images-load")),wpz_currPage+1<=wpz_maxPages?m("#load-more").text("Load More…"):m("#load-more").animate({height:"hide",opacity:"hide"},"slow",function(){m(this).remove()})}))}))}),m.fn.thumbnailPopover=function(){return this.on("mousemove",function(t){var e=m(this),i=e.find(".entry-thumbn
4ail-popover-content"),o=e.outerHeight(),n=i.outerHeight(),t=t.pageY-e.offset().top;n<=o?(i.addClass("popover-content--animated"),i.css("bottom","")):(i.removeClass("popover-content--animated"),i.css({bottom:(1-t/o)*(o-n)}))})},m.fn.sllider=function(){var n=parseInt(m(this).data("posts"),10);return this.each(function(){var c,r=m(this),t=navigator.userAgent||navigator.vendor||window.opera,e=zoomOptions.featured_video_mobile,e=(c=(e?/webOS|BlackBerry|IEMobile|Opera Mini/i:/Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i).test(t),"string"==typeof zoomOptions.slideshow_arrows?"0"!=zoomOptions.slideshow_arrows&&""!=zoomOptions.slideshow_arrows:0!=zoomOptions.slideshow_arrows),t="string"==typeof zoomOptions.slideshow_auto?"0"!=zoomOptions.slideshow_auto&&""!=zoomOptions.slideshow_auto:0!=zoomOptions.slideshow_auto;function i(){var t=m(window).height()-m("#slider").offset().top-parseInt(m("#slider").css("padding-top"),10);t<300?t=300:t<500&&768<s.width()&&(t=500),r.find(".slides, .slides > li").height(t)}function o(t,e){var i,o,n,a,r,s=t.find(".slides > li"),l=s.not(".clone").eq(t.currentSlide),d=s.not(".clone").eq(t.animatingTo);l.attr("data-vimeo-options")&&"start"!==e&&!c&&(n=JSON.parse(l.attr("data-vimeo-options")),(i=new Vimeo.Player(l,n)).on("timeupdate",function(){i.pause(),i.off("timeupdate")})),d.attr("data-vimeo-options")&&!c&&(n=JSON.parse(d.attr("data-vimeo-options")),o=new Vimeo.Player(d,n),a=n.autoplay,r=n.muted,o.setCurrentTime(0).then(function(){a?o.play():o.pause(),r||o.setVolume(1)}),o.on("play",function(){c||(d.find(".wpzoom-button-video-background-play")[a?"hide":"show"](),d.find(".wpzoom-button-video-background-pause")[a?"show":"hide"](),d.find(".wpzoom-button-sound-background-mute")[r?"hide":"show"](),d.find(".wpzoom-button-sound-background-unmute")[r?"show":"hide"]()),d.css("background-image","none")})),l.attr("data-formstone-options")&&l.data("fsBackground")&&(l.data("fsBackground").playing&&l.background("pause"),l.background("unload")),d.attr("data-formstone-options")&&(d.data("fsBackground")?(s=d.data("formstoneOptions").source,!_.isEmpty(d.data("formstoneOptions").mobileSource.mp4)&&window.matchMedia("(max-width:460px)").matches&&(s={poster:d.data("formstoneOptions").source.poster,mp4:d.data("formstoneOptions").mobileSource.mp4}),c?d.background("load",{poster:d.data("formstoneOptions").source.poster}):d.background("load",s)):(n=JSON.parse(d.attr("data-formstone-options")),!_.isEmpty(n.mobileSource.mp4)&&window.matchMedia("(max-width:460px)").matches&&(n.source={poster:n.source.poster,mp4:n.mobileSource.mp4}),c&&(n.source={poster:n.source.poster}),d.background(n)),a=d.data("fsBackground").autoPlay,r=d.data("fsBackground").mute,c||(d.find(".wpzoom-button-video-background-play")[a?"hide":"show"](),d.find(".wpzoom-button-video-background-pause")[a?"show":"hide"](),d.find(".wpzoom-button-sound-background-mute")[r?"hide":"show"](),d.find(".wpzoom-button-sound-background-unmute")[r?"show":"hide"]())),"swing"==t.vars.animation&&void 0!==t.direction&&(t.count==t.currentSlide+1&&"next"==t.direction?d=d.add(t.find(".clone:last")):0==t.currentSlide&&"prev"==t.direction?d=d.add(t.find(".clone:first")):t.find(".clone .li-wrap").css({"margin-top":0})),l.find(".li-wrap").stop().animate({"margin-top":0},800),d.find(".li-wrap").stop(!0,!0).animate({"margin-top":"30px"},800)}r.flexslider({controlNav:!1,directionNav:e,animationLoop:!0,useCSS:!0,smoothHeight:!1,touch:1<n,keyboard:!1,pauseOnAction:!0,fadeFirstSlide:!1,slideshow:t,animationSpeed:parseInt(zoomOptions.animation_speed,10),animation:zoomOptions.slideshow_effect,slideshowSpeed:parseInt(zoomOptions.slideshow_speed,10),start:function(t){o(t,"start")},before:o}),r.find(".wpzoom-button-video-background-play").on("click",function(t){t.preventDefault();t=m(t.currentTarget).parents("li");t.attr("data-formstone-options")&&t.background("play"),t.attr("data-vimeo-options")&&new Vimeo.Player(t).play(),r.find(".wpzoom-button-video-background-pause").show(),m(this).hide()}),r.find(".wpzoom-button-video-background-pause").on("click",function(t){t.preventDefault();t=m(t.currentTarget).parents("li");t.attr("data-formstone-options")&&t.background("pause"),t.attr("data-vimeo-options")&&new Vimeo.Player(t).pause(),r.find(".wpzoom-button-video-background-play").show(),m(this).hide()}),r.find(".wpzoom-button-sound-background-mute").on("click",function(t){t.preventDefault();t=m(t.currentTarget).parents("li");t.attr("data-formstone-options")&&t.background("mute"),t.attr("data-vimeo-options")&&new Vimeo.Player(t).setVolume(0),r.find(".wpzoom-button-sound-background-unmute").show(),m(this).hide()}),r.find(".wpzoom-button-sound-background-unmute").on("click",function(t){t.preventDefault();t=m(t.currentTarget).parents("li");t.attr("data-formstone-options")&&t.background("unmute"),t.attr("data-vimeo-options")&&new Vimeo.Player(t).setVolume(1),r.find(".wpzoom-button-sound-background-mute").show(),m(this).hide()}),r.find(".popup-video").each(function(){var t=m(this),i=t.data("popup-type"),t=t.data("popup-video-options"),o=t.autoplay?1:0,n=t.mute?1:0,a=t.loop?1:0;m(this).magnificPopup({disableOn:function(){return!(m(window).width()<0)},type:i,iframe:{patterns:{vimeo:{index:"vimeo.com/",id:function(t){var e,i,t=t.match(/(?:https?:\/\/)?(?:www\.)?(?:player\.)?vimeo\.com\/(?:[a-z]*\/)*([0-9]{6,11})(?:\/([a-zA-Z0-9]+))?/);
4return t&&t[1]?(e=t[1],i=(t=t[2]?"h="+t[2]:"")?"":"?autoplay="+o+"&muted="+n+"&loop="+a,t?e+"?"+t+i:e+i):null},src:"//player.vimeo.com/video/%id%"},youtu:{index:"youtu.be",id:function(t){t=t.match(/^.+youtu.be\/([^?]+)/);return null!==t?t[1]:null},src:"//www.youtube.com/embed/%id%?autoplay="+o+"&rel=0&mute="+n+"&loop="+a},youtube:{index:"youtube.com/",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay="+o+"&rel=0&mute="+n+"&loop="+a}}},mainClass:"mfp-fade",removalDelay:160,preloader:!1,fixedContentPos:!1,callbacks:{beforeOpen:function(t){r.data("flexslider")&&r.data("flexslider").playing&&r.flexslider("pause");var e,i=r.find(".flex-active-slide");i.background("pause"),i.attr("data-vimeo-options")&&(e=new Vimeo.Player(i)).getPaused().then(function(t){t||e.pause()})},open:function(){"inline"===i&&o&&m.magnificPopup.instance.contentContainer.first().find("video")[0].play()},beforeClose:function(){var t,e;"inline"===i&&(t=m(this.content).find("video")).length&&(e=(t=t[0]).currentSrc,t.pause(),t.currentTime=0,t.src="",t.src=e)},afterClose:function(){r.data("flexslider")&&r.data("flexslider").playing&&r.flexslider("play");var t,e,i,o=r.find(".flex-active-slide");o.background("play"),o.attr("data-vimeo-options")&&(t=JSON.parse(o.attr("data-vimeo-options")),e=new Vimeo.Player(o),i=t.autoplay,e.getPaused().then(function(t){i&&t&&e.play()}))}}})}),s.on("resize focus",i),i()})},m.fn.paralised=function(){var t=!!function(){}.bind;function e(t){this.callback=t,this.ticking=!1}function a(t,e,i,o){return i*Math.sin(t/o*(Math.PI/2))+e}!!(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame)&&t&&(e.prototype={constructor:e,update:function(){this.callback&&this.callback(),this.ticking=!1},requestTick:function(){this.ticking||(requestAnimationFrame(this.rafCallback||(this.rafCallback=this.update.bind(this))),this.ticking=!0)},handleEvent:function(){this.requestTick()}},t=new e(function(){var o=m(document).scrollTop(),t=m(".has-post-cover .entry-cover"),e=m(".featured_page_wrap--with-background");{var i,n;t.length&&(i=(t=m(".entry-cover")).position().top+t.outerHeight(),o<i)&&(n=a(o,0,1,i),t.find(".entry-header").css({bottom:30*(1-n),opacity:1-((t,e,i,o)=>i*(t/=o)*t+e)(o,0,1,i)}))}e.each(function(t){var e=m(this),i=e.position().top+e.outerHeight();o+s.height()>e.position().top&&o<i&&(i=a(o+s.height()-e.position().top,-1,2,i
4),e.find(".wpzoom-singlepage").css({"-webkit-transform":"translateY("+80*-i+"px)","moz-transform":"translateY("+80*-i+"px)",transform:"translateY("+80*-i+"px)"}))})}.bind(this)),m(window).on("scroll",t.handleEvent.bind(t)),t.handleEvent())},m.fn.portfolioIsotopeFilter=function(){return this.each(function(){function t(){h(s),m(document).on("jetpack-lazy-loaded-image",function(){s.imagesLoaded().progress(function(){s.isotope("reloadItems").isotope("layout")})})}var e,n=m(this),r=n.find("li"),i=m(this).closest(".portfolio-showcase"),o="wpz_get_portfolio_items",s=(0==i.length&&(o="wpz_get_portfolio_filtered_items",i=m(this).closest(".portfolio-archive")),i.find(".portfolio-grid")),l=i.find(".portfolio-view_all-link"),d=l.find("a"),c=s.data("instance"),u=s.attr("data-callback-template"),p=s.data("nonce"),a=s.data("count-nonce"),f=("complete"===document.readyState?t():m(window).on("load",t),s.find(".portfolio-popup-video").not("[data-magnificpopup-initialized]").magnificPopupCallbackforPortfolios(),/cat-item-([0-9]+)/gi);s.attr("data-ajax-items-loading")&&(e=!1,r.on("click",function(t){t.preventDefault(),e&&t.stopImmediatePropagation()}),r.one("click",function(t){var n,a;t.preventDefault(),m(this).hasClass("cat-item-all")||(t.stopImmediatePropagation(),e=!0,n=m(this),t=f.exec(n.attr("class")),f.lastIndex=0,a=null===t?".type-portfolio_item":".portfolio_"+t[1]+"_item",d.hide(),n.css("position","relative"),n.append("<div class='pulse-circle'></div>"),r.removeClass("current-cat"),n.addClass("current-cat animated slow pulse"),t=null==t?n.attr("data-subcategory")?n.attr("data-subcategory"):"all":t[1],wp.ajax.post(o,{category_id:t,widget_settings:c,nonce:p,tmpl:u}).done(function(t){var e,i,o;n.attr("data-counter",t.count),_.isEmpty(t.content)?d.text(d.attr("title")):(e=m.parseHTML(t.content).filter(function(t){return m(t).addClass("wpz-portfolio-item-added-dynamic"),m(t).is("article")&&0===s.find("#"+m(t).attr("id")).length}),s.append(m(e)),t=parseInt(n.attr("data-counter")),i=parseInt(s.find(a).length),o=parseInt(s.find(".type-portfolio_item").length),(parseInt(s.attr("data-items-count"))||10)<=o?l.remove():i<t?d.show():t<=i&&d.hide(),m(e).imagesLoaded(function(){s.isotope("appended",m(e))}).progress(function(){s.isotope("layout")}).done(function(){s.isotope("layout"),s.find(".portfolio_item").thumbnailPopover();try{m(".portfolio-popup-video").each(function(){var t=m(this);t.data("magnificPopup")&&t.magnificPopup("close")})}catch(t){console.log("Lightbox cleanup on load more:",t)}setTimeout(function(){try{m(".portfolio-popup-video").each(function(){var t=m(this);t.data("magnificPopup")&&t.magnificPopup("close")})}catch(t){console.log("Lightbox cleanup on filter:",t)}s.find(a).find(".portfolio-popup-video").not("[data-magnificpopup-initialized]").magnificPopupCallbackforPortfolios(),m(a).find(".portfolio-popup-video").not("[data-magnificpopup-initialized]").magnificPopupCallbackforPortfolios()},150),s.find(".wpz-portfolio-item-added-dynamic video[autoplay]").each(function(){this.play()}),g(),m.fn.expandableAreas()}))}).always(function(){n.find(".pulse-circle").remove(),n.removeClass("animated slow pulse"),s.isotope({filter:a}),e=!1}))})),d.attr("data-ajax-loading")&&(parseInt(s.find(".type-portfolio_item").length)==r.siblings(".cat-item-all").attr("data-counter")&&l.remove(),d.on("click",function(t){t.preventDefault();var t=f.exec(r.siblings(".current-cat").attr("class")),i=(f.lastIndex=0,null==t?".type-portfolio_item":".portfolio_"+t[1]+"_item"),t=null==t?"all":t[1],e=("all"==t&&s.attr("data-subcategory")&&(t=s.attr("data-subcategory")),m(this).text("Loading..."),s.find(".type-portfolio_item").map(function(t,e){return m(e).attr("id").split("post-").pop()}).toArray().join(","));wp.ajax.post(o,{category_id:t,widget_settings:c,nonce:p,tmpl:u,post_not_in:e,show_all:!0}).done(function(t){var e;_.isEmpty(t.content)?(d.text(d.attr("title")),l.hide()):(e=m.parseHTML(t.content).filter(function(t){return m(t).addClass("wpz-portfolio-item-added-dynamic"),m(t).is("article")&&0===s.find("#"+m(t).attr("id")).length}),d.text(d.attr("title")),t=parseInt(s.find(".type-portfolio_item").length),(parseInt(s.attr("data-items-count"))||10)<=t&&l.remove(),m(e).imagesLoaded(function(){s.append(m(e)).isotope("appended",m(e))}).progress(function(){s.isotope("layout")}).done(function(){s.isotope("layout");var t=parseInt(s.find(".type-portfolio_item").length);d.text(d.attr("title")),parseInt(s.find(i).length)==r.siblings(".current-cat").attr("data-counter")&&d.hide(),t==r.siblings(".cat-item-all").attr("data-counter")&&l.remove(),m.fn.playBackgroun
4dVideo(),s.find(".portfolio_item").thumbnailPopover(),s.find(".portfolio-popup-video").not("[data-magnificpopup-initialized]").magnificPopupCallbackforPortfolios(),s.find(".wpz-portfolio-item-added-dynamic video[autoplay]").each(function(){this.play()}),m(i).find(".portfolio-popup-video").not("[data-magnificpopup-initialized]").magnificPopupCallbackforPortfolios()}))}).fail(function(t){d.text(d.attr("title"))}).always(function(){s.isotope({filter:i})})})),r.on("click",function(t){t.preventDefault(),n=m(this),r.removeClass("current-cat"),n.addClass("current-cat");var o,e,t=f.exec(n.attr("class")),t=(f.lastIndex=0,o=null===t?".type-portfolio_item":".portfolio_"+t[1]+"_item",null==t?"all":t[1]),i=("all"==t&&s.attr("data-subcategory")&&(t=s.attr("data-subcategory")),r.siblings(".current-cat").attr("data-counter"));void 0===i?wp.ajax.post("wpz_count_portfolio_items",{nonce:a,category_id:t}).done(function(t){n.attr("data-counter",t.count);var t=t.count,e=parseInt(s.find(o).length),i=parseInt(s.find(".type-portfolio_item").length);e<t&&d.show(),e==t&&d.hide(),i==r.siblings(".cat-item-all").attr("data-counter")&&l.remove()}):(t=parseInt(s.find(o).length),e=parseInt(s.find(".type-portfolio_item").length),t<i&&d.show(),t==i&&d.hide(),e==r.siblings(".cat-item-all").attr("data-counter")&&l.remove()),s.isotope({filter:o}),setTimeout(function(){try{m(".portfolio-popup-video").each(function(){var t=m(this);t.data("magnificPopup")&&t.magnificPopup("close")})}catch(t){console.log("Lightbox cleanup on filter:",t)}s.find(o).find(".portfolio-popup-video").not("[data-magnificpopup-initialized]").magnificPopupCallbackforPortfolios(),m(o).find(".portfolio-popup-video").not("[data-magnificpopup-initialized]").magnificPopupCallbackforPortfolios()},150)})})},m.fn.responsiveSliderImages=function(){function t(){var a=m(window).width(),r=1<window.devicePixelRatio;m("#slider .slides li").each(function(){var t=m(this).css("background-image").match(/^url\(['"]?(.+)["']?\)$/),e=m(this),t=t&&t[1],i=e.data("smallimg")||"",o=e.data("mediumimg")||i||e.data("bigimg")||"",n=e.data("bigimg")||o||i||"",i=a<=680?r?o:i:!(a<=1024)||r?n:o;i&&i!==t?e.css("background-image",'url("'+i+'")'):!i&&n&&e.css("background-image",'url("'+n+'")')})}m(window).on("resize orientationchange",t),t()},m.fn.singlePageWidgetBackground=function(){m(".featured_page_wrap[data-background]").each(function(){var t=m(this);t.css("background-image","url("+t.data("background")+")"),t.addClass("featured_page_wrap--with-background")})},jQuery(function(n){n(".widget.wpzoom-portfolio-scroller").each(function(){var t=n(this),e=t.find(".flickity-wrapper"),i=e.attr("data-auto-scroll"),o=e.attr("data-scroll-infinitely");e.imagesLoaded(function(){t.find(".carousel_widget_wrapper").show(),t.find(".loading-wrapper").hide(),e.flickity({autoPlay:i,cellAlign:"left",contain:!0,percentPosition:!1,pageDots:!1,wrapAround:o,freeScroll:!0,imagesLoaded:!0,accessibility:!1,arrowShape:{x0:10,x1:60,y1:50,x2:65,y2:50,x3:15}})})})}),m(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/widget",function(t){"wp-widget-wpzoom-portfolio-scroller.default"==t.data("widget_type")&&m(".elementor-widget-wp-widget-wpzoom-portfolio-scroller .elementor-widget-container").each(function(){console.log("check");var t=m(this),e=t.find(".flickity-wrapper"),i=e.attr("data-auto-scroll"),o=e.attr("data-scroll-infinitely");e.imagesLoaded(function(){t.find(".carousel_widget_wrapper").show(),t.find(".loading-wrapper").hide(),e.flickity({autoPlay:i,cellAlign:"left",contain:!0,percentPosition:!1,pageDots:!1,wrapAround:o,freeScroll:!0,imagesLoaded:!0,accessibility:!1,arrowShape:{x0:10,x1:60,y1:50,x2:65,y2:50,x3:15}})})}),"wpzoom-elementor-addons-slider-pro.default"==t.data("widget_type")&&(m(".flexslider").sllider(),m.fn.responsiveSliderImages());var e=t.data("widget_type");"wp-widget-wpzoom-portfolio-showcase.default"!==e&&"wpzoom-elementor-addons-portfolio-showcase.default"!==e||(t.find(".portfolio-grid").each(function(){h(m(this))}),t.find(".portfolio-taxonomies-filter-by").portfolioIsotopeFilter())})})})(jQuery),(i=>{function e(t){var t=t&&t.length?t:i(document),e=t.find(".woocommerce-product-gallery"),e=(e.length&&i.fn.wc_product_gallery&&e.each(function(){var t=i(this);t.hasClass("woocommerce-product-gallery--init")||t.wc_product_gallery()}),t.find("form.variations_form"));e.length&&i.fn.wc_variation_form&&e.each(function(){var t=i(this);t.wc_variation_form(),t.find(".variations select").trigger("change")})}i(document).on("mfpOpen mfpContentAdded",function(){var t=i(".mfp-content");t&&t.length&&e(t)}),i(document).ajaxComplete(function(){var t=i(".mfp-content");t&&t.length&&e(t)})})(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.