jQuery(document).ready(function(){});; /*! This file is auto-generated */ window.addComment=function(v){var I,C,h,E=v.document,b={commentReplyClass:"comment-reply-link",commentReplyTitleId:"reply-title",cancelReplyId:"cancel-comment-reply-link",commentFormId:"commentform",temporaryFormId:"wp-temp-form-div",parentIdFieldId:"comment_parent",postIdFieldId:"comment_post_ID"},e=v.MutationObserver||v.WebKitMutationObserver||v.MozMutationObserver,r="querySelector"in E&&"addEventListener"in v,n=!!E.documentElement.dataset;function t(){d(),e&&new e(o).observe(E.body,{childList:!0,subtree:!0})}function d(e){if(r&&(I=g(b.cancelReplyId),C=g(b.commentFormId),I)){I.addEventListener("touchstart",l),I.addEventListener("click",l);function t(e){if((e.metaKey||e.ctrlKey)&&13===e.keyCode)return C.removeEventListener("keydown",t),e.preventDefault(),C.submit.click(),!1}C&&C.addEventListener("keydown",t);for(var n,d=function(e){var t=b.commentReplyClass;e&&e.childNodes||(e=E);e=E.getElementsByClassName?e.getElementsByClassName(t):e.querySelectorAll("."+t);return e}(e),o=0,i=d.length;ox

',e.appendChild(i.childNodes[1])),t&&o.extend(s,t),this.each(function(){var t=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object","embed"];s.customSelector&&t.push(s.customSelector);var n=".fitvidsignore";s.ignore&&(n=n+", "+s.ignore);var e=o(this).find(t.join(","));(e=(e=e.not("object object")).not(n)).each(function(t){var e,i,s=o(this);0').parent(".fluid-width-video-wrapper").css("padding-top",100*e+"%"),s.removeAttr("height").removeAttr("width"))})})}}(window.jQuery||window.Zepto),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?t(require("jquery")):t(window.jQuery||window.Zepto)}(function(d){function t(){}function c(t,e){m.ev.on(i+t+_,e)}function u(t,e,i,s){var n=document.createElement("div");return n.className="mfp-"+t,i&&(n.innerHTML=i),s?e&&e.appendChild(n):(n=d(n),e&&n.appendTo(e)),n}function p(t,e){m.ev.triggerHandler(i+t,e),m.st.callbacks&&(t=t.charAt(0).toLowerCase()+t.slice(1),m.st.callbacks[t]&&m.st.callbacks[t].apply(m,d.isArray(e)?e:[e]))}function f(t){return t===e&&m.currTemplate.closeBtn||(m.currTemplate.closeBtn=d(m.st.closeMarkup.replace("%title%",m.st.tClose)),e=t),m.currTemplate.closeBtn}function o(){d.magnificPopup.instance||((m=new t).init(),d.magnificPopup.instance=m)}var m,s,g,n,v,e,l="Close",h="BeforeClose",w="MarkupParse",y="Open",r="Change",i="mfp",_="."+i,b="mfp-ready",a="mfp-removing",C="mfp-prevent-close",x=!!window.jQuery,k=d(window);t.prototype={constructor:t,init:function(){var t=navigator.appVersion;m.isIE7=-1!==t.indexOf("MSIE 7."),m.isIE8=-1!==t.indexOf("MSIE 8."),m.isLowIE=m.isIE7||m.isIE8,m.isAndroid=/android/gi.test(t),m.isIOS=/iphone|ipad|ipod/gi.test(t),m.supportsTransition=function(){var t=document.createElement("p").style,e=["ms","O","Moz","Webkit"];if(void 0!==t.transition)return!0;for(;e.length;)if(e.pop()+"Transition"in t)return!0;return!1}(),m.probablyMobile=m.isAndroid||m.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),g=d(document),m.popupsCache={}},open:function(t){if(!1===t.isObj){m.items=t.items.toArray(),m.index=0;for(var e,i=t.items,s=0;s(t||k.height())},_setFocus:function(){(m.st.focus?m.content.find(m.st.focus).eq(0):m.wrap).focus()},_onFocusIn:function(t){if(t.target!==m.wrap[0]&&!d.contains(m.wrap[0],t.target))return m._setFocus(),!1},_parseMarkup:function(n,t,e){var o;e.data&&(t=d.extend(e.data,t)),p(w,[n,t,e]),d.each(t,function(t,e){return void 0===e||!1===e||void(1<(o=t.split("_")).length?0<(i=n.find(_+"-"+o[0])).length&&("replaceWith"===(s=o[1])?i[0]!==e[0]&&i.replaceWith(e):"img"===s?i.is("img")?i.attr("src",e):i.replaceWith(''):i.attr(o[1],e)):n.find(_+"-"+t).html(e));var i,s})},_getScrollbarSize:function(){var t;return void 0===m.scrollbarSize&&((t=document.createElement("div")).style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(t),m.scrollbarSize=t.offsetWidth-t.clientWidth,document.body.removeChild(t)),m.scrollbarSize}},d.magnificPopup={instance:null,proto:t.prototype,modules:[],open:function(t,e){return o(),(t=t?d.extend(!0,{},t):{}).isObj=!0,t.index=e||0,this.instance.open(t)},close:function(){return d.magnificPopup.instance&&d.magnificPopup.instance.close()},registerModule:function(t,e){e.options&&(d.magnificPopup.defaults[t]=e.options),d.extend(this.proto,e.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'',tClose:"Close (Esc)",tLoading:"Loading..."}},d.fn.magnificPopup=function(t){o();var e,i,s,n=d(this);return"string"==typeof t?"open"===t?(e=x?n.data("magnificPopup"):n[0].magnificPopup,i=parseInt(arguments[1],10)||0,s=e.items?e.items[i]:(s=n,e.delegate&&(s=s.find(e.delegate)),s.eq(i)),m._openClick({mfpEl:s},n,e)):m.isOpen&&m[t].apply(m,Array.prototype.slice.call(arguments,1)):(t=d.extend(!0,{},t),x?n.data("magnificPopup",t):n[0].magnificPopup=t,m.addGroup(n,t)),n};function T(){I&&(S.after(I.addClass(E)).detach(),I=null)}var E,S,I,P="inline";d.magnificPopup.registerModule(P,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){m.types.push(P),c(l+"."+P,function(){T()})},getInline:function(t,e){if(T(),t.src){var i,s=m.st.inline,n=d(t.src);return n.length?((i=n[0].parentNode)&&i.tagName&&(S||(E=s.hiddenClass,S=u(E),E="mfp-"+E),I=n.after(S).detach().removeClass(E)),m.updateStatus("ready")):(m.updateStatus("error",s.tNotFound),n=d("
")),t.inlineElement=n}return m.updateStatus("ready"),m._parseMarkup(e,{},t),e}}});function $(){M&&d(document.body).removeClass(M)}function z(){$(),m.req&&m.req.abort()}var M,D="ajax";d.magnificPopup.registerModule(D,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'The content could not be loaded.'},proto:{initAjax:function(){m.types.push(D),M=m.st.ajax.cursor,c(l+"."+D,z),c("BeforeChange."+D,z)},getAjax:function(n){M&&d(document.body).addClass(M),m.updateStatus("loading");var t=d.extend({url:n.src,success:function(t,e,i){var s={data:t,xhr:i};p("ParseAjax",s),m.appendContent(d(s.data),D),n.finished=!0,$(),m._setFocus(),setTimeout(function(){m.wrap.addClass(b)},16),m.updateStatus("ready"),p("AjaxContentAdded")},error:function(){$(),n.finished=n.loadError=!0,m.updateStatus("error",m.st.ajax.tError.replace("%url%",n.src))}},m.st.ajax.settings);return m.req=d.ajax(t),""}}});var O;d.magnificPopup.registerModule("image",{options:{markup:'
',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'The image could not be loaded.'},proto:{initImage:function(){var t=m.st.image,e=".image";m.types.push("image"),c(y+e,function(){"image"===m.currItem.type&&t.cursor&&d(document.body).addClass(t.cursor)}),c(l+e,function(){t.cursor&&d(document.body).removeClass(t.cursor),k.off("resize"+_)}),c("Resize"+e,m.resizeImage),m.isLowIE&&c("AfterChange",m.resizeImage)},resizeImage:function(){var t,e=m.currItem;e&&e.img&&m.st.image.verticalFit&&(t=0,m.isLowIE&&(t=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",m.wH-t))},_onImageHasSize:function(t){t.img&&(t.hasSize=!0,O&&clearInterval(O),t.isCheckingImgSize=!1,p("ImageHasSize",t),t.imgHidden&&(m.content&&m.content.removeClass("mfp-loading"),t.imgHidden=!1))},findImageSize:function(e){var i=0,s=e.img[0],n=function(t){O&&clearInterval(O),O=setInterval(function(){0
',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){m.types.push(A),c("BeforeChange",function(t,e,i){e!==i&&(e===A?L():i===A&&L(!0))}),c(l+"."+A,function(){L()})},getIframe:function(t,e){var i=t.src,s=m.st.iframe;d.each(s.patterns,function(){if(-1',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var o=m.st.gallery,t=".mfp-gallery",n=Boolean(d.fn.mfpFastClick);if(m.direction=!0,!o||!o.enabled)return!1;v+=" mfp-gallery",c(y+t,function(){o.navigateByImgClick&&m.wrap.on("click"+t,".mfp-img",function(){if(1=m.index,m.index=t,m.updateItemHTML()},preloadNearbyImages:function(){for(var t=m.st.gallery.preload,e=Math.min(t[0],m.items.length),i=Math.min(t[1],m.items.length),s=1;s<=(m.direction?i:e);s++)m._preloadItem(m.index+s);for(s=1;s<=(m.direction?e:i);s++)m._preloadItem(m.index-s)},_preloadItem:function(t){var e;t=B(t),m.items[t].preloaded||((e=m.items[t]).parsed||(e=m.parseEl(t)),p("LazyLoad",e),"image"===e.type&&(e.img=d('').on("load.mfploader",function(){e.hasSize=!0}).on("error.mfploader",function(){e.hasSize=!0,e.loadError=!0,p("LazyLoadError",e)}).attr("src",e.src)),e.preloaded=!0)}}});var F,N,W="retina";function X(){k.off("touchmove"+N+" touchend"+N)}d.magnificPopup.registerModule(W,{options:{replaceSrc:function(t){return t.src.replace(/\.\w+$/,function(t){return"@2x"+t})},ratio:1},proto:{initRetina:function(){var i,s;1"))&&C.css("position",r.css("position")),(_=function(){var t,e,i;if(!p)return v=x.height(),t=parseInt(y.css("border-top-width"),10),e=parseInt(y.css("padding-top"),10),a=parseInt(y.css("padding-bottom"),10),l=y.offset().top+t+e,h=y.height(),m&&(f=m=!1,null==E&&(r.insertAfter(C),C.detach()),r.css({position:"",width:"",bottom:""}).removeClass($),i=!0),d=r.offset().top-(parseInt(r.css("margin-top"),10)||0)-S,c=r.outerHeight(!0),u=r.css("float"),C&&C.css({width:o(r),height:c,display:r.css("display"),"vertical-align":r.css("vertical-align"),float:u}),i?s():void 0})(),c!==h)return g=void 0,w=S,b=P,s=function(){var t,e,i,s,n,o;if(!p)return i=!1,null!=b&&--b<=0&&(b=P,_(),i=!0),i||x.height()===v||(_(),i=!0),s=M.scrollTop(),null!=g&&(e=s-g),g=s,m?(k&&(n=h+l",o)||this.op(e,"<",n)&&this.op(e,">",o))&&r.push(a);this.$stage.children("."+this.settings.activeClass).removeClass(this.settings.activeClass),this.$stage.children(":eq("+r.join("), :eq(")+")").addClass(this.settings.activeClass),this.settings.center&&(this.$stage.children("."+this.settings.centerClass).removeClass(this.settings.centerClass),this.$stage.children().eq(this.current()).addClass(this.settings.centerClass))}}],i.prototype.initialize=function(){if(this.trigger("initialize"),this.$element.addClass(this.settings.baseClass).addClass(this.settings.themeClass).toggleClass("owl-rtl",this.settings.rtl),this.browserSupport(),this.settings.autoWidth&&!0!==this.state.imagesLoaded){var t=this.$element.find("img"),e=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:a,i=this.$element.children(e).width();if(t.length&&i<=0)return this.preloadAutoWidthImages(t),!1}this.$element.addClass("owl-loading"),this.$stage=l("<"+this.settings.stageElement+' class="owl-stage"/>').wrap('
'),this.$element.append(this.$stage.parent()),this.replace(this.$element.children().not(this.$stage.parent())),this._width=this.$element.width(),this.refresh(),this.$element.removeClass("owl-loading").addClass("owl-loaded"),this.eventsCall(),this.internalEvents(),this.addTriggerableEvents(),this.trigger("initialized")},i.prototype.setup=function(){var e=this.viewport(),t=this.options.responsive,i=-1,s=null;t?(l.each(t,function(t){t<=e&&i").addClass(this.settings.itemClass).append(t)),this.trigger("prepared",{content:e.data}),e.data},i.prototype.update=function(){for(var t=0,e=this._pipe.length,i=l.proxy(function(t){return this[t]},this._invalidated),s={};t",this.coordinates(this.minimum()))&&"right"===this.state.direction?this.drag.currentX-=(this.settings.center&&this.coordinates(0))-this.coordinates(this._items.length):this.op(this.drag.currentX,"<",this.coordinates(this.maximum()))&&"left"===this.state.direction&&(this.drag.currentX+=(this.settings.center&&this.coordinates(0))-this.coordinates(this._items.length)):(n=this.coordinates(this.settings.rtl?this.maximum():this.minimum()),o=this.coordinates(this.settings.rtl?this.minimum():this.maximum()),r=this.settings.pullDrag?this.drag.distance/5:0,this.drag.currentX=Math.max(Math.min(this.drag.currentX,n+r),o+r)),(8",o[t+1]||e-n)&&(s="left"===this.state.direction?t+1:t),-1===s},this)),this.settings.loop||(this.op(i,">",o[this.minimum()])?s=i=this.minimum():this.op(i,"<",o[this.maximum()])&&(s=i=this.maximum())),s},i.prototype.animate=function(t){this.trigger("translate"),this.state.inMotion=0=i);)e=++n}else e=this._items.length-o.items;return e},i.prototype.minimum=function(t){return t?0:this._clones.length/2},i.prototype.items=function(t){return t===a?this._items.slice():(t=this.normalize(t,!0),this._items[t])},i.prototype.mergers=function(t){return t===a?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},i.prototype.clones=function(i){function s(t){return t%2==0?n+t/2:e-(t+1)/2}var e=this._clones.length/2,n=e+this._items.length;return i===a?l.map(this._clones,function(t,e){return s(e)}):l.map(this._clones,function(t,e){return t===i?s(e):null})},i.prototype.speed=function(t){return t!==a&&(this._speed=t),this._speed},i.prototype.coordinates=function(t){var e=null;return t===a?l.map(this._coordinates,l.proxy(function(t,e){return this.coordinates(e)},this)):(this.settings.center?(e=this._coordinates[t],e+=(this.width()-e+(this._coordinates[t-1]||0))/2*(this.settings.rtl?-1:1)):e=this._coordinates[t-1]||0,e)},i.prototype.duration=function(t,e,i){return Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(i||this.settings.smartSpeed)},i.prototype.to=function(t,e){var i,s,n,o,r,a;this.settings.loop?(i=t-this.relative(this.current()),s=this.current(),r=(n=this.current())-(o=this.current()+i)<0,a=this._clones.length+this._items.length,o=a-this.settings.items&&!0==r&&(s=n-this._items.length,this.reset(s)),h.clearTimeout(this.e._goToLoop),this.e._goToLoop=h.setTimeout(l.proxy(function(){this.speed(this.duration(this.current(),s+i,e)),this.current(s+i),this.update()},this),30)):(this.speed(this.duration(this.current(),t,e)),this.current(t),this.update())},i.prototype.next=function(t){t=t||!1,this.to(this.relative(this.current())+1,t)},i.prototype.prev=function(t){t=t||!1,this.to(this.relative(this.current())-1,t)},i.prototype.transitionEnd=function(t){return(t===a||(t.stopPropagation(),(t.target||t.srcElement||t.originalTarget)===this.$stage.get(0)))&&(this.state.inMotion=!1,void this.trigger("translated"))},i.prototype.viewport=function(){var t;if(this.options.responsiveBaseElement!==h)t=l(this.options.responsiveBaseElement).width();else if(h.innerWidth)t=h.innerWidth;else{if(!o.documentElement||!o.documentElement.clientWidth)throw"Can not detect viewport width.";t=o.documentElement.clientWidth}return t},i.prototype.replace=function(t){this.$stage.empty(),this._items=[],t=t&&(t instanceof jQuery?t:l(t)),this.settings.nestedItemSelector&&(t=t.find("."+this.settings.nestedItemSelector)),t.filter(function(){return 1===this.nodeType}).each(l.proxy(function(t,e){e=this.prepare(e),this.$stage.append(e),this._items.push(e),this._mergers.push(+e.find("[data-merge]").andSelf("[data-merge]").attr("data-merge")||1)},this)),this.reset(l.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},i.prototype.add=function(t,e){e=e===a?this._items.length:this.normalize(e,!0),this.trigger("add",{content:t,position:e}),0===this._items.length||e===this._items.length?(this.$stage.append(t),this._items.push(t),this._mergers.push(+t.find("[data-merge]").andSelf("[data-merge]").attr("data-merge")||1)):(this._items[e].before(t),this._items.splice(e,0,t),this._mergers.splice(e,0,+t.find("[data-merge]").andSelf("[data-merge]").attr("data-merge")||1)),this.invalidate("items"),this.trigger("added",{content:t,position:e})},i.prototype.remove=function(t){(t=this.normalize(t,!0))!==a&&(this.trigger("remove",{content:this._items[t],position:t}),this._items[t].remove(),this._items.splice(t,1),this._mergers.splice(t,1),this.invalidate("items"),this.trigger("removed",{content:null,position:t}))},i.prototype.addTriggerableEvents=function(){var i=l.proxy(function(e,i){return l.proxy(function(t){t.relatedTarget!==this&&(this.suppress([i]),e.apply(this,[].slice.call(arguments,1)),this.release([i]))},this)},this);l.each({next:this.next,prev:this.prev,to:this.to,destroy:this.destroy,refresh:this.refresh,replace:this.replace,add:this.add,remove:this.remove},l.proxy(function(t,e){this.$element.on(t+".owl.carousel",i(e,t+".owl.carousel"))},this))},i.prototype.watchVisibility=function(){function t(t){return 0=i.length&&(r.state.imagesLoaded=!0,r.initialize())},n.src=s.attr("src")||s.attr("data-src")||s.attr("data-src-retina")})},i.prototype.destroy=function(){for(var t in this.$element.hasClass(this.settings.themeClass)&&this.$element.removeClass(this.settings.themeClass),!1!==this.settings.responsive&&l(h).off("resize.owl.carousel"),this.transitionEndVendor&&this.off(this.$stage.get(0),this.transitionEndVendor,this.e._transitionEnd),this._plugins)this._plugins[t].destroy();(this.settings.mouseDrag||this.settings.touchDrag)&&(this.$stage.off("mousedown touchstart touchcancel"),l(o).off(".owl.dragEvents"),this.$stage.get(0).onselectstart=function(){},this.$stage.off("dragstart",function(){return!1})),this.$element.off(".owl"),this.$stage.children(".cloned").remove(),this.e=null,this.$element.removeData("owlCarousel"),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.unwrap()},i.prototype.op=function(t,e,i){var s=this.settings.rtl;switch(e){case"<":return s?i":return s?t=":return s?t<=i:i<=t;case"<=":return s?i<=t:t<=i}},i.prototype.on=function(t,e,i,s){t.addEventListener?t.addEventListener(e,i,s):t.attachEvent&&t.attachEvent("on"+e,i)},i.prototype.off=function(t,e,i,s){t.removeEventListener?t.removeEventListener(e,i,s):t.detachEvent&&t.detachEvent("on"+e,i)},i.prototype.trigger=function(t,e,i){var s={item:{count:this._items.length,index:this.current()}},n=l.camelCase(l.grep(["on",t,i],function(t){return t}).join("-").toLowerCase()),o=l.Event([t,"owl",i||"carousel"].join(".").toLowerCase(),l.extend({relatedTarget:this},s,e));return this._supress[t]||(l.each(this._plugins,function(t,e){e.onTrigger&&e.onTrigger(o)}),this.$element.trigger(o),this.settings&&"function"==typeof this.settings[n]&&this.settings[n].apply(this,o)),o},i.prototype.suppress=function(t){l.each(t,l.proxy(function(t,e){this._supress[e]=!0},this))},i.prototype.release=function(t){l.each(t,l.proxy(function(t,e){delete this._supress[e]},this))},i.prototype.browserSupport=function(){this.support3d=t(["perspective","webkitPerspective","MozPerspective","OPerspective","MsPerspective"])[0],this.support3d&&(this.transformVendor=t(["transform","WebkitTransform","MozTransform","OTransform","msTransform"])[0],this.transitionEndVendor=["transitionend","webkitTransitionEnd","transitionend","oTransitionEnd"][t(["transition","WebkitTransition","MozTransition","OTransition"])[1]],this.vendorName=this.transformVendor.replace(/Transform/i,""),this.vendorName=""!==this.vendorName?"-"+this.vendorName.toLowerCase()+"-":""),this.state.orientation=h.orientation},l.fn.owlCarousel=function(t){return this.each(function(){l(this).data("owlCarousel")||l(this).data("owlCarousel",new i(this,t))})},l.fn.owlCarousel.Constructor=i}(window.Zepto||window.jQuery,window,document),function(a,o){var e=function(t){this._core=t,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel":a.proxy(function(t){if(t.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(t.property&&"position"==t.property.name||"initialized"==t.type))for(var e=this._core.settings,i=e.center&&Math.ceil(e.items/2)||e.items,s=e.center&&-1*i||0,n=(t.property&&t.property.value||this._core.current())+s,o=this._core.clones().length,r=a.proxy(function(t,e){this.load(e)},this);s++
':'
',e.after(s),e.after('
')}var s,n,o=t.width&&t.height?'style="width:'+t.width+"px;height:"+t.height+'px;"':"",r=e.find("img"),a="src",l="",h=this._core.settings;return e.wrap('
"),this._core.settings.lazyLoad&&(a="data-src",l="owl-lazy"),r.length?(i(r.attr(a)),r.remove(),!1):void("youtube"===t.type?(n="http://img.youtube.com/vi/"+t.id+"/hqdefault.jpg",i(n)):"vimeo"===t.type&&d.ajax({type:"GET",url:"http://vimeo.com/api/v2/video/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){n=t[0].thumbnail_large,i(n)}}))},s.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null},s.prototype.play=function(t){this._core.trigger("play",null,"video"),this._playing&&this.stop();var e,i,s=d(t.target||t.srcElement),n=s.closest("."+this._core.settings.itemClass),o=this._videos[n.attr("data-video")],r=o.width||"100%",a=o.height||this._core.$stage.height();"youtube"===o.type?e='':"vimeo"===o.type&&(e=''),n.addClass("owl-video-playing"),this._playing=n,i=d('
'+e+"
"),s.after(i)},s.prototype.isInFullScreen=function(){var t=i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement;return t&&d(t).parent().hasClass("owl-video-frame")&&(this._core.speed(0),this._fullscreen=!0),!(t&&this._fullscreen&&this._playing)&&(this._fullscreen?this._fullscreen=!1:!this._playing||this._core.state.orientation===e.orientation||(this._core.state.orientation=e.orientation,!1))},s.prototype.destroy=function(){var t,e;for(t in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},d.fn.owlCarousel.Constructor.Plugins.Video=s}(window.Zepto||window.jQuery,window,document),function(r){var e=function(t){this.core=t,this.core.options=r.extend({},e.Defaults,this.core.options),this.swapping=!0,this.previous=void 0,this.next=void 0,this.handlers={"change.owl.carousel":r.proxy(function(t){"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":r.proxy(function(t){this.swapping="translated"==t.type},this),"translate.owl.carousel":r.proxy(function(){this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};e.Defaults={animateOut:!1,animateIn:!1},e.prototype.swap=function(){var t,e,i,s,n,o;1===this.core.settings.items&&this.core.support3d&&(this.core.speed(0),e=r.proxy(this.clear,this),i=this.core.$stage.children().eq(this.previous),s=this.core.$stage.children().eq(this.next),n=this.core.settings.animateIn,o=this.core.settings.animateOut,this.core.current()!==this.previous&&(o&&(t=this.core.coordinates(this.previous)-this.core.coordinates(this.next),i.css({left:t+"px"}).addClass("animated owl-animated-out").addClass(o).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",e)),n&&s.addClass("animated owl-animated-in").addClass(n).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",e)))},e.prototype.clear=function(t){r(t.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.transitionEnd()},e.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},r.fn.owlCarousel.Constructor.Plugins.Animate=e}(window.Zepto||window.jQuery,(window,document)),function(e,i,t){var s=function(t){this.core=t,this.core.options=e.extend({},s.Defaults,this.core.options),this.handlers={"translated.owl.carousel refreshed.owl.carousel":e.proxy(function(){this.autoplay()},this),"play.owl.autoplay":e.proxy(function(t,e,i){this.play(e,i)},this),"stop.owl.autoplay":e.proxy(function(){this.stop()},this),"mouseover.owl.autoplay":e.proxy(function(){this.core.settings.autoplayHoverPause&&this.pause()},this),"mouseleave.owl.autoplay":e.proxy(function(){this.core.settings.autoplayHoverPause&&this.autoplay()},this)},this.core.$element.on(this.handlers)};s.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},s.prototype.autoplay=function(){this.core.settings.autoplay&&!this.core.state.videoPlay?(i.clearInterval(this.interval),this.interval=i.setInterval(e.proxy(function(){this.play()},this),this.core.settings.autoplayTimeout)):i.clearInterval(this.interval)},s.prototype.play=function(){return!0===t.hidden||this.core.state.isTouch||this.core.state.isScrolling||this.core.state.isSwiping||this.core.state.inMotion?void 0:!1===this.core.settings.autoplay?void i.clearInterval(this.interval):void this.core.next(this.core.settings.autoplaySpeed)},s.prototype.stop=function(){i.clearInterval(this.interval)},s.prototype.pause=function(){i.clearInterval(this.interval)},s.prototype.destroy=function(){var t,e;for(t in i.clearInterval(this.interval),this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},e.fn.owlCarousel.Constructor.Plugins.autoplay=s}(window.Zepto||window.jQuery,window,document),function(o){"use strict";var e=function(t){this._core=t,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":o.proxy(function(t){this._core.settings.dotsData&&this._templates.push(o(t.content).find("[data-dot]").andSelf("[data-dot]").attr("data-dot"))},this),"add.owl.carousel":o.proxy(function(t){this._core.settings.dotsData&&this._templates.splice(t.position,0,o(t.content).find("[data-dot]").andSelf("[data-dot]").attr("data-dot"))},this),"remove.owl.carousel prepared.owl.carousel":o.proxy(function(t){this._core.settings.dotsData&&this._templates.splice(t.position,1)},this),"change.owl.carousel":o.proxy(function(t){var e,i,s;"position"!=t.property.name||this._core.state.revert||this._core.settings.loop||!this._core.settings.navRewind||(e=this._core.current(),i=this._core.maximum(),s=this._core.minimum(),t.data=t.property.value>i?i<=e?s:i:t.property.value").addClass(i.dotClass).append(o("")).prop("outerHTML")]),i.navContainer&&i.dotsContainer||(this._controls.$container=o("
").addClass(i.controlsClass).appendTo(this.$element)),this._controls.$indicators=i.dotsContainer?o(i.dotsContainer):o("
").hide().addClass(i.dotsClass).appendTo(this._controls.$container),this._controls.$indicators.on("click","div",o.proxy(function(t){var e=o(t.target).parent().is(this._controls.$indicators)?o(t.target).index():o(t.target).parent().index();t.preventDefault(),this.to(e,i.dotsSpeed)},this)),t=i.navContainer?o(i.navContainer):o("
").addClass(i.navContainerClass).prependTo(this._controls.$container),this._controls.$next=o("<"+i.navElement+">"),this._controls.$previous=this._controls.$next.clone(),this._controls.$previous.addClass(i.navClass[0]).html(i.navText[0]).hide().prependTo(t).on("click",o.proxy(function(){this.prev(i.navSpeed)},this)),this._controls.$next.addClass(i.navClass[1]).html(i.navText[1]).hide().appendTo(t).on("click",o.proxy(function(){this.next(i.navSpeed)},this)),this._overrides)this._core[e]=o.proxy(this[e],this)},e.prototype.destroy=function(){var t,e,i,s;for(t in this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)this._controls[e].remove();for(s in this.overides)this._core[s]=this._overrides[s];for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},e.prototype.update=function(){var t,e,i=this._core.settings,s=this._core.clones().length/2,n=s+this._core.items().length,o=i.center||i.autoWidth||i.dotData?1:i.dotsEach||i.items;if("page"!==i.slideBy&&(i.slideBy=Math.min(i.slideBy,i.items)),i.dots||"page"==i.slideBy)for(this._pages=[],t=s,e=0;t=this._core.maximum())),this._controls.$previous.toggle(s.nav),this._controls.$next.toggle(s.nav),s.dots){if(t=this._pages.length-this._controls.$indicators.children().length,s.dotData&&0!=t){for(e=0;e=e}).pop()},e.prototype.getPosition=function(t){var e,i,s=this._core.settings;return"page"==s.slideBy?(e=o.inArray(this.current(),this._pages),i=this._pages.length,t?++e:--e,e=this._pages[(e%i+i)%i].start):(e=this._core.relative(this._core.current()),i=this._core.items().length,t?e+=s.slideBy:e-=s.slideBy),e},e.prototype.next=function(t){o.proxy(this._overrides.to,this._core)(this.getPosition(!0),t)},e.prototype.prev=function(t){o.proxy(this._overrides.to,this._core)(this.getPosition(!1),t)},e.prototype.to=function(t,e,i){var s;i?o.proxy(this._overrides.to,this._core)(t,e):(s=this._pages.length,o.proxy(this._overrides.to,this._core)(this._pages[(t%s+s)%s].start,e))},o.fn.owlCarousel.Constructor.Plugins.Navigation=e}(window.Zepto||window.jQuery,(window,document)),function(i,s){"use strict";var e=function(t){this._core=t,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":i.proxy(function(){"URLHash"==this._core.settings.startPosition&&i(s).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":i.proxy(function(t){var e=i(t.content).find("[data-hash]").andSelf("[data-hash]").attr("data-hash");this._hashes[e]=t.content},this)},this._core.options=i.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers),i(s).on("hashchange.owl.navigation",i.proxy(function(){var t=s.location.hash.substring(1),e=this._core.$stage.children(),i=this._hashes[t]&&e.index(this._hashes[t])||0;return!!t&&void this._core.to(i,!1,!0)},this))};e.Defaults={URLhashListener:!1},e.prototype.destroy=function(){var t,e;for(t in i(s).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},i.fn.owlCarousel.Constructor.Plugins.Hash=e}(window.Zepto||window.jQuery,window,document),function(M){"use strict";M(document).ready(function(){(navigator.userAgent.match(/iPhone/)||navigator.userAgent.match(/iPod/))&&M("body").addClass("iphone-device"),navigator.userAgent.match(/Android/)&&M("body").addClass("android-device");var e,h,d,c,t,i,s,n=!1,o=!1,r=!1;function l(e){var i,t;herald_js_settings.single_sticky_bar&&(i=M(".herald-site-footer").offset().top-M(window).height(),M("body").hasClass("single")&&e.find(".herald-single-sticky").length&&(t=e.find(".herald-single-sticky").clone(!0,!0),e.append('")),M(window).scroll(function(){var t=M(window).scrollTop();t>=e.offset().top+600&&t'+t+"")):(t=".herald-no-sid .alignfull { width: "+M(window).width()+"px; margin-left: -"+M(window).width()/2+"px; margin-right: -"+M(window).width()/2+"px; left:50%; right:50%;max-width: none; }",M("#herald-align-fix").length?M("#herald-align-fix").html(t):M("head").append('"))}function u(t){t.find(".herald-widget-slider").each(function(){var t=M(this).closest(".widget").find(".herald-slider-controls");M(this).owlCarousel({rtl:"true"===herald_js_settings.rtl_mode,loop:!0,autoHeight:!1,autoWidth:!1,nav:!0,center:!1,fluidSpeed:100,navContainer:t,navText:['',''],responsive:{0:{autoWidth:!1,margin:20,items:1}}})})}function p(t){M("body").imagesLoaded(function(){t.find(".gallery-columns-1, .wp-block-gallery.columns-1").owlCarousel({rtl:"true"===herald_js_settings.rtl_mode,loop:!0,nav:!0,autoWidth:!1,autoHeight:!0,center:!1,fluidSpeed:100,margin:0,items:1,navText:['','']})})}y(),M(window).resize(function(){document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement||(y(),x(),k(),T(),z(),M(".herald-responsive-header .herald-menu-popup-search.herald-search-active span").removeClass("fa-times").addClass("fa-search"),M(".herald-responsive-header .herald-menu-popup-search .herald-in-popup").removeClass("herald-search-active"))}),M("body").on("mouseenter",".herald-fa-item",function(){var t=M(this).find(".entry-content").height();M(this).find(".entry-header").css({"-webkit-transform":"translate(0,-"+t+"px)","-ms-transform":"translate(0,-"+t+"px)",transform:"translate(0,-"+t+"px)"})}),M("body").on("mouseleave",".herald-fa-item",function(){M(this).find(".entry-header").css({"-webkit-transform":"translate(0,0)","-ms-transform":"translate(0,0)",transform:"translate(0,0)"})}),M(".main-navigation").on("mouseenter","li",function(t){M(this).closest("body").width() .sub-menu").css("width",t+"px")}),M("body").on("mouseover mouseleave",".entry-meta-wrapper .herald-share",function(t){"mouseover"==t.type?M(this).find(".meta-share-wrapper").slideDown():M(this).find(".meta-share-wrapper").slideUp()}),window.matchMedia("(max-width: 766px)").matches&&M(".herald-mod-subnav-mobile").each(function(){M(this).closest(".herald-mod-h").addClass("herald-subcat-dropdown")}),M("body").on("click",".herald-subcat-dropdown",function(){M(this).find(".herald-mod-subnav-mobile").slideToggle(200)}),M("body").imagesLoaded(function(){x(),k(),T(),l(M(".herald-site-content .herald-section").last()),M(".herald-clear-blur").clearBlur()}),herald_js_settings.header_sticky&&M(window).scroll(function(){var t=M(window).scrollTop();herald_js_settings.header_sticky_up?t=herald_js_settings.header_sticky_offset?M("body").addClass("herald-sticky-header-visible"):M("body").removeClass("herald-sticky-header-visible"):t>=herald_js_settings.header_sticky_offset?M("body").addClass("herald-sticky-header-visible"):M("body").removeClass("herald-sticky-header-visible"),e=t}),a(),C(M(".herald-section")),herald_js_settings.popup_img&&(_(M(".herald-site-content")),b(M(".herald-site-content"))),M("body").on("click",".herald-comment-form-open",function(t){t.preventDefault();var e=M(this).closest(".herald-section");M(this).parent().fadeOut(100,function(){e.find("#respond").fadeIn(300),e.find("#respond #comment").focus(),M(".herald-clear-blur").clearBlur()})}),M("#jetpack_remote_comment").length&&(M(".herald-comment-form-open").parent().hide(),M("#respond").fadeIn(300)),M("body").on("click",".entry-meta-single .herald-comments a, .herald-comment-action",function(t){t.preventDefault();var e=M(this).closest(".herald-section"),i=this.hash,s=e.find(i);e.find(".herald-comment-form-open").parent().hide(),e.find("#respond").show(),M("html, body").stop().animate({scrollTop:s.offset().top},900,"swing",function(){window.location.hash=i})}),M(".herald-slider").each(function(){var t=M(this).closest(".herald-module").find(".herald-slider-controls"),e=M(this).closest(".herald-module").attr("data-col"),i=t.attr("data-col"),s=e/i,n=1e3*parseInt(t.attr("data-autoplay")),o=!!n;M(this).owlCarousel({rtl:"true"===herald_js_settings.rtl_mode,loop:!0,autoHeight:!1,autoWidth:!1,items:s,margin:40,nav:!0,center:!1,fluidSpeed:100,autoplay:o,autoplayHoverPause:!0,autoplayTimeout:n,navContainer:t,navText:['',''],responsive:{0:{margin:20,items:i<=2?2:1},768:{margin:30},1480:{margin:40}}})}),M(".trending-slider").owlCarousel({rtl:"true"===herald_js_settings.rtl_mode,loop:!0,autoWidth:!1,items:herald_js_settings.trending_columns,nav:!1,center:!1,fluidSpeed:100,margin:20,autoplay:!0,autoplayHoverPause:!0,autoplayTimeout:2500}),u(M("body")),p(M(".herald-section")),(M(".herald-infinite-scroll").length||M(".herald-load-more").length||M(".herald-infinite-scroll-single").length)&&(h=[],c=d=0,t={prev:window.location.href,next:"",offset:M(window).scrollTop(),prev_title:window.document.title,next_title:window.document.title},h.push(t),s=0,M(window).scroll(function(){h[d].offset!=i&&M(window).scrollTop()h[c].offset&&(s=h[c].offset,i=0,window.document.title=h[c].next_title,window.history.replaceState(h,"",h[c].next),(d=c)").load(r,function(){var t=f.toString(),i=o.closest(".herald-module").find(".herald-posts"),s=M(this).find(".herald-module:last article").addClass("herald-new-"+t),n=M(this);s.imagesLoaded(function(){var t,e;return s.hide().appendTo(i).fadeIn(400),n.find(".herald-load-more").length?(M(".herald-load-more").html(n.find(".herald-load-more").html()),M(".herald-loader").hide(),o.removeClass("herald-loader-active")):M(".herald-load-more").fadeOut("fast").remove(),x(!0),r!=window.location&&(d++,c++,t=n.find("title").text(),e={prev:a,next:r,offset:M(window).scrollTop(),prev_title:l,next_title:t},h.push(e),window.document.title=t,window.history.pushState(e,"",r)),f++,!1})})});var m=!0;M(".herald-infinite-scroll").length&&M(window).scroll(function(){var e,o,r,a;m&&M(".herald-infinite-scroll").length&&M(this).scrollTop()>M(".herald-infinite-scroll").offset().top-M(this).height()-200&&(e=M(".herald-infinite-scroll a"),o=e.attr("href"),r=window.location.href,a=window.document.title,null!=o&&(m=!1,M(".herald-loader").show(),M("
").load(o,function(){var t=f.toString(),i=e.closest(".herald-module").find(".herald-posts"),s=M(this).find(".herald-module:last article").addClass("herald-new-"+t),n=M(this);s.imagesLoaded(function(){var t,e;return s.hide().appendTo(i).fadeIn(400),n.find(".herald-infinite-scroll").length?(M(".herald-infinite-scroll").html(n.find(".herald-infinite-scroll").html()),M(".herald-loader").hide(),m=!0):M(".herald-infinite-scroll").fadeOut("fast").remove(),x(!0),o!=window.location&&(d++,c++,t=n.find("title").text(),e={prev:r,next:o,offset:M(window).scrollTop(),prev_title:a,next_title:t},h.push(e),window.document.title=t,window.history.pushState(e,"",o)),f++,!1})})))});var g=!0,v=0,w=!0;function y(){!r&&M(".header-middle").is(":visible")&&(M(".header-middle").imagesLoaded(function(){M(".header-middle .hel-el").children().each(function(){M(this).heraldCenter().animate({opacity:1},100)})}),r=!0),1M(".herald-infinite-scroll-single").offset().top-M(this).height()-200&&(o=M(".herald-infinite-scroll-single a").css("opacity",0).attr("href"),r=window.location.href,a=window.document.title,null!=o&&(g=!1,M(".herald-loader").show(),M("
").load(o,function(){var i=M(this),t=v.toString(),s=M(".herald-site-content").find(".herald-section").last(),n=i.find(".herald-section").last().addClass("herald-new-"+t);n.imagesLoaded(function(){n.hide().insertAfter(s).fadeIn(400),i.find(".herald-infinite-scroll-single").length?(M(".herald-infinite-scroll-single").html(i.find(".herald-infinite-scroll-single").html()),M(".herald-loader").hide(),g=!0):M(".herald-infinite-scroll-single").fadeOut("fast").remove(),x(!0),p(n),u(n),l(n),T(),C(n),herald_js_settings.popup_img&&(_(n),b(n));var t,e={};return w&&(e={prev:window.location.href,next:"",offset:0,prev_title:window.document.title,next_title:window.document.title},window.history.pushState(e,"",window.location.href),w=!1),o!=window.location&&(d++,c++,t=i.find("title").text(),e={prev:r,next:o,offset:M(window).scrollTop(),prev_title:a,next_title:t},h.push(e),window.document.title=t,window.history.pushState(e,"",o)),v++,!1})})))});var E,S,I=M(".herald-slide"),P=M(".herald-site-content");function $(){I.removeClass("open").addClass("close"),M("body").removeClass("herald-menu-open")}function z(){var t;herald_js_settings.header_ad_responsive&&(t=M("#header .herald-ad"),M(window).width()'),e.hasClass("herald-mega-menu")&&(t=e.find(".herald-mega-menu-sub-cats ul li"),e.find(".container").remove(),e.find(".sub-menu").append(t))}),/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?M(".herald-menu-toggler").on("touchstart",function(t){M(this).prev().slideToggle(),M(this).parent().toggleClass("herald-current-mobile-item")}):M(".herald-menu-toggler").on("click",function(t){M(this).prev().slideToggle(),M(this).parent().toggleClass("herald-current-mobile-item")}),M("body").on("click",".herald-responsive-header .herald-menu-popup-search span",function(t){t.preventDefault(),t.stopPropagation(),M(window).width()<1250&&M(".herald-responsive-header .herald-in-popup").css("width",M(window).width())}),M("#back-top").length&&(M(window).scroll(function(){400=g.animationTime,l=a?1:r/g.animationTime;g.pulseAlgorithm&&(l=function(t){if(1<=t)return 1;if(t<=0)return 0;1==g.pulseNormalize&&(g.pulseNormalize/=B(1));return B(t)}(l));var h=o.x*l-o.lastX>>0,d=o.y*l-o.lastY>>0;i+=h,s+=d,o.lastX+=h,o.lastY+=d,a&&(v.splice(n,1),n--)}f?window.scrollBy(i,s):(i&&(c.scrollLeft+=i),s&&(c.scrollTop+=s)),u||p||(v=[]),v.length?j(m,c,1e3/g.frameRate+1):w=!1},j(m,c,0),w=!0)}function e(t){c||a();var e=t.target,i=E(e);if(!i||t.defaultPrevented||t.ctrlKey)return!0;if(z(h,"embed")||z(e,"embed")&&/\.pdf/i.test(e.src)||z(h,"object"))return!0;var s=-t.wheelDeltaX||t.deltaX||0,n=-t.wheelDeltaY||t.deltaY||0;if(r&&(t.wheelDeltaX&&M(t.wheelDeltaX,120)&&(s=t.wheelDeltaX/Math.abs(t.wheelDeltaX)*-120),t.wheelDeltaY&&M(t.wheelDeltaY,120)&&(n=t.wheelDeltaY/Math.abs(t.wheelDeltaY)*-120)),s||n||(n=-t.wheelDelta||0),1===t.deltaMode&&(s*=40,n*=40),!g.touchpadSupport&&function(t){if(!t)return;o.length||(o=[t,t,t]);return t=Math.abs(t),o.push(t),o.shift(),clearTimeout(b),b=setTimeout(function(){window.localStorage&&(localStorage.SS_deltaBuffer=o.join(","))},1e3),!D(120)&&!D(100)}(n))return!0;1.2