From 51b609a0f2e9fb59a1fc7928fe451a2f4abe0a18 Mon Sep 17 00:00:00 2001 From: xilou31 Date: Wed, 28 Sep 2022 22:11:23 +0800 Subject: [PATCH] custom modified --- assets/built/main.min.js | 2 + assets/built/main.min.js.map | 1 + assets/built/screen.css | 2 + assets/built/screen.css.map | 1 + assets/css/blog/author.css | 109 ++++++++ assets/css/blog/comment.css | 9 + assets/css/blog/content.css | 107 ++++++++ assets/css/blog/featured.css | 27 ++ assets/css/blog/navigation.css | 18 ++ assets/css/blog/pagination.css | 26 ++ assets/css/blog/post.css | 185 +++++++++++++ assets/css/blog/related.css | 25 ++ assets/css/blog/share.css | 56 ++++ assets/css/blog/single.css | 29 +++ assets/css/general/basics.css | 169 ++++++++++++ assets/css/general/button.css | 24 ++ assets/css/general/form.css | 17 ++ assets/css/general/grid.css | 373 +++++++++++++++++++++++++++ assets/css/general/normalize.css | 372 ++++++++++++++++++++++++++ assets/css/misc/dark.css | 90 +++++++ assets/css/misc/kg.css | 66 +++++ assets/css/misc/lazyload.css | 9 + assets/css/misc/utilities.css | 183 +++++++++++++ assets/css/screen.css | 31 +++ assets/css/site/burger.css | 26 ++ assets/css/site/dimmer.css | 10 + assets/css/site/error.css | 20 ++ assets/css/site/footer.css | 58 +++++ assets/css/site/header.css | 88 +++++++ assets/css/site/layout.css | 10 + assets/css/site/off-canvas.css | 40 +++ assets/css/site/switch.css | 41 +++ assets/css/site/term.css | 34 +++ assets/css/vendor/mdi.css | 93 +++++++ assets/css/vendor/owl.css | 150 +++++++++++ assets/css/vendor/slicknav.css | 12 + assets/fonts/Alto.svg | 36 +++ assets/fonts/Alto.ttf | Bin 0 -> 5116 bytes assets/fonts/Alto.woff | Bin 0 -> 5192 bytes assets/fonts/selection.json | 1 + assets/js/.prettierrc.json | 3 + assets/js/lib/jquery.fitvids.js | 87 +++++++ assets/js/lib/jquery.slicknav.min.js | 6 + assets/js/lib/lazysizes.min.js | 2 + assets/js/lib/owl.carousel.min.js | 7 + assets/js/main.js | 136 ++++++++++ partials/author.hbs | 47 ++++ partials/comment.hbs | 5 + partials/featured.hbs | 14 + partials/footer.hbs | 43 +++ partials/header.hbs | 21 ++ partials/logo.hbs | 10 + partials/loop.hbs | 12 + partials/navigation.hbs | 6 + partials/pagination.hbs | 23 ++ partials/pinned.hbs | 7 + partials/post-footer.hbs | 21 ++ partials/post-header.hbs | 29 +++ partials/post-media.hbs | 28 ++ partials/post-navigation.hbs | 21 ++ partials/related.hbs | 17 ++ partials/share.hbs | 32 +++ 62 files changed, 3127 insertions(+) create mode 100644 assets/built/main.min.js create mode 100644 assets/built/main.min.js.map create mode 100644 assets/built/screen.css create mode 100644 assets/built/screen.css.map create mode 100644 assets/css/blog/author.css create mode 100644 assets/css/blog/comment.css create mode 100644 assets/css/blog/content.css create mode 100644 assets/css/blog/featured.css create mode 100644 assets/css/blog/navigation.css create mode 100644 assets/css/blog/pagination.css create mode 100644 assets/css/blog/post.css create mode 100644 assets/css/blog/related.css create mode 100644 assets/css/blog/share.css create mode 100644 assets/css/blog/single.css create mode 100644 assets/css/general/basics.css create mode 100644 assets/css/general/button.css create mode 100644 assets/css/general/form.css create mode 100644 assets/css/general/grid.css create mode 100644 assets/css/general/normalize.css create mode 100644 assets/css/misc/dark.css create mode 100644 assets/css/misc/kg.css create mode 100644 assets/css/misc/lazyload.css create mode 100644 assets/css/misc/utilities.css create mode 100644 assets/css/screen.css create mode 100644 assets/css/site/burger.css create mode 100644 assets/css/site/dimmer.css create mode 100644 assets/css/site/error.css create mode 100644 assets/css/site/footer.css create mode 100644 assets/css/site/header.css create mode 100644 assets/css/site/layout.css create mode 100644 assets/css/site/off-canvas.css create mode 100644 assets/css/site/switch.css create mode 100644 assets/css/site/term.css create mode 100644 assets/css/vendor/mdi.css create mode 100644 assets/css/vendor/owl.css create mode 100644 assets/css/vendor/slicknav.css create mode 100644 assets/fonts/Alto.svg create mode 100644 assets/fonts/Alto.ttf create mode 100644 assets/fonts/Alto.woff create mode 100644 assets/fonts/selection.json create mode 100644 assets/js/.prettierrc.json create mode 100644 assets/js/lib/jquery.fitvids.js create mode 100644 assets/js/lib/jquery.slicknav.min.js create mode 100644 assets/js/lib/lazysizes.min.js create mode 100644 assets/js/lib/owl.carousel.min.js create mode 100644 assets/js/main.js create mode 100644 partials/author.hbs create mode 100644 partials/comment.hbs create mode 100644 partials/featured.hbs create mode 100644 partials/footer.hbs create mode 100644 partials/header.hbs create mode 100644 partials/logo.hbs create mode 100644 partials/loop.hbs create mode 100644 partials/navigation.hbs create mode 100644 partials/pagination.hbs create mode 100644 partials/pinned.hbs create mode 100644 partials/post-footer.hbs create mode 100644 partials/post-header.hbs create mode 100644 partials/post-media.hbs create mode 100644 partials/post-navigation.hbs create mode 100644 partials/related.hbs create mode 100644 partials/share.hbs diff --git a/assets/built/main.min.js b/assets/built/main.min.js new file mode 100644 index 0000000..3ce2f02 --- /dev/null +++ b/assets/built/main.min.js @@ -0,0 +1,2 @@ +!function(o){"use strict";o.fn.fitVids=function(t){var e,i,n={customSelector:null,ignore:null};return document.getElementById("fit-vids-style")||(e=document.head||document.getElementsByTagName("head")[0],(i=document.createElement("div")).innerHTML='

x

',e.appendChild(i.childNodes[1])),t&&o.extend(n,t),this.each(function(){var t=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object","embed"];n.customSelector&&t.push(n.customSelector);var s=".fitvidsignore";n.ignore&&(s=s+", "+n.ignore);t=o(this).find(t.join(","));(t=(t=t.not("object object")).not(s)).each(function(){var t,e,i=o(this);0').parent(".fluid-width-video-wrapper").css("padding-top",100*t+"%"),i.removeAttr("height").removeAttr("width"))})})},o.fn.fitVids._count=0}(window.jQuery||window.Zepto),function(d,s){function n(t,e){this.element=t,this.settings=d.extend({},i,e),this.settings.duplicate||e.hasOwnProperty("removeIds")||(this.settings.removeIds=!1),this._defaults=i,this._name=o,this.init()}var i={label:"MENU",duplicate:!0,duration:200,easingOpen:"swing",easingClose:"swing",closedSymbol:"►",openedSymbol:"▼",prependTo:"body",appendTo:"",parentTag:"a",closeOnClick:!1,allowParentLinks:!1,nestedParentLinks:!0,showChildren:!1,removeIds:!0,removeClasses:!1,removeStyles:!1,brand:"",animations:"jquery",init:function(){},beforeOpen:function(){},beforeClose:function(){},afterOpen:function(){},afterClose:function(){}},o="slicknav",p="slicknav",r=40,l=13,h=27,c=37,u=39,g=32,m=38;n.prototype.init=function(){var t,o=this,e=d(this.element),a=this.settings;a.duplicate?o.mobileNav=e.clone():o.mobileNav=e,a.removeIds&&(o.mobileNav.removeAttr("id"),o.mobileNav.find("*").each(function(t,e){d(e).removeAttr("id")})),a.removeClasses&&(o.mobileNav.removeAttr("class"),o.mobileNav.find("*").each(function(t,e){d(e).removeAttr("class")})),a.removeStyles&&(o.mobileNav.removeAttr("style"),o.mobileNav.find("*").each(function(t,e){d(e).removeAttr("style")})),t=p+"_icon",""===a.label&&(t+=" "+p+"_no-text"),"a"==a.parentTag&&(a.parentTag='a href="#"'),o.mobileNav.attr("class",p+"_nav"),i=d('
'),""!==a.brand&&(e=d('
'+a.brand+"
"),d(i).append(e)),o.btn=d(["<"+a.parentTag+' aria-haspopup="true" role="button" tabindex="0" class="'+p+"_btn "+p+'_collapsed">',''+a.label+"",'','','','',"",""].join("")),d(i).append(o.btn),""!==a.appendTo?d(a.appendTo).append(i):d(a.prependTo).prepend(i),i.append(o.mobileNav);var i=o.mobileNav.find("li");d(i).each(function(){var t,e,i,s=d(this),n={};n.children=s.children("ul").attr("role","menu"),s.data("menu",n),0'),a.allowParentLinks&&!a.nestedParentLinks&&t?d(e).wrapAll('').parent():d(e).wrapAll(n).parent().addClass(p+"_row"),a.showChildren?s.addClass(p+"_open"):s.addClass(p+"_collapsed"),s.addClass(p+"_parent"),i=d(''+(a.showChildren?a.openedSymbol:a.closedSymbol)+""),a.allowParentLinks&&!a.nestedParentLinks&&t&&(i=i.wrap(n).parent()),d(e).last().after(i)):0===s.children().length&&s.addClass(p+"_txtnode"),s.children("a").attr("role","menuitem").click(function(t){a.closeOnClick&&!d(t.target).parent().closest("li").hasClass(p+"_parent")&&d(o.btn).click()}),a.closeOnClick&&a.allowParentLinks&&(s.children("a").children("a").click(function(t){d(o.btn).click()}),s.find("."+p+"_parent-link a:not(."+p+"_item)").click(function(t){d(o.btn).click()}))}),d(i).each(function(){var t=d(this).data("menu");a.showChildren||o._visibilityToggle(t.children,null,!1,null,!0)}),o._visibilityToggle(o.mobileNav,null,!1,"init",!0),o.mobileNav.attr("role","menu"),d(s).mousedown(function(){o._outlines(!1)}),d(s).keyup(function(){o._outlines(!0)}),d(o.btn).click(function(t){t.preventDefault(),o._menuToggle()}),o.mobileNav.on("click","."+p+"_item",function(t){t.preventDefault(),o._itemClick(d(this))}),d(o.btn).keydown(function(t){var e=t||event;switch(e.keyCode){case l:case g:case r:t.preventDefault(),e.keyCode===r&&d(o.btn).hasClass(p+"_open")||o._menuToggle(),d(o.btn).next().find('[role="menuitem"]').first().focus()}}),o.mobileNav.on("keydown","."+p+"_item",function(t){switch((t||event).keyCode){case l:t.preventDefault(),o._itemClick(d(t.target));break;case u:t.preventDefault(),d(t.target).parent().hasClass(p+"_collapsed")&&o._itemClick(d(t.target)),d(t.target).next().find('[role="menuitem"]').first().focus()}}),o.mobileNav.on("keydown",'[role="menuitem"]',function(t){switch((t||event).keyCode){case r:t.preventDefault();var e=(s=(i=d(t.target).parent().parent().children().children('[role="menuitem"]:visible')).index(t.target))+1;i.length<=e&&(e=0),i.eq(e).focus();break;case m:t.preventDefault();var i,s=(i=d(t.target).parent().parent().children().children('[role="menuitem"]:visible')).index(t.target);i.eq(s-1).focus();break;case c:t.preventDefault(),d(t.target).parent().parent().parent().hasClass(p+"_open")?((s=d(t.target).parent().parent().prev()).focus(),o._itemClick(s)):d(t.target).parent().parent().hasClass(p+"_nav")&&(o._menuToggle(),d(o.btn).focus());break;case h:t.preventDefault(),o._menuToggle(),d(o.btn).focus()}}),a.allowParentLinks&&a.nestedParentLinks&&d("."+p+"_item a").click(function(t){t.stopImmediatePropagation()})},n.prototype._menuToggle=function(t){var e=this.btn,i=this.mobileNav;e.hasClass(p+"_collapsed")?(e.removeClass(p+"_collapsed"),e.addClass(p+"_open")):(e.removeClass(p+"_open"),e.addClass(p+"_collapsed")),e.addClass(p+"_animating"),this._visibilityToggle(i,e.parent(),!0,e)},n.prototype._itemClick=function(t){var e=this.settings,i=t.data("menu");i||((i={}).arrow=t.children("."+p+"_arrow"),i.ul=t.next("ul"),i.parent=t.parent(),i.parent.hasClass(p+"_parent-link")&&(i.parent=t.parent().parent(),i.ul=t.parent().next("ul")),t.data("menu",i)),i.parent.hasClass(p+"_collapsed")?(i.arrow.html(e.openedSymbol),i.parent.removeClass(p+"_collapsed"),i.parent.addClass(p+"_open")):(i.arrow.html(e.closedSymbol),i.parent.addClass(p+"_collapsed"),i.parent.removeClass(p+"_open")),i.parent.addClass(p+"_animating"),this._visibilityToggle(i.ul,i.parent,!0,t)},n.prototype._visibilityToggle=function(i,t,e,s,n){function o(t,e){d(t).removeClass(p+"_animating"),d(e).removeClass(p+"_animating"),n||l.afterOpen(t)}function a(t,e){i.attr("aria-hidden","true"),h.attr("tabindex","-1"),r._setVisAttr(i,!0),i.hide(),d(t).removeClass(p+"_animating"),d(e).removeClass(p+"_animating"),n?"init"==t&&l.init():l.afterClose(t)}var r=this,l=r.settings,h=r._getActionItems(i),c=0;e&&(c=l.duration),i.hasClass(p+"_hidden")?(i.removeClass(p+"_hidden"),n||l.beforeOpen(s),"jquery"===l.animations?i.stop(!0,!0).slideDown(c,l.easingOpen,function(){o(s,t)}):"velocity"===l.animations&&i.velocity("finish").velocity("slideDown",{duration:c,easing:l.easingOpen,complete:function(){o(s,t)}}),i.attr("aria-hidden","false"),h.attr("tabindex","0"),r._setVisAttr(i,!1)):(i.addClass(p+"_hidden"),n||l.beforeClose(s),"jquery"===l.animations?i.stop(!0,!0).slideUp(c,this.settings.easingClose,function(){a(s,t)}):"velocity"===l.animations&&i.velocity("finish").velocity("slideUp",{duration:c,easing:l.easingClose,complete:function(){a(s,t)}}))},n.prototype._setVisAttr=function(t,e){var i=this,t=t.children("li").children("ul").not("."+p+"_hidden");e?t.each(function(){var t=d(this);t.attr("aria-hidden","true"),i._getActionItems(t).attr("tabindex","-1"),i._setVisAttr(t,e)}):t.each(function(){var t=d(this);t.attr("aria-hidden","false"),i._getActionItems(t).attr("tabindex","0"),i._setVisAttr(t,e)})},n.prototype._getActionItems=function(t){var e,i,s=t.data("menu");return s||(s={},i=(e=t.children("li")).find("a"),s.links=i.add(e.find("."+p+"_item")),t.data("menu",s)),s.links},n.prototype._outlines=function(t){t?d("."+p+"_item, ."+p+"_btn").css("outline",""):d("."+p+"_item, ."+p+"_btn").css("outline","none")},n.prototype.toggle=function(){this._menuToggle()},n.prototype.open=function(){this.btn.hasClass(p+"_collapsed")&&this._menuToggle()},n.prototype.close=function(){this.btn.hasClass(p+"_open")&&this._menuToggle()},d.fn[o]=function(e){var i,s=arguments;return void 0===e||"object"==typeof e?this.each(function(){d.data(this,"plugin_"+o)||d.data(this,"plugin_"+o,new n(this,e))}):"string"==typeof e&&"_"!==e[0]&&"init"!==e?(this.each(function(){var t=d.data(this,"plugin_"+o);t instanceof n&&"function"==typeof t[e]&&(i=t[e].apply(t,Array.prototype.slice.call(s,1)))}),void 0!==i?i:this):void 0}}(jQuery,document,window),function(t){var e=function(r,O){"use strict";if(O.getElementsByClassName){var I,L,W=O.documentElement,l=r.Date,s=r.HTMLPictureElement,h="addEventListener",H="getAttribute",c=r[h],R=r.setTimeout,d=r.requestAnimationFrame||R,p=r.requestIdleCallback,B=/^picture$/i,n=["load","error","lazyincluded","_lazyloaded"],i={},Q=Array.prototype.forEach,V=function(t,e){return i[e]||(i[e]=new RegExp("(\\s|^)"+e+"(\\s|$)")),i[e].test(t[H]("class")||"")&&i[e]},F=function(t,e){V(t,e)||t.setAttribute("class",(t[H]("class")||"").trim()+" "+e)},q=function(t,e){var i;(i=V(t,e))&&t.setAttribute("class",(t[H]("class")||"").replace(i," "))},Z=function(e,i,t){var s=t?h:"removeEventListener";t&&Z(e,i),n.forEach(function(t){e[s](t,i)})},U=function(t,e,i,s,n){var o=O.createEvent("Event");return i||(i={}),i.instance=I,o.initEvent(e,!s,!n),o.detail=i,t.dispatchEvent(o),o},X=function(t,e){var i;!s&&(i=r.picturefill||L.pf)?(e&&e.src&&!t[H]("srcset")&&t.setAttribute("srcset",e.src),i({reevaluate:!0,elements:[t]})):e&&e.src&&(t.src=e.src)},G=function(t,e){return(getComputedStyle(t,null)||{})[e]},a=function(t,e,i){for(i=i||t.offsetWidth;i49?function(){p(e,{timeout:o}),o!==L.ricTimeout&&(o=L.ricTimeout)}:J(function(){R(e)},!0);return function(t){var e;(t=!0===t)&&(o=33),i||(i=!0,e=n-(l.now()-s),e<0&&(e=0),t||e<9?a():R(a,e))}},tt=function(t){var e,i,s=99,n=function(){e=null,t()},o=function(){var t=l.now()-i;t0)&&"visible"!=G(s,"overflow")&&(i=s.getBoundingClientRect(),n=w>i.left&&yi.top-1&&_500&&W.clientWidth>500?500:370:L.expand,c=h*L.expFactor,d=L.hFac,b=null,$2&&m>2&&!O.hidden?($=c,k=0):$=m>1&&k>1&&T<6?h:z;e=a&&(_=i.top)<=v&&(w=i.right)>=a*d&&(y=i.left)<=f&&(C||w||y||_)&&(L.loadHidden||A(p[e]))&&(g&&T<3&&!r&&(m<3||k<4)||D(p[e],o))){if(S(p[e]),n=!0,T>9)break}else!n&&g&&!s&&T<4&&k<4&&m>2&&(u[0]||L.preloadAfterLoad)&&(u[0]||!r&&(C||w||y||_||"auto"!=p[e][H](L.sizesAttr)))&&(s=u[0]||p[e]);else S(p[e]);s&&!n&&S(s)}},i=K(t),N=function(t){F(t.target,L.loadedClass),q(t.target,L.loadingClass),Z(t.target,j),U(t.target,"lazyloaded")},s=J(N),j=function(t){s({target:t.target})},M=function(e,i){try{e.contentWindow.location.replace(i)}catch(t){e.src=i}},P=function(t){var e,i=t[H](L.srcsetAttr);(e=L.customMedia[t[H]("data-media")||t[H]("media")])&&t.setAttribute("media",e),i&&t.setAttribute("srcset",i)},a=J(function(t,e,i,s,n){var o,a,r,l,h,c;(h=U(t,"lazybeforeunveil",e)).defaultPrevented||(s&&(i?F(t,L.autosizesClass):t.setAttribute("sizes",s)),a=t[H](L.srcsetAttr),o=t[H](L.srcAttr),n&&(r=t.parentNode,l=r&&B.test(r.nodeName||"")),c=e.firesLoad||"src"in t&&(a||o||l),h={target:t},c&&(Z(t,E,!0),clearTimeout(d),d=R(E,2500),F(t,L.loadingClass),Z(t,j,!0)),l&&Q.call(r.getElementsByTagName("source"),P),a?t.setAttribute("srcset",a):o&&!l&&(p.test(t.nodeName)?M(t,o):t.src=o),n&&(a||l)&&X(t,{src:o})),t._lazyRace&&delete t._lazyRace,q(t,L.lazyClass),Y(function(){(!c||t.complete&&t.naturalWidth>1)&&(c?E(h):T--,N(h))},!0)}),S=function(t){var e,i=o.test(t.nodeName),s=i&&(t[H](L.sizesAttr)||t[H]("sizes")),n="auto"==s;(!n&&g||!i||!t[H]("src")&&!t.srcset||t.complete||V(t,L.errorClass)||!V(t,L.lazyClass))&&(e=U(t,"lazyunveilread").detail,n&&et.updateElem(t,!0,t.offsetWidth),t._lazyRace=!0,T++,a(t,e,n,s,i))},n=function(){if(!g){if(l.now()-e<999)return void R(n,999);var t=tt(function(){L.loadMode=3,i()});g=!0,L.loadMode=3,i(),c("scroll",function(){3==L.loadMode&&(L.loadMode=2),t()},!0)}};return{_:function(){e=l.now(),I.elements=O.getElementsByClassName(L.lazyClass),u=O.getElementsByClassName(L.lazyClass+" "+L.preloadClass),c("scroll",i,!0),c("resize",i,!0),r.MutationObserver?new MutationObserver(i).observe(W,{childList:!0,subtree:!0,attributes:!0}):(W[h]("DOMNodeInserted",i,!0),W[h]("DOMAttrModified",i,!0),setInterval(i,999)),c("hashchange",i,!0),["focus","mouseover","click","load","transitionend","animationend","webkitAnimationEnd"].forEach(function(t){O[h](t,i,!0)}),/d$|^c/.test(O.readyState)?n():(c("load",n),O[h]("DOMContentLoaded",i),R(n,2e4)),I.elements.length?(t(),Y._lsFlush()):i()},checkElems:i,unveil:S}}(),et=function(){var i,o=J(function(t,e,i,s){var n,o,a;if(t._lazysizesWidth=s,s+="px",t.setAttribute("sizes",s),B.test(e.nodeName||""))for(n=e.getElementsByTagName("source"),o=0,a=n.length;o",o)||this.op(e,"<",n)&&this.op(e,">",o))&&a.push(r);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+a.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],h.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=l("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(l("
",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},h.prototype.initializeItems=function(){var t=this.$element.find(".owl-item");if(t.length)return this._items=t.get().map(function(t){return l(t)}),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)},h.prototype.initialize=function(){var t,e;this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")&&(t=this.$element.find("img"),e=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:r,e=this.$element.children(e).width(),t.length&&e<=0&&this.preloadAutoWidthImages(t)),this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},h.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},h.prototype.setup=function(){var e=this.viewport(),t=this.options.responsive,i=-1,s=null;t?(l.each(t,function(t){t<=e&&i").addClass(this.options.itemClass).append(t)),this.trigger("prepared",{content:e.data}),e.data},h.prototype.update=function(){for(var t=0,e=this._pipe.length,i=l.proxy(function(t){return this[t]},this._invalidated),s={};t",a[t+1]!==r?a[t+1]:e-o)&&(n="left"===s?t+1:t),-1===n},this)),this.settings.loop||(this.op(i,">",a[this.minimum()])?n=i=this.minimum():this.op(i,"<",a[this.maximum()])&&(n=i=this.maximum())),n},h.prototype.animate=function(t){var e=0s););o=e+1}else o=n.center?this._items.length-1:this._items.length-n.items;return t&&(o-=this._clones.length/2),Math.max(o,0)},h.prototype.minimum=function(t){return t?0:this._clones.length/2},h.prototype.items=function(t){return t===r?this._items.slice():(t=this.normalize(t,!0),this._items[t])},h.prototype.mergers=function(t){return t===r?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},h.prototype.clones=function(i){function s(t){return t%2==0?n+t/2:e-(t+1)/2}var e=this._clones.length/2,n=e+this._items.length;return i===r?l.map(this._clones,function(t,e){return s(e)}):l.map(this._clones,function(t,e){return t===i?s(e):null})},h.prototype.speed=function(t){return t!==r&&(this._speed=t),this._speed},h.prototype.coordinates=function(t){var e,i=1,s=t-1;return t===r?l.map(this._coordinates,l.proxy(function(t,e){return this.coordinates(e)},this)):(this.settings.center?(this.settings.rtl&&(i=-1,s=t+1),e=this._coordinates[t],e+=(this.width()-e+(this._coordinates[s]||0))/2*i):e=this._coordinates[s]||0,Math.ceil(e))},h.prototype.duration=function(t,e,i){return 0===i?0:Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(i||this.settings.smartSpeed)},h.prototype.to=function(t,e){var i,s=this.current(),n=t-this.relative(s),o=(0a/2&&(n+=-1*o*a),(i=(((t=s+n)-r)%a+a)%a+r)!==t&&i-n<=l&&0":return s?t=":return s?t<=i:i<=t;case"<=":return s?i<=t:t<=i}},h.prototype.on=function(t,e,i,s){t.addEventListener?t.addEventListener(e,i,s):t.attachEvent&&t.attachEvent("on"+e,i)},h.prototype.off=function(t,e,i,s){t.removeEventListener?t.removeEventListener(e,i,s):t.detachEvent&&t.detachEvent("on"+e,i)},h.prototype.trigger=function(t,e,i,s,n){var o={item:{count:this._items.length,index:this.current()}},a=l.camelCase(l.grep(["on",t,i],function(t){return t}).join("-").toLowerCase()),r=l.Event([t,"owl",i||"carousel"].join(".").toLowerCase(),l.extend({relatedTarget:this},o,e));return this._supress[t]||(l.each(this._plugins,function(t,e){e.onTrigger&&e.onTrigger(r)}),this.register({type:h.Type.Event,name:t}),this.$element.trigger(r),this.settings&&"function"==typeof this.settings[a]&&this.settings[a].call(this,r)),r},h.prototype.enter=function(t){l.each([t].concat(this._states.tags[t]||[]),l.proxy(function(t,e){this._states.current[e]===r&&(this._states.current[e]=0),this._states.current[e]++},this))},h.prototype.leave=function(t){l.each([t].concat(this._states.tags[t]||[]),l.proxy(function(t,e){this._states.current[e]--},this))},h.prototype.register=function(i){var e;i.type===h.Type.Event?(l.event.special[i.name]||(l.event.special[i.name]={}),l.event.special[i.name].owl||(e=l.event.special[i.name]._default,l.event.special[i.name]._default=function(t){return!e||!e.apply||t.namespace&&-1!==t.namespace.indexOf("owl")?t.namespace&&-1",{class:"owl-video-tn "+l,srcType:t}):c("
",{class:"owl-video-tn",style:"opacity:1;background-image:url("+t+")"}),e.after(s),e.after('
')}var s,n,o=t.width&&t.height?"width:"+t.width+"px;height:"+t.height+"px;":"",a=e.find("img"),r="src",l="",h=this._core.settings;if(e.wrap(c("
",{class:"owl-video-wrapper",style:o})),this._core.settings.lazyLoad&&(r="data-src",l="owl-lazy"),a.length)return i(a.attr(r)),a.remove(),!1;"youtube"===t.type?(n="//img.youtube.com/vi/"+t.id+"/hqdefault.jpg",i(n)):"vimeo"===t.type?c.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){n=t[0].thumbnail_large,i(n)}}):"vzaar"===t.type&&c.ajax({type:"GET",url:"//vzaar.com/api/videos/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){n=t.framegrab_url,i(n)}})},i.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")},i.prototype.play=function(t){var e=c(t.target).closest("."+this._core.settings.itemClass),i=this._videos[e.attr("data-video")],s=i.width||"100%",n=i.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()),(t=c('')).attr("height",n),t.attr("width",s),"youtube"===i.type?t.attr("src","//www.youtube.com/embed/"+i.id+"?autoplay=1&rel=0&v="+i.id):"vimeo"===i.type?t.attr("src","//player.vimeo.com/video/"+i.id+"?autoplay=1"):"vzaar"===i.type&&t.attr("src","//view.vzaar.com/"+i.id+"/player?autoplay=true"),c(t).wrap('
').insertAfter(e.find(".owl-video")),this._playing=e.addClass("owl-video-playing"))},i.prototype.isInFullScreen=function(){var t=e.fullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement;return t&&c(t).parent().hasClass("owl-video-frame")},i.prototype.destroy=function(){var t,e;for(t in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},c.fn.owlCarousel.Constructor.Plugins.Video=i}(window.Zepto||window.jQuery,(window,document)),function(a){function e(t){this.core=t,this.core.options=a.extend({},e.Defaults,this.core.options),this.swapping=!0,this.previous=void 0,this.next=void 0,this.handlers={"change.owl.carousel":a.proxy(function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":a.proxy(function(t){t.namespace&&(this.swapping="translated"==t.type)},this),"translate.owl.carousel":a.proxy(function(t){t.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(){var t,e,i,s,n,o;1===this.core.settings.items&&a.support.animation&&a.support.transition&&(this.core.speed(0),e=a.proxy(this.clear,this),i=this.core.$stage.children().eq(this.previous),s=this.core.$stage.children().eq(this.next),n=this.core.settings.animateIn,o=this.core.settings.animateOut,this.core.current()!==this.previous&&(o&&(t=this.core.coordinates(this.previous)-this.core.coordinates(this.next),i.one(a.support.animation.end,e).css({left:t+"px"}).addClass("animated owl-animated-out").addClass(o)),n&&s.one(a.support.animation.end,e).addClass("animated owl-animated-in").addClass(n)))},e.prototype.clear=function(t){a(t.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 t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},a.fn.owlCarousel.Constructor.Plugins.Animate=e}(window.Zepto||window.jQuery,(window,document)),function(s,n,e){function i(t){this._core=t,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":s.proxy(function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":s.proxy(function(t){t.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":s.proxy(function(t,e,i){t.namespace&&this.play(e,i)},this),"stop.owl.autoplay":s.proxy(function(t){t.namespace&&this.stop()},this),"mouseover.owl.autoplay":s.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":s.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":s.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":s.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=s.extend({},i.Defaults,this._core.options)}i.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},i.prototype._next=function(t){this._call=n.setTimeout(s.proxy(this._next,this,t),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||e.hidden||this._core.next(t||this._core.settings.autoplaySpeed)},i.prototype.read=function(){return(new Date).getTime()-this._time},i.prototype.play=function(t,e){var i;this._core.is("rotating")||this._core.enter("rotating"),t=t||this._core.settings.autoplayTimeout,i=Math.min(this._time%(this._timeout||t),t),this._paused?(this._time=this.read(),this._paused=!1):n.clearTimeout(this._call),this._time+=this.read()%t-i,this._timeout=t,this._call=n.setTimeout(s.proxy(this._next,this,e),t-i)},i.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,n.clearTimeout(this._call),this._core.leave("rotating"))},i.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,n.clearTimeout(this._call))},i.prototype.destroy=function(){var t,e;for(t in this.stop(),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},s.fn.owlCarousel.Constructor.Plugins.autoplay=i}(window.Zepto||window.jQuery,window,document),function(n){"use strict";function e(t){this._core=t,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":n.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.push('
'+n(t.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"
")},this),"added.owl.carousel":n.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())},this),"remove.owl.carousel":n.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)},this),"changed.owl.carousel":n.proxy(function(t){t.namespace&&"position"==t.property.name&&this.draw()},this),"initialized.owl.carousel":n.proxy(function(t){t.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":n.proxy(function(t){t.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=n.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 t,i=this._core.settings;for(t in this._controls.$relative=(i.navContainer?n(i.navContainer):n("
").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=n("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",n.proxy(function(t){this.prev(i.navSpeed)},this)),this._controls.$next=n("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",n.proxy(function(t){this.next(i.navSpeed)},this)),i.dotsData||(this._templates=[n('