",n)||this.op(e,"<",o)&&this.op(e,">",n))&&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)):(o=this.coordinates(this.settings.rtl?this.maximum():this.minimum()),n=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,o+r),n+r)),(8",n[t+1]||e-o)&&(s="left"===this.state.direction?t+1:t),-1===s},this)),this.settings.loop||(this.op(i,">",n[this.minimum()])?s=i=this.minimum():this.op(i,"<",n[this.maximum()])&&(s=i=this.maximum())),s},i.prototype.animate=function(t){this.trigger("translate"),this.state.inMotion=0=i);)e=++o}else e=this._items.length-n.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?o+t/2:e-(t+1)/2}var e=this._clones.length/2,o=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,o,n,r,a;this.settings.loop?(i=t-this.relative(this.current()),s=this.current(),r=(o=this.current())-(n=this.current()+i)<0,a=this._clones.length+this._items.length,n=a-this.settings.items&&!0==r&&(s=o-this._items.length,this.reset(s)),c.clearTimeout(this.e._goToLoop),this.e._goToLoop=c.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!==c)t=l(this.options.responsiveBaseElement).width();else if(c.innerWidth)t=c.innerWidth;else{if(!n.documentElement||!n.documentElement.clientWidth)throw"Can not detect viewport width.";t=n.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())},o.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(c).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(n).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()}},o=l.camelCase(l.grep(["on",t,i],function(t){return t}).join("-").toLowerCase()),n=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(n)}),this.$element.trigger(n),this.settings&&"function"==typeof this.settings[o]&&this.settings[o].apply(this,n)),n},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=c.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,n){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,o=(t.property&&t.property.value||this._core.current())+s,n=this._core.clones().length,r=a.proxy(function(t,e){this.load(e)},this);s++
':'
',e.after(s),e.after('
')}var s,o,n=t.width&&t.height?'style="width:'+t.width+"px;height:"+t.height+'px;"':"",r=e.find("img"),a="src",l="",c=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?(o="http://img.youtube.com/vi/"+t.id+"/hqdefault.jpg",i(o)):"vimeo"===t.type&&d.ajax({type:"GET",url:"http://vimeo.com/api/v2/video/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){o=t[0].thumbnail_large,i(o)}}))},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),o=s.closest("."+this._core.settings.itemClass),n=this._videos[o.attr("data-video")],r=n.width||"100%",a=n.height||this._core.$stage.height();"youtube"===n.type?e='VIDEO ':"vimeo"===n.type&&(e=''),o.addClass("owl-video-playing"),this._playing=o,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,o,n;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),o=this.core.settings.animateIn,n=this.core.settings.animateOut,this.core.current()!==this.previous&&(n&&(t=this.core.coordinates(this.previous)-this.core.coordinates(this.next),i.css({left:t+"px"}).addClass("animated owl-animated-out").addClass(n).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",e)),o&&s.addClass("animated owl-animated-in").addClass(o).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(n){"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":n.proxy(function(t){this._core.settings.dotsData&&this._templates.push(n(t.content).find("[data-dot]").andSelf("[data-dot]").attr("data-dot"))},this),"add.owl.carousel":n.proxy(function(t){this._core.settings.dotsData&&this._templates.splice(t.position,0,n(t.content).find("[data-dot]").andSelf("[data-dot]").attr("data-dot"))},this),"remove.owl.carousel prepared.owl.carousel":n.proxy(function(t){this._core.settings.dotsData&&this._templates.splice(t.position,1)},this),"change.owl.carousel":n.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(n("")).prop("outerHTML")]),i.navContainer&&i.dotsContainer||(this._controls.$container=n("").addClass(i.controlsClass).appendTo(this.$element)),this._controls.$indicators=i.dotsContainer?n(i.dotsContainer):n("
").hide().addClass(i.dotsClass).appendTo(this._controls.$container),this._controls.$indicators.on("click","div",n.proxy(function(t){var e=n(t.target).parent().is(this._controls.$indicators)?n(t.target).index():n(t.target).parent().index();t.preventDefault(),this.to(e,i.dotsSpeed)},this)),t=i.navContainer?n(i.navContainer):n("
").addClass(i.navContainerClass).prependTo(this._controls.$container),this._controls.$next=n("<"+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",n.proxy(function(){this.prev(i.navSpeed)},this)),this._controls.$next.addClass(i.navClass[1]).html(i.navText[1]).hide().appendTo(t).on("click",n.proxy(function(){this.next(i.navSpeed)},this)),this._overrides)this._core[e]=n.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,o=s+this._core.items().length,n=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=n.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){n.proxy(this._overrides.to,this._core)(this.getPosition(!0),t)},e.prototype.prev=function(t){n.proxy(this._overrides.to,this._core)(this.getPosition(!1),t)},e.prototype.to=function(t,e,i){var s;i?n.proxy(this._overrides.to,this._core)(t,e):(s=this._pages.length,n.proxy(this._overrides.to,this._core)(this._pages[(t%s+s)%s].start,e))},n.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(){var P=this.jQuery||window.jQuery,z=P(window);P.fn.stick_in_parent=function(t){var x,e,k,T,E,I,o,i,S,$,s,n,r;for(null==t&&(t={}),$=t.sticky_class,T=t.inner_scrolling,S=t.recalc_every,i=t.parent,I=t.offset_top,E=t.spacer,k=t.bottoming,null==I&&(I=0),null==i&&(i=void 0),null==T&&(T=!0),null==$&&($="is_stuck"),x=P(document),null==k&&(k=!0),o=function(t){var e,i;return window.getComputedStyle?(t[0],e=window.getComputedStyle(t[0]),i=parseFloat(e.getPropertyValue("width"))+parseFloat(e.getPropertyValue("margin-left"))+parseFloat(e.getPropertyValue("margin-right")),"border-box"!==e.getPropertyValue("box-sizing")&&(i+=parseFloat(e.getPropertyValue("border-left-width"))+parseFloat(e.getPropertyValue("border-right-width"))+parseFloat(e.getPropertyValue("padding-left"))+parseFloat(e.getPropertyValue("padding-right"))),i):t.outerWidth(!0)},s=function(r,a,l,c,d,h,p,u){var g,t,f,m,v,y,w,_,e,b,C,s;if(!r.data("sticky_kit")){if(r.data("sticky_kit",!0),v=x.height(),w=r.parent(),null!=i&&(w=w.closest(i)),!w.length)throw"failed to find stick parent";if(g=f=!1,(C=null!=E?E&&r.closest(E):P("
"))&&C.css("position",r.css("position")),(_=function(){var t,e,i;if(!u)return v=x.height(),t=parseInt(w.css("border-top-width"),10),e=parseInt(w.css("padding-top"),10),a=parseInt(w.css("padding-bottom"),10),l=w.offset().top+t+e,c=w.height(),f&&(g=f=!1,null==E&&(r.insertAfter(C),C.detach()),r.css({position:"",top:"",width:"",bottom:""}).removeClass($),i=!0),d=r.offset().top-(parseInt(r.css("margin-top"),10)||0)-I,h=r.outerHeight(!0),p=r.css("float"),C&&C.css({width:o(r),height:h,display:r.css("display"),"vertical-align":r.css("vertical-align"),float:p}),i?s():void 0})(),h!==c)return m=void 0,y=I,b=S,s=function(){var t,e,i,s,o,n;if(!u)return i=!1,null!=b&&--b<=0&&(b=S,_(),i=!0),i||x.height()===v||(_(),i=!0),s=z.scrollTop(),null!=m&&(e=s-m),m=s,f?(k&&(o=c+l',' '],responsive:{0:{items:1,autoWidth:!1},580:{items:e,autoWidth:!1},1024:{items:t,autoWidth:!1},1230:{items:t,autoWidth:o}}})}),$(".gridlove-slider").each(function(){var t=$(this).closest(".gridlove-module").find(".gridlove-slider-controls"),e=parseInt(t.attr("data-items")),i=2',' '],responsive:{0:{items:1,autoWidth:!1},580:{items:i,autoWidth:!1},1024:{items:e,autoWidth:!1},1230:{items:e,autoWidth:!0}}})}),y($("body")),gridlove_js_settings.header_sticky&&($(".gridlove-header-sticky").css("top",a),$(window).scroll(function(){var t=$(window).scrollTop();gridlove_js_settings.header_sticky_up?t=gridlove_js_settings.header_sticky_offset?$("body").hasClass("gridlove-header-sticky-on")||($("body").addClass("gridlove-header-sticky-on"),$(".gridlove-sticky-share.is_stuck").css("top",110)):$("body").hasClass("gridlove-header-sticky-on")&&($("body").removeClass("gridlove-header-sticky-on"),$(".gridlove-sticky-share.is_stuck").css("top",62),$(".gridlove-header-sticky .gridlove-action-search").hasClass("active")&&($(".gridlove-header-sticky .gridlove-action-search").removeClass("active"),$(".gridlove-header-sticky .gridlove-action-search").find("i").toggleClass("fa-close","fa-search"))):t>=gridlove_js_settings.header_sticky_offset?$("body").hasClass("gridlove-header-sticky-on")||$("body").addClass("gridlove-header-sticky-on"):$("body").hasClass("gridlove-header-sticky-on")&&($("body").removeClass("gridlove-header-sticky-on"),$(".gridlove-header-sticky .gridlove-action-search").hasClass("active")&&($(".gridlove-header-sticky .gridlove-action-search").removeClass("active"),$(".gridlove-header-sticky .gridlove-action-search").find("i").toggleClass("fa-close","fa-search"))),e=t})),$(window).scroll(function(){I();var t=$(".gridlove-header-sticky .gridlove-action-search.active");t.closest("body").hasClass("gridlove-header-sticky-on")||(t.removeClass("active"),t.find("i").removeClass("fa-close"))}),($(".gridlove-infinite-scroll").length||$(".gridlove-load-more").length||$(".gridlove-infinite-scroll-single").length)&&(c=[],h=d=0,t={prev:window.location.href,next:"",offset:$(window).scrollTop(),prev_title:window.document.title,next_title:window.document.title},c.push(t),window.history.pushState(t,"",window.location.href),s=0,$(window).scroll(function(){c[d].offset!=i&&$(window).scrollTop()c[h].offset&&(s=c[h].offset,i=0,window.document.title=c[h].next_title,window.history.replaceState(c,"",c[h].next),(d=h)").load(l,function(){var i=p.toString(),s=e.closest(".gridlove-load-more").prev().find(".gridlove-posts"),o=$(this).find(".gridlove-posts").last().children().addClass("gridlove-new-"+i),n=$(this);o.imagesLoaded(function(){var t,e;return 0'+t+"")}function v(t){gridlove_js_settings.gridlove_gallery&&$("body").imagesLoaded(function(){t.each(function(){$(this).find(".gallery-columns-1, .wp-block-gallery.columns-1 ul").owlCarousel({rtl:!!gridlove_js_settings.rtl_mode,loop:!0,nav:!0,autoWidth:!1,autoHeight:!0,center:!1,fluidSpeed:100,margin:0,items:1,navText:[' ',' ']})})})}function y(t){t.find(".gridlove-widget-slider").each(function(){var t=$(this).closest(".widget").find(".gridlove-slider-controls"),e=parseInt(t.attr("data-autoplay")),i=!!e;$(this).owlCarousel({rtl:!!gridlove_js_settings.rtl_mode,loop:!0,autoHeight:!1,autoWidth:!1,items:1,nav:!0,center:!1,fluidSpeed:100,margin:0,navContainer:t,autoplay:i,autoplayTimeout:e,navText:[' ',' ']})})}function w(t){var e,i,s,o,n,r;t.find(".gridlove-sticky-sidebar").length&&(e=t.find(".gridlove-sticky-sidebar"),i=t.find(".gridlove-sidebar"),1023<=window.innerWidth?(s=0,S()&&(s=75),o=t.find(".gridlove-content").height()-s,i.height()e.height()?e.css("height",o-30):e.css("height","auto"),$(".gridlove-header-sticky").length&&!gridlove_js_settings.header_sticky_up&&(n=$(".gridlove-header-sticky").height()),r=30+a+n,i.prependTo(e),i.stick_in_parent({parent:".gridlove-share-wrapper",inner_scrolling:!0,offset_top:r})):(e.each(function(){$(this).css("height","auto"),$(this).css("min-height","1px")}),$(".single .gridlove-content-share").length||t.find(".box-single .entry-content").last().prepend(i),i.trigger("sticky_kit:detach")))}function b(t){var e;t.find("a.gridlove-popup-img").length&&((e=t.find("a.gridlove-popup-img")).find("img").each(function(){var t=$(this);t.hasClass("alignright")&&t.removeClass("alignright").parent().addClass("alignright"),t.hasClass("alignleft")&&t.removeClass("alignleft").parent().addClass("alignleft")}),e.magnificPopup({type:"image",gallery:{enabled:!0},image:{titleSrc:function(t){return t.el.closest(".wp-caption").find("figcaption").text()}}}))}function C(t){gridlove_js_settings.gridlove_gallery&&t.each(function(){$(this).find(".gallery, .wp-block-gallery").each(function(){var i=$(this),t=i.hasClass("wp-block-gallery")?".blocks-gallery-item a":".gallery-icon a.gridlove-popup";$(this).find(t).magnificPopup({type:"image",gallery:{enabled:!0},image:{titleSrc:function(t){var e=i.hasClass("wp-block-gallery")?t.el.closest("figure").find("figcaption"):t.el.closest(".gallery-item").find(".gallery-caption");return"undefined"!=e?e.text():""}}})})})}$(".gridlove-infinite-scroll").length&&$(window).scroll(function(){var t,r,a,l;f&&$(".gridlove-infinite-scroll").length&&$(this).scrollTop()>$(".gridlove-infinite-scroll").offset().top-$(this).height()-200&&(t=$(".gridlove-infinite-scroll a"),r=window.location.href,a=window.document.title,t.parent().addClass("gridlove-loader-active"),null!=(l=t.attr("href"))&&(f=!1,$(".gridlove-loader").show(),$("").load(l,function(){var i=p.toString(),s=$(".gridlove-posts").last(),o=$(this).find(".gridlove-posts").last().children().addClass("gridlove-new-"+i),n=$(this);o.imagesLoaded(function(){var t,e;return 0
$(".gridlove-infinite-scroll-single").offset().top-$(this).height()-200&&((t=$(".gridlove-infinite-scroll-single a")).parent().addClass("gridlove-loader-active"),r=t.attr("href"),a=window.location.href,l=window.document.title,null!=r&&(f=!1,$(".gridlove-loader").show(),$("").load(r,function(){var t=p.toString(),i=$(".gridlove-site-content").last(),s=$(this),o=s.find(".gridlove-cover-area").last().addClass("gridlove-cover-new"+t),n=s.find(".gridlove-site-content").last().addClass("gridlove-new-"+t);n.imagesLoaded(function(){var t,e;return s.find(".attachment-gridlove-cover").hasClass("size-gridlove-cover")?(o.hide().insertAfter(i).fadeIn(400),n.hide().insertAfter(o).fadeIn(400)):n.hide().insertAfter(i).fadeIn(400),w(n),_(n),y(n),n.find(".box-inner-ellipsis").ellipsis(),v(n),C(n),b(n),s.find(".gridlove-infinite-scroll-single").length?($(".gridlove-infinite-scroll-single").html(s.find(".gridlove-infinite-scroll-single").html()),$(".gridlove-loader").hide(),$(".gridlove-infinite-scroll-single").removeClass("gridlove-loader-active"),f=!0):$(".gridlove-infinite-scroll-single").fadeOut("fast").remove(),r!=window.location&&(d++,h++,t=s.find("title").text(),e={prev:a,next:r,offset:$(window).scrollTop(),prev_title:l,next_title:t},c.push(e),window.document.title=t,window.history.pushState(e,"",r)),p++,!1})})))}),C($(".gridlove-content, .gridlove-text-module-content")),b($(".gridlove-content")),v($(".gridlove-content, .gridlove-text-module-content")),$(".widget_nav_menu").each(function(){$(this).find(".menu-item-has-children > a").after(' ')}),$(".widget_pages").each(function(){$(this).find(".page_item_has_children > a").after(' ')}),$("body").on("click",".widget_nav_menu .gridlove-nav-widget-acordion, .widget_pages .gridlove-nav-widget-acordion",function(){$(this).next("ul.sub-menu:first, ul.children:first").slideToggle("fast").parent().toggleClass("active")}),$("body").imagesLoaded(function(){w($(".gridlove-site-content").last()),_($(".gridlove-site-content").last()),objectFitImages(".gridlove-module .entry-image img, .gridlove-cover-area .gridlove-cover-bg img"),$(".entry-content, .entry-media"),$(".entry-content, .entry-media").fitVids({customSelector:["iframe[src*='youtube.com/embed']","iframe[src*='player.vimeo.com/video']","iframe[src*='kickstarter.com/projects']","iframe[src*='players.brightcove.net']","iframe[src*='hulu.com/embed']","iframe[src*='vine.co/v']","iframe[src*='videopress.com/embed']","iframe[src*='dailymotion.com/embed']","iframe[src*='vid.me/e']","iframe[src*='player.twitch.tv']","iframe[src*='facebook.com/plugins/video.php']","iframe[src*='gfycat.com/ifr/']","iframe[src*='liveleak.com/ll_embed']","iframe[src*='media.myspace.com']","iframe[src*='archive.org/embed']","iframe[src*='channel9.msdn.com']","iframe[src*='content.jwplatform.com']","iframe[src*='wistia.com']","iframe[src*='vooplayer.com']","iframe[src*='content.zetatv.com.uy']","iframe[src*='embed.wirewax.com']","iframe[src*='eventopedia.navstream.com']","iframe[src*='cdn.playwire.com']","iframe[src*='drive.google.com']","iframe[src*='videos.sproutvideo.com']"].join(","),ignore:'[class^="wp-block"]'}),m()}),$(".gridlove-posts").imagesLoaded(function(){$(".box-inner-ellipsis").ellipsis(),$(".gridlove-module-layout-masonry .gridlove-posts, .gridlove-masonry-wrapper").masonry({isOriginLeft:!gridlove_js_settings.rtl_mode})}),gridlove_js_settings.responsive_secondary_nav&&(r=$(".gridlove-mobile-menu"),o=$(".secondary-navigation"),n="",o.length&&(o.each(function(){n+=$(this).find("ul:first").html()}),gridlove_js_settings.responsive_more_link&&(n='"),r.append(n))),gridlove_js_settings.responsive_social_nav&&(r=$(".gridlove-mobile-menu"),l=$(".gridlove-soc-menu:first li").clone(),u="",l.length&&(l.each(function(){u+=$(this).html()}),r.append('"))),$(window).resize(function(){document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement||(T(),E(),I(),m(),$(".gridlove-site-content").each(function(){w($(this)),_($(this))}),$(".box-inner-ellipsis").ellipsis())}),$("body").on("click",".gridlove-content .meta-comments a:first, .gridlove-cover-single .meta-comments a",function(t){t.preventDefault();var e=this.hash,i=$(e),s=gridlove_js_settings.header_sticky?100:0;$("html, body").stop().animate({scrollTop:i.offset().top-s},900,"swing",function(){window.location.hash=e})}),"#respond"==window.location.hash&&(g=gridlove_js_settings.header_sticky?100:0,$("html, body").stop().animate({scrollTop:$("#respond").offset().top-g},900,"swing",function(){})),$(".gridlove-main-nav").on("mouseenter","li",function(t){$(this).closest("body").width()<$(document).width()&&$(this).find("ul").addClass("gridlove-rev")});var x=!1,k=!1;function T(){1