PageSourceSearch

https://www.nisekoi.jp/assets/js/libs.js

js nisekoi.jp collected 2026-10-02 12:34:53 UTC 105,234 bytes, 43 lines download raw bytes

1/*!
2 * aniplex.newslist.js
3 * Version: 1.1.1
4 * List style news format for Aniplex Style News
5 * Author: Kirksville co.,ltd.
6 * Site: www.aniplex.co.jp/
7 * Licensed: under the MIT license
8 */
9!function(e){function t(t,i){var n=this;return this.options=e.extend({},o,i),this.parent=t,this.options.beforeInit.call(this),this.init(),this.options.afterInit.call(this),{reinit:function(){n.init()}}}var i="aniplexNews",o={thumbWidth:200,thumbHeight:200,noImgPath:"no_images.jpg",targetClass:"news__item",thumbClass:"news__thumbnail",descClass:"news__description",bgSize:"cover",reduceText:140,ellipsis:"...",beforeInit:function(){},afterInit:function(){}};t.prototype.init=function(){this.elems=this.parent.find("."+this.options.targetClass),this.build()},t.prototype.build=function(){var t=this;this.elems.each(function(){t.formatting(e(this))})},t.prototype.formatting=function(e){var t,i=this,o=e.find("."+this.options.thumbClass),n=e.find("."+this.options.descClass),s=n.text(),r=s.match(/<img(?:.+?)src=["'](.+?)['"](?:.+?)>/i);r=null!==r?r[1]:i.options.noImgPath,t=o.find("a"),0===t.length&&(t=o),t.css({display:"block",width:i.options.thumbWidth,height:i.options.thumbHeight,background:"url("+r+") top center","background-size":i.options.bgSize}).find("img").remove(),n.text(i.ellipsisText(s))},t.prototype.ellipsisText=function(t){var i=e("<div></div>").html(t).text();return this.options.reduceText!==!1&&(i=i.slice(0,this.options.reduceText)),this.options.ellipsis!==!1&&(i+=this.options.ellipsis),i},e.fn[i]=function(e){if(1===this.length&&!this.data("aniplex_news")){var i=new t(this,e);return this.data("aniplex_news",i),this}}}(jQuery,window,document),/*!
10 * fixedGrid.js
11 * Version: 0.8.0
12 * Author: Hiroki Ishiwatari
13 * Licensed: under the MIT license
14 */
15!function(e,t){"use strict";function i(t,i){var o=this;o.options=e.extend({},n,i),o.target=t,o.init()}var o="fixedGrid",n={parentSelector:null,itemSelector:null,maxWidth:null,minWidth:null,column:null,diff:0};i.prototype.init=function(){var i=this;i.elements=null!==i.options.itemSelector?i.target.find(i.options.itemSelector):i.target.children(),i.parent=null!==i.options.parentSelector?i.target.parents(i.options.parentSelector):e(t),null===i.options.column&&(i.options.column=i.elements.outerWidth(!0)),i.build()},i.prototype.build=function(){var e=this;e.bindEvents(),e.calcWidth()},i.prototype.bindEvents=function(){var i=this;e(t).on("resize",function(){i.calcWidth()})},i.prototype.calcWidth=function(){var e=this,t=e.options,i=e.parent.width(),o=t.column,n=~~(i/o),s=t.diff-0,r=t.minWidth-0||0,a=t.maxWidth-0||0;r>0&&r>i&&(n=~~(t.minWidth/o)),a>0&&i>a&&(n=~~(t.maxWidth/o)),e.target.width(o*n+s)},e.fn[o]=function(e){if(null!==this[0]){var t=new i(this,e);return this.data("fixedGrid",t),this}}}(jQuery,window,document),/*!
16	Colorbox 1.6.0
17	license: MIT
18	http://www.jacklmoore.com/colorbox
19*/
20function(e,t,i){function o(i,o,n){var s=t.createElement(i);return o&&(s.id=J+o),n&&(s.style.cssText=n),e(s)}function n(){return i.innerHeight?i.innerHeight:e(i).height()}function s(t,i){i!==Object(i)&&(i={}),this.cache={},this.el=t,this.value=function(t){var o;return void 0===this.cache[t]&&(o=e(this.el).attr("data-cbox-"+t),void 0!==o?this.cache[t]=o:void 0!==i[t]?this.cache[t]=i[t]:void 0!==Z[t]&&(this.cache[t]=Z[t])),this.cache[t]},this.get=function(t){var i=this.value(t);return e.isFunction(i)?i.call(this.el,this):i}}function r(e){var t=P.length,i=(R+e)%t;return 0>i?t+i:i}function a(e,t){return Math.round((/%/.test(e)?("x"===t?$.width():n())/100:1)*parseInt(e,10))}function l(e,t){return e.get("photo")||e.get("photoRegex").test(t)}function c(e,t){return e.get("retinaUrl")&&i.devicePixelRatio>1?t.replace(e.get("photoRegex"),e.get("retinaSuffix")):t}function d(e){"contains"in w[0]&&!w[0].contains(e.target)&&e.target!==y[0]&&(e.stopPropagation(),w.focus())}function p(e){p.str!==e&&(w.add(y).removeClass(p.str).addClass(e),p.str=e)}function u(t){R=0,t&&t!==!1&&"nofollow"!==t?(P=e("."+et).filter(function(){var i=e.data(this,K),o=new s(this,i);return o.get("rel")===t}),R=P.index(F.el),-1===R&&(P=P.add(F.el),R=P.length-1)):P=e(F.el)}function h(i){e(t).trigger(i),at.triggerHandler(i)}function f(i){var n;if(!U){if(n=e(i).data(K),F=new s(i,n),u(F.get("rel")),!_){_=X=!0,p(F.get("className")),w.css({visibility:"hidden",display:"block",opacity:""}),A=o(lt,"LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden"),S.css({width:"",height:""}).append(A),I=x.height()+C.height()+S.outerHeight(!0)-S.height(),N=T.width()+k.width()+S.outerWidth(!0)-S.width(),D=A.outerHeight(!0),q=A.outerWidth(!0);var r=a(F.get("initialWidth"),"x"),l=a(F.get("initialHeight"),"y"),c=F.get("maxWidth"),f=F.get("maxHeight");F.w=(c!==!1?Math.min(r,a(c,"x")):r)-q-N,F.h=(f!==!1?Math.min(l,a(f,"y")):l)-D-I,A.css({width:"",height:F.h}),G.position(),h(tt),F.get("onOpen"),z.add(H).hide(),w.focus(),F.get("trapFocus")&&t.addEventListener&&(t.addEventListener("focus",d,!0),at.one(st,function(){t.removeEventListener("focus",d,!0)})),F.get("returnFocus")&&at.one(st,function(){e(F.el).focus()})}var g=parseFloat(F.get("opacity"));
vendor: 9,322 bytes, line 20
20y.css({opacity:g===g?g:"",cursor:F.get("overlayClose")?"pointer":"",visibility:"visible"}).show(),F.get("closeButton")?W.html(F.get("close")).appendTo(S):W.appendTo("<div/>"),m()}}function g(){w||(Q=!1,$=e(i),w=o(lt).attr({id:K,"class":e.support.opacity===!1?J+"IE":"",role:"dialog",tabindex:"-1"}).hide(),y=o(lt,"Overlay").hide(),V=e([o(lt,"LoadingOverlay")[0],o(lt,"LoadingGraphic")[0]]),b=o(lt,"Wrapper"),S=o(lt,"Content").append(H=o(lt,"Title"),j=o(lt,"Current"),O=e('<button type="button"/>').attr({id:J+"Previous"}),L=e('<button type="button"/>').attr({id:J+"Next"}),M=o("button","Slideshow"),V),W=e('<button type="button"/>').attr({id:J+"Close"}),b.append(o(lt).append(o(lt,"TopLeft"),x=o(lt,"TopCenter"),o(lt,"TopRight")),o(lt,!1,"clear:left").append(T=o(lt,"MiddleLeft"),S,k=o(lt,"MiddleRight")),o(lt,!1,"clear:left").append(o(lt,"BottomLeft"),C=o(lt,"BottomCenter"),o(lt,"BottomRight"))).find("div div").css({"float":"left"}),E=o(lt,!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),z=L.add(O).add(j).add(M)),t.body&&!w.parent().length&&e(t.body).append(y,w.append(b,E))}function v(){function i(e){e.which>1||e.shiftKey||e.altKey||e.metaKey||e.ctrlKey||(e.preventDefault(),f(this))}return w?(Q||(Q=!0,L.click(function(){G.next()}),O.click(function(){G.prev()}),W.click(function(){G.close()}),y.click(function(){F.get("overlayClose")&&G.close()}),e(t).bind("keydown."+J,function(e){var t=e.keyCode;_&&F.get("escKey")&&27===t&&(e.preventDefault(),G.close()),_&&F.get("arrowKey")&&P[1]&&!e.altKey&&(37===t?(e.preventDefault(),O.click()):39===t&&(e.preventDefault(),L.click()))}),e.isFunction(e.fn.on)?e(t).on("click."+J,"."+et,i):e("."+et).live("click."+J,i)),!0):!1}function m(){var t,n,s,r=G.prep,d=++ct;if(X=!0,B=!1,h(rt),h(it),F.get("onLoad"),F.h=F.get("height")?a(F.get("height"),"y")-D-I:F.get("innerHeight")&&a(F.get("innerHeight"),"y"),F.w=F.get("width")?a(F.get("width"),"x")-q-N:F.get("innerWidth")&&a(F.get("innerWidth"),"x"),F.mw=F.w,F.mh=F.h,F.get("maxWidth")&&(F.mw=a(F.get("maxWidth"),"x")-q-N,F.mw=F.w&&F.w<F.mw?F.w:F.mw),F.get("maxHeight")&&(F.mh=a(F.get("maxHeight"),"y")-D-I,F.mh=F.h&&F.h<F.mh?F.h:F.mh),t=F.get("href"),Y=setTimeout(function(){V.show()},100),F.get("inline")){var p=e(t);s=e("<div>").hide().insertBefore(p),at.one(rt,function(){s.replaceWith(p)}),r(p)}else F.get("iframe")?r(" "):F.get("html")?r(F.get("html")):l(F,t)?(t=c(F,t),B=F.get("createImg"),e(B).addClass(J+"Photo").bind("error",function(){r(o(lt,"Error").html(F.get("imgError")))}).one("load",function(){d===ct&&setTimeout(function(){var e;F.get("retinaImage")&&i.devicePixelRatio>1&&(B.height=B.height/i.devicePixelRatio,B.width=B.width/i.devicePixelRatio),F.get("scalePhotos")&&(n=function(){B.height-=B.height*e,B.width-=B.width*e},F.mw&&B.width>F.mw&&(e=(B.width-F.mw)/B.width,n()),F.mh&&B.height>F.mh&&(e=(B.height-F.mh)/B.height,n())),F.h&&(B.style.marginTop=Math.max(F.mh-B.height,0)/2+"px"),P[1]&&(F.get("loop")||P[R+1])&&(B.style.cursor="pointer",B.onclick=function(){G.next()}),B.style.width=B.width+"px",B.style.height=B.height+"px",r(B)},1)}),B.src=t):t&&E.load(t,F.get("data"),function(t,i){d===ct&&r("error"===i?o(lt,"Error").html(F.get("xhrError")):e(this).contents())})}var y,w,b,S,x,T,k,C,P,$,A,E,V,H,j,M,L,O,W,z,F,I,N,D,q,R,B,_,X,U,Y,G,Q,Z={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return e(this).attr("href")},title:function(){return this.title},createImg:function(){var t=new Image,i=e(this).data("cbox-img-attrs");return"object"==typeof i&&e.each(i,function(e,i){t[e]=i}),t},createIframe:function(){var i=t.createElement("iframe"),o=e(this).data("cbox-iframe-attrs");return"object"==typeof o&&e.each(o,function(e,t){i[e]=t}),"frameBorder"in i&&(i.frameBorder=0),"allowTransparency"in i&&(i.allowTransparency="true"),i.name=(new Date).getTime(),i.allowFullScreen=!0,i}},K="colorbox",J="cbox",et=J+"Element",tt=J+"_open",it=J+"_load",ot=J+"_complete",nt=J+"_cleanup",st=J+"_closed",rt=J+"_purge",at=e("<a/>"),lt="div",ct=0,dt={},pt=function(){function e(){clearTimeout(r)}function t(){(F.get("loop")||P[R+1])&&(e(),r=setTimeout(G.next,F.get("slideshowSpeed")))}function i(){M.html(F.get("slideshowStop")).unbind(l).one(l,o),at.bind(ot,t).bind(it,e),w.removeClass(a+"off").addClass(a+"on")}function o(){e(),at.unbind(ot,t).unbind(it,e),M.html(F.get("slideshowStart")).unbind(l).one(l,function(){G.next(),i()}),w.removeClass(a+"on").addClass(a+"off")}function n(){s=!1,M.hide(),e(),at.unbind(ot,t).unbind(it,e),w.removeClass(a+"off "+a+"on")}var s,r,a=J+"Slideshow_",l="click."+J;return function(){s?F.get("slideshow")||(at.unbind(nt,n),n()):F.get("slideshow")&&P[1]&&(s=!0,at.one(nt,n),F.get("slideshowAuto")?i():o(),M.show())}}();e[K]||(e(g),G=e.fn[K]=e[K]=function(t,i){var o,n=this;return t=t||{},e.isFunction(n)&&(n=e("<a/>"),t.open=!0),n[0]?(g(),v()&&(i&&(t.onComplete=i),n.each(function(){var i=e.data(this,K)||{};e.data(this,K,e.extend(i,t))}).addClass(et),o=new s(n[0],t),o.get("open")&&f(n[0])),n):n},G.position=function(t,i){function o(){x[0].style.width=C[0].style.width=S[0].style.width=parseInt(w[0].style.width,10)-N+"px",S[0].style.height=T[0].style.height=k[0].style.height=parseInt(w[0].style.height,10)-I+"px"}var s,r,l,c=0,d=0,p=w.offset();if($.unbind("resize."+J),w.css({top:-9e4,left:-9e4}),r=$.scrollTop(),l=$.scrollLeft(),F.get("fixed")?(p.top-=r,p.left-=l,w.css({position:"fixed"})):(c=r,d=l,w.css({position:"absolute"})),d+=F.get("right")!==!1?Math.max($.width()-F.w-q-N-a(F.get("right"),"x"),0):F.get("left")!==!1?a(F.get("left"),"x"):Math.round(Math.max($.width()-F.w-q-N,0)/2),c+=F.get("bottom")!==!1?Math.max(n()-F.h-D-I-a(F.get("bottom"),"y"),0):F.get("top")!==!1?a(F.get("top"),"y"):Math.round(Math.max(n()-F.h-D-I,0)/2),w.css({top:p.top,left:p.left,visibility:"visible"}),b[0].style.width=b[0].style.height="9999px",s={width:F.w+q+N,height:F.h+D+I,top:c,left:d},t){var u=0;e.each(s,function(e){return s[e]!==dt[e]?void(u=t):void 0}),t=u}dt=s,t||w.css(s),w.dequeue().animate(s,{duration:t||0,complete:function(){o(),X=!1,b[0].style.width=F.w+q+N+"px",b[0].style.height=F.h+D+I+"px",F.get("reposition")&&setTimeout(function(){$.bind("resize."+J,G.position)},1),e.isFunction(i)&&i()},step:o})},G.resize=function(e){var t;_&&(e=e||{},e.width&&(F.w=a(e.width,"x")-q-N),e.innerWidth&&(F.w=a(e.innerWidth,"x")),A.css({width:F.w}),e.height&&(F.h=a(e.height,"y")-D-I),e.innerHeight&&(F.h=a(e.innerHeight,"y")),e.innerHeight||e.height||(t=A.scrollTop(),A.css({height:"auto"}),F.h=A.height()),A.css({height:F.h}),t&&A.scrollTop(t),G.position("none"===F.get("transition")?0:F.get("speed")))},G.prep=function(i){function n(){return F.w=F.w||A.width(),F.w=F.mw&&F.mw<F.w?F.mw:F.w,F.w}function a(){return F.h=F.h||A.height(),F.h=F.mh&&F.mh<F.h?F.mh:F.h,F.h}if(_){var d,u="none"===F.get("transition")?0:F.get("speed");A.remove(),A=o(lt,"LoadedContent").append(i),A.hide().appendTo(E.show()).css({width:n(),overflow:F.get("scrolling")?"auto":"hidden"}).css({height:a()}).prependTo(S),E.hide(),e(B).css({"float":"none"}),p(F.get("className")),d=function(){function i(){e.support.opacity===!1&&w[0].style.removeAttribute("filter")}var o,n,a=P.length;_&&(n=function(){clearTimeout(Y),V.hide(),h(ot),F.get("onComplete")},H.html(F.get("title")).show(),A.show(),a>1?("string"==typeof F.get("current")&&j.html(F.get("current").replace("{current}",R+1).replace("{total}",a)).show(),L[F.get("loop")||a-1>R?"show":"hide"]().html(F.get("next")),O[F.get("loop")||R?"show":"hide"]().html(F.get("previous")),pt(),F.get("preloading")&&e.each([r(-1),r(1)],function(){var i,o=P[this],n=new s(o,e.data(o,K)),r=n.get("href");r&&l(n,r)&&(r=c(n,r),i=t.createElement("img"),i.src=r)})):z.hide(),F.get("iframe")?(o=F.get("createIframe"),F.get("scrolling")||(o.scrolling="no"),e(o).attr({src:F.get("href"),"class":J+"Iframe"}).one("load",n).appendTo(A),at.one(rt,function(){o.src="//about:blank"}),F.get("fastIframe")&&e(o).trigger("load")):n(),"fade"===F.get("transition")?w.fadeTo(u,1,i):i())},"fade"===F.get("transition")?w.fadeTo(u,0,function(){G.position(0,d)}):G.position(u,d)}},G.next=function(){!X&&P[1]&&(F.get("loop")||P[R+1])&&(R=r(1),f(P[R]))},G.prev=function(){!X&&P[1]&&(F.get("loop")||R)&&(R=r(-1),f(P[R]))},G.close=function(){_&&!U&&(U=!0,_=!1,h(nt),F.get("onCleanup"),$.unbind("."+J),y.fadeTo(F.get("fadeOut")||0,0),w.stop().fadeTo(F.get("fadeOut")||0,0,function(){w.hide(),y.hide(),h(rt),A.remove(),setTimeout(function(){U=!1,h(st),F.get("onClosed")},1)}))}
20,G.remove=function(){w&&(w.stop(),e[K].close(),w.stop(!1,!0).remove(),y.remove(),U=!1,w=null,e("."+et).removeData(K).removeClass(et),e(t).unbind("click."+J).unbind("keydown."+J))},G.element=function(){return e(F.el)},G.settings=Z)}(jQuery,document,window),/*!
21 * Glide.js
22 * Version: 1.0.7
23 * Simple, lightweight and fast jQuery slider
24 * Author: @JedrzejChalubek
25 * Site: http://jedrzejchalubek.com/
26 * Licensed under the MIT license
27 */
28!function(e,t,i,o){function n(t,i){var o=this;return this.options=e.extend({},r,i),this.currentSlide=0,this.cssSupport=this.options.forceJS?!1:this.css.isSupported("transition")&&this.css.isSupported("transform")?!0:!1,"fade"==this.options.transitionType&&(this.options.circular=!1),this.offset=this.options.circular?2:0,this.options.beforeInit.call(this),this.parent=t,this.init(),this.play(),this.options.afterInit.call(this),{current:function(){return-o.currentSlide+1},reinit:function(){o.init()},destroy:function(){o.destroy()},play:function(){o.play()},pause:function(){o.pause()},next:function(e){o.slide(1,!1,e)},prev:function(e){o.slide(-1,!1,e)},jump:function(e,t){o.slide(e-1,!0,t)},nav:function(e){o.navigation.wrapper&&o.navigation.wrapper.remove(),o.options.navigation=e?e:o.options.navigation,o.navigation()},arrows:function(e){o.arrows.wrapper&&o.arrows.wrapper.remove(),o.options.arrows=e?e:o.options.arrows,o.arrows()}}}var s="glide",r={autoplay:4e3,hoverpause:!0,circular:!0,transitionType:"slide",animationDuration:500,animationTimingFunc:"cubic-bezier(0.165, 0.840, 0.440, 1.000)",arrows:!0,arrowsWrapperClass:"slider__arrows",arrowMainClass:"slider__arrows-item",arrowRightClass:"slider__arrows-item--right",arrowRightText:"next",arrowLeftClass:"slider__arrows-item--left",arrowLeftText:"prev",navigation:!0,navigationCenter:!0,navigationClass:"slider__nav",navigationItemClass:"slider__nav-item",navigationCurrentItemClass:"slider__nav-item--current",sliderCurrentItemClass:"slider__item--current",keyboard:!0,touchDistance:60,forceJS:!1,beforeInit:function(){},afterInit:function(){},beforeTransition:function(){},afterTransition:function(){}};n.prototype.build=function(){"fade"==this.options.transitionType&&(this.slides.css({opacity:0,position:"absolute"}),this.cssSupport&&this.slides.css({transition:"opacity "+this.options.animationDuration+"ms linear"}),this.slides.filter(":first-child").css({opacity:1,"z-index":"2"}).animate({opacity:1},this.options.animationDuration)),this.bindings(),this.slides.filter(":first-child").addClass(this.options.sliderCurrentItemClass),this.slides.length>1&&(this.options.circular&&this.circular(),this.options.arrows&&this.arrows(),this.options.navigation&&this.navigation()),this.events()},n.prototype.circular=function(){this.firstClone=this.slides.filter(":first-child").clone().width(this.slides.spread).removeClass(this.options.sliderCurrentItemClass),this.lastClone=this.slides.filter(":last-child").clone().width(this.slides.spread),this.wrapper.append(this.firstClone).prepend(this.lastClone).width(this.parent.width()*(this.slides.length+2)).trigger("clearTransition").trigger("setTranslate",[-this.slides.spread])},n.prototype.navigation=function(){this.navigation.items={},this.navigation.wrapper=e("<div />",{"class":this.options.navigationClass}).appendTo(this.options.navigation===!0?this.parent:this.options.navigation);for(var t=0;t<this.slides.length;t++)this.navigation.items[t]=e("<a />",{href:"#","class":this.options.navigationItemClass,"data-distance":t}).appendTo(this.navigation.wrapper);this.navigation.items[0].addClass(this.options.navigationCurrentItemClass),this.options.navigationCenter&&this.navigation.wrapper.css({left:"50%",width:this.navigation.wrapper.children().outerWidth(!0)*this.navigation.wrapper.children().length,"margin-left":-(this.navigation.wrapper.outerWidth(!0)/2)})},n.prototype.arrows=function(){this.arrows.wrapper=e("<div />",{"class":this.options.arrowsWrapperClass}).appendTo(this.options.arrows===!0?this.parent:this.options.arrows),this.arrows.right=e("<div />",{"class":this.options.arrowMainClass+" "+this.options.arrowRightClass,"data-distance":"1",html:this.options.arrowRightText}).appendTo(this.arrows.wrapper),this.arrows.left=e("<div />",{"class":this.options.arrowMainClass+" "+this.options.arrowLeftClass,"data-distance":"-1",html:this.options.arrowLeftText}).appendTo(this.arrows.wrapper)},n.prototype.bindings=function(){var t=this,i=this.options,o=this.css.getPrefix();this.wrapper.bind({setTransition:function(){e(this).css(o+"transition",o+"transform "+i.animationDuration+"ms "+i.animationTimingFunc)},clearTransition:function(){e(this).css(o+"transition","none")},setTranslate:function(i,n){t.cssSupport?e(this).css(o+"transform","translate3d("+n+"px, 0px, 0px)"):e(this).css("margin-left",n)}})},n.prototype.events=function(){this.options.touchDistance&&this.parent.on({"touchstart MSPointerDown":e.proxy(this.events.touchstart,this),"touchmove MSPointerMove":e.proxy(this.events.touchmove,this),"touchend MSPointerUp":e.proxy(this.events.touchend,this)}),this.arrows.wrapper&&e(this.arrows.wrapper).children().on("click touchstart",e.proxy(this.events.arrows,this)),this.navigation.wrapper&&e(this.navigation.wrapper).children().on("click touchstart",e.proxy(this.events.navigation,this)),this.options.keyboard&&e(i).on("keyup.glideKeyup",e.proxy(this.events.keyboard,this)),this.options.hoverpause&&this.parent.on("mouseover mouseout",e.proxy(this.events.hover,this)),e(t).on("resize",e.proxy(this.events.resize,this))},n.prototype.events.navigation=function(t){this.wrapper.attr("disabled")||(t.preventDefault(),this.slide(e(t.currentTarget).data("distance"),!0))},n.prototype.events.arrows=function(t){this.wrapper.attr("disabled")||(t.preventDefault(),this.slide(e(t.currentTarget).data("distance"),!1))},n.prototype.events.keyboard=function(e){this.wrapper.attr("disabled")||(39===e.keyCode&&this.slide(1),37===e.ke
28yCode&&this.slide(-1))},n.prototype.events.hover=function(e){this.pause(),"mouseout"===e.type&&this.play()},n.prototype.events.resize=function(){this.dimensions(),this.slide(0)},n.prototype.disableEvents=function(){this.wrapper.attr("disabled",!0)},n.prototype.enableEvents=function(){this.wrapper.attr("disabled",!1)},n.prototype.events.touchstart=function(e){if(!this.wrapper.attr("disabled")){var t=e.originalEvent.touches[0]||e.originalEvent.changedTouches[0];this.events.touchStartX=t.pageX,this.events.touchStartY=t.pageY,this.events.touchSin=null}},n.prototype.events.touchmove=function(e){if(!this.wrapper.attr("disabled")){var t=e.originalEvent.touches[0]||e.originalEvent.changedTouches[0],i=t.pageX-this.events.touchStartX,o=t.pageY-this.events.touchStartY,n=Math.abs(i<<2),s=Math.abs(o<<2),r=Math.sqrt(n+s),a=Math.sqrt(s);this.events.touchSin=Math.asin(a/r),this.events.touchSin*(180/Math.PI)<45&&e.preventDefault()}},n.prototype.events.touchend=function(e){if(!this.wrapper.attr("disabled")){var t=e.originalEvent.touches[0]||e.originalEvent.changedTouches[0],i=t.pageX-this.events.touchStartX;i>this.options.touchDistance&&this.events.touchSin*(180/Math.PI)<45?this.slide(-1):i<-this.options.touchDistance&&this.events.touchSin*(180/Math.PI)<45&&this.slide(1)}},n.prototype.slide=function(t,i,o){if(this.slides.length<=1)return!1;this.pause(),this.options.beforeTransition.call(this);var n=this,s=i?0:this.currentSlide,r=-(this.slides.length-1),a=!1,l=!1;0===s&&-1===t?(a=!0,s=r):s===r&&1===t?(l=!0,s=0):s+=-t;var c=this.slides.spread*s;this.options.circular?e(".slider__wrapper").children().eq(-s+1).addClass(this.options.sliderCurrentItemClass).siblings().removeClass(this.options.sliderCurrentItemClass):e(".slider__wrapper").children().eq(-s).addClass(this.options.sliderCurrentItemClass).siblings().removeClass(this.options.sliderCurrentItemClass),this.options.circular&&(c-=this.slides.spread,(l||a)&&this.disableEvents(),l&&(c=this.slides.spread*(r-2)),a&&(c=0)),"slide"==this.options.transitionType?this.cssSupport?this.wrapper.trigger("setTransition").trigger("setTranslate",[c]):this.wrapper.stop().animate({"margin-left":c},this.options.animationDuration):(tempAnimationDuration=this.cssSupport?0:this.options.animationDuration,e(".slider__wrapper").children().eq(-s).css("z-index","2").stop(!0,!1).animate({opacity:1},tempAnimationDuration).siblings().css("z-index","1").stop(!0,!0).delay(tempAnimationDuration).animate({opacity:0}
28,0)),this.options.circular&&((a||l)&&this.afterAnimation(function(){n.wrapper.trigger("clearTransition"),n.enableEvents()}),l&&this.afterAnimation(function(){l=!1,n.wrapper.trigger("setTranslate",[-n.slides.spread])}),a&&this.afterAnimation(function(){a=!1,n.wrapper.trigger("setTranslate",[n.slides.spread*(r-1)])})),this.options.navigation&&this.navigation.wrapper&&e("."+this.options.navigationClass,this.options.navigation===!0?this.parent:this.options.navigation).children().eq(-s).addClass(this.options.navigationCurrentItemClass).siblings().removeClass(this.options.navigationCurrentItemClass),this.currentSlide=s,this.afterAnimation(function(){n.options.afterTransition.call(n),"undefined"!==o&&"function"==typeof o&&o()}),this.play()},n.prototype.play=function(){var e=this;this.options.autoplay&&(this.auto=setInterval(function(){e.slide(1,!1)},this.options.autoplay))},n.prototype.pause=function(){this.options.autoplay&&(this.auto=clearInterval(this.auto))},n.prototype.afterAnimation=function(e){setTimeout(function(){e()},this.options.animationDuration+10)},n.prototype.dimensions=function(){this.slides.spread=this.parent.width(),this.wrapper.width("slide"==this.options.transitionType?this.slides.spread*(this.slides.length+this.offset):this.slides.spread),this.slides.add(this.firstClone).add(this.lastClone).width(this.slides.spread)},n.prototype.destroy=function(){this.parent.unbind(),this.wrapper.unbind(),this.wrapper.removeAttr("style"),e(this.navigation.wrapper).children().unbind(),e(this.arrows.wrapper).children().unbind(),this.slide(0,!0),this.pause(),this.options.circular&&(this.firstClone.remove(),this.lastClone.remove())},n.prototype.init=function(){this.wrapper=this.parent.children(),this.slides=this.wrapper.children(),this.dimensions(),this.build()},n.prototype.css={isSupported:function(e){var n=!1,s="Khtml ms O Moz Webkit".split(" "),r=i.createElement("div"),a=null;if(e=e.toLowerCase(),r.style[e]!==o&&(n=!0),n===!1){a=e.charAt(0).toUpperCase()+e.substr(1);for(var l=0;l<s.length;l++)if(r.style[s[l]+a]!==o){n=!0;break}}return t.opera&&t.opera.version()<13&&(n=!1),("undefined"===n||n===o)&&(n=!1),n},getPrefix:function(){if(!t.getComputedStyle)return"";var e=t.getComputedStyle(i.documentElement,"");return"-"+(Array.prototype.slice.call(e).join("").match(/-(moz|webkit|ms)-/)||""===e.OLink&&["","o"])[1]+"-"}},e.fn[s]=function(t){return this.each(function(){e.data(this,"api_"+s)||e.data(this,"api_"+s,new n(e(this),t))})}}(jQuery,window,document),function(e){function t(t){var i=e(this),o=null,n=[],s=null,r=null,a=e.extend({rowSelector:"> li",submenuSelector:"*",submenuDirection:"right",tolerance:75,enter:e.noop,exit:e.noop,activate:e.noop,deactivate:e.noop,exitMenu:e.noop},t),l=3,c=300,d=function(e){n.push({x:e.pageX,y:e.pageY}),n.length>l&&n.shift()},p=function(){r&&clearTimeout(r),a.exitMenu(this)&&(o&&a.deactivate(o),o=null)},u=function(){r&&clearTimeout(r),a.enter(this),v(this)},h=function(){a.exit(this)},f=function(){g(this)},g=function(e){e!=o&&(o&&a.deactivate(o),a.activate(e),o=e)},v=function(e){var t=m();t?r=setTimeout(function(){v(e)},t):g(e)},m=function(){function t(e,t){return(t.y-e.y)/(t.x-e.x)}if(!o||!e(o).is(a.submenuSelector))return 0;var r=i.offset(),l={x:r.left,y:r.top-a.tolerance},d={x:r.left+i.outerWidth(),y:l.y},p={x:r.left,y:r.top+i.outerHeight()+a.tolerance},u={x:r.left+i.outerWidth(),y:p.y},h=n[n.length-1],f=n[0];if(!h)return 0;if(f||(f=h),f.x<r.left||f.x>u.x||f.y<r.top||f.y>u.y)return 0;if(s&&h.x==s.x&&h.y==s.y)return 0;var g=d,v=u;"left"==a.submenuDirection?(g=p,v=l):"below"==a.submenuDirection?(g=u,v=p):"above"==a.submenuDirection&&(g=l,v=d);var m=t(h,g),y=t(h,v),w=t(f,g),b=t(f,v);return w>m&&y>b?(s=h,c):(s=null,0)};i.mouseleave(p).find(a.rowSelector).mouseenter(u).mouseleave(h).click(f),e(document).mousemove(d)}e.fn.menuAim=function(e){return this.each(function(){t.call(this,e)}),this}}(jQuery),/*!
29* Velocity.js: Accelerated JavaScript animation.
30* @version 0.10.1
31* @docs http://VelocityJS.org
32* @license Copyright 2014 Julian Shapiro. MIT License: http://en.wikipedia.org/wiki/MIT_License
33*/
34!function(e,t,i,o){function n(e){for(var t=-1,i=e?e.length:0,o=[];++t<i;){var n=e[t];n&&o.push(n)}return o}function s(e){var t=m.data(e,d);return null===t?o:t}function r(e){return function(t){return Math.round(t*e)*(1/e)}}function a(e,t){var i=e;return v.isString(e)?y.Easings[e]||(i=!1):i=v.isArray(e)&&1===e.length?r.apply(null,e):v.isArray(e)&&2===e.length?b.apply(null,e.concat([t])):v.isArray(e)&&4===e.length?w.apply(null,e):!1,i===!1&&(i=y.Easings[y.defaults.easing]?y.defaults.easing:u),i}function l(e){if(e)for(var t=(new Date).getTime(),i=0,n=y.State.calls.length;n>i;i++)if(y.State.calls[i]){var r=y.State.calls[i],a=r[0],d=r[2],p=r[3];p||(p=y.State.calls[i][3]=t-16);for(var u=Math.min((t-p)/d.duration,1),h=0,f=a.length;f>h;h++){var m=a[h],w=m.element;if(s(w)){var b=!1;d.display&&"none"!==d.display&&S.setPropertyValue(w,"display",d.display),d.visibility&&"hidden"
34!==d.visibility&&S.setPropertyValue(w,"visibility",d.visibility);for(var x in m)if("element"!==x){var T,k=m[x],C=v.isString(k.easing)?y.Easings[k.easing]:k.easing;if(T=1===u?k.endValue:k.startValue+(k.endValue-k.startValue)*C(u),k.currentValue=T,S.Hooks.registered[x]){var P=S.Hooks.getRoot(x),$=s(w).rootPropertyValueCache[P];$&&(k.rootPropertyValue=$)}var A=S.setPropertyValue(w,x,k.currentValue+(0===parseFloat(T)?"":k.unitType),k.rootPropertyValue,k.scrollData);S.Hooks.registered[x]&&(s(w).rootPropertyValueCache[P]=S.Normalizations.registered[P]?S.Normalizations.registered[P]("extract",null,A[1]):A[1]),"transform"===A[0]&&(b=!0)}d.mobileHA&&s(w).transformCache.translate3d===o&&(s(w).transformCache.translate3d="(0px, 0px, 0px)",b=!0),b&&S.flushTransformCache(w)}}d.display&&"none"!==d.display&&(y.State.calls[i][2].display=!1),d.visibility&&"hidden"!==d.visibility&&(y.State.calls[i][2].visibility=!1),d.progress&&d.progress.call(r[1],r[1],u,Math.max(0,p+d.duration-t),p),1===u&&c(i)}y.State.isTicking&&(y.mock?l(!0):g(l))}function c(e,t){if(!y.State.calls[e])return!1;for(var i=y.State.calls[e][0],n=y.State.calls[e][1],r=y.State.calls[e][2],a=y.State.calls[e][4],l=!1,c=0,d=i.length;d>c;c++){var p=i[c].element;if(t||r.loop||("none"===r.display&&S.setPropertyValue(p,"display",r.display),"hidden"===r.visibility&&S.setPropertyValue(p,"visibility",r.visibility)),(m.queue(p)[1]===o||!/\.velocityQueueEntryFlag/i.test(m.queue(p)[1]))&&s(p)){s(p).isAnimating=!1,s(p).rootPropertyValueCache={};var u=!1;m.each(s(p).transformCache,function(e,t){var i=/^scale/.test(e)?1:0;new RegExp("^\\("+i+"[^.]").test(t)&&(u=!0,delete s(p).transformCache[e])}),r.mobileHA&&(u=!0,delete s(p).transformCache.translate3d),u&&S.flushTransformCache(p),S.Values.removeClass(p,"velocity-animating")}if(!t&&r.complete&&!r.loop&&c===d-1)try{r.complete.call(n,n)}catch(h){setTimeout(function(){throw h},1)}a&&r.loop!==!0&&a(n),r.loop!==!0||t||y.animate(p,"reverse",{loop:!0,delay:r.delay}),r.queue!==!1&&m.dequeue(p,r.queue)}y.State.calls[e]=!1;for(var f=0,g=y.State.calls.length;g>f;f++)if(y.State.calls[f]!==!1){l=!0;break}l===!1&&(y.State.isTicking=!1,delete y.State.calls,y.State.calls=[])}var d="velocity",p=400,u="swing",h=function(){if(i.documentMode)return i.documentMode;for(var e=7;e>4;e--){var t=i.createElement("div");if(t.innerHTML="<!--[if IE "+e+"]><span></span><![endif]-->",t.getElementsByTagName("span").length)return t=null,e}return o}(),f=function(){var e=0;return t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||function(t){var i,o=(new Date).getTime();return i=Math.max(0,16-(o-e)),e=o+i,setTimeout(function(){t(o+i)},i)}}(),g=t.requestAnimationFrame||f,v={isString:function(e){return"string"==typeof e},isArray:Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},isFunction:function(e){return"[object Function]"===Object.prototype.toString.call(e)},isNode:function(e){return e&&e.nodeType},isNodeList:function(e){return"object"==typeof e&&/^\[object (HTMLCollection|NodeList|Object)\]$/.test(Object.prototype.toString.call(e))&&e.length!==o&&(0===e.length||"object"==typeof e[0]&&e[0].nodeType>0)},isWrapped:function(e){return e&&(e.jquery||t.Zepto&&t.Zepto.zepto.isZ(e))},isSVG:function(e){return t.SVGElement&&e instanceof SVGElement},isEmptyObject:function(e){var t;for(t in e)return!1;return!0}},m=t.jQuery||e.Velocity&&e.Velocity.Utilities;if(!m)throw new Error("Velocity: Either jQuery or Velocity's jQuery shim must first be loaded.");if(e.Velocity!==o&&!e.Velocity.Utilities)throw new Error("Velocity: Namespace is occupied.");if(7>=h){if(t.jQuery)return void(t.jQuery.fn.velocity=t.jQuery.fn.animate);throw new Error("Velocity: For IE<=7, Velocity falls back to jQuery, which must first be loaded.")}if(8===h&&!t.jQuery)throw new Error("Velocity: For IE8, Velocity requires jQuery to be loaded. (Velocity's jQuery shim does not work with IE8.)");var y=e.Velocity=e.velocity=m.extend({State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),isAndroid:/Android/i.test(navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(navigator.userAgent),isChrome:t.chrome,isFirefox:/Firefox/i.test(navigator.userAgent),prefixElement:i.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,
34calls:[]},CSS:{},Utilities:t.jQuery,Sequences:{},Easings:{},Promise:t.Promise,defaults:{queue:"",duration:p,easing:u,begin:null,complete:null,progress:null,display:null,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0},animate:function(){},mock:!1,version:{major:0,minor:10,patch:1},debug:!1},t.Velocity);t.pageYOffset!==o?(y.State.scrollAnchor=t,y.State.scrollPropertyLeft="pageXOffset",y.State.scrollPropertyTop="pageYOffset"):(y.State.scrollAnchor=i.documentElement||i.body.parentNode||i.body,y.State.scrollPropertyLeft="scrollLeft",y.State.scrollPropertyTop="scrollTop"),y.State.isMobile||i.hidden===o||i.addEventListener("visibilitychange",function(){i.hidden?(g=function(e){return setTimeout(function(){e(!0)},16)},l()):g=t.requestAnimationFrame||f});var w=function(){function e(e,t){return 1-3*t+3*e}function t(e,t){return 3*t-6*e}function i(e){return 3*e}function o(o,n,s){return((e(n,s)*o+t(n,s))*o+i(n))*o}function n(o,n,s){return 3*e(n,s)*o*o+2*t(n,s)*o+i(n)}return function(e,t,i,s){function r(t){for(var s=t,r=0;8>r;++r){var a=n(s,e,i);if(0===a)return s;var l=o(s,e,i)-t;s-=l/a}return s}if(4!==arguments.length)return!1;for(var a=0;4>a;++a)if("number"!=typeof arguments[a]||isNaN(arguments[a])||!isFinite(arguments[a]))return!1;return e=Math.min(e,1),i=Math.min(i,1),e=Math.max(e,0),i=Math.max(i,0),function(n){return e===t&&i===s?n:o(r(n),t,s)}}}(),b=function(){function e(e){return-e.tension*e.x-e.friction*e.v}function t(t,i,o){var n={x:t.x+o.dx*i,v:t.v+o.dv*i,tension:t.tension,friction:t.friction};return{dx:n.v,dv:e(n)}}function i(i,o){var n={dx:i.v,dv:e(i)},s=t(i,.5*o,n),r=t(i,.5*o,s),a=t(i,o,r),l=1/6*(n.dx+2*(s.dx+r.dx)+a.dx),c=1/6*(n.dv+2*(s.dv+r.dv)+a.dv);return i.x=i.x+l*o,i.v=i.v+c*o,i}return function o(e,t,n){var s,r,a,l={x:-1,v:0,tension:null,friction:null},c=[0],d=0,p=1e-4,u=.016;for(e=parseFloat(e)||500,t=parseFloat(t)||20,n=n||null,l.tension=e,l.friction=t,s=null!==n,s?(d=o(e,t),r=d/n*u):r=u;a=i(a||l,r),c.push(1+a.x),d+=16,Math.abs(a.x)>p&&Math.abs(a.v)>p;);return s?function(e){return c[e*(c.length-1)|0]}:d}}();!function(){y.Easings.linear=function(e){return e},y.Easings.swing=function(e){return.5-Math.cos(e*Math.PI)/2},y.Easings.spring=function(e){return 1-Math.cos(4.5*e*Math.PI)*Math.exp(6*-e)},y.Easings.ease=w(.25,.1,.25,1),y.Easings["ease-in"]=w(.42,0,1,1),y.Easings["ease-out"]=w(0,0,.58,1),y.Easings["ease-in-out"]=w(.42,0,.58,1);var e={};m.each(["Quad","Cubic","Quart","Quint","Expo"],function(t,i){e[i]=function(e){return Math.pow(e,t+2)}}),m.extend(e,{Sine:function(e){return 1-Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-e*e)},Elastic:function(e){return 0===e||1===e?e:-Math.pow(2,8*(e-1))*Math.sin((80*(e-1)-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-2)},Bounce:function(e){for(var t,i=4;e<((t=Math.pow(2,--i))-1)/11;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*t-2)/22-e,2)}}),m.each(e,function(e,t){y.Easings["easeIn"+e]=t,y.Easings["easeOut"+e]=function(e){return 1-t(1-e)},y.Easings["easeInOut"+e]=function(e){return.5>e?t(2*e)/2:1-t(-2*e+2)/2}})}();var S=y.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"]},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var e=0;e<S.Lists.colors.length;e++)S.Hooks.templates[S.Lists.colors[e]]=["Red Green Blue Alpha","255 255 255 1"];var t,i,o;if(h)for(t in S.Hooks.templates){i=S.Hooks.templates[t],o=i[0].split(" ");var n=i[1].match(S.RegEx.valueSplit);"Color"===o[0]&&(o.push(o.shift()),n.push(n.shift()),S.Hooks.templates[t]=[o.join(" "),n.join(" ")])}for(t in S.Hooks.templates){i=S.Hooks.templates[t],o=i[0].split(" ");for(var e in o){var s=t+o[e],r=e;S.Hooks.registered[s]=[t,r]}}},getRoot:function(e){var t=S.Hooks.registered[e];return t?t[0]:e},cleanRootPropertyValue:function(e,t){return S.RegEx.valueUnwrap.test(t)&&(t=t.match(S.Hooks.RegEx.valueUnwrap
vendor: 5,672 bytes, line 34
34)[1]),S.Values.isCSSNullValue(t)&&(t=S.Hooks.templates[e][1]),t},extractValue:function(e,t){var i=S.Hooks.registered[e];if(i){var o=i[0],n=i[1];return t=S.Hooks.cleanRootPropertyValue(o,t),t.toString().match(S.RegEx.valueSplit)[n]}return t},injectValue:function(e,t,i){var o=S.Hooks.registered[e];if(o){var n,s,r=o[0],a=o[1];return i=S.Hooks.cleanRootPropertyValue(r,i),n=i.toString().match(S.RegEx.valueSplit),n[a]=t,s=n.join(" ")}return i}},Normalizations:{registered:{clip:function(e,t,i){switch(e){case"name":return"clip";case"extract":var o;return S.RegEx.wrappedValueAlreadyExtracted.test(i)?o=i:(o=i.toString().match(S.RegEx.valueUnwrap),o=o?o[1].replace(/,(\s+)?/g," "):i),o;case"inject":return"rect("+i+")"}},opacity:function(e,t,i){if(8>=h)switch(e){case"name":return"filter";case"extract":var o=i.toString().match(/alpha\(opacity=(.*)\)/i);return i=o?o[1]/100:1;case"inject":return t.style.zoom=1,parseFloat(i)>=1?"":"alpha(opacity="+parseInt(100*parseFloat(i),10)+")"}else switch(e){case"name":return"opacity";case"extract":return i;case"inject":return i}}},register:function(){9>=h||y.State.isGingerbread||(S.Lists.transformsBase=S.Lists.transformsBase.concat(S.Lists.transforms3D));for(var e=0;e<S.Lists.transformsBase.length;e++)!function(){var t=S.Lists.transformsBase[e];S.Normalizations.registered[t]=function(e,i,n){switch(e){case"name":return"transform";case"extract":return s(i).transformCache[t]===o?/^scale/i.test(t)?1:0:s(i).transformCache[t].replace(/[()]/g,"");case"inject":var r=!1;switch(t.substr(0,t.length-1)){case"translate":r=!/(%|px|em|rem|vw|vh|\d)$/i.test(n);break;case"scal":case"scale":y.State.isAndroid&&s(i).transformCache[t]===o&&1>n&&(n=1),r=!/(\d)$/i.test(n);break;case"skew":r=!/(deg|\d)$/i.test(n);break;case"rotate":r=!/(deg|\d)$/i.test(n)}return r||(s(i).transformCache[t]="("+n+")"),s(i).transformCache[t]}}}();for(var e=0;e<S.Lists.colors.length;e++)!function(){var t=S.Lists.colors[e];S.Normalizations.registered[t]=function(e,i,n){switch(e){case"name":return t;case"extract":var s;if(S.RegEx.wrappedValueAlreadyExtracted.test(n))s=n;else{var r,a={black:"rgb(0, 0, 0)",blue:"rgb(0, 0, 255)",gray:"rgb(128, 128, 128)",green:"rgb(0, 128, 0)",red:"rgb(255, 0, 0)",white:"rgb(255, 255, 255)"};/^[A-z]+$/i.test(n)?r=a[n]!==o?a[n]:a.black:S.RegEx.isHex.test(n)?r="rgb("+S.Values.hexToRgb(n).join(" ")+")":/^rgba?\(/i.test(n)||(r=a.black),s=(r||n).toString().match(S.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," ")}return 8>=h||3!==s.split(" ").length||(s+=" 1"),s;case"inject":return 8>=h?4===n.split(" ").length&&(n=n.split(/\s+/).slice(0,3).join(" ")):3===n.split(" ").length&&(n+=" 1"),(8>=h?"rgb":"rgba")+"("+n.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")"}}}()}},Names:{camelCase:function(e){return e.replace(/-(\w)/g,function(e,t){return t.toUpperCase()})},SVGAttribute:function(e){var t="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(h||y.State.isAndroid&&!y.State.isChrome)&&(t+="|transform"),new RegExp("^("+t+")$","i").test(e)},prefixCheck:function(e){if(y.State.prefixMatches[e])return[y.State.prefixMatches[e],!0];for(var t=["","Webkit","Moz","ms","O"],i=0,o=t.length;o>i;i++){var n;if(n=0===i?e:t[i]+e.replace(/^\w/,function(e){return e.toUpperCase()}),v.isString(y.State.prefixElement.style[n]))return y.State.prefixMatches[e]=n,[n,!0]}return[e,!1]}},Values:{hexToRgb:function(e){var t,i=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,o=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;return e=e.replace(i,function(e,t,i,o){return t+t+i+i+o+o}),t=o.exec(e),t?[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]:[0,0,0]},isCSSNullValue:function(e){return 0==e||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(e)},getUnitType:function(e){return/^(rotate|skew)/i.test(e)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(e)?"":"px"},getDisplayType:function(e){var t=e.tagName.toString().toLowerCase();return/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(t)?"inline":/^(li)$/i.test(t)?"list-item":/^(tr)$/i.test(t)?"table-row":"block"},addClass:function(e,t){e.classList?e.classList.add(t):e.className+=(e.className.length?" ":"")+t},removeClass:function(e,t){e.classList?e.classList.remove(t):e.className=e.className.toString().replace(new RegExp("(^|\\s)"+t.split(" ").join("|")+"(\\s|$)","gi")," ")}},getPropertyValue:function(e,i,n,r){function a(e,i){function n(){c&&S.setPropertyValue(e,"display","none")}var l=0;if(8>=h)l=m.css(e,i);else{var c=!1;if(/^(width|height)$/.test(i)&&0===S.getPropertyValue(e,"display")&&(c=!0,S.setPropertyValue(e,"display",S.Values.getDisplayType(e))),!r){if("height"===i&&"border-box"!==S.getPropertyValue(e,"boxSizing").toString().toLowerCase()){var d=e.offsetHeight-(parseFloat(S.getPropertyValue(e,"borderTopWidth"))||0)-(parseFloat(S.getPropertyValue(e,"borderBottomWidth"))||0)-(parseFloat(S.getPropertyValue(e,"paddingTop"))||0)-(parseFloat(S.getPropertyValue(e,"paddingBottom"))||0);return n(),d}if("width"===i&&"border-box"!==S.getPropertyValue(e,"boxSizing").toString().toLowerCase()){var p=e.offsetWidth-(parseFloat(S.getPropertyValue(e,"borderLeftWidth"))||0)-(parseFloat(S.getPropertyValue(e,"borderRightWidth"))||0)-(parseFloat(S.getPropertyValue(e,"paddingLeft"))||0)-(parseFloat(S.getPropertyValue(e,"paddingRight"))||0);return n(),p}}var u;u=s(e)===o?t.getComputedStyle(e,null):s(e).computedStyle?s(e).computedStyle:s(e).computedStyle=t.getComputedStyle(e,null),(h||y.State.isFirefox)&&"borderColor"===i&&(i="borderTopColor"),l=9===h&&"filter"===i?u.getPropertyValue(i):u[
34i],(""===l||null===l)&&(l=e.style[i]),n()}if("auto"===l&&/^(top|right|bottom|left)$/i.test(i)){var f=a(e,"position");("fixed"===f||"absolute"===f&&/top|left/i.test(i))&&(l=m(e).position()[i]+"px")}return l}var l;if(S.Hooks.registered[i]){var c=i,d=S.Hooks.getRoot(c);n===o&&(n=S.getPropertyValue(e,S.Names.prefixCheck(d)[0])),S.Normalizations.registered[d]&&(n=S.Normalizations.registered[d]("extract",e,n)),l=S.Hooks.extractValue(c,n)}else if(S.Normalizations.registered[i]){var p,u;p=S.Normalizations.registered[i]("name",e),"transform"!==p&&(u=a(e,S.Names.prefixCheck(p)[0]),S.Values.isCSSNullValue(u)&&S.Hooks.templates[i]&&(u=S.Hooks.templates[i][1])),l=S.Normalizations.registered[i]("extract",e,u)}return/^[\d-]/.test(l)||(l=s(e)&&s(e).isSVG&&S.Names.SVGAttribute(i)?/^(height|width)$/i.test(i)?e.getBBox()[i]:e.getAttribute(i):a(e,S.Names.prefixCheck(i)[0])),S.Values.isCSSNullValue(l)&&(l=0),y.debug>=2&&console.log("Get "+i+": "+l),l},setPropertyValue:function(e,i,o,n,r){var a=i;if("scroll"===i)r.container?r.container["scroll"+r.direction]=o:"Left"===r.direction?t.scrollTo(o,r.alternateValue):t.scrollTo(r.alternateValue,o);else if(S.Normalizations.registered[i]&&"transform"===S.Normalizations.registered[i]("name",e))S.Normalizations.registered[i]("inject",e,o),a="transform",o=s(e).transformCache[i];else{if(S.Hooks.registered[i]){var l=i,c=S.Hooks.getRoot(i);n=n||S.getPropertyValue(e,c),o=S.Hooks.injectValue(l,o,n),i=c}if(S.Normalizations.registered[i]&&(o=S.Normalizations.registered[i]("inject",e,o),i=S.Normalizations.registered[i]("name",e)),a=S.Names.prefixCheck(i)[0],8>=h)try{e.style[a]=o}catch(d){y.debug&&console.log("Browser does not support ["+o+"] for ["+a+"]")}else s(e)&&s(e).isSVG&&S.Names.SVGAttribute(i)?e.setAttribute(i,o):e.style[a]=o;y.debug>=2&&console.log("Set "+i+" ("+a+"): "+o)}return[a,o]},flushTransformCache:function(e){function t(t){return parseFloat(S.getPropertyValue(e,t))}var i="";if((h||y.State.isAndroid&&!y.State.isChrome)&&s(e).isSVG){var o={translate:[t("translateX"),t("translateY")],skewX:[t("skewX")],skewY:[t("skewY")],scale:1!==t("scale")?[t("scale"),t("scale")]:[t("scaleX"),t("scaleY")],rotate:[t("rotateZ"),0,0]};m.each(s(e).transformCache,function(e){/^translate/i.test(e)?e="translate":/^scale/i.test(e)?e="scale":/^rotate/i.test(e)&&(e="rotate"),o[e]&&(i+=e+"("+o[e].join(" ")+") ",delete o[e])})}else{var n,r;m.each(s(e).transformCache,function(t){return n=s(e).transformCache[t],"transformPerspective"===t?(r=n,!0):(9===h&&"rotateZ"===t&&(t="rotate"),void(i+=t+n+" "))}),r&&(i="perspective"+r+" "+i)}S.setPropertyValue(e,"transform",i)}};S.Hooks.register(),S.Normalizations.register(),y.animate=function(){function e(){return u?A.promise||null:f}function r(){function e(){function e(e,t){var i=o,n=o,s=o;return v.isArray(e)?(i=e[0],!v.isArray(e[1])&&/^[\d-]/.test(e[1])||v.isFunction(e[1])||S.RegEx.isHex.test(e[1])?s=e[1]:(v.isString(e[1])&&!S.RegEx.isHex.test(e[1])||v.isArray(e[1]))&&(n=t?e[1]:a(e[1],c.duration),e[2]!==o&&(s=e[2]))):i=e,t||(n=n||c.easing),v.isFunction(i)&&(i=i.call(r,C,k)),v.isFunction(s)&&(s=s.call(r,C,k)),[i||0,n,s]}function d(e,t){var i,o;return o=(t||0).toString().toLowerCase().replace(/[%A-z]+$/,function(e){return i=e,""}),i||(i=S.Values.getUnitType(e)),[o,i]}function p(){var e={parent:r.parentNode,position:S.getPropertyValue(r,"position"),fontSize:S.getPropertyValue(r,"fontSize")},o=e.position===L.lastPosition&&e.parent===L.lastParent,n=e.fontSize===L.lastFontSize&&e.parent===L.lastParent;L.lastParent=e.parent,L.lastPosition=e.position,L.lastFontSize=e.fontSize,null===L.remToPx&&(L.remToPx=parseFloat(S.getPropertyValue(i.body,"fontSize"))||16),null===L.vwToPx&&(L.vwToPx=parseFloat(t.innerWidth)/100,L.vhToPx=parseFloat(t.innerHeight)/100);var a={overflowX:null,overflowY:null,boxSizing:null,width:null,minWidth:null,maxWidth:null,height:null,minHeight:null,maxHeight:null,paddingLeft:null},l={},c=10;if(l.remToPx=L.remToPx,l.vwToPx=L.vwToPx,l.vhToPx=L.vhToPx,h&&!s(r).isSVG)var d=/^auto$/i.test(r.currentStyle.width),p=/^auto$/i.test(r.currentStyle.height);o&&n||(s(r).isSVG||(a.overflowX=S.getPropertyValue(r,"overflowX"),a.overflowY=S.getPropertyValue(r,"overflowY"),a.boxSizing=S.getPropertyValue(r,"boxSizing"),a.minWidth=S.getPropertyValue(r,"minWidth"),a.maxWidth=S.getPropertyValue(r,"maxWidth")||"none",a.minHeight=S.getPropertyValue(r,"minHeight"),a.maxHeight=S.getPropertyValue(r,"maxHeight")||"none",a.paddingLeft=S.getPropertyValue(r,"paddingLeft")),a.width=S.getPropertyValue(r,"width",null,!0),a.height=S.getPropertyValue(r,"height",null,!0)),o?(l.percentToPxRatioWidth=L.lastPercentToPxWidth,l.percentToPxRatioHeight=L.lastPercentToPxHeight):(s(r).isSVG||(S.setPropertyValue(r,"overflowX","hidden"),S.setPropertyValue(r,"overflowY","hidden"),S.setPropertyValue(r,"boxSizing","content-box"),S.setPropertyValue(r,"minWidth",c+"
34%"),S.setPropertyValue(r,"maxWidth",c+"%"),S.setPropertyValue(r,"minHeight",c+"%"),S.setPropertyValue(r,"maxHeight",c+"%")),S.setPropertyValue(r,"width",c+"%"),S.setPropertyValue(r,"height",c+"%")),n?l.emToPx=L.lastEmToPx:s(r).isSVG||S.setPropertyValue(r,"paddingLeft",c+"em"),o||(l.percentToPxRatioWidth=L.lastPercentToPxWidth=(parseFloat(S.getPropertyValue(r,"width",null,!0))||1)/c,l.percentToPxRatioHeight=L.lastPercentToPxHeight=(parseFloat(S.getPropertyValue(r,"height",null,!0))||1)/c),n||(l.emToPx=L.lastEmToPx=(parseFloat(S.getPropertyValue(r,"paddingLeft"))||1)/c);for(var u in a)null!==a[u]&&S.setPropertyValue(r,u,a[u]);return s(r).isSVG||(h?(d&&S.setPropertyValue(r,"width","auto"),p&&S.setPropertyValue(r,"height","auto")):(S.setPropertyValue(r,"height","auto"),a.height!==S.getPropertyValue(r,"height",null,!0)&&S.setPropertyValue(r,"height",a.height),S.setPropertyValue(r,"width","auto"),a.width!==S.getPropertyValue(r,"width",null,!0)&&S.setPropertyValue(r,"width",a.width))),y.debug>=1&&console.log("Unit ratios: "+JSON.stringify(l),r),l}if(c.begin&&0===C)try{c.begin.call(w,w)}catch(f){setTimeout(function(){throw f},1)}if("scroll"===E){var g,T,P,$=/^x$/i.test(c.axis)?"Left":"Top",V=parseFloat(c.offset)||0;c.container?c.container.jquery||v.isNode(c.container)?(c.container=c.container[0]||c.container,g=c.container["scroll"+$],P=g+m(r).position()[$.toLowerCase()]+V):c.container=null:(g=y.State.scrollAnchor[y.State["scrollProperty"+$]],T=y.State.scrollAnchor[y.State["scrollProperty"+("Left"===$?"Top":"Left")]],P=m(r).offset()[$.toLowerCase()]+V),u={scroll:{rootPropertyValue:!1,startValue:g,currentValue:g,endValue:P,unitType:"",easing:c.easing,scrollData:{container:c.container,direction:$,alternateValue:T}},element:r},y.debug&&console.log("tweensContainer (scroll): ",u.scroll,r)}else if("reverse"===E){if(!s(r).tweensContainer)return void m.dequeue(r,c.queue);"none"===s(r).opts.display&&(s(r).opts.display="block"),"hidden"===s(r).opts.visibility&&(s(r).opts.visibility="visible"),s(r).opts.loop=!1,s(r).opts.begin=null,s(r).opts.complete=null,x.easing||delete c.easing,x.duration||delete c.duration,c=m.extend({},s(r).opts,c);var H=m.extend(!0,{},s(r).tweensContainer);for(var j in H)if("element"!==j){var M=H[j].startValue;H[j].startValue=H[j].currentValue=H[j].endValue,H[j].endValue=M,v.isEmptyObject(x)||(H[j].easing=c.easing),y.debug&&console.log("reverse tweensContainer ("+j+"): "+JSON.stringify(H[j]),r)}u=H}else if("start"===E){var H;s(r).tweensContainer&&s(r).isAnimating===!0&&(H=s(r).tweensContainer),m.each(b,function(t,i){if(RegExp("^"+S.Lists.colors.join("$|^")+"$").test(t)){var n=e(i,!0),s=n[0],r=n[1],a=n[2];if(S.RegEx.isHex.test(s)){for(var l=["Red","Green","Blue"],c=S.Values.hexToRgb(s),d=a?S.Values.hexToRgb(a):o,p=0;p<l.length;p++)b[t+l[p]]=[c[p],r,d?d[p]:d];delete b[t]}}});for(var W in b){var z=e(b[W]),F=z[0],I=z[1],N=z[2];W=S.Names.camelCase(W);var D=S.Hooks.getRoot(W),q=!1;if(s(r).isSVG||S.Names.prefixCheck(D)[1]!==!1||S.Normalizations.registered[D]!==o){(c.display&&"none"!==c.display||c.visibility&&"hidden"!==c.visibility)&&/opacity|filter/.test(W)&&!N&&0!==F&&(N=0),c._cacheValues&&H&&H[W]?(N===o&&(N=H[W].endValue+H[W].unitType),q=s(r).rootPropertyValueCache[D]):S.Hooks.registered[W]?N===o?(q=S.getPropertyValue(r,D),N=S.getPropertyValue(r,W,q)):q=S.Hooks.templates[D][1]:N===o&&(N=S.getPropertyValue(r,W));var R,B,_,X=!1;R=d(W,N),N=R[0],_=R[1],R=d(W,F),F=R[0].replace(/^([+-\/*])=/,function(e,t){return X=t,""}),B=R[1],N=parseFloat(N)||0,F=parseFloat(F)||0;var U;if("%"===B&&(/^(fontSize|lineHeight)$/.test(W)?(F/=100,B="em"):/^scale/.test(W)?(F/=100,B=""):/(Red|Green|Blue)$/i.test(W)&&(F=F/100*255,B="")),/[\/*]/.test(X))B=_;else if(_!==B&&0!==N)if(0===F)B=_;else{U=U||p();var Y=/margin|padding|left|right|width|text|word|letter/i.test(W)||/X$/.test(W)?"x":"y";switch(_){case"%":N*="x"===Y?U.percentToPxRatioWidth:U.percentToPxRatioHeight;break;case"px":break;default:N*=U[_+"ToPx"]}switch(B){case"%":N*=1/("x"===Y?U.percentToPxRatioWidth:U.percentToPxRatioHeight);break;case"px":break;default:N*=1/U[B+"ToPx"]}}switch(X){case"+":F=N+F;break;case"-":F=N-F;break;case"*":F=N*F;break;case"/":F=N/F}u[W]={rootPropertyValue:q,startValue:N,currentValue:N,endValue:F,unitType:B,easing:I},y.debug&&console.log("tweensContainer ("+W+"): "+JSON.stringify(u[W]),r)}else y.debug&&console.log("Skipping ["+D+"] due to a lack of browser support.")}u.element=r}u.element&&(S.Values.addClass(r,"velocity-animating"),O.push(u),s(r).tweensContainer=u,s(r).opts=c,s(r).isAnimating=!0,C===k-1?(y.State.calls.length>1e4&&(y.State.calls=n(y.State.calls)),y.State.calls.push([O,w,c,null,A.resolver]),y.State.isTicking===!1&&(y.State.isTicking=!0,l())):C++)}
34var r=this,c=m.extend({},y.defaults,x),u={};if(s(r)===o&&m.data(r,d,{isSVG:v.isSVG(r),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}}),parseFloat(c.delay)&&c.queue!==!1&&m.queue(r,c.queue,function(e){y.velocityQueueEntryFlag=!0,s(r).delayTimer={setTimeout:setTimeout(e,parseFloat(c.delay)),next:e}}),y.mock===!0)c.duration=1;else switch(c.duration.toString().toLowerCase()){case"fast":c.duration=200;break;case"normal":c.duration=p;break;case"slow":c.duration=600;break;default:c.duration=parseFloat(c.duration)||1}c.easing=a(c.easing,c.duration),c.begin&&!v.isFunction(c.begin)&&(c.begin=null),c.progress&&!v.isFunction(c.progress)&&(c.progress=null),c.complete&&!v.isFunction(c.complete)&&(c.complete=null),c.display&&(c.display=c.display.toString().toLowerCase(),"auto"===c.display&&(c.display=y.CSS.Values.getDisplayType(r))),c.visibility&&(c.visibility=c.visibility.toString().toLowerCase()),c.mobileHA=c.mobileHA&&y.State.isMobile&&!y.State.isGingerbread,c.queue===!1?c.delay?setTimeout(e,c.delay):e():m.queue(r,c.queue,function(t,i){return i===!0?(A.promise&&A.resolver(w),!0):(y.velocityQueueEntryFlag=!0,void e(t))}),""!==c.queue&&"fx"!==c.queue||"inprogress"===m.queue(r)[0]||m.dequeue(r)}var u,f,g,w,b,x,T=arguments[0]&&(m.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||v.isString(arguments[0].properties));if(v.isWrapped(this)?(u=!1,g=0,w=this,f=this):(u=!0,g=1,w=T?arguments[0].elements:arguments[0]),w=v.isWrapped(w)?[].slice.call(w):w){T?(b=arguments[0].properties,x=arguments[0].options):(b=arguments[g],x=arguments[g+1]);var k=v.isArray(w)||v.isNodeList(w)?w.length:1,C=0;if("stop"!==b&&!m.isPlainObject(x)){var P=g+1;x={};for(var $=P;$<arguments.length;$++)!v.isArray(arguments[$])&&/^\d/.test(arguments[$])?x.duration=parseFloat(arguments[$]):v.isString(arguments[$])||v.isArray(arguments[$])?x.easing=arguments[$]:v.isFunction(arguments[$])&&(x.complete=arguments[$])}var A={promise:null,resolver:null,rejecter:null};u&&y.Promise&&(A.promise=new y.Promise(function(e,t){A.resolver=e,A.rejecter=t}));var E;switch(b){case"scroll":E="scroll";break;case"reverse":E="reverse";break;case"stop":m.each(v.isNode(w)?[w]:w,function(e,t){s(t)&&s(t).delayTimer&&(clearTimeout(s(t).delayTimer.setTimeout),s(t).delayTimer.next&&s(t).delayTimer.next(),delete s(t).delayTimer)});var V=[];return m.each(y.State.calls,function(e,t){t&&m.each(v.isNode(t[1])?[t[1]]:t[1],function(t,i){m.each(v.isNode(w)?[w]:w,function(t,o){if(o===i){if(s(o)&&m.each(s(o).tweensContainer,function(e,t){t.endValue=t.currentValue}),x===!0||v.isString(x)){var n=v.isString(x)?x:"";m.each(m.queue(o,n),function(e,t){v.isFunction(t)&&t(null,!0)}),m.queue(o,n,[])}V.push(e)}})})}),m.each(V,function(e,t){c(t,!0)}),A.promise&&A.resolver(w),e();default:if(!m.isPlainObject(b)||v.isEmptyObject(b)){if(v.isString(b)&&y.Sequences[b]){var H=x.duration,j=x.delay||0;return x.backwards===!0&&(w=(w.jquery?[].slice.call(w):w).reverse()),m.each(w,function(e,t){parseFloat(x.stagger)?x.delay=j+parseFloat(x.stagger)*e:v.isFunction(x.stagger)&&(x.delay=j+x.stagger.call(t,e,k)),x.drag&&(x.duration=parseFloat(H)||(/^(callout|transition)/.test(b)?1e3:p),x.duration=Math.max(x.duration*(x.backwards?1-e/k:(e+1)/k),.75*x.duration,200)),y.Sequences[b].call(t,t,x||{},e,k,w,A.promise?A:o)}),e()}var M="Velocity: First argument ("+b+") was not a property map, a known action, or a registered sequence. Aborting.";return A.promise?A.rejecter(new Error(M)):console.log(M),e()}E="start"}var L={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},O=[];m.each(v.isNode(w)?[w]:w,function(e,t){v.isNode(t)&&r.call(t)});var W,z=m.extend({},y.defaults,x);if(z.loop=parseInt(z.loop),W=2*z.loop-1,z.loop)for(var F=0;W>F;F++){var I={delay:z.delay};F===W-1&&(I.display=z.display,I.visibility=z.visibility,I.complete=z.complete),y.animate(w,"reverse",I)}return e()}};var x=t.jQuery||t.Zepto;x&&(x.fn.velocity=y.animate,x.fn.velocity.defaults=y.defaults),"undefined"!=typeof define&&define.amd?define(function(){return y}):"undefined"!=typeof module&&module.exports&&(module.exports=y),m.each(["Down","Up"],function(e,t){y.Sequences["slide"+t]=function(e,i,o,n,s,r){var a=m.extend({},i),l={height:null,marginTop:null,marginBottom:null,paddingTop:null,paddingBottom:null,overflow:null,overflowX:null,overflowY:null},c=a.begin,d=a.complete,p=!1;null!==a.display&&(a.display="Down"===t?a.display||"auto":a.display||"none"),a.begin=function(){function i(){l.height=parseFloat(y.CSS.getPropertyValue(e,"height")),e.style.height="auto",parseFloat(y.CSS.getPropertyValue(e,"height"))===l.height&&(p=!0),y.CSS.setPropertyValue(e,"height",l.height+"px")}if("Down"===t){l.overflow=[y.CSS.getPropertyValue(e,"overflow"),0],l.overflowX=[y.CSS.getPropertyValue(e,"overflowX"),0],l.overflowY=[y.CSS.getPropertyValue(e,"overflowY"),0],e.style.overflow="hidden",e.style.overflowX="visible",e.style.overflowY="hidden",i();for(var o in l)if(!/^overflow/.test(o)){var n=y.CSS.getPropertyValue(e,o);"height"===o&&(n=parseFloat(n)),l[o]=[n,0]}}else{i();for(var o in l){var n=y.CSS.getPropertyValue(e,o);"height"===o&&(n=parseFloat(n)),l[o]=[0,n]}e.style.overflow="hidden",e.style.overflowX="visible",e.style.overflowY="hidden"}c&&c.call(e,e)},a.complete=function(e){var i="Down"===t?0:1;p===!0?l.height[i]="auto":l.height[i]+="px";for(var o in l)e.style[o]=l[o][i];d&&d.call(e,e),r&&r.resolver(s||e)},y.animate(e,l,a)}}),m.each(["In","Out"],function(e,t){y.Sequences["fade"+t]=function(e,i,o,n,s,r){var a=m.extend({},i),l={opacity:"In"===t?1:0};if(o!==n-1)a.complete=a.begin=null;else{var c=a.complete;
vendor: 2,002 bytes, lines 34-35
34a.complete=function(){c&&c.call(e,e),r&&r.resolver(s||e)}}null!==a.display&&(a.display=a.display||("In"===t?"auto":"none")),y.animate(this,l,a)}})}(window.jQuery||window.Zepto||window,window,document),window.Modernizr=function(e,t,i){function o(e){y.cssText=e}function n(e,t){return typeof e===t}function s(e,t){return!!~(""+e).indexOf(t)}function r(e,t){for(var o in e){var n=e[o];if(!s(n,"-")&&y[n]!==i)return"pfx"==t?n:!0}return!1}function a(e,t,o){for(var s in e){var r=t[e[s]];if(r!==i)return o===!1?e[s]:n(r,"function")?r.bind(o||t):r}return!1}function l(e,t,i){var o=e.charAt(0).toUpperCase()+e.slice(1),s=(e+" "+S.join(o+" ")+o).split(" ");return n(t,"string")||n(t,"undefined")?r(s,t):(s=(e+" "+x.join(o+" ")+o).split(" "),a(s,t,i))}var c,d,p,u="2.8.3",h={},f=!0,g=t.documentElement,v="modernizr",m=t.createElement(v),y=m.style,w=({}.toString," -webkit- -moz- -o- -ms- ".split(" ")),b="Webkit Moz O ms",S=b.split(" "),x=b.toLowerCase().split(" "),T={},k=[],C=k.slice,P=function(e,i,o,n){var s,r,a,l,c=t.createElement("div"),d=t.body,p=d||t.createElement("body");if(parseInt(o,10))for(;o--;)a=t.createElement("div"),a.id=n?n[o]:v+(o+1),c.appendChild(a);return s=["&#173;",'<style id="s',v,'">',e,"</style>"].join(""),c.id=v,(d?c:p).innerHTML+=s,p.appendChild(c),d||(p.style.background="",p.style.overflow="hidden",l=g.style.overflow,g.style.overflow="hidden",g.appendChild(p)),r=i(c,e),d?c.parentNode.removeChild(c):(p.parentNode.removeChild(p),g.style.overflow=l),!!r
35},$={}.hasOwnProperty;p=n($,"undefined")||n($.call,"undefined")?function(e,t){return t in e&&n(e.constructor.prototype[t],"undefined")}:function(e,t){return $.call(e,t)},Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if("function"!=typeof t)throw new TypeError;var i=C.call(arguments,1),o=function(){if(this instanceof o){var n=function(){};n.prototype=t.prototype;var s=new n,r=t.apply(s,i.concat(C.call(arguments)));return Object(r)===r?r:s}return t.apply(e,i.concat(C.call(arguments)))};return o}
35),T.csstransforms=function(){return!!l("transform")},T.csstransforms3d=function(){var e=!!l("perspective");return e&&"webkitPerspective"in g.style&&P("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(t){e=9===t.offsetLeft&&3===t.offsetHeight}),e},T.csstransitions=function(){return l("transition")},T.audio=function(){var e=t.createElement("audio"),i=!1;try{(i=!!e.canPlayType)&&(i=new Boolean(i),i.ogg=e.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),i.mp3=e.canPlayType("audio/mpeg;").replace(/^no$/,""),i.wav=e.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),i.m4a=(e.canPlayType("audio/x-m4a;")||e.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(o){}return i};for(var A in T)p(T,A)&&(d=A.toLowerCase(),h[d]=T[A](),k.push((h[d]?"":"no-")+d));return h.addTest=function(e,t){if("object"==typeof e)for(var o in e)p(e,o)&&h.addTest(o,e[o]);else{if(e=e.toLowerCase(),h[e]!==i)return h;t="function"==typeof t?t():t,"undefined"!=typeof f&&f&&(g.className+=" "+(t?"":"no-")+e),h[e]=t}return h},o(""),m=c=null,function(e,t){function i(e,t){var i=e.createElement("p"),o=e.getElementsByTagName("head")[0]||e.documentElement;return i.innerHTML="x<style>"+t+"</style>",o.insertBefore(i.lastChild,o.firstChild)}function o(){var e=y.elements;return"string"==typeof e?e.split(" "):e}function n(e){var t=m[e[g]];return t||(t={},v++,e[g]=v,m[v]=t),t}function s(e,i,o){if(i||(i=t),d)return i.createElement(e);o||(o=n(i));var s;return s=o.cache[e]?o.cache[e].cloneNode():f.test(e)?(o.cache[e]=o.createElem(e)).cloneNode():o.createElem(e),!s.canHaveChildren||h.test(e)||s.tagUrn?s:o.frag.appendChild(s)}function r(e,i){if(e||(e=t),d)return e.createDocumentFragment();i=i||n(e);for(var s=i.frag.cloneNode(),r=0,a=o(),l=a.length;l>r;r++)s.createElement(a[r]);return s}function a(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(i){return y.shivMethods?s(i,e,t):t.createElem(i)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+o().join().replace(/[\w\-]+/g,function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'})+");return n}")(y,t.frag)}function l(e){e||(e=t);var o=n(e);return y.shivCSS&&!c&&!o.hasCSS&&(o.hasCSS=!!i(e,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),d||a(e,o),e}var c,d,p="3.7.0",u=e.html5||{},h=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,f=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,g="_html5shiv",v=0,m={};!function(){try{var e=t.createElement("a");e.innerHTML="<xyz></xyz>",c="hidden"in e,d=1==e.childNodes.length||function(){t.createElement("a");var e=t.createDocumentFragment();return"undefined"==typeof e.cloneNode||"undefined"==typeof e.createDocumentFragment||"undefined"==typeof e.createElement}()}catch(i){c=!0,d=!0}}();var y={elements:u.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:p,shivCSS:u.shivCSS!==!1,supportsUnknownElements:d,shivMethods:u.shivMethods!==!1,type:"default",shivDocument:l,createElement:s,createDocumentFragment:r};e.html5=y,l(t)}(this,t),h._version=u,h._prefixes=w,h._domPrefixes=x,h._cssomPrefixes=S,h.testProp=function(e){return r([e])},h.testAllProps=l,h.testStyles=P,g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+k.join(" "):""),h}(this,this.document),function(e,t,i){function o(e){return"[object Function]"==v.call(e)}function n(e){return"string"==typeof e}function s(){}function r(e){return!e||"loaded"==e||"complete"==e||"uninitialized"==e}function a(){var e=m.shift();y=1,e?e.t?f(function(){("c"==e.t?u.injectCss:u.injectJs)(e.s,0,e.a,e.x,e.e,1)},0):(e(),a()):y=0}function l(e,i,o,n,s,l,c){function d(t){if(!h&&r(p.readyState)&&(w.r=h=1,!y&&a(),p.onload=p.onreadystatechange=null,t)){"img"!=e&&f(function(){S.removeChild(p)},50);for(var o in P[i])P[i].hasOwnProperty(o)&&P[i][o].onload()}}var c=c||u.errorTimeout,p=t.createElement(e),h=0,v=0,w={t:o,s:i,e:s,a:l,x:c};1===P[i]&&(v=1,P[i]=[]),"object"==e?p.data=i:(p.src=i,p.type=e),p.width=p.height="0",p.onerror=p.onload=p.onreadystatechange=function(){d.call(this,v)},m.splice(n,0,w),"img"!=e&&(v||2===P[i]?(S.insertBefore(p,b?null:g),f(d,c)):P[i].push(p))}function c(e,t,i,o,s){return y=0,t=t||"j",n(e)?l("c"==t?T:x,e,t,this.i++,i,o,s):(m.splice(this.i++,0,e),
351==m.length&&a()),this}function d(){var e=u;return e.loader={load:c,i:0},e}var p,u,h=t.documentElement,f=e.setTimeout,g=t.getElementsByTagName("script")[0],v={}.toString,m=[],y=0,w="MozAppearance"in h.style,b=w&&!!t.createRange().compareNode,S=b?h:g.parentNode,h=e.opera&&"[object Opera]"==v.call(e.opera),h=!!t.attachEvent&&!h,x=w?"object":h?"script":"img",T=h?"script":x,k=Array.isArray||function(e){return"[object Array]"==v.call(e)},C=[],P={},$={timeout:function(e,t){return t.length&&(e.timeout=t[0]),e}};u=function(e){function t(e){var t,i,o,e=e.split("!"),n=C.length,s=e.pop(),r=e.length,s={url:s,origUrl:s,prefixes:e};for(i=0;r>i;i++)o=e[i].split("="),(t=$[o.shift()])&&(s=t(s,o));for(i=0;n>i;i++)s=C[i](s);return s}function r(e,n,s,r,a){var l=t(e),c=l.autoCallback;l.url.split(".").pop().split("?").shift(),l.bypass||(n&&(n=o(n)?n:n[e]||n[r]||n[e.split("/").pop().split("?")[0]]),l.instead?l.instead(e,n,s,r,a):(P[l.url]?l.noexec=!0:P[l.url]=1,s.load(l.url,l.forceCSS||!l.forceJS&&"css"==l.url.split(".").pop().split("?").shift()?"c":i,l.noexec,l.attrs,l.timeout),(o(n)||o(c))&&s.load(function(){d(),n&&n(l.origUrl,a,r),c&&c(l.origUrl,a,r),P[l.url]=2})))}function a(e,t){function i(e,i){if(e){if(n(e))i||(p=function(){var e=[].slice.call(arguments);u.apply(this,e),h()}),r(e,p,t,0,c);else if(Object(e)===e)for(l in a=function(){var t,i=0;for(t in e)e.hasOwnProperty(t)&&i++;return i}(),e)e.hasOwnProperty(l)&&(!i&&!--a&&(o(p)?p=function(){var e=[].slice.call(arguments);u.apply(this,e),h()}:p[l]=function(e){return function(){var t=[].slice.call(arguments);e&&e.apply(this,t),h()}}(u[l])),r(e[l],p,t,l,c))}else!i&&h()}var a,l,c=!!e.test,d=e.load||e.both,p=e.callback||s,u=p,h=e.complete||s;i(c?e.yep:e.nope,!!d),d&&i(d)}var l,c,p=this.yepnope.loader;if(n(e))r(e,0,p,0);else if(k(e))for(l=0;l<e.length;l++)c=e[l],n(c)?r(c,0,p,0):k(c)?u(c):Object(c)===c&&a(c,p);else Object(e)===e&&a(e,p)},u.addPrefix=function(e,t){$[e]=t},u.addFilter=function(e){C.push(e)},u.errorTimeout=1e4,null==t.readyState&&t.addEventListener&&(t.readyState="loading",t.addEventListener("DOMContentLoaded",p=function(){t.removeEventListener("DOMContentLoaded",p,0),t.readyState="complete"},0)),e.yepnope=d(),e.yepnope.executeStack=a,e.yepnope.injectJs=function(e,i,o,n,l,c){var d,p,h=t.createElement("script"),n=n||u.errorTimeout;h.src=e;for(p in o)h.setAttribute(p,o[p]);i=c?a:i||s,h.onreadystatechange=h.onload=function(){!d&&r(h.readyState)&&(d=1,i(),h.onload=h.onreadystatechange=null)},f(function(){d||(d=1,i(1))},n),l?h.onload():g.parentNode.insertBefore(h,g)},e.yepnope.injectCss=function(e,i,o,n,r,l){var c,n=t.createElement("link"),i=l?a:i||s;n.href=e,n.rel="stylesheet",n.type="text/css";for(c in o)n.setAttribute(c,o[c]);r||(g.parentNode.insertBefore(n,g),f(i,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))},!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"undefined"!=typeof exports?module.exports=e(require("jquery")):e(jQuery)}(function(e){"use strict";var t=window.Slick||{};t=function(){function t(t,o){var n,s,r,a=this;if(a.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:e(t),appendDots:e(t),arrows:!0,asNavFor:null,prevArrow:'<button type="button" data-role="none" class="slick-prev">Previous</button>',nextArrow:'<button type="button" data-role="none" class="slick-next">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,t){return'<button type="button" data-role="none">'+(t+1)+"</button>"},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rtl:!1,slide:"",slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0},a.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,
vendor: 30,026 bytes, lines 35-36
35sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1},e.extend(a,a.initials),a.activeBreakpoint=null,a.animType=null,a.animProp=null,a.breakpoints=[],a.breakpointSettings=[],a.cssTransitions=!1,a.hidden="hidden",a.paused=!1,a.positionProp=null,a.respondTo=null,a.shouldClick=!0,a.$slider=e(t),a.$slidesCache=null,a.transformType=null,a.transitionType=null,a.visibilityChange="visibilitychange",a.windowWidth=0,a.windowTimer=null,n=e(t).data("slick")||{},a.options=e.extend({},a.defaults,n,o),a.currentSlide=a.options.initialSlide,a.originalSettings=a.options,s=a.options.responsive||null,s&&s.length>-1){a.respondTo=a.options.respondTo||"window";for(r in s)s.hasOwnProperty(r)&&(a.breakpoints.push(s[r].breakpoint),a.breakpointSettings[s[r].breakpoint]=s[r].settings);a.breakpoints.sort(function(e,t){return a.options.mobileFirst===!0?e-t:t-e})}"undefined"!=typeof document.mozHidden?(a.hidden="mozHidden",a.visibilityChange="mozvisibilitychange"):"undefined"!=typeof document.msHidden?(a.hidden="msHidden",a.visibilityChange="msvisibilitychange"):"undefined"!=typeof document.webkitHidden&&(a.hidden="webkitHidden",a.visibilityChange="webkitvisibilitychange"),a.autoPlay=e.proxy(a.autoPlay,a),a.autoPlayClear=e.proxy(a.autoPlayClear,a),a.changeSlide=e.proxy(a.changeSlide,a),a.clickHandler=e.proxy(a.clickHandler,a),a.selectHandler=e.proxy(a.selectHandler,a),a.setPosition=e.proxy(a.setPosition,a),a.swipeHandler=e.proxy(a.swipeHandler,a),a.dragHandler=e.proxy(a.dragHandler,a),a.keyHandler=e.proxy(a.keyHandler,a),a.autoPlayIterator=e.proxy(a.autoPlayIterator,a),a.instanceUid=i++,a.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,a.init(),a.checkResponsive(!0)}var i=0;return t}(),t.prototype.addSlide=t.prototype.slickAdd=function(t,i,o){var n=this;if("boolean"==typeof i)o=i,i=null;else if(0>i||i>=n.slideCount)return!1;n.unload(),"number"==typeof i?0===i&&0===n.$slides.length?e(t).appendTo(n.$slideTrack):o?e(t).insertBefore(n.$slides.eq(i)):e(t).insertAfter(n.$slides.eq(i)):o===!0?e(t).prependTo(n.$slideTrack):e(t).appendTo(n.$slideTrack),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slides.each(function(t,i){e(i).attr("data-slick-index",t)}),n.$slidesCache=n.$slides,n.reinit()},t.prototype.animateHeight=function(){var e=this;if(1===e.options.slidesToShow&&e.options.adaptiveHeight===!0&&e.options.vertical===!1){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.animate({height:t},e.options.speed)}},t.prototype.animateSlide=function(t,i){var o={},n=this;n.animateHeight(),n.options.rtl===!0&&n.options.vertical===!1&&(t=-t),n.transformsEnabled===!1?n.options.vertical===!1?n.$slideTrack.animate({left:t},n.options.speed,n.options.easing,i):n.$slideTrack.animate({top:t},n.options.speed,n.options.easing,i):n.cssTransitions===!1?(n.options.rtl===!0&&(n.currentLeft=-n.currentLeft),e({animStart:n.currentLeft}).animate({animStart:t},{duration:n.options.speed,easing:n.options.easing,step:function(e){e=Math.ceil(e),n.options.vertical===!1?(o[n.animType]="translate("+e+"px, 0px)",n.$slideTrack.css(o)):(o[n.animType]="translate(0px,"+e+"px)",n.$slideTrack.css(o))},complete:function(){i&&i.call()}})):(n.applyTransition(),t=Math.ceil(t),o[n.animType]=n.options.vertical===!1?"translate3d("+t+"px, 0px, 0px)":"translate3d(0px,"+t+"px, 0px)",n.$slideTrack.css(o),i&&setTimeout(function(){n.disableTransition(),i.call()},n.options.speed))},t.prototype.asNavFor=function(t){var i=this,o=null!==i.options.asNavFor?e(i.options.asNavFor).slick("getSlick"):null;null!==o&&o.slideHandler(t,!0)},t.prototype.applyTransition=function(e){var t=this,i={};i[t.transitionType]=t.options.fade===!1?t.transformType+" "+t.options.speed+"ms "+t.options.cssEase:"opacity "+t.options.speed+"ms "+t.options.cssEase,t.options.fade===!1?t.$slideTrack.css(i):t.$slides.eq(e).css(i)},t.prototype.autoPlay=function(){var e=this;e.autoPlayTimer&&clearInterval(e.autoPlayTimer),e.slideCount>e.options.slidesToShow&&e.paused!==!0&&(e.autoPlayTimer=setInterval(e.autoPlayIterator,e.options.autoplaySpeed))},t.prototype.autoPlayClear=function(){var e=this;e.autoPlayTimer&&clearInterval(e.autoPlayTimer)},t.prototype.autoPlayIterator=function(){var e=this;e.options.infinite===!1?1===e.direction?(e.currentSlide+1===e.slideCount-1&&(e.direction=0),e.slideHandler(e.currentSlide+e.options.slidesToScroll)):(0===e.currentSlide-1&&(e.direction=1),e.slideHandler(e.currentSlide-e.options.slidesToScroll)):e.slideHandler(e.currentSlide+e.options.slidesToScroll)},t.prototype.buildArrows=function(){var t=this;t.options.arrows===!0&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow=e(t.options.prevArrow),t.$nextArrow=e(t.options.nextArrow),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.appendTo(t.options.appendArrows),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.appendTo(t.options.appendArrows),t.options.infinite!==!0&&t.$prevArrow.addClass("slick-disabled"))},t.prototype.buildDots=function(){var t,i,o=this;if(o.options.dots===!0&&o.slideCount>o.options.slidesToShow){for(i='<ul class="'+o.options.dotsClass+'">',t=0;t<=o.getDotCount();t+=1)i+="<li>"+o.options.customPaging.call(this,o,t)+"</li>";i+="</ul>",o.$dots=e(i).appendTo(o.options.appendDots),o.$dots.find("li").first().addClass("slick-active")}},t.prototype.buildOut=function(){var t=this;t.$slides=t.$slider.children(t.options.slide+":not(.slick-cloned)").addClass("slick-slide"),t.slideCount=t.$slides.length,t.$slides.each(function(t,i){e(i).attr("data-slick-index",t)}),t.$slidesCache=t.$slides,t.$slider.addClass("slick-slider"),t.$slideTrack=0===t.slideCount?e('<div class="slick-track"/>').appendTo(t.$slider):t.$slides.wrapAll('<div class="slick-track"/>').parent(),t.$list=t.$slideTrack.wrap('<div class="slick-list"/>').parent(),t.$slideTrack.css("opacity",0),(t.options.centerMode===!0||t.options.swipeToSlide===!0)&&(t.options.slidesToScroll=1),e("img[data-lazy]",t.$slider).not("[src]").addClass("slick-loading"),t.setupInfinite(),t.buildArrows(),t.buildDots(),t.updateDots(),t.options.accessibility===!0&&t.$list.prop("tabIndex",0),t.setSlideClasses("number"==typeof this.currentSlide?this.currentSlide:0),t.options.draggable===!0&&t.$list.addClass("draggable")},t.prototype.checkResponsive=function(t){var i,o,n,s=this,r=s.$slider.width(),a=window.innerWidth||e(window).width();if("window"===s.respondTo?n=a:"slider"===s.respondTo?n=r:"min"===s.respondTo&&(n=Math.min(a,r)),s.originalSettings.responsive&&s.originalSettings.responsive.length>-1&&null!==s.originalSettings.responsive){o=null;for(i in s.breakpoints)s.breakpoints.hasOwnProperty(i)&&(s.originalSettings.mobileFirst===!1?n<s.breakpoints[i]&&(o=s.breakpoints[i]):n>s.breakpoints[i]&&(o=s.breakpoints[i]));null!==o?null!==s.activeBreakpoint?o!==s.activeBreakpoint&&(s.activeBreakpoint=o,"unslick"===s.breakpointSettings[o]?s.unslick():(s.options=e.extend({},s.originalSettings,s.breakpointSettings[o]),t===!0&&(s.currentSlide=s.options.initialSlide),s.refresh())):(s.activeBreakpoint=o,"unslick"===s.breakpointSettings[o]?s.unslick():(s.options=e.extend({},s.originalSettings,s.breakpointSettings[o]),t===!0&&(s.currentSlide=s.options.initialSlide),s.refresh())):null!==s.activeBreakpoint&&(s.activeBreakpoint=null,s.options=s.originalSettings,t===!0&&(s.currentSlide=s.options.initialSlide),s.refresh())}},t.prototype.changeSlide=function(t,i){var o,n,s,r=this,a=e(t.target);switch(a.is("a")&&t.preventDefault(),s=0!==r.slideCount%r.options.slidesToScroll,o=s?0:(r.slideCount-r.currentSlide)%r.options.slidesToScroll,t.data.message){case"previous":n=0===o?r.options.slidesToScroll:r.options.slidesToShow-o,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide-n,!1,i);break;case"next":n=0===o?r.options.slidesToScroll:o,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide+n,!1,i);break;case"index":var l=0===t.data.index?0:t.data.index||e(t.target).parent().index()*r.options.slidesToScroll;r.slideHandler(r.checkNavigable(l),!1,i);break;default:return}},t.prototype.checkNavigable=function(e){var t,i,o=this;if(t=o.getNavigableIndexes(),i=0,e>t[t.length-1])e=t[t.length-1];else for(var n in t){if(e<t[n]){e=i;break}i=t[n]}return e},t.prototype.clickHandler=function(e){var t=this;t.shouldClick===!1&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault())},t.prototype.destroy=function(){var t=this;t.autoPlayClear(),t.touchObject={},e(".slick-cloned",t.$slider).remove(),t.$dots&&t.$dots.remove(),t.$prevArrow&&"object"!=typeof t.options.prevArrow&&t.$prevArrow.remove(),t.$nextArrow&&"object"!=typeof t.options.nextArrow&&t.$nextArrow.remove(),t.$slides.removeClass("slick-slide slick-active slick-center slick-visible").removeAttr("data-slick-index").css({position:"",left:"",top:"",zIndex:"",opacity:"",width:""}),t.$slider.removeClass("slick-slider"),t.$slider.removeClass("slick-initialized"),t.$list.off(".slick"),e(window).off(".slick-"+t.instanceUid),e(document).off(".slick-"+t.instanceUid),t.$slider.html(t.$slides)},t.prototype.disableTransition=function(e){var t=this,i={};i[t.transitionType]="",t.options.fade===!1?t.$slideTrack.css(i):t.$slides.eq(e).css(i)},t.prototype.fadeSlide=function(e,t){var i=this;i.cssTransitions===!1?(i.$slides.eq(e).css({zIndex:1e3}),i.$slides.eq(e).animate({opacity:1},i.options.speed,i.options.easing,t)):(i.applyTransition(e),i.$slides.eq(e).css({opacity:1,zIndex:1e3}),t&&setTimeout(function(){i.disableTransition(e),t.call()},i.options.speed))},t.prototype.filterSlides=t.prototype.slickFilter=function(e){var t=this;null!==e&&(t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.filter(e).appendTo(t.$slideTrack),t.reinit())},t.prototype.getCurrent=t.prototype.slickCurrentSlide=function(){var e=this;return e.currentSlide},t.prototype.getDotCount=function(){var e=this,t=0,i=0,o=0;if(e.options.infinite===!0)o=Math.ceil(e.slideCount/e.options.slidesToScroll);else if(e.options.centerMode===!0)o=e.slideCount;else for(;t<e.slideCount;)++o,t=i+e.options.slidesToShow,i+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return o-1},t.prototype.getLeft=function(e){var t,i,o,n=this,s=0;return n.slideOffset=0,i=n.$slides.first().outerHeight(),n.options.infinite===!0?(n.slideCount>n.options.slidesToShow&&(n.slideOffset=-1*n.slideWidth*n.options.slidesToShow,s=-1*i*n.options.slidesToShow),0!==n.slideCount%n.options.slidesToScroll&&e+n.options.slidesToScroll>n.slideCount&&n.slideCount>n.options.slidesToShow&&(e>n.slideCount?(n.slideOffset=-1*(n.options.slidesToShow-(e-n.slideCount))*n.slideWidth,s=-1*(n.options.slidesToShow-(e-n.slideCount))*i):(n.slideOffset=-1*n.slideCount%n.options.slidesToScroll*n.slideWidth,s=-1*n.slideCount%n.options.slidesToScroll*i))):e+n.options.slidesToShow>n.slideCount&&(n.slideOffset=(e+n.options.slidesToShow-n.slideCount)*n.slideWidth,s=(e+n.options.slidesToShow-n.slideCount)*i),n.slideCount<=n.options.slidesToShow&&(n.slideOffset=0,s=0),n.options.centerMode===!0&&n.options.infinite===!0?n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)-n.slideWidth:n.options.centerMode===!0&&(n.slideOffset=0,n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)),t=n.options.vertical===!1?-1*e*n.slideWidth+n.slideOffset:-1*e*i+s,n.options.variableWidth===!0&&(o=n.$slideTrack.children(".slick-slide").eq(n.slideCount<=n.options.slidesToShow||n.options.infinite===!1?e:e+n.options.slidesToShow),t=o[0]?-1*o[0].offsetLeft:0,n.options.centerMode===!0&&(o=n.$slideTrack.children(".slick-slide").eq(n.options.infinite===!1?e:e+n.options.slidesToShow+1),t=o[0]?-1*o[0].offsetLeft:0,t+=(n.$list.width()-o.outerWidth())/2)),t},t.prototype.getOption=t.prototype.slickGetOption=function(e){var t=this;return t.options[e]},t.prototype.getNavigableIndexes=function(){var e,t=this,i=0,o=0,n=[];for(t.options.infinite===!1?(e=t.slideCount-t.options.slidesToShow+1,t.options.centerMode===!0&&(e=t.slideCount)):(i=-1*t.slideCount,o=-1*t.slideCount,e=2*t.slideCount);e>i;)n.push(i),i=o+t.options.slidesToScroll,o+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;return n},t.prototype.getSlick=function(){return this},t.prototype.getSlideCount=function(){var t,i,o,n=this;return o=n.options.centerMode===!0?n.slideWidth*Math.floor(n.options.slidesToShow/2):0,n.options.swipeToSlide===!0?(n.$slideTrack.find(".slick-slide").each(function(t,s){return s.offsetLeft-o+e(s).outerWidth()/2>-1*n.swipeLeft?(i=s,!1):void 0}),t=Math.abs(e(i).attr("data-slick-index")-n.currentSlide)||1):n.options.slidesToScroll},t.prototype.goTo=t.prototype.slickGoTo=function(e,t){var i=this;i.changeSlide({data:{message:"index",index:parseInt(e)}},t)},t.prototype.init=function(){var t=this;e(t.$slider).hasClass("slick-initialized")||(e(t.$slider).addClass("slick-initialized"),t.buildOut(),t.setProps(),t.startLoad(),t.loadSlider(),t.initializeEvents(),t.updateArrows(),t.updateDots()),t.$slider.trigger("init",[t])},t.prototype.initArrowEvents=function(){var e=this;e.options.arrows===!0&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.on("click.slick",{message:"previous"},e.changeSlide),e.$nextArrow.on("click.slick",{message:"next"},e.changeSlide))},t.prototype.initDotEvents=function(){var t=this;t.options.dots===!0&&t.slideCount>t.options.slidesToShow&&e("li",t.$dots).on("click.slick",{message:"index"},t.changeSlide),t.options.dots===!0&&t.options.pauseOnDotsHover===!0&&t.options.autoplay===!0&&e("li",t.$dots).on("mouseenter.slick",function(){t.paused=!0,t.autoPlayClear()}).on("mouseleave.slick",function(){t.paused=!1,t.autoPlay()})},t.prototype.initializeEvents=function(){var t=this;t.initArrowEvents(),t.initDotEvents(),t.$list.on("touchstart.slick mousedown.slick",{action:"start"},t.swipeHandler),t.$list.on("touchmove.slick mousemove.slick",{action:"move"},t.swipeHandler),t.$list.on("touchend.slick mouseup.slick",{action:"end"},t.swipeHandler),t.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},t.swipeHandler),t.$list.on("click.slick",t.clickHandler),t.options.autoplay===!0&&(e(document).on(t.visibilityChange,function(){t.visibility()}),t.options.pauseOnHover===!0&&(t.$list.on("mouseenter.slick",function(){t.paused=!0,t.autoPlayClear()}),t.$list.on("mouseleave.slick",function(){t.paused=!1,t.autoPlay()}))),t.options.accessibility===!0&&t.$list.on("keydown.slick",t.keyHandler),t.options.focusOnSelect===!0&&e(t.$slideTrack).children().on("click.slick",t.selectHandler),e(window).on("orientationchange.slick.slick-"+t.instanceUid,function(){t.checkResponsive(),t.setPosition()}),e(window).on("resize.slick.slick-"+t.instanceUid,function(){e(window).width()!==t.windowWidth&&(clearTimeout(t.windowDelay),t.windowDelay=window.setTimeout(function(){t.windowWidth=e(window).width(),t.checkResponsive(),t.setPosition()},50))}),e("*[draggable!=true]",t.$slideTrack).on("dragstart",function(e){e.preventDefault()}),e(window).on("load.slick.slick-"+t.instanceUid,t.setPosition),e(document).on("ready.slick.slick-"+t.instanceUid,t.setPosition)},t.prototype.initUI=function(){var e=this;e.options.arrows===!0&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.show(),e.$nextArrow.show()),e.options.dots===!0&&e.slideCount>e.options.slidesToShow&&e.$dots.show(),e.options.autoplay===!0&&e.autoPlay()},t.prototype.keyHandler=function(e){var t=this;37===e.keyCode&&t.options.accessibility===!0?t.changeSlide({data:{message:"previous"}}):39===e.keyCode&&t.options.accessibility===!0&&t.changeSlide({data:{message:"next"}})},t.prototype.lazyLoad=function(){function t(t){e("img[data-lazy]",t).each(function(){var t=e(this),i=e(this).attr("data-lazy");t.load(function(){t.animate({opacity:1},200)}).css({opacity:0}).attr("src",i).removeAttr("data-lazy").removeClass("slick-loading")})}var i,o,n,s,r=this;r.options.centerMode===!0?r.options.infinite===!0?(n=r.currentSlide+(r.options.slidesToShow/2+1),s=n+r.options.slidesToShow+2):(n=Math.max(0,r.currentSlide-(r.options.slidesToShow/2+1)),s=2+(r.options.slidesToShow/2+1)+r.currentSlide):(n=r.options.infinite?r.options.slidesToShow+r.currentSlide:r.currentSlide,s=n+r.options.slidesToShow,r.options.fade===!0&&(n>0&&n--,s<=r.slideCount&&s++)),i=r.$slider.find(".slick-slide").slice(n,s),t(i),r.slideCount<=r.options.slidesToShow?(o=r.$slider.find(".slick-slide"),t(o)):r.currentSlide>=r.slideCount-r.options.slidesToShow?(o=r.$slider.find(".slick-cloned").slice(0,r.options.slidesToShow),t(o)):0===r.currentSlide&&(o=r.$slider.find(".slick-cloned").slice(-1*r.options.slidesToShow),t(o))},t.prototype.loadSlider=function(){var e=this;e.setPosition(),e.$slideTrack.css({opacity:1}),e.$slider.removeClass("slick-loading"),e.initUI(),"progressive"===e.options.lazyLoad&&e.progressiveLazyLoad()},t.prototype.next=t.prototype.slickNext=function(){var e=this;e.changeSlide({data:{message:"next"}})},t.prototype.pause=t.prototype.slickPause=function(){var e=this;e.autoPlayClear(),e.paused=!0},t.prototype.play=t.prototype.slickPlay=function(){var e=this;e.paused=!1,e.autoPlay()},t.prototype.postSlide=function(e){var t=this;t.$slider.trigger("afterChange",[t,e]),t.animating=!1,t.setPosition(),t.swipeLeft=null,t.options.autoplay===!0&&t.paused===!1&&t.autoPlay()},t.prototype.prev=t.prototype.slickPrev=function(){var e=this;e.changeSlide({data:{message:"previous"}})},t.prototype.progressiveLazyLoad=function(){var t,i,o=this;t=e("img[data-lazy]",o.$slider).length,t>0&&(i=e("img[data-lazy]",o.$slider).first(),i.attr("src",i.attr("data-lazy")).removeClass("slick-loading").load(function(){i.removeAttr("data-lazy"),o.progressiveLazyLoad()}).error(function(){i.removeAttr("data-lazy"),o.progressiveLazyLoad()}))},t.prototype.refresh=function(){var t=this,i=t.currentSlide;t.destroy(),e.extend(t,t.initials),t.init(),t.changeSlide({data:{message:"index",index:i}},!0)},t.prototype.reinit=function(){var t=this;t.$slides=t.$slideTrack.children(t.options.slide).addClass("slick-slide"),t.slideCount=t.$slides.length,t.currentSlide>=t.slideCount&&0!==t.currentSlide&&(t.currentSlide=t.currentSlide-t.options.slidesToScroll),t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0),t.setProps(),t.setupInfinite(),t.buildArrows(),t.updateArrows(),t.initArrowEvents(),t.buildDots(),t.updateDots(),t.initDotEvents(),t.options.focusOnSelect===!0&&e(t.$slideTrack).children().on("click.slick",t.selectHandler),t.setSlideClasses(0),t.setPosition(),t.$slider.trigger("reInit",[t])},t.prototype.removeSlide=t.prototype.slickRemove=function(e,t,i){var o=this;return"boolean"==typeof e?(t=e,e=t===!0?0:o.slideCount-1):e=t===!0?--e:e,o.slideCount<1||0>e||e>o.slideCount-1?!1:(o.unload(),i===!0?o.$slideTrack.children().remove():o.$slideTrack.children(this.options.slide).eq(e).remove(),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slidesCache=o.$slides,void o.reinit())},t.prototype.setCSS=function(e){var t,i,o=this,n={};o.options.rtl===!0&&(e=-e),t="left"==o.positionProp?Math.ceil(e)+"px":"0px",i="top"==o.positionProp?Math.ceil(e)+"px":"0px",n[o.positionProp]=e,o.transformsEnabled===!1?o.$slideTrack.css(n):(n={},o.cssTransitions===!1?(n[o.animType]="translate("+t+", "+i+")",o.$slideTrack.css(n)):(n[o.animType]="translate3d("+t+", "+i+", 0px)",o.$slideTrack.css(n)))},t.prototype.setDimensions=function(){var e=this;if(e.options.vertical===!1?e.options.centerMode===!0&&e.$list.css({padding:"0px "+e.options.centerPadding}):(e.$list.height(e.$slides.first().outerHeight(!0)*e.options.slidesToShow),e.options.centerMode===!0&&e.$list.css({padding:e.options.centerPadding+" 0px"})),e.listWidth=e.$list.width(),e.listHeight=e.$list.height(),e.options.vertical===!1&&e.options.variableWidth===!1)e.slideWidth=Math.ceil(e.listWidth/e.options.slidesToShow),e.$slideTrack.width(Math.ceil(e.slideWidth*e.$slideTrack.children(".slick-slide").length));else if(e.options.variableWidth===!0){var t=0;e.slideWidth=Math.ceil(e.listWidth/e.options.slidesToShow),e.$slideTrack.children(".slick-slide").each(function(){t+=e.listWidth}),e.$slideTrack.width(Math.ceil(t)+1)}else e.slideWidth=Math.ceil(e.listWidth),e.$slideTrack.height(Math.ceil(e.$slides.first().outerHeight(!0)*e.$slideTrack.children(".slick-slide").length));var i=e.$slides.first().outerWidth(!0)-e.$slides.first().width();e.options.variableWidth===!1&&e.$slideTrack.children(".slick-slide").width(e.slideWidth-i)},t.prototype.setFade=function(){var t,i=this;i.$slides.each(function(o,n){t=-1*i.slideWidth*o,e(n).css(i.options.rtl===!0?{position:"relative",right:t,top:0,zIndex:800,opacity:0}:{position:"relative",left:t,top:0,zIndex:800,opacity:0})}),i.$slides.eq(i.currentSlide).css({zIndex:900,opacity:1})},t.prototype.setHeight=function(){var e=this;if(1===e.options.slidesToShow&&e.options.adaptiveHeight===!0&&e.options.vertical===!1){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.css("height",t)}},t.prototype.setOption=t.prototype.slickSetOption=function(e,t,i){var o=this;o.options[e]=t,i===!0&&(o.unload(),o.reinit())},t.prototype.setPosition=function(){var e=this;e.setDimensions(),e.setHeight(),e.options.fade===!1?e.setCSS(e.getLeft(e.currentSlide)):e.setFade(),e.$slider.trigger("setPosition",[e])},t.prototype.setProps=function(){var e=this,t=document.body.style;e.positionProp=e.options.vertical===!0?"top":"left","top"===e.positionProp?e.$slider.addClass("slick-vertical"):e.$slider.removeClass("slick-vertical"),(void 0!==t.WebkitTransition||void 0!==t.MozTransition||void 0!==t.msTransition)&&e.options.useCSS===!0&&(e.cssTransitions=!0),void 0!==t.OTransform&&(e.animType="OTransform",e.transformType="-o-transform",e.transitionType="OTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.MozTransform&&(e.animType="MozTransform",e.transformType="-moz-transform",e.transitionType="MozTransition",void 0===t.perspectiveProperty&&void 0===t.MozPerspective&&(e.animType=!1)),void 0!==t.webkitTransform&&(e.animType="webkitTransform",e.transformType="-webkit-transform",e.transitionType="webkitTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.msTransform&&(e.animType="msTransform",e.transformType="-ms-transform",e.transitionType="msTransition",void 0===t.msTransform&&(e.animType=!1)),void 0!==t.transform&&e.animType!==!1&&(e.animType="transform",e.transformType="transform",e.transitionType="transition"),e.transformsEnabled=null!==e.animType&&e.animType!==!1},t.prototype.setSlideClasses=function(e){var t,i,o,n,s=this;s.$slider.find(".slick-slide").removeClass("slick-active").removeClass("slick-center"),i=s.$slider.find(".slick-slide"),s.options.centerMode===!0?(t=Math.floor(s.options.slidesToShow/2),s.options.infinite===!0&&(e>=t&&e<=s.slideCount-1-t?s.$slides.slice(e-t,e+t+1).addClass("slick-active"):(o=s.options.slidesToShow+e,i.slice(o-t+1,o+t+2).addClass("slick-active")),0===e?i.eq(i.length-1-s.options.slidesToShow).addClass("slick-center"):e===s.slideCount-1&&i.eq(s.options.slidesToShow).addClass("slick-center")),s.$slides.eq(e).addClass("slick-center")):e>=0&&e<=s.slideCount-s.options.slidesToShow?s.$slides.slice(e,e+s.options.slidesToShow).addClass("slick-active"):i.length<=s.options.slidesToShow?i.addClass("slick-active"):(n=s.slideCount%s.options.slidesToShow,o=s.options.infinite===!0?s.options.slidesToShow+e:e,s.options.slidesToShow==s.options.slidesToScroll&&s.slideCount-e<s.options.slidesToShow?i.slice(o-(s.options.slidesToShow-n),o+n).addClass("slick-active"):i.slice(o,o+s.options.slidesToShow).addClass("slick-active")),"ondemand"===s.options.lazyLoad&&s.lazyLoad()
36},t.prototype.setupInfinite=function(){var t,i,o,n=this;if(n.options.fade===!0&&(n.options.centerMode=!1),n.options.infinite===!0&&n.options.fade===!1&&(i=null,n.slideCount>n.options.slidesToShow)){for(o=n.options.centerMode===!0?n.options.slidesToShow+1:n.options.slidesToShow,t=n.slideCount;t>n.slideCount-o;t-=1)i=t-1,e(n.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i-n.slideCount).prependTo(n.$slideTrack).addClass("slick-cloned");for(t=0;o>t;t+=1)i=t,e(n.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i+n.slideCount).appendTo(n.$slideTrack).addClass("slick-cloned");n.$slideTrack.find(".slick-cloned").find("[id]").each(function(){e(this).attr("id","")})}},t.prototype.selectHandler=function(t){var i=this,o=parseInt(e(t.target).parents(".slick-slide").attr("data-slick-index"));return o||(o=0),i.slideCount<=i.options.slidesToShow?(i.$slider.find(".slick-slide").removeClass("slick-active"),i.$slides.eq(o).addClass("slick-active"),i.options.centerMode===!0&&(i.$slider.find(".slick-slide").removeClass("slick-center"),i.$slides.eq(o).addClass("slick-center")),void i.asNavFor(o)):void i.slideHandler(o)},t.prototype.slideHandler=function(e,t,i){var o,n,s,r,a=null,l=this;return t=t||!1,l.animating===!0&&l.options.waitForAnimate===!0||l.options.fade===!0&&l.currentSlide===e||l.slideCount<=l.options.slidesToShow?void 0:(t===!1&&l.asNavFor(e),o=e,a=l.getLeft(o),r=l.getLeft(l.currentSlide),l.currentLeft=null===l.swipeLeft?r:l.swipeLeft,l.options.infinite===!1&&l.options.centerMode===!1&&(0>e||e>l.getDotCount()*l.options.slidesToScroll)?void(l.options.fade===!1&&(o=l.currentSlide,i!==!0?l.animateSlide(r,function(){l.postSlide(o)}):l.postSlide(o))):l.options.infinite===!1&&l.options.centerMode===!0&&(0>e||e>l.slideCount-l.options.slidesToScroll)?void(l.options.fade===!1&&(o=l.currentSlide,i!==!0?l.animateSlide(r,function(){l.postSlide(o)}):l.postSlide(o))):(l.options.autoplay===!0&&clearInterval(l.autoPlayTimer),n=0>o?0!==l.slideCount%l.options.slidesToScroll?l.slideCount-l.slideCount%l.options.slidesToScroll:l.slideCount+o:o>=l.slideCount?0!==l.slideCount%l.options.slidesToScroll?0:o-l.slideCount:o,l.animating=!0,l.$slider.trigger("beforeChange",[l,l.currentSlide,n]),s=l.currentSlide,l.currentSlide=n,l.setSlideClasses(l.currentSlide),l.updateDots(),l.updateArrows(),l.options.fade===!0?(i!==!0?l.fadeSlide(n,function(){l.postSlide(n)}):l.postSlide(n),void l.animateHeight()):void(i!==!0?l.animateSlide(a,function(){l.postSlide(n)}):l.postSlide(n))))},t.prototype.startLoad=function(){var e=this;e.options.arrows===!0&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.hide(),e.$nextArrow.hide()),e.options.dots===!0&&e.slideCount>e.options.slidesToShow&&e.$dots.hide(),e.$slider.addClass("slick-loading")},t.prototype.swipeDirection=function(){var e,t,i,o,n=this;return e=n.touchObject.startX-n.touchObject.curX,t=n.touchObject.startY-n.touchObject.curY,i=Math.atan2(t,e),o=Math.round(180*i/Math.PI),0>o&&(o=360-Math.abs(o)),45>=o&&o>=0?n.options.rtl===!1?"left":"right":360>=o&&o>=315?n.options.rtl===!1?"left":"right":o>=135&&225>=o?n.options.rtl===!1?"right":"left":"vertical"},t.prototype.swipeEnd=function(){var e,t=this;if(t.dragging=!1,t.shouldClick=t.touchObject.swipeLength>10?!1:!0,void 0===t.touchObject.curX)return!1;if(t.touchObject.edgeHit===!0&&t.$slider.trigger("edge",[t,t.swipeDirection()]),t.touchObject.swipeLength>=t.touchObject.minSwipe)switch(t.swipeDirection()){case"left":e=t.options.swipeToSlide?t.checkNavigable(t.currentSlide+t.getSlideCount()):t.currentSlide+t.getSlideCount(),t.slideHandler(e),t.currentDirection=0,t.touchObject={},t.$slider.trigger("swipe",[t,"left"]);break;case"right":e=t.options.swipeToSlide?t.checkNavigable(t.currentSlide-t.getSlideCount()):t.currentSlide-t.getSlideCount(),t.slideHandler(e),t.currentDirection=1,t.touchObject={},t.$slider.trigger("swipe",[t,"right"])}else t.touchObject.startX!==t.touchObject.curX&&(t.slideHandler(t.currentSlide),t.touchObject={})},t.prototype.swipeHandler=function(e){var t=this;if(!(t.options.swipe===!1||"ontouchend"in document&&t.options.swipe===!1||t.options.draggable===!1&&-1!==e.type.indexOf("mouse")))switch(t.touchObject.fingerCount=e.originalEvent&&void 0!==e.originalEvent.touches?e.originalEvent.touches.length:1,t.touchObject.minSwipe=t.listWidth/t.options.touchThreshold,e.data.action){case"start":t.swipeStart(e);break;case"move":t.swipeMove(e);break;case"end":t.swipeEnd(e)}},t.prototype.swipeMove=function(e){var t,i,o,n,s,r=this;return s=void 0!==e.originalEvent?e.originalEvent.touches:null,!r.dragging||s&&1!==s.length?!1:(t=r.getLeft(r.currentSlide),r.touchObject.curX=void 0!==s?s[0].pageX:e.clientX,r.touchObject.curY=void 0!==s?s[0].pageY:e.clientY,r.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(r.touchObject.curX-r.touchObject.startX,2))),i=r.swipeDirection(),"vertical"!==i?(void 0!==e.originalEvent&&r.touchObject.swipeLength>4&&e.preventDefault(),n=(r.options.rtl===!1?1:-1)*(r.touchObject.curX>r.touchObject.startX?1:-1),o=r.touchObject.swipeLength,r.touchObject.edgeHit=!1,r.options.infinite===!1&&(0===r.currentSlide&&"right"===i||r.currentSlide>=r.getDotCount()&&"left"===i)&&(o=r.touchObject.swipeLength*r.options.edgeFriction,r.touchObject.edgeHit=!0),r.swipeLeft=r.options.vertical===!1?t+o*n:t+o*(r.$list.height()/r.listWidth)*n,r.options.fade===!0||r.options.touchMove===!1?!1:r.animating===!0?(r.swipeLeft=null,!1):void r.setCSS(r.swipeLeft)):void 0)},t.prototype.swipeStart=function(e){var t,i=this;return 1!==i.touchObject.fingerCount||i.slideCount<=i.options.slidesToShow?(i.touchObject={},!1):(void 0!==e.originalEvent&&void 0!==e.originalEvent.touches&&(t=e.originalEvent.touches[0]),i.touchObject.startX=i.touchObject.curX=void 0!==t?t.pageX:e.clientX,i.touchObject.startY=i.touchObject.curY=void 0!==t?t.pageY:e.clientY,void(i.dragging=!0))},t.prototype.unfilterSlides=t.prototype.slickUnfilter=function(){var e=this;null!==e.$slidesCache&&(e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.appendTo(e.$slideTrack),e.reinit())},t.prototype.unload=function(){var t=this;e(".slick-cloned",t.$slider).remove(),t.$dots&&t.$dots.remove(),t.$prevArrow&&"object"!=typeof t.options.prevArrow&&t.$prevArrow.remove(),t.$nextArrow&&"object"!=typeof t.options.nextArrow&&t.$nextArrow.remove(),t.$slides.removeClass("slick-slide slick-active slick-visible").css("width","")}
36,t.prototype.unslick=function(){var e=this;e.destroy()},t.prototype.updateArrows=function(){var e,t=this;e=Math.floor(t.options.slidesToShow/2),t.options.arrows===!0&&t.options.infinite!==!0&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.removeClass("slick-disabled"),t.$nextArrow.removeClass("slick-disabled"),0===t.currentSlide?(t.$prevArrow.addClass("slick-disabled"),t.$nextArrow.removeClass("slick-disabled")):t.currentSlide>=t.slideCount-t.options.slidesToShow&&t.options.centerMode===!1?(t.$nextArrow.addClass("slick-disabled"),t.$prevArrow.removeClass("slick-disabled")):t.currentSlide>=t.slideCount-1&&t.options.centerMode===!0&&(t.$nextArrow.addClass("slick-disabled"),t.$prevArrow.removeClass("slick-disabled")))},t.prototype.updateDots=function(){var e=this;null!==e.$dots&&(e.$dots.find("li").removeClass("slick-active"),e.$dots.find("li").eq(Math.floor(e.currentSlide/e.options.slidesToScroll)).addClass("slick-active"))},t.prototype.visibility=function(){var e=this;document[e.hidden]?(e.paused=!0,e.autoPlayClear()):(e.paused=!1,e.autoPlay())},e.fn.slick=function(){var e,i=this,o=arguments[0],n=Array.prototype.slice.call(arguments,1),s=i.length,r=0;for(r;s>r;r++)if("object"==typeof o||"undefined"==typeof o?i[r].slick=new t(i[r],o):e=i[r].slick[o].apply(i[r].slick,n),"undefined"!=typeof e)return e;return i},e(function(){e("[data-slick]").slick()})}),/*!
37 * SmartSnsBox.js v1.1.2
38 * This plugins is create original SNS button.
39 * support SNS: Twitter, Facebook(share only), LINE, Hatebu
40 * Author: Hiroki Ishiwatari
41 * Licensed under the MIT license
42 */
43!function(e,t){"function"==typeof define&&define.amd?define(function(){return t(e,e.document)}):e.SmartSnsBox=t(e,e.document)}(this,function(e,t){"use strict";function i(e){if(this.shareAPI={twitter:{Android:"intent://post?message={{text}} {{url}}{{hashtag}}/#Intent;scheme=twitter;package=com.twitter.android;end;",iOS:"twitter://post?message={{text}}{{url}}",Web:"http://twitter.com/share?url={{url}}&text={{text}}&hashtags={{hashtag}}"},line:{Android:"intent://msg/text/{{text}} {{url}}/#Intent;scheme=line;package=jp.naver.line.android;end;",iOS:"line://msg/text/{{text}} {{url}}",Web:"http://line.naver.jp/R/msg/text/?{{text}} {{url}}"},itmss:{twitter:"itmss://itunes.apple.com/jp/app/twitter/id333903271?mt=8",line:"itmss://itunes.apple.com/jp/app/line/id443904275?mt=8"},facebook:"http://www.facebook.com/sharer.php?u={{url}}",hatebu:"https://b.hatena.ne.jp/add?url={{url}}"},this.countAPI={twitter:"http://urls.api.twitter.com/1/urls/count.json",facebook:"https://graph.facebook.com/",hatebu:"http://api.b.st-hatena.com/entry.count"},this.searchAPI={twitter:"https://twitter.com/search?q={{url}}&mode=realtime",hatebu:"http://b.hatena.ne.jp/entry/{{url}}"},this.settings={text:t.title,url:location.href,service:"twitter line facebook hatebu",count:!0,app:!0,fallback:!0},"string"==typeof e)this.settings.selector=e;else if("object"==typeof e)for(var i in e)e.hasOwnProperty(i)&&(this.settings[i]=e[i]);this.init()}function o(i,o){var s;"string"==typeof i?s=i:"object"==typeof i&&(s=i.url+n(i.data));var r="jsonp_callback_"+Math.round(1e5*Math.random()),a=t.createElement("script");e[r]=function(i){try{delete e[r]}catch(n){e[r]=null}t.body.removeChild(a),o(i)},a.src=s+(s.indexOf("?")>=0?"&":"?")+"callback="+r,t.body.appendChild(a)}function n(e){var t="";for(var i in e)t+=(t.indexOf("?")>=0?"&":"?")+i+"="+e[i];return t}return i.prototype.init=function(){this.checkUA(),this.configureService(),this.build()},i.prototype.checkUA=function(){var e=navigator.userAgent.toLowerCase();this.UA=-1!==e.indexOf("iphone")||-1!==e.indexOf("ipad")||-1!==e.indexOf("ipod")?"iOS":-1!==e.indexOf("android")?"Android":"Web"},i.prototype.configureService=function(){for(var e=this.settings.service.split(" ")||{},t={},i=0,o=e.length;o>i;i++)t[e[i]]=!0;this.settings.service=t},i.prototype.build=function(){var e=this.settings,i=e.service,o=e.selector,n=o?t.querySelectorAll(""+o):t.body,s=t.createDocumentFragment();if(i.twitter&&s.appendChild(this.createButton("twitter")),i.facebook&&s.appendChild(this.createButton("facebook")),i.hatebu&&s.appendChild(this.createButton("hatebu")),i.line&&s.appendChild(this.createButton("line")),null!==n)for(var r=0,a=n.length;a>r;r++)n[r].appendChild(s),this.bindEvents(),e.count&&this.getCount()},i.prototype.createButton=function(e){var i,o,n,s,r=t.createElement("div"),a=t.createElement("a"),l=t.createElement("a"),c=this.settings,d=this.UA,p=this.shareAPI[e],u=this.countAPI[e],h=this.shareAPI.itmss[e];return"Web"!==d&&c.app?"Android"===d?i=p.Android||p:"iOS"===d&&(i=p.iOS||p,c.fallback&&"undefined"!=typeof h&&a.addEventListener("click",function(){this.setAttribute("href",h)},!1)):i=p.Web||p,r.className="share-item share-item--"+e,o=encodeURIComponent(c.text),n=encodeURIComponent(c.url),s=c.hashtag||"",i=i.replace("{{text}}",o),i=i.replace("{{url}}",n),i=i.replace("{{hashtag}}",s),a.className="share-btn",a.setAttribute("href",i),void 0!==a.textContent?a.textContent=e:a.innerText=e,a.elemClass=e,r.appendChild(a),c.count&&void 0!==u&&(l.className="share-count",void 0!==l.textContent?l.textContent=0:l.innerText=0,r.appendChild(l)),r},i.prototype.bindEvents=function(){var e,i=t.querySelectorAll(this.settings.selector+" .share-btn"),o=0,n=i.length;if(this.settings.app&&"Web"===this.UA)for(;n>o;o++)e=i[o],e.addEventListener?e.addEventListener("click",this.launchWindow,!1):e.setAttribute("target","_blank");else i[1].addEventListener("click",this.launchWindow,!1),i[2].addEventListener("click",this.launchWindow,!1)},i.prototype.launchWindow=function(t){t.preventDefault?t.preventDefault():t.returnValue=!1;var i=t.target.getAttribute("href");
43e.open(i,"","width=650, height=450, menubar=no, toolbar=no, scrollbars=yes")},i.prototype.getCount=function(){var e=this,i=this.settings.service,n=this.settings.url;i.twitter&&o({url:this.countAPI.twitter,data:{url:n}},function(i){var o=t.querySelector(e.settings.selector+" .share-item--twitter"),s=e.searchAPI.twitter.replace("{{url}}",n);o=o.children[1],void 0!==o.textContent?o.textContent=i.count||0:o.innerText=i.count||0,o.setAttribute("href",s),o.setAttribute("target","_blank")}),i.facebook&&o({url:this.countAPI.facebook,data:{id:n}},function(i){var o=t.querySelector(e.settings.selector+" .share-item--facebook");o=o.children[1],void 0!==o.textContent?o.textContent=i.shares||0:o.innerText=i.shares||0}),i.hatebu&&o({url:this.countAPI.hatebu,data:{url:n}},function(i){var o=t.querySelector(e.settings.selector+" .share-item--hatebu"),s=e.searchAPI.hatebu.replace("{{url}}",n);o=o.children[1],void 0!==o.textContent?o.textContent=i||0:o.innerText=i||0,o.setAttribute("href",s),o.setAttribute("target","_blank")})},i});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.