1function ssc_init(){if(document.body){var t=document.body,e=document.documentElement,o=window.innerHeight,i=t.scrollHeight;if(ssc_root=document.compatMode.indexOf("CSS")>=0?e:t,ssc_activeElement=t,ssc_initdone=!0,top!=self)ssc_frame=!0;else if(i>o&&(t.offsetHeight<=o||e.offsetHeight<=o)&&(ssc_root.style.height="auto",ssc_root.offsetHeight<=o)){var n=document.createElement("div");n.style.clear="both",t.appendChild(n)}ssc_fixedback||(t.style.backgroundAttachment="scroll",e.style.backgroundAttachment="scroll"),ssc_keyboardsupport&&ssc_addEvent("keydown",ssc_keydown)}}function ssc_scrollArray(t,e,o,i){if(i||(i=1e3),ssc_directionCheck(e,o),ssc_que.push({x:e,y:o,lastX:0>e?.99:-.99,lastY:0>o?.99:-.99,start:+new Date}),!ssc_pending){var n=function(){for(var s=+new Date,a=0,r=0,l=0;l<ssc_que.length;l++){var c=ssc_que[l],d=s-c.start,u=d>=ssc_animtime,p=u?1:d/ssc_animtime;ssc_pulseAlgorithm&&(p=ssc_pulse(p));var f=c.x*p-c.lastX>>0,h=c.y*p-c.lastY>>0;a+=f,r+=h,c.lastX+=f,c.lastY+=h,u&&(ssc_que.splice(l,1),l--)}if(e){var m=t.scrollLeft;t.scrollLeft+=a,a&&t.scrollLeft===m&&(e=0)}if(o){var g=t.scrollTop;t.scrollTop+=r,r&&t.scrollTop===g&&(o=0)}e||o||(ssc_que=[]),ssc_que.length?setTimeout(n,i/ssc_framerate+1):ssc_pending=!1};setTimeout(n,0),ssc_pending=!0}}function ssc_wheel(t){ssc_initdone||ssc_init();var e=t.target,o=ssc_overflowingAncestor(e);if(!o||t.defaultPrevented||ssc_isNodeName(ssc_activeElement,"embed")||ssc_isNodeName(e,"embed")&&/\.pdf/i.test(e.src))return!0;var i=t.wheelDeltaX||0,n=t.wheelDeltaY||0;i||n||(n=t.wheelDelta||0),Math.abs(i)>1.2&&(i*=ssc_stepsize/120),Math.abs(n)>1.2&&(n*=ssc_stepsize/120),ssc_scrollArray(o,-i,-n),t.preventDefault()}function ssc_keydown(t){var e=t.target,o=t.ctrlKey||t.altKey||t.metaKey;if(/input|textarea|embed/i.test(e.nodeName)||e.isContentEditable||t.defaultPrevented||o)return!0;if(ssc_isNodeName(e,"button")&&t.keyCode===ssc_key.spacebar)return!0;var i,n=0,s=0,a=ssc_overflowingAncestor(ssc_activeElement),r=a.clientHeight;switch(a==document.body&&(r=window.innerHeight),t.keyCode){case ssc_key.up:s=-ssc_arrowscroll;break;case ssc_key.down:s=ssc_arrowscroll;break;case ssc_key.spacebar:i=t.shiftKey?1:-1,s=-i*r*.9;break;case ssc_key.pageup:s=.9*-r;break;case ssc_key.pagedown:s=.9*r;break;case ssc_key.home:s=-a.scrollTop;break;case ssc_key.end:var l=a.scrollHeight-a.scrollTop-r;s=l>0?l+10:0;break;case ssc_key.left:n=-ssc_arrowscroll;break;case ssc_key.right:n=ssc_arrowscroll;break;default:return!0}ssc_scrollArray(a,n,s),t.preventDefault()}function ssc_mousedown(t){ssc_activeElement=t.target}function ssc_setCache(t,e){for(var o=t.length;o--;)ssc_cache[ssc_uniqueID(t[o])]=e;return e}function ssc_overflowingAncestor(t){var e=[],o=ssc_root.scrollHeight;do{var i=ssc_cache[ssc_uniqueID(t)];if(i)return ssc_setCache(e,i);if(e.push(t),o===t.scrollHeight){if(!ssc_frame||ssc_root.clientHeight+10<o)return ssc_setCache(e,document.body)}else if(t.clientHeight+10<t.scrollHeight&&(overflow=getComputedStyle(t,"").getPropertyValue("overflow"),"scroll"===overflow||"auto"===overflow))return ssc_setCache(e,t)}while(t=t.parentNode)}function ssc_addEvent(t,e,o){window.addEventListener(t,e,o||!1)}function ssc_removeEvent(t,e,o){window.removeEventListener(t,e,o||!1)}function ssc_isNodeName(t,e){return t.nodeName.toLowerCase()===e.toLowerCase()}function ssc_directionCheck(t,e){t=t>0?1:-1,e=e>0?1:-1,(ssc_direction.x!==t||ssc_direction.y!==e)&&(ssc_direction.x=t,ssc_direction.y=e,ssc_que=[])}function ssc_pulse_(t){var e,o,i;return t*=ssc_pulseScale,1>t?e=t-(1-Math.exp(-t)):(o=Math.exp(-1),t-=1,i=1-Math.exp(-t),e=o+i*(1-o)),e*ssc_pulseNormalize}function ssc_pulse(t){return t>=1?1:0>=t?0:(1==ssc_pulseNormalize&&(ssc_pulseNormalize/=ssc_pulse_(1)),ssc_pulse_(t))}!function(t,e,o,i){"use strict";function n(t){var e=t.currentTarget,i=t.data?t.data.options:{},n=t.data?t.data.items:[],s=o(e).attr("data-fancybox")||"",a=0;t.preventDefault(),t.stopPropagation(),s?(n=n.length?n.filter('[data-fancybox="'+s+'"]'):o('[data-fancybox="'+s+'"]'),a=n.index(e),a<0&&(a=0)):n=[e],o.fancybox.open(n,i,a)}if(o){if(o.fn.fancybox)return void o.error("fancyBox already initialized");var s={loop:!1,margin:[44,0],gutter:50,keyboard:!0,arrows:!0,infobar:!1,toolbar:!0,buttons:["slideShow","fullScreen","thumbs","close"],idleTime:4,smallBtn:"auto",protect:!1,modal:!1,image:{preload:"auto"},ajax:{settings:{data:{fancybox:!0}}},iframe:{tpl:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen allowtransparency="true" src=""></iframe>',preload:!0,css:{},attr:{scrolling:"auto"}},animationEffect:"zoom",animationDuration:366,zoomOpacity:"auto",transitionEffect:"fade",transitionDuration:366,slideClass:"",baseClass:"",baseTpl:'<div class="fancybox-container" role="dialog" tabindex="-1"><div class="fancybox-bg"></div><div class="fancybox-inner"><div class="fancybox-infobar"><button data-fancybox-prev title="{{PREV}}" class="fancybox-button fancybox-button--left"></button><div class="fancybox-infobar__body"><span data-fancybox-index></span> / <span data-fancybox-count></span></div><button data-fancybox-next title="{{NEXT}}" class="fancybox-button fancybox-button--right"></button></div><div class="fancybox-toolbar">{{BUTTONS}}</div><div class="fancybox-navigation"><button data-fancybox-prev title="{{PREV}}" class="fancybox-arrow fancybox-arrow--left" /><button data-fancybox-next title="{{NEXT}}" class="fancybox-arrow fancybox-arrow--right" /></div><div class="fancybox-stage"></div><div class="fancybox-caption-wrap"><div class="fancybox-caption"></div></div></div></div>',spinnerTpl:'<div class="fancybox-loading"></div>',errorTpl:'<div class="fancybox-error"><p>{{ERROR}}<p></div>',btnTpl:{slideShow:'<button data-fancybox-play class="fancybox-button fancybox-button--play" title="{{PLAY_START}}"></button>',fullScreen:'<button data-fancybox-fullscreen class="fancybox-button fancybox-button--fullscreen" title="{{FULL_SCREEN}}"></button>',thumbs:'<button data-fancybox-thumbs class="fancybox-button fancybox-button--thumbs" title="{{THUMBS}}"></button>',close:'<button data-fancybox-close class="fancybox-button fancybox-button--close" title="{{CLOSE}}"></button>',smallBtn:'<button data-fancybox-close class="fancybox-close-small" title="{{CLOSE}}"></button>'},parentEl:"body",autoFocus:!0,backFocus:!0,trapFocus:!0,fullScreen:{autoStart:!1},touch:{vertical:!0,momentum:!0},hash:null,media:{},slideShow:{autoStart:!1,speed:4e3},thumbs:{autoStart:!1,hideOnClose:!0},onInit:o.noop,beforeLoad:o.noop,afterLoad:o.noop,beforeShow:o.noop,afterShow:o.noop,beforeClose:o.noop,afterClose:o.noop,onActivate:o.noop,onDeactivate:o.noop,clickContent:function(t,e){return"image"===t.type&&"zoom"},clickSlide:"close",clickOutside:"close",dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1,mobile:{clickContent:function(t,e){return"image"===t.type&&"toggleControls"},clickSlide:function(t,e){return"image"===t.type?"toggleControls":"close"},dblclickContent:function(t,e){return"image"===t.type&&"zoom"},dblclickSlide:function(t,e){return"image"===t.type&&"zoom"}},lang:"en",i18n:{en:{CLOSE:"Close",NEXT:"Next",PREV:"Previous",ERROR:"The requested content cannot be loaded. <br/> Please try again later.",PLAY_START:"Start slideshow",PLAY_STOP:"Pause slideshow",FULL_SCREEN:"Full screen",THUMBS:"Thumbnails"},de:{CLOSE:"Schliessen",NEXT:"Weiter",PREV:"Zurück",ERROR:"Die angeforderten Daten konnten nicht geladen werden. <br/>
1 Bitte versuchen Sie es später nochmal.",PLAY_START:"Diaschau starten",PLAY_STOP:"Diaschau beenden",FULL_SCREEN:"Vollbild",THUMBS:"Vorschaubilder"}}},a=o(t),r=o(e),l=0,c=function(t){return t&&t.hasOwnProperty&&t instanceof o},d=function(){return t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||function(e){return t.setTimeout(e,1e3/60)}}(),u=function(){var t,o=e.createElement("fakeelement"),n={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(t in n)if(o.style[t]!==i)return n[t]}(),p=function(t){return t&&t.length&&t[0].offsetHeight},f=function(t,i,n){var a=this;a.opts=o.extend(!0,{index:n},s,i||{}),i&&o.isArray(i.buttons)&&(a.opts.buttons=i.buttons),a.id=a.opts.id||++l,a.group=[],a.currIndex=parseInt(a.opts.index,10)||0,a.prevIndex=null,a.prevPos=null,a.currPos=0,a.firstRun=null,a.createGroup(t),a.group.length&&(a.$lastFocus=o(e.activeElement).blur(),a.slides={},a.init(t))};o.extend(f.prototype,{init:function(){var t,e,i,n=this,s=n.group[n.currIndex].opts;n.scrollTop=r.scrollTop(),n.scrollLeft=r.scrollLeft(),o.fancybox.getInstance()||o.fancybox.isMobile||"hidden"===o("body").css("overflow")||(t=o("body").width(),o("html").addClass("fancybox-enabled"),t=o("body").width()-t,t>1&&o("head").append('<style id="fancybox-style-noscroll" type="text/css">.compensate-for-scrollbar, .fancybox-enabled body { margin-right: '+t+"px; }</style>")),i="",o.each(s.buttons,function(t,e){i+=s.btnTpl[e]||""}),e=o(n.translate(n,s.baseTpl.replace("{{BUTTONS}}",i))).addClass("fancybox-is-hidden").attr("id","fancybox-container-"+n.id).addClass(s.baseClass).data("FancyBox",n).prependTo(s.parentEl),n.$refs={container:e},["bg","inner","infobar","toolbar","stage","caption"].forEach(function(t){n.$refs[t]=e.find(".fancybox-"+t)}),(!s.arrows||n.group.length<2)&&e.find(".fancybox-navigation").remove(),s.infobar||n.$refs.infobar.remove(),s.toolbar||n.$refs.toolbar.remove(),n.trigger("onInit"),n.activate(),n.jumpTo(n.currIndex)},translate:function(t,e){var o=t.opts.i18n[t.opts.lang];return e.replace(/\{\{(\w+)\}\}/g,function(t,e){var n=o[e];return n===i?t:n})},createGroup:function(t){var e=this,n=o.makeArray(t);o.each(n,function(t,n){var s,a,r,l,c={},d={},u=[];o.isPlainObject(n)?(c=n,d=n.opts||n):"object"===o.type(n)&&o(n).length?(s=o(n),u=s.data(),d="options"in u?u.options:{},d="object"===o.type(d)?d:{},c.src="src"in u?u.src:d.src||s.attr("href"),["width","height","thumb","type","filter"].forEach(function(t){t in u&&(d[t]=u[t])}),"srcset"in u&&(d.image={srcset:u.srcset}),d.$orig=s,c.type||c.src||(c.type="inline",c.src=n)):c={type:"html",src:n+""},c.opts=o.extend(!0,{},e.opts,d),o.fancybox.isMobile&&(c.opts=o.extend(!0,{},c.opts,c.opts.mobile)),a=c.type||c.opts.type,r=c.src||"",!a&&r&&(r.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?a="image":r.match(/\.(pdf)((\?|#).*)?$/i)?a="pdf":"#"===r.charAt(0)&&(a="inline")),c.type=a,c.index=e.group.length,c.opts.$orig&&!c.opts.$orig.length&&delete c.opts.$orig,!c.opts.$thumb&&c.opts.$orig&&(c.opts.$thumb=c.opts.$orig.find("img:first")),c.opts.$thumb&&!c.opts.$thumb.length&&delete c.opts.$thumb,"function"===o.type(c.opts.caption)?c.opts.caption=c.opts.caption.apply(n,[e,c]):"caption"in u&&(c.opts.caption=u.caption),c.opts.caption=c.opts.caption===i?"":c.opts.caption+"","ajax"===a&&(l=r.split(/\s+/,2),l.length>1&&(c.src=l.shift(),c.opts.filter=l.shift())),"auto"==c.opts.smallBtn&&(o.inArray(a,["html","inline","ajax"])>-1?(c.opts.toolbar=!1,c.opts.smallBtn=!0):c.opts.smallBtn=!1),"pdf"===a&&(c.type="iframe",c.opts.iframe.preload=!1),c.opts.modal&&(c.opts=o.extend(!0,c.opts,{infobar:0,toolbar:0,smallBtn:0,keyboard:0,slideShow:0,fullScreen:0,thumbs:0,touch:0,clickContent:!1,clickSlide:!1,clickOutside:!1,dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1})),e.group.push(c)})},addEvents:function(){var i=this;i.removeEvents(),i.$refs.container.on("click.fb-close","[data-fancybox-close]",function(t){t.stopPropagation(),t.preventDefault(),i.close(t)}).on("click.fb-prev touchend.fb-prev","[data-fancybox-prev]",function(t){t.stopPropagation(),t.preventDefault(),i.previous()}).on("click.fb-next touchend.fb-next","[data-fancybox-next]",function(t){t.stopPropagation(),t.preventDefault(),i.next()}),a.on("orientationchange.fb resize.fb",function(t){t&&t.originalEvent&&"resize"===t.originalEvent.type?d(function(){i.update()}):(i.$refs.stage.hide(),setTimeout(function(){i.$refs.stage.show(),i.update()},500))}),r.on("focusin.fb",function(t){var n=o.fancybox?o.fancybox.getInstance():null;n.isClosing||!n.current||!n.current.opts.trapFocus||o(t.target).hasClass("fancybox-container")||o(t.target).is(e)||n&&"fixed"!==o(t.target).css("position")&&!n.$refs.container.has(t.target).length&&(t.stopPropagation(),n.focus(),a.scrollTop(i.scrollTop).scrollLeft(i.scrollLeft))}
1),r.on("keydown.fb",function(t){var e=i.current,n=t.keyCode||t.which;if(e&&e.opts.keyboard&&!o(t.target).is("input")&&!o(t.target).is("textarea"))return 8===n||27===n?(t.preventDefault(),void i.close(t)):37===n||38===n?(t.preventDefault(),void i.previous()):39===n||40===n?(t.preventDefault(),void i.next()):void i.trigger("afterKeydown",t,n)}),i.group[i.currIndex].opts.idleTime&&(i.idleSecondsCounter=0,r.on("mousemove.fb-idle mouseenter.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle",function(){i.idleSecondsCounter=0,i.isIdle&&i.showControls(),i.isIdle=!1}),i.idleInterval=t.setInterval(function(){i.idleSecondsCounter++,i.idleSecondsCounter>=i.group[i.currIndex].opts.idleTime&&(i.isIdle=!0,i.idleSecondsCounter=0,i.hideControls())},1e3))},removeEvents:function(){var e=this;a.off("orientationchange.fb resize.fb"),r.off("focusin.fb keydown.fb .fb-idle"),this.$refs.container.off(".fb-close .fb-prev .fb-next"),e.idleInterval&&(t.clearInterval(e.idleInterval),e.idleInterval=null)},previous:function(t){return this.jumpTo(this.currPos-1,t)},next:function(t){return this.jumpTo(this.currPos+1,t)},jumpTo:function(t,e,n){var s,a,r,l,c,d,u,f=this,h=f.group.length;if(!(f.isSliding||f.isClosing||f.isAnimating&&f.firstRun)){if(t=parseInt(t,10),a=f.current?f.current.opts.loop:f.opts.loop,!a&&(t<0||t>=h))return!1;if(s=f.firstRun=null===f.firstRun,!(h<2&&!s&&f.isSliding)){if(l=f.current,f.prevIndex=f.currIndex,f.prevPos=f.currPos,r=f.createSlide(t),h>1&&((a||r.index>0)&&f.createSlide(t-1),(a||r.index<h-1)&&f.createSlide(t+1)),f.current=r,f.currIndex=r.index,f.currPos=r.pos,f.trigger("beforeShow",s),f.updateControls(),d=o.fancybox.getTranslate(r.$slide),r.isMoved=(0!==d.left||0!==d.top)&&!r.$slide.hasClass("fancybox-animated"),r.forcedDuration=i,o.isNumeric(e)?r.forcedDuration=e:e=r.opts[s?"animationDuration":"transitionDuration"],e=parseInt(e,10),s)return r.opts.animationEffect&&e&&f.$refs.container.css("transition-duration",e+"ms"),f.$refs.container.removeClass("fancybox-is-hidden"),p(f.$refs.container),f.$refs.container.addClass("fancybox-is-open"),r.$slide.addClass("fancybox-slide--current"),f.loadSlide(r),void f.preload();o.each(f.slides,function(t,e){o.fancybox.stop(e.$slide)}),r.$slide.removeClass("fancybox-slide--next fancybox-slide--previous").addClass("fancybox-slide--current"),r.isMoved?(c=Math.round(r.$slide.width()),o.each(f.slides,function(t,i){var n=i.pos-r.pos;o.fancybox.animate(i.$slide,{top:0,left:n*c+n*i.opts.gutter},e,function(){i.$slide.removeAttr("style").removeClass("fancybox-slide--next fancybox-slide--previous"),i.pos===f.currPos&&(r.isMoved=!1,f.complete())})})):f.$refs.stage.children().removeAttr("style"),r.isLoaded?f.revealContent(r):f.loadSlide(r),f.preload(),l.pos!==r.pos&&(u="fancybox-slide--"+(l.pos>r.pos?"next":"previous"),l.$slide.removeClass("fancybox-slide--complete fancybox-slide--current fancybox-slide--next fancybox-slide--previous"),l.isComplete=!1,e&&(r.isMoved||r.opts.transitionEffect)&&(r.isMoved?l.$slide.addClass(u):(u="fancybox-animated "+u+" fancybox-fx-"+r.opts.transitionEffect,o.fancybox.animate(l.$slide,u,e,function(){l.$slide.removeClass(u).removeAttr("style")}))))}}},createSlide:function(t){var e,i,n=this;return i=t%n.group.length,i=i<0?n.group.length+i:i,!n.slides[t]&&n.group[i]&&(e=o('<div class="fancybox-slide"></div>').appendTo(n.$refs.stage),n.slides[t]=o.extend(!0,{},n.group[i],{pos:t,$slide:e,isLoaded:!1}),n.updateSlide(n.slides[t])),n.slides[t]},scaleToActual:function(t,e,n){var s,a,r,l,c,d=this,u=d.current,p=u.$content,f=parseInt(u.$slide.width(),10),h=parseInt(u.$slide.height(),10),m=u.width,g=u.height;"image"!=u.type||u.hasError||!p||d.isAnimating||(o.fancybox.stop(p),d.isAnimating=!0,t=t===i?.5*f:t,e=e===i?.5*h:e,s=o.fancybox.getTranslate(p),l=m/s.width,c=g/s.height,a=.5*f-.5*m,r=.5*h-.5*g,m>f&&(a=s.left*l-(t*l-t),a>0&&(a=0),a<f-m&&(a=f-m)),g>h&&(r=s.top*c-(e*c-e),r>0&&(r=0),r<h-g&&(r=h-g)),d.updateCursor(m,g),o.fancybox.animate(p,{top:r,left:a,scaleX:l,scaleY:c},n||330,function(){d.isAnimating=!1}),d.SlideShow&&d.SlideShow.isActive&&d.SlideShow.stop())},scaleToFit:function(t){var e,i=this,n=i.current,s=n.$content;"image"!=n.type||n.hasError||!s||i.isAnimating||(o.fancybox.stop(s),i.isAnimating=!0,e=i.getFitPos(n),i.updateCursor(e.width,e.height),o.fancybox.animate(s,{top:e.top,left
1:e.left,scaleX:e.width/s.width(),scaleY:e.height/s.height()},t||330,function(){i.isAnimating=!1}))},getFitPos:function(t){var e,i,n,s,r,l=this,c=t.$content,d=t.width,u=t.height,p=t.opts.margin;return!(!c||!c.length||!d&&!u)&&("number"===o.type(p)&&(p=[p,p]),2==p.length&&(p=[p[0],p[1],p[0],p[1]]),a.width()<800&&(p=[0,0,0,0]),e=parseInt(l.$refs.stage.width(),10)-(p[1]+p[3]),i=parseInt(l.$refs.stage.height(),10)-(p[0]+p[2]),n=Math.min(1,e/d,i/u),s=Math.floor(n*d),r=Math.floor(n*u),{top:Math.floor(.5*(i-r))+p[0],left:Math.floor(.5*(e-s))+p[3],width:s,height:r})},update:function(){var t=this;o.each(t.slides,function(e,o){t.updateSlide(o)})},updateSlide:function(t){var e=this,i=t.$content;i&&(t.width||t.height)&&(o.fancybox.stop(i),o.fancybox.setTranslate(i,e.getFitPos(t)),t.pos===e.currPos&&e.updateCursor()),t.$slide.trigger("refresh"),e.trigger("onUpdate",t)},updateCursor:function(t,e){var o,n=this,s=n.$refs.container.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-drag fancybox-can-zoomOut");n.current&&!n.isClosing&&(n.isZoomable()?(s.addClass("fancybox-is-zoomable"),o=t!==i&&e!==i?t<n.current.width&&e<n.current.height:n.isScaledDown(),o?s.addClass("fancybox-can-zoomIn"):n.current.opts.touch?s.addClass("fancybox-can-drag"):s.addClass("fancybox-can-zoomOut")):n.current.opts.touch&&s.addClass("fancybox-can-drag"))},isZoomable:function(){var t,e=this,i=e.current;if(i&&!e.isClosing)return!!("image"===i.type&&i.isLoaded&&!i.hasError&&("zoom"===i.opts.clickContent||o.isFunction(i.opts.clickContent)&&"zoom"===i.opts.clickContent(i))&&(t=e.getFitPos(i),i.width>t.width||i.height>t.height))},isScaledDown:function(){var t=this,e=t.current,i=e.$content,n=!1;return i&&(n=o.fancybox.getTranslate(i),n=n.width<e.width||n.height<e.height),n},canPan:function(){var t=this,e=t.current,o=e.$content,i=!1;return o&&(i=t.getFitPos(e),i=Math.abs(o.width()-i.width)>1||Math.abs(o.height()-i.height)>1),i},loadSlide:function(t){var e,i,n,s=this;if(!t.isLoading&&!t.isLoaded){switch(t.isLoading=!0,s.trigger("beforeLoad",t),e=t.type,i=t.$slide,i.off("refresh").trigger("onReset").addClass("fancybox-slide--"+(e||"unknown")).addClass(t.opts.slideClass),e){case"image":s.setImage(t);break;case"iframe":s.setIframe(t);break;case"html":s.setContent(t,t.src||t.content);break;case"inline":o(t.src).length?s.setContent(t,o(t.src)):s.setError(t);break;case"ajax":s.showLoading(t),n=o.ajax(o.extend({},t.opts.ajax.settings,{url:t.src,success:function(e,o){"success"===o&&s.setContent(t,e)},error:function(e,o){e&&"abort"!==o&&s.setError(t)}})),i.one("onReset",function(){n.abort()});break;default:s.setError(t)}return!0}},setImage:function(e){var i,n,s,a,r=this,l=e.opts.image.srcset;if(l){s=t.devicePixelRatio||1,a=t.innerWidth*s,n=l.split(",").map(function(t){var e={};return t.trim().split(/\s+/).forEach(function(t,o){var i=parseInt(t.substring(0,t.length-1),10);return 0===o?e.url=t:void(i&&(e.value=i,e.postfix=t[t.length-1]))}),e}),n.sort(function(t,e){return t.value-e.value});for(var c=0;c<n.length;c++){var d=n[c];if("w"===d.postfix&&d.value>=a||"x"===d.postfix&&d.value>=s){i=d;break}}!i&&n.length&&(i=n[n.length-1]),i&&(e.src=i.url,e.width&&e.height&&"w"==i.postfix&&(e.height=e.width/e.height*i.value,e.width=i.value))}e.$content=o('<div class="fancybox-image-wrap"></div>').addClass("fancybox-is-hidden").appendTo(e.$slide),e.opts.preload!==!1&&e.opts.width&&e.opts.height&&(e.opts.thumb||e.opts.$thumb)?(e.width=e.opts.width,e.height=e.opts.height,e.$ghost=o("<img />").one("error",function(){o(this).remove(),e.$ghost=null,r.setBigImage(e)}).one("load",function(){r.afterLoad(e),r.setBigImage(e)}).addClass("fancybox-image").appendTo(e.$content).attr("src",e.opts.thumb||e.opts.$thumb.attr("src"))):r.setBigImage(e)},setBigImage:function(t){var e=this,i=o("<img />");t.$image=i.one("error",function(){e.setError(t)}).one("load",function(){clearTimeout(t.timouts),t.timouts=null,e.isClosing||(t.width=this.naturalWidth,t.height=this.naturalHeight,t.opts.image.srcset&&i.attr("sizes","100vw").attr("srcset",t.opts.image.srcset),e.hideLoading(t),t.$ghost?t.timouts=setTimeout(function(){t.timouts=null,t.$ghost.hide()},Math.min(300,Math.max(1e3,t.height/1600))):e.afterLoad(t))}).addClass("fancybox-image").attr("src",t.src).appendTo(t.$content),i[0].complete?i.trigger("load"):i[0].error?i.trigger("error"):t.timouts=setTimeout(function(){i[0].complete||t.hasError||e.showLoading(t)}
1,100)},setIframe:function(t){var e,n=this,s=t.opts.iframe,a=t.$slide;t.$content=o('<div class="fancybox-content'+(s.preload?" fancybox-is-hidden":"")+'"></div>').css(s.css).appendTo(a),e=o(s.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr(s.attr).appendTo(t.$content),s.preload?(n.showLoading(t),e.on("load.fb error.fb",function(e){this.isReady=1,t.$slide.trigger("refresh"),n.afterLoad(t)}),a.on("refresh.fb",function(){var t,o,n,a,r,l=c.$content;if(1===e[0].isReady){try{t=e.contents(),o=t.find("body")}catch(c){}o&&o.length&&(s.css.width===i||s.css.height===i)&&(n=e[0].contentWindow.document.documentElement.scrollWidth,a=Math.ceil(o.outerWidth(!0)+(l.width()-n)),r=Math.ceil(o.outerHeight(!0)),l.css({width:s.css.width===i?a+(l.outerWidth()-l.innerWidth()):s.css.width,height:s.css.height===i?r+(l.outerHeight()-l.innerHeight()):s.css.height})),l.removeClass("fancybox-is-hidden")}})):this.afterLoad(t),e.attr("src",t.src),t.opts.smallBtn===!0&&t.$content.prepend(n.translate(t,t.opts.btnTpl.smallBtn)),a.one("onReset",function(){try{o(this).find("iframe").hide().attr("src","//about:blank")}catch(t){}o(this).empty(),t.isLoaded=!1})},setContent:function(t,e){var i=this;i.isClosing||(i.hideLoading(t),t.$slide.empty(),c(e)&&e.parent().length?(e.parent(".fancybox-slide--inline").trigger("onReset"),t.$placeholder=o("<div></div>").hide().insertAfter(e),e.css("display","inline-block")):t.hasError||("string"===o.type(e)&&(e=o("<div>").append(o.trim(e)).contents(),3===e[0].nodeType&&(e=o("<div>").html(e))),t.opts.filter&&(e=o("<div>").html(e).find(t.opts.filter))),t.$slide.one("onReset",function(){t.$placeholder&&(t.$placeholder.after(e.hide()).remove(),t.$placeholder=null),t.$smallBtn&&(t.$smallBtn.remove(),t.$smallBtn=null),t.hasError||(o(this).empty(),t.isLoaded=!1)}),t.$content=o(e).appendTo(t.$slide),t.opts.smallBtn&&!t.$smallBtn&&(t.$smallBtn=o(i.translate(t,t.opts.btnTpl.smallBtn)).appendTo(t.$content)),this.afterLoad(t))},setError:function(t){t.hasError=!0,t.$slide.removeClass("fancybox-slide--"+t.type),this.setContent(t,this.translate(t,t.opts.errorTpl))},showLoading:function(t){var e=this;t=t||e.current,t&&!t.$spinner&&(t.$spinner=o(e.opts.spinnerTpl).appendTo(t.$slide))},hideLoading:function(t){var e=this;t=t||e.current,t&&t.$spinner&&(t.$spinner.remove(),delete t.$spinner)},afterLoad:function(t){var e=this;e.isClosing||(t.isLoading=!1,t.isLoaded=!0,e.trigger("afterLoad",t),e.hideLoading(t),t.opts.protect&&t.$content&&!t.hasError&&(t.$content.on("contextmenu.fb",function(t){return 2==t.button&&t.preventDefault(),!0}),"image"===t.type&&o('<div class="fancybox-spaceball"></div>').appendTo(t.$content)),e.revealContent(t))},revealContent:function(t){var e,n,s,a,r,l=this,c=t.$slide,d=!1;return e=t.opts[l.firstRun?"animationEffect":"transitionEffect"],s=t.opts[l.firstRun?"animationDuration":"transitionDuration"],s=parseInt(t.forcedDuration===i?s:t.forcedDuration,10),!t.isMoved&&t.pos===l.currPos&&s||(e=!1),"zoom"!==e||t.pos===l.currPos&&s&&"image"===t.type&&!t.hasError&&(d=l.getThumbPos(t))||(e="fade"),"zoom"===e?(r=l.getFitPos(t),r.scaleX=Math.round(r.width/d.width*100)/100,r.scaleY=Math.round(r.height/d.height*100)/100,delete r.width,delete r.height,a=t.opts.zoomOpacity,"auto"==a&&(a=Math.abs(t.width/t.height-d.width/d.height)>.1),a&&(d.opacity=.1,r.opacity=1),o.fancybox.setTranslate(t.$content.removeClass("fancybox-is-hidden"),d),p(t.$content),void o.fancybox.animate(t.$content,r,s,function(){l.complete()})):(l.updateSlide(t),e?(o.fancybox.stop(c),n="fancybox-animated fancybox-slide--"+(t.pos>l.prevPos?"next":"previous")+" fancybox-fx-"+e,c.removeAttr("style").removeClass("fancybox-slide--current fancybox-slide--next fancybox-slide--previous").addClass(n),t.$content.removeClass("fancybox-is-hidden"),p(c),void o.fancybox.animate(c,"fancybox-slide--current",s,function(e){c.removeClass(n).removeAttr("style"),t.pos===l.currPos&&l.complete()},!0)):(p(c),t.$content.removeClass("fancybox-is-hidden"),void(t.pos===l.currPos&&l.complete())))},getThumbPos:function(i){var n,s=this,a=!1,r=function(e){for(var i,n=e[0],s=n.getBoundingClientRect(),a=[];null!==n.parentElement;)"hidden"!==o(n.parentElement).css("overflow")&&"auto"!==o(n.parentElement).css("overflow")||a.push(n.parentElement.getBoundingClientRect()),n=n.parentElement;return i=a.every(function(t){var e=Math.min(s.right,t.right)-Math.max(s.left,t.left),o=Math.min(s.bottom,t.bottom)-Math.max(s.top,t.top);return e>0&&o>0}),i&&s.bottom>0&&s.right>0&&s.left<o(t).width()&&s.top<o(t).height()},l=i.opts.$thumb,c=l?l.offset():0;return c&&l[0].ownerDocument===e&&r(l)&&(n=s.$refs.stage.offset(),a={top:c.top-n.top+parseFloat(l.css("border-top-width")||0),left
1:c.left-n.left+parseFloat(l.css("border-left-width")||0),width:l.width(),height:l.height(),scaleX:1,scaleY:1}),a},complete:function(){var t=this,i=t.current,n={};i.isMoved||!i.isLoaded||i.isComplete||(i.isComplete=!0,i.$slide.siblings().trigger("onReset"),p(i.$slide),i.$slide.addClass("fancybox-slide--complete"),o.each(t.slides,function(e,i){i.pos>=t.currPos-1&&i.pos<=t.currPos+1?n[i.pos]=i:i&&(o.fancybox.stop(i.$slide),i.$slide.unbind().remove())}),t.slides=n,t.updateCursor(),t.trigger("afterShow"),(o(e.activeElement).is("[disabled]")||i.opts.autoFocus&&"image"!=i.type&&"iframe"!==i.type)&&t.focus())},preload:function(){var t,e,o=this;o.group.length<2||(t=o.slides[o.currPos+1],e=o.slides[o.currPos-1],t&&"image"===t.type&&o.loadSlide(t),e&&"image"===e.type&&o.loadSlide(e))},focus:function(){var t,e=this.current;this.isClosing||(t=e&&e.isComplete?e.$slide.find("button,:input,[tabindex],a").filter(":not([disabled]):visible:first"):null,t=t&&t.length?t:this.$refs.container,t.focus())},activate:function(){var t=this;o(".fancybox-container").each(function(){var e=o(this).data("FancyBox");e&&e.uid!==t.uid&&!e.isClosing&&e.trigger("onDeactivate")}),t.current&&(t.$refs.container.index()>0&&t.$refs.container.prependTo(e.body),t.updateControls()),t.trigger("onActivate"),t.addEvents()},close:function(t,e){var i,n,s,a,r,l,c=this,p=c.current,f=function(){c.cleanUp(t)};return!(c.isClosing||(c.isClosing=!0,c.trigger("beforeClose",t)===!1?(c.isClosing=!1,d(function(){c.update()}),1):(c.removeEvents(),p.timouts&&clearTimeout(p.timouts),s=p.$content,i=p.opts.animationEffect,n=o.isNumeric(e)?e:i?p.opts.animationDuration:0,p.$slide.off(u).removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"),p.$slide.siblings().trigger("onReset").remove(),n&&c.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing"),c.hideLoading(p),c.hideControls(),c.updateCursor(),"zoom"!==i||t!==!0&&s&&n&&"image"===p.type&&!p.hasError&&(l=c.getThumbPos(p))||(i="fade"),"zoom"===i?(o.fancybox.stop(s),r=o.fancybox.getTranslate(s),r.width=r.width*r.scaleX,r.height=r.height*r.scaleY,a=p.opts.zoomOpacity,"auto"==a&&(a=Math.abs(p.width/p.height-l.width/l.height)>.1),a&&(l.opacity=0),r.scaleX=r.width/l.width,r.scaleY=r.height/l.height,r.width=l.width,r.height=l.height,o.fancybox.setTranslate(p.$content,r),o.fancybox.animate(p.$content,l,n,f),0):(i&&n?t===!0?setTimeout(f,n):o.fancybox.animate(p.$slide.removeClass("fancybox-slide--current"),"fancybox-animated fancybox-slide--previous fancybox-fx-"+i,n,f):f(),0))))},cleanUp:function(t){var e,i=this;i.current.$slide.trigger("onReset"),i.$refs.container.empty().remove(),i.trigger("afterClose",t),i.$lastFocus&&!i.current.focusBack&&i.$lastFocus.focus(),i.current=null,e=o.fancybox.getInstance(),e?e.activate():(a.scrollTop(i.scrollTop).scrollLeft(i.scrollLeft),o("html").removeClass("fancybox-enabled"),o("#fancybox-style-noscroll").remove())},trigger:function(t,e){var i,n=Array.prototype.slice.call(arguments,1),s=this,a=e&&e.opts?e:s.current;return a?n.unshift(a):a=s,n.unshift(s),o.isFunction(a.opts[t])&&(i=a.opts[t].apply(a,n)),i===!1?i:void("afterClose"===t?r.trigger(t+".fb",n):s.$refs.container.trigger(t+".fb",n))},updateControls:function(t){var e=this,i=e.current,n=i.index,s=i.opts,a=s.caption,r=e.$refs.caption;i.$slide.trigger("refresh"),e.$caption=a&&a.length?r.html(a):null,e.isHiddenControls||e.showControls(),o("[data-fancybox-count]").html(e.group.length),o("[data-fancybox-index]").html(n+1),o("[data-fancybox-prev]").prop("disabled",!s.loop&&n<=0),o("[data-fancybox-next]").prop("disabled",!s.loop&&n>=e.group.length-1)},hideControls:function(){this.isHiddenControls=!0,this.$refs.container.removeClass("fancybox-show-infobar fancybox-show-toolbar fancybox-show-caption fancybox-show-nav")},showControls:function(){var t=this,e=t.current?t.current.opts:t.opts,o=t.$refs.container;t.isHiddenControls=!1,t.idleSecondsCounter=0,o.toggleClass("fancybox-show-toolbar",!(!e.toolbar||!e.buttons)).toggleClass("fancybox-show-infobar",!!(e.infobar&&t.group.length>1)).toggleClass("fancybox-show-nav",!!(e.arrows&&t.group.length>1)).toggleClass("fancybox-is-modal",!!e.modal),t.$caption?o.addClass("fancybox-show-caption "):o.removeClass("fancybox-show-caption")}
1,toggleControls:function(){this.isHiddenControls?this.showControls():this.hideControls()}}),o.fancybox={version:"3.1.20",defaults:s,getInstance:function(t){var e=o('.fancybox-container:not(".fancybox-is-closing"):first').data("FancyBox"),i=Array.prototype.slice.call(arguments,1);return e instanceof f&&("string"===o.type(t)?e[t].apply(e,i):"function"===o.type(t)&&t.apply(e,i),e)},open:function(t,e,o){return new f(t,e,o)},close:function(t){var e=this.getInstance();e&&(e.close(),t===!0&&this.close())},destroy:function(){this.close(!0),r.off("click.fb-start")},isMobile:e.createTouch!==i&&/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent),use3d:function(){var o=e.createElement("div");return t.getComputedStyle&&t.getComputedStyle(o).getPropertyValue("transform")&&!(e.documentMode&&e.documentMode<11)}(),getTranslate:function(t){var e;if(!t||!t.length)return!1;if(e=t.eq(0).css("transform"),e&&e.indexOf("matrix")!==-1?(e=e.split("(")[1],e=e.split(")")[0],e=e.split(",")):e=[],e.length)e=e.length>10?[e[13],e[12],e[0],e[5]]:[e[5],e[4],e[0],e[3]],e=e.map(parseFloat);else{e=[0,0,1,1];var o=/\.*translate\((.*)px,(.*)px\)/i,i=o.exec(t.eq(0).attr("style"));i&&(e[0]=parseFloat(i[2]),e[1]=parseFloat(i[1]))}return{top:e[0],left:e[1],scaleX:e[2],scaleY:e[3],opacity:parseFloat(t.css("opacity")),width:t.width(),height:t.height()}},setTranslate:function(t,e){var o="",n={};if(t&&e)return e.left===i&&e.top===i||(o=(e.left===i?t.position().left:e.left)+"px, "+(e.top===i?t.position().top:e.top)+"px",o=this.use3d?"translate3d("+o+", 0px)":"translate("+o+")"),e.scaleX!==i&&e.scaleY!==i&&(o=(o.length?o+" ":"")+"scale("+e.scaleX+", "+e.scaleY+")"),o.length&&(n.transform=o),e.opacity!==i&&(n.opacity=e.opacity),e.width!==i&&(n.width=e.width),e.height!==i&&(n.height=e.height),t.css(n)},animate:function(t,e,n,s,a){var r=u||"transitionend"; 2o.isFunction(n)&&(s=n,n=null),o.isPlainObject(e)||t.removeAttr("style"),t.on(r,function(n){(!n||!n.originalEvent||t.is(n.originalEvent.target)&&"z-index"!=n.originalEvent.propertyName)&&(t.off(r),o.isPlainObject(e)?e.scaleX!==i&&e.scaleY!==i&&(t.css("transition-duration","0ms"),e.width=t.width()*e.scaleX,e.height=t.height()*e.scaleY,e.scaleX=1,e.scaleY=1,o.fancybox.setTranslate(t,e)):a!==!0&&t.removeClass(e),o.isFunction(s)&&s(n))}),o.isNumeric(n)&&t.css("transition-duration",n+"ms"),o.isPlainObject(e)?o.fancybox.setTranslate(t,e):t.addClass(e),t.data("timer",setTimeout(function(){t.trigger("transitionend")},n+16))},stop:function(t){clearTimeout(t.data("timer")),t.off(u)}},o.fn.fancybox=function(t){var e;return t=t||{},e=t.selector||!1,e?o("body").off("click.fb-start",e).on("click.fb-start",e,{items:o(e),options:t},n):this.off("click.fb-start").on("click.fb-start",{items:this,options:t},n),this},r.on("click.fb-start","[data-fancybox]",n)}}(window,document,window.jQuery),function(t){"use strict";var e=function(e,o,i){if(e)return i=i||"","object"===t.type(i)&&(i=t.param(i,!0)),t.each(o,function(t,o){e=e.replace("$"+t,o||"")}),i.length&&(e+=(e.indexOf("?")>0?"&":"?")+i),e},o={youtube:{matcher:/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(watch\?(.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*))(.*)/i,params:{autoplay:1,autohide:1,fs:1,rel:0,hd:1,wmode:"transparent",enablejsapi:1,html5:1},paramPlace:8,type:"iframe",url:"//www.youtube.com/embed/$4",thumb:"//img.youtube.com/vi/$4/hqdefault.jpg"},vimeo:{matcher:/^.+vimeo.com\/(.*\/)?([\d]+)(.*)?/,params:{autoplay:1,hd:1,show_title:1,show_byline:1,show_portrait:0,fullscreen:1,api:1},paramPlace:3,type:"iframe",url:"//player.vimeo.com/video/$2"},metacafe:{matcher:/metacafe.com\/watch\/(\d+)\/(.*)?/,type:"iframe",url:"//www.metacafe.com/embed/$1/?ap=1"},dailymotion:{matcher:/dailymotion.com\/video\/(.*)\/?(.*)/,params:{additionalInfos:0,autoStart:1},type:"iframe",url:"//www.dailymotion.com/embed/video/$1"},vine:{matcher:/vine.co\/v\/([a-zA-Z0-9\?\=\-]+)/,type:"iframe",url:"//vine.co/v/$1/embed/simple"},instagram:{matcher:/(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,type:"image",url:"//$1/p/$2/media/?size=l"},google_maps:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(((maps\/(place\/(.*)\/)?\@(.*),(\d+.?\d+?)z))|(\?ll=))(.*)?/i,type:"iframe",url:function(t){return"//maps.google."+t[2]+"/?ll="+(t[9]?t[9]+"&z="+Math.floor(t[10])+(t[12]?t[12].replace(/^\//,"&"):""):t[12])+"&output="+(t[12]&&t[12].indexOf("layer=c")>0?"svembed":"embed")}}};t(document).on("onInit.fb",function(i,n){t.each(n.group,function(i,n){var s,a,r,l,c,d,u,p=n.src||"",f=!1;n.type||(s=t.extend(!0,{},o,n.opts.media),t.each(s,function(o,i){if(r=p.match(i.matcher),d={},u=o,r){if(f=i.type,i.paramPlace&&r[i.paramPlace]){c=r[i.paramPlace],"?"==c[0]&&(c=c.substring(1)),c=c.split("&");for(var s=0;s<c.length;++s){var h=c[s].split("=",2);2==h.length&&(d[h[0]]=decodeURIComponent(h[1].replace(/\+/g," ")))}}return l=t.extend(!0,{},i.params,n.opts[o],d),p="function"===t.type(i.url)?i.url.call(this,r,l,n):e(i.url,r,l),a="function"===t.type(i.thumb)?i.thumb.call(this,r,l,n):e(i.thumb,r),"vimeo"===u&&(p=p.replace("&%23","#")),!1}}),f?(n.src=p,n.type=f,n.opts.thumb||n.opts.$thumb&&n.opts.$thumb.length||(n.opts.thumb=a),"iframe"===f&&(t.extend(!0,n.opts,{iframe:{preload:!1,attr:{scrolling:"no"}}}),n.contentProvider=u,n.opts.slideClass+=" fancybox-slide--"+("google_maps"==u?"map":"video"))):n.type="image")})})}(window.jQuery),function(t,e,o){"use strict";var i=function(){return t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||function(e){return t.setTimeout(e,1e3/60)}}(),n=function(){return t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.oCancelAnimationFrame||function(e){t.clearTimeout(e)}}(),s=function(e){var o=[];e=e.originalEvent||e||t.e,e=e.touches&&e.touches.length?e.touches:e.changedTouches&&e.changedTouches.length?e.changedTouches:[e];for(var i in e)e[i].pageX?o.push({x:e[i].pageX,y:e[i].pageY}):e[i].clientX&&o.push({x:e[i].clientX,y:e[i].clientY});return o},a=function(t,e,o){return e&&t?"x"===o?t.x-e.x:"y"===o?t.y-e.y:Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)):0},r=function(t){if(t.is("a,button,input,select,textarea")||o.isFunction(t.get(0).onclick))return!0;for(var e=0,i=t[0].attributes,n=i.length;e<n;e++)if("data-fancybox-"===i[e].nodeName.substr(0,14))return!0;return!1},l=function(e){var o=t.getComputedStyle(e)["overflow-y"],i=t.getComputedStyle(e)["overflow-x"],n=("scroll"===o||"auto"===o)&&e.scrollHeight>e.clientHeight,s=("scroll"===i||"auto"===i)&&e.scrollWidth>e.clientWidth;return n||s},c=function(t){for(var e=!1;!(e=l(t.get(0)))&&(t=t.parent(),t.length&&!t.hasClass("fancybox-stage")&&!t.is("body")););return e},d=function(t){var e=this;e.instance=t,e.$bg=t.$refs.bg,e.$stage=t.$refs.stage,e.$container=t.$refs.container,e.destroy(),e.$container.on("touchstart.fb.touch mousedown.fb.touch",o.proxy(e,"ontouchstart"))};d.prototype.destroy=function(){this.$container.off(".fb.touch")},d.prototype.ontouchstart=function(i){var n=this,l=o(i.target),d=n.instance,u=d.current,p=u.$content,f="touchstart"==i.type;if(f&&n.$container.off("mousedown.fb.touch"),!u||n.instance.isAnimating||n.instance.isClosing)return i.stopPropagation(),void i.preventDefault();if((!i.originalEvent||2!=i.originalEvent.button)&&l.length&&!r(l)&&!r(l.parent())&&!(i.originalEvent.clientX>l[0].clientWidth+l.offset().left)&&(n.startPoints=s(i),n.startPoints&&!(n.startPoints.length>1&&d.isSliding))){if(n.$target=l,n.$content=p,n.canTap=!0,o(e).off(".fb.touch"),o(e).on(f?"touchend.fb.touch touchcancel.fb.touch":"mouseup.fb.touch mouseleave.fb.touch",o.proxy(n,"ontouchend")),o(e).on(f?"touchmove.fb.touch":"mousemove.fb.touch",o.proxy(n,"ontouchmove")),i.stopPropagation(),!d.current.opts.touch&&!d.canPan()||!l.is(n.$stage)&&!n.$stage.find(l).length)return void(l.is("img")&&i.preventDefault());o.fancybox.isMobile&&(c(n.$target)||c(n.$target.parent()))||i.preventDefault(),n.canvasWidth=Math.round(u.$slide[0].clientWidth),n.canvasHeight=Math.round(u.$slide[0].clientHeight),n.startTime=(new Date).getTime(),n.distanceX=n.distanceY=n.distance=0,n.isPanning=!1,n.isSwiping=!1,n.isZooming=!1,n.sliderStartPos=n.sliderLastPos||{top:0,left:0},n.contentStartPos=o.fancybox.getTranslate(n.$content),n.contentLastPos=null,1!==n.startPoints.length||n.isZooming||(n.canTap=!d.isSliding,"image"===u.type&&(n.contentStartPos.width>n.canvasWidth+1||n.contentStartPos.height>n.canvasHeight+1)?(o.fancybox.stop(n.$content),n.$content.css("transition-duration","0ms"),n.isPanning=!0):n.isSwiping=!0,n.$container.addClass("fancybox-controls--isGrabbing")),2!==n.startPoints.length||d.isAnimating||u.hasError||"image"!==u.type||!u.isLoaded&&!u.$ghost||(n.isZooming=!0,n.isSwiping=!1,n.isPanning=!1,o.fancybox.stop(n.$content),n.$content.css("transition-duration","0ms"),n.centerPointStartX=.5*(n.startPoints[0].x+n.startPoints[1].x)-o(t).scrollLeft(),n.centerPointStartY=.5*(n.startPoints[0].y+n.startPoints[1].y)-o(t).scrollTop(),n.percentageOfImageAtPinchPointX=(n.
2centerPointStartX-n.contentStartPos.left)/n.contentStartPos.width,n.percentageOfImageAtPinchPointY=(n.centerPointStartY-n.contentStartPos.top)/n.contentStartPos.height,n.startDistanceBetweenFingers=a(n.startPoints[0],n.startPoints[1]))}},d.prototype.ontouchmove=function(t){var e=this;if(e.newPoints=s(t),o.fancybox.isMobile&&(c(e.$target)||c(e.$target.parent())))return t.stopPropagation(),void(e.canTap=!1);if((e.instance.current.opts.touch||e.instance.canPan())&&e.newPoints&&e.newPoints.length&&(e.distanceX=a(e.newPoints[0],e.startPoints[0],"x"),e.distanceY=a(e.newPoints[0],e.startPoints[0],"y"),e.distance=a(e.newPoints[0],e.startPoints[0]),e.distance>0)){if(!e.$target.is(e.$stage)&&!e.$stage.find(e.$target).length)return;t.stopPropagation(),t.preventDefault(),e.isSwiping?e.onSwipe():e.isPanning?e.onPan():e.isZooming&&e.onZoom()}},d.prototype.onSwipe=function(){var e,s=this,a=s.isSwiping,r=s.sliderStartPos.left||0;a===!0?Math.abs(s.distance)>10&&(s.canTap=!1,s.instance.group.length<2&&s.instance.opts.touch.vertical?s.isSwiping="y":s.instance.isSliding||s.instance.opts.touch.vertical===!1||"auto"===s.instance.opts.touch.vertical&&o(t).width()>800?s.isSwiping="x":(e=Math.abs(180*Math.atan2(s.distanceY,s.distanceX)/Math.PI),s.isSwiping=e>45&&e<135?"y":"x"),s.instance.isSliding=s.isSwiping,s.startPoints=s.newPoints,o.each(s.instance.slides,function(t,e){o.fancybox.stop(e.$slide),e.$slide.css("transition-duration","0ms"),e.inTransition=!1,e.pos===s.instance.current.pos&&(s.sliderStartPos.left=o.fancybox.getTranslate(e.$slide).left)}),s.instance.SlideShow&&s.instance.SlideShow.isActive&&s.instance.SlideShow.stop()):("x"==a&&(s.distanceX>0&&(s.instance.group.length<2||0===s.instance.current.index&&!s.instance.current.opts.loop)?r+=Math.pow(s.distanceX,.8):s.distanceX<0&&(s.instance.group.length<2||s.instance.current.index===s.instance.group.length-1&&!s.instance.current.opts.loop)?r-=Math.pow(-s.distanceX,.8):r+=s.distanceX),s.sliderLastPos={top:"x"==a?0:s.sliderStartPos.top+s.distanceY,left:r},s.requestId&&(n(s.requestId),s.requestId=null),s.requestId=i(function(){s.sliderLastPos&&(o.each(s.instance.slides,function(t,e){var i=e.pos-s.instance.currPos;
2o.fancybox.setTranslate(e.$slide,{top:s.sliderLastPos.top,left:s.sliderLastPos.left+i*s.canvasWidth+i*e.opts.gutter})}),s.$container.addClass("fancybox-is-sliding"))}))},d.prototype.onPan=function(){var t,e,s,a=this;a.canTap=!1,t=a.contentStartPos.width>a.canvasWidth?a.contentStartPos.left+a.distanceX:a.contentStartPos.left,e=a.contentStartPos.top+a.distanceY,s=a.limitMovement(t,e,a.contentStartPos.width,a.contentStartPos.height),s.scaleX=a.contentStartPos.scaleX,s.scaleY=a.contentStartPos.scaleY,a.contentLastPos=s,a.requestId&&(n(a.requestId),a.requestId=null),a.requestId=i(function(){o.fancybox.setTranslate(a.$content,a.contentLastPos)})},d.prototype.limitMovement=function(t,e,o,i){var n,s,a,r,l=this,c=l.canvasWidth,d=l.canvasHeight,u=l.contentStartPos.left,p=l.contentStartPos.top,f=l.distanceX,h=l.distanceY;return n=Math.max(0,.5*c-.5*o),s=Math.max(0,.5*d-.5*i),a=Math.min(c-o,.5*c-.5*o),r=Math.min(d-i,.5*d-.5*i),o>c&&(f>0&&t>n&&(t=n-1+Math.pow(-n+u+f,.8)||0),f<0&&t<a&&(t=a+1-Math.pow(a-u-f,.8)||0)),i>d&&(h>0&&e>s&&(e=s-1+Math.pow(-s+p+h,.8)||0),h<0&&e<r&&(e=r+1-Math.pow(r-p-h,.8)||0)),{top:e,left:t}},d.prototype.limitPosition=function(t,e,o,i){var n=this,s=n.canvasWidth,a=n.canvasHeight;return o>s?(t=t>0?0:t,t=t<s-o?s-o:t):t=Math.max(0,s/2-o/2),i>a?(e=e>0?0:e,e=e<a-i?a-i:e):e=Math.max(0,a/2-i/2),{top:e,left:t}},d.prototype.onZoom=function(){var e=this,s=e.contentStartPos.width,r=e.contentStartPos.height,l=e.contentStartPos.left,c=e.contentStartPos.top,d=a(e.newPoints[0],e.newPoints[1]),u=d/e.startDistanceBetweenFingers,p=Math.floor(s*u),f=Math.floor(r*u),h=(s-p)*e.percentageOfImageAtPinchPointX,m=(r-f)*e.percentageOfImageAtPinchPointY,g=(e.newPoints[0].x+e.newPoints[1].x)/2-o(t).scrollLeft(),v=(e.newPoints[0].y+e.newPoints[1].y)/2-o(t).scrollTop(),b=g-e.centerPointStartX,y=v-e.centerPointStartY,w=l+(h+b),x=c+(m+y),S={top:x,left:w,scaleX:e.contentStartPos.scaleX*u,scaleY:e.contentStartPos.scaleY*u};e.canTap=!1,e.newWidth=p,e.newHeight=f,e.contentLastPos=S,e.requestId&&(n(e.requestId),e.requestId=null),e.requestId=i(function(){o.fancybox.setTranslate(e.$content,e.contentLastPos)})},d.prototype.ontouchend=function(t){var i=this,a=Math.max((new Date).getTime()-i.startTime,1),r=i.isSwiping,l=i.isPanning,c=i.isZooming;return i.endPoints=s(t),i.$container.removeClass("fancybox-controls--isGrabbing"),o(e).off(".fb.touch"),i.requestId&&(n(i.requestId),i.requestId=null),i.isSwiping=!1,i.isPanning=!1,i.isZooming=!1,i.canTap?i.onTap(t):(i.speed=366,i.velocityX=i.distanceX/a*.5,i.velocityY=i.distanceY/a*.5,i.speedX=Math.max(.5*i.speed,Math.min(1.5*i.speed,1/Math.abs(i.velocityX)*i.speed)),void(l?i.endPanning():c?i.endZooming():i.endSwiping(r)))},d.prototype.endSwiping=function(t){var e=this,i=!1;e.instance.isSliding=!1,e.sliderLastPos=null,"y"==t&&Math.abs(e.distanceY)>50?(o.fancybox.animate(e.instance.current.$slide,{top:e.sliderStartPos.top+e.distanceY+150*e.velocityY,opacity:0},150),i=e.instance.close(!0,300)):"x"==t&&e.distanceX>50&&e.instance.group.length>1?i=e.instance.previous(e.speedX):"x"==t&&e.distanceX<-50&&e.instance.group.length>1&&(i=e.instance.next(e.speedX)),i!==!1||"x"!=t&&"y"!=t||e.instance.jumpTo(e.instance.current.index,150),e.$container.removeClass("fancybox-is-sliding")},d.prototype.endPanning=function(){var t,e,i,n=this;n.contentLastPos&&(n.instance.current.opts.touch.momentum===!1?(t=n.contentLastPos.left,e=n.contentLastPos.top):(t=n.contentLastPos.left+n.velocityX*n.speed,e=n.contentLastPos.top+n.velocityY*n.speed),i=n.limitPosition(t,e,n.contentStartPos.width,n.contentStartPos.height),i.width=n.contentStartPos.width,i.height=n.contentStartPos.height,o.fancybox.animate(n.$content,i,330))},d.prototype.endZooming=function(){var t,e,i,n,s=this,a=s.instance.current,r=s.newWidth,l=s.newHeight;s.contentLastPos&&(t=s.contentLastPos.left,e=s.contentLastPos.top,n={top:e,left:t,width:r,height:l,scaleX:1,scaleY:1},o.fancybox.setTranslate(s.$content,n),r<s.canvasWidth&&l<s.canvasHeight?s.instance.scaleToFit(150):r>a.width||l>a.height?s.instance.scaleToActual(s.centerPointStartX,s.centerPointStartY,150):(i=s.limitPosition(t,e,r,l),o.fancybox.setTranslate(s.content,o.fancybox.getTranslate(s.$content)),o.fancybox.animate(s.$content,i,150)))},d.prototype.onTap=function(t){var e,i=this,n=o(t.target),a=i.instance,r=a.current,l=t&&s(t)||i.startPoints,c=l[0]?l[0].x-i.$stage.offset().left:0,d=l[0]?l[0].y-i.$stage.offset().top:0,u=function(e){var n=r.opts[e];if(o.isFunction(n)&&(n=n.apply(a,[r,t])),n)switch(n){case"close"
2:a.close(i.startEvent);break;case"toggleControls":a.toggleControls(!0);break;case"next":a.next();break;case"nextOrClose":a.group.length>1?a.next():a.close(i.startEvent);break;case"zoom":"image"==r.type&&(r.isLoaded||r.$ghost)&&(a.canPan()?a.scaleToFit():a.isScaledDown()?a.scaleToActual(c,d):a.group.length<2&&a.close(i.startEvent))}};if(!(t.originalEvent&&2==t.originalEvent.button||a.isSliding||c>n[0].clientWidth+n.offset().left)){if(n.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container"))e="Outside";else if(n.is(".fancybox-slide"))e="Slide";else{if(!a.current.$content||!a.current.$content.has(t.target).length)return;e="Content"}if(i.tapped){if(clearTimeout(i.tapped),i.tapped=null,Math.abs(c-i.tapX)>50||Math.abs(d-i.tapY)>50||a.isSliding)return this;u("dblclick"+e)}else i.tapX=c,i.tapY=d,r.opts["dblclick"+e]&&r.opts["dblclick"+e]!==r.opts["click"+e]?i.tapped=setTimeout(function(){i.tapped=null,u("click"+e)},300):u("click"+e);return this}},o(e).on("onActivate.fb",function(t,e){e&&!e.Guestures&&(e.Guestures=new d(e))}),o(e).on("beforeClose.fb",function(t,e){e&&e.Guestures&&e.Guestures.destroy()})}(window,document,window.jQuery),function(t,e){"use strict";var o=function(t){this.instance=t,this.init()};e.extend(o.prototype,{timer:null,isActive:!1,$button:null,speed:3e3,init:function(){var t=this;t.$button=t.instance.$refs.toolbar.find("[data-fancybox-play]").on("click",function(){t.toggle()}),(t.instance.group.length<2||!t.instance.group[t.instance.currIndex].opts.slideShow)&&t.$button.hide()},set:function(){var t=this;t.instance&&t.instance.current&&(t.instance.current.opts.loop||t.instance.currIndex<t.instance.group.length-1)?t.timer=setTimeout(function(){t.instance.next()},t.instance.current.opts.slideShow.speed||t.speed):(t.stop(),t.instance.idleSecondsCounter=0,t.instance.showControls())},clear:function(){var t=this;clearTimeout(t.timer),t.timer=null},start:function(){var t=this,e=t.instance.current;t.instance&&e&&(e.opts.loop||e.index<t.instance.group.length-1)&&(t.isActive=!0,t.$button.attr("title",e.opts.i18n[e.opts.lang].PLAY_STOP).addClass("fancybox-button--pause"),e.isComplete&&t.set())},stop:function(){var t=this,e=t.instance.current;t.clear(),t.$button.attr("title",e.opts.i18n[e.opts.lang].PLAY_START).removeClass("fancybox-button--pause"),t.isActive=!1},toggle:function(){var t=this;t.isActive?t.stop():t.start()}}),e(t).on({"onInit.fb":function(t,e){e&&!e.SlideShow&&(e.SlideShow=new o(e))},"beforeShow.fb":function(t,e,o,i){var n=e&&e.SlideShow;i?n&&o.opts.slideShow.autoStart&&n.start():n&&n.isActive&&n.clear()},"afterShow.fb":function(t,e,o){var i=e&&e.SlideShow;i&&i.isActive&&i.set()},"afterKeydown.fb":function(o,i,n,s,a){var r=i&&i.SlideShow;!r||!n.opts.slideShow||80!==a&&32!==a||e(t.activeElement).is("button,a,input")||(s.preventDefault(),r.toggle(
2))},"beforeClose.fb onDeactivate.fb":function(t,e){var o=e&&e.SlideShow;o&&o.stop()}}),e(t).on("visibilitychange",function(){var o=e.fancybox.getInstance(),i=o&&o.SlideShow;i&&i.isActive&&(t.hidden?i.clear():i.set())})}(document,window.jQuery),function(t,e){"use strict";var o=function(){var e,o,i,n=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],s={};for(o=0;o<n.length;o++)if(e=n[o],e&&e[1]in t){for(i=0;i<e.length;i++)s[n[0][i]]=e[i];return s}return!1}();if(!o)return void(e.fancybox.defaults.btnTpl.fullScreen=!1);var i={request:function(e){e=e||t.documentElement,e[o.requestFullscreen](e.ALLOW_KEYBOARD_INPUT)},exit:function(){t[o.exitFullscreen]()},toggle:function(e){e=e||t.documentElement,this.isFullscreen()?this.exit():this.request(e)},isFullscreen:function(){return Boolean(t[o.fullscreenElement])},enabled:function(){return Boolean(t[o.fullscreenEnabled])}};e(t).on({"onInit.fb":function(t,e){var o,n=e.$refs.toolbar.find("[data-fancybox-fullscreen]");e&&!e.FullScreen&&e.group[e.currIndex].opts.fullScreen?(o=e.$refs.container,o.on("click.fb-fullscreen","[data-fancybox-fullscreen]",function(t){t.stopPropagation(),t.preventDefault(),i.toggle(o[0])}),e.opts.fullScreen&&e.opts.fullScreen.autoStart===!0&&i.request(o[0]),e.FullScreen=i):n.hide()},"afterKeydown.fb":function(t,e,o,i,n){e&&e.FullScreen&&70===n&&(i.preventDefault(),e.FullScreen.toggle(e.$refs.container[0]))},"beforeClose.fb":function(t){t&&t.FullScreen&&i.exit()}}),e(t).on(o.fullscreenchange,function(){var t=e.fancybox.getInstance();t.current&&"image"===t.current.type&&t.isAnimating&&(t.current.$content.css("transition","none"),t.isAnimating=!1,t.update(!0,!0,0))})}(document,window.jQuery),function(t,e){"use strict";var o=function(t){this.instance=t,this.init()};e.extend(o.prototype,{$button:null,$grid:null,$list:null,isVisible:!1,init:function(){var t=this,e=t.instance.group[0],o=t.instance.group[1];t.$button=t.instance.$refs.toolbar.find("[data-fancybox-thumbs]"),t.instance.group.length>1&&t.instance.group[t.instance.currIndex].opts.thumbs&&("image"==e.type||e.opts.thumb||e.opts.$thumb)&&("image"==o.type||o.opts.thumb||o.opts.$thumb)?(t.$button.on("click",function(){t.toggle()}),t.isActive=!0):(t.$button.hide(),t.isActive=!1)},create:function(){var t,o,i=this.instance;this.$grid=e('<div class="fancybox-thumbs"></div>').appendTo(i.$refs.container),t="<ul>",e.each(i.group,function(e,i){o=i.opts.thumb||(i.opts.$thumb?i.opts.$thumb.attr("src"):null),o||"image"!==i.type||(o=i.src),o&&o.length&&(t+='<li data-index="'+e+'" tabindex="0" class="fancybox-thumbs-loading"><img data-src="'+o+'" /></li>')}),t+="</ul>",this.$list=e(t).appendTo(this.$grid).on("click","li",function(){i.jumpTo(e(this).data("index"))}),this.$list.find("img").hide().one("load",function(){var t,o,i,n,s=e(this).parent().removeClass("fancybox-thumbs-loading"),a=s.outerWidth(),r=s.outerHeight();t=this.naturalWidth||this.width,o=this.naturalHeight||this.height,i=t/a,n=o/r,i>=1&&n>=1&&(i>n?(t/=n,o=r):(t=a,o/=i)),e(this).css({width:Math.floor(t),height:Math.floor(o),"margin-top":Math.min(0,Math.floor(.3*r-.3*o)),"margin-left":Math.min(0,Math.floor(.5*a-.5*t))}).show()}).each(function(){this.src=e(this).data("src")})},focus:function(){this.instance.current&&this.$list.children().removeClass("fancybox-thumbs-active").filter('[data-index="'+this.instance.current.index+'"]').addClass("fancybox-thumbs-active").focus()},close:function(){this.$grid.hide()},update:function(){this.instance.$refs.container.toggleClass("fancybox-show-thumbs",this.isVisible),this.isVisible?(this.$grid||this.create(),this.instance.trigger("onThumbsShow"),this.focus()):this.$grid&&this.instance.trigger("onThumbsHide"),this.instance.update(
2)},hide:function(){this.isVisible=!1,this.update()},show:function(){this.isVisible=!0,this.update()},toggle:function(){this.isVisible=!this.isVisible,this.update()}}),e(t).on({"onInit.fb":function(t,e){e&&!e.Thumbs&&(e.Thumbs=new o(e))},"beforeShow.fb":function(t,e,o,i){var n=e&&e.Thumbs;if(n&&n.isActive){if(o.modal)return n.$button.hide(),void n.hide();i&&e.opts.thumbs.autoStart===!0&&n.show(),n.isVisible&&n.focus()}},"afterKeydown.fb":function(t,e,o,i,n){var s=e&&e.Thumbs;s&&s.isActive&&71===n&&(i.preventDefault(),s.toggle())},"beforeClose.fb":function(t,e){var o=e&&e.Thumbs;o&&o.isVisible&&e.opts.thumbs.hideOnClose!==!1&&o.close()}})}(document,window.jQuery),function(t,e,o){"use strict";function i(){var t=e.location.hash.substr(1),o=t.split("-"),i=o.length>1&&/^\+?\d+$/.test(o[o.length-1])?parseInt(o.pop(-1),10)||1:1,n=o.join("-");return i<1&&(i=1),{hash:t,index:i,gallery:n}}function n(t){var e;""!==t.gallery&&(e=o("[data-fancybox='"+o.escapeSelector(t.gallery)+"']").eq(t.index-1),e.length?e.trigger("click"):o("#"+o.escapeSelector(t.gallery)).trigger("click"))}function s(t){var e;return!!t&&(e=t.current?t.current.opts:t.opts,e.$orig?e.$orig.data("fancybox"):e.hash||"")}o.escapeSelector||(o.escapeSelector=function(t){var e=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,o=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t};return(t+"").replace(e,o)});var a=null,r=null;o(function(){setTimeout(function(){o.fancybox.defaults.hash!==!1&&(o(t).on({"onInit.fb":function(t,e){var o,n;e.group[e.currIndex].opts.hash!==!1&&(o=i(),n=s(e),n&&o.gallery&&n==o.gallery&&(e.currIndex=o.index-1))},"beforeShow.fb":function(o,i,n,l){var c;n.opts.hash!==!1&&(c=s(i),c&&""!==c&&(e.location.hash.indexOf(c)<0&&(i.opts.origHash=e.location.hash),a=c+(i.group.length>1?"-"+(n.index+1):""),"replaceState"in e.history?(r&&clearTimeout(r),r=setTimeout(function(){e.history[l?"pushState":"replaceState"]({},t.title,e.location.pathname+e.location.search+"#"+a),r=null},300)):e.location.hash=a))},"beforeClose.fb":function(i,n,l){var c,d;r&&clearTimeout(r),l.opts.hash!==!1&&(c=s(n),d=n&&n.opts.origHash?n.opts.origHash:"",c&&""!==c&&("replaceState"in history?e.history.replaceState({},t.title,e.location.pathname+e.location.search+d):(e.location.hash=d,o(e).scrollTop(n.scrollTop).scrollLeft(n.scrollLeft))),a=null)}}),o(e).on("hashchange.fb",function(){var t=i();o.fancybox.getInstance()?!a||a===t.gallery+"-"+t.index||1===t.index&&a==t.gallery||(a=null,o.fancybox.close()):""!==t.gallery&&n(t)}),o(e).one("unload.fb popstate.fb",function(){o.fancybox.getInstance("close",!0,0)}),n(i()))},50)})}(document,window,window.jQuery),function(t,e){"use strict";function o(o,i,s,r,l){function c(){k=t.devicePixelRatio>1,d(s),i.delay>=0&&setTimeout(function(){u(!0)},i.delay),(i.delay<0||i.combined)&&(r.e=b(i.throttle,function(t){"resize"===t.type&&(S=C=-1),u(t.all)}),r.a=function(t){d(t),s.push.apply(s,t)},r.g=function(){return s=n(s).filter(function(){return!n(this).data(i.loadedName)})},r.f=function(t){for(var e=0;e<t.length;e++){var o=s.filter(function(){return this===t[e]});o.length&&u(!1,o)}},u(),n(i.appendScroll).on("scroll."+l+" resize."+l,r.e))}function d(t){var s=i.defaultImage,a=i.placeholder,r=i.imageBase,l=i.srcsetAttribute,c=i.loaderAttribute,d=i._f||{};t=n(t).filter(function(){var t=n(this),o=g(this);return!t.data(i.handledName)&&(t.attr(i.attribute)||t.attr(l)||t.attr(c)||d[o]!==e)}).data("plugin_"+i.name,o);for(var u=0,p=t.length;u<p;u++){var f=n(t[u]),h=g(t[u]),m=f.attr(i.imageBaseAttribute)||r;h===P&&m&&f.attr(l)&&f.attr(l,v(f.attr(l),m)),d[h]===e||f.attr(c)||f.attr(c,d[h]),h===P&&s&&!f.attr(A)?f.attr(A,s):h===P||!a||f.css(I)&&"none"!==f.css(I)||f.css(I,"url('"+a+"')")}}function u(t,e){if(!s.length)return void(i.autoDestroy&&o.destroy());for(var a=e||s,r=!1,l=i.imageBase||"",c=i.srcsetAttribute,d=i.handledName,u=0;u<a.length;u++)if(t||e||f(a[u])){var h=n(a[u]),m=g(a[u]),v=h.attr(i.attribute),b=h.attr(i.imageBaseAttribute)||l,y=h.attr(i.loaderAttribute);h.data(d)||i.visibleOnly&&!h.is(":visible")||!((v||h.attr(c))&&(m===P&&(b+v!==h.attr(A)||h.attr(c)!==h.attr(M))||m!==P&&b+v!==h.css(I))||y)||(r=!0,h.data(d,!0),p(h,m,b,y))}r&&(s=n(s).filter(function(){return!n(this).data(d)}))}function p(t,e,o,s){++x;var a=function(){w("onError",t),y(),a=n.noop};w("beforeLoad",t);var r=i.attribute,l=i.srcsetAttribute,c=i.sizesAttribute,d=i.retinaAttribute,u=i.removeAttribute,p=i.loadedName,f=t.attr(d);if(s){var h=function(){u&&t.removeAttr(i.loaderAttribute),t.data(p,!0),w(T,t),setTimeout(y,1),h=n.noop};t.off($).one($,a).one(_,h),w(s,t,function(e){e?(t.off(_),h()):(t.off($),a())})||t.trigger($)}else{var m=n(new Image);m.one($,a).one(_,function(){t.hide(),e===P?t.attr(E,m.attr(E)).attr(M,m.attr(M)).attr(A,m.attr(A)):t.css(I,"url('"+m.attr(A)+"')"),t[i.effect](i.effectTime),u&&(t.removeAttr(r+" "+l+" "+d+" "+i.imageBaseAttribute),c!==E&&t.removeAttr(c)),t.data(p,!0),w(T,t),m.remove(),y()});var g=(k&&f?f:t.attr(r))||"";m.attr(E,t.attr(c)).attr(M,t.attr(l)).attr(A,g?o+g:null),m.complete&&m.trigger(_)}}function f(t){var e=t.getBoundingClientRect(),o=i.scrollDirection,n=i.threshold,s=m()+n>e.top&&-n<e.bottom,a=h()+n>e.left&&-n<e.right;return"vertical"===o?s:"horizontal"===o?a:s&&a}function h(){return S>=0?S:S=n(t).width()}function m(){return C>=0?C:C=n(t).height()}function g(t){return t.tagName.toLowerCase()}function v(t,e){if(e){var o=t.split(",");t="";for(var i=0,n=o.length;i<n;i++)t+=e+o[i].trim()+(i!==n-1?",":"")}return t}function b(t,e){var n,s=0;return function(a,r){function l(){s=+new Date,e.call(o,a)}var c=+new Date-s;n&&clearTimeout(n),c>t||!i.enableThrottle||r?l():n=setTimeout(l,t-c)}}function y(){--x,s.length||x||w("onFinishedAll")}function w(t,e,n){return!!(t=i[t])&&(t.apply(o,[].slice.call(arguments,1
2)),!0)}var x=0,S=-1,C=-1,k=!1,T="afterLoad",_="load",$="error",P="img",A="src",M="srcset",E="sizes",I="background-image";"event"===i.bind||a?c():n(t).on(_+"."+l,c)}function i(i,a){var r=this,l=n.extend({},r.config,a),c={},d=l.name+"-"+ ++s;return r.config=function(t,o){return o===e?l[t]:(l[t]=o,r)},r.addItems=function(t){return c.a&&c.a("string"===n.type(t)?n(t):t),r},r.getItems=function(){return c.g?c.g():{}},r.update=function(t){return c.e&&c.e({},!t),r},r.force=function(t){return c.f&&c.f("string"===n.type(t)?n(t):t),r},r.loadAll=function(){return c.e&&c.e({all:!0},!0),r},r.destroy=function(){return n(l.appendScroll).off("."+d,c.e),n(t).off("."+d),c={},e},o(r,l,i,c,d),l.chainable?i:r}var n=t.jQuery||t.Zepto,s=0,a=!1;n.fn.Lazy=n.fn.lazy=function(t){return new i(this,t)},n.Lazy=n.lazy=function(t,o,s){if(n.isFunction(o)&&(s=o,o=[]),n.isFunction(s)){t=n.isArray(t)?t:[t],o=n.isArray(o)?o:[o];for(var a=i.prototype.config,r=a._f||(a._f={}),l=0,c=t.length;l<c;l++)(a[t[l]]===e||n.isFunction(a[t[l]]))&&(a[t[l]]=s);for(var d=0,u=o.length;d<u;d++)r[o[d]]=t[0]}},i.prototype.config={name:"lazy",chainable:!0,autoDestroy:!0,bind:"load",threshold:500,visibleOnly:!1,appendScroll:t,scrollDirection:"both",imageBase:null,defaultImage:"data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",placeholder:null,delay:-1,combined:!1,attribute:"data-src",srcsetAttribute:"data-srcset",sizesAttribute:"data-sizes",retinaAttribute:"data-retina",loaderAttribute:"data-loader",imageBaseAttribute:"data-imagebase",removeAttribute:!0,handledName:"handled",loadedName:"loaded",effect:"show",effectTime:0,enableThrottle:!0,throttle:250,beforeLoad:e,afterLoad:e,onError:e,onFinishedAll:e},n(t).on("load",function(){a=!0})}(window),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof module&&module.exports?module.exports=t:t(jQuery,window,document)}(function(t){!function(e){var o="function"==typeof define&&define.amd,i="undefined"!=typeof module&&module.exports,n="https:"==document.location.protocol?"https:":"http:",s="cdnjs.cloudflare.com/ajax/libs/jquery-mousewheel/3.1.13/jquery.mousewheel.min.js";o||(i?require("jquery-mousewheel")(t):t.event.special.mousewheel||t("head").append(decodeURI("%3Cscript src="+n+"//"+s+"%3E%3C/script%3E"))),e()}(function(){var e,o="mCustomScrollbar",i="mCS",n=".mCustomScrollbar",s={setTop:0,setLeft:0,axis:"y",scrollbarPosition:"inside",scrollInertia:950,autoDraggerLength:!0,alwaysShowScrollbar:0,snapOffset:0,mouseWheel:{enable:!0,scrollAmount:"auto",axis:"y",deltaFactor:"auto",disableOver:["select","option","keygen","datalist","textarea"]},scrollButtons:{scrollType:"stepless",scrollAmount:"auto"},keyboard:{enable:!0,scrollType:"stepless",scrollAmount:"auto"},contentTouchScroll:25,documentTouchScroll:!0,advanced:{autoScrollOnFocus:"input,textarea,select,button,datalist,keygen,a[tabindex],area,object,[contenteditable='true']",updateOnContentResize:!0,updateOnImageLoad:"auto",autoUpdateTimeout:60},theme:"light",callbacks:{onTotalScrollOffset:0,onTotalScrollBackOffset:0,alwaysTriggerOffsets:!0}},a=0,r={},l=window.attachEvent&&!window.addEventListener?1:0,c=!1,d=["mCSB_dragger_onDrag","mCSB_scrollTools_onDrag","mCS_img_loaded","mCS_disabled","mCS_destroyed","mCS_no_scrollbar","mCS-autoHide","mCS-dir-rtl","mCS_no_scrollbar_y","mCS_no_scrollbar_x","mCS_y_hidden","mCS_x_hidden","mCSB_draggerContainer","mCSB_buttonUp","mCSB_buttonDown","mCSB_buttonLeft","mCSB_buttonRight"],u={init:function(e){var e=t.extend(!0,{},s,e),o=p.call(this);if(e.live){var l=e.liveSelector||this.selector||n,c=t(l);if("off"===e.live)return void h(l);r[l]=setTimeout(function(){c.mCustomScrollbar(e),"once"===e.live&&c.length&&h(l)},500)}else h(l);return e.setWidth=e.set_width?e.set_width:e.setWidth,e.setHeight=e.set_height?e.set_height:e.setHeight,e.axis=e.horizontalScroll?"x":m(e.axis),e.scrollInertia=e.scrollInertia>0&&e.scrollInertia<17?17:e.scrollInertia,"object"!=typeof e.mouseWheel&&1==e.mouseWheel&&(e.mouseWheel={enable:!0,scrollAmount:"auto",axis:"y",preventDefault:!1,deltaFactor:"auto",normalizeDelta:!1,invert:!1}),e.mouseWheel.scrollAmount=e.mouseWheelPixels?e.mouseWheelPixels:e.mouseWheel.scrollAmount,e.mouseWheel.normalizeDelta=e.advanced.normalizeMouseWheelDelta?e.advanced.normalizeMouseWheelDelta:e.mouseWheel.normalizeDelta,e.scrollButtons.scrollType=g(e.scrollButtons.scrollType),f(e),t(o).each(function(){var o=t(this);if(!o.data(i)){o.data(i,{idx:++a,opt:e,scrollRatio:{y:null,x:null},overflowed:null,contentReset:{y:null,x:null},bindEvents:!1,tweenRunning:!1,sequential:{},langDir:o.css("direction"),cbOffsets:null,trigger:null,poll:{size:{o:0,n:0}
vendor: 7,962 bytes, lines 2-3
2,img:{o:0,n:0},change:{o:0,n:0}}});var n=o.data(i),s=n.opt,r=o.data("mcs-axis"),l=o.data("mcs-scrollbar-position"),c=o.data("mcs-theme");r&&(s.axis=r),l&&(s.scrollbarPosition=l),c&&(s.theme=c,f(s)),v.call(this),n&&s.callbacks.onCreate&&"function"==typeof s.callbacks.onCreate&&s.callbacks.onCreate.call(this),t("#mCSB_"+n.idx+"_container img:not(."+d[2]+")").addClass(d[2]),u.update.call(null,o)}})},update:function(e,o){var n=e||p.call(this);return t(n).each(function(){var e=t(this);if(e.data(i)){var n=e.data(i),s=n.opt,a=t("#mCSB_"+n.idx+"_container"),r=t("#mCSB_"+n.idx),l=[t("#mCSB_"+n.idx+"_dragger_vertical"),t("#mCSB_"+n.idx+"_dragger_horizontal")]; 3if(!a.length)return;n.tweenRunning&&V(e),o&&n&&s.callbacks.onBeforeUpdate&&"function"==typeof s.callbacks.onBeforeUpdate&&s.callbacks.onBeforeUpdate.call(this),e.hasClass(d[3])&&e.removeClass(d[3]),e.hasClass(d[4])&&e.removeClass(d[4]),r.css("max-height","none"),r.height()!==e.height()&&r.css("max-height",e.height()),y.call(this),"y"===s.axis||s.advanced.autoExpandHorizontalScroll||a.css("width",b(a)),n.overflowed=k.call(this),P.call(this),s.autoDraggerLength&&x.call(this),S.call(this),_.call(this);var c=[Math.abs(a[0].offsetTop),Math.abs(a[0].offsetLeft)];"x"!==s.axis&&(n.overflowed[0]?l[0].height()>l[0].parent().height()?T.call(this):(Z(e,c[0].toString(),{dir:"y",dur:0,overwrite:"none"}),n.contentReset.y=null):(T.call(this),"y"===s.axis?$.call(this):"yx"===s.axis&&n.overflowed[1]&&Z(e,c[1].toString(),{dir:"x",dur:0,overwrite:"none"}))),"y"!==s.axis&&(n.overflowed[1]?l[1].width()>l[1].parent().width()?T.call(this):(Z(e,c[1].toString(),{dir:"x",dur:0,overwrite:"none"}),n.contentReset.x=null):(T.call(this),"x"===s.axis?$.call(this):"yx"===s.axis&&n.overflowed[0]&&Z(e,c[0].toString(),{dir:"y",dur:0,overwrite:"none"}))),o&&n&&(2===o&&s.callbacks.onImageLoad&&"function"==typeof s.callbacks.onImageLoad?s.callbacks.onImageLoad.call(this):3===o&&s.callbacks.onSelectorChange&&"function"==typeof s.callbacks.onSelectorChange?s.callbacks.onSelectorChange.call(this):s.callbacks.onUpdate&&"function"==typeof s.callbacks.onUpdate&&s.callbacks.onUpdate.call(this)),N.call(this)}})},scrollTo:function(e,o){if("undefined"!=typeof e&&null!=e){var n=p.call(this);return t(n).each(function(){var n=t(this);if(n.data(i)){var s=n.data(i),a=s.opt,r={trigger:"external",scrollInertia:a.scrollInertia,scrollEasing:"mcsEaseInOut",moveDragger:!1,timeout:60,callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},l=t.extend(!0,{},r,o),c=q.call(this,e),d=l.scrollInertia>0&&l.scrollInertia<17?17:l.scrollInertia;c[0]=Y.call(this,c[0],"y"),c[1]=Y.call(this,c[1],"x"),l.moveDragger&&(c[0]*=s.scrollRatio.y,c[1]*=s.scrollRatio.x),l.dur=nt()?0:d,setTimeout(function(){null!==c[0]&&"undefined"!=typeof c[0]&&"x"!==a.axis&&s.overflowed[0]&&(l.dir="y",l.overwrite="all",Z(n,c[0].toString(),l)),null!==c[1]&&"undefined"!=typeof c[1]&&"y"!==a.axis&&s.overflowed[1]&&(l.dir="x",l.overwrite="none",Z(n,c[1].toString(),l))},l.timeout)}})}},stop:function(){var e=p.call(this);return t(e).each(function(){var e=t(this);e.data(i)&&V(e)})},disable:function(e){var o=p.call(this);return t(o).each(function(){var o=t(this);if(o.data(i)){o.data(i);N.call(this,"remove"),$.call(this),e&&T.call(this),P.call(this,!0),o.addClass(d[3])}})},destroy:function(){var e=p.call(this);return t(e).each(function(){var n=t(this);if(n.data(i)){var s=n.data(i),a=s.opt,r=t("#mCSB_"+s.idx),l=t("#mCSB_"+s.idx+"_container"),c=t(".mCSB_"+s.idx+"_scrollbar");a.live&&h(a.liveSelector||t(e).selector),N.call(this,"remove"),$.call(this),T.call(this),n.removeData(i),J(this,"mcs"),c.remove(),l.find("img."+d[2]).removeClass(d[2]),r.replaceWith(l.contents()),n.removeClass(o+" _"+i+"_"+s.idx+" "+d[6]+" "+d[7]+" "+d[5]+" "+d[3]).addClass(d[4])}})}},p=function(){return"object"!=typeof t(this)||t(this).length<1?n:this},f=function(e){var o=["rounded","rounded-dark","rounded-dots","rounded-dots-dark"],i=["rounded-dots","rounded-dots-dark","3d","3d-dark","3d-thick","3d-thick-dark","inset","inset-dark","inset-2","inset-2-dark","inset-3","inset-3-dark"],n=["minimal","minimal-dark"],s=["minimal","minimal-dark"],a=["minimal","minimal-dark"];e.autoDraggerLength=!(t.inArray(e.theme,o)>-1)&&e.autoDraggerLength,e.autoExpandScrollbar=!(t.inArray(e.theme,i)>-1)&&e.autoExpandScrollbar,e.scrollButtons.enable=!(t.inArray(e.theme,n)>-1)&&e.scrollButtons.enable,e.autoHideScrollbar=t.inArray(e.theme,s)>-1||e.autoHideScrollbar,e.scrollbarPosition=t.inArray(e.theme,a)>-1?"outside":e.scrollbarPosition},h=function(t){r[t]&&(clearTimeout(r[t]),J(r,t))},m=function(t){return"yx"===t||"xy"===t||"auto"===t?"yx":"x"===t||"horizontal"===t?"x":"y"},g=function(t){return"stepped"===t||"pixels"===t||"step"===t||"click"===t?"stepped":"stepless"},v=function(){var e=t(this),n=e.data(i),s=n.opt,a=s.autoExpandScrollbar?" "+d[1]+"_expand":"",r=["<div id='mCSB_"+n.idx+"_scrollbar_vertical' class='mCSB_scrollTools mCSB_"+n.idx+"_scrollbar mCS-"+s.theme+" mCSB_scrollTools_vertical"+a+"'><div class='"+d[12]+"'><div id='mCSB_"+n.idx+"_dragger_vertical' class='mCSB_dragger' style='position:absolute;'><div class='mCSB_dragger_bar' /></div><div class='mCSB_draggerRail' /></div></div>","<div id='mCSB_"+n.idx+"_scrollbar_horizontal' class='mCSB_scrollTools mCSB_"+n.idx+"_scrollbar mCS-"+s.theme+" mCSB_scrollTools_horizontal"+a+"'><div class='"+d[12]+"'><div id='mCSB_"+n.idx+"_dragger_horizontal' class='mCSB_dragger' style='position:absolute;'><div class='mCSB_dragger_bar' /></div><div class='mCSB_draggerRail' /></div></div>"],l="yx"===s.axis?"mCSB_vertical_horizontal":"x"===s.axis?"mCSB_horizontal":"mCSB_vertical",c="yx"===s.axis?r[0]+r[1]:"x"===s.axis?r[1]:r[0],u="yx"===s.axis?"<div id='mCSB_"+n.idx+"_container_wrapper' class='mCSB_container_wrapper' />":"",p=s.autoHideScrollbar?" "+d[6]:"",f="x"!==s.axis&&"rtl"===n.langDir?" "+d[7]:"";s.setWidth&&e.css("width",s.setWidth),s.setHeight&&e.css("height",s.setHeight),s.setLeft="y"!==s.axis&&"rtl"===n.langDir?"989999px":s.setLeft,e.addClass(o+" _"+i+"_"+n.idx+p+f).wrapInner("<div id='mCSB_"+n.idx+"' class='mCustomScrollBox mCS-"+s.theme+" "+l+"'><div id='mCSB_"+n.idx+"_container' class='mCSB_container' style='position:relative; top:"+s.setTop+"; left:"+s.setLeft+";' dir='"+n.langDir+"' /></div>");var h=t("#mCSB_"+n.idx),m=t("#mCSB_"+n.idx+"_container");"y"===s.axis||s.advanced.autoExpandHorizontalScroll||m.css("width",b(m)),"outside"===s.scrollbarPosition?("static"===e.css("position")&&e.css("position","relative"),e.css("overflow","visible"),h.addClass("mCSB_outside").after(c)):(h.addClass("mCSB_inside").append(c),m.wrap(u)),w.call(this);var g=[t("#mCSB_"+n.idx+"_dragger_vertical"),t("#mCSB_"+n.idx+"_dragger_horizontal")];g[0].css("min-height",g[0].height()),g[1].css("min-width",g[1].width())},b=function(e){var o=[e[0].scrollWidth,Math.max.apply(Math,e.children().map(function(){return t(this).outerWidth(!0)}).get())],i=e.parent().width();return o[0]>i?o[0]:o[1]>i?o[1]:"100%"},y=function(){var e=t(this),o=e.data(i),n=o.opt,s=t("#mCSB_"+o.idx+"_container");if(n.advanced.autoExpandHorizontalScroll&&"y"!==n.axis){s.css({width:"auto","min-width":0,"overflow-x":"scroll"});var a=Math.ceil(s[0].scrollWidth);3===n.advanced.autoExpandHorizontalScroll||2!==n.advanced.autoExpandHorizontalScroll&&a>s.parent().width()?s.css({width:a,"min-width":"100%","overflow-x":"inherit"}):s.css({"overflow-x":"inherit",position:"absolute"}).wrap("<div class='mCSB_h_wrapper' style='position:relative; left:0; width:999999px;' />").css({width:Math.ceil(s[0].getBoundingClientRect().right+.4)-Math.floor(s[0].getBoundingClientRect().left),"min-width":"100%",position:"relative"}).unwrap()}},w=function(){var e=t(this),o=e.data(i),n=o.opt,s=t(".mCSB_"+o.idx+"_scrollbar:first"),a=ot(n.scrollButtons.tabindex)?"tabindex='"+n.scrollButtons.tabindex+"'":"",r=["<a href='#' class='"+d[13]+"' "+a+" />","<a href='#' class='"+d[14]+"' "+a+" />","<a href='#' class='"+d[15]+"' "+a+" />","<a href='#' class='"+d[16]+"' "+a+" />
3"],l=["x"===n.axis?r[2]:r[0],"x"===n.axis?r[3]:r[1],r[2],r[3]];n.scrollButtons.enable&&s.prepend(l[0]).append(l[1]).next(".mCSB_scrollTools").prepend(l[2]).append(l[3])},x=function(){var e=t(this),o=e.data(i),n=t("#mCSB_"+o.idx),s=t("#mCSB_"+o.idx+"_container"),a=[t("#mCSB_"+o.idx+"_dragger_vertical"),t("#mCSB_"+o.idx+"_dragger_horizontal")],r=[n.height()/s.outerHeight(!1),n.width()/s.outerWidth(!1)],c=[parseInt(a[0].css("min-height")),Math.round(r[0]*a[0].parent().height()),parseInt(a[1].css("min-width")),Math.round(r[1]*a[1].parent().width())],d=l&&c[1]<c[0]?c[0]:c[1],u=l&&c[3]<c[2]?c[2]:c[3];a[0].css({height:d,"max-height":a[0].parent().height()-10}).find(".mCSB_dragger_bar").css({"line-height":c[0]+"px"}),a[1].css({width:u,"max-width":a[1].parent().width()-10})},S=function(){var e=t(this),o=e.data(i),n=t("#mCSB_"+o.idx),s=t("#mCSB_"+o.idx+"_container"),a=[t("#mCSB_"+o.idx+"_dragger_vertical"),t("#mCSB_"+o.idx+"_dragger_horizontal")],r=[s.outerHeight(!1)-n.height(),s.outerWidth(!1)-n.width()],l=[r[0]/(a[0].parent().height()-a[0].height()),r[1]/(a[1].parent().width()-a[1].width())];o.scrollRatio={y:l[0],x:l[1]}},C=function(t,e,o){var i=o?d[0]+"_expanded":"",n=t.closest(".mCSB_scrollTools");"active"===e?(t.toggleClass(d[0]+" "+i),n.toggleClass(d[1]),t[0]._draggable=t[0]._draggable?0:1):t[0]._draggable||("hide"===e?(t.removeClass(d[0]),n.removeClass(d[1])):(t.addClass(d[0]),n.addClass(d[1])))},k=function(){var e=t(this),o=e.data(i),n=t("#mCSB_"+o.idx),s=t("#mCSB_"+o.idx+"_container"),a=null==o.overflowed?s.height():s.outerHeight(!1),r=null==o.overflowed?s.width():s.outerWidth(!1),l=s[0].scrollHeight,c=s[0].scrollWidth;return l>a&&(a=l),c>r&&(r=c),[a>n.height(),r>n.width()]},T=function(){var e=t(this),o=e.data(i),n=o.opt,s=t("#mCSB_"+o.idx),a=t("#mCSB_"+o.idx+"_container"),r=[t("#mCSB_"+o.idx+"_dragger_vertical"),t("#mCSB_"+o.idx+"_dragger_horizontal")];if(V(e),("x"!==n.axis&&!o.overflowed[0]||"y"===n.axis&&o.overflowed[0])&&(r[0].add(a).css("top",0),Z(e,"_resetY")),"y"!==n.axis&&!o.overflowed[1]||"x"===n.axis&&o.overflowed[1]){var l=dx=0;"rtl"===o.langDir&&(l=s.width()-a.outerWidth(!1),dx=Math.abs(l/o.scrollRatio.x)),a.css("left",l),r[1].css("left",dx),Z(e,"_resetX")}},_=function(){function e(){a=setTimeout(function(){t.event.special.mousewheel?(clearTimeout(a),O.call(o[0])):e()},100)}var o=t(this),n=o.data(i),s=n.opt;if(!n.bindEvents){if(M.call(this),s.contentTouchScroll&&E.call(this),I.call(this),s.mouseWheel.enable){var a;e()}H.call(this),j.call(this),s.advanced.autoScrollOnFocus&&F.call(this),s.scrollButtons.enable&&R.call(this),s.keyboard.enable&&W.call(this),n.bindEvents=!0}},$=function(){var e=t(this),o=e.data(i),n=o.opt,s=i+"_"+o.idx,a=".mCSB_"+o.idx+"_scrollbar",r=t("#mCSB_"+o.idx+",#mCSB_"+o.idx+"_container,#mCSB_"+o.idx+"_container_wrapper,"+a+" ."+d[12]+",#mCSB_"+o.idx+"_dragger_vertical,#mCSB_"+o.idx+"_dragger_horizontal,"+a+">a"),l=t("#mCSB_"+o.idx+"_container");n.advanced.releaseDraggableSelectors&&r.add(t(n.advanced.releaseDraggableSelectors)),n.advanced.extraDraggableSelectors&&r.add(t(n.advanced.extraDraggableSelectors)),o.bindEvents&&(t(document).add(t(!L()||top.document)).unbind("."+s),r.each(function(){t(this).unbind("."+s)}),clearTimeout(e[0]._focusTimeout),J(e[0],"_focusTimeout"),clearTimeout(o.sequential.step),J(o.sequential,"step"),clearTimeout(l[0].onCompleteTimeout),J(l[0],"onCompleteTimeout"),o.bindEvents=!1)},P=function(e){var o=t(this),n=o.data(i),s=n.opt,a=t("#mCSB_"+n.idx+"_container_wrapper"),r=a.length?a:t("#mCSB_"+n.idx+"_container"),l=[t("#mCSB_"+n.idx+"_scrollbar_vertical"),t("#mCSB_"+n.idx+"_scrollbar_horizontal")],c=[l[0].find(".mCSB_dragger"),l[1].find(".mCSB_dragger")];"x"!==s.axis&&(n.overflowed[0]&&!e?(l[0].add(c[0]).add(l[0].children("a")).css("display","block"),r.removeClass(d[8]+" "+d[10])):(s.alwaysShowScrollbar?(2!==s.alwaysShowScrollbar&&c[0].css("display","none"),r.removeClass(d[10])):(l[0].css("display","none"),r.addClass(d[10])),r.addClass(d[8]))),"y"!==s.axis&&(n.overflowed[1]&&!e?(l[1].add(c[1]).add(l[1].children("a")).css("display","block"),r.removeClass(d[9]+" "+d[11])):(s.alwaysShowScrollbar?(2!==s.alwaysShowScrollbar&&c[1].css("display","none"),r.removeClass(d[11])):(l[1].css("display","none"),r.addClass(d[11])),r.addClass(d[9]))),n.overflowed[0]||n.overflowed[1]?o.removeClass(d[5]):o.addClass(d[5])},A=function(e){var o=e.type,i=e.target.ownerDocument!==document&&null!==frameElement?[t(frameElement).offset().top,t(frameElement).offset().left]:null,n=L()&&e.target.ownerDocument!==top.document&&null!==frameElement?[t(e.view.frameElement).offset().top,t(e.view.frameElement).offset().left]:[0,0];switch(o){case"pointerdown":case"MSPointerDown":case"pointermove":case"MSPointerMove":case"pointerup":case"MSPointerUp":return i?[e.originalEvent.pageY-i[0]+n[0],e.originalEvent.pageX-i[1]+n[1],!1]:[e.originalEvent.pageY,e.originalEvent.pageX,!1];case"touchstart":case"touchmove":case"touchend":var s=e.originalEvent.touches[0]||e.originalEvent.changedTouches[0],a=e.originalEvent.touches.length||e.originalEvent.changedTouches.length;return e.target.ownerDocument!==document?[s.screenY,s.screenX,a>1]:[s.pageY,s.pageX,a>1];default:return i?[e.pageY-i[0]+n[0],e.pageX-i[1]+n[1],!1]:[e.pageY,e.pageX,!1]}},M=function(){function e(t,e,i,n){if(f[0].idleTimer=d.scrollInertia<233?250:0,o.attr("id")===p[1])var s="x",l=(o[0].offsetLeft-e+n)*r.scrollRatio.x;else var s="y",l=(o[0].offsetTop-t+i)*r.scrollRatio.y;Z(a,l.toString(),{dir:s,drag:!0})}var o,n,s,a=t(this),r=a.data(i),d=r.opt,u=i+"_"+r.idx,p=["mCSB_"+r.idx+"_dragger_vertical","mCSB_"+r.idx+"_dragger_horizontal"],f=t("#mCSB_"+r.idx+"_container"),h=t("#"+p[0]+",#"+p[1]),m=d.advanced.releaseDraggableSelectors?h.add(t(d.advanced.releaseDraggableSelectors)):h,g=d.advanced.extraDraggableSelectors?t(!L()||top.document).add(t(d.advanced.extraDraggableSelectors)):t(!L()||top.document);h.bind("contextmenu."+u,function(t){t.preventDefault()}).bind("mousedown."+u+" touchstart."+u+" pointerdown."+u+" MSPointerDown."+u,function(e){if(e.stopImmediatePropagation(),e.preventDefault(),tt(e)){c=!0,l&&(document.onselectstart=function(){return!1}),D.call(f,!1),V(a),o=t(this);var i=o.offset(),r=A(e)[0]-i.top,u=A(e)[1]-i.left,p=o.height()+i.top,h=o.width()+i.left;r<p&&r>0&&u<h&&u>0&&(n=r,s=u),C(o,"active",d.autoExpandScrollbar)}}).bind("touchmove."+u,function(t){t.stopImmediatePropagation(),t.preventDefault();var i=o.offset(),a=A(t)[0]-i.top,r=A(t)[1]-i.left;e(n,s,a,r)}),t(document).add(g).bind("mousemove."+u+" pointermove."+u+" MSPointerMove."+u,function(t){if(o){var i=o.offset(),a=A(t)[0]-i.top,r=A(t)[1]-i.left;if(n===a&&s===r)return;e(n,s,a,r)}}).add(m).bind("mouseup."+u+" touchend."+u+" pointerup."+u+" MSPointerUp."+u,function(t){o&&(C(o,"active",d.autoExpandScrollbar),o=null),c=!1,l&&(document.onselectstart=null),D.call(f,!0)})}
vendor: 20,728 bytes, lines 3-4
3,E=function(){function o(t){if(!et(t)||c||A(t)[2])return void(e=0);e=1,S=0,C=0,d=1,k.removeClass("mCS_touch_action");var o=M.offset();u=A(t)[0]-o.top,p=A(t)[1]-o.left,z=[A(t)[0],A(t)[1]]}function n(t){if(et(t)&&!c&&!A(t)[2]&&(_.documentTouchScroll||t.preventDefault(),t.stopImmediatePropagation(),(!C||S)&&d)){g=G();var e=P.offset(),o=A(t)[0]-e.top,i=A(t)[1]-e.left,n="mcsLinearOut";if(I.push(o),O.push(i),z[2]=Math.abs(A(t)[0]-z[0]),z[3]=Math.abs(A(t)[1]-z[1]),T.overflowed[0])var s=E[0].parent().height()-E[0].height(),a=u-o>0&&o-u>-(s*T.scrollRatio.y)&&(2*z[3]<z[2]||"yx"===_.axis);if(T.overflowed[1])var r=E[1].parent().width()-E[1].width(),f=p-i>0&&i-p>-(r*T.scrollRatio.x)&&(2*z[2]<z[3]||"yx"===_.axis);a||f?(j||t.preventDefault(),S=1):(C=1,k.addClass("mCS_touch_action")),j&&t.preventDefault(),w="yx"===_.axis?[u-o,p-i]:"x"===_.axis?[null,p-i]:[u-o,null],M[0].idleTimer=250,T.overflowed[0]&&l(w[0],B,n,"y","all",!0),T.overflowed[1]&&l(w[1],B,n,"x",D,!0)}}function s(t){if(!et(t)||c||A(t)[2])return void(e=0);e=1,t.stopImmediatePropagation(),V(k),m=G();var o=P.offset();f=A(t)[0]-o.top,h=A(t)[1]-o.left,I=[],O=[]}function a(t){if(et(t)&&!c&&!A(t)[2]){d=0,t.stopImmediatePropagation(),S=0,C=0,v=G();var e=P.offset(),o=A(t)[0]-e.top,i=A(t)[1]-e.left;if(!(v-g>30)){y=1e3/(v-m);var n="mcsEaseOut",s=y<2.5,a=s?[I[I.length-2],O[O.length-2]]:[0,0];b=s?[o-a[0],i-a[1]]:[o-f,i-h];var u=[Math.abs(b[0]),Math.abs(b[1])];y=s?[Math.abs(b[0]/4),Math.abs(b[1]/4)]:[y,y];var p=[Math.abs(M[0].offsetTop)-b[0]*r(u[0]/y[0],y[0]),Math.abs(M[0].offsetLeft)-b[1]*r(u[1]/y[1],y[1])];w="yx"===_.axis?[p[0],p[1]]:"x"===_.axis?[null,p[1]]:[p[0],null],x=[4*u[0]+_.scrollInertia,4*u[1]+_.scrollInertia];var k=parseInt(_.contentTouchScroll)||0;w[0]=u[0]>k?w[0]:0,w[1]=u[1]>k?w[1]:0,T.overflowed[0]&&l(w[0],x[0],n,"y",D,!1),T.overflowed[1]&&l(w[1],x[1],n,"x",D,!1)}}}function r(t,e){var o=[1.5*e,2*e,e/1.5,e/2];return t>90?e>4?o[0]:o[3]:t>60?e>3?o[3]:o[2]:t>30?e>8?o[1]:e>6?o[0]:e>4?e:o[2]:e>8?e:o[3]}function l(t,e,o,i,n,s){t&&Z(k,t.toString(),{dur:e,scrollEasing:o,dir:i,overwrite:n,drag:s})}var d,u,p,f,h,m,g,v,b,y,w,x,S,C,k=t(this),T=k.data(i),_=T.opt,$=i+"_"+T.idx,P=t("#mCSB_"+T.idx),M=t("#mCSB_"+T.idx+"_container"),E=[t("#mCSB_"+T.idx+"_dragger_vertical"),t("#mCSB_"+T.idx+"_dragger_horizontal")],I=[],O=[],B=0,D="yx"===_.axis?"none":"all",z=[],H=M.find("iframe"),F=["touchstart."+$+" pointerdown."+$+" MSPointerDown."+$,"touchmove."+$+" pointermove."+$+" MSPointerMove."+$,"touchend."+$+" pointerup."+$+" MSPointerUp."+$],j=void 0!==document.body.style.touchAction&&""!==document.body.style.touchAction;M.bind(F[0],function(t){o(t)}).bind(F[1],function(t){n(t)}),P.bind(F[0],function(t){s(t)}).bind(F[2],function(t){a(t)}),H.length&&H.each(function(){t(this).bind("load",function(){L(this)&&t(this.contentDocument||this.contentWindow.document).bind(F[0],function(t){o(t),s(t)}).bind(F[1],function(t){n(t)}).bind(F[2],function(t){a(t)})})})},I=function(){function o(){return window.getSelection?window.getSelection().toString():document.selection&&"Control"!=document.selection.type?document.selection.createRange().text:0}function n(t,e,o){d.type=o&&s?"stepped":"stepless",d.scrollAmount=10,X(a,t,e,"mcsLinearOut",o?60:null)}var s,a=t(this),r=a.data(i),l=r.opt,d=r.sequential,u=i+"_"+r.idx,p=t("#mCSB_"+r.idx+"_container"),f=p.parent();p.bind("mousedown."+u,function(t){e||s||(s=1,c=!0)}).add(document).bind("mousemove."+u,function(t){if(!e&&s&&o()){var i=p.offset(),a=A(t)[0]-i.top+p[0].offsetTop,c=A(t)[1]-i.left+p[0].offsetLeft;a>0&&a<f.height()&&c>0&&c<f.width()?d.step&&n("off",null,"stepped"):("x"!==l.axis&&r.overflowed[0]&&(a<0?n("on",38):a>f.height()&&n("on",40)),"y"!==l.axis&&r.overflowed[1]&&(c<0?n("on",37):c>f.width()&&n("on",39)))}}).bind("mouseup."+u+" dragend."+u,function(t){e||(s&&(s=0,n("off",null)),c=!1)})},O=function(){function e(e,i){if(V(o),!z(o,e.target)){var a="auto"!==s.mouseWheel.deltaFactor?parseInt(s.mouseWheel.deltaFactor):l&&e.deltaFactor<100?100:e.deltaFactor||100,d=s.scrollInertia;if("x"===s.axis||"x"===s.mouseWheel.axis)var u="x",p=[Math.round(a*n.scrollRatio.x),parseInt(s.mouseWheel.scrollAmount)],f="auto"!==s.mouseWheel.scrollAmount?p[1]:p[0]>=r.width()?.9*r.width():p[0],h=Math.abs(t("#mCSB_"+n.idx+"_container")[0].offsetLeft),m=c[1][0].offsetLeft,g=c[1].parent().width()-c[1].width(),v="y"===s.mouseWheel.axis?e.deltaY||i:e.deltaX;else var u="y",p=[Math.round(a*n.scrollRatio.y),parseInt(s.mouseWheel.scrollAmount)],f="auto"!==s.mouseWheel.scrollAmount?p[1]:p[0]>=r.height()?.9*r.height():p[0],h=Math.abs(t("#mCSB_"+n.idx+"_container")[0].offsetTop),m=c[0][0].offsetTop,g=c[0].parent().height()-c[0].height(),v=e.deltaY||i;"y"===u&&!n.overflowed[0]||"x"===u&&!n.overflowed[1]||((s.mouseWheel.invert||e.webkitDirectionInvertedFromDevice)&&(v=-v),s.mouseWheel.normalizeDelta&&(v=v<0?-1:1),(v>0&&0!==m||v<0&&m!==g||s.mouseWheel.preventDefault)&&(e.stopImmediatePropagation(),e.preventDefault()),e.deltaFactor<5&&!s.mouseWheel.normalizeDelta&&(f=e.deltaFactor,d=17),Z(o,(h-v*f).toString(),{dir:u,dur:d}))}}if(t(this).data(i)){var o=t(this),n=o.data(i),s=n.opt,a=i+"_"+n.idx,r=t("#mCSB_"+n.idx),c=[t("#mCSB_"+n.idx+"_dragger_vertical"),t("#mCSB_"+n.idx+"_dragger_horizontal")],d=t("#mCSB_"+n.idx+"_container").find("iframe");d.length&&d.each(function(){t(this).bind("load",function(){L(this)&&t(this.contentDocument||this.contentWindow.document).bind("mousewheel."+a,function(t,o){e(t,o)})})}),r.bind("mousewheel."+a,function(t,o){e(t,o)})}},B=new Object,L=function(e){var o=!1,i=!1,n=null;if(void 0===e?i="#empty":void 0!==t(e).attr("id")&&(i=t(e).attr("id")),i!==!1&&void 0!==B[i])return B[i];if(e){try{var s=e.contentDocument||e.contentWindow.document;n=s.body.innerHTML}catch(a){}o=null!==n}else{try{var s=top.document;n=s.body.innerHTML}catch(a){}o=null!==n}return i!==!1&&(B[i]=o),o},D=function(t){var e=this.find("iframe");if(e.length){var o=t?"auto":"none";e.css("pointer-events",o)}},z=function(e,o){var n=o.nodeName.toLowerCase(),s=e.data(i).opt.mouseWheel.disableOver,a=["select","textarea"];return t.inArray(n,s)>-1&&!(t.inArray(n,a)>-1&&!t(o).is(":focus"))},H=function(){var e,o=t(this),n=o.data(i),s=i+"_"+n.idx,a=t("#mCSB_"+n.idx+"_container"),r=a.parent(),l=t(".mCSB_"+n.idx+"_scrollbar ."+d[12]);l.bind("mousedown."+s+" touchstart."+s+" pointerdown."+s+" MSPointerDown."+s,function(o){c=!0,t(o.target).hasClass("mCSB_dragger")||(e=1)}).bind("touchend."+s+" pointerup."+s+" MSPointerUp."+s,function(t){c=!1}).bind("click."+s,function(i){if(e&&(e=0,t(i.target).hasClass(d[12])||t(i.target).hasClass("mCSB_draggerRail"))){V(o);var s=t(this),l=s.find(".mCSB_dragger");if(s.parent(".mCSB_scrollTools_horizontal").length>0){if(!n.overflowed[1])return;var c="x",u=i.pageX>l.offset().left?-1:1,p=Math.abs(a[0].offsetLeft)-u*(.9*r.width())}else{if(!n.overflowed[0])return;var c="y",u=i.pageY>l.offset().top?-1:1,p=Math.abs(a[0].offsetTop)-u*(.9*r.height())}Z(o,p.toString(),{dir:c,scrollEasing:"mcsEaseInOut"})}})},F=function(){var e=t(this),o=e.data(i),n=o.opt,s=i+"_"+o.idx,a=t("#mCSB_"+o.idx+"_container"),r=a.parent();a.bind("focusin."+s,function(o){var i=t(document.activeElement),s=a.find(".mCustomScrollBox").length,l=0;i.is(n.advanced.autoScrollOnFocus)&&(V(e),clearTimeout(e[0]._focusTimeout),e[0]._focusTimer=s?(l+17)*s:0,e[0]._focusTimeout=setTimeout(function(){var t=[it(i)[0],it(i)[1]],o=[a[0].offsetTop,a[0].offsetLeft],s=[o[0]+t[0]>=0&&o[0]+t[0]<r.height()-i.outerHeight(!1),o[1]+t[1]>=0&&o[0]+t[1]<r.width()-i.outerWidth(!1)],c="yx"!==n.axis||s[0]||s[1]?"all":"none";"x"===n.axis||s[0]||Z(e,t[0].toString(),{dir:"y",scrollEasing:"mcsEaseInOut",overwrite:c,dur:l}),"y"===n.axis||s[1]||Z(e,t[1].toString(),{dir:"x",scrollEasing:"mcsEaseInOut",overwrite:c,dur:l})},e[0]._focusTimer))})},j=function(){var e=t(this),o=e.data(i),n=i+"_"+o.idx,s=t("#mCSB_"+o.idx+"_container").parent();s.bind("scroll."+n,function(e){0===s.scrollTop()&&0===s.scrollLeft()||t(".mCSB_"+o.idx+"_scrollbar").css("visibility","hidden")})},R=function(){var e=t(this),o=e.data(i),n=o.opt,s=o.sequential,a=i+"_"+o.idx,r=".mCSB_"+o.idx+"_scrollbar",l=t(r+">a");l.bind("contextmenu."+a,function(t){t.preventDefault()}).bind("mousedown."+a+" touchstart."+a+" pointerdown."+a+" MSPointerDown."+a+" mouseup."+a+" touchend."+a+" pointerup."+a+" MSPointerUp."+a+" mouseout."+a+" pointerout."+a+" MSPointerOut."+a+" click."+a,function(i){function a(t,o){s.scrollAmount=n.scrollButtons.scrollAmount,X(e,t,o)}if(i.preventDefault(),tt(i)){var r=t(this).attr("class");switch(s.type=n.scrollButtons.scrollType,i.type){case"mousedown":case"touchstart":case"pointerdown":case"MSPointerDown":if("stepped"===s.type)return;c=!0,o.tweenRunning=!1,a("on",r);break;case"mouseup":case"touchend":case"pointerup":case"MSPointerUp":case"mouseout":case"pointerout":case"MSPointerOut":if("stepped"===s.type)return;c=!1,s.dir&&a("off",r);break;case"click":if("stepped"!==s.type||o.tweenRunning)return;a("on",r)}}})},W=function(){function e(e){function i(t,e){a.type=s.keyboard.scrollType,a.scrollAmount=s.keyboard.scrollAmount,"stepped"===a.type&&n.tweenRunning||X(o,t,e)}switch(e.type){case"blur":n.tweenRunning&&a.dir&&i("off",null);break;case"keydown":case"keyup":var r=e.keyCode?e.keyCode:e.which,l="on";if("x"!==s.axis&&(38===r||40===r)||"y"!==s.axis&&(37===r||39===r)){if((38===r||40===r)&&!n.overflowed[0]||(37===r||39===r)&&!n.overflowed[1])return;"keyup"===e.type&&(l="off"),t(document.activeElement).is(u)||(e.preventDefault(),e.stopImmediatePropagation(),i(l,r))}else if(33===r||34===r){if((n.overflowed[0]||n.overflowed[1])&&(e.preventDefault(),e.stopImmediatePropagation()),"keyup"===e.type){V(o);var p=34===r?-1:1;if("x"===s.axis||"yx"===s.axis&&n.overflowed[1]&&!n.overflowed[0])var f="x",h=Math.abs(c[0].offsetLeft)-p*(.9*d.width());else var f="y",h=Math.abs(c[0].offsetTop)-p*(.9*d.height());Z(o,h.toString(),{dir:f,scrollEasing:"mcsEaseInOut"})}}else if((35===r||36===r)&&!t(document.activeElement).is(u)&&((n.overflowed[0]||n.overflowed[1])&&(e.preventDefault(),e.stopImmediatePropagation()),"keyup"===e.type)){if("x"===s.axis||"yx"===s.axis&&n.overflowed[1]&&!n.overflowed[0])var f="x",h=35===r?Math.abs(d.width()-c.outerWidth(!1)):0;else var f="y",h=35===r?Math.abs(d.height()-c.outerHeight(!1)):0;Z(o,h.toString(),{dir:f,scrollEasing:"mcsEaseInOut"})}}}var o=t(this),n=o.data(i),s=n.opt,a=n.sequential,r=i+"_"+n.idx,l=t("#mCSB_"+n.idx),c=t("#mCSB_"+n.idx+"_container"),d=c.parent(),u="input,textarea,select,datalist,keygen,[contenteditable='true']",p=c.find("iframe"),f=["blur."+r+" keydown."+r+" keyup."+r];p.length&&p.each(function(){t(this).bind("load",function(){L(this)&&t(this.contentDocument||this.contentWindow.document).bind(f[0],function(t){e(t)})})}),l.attr("tabindex","0").bind(f[0],function(t){e(t)})},X=function(e,o,n,s,a){function r(t){u.snapAmount&&(p.scrollAmount=u.snapAmount instanceof Array?"x"===p.dir[0]?u.snapAmount[1]:u.snapAmount[0]:u.snapAmount);var o="stepped"!==p.type,i=a?a:t?o?m/1.5:g:1e3/60,n=t?o?7.5:40:2.5,l=[Math.abs(f[0].offsetTop),Math.abs(f[0].offsetLeft)],d=[c.scrollRatio.y>10?10:c.scrollRatio.y,c.scrollRatio.x>10?10:c.scrollRatio.x],h="x"===p.dir[0]?l[1]+p.dir[1]*(d[1]*n):l[0]+p.dir[1]*(d[0]*n),v="x"===p.dir[0]?l[1]+p.dir[1]*parseInt(p.scrollAmount):l[0]+p.dir[1]*parseInt(p.scrollAmount),b="auto"!==p.scrollAmount?v:h,y=s?s:t?o?"mcsLinearOut":"mcsEaseInOut":"mcsLinear",w=!!t;return t&&i<17&&(b="x"===p.dir[0]?l[1]:l[0]),Z(e,b.toString(),{dir:p.dir[0],scrollEasing:y,dur:i,onComplete:w}),t?void(p.dir=!1):(clearTimeout(p.step),void(p.step=setTimeout(function(){r()},i)))}function l(){clearTimeout(p.step),J(p,"step"),V(e)}var c=e.data(i),u=c.opt,p=c.sequential,f=t("#mCSB_"+c.idx+"_container"),h="stepped"===p.type,m=u.scrollInertia<26?26:u.scrollInertia,g=u.scrollInertia<1?17:u.scrollInertia;switch(o){case"on":if(p.dir=[n===d[16]||n===d[15]||39===n||37===n?"x":"y",n===d[13]||n===d[15]||38===n||37===n?-1:1],V(e),ot(n)&&"stepped"===p.type)return;r(h);break;case"off":l(),(h||c.tweenRunning&&p.dir)&&r(!0)}},q=function(e){var o=t(this).data(i).opt,n=[];return"function"==typeof e&&(e=e()),e instanceof Array?n=e.length>1?[e[0],e[1]]:"x"===o.axis?[null,e[0]]:[e[0],null]:(n[0]=e.y?e.y:e.x||"x"===o.axis?null:e,n[1]=e.x?e.x:e.y||"y"===o.axis?null:e),"function"==typeof n[0]&&(n[0]=n[0]()),"function"==typeof n[1]&&(n[1]=n[1]()),n},Y=function(e,o){if(null!=e&&"undefined"!=typeof e){var n=t(this),s=n.data(i),a=s.opt,r=t("#mCSB_"+s.idx+"_container"),l=r.parent(),c=typeof e;o||(o="x"===a.axis?"x":"y");var d="x"===o?r.outerWidth(!1)-l.width():r.outerHeight(!1)-l.height(),p="x"===o?r[0].offsetLeft:r[0].offsetTop,f="x"===o?"left":"top";switch(c){case"function":return e();case"object":var h=e.jquery?e:t(e);if(!h.length)return;return"x"===o?it(h)[1]:it(h)[0];case"string":case"number":if(ot(e))return Math.abs(e);if(e.indexOf("%")!==-1)return Math.abs(d*parseInt(e)/100);if(e.indexOf("-=")!==-1)return Math.abs(p-parseInt(e.split("-=")[1]));if(e.indexOf("+=")!==-1){var m=p+parseInt(e.split("+=")[1]);return m>=0?0:Math.abs(m)}if(e.indexOf("px")!==-1&&ot(e.split("px")[0]))return Math.abs(e.split("px")[0]);if("top"===e||"left"===e)return 0;if("bottom"===e)return Math.abs(l.height()-r.outerHeight(!1));if("right"===e)return Math.abs(l.width()-r.outerWidth(!1));if("first"===e||"last"===e){var h=r.find(":"+e);return"x"===o?it(h)[1]:it(h)[0]}return t(e).length?"x"===o?it(t(e))[1]:it(t(e))[0]:(r.css(f,e),void u.update.call(null,n[0]))}}},N=function(e){function o(){return clearTimeout(p[0].autoUpdate),0===r.parents("html").length?void(r=null):void(p[0].autoUpdate=setTimeout(function(){return c.advanced.updateOnSelectorChange&&(l.poll.change.n=s(),l.poll.change.n!==l.poll.change.o)?(l.poll.change.o=l.poll.change.n,void a(3)):c.advanced.updateOnContentResize&&(l.poll.size.n=r[0].scrollHeight+r[0].scrollWidth+p[0].offsetHeight+r[0].offsetHeight+r[0].offsetWidth,l.poll.size.n!==l.poll.size.o)?(l.poll.size.o=l.poll.size.n,void a(1)):!c.advanced.updateOnImageLoad||"auto"===c.advanced.updateOnImageLoad&&"y"===c.axis||(l.poll.img.n=p.find("img").length,l.poll.img.n===l.poll.img.o)?void((c.advanced.updateOnSelectorChange||c.advanced.updateOnContentResize||c.advanced.updateOnImageLoad)&&o()):(l.poll.img.o=l.poll.img.n,void p.find("img").each(function(){n(this)}))},c.advanced.autoUpdateTimeout))}function n(e){function o(t,e){return function(){return e.apply(t,arguments)}}function i(){this.onload=null,t(e).addClass(d[2]),a(2)}if(t(e).hasClass(d[2]))return void a();var n=new Image;n.onload=o(n,i),n.src=e.src}function s(){c.advanced.updateOnSelectorChange===!0&&(c.advanced.updateOnSelectorChange="*");var t=0,e=p.find(c.advanced.updateOnSelectorChange);return c.advanced.updateOnSelectorChange&&e.length>0&&e.each(function(){t+=this.offsetHeight+this.offsetWidth}),t}function a(t){clearTimeout(p[0].autoUpdate),u.update.call(null,r[0],t)}var r=t(this),l=r.data(i),c=l.opt,p=t("#mCSB_"+l.idx+"_container");return e?(clearTimeout(p[0].autoUpdate),void J(p[0],"autoUpdate")):void o()},U=function(t,e,o){return Math.round(t/e)*e-o},V=function(e){var o=e.data(i),n=t("#mCSB_"+o.idx+"_container,#mCSB_"+o.idx+"_container_wrapper,#mCSB_"+o.idx+"_dragger_vertical,#mCSB_"+o.idx+"_dragger_horizontal");n.each(function(){K.call(this)})},Z=function(e,o,n){function s(t){return l&&c.callbacks[t]&&"function"==typeof c.callbacks[t]}function a(){return[c.callbacks.alwaysTriggerOffsets||w>=x[0]+k,c.callbacks.alwaysTriggerOffsets||w<=-T]}function r(){var t=[f[0].offsetTop,f[0].offsetLeft],o=[b[0].offsetTop,b[0].offsetLeft],i=[f.outerHeight(!1),f.outerWidth(!1)],s=[p.height(),p.width()];e[0].mcs={content:f,top:t[0],left:t[1],draggerTop:o[0],draggerLeft:o[1],topPct:Math.round(100*Math.abs(t[0])/(Math.abs(i[0])-s[0])),leftPct:Math.round(100*Math.abs(t[1])/(Math.abs(i[1])-s[1])),direction:n.dir}}var l=e.data(i),c=l.opt,d={trigger:"internal",dir:"y",scrollEasing:"mcsEaseOut",drag:!1,dur:c.scrollInertia,overwrite:"all",callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},n=t.extend(d,n),u=[n.dur,n.drag?0:n.dur],p=t("#mCSB_"+l.idx),f=t("#mCSB_"+l.idx+"_container"),h=f.parent(),m=c.callbacks.onTotalScrollOffset?q.call(e,c.callbacks.onTotalScrollOffset):[0,0],g=c.callbacks.onTotalScrollBackOffset?q.call(e,c.callbacks.onTotalScrollBackOffset):[0,0];if(l.trigger=n.trigger,0===h.scrollTop()&&0===h.scrollLeft()||(t(".mCSB_"+l.idx+"_scrollbar").css("visibility","visible"),h.scrollTop(0).scrollLeft(0)),"_resetY"!==o||l.contentReset.y||(s("onOverflowYNone")&&c.callbacks.onOverflowYNone.call(e[0]),l.contentReset.y=1),"_resetX"!==o||l.contentReset.x||(s("onOverflowXNone")&&c.callbacks.onOverflowXNone.call(e[0]),l.contentReset.x=1),"_resetY"!==o&&"_resetX"!==o){if(!l.contentReset.y&&e[0].mcs||!l.overflowed[0]||(s("onOverflowY")&&c.callbacks.onOverflowY.call(e[0]),l.contentReset.x=null),!l.contentReset.x&&e[0].mcs||!l.overflowed[1]||(s("onOverflowX")&&c.callbacks.onOverflowX.call(e[0]),l.contentReset.x=null),c.snapAmount){var v=c.snapAmount instanceof Array?"x"===n.dir?c.snapAmount[1]:c.snapAmount[0]:c.snapAmount;o=U(o,v,c.snapOffset)}switch(n.dir){case"x":var b=t("#mCSB_"+l.idx+"_dragger_horizontal"),y="left",w=f[0].offsetLeft,x=[p.width()-f.outerWidth(!1),b.parent().width()-b.width()],S=[o,0===o?0:o/l.scrollRatio.x],k=m[1],T=g[1],_=k>0?k/l.scrollRatio.x:0,$=T>0?T/l.scrollRatio.x:0;break;case"y":var b=t("#mCSB_"+l.idx+"_dragger_vertical"),y="top",w=f[0].offsetTop,x=[p.height()-f.outerHeight(!1),b.parent().height()-b.height()],S=[o,0===o?0:o/l.scrollRatio.y],k=m[0],T=g[0],_=k>0?k/l.scrollRatio.y:0,$=T>0?T/l.scrollRatio.y:0}S[1]<0||0===S[0]&&0===S[1]?S=[0,0]:S[1]>=x[1]?S=[x[0],x[1]]:S[0]=-S[0],e[0].mcs||(r(),s("onInit")&&c.callbacks.onInit.call(e[0])),clearTimeout(f[0].onCompleteTimeout),Q(b[0],y,Math.round(S[1]),u[1],n.scrollEasing),!l.tweenRunning&&(0===w&&S[0]>=0||w===x[0]&&S[0]<=x[0])||Q(f[0],y,Math.round(S[0]),u[0],n.scrollEasing,n.overwrite,{onStart:function(){n.callbacks&&n.onStart&&!l.tweenRunning&&(s("onScrollStart")&&(r(), 4c.callbacks.onScrollStart.call(e[0])),l.tweenRunning=!0,C(b),l.cbOffsets=a())},onUpdate:function(){n.callbacks&&n.onUpdate&&s("whileScrolling")&&(r(),c.callbacks.whileScrolling.call(e[0]))},onComplete:function(){if(n.callbacks&&n.onComplete){"yx"===c.axis&&clearTimeout(f[0].onCompleteTimeout);var t=f[0].idleTimer||0;f[0].onCompleteTimeout=setTimeout(function(){s("onScroll")&&(r(),c.callbacks.onScroll.call(e[0])),s("onTotalScroll")&&S[1]>=x[1]-_&&l.cbOffsets[0]&&(r(),c.callbacks.onTotalScroll.call(e[0])),s("onTotalScrollBack")&&S[1]<=$&&l.cbOffsets[1]&&(r(),c.callbacks.onTotalScrollBack.call(e[0])),l.tweenRunning=!1,f[0].idleTimer=0,C(b,"hide")},t)}}})}},Q=function(t,e,o,i,n,s,a){function r(){x.stop||(b||h.call(),b=G()-v,l(),b>=x.time&&(x.time=b>x.time?b+p-(b-x.time):b+p-1,x.time<b+1&&(x.time=b+1)),x.time<i?x.id=f(r):g.call())}function l(){i>0?(x.currVal=u(x.time,y,S,i,n),w[e]=Math.round(x.currVal)+"px"):w[e]=o+"px",m.call()}function c(){p=1e3/60,x.time=b+p,f=window.requestAnimationFrame?window.requestAnimationFrame:function(t){return l(),setTimeout(t,.01)},x.id=f(r)}function d(){null!=x.id&&(window.requestAnimationFrame?window.cancelAnimationFrame(x.id):clearTimeout(x.id),x.id=null)}function u(t,e,o,i,n){switch(n){case"linear":case"mcsLinear":return o*t/i+e;case"mcsLinearOut":return t/=i,t--,o*Math.sqrt(1-t*t)+e;case"easeInOutSmooth":return t/=i/2,t<1?o/2*t*t+e:(t--,-o/2*(t*(t-2)-1)+e);case"easeInOutStrong":return t/=i/2,t<1?o/2*Math.pow(2,10*(t-1))+e:(t--,o/2*(-Math.pow(2,-10*t)+2)+e);case"easeInOut":case"mcsEaseInOut":return t/=i/2,t<1?o/2*t*t*t+e:(t-=2,o/2*(t*t*t+2)+e);case"easeOutSmooth":return t/=i,t--,-o*(t*t*t*t-1)+e;case"easeOutStrong":return o*(-Math.pow(2,-10*t/i)+1)+e;case"easeOut":case"mcsEaseOut":default:var s=(t/=i)*t,a=s*t;return e+o*(.499999999999997*a*s+-2.5*s*s+5.5*a+-6.5*s+4*t)}}t._mTween||(t._mTween={top:{},left:{}});var p,f,a=a||{},h=a.onStart||function(){},m=a.onUpdate||function(){},g=a.onComplete||function(){},v=G(),b=0,y=t.offsetTop,w=t.style,x=t._mTween[e];"left"===e&&(y=t.offsetLeft);var S=o-y;x.stop=0,"none"!==s&&d(),c()},G=function(){return window.performance&&window.performance.now?window.performance.now():window.performance&&window.performance.webkitNow?window.performance.webkitNow():Date.now?Date.now():(new Date).getTime()},K=function(){var t=this;t._mTween||(t._mTween={top:{},left:{}});for(var e=["top","left"],o=0;o<e.length;o++){var i=e[o];t._mTween[i].id&&(window.requestAnimationFrame?window.cancelAnimationFrame(t._mTween[i].id):clearTimeout(t._mTween[i].id),t._mTween[i].id=null,t._mTween[i].stop=1)}},J=function(t,e){try{delete t[e]}catch(o){t[e]=null}},tt=function(t){return!(t.which&&1!==t.which)},et=function(t){var e=t.originalEvent.pointerType;return!(e&&"touch"!==e&&2!==e)},ot=function(t){return!isNaN(parseFloat(t))&&isFinite(t)}
4,it=function(t){var e=t.parents(".mCSB_container");return[t.offset().top-e.offset().top,t.offset().left-e.offset().left]},nt=function(){function t(){var t=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var e=0;e<t.length;e++)if(t[e]+"Hidden"in document)return t[e]+"Hidden";return null}var e=t();return!!e&&document[e]};t.fn[o]=function(e){return u[e]?u[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?void t.error("Method "+e+" does not exist"):u.init.apply(this,arguments)},t[o]=function(e){return u[e]?u[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?void t.error("Method "+e+" does not exist"):u.init.apply(this,arguments)},t[o].defaults=s,window[o]=!0,t(window).bind("load",function(){t(n)[o](),t.extend(t.expr[":"],{mcsInView:t.expr[":"].mcsInView||function(e){var o,i,n=t(e),s=n.parents(".mCSB_container");if(s.length)return o=s.parent(),i=[s[0].offsetTop,s[0].offsetLeft],i[0]+it(n)[0]>=0&&i[0]+it(n)[0]<o.height()-n.outerHeight(!1)&&i[1]+it(n)[1]>=0&&i[1]+it(n)[1]<o.width()-n.outerWidth(!1)},mcsInSight:t.expr[":"].mcsInSight||function(e,o,i){var n,s,a,r,l=t(e),c=l.parents(".mCSB_container"),d="exact"===i[3]?[[1,0],[1,0]]:[[.9,.1],[.6,.4]];if(c.length)return n=[l.outerHeight(!1),l.outerWidth(!1)],a=[c[0].offsetTop+it(l)[0],c[0].offsetLeft+it(l)[1]],s=[c.parent()[0].offsetHeight,c.parent()[0].offsetWidth],r=[n[0]<s[0]?d[0]:d[1],n[1]<s[1]?d[0]:d[1]],a[0]-s[0]*r[0][0]<0&&a[0]+n[0]-s[0]*r[0][1]>=0&&a[1]-s[1]*r[1][0]<0&&a[1]+n[1]-s[1]*r[1][1]>=0},mcsOverflow:t.expr[":"].mcsOverflow||function(e){var o=t(e).data(i);if(o)return o.overflowed[0]||o.overflowed[1]}})})})}),!function(t){var e;t.fn.slinky=function(o){var i=t.extend({label:"Back",title:!1,speed:300,resize:!0,activeClass:"active",headerClass:"header",headingTag:"<h2>",backFirst:!1},o),n=t(this),s=n.children().first();n.addClass("slinky-menu");var a=function(t,e){var o=Math.round(parseInt(s.get(0).style.left))||0;s.css("left",o-100*t+"%"),"function"==typeof e&&setTimeout(e,i.speed)},r=function(t){n.height(t.outerHeight())},l=function(t){n.css("transition-duration",t+"ms"),s.css("transition-duration",t+"ms")};if(l(i.speed),t("a + ul",n).prev().addClass("next"),t("li > ul",n).prepend('<li class="'+i.headerClass+'">'),i.title===!0&&t("li > ul",n).each(function(){var e=t(this).parent().find("a").first().text(),o=t(i.headingTag).text(e);t("> ."+i.headerClass,this).append(o)}),i.title||i.label!==!0){var c=t("<a>").text(i.label).prop("href","#").addClass("back");i.backFirst?t("."+i.headerClass,n).prepend(c):t("."+i.headerClass,n).append(c)}else t("li > ul",n).each(function(){var e=t(this).parent().find("a").first().text(),o=t("<a>").text(e).prop("href","#").addClass("back");i.backFirst?t("> ."+i.headerClass,this).prepend(o):t("> ."+i.headerClass,this).append(o)});t("a",n).on("click",function(o){if(e+i.speed>Date.now())return!1;e=Date.now();var s=t(this);(/\B#/.test(this.href)||s.hasClass("next")||s.hasClass("back"))&&o.preventDefault(),s.hasClass("next")?(n.find("."+i.activeClass).removeClass(i.activeClass),s.next().show().addClass(i.activeClass),a(1),i.resize&&r(s.next())):s.hasClass("back")&&(a(-1,function(){n.find("."+i.activeClass).removeClass(i.activeClass),s.parent().parent().hide().parentsUntil(n,"ul").first().addClass(i.activeClass)}),i.resize&&r(s.parent().parent().parentsUntil(n,"ul")))}),this.jump=function(e,o){e=t(e);var s=n.find("."+i.activeClass);s=s.length>0?s.parentsUntil(n,"ul").length:0,n.find("ul").removeClass(i.activeClass).hide();var c=e.parentsUntil(n,"ul");c.show(),e.show().addClass(i.activeClass),o===!1&&l(0),a(c.length-s),i.resize&&r(e),o===!1&&l(i.speed)},this.home=function(e){e===!1&&l(0);var o=n.find("."+i.activeClass),s=o.parentsUntil(n,"li").length;s>0&&(a(-s,function(){o.removeClass(i.activeClass)}),i.resize&&r(t(o.parentsUntil(n,"li").get(s-1)).parent())),e===!1&&l(i.speed)},this.destroy=function(){t("."+i.headerClass,n).remove(),t("a",n).removeClass("next").off("click"),n.removeClass("slinky-menu").css("transition-duration",""),s.css("transition-duration","")};var d=n.find("."+i.activeClass);return d.length>0&&(d.removeClass(i.activeClass),this.jump(d,!1)),this}}(jQuery),!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t:t(jQuery)}(function(t){function e(e){var a=e||window.event,r=l.call(arguments,1
vendor: 5,324 bytes, line 4
4),c=0,u=0,p=0,f=0,h=0,m=0;if(e=t.event.fix(a),e.type="mousewheel","detail"in a&&(p=-1*a.detail),"wheelDelta"in a&&(p=a.wheelDelta),"wheelDeltaY"in a&&(p=a.wheelDeltaY),"wheelDeltaX"in a&&(u=-1*a.wheelDeltaX),"axis"in a&&a.axis===a.HORIZONTAL_AXIS&&(u=-1*p,p=0),c=0===p?u:p,"deltaY"in a&&(p=-1*a.deltaY,c=p),"deltaX"in a&&(u=a.deltaX,0===p&&(c=-1*u)),0!==p||0!==u){if(1===a.deltaMode){var g=t.data(this,"mousewheel-line-height");c*=g,p*=g,u*=g}else if(2===a.deltaMode){var v=t.data(this,"mousewheel-page-height");c*=v,p*=v,u*=v}if(f=Math.max(Math.abs(p),Math.abs(u)),(!s||s>f)&&(s=f,i(a,f)&&(s/=40)),i(a,f)&&(c/=40,u/=40,p/=40),c=Math[c>=1?"floor":"ceil"](c/s),u=Math[u>=1?"floor":"ceil"](u/s),p=Math[p>=1?"floor":"ceil"](p/s),d.settings.normalizeOffset&&this.getBoundingClientRect){var b=this.getBoundingClientRect();h=e.clientX-b.left,m=e.clientY-b.top}return e.deltaX=u,e.deltaY=p,e.deltaFactor=s,e.offsetX=h,e.offsetY=m,e.deltaMode=0,r.unshift(e,c,u,p),n&&clearTimeout(n),n=setTimeout(o,200),(t.event.dispatch||t.event.handle).apply(this,r)}}function o(){s=null}function i(t,e){return d.settings.adjustOldDeltas&&"mousewheel"===t.type&&e%120===0}var n,s,a=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],r="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],l=Array.prototype.slice;if(t.event.fixHooks)for(var c=a.length;c;)t.event.fixHooks[a[--c]]=t.event.mouseHooks;var d=t.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var o=r.length;o;)this.addEventListener(r[--o],e,!1);else this.onmousewheel=e;t.data(this,"mousewheel-line-height",d.getLineHeight(this)),t.data(this,"mousewheel-page-height",d.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var o=r.length;o;)this.removeEventListener(r[--o],e,!1);else this.onmousewheel=null;t.removeData(this,"mousewheel-line-height"),t.removeData(this,"mousewheel-page-height")},getLineHeight:function(e){var o=t(e),i=o["offsetParent"in t.fn?"offsetParent":"parent"]();return i.length||(i=t("body")),parseInt(i.css("fontSize"),10)||parseInt(o.css("fontSize"),10)||16},getPageHeight:function(e){return t(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};t.fn.extend({mousewheel:function(t){return t?this.bind("mousewheel",t):this.trigger("mousewheel")},unmousewheel:function(t){return this.unbind("mousewheel",t)}})}),!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t:t(jQuery)}(function(t){function e(e){var a=e||window.event,r=l.call(arguments,1),c=0,u=0,p=0,f=0,h=0,m=0;if(e=t.event.fix(a),e.type="mousewheel","detail"in a&&(p=-1*a.detail),"wheelDelta"in a&&(p=a.wheelDelta),"wheelDeltaY"in a&&(p=a.wheelDeltaY),"wheelDeltaX"in a&&(u=-1*a.wheelDeltaX),"axis"in a&&a.axis===a.HORIZONTAL_AXIS&&(u=-1*p,p=0),c=0===p?u:p,"deltaY"in a&&(p=-1*a.deltaY,c=p),"deltaX"in a&&(u=a.deltaX,0===p&&(c=-1*u)),0!==p||0!==u){if(1===a.deltaMode){var g=t.data(this,"mousewheel-line-height");c*=g,p*=g,u*=g}else if(2===a.deltaMode){var v=t.data(this,"mousewheel-page-height");c*=v,p*=v,u*=v}if(f=Math.max(Math.abs(p),Math.abs(u)),(!s||s>f)&&(s=f,i(a,f)&&(s/=40)),i(a,f)&&(c/=40,u/=40,p/=40),c=Math[c>=1?"floor":"ceil"](c/s),u=Math[u>=1?"floor":"ceil"](u/s),p=Math[p>=1?"floor":"ceil"](p/s),d.settings.normalizeOffset&&this.getBoundingClientRect){var b=this.getBoundingClientRect();h=e.clientX-b.left,m=e.clientY-b.top}return e.deltaX=u,e.deltaY=p,e.deltaFactor=s,e.offsetX=h,e.offsetY=m,e.deltaMode=0,r.unshift(e,c,u,p),n&&clearTimeout(n),n=setTimeout(o,200),(t.event.dispatch||t.event.handle).apply(this,r)}}function o(){s=null}function i(t,e){return d.settings.adjustOldDeltas&&"mousewheel"===t.type&&e%120===0}var n,s,a=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],r="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],l=Array.prototype.slice;if(t.event.fixHooks)for(var c=a.length;c;)t.event.fixHooks[a[--c]]=t.event.mouseHooks;var d=t.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var o=r.length;o;)this.addEventListener(r[--o],e,!1);else this.onmousewheel=e;t.data(this,"mousewheel-line-height",d.getLineHeight(this)),t.data(this,"mousewheel-page-height",d.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var o=r.length;o;)this.removeEventListener(r[--o],e,!1);else this.onmousewheel=null;t.removeData(this,"mousewheel-line-height"),t.removeData(this,"mousewheel-page-height")},getLineHeight:function(e){var o=t(e),i=o["offsetParent"in t.fn?"offsetParent":"parent"]();return i.length||(i=t("body")),parseInt(i.css("fontSize"),10)||parseInt(o.css("fontSize"),10)||16},getPageHeight:function(e){return t(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};t.fn.extend({mousewheel:function(t){return t?this.bind("mousewheel",t):this.trigger("mousewheel")},unmousewheel:function(t){return this.unbind("mousewheel",t)}})});var objectFitImages=function(){"use strict";function t(t,e){return"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='"+t+"' height='"+e+"'%3E%3C/svg%3E"}function e(t){if(t.srcset&&!h&&window.picturefill){var e=window.picturefill._;t[e.ns]&&t[e.ns].evaled||e.fillImg(t,{reselect:!0}
4),t[e.ns].curSrc||(t[e.ns].supported=!1,e.fillImg(t,{reselect:!0})),t.currentSrc=t[e.ns].curSrc||t.src}}function o(t){for(var e,o=getComputedStyle(t).fontFamily,i={};null!==(e=c.exec(o));)i[e[1]]=e[2];return i}function i(e,o,i){var n=t(o||1,i||0);m.call(e,"src")!==n&&g.call(e,"src",n)}function n(t,e){t.naturalWidth?e(t):setTimeout(n,100,t,e)}function s(t){var s=o(t),r=t[l];if(s["object-fit"]=s["object-fit"]||"fill",!r.img){if("fill"===s["object-fit"])return;if(!r.skipTest&&u&&!s["object-position"])return}if(!r.img){r.img=new Image(t.width,t.height),r.img.srcset=m.call(t,"data-ofi-srcset")||t.srcset,r.img.src=m.call(t,"data-ofi-src")||t.src,g.call(t,"data-ofi-src",t.src),t.srcset&&g.call(t,"data-ofi-srcset",t.srcset),i(t,t.naturalWidth||t.width,t.naturalHeight||t.height),t.srcset&&(t.srcset="");try{a(t)}catch(t){window.console&&console.warn("https://bit.ly/ofi-old-browser")}}e(r.img),t.style.backgroundImage='url("'+(r.img.currentSrc||r.img.src).replace(/"/g,'\\"')+'")',t.style.backgroundPosition=s["object-position"]||"center",t.style.backgroundRepeat="no-repeat",t.style.backgroundOrigin="content-box",/scale-down/.test(s["object-fit"])?n(r.img,function(){r.img.naturalWidth>t.width||r.img.naturalHeight>t.height?t.style.backgroundSize="contain":t.style.backgroundSize="auto"}):t.style.backgroundSize=s["object-fit"].replace("none","auto").replace("fill","100% 100%"),n(r.img,function(e){i(t,e.naturalWidth,e.naturalHeight)})}function a(t){var e={get:function(e){return t[l].img[e||"src"]},set:function(e,o){return t[l].img[o||"src"]=e,g.call(t,"data-ofi-"+o,e),s(t),e}};Object.defineProperty(t,"src",e),Object.defineProperty(t,"currentSrc",{get:function(){return e.get("currentSrc")}}),Object.defineProperty(t,"srcset",{get:function(){return e.get("srcset")},set:function(t){return e.set(t,"srcset")}})}function r(t,e){var o=!v&&!t;if(e=e||{},t=t||"img",p&&!e.skipTest||!f)return!1;"img"===t?t=document.getElementsByTagName("img"):"string"==typeof t?t=document.querySelectorAll(t):"length"in t||(t=[t]);for(var i=0;i<t.length;i++)t[i][l]=t[i][l]||{skipTest:e.skipTest},s(t[i]);o&&(document.body.addEventListener("load",function(t){"IMG"===t.target.tagName&&r(t.target,{skipTest:e.skipTest})},!0),v=!0,t="img"),e.watchMQ&&window.addEventListener("resize",r.bind(null,t,{skipTest:e.skipTest}))}var l="bfred-it:object-fit-images",c=/(object-fit|object-position)\s*:\s*([-\w\s%]+)/g,d="undefined"==typeof Image?{style:{"object-position":1}}:new Image,u="object-fit"in d.style,p="object-position"in d.style,f="background-size"in d.style,h="string"==typeof d.currentSrc,m=d.getAttribute,g=d.setAttribute,v=!1;return r.supportsObjectFit=u,r.supportsObjectPosition=p,function(){function t(t,e){return t[l]&&t[l].img&&("src"===e||"srcset"===e)?t[l].img:t}p||(HTMLImageElement.prototype.getAttribute=function(e){return m.call(t(this,e),e)},HTMLImageElement.prototype.setAttribute=function(e,o){return g.call(t(this,e),e,String(o))})}(),r}();!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){"use strict";var e=window.Slick||{};e=function(){function e(e,i){var n,s,a,r=this;if(r.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:t(e),appendDots:t(e),arrows:!0,asNavFor:null,prevArrow:'<button type="button" data-role="none" class="slick-prev" aria-label="previous">Previous</button>',nextArrow:'<button type="button" data-role="none" class="slick-next" aria-label="next">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,e){return'<button type="button" data-role="none">'+(e+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,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0},r.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: 9,612 bytes, line 4
4sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1},t.extend(r,r.initials),r.activeBreakpoint=null,r.animType=null,r.animProp=null,r.breakpoints=[],r.breakpointSettings=[],r.cssTransitions=!1,r.hidden="hidden",r.paused=!1,r.positionProp=null,r.respondTo=null,r.rowCount=1,r.shouldClick=!0,r.$slider=t(e),r.$slidesCache=null,r.transformType=null,r.transitionType=null,r.visibilityChange="visibilitychange",r.windowWidth=0,r.windowTimer=null,n=t(e).data("slick")||{},r.options=t.extend({},r.defaults,n,i),r.currentSlide=r.options.initialSlide,r.originalSettings=r.options,s=r.options.responsive||null,s&&s.length>-1){r.respondTo=r.options.respondTo||"window";for(a in s)s.hasOwnProperty(a)&&(r.breakpoints.push(s[a].breakpoint),r.breakpointSettings[s[a].breakpoint]=s[a].settings);r.breakpoints.sort(function(t,e){return r.options.mobileFirst===!0?t-e:e-t})}"undefined"!=typeof document.mozHidden?(r.hidden="mozHidden",r.visibilityChange="mozvisibilitychange"):"undefined"!=typeof document.msHidden?(r.hidden="msHidden",r.visibilityChange="msvisibilitychange"):"undefined"!=typeof document.webkitHidden&&(r.hidden="webkitHidden",r.visibilityChange="webkitvisibilitychange"),r.autoPlay=t.proxy(r.autoPlay,r),r.autoPlayClear=t.proxy(r.autoPlayClear,r),r.changeSlide=t.proxy(r.changeSlide,r),r.clickHandler=t.proxy(r.clickHandler,r),r.selectHandler=t.proxy(r.selectHandler,r),r.setPosition=t.proxy(r.setPosition,r),r.swipeHandler=t.proxy(r.swipeHandler,r),r.dragHandler=t.proxy(r.dragHandler,r),r.keyHandler=t.proxy(r.keyHandler,r),r.autoPlayIterator=t.proxy(r.autoPlayIterator,r),r.instanceUid=o++,r.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,r.init(),r.checkResponsive(!0)}var o=0;return e}(),e.prototype.addSlide=e.prototype.slickAdd=function(e,o,i){var n=this;if("boolean"==typeof o)i=o,o=null;else if(0>o||o>=n.slideCount)return!1;n.unload(),"number"==typeof o?0===o&&0===n.$slides.length?t(e).appendTo(n.$slideTrack):i?t(e).insertBefore(n.$slides.eq(o)):t(e).insertAfter(n.$slides.eq(o)):i===!0?t(e).prependTo(n.$slideTrack):t(e).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(e,o){t(o).attr("data-slick-index",e)}),n.$slidesCache=n.$slides,n.reinit()},e.prototype.animateHeight=function(){var t=this;if(1===t.options.slidesToShow&&t.options.adaptiveHeight===!0&&t.options.vertical===!1){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.animate({height:e},t.options.speed)}},e.prototype.animateSlide=function(e,o){var i={},n=this;n.animateHeight(),n.options.rtl===!0&&n.options.vertical===!1&&(e=-e),n.transformsEnabled===!1?n.options.vertical===!1?n.$slideTrack.animate({left:e},n.options.speed,n.options.easing,o):n.$slideTrack.animate({top:e},n.options.speed,n.options.easing,o):n.cssTransitions===!1?(n.options.rtl===!0&&(n.currentLeft=-n.currentLeft),t({animStart:n.currentLeft}).animate({animStart:e},{duration:n.options.speed,easing:n.options.easing,step:function(t){t=Math.ceil(t),n.options.vertical===!1?(i[n.animType]="translate("+t+"px, 0px)",n.$slideTrack.css(i)):(i[n.animType]="translate(0px,"+t+"px)",n.$slideTrack.css(i))},complete:function(){o&&o.call()}})):(n.applyTransition(),e=Math.ceil(e),i[n.animType]=n.options.vertical===!1?"translate3d("+e+"px, 0px, 0px)":"translate3d(0px,"+e+"px, 0px)",n.$slideTrack.css(i),o&&setTimeout(function(){n.disableTransition(),o.call()},n.options.speed))},e.prototype.asNavFor=function(e){var o=this,i=null!==o.options.asNavFor?t(o.options.asNavFor).slick("getSlick"):null;null!==i&&i.slideHandler(e,!0)},e.prototype.applyTransition=function(t){var e=this,o={};o[e.transitionType]=e.options.fade===!1?e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:"opacity "+e.options.speed+"ms "+e.options.cssEase,e.options.fade===!1?e.$slideTrack.css(o):e.$slides.eq(t).css(o)},e.prototype.autoPlay=function(){var t=this;t.autoPlayTimer&&clearInterval(t.autoPlayTimer),t.slideCount>t.options.slidesToShow&&t.paused!==!0&&(t.autoPlayTimer=setInterval(t.autoPlayIterator,t.options.autoplaySpeed))},e.prototype.autoPlayClear=function(){var t=this;t.autoPlayTimer&&clearInterval(t.autoPlayTimer)},e.prototype.autoPlayIterator=function(){var t=this;t.options.infinite===!1?1===t.direction?(t.currentSlide+1===t.slideCount-1&&(t.direction=0),t.slideHandler(t.currentSlide+t.options.slidesToScroll)):(0===t.currentSlide-1&&(t.direction=1),t.slideHandler(t.currentSlide-t.options.slidesToScroll)):t.slideHandler(t.currentSlide+t.options.slidesToScroll)},e.prototype.buildArrows=function(){var e=this;e.options.arrows===!0&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow=t(e.options.prevArrow),e.$nextArrow=t(e.options.nextArrow),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.appendTo(e.options.appendArrows),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.appendTo(e.options.appendArrows),e.options.infinite!==!0&&e.$prevArrow.addClass("slick-disabled"))},e.prototype.buildDots=function(){var e,o,i=this;if(i.options.dots===!0&&i.slideCount>i.options.slidesToShow){for(o='<ul class="'+i.options.dotsClass+'">',e=0;e<=i.getDotCount();e+=1)o+="<li>"+i.options.customPaging.call(this,i,e)+"</li>";o+="</ul>",i.$dots=t(o).appendTo(i.options.appendDots),i.$dots.find("li").first().addClass("slick-active").attr("aria-hidden","false")}},e.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(":not(.slick-cloned)").addClass("slick-slide"),e.slideCount=e.$slides.length,e.$slides.each(function(e,o){t(o).attr("data-slick-index",e)}),e.$slidesCache=e.$slides,e.$slider.addClass("slick-slider"),e.$slideTrack=0===e.slideCount?t('<div class="slick-track"/>').appendTo(e.$slider):e.$slides.wrapAll('<div class="slick-track"/>').parent(),e.$list=e.$slideTrack.wrap('<div aria-live="polite" class="slick-list"/>').parent(),e.$slideTrack.css("opacity",0),(e.options.centerMode===!0||e.options.swipeToSlide===!0)&&(e.options.slidesToScroll=1),t("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading"),e.setupInfinite(),e.buildArrows(),e.buildDots(),e.updateDots(),e.options.accessibility===!0&&e.$list.prop("tabIndex",0),e.setSlideClasses("number"==typeof this.currentSlide?this.currentSlide:0),e.options.draggable===!0&&e.$list.addClass("draggable")},e.prototype.buildRows=function(){var t,e,o,i,n,s,a,r=this;if(i=document.createDocumentFragment(),s=r.$slider.children(),r.options.rows>1){for(a=r.options.slidesPerRow*r.options.rows,n=Math.ceil(s.length/a),t=0;n>t;t++){var l=document.createElement("div");for(e=0;e<r.options.rows;e++){var c=document.createElement("div");for(o=0;o<r.options.slidesPerRow;o++){var d=t*a+(e*r.options.slidesPerRow+o);s.get(d)&&c.appendChild(s.get(d))}l.appendChild(c)}i.appendChild(l)}r.$slider.html(i),r.$slider.children().children().children().width(100/r.options.slidesPerRow+"%").css({display:"inline-block"})}},e.prototype.checkResponsive=function(e){var o,i,n,s=this,a=s.$slider.width(),r=window.innerWidth||t(window).width();if("window"===s.respondTo?n=r:"slider"===s.respondTo?n=a:"min"===s.respondTo&&(n=Math.min(r,a)),s.originalSettings.responsive&&s.originalSettings.responsive.length>-1&&null!==s.originalSettings.responsive){i=null;for(o in s.breakpoints)s.breakpoints.hasOwnProperty(o)&&(s.originalSettings.mobileFirst===!1?n<s.breakpoints[o]&&(i=s.breakpoints[o]):n>s.breakpoints[o]&&(i=s.breakpoints[o]));null!==i?null!==s.activeBreakpoint?i!==s.activeBreakpoint&&(s.activeBreakpoint=i,"unslick"===s.breakpointSettings[i]?s.unslick():(s.options=t.extend({},s.originalSettings,s.breakpointSettings[i]),e===!0&&(s.currentSlide=s.options.initialSlide),s.refresh())):(s.activeBreakpoint=i,"unslick"===s.breakpointSettings[i]?s.unslick():(s.options=t.extend({},s.originalSettings,s.breakpointSettings[i]),e===!0&&(s.currentSlide=s.options.initialSlide),s.refresh())):null!==s.activeBreakpoint&&(s.activeBreakpoint=null,s.options=s.originalSettings,e===!0&&(s.currentSlide=s.options.initialSlide),s.refresh())}},e.prototype.changeSlide=function(e,o){var i,n,s,a=this,r=t(e.target);switch(r.is("a")&&e.preventDefault(),s=0!==a.slideCount%a.options.slidesToScroll,i=s?0:(a.slideCount-a.currentSlide)%a.options.slidesToScroll,e.data.message){case"previous":n=0===i?a.options.slidesToScroll:a.options.slidesToShow-i,a.slideCount>a.options.slidesToShow&&a.slideHandler(a.currentSlide-n,!1,o);break;case"next":n=0===i?a.options.slidesToScroll:i,a.slideCount>a.options.slidesToShow&&a.slideHandler(a.currentSlide+n,!1,o);break;case"index":var l=0===e.data.index?0:e.data.index||t(e.target).parent().index()*a.options.slidesToScroll;a.slideHandler(a.checkNavigable(l),!1,o);break;default:return}},e.prototype.checkNavigable=function(t){var e,o,i=this;if(e=i.getNavigableIndexes(),o=0,t>e[e.length-1])t=e[e.length-1];else for(var n in e){if(t<e[n]){t=o;break}o=e[n]}return t},e.prototype.cleanUpEvents=function(){var e=this;e.options.dots===!0&&e.slideCount>e.options.slidesToShow&&t("li",e.$dots).off("click.slick",e.changeSlide),e.options.dots===!0&&e.options.pauseOnDotsHover===!0&&e.options.autoplay===!0&&t("li",e.$dots).off("mouseenter.slick",e.setPaused.bind(e,!0)).off("mouseleave.slick",e.setPaused.bind(e,!1)),e.options.arrows===!0&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide),e.$nextArrow&&e.$nextArrow.off("click.slick",e.changeSlide)),e.$list.off("touchstart.slick mousedown.slick",e.swipeHandler),e.$list.off("touchmove.slick mousemove.slick",e.swipeHandler),e.$list.off("touchend.slick mouseup.slick",e.swipeHandler),e.$list.off("touchcancel.slick mouseleave.
4slick",e.swipeHandler),e.$list.off("click.slick",e.clickHandler),e.options.autoplay===!0&&t(document).off(e.visibilityChange,e.visibility),e.$list.off("mouseenter.slick",e.setPaused.bind(e,!0)),e.$list.off("mouseleave.slick",e.setPaused.bind(e,!1)),e.options.accessibility===!0&&e.$list.off("keydown.slick",e.keyHandler),e.options.focusOnSelect===!0&&t(e.$slideTrack).children().off("click.slick",e.selectHandler),t(window).off("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange),t(window).off("resize.slick.slick-"+e.instanceUid,e.resize),t("[draggable!=true]",e.$slideTrack).off("dragstart",e.preventDefault),t(window).off("load.slick.slick-"+e.instanceUid,e.setPosition),t(document).off("ready.slick.slick-"+e.instanceUid,e.setPosition)},e.prototype.cleanUpRows=function(){var t,e=this;e.options.rows>1&&(t=e.$slides.children().children(),t.removeAttr("style"),e.$slider.html(t))},e.prototype.clickHandler=function(t){var e=this;e.shouldClick===!1&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault())},e.prototype.destroy=function(){var e=this;e.autoPlayClear(),e.touchObject={},e.cleanUpEvents(),t(".slick-cloned",e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&"object"!=typeof e.options.prevArrow&&e.$prevArrow.remove(),e.$nextArrow&&"object"!=typeof e.options.nextArrow&&e.$nextArrow.remove(),e.$slides&&(e.$slides.removeClass("slick-slide slick-active slick-center slick-visible").attr("aria-hidden","true").removeAttr("data-slick-index").css({position:"",left:"",top:"",zIndex:"",opacity:"",width:""}),e.$slider.html(e.$slides)),e.cleanUpRows(),e.$slider.removeClass("slick-slider"),e.$slider.removeClass("slick-initialized")},e.prototype.disableTransition=function(t){var e=this,o={};o[e.transitionType]="",e.options.fade===!1?e.$slideTrack.css(o):e.$slides.eq(t).css(o)},e.prototype.fadeSlide=function(t,e){var o=this;o.cssTransitions===!1?(o.$slides.eq(t).css({zIndex:1e3}),o.$slides.eq(t).animate({opacity:1},o.options.speed,o.options.easing,e)):(o.applyTransition(t),o.$slides.eq(t).css({opacity:1,zIndex:1e3}),e&&setTimeout(function(){o.disableTransition(t),e.call()},o.options.speed))},e.prototype.filterSlides=e.prototype.slickFilter=function(t){var e=this;null!==t&&(e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(t).appendTo(e.$slideTrack),e.reinit())},e.prototype.getCurrent=e.prototype.slickCurrentSlide=function(){var t=this;return t.currentSlide},e.prototype.getDotCount=function(){var t=this,e=0,o=0,i=0;if(t.options.infinite===!0)i=Math.ceil(t.slideCount/t.options.slidesToScroll);else if(t.options.centerMode===!0)i=t.slideCount;else for(;e<t.slideCount;)++i,e=o+t.options.slidesToShow,o+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;return i-1},e.prototype.getLeft=function(t){var e,o,i,n=this,s=0;return n.slideOffset=0,o=n.$slides.first().outerHeight(),n.options.infinite===!0?(n.slideCount>n.options.slidesToShow&&(n.slideOffset=-1*n.slideWidth*n.options.slidesToShow,s=-1*o*n.options.slidesToShow),0!==n.slideCount%n.options.slidesToScroll&&t+n.options.slidesToScroll>n.slideCount&&n.slideCount>n.options.slidesToShow&&(t>n.slideCount?(n.slideOffset=-1*(n.options.slidesToShow-(t-n.slideCount))*n.slideWidth,s=-1*(n.options.slidesToShow-(t-n.slideCount))*o):(n.slideOffset=-1*n.slideCount%n.options.slidesToScroll*n.slideWidth,s=-1*n.slideCount%n.options.slidesToScroll*o))):t+n.options.slidesToShow>n.slideCount&&(n.slideOffset=(t+n.options.slidesToShow-n.slideCount)*n.slideWidth,s=(t+n.options.slidesToShow-n.slideCount)*o),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)),e=n.options.vertical===!1?-1*t*n.slideWidth+n.slideOffset:-1*t*o+s,n.options.variableWidth===!0&&(i=n.slideCount<=n.options.slidesToShow||n.options.infinite===!1?n.$slideTrack.children(".slick-slide").eq(t):n.$slideTrack.children(".slick-slide").eq(t+n.options.slidesToShow),e=i[0]?-1*i[0].offsetLeft:0,n.options.centerMode===!0&&(i=n.options.infinite===!1?n.$slideTrack.children(".slick-slide").eq(t):n.$slideTrack.children(".slick-slide").eq(t+n.options.slidesToShow+1),e=i[0]?-1*i[0].offsetLeft:0,e+=(n.$list.width()-i.outerWidth())/2)),e},e.prototype.getOption=e.prototype.slickGetOption=function(t){var e=this;return e.options[t]},e.prototype.getNavigableIndexes=function(){var t,e=this,o=0,i=0,n=[];for(e.options.infinite===!1?(t=e.slideCount-e.options.slidesToShow+1,e.options.centerMode===!0&&(t=e.slideCount)):(o=-1*e.options.slidesToScroll,i=-1*e.options.slidesToScroll,t=2*e.slideCount);t>o;)n.push(o),o=i+e.options.slidesToScroll,i+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return n},e.prototype.getSlick=function(){return this},e.prototype.getSlideCount=function(){var e,o,i,n=this;return i=n.options.centerMode===!0?n.slideWidth*Math.floor(n.options.slidesToShow/2):0,n.options.swipeToSlide===!0?(n.$slideTrack.find(".slick-slide").each(function(e,s){return s.offsetLeft-i+t(s).outerWidth()/2>-1*n.swipeLeft?(o=s,!1):void 0}),e=Math.abs(t(o).attr("data-slick-index")-n.currentSlide)||1):n.options.slidesToScroll},e.prototype.goTo=e.prototype.slickGoTo=function(t,e){var o=this;o.changeSlide({
5data:{message:"index",index:parseInt(t)}},e)},e.prototype.init=function(){var e=this;t(e.$slider).hasClass("slick-initialized")||(t(e.$slider).addClass("slick-initialized"),e.buildRows(),e.buildOut(),e.setProps(),e.startLoad(),e.loadSlider(),e.initializeEvents(),e.updateArrows(),e.updateDots()),e.$slider.trigger("init",[e])},e.prototype.initArrowEvents=function(){var t=this;t.options.arrows===!0&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.on("click.slick",{message:"previous"},t.changeSlide),t.$nextArrow.on("click.slick",{message:"next"},t.changeSlide))},e.prototype.initDotEvents=function(){var e=this;e.options.dots===!0&&e.slideCount>e.options.slidesToShow&&t("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),e.options.dots===!0&&e.options.pauseOnDotsHover===!0&&e.options.autoplay===!0&&t("li",e.$dots).on("mouseenter.slick",e.setPaused.bind(e,!0)).on("mouseleave.slick",e.setPaused.bind(e,!1))},e.prototype.initializeEvents=function(){var e=this;e.initArrowEvents(),e.initDotEvents(),e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipeHandler),e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipeHandler),e.$list.on("touchend.slick mouseup.slick",{action:"end"}
5,e.swipeHandler),e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler),e.$list.on("click.slick",e.clickHandler),e.options.autoplay===!0&&t(document).on(e.visibilityChange,e.visibility.bind(e)),e.$list.on("mouseenter.slick",e.setPaused.bind(e,!0)),e.$list.on("mouseleave.slick",e.setPaused.bind(e,!1)),e.options.accessibility===!0&&e.$list.on("keydown.slick",e.keyHandler),e.options.focusOnSelect===!0&&t(e.$slideTrack).children().on("click.slick",e.selectHandler),t(window).on("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange.bind(e)),t(window).on("resize.slick.slick-"+e.instanceUid,e.resize.bind(e)),t("[draggable!=true]",e.$slideTrack).on("dragstart",e.preventDefault),t(window).on("load.slick.slick-"+e.instanceUid,e.setPosition),t(document).on("ready.slick.slick-"+e.instanceUid,e.setPosition)},e.prototype.initUI=function(){var t=this;t.options.arrows===!0&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.show(),t.$nextArrow.show()),t.options.dots===!0&&t.slideCount>t.options.slidesToShow&&t.$dots.show(),t.options.autoplay===!0&&t.autoPlay()},e.prototype.keyHandler=function(t){var e=this;37===t.keyCode&&e.options.accessibility===!0?e.changeSlide({data:{message:"previous"}}):39===t.keyCode&&e.options.accessibility===!0&&e.changeSlide({data:{message:"next"}})},e.prototype.lazyLoad=function(){function e(e){t("img[data-lazy]",e).each(function(){var e=t(this),o=t(this).attr("data-lazy"),i=document.createElement("img");i.onload=function(){e.animate({opacity:1},200)},i.src=o,e.css({opacity:0}).attr("src",o).removeAttr("data-lazy").removeClass("slick-loading")})}var o,i,n,s,a=this;a.options.centerMode===!0?a.options.infinite===!0?(n=a.currentSlide+(a.options.slidesToShow/2+1),s=n+a.options.slidesToShow+2):(n=Math.max(0,a.currentSlide-(a.options.slidesToShow/2+1)),s=2+(a.options.slidesToShow/2+1)+a.currentSlide):(n=a.options.infinite?a.options.slidesToShow+a.currentSlide:a.currentSlide,s=n+a.options.slidesToShow,a.options.fade===!0&&(n>0&&n--,s<=a.slideCount&&s++)),o=a.$slider.find(".slick-slide").slice(n,s),e(o),a.slideCount<=a.options.slidesToShow?(i=a.$slider.find(".slick-slide"),e(i)):a.currentSlide>=a.slideCount-a.options.slidesToShow?(i=a.$slider.find(".slick-cloned").slice(0,a.options.slidesToShow),e(i)):0===a.currentSlide&&(i=a.$slider.find(".slick-cloned").slice(-1*a.options.slidesToShow),e(i))},e.prototype.loadSlider=function(){var t=this;t.setPosition(),t.$slideTrack.css({opacity:1}),t.$slider.removeClass("slick-loading"),t.initUI(),"progressive"===t.options.lazyLoad&&t.progressiveLazyLoad()},e.prototype.next=e.prototype.slickNext=function(){var t=this;t.changeSlide({data:{message:"next"}})},e.prototype.orientationChange=function(){var t=this;t.checkResponsive(),t.setPosition()},e.prototype.pause=e.prototype.slickPause=function(){var t=this;t.autoPlayClear(),t.paused=!0},e.prototype.play=e.prototype.slickPlay=function(){var t=this;t.paused=!1,t.autoPlay()},e.prototype.postSlide=function(t){var e=this;e.$slider.trigger("afterChange",[e,t]),e.animating=!1,e.setPosition(),e.swipeLeft=null,e.options.autoplay===!0&&e.paused===!1&&e.autoPlay()},e.prototype.prev=e.prototype.slickPrev=function(){var t=this;t.changeSlide({data:{message:"previous"}})},e.prototype.preventDefault=function(t){t.preventDefault()},e.prototype.progressiveLazyLoad=function(){var e,o,i=this;e=t("img[data-lazy]",i.$slider).length,e>0&&(o=t("img[data-lazy]",i.$slider).first(),o.attr("src",o.attr("data-lazy")).removeClass("slick-loading").load(function(){o.removeAttr("data-lazy"),i.progressiveLazyLoad(),i.options.adaptiveHeight===!0&&i.setPosition()}).error(function(){o.removeAttr("data-lazy"),i.progressiveLazyLoad()}))},e.prototype.refresh=function(){var e=this,o=e.currentSlide;
vendor: 9,358 bytes, line 5
5e.destroy(),t.extend(e,e.initials),e.init(),e.changeSlide({data:{message:"index",index:o}},!1)},e.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide"),e.slideCount=e.$slides.length,e.currentSlide>=e.slideCount&&0!==e.currentSlide&&(e.currentSlide=e.currentSlide-e.options.slidesToScroll),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),e.setProps(),e.setupInfinite(),e.buildArrows(),e.updateArrows(),e.initArrowEvents(),e.buildDots(),e.updateDots(),e.initDotEvents(),e.options.focusOnSelect===!0&&t(e.$slideTrack).children().on("click.slick",e.selectHandler),e.setSlideClasses(0),e.setPosition(),e.$slider.trigger("reInit",[e])},e.prototype.resize=function(){var e=this;t(window).width()!==e.windowWidth&&(clearTimeout(e.windowDelay),e.windowDelay=window.setTimeout(function(){e.windowWidth=t(window).width(),e.checkResponsive(),e.setPosition()},50))},e.prototype.removeSlide=e.prototype.slickRemove=function(t,e,o){var i=this;return"boolean"==typeof t?(e=t,t=e===!0?0:i.slideCount-1):t=e===!0?--t:t,!(i.slideCount<1||0>t||t>i.slideCount-1)&&(i.unload(),o===!0?i.$slideTrack.children().remove():i.$slideTrack.children(this.options.slide).eq(t).remove(),i.$slides=i.$slideTrack.children(this.options.slide),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.append(i.$slides),i.$slidesCache=i.$slides,void i.reinit())},e.prototype.setCSS=function(t){var e,o,i=this,n={};i.options.rtl===!0&&(t=-t),e="left"==i.positionProp?Math.ceil(t)+"px":"0px",o="top"==i.positionProp?Math.ceil(t)+"px":"0px",n[i.positionProp]=t,i.transformsEnabled===!1?i.$slideTrack.css(n):(n={},i.cssTransitions===!1?(n[i.animType]="translate("+e+", "+o+")",i.$slideTrack.css(n)):(n[i.animType]="translate3d("+e+", "+o+", 0px)",i.$slideTrack.css(n)))},e.prototype.setDimensions=function(){var t=this;t.options.vertical===!1?t.options.centerMode===!0&&t.$list.css({padding:"0px "+t.options.centerPadding}):(t.$list.height(t.$slides.first().outerHeight(!0)*t.options.slidesToShow),t.options.centerMode===!0&&t.$list.css({padding:t.options.centerPadding+" 0px"})),t.listWidth=t.$list.width(),t.listHeight=t.$list.height(),t.options.vertical===!1&&t.options.variableWidth===!1?(t.slideWidth=Math.ceil(t.listWidth/t.options.slidesToShow),t.$slideTrack.width(Math.ceil(t.slideWidth*t.$slideTrack.children(".slick-slide").length))):t.options.variableWidth===!0?t.$slideTrack.width(5e3*t.slideCount):(t.slideWidth=Math.ceil(t.listWidth),t.$slideTrack.height(Math.ceil(t.$slides.first().outerHeight(!0)*t.$slideTrack.children(".slick-slide").length)));var e=t.$slides.first().outerWidth(!0)-t.$slides.first().width();t.options.variableWidth===!1&&t.$slideTrack.children(".slick-slide").width(t.slideWidth-e)},e.prototype.setFade=function(){var e,o=this;o.$slides.each(function(i,n){e=-1*o.slideWidth*i,o.options.rtl===!0?t(n).css({position:"relative",right:e,top:0,zIndex:800,opacity:0}):t(n).css({position:"relative",left:e,top:0,zIndex:800,opacity:0})}),o.$slides.eq(o.currentSlide).css({zIndex:900,opacity:1})},e.prototype.setHeight=function(){var t=this;if(1===t.options.slidesToShow&&t.options.adaptiveHeight===!0&&t.options.vertical===!1){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.css("height",e)}},e.prototype.setOption=e.prototype.slickSetOption=function(t,e,o){var i=this;i.options[t]=e,o===!0&&(i.unload(),i.reinit())},e.prototype.setPosition=function(){var t=this;t.setDimensions(),t.setHeight(),t.options.fade===!1?t.setCSS(t.getLeft(t.currentSlide)):t.setFade(),t.$slider.trigger("setPosition",[t])},e.prototype.setProps=function(){var t=this,e=document.body.style;t.positionProp=t.options.vertical===!0?"top":"left","top"===t.positionProp?t.$slider.addClass("slick-vertical"):t.$slider.removeClass("slick-vertical"),(void 0!==e.WebkitTransition||void 0!==e.MozTransition||void 0!==e.msTransition)&&t.options.useCSS===!0&&(t.cssTransitions=!0),void 0!==e.OTransform&&(t.animType="OTransform",t.transformType="-o-transform",t.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.MozTransform&&(t.animType="MozTransform",t.transformType="-moz-transform",t.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(t.animType=!1)),void 0!==e.webkitTransform&&(t.animType="webkitTransform",t.transformType="-webkit-transform",t.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.msTransform&&(t.animType="msTransform",t.transformType="-ms-transform",t.transitionType="msTransition",void 0===e.msTransform&&(t.animType=!1)),void 0!==e.transform&&t.animType!==!1&&(t.animType="transform",t.transformType="transform",t.transitionType="transition"),t.transformsEnabled=null!==t.animType&&t.animType!==!1},e.prototype.setSlideClasses=function(t){var e,o,i,n,s=this;s.$slider.find(".slick-slide").removeClass("slick-active").attr("aria-hidden","true").removeClass("slick-center"),o=s.$slider.find(".slick-slide"),s.options.centerMode===!0?(e=Math.floor(s.options.slidesToShow/2),s.options.infinite===!0&&(t>=e&&t<=s.slideCount-1-e?s.$slides.slice(t-e,t+e+1).addClass("slick-active").attr("aria-hidden","false"):(i=s.options.slidesToShow+t,o.slice(i-e+1,i+e+2).addClass("slick-active").attr("aria-hidden","false")),0===t?o.eq(o.length-1-s.options.slidesToShow).addClass("slick-center"):t===s.slideCount-1&&o.eq(s.options.slidesToShow).addClass("slick-center")),s.$slides.eq(t).addClass("slick-center")):t>=0&&t<=s.slideCount-s.options.slidesToShow?s.$slides.slice(t,t+s.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):o.length<=s.options.slidesToShow?o.addClass("slick-active").attr("aria-hidden","false"):(n=s.slideCount%s.options.slidesToShow,i=s.options.infinite===!0?s.options.slidesToShow+t:t,s.options.slidesToShow==s.options.slidesToScroll&&s.slideCount-t<s.options.slidesToShow?o.slice(i-(s.options.slidesToShow-n),i+n).addClass("slick-active").attr("aria-hidden","false"):o.slice(i,i+s.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false")),"ondemand"===s.options.lazyLoad&&s.lazyLoad()},e.prototype.setupInfinite=function(){var e,o,i,n=this;if(n.options.fade===!0&&(n.options.centerMode=!1),n.options.infinite===!0&&n.options.fade===!1&&(o=null,n.slideCount>n.options.slidesToShow)){for(i=n.options.centerMode===!0?n.options.slidesToShow+1:n.options.slidesToShow,e=n.slideCount;e>n.slideCount-i;e-=1)o=e-1,t(n.$slides[o]).clone(!0).attr("id","").attr("data-slick-index",o-n.slideCount).prependTo(n.$slideTrack).addClass("slick-cloned");for(e=0;i>e;e+=1)o=e,t(n.$slides[o]).clone(!0).attr("id","").attr("data-slick-index",o+n.slideCount).appendTo(n.$slideTrack).addClass("slick-cloned");n.$slideTrack.find(".slick-cloned").find("[id]").each(function(){t(this).attr("id","")})}},e.prototype.setPaused=function(t){var e=this;e.options.autoplay===!0&&e.options.pauseOnHover===!0&&(e.paused=t,e.autoPlayClear())},e.prototype.selectHandler=function(e){var o=this,i=t(e.target).is(".slick-slide")?t(e.target):t(e.target).parents(".slick-slide"),n=parseInt(i.attr("data-slick-index"));return n||(n=0),o.slideCount<=o.options.slidesToShow?(o.$slider.find(".slick-slide").removeClass("slick-active").attr("aria-hidden","true"),o.$slides.eq(n).addClass("slick-active").attr("aria-hidden","false"),o.options.centerMode===!0&&(o.$slider.find(".slick-slide").removeClass("slick-center"),o.$slides.eq(n).addClass("slick-center")),void o.asNavFor(n)):void o.slideHandler(n)},e.prototype.slideHandler=function(t,e,o){var i,n,s,a,r=null,l=this;return e=e||!1,l.animating===!0&&l.options.waitForAnimate===!0||l.options.fade===!0&&l.currentSlide===t||l.slideCount<=l.options.slidesToShow?void 0:(e===!1&&l.asNavFor(t),i=t,r=l.getLeft(i),a=l.getLeft(l.currentSlide),l.currentLeft=null===l.swipeLeft?a:l.swipeLeft,l.options.infinite===!1&&l.options.centerMode===!1&&(0>t||t>l.getDotCount()*l.options.slidesToScroll)?void(l.options.fade===!1&&(i=l.currentSlide,o!==!0?l.animateSlide(a,function(){l.postSlide(i)}):l.postSlide(i))):l.options.infinite===!1&&l.options.centerMode===!0&&(0>t||t>l.slideCount-l.options.slidesToScroll)?void(l.options.fade===!1&&(i=l.currentSlide,o!==!0?l.animateSlide(a,function(){l.postSlide(i)}):l.postSlide(i))):(l.options.autoplay===!0&&clearInterval(l.autoPlayTimer),n=0>i?0!==l.slideCount%l.options.slidesToScroll?l.slideCount-l.slideCount%l.options.slidesToScroll:l.slideCount+i:i>=l.slideCount?0!==l.slideCount%l.options.slidesToScroll?0:i-l.slideCount:i,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?(o!==!0?l.fadeSlide(n,function(){l.postSlide(n)}):l.postSlide(n),void l.animateHeight()):void(o!==!0?l.animateSlide(r,function(){l.postSlide(n)}):l.postSlide(n))))},e.prototype.startLoad=function(){var t=this;t.options.arrows===!0&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.hide(),t.$nextArrow.hide()),t.options.dots===!0&&t.slideCount>t.options.slidesToShow&&t.$dots.hide(),t.$slider.addClass("slick-loading")},e.prototype.swipeDirection=function(){var t,e,o,i,n=this;return t=n.touchObject.startX-n.touchObject.curX,e=n.touchObject.startY-n.touchObject.curY,o=Math.atan2(e,t),i=Math.round(180*o/M
5ath.PI),0>i&&(i=360-Math.abs(i)),45>=i&&i>=0?n.options.rtl===!1?"left":"right":360>=i&&i>=315?n.options.rtl===!1?"left":"right":i>=135&&225>=i?n.options.rtl===!1?"right":"left":n.options.verticalSwiping===!0?i>=35&&135>=i?"left":"right":"vertical"},e.prototype.swipeEnd=function(){var t,e=this;if(e.dragging=!1,e.shouldClick=!(e.touchObject.swipeLength>10),void 0===e.touchObject.curX)return!1;if(e.touchObject.edgeHit===!0&&e.$slider.trigger("edge",[e,e.swipeDirection()]),e.touchObject.swipeLength>=e.touchObject.minSwipe)switch(e.swipeDirection()){case"left":t=e.options.swipeToSlide?e.checkNavigable(e.currentSlide+e.getSlideCount()):e.currentSlide+e.getSlideCount(),e.slideHandler(t),e.currentDirection=0,e.touchObject={},e.$slider.trigger("swipe",[e,"left"]);break;case"right":t=e.options.swipeToSlide?e.checkNavigable(e.currentSlide-e.getSlideCount()):e.currentSlide-e.getSlideCount(),e.slideHandler(t),e.currentDirection=1,e.touchObject={},e.$slider.trigger("swipe",[e,"right"])}else e.touchObject.startX!==e.touchObject.curX&&(e.slideHandler(e.currentSlide),e.touchObject={})},e.prototype.swipeHandler=function(t){var e=this;if(!(e.options.swipe===!1||"ontouchend"in document&&e.options.swipe===!1||e.options.draggable===!1&&-1!==t.type.indexOf("mouse")))switch(e.touchObject.fingerCount=t.originalEvent&&void 0!==t.originalEvent.touches?t.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,e.options.verticalSwiping===!0&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),t.data.action){case"start":e.swipeStart(t);break;case"move":e.swipeMove(t);break;case"end":e.swipeEnd(t)}},e.prototype.swipeMove=function(t){var e,o,i,n,s,a=this;return s=void 0!==t.originalEvent?t.originalEvent.touches:null,!(!a.dragging||s&&1!==s.length)&&(e=a.getLeft(a.currentSlide),a.touchObject.curX=void 0!==s?s[0].pageX:t.clientX,a.touchObject.curY=void 0!==s?s[0].pageY:t.clientY,a.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(a.touchObject.curX-a.touchObject.startX,2))),a.options.verticalSwiping===!0&&(a.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(a.touchObject.curY-a.touchObject.startY,2)))),o=a.swipeDirection(),"vertical"!==o?(void 0!==t.originalEvent&&a.touchObject.swipeLength>4&&t.preventDefault(),n=(a.options.rtl===!1?1:-1)*(a.touchObject.curX>a.touchObject.startX?1:-1),a.options.verticalSwiping===!0&&(n=a.touchObject.curY>a.touchObject.startY?1:-1),i=a.touchObject.swipeLength,a.touchObject.edgeHit=!1,a.options.infinite===!1&&(0===a.currentSlide&&"right"===o||a.currentSlide>=a.getDotCount()&&"left"===o)&&(i=a.touchObject.swipeLength*a.options.edgeFriction,a.touchObject.edgeHit=!0),a.swipeLeft=a.options.vertical===!1?e+i*n:e+i*(a.$list.height()/a.listWidth)*n,a.options.verticalSwiping===!0&&(a.swipeLeft=e+i*n),a.options.fade!==!0&&a.options.touchMove!==!1&&(a.animating===!0?(a.swipeLeft=null,!1):void a.setCSS(a.swipeLeft))):void 0)},e.prototype.swipeStart=function(t){var e,o=this;return 1!==o.touchObject.fingerCount||o.slideCount<=o.options.slidesToShow?(o.touchObject={},!1):(void 0!==t.originalEvent&&void 0!==t.originalEvent.touches&&(e=t.originalEvent.touches[0]),o.touchObject.startX=o.touchObject.curX=void 0!==e?e.pageX:t.clientX,o.touchObject.startY=o.touchObject.curY=void 0!==e?e.pageY:t.clientY,void(o.dragging=!0))},e.prototype.unfilterSlides=e.prototype.slickUnfilter=function(){var t=this;null!==t.$slidesCache&&(t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.appendTo(t.$slideTrack),t.reinit())},e.prototype.unload=function(){var e=this;t(".slick-cloned",e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&"object"!=typeof e.options.prevArrow&&e.$prevArrow.remove(),e.$nextArrow&&"object"!=typeof e.options.nextArrow&&e.$nextArrow.remove(),e.$slides.removeClass("slick-slide slick-active slick-visible").attr("aria-hidden","true").css("width","")},e.prototype.unslick=function(){var t=this;t.destroy()},e.prototype.updateArrows=function(){var t,e=this;t=Math.floor(e.options.slidesToShow/2),e.options.arrows===!0&&e.options.infinite!==!0&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.removeClass("slick-disabled"),e.$nextArrow.removeClass("slick-disabled"),0===e.currentSlide?(e.$prevArrow.addClass("slick-disabled"),e.$nextArrow.removeClass("slick-disabled")):e.currentSlide>=e.slideCount-e.options.slidesToShow&&e.options.centerMode===!1?(e.$nextArrow.addClass("slick-disabled"),e.$prevArrow.removeClass("slick-disabled")):e.currentSlide>=e.slideCount-1&&e.options.centerMode===!0&&(e.$nextArrow.addClass("slick-disabled"),e.$prevArrow.removeClass("slick-disabled")))},e.prototype.updateDots=function(){var t=this;null!==t.$dots&&(t.$dots.find("li").removeClass("slick-active").attr("aria-hidden","true"),t.$dots.find("li").eq(Math.floor(t.currentSlide/t.options.slidesToScroll)).addClass("slick-active").attr("aria-hidden","false"))},e.prototype.visibility=function(){var t=this;document[t.hidden]?(t.paused=!0,t.autoPlayClear()):(t.paused=!1,t.autoPlay())},t.fn.slick=function(){var t,o=this,i=arguments[0],n=Array.prototype.slice.call(arguments,1
5),s=o.length,a=0;for(a;s>a;a++)if("object"==typeof i||"undefined"==typeof i?o[a].slick=new e(o[a],i):t=o[a].slick[i].apply(o[a].slick,n),"undefined"!=typeof t)return t;return o}});var ssc_framerate=150,ssc_animtime=500,ssc_stepsize=150,ssc_pulseAlgorithm=!0,ssc_pulseScale=6,ssc_pulseNormalize=1,ssc_keyboardsupport=!0,ssc_arrowscroll=50,ssc_frame=!1,ssc_direction={x:0,y:0},ssc_initdone=!1,ssc_fixedback=!0,ssc_root=document.documentElement,ssc_activeElement,ssc_key={left:37,up:38,right:39,down:40,spacebar:32,pageup:33,pagedown:34,end:35,home:36},ssc_que=[],ssc_pending=!1,ssc_cache={};setInterval(function(){ssc_cache={}},1e4);var ssc_uniqueID=function(){var t=0;return function(e){return e.ssc_uniqueID||(e.ssc_uniqueID=t++)}}(),ischrome=/chrome/.test(navigator.userAgent.toLowerCase());ischrome&&(ssc_addEvent("mousedown",ssc_mousedown),ssc_addEvent("mousewheel",ssc_wheel),ssc_addEvent("load",ssc_init)),function(){var t,e;t=this.jQuery||window.jQuery,e=t(window),t.fn.stick_in_parent=function(o){var i,n,s,a,r,l,c,d,u,p,f,h;for(null==o&&(o={}),u=o.sticky_class,s=o.inner_scrolling,d=o.recalc_every,c=o.parent,r=o.offset_top,a=o.spacer,n=o.bottoming,null==r&&(r=0),null==c&&(c=void 0),null==s&&(s=!0),null==u&&(u="is_stuck"),i=t(document),null==n&&(n=!0),l=function(t){var e;return window.getComputedStyle?(t=window.getComputedStyle(t[0]),e=parseFloat(t.getPropertyValue("width"))+parseFloat(t.getPropertyValue("margin-left"))+parseFloat(t.getPropertyValue("margin-right")),"border-box"!==t.getPropertyValue("box-sizing")&&(e+=parseFloat(t.getPropertyValue("border-left-width"))+parseFloat(t.getPropertyValue("border-right-width"))+parseFloat(t.getPropertyValue("padding-left"))+parseFloat(t.getPropertyValue("padding-right"))),e):t.outerWidth(!0)},p=function(o,p,f,h,m,g,v,b){var y,w,x,S,C,k,T,_,$,P,A,M;if(!o.data("sticky_kit")){if(o.data("sticky_kit",!0),C=i.height(),T=o.parent(),null!=c&&(T=T.closest(c)),!T.length)throw"failed to find stick parent";if(y=x=!1,(A=null!=a?a&&o.closest(a):t("<div />"))&&A.css("position",o.css("position")),_=function(){var t,e,n;if(!b&&(C=i.height(),t=parseInt(T.css("border-top-width"),10),e=parseInt(T.css("padding-top"),10),p=parseInt(T.css("padding-bottom"),10),f=T.offset().top+t+e,h=T.height(),x&&(y=x=!1,null==a&&(o.insertAfter(A),A.detach()),o.css({position:"",top:"",width:"",bottom:""}).removeClass(u),n=!0),m=o.offset().top-(parseInt(o.css("margin-top"),10)||0)-r,g=o.outerHeight(!0),v=o.css("float"),A&&A.css({width:l(o),height:g,display:o.css("display"),"vertical-align":o.css("vertical-align"),"float":v}),n))return M()},_(),g!==h)return S=void 0,k=r,P=d,M=function(){var t,l,c,w;if(!b&&(c=!1,null!=P&&(--P,0>=P&&(P=d,_(),c=!0)),c||i.height()===C||_(),c=e.scrollTop(),null!=S&&(l=c-S),S=c,x?(n&&(w=c+g+k>h+f,y&&!w&&(y=!1,o.css({position:"fixed",bottom:"",top:k}).trigger("sticky_kit:unbottom"))),c<m&&(x=!1,k=r,null==a&&("left"!==v&&"right"!==v||o.insertAfter(A),A.detach()),t={position:"",width:"",top:""},o.css(t).removeClass(u).trigger("sticky_kit:unstick")),s&&(t=e.height(),g+r>t&&!y&&(k-=l,k=Math.max(t-g,k),k=Math.min(r,k),x&&o.css({top:k+"px"})))):c>m&&(x=!0,t={position:"fixed",top:k},t.width="border-box"===o.css("box-sizing")?o.outerWidth()+"px":o.width()+"px",o.css(t).addClass(u),null==a&&(o.after(A),"left"!==v&&"right"!==v||A.append(o)),o.trigger("sticky_kit:stick")),x&&n&&(null==w&&(w=c+g+k>h+f),!y&&w)))return y=!0,"static"===T.css("position")&&T.css({position:"relative"}),o.css({position:"absolute",bottom:p,top:"auto"}).trigger("sticky_kit:bottom")},$=function(){return _(),M()},w=function(){if(b=!0,e.off("touchmove",M),e.off("scroll",M),e.off("resize",$),t(document.body).off("sticky_kit:recalc",$),o.off("sticky_kit:detach",w),o.removeData("sticky_kit"),o.css({position:"",bottom:"",top:"",width:""}),T.position("position",""),x)return null==a&&("left"!==v&&"right"!==v||o.insertAfter(A),A.remove()),o.removeClass(u)},e.on("touchmove",M),e.on("scroll",M),e.on("resize",$),t(document.body).on("sticky_kit:recalc",$),o.on("sticky_kit:detach",w),setTimeout(M,0)}},f=0,h=this.length;f<h;f++)o=this[f],p(t(o));return this}}.call(this); 6//# sourceMappingURL=plugins.min.map
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.