a, > div:not(.spinner)”}}(jQuery); !function(a,b,c,d){function e(b,c){this.settings=null,this.options=a.extend({},e.Defaults,c),this.$element=a(b),this._handlers={},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._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:[“busy”],animating:[“busy”],dragging:[“interacting”]}},a.each([“onResize”,”onThrottledResize”],a.proxy(function(b,c){this._handlers[c]=a.proxy(this[c],this)},this)),a.each(e.Plugins,a.proxy(function(a,b){this._plugins[a.charAt(0).toLowerCase()+a.slice(1)]=new b(this)},this)),a.each(e.Workers,a.proxy(function(b,c){this._pipe.push({filter:c.filter,run:a.proxy(c.run,this)})},this)),this.setup(),this.initialize()}e.Defaults={items:3,loop:!1,center:!1,rewind:!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:b,fallbackEasing:”swing”,info:!1,nestedItemSelector:!1,itemElement:”div”,stageElement:”div”,refreshClass:”owl-refresh”,loadedClass:”owl-loaded”,loadingClass:”owl-loading”,rtlClass:”owl-rtl”,responsiveClass:”owl-responsive”,dragClass:”owl-drag”,itemClass:”owl-item”,stageClass:”owl-stage”,stageOuterClass:”owl-stage-outer”,grabClass:”owl-grab”},e.Width={Default:”default”,Inner:”inner”,Outer:”outer”},e.Type={Event:”event”,State:”state”},e.Plugins={},e.Workers=[{filter:[“width”,”settings”],run:function(){this._width=this.$element.width()}},{filter:[“width”,”items”,”settings”],run:function(a){a.current=this._items&&this._items[this.relative(this._current)]}},{filter:[“items”,”settings”],run:function(){this.$stage.children(“.cloned”).remove()}},{filter:[“width”,”items”,”settings”],run:function(a){var b=this.settings.margin||””,c=!this.settings.autoWidth,d=this.settings.rtl,e={width:”auto”,”margin-left”:d?b:””,”margin-right”:d?””:b};!c&&this.$stage.children().css(e),a.css=e}},{filter:[“width”,”items”,”settings”],run:function(a){var b=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,c=null,d=this._items.length,e=!this.settings.autoWidth,f=[];for(a.items={merge:!1,width:b};d–;)c=this._mergers[d],c=this.settings.mergeFit&&Math.min(c,this.settings.items)||c,a.items.merge=c>1||a.items.merge,f[d]=e?b*c:this._items[d].width();this._widths=f}},{filter:[“items”,”settings”],run:function(){var b=[],c=this._items,d=this.settings,e=Math.max(2*d.items,4),f=2*Math.ceil(c.length/2),g=d.loop&&c.length?d.rewind?e:Math.max(e,f):0,h=””,i=””;for(g/=2;g–;)b.push(this.normalize(b.length/2,!0)),h+=c[b[b.length-1]][0].outerHTML,b.push(this.normalize(c.length-1-(b.length-1)/2,!0)),i=c[b[b.length-1]][0].outerHTML+i;this._clones=b,a(h).addClass(“cloned”).appendTo(this.$stage),a(i).addClass(“cloned”).prependTo(this.$stage)}},{filter:[“width”,”items”,”settings”],run:function(){for(var a=this.settings.rtl?1:-1,b=this._clones.length+this._items.length,c=-1,d=0,e=0,f=[];++c“,h)||this.op(b,””,h))&&i.push(c);this.$stage.children(“.active”).removeClass(“active”),this.$stage.children(“:eq(“+i.join(“), :eq(“)+”)”).addClass(“active”),this.settings.center&&(this.$stage.children(“.center”).removeClass(“center”),this.$stage.children().eq(this.current()).addClass(“center”))}}],e.prototype.initialize=function(){if(this.enter(“initializing”),this.trigger(“initialize”),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is(“pre-loading”)){var b,c,e;b=this.$element.find(“img”),c=this.settings.nestedItemSelector?”.”+this.settings.nestedItemSelector:d,e=this.$element.children(c).width(),b.length&&e3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one(“click.owl.core”,function(){return!1})),this.is(“dragging”)&&(this.leave(“dragging”),this.trigger(“dragged”))},e.prototype.closest=function(b,c){var d=-1,e=30,f=this.width(),g=this.coordinates();return this.settings.freeDrag||a.each(g,a.proxy(function(a,h){return”left”===c&&b>h-e&&bh-f-e&&b”,g[a+1]||h-f)&&(d=”left”===c?a+1:a),d===-1},this)),this.settings.loop||(this.op(b,”>”,g[this.minimum()])?d=b=this.minimum():this.op(b,”=c:a-1:c.apply(this,arguments)},a.event.special[b.name].owl=!0}}else b.type===e.Type.State&&(this._states.tags[b.name]?this._states.tags[b.name]=this._states.tags[b.name].concat(b.tags):this._states.tags[b.name]=b.tags,this._states.tags[b.name]=a.grep(this._states.tags[b.name],a.proxy(function(c,d){return a.inArray(c,this._states.tags[b.name])===d},this)))},e.prototype.suppress=function(b){a.each(b,a.proxy(function(a,b){this._supress[b]=!0},this))},e.prototype.release=function(b){a.each(b,a.proxy(function(a,b){delete this._supress[b]},this))},e.prototype.pointer=function(a){var c={x:null,y:null};return a=a.originalEvent||a||b.event,a=a.touches&&a.touches.length?a.touches[0]:a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:a,a.pageX?(c.x=a.pageX,c.y=a.pageY):(c.x=a.clientX,c.y=a.clientY),c},e.prototype.isNumeric=function(a){return!isNaN(parseFloat(a))},e.prototype.difference=function(a,b){return{x:a.x-b.x,y:a.y-b.y}},a.fn.owlCarousel=function(b){var c=Array.prototype.slice.call(arguments,1);return this.each(function(){var d=a(this),f=d.data(“owl.carousel”);f||(f=new e(this,”object”==typeof b&&b),d.data(“owl.carousel”,f),a.each([“next”,”prev”,”to”,”destroy”,”refresh”,”replace”,”add”,”remove”],function(b,c){f.register({type:e.Type.Event,name:c}),f.$element.on(c+”.owl.carousel.core”,a.proxy(function(a){a.namespace&&a.relatedTarget!==this&&(this.suppress([c]),f[c].apply(this,[].slice.call(arguments,1)),this.release([c]))},f))})),”string”==typeof b&&”_”!==b.charAt(0)&&f[b].apply(f,c)})},a.fn.owlCarousel.Constructor=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._interval=null,this._visible=null,this._handlers={“initialized.owl.carousel”:a.proxy(function(a){a.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};e.Defaults={autoRefresh:!0,autoRefreshInterval:500},e.prototype.watch=function(){this._interval||(this._visible=this._core.$element.is(“:visible”),this._interval=b.setInterval(a.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},e.prototype.refresh=function(){this._core.$element.is(“:visible”)!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass(“owl-hidden”,!this._visible),this._visible&&this._core.invalidate(“width”)&&this._core.refresh())},e.prototype.destroy=function(){var a,c;b.clearInterval(this._interval);for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(c in Object.getOwnPropertyNames(this))”function”!=typeof this[c]&&(this[c]=null)},a.fn.owlCarousel.Constructor.Plugins.AutoRefresh=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._loaded=[],this._handlers={“initialized.owl.carousel change.owl.carousel resized.owl.carousel”:a.proxy(function(b){if(b.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(b.property&&”position”==b.property.name||”initialized”==b.type))for(var c=this._core.settings,e=c.center&&Math.ceil(c.items/2)||c.items,f=c.center&&e*-1||0,g=(b.property&&b.property.value!==d?b.property.value:this._core.current())+f,h=this._core.clones().length,i=a.proxy(function(a,b){this.load(b)},this);f++-1||(e.each(a.proxy(function(c,d){var e,f=a(d),g=b.devicePixelRatio>1&&f.attr(“data-src-retina”)||f.attr(“data-src”);this._core.trigger(“load”,{element:f,url:g},”lazy”),f.is(“img”)?f.one(“load.owl.lazy”,a.proxy(function(){f.css(“opacity”,1),this._core.trigger(“loaded”,{element:f,url:g},”lazy”)},this)).attr(“src”,g):(e=new Image,e.onload=a.proxy(function(){f.css({“background-image”:’url(“‘+g+'”)’,opacity:”1″}),this._core.trigger(“loaded”,{element:f,url:g},”lazy”)},this),e.src=g)},this)),this._loaded.push(d.get(0)))},e.prototype.destroy=function(){var a,b;for(a in this.handlers)this._core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))”function”!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Lazy=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._handlers={“initialized.owl.carousel refreshed.owl.carousel”:a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&this.update()},this),”changed.owl.carousel”:a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&”position”==a.property.name&&this.update()},this),”loaded.owl.lazy”:a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&a.element.closest(“.”+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};e.Defaults={autoHeight:!1,autoHeightClass:”owl-height”},e.prototype.update=function(){var b=this._core._current,c=b+this._core.settings.items,d=this._core.$stage.children().toArray().slice(b,c),e=[],f=0;a.each(d,function(b,c){e.push(a(c).height())}),f=Math.max.apply(null,e),this._core.$stage.parent().height(f).addClass(this._core.settings.autoHeightClass)},e.prototype.destroy=function(){var a,b;for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))”function”!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.AutoHeight=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._videos={},this._playing=null,this._handlers={“initialized.owl.carousel”:a.proxy(function(a){a.namespace&&this._core.register({type:”state”,name:”playing”,tags:[“interacting”]})},this),”resize.owl.carousel”:a.proxy(function(a){a.namespace&&this._core.settings.video&&this.isInFullScreen()&&a.preventDefault()},this),”refreshed.owl.carousel”:a.proxy(function(a){a.namespace&&this._core.is(“resizing”)&&this._core.$stage.find(“.cloned .owl-video-frame”).remove()},this),”changed.owl.carousel”:a.proxy(function(a){a.namespace&&”position”===a.property.name&&this._playing&&this.stop()},this),”prepared.owl.carousel”:a.proxy(function(b){if(b.namespace){var c=a(b.content).find(“.owl-video”);c.length&&(c.css(“display”,”none”),this.fetch(c,a(b.content)))}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on(“click.owl.video”,”.owl-video-play-icon”,a.proxy(function(a){this.play(a)},this))};e.Defaults={video:!1,videoHeight:!1,videoWidth:!1},e.prototype.fetch=function(a,b){var c=function(){return a.attr(“data-vimeo-id”)?”vimeo”:a.attr(“data-vzaar-id”)?”vzaar”:”youtube”}(),d=a.attr(“data-vimeo-id”)||a.attr(“data-youtube-id”)||a.attr(“data-vzaar-id”),e=a.attr(“data-width”)||this._core.settings.videoWidth,f=a.attr(“data-height”)||this._core.settings.videoHeight,g=a.attr(“href”);if(!g)throw new Error(“Missing video URL.”);if(d=g.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/),d[3].indexOf(“youtu”)>-1)c=”youtube”;else if(d[3].indexOf(“vimeo”)>-1)c=”vimeo”;else{if(!(d[3].indexOf(“vzaar”)>-1))throw new Error(“Video URL not supported.”);c=”vzaar”}d=d[6],this._videos[g]={type:c,id:d,width:e,height:f},b.attr(“data-video”,g),this.thumbnail(a,this._videos[g])},e.prototype.thumbnail=function(b,c){var d,e,f,g=c.width&&c.height?’style=”width:’+c.width+”px;height:”+c.height+’px;”‘:””,h=b.find(“img”),i=”src”,j=””,k=this._core.settings,l=function(a){e=”,d=k.lazyLoad?”:”,b.after(d),b.after(e)};if(b.wrap(‘”),this._core.settings.lazyLoad&&(i=”data-src”,j=”owl-lazy”),h.length)return l(h.attr(i)),h.remove(),!1;”youtube”===c.type?(f=”//img.youtube.com/vi/”+c.id+”/hqdefault.jpg”,l(f)):”vimeo”===c.type?a.ajax({type:”GET”,url:”//vimeo.com/api/v2/video/”+c.id+”.json”,jsonp:”callback”,dataType:”jsonp”,success:function(a){f=a[0].thumbnail_large,l(f)}}):”vzaar”===c.type&&a.ajax({type:”GET”,url:”//vzaar.com/api/videos/”+c.id+”.json”,jsonp:”callback”,dataType:”jsonp”,success:function(a){f=a.framegrab_url,l(f)}})},e.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,this._core.leave(“playing”),this._core.trigger(“stopped”,null,”video”)},e.prototype.play=function(b){var c,d=a(b.target),e=d.closest(“.”+this._core.settings.itemClass),f=this._videos[e.attr(“data-video”)],g=f.width||”100%”,h=f.height||this._core.$stage.height();this._playing||(this._core.enter(“playing”),this._core.trigger(“play”,null,”video”),e=this._core.items(this._core.relative(e.index())),this._core.reset(e.index()),”youtube”===f.type?c=”:”vimeo”===f.type?c=”:”vzaar”===f.type&&(c=”),a(‘”).insertAfter(e.find(“.owl-video”)),this._playing=e.addClass(“owl-video-playing”))},e.prototype.isInFullScreen=function(){var b=c.fullscreenElement||c.mozFullScreenElement||c.webkitFullscreenElement;return b&&a(b).parent().hasClass(“owl-video-frame”)},e.prototype.destroy=function(){var a,b;this._core.$element.off(“click.owl.video”);for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))”function”!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Video=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this.core=b,this.core.options=a.extend({},e.Defaults,this.core.options),this.swapping=!0,this.previous=d,this.next=d,this.handlers={“change.owl.carousel”:a.proxy(function(a){a.namespace&&”position”==a.property.name&&(this.previous=this.core.current(),this.next=a.property.value)},this),”drag.owl.carousel dragged.owl.carousel translated.owl.carousel”:a.proxy(function(a){a.namespace&&(this.swapping=”translated”==a.type)},this),”translate.owl.carousel”:a.proxy(function(a){a.namespace&&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(){if(1===this.core.settings.items&&a.support.animation&&a.support.transition){this.core.speed(0);var b,c=a.proxy(this.clear,this),d=this.core.$stage.children().eq(this.previous),e=this.core.$stage.children().eq(this.next),f=this.core.settings.animateIn,g=this.core.settings.animateOut;this.core.current()!==this.previous&&(g&&(b=this.core.coordinates(this.previous)-this.core.coordinates(this.next),d.one(a.support.animation.end,c).css({left:b+”px”}).addClass(“animated owl-animated-out”).addClass(g)),f&&e.one(a.support.animation.end,c).addClass(“animated owl-animated-in”).addClass(f))}},e.prototype.clear=function(b){a(b.target).css({left:””}).removeClass(“animated owl-animated-out owl-animated-in”).removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},e.prototype.destroy=function(){var a,b;for(a in this.handlers)this.core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))”function”!=typeof this[b]&&(this[b]=null)}, a.fn.owlCarousel.Constructor.Plugins.Animate=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._timeout=null,this._paused=!1,this._handlers={“changed.owl.carousel”:a.proxy(function(a){a.namespace&&”settings”===a.property.name?this._core.settings.autoplay?this.play():this.stop():a.namespace&&”position”===a.property.name&&this._core.settings.autoplay&&this._setAutoPlayInterval()},this),”initialized.owl.carousel”:a.proxy(function(a){a.namespace&&this._core.settings.autoplay&&this.play()},this),”play.owl.autoplay”:a.proxy(function(a,b,c){a.namespace&&this.play(b,c)},this),”stop.owl.autoplay”:a.proxy(function(a){a.namespace&&this.stop()},this),”mouseover.owl.autoplay”:a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is(“rotating”)&&this.pause()},this),”mouseleave.owl.autoplay”:a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is(“rotating”)&&this.play()},this),”touchstart.owl.core”:a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is(“rotating”)&&this.pause()},this),”touchend.owl.core”:a.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=a.extend({},e.Defaults,this._core.options)};e.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},e.prototype.play=function(a,b){this._paused=!1,this._core.is(“rotating”)||(this._core.enter(“rotating”),this._setAutoPlayInterval())},e.prototype._getNextTimeout=function(d,e){return this._timeout&&b.clearTimeout(this._timeout),b.setTimeout(a.proxy(function(){this._paused||this._core.is(“busy”)||this._core.is(“interacting”)||c.hidden||this._core.next(e||this._core.settings.autoplaySpeed)},this),d||this._core.settings.autoplayTimeout)},e.prototype._setAutoPlayInterval=function(){this._timeout=this._getNextTimeout()},e.prototype.stop=function(){this._core.is(“rotating”)&&(b.clearTimeout(this._timeout),this._core.leave(“rotating”))},e.prototype.pause=function(){this._core.is(“rotating”)&&(this._paused=!0)},e.prototype.destroy=function(){var a,b;this.stop();for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))”function”!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.autoplay=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){“use strict”;var e=function(b){this._core=b,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”:a.proxy(function(b){b.namespace&&this._core.settings.dotsData&&this._templates.push(‘ ‘+a(b.content).find(“[data-dot]”).addBack(“[data-dot]”).attr(“data-dot”)+” “)},this),”added.owl.carousel”:a.proxy(function(a){a.namespace&&this._core.settings.dotsData&&this._templates.splice(a.position,0,this._templates.pop())},this),”remove.owl.carousel”:a.proxy(function(a){a.namespace&&this._core.settings.dotsData&&this._templates.splice(a.position,1)},this),”changed.owl.carousel”:a.proxy(function(a){a.namespace&&”position”==a.property.name&&this.draw()},this),”initialized.owl.carousel”:a.proxy(function(a){a.namespace&&!this._initialized&&(this._core.trigger(“initialize”,null,”navigation”),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger(“initialized”,null,”navigation”))},this),”refreshed.owl.carousel”:a.proxy(function(a){a.namespace&&this._initialized&&(this._core.trigger(“refresh”,null,”navigation”),this.update(),this.draw(),this._core.trigger(“refreshed”,null,”navigation”))},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers)};e.Defaults={nav:!1,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,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},e.prototype.initialize=function(){var b,c=this._core.settings;this._controls.$relative=(c.navContainer?a(c.navContainer):a(“ “).addClass(c.navContainerClass).appendTo(this.$element)).addClass(“disabled”),this._controls.$previous=a(“”).addClass(c.navClass[0]).html(c.navText[0]).prependTo(this._controls.$relative).on(“click”,a.proxy(function(a){this.prev(c.navSpeed)},this)),this._controls.$next=a(“”).addClass(c.navClass[1]).html(c.navText[1]).appendTo(this._controls.$relative).on(“click”,a.proxy(function(a){this.next(c.navSpeed)},this)),c.dotsData||(this._templates=[a(“ “).addClass(c.dotClass).append(a(“”)).prop(“outerHTML”)]),this._controls.$absolute=(c.dotsContainer?a(c.dotsContainer):a(“ “).addClass(c.dotsClass).appendTo(this.$element)).addClass(“disabled”),this._controls.$absolute.on(“click”,”div”,a.proxy(function(b){var d=a(b.target).parent().is(this._controls.$absolute)?a(b.target).index():a(b.target).parent().index();b.preventDefault(),this.to(d,c.dotsSpeed)},this));for(b in this._overrides)this._core[b]=a.proxy(this[b],this)},e.prototype.destroy=function(){var a,b,c,d;for(a in this._handlers)this.$element.off(a,this._handlers[a]);for(b in this._controls)this._controls[b].remove();for(d in this.overides)this._core[d]=this._overrides[d];for(c in Object.getOwnPropertyNames(this))”function”!=typeof this[c]&&(this[c]=null)},e.prototype.update=function(){var a,b,c,d=this._core.clones().length/2,e=d+this._core.items().length,f=this._core.maximum(!0),g=this._core.settings,h=g.center||g.autoWidth||g.dotsData?1:g.dotsEach||g.items;if(“page”!==g.slideBy&&(g.slideBy=Math.min(g.slideBy,g.items)),g.dots||”page”==g.slideBy)for(this._pages=[],a=d,b=0,c=0;a=h||0===b){if(this._pages.push({start:Math.min(f,a-d),end:a-d+h-1}),Math.min(f,a-d)===f)break;b=0,++c}b+=this._core.mergers(this._core.relative(a))}},e.prototype.draw=function(){var b,c=this._core.settings,d=this._core.items().length0?this._controls.$absolute.append(new Array(b+1).join(this._templates[0])):b=b},this)).pop()},e.prototype.getPosition=function(b){var c,d,e=this._core.settings;return”page”==e.slideBy?(c=a.inArray(this.current(),this._pages),d=this._pages.length,b?++c:–c,c=this._pages[(c%d+d)%d].start):(c=this._core.relative(this._core.current()),d=this._core.items().length,b?c+=e.slideBy:c-=e.slideBy),c},e.prototype.next=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!0),b)},e.prototype.prev=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!1),b)},e.prototype.to=function(b,c,d){var e;!d&&this._pages.length?(e=this._pages.length,a.proxy(this._overrides.to,this._core)(this._pages[(b%e+e)%e].start,c)):a.proxy(this._overrides.to,this._core)(b,c)},a.fn.owlCarousel.Constructor.Plugins.Navigation=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){“use strict”;var e=function(c){this._core=c,this._hashes={},this.$element=this._core.$element,this._handlers={“initialized.owl.carousel”:a.proxy(function(c){c.namespace&&”URLHash”===this._core.settings.startPosition&&a(b).trigger(“hashchange.owl.navigation”)},this),”prepared.owl.carousel”:a.proxy(function(b){if(b.namespace){var c=a(b.content).find(“[data-hash]”).addBack(“[data-hash]”).attr(“data-hash”);if(!c)return;this._hashes[c]=b.content}},this),”changed.owl.carousel”:a.proxy(function(c){if(c.namespace&&”position”===c.property.name){var d=this._core.items(this._core.relative(this._core.current())),e=a.map(this._hashes,function(a,b){return a===d?b:null}).join();if(!e||b.location.hash.slice(1)===e)return;b.location.hash=e}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers),a(b).on(“hashchange.owl.navigation”,a.proxy(function(a){var c=b.location.hash.substring(1),e=this._core.$stage.children(),f=this._hashes[c]&&e.index(this._hashes[c]);f!==d&&f!==this._core.current()&&this._core.to(this._core.relative(f),!1,!0)},this))};e.Defaults={URLhashListener:!1},e.prototype.destroy=function(){var c,d;a(b).off(“hashchange.owl.navigation”);for(c in this._handlers)this._core.$element.off(c,this._handlers[c]);for(d in Object.getOwnPropertyNames(this))”function”!=typeof this[d]&&(this[d]=null)},a.fn.owlCarousel.Constructor.Plugins.Hash=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){function e(b,c){var e=!1,f=b.charAt(0).toUpperCase()+b.slice(1);return a.each((b+” “+h.join(f+” “)+f).split(” “),function(a,b){if(g[b]!==d)return e=!c||b,!1}),e}function f(a){return e(a,!0)}var g=a(“”).get(0).style,h=”Webkit Moz O ms”.split(” “),i={transition:{end:{WebkitTransition:”webkitTransitionEnd”,MozTransition:”transitionend”,OTransition:”oTransitionEnd”,transition:”transitionend”}},animation:{end:{WebkitAnimation:”webkitAnimationEnd”,MozAnimation:”animationend”,OAnimation:”oAnimationEnd”,animation:”animationend”}}},j={csstransforms:function(){return!!e(“transform”)},csstransforms3d:function(){return!!e(“perspective”)},csstransitions:function(){return!!e(“transition”)},cssanimations:function(){return!!e(“animation”)}};j.csstransitions()&&(a.support.transition=new String(f(“transition”)),a.support.transition.end=i.transition.end[a.support.transition]),j.cssanimations()&&(a.support.animation=new String(f(“animation”)),a.support.animation.end=i.animation.end[a.support.animation]),j.csstransforms()&&(a.support.transform=new String(f(“transform”)),a.support.transform3d=j.csstransforms3d())}(window.Zepto||window.jQuery,window,document); (function($){ “use strict”; var PENCI=PENCI||{}; PENCI.general=function (){ $(‘#top-search a.search-click’).on(‘click’, function (){ $(‘.show-search’).fadeToggle(); $(‘.show-search input.search-input’).focus(); }); $(‘.go-to-top, .penci-go-to-top-floating’).on(‘click’, function (){ $(‘html, body’).animate({ scrollTop: 0 }, 700); return false; }); $(‘.penci-lazy’).Lazy({ effect: ‘fadeIn’, effectTime: 300, scrollDirection: ‘both’ }); var $goto_button=$(‘.penci-go-to-top-floating’); if($goto_button.length){ $(document).scroll(function(){ var y=$(this).scrollTop(); if(y > 300){ $goto_button.addClass(‘show-up’); }else{ $goto_button.removeClass(‘show-up’); }}); } $(‘body.buddypress .activity .load-more a’).on(‘click’, function (){ $(document).ajaxStop(function(){ $(“.container”).fitVids(); }); }); } PENCI.main_sticky=function (){ if($().sticky&&! $(“nav#navigation”).hasClass(‘penci-disable-sticky-nav’)){ var spaceTop=0; if($(‘body’).hasClass(‘admin-bar’)){ spaceTop=32; } $(“nav#navigation”).each(function (){ $(this).sticky({ topSpacing: spaceTop }); }); }} PENCI.fixheadline=function (){ var $headline_title=$(‘.penci-headline .headline-title’); if($headline_title.length){ var headline_w=$headline_title.outerWidth() + 70; $(‘.penci-headline-posts’).css(‘margin-left’, headline_w + ‘px’); $(‘.rtl .penci-headline-posts’).css(‘margin-left’, 0 + ‘px’); $(‘.rtl .penci-headline-posts’).css(‘margin-right’, headline_w + ‘px’); }} PENCI.featured_slider=function (){ if($().owlCarousel){ $(‘.featured-area .penci-owl-featured-area’).each(function (){ var $this=$(this), $style=$this.data(‘style’), $auto=false, $autotime=$this.data(‘autotime’), $speed=$this.data(‘speed’), $loop=$this.data(‘loop’), $item=1, $nav=true, $dots=false, $rtl=false, $items_desktop=1, $items_tablet=1, $items_tabsmall=1; if($style===’style-2′){ $item=2; }else if($style===’style-28′){ $loop=true; } if($(‘html’).attr(‘dir’)===’rtl’){ $rtl=true; } if($this.attr(‘data-auto’)===’true’){ $auto=true; } if($this.attr(‘data-nav’)===’false’){ $nav=false; } if($this.attr(‘data-dots’)===’true’){ $dots=true; } if($this.attr(‘data-item’)){ $item=parseInt($this.data(‘item’)); } if($this.attr(‘data-desktop’)){ $items_desktop=parseInt($this.data(‘desktop’)); } if($this.attr(‘data-tablet’)){ $items_tablet=parseInt($this.data(‘tablet’)); } if($this.attr(‘data-tabsmall’)){ $items_tabsmall=parseInt($this.data(‘tabsmall’)); } var owl_args={ rtl:$rtl, loop:$loop, margin:0, items:$item, navSpeed:$speed, dotsSpeed:$speed, nav:$nav, slideBy:$item, mouseDrag:false, lazyLoad:true, dots:$dots, navText:[”, ”], autoplay:$auto, autoplayTimeout:$autotime, autoplayHoverPause: true, autoplaySpeed:$speed, responsive:{ 0:{ items: 1 }, 480:{ items:$items_tabsmall, slideBy: $items_tabsmall }, 768:{ items:$items_tablet, slideBy: $items_tablet }, 1170: { items:$items_desktop, slideBy: $items_desktop }} } if($style===’style-2′){ owl_args[‘center’]=true; owl_args[‘margin’]=10; owl_args[‘autoWidth’]=true; }else if($style===’style-28′){ owl_args[‘margin’]=4; owl_args[‘items’]=6; owl_args[‘autoWidth’]=true; } $this.owlCarousel(owl_args); if($style===’style-2’||$style===’style-5’||$style===’style-28’||$style===’style-29′){ $this.on(‘changed.owl.carousel’, function(event){ $this.find(‘.penci-lazy’).Lazy({ effect: ‘fadeIn’, effectTime: 300, scrollDirection: ‘both’ }); }); }}); }} PENCI.owl_slider=function (){ if($().owlCarousel){ $(‘.penci-owl-carousel-slider’).each(function (){ var $this=$(this), $auto=true, $dots=false, $nav=true, $loop=true, $rtl=false, $dataauto=$this.data(‘auto’), $items_desktop=1, $items_tablet=1, $items_tabsmall=1, $speed=600, $item=1, $autotime=5000, $datalazy=false; if($(‘html’).attr(‘dir’)===’rtl’){ $rtl=true; } if($this.attr(‘data-dots’)){ $dots=true; } if($this.attr(‘data-loop’)){ $loop=false; } if($this.attr(‘data-nav’)){ $nav=false; } if($this.attr(‘data-desktop’)){ $items_desktop=parseInt($this.data(‘desktop’)); } if($this.attr(‘data-tablet’)){ $items_tablet=parseInt($this.data(‘tablet’)); } if($this.attr(‘data-tabsmall’)){ $items_tabsmall=parseInt($this.data(‘tabsmall’)); } if($this.attr(‘data-speed’)){ $speed=parseInt($this.data(‘speed’)); } if($this.attr(‘data-autotime’)){ $autotime=parseInt($this.data(‘autotime’)); } if($this.attr(‘data-item’)){ $item=parseInt($this.data(‘item’)); } if($this.attr(‘data-lazy’)){ $datalazy=true; } var owl_args={ loop:$loop, rtl:$rtl, margin:0, items:$item, slideBy:$item, lazyLoad:$datalazy, navSpeed:$speed, dotsSpeed:$speed, nav:$nav, dots:$dots, navText:[”, ”], autoplay:$dataauto, autoplayTimeout:$autotime, autoHeight:true, autoplayHoverPause: true, autoplaySpeed:$speed, responsive:{ 0:{ items:1, slideBy: 1 }, 480:{ items:$items_tabsmall, slideBy: $items_tabsmall }, 768:{ items:$items_tablet, slideBy: $items_tablet }, 1170: { items:$items_desktop, slideBy: $items_desktop }} }; if($this.hasClass(‘penci-headline-posts’)){ owl_args[‘animateOut’]=’slideOutUp’; owl_args[‘animateIn’]=’slideInUp’; } $this.owlCarousel(owl_args); $this.on(‘changed.owl.carousel’, function(event){ $this.find(‘.penci-lazy’).Lazy({ effect: ‘fadeIn’, effectTime: 300, scrollDirection: ‘both’ }); }); }); }} PENCI.fitvids=function(){ $(“.container”).fitVids(); } PENCI.sticky_sidebar=function(){ if($().theiaStickySidebar){ var top_margin=90; if($(‘body’).hasClass(‘admin-bar’)){ top_margin=122; } $(‘#main.penci-main-sticky-sidebar, #sidebar.penci-sticky-sidebar’).theiaStickySidebar({ additionalMarginTop: top_margin }); }} PENCI.mega_menu=function (){ $(‘#navigation .penci-mega-child-categories a’).mouseenter(function (){ if(!$(this).hasClass(‘cat-active’)){ var $this=$(this), $row_active=$this.data(‘id’), $parentA=$this.parent().children(‘a’), $parent=$this.closest(‘.penci-megamenu’), $rows=$this.closest(‘.penci-megamenu’).find(‘.penci-mega-latest-posts’).children(‘.penci-mega-row’); $parentA.removeClass(‘cat-active’); $this.addClass(‘cat-active’); $rows.hide(); $parent.find(‘.’ + $row_active).fadeIn(‘300’).css(‘display’, ‘inline-block’); }}); } PENCI.mobile_menu=function (){ $(‘#sidebar-nav .menu li.menu-item-has-children > a’).append(”); $(‘#sidebar-nav .penci-mega-child-categories’).closest(‘li.penci-mega-menu’).children(‘a’).append(”); $(‘#navigation .button-menu-mobile’).on(‘click’, function (){ $(‘body’).addClass(‘open-sidebar-nav’); }); $(‘#sidebar-nav .menu li a .indicator’).on(‘click’, function(e){ var $this=$(this); e.preventDefault(); $this.children().toggleClass(‘fa-angle-up’); $this.parent().next().slideToggle(‘fast’); }); $(‘#close-sidebar-nav’).on(‘click’, function (){ $(‘body’).removeClass(‘open-sidebar-nav’); }); } PENCI.lightbox=function (){ if($().magnificPopup){ $(‘a[data-rel^=”penci-gallery-image-content”], .penci-enable-lightbox .gallery-item a’).magnificPopup({ type:’image’, closeOnContentClick: true, closeBtnInside:false, fixedContentPos:true, image:{ verticalFit: true }, gallery:{ enabled: true }, zoom:{ enabled:true, duration: 300 }}); $(‘.penci-other-layouts-lighbox’).magnificPopup({ type: ‘iframe’, mainClass: ‘mfp-fade’, fixedContentPos:true, closeBtnInside:false, closeOnContentClick: true }); }} PENCI.masonry=function(){ $(window).load(function(){ var $masonry_container=$(‘.penci-masonry’); if($masonry_container.length){ $masonry_container.each(function (){ var $this=$(this); $this.isotope({ itemSelector:’.item-masonry’, transitionDuration: ‘.55s’, layoutMode:’masonry’ }); }); }}); } PENCI.video_background=function(){ var $penci_videobg=$(‘#penci-featured-video-bg’); if($().mb_YTPlayer&&$penci_videobg.length){ $(window).load(function(){ $(“#penci-featured-video-bg”).mb_YTPlayer(); setTimeout(function(){ $(‘.featured-area’).addClass(‘loaded-wait’).append(”); $(‘.overlay-video-click’).on(‘click’, function (){ var $this=$(this); if(!$this.hasClass(‘pause-video’)){ $this.addClass(‘pause-video’); jQuery(‘#penci-featured-video-bg’).pauseYTP(); }else{ $this.removeClass(‘pause-video’); jQuery(‘#penci-featured-video-bg’).playYTP(); }}); }, 4000); }); }} PENCI.portfolio=function (){ var $penci_portfolio=$(‘.penci-portfolio’); if($().isotope&&$penci_portfolio.length){ $(‘.penci-portfolio’).each(function (){ var $this=$(this); $(window).load(function (){ $this.isotope({ itemSelector:’.portfolio-item’, animationEngine:’best-available’, animationOptions: { duration: 250, queue:false }}); $this.addClass(‘loaded’); $(‘.portfolio-item .inner-item-portfolio’).each(function (){ var $this=$(this); $this.one(‘inview’, function(event, isInView, visiblePartX, visiblePartY){ $this.addClass(‘animated’); }); }); }); $this.parent().find(‘.penci-portfolio-filter’).find(‘li’).on(‘click’, function (){ $this.parent().find(‘.penci-portfolio-filter’).find(‘li’).removeClass(‘active’); $(this).addClass(‘active’); var selector=$(this).find(“a”).attr(‘data-filter’); $this.isotope({ filter: selector }); return false; }); }); }} PENCI.gallery=function (){ var $justified_gallery=$(‘.penci-post-gallery-container.justified’); var $masonry_gallery=$(‘.penci-post-gallery-container.masonry’); if($().justifiedGallery&&$justified_gallery.length){ $(‘.penci-post-gallery-container.justified’).each(function (){ var $this=$(this); $this.justifiedGallery({ rowHeight: $this.data(‘height’), lastRow:’nojustify’, margins:$this.data(‘margin’), randomize: false }); }); } if($().isotope&&$masonry_gallery.length){ $(‘.penci-post-gallery-container.masonry .item-gallery-masonry’).each(function (){ var $this=$(this); if($this.attr(‘title’)){ var $title=$this.attr(‘title’); $this.children().append(”); }}); } $(window).load(function(){ if($masonry_gallery.length){ $masonry_gallery.each(function (){ var $this=$(this); $this.isotope({ itemSelector:’.item-gallery-masonry’, transitionDuration: ‘.55s’, layoutMode:’masonry’ }); $this.addClass(‘loaded’); $(‘.penci-post-gallery-container.masonry .item-gallery-masonry’).each(function (){ var $this=$(this); $this.one(‘inview’, function(event, isInView, visiblePartX, visiblePartY){ $this.addClass(‘animated’); }); }); }); }}); } $(document).ready(function(){ PENCI.general(); PENCI.main_sticky(); PENCI.fixheadline(); PENCI.featured_slider(); PENCI.owl_slider(); PENCI.fitvids(); PENCI.sticky_sidebar(); PENCI.mega_menu(); PENCI.mobile_menu(); PENCI.lightbox(); PENCI.masonry(); PENCI.video_background(); PENCI.portfolio(); PENCI.gallery(); $(window).resize(function(){ PENCI.sticky_sidebar(); }); }); })(jQuery); jQuery(document).ready(function (){ jQuery(‘body’).on(‘click’, ‘.penci-post-like’, function(event){ event.preventDefault(); var $this=jQuery(this), post_id=$this.data(“post_id”), like_text=$this.data(“like”), unlike_text=$this.data(“unlike”), $selector=$this.children(‘.dt-share’); if($this.hasClass(‘single-like-button’)){ $selector=$this.parent().find(‘.count-number-like’); } var $like=parseInt($selector.text()); if($this.hasClass(‘liked’)){ $this.removeClass(‘liked’); $this.prop(‘title’, ‘Like’); $selector.html(( $like – 1)); }else{ $this.addClass(‘liked’); $this.prop(‘title’, ‘Unlike’); $selector.html(( $like + 1)); } jQuery.ajax({ type: “post”, url:ajax_var.url, data: “action=penci-post-like&nonce=” + ajax_var.nonce + “&penci_post_like=&post_id=” + post_id }); }); }); !function(a,b){“use strict”;function c(){if(!e){e=!0;var a,c,d,f,g=-1!==navigator.appVersion.indexOf(“MSIE 10”),h=!!navigator.userAgent.match(/Trident.*rv:11\./),i=b.querySelectorAll(“iframe.wp-embedded-content”);for(c=0;c1e3)g=1e3;else if(~~g

You May Also Like