PageSourceSearch

https://lhlib.ru/wp-content/themes/herald/assets/js/min.js?ver=03e4c32efb63

js lhlib.ru collected 2026-10-02 18:17:42 UTC 90,674 bytes, 1 lines download raw bytes

1!function(o){"use strict";o.fn.fitVids=function(t){var e,i,s={customSelector:null,ignore:null};return document.getElementById("fit-vids-style")||(e=document.head||document.getElementsByTagName("head")[0],(i=document.createElement("div")).innerHTML='<p>x</p><style id="fit-vids-style">.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}</style>',e.appendChild(i.childNodes[1])),t&&o.extend(s,t),this.each(function(){var t=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object","embed"];s.customSelector&&t.push(s.customSelector);var n=".fitvidsignore";s.ignore&&(n=n+", "+s.ignore);var e=o(this).find(t.join(","));(e=(e=e.not("object object")).not(n)).each(function(t){var e,i,s=o(this);0<s.parents(n).length||"embed"===this.tagName.toLowerCase()&&s.parent("object").length||s.parent(".fluid-width-video-wrapper").length||(s.css("height")||s.css("width")||!isNaN(s.attr("height"))&&!isNaN(s.attr("width"))||(s.attr("height",9),s.attr("width",16)),e=("object"===this.tagName.toLowerCase()||s.attr("height")&&!isNaN(parseInt(s.attr("height"),10))?parseInt(s.attr("height"),10):s.height())/(isNaN(parseInt(s.attr("width"),10))?s.width():parseInt(s.attr("width"),10)),s.attr("id")||(i="fitvid"+t,s.attr("id",i)),s.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*e+"%"),s.removeAttr("height").removeAttr("width"))})})}}(window.jQuery||window.Zepto),function(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(i+t+_,e)}function u(t,e,i,s){var n=document.createElement("div");return n.className="mfp-"+t,i&&(n.innerHTML=i),s?e&&e.appendChild(n):(n=d(n),e&&n.appendTo(e)),n}function p(t,e){m.ev.triggerHandler(i+t,e),m.st.callbacks&&(t=t.charAt(0).toLowerCase()+t.slice(1),m.st.callbacks[t]&&m.st.callbacks[t].apply(m,d.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 o(){d.magnificPopup.instance||((m=new t).init(),d.magnificPopup.instance=m)}var m,s,g,n,v,e,l="Close",h="BeforeClose",w="MarkupParse",y="Open",r="Change",i="mfp",_="."+i,b="mfp-ready",a="mfp-removing",C="mfp-prevent-close",x=!!window.jQuery,k=d(window);t.prototype={constructor:t,init:function(){var t=navigator.appVersion;m.isIE7=-1!==t.indexOf("MSIE 7."),m.isIE8=-1!==t.indexOf("MSIE 8."),m.isLowIE=m.isIE7||m.isIE8,m.isAndroid=/android/gi.test(t),m.isIOS=/iphone|ipad|ipod/gi.test(t),m.supportsTransition=function(){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),g=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,s=0;s<i.length;s++)if((e=i[s]).parsed&&(e=e.el[0]),e===t.el[0]){m.index=s;break}}else m.items=d.isArray(t.items)?t.items:[t.items],m.index=t.index||0;if(!m.isOpen){m.types=[],v="",t.mainEl&&t.mainEl.length?m.ev=t.mainEl.eq(0):m.ev=g,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"+_,function(){m.close()}),m.wrap=u("wrap").attr("tabindex",-1).on("click"+_,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(s=0;s<n.length;s++){var o=(o=n[s]).charAt(0).toUpperCase()+o.slice(1);m["init"+o].call(m)}p("BeforeOpen"),m.st.showCloseBtn&&(m.st.closeBtnInside?(c(w,function(t,e,
1i,s){i.close_replaceWith=f(s.type)}),v+=" mfp-close-btn-in"):m.wrap.append(f())),m.st.alignTop&&(v+=" mfp-align-top"),m.fixedContentPos?m.wrap.css({overflow:m.st.overflowY,overflowX:"hidden",overflowY:m.st.overflowY}):m.wrap.css({top:k.scrollTop(),position:"absolute"}),!1!==m.st.fixedBgPos&&("auto"!==m.st.fixedBgPos||m.fixedContentPos)||m.bgOverlay.css({height:g.height(),position:"absolute"}),m.st.enableEscapeKey&&g.on("keyup"+_,function(t){27===t.keyCode&&m.close()}),k.on("resize"+_,function(){m.updateSize()}),m.st.closeOnContentClick||(v+=" mfp-auto-cursor"),v&&m.wrap.addClass(v);var r,a=m.wH=k.height(),l={};m.fixedContentPos&&(!m._hasScrollBar(a)||(r=m._getScrollbarSize())&&(l.marginRight=r)),m.fixedContentPos&&(m.isIE7?d("body, html").css("overflow","hidden"):l.overflow="hidden");var h=m.st.mainClass;return m.isIE7&&(h+=" mfp-ie7"),h&&m._addClassToMFP(h),m.updateItemHTML(),p("BuildControls"),d("html").css(l),m.bgOverlay.add(m.wrap).prependTo(m.st.prependTo||d(document.body)),m._lastFocusedEl=document.activeElement,setTimeout(function(){m.content?(m._addClassToMFP(b),m._setFocus()):m.bgOverlay.addClass(b),g.on("focusin"+_,m._onFocusIn)},16),m.isOpen=!0,m.updateSize(a),p(y),t}m.updateItemHTML()},close:function(){m.isOpen&&(p(h),m.isOpen=!1,m.st.removalDelay&&!m.isLowIE&&m.supportsTransition?(m._addClassToMFP(a),setTimeout(function(){m._close()},m.st.removalDelay)):m._close())},_close:function(){p(l);var t,e=a+" "+b+" ";m.bgOverlay.detach(),m.wrap.detach(),m.container.empty(),m.st.mainClass&&(e+=m.st.mainClass+" "),m._removeClassFromMFP(e),m.fixedContentPos&&(t={marginRight:""},m.isIE7?d("body, html").css("overflow",""):t.overflow="",d("html").css(t)),g.off("keyup.mfp focusin"+_),m.ev.off(_),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._lastFocusedEl&&d(m._lastFocusedEl).focus(),m.currItem=null,m.content=null,m.currTemplate=null,m.prevHeight=0,p("AfterClose")},updateSize:function(t){var e,i;m.isIOS?(e=document.documentElement.clientWidth/window.innerWidth,i=window.innerHeight*e,m.wrap.css("height",i),m.wH=i):m.wH=t||k.height(),m.fixedContentPos||m.wrap.css("height",m.wH),p("Resize")},updateItemHTML:function(){var t=m.items[m.index];m.contentContainer.detach(),m.content&&m.content.detach(),t.parsed||(t=m.parseEl(m.index));var e,i=t.type;p("BeforeChange",[m.currItem?m.currItem.type:"",i]),m.currItem=t,m.currTemplate[i]||(e=!!m.st[i]&&m.st[i].markup,p("FirstMarkupParse",e),m.currTemplate[i]=!e||d(e)),n&&n!==t.type&&m.container.removeClass("mfp-"+n+"-holder");var s=m["get"+i.charAt(0).toUpperCase()+i.slice(1)](t,m.currTemplate[i]);m.appendContent(s,i),t.preloaded=!0,p(r,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 s=m.types,n=0;n<s.length;n++)if(i.el.hasClass("mfp-"+s[n])){e=s[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 s="click.magnificPopup";(i=i||{}).mainEl=e,i.items?(i.isObj=!0,e.off(s).on(s,t)):(i.isObj=!1,i.delegate?e.off(s).on(s,i.delegate,t):(i.items=e).off(s).on(s,t))},_openClick:function(t,e,i){if((void 0!==i.midClick?i.midClick:d.magnificPopup.defaults.midClick)||2!==t.which&&!t.ctrlKey&&!t.metaKey){var s=void 0!==i.disableOn?i.disableOn:d.magnificPopup.defaults.disableOn;if(s)if(d.isFunction(s)){if(!s.call(m))return!0}else if(k.width()<s)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&&(s!==t&&m.container.removeClass("mfp-s-"+s),e||"loading"!==t||(e=m.st.tLoading),p("UpdateStatus",i={status:t,text:e}),t=i.status,e=i.text,m.preloader.html(e),m.preloader.find("a").on("click",function(t){t.stopImmediatePropagation()}),m.container.addClass("mfp-s-"+t),s=t)},_checkIfClose:function(t){if(!d(t).hasClass(C)){var e=m.st.closeOnContentClick,i=m.st.closeOnBgClick;if(e&&i)return!0;
1if(!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?g.height():document.body.scrollHeight)>(t||k.height())},_setFocus:function(){(m.st.focus?m.content.find(m.st.focus).eq(0):m.wrap).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 o;e.data&&(t=d.extend(e.data,t)),p(w,[n,t,e]),d.each(t,function(t,e){return void 0===e||!1===e||void(1<(o=t.split("_")).length?0<(i=n.find(_+"-"+o[0])).length&&("replaceWith"===(s=o[1])?i[0]!==e[0]&&i.replaceWith(e):"img"===s?i.is("img")?i.attr("src",e):i.replaceWith('<img src="'+e+'" class="'+i.attr("class")+'" />'):i.attr(o[1],e)):n.find(_+"-"+t).html(e));var i,s})},_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}},d.magnificPopup={instance:null,proto:t.prototype,modules:[],open:function(t,e){return o(),(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">&times;</button>',tClose:"Close (Esc)",tLoading:"Loading..."}},d.fn.magnificPopup=function(t){o();var e,i,s,n=d(this);return"string"==typeof t?"open"===t?(e=x?n.data("magnificPopup"):n[0].magnificPopup,i=parseInt(arguments[1],10)||0,s=e.items?e.items[i]:(s=n,e.delegate&&(s=s.find(e.delegate)),s.eq(i)),m._openClick({mfpEl:s},n,e)):m.isOpen&&m[t].apply(m,Array.prototype.slice.call(arguments,1)):(t=d.extend(!0,{},t),x?n.data("magnificPopup",t):n[0].magnificPopup=t,m.addGroup(n,t)),n};function T(){I&&(S.after(I.addClass(E)).detach(),I=null)}var E,S,I,P="inline";d.magnificPopup.registerModule(P,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){m.types.push(P),c(l+"."+P,function(){T()})},getInline:function(t,e){if(T(),t.src){var i,s=m.st.inline,n=d(t.src);return n.length?((i=n[0].parentNode)&&i.tagName&&(S||(E=s.hiddenClass,S=u(E),E="mfp-"+E),I=n.after(S).detach().removeClass(E)),m.updateStatus("ready")):(m.updateStatus("error",s.tNotFound),n=d("<div>")),t.inlineElement=n}return m.updateStatus("ready"),m._parseMarkup(e,{},t),e}}});function $(){M&&d(document.body).removeClass(M)}function z(){$(),m.req&&m.req.abort()}var M,D="ajax";d.magnificPopup.registerModule(D,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){m.types.push(D),M=m.st.ajax.cursor,c(l+"."+D,z),c("BeforeChange."+D,z)},getAjax:function(n){M&&d(document.body).addClass(M),m.updateStatus("loading");var t=d.extend({url:n.src,success:function(t,e,i){var s={data:t,xhr:i};p("ParseAjax",s),m.appendContent(d(s.data),D),n.finished=!0,$(),m._setFocus(),setTimeout(function(){m.wrap.addClass(b)},16),m.updateStatus("ready"),p("AjaxContentAdded")},error:function(){$(),n.finished=n.loadError=!0,m.updateStatus("error",m.st.ajax.tError.replace("%url%",n.src))}},m.st.ajax.settings);return m.req=d.ajax(t),""}}});var O;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(y+e,function(){"image"===m.currItem.type&&t.cursor&&d(document.body).addClass(t.cursor)}),c(l+e,function(){t.cursor&&d(document.body).removeClass(t.cursor),k.off("resize"+_)}),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,O&&clearInterval(O),t.isCheckingImgSize=!1,p("ImageHasSize",t),t.imgHidden&&(m.content&&m.content.removeClass("mfp-loading"),t.imgHidden=!1))},findImageSize:function(e){var i=0,s=e.img[0],n=function(t){O&&clearInterval(O),O=setInterval(function(){0<s.naturalWi
1dth?m._onImageHasSize(e):(200<i&&clearInterval(O),3===++i?n(10):40===i?n(50):100===i&&n(500))},t)};n(1)},getImage:function(t,e){var i,s=0,n=function(){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")):++s<200?setTimeout(n,100):o())},o=function(){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)},r=m.st.image,a=e.find(".mfp-img");return a.length&&((i=document.createElement("img")).className="mfp-img",t.el&&t.el.find("img").length&&(i.alt=t.el.find("img").attr("alt")),t.img=d(i).on("load.mfploader",n).on("error.mfploader",o),i.src=t.src,a.is("img")&&(t.img=t.img.clone()),0<(i=t.img[0]).naturalWidth?t.hasSize=!0:i.width||(t.hasSize=!1)),m._parseMarkup(e,{title:function(t){if(t.data&&void 0!==t.data.title)return t.data.title;var e=m.st.image.titleSrc;if(e){if(d.isFunction(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?(O&&clearInterval(O),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}}});var j;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,s,n,o,r=m.st.zoom,a=".zoom";r.enabled&&m.supportsTransition&&(e=r.duration,i=function(t){var e=t.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),i="all "+r.duration/1e3+"s "+r.easing,s={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},n="transition";return s["-webkit-"+n]=s["-moz-"+n]=s["-o-"+n]=s[n]=i,e.css(s),e},s=function(){m.content.css("visibility","visible")},c("BuildControls"+a,function(){if(m._allowZoom()){if(clearTimeout(n),m.content.css("visibility","hidden"),!(t=m._getItemToZoom()))return void s();(o=i(t)).css(m._getOffset()),m.wrap.append(o),n=setTimeout(function(){o.css(m._getOffset(!0)),n=setTimeout(function(){s(),setTimeout(function(){o.remove(),t=o=null,p("ZoomAnimationEnded")},16)},e)},16)}}),c(h+a,function(){if(m._allowZoom()){if(clearTimeout(n),m.st.removalDelay=e,!t){if(!(t=m._getItemToZoom()))return;o=i(t)}o.css(m._getOffset(!0)),m.wrap.append(o),m.content.css("visibility","hidden"),setTimeout(function(){o.css(m._getOffset())},16)}}),c(l+a,function(){m._allowZoom()&&(s(),o&&o.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?m.currItem.img:m.st.zoom.opener(m.currItem.el||m.currItem),i=e.offset(),s=parseInt(e.css("padding-top"),10),n=parseInt(e.css("padding-bottom"),10);i.top-=d(window).scrollTop()-s;var o={width:e.width(),height:(x?e.innerHeight():e[0].offsetHeight)-n-s};return void 0===j&&(j=void 0!==document.createElement("p").style.MozTransform),j?o["-moz-transform"]=o.transform="translate("+i.left+"px,"+i.top+"px)":(o.left=i.left,o.top=i.top),o}}});function L(t){var e;!m.currTemplate[A]||(e=m.currTemplate[A].find("iframe")).length&&(t||(e[0].src="//about:blank"),m.isIE8&&e.css("display",t?"block":"none"))}var A="iframe";d.magnificPopup.registerModule(A,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){m.types.push(A),c("BeforeChange",function(t,e,i){e!==i&&(e===A?L():i===A&&L(!0))}),c(l+"."+A,function(){L()})},getIframe:function(t,e){var i=t.src,s=m.st.iframe;d.each(s.patterns,function(){if(-1<i.indexOf(this.index))return this.id&&(i="string"==typeof this.id?i.substr(i.lastIndexOf(this.id
1)+this.id.length,i.length):this.id.call(this,i)),i=this.src.replace("%id%",i),!1});var n={};return s.srcAction&&(n[s.srcAction]=i),m._parseMarkup(e,n,t),m.updateStatus("ready"),e}}});function B(t){var e=m.items.length;return e-1<t?t-e:t<0?e+t:t}function H(t,e,i){return t.replace(/%curr%/gi,e+1).replace(/%total%/gi,i)}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 o=m.st.gallery,t=".mfp-gallery",n=Boolean(d.fn.mfpFastClick);if(m.direction=!0,!o||!o.enabled)return!1;v+=" mfp-gallery",c(y+t,function(){o.navigateByImgClick&&m.wrap.on("click"+t,".mfp-img",function(){if(1<m.items.length)return m.next(),!1}),g.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=H(e.text,m.currItem.index,m.items.length))}),c(w+t,function(t,e,i,s){var n=m.items.length;i.counter=1<n?H(o.tCounter,s.index,n):""}),c("BuildControls"+t,function(){var t,e,i,s;1<m.items.length&&o.arrows&&!m.arrowLeft&&(t=o.arrowMarkup,e=m.arrowLeft=d(t.replace(/%title%/gi,o.tPrev).replace(/%dir%/gi,"left")).addClass(C),i=m.arrowRight=d(t.replace(/%title%/gi,o.tNext).replace(/%dir%/gi,"right")).addClass(C),e[s=n?"mfpFastClick":"click"](function(){m.prev()}),i[s](function(){m.next()}),m.isIE7&&(u("b",e[0],!1,!0),u("a",e[0],!1,!0),u("b",i[0],!1,!0),u("a",i[0],!1,!0)),m.container.append(e.add(i)))}),c(r+t,function(){m._preloadTimeout&&clearTimeout(m._preloadTimeout),m._preloadTimeout=setTimeout(function(){m.preloadNearbyImages(),m._preloadTimeout=null},16)}),c(l+t,function(){g.off(t),m.wrap.off("click"+t),m.arrowLeft&&n&&m.arrowLeft.add(m.arrowRight).destroyMfpFastClick(),m.arrowRight=m.arrowLeft=null})},next:function(){m.direction=!0,m.index=B(m.index+1),m.updateItemHTML()},prev:function(){m.direction=!1,m.index=B(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),s=1;s<=(m.direction?i:e);s++)m._preloadItem(m.index+s);for(s=1;s<=(m.direction?e:i);s++)m._preloadItem(m.index-s)},_preloadItem:function(t){var e;t=B(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)}}});var F,N,W="retina";function X(){k.off("touchmove"+N+" touchend"+N)}d.magnificPopup.registerModule(W,{options:{replaceSrc:function(t){return t.src.replace(/\.\w+$/,function(t){return"@2x"+t})},ratio:1},proto:{initRetina:function(){var i,s;1<window.devicePixelRatio&&(i=m.st.retina,s=i.ratio,1<(s=isNaN(s)?s():s)&&(c("ImageHasSize."+W,function(t,e){e.img.css({"max-width":e.img[0].naturalWidth/s,width:"100%"})}),c("ElementParse."+W,function(t,e){e.src=i.replaceSrc(e,s)})))}}}),F="ontouchstart"in window,N=".mfpFastClick",d.fn.mfpFastClick=function(l){return d(this).each(function(){var e,i,s,n,o,r,a,t=d(this);F&&t.on("touchstart"+N,function(t){o=!1,a=1,r=t.originalEvent?t.originalEvent.touches[0]:t.touches[0],s=r.clientX,n=r.clientY,k.on("touchmove"+N,function(t){r=t.originalEvent?t.originalEvent.touches:t.touches,a=r.length,r=r[0],(10<Math.abs(r.clientX-s)||10<Math.abs(r.clientY-n))&&(o=!0,X())}).on("touchend"+N,function(t){X(),o||1<a||(e=!0,t.preventDefault(),clearTimeout(i),i=setTimeout(function(){e=!1},1e3),l())})}),t.on("click"+N,function(){e||l()})})},d.fn.destroyMfpFastClick=function(){d(this).off("touchstart"+N+" click"+N),F&&k.off("touchmove"+N+" touchend"+N)},o()}),function(){var z=this.jQuery||window.jQuery,M=z(window);z.fn.stick_in_parent=function(t){var x,e,k,i,s,T,n,E,S,o,I,P,$;for(null==t&&(t={}),$=t.sticky_class,T=t.inner_scrolling,P=t.recalc_every,I=t.parent,S=t.offset_top,E=t.spacer,k=t.bottoming,null==S&&(S=0),null==I&&(I=void 0),null==T&&(T=!0),null==$&&($="is_stuck"),x=z(document),null==k&&(k=!0),o=function(t){var e,i;return window.getComputedStyle?(t[0],e=window.getComputedStyle(t[0]),i=parseFloat(e.getPropertyValue("width"))+parseFloat(e.getPropertyValue("margin-left"))+parseFloat(e.getPropertyValue("margin-right")),"border-box"!==e.getPropertyValue("box-sizing")&&(i+=parseFloat(e.getPropertyValue("border-left-width"))+parseFloat(e.getPropertyValue("border-right-width"))+parseFloat(e.getPropertyValue("padding-left"))+parseFloat(e.getPropertyValue("padding-right"))),i):t.outerWidth(!0)},i=function(r,a,l,h,d,c,u,p){var f,t,m,g,v,w,y,_,e,b,C,s;if(!r.data("sticky_kit")){if(r.data("sticky_kit",!0),v=x.height(),y=r.parent(),null!=I&&(y=y.closest(I)),!y.length)throw"failed to find stick parent";
1if(f=m=!1,(C=null!=E?E&&r.closest(E):z("<div />"))&&C.css("position",r.css("position")),(_=function(){var t,e,i;if(!p)return v=x.height(),t=parseInt(y.css("border-top-width"),10),e=parseInt(y.css("padding-top"),10),a=parseInt(y.css("padding-bottom"),10),l=y.offset().top+t+e,h=y.height(),m&&(f=m=!1,null==E&&(r.insertAfter(C),C.detach()),r.css({position:"",width:"",bottom:""}).removeClass($),i=!0),d=r.offset().top-(parseInt(r.css("margin-top"),10)||0)-S,c=r.outerHeight(!0),u=r.css("float"),C&&C.css({width:o(r),height:c,display:r.css("display"),"vertical-align":r.css("vertical-align"),float:u}),i?s():void 0})(),c!==h)return g=void 0,w=S,b=P,s=function(){var t,e,i,s,n,o;if(!p)return i=!1,null!=b&&--b<=0&&(b=P,_(),i=!0),i||x.height()===v||(_(),i=!0),s=M.scrollTop(),null!=g&&(e=s-g),g=s,m?(k&&(n=h+l<s+c+w,f&&!n&&(f=!1,r.css({position:"fixed",bottom:"",top:""}).trigger("sticky_kit:unbottom"))),s<d&&(m=!1,w=S,null==E&&("left"!==u&&"right"!==u||r.insertAfter(C),C.detach()),t={position:"",width:""},r.css(t).removeClass($).trigger("sticky_kit:unstick")),T&&(o=M.height())<c+S&&(f||(w-=e,w=Math.max(o-c,w),w=Math.min(S,w)))):d<s&&(m=!0,(t={position:"fixed"}).width="border-box"===r.css("box-sizing")?r.outerWidth()+"px":r.width()+"px",r.css(t).addClass($),null==E&&(r.after(C),"left"!==u&&"right"!==u||C.append(r)),r.trigger("sticky_kit:stick")),m&&k&&(null==n&&(n=h+l<s+c+w),!f&&n)?(f=!0,"static"===y.css("position")&&y.css({position:"relative"}),r.css({position:"absolute",bottom:a,top:"auto"}).trigger("sticky_kit:bottom")):void 0},e=function(){if(!(document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement))return _(),s()},t=function(){if(p=!0,M.off("touchmove",s),M.off("scroll",s),M.off("resize",e),z(document.body).off("sticky_kit:recalc",e),r.off("sticky_kit:detach",t),r.removeData("sticky_kit"),r.css({position:"",bottom:"",width:""}),y.position("position",""),m)return null==E&&("left"!==u&&"right"!==u||r.insertAfter(C),C.remove()),r.removeClass($)},M.on("touchmove",s),M.on("scroll",s),M.on("resize",e),z(document.body).on("sticky_kit:recalc",e),r.on("sticky_kit:detach",t),setTimeout(s,0)}},s=0,n=this.length;s<n;s++)e=this[s],i(z(e));return this}}.call(this),function(l,h,o,a){function i(t,e){this.settings=null,this.options=l.extend({},i.Defaults,e),this.$element=l(t),this.drag=l.extend({},s),this.state=l.extend({},n),this.e=l.extend({},r),this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._invalidated={},this._pipe=[],l.each(i.Plugins,l.proxy(function(t,e){this._plugins[t[0].toLowerCase()+t.slice(1)]=new e(this)},this)),l.each(i.Pipe,l.proxy(function(t,e){this._pipe.push({filter:e.filter,run:l.proxy(e.run,this)})},this)),this.setup(),this.initialize()}function d(t){if(t.touches!==a)return{x:t.touches[0].pageX,y:t.touches[0].pageY};if(t.touches===a){if(t.pageX!==a)return{x:t.pageX,y:t.pageY};if(t.pageX===a)return{x:t.clientX,y:t.clientY}}}function t(t){var e,i,s=o.createElement("div"),n=t;for(e in n)if(i=n[e],void 0!==s.style[i])return s=null,[i,e];return[!1]}var s={start:0,startX:0,startY:0,current:0,currentX:0,currentY:0,offsetX:0,offsetY:0,distance:null,startTime:0,endTime:0,updatedX:0,targetEl:null},n={isTouch:!1,isScrolling:!1,isSwiping:!1,direction:!1,inMotion:!1},r={_onDragStart:null,_onDragMove:null,_onDragEnd:null,_transitionEnd:null,_resizer:null,_responsiveCall:null,_goToLoop:null,_checkVisibile:null};i.Defaults={items:3,loop:!1,center:!1,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:h,responsiveClass:!1,fallbackEasing:"swing",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",themeClass:"owl-theme",baseClass:"owl-carousel",itemClass:"owl-item",centerClass:"center",activeClass:"active"},i.Width={Default:"default",Inner:"inner",Outer:"outer"},i.Plugins={},i.Pipe=[{filter:["width","items","settings"],run:function(t){t.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){var t=this._clones;(this.$stage.children(".cloned").length!==t.length||!this.settings.loop&&0<t.length)&&(this.$stage.children(".cloned").remove(),this._clones=[])}},{filter:["items","settings"],run:function(){for(var t=this._clones,e=this._items,i=this.settings.loop?t.length-Math.max(2*this.settings.items,4):0,s=0,n=Math.abs(i/2);s<n;s++)0<i?(this.$stage.children().eq(e.length+t.length-1).remove(),t.pop(),this.$stage.children().eq(0).remove(),t.pop()):(t.push(t.length/2),this.$stage.append(e[t[t.length-1]].clone().addClass("cloned")),t.push(e.length-1-(t.length-1)/2),this.$stage.prepend(e[t[t.length-1]].clone().addClass("cloned")))}},{filter:["width","items","settings"],run:function(){var t,e,i,s=this.settings.rtl?1:-1,n=(this.width()/this.settings.items).toFixed(3),o=0;for(this._coordinates=[],e=0,i=this._clones.length+this._items.length;e<i;e++)t=this._mergers[this.relative(e)],t=this.settings.mergeFit&&Math.min(t,this.settings.items)||t,o+=(this.settings.autoWidth?this._items[this.relative(e)].width()+this.settings.margin:n*t)*s,this._coordinates.push(o)}},{filter:["width","items","settings"],run:function(){var t,e,i=(this.width()/this.settings.items).toFixed(3),s={width:Math.abs(this._coordinates[this._coordinates.length-1])+2*this.settings.stagePadding,"padding-left":this.settings.stagePadding||"","padding-right":this.settings.stagePadding||""};if(this.$stage.css(s),(s={width:this.settings.autoWidth?"auto":i-this.settings.margin})[this.settings.rtl?"margin-left":"margin-right"]=this.settings.margin,!this.settings.autoWidth&&0<l.grep(this._mergers,function(t){return 1<t}).length)for(t=0,e=this._coordinates.length;t<e;t++)s.width=Math.abs(this._coordinates[t])-Math.abs(this._coordinates[t-1]||0)-this.settings.margin,this.$stage.children().eq(t).css(s);else this.$stage.children().css(s)}},{filter:["width","items","settings"],run:function(t){t.current&&this.reset(this.$stage.children().index(t.current))}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){for(var t,e,i=this.settings.rtl?1:-1,s=2*this.settings.stagePadding,n=this.coordinates(this.current())+s,o=n+this.width()*i,r=[],a=0,l=this._coordinates.length;a<l;a++)t=this._coordinates[a-1]||0,e=Math.abs(this._coordinates[a])+s*i,(this.op(t,"<=",
1n)&&this.op(t,">",o)||this.op(e,"<",n)&&this.op(e,">",o))&&r.push(a);this.$stage.children("."+this.settings.activeClass).removeClass(this.settings.activeClass),this.$stage.children(":eq("+r.join("), :eq(")+")").addClass(this.settings.activeClass),this.settings.center&&(this.$stage.children("."+this.settings.centerClass).removeClass(this.settings.centerClass),this.$stage.children().eq(this.current()).addClass(this.settings.centerClass))}}],i.prototype.initialize=function(){if(this.trigger("initialize"),this.$element.addClass(this.settings.baseClass).addClass(this.settings.themeClass).toggleClass("owl-rtl",this.settings.rtl),this.browserSupport(),this.settings.autoWidth&&!0!==this.state.imagesLoaded){var t=this.$element.find("img"),e=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:a,i=this.$element.children(e).width();if(t.length&&i<=0)return this.preloadAutoWidthImages(t),!1}this.$element.addClass("owl-loading"),this.$stage=l("<"+this.settings.stageElement+' class="owl-stage"/>').wrap('<div class="owl-stage-outer">'),this.$element.append(this.$stage.parent()),this.replace(this.$element.children().not(this.$stage.parent())),this._width=this.$element.width(),this.refresh(),this.$element.removeClass("owl-loading").addClass("owl-loaded"),this.eventsCall(),this.internalEvents(),this.addTriggerableEvents(),this.trigger("initialized")},i.prototype.setup=function(){var e=this.viewport(),t=this.options.responsive,i=-1,s=null;t?(l.each(t,function(t){t<=e&&i<t&&(i=Number(t))}),delete(s=l.extend({},this.options,t[i])).responsive,s.responsiveClass&&this.$element.attr("class",function(t,e){return e.replace(/\b owl-responsive-\S+/g,"")}).addClass("owl-responsive-"+i)):s=l.extend({},this.options),null!==this.settings&&this._breakpoint===i||(this.trigger("change",{property:{name:"settings",value:s}}),this._breakpoint=i,this.settings=s,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}}))},i.prototype.optionsLogic=function(){this.$element.toggleClass("owl-center",this.settings.center),this.settings.loop&&this._items.length<this.settings.items&&(this.settings.loop=!1),this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},i.prototype.prepare=function(t){var e=this.trigger("prepare",{content:t});return e.data||(e.data=l("<"+this.settings.itemElement+"/>").addClass(this.settings.itemClass).append(t)),this.trigger("prepared",{content:e.data}),e.data},i.prototype.update=function(){for(var t=0,e=this._pipe.length,i=l.proxy(function(t){return this[t]},this._invalidated),s={};t<e;)(this._invalidated.all||0<l.grep(this._pipe[t].filter,i).length)&&this._pipe[t].run(s),t++;this._invalidated={}},i.prototype.width=function(t){switch(t=t||i.Width.Default){case i.Width.Inner:case i.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},i.prototype.refresh=function(){if(0===this._items.length)return!1;(new Date).getTime(),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$stage.addClass("owl-refresh"),this.update(),this.$stage.removeClass("owl-refresh"),this.state.orientation=h.orientation,this.watchVisibility(),this.trigger("refreshed")},i.prototype.eventsCall=function(){this.e._onDragStart=l.proxy(function(t){this.onDragStart(t)},this),this.e._onDragMove=l.proxy(function(t){this.onDragMove(t)},this),this.e._onDragEnd=l.proxy(function(t){this.onDragEnd(t)},this),this.e._onResize=l.proxy(function(t){this.onResize(t)},this),this.e._transitionEnd=l.proxy(function(t){this.transitionEnd(t)},this),this.e._preventClick=l.proxy(function(t){this.preventClick(t)},this)},i.prototype.onThrottledResize=function(){h.clearTimeout(this.resizeTimer),this.resizeTimer=h.setTimeout(this.e._onResize,this.settings.responsiveRefreshRate)},i.prototype.onResize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!this.trigger("resize").isDefaultPrevented()&&(this._width=this.$element.width(),this.invalidate("width"),this.refresh(),void this.trigger("resized"))))},i.prototype.eventsRouter=function(t){var e=t.type;"mousedown"===e||"touchstart"===e?this.onDragStart(t):"mousemove"===e||"touchmove"===e?this.onDragMove(t):"mouseup"!==e&&"touchend"!==e&&"touchcancel"!==e||this.onDragEnd(t)},i.prototype.internalEvents=function(){var t=("ontouchstart"in h||navigator.msMaxTouchPoints,h.navigator.msPointerEnabled);this.settings.mouseDrag?(this.$stage.on("mousedown",l.proxy(function(t){this.eventsRouter(t)},this)),this.$stage.on("dragstart",function(){return!1}),this.$stage.get(0).onselectstart=function(){return!1}):this.$element.addClass("owl-text-select-on"),this.settings.touchDrag&&!t&&this.$stage.on("touchstart touchcancel",l.proxy(function(t){this.eventsRouter(t)},this)),this.transitionEndVendor&&this.on(this.$stage.get(0),this.transitionEndVendor,this.e._transitionEnd,!1),!1!==this.settings.responsive&&this.on(h,"resize",l.proxy(this.onThrottledResize,this))},i.prototype.onDragStart=function(t){var e,i,s,n=t.originalEvent||t||h.event;if(3===n.which||this.state.isTouch)return!1;if("mousedown"===n.type&&this.$stage.addClass("owl-grab"),this.trigger("drag"),this.drag.startTime=(new Date).getTime(),this.speed(0),this.state.isTouch=!0,this.state.isScrolling=!1,this.state.isSwiping=!1,this.drag.distance=0,e=d(n).x,i=d(n).y,this.drag.offsetX=this.$stage.position().left,this.drag.offsetY=this.$stage.position().top,this.settings.rtl&&(this.drag.offsetX=this.$stage.position().left+this.$stage.width()-this.width()+this.settings.margin),this.state.inMotion&&this.support3d)s=this.getTransformProperty(),this.drag.offsetX=s,this.animate(s),this.state.inMotion=!0;else if(this.state.inMotion&&!this.support3d)return this.state.inMotion=!1;this.drag.startX=e-this.drag.offsetX,this.drag.startY=i-this.drag.offsetY,this.drag.start=e-this.drag.startX,this.drag.targetEl=n.target||n.srcElement,this.drag.updatedX=this.drag.start,"IMG"!==this.drag.targetEl.tagName&&"A"!==this.drag.targetEl.tagName||(this.drag.targetEl.draggable=!1),l(o).on("mousemove.owl.dragEvents mouseup.owl.dragEvents touchmove.owl.dragEvents touchend.owl.dragEvents",l.proxy(function(t){this.eventsRouter(t)},this))},i.prototype.onDragMove=function(t){var e,i,s,n,o,r;this.state.isTouch&&(this.state.isScrolling||(i=d(e=t.originalEvent||t||h.event).x,s=d(e).y,this.drag.currentX=i-this.drag.startX,this.drag.currentY=s-this.drag.startY,this.drag.distance=this.drag.currentX-this.drag.offsetX,this.drag.distance<0?this.state.direction=this.settings.rtl?"right":"left":0<this.drag.distance&&(this.state.direction=this.settings.rtl?"left":"right"),this.settings.loop?this.op(this.drag.currentX,">",this.coordinates(this.minimum()))&&"right"===this.state.direction?this.drag.currentX-=(this.settings.center&&this.coordinates(0))-this.coordinates(this._items.length):this.op(this.drag.currentX,"<",this.coordinates(this.maximum()))&&"left"===this.state.direction&&(this.drag.currentX+=(this.settings.center&&this.coordinates(0))-this.coordinates(this._items.length)):(n=this.coordinates(this.settings.rtl?this.maximum():this.minimum()),o=this.coordinates(this.settings.rtl?this.minimum():this.maximum()),r=this.settings.pullDrag?this.drag.distance/5:0,this.drag.currentX=Math.max(Math.min(this.drag.currentX,n+r),o+r)),(8<this.drag.distance||this.drag.distance<-8)&&(e.preventDefault!==a?e.preventDefault():e.returnValue=!1,this.state.isSwiping=!0),this.drag.updatedX=this.drag.currentX,(16<this.drag.currentY||this.drag.currentY<-16)&&
1!1===this.state.isSwiping&&(this.state.isScrolling=!0,this.drag.updatedX=this.drag.start),this.animate(this.drag.updatedX)))},i.prototype.onDragEnd=function(t){var e,i;if(this.state.isTouch){if("mouseup"===t.type&&this.$stage.removeClass("owl-grab"),this.trigger("dragged"),this.drag.targetEl.removeAttribute("draggable"),this.state.isTouch=!1,this.state.isScrolling=!1,this.state.isSwiping=!1,0===this.drag.distance&&!0!==this.state.inMotion)return this.state.inMotion=!1;this.drag.endTime=(new Date).getTime(),e=this.drag.endTime-this.drag.startTime,(3<Math.abs(this.drag.distance)||300<e)&&this.removeClick(this.drag.targetEl),i=this.closest(this.drag.updatedX),this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(i),this.invalidate("position"),this.update(),this.settings.pullDrag||this.drag.updatedX!==this.coordinates(i)||this.transitionEnd(),this.drag.distance=0,l(o).off(".owl.dragEvents")}},i.prototype.removeClick=function(t){this.drag.targetEl=t,l(t).on("click.preventClick",this.e._preventClick),h.setTimeout(function(){l(t).off("click.preventClick")},300)},i.prototype.preventClick=function(t){t.preventDefault?t.preventDefault():t.returnValue=!1,t.stopPropagation&&t.stopPropagation(),l(t.target).off("click.preventClick")},i.prototype.getTransformProperty=function(){var t=h.getComputedStyle(this.$stage.get(0),null).getPropertyValue(this.vendorName+"transform");return!0!=(16===(t=t.replace(/matrix(3d)?\(|\)/g,"").split(",")).length)?t[4]:t[12]},i.prototype.closest=function(i){var s=-1,n=this.width(),o=this.coordinates();return this.settings.freeDrag||l.each(o,l.proxy(function(t,e){return e-30<i&&i<e+30?s=t:this.op(i,"<",e)&&this.op(i,">",o[t+1]||e-n)&&(s="left"===this.state.direction?t+1:t),-1===s},this)),this.settings.loop||(this.op(i,">",o[this.minimum()])?s=i=this.minimum():this.op(i,"<",o[this.maximum()])&&(s=i=this.maximum())),s},i.prototype.animate=function(t){this.trigger("translate"),this.state.inMotion=0<this.speed(),this.support3d?this.$stage.css({transform:"translate3d("+t+"px,0px, 0px)",transition:this.speed()/1e3+"s"}):this.state.isTouch?this.$stage.css({left:t+"px"}):this.$stage.animate({left:t},this.speed()/1e3,this.settings.fallbackEasing,l.proxy(function(){this.state.inMotion&&this.transitionEnd()},this))},i.prototype.current=function(t){return t===a?this._current:0===this._items.length?a:(t=this.normalize(t),this._current!==t&&((e=this.trigger("change",{property:{name:"position",value:t}})).data!==a&&(t=this.normalize(e.data)),this._current=t,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})),this._current);var e},i.prototype.invalidate=function(t){this._invalidated[t]=!0},i.prototype.reset=function(t){(t=this.normalize(t))!==a&&(this._speed=0,this._current=t,this.suppress(["translate","translated"]),this.animate(this.coordinates(t)),this.release(["translate","translated"]))},i.prototype.normalize=function(t,e){var i=e?this._items.length:this._items.length+this._clones.length;return!l.isNumeric(t)||i<1?a:t=this._clones.length?(t%i+i)%i:Math.max(this.minimum(e),Math.min(this.maximum(e),t))},i.prototype.relative=function(t){return t=this.normalize(t),t-=this._clones.length/2,this.normalize(t,!0)},i.prototype.maximum=function(t){var e,i,s,n=0,o=this.settings;if(t)return this._items.length-1;if(!o.loop&&o.center)e=this._items.length-1;else if(o.loop||o.center)if(o.loop||o.center)e=this._items.length+o.items;else{if(!o.autoWidth&&!o.merge)throw"Can not detect maximum absolute position.";for(revert=o.rtl?1:-1,i=this.$stage.width()-this.$element.width();(s=this.coordinates(n))&&!(s*revert>=i);)e=++n}else e=this._items.length-o.items;return e},i.prototype.minimum=function(t){return t?0:this._clones.length/2},i.prototype.items=function(t){return t===a?this._items.slice():(t=this.normalize(t,!0),this._items[t])},i.prototype.mergers=function(t){return t===a?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},i.prototype.clones=function(i){function s(t){return t%2==0?n+t/2:e-(t+1)/2}var e=this._clones.length/2,n=e+this._items.length;return i===a?l.map(this._clones,function(t,e){return s(e)}):l.map(this._clones,function(t,e){return t===i?s(e):null})},i.prototype.speed=function(t){return t!==a&&(this._speed=t),this._speed},i.prototype.coordinates=function(t){var e=null;return t===a?l.map(this._coordinates,l.proxy(function(t,e){return this.coordinates(e)},this)):(this.settings.center?(e=this._coordinates[t],e+=(this.width()-e+(this._coordinates[t-1]||0))/2*(this.settings.rtl?-1:1)):e=this._coordinates[t-1]||0,e)}
1,i.prototype.duration=function(t,e,i){return Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(i||this.settings.smartSpeed)},i.prototype.to=function(t,e){var i,s,n,o,r,a;this.settings.loop?(i=t-this.relative(this.current()),s=this.current(),r=(n=this.current())-(o=this.current()+i)<0,a=this._clones.length+this._items.length,o<this.settings.items&&!1==r?(s=n+this._items.length,this.reset(s)):o>=a-this.settings.items&&!0==r&&(s=n-this._items.length,this.reset(s)),h.clearTimeout(this.e._goToLoop),this.e._goToLoop=h.setTimeout(l.proxy(function(){this.speed(this.duration(this.current(),s+i,e)),this.current(s+i),this.update()},this),30)):(this.speed(this.duration(this.current(),t,e)),this.current(t),this.update())},i.prototype.next=function(t){t=t||!1,this.to(this.relative(this.current())+1,t)},i.prototype.prev=function(t){t=t||!1,this.to(this.relative(this.current())-1,t)},i.prototype.transitionEnd=function(t){return(t===a||(t.stopPropagation(),(t.target||t.srcElement||t.originalTarget)===this.$stage.get(0)))&&(this.state.inMotion=!1,void this.trigger("translated"))},i.prototype.viewport=function(){var t;if(this.options.responsiveBaseElement!==h)t=l(this.options.responsiveBaseElement).width();else if(h.innerWidth)t=h.innerWidth;else{if(!o.documentElement||!o.documentElement.clientWidth)throw"Can not detect viewport width.";t=o.documentElement.clientWidth}return t},i.prototype.replace=function(t){this.$stage.empty(),this._items=[],t=t&&(t instanceof jQuery?t:l(t)),this.settings.nestedItemSelector&&(t=t.find("."+this.settings.nestedItemSelector)),t.filter(function(){return 1===this.nodeType}).each(l.proxy(function(t,e){e=this.prepare(e),this.$stage.append(e),this._items.push(e),this._mergers.push(+e.find("[data-merge]").andSelf("[data-merge]").attr("data-merge")||1)},this)),this.reset(l.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},i.prototype.add=function(t,e){e=e===a?this._items.length:this.normalize(e,!0),this.trigger("add",{content:t,position:e}),0===this._items.length||e===this._items.length?(this.$stage.append(t),this._items.push(t),this._mergers.push(+t.find("[data-merge]").andSelf("[data-merge]").attr("data-merge")||1)):(this._items[e].before(t),this._items.splice(e,0,t),this._mergers.splice(e,0,+t.find("[data-merge]").andSelf("[data-merge]").attr("data-merge")||1)),this.invalidate("items"),this.trigger("added",{content:t,position:e})},i.prototype.remove=function(t){(t=this.normalize(t,!0))!==a&&(this.trigger("remove",{content:this._items[t],position:t}),this._items[t].remove(),this._items.splice(t,1),this._mergers.splice(t,1),this.invalidate("items"),this.trigger("removed",{content:null,position:t}))},i.prototype.addTriggerableEvents=function(){var i=l.proxy(function(e,i){return l.proxy(function(t){t.relatedTarget!==this&&(this.suppress([i]),e.apply(this,[].slice.call(arguments,1)),this.release([i]))},this)},this);l.each({next:this.next,prev:this.prev,to:this.to,destroy:this.destroy,refresh:this.refresh,replace:this.replace,add:this.add,remove:this.remove},l.proxy(function(t,e){this.$element.on(t+".owl.carousel",i(e,t+".owl.carousel"))},this))},i.prototype.watchVisibility=function(){function t(t){return 0<t.offsetWidth&&0<t.offsetHeight}t(this.$element.get(0))||(this.$element.addClass("owl-hidden"),h.clearInterval(this.e._checkVisibile),this.e._checkVisibile=h.setInterval(l.proxy(function(){t(this.$element.get(0))&&(this.$element.removeClass("owl-hidden"),this.refresh(),h.clearInterval(this.e._checkVisibile))},this),500))},i.prototype.preloadAutoWidthImages=function(i){var s,n,o=0,r=this;i.each(function(t,e){s=l(e),(n=new Image).onload=function(){o++,s.attr("src",n.src),s.css("opacity",1),o>=i.length&&(r.state.imagesLoaded=!0,r.initialize())},n.src=s.attr("src")||s.attr("data-src")||s.attr("data-src-retina")})},i.prototype.destroy=function(){for(var t in this.$element.hasClass(this.settings.themeClass)&&this.$element.removeClass(this.settings.themeClass),!1!==this.settings.responsive&&l(h).off("resize.owl.carousel"),this.transitionEndVendor&&this.off(this.$stage.get(0),this.transitionEndVendor,this.e._transitionEnd),this._plugins)this._plugins[t].destroy();(this.settings.mouseDrag||this.settings.touchDrag)&&(this.$stage.off("mousedown touchstart touchcancel"),l(o).off(".owl.dragEvents"),this.$stage.get(0).onselectstart=function(){},this.$stage.off("dragstart",function(){return!1})),this.$element.off(".owl"),this.$stage.children(".cloned").remove(),this.e=null,this.$element.removeData("owlCarousel"),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.unwrap()}
1,i.prototype.op=function(t,e,i){var s=this.settings.rtl;switch(e){case"<":return s?i<t:t<i;case">":return s?t<i:i<t;case">=":return s?t<=i:i<=t;case"<=":return s?i<=t:t<=i}},i.prototype.on=function(t,e,i,s){t.addEventListener?t.addEventListener(e,i,s):t.attachEvent&&t.attachEvent("on"+e,i)},i.prototype.off=function(t,e,i,s){t.removeEventListener?t.removeEventListener(e,i,s):t.detachEvent&&t.detachEvent("on"+e,i)},i.prototype.trigger=function(t,e,i){var s={item:{count:this._items.length,index:this.current()}},n=l.camelCase(l.grep(["on",t,i],function(t){return t}).join("-").toLowerCase()),o=l.Event([t,"owl",i||"carousel"].join(".").toLowerCase(),l.extend({relatedTarget:this},s,e));return this._supress[t]||(l.each(this._plugins,function(t,e){e.onTrigger&&e.onTrigger(o)}),this.$element.trigger(o),this.settings&&"function"==typeof this.settings[n]&&this.settings[n].apply(this,o)),o},i.prototype.suppress=function(t){l.each(t,l.proxy(function(t,e){this._supress[e]=!0},this))},i.prototype.release=function(t){l.each(t,l.proxy(function(t,e){delete this._supress[e]},this))},i.prototype.browserSupport=function(){this.support3d=t(["perspective","webkitPerspective","MozPerspective","OPerspective","MsPerspective"])[0],this.support3d&&(this.transformVendor=t(["transform","WebkitTransform","MozTransform","OTransform","msTransform"])[0],this.transitionEndVendor=["transitionend","webkitTransitionEnd","transitionend","oTransitionEnd"][t(["transition","WebkitTransition","MozTransition","OTransition"])[1]],this.vendorName=this.transformVendor.replace(/Transform/i,""),this.vendorName=""!==this.vendorName?"-"+this.vendorName.toLowerCase()+"-":""),this.state.orientation=h.orientation},l.fn.owlCarousel=function(t){return this.each(function(){l(this).data("owlCarousel")||l(this).data("owlCarousel",new i(this,t))})},l.fn.owlCarousel.Constructor=i}(window.Zepto||window.jQuery,window,document),function(a,o){var e=function(t){this._core=t,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel":a.proxy(function(t){if(t.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(t.property&&"position"==t.property.name||"initialized"==t.type))for(var e=this._core.settings,i=e.center&&Math.ceil(e.items/2)||e.items,s=e.center&&-1*i||0,n=(t.property&&t.property.value||this._core.current())+s,o=this._core.clones().length,r=a.proxy(function(t,e){this.load(e)},this);s++<i;)this.load(o/2+this._core.relative(n)),o&&a.each(this._core.clones(this._core.relative(n++)),r)},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};e.Defaults={lazyLoad:!1},e.prototype.load=function(t){var e=this._core.$stage.children().eq(t),i=e&&e.find(".owl-lazy");!i||-1<a.inArray(e.get(0),this._loaded)||(i.each(a.proxy(function(t,e){var i,s=a(e),n=1<o.devicePixelRatio&&s.attr("data-src-retina")||s.attr("data-src");this._core.trigger("load",{element:s,url:n},"lazy"),s.is("img")?s.one("load.owl.lazy",a.proxy(function(){s.css("opacity",1),this._core.trigger("loaded",{element:s,url:n},"lazy")},this)).attr("src",n):((i=new Image).onload=a.proxy(function(){s.css({"background-image":"url("+n+")",opacity:"1"}),this._core.trigger("loaded",{element:s,url:n},"lazy")},this),i.src=n)},this)),this._loaded.push(e.get(0)))},e.prototype.destroy=function(){var t,e;for(t in this.handlers)this._core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},a.fn.owlCarousel.Constructor.Plugins.Lazy=e}(window.Zepto||window.jQuery,window,document),function(e){var i=function(t){this._core=t,this._handlers={"initialized.owl.carousel":e.proxy(function(){this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":e.proxy(function(t){this._core.settings.autoHeight&&"position"==t.property.name&&this.update()},this),"loaded.owl.lazy":e.proxy(function(t){this._core.settings.autoHeight&&t.element.closest("."+this._core.settings.itemClass)===this._core.$stage.children().eq(this._core.current())&&this.update()},this)},this._core.options=e.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers)};i.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},i.prototype.update=function(){this._core.$stage.parent().height(this._core.$stage.children().eq(this._core.current()).height()).addClass(this._core.settings.autoHeightClass)},i.prototype.destroy=function(){var t,e;for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},e.fn.owlCarousel.Constructor.Plugins.AutoHeight=i}(window.Zepto||window.jQuery,(window,document)),function(d,e,i){var s=function(t){this._core=t,this._videos={},this._playing=null,this._fullscreen=!1,this._handlers={"resize.owl.carousel":d.proxy(function(t){this._core.settings.video&&!this.isInFullScreen()&&t.preventDefault()},this),"refresh.owl.carousel changed.owl.carousel":d.proxy(function(){this._playing&&this.stop()},this),"prepared.owl.carousel":d.proxy(function(t){var e=d(t.content).find(".owl-video");e.length&&(e.css("display","none"),this.fetch(e,d(t.content)))},this)},this._core.options=d.extend({},s.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",d.proxy(function(t){this.play(t)},this))};s.Defaults={video:!1,videoHeight:!1,videoWidth:!1},s.prototype.fetch=function(t,e){var i=t.attr("data-vimeo-id")?"vimeo":"youtube",s=t.attr("data-vimeo-id")||t.attr("data-youtube-id"),n=t.attr("data-width")||this._core.settings.videoWidth,o=t.attr("data-height")||this._core.settings.videoHeight,r=t.attr("href");if(!r)throw new Error("Missing video URL.");
1if(-1<(s=r.match(/(http:|https:|)\/\/(player.|www.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com))\/(video\/|embed\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu"))i="youtube";else{if(!(-1<s[3].indexOf("vimeo")))throw new Error("Video URL not supported.");i="vimeo"}s=s[6],this._videos[r]={type:i,id:s,width:n,height:o},e.attr("data-video",r),this.thumbnail(t,this._videos[r])},s.prototype.thumbnail=function(e,t){function i(t){s=h.lazyLoad?'<div class="owl-video-tn '+l+'" '+a+'="'+t+'"></div>':'<div class="owl-video-tn" style="opacity:1;background-image:url('+t+')"></div>',e.after(s),e.after('<div class="owl-video-play-icon"></div>')}var s,n,o=t.width&&t.height?'style="width:'+t.width+"px;height:"+t.height+'px;"':"",r=e.find("img"),a="src",l="",h=this._core.settings;return e.wrap('<div class="owl-video-wrapper"'+o+"></div>"),this._core.settings.lazyLoad&&(a="data-src",l="owl-lazy"),r.length?(i(r.attr(a)),r.remove(),!1):void("youtube"===t.type?(n="http://img.youtube.com/vi/"+t.id+"/hqdefault.jpg",i(n)):"vimeo"===t.type&&d.ajax({type:"GET",url:"http://vimeo.com/api/v2/video/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){n=t[0].thumbnail_large,i(n)}}))},s.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null},s.prototype.play=function(t){this._core.trigger("play",null,"video"),this._playing&&this.stop();var e,i,s=d(t.target||t.srcElement),n=s.closest("."+this._core.settings.itemClass),o=this._videos[n.attr("data-video")],r=o.width||"100%",a=o.height||this._core.$stage.height();"youtube"===o.type?e='<iframe width="'+r+'" height="'+a+'" src="http://www.youtube.com/embed/'+o.id+"?autoplay=1&v="+o.id+'" frameborder="0" allowfullscreen></iframe>':"vimeo"===o.type&&(e='<iframe src="http://player.vimeo.com/video/'+o.id+'?autoplay=1" width="'+r+'" height="'+a+'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>'),n.addClass("owl-video-playing"),this._playing=n,i=d('<div style="height:'+a+"px; width:"+r+'px" class="owl-video-frame">'+e+"</div>"),s.after(i)},s.prototype.isInFullScreen=function(){var t=i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement;return t&&d(t).parent().hasClass("owl-video-frame")&&(this._core.speed(0),this._fullscreen=!0),!(t&&this._fullscreen&&this._playing)&&(this._fullscreen?this._fullscreen=!1:!this._playing||this._core.state.orientation===e.orientation||(this._core.state.orientation=e.orientation,!1))},s.prototype.destroy=function(){var t,e;for(t in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},d.fn.owlCarousel.Constructor.Plugins.Video=s}(window.Zepto||window.jQuery,window,document),function(r){var e=function(t){this.core=t,this.core.options=r.extend({},e.Defaults,this.core.options),this.swapping=!0,this.previous=void 0,this.next=void 0,this.handlers={"change.owl.carousel":r.proxy(function(t){"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":r.proxy(function(t){this.swapping="translated"==t.type},this),"translate.owl.carousel":r.proxy(function(){this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};e.Defaults={animateOut:!1,animateIn:!1},e.prototype.swap=function(){var t,e,i,s,n,o;1===this.core.settings.items&&this.core.support3d&&(this.core.speed(0),e=r.proxy(this.clear,this),i=this.core.$stage.children().eq(this.previous),s=this.core.$stage.children().eq(this.next),n=this.core.settings.animateIn,o=this.core.settings.animateOut,this.core.current()!==this.previous&&(o&&(t=this.core.coordinates(this.previous)-this.core.coordinates(this.next),i.css({left:t+"px"}).addClass("animated owl-animated-out").addClass(o).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",e)),n&&s.addClass("animated owl-animated-in").addClass(n).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",e)))},e.prototype.clear=function(t){r(t.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.transitionEnd()},e.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},r.fn.owlCarousel.Constructor.Plugins.Animate=e}(window.Zepto||window.jQuery,(window,document)),function(e,i,t){var s=function(t){this.core=t,this.core.options=e.extend({},s.Defaults,this.core.options),this.handlers={"translated.owl.carousel refreshed.owl.carousel":e.proxy(function(){this.autoplay()}
1,this),"play.owl.autoplay":e.proxy(function(t,e,i){this.play(e,i)},this),"stop.owl.autoplay":e.proxy(function(){this.stop()},this),"mouseover.owl.autoplay":e.proxy(function(){this.core.settings.autoplayHoverPause&&this.pause()},this),"mouseleave.owl.autoplay":e.proxy(function(){this.core.settings.autoplayHoverPause&&this.autoplay()},this)},this.core.$element.on(this.handlers)};s.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},s.prototype.autoplay=function(){this.core.settings.autoplay&&!this.core.state.videoPlay?(i.clearInterval(this.interval),this.interval=i.setInterval(e.proxy(function(){this.play()},this),this.core.settings.autoplayTimeout)):i.clearInterval(this.interval)},s.prototype.play=function(){return!0===t.hidden||this.core.state.isTouch||this.core.state.isScrolling||this.core.state.isSwiping||this.core.state.inMotion?void 0:!1===this.core.settings.autoplay?void i.clearInterval(this.interval):void this.core.next(this.core.settings.autoplaySpeed)},s.prototype.stop=function(){i.clearInterval(this.interval)},s.prototype.pause=function(){i.clearInterval(this.interval)},s.prototype.destroy=function(){var t,e;for(t in i.clearInterval(this.interval),this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},e.fn.owlCarousel.Constructor.Plugins.autoplay=s}(window.Zepto||window.jQuery,window,document),function(o){"use strict";var e=function(t){this._core=t,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":o.proxy(function(t){this._core.settings.dotsData&&this._templates.push(o(t.content).find("[data-dot]").andSelf("[data-dot]").attr("data-dot"))},this),"add.owl.carousel":o.proxy(function(t){this._core.settings.dotsData&&this._templates.splice(t.position,0,o(t.content).find("[data-dot]").andSelf("[data-dot]").attr("data-dot"))},this),"remove.owl.carousel prepared.owl.carousel":o.proxy(function(t){this._core.settings.dotsData&&this._templates.splice(t.position,1)},this),"change.owl.carousel":o.proxy(function(t){var e,i,s;"position"!=t.property.name||this._core.state.revert||this._core.settings.loop||!this._core.settings.navRewind||(e=this._core.current(),i=this._core.maximum(),s=this._core.minimum(),t.data=t.property.value>i?i<=e?s:i:t.property.value<s?i:t.property.value)},this),"changed.owl.carousel":o.proxy(function(t){"position"==t.property.name&&this.draw()},this),"refreshed.owl.carousel":o.proxy(function(){this._initialized||(this.initialize(),this._initialized=!0),this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation")},this)},this._core.options=o.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers)};e.Defaults={nav:!1,navRewind:!0,navText:["prev","next"],navSpeed:!1,navElement:"div",navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotData:!1,dotsSpeed:!1,dotsContainer:!1,controlsClass:"owl-control
1s"},e.prototype.initialize=function(){var t,e,i=this._core.settings;for(e in i.dotsData||(this._templates=[o("<div>").addClass(i.dotClass).append(o("<span>")).prop("outerHTML")]),i.navContainer&&i.dotsContainer||(this._controls.$container=o("<div>").addClass(i.controlsClass).appendTo(this.$element)),this._controls.$indicators=i.dotsContainer?o(i.dotsContainer):o("<div>").hide().addClass(i.dotsClass).appendTo(this._controls.$container),this._controls.$indicators.on("click","div",o.proxy(function(t){var e=o(t.target).parent().is(this._controls.$indicators)?o(t.target).index():o(t.target).parent().index();t.preventDefault(),this.to(e,i.dotsSpeed)},this)),t=i.navContainer?o(i.navContainer):o("<div>").addClass(i.navContainerClass).prependTo(this._controls.$container),this._controls.$next=o("<"+i.navElement+">"),this._controls.$previous=this._controls.$next.clone(),this._controls.$previous.addClass(i.navClass[0]).html(i.navText[0]).hide().prependTo(t).on("click",o.proxy(function(){this.prev(i.navSpeed)},this)),this._controls.$next.addClass(i.navClass[1]).html(i.navText[1]).hide().appendTo(t).on("click",o.proxy(function(){this.next(i.navSpeed)},this)),this._overrides)this._core[e]=o.proxy(this[e],this)},e.prototype.destroy=function(){var t,e,i,s;for(t in this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)this._controls[e].remove();for(s in this.overides)this._core[s]=this._overrides[s];for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},e.prototype.update=function(){var t,e,i=this._core.settings,s=this._core.clones().length/2,n=s+this._core.items().length,o=i.center||i.autoWidth||i.dotData?1:i.dotsEach||i.items;if("page"!==i.slideBy&&(i.slideBy=Math.min(i.slideBy,i.items)),i.dots||"page"==i.slideBy)for(this._pages=[],t=s,e=0;t<n;t++)(o<=e||0===e)&&(this._pages.push({start:t-s,end:t-s+o-1}),e=0,0),e+=this._core.mergers(this._core.relative(t))},e.prototype.draw=function(){var t,e,i="",s=this._core.settings,n=(this._core.$stage.children(),this._core.relative(this._core.current()));if(!s.nav||s.loop||s.navRewind||(this._controls.$previous.toggleClass("disabled",n<=0),this._controls.$next.toggleClass("disabled",n>=this._core.maximum())),this._controls.$previous.toggle(s.nav),this._controls.$next.toggle(s.nav),s.dots){if(t=this._pages.length-this._controls.$indicators.children().length,s.dotData&&0!=t){for(e=0;e<this._controls.$indicators.children().length;e++)i+=this._templates[this._core.relative(e)];this._controls.$indicators.html(i)}else 0<t?(i=new Array(1+t).join(this._templates[0]),this._controls.$indicators.append(i)):t<0&&this._controls.$indicators.children().slice(t).remove();this._controls.$indicators.find(".active").removeClass("active"),this._controls.$indicators.children().eq(o.inArray(this.current(),this._pages)).addClass("active")}this._controls.$indicators.toggle(s.dots)},e.prototype.onTrigger=function(t){var e=this._core.settings;t.page={index:o.inArray(this.current(),this._pages),count:this._pages.length,size:e&&(e.center||e.autoWidth||e.dotData?1:e.dotsEach||e.items)}},e.prototype.current=function(){var e=this._core.relative(this._core.current());return o.grep(this._pages,function(t){return t.start<=e&&t.end>=e}).pop()},e.prototype.getPosition=function(t){var e,i,s=this._core.settings;return"page"==s.slideBy?(e=o.inArray(this.current(),this._pages),i=this._pages.length,t?++e:--e,e=this._pages[(e%i+i)%i].start):(e=this._core.relative(this._core.current()),i=this._core.items().length,t?e+=s.slideBy:e-=s.slideBy),e},e.prototype.next=function(t){o.proxy(this._overrides.to,this._core)(this.getPosition(!0),t)},e.prototype.prev=function(t){o.proxy(this._overrides.to,this._core)(this.getPosition(!1),t)},e.prototype.to=function(t,e,i){var s;i?o.proxy(this._overrides.to,this._core)(t,e):(s=this._pages.length,o.proxy(this._overrides.to,this._core)(this._pages[(t%s+s)%s].start,e))},o.fn.owlCarousel.Constructor.Plugins.Navigation=e}(window.Zepto||window.jQuery,(window,document)),function(i,s){"use strict";var e=function(t){this._core=t,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":i.proxy(function(){"URLHash"==this._core.settings.startPosition&&i(s).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":i.proxy(function(t){var e=i(t.content).find("[data-hash]").andSelf("[data-hash]").attr("data-hash");this._hashes[e]=t.content},this)},this._core.options=i.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers),i(s).on("hashchange.owl.navigation",i.proxy(function(){var t=s.location.hash.substring(1),e=this._core.$stage.children(),i=this._hashes[t]&&e.index(this._hashes[t])||0;return!!t&&void this._core.to(i,!1,!0)},this))};e.Defaults={URLhashListener:!1},e.prototype.destroy=function(){var t,e;for(t in i(s).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},i.fn.owlCarousel.Constructor.Plugins.Hash=e}(window.Zepto||window.jQuery,window,document),function(M){"use strict";M(document).ready(function(){(navigator.userAgent.match(/iPhone/)||navigator.userAgent.match(/iPod/))&&M("body").addClass("iphone-device"),navigator.userAgent.match(/Android/)&&M("body").addClass("android-device");var e,h,d,c,t,i,s,n=!1,o=!1,r=!1;function l(e){var i,t;herald_js_settings.single_sticky_bar&&(i=M(".herald-site-footer").offset().top-M(window).height(),M("body").hasClass("single")&&e.find(".herald-single-sticky").length&&(t=e.find(".herald-single-sticky").clone(!0,!0),e.append('<div class="herald-single-sticky herald-single-mobile-sticky hidden-lg hidden-md">'+t.html()+"</div>")),M(window).scroll(function(){var t=M(window).scrollTop();t>=e.offset().top+600&&t<i?e.addClass("herald-sticky-single-visible"):e.removeClass("herald-sticky-single-visible")}))}function a(){var t="";M("body").hasClass("herald-boxed")?(t=".herald-no-sid .alignfull { width: "+M(".herald-site-content").outerWidth()+"px; margin-left: -"+M(".herald-site-content").outerWidth()/2+"px; margin-right: -"+M(".herald-site-content").outerWidth()/2+"px; left:50%; right:50%;max-width: none; }",M("#herald-full-fix").length?M("#herald-full-fix").html(t):M("head").append('<style id="herald-full-fix" type="text/css">'+t+"</style>")):(t=".herald-no-sid .alignfull { width: "+M(window).width()+"px; margin-left: -"+M(window).width()/2+"px; margin-right: -"+M(window).width()/2+"px; left:50%; right:50%;max-width: none; }",M("#herald-align-fix").length?M("#herald-align-fix").html(t):M("head").append('<style id="herald-align-fix" type="text/css">'+t+"</style>"))}function u(t){t.find(".herald-widget-slider").each(function(){var t=M(this).closest(".widget").find(".herald-slider-control
1s");M(this).owlCarousel({rtl:"true"===herald_js_settings.rtl_mode,loop:!0,autoHeight:!1,autoWidth:!1,nav:!0,center:!1,fluidSpeed:100,navContainer:t,navText:['<i class="fa fa-angle-left"></i>','<i class="fa fa-angle-right"></i>'],responsive:{0:{autoWidth:!1,margin:20,items:1}}})})}function p(t){M("body").imagesLoaded(function(){t.find(".gallery-columns-1, .wp-block-gallery.columns-1").owlCarousel({rtl:"true"===herald_js_settings.rtl_mode,loop:!0,nav:!0,autoWidth:!1,autoHeight:!0,center:!1,fluidSpeed:100,margin:0,items:1,navText:['<i class="fa fa-angle-left"></i>','<i class="fa fa-angle-right"></i>']})})}y(),M(window).resize(function(){document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement||(y(),x(),k(),T(),z(),M(".herald-responsive-header .herald-menu-popup-search.herald-search-active span").removeClass("fa-times").addClass("fa-search"),M(".herald-responsive-header .herald-menu-popup-search .herald-in-popup").removeClass("herald-search-active"))}),M("body").on("mouseenter",".herald-fa-item",function(){var t=M(this).find(".entry-content").height();M(this).find(".entry-header").css({"-webkit-transform":"translate(0,-"+t+"px)","-ms-transform":"translate(0,-"+t+"px)",transform:"translate(0,-"+t+"px)"})}),M("body").on("mouseleave",".herald-fa-item",function(){M(this).find(".entry-header").css({"-webkit-transform":"translate(0,0)","-ms-transform":"translate(0,0)",transform:"translate(0,0)"})}),M(".main-navigation").on("mouseenter","li",function(t){M(this).closest("body").width()<M(document).width()&&M(this).find("ul").addClass("herald-rev")}),M(".herald-entry-content, .meta-media").fitVids({customSelector:["iframe[src*='youtube.com/embed']","iframe[src*='player.vimeo.com/video']","iframe[src*='kickstarter.com/projects']","iframe[src*='players.brightcove.net']","iframe[src*='hulu.com/embed']","iframe[src*='vine.co/v']","iframe[src*='videopress.com/embed']","iframe[src*='dailymotion.com/embed']","iframe[src*='vid.me/e']","iframe[src*='player.twitch.tv']","iframe[src*='facebook.com/plugins/video.php']","iframe[src*='gfycat.com/ifr/']","iframe[src*='liveleak.com/ll_embed']","iframe[src*='media.myspace.com']","iframe[src*='archive.org/embed']","iframe[src*='channel9.msdn.com']","iframe[src*='content.jwplatform.com']","iframe[src*='wistia.com']","iframe[src*='vooplayer.com']","iframe[src*='content.zetatv.com.uy']","iframe[src*='embed.wirewax.com']","iframe[src*='eventopedia.navstream.com']","iframe[src*='cdn.playwire.com']","iframe[src*='drive.google.com']","iframe[src*='videos.sproutvideo.com']"].join(","),ignore:'[class^="wp-block"]'}),M("body").on("click",".herald-site-header .herald-menu-popup-search span, .herald-header-sticky .herald-menu-popup-search span",function(t){t.preventDefault(),M(this).toggleClass("fa-times","fa-search"),M(this).parent().toggleClass("herald-search-active"),M('.herald-search-active input[type="text"]').focus(),M(this).closest("body").width()<M(document).width()?M(this).siblings(".herald-in-popup").addClass("herald-reverse-form"):M(this).siblings(".herald-in-popup").removeClass("herald-reverse-form")}),M(".herald-responsive-header").on("click",".herald-menu-popup-search span",function(t){t.preventDefault(),M(this).next().toggle(),M(this).toggleClass("fa-times","fa-search"),M(window).width()<1250&&(M(".herald-responsive-header .herald-in-popup .herald-search-input").focus(),M(".herald-responsive-header .herald-in-popup").css("width",M(window).width()))}),M(".herald-header-sticky").imagesLoaded(function(){M(".herald-header-sticky .hel-el").children().each(function(){M(this).heraldCenter().animate({opacity:1},100)})}),M(".header-bottom").imagesLoaded(function(){M(".header-bottom .hel-el").children().each(function(){M(this).heraldCenter().animate({opacity:1},100)})}),M("body").on("mouseenter",".herald-site-header .herald-mega-menu, .herald-header-sticky .herald-mega-menu",function(){var t=M(".herald-site-content").width();M(this).find("> .sub-menu").css("width",t+"px")}),M("body").on("mouseover mouseleave",".entry-meta-wrapper .herald-share",function(t){"mouseover"==t.type?M(this).find(".meta-share-wrapper").slideDown():M(this).find(".meta-share-wrapper").slideUp()}),window.matchMedia("(max-width: 766px)").matches&&M(".herald-mod-subnav-mobile").each(function(){M(this).closest(".herald-mod-h").addClass("herald-subcat-dropdown")}),M("body").on("click",".herald-subcat-dropdown",function(){M(this).find(".herald-mod-subnav-mobile").slideToggle(200)}),M("body").imagesLoaded(function(){x(),k(),T(),l(M(".herald-site-content .herald-section").last()),M(".herald-clear-blur").clearBlur()}),herald_js_settings.header_sticky&&M(window).scroll(function(){var t=M(window).scrollTop();herald_js_settings.header_sticky_up?t<e&&t>=herald_js_settings.header_sticky_offset?M("body").addClass("herald-sticky-header-visible"):M("body").removeClass("herald-sticky-header-visible"):t>=herald_js_settings.header_sticky_offset?M("body").addClass("herald-sticky-header-visible"):M("body").removeClass("herald-sticky-header-visible"),e=t}),a(),C(M(".herald-section")),herald_js_settings.popup_img&&(_(M(".herald-site-content")),b(M(".herald-site-content"))),M("body").on("click",".herald-comment-form-open",function(t){t.preventDefault();var e=M(this).closest(".herald-section");M(this).parent().fadeOut(100,function(){e.find("#respond").fadeIn(300),e.find("#respond #comment").focus(),M(".herald-clear-blur").clearBlur()})}),M("#jetpack_remote_comment").length&&(M(".herald-comment-form-open").parent().hide(),M("#respond").fadeIn(300)),M("body").on("click",".entry-meta-single .herald-comments a, .herald-comment-action",function(t){t.preventDefault();var e=M(this).closest(".herald-section"),i=this.hash,s=e.find(i);e.find(".herald-comment-form-open").parent().hide(),e.find("#respond").show(),M("html, body").stop().animate({scrollTop:s.offset().top},900,"swing",function(){window.location.hash=i})}),M(".herald-slider").each(function(){var t=M(this).closest(".herald-module").find(".herald-slider-control
1s"),e=M(this).closest(".herald-module").attr("data-col"),i=t.attr("data-col"),s=e/i,n=1e3*parseInt(t.attr("data-autoplay")),o=!!n;M(this).owlCarousel({rtl:"true"===herald_js_settings.rtl_mode,loop:!0,autoHeight:!1,autoWidth:!1,items:s,margin:40,nav:!0,center:!1,fluidSpeed:100,autoplay:o,autoplayHoverPause:!0,autoplayTimeout:n,navContainer:t,navText:['<i class="fa fa-angle-left"></i>','<i class="fa fa-angle-right"></i>'],responsive:{0:{margin:20,items:i<=2?2:1},768:{margin:30},1480:{margin:40}}})}),M(".trending-slider").owlCarousel({rtl:"true"===herald_js_settings.rtl_mode,loop:!0,autoWidth:!1,items:herald_js_settings.trending_columns,nav:!1,center:!1,fluidSpeed:100,margin:20,autoplay:!0,autoplayHoverPause:!0,autoplayTimeout:2500}),u(M("body")),p(M(".herald-section")),(M(".herald-infinite-scroll").length||M(".herald-load-more").length||M(".herald-infinite-scroll-single").length)&&(h=[],c=d=0,t={prev:window.location.href,next:"",offset:M(window).scrollTop(),prev_title:window.document.title,next_title:window.document.title},h.push(t),s=0,M(window).scroll(function(){h[d].offset!=i&&M(window).scrollTop()<h[d].offset&&(i=h[d].offset,s=0,window.document.title=h[d].prev_title,window.history.replaceState(h,"",h[d].prev),0!=(c=d)&&d--),h[c].offset!=s&&M(window).scrollTop()>h[c].offset&&(s=h[c].offset,i=0,window.document.title=h[c].next_title,window.history.replaceState(h,"",h[c].next),(d=c)<h.length-1&&c++)}));var f=0;M("body").on("click",".herald-load-more a",function(t){t.preventDefault();var o=M(this),r=o.attr("href"),a=window.location.href,l=window.document.title;o.addClass("herald-loader-active"),M(".herald-loader").show(),M("<div>").load(r,function(){var t=f.toString(),i=o.closest(".herald-module").find(".herald-posts"),s=M(this).find(".herald-module:last article").addClass("herald-new-"+t),n=M(this);s.imagesLoaded(function(){var t,e;return s.hide().appendTo(i).fadeIn(400),n.find(".herald-load-more").length?(M(".herald-load-more").html(n.find(".herald-load-more").html()),M(".herald-loader").hide(),o.removeClass("herald-loader-active")):M(".herald-load-more").fadeOut("fast").remove(),x(!0),r!=window.location&&(d++,c++,t=n.find("title").text(),e={prev:a,next:r,offset:M(window).scrollTop(),prev_title:l,next_title:t},h.push(e),window.document.title=t,window.history.pushState(e,"",r)),f++,!1})})});var m=!0;M(".herald-infinite-scroll").length&&M(window).scroll(function(){var e,o,r,a;m&&M(".herald-infinite-scroll").length&&M(this).scrollTop()>M(".herald-infinite-scroll").offset().top-M(this).height()-200&&(e=M(".herald-infinite-scroll a"),o=e.attr("href"),r=window.location.href,a=window.document.title,null!=o&&(m=!1,M(".herald-loader").show(),M("<div>").load(o,function(){var t=f.toString(),i=e.closest(".herald-module").find(".herald-posts"),s=M(this).find(".herald-module:last article").addClass("herald-new-"+t),n=M(this);s.imagesLoaded(function(){var t,e;return s.hide().appendTo(i).fadeIn(400),n.find(".herald-infinite-scroll").length?(M(".herald-infinite-scroll").html(n.find(".herald-infinite-scroll").html()),M(".herald-loader").hide(),m=!0):M(".herald-infinite-scroll").fadeOut("fast").remove(),x(!0),o!=window.location&&(d++,c++,t=n.find("title").text(),e={prev:r,next:o,offset:M(window).scrollTop(),prev_title:a,next_title:t},h.push(e),window.document.title=t,window.history.pushState(e,"",o)),f++,!1})})))});var g=!0,v=0,w=!0;function y(){!r&&M(".header-middle").is(":visible")&&(M(".header-middle").imagesLoaded(function(){M(".header-middle .hel-el").children().each(function(){M(this).heraldCenter().animate({opacity:1},100)})}),r=!0),1<window.devicePixelRatio&&(!n&&herald_js_settings.logo_retina&&M(".herald-logo").length&&(M(".herald-logo").imagesLoaded(function(){M(".herald-logo").each(function(){var t;M(this).is(":visible")&&(t=M(this).width(),M(this).attr("src",herald_js_settings.logo_retina).css("width",t+"px"))})}),n=!0),!o&&herald_js_settings.logo_mini_retina&&M(".herald-logo-mini").length&&(M(".herald-logo-mini").imagesLoaded(function(){M(".herald-logo-mini").each(function(){var t;M(this).is(":visible")&&(t=M(this).width(),M(this).attr("src",herald_js_settings.logo_mini_retina).css("width",t+"px"))})}),o=!0))}function _(t){t.find(".herald-image-format").magnificPopup({type:"image",image:{t
1itleSrc:function(t){return t.el.find("figure").text()}}})}function b(t){t.find(".gallery, .wp-block-gallery").each(function(){var i=M(this),t=i.hasClass("wp-block-gallery")?".blocks-gallery-item a":".gallery-icon a.herald-popup";M(this).find(t).magnificPopup({type:"image",gallery:{enabled:!0},image:{titleSrc:function(t){var e=i.hasClass("wp-block-gallery")?t.el.closest("figure").find("figcaption"):t.el.closest(".gallery-item").find(".gallery-caption");return"undefined"!=e?e.text():""}}})})}function C(t){var e;t.find("a.herald-popup-img").length&&((e=t.find("a.herald-popup-img")).find("img").each(function(){var t=M(this);t.hasClass("alignright")&&t.removeClass("alignright").parent().addClass("alignright"),t.hasClass("alignleft")&&t.removeClass("alignleft").parent().addClass("alignleft"),t.hasClass("alignnone")&&t.removeClass("alignnone").parent().addClass("alignnone"),t.hasClass("aligncenter")&&t.removeClass("aligncenter").parent().addClass("aligncenter")}),e.magnificPopup({type:"image",gallery:{enabled:!0},image:{titleSrc:function(t){return t.el.closest(".wp-caption").find("figcaption").text()}}}))}function x(t){1250<=M(window).width()?M(".herald-sticky").length&&(M(".herald-sidebar").each(function(){var t=M(this).closest(".herald-section"),e=t.find(".herald-ignore-sticky-height").length?t.height()-40-t.find(".herald-ignore-sticky-height").height():t.height()-40;M(this).css("min-height",e)}),t&&"absolute"==M(".herald-sticky").last().css("position")&&M(".herald-sticky").last().css("position","fixed").css("top",100),M(".herald-sticky").stick_in_parent({parent:".herald-sidebar",offset_top:100})):(M(".herald-sidebar").each(function(){M(this).css("height","auto"),M(this).css("min-height","1px")}),M(".herald-sticky").trigger("sticky_kit:detach"))}function k(){M(".herald-sidebar-left").each(function(){M(window).width()<1250?M(this).parent().find("div").first().hasClass("herald-sidebar-left")&&M(this).insertAfter(M(this).parent().find(".col-mod-main")):M(this).parent().find("div").first().hasClass("herald-sidebar-left")||M(this).insertBefore(M(this).parent().find(".col-mod-main"))})}function T(){768<=M(window).width()?M(".entry-meta-wrapper-sticky").length&&(M(".entry-meta-wrapper-sticky").each(function(){var t=M(this).parent(),e=M(this).closest(".herald-section").find(".herald-entry-content").parent().height()-70;t.css("min-height",e)}),M(".entry-meta-wrapper-sticky").stick_in_parent()):(M(".entry-meta-wrapper-sticky").each(function(){M(this).css("height","auto"),M(this).css("min-height","1px")}),M(".entry-meta-wrapper-sticky").trigger("sticky_kit:detach"))}M(".herald-infinite-scroll-single").length&&M(window).scroll(function(){var o,r,a;g&&M(".herald-infinite-scroll-single").length&&M(this).scrollTop()>M(".herald-infinite-scroll-single").offset().top-M(this).height()-200&&(o=M(".herald-infinite-scroll-single a").css("opacity",0).attr("href"),r=window.location.href,a=window.document.title,null!=o&&(g=!1,M(".herald-loader").show(),M("<div>").load(o,function(){var i=M(this),t=v.toString(),s=M(".herald-site-content").find(".herald-section").last(),n=i.find(".herald-section").last().addClass("herald-new-"+t);n.imagesLoaded(function(){n.hide().insertAfter(s).fadeIn(400),i.find(".herald-infinite-scroll-single").length?(M(".herald-infinite-scroll-single").html(i.find(".herald-infinite-scroll-single").html()),M(".herald-loader").hide(),g=!0):M(".herald-infinite-scroll-single").fadeOut("fast").remove(),x(!0),p(n),u(n),l(n),T(),C(n),herald_js_settings.popup_img&&(_(n),b(n));var t,e={};return w&&(e={prev:window.location.href,next:"",offset:0,prev_title:window.document.title,next_title:window.document.title},window.history.pushState(e,"",window.location.href),w=!1),o!=window.location&&(d++,c++,t=i.find("title").text(),e={prev:r,next:o,offset:M(window).scrollTop(),prev_title:a,next_title:t},h.push(e),window.document.title=t,window.history.pushState(e,"",o)),v++,!1})})))});var E,S,I=M(".herald-slide"),P=M(".herald-site-content");function $(){I.removeClass("open").addClass("close"),M("body").removeClass("herald-menu-open")}function z(){var t;herald_js_settings.header_ad_responsive&&(t=M("#header .herald-ad"),M(window).width()<herald_js_settings.header_responsive_breakpoint&&!t.hasClass("cloned")&&(t.addClass("cloned"),t.clone().removeClass("cloned hidden-xs").addClass("header-mobile-ad").insertAfter("#herald-responsive-header")))}z(),0!=herald_js_settings.responsive_menu_more_link&&(E=M(".herald-more-link-wrapper"),(S=M(".herald-mobile-nav .secondary-navigation")).length&&S.each(function(){var t=M(this).find("ul").first().children();E.find(".herald-more-link ul").append(t),M(this).remove()})),M(".herald-nav-toggle").on("click",function(){P.hasClass("open")?$():(I.removeClass("close").addClass("open"),M("body").addClass("herald-menu-open"))}),M("body").on("click",".herald-site-content",function(){P.hasClass("open")&&$()}),M(".herald-mobile-nav li").each(function(){var t,e=M(this);e.closest("nav").removeClass("herald-menu").addClass("herald-mob-nav"),(e.hasClass("menu-item-has-children")||e.hasClass("herald-mega-menu"))&&e.append('<span class="herald-menu-toggler fa fa-caret-down"></span>'),e.hasClass("herald-mega-menu")&&(t=e.find(".herald-mega-menu-sub-cats ul li"),e.find(".container").remove(),e.find(".sub-menu").append(t))}),/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?M(".herald-menu-toggler").on("touchstart",function(t){M(this).prev().slideToggle(),M(this).parent().toggleClass("herald-current-mobile-item")}):M(".herald-menu-toggler").on("click",function(t){M(this).prev().slideToggle(),M(this).parent().toggleClass("herald-current-mobile-item")}),M("body").on("click",".herald-responsive-header .herald-menu-popup-search span",function(t){t.preventDefault(),t.stopPropagation(),M(window).width()<1250&&M(".herald-responsive-header .herald-in-popup").css("width",M(window).width())}),M("#back-top").length&&(M(window).scroll(function(){400<M(this).scrollTop()?M("#back-top").fadeIn():M("#back-top").fadeOut()}),M("body").on("click","#back-top",function(){return M("body,html").animate({scrollTop:0},800),!1})),M(window).resize(function(){M(".herald-clear-blur").clearBlur(),a()})}),M.fn.clearBlur=function(){M(this).each(function(t,e){var i,s,n=M(e),o=n.parent();o.find("img").is("[data-lazy-src]")||(n.css("height","auto"),o.css("height","auto"),i=(i=n.height())%2?i-1:i,s=(s=o.height())%2?s-1:s,n.css("height",i),o.css("height",s))})},M.fn.heraldCenter=function(){return this.css("position","absolute"),this.css("top",(M(this).parent().height()-this.height())/2+"px"),this},herald_js_settings.smooth_scroll&&function(){var h,t={frameRate:150,animationTime:400,stepSize:100,pulseAlgorithm:!0,pulseScale:4,pulseNormalize:1,accelerationDelta:50,accelerationMax:3,keyboardSupport:!0,arrowScroll:50,touchpadSupport:!1,fixedBackgroun
1d:!0,excluded:""},g=t,l=!1,d=!1,n={x:0,y:0},c=!1,u=document.documentElement,o=[],r=/^Mac/.test(navigator.platform),p={left:37,up:38,right:39,down:40,spacebar:32,pageup:33,pagedown:34,end:35,home:36},g=t;function a(){var t,e,i,s,n,o,r,a;!c&&document.body&&(c=!0,t=document.body,e=document.documentElement,i=window.innerHeight,s=t.scrollHeight,u=0<=document.compatMode.indexOf("CSS")?e:t,h=t,g.keyboardSupport&&$("keydown",m),top!=self?d=!0:i<s&&(t.offsetHeight<=i||e.offsetHeight<=i)&&((n=document.createElement("div")).style.cssText="position:absolute; z-index:-10000; top:0; left:0; right:0; height:"+u.scrollHeight+"px",document.body.appendChild(n),r=function(){o=o||setTimeout(function(){l||(n.style.height="0",n.style.height=u.scrollHeight+"px",o=null)},500)},setTimeout(r,10),new L(r).observe(t,{attributes:!0,childList:!0,characterData:!1}),u.offsetHeight<=i&&((a=document.createElement("div")).style.clear="both",t.appendChild(a))),g.fixedBackground||l||(t.style.backgroundAttachment="scroll",e.style.backgroundAttachment="scroll"))}var v=[],w=!1,y=Date.now();function f(c,u,p){var t,e,i,s,f,m;t=0<(t=u)?1:-1,e=0<(e=p)?1:-1,n.x===t&&n.y===e||(n.x=t,n.y=e,v=[],y=0),1!=g.accelerationMax&&((i=Date.now()-y)<g.accelerationDelta&&(1<(s=(1+50/i)/2)&&(s=Math.min(s,g.accelerationMax),u*=s,p*=s)),y=Date.now()),v.push({x:u,y:p,lastX:u<0?.99:-.99,lastY:p<0?.99:-.99,start:Date.now()}),w||(f=c===document.body,m=function(t){for(var e=Date.now(),i=0,s=0,n=0;n<v.length;n++){var o=v[n],r=e-o.start,a=r>=g.animationTime,l=a?1:r/g.animationTime;g.pulseAlgorithm&&(l=function(t){if(1<=t)return 1;if(t<=0)return 0;1==g.pulseNormalize&&(g.pulseNormalize/=B(1));return B(t)}(l));var h=o.x*l-o.lastX>>0,d=o.y*l-o.lastY>>0;i+=h,s+=d,o.lastX+=h,o.lastY+=d,a&&(v.splice(n,1),n--)}f?window.scrollBy(i,s):(i&&(c.scrollLeft+=i),s&&(c.scrollTop+=s)),u||p||(v=[]),v.length?j(m,c,1e3/g.frameRate+1):w=!1},j(m,c,0),w=!0)}function e(t){c||a();var e=t.target,i=E(e);if(!i||t.defaultPrevented||t.ctrlKey)return!0;if(z(h,"embed")||z(e,"embed")&&/\.pdf/i.test(e.src)||z(h,"object"))return!0;var s=-t.wheelDeltaX||t.deltaX||0,n=-t.wheelDeltaY||t.deltaY||0;if(r&&(t.wheelDeltaX&&M(t.wheelDeltaX,120)&&(s=t.wheelDeltaX/Math.abs(t.wheelDeltaX)*-120),t.wheelDeltaY&&M(t.wheelDeltaY,120)&&(n=t.wheelDeltaY/Math.abs(t.wheelDeltaY)*-120)),s||n||(n=-t.wheelDelta||0),1===t.deltaMode&&(s*=40,n*=40),!g.touchpadSupport&&function(t){if(!t)return;o.length||(o=[t,t,t]);return t=Math.abs(t),o.push(t),o.shift(),clearTimeout(b),b=setTimeout(function(){window.localStorage&&(localStorage.SS_deltaBuffer=o.join(","))},1e3),!D(120)&&!D(100)}(n))return!0;1.2<Math.abs(s)&&(s*=g.stepSize/120),1.2<Math.abs(n)&&(n*=g.stepSize/120),f(i,s,n),t.preventDefault(),k()}function m(t){var e=t.target,i=t.ctrlKey||t.altKey||t.metaKey||t.shiftKey&&t.keyCode!==p.spacebar;document.contains(h)||(h=document.activeElement);var s=/^(button|submit|radio|checkbox|file|color|image)$/i;if(/^(textarea|select|embed|object)$/i.test(e.nodeName)||z(e,"input")&&!s.test(e.type)||z(h,"video")||function(t){var e=t.target,i=!1;if(-1!=document.URL.indexOf("www.youtube.com/watch"))do{if(i=e.classList&&e.classList.contains("html5-video-controls"))break}while(e=e.parentNode);return i}(t)||e.isContentEditable||t.defaultPrevented||i)return!0;if((z(e,"button")||z(e,"input")&&s.test(e.type))&&t.keyCode===p.spacebar)return!0;var n=0,o=0,r=E(h),a=r.clientHeight;switch(r==document.body&&(a=window.innerHeight),t.keyCode){case p.up:o=-g.arrowScroll;break;case p.down:o=g.arrowScroll;break;case p.spacebar:o=-(t.shiftKey?1:-1)*a*.9;break;case p.pageup:o=.9*-a;break;case p.pagedown:o=.9*a;break;case p.home:o=-r.scrollTop;break;case p.end:var l=r.scrollHeight-r.scrollTop-a,o=0<l?10+l:0;break;case p.left:n=-g.arrowScroll;break;case p.right:n=g.arrowScroll;break;default:return!0}f(r,n,o),t.preventDefault(),k()}function i(t){h=t.target}var s,_,b,C=(s=0,function(t){return t.uniqueID||(t.uniqueID=s++)}),x={};function k(){clearTimeout(_),_=setInterval(function(){x={}},1e3)}function T(t,e){for(var i=t.length;i--;)x[C(t[i])]=e;return e}function E(t){var e=[],i=document.body,s=u.scrollHeight;do{var n=x[C(t)];if(n)return T(e,n);if(e.push(t),s===t.scrollHeight){var o=I(u)&&I(i)||P(u);if(d&&S(u)||!d&&o)return T(e,A())}else if(S(t)&&P(t))return T(e,t)}while(t=t.parentElement)}function S(t){return t.clientHeight+10<t.scrollHeight}function I(t){return"hidden"!==getComputedStyle(t,"").getPropertyValue("overflow-y")}function P(t){var e=getComputedStyle(t,"").getPropertyValue("overflow-y");return"scroll"===e||"auto"===e}function $(t,e){window.addEventListener(t,e,!1)}function z(t,e){return(t.nodeName||"").toLowerCase()===e.toLowerCase()}function M(t,e){return Math.floor(t/e)==t/e}function D(t){return M(o[0],t)&&M(o[1],t)&&M(o[2],t)}window.localStorage&&localStorage.SS_deltaBuffer&&(o=localStorage.SS_deltaBuffer.split(","));var O,j=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t,e,
1i){window.setTimeout(t,i||1e3/60)},L=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,A=function(){var t,e;return O||((t=document.createElement("div")).style.cssText="height:10000px;width:1px;",document.body.appendChild(t),e=document.body.scrollTop,document.documentElement.scrollTop,window.scrollBy(0,1),O=document.body.scrollTop!=e?document.body:document.documentElement,window.scrollBy(0,-1),document.body.removeChild(t)),O};function B(t){var e;return((t*=g.pulseScale)<1?t-(1-Math.exp(-t)):(--t,(e=Math.exp(-1))+(1-Math.exp(-t))*(1-e)))*g.pulseNormalize}var H,F=window.navigator.userAgent,N=/Edge/.test(F),W=/chrome/i.test(F)&&!N,X=/safari/i.test(F)&&!N,R=/mobile/i.test(F),V=(W||X)&&!R;"onwheel"in document.createElement("div")?H="wheel":"onmousewheel"in document.createElement("div")&&(H="mousewheel"),H&&V&&($(H,e),$("mousedown",i),$("load",a))}()}(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.