");return c.inlineelement=f,f}return b.updatestatus("ready"),b._parsemarkup(d,{},c),d}}});var h,i="ajax",j=function(){h&&a(document.body).removeclass(h)},k=function(){j(),b.req&&b.req.abort()};a.magnificpopup.registermodule(i,{options:{settings:null,cursor:"mfp-ajax-cur",terror:'
the content could not be loaded.'},proto:{initajax:function(){b.types.push(i),h=b.st.ajax.cursor,w(h+"."+i,k),w("beforechange."+i,k)},getajax:function(c){h&&a(document.body).addclass(h),b.updatestatus("loading");var d=a.extend({url:c.src,success:function(d,e,f){var g={data:d,xhr:f};y("parseajax",g),b.appendcontent(a(g.data),i),c.finished=!0,j(),b._setfocus(),settimeout(function(){b.wrap.addclass(q)},16),b.updatestatus("ready"),y("ajaxcontentadded")},error:function(){j(),c.finished=c.loaderror=!0,b.updatestatus("error",b.st.ajax.terror.replace("%url%",c.src))}},b.st.ajax.settings);return b.req=a.ajax(d),""}}});var l,m=function(c){if(c.data&&void 0!==c.data.title)return c.data.title;var d=b.st.image.titlesrc;if(d){if(a.isfunction(d))return d.call(b,c);if(c.el)return c.el.attr(d)||""}return""};a.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 c=b.st.image,d=".image";b.types.push("image"),w(m+d,function(){"image"===b.curritem.type&&c.cursor&&a(document.body).addclass(c.cursor)}),w(h+d,function(){c.cursor&&a(document.body).removeclass(c.cursor),v.off("resize"+p)}),w("resize"+d,b.resizeimage),b.islowie&&w("afterchange",b.resizeimage)},resizeimage:function(){var a=b.curritem;if(a&&a.img&&b.st.image.verticalfit){var c=0;b.islowie&&(c=parseint(a.img.css("padding-top"),10)+parseint(a.img.css("padding-bottom"),10)),a.img.css("max-height",b.wh-c)}},_onimagehassize:function(a){a.img&&(a.hassize=!0,l&&clearinterval(l),a.ischeckingimgsize=!1,y("imagehassize",a),a.imghidden&&(b.content&&b.content.removeclass("mfp-loading"),a.imghidden=!1))},findimagesize:function(a){var c=0,d=a.img[0],e=function(f){l&&clearinterval(l),l=setinterval(function(){return d.naturalwidth>0?void b._onimagehassize(a):(c>200&&clearinterval(l),c++,void(3===c?e(10):40===c?e(50):100===c&&e(500)))},f)};e(1)},getimage:function(c,d){var e=0,f=function(){c&&(c.img[0].complete?(c.img.off(".mfploader"),c===b.curritem&&(b._onimagehassize(c),b.updatestatus("ready")),c.hassize=!0,c.loaded=!0,y("imageloadcomplete")):(e++,200>e?settimeout(f,100):g()))},g=function(){c&&(c.img.off(".mfploader"),c===b.curritem&&(b._onimagehassize(c),b.updatestatus("error",h.terror.replace("%url%",c.src))),c.hassize=!0,c.loaded=!0,c.loaderror=!0)},h=b.st.image,i=d.find(".mfp-img");if(i.length){var j=document.createelement("img");j.classname="mfp-img",c.el&&c.el.find("img").length&&(j.alt=c.el.find("img").attr("alt")),c.img=a(j).on("load.mfploader",f).on("error.mfploader",g),j.src=c.src,i.is("img")&&(c.img=c.img.clone()),j=c.img[0],j.naturalwidth>0?c.hassize=!0:j.width||(c.hassize=!1)}return b._parsemarkup(d,{title:m(c),img_replacewith:c.img},c),b.resizeimage(),c.hassize?(l&&clearinterval(l),c.loaderror?(d.addclass("mfp-loading"),b.updatestatus("error",h.terror.replace("%url%",c.src))):(d.removeclass("mfp-loading"),b.updatestatus("ready")),d):(b.updatestatus("loading"),c.loading=!0,c.hassize||(c.imghidden=!0,d.addclass("mfp-loading"),b.findimagesize(c)),d)}}});var n,o=function(){return void 0===n&&(n=void 0!==document.createelement("p").style.moztransform),n};a.magnificpopup.registermodule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(a){return a.is("img")?a:a.find("img")}},proto:{initzoom:function(){var a,c=b.st.zoom,d=".zoom";if(c.enabled&&b.supportstransition){var e,f,g=c.duration,j=function(a){var b=a.clone().removeattr("style").removeattr("class").addclass("mfp-animated-image"),d="all "+c.duration/1e3+"s "+c.easing,e={position:"fixed",zindex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},f="transition";return e["-webkit-"+f]=e["-moz-"+f]=e["-o-"+f]=e[f]=d,b.css(e),b},k=function(){b.content.css("visibility","visible")};w("buildcontrols"+d,function(){if(b._allowzoom()){if(cleartimeout(e),b.content.css("visibility","hidden"),a=b._getitemtozoom(),!a)return void k();f=j(a),f.css(b._getoffset()),b.wrap.append(f),e=settimeout(function(){f.css(b._getoffset(!0)),e=settimeout(function(){k(),settimeout(function(){f.remove(),a=f=null,y("zoomanimationended")},16)},g)},16)}}),w(i+d,function(){if(b._allowzoom()){if(cleartimeout(e),b.st.removaldelay=g,!a){if(a=b._getitemtozoom(),!a)return;f=j(a)}f.css(b._getoffset(!0)),b.wrap.append(f),b.content.css("visibility","hidden"),settimeout(function(){f.css(b._getoffset())},16)}}),w(h+d,function(){b._allowzoom()&&(k(),f&&f.remove(),a=null)})}},_allowzoom:function(){return"image"===b.curritem.type},_getitemtozoom:function(){return b.curritem.hassize?b.curritem.img:!1},_getoffset:function(c){var d;d=c?b.curritem.img:b.st.zoom.opener(b.curritem.el||b.curritem);var e=d.offset(),f=parseint(d.css("padding-top"),10),g=parseint(d.css("padding-bottom"),10);e.top-=a(window).scrolltop()-f;var h={width:d.width(),height:(u?d.innerheight():d[0].offsetheight)-g-f};return o()?h["-moz-transform"]=h.transform="translate("+e.left+"px,"+e.top+"px)":(h.left=e.left,h.top=e.top),h}}});var p="iframe",q="//about:blank",r=function(a){if(b.currtemplate[p]){var c=b.currtemplate[p].find("iframe");c.length&&(a||(c[0].src=q),b.isie8&&c.css("display",a?"block":"none"))}};a.magnificpopup.registermodule(p,{options:{markup:'
',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(){b.types.push(p),w("beforechange",function(a,b,c){b!==c&&(b===p?r():c===p&&r(!0))}),w(h+"."+p,function(){r()})},getiframe:function(c,d){var e=c.src,f=b.st.iframe;a.each(f.patterns,function(){return e.indexof(this.index)>-1?(this.id&&(e="string"==typeof this.id?e.substr(e.lastindexof(this.id)+this.id.length,e.length):this.id.call(this,e)),e=this.src.replace("%id%",e),!1):void 0});var g={};return f.srcaction&&(g[f.srcaction]=e),b._parsemarkup(d,g,c),b.updatestatus("ready"),d}}});var s=function(a){var c=b.items.length;return a>c-1?a-c:0>a?c+a:a},t=function(a,b,c){return a.replace(/%curr%/gi,b+1).replace(/%total%/gi,c)};a.magnificpopup.registermodule("gallery",{options:{enabled:!1,arrowmarkup:'
',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 c=b.st.gallery,e=".mfp-gallery";return b.direction=!0,c&&c.enabled?(f+=" mfp-gallery",w(m+e,function(){c.navigatebyimgclick&&b.wrap.on("click"+e,".mfp-img",function(){return b.items.length>1?(b.next(),!1):void 0}),d.on("keydown"+e,function(a){37===a.keycode?b.prev():39===a.keycode&&b.next()})}),w("updatestatus"+e,function(a,c){c.text&&(c.text=t(c.text,b.curritem.index,b.items.length))}),w(l+e,function(a,d,e,f){var g=b.items.length;e.counter=g>1?t(c.tcounter,f.index,g):""}),w("buildcontrols"+e,function(){if(b.items.length>1&&c.arrows&&!b.arrowleft){var d=c.arrowmarkup,e=b.arrowleft=a(d.replace(/%title%/gi,c.tprev).replace(/%dir%/gi,"left")).addclass(s),f=b.arrowright=a(d.replace(/%title%/gi,c.tnext).replace(/%dir%/gi,"right")).addclass(s);e.click(function(){b.prev()}),f.click(function(){b.next()}),b.container.append(e.add(f))}}),w(n+e,function(){b._preloadtimeout&&cleartimeout(b._preloadtimeout),b._preloadtimeout=settimeout(function(){b.preloadnearbyimages(),b._preloadtimeout=null},16)}),void w(h+e,function(){d.off(e),b.wrap.off("click"+e),b.arrowright=b.arrowleft=null})):!1},next:function(){b.direction=!0,b.index=s(b.index+1),b.updateitemhtml()},prev:function(){b.direction=!1,b.index=s(b.index-1),b.updateitemhtml()},goto:function(a){b.direction=a>=b.index,b.index=a,b.updateitemhtml()},preloadnearbyimages:function(){var a,c=b.st.gallery.preload,d=math.min(c[0],b.items.length),e=math.min(c[1],b.items.length);for(a=1;a<=(b.direction?e:d);a++)b._preloaditem(b.index+a);for(a=1;a<=(b.direction?d:e);a++)b._preloaditem(b.index-a)},_preloaditem:function(c){if(c=s(c),!b.items[c].preloaded){var d=b.items[c];d.parsed||(d=b.parseel(c)),y("lazyload",d),"image"===d.type&&(d.img=a('
').on("load.mfploader",function(){d.hassize=!0}).on("error.mfploader",function(){d.hassize=!0,d.loaderror=!0,y("lazyloaderror",d)}).attr("src",d.src)),d.preloaded=!0}}}});var u="retina";a.magnificpopup.registermodule(u,{options:{replacesrc:function(a){return a.src.replace(/\.\w+$/,function(a){return"@2x"+a})},ratio:1},proto:{initretina:function(){if(window.devicepixelratio>1){var a=b.st.retina,c=a.ratio;c=isnan(c)?c():c,c>1&&(w("imagehassize."+u,function(a,b){b.img.css({"max-width":b.img[0].naturalwidth/c,width:"100%"})}),w("elementparse."+u,function(b,d){d.src=a.replacesrc(d,c)}))}}}}),a()});
/*====================================================*/
/*------- [owl.carousel.min.js] ----------------------*/
/*====================================================*/
/**
* owl carousel v2.3.4
* copyright 2013-2018 david deutsch
* licensed under: see license in https://github.com/owlcarousel2/owlcarousel2/blob/master/license
*/
!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,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:b,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"},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>0;)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,g-=1;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,"<",g)&&this.op(b,">",h))&&i.push(c);this.$stage.children(".active").removeclass("active"),this.$stage.children(":eq("+i.join("), :eq(")+")").addclass("active"),this.$stage.children(".center").removeclass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addclass("center")}}],e.prototype.initializestage=function(){this.$stage=this.$element.find("."+this.settings.stageclass),this.$stage.length||(this.$element.addclass(this.options.loadingclass),this.$stage=a("<"+this.settings.stageelement+">",{class:this.settings.stageclass}).wrap(a("",{class:this.settings.stageouterclass})),this.$element.append(this.$stage.parent()))},e.prototype.initializeitems=function(){var b=this.$element.find(".owl-item");if(b.length)return this._items=b.get().map(function(b){return a(b)}),this._mergers=this._items.map(function(){return 1}),void 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)},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 a,b,c;a=this.$element.find("img"),b=this.settings.nesteditemselector?"."+this.settings.nesteditemselector:d,c=this.$element.children(b).width(),a.length&&c<=0&&this.preloadautowidthimages(a)}this.initializestage(),this.initializeitems(),this.registereventhandlers(),this.leave("initializing"),this.trigger("initialized")},e.prototype.isvisible=function(){return!this.settings.checkvisibility||this.$element.is(":visible")},e.prototype.setup=function(){var b=this.viewport(),c=this.options.responsive,d=-1,e=null;c?(a.each(c,function(a){a<=b&&a>d&&(d=number(a))}),e=a.extend({},this.options,c[d]),"function"==typeof e.stagepadding&&(e.stagepadding=e.stagepadding()),delete e.responsive,e.responsiveclass&&this.$element.attr("class",this.$element.attr("class").replace(new regexp("("+this.options.responsiveclass+"-)\\s+\\s","g"),"$1"+d))):e=a.extend({},this.options),this.trigger("change",{property:{name:"settings",value:e}}),this._breakpoint=d,this.settings=e,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},e.prototype.optionslogic=function(){this.settings.autowidth&&(this.settings.stagepadding=!1,this.settings.merge=!1)},e.prototype.prepare=function(b){var c=this.trigger("prepare",{content:b});return c.data||(c.data=a("<"+this.settings.itemelement+"/>").addclass(this.options.itemclass).append(b)),this.trigger("prepared",{content:c.data}),c.data},e.prototype.update=function(){for(var b=0,c=this._pipe.length,d=a.proxy(function(a){return this[a]},this._invalidated),e={};b0)&&this._pipe[b].run(e),b++;this._invalidated={},!this.is("valid")&&this.enter("valid")},e.prototype.width=function(a){switch(a=a||e.width.default){case e.width.inner:case e.width.outer:return this._width;default:return this._width-2*this.settings.stagepadding+this.settings.margin}},e.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionslogic(),this.$element.addclass(this.options.refreshclass),this.update(),this.$element.removeclass(this.options.refreshclass),this.leave("refreshing"),this.trigger("refreshed")},e.prototype.onthrottledresize=function(){b.cleartimeout(this.resizetimer),this.resizetimer=b.settimeout(this._handlers.onresize,this.settings.responsiverefreshrate)},e.prototype.onresize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!!this.isvisible()&&(this.enter("resizing"),this.trigger("resize").isdefaultprevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))))},e.prototype.registereventhandlers=function(){a.support.transition&&this.$stage.on(a.support.transition.end+".owl.core",a.proxy(this.ontransitionend,this)),!1!==this.settings.responsive&&this.on(b,"resize",this._handlers.onthrottledresize),this.settings.mousedrag&&(this.$element.addclass(this.options.dragclass),this.$stage.on("mousedown.owl.core",a.proxy(this.ondragstart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchdrag&&(this.$stage.on("touchstart.owl.core",a.proxy(this.ondragstart,this)),this.$stage.on("touchcancel.owl.core",a.proxy(this.ondragend,this)))},e.prototype.ondragstart=function(b){var d=null;3!==b.which&&(a.support.transform?(d=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","),d={x:d[16===d.length?12:4],y:d[16===d.length?13:5]}):(d=this.$stage.position(),d={x:this.settings.rtl?d.left+this.$stage.width()-this.width()+this.settings.margin:d.left,y:d.top}),this.is("animating")&&(a.support.transform?this.animate(d.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleclass(this.options.grabclass,"mousedown"===b.type),this.speed(0),this._drag.time=(new date).gettime(),this._drag.target=a(b.target),this._drag.stage.start=d,this._drag.stage.current=d,this._drag.pointer=this.pointer(b),a(c).on("mouseup.owl.core touchend.owl.core",a.proxy(this.ondragend,this)),a(c).one("mousemove.owl.core touchmove.owl.core",a.proxy(function(b){var d=this.difference(this._drag.pointer,this.pointer(b));a(c).on("mousemove.owl.core touchmove.owl.core",a.proxy(this.ondragmove,this)),math.abs(d.x)0^this.settings.rtl?"left":"right";a(c).off(".owl.core"),this.$element.removeclass(this.options.grabclass),(0!==d.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragendspeed||this.settings.smartspeed),this.current(this.closest(e.x,0!==d.x?f:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=f,(math.abs(d.x)>3||(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 e=-1,f=30,g=this.width(),h=this.coordinates();return this.settings.freedrag||a.each(h,a.proxy(function(a,i){return"left"===c&&b>i-f&&bi-g-f&&b",h[a+1]!==d?h[a+1]:i-g)&&(e="left"===c?a+1:a),-1===e},this)),this.settings.loop||(this.op(b,">",h[this.minimum()])?e=b=this.minimum():this.op(b,"<",h[this.maximum()])&&(e=b=this.maximum())),e},e.prototype.animate=function(b){var c=this.speed()>0;this.is("animating")&&this.ontransitionend(),c&&(this.enter("animating"),this.trigger("translate")),a.support.transform3d&&a.support.transition?this.$stage.css({transform:"translate3d("+b+"px,0px,0px)",transition:this.speed()/1e3+"s"+(this.settings.slidetransition?" "+this.settings.slidetransition:"")}):c?this.$stage.animate({left:b+"px"},this.speed(),this.settings.fallbackeasing,a.proxy(this.ontransitionend,this)):this.$stage.css({left:b+"px"})},e.prototype.is=function(a){return this._states.current[a]&&this._states.current[a]>0},e.prototype.current=function(a){if(a===d)return this._current;if(0===this._items.length)return d;if(a=this.normalize(a),this._current!==a){var b=this.trigger("change",{property:{name:"position",value:a}});b.data!==d&&(a=this.normalize(b.data)),this._current=a,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},e.prototype.invalidate=function(b){return"string"===a.type(b)&&(this._invalidated[b]=!0,this.is("valid")&&this.leave("valid")),a.map(this._invalidated,function(a,b){return b})},e.prototype.reset=function(a){(a=this.normalize(a))!==d&&(this._speed=0,this._current=a,this.suppress(["translate","translated"]),this.animate(this.coordinates(a)),this.release(["translate","translated"]))},e.prototype.normalize=function(a,b){var c=this._items.length,e=b?0:this._clones.length;return!this.isnumeric(a)||c<1?a=d:(a<0||a>=c+e)&&(a=((a-e/2)%c+c)%c+e/2),a},e.prototype.relative=function(a){return a-=this._clones.length/2,this.normalize(a,!0)},e.prototype.maximum=function(a){var b,c,d,e=this.settings,f=this._coordinates.length;if(e.loop)f=this._clones.length/2+this._items.length-1;else if(e.autowidth||e.merge){if(b=this._items.length)for(c=this._items[--b].width(),d=this.$element.width();b--&&!((c+=this._items[b].width()+this.settings.margin)>d););f=b+1}else f=e.center?this._items.length-1:this._items.length-e.items;return a&&(f-=this._clones.length/2),math.max(f,0)},e.prototype.minimum=function(a){return a?0:this._clones.length/2},e.prototype.items=function(a){return a===d?this._items.slice():(a=this.normalize(a,!0),this._items[a])},e.prototype.mergers=function(a){return a===d?this._mergers.slice():(a=this.normalize(a,!0),this._mergers[a])},e.prototype.clones=function(b){var c=this._clones.length/2,e=c+this._items.length,f=function(a){return a%2==0?e+a/2:c-(a+1)/2};return b===d?a.map(this._clones,function(a,b){return f(b)}):a.map(this._clones,function(a,c){return a===b?f(c):null})},e.prototype.speed=function(a){return a!==d&&(this._speed=a),this._speed},e.prototype.coordinates=function(b){var c,e=1,f=b-1;return b===d?a.map(this._coordinates,a.proxy(function(a,b){return this.coordinates(b)},this)):(this.settings.center?(this.settings.rtl&&(e=-1,f=b+1),c=this._coordinates[b],c+=(this.width()-c+(this._coordinates[f]||0))/2*e):c=this._coordinates[f]||0,c=math.ceil(c))},e.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)},e.prototype.to=function(a,b){var c=this.current(),d=null,e=a-this.relative(c),f=(e>0)-(e<0),g=this._items.length,h=this.minimum(),i=this.maximum();this.settings.loop?(!this.settings.rewind&&math.abs(e)>g/2&&(e+=-1*f*g),a=c+e,(d=((a-h)%g+g)%g+h)!==a&&d-e<=i&&d-e>0&&(c=d-e,a=d,this.reset(c))):this.settings.rewind?(i+=1,a=(a%i+i)%i):a=math.max(h,math.min(i,a)),this.speed(this.duration(c,a,b)),this.current(a),this.isvisible()&&this.update()},e.prototype.next=function(a){a=a||!1,this.to(this.relative(this.current())+1,a)},e.prototype.prev=function(a){a=a||!1,this.to(this.relative(this.current())-1,a)},e.prototype.ontransitionend=function(a){if(a!==d&&(a.stoppropagation(),(a.target||a.srcelement||a.originaltarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},e.prototype.viewport=function(){var d;return this.options.responsivebaseelement!==b?d=a(this.options.responsivebaseelement).width():b.innerwidth?d=b.innerwidth:c.documentelement&&c.documentelement.clientwidth?d=c.documentelement.clientwidth:console.warn("can not detect viewport width."),d},e.prototype.replace=function(b){this.$stage.empty(),this._items=[],b&&(b=b instanceof jquery?b:a(b)),this.settings.nesteditemselector&&(b=b.find("."+this.settings.nesteditemselector)),b.filter(function(){return 1===this.nodetype}).each(a.proxy(function(a,b){b=this.prepare(b),this.$stage.append(b),this._items.push(b),this._mergers.push(1*b.find("[data-merge]").addback("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isnumeric(this.settings.startposition)?this.settings.startposition:0),this.invalidate("items")},e.prototype.add=function(b,c){var e=this.relative(this._current);c=c===d?this._items.length:this.normalize(c,!0),b=b instanceof jquery?b:a(b),this.trigger("add",{content:b,position:c}),b=this.prepare(b),0===this._items.length||c===this._items.length?(0===this._items.length&&this.$stage.append(b),0!==this._items.length&&this._items[c-1].after(b),this._items.push(b),this._mergers.push(1*b.find("[data-merge]").addback("[data-merge]").attr("data-merge")||1)):(this._items[c].before(b),this._items.splice(c,0,b),this._mergers.splice(c,0,1*b.find("[data-merge]").addback("[data-merge]").attr("data-merge")||1)),this._items[e]&&this.reset(this._items[e].index()),this.invalidate("items"),this.trigger("added",{content:b,position:c})},e.prototype.remove=function(a){(a=this.normalize(a,!0))!==d&&(this.trigger("remove",{content:this._items[a],position:a}),this._items[a].remove(),this._items.splice(a,1),this._mergers.splice(a,1),this.invalidate("items"),this.trigger("removed",{content:null,position:a}))},e.prototype.preloadautowidthimages=function(b){b.each(a.proxy(function(b,c){this.enter("pre-loading"),c=a(c),a(new image).one("load",a.proxy(function(a){c.attr("src",a.target.src),c.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",c.attr("src")||c.attr("data-src")||c.attr("data-src-retina"))},this))},e.prototype.destroy=function(){this.$element.off(".owl.core"),this.$stage.off(".owl.core"),a(c).off(".owl.core"),!1!==this.settings.responsive&&(b.cleartimeout(this.resizetimer),this.off(b,"resize",this._handlers.onthrottledresize));for(var d in this._plugins)this._plugins[d].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.remove(),this.$element.removeclass(this.options.refreshclass).removeclass(this.options.loadingclass).removeclass(this.options.loadedclass).removeclass(this.options.rtlclass).removeclass(this.options.dragclass).removeclass(this.options.grabclass).attr("class",this.$element.attr("class").replace(new regexp(this.options.responsiveclass+"-\\s+\\s","g"),"")).removedata("owl.carousel")},e.prototype.op=function(a,b,c){var d=this.settings.rtl;switch(b){case"<":return d?a>c:a":return d?ac;case">=":return d?a<=c:a>=c;case"<=":return d?a>=c:a<=c}},e.prototype.on=function(a,b,c,d){a.addeventlistener?a.addeventlistener(b,c,d):a.attachevent&&a.attachevent("on"+b,c)},e.prototype.off=function(a,b,c,d){a.removeeventlistener?a.removeeventlistener(b,c,d):a.detachevent&&a.detachevent("on"+b,c)},e.prototype.trigger=function(b,c,d,f,g){var h={item:{count:this._items.length,index:this.current()}},i=a.camelcase(a.grep(["on",b,d],function(a){return a}).join("-").tolowercase()),j=a.event([b,"owl",d||"carousel"].join(".").tolowercase(),a.extend({relatedtarget:this},h,c));return this._supress[b]||(a.each(this._plugins,function(a,b){b.ontrigger&&b.ontrigger(j)}),this.register({type:e.type.event,name:b}),this.$element.trigger(j),this.settings&&"function"==typeof this.settings[i]&&this.settings[i].call(this,j)),j},e.prototype.enter=function(b){a.each([b].concat(this._states.tags[b]||[]),a.proxy(function(a,b){this._states.current[b]===d&&(this._states.current[b]=0),this._states.current[b]++},this))},e.prototype.leave=function(b){a.each([b].concat(this._states.tags[b]||[]),a.proxy(function(a,b){this._states.current[b]--},this))},e.prototype.register=function(b){if(b.type===e.type.event){if(a.event.special[b.name]||(a.event.special[b.name]={}),!a.event.special[b.name].owl){var c=a.event.special[b.name]._default;a.event.special[b.name]._default=function(a){return!c||!c.apply||a.namespace&&-1!==a.namespace.indexof("owl")?a.namespace&&a.namespace.indexof("owl")>-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.isvisible(),this._interval=b.setinterval(a.proxy(this.refresh,this),this._core.settings.autorefreshinterval))},e.prototype.refresh=function(){this._core.isvisible()!==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)){var c=this._core.settings,e=c.center&&math.ceil(c.items/2)||c.items,f=c.center&&-1*e||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);for(c.lazyloadeager>0&&(e+=c.lazyloadeager,c.loop&&(g-=c.lazyloadeager,e++));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")||f.attr("data-srcset");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):f.is("source")?f.one("load.owl.lazy",a.proxy(function(){this._core.trigger("loaded",{element:f,url:g},"lazy")},this)).attr("srcset",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(c){this._core=c,this._previousheight=null,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),this._intervalid=null;var d=this;a(b).on("load",function(){d._core.settings.autoheight&&d.update()}),a(b).resize(function(){d._core.settings.autoheight&&(null!=d._intervalid&&cleartimeout(d._intervalid),d._intervalid=settimeout(function(){d.update()},250))})};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.settings.lazyload,e=this._core.$stage.children().toarray().slice(b,c),f=[],g=0;a.each(e,function(b,c){f.push(a(c).height())}),g=math.max.apply(null,f),g<=1&&d&&this._previousheight&&(g=this._previousheight),this._previousheight=g,this._core.$stage.parent().height(g).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|be\-nocookie\.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?"width:"+c.width+"px;height:"+c.height+"px;":"",h=b.find("img"),i="src",j="",k=this._core.settings,l=function(c){e='',d=k.lazyload?a("",{class:"owl-video-tn "+j,srctype:c}):a("",{class:"owl-video-tn",style:"opacity:1;background-image:url("+c+")"}),b.after(d),b.after(e)};if(b.wrap(a("",{class:"owl-video-wrapper",style:g})),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()),c=a(''),c.attr("height",h),c.attr("width",g),"youtube"===f.type?c.attr("src","//www.youtube.com/embed/"+f.id+"?autoplay=1&rel=0&v="+f.id):"vimeo"===f.type?c.attr("src","//player.vimeo.com/video/"+f.id+"?autoplay=1"):"vzaar"===f.type&&c.attr("src","//view.vzaar.com/"+f.id+"/player?autoplay=true"),a(c).wrap('').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._call=null,this._time=0,this._timeout=0,this._paused=!0,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._paused&&(this._time=0)},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._next=function(d){this._call=b.settimeout(a.proxy(this._next,this,d),this._timeout*(math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||c.hidden||this._core.next(d||this._core.settings.autoplayspeed)},e.prototype.read=function(){return(new date).gettime()-this._time},e.prototype.play=function(c,d){var e;this._core.is("rotating")||this._core.enter("rotating"),c=c||this._core.settings.autoplaytimeout,e=math.min(this._time%(this._timeout||c),c),this._paused?(this._time=this.read(),this._paused=!1):b.cleartimeout(this._call),this._time+=this.read()%c-e,this._timeout=c,this._call=b.settimeout(a.proxy(this._next,this,d),c-e)},e.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,b.cleartimeout(this._call),this._core.leave("rotating"))},e.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,b.cleartimeout(this._call))},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:['‹','›'],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},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("<"+c.navelement+">").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("<"+c.navelement+">").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('