(function(c,f,l,k){function d(a,b){this.settings=null;this.options=c.extend({},d.Defaults,b);this.$element=c(a);this._handlers={};this._plugins={};this._supress={};this._speed=this._current=null;this._coordinates=[];this._width=this._breakpoint=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"]}};c.each(["onResize","onThrottledResize"],c.proxy(function(a,b){this._handlers[b]=c.proxy(this[b],this)},this));c.each(d.Plugins,c.proxy(function(a,b){this._plugins[a.charAt(0).toLowerCase()+a.slice(1)]=new b(this)},this));c.each(d.Workers,c.proxy(function(a,b){this._pipe.push({filter:b.filter,run:c.proxy(b.run,this)})},this));this.setup();this.initialize()}d.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,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:f,fallbackEasing:"swing",slideTransition:"",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"};d.Width={Default:"default",Inner:"inner",Outer:"outer"};d.Type={Event:"event",State:"state"};d.Plugins={};d.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||"",e=this.settings.rtl;b={width:"auto","margin-left":e?b:"","margin-right":e?"":b};this.settings.autoWidth&&this.$stage.children().css(b);a.css=b}},{filter:["width","items","settings"],run:function(a){var b=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,e=this._items.length,c=!this.settings.autoWidth,d=[];for(a.items={merge:!1,width:b};e--;){var g=this._mergers[e];g=this.settings.mergeFit&&Math.min(g,this.settings.items)||g;a.items.merge=1this._coordinates.length&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(a){a.current=a.current?this.$stage.children().index(a.current):0;a.current=Math.max(this.minimum(),Math.min(this.maximum(),a.current));this.reset(a.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var a=this.settings.rtl?1:-1,b=2*this.settings.stagePadding,e=this.coordinates(this.current())+b,c=e+this.width()*a,d=[],g;var n=0;for(g=this._coordinates.length;n",c)||this.op(k,"<",e)&&this.op(k,">",c))&&d.push(n)}this.$stage.children(".active").removeClass("active");this.$stage.children(":eq("+d.join("), :eq(")+")").addClass("active");this.$stage.children(".center").removeClass("center");this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}];d.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass);this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=c("<"+this.settings.stageElement+">",{"class":this.settings.stageClass}).wrap(c("
",{"class":this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))};d.prototype.initializeItems=function(){var a=this.$element.find(".owl-item");a.length?(this._items=a.get().map(function(a){return c(a)}),this._mergers=this._items.map(function(){return 1}),this.refresh()):(this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass))};d.prototype.initialize=function(){this.enter("initializing");this.trigger("initialize");this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl);if(this.settings.autoWidth&&!this.is("pre-loading")){var a=this.$element.find("img");var b=this.$element.children(this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:k).width();a.length&&0>=b&&this.preloadAutoWidthImages(a)}this.initializeStage();this.initializeItems();this.registerEventHandlers();this.leave("initializing");this.trigger("initialized")};d.prototype.isVisible=function(){return this.settings.checkVisibility?this.$element.is(":visible"):!0};d.prototype.setup=function(){var a=this.viewport(),b=this.options.responsive,e=-1,d=null;b?(c.each(b,function(b){b<=a&&b>e&&(e=Number(b))}),d=c.extend({},this.options,b[e]),"function"===typeof d.stagePadding&&(d.stagePadding=d.stagePadding()),delete d.responsive,d.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+e))):d=c.extend({},this.options);this.trigger("change",{property:{name:"settings",value:d}});this._breakpoint=e;this.settings=d;this.invalidate("settings");this.trigger("changed",{property:{name:"settings",value:this.settings}})};d.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)};d.prototype.prepare=function(a){var b=this.trigger("prepare",{content:a});b.data||(b.data=c("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(a));this.trigger("prepared",{content:b.data});return b.data};d.prototype.update=function(){for(var a=0,b=this._pipe.length,e=c.proxy(function(a){return this[a]},this._invalidated),d={};am-30&&am-d-30&&a",h[c+1]!==k?h[c+1]:m-d)&&(e="left"===b?c+1:c);return-1===e},this));this.settings.loop||(this.op(a,">",h[this.minimum()])?e=a=this.minimum():this.op(a,"<",h[this.maximum()])&&(e=a=this.maximum()));return e};d.prototype.animate=function(a){var b=0c)a=k;else if(0>a||a>=c+d)a=((a-d/2)%c+c)%c+d/2;return a};d.prototype.relative=function(a){a-=this._clones.length/2;return this.normalize(a,!0)};d.prototype.maximum=function(a){var b=this.settings,c;if(b.loop)b=this._clones.length/2+this._items.length-1;else if(b.autoWidth||b.merge){if(b=this._items.length){var d=this._items[--b].width();for(c=this.$element.width();b--&&!(d+=this._items[b].width()+this.settings.margin,d>c););}b+=1}else b=b.center?this._items.length-1:this._items.length-b.items;a&&(b-=this._clones.length/2);return Math.max(b,0)};d.prototype.minimum=function(a){return a?0:this._clones.length/2};d.prototype.items=function(a){if(a===k)return this._items.slice();a=this.normalize(a,!0);return this._items[a]};d.prototype.mergers=function(a){if(a===k)return this._mergers.slice();a=this.normalize(a,!0);return this._mergers[a]};d.prototype.clones=function(a){var b=this._clones.length/2,e=b+this._items.length;return a===k?c.map(this._clones,function(a,c){return 0===c%2?e+c/2:b-(c+1)/2}):c.map(this._clones,function(c,d){return c===a?0===d%2?e+d/2:b-(d+1)/2:null})};d.prototype.speed=function(a){a!==k&&(this._speed=a);return this._speed};d.prototype.coordinates=function(a){var b=1,e=a-1;if(a===k)return c.map(this._coordinates,c.proxy(function(a,b){return this.coordinates(b)},this));this.settings.center?(this.settings.rtl&&(b=-1,e=a+1),a=this._coordinates[a],a+=(this.width()-a+(this._coordinates[e]||0))/2*b):a=this._coordinates[e]||0;return a=Math.ceil(a)};d.prototype.duration=function(a,b,c){return 0===c?0:Math.min(Math.max(Math.abs(b-a),1),6)*Math.abs(c||this.settings.smartSpeed)};d.prototype.to=function(a,b){var c=this.current(),d=a-this.relative(c);var h=(0d);var g=this._items.length,f=this.minimum(),k=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(d)>g/2&&(d+=-1*h*g),a=c+d,h=((a-f)%g+g)%g+f,h!==a&&h-d<=k&&0c:a":return d?ac;case ">=":return d?a<=c:a>=c;case "<=":return d?a>=c:a<=c}};d.prototype.on=function(a,b,c,d){a.addEventListener?a.addEventListener(b,c,d):a.attachEvent&&a.attachEvent("on"+b,c)};d.prototype.off=function(a,b,c,d){a.removeEventListener?a.removeEventListener(b,c,d):a.detachEvent&&a.detachEvent("on"+b,c)};d.prototype.trigger=function(a,b,e,m,h){m={item:{count:this._items.length,index:this.current()}};h=c.camelCase(c.grep(["on",a,e],function(a){return a}).join("-").toLowerCase());var g=c.Event([a,"owl",e||"carousel"].join(".").toLowerCase(),c.extend({relatedTarget:this},m,b));this._supress[a]||(c.each(this._plugins,function(a,b){if(b.onTrigger)b.onTrigger(g)}),this.register({type:d.Type.Event,name:a}),this.$element.trigger(g),this.settings&&"function"===typeof this.settings[h]&&this.settings[h].call(this,g));return g};d.prototype.enter=function(a){c.each([a].concat(this._states.tags[a]||[]),c.proxy(function(a,c){this._states.current[c]===k&&(this._states.current[c]=0);this._states.current[c]++},this))};d.prototype.leave=function(a){c.each([a].concat(this._states.tags[a]||[]),c.proxy(function(a,c){this._states.current[c]--},this))};d.prototype.register=function(a){if(a.type===d.Type.Event){if(c.event.special[a.name]||(c.event.special[a.name]={}),!c.event.special[a.name].owl){var b=c.event.special[a.name]._default;c.event.special[a.name]._default=function(a){return!b||!b.apply||a.namespace&&-1!==a.namespace.indexOf("owl")?a.namespace&&-1=b&&d&&this._previousHeight&&(b=this._previousHeight);this._previousHeight=b;this._core.$stage.parent().height(b).addClass(this._core.settings.autoHeightClass)};d.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)};c.fn.owlCarousel.Constructor.Plugins.AutoHeight=d})(window.Zepto||window.jQuery,window,document);(function(c,f,l,k){var d=function(a){this._core=a;this._videos={};this._playing=null;this._handlers={"initialized.owl.carousel":c.proxy(function(a){a.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":c.proxy(function(a){a.namespace&&this._core.settings.video&&this.isInFullScreen()&&a.preventDefault()},this),"refreshed.owl.carousel":c.proxy(function(a){a.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":c.proxy(function(a){a.namespace&&"position"===a.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":c.proxy(function(a){if(a.namespace){var b=c(a.content).find(".owl-video");b.length&&(b.css("display","none"),this.fetch(b,c(a.content)))}},this)};this._core.options=c.extend({},d.Defaults,this._core.options);this._core.$element.on(this._handlers);this._core.$element.on("click.owl.video",".owl-video-play-icon",c.proxy(function(a){this.play(a)},this))};d.Defaults={video:!1,videoHeight:!1,videoWidth:!1};d.prototype.fetch=function(a,b){a.attr("data-vimeo-id")||a.attr("data-vzaar-id");a.attr("data-vimeo-id")||a.attr("data-youtube-id")||a.attr("data-vzaar-id");var c=a.attr("data-width")||this._core.settings.videoWidth,d=a.attr("data-height")||this._core.settings.videoHeight,h=a.attr("href");if(h){var g=h.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(&\S+)?/);if(-1",{"class":"owl-video-tn "+f,srcType:b}):c("
",{"class":"owl-video-tn",style:"opacity:1;background-image:url("+b+")"});a.after(d);a.after('
')};a.wrap(c("
",{"class":"owl-video-wrapper",style:m}));this._core.settings.lazyLoad&&(g="data-src",f="owl-lazy");if(h.length)return l(h.attr(g)),h.remove(),!1;if("youtube"===b.type){var p="//img.youtube.com/vi/"+b.id+"/hqdefault.jpg";l(p)}else"vimeo"===b.type?c.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+b.id+".json",jsonp:"callback",dataType:"jsonp",success:function(a){p=a[0].thumbnail_large;l(p)}}):"vzaar"===b.type&&c.ajax({type:"GET",url:"//vzaar.com/api/videos/"+b.id+".json",jsonp:"callback",dataType:"jsonp",success:function(a){p=a.framegrab_url;l(p)}})};d.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")};d.prototype.play=function(a){a=c(a.target).closest("."+this._core.settings.itemClass);var b=this._videos[a.attr("data-video")],d=b.width||"100%",f=b.height||this._core.$stage.height();if(!this._playing){this._core.enter("playing");this._core.trigger("play",null,"video");a=this._core.items(this._core.relative(a.index()));this._core.reset(a.index());var h=c('');h.attr("height",f);h.attr("width",d);"youtube"===b.type?h.attr("src","//www.youtube.com/embed/"+b.id+"?autoplay=1&rel=0&v="+b.id):"vimeo"===b.type?h.attr("src","//player.vimeo.com/video/"+b.id+"?autoplay=1"):"vzaar"===b.type&&h.attr("src","//view.vzaar.com/"+b.id+"/player?autoplay=true");c(h).wrap('
').insertAfter(a.find(".owl-video"));this._playing=a.addClass("owl-video-playing")}};d.prototype.isInFullScreen=function(){var a=l.fullscreenElement||l.mozFullScreenElement||l.webkitFullscreenElement;return a&&c(a).parent().hasClass("owl-video-frame")};d.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)};c.fn.owlCarousel.Constructor.Plugins.Video=d})(window.Zepto||window.jQuery,window,document);(function(c,f,l,k){var d=function(a){this.core=a;this.core.options=c.extend({},d.Defaults,this.core.options);this.swapping=!0;this.next=this.previous=k;this.handlers={"change.owl.carousel":c.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":c.proxy(function(a){a.namespace&&(this.swapping="translated"==a.type)},this),"translate.owl.carousel":c.proxy(function(a){a.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)};this.core.$element.on(this.handlers)};d.Defaults={animateOut:!1,animateIn:!1};d.prototype.swap=function(){if(1===this.core.settings.items&&c.support.animation&&c.support.transition){this.core.speed(0);var a=c.proxy(this.clear,this),b=this.core.$stage.children().eq(this.previous),d=this.core.$stage.children().eq(this.next),f=this.core.settings.animateIn,h=this.core.settings.animateOut;if(this.core.current()!==this.previous){if(h){var g=this.core.coordinates(this.previous)-this.core.coordinates(this.next);b.one(c.support.animation.end,a).css({left:g+"px"}).addClass("animated owl-animated-out").addClass(h)}f&&d.one(c.support.animation.end,a).addClass("animated owl-animated-in").addClass(f)}}};d.prototype.clear=function(a){c(a.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut);this.core.onTransitionEnd()};d.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)};c.fn.owlCarousel.Constructor.Plugins.Animate=d})(window.Zepto||window.jQuery,window,document);(function(c,f,l,k){var d=function(a){this._core=a;this._call=null;this._timeout=this._time=0;this._paused=!0;this._handlers={"changed.owl.carousel":c.proxy(function(a){a.namespace&&"settings"===a.property.name?this._core.settings.autoplay?this.play():this.stop():a.namespace&&"position"===a.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":c.proxy(function(a){a.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":c.proxy(function(a,c,d){a.namespace&&this.play(c,d)},this),"stop.owl.autoplay":c.proxy(function(a){a.namespace&&this.stop()},this),"mouseover.owl.autoplay":c.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":c.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":c.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":c.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)};this._core.$element.on(this._handlers);this._core.options=c.extend({},d.Defaults,this._core.options)};d.Defaults={autoplay:!1,autoplayTimeout:5E3,autoplayHoverPause:!1,autoplaySpeed:!1};d.prototype._next=function(a){this._call=f.setTimeout(c.proxy(this._next,this,a),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read());this._core.is("interacting")||l.hidden||this._core.next(a||this._core.settings.autoplaySpeed)};d.prototype.read=function(){return(new Date).getTime()-this._time};d.prototype.play=function(a,b){this._core.is("rotating")||this._core.enter("rotating");a=a||this._core.settings.autoplayTimeout;var d=Math.min(this._time%(this._timeout||a),a);this._paused?(this._time=this.read(),this._paused=!1):f.clearTimeout(this._call);this._time+=this.read()%a-d;this._timeout=a;this._call=f.setTimeout(c.proxy(this._next,this,b),a-d)};d.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,f.clearTimeout(this._call),this._core.leave("rotating"))};d.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,f.clearTimeout(this._call))};d.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)};c.fn.owlCarousel.Constructor.Plugins.autoplay=d})(window.Zepto||window.jQuery,window,document);(function(c,f,l,k){var d=function(a){this._core=a;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":c.proxy(function(a){a.namespace&&this._core.settings.dotsData&&this._templates.push('
'+c(a.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"
")},this),"added.owl.carousel":c.proxy(function(a){a.namespace&&this._core.settings.dotsData&&this._templates.splice(a.position,0,this._templates.pop())},this),"remove.owl.carousel":c.proxy(function(a){a.namespace&&this._core.settings.dotsData&&this._templates.splice(a.position,1)},this),"changed.owl.carousel":c.proxy(function(a){a.namespace&&"position"==a.property.name&&this.draw()},this),"initialized.owl.carousel":c.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":c.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=c.extend({},d.Defaults,this._core.options);this.$element.on(this._handlers)};d.Defaults={nav:!1,navText:['',''],navSpeed:!1,navElement:'button type="button" role="presentation"',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};d.prototype.initialize=function(){var a,b=this._core.settings;this._controls.$relative=(b.navContainer?c(b.navContainer):c("
").addClass(b.navContainerClass).appendTo(this.$element)).addClass("disabled");this._controls.$previous=c("<"+b.navElement+">").addClass(b.navClass[0]).html(b.navText[0]).prependTo(this._controls.$relative).on("click",c.proxy(function(a){this.prev(b.navSpeed)},this));this._controls.$next=c("<"+b.navElement+">").addClass(b.navClass[1]).html(b.navText[1]).appendTo(this._controls.$relative).on("click",c.proxy(function(a){this.next(b.navSpeed)},this));b.dotsData||(this._templates=[c('