").append(m.parseHTML(a)).find(d):a)}).complete(c&&function(a,b){g.each(c,e||[a.responseText,b,a])}),this},m.expr.filters.animated=function(a){return m.grep(m.timers,function(b){return a===b.elem}).length};var cd=a.document.documentElement;function dd(a){return m.isWindow(a)?a:9===a.nodeType?a.defaultView||a.parentWindow:!1}m.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=m.css(a,"position"),l=m(a),n={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=m.css(a,"top"),i=m.css(a,"left"),j=("absolute"===k||"fixed"===k)&&m.inArray("auto",[f,i])>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),m.isFunction(b)&&(b=b.call(a,c,h)),null!=b.top&&(n.top=b.top-h.top+g),null!=b.left&&(n.left=b.left-h.left+e),"using"in b?b.using.call(a,n):l.css(n)}},m.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){m.offset.setOffset(this,a,b)});var b,c,d={top:0,left:0},e=this[0],f=e&&e.ownerDocument;if(f)return b=f.documentElement,m.contains(b,e)?(typeof e.getBoundingClientRect!==K&&(d=e.getBoundingClientRect()),c=dd(f),{top:d.top+(c.pageYOffset||b.scrollTop)-(b.clientTop||0),left:d.left+(c.pageXOffset||b.scrollLeft)-(b.clientLeft||0)}):d},position:function(){if(this[0]){var a,b,c={top:0,left:0},d=this[0];return"fixed"===m.css(d,"position")?b=d.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),m.nodeName(a[0],"html")||(c=a.offset()),c.top+=m.css(a[0],"borderTopWidth",!0),c.left+=m.css(a[0],"borderLeftWidth",!0)),{top:b.top-c.top-m.css(d,"marginTop",!0),left:b.left-c.left-m.css(d,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||cd;while(a&&!m.nodeName(a,"html")&&"static"===m.css(a,"position"))a=a.offsetParent;return a||cd})}}),m.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c=/Y/.test(b);m.fn[a]=function(d){return V(this,function(a,d,e){var f=dd(a);return void 0===e?f?b in f?f[b]:f.document.documentElement[d]:a[d]:void(f?f.scrollTo(c?m(f).scrollLeft():e,c?e:m(f).scrollTop()):a[d]=e)},a,d,arguments.length,null)}}),m.each(["top","left"],function(a,b){m.cssHooks[b]=Lb(k.pixelPosition,function(a,c){return c?(c=Jb(a,b),Hb.test(c)?m(a).position()[b]+"px":c):void 0})}),m.each({Height:"height",Width:"width"},function(a,b){m.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){m.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(d===!0||e===!0?"margin":"border");return V(this,function(b,c,d){var e;return m.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):void 0===d?m.css(b,c,g):m.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),m.fn.size=function(){return this.length},m.fn.andSelf=m.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return m});var ed=a.jQuery,fd=a.$;return m.noConflict=function(b){return a.$===m&&(a.$=fd),b&&a.jQuery===m&&(a.jQuery=ed),m},typeof b===K&&(a.jQuery=a.$=m),m}); /*! * jQuery Cookie Plugin v1.4.1 * https://github.com/carhartl/jquery-cookie * * Copyright 2013 Klaus Hartl * Released under the MIT license */(function (factory) { if (typeof define === 'function' && define.amd) { /* AMD */ define(['jquery'], factory); } else if (typeof exports === 'object') { /* CommonJS */ factory(require('jquery')); } else { /* Browser globals */ factory(jQuery); }}(function ($) { var pluses = /\+/g; function encode(s) { return config.raw ? s : encodeURIComponent(s); } function decode(s) { return config.raw ? s : decodeURIComponent(s); } function stringifyCookieValue(value) { return encode(config.json ? JSON.stringify(value) : String(value)); } function parseCookieValue(s) { if (s.indexOf('"') === 0) { /* This is a quoted cookie as according to RFC2068, unescape... */ s = s.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, '\\'); } try { /* Replace server-side written pluses with spaces. If we can't decode the cookie, ignore it, it's unusable. If we can't parse the cookie, ignore it, it's unusable. */ s = decodeURIComponent(s.replace(pluses, ' ')); return config.json ? JSON.parse(s) : s; } catch(e) {} } function read(s, converter) { var value = config.raw ? s : parseCookieValue(s); return $.isFunction(converter) ? converter(value) : value; } var config = $.cookie = function (key, value, options) { /* Write */ if (value !== undefined && !$.isFunction(value)) { options = $.extend({}, config.defaults, options); if (typeof options.expires === 'number') { var days = options.expires, t = options.expires = new Date(); t.setTime(+t + days * 864e+5); } return (document.cookie = [ encode(key), '=', stringifyCookieValue(value), options.expires ? '; expires=' + options.expires.toUTCString() : '', /* use expires attribute, max-age is not supported by IE */ options.path ? '; path=' + options.path : '', options.domain ? '; domain=' + options.domain : '', options.secure ? '; secure' : '' ].join('')); } /* Read */ var result = key ? undefined : {}; /* To prevent the for loop in the first place assign an empty array in case there are no cookies at all. Also prevents odd result when calling $.cookie(). */ var cookies = document.cookie ? document.cookie.split('; ') : []; for (var i = 0, l = cookies.length; i < l; i++) { var parts = cookies[i].split('='); var name = decode(parts.shift()); var cookie = parts.join('='); if (key && key === name) { /* If second argument (value) is a function it's a converter... */ result = read(cookie, value); break; } /* Prevent storing a cookie that we couldn't decode. */ if (!key && (cookie = read(cookie)) !== undefined) { result[name] = cookie; } } return result; }; config.defaults = {}; $.removeCookie = function (key, options) { if ($.cookie(key) === undefined) { return false; } /* Must not alter options, thus extending a fresh object... */ $.cookie(key, '', $.extend({}, options, { expires: -1 })); return !$.cookie(key); };})); /* The MIT License (MIT) @todo Lazy Load Icon @todo prevent animationend bubling @todo itemsScaleUp @todo Test Zepto @todo stagePadding calculate wrong active classes The MIT License (MIT)*/(function(c,g,m,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,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:g,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"};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 f=this._mergers[e];f=this.settings.mergeFit&&Math.min(f,this.settings.items)||f;a.items.merge=1
this._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=[],f;var n=0;for(f=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.settings.center&&(this.$stage.children(".center").removeClass("center"),this.$stage.children().eq(this.current()).addClass("center"))}}];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.$element.addClass(this.options.loadingClass);this.$stage=c("<"+this.settings.stageElement+' class="'+this.settings.stageClass+'"/>').wrap('');this.$element.append(this.$stage.parent());this.replace(this.$element.children().not(this.$stage.parent()));this.$element.is(":visible")?this.refresh():this.invalidate("width");this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass);this.registerEventHandlers();this.leave("initializing");this.trigger("initialized")};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={};al-30&&al-d-30&&a",h[c+1]||l-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){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 f=this._items.length,g=this.minimum(),k=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(d)>f/2&&(d+=-1*h*f),a=c+d,h=((a-g)%f+f)%f+g,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,l,h){l={item:{count:this._items.length,index:this.current()}};h=c.camelCase(c.grep(["on",a,e],function(a){return a}).join("-").toLowerCase());var f=c.Event([a,"owl",e||"carousel"].join(".").toLowerCase(),c.extend({relatedTarget:this},l,b));this._supress[a]||(c.each(this._plugins,function(a,b){if(b.onTrigger)b.onTrigger(f)}),this.register({type:d.Type.Event,name:a}),this.$element.trigger(f),this.settings&&"function"===typeof this.settings[h]&&this.settings[h].call(this,f));return f};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 ':'