PageSourceSearch

https://www.escribircanciones.com.ar/wp-content/themes/herald/assets/js/min.js?ver=2.0

js escribircanciones.com.ar collected 2026-09-24 21:54:46 UTC 96,446 bytes, 4 lines download raw bytes

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