PageSourceSearch

https://telsglobal.ru/local/templates/main/js/main.min.js?=v3

js telsglobal.ru collected 2026-09-30 16:59:27 UTC 191,943 bytes, 3 lines download raw bytes

1!function(e,t,i,o){"use strict";function s(e,t){var o,s,n,a=[],r=0;e&&e.isDefaultPrevented()||(e.preventDefault(),t=t||{},e&&e.data&&(t=h(e.data.options,t)),o=t.$target||i(e.currentTarget).trigger("blur"),(n=i.fancybox.getInstance())&&n.$trigger&&n.$trigger.is(o)||(t.selector?a=i(t.selector):(s=o.attr("data-fancybox")||"")?a=(a=e.data?e.data.items:[]).length?a.filter('[data-fancybox="'+s+'"]'):i('[data-fancybox="'+s+'"]'):a=[o],(r=i(a).index(o))<0&&(r=0),(n=i.fancybox.open(a,t,r)).$trigger=o))}if(e.console=e.console||{info:function(e){}},i){if(i.fn.fancybox)return void console.info("fancyBox already initialized");var n={closeExisting:!1,loop:!1,gutter:50,keyboard:!0,preventCaptionOverlap:!0,arrows:!0,infobar:!0,smallBtn:"auto",toolbar:"auto",buttons:["zoom","slideShow","thumbs","close"],idleTime:3,protect:!1,modal:!1,image:{preload:!1},ajax:{settings:{data:{fancybox:!0}}},iframe:{tpl:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" allowfullscreen="allowfullscreen" allow="autoplay; fullscreen" src=""></iframe>',preload:!0,css:{},attr:{scrolling:"auto"}},video:{tpl:'<video class="fancybox-video" controls controlsList="nodownload" poster="{{poster}}"><source src="{{src}}" type="{{format}}" />Sorry, your browser doesn\'t support embedded videos, <a href="{{src}}">download</a> and watch with your favorite video player!</video>',format:"",autoStart:!0},defaultType:"image",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"><span data-fancybox-index></span>&nbsp;/&nbsp;<span data-fancybox-count></span></div><div class="fancybox-toolbar">{{buttons}}</div><div class="fancybox-navigation">{{arrows}}</div><div class="fancybox-stage"></div><div class="fancybox-caption"><div class="fancybox-caption__body"></div></div></div></div>',spinnerTpl:'<div class="fancybox-loading"></div>',errorTpl:'<div class="fancybox-error"><p>{{ERROR}}</p></div>',btnTpl:{download:'<a download data-fancybox-download class="fancybox-button fancybox-button--download" title="{{DOWNLOAD}}" href="javascript:;"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.62 17.09V19H5.38v-1.91zm-2.97-6.96L17 11.45l-5 4.87-5-4.87 1.36-1.32 2.68 2.64V5h1.92v7.77z"/></svg></a>',zoom:'<button data-fancybox-zoom class="fancybox-button fancybox-button--zoom" title="{{ZOOM}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.7 17.3l-3-3a5.9 5.9 0 0 0-.6-7.6 5.9 5.9 0 0 0-8.4 0 5.9 5.9 0 0 0 0 8.4 5.9 5.9 0 0 0 7.7.7l3 3a1 1 0 0 0 1.3 0c.4-.5.4-1 0-1.5zM8.1 13.8a4 4 0 0 1 0-5.7 4 4 0 0 1 5.7 0 4 4 0 0 1 0 5.7 4 4 0 0 1-5.7 0z"/></svg></button>',close:'<button data-fancybox-close class="fancybox-button fancybox-button--close" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 10.6L6.6 5.2 5.2 6.6l5.4 5.4-5.4 5.4 1.4 1.4 5.4-5.4 5.4 5.4 1.4-1.4-5.4-5.4 5.4-5.4-1.4-1.4-5.4 5.4z"/></svg></button>',arrowLeft:'<button data-fancybox-prev class="fancybox-button fancybox-button--arrow_left" title="{{PREV}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11.28 15.7l-1.34 1.37L5 12l4.94-5.07 1.34 1.38-2.68 2.72H19v1.94H8.6z"/></svg></div></button>',arrowRight:'<button data-fancybox-next class="fancybox-button fancybox-button--arrow_right" title="{{NEXT}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15.4 12.97l-2.68 2.72 1.34 1.38L19 12l-4.94-5.07-1.34 1.38 2.68 2.72H5v1.94z"/></svg></div></button>',smallBtn:'<button type="button" data-fancybox-close class="fancybox-button fancybox-close-small" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" version="1" viewBox="0 0 24 24"><path d="M13 12l5-5-1-1-5 5-5-5-1 1 5 5-5 5 1 1 5-5 5 5 1-1z"/></svg></button>'},parentEl:"body",hideScrollbar:!0,autoFocus:!0,backFocus:!0,trapFocus:!0,fullScreen:{autoStart:!1},touch:{vertical:!0,momentum:!0},hash:null,media:{},slideShow:{autoStart:!1,speed:3e3},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"}
vendor: 5,346 bytes, line 1
1,wheel:"auto",onInit:i.noop,beforeLoad:i.noop,afterLoad:i.noop,beforeShow:i.noop,afterShow:i.noop,beforeClose:i.noop,afterClose:i.noop,onActivate:i.noop,onDeactivate:i.noop,clickContent:function(e,t){return"image"===e.type&&"zoom"},clickSlide:"close",clickOutside:"close",dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1,mobile:{preventCaptionOverlap:!1,idleTime:!1,clickContent:function(e,t){return"image"===e.type&&"toggleControls"},clickSlide:function(e,t){return"image"===e.type?"toggleControls":"close"},dblclickContent:function(e,t){return"image"===e.type&&"zoom"},dblclickSlide:function(e,t){return"image"===e.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",DOWNLOAD:"Download",SHARE:"Share",ZOOM:"Zoom"},de:{CLOSE:"Schlie&szlig;en",NEXT:"Weiter",PREV:"Zur&uuml;ck",ERROR:"Die angeforderten Daten konnten nicht geladen werden. <br/> Bitte versuchen Sie es sp&auml;ter nochmal.",PLAY_START:"Diaschau starten",PLAY_STOP:"Diaschau beenden",FULL_SCREEN:"Vollbild",THUMBS:"Vorschaubilder",DOWNLOAD:"Herunterladen",SHARE:"Teilen",ZOOM:"Vergr&ouml;&szlig;ern"}}},a=i(e),r=i(t),l=0,c=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||function(t){return e.setTimeout(t,1e3/60)},d=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.oCancelAnimationFrame||function(t){e.clearTimeout(t)},u=function(){var e,i=t.createElement("fakeelement"),o={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(e in o)if(void 0!==i.style[e])return o[e];return"transitionend"}(),p=function(e){return e&&e.length&&e[0].offsetHeight},h=function(e,t){var o=i.extend(!0,{},e,t);return i.each(t,(function(e,t){i.isArray(t)&&(o[e]=t)})),o},f=function(e){var o,s;return!(!e||e.ownerDocument!==t)&&(i(".fancybox-container").css("pointer-events","none"),o={x:e.getBoundingClientRect().left+e.offsetWidth/2,y:e.getBoundingClientRect().top+e.offsetHeight/2},s=t.elementFromPoint(o.x,o.y)===e,i(".fancybox-container").css("pointer-events",""),s)},g=function(e,t,o){var s=this;s.opts=h({index:o},i.fancybox.defaults),i.isPlainObject(t)&&(s.opts=h(s.opts,t)),i.fancybox.isMobile&&(s.opts=h(s.opts,s.opts.mobile)),s.id=s.opts.id||++l,s.currIndex=parseInt(s.opts.index,10)||0,s.prevIndex=null,s.prevPos=null,s.currPos=0,s.firstRun=!0,s.group=[],s.slides={},s.addContent(e),s.group.length&&s.init()};i.extend(g.prototype,{init:function(){var o,s,n=this,a=n.group[n.currIndex].opts;a.closeExisting&&i.fancybox.close(!0),i("body").addClass("fancybox-active"),!i.fancybox.getInstance()&&!1!==a.hideScrollbar&&!i.fancybox.isMobile&&t.body.scrollHeight>e.innerHeight&&(i("head").append('<style id="fancybox-style-noscroll" type="text/css">.compensate-for-scrollbar{margin-right:'+(e.innerWidth-t.documentElement.clientWidth)+"px;}</style>"),i("body").addClass("compensate-for-scrollbar")),s="",i.each(a.buttons,(function(e,t){s+=a.btnTpl[t]||""})),o=i(n.translate(n,a.baseTpl.replace("{{buttons}}",s).replace("{{arrows}}",a.btnTpl.arrowLeft+a.btnTpl.arrowRight))).attr("id","fancybox-container-"+n.id).addClass(a.baseClass).data("FancyBox",n).appendTo(a.parentEl),n.$refs={container:o},["bg","inner","infobar","toolbar","stage","caption","navigation"].forEach((function(e){n.$refs[e]=o.find(".fancybox-"+e)})),n.trigger("onInit"),n.activate(),n.jumpTo(n.currIndex)},translate:function(e,t){var i=e.opts.i18n[e.opts.lang]||e.opts.i18n.en;return t.replace(/\{\{(\w+)\}\}/g,(function(e,t){return void 0===i[t]?e:i[t]}))},addContent:function(e){var t,o=this,s=i.makeArray(e);i.each(s,(function(e,t){var s,n,a,r,l,c={},d={};i.isPlainObject(t)?(c=t,d=t.opts||t):"object"===i.type(t)&&i(t).length?(d=(s=i(t)).data()||{},(d=i.extend(!0,{},d,d.options)).$orig=s,c.src=o.opts.src||d.src||s.attr("href"),c.type||c.src||(c.type="inline",c.src=t)):c={type:"html",src:t+""},c.opts=i.extend(!0,{},o.opts,d),i.isArray(d.buttons)&&(c.opts.buttons=d.buttons),i.fancybox.isMobile&&c.opts.mobile&&(c.opts=h(c.opts,c.opts.mobile)),n=c.type||c.opts.type,r=c.src||"",!n&&r&&((a=r.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i))?(n="video",c.opts.video.format||(c.opts.video.format="video/"+("ogv"===a[1]?"ogg":a[1]))):r.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?n="image":r.match(/\.(pdf)((\?|#).*)?$/i)?(n="iframe",c=i.extend(!0,c,{contentType:"pdf",opts:{iframe:{preload:!1}}})):"#"===r.charAt(0)&&(n="inline")),n?c.type=n:o.trigger("objectNeedsType",c),c.contentType||(c.contentType=i.inArray(c.type,["html","inline","ajax"])>-1?"html":c.type),c.index=o.group.length,"auto"==c.opts.smallBtn&&(c.opts.smallBtn=i.inArray(c.type,["html","inline","ajax"])>-1),"auto"===c.opts.toolbar&&(c.opts.toolbar=!c.opts.smallBtn),c.$thumb=c.opts.$thumb||null,c.opts.$trigger&&c.index===o.opts.index&&(c.$thumb=c.opts.$trigger.find("img:first"),c.$thumb.length&&(c.opts.$orig=c.opts.$trigger)),c.$thumb&&c.$thumb.length||!c.opts.$orig||(c.$thumb=c.opts.$orig.find("img:first")),c.$thumb&&!c.$thumb.length&&(c.$thumb=null),c.thumb=c.opts.thumb||(c.$thumb?c.$thumb[0].src:null),"function"===i.t
1ype(c.opts.caption)&&(c.opts.caption=c.opts.caption.apply(t,[o,c])),"function"===i.type(o.opts.caption)&&(c.opts.caption=o.opts.caption.apply(t,[o,c])),c.opts.caption instanceof i||(c.opts.caption=void 0===c.opts.caption?"":c.opts.caption+""),"ajax"===c.type&&((l=r.split(/\s+/,2)).length>1&&(c.src=l.shift(),c.opts.filter=l.shift())),c.opts.modal&&(c.opts=i.extend(!0,c.opts,{trapFocus:!0,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})),o.group.push(c)})),Object.keys(o.slides).length&&(o.updateControls(),(t=o.Thumbs)&&t.isActive&&(t.create(),t.focus()))},addEvents:function(){var t=this;t.removeEvents(),t.$refs.container.on("click.fb-close","[data-fancybox-close]",(function(e){e.stopPropagation(),e.preventDefault(),t.close(e)})).on("touchstart.fb-prev click.fb-prev","[data-fancybox-prev]",(function(e){e.stopPropagation(),e.preventDefault(),t.previous()})).on("touchstart.fb-next click.fb-next","[data-fancybox-next]",(function(e){e.stopPropagation(),e.preventDefault(),t.next()})).on("click.fb","[data-fancybox-zoom]",(function(e){t[t.isScaledDown()?"scaleToActual":"scaleToFit"]()})),a.on("orientationchange.fb resize.fb",(function(e){e&&e.originalEvent&&"resize"===e.originalEvent.type?(t.requestId&&d(t.requestId),t.requestId=c((function(){t.update(e)}))):(t.current&&"iframe"===t.current.type&&t.$refs.stage.hide(),setTimeout((function(){t.$refs.stage.show(),t.update(e)}),i.fancybox.isMobile?600:250))})),r.on("keydown.fb",(function(e){var o=(i.fancybox?i.fancybox.getInstance():null).current,s=e.keyCode||e.which;if(9!=s)return!o.opts.keyboard||e.ctrlKey||e.altKey||e.shiftKey||i(e.target).is("input,textarea,video,audio,select")?void 0:8===s||27===s?(e.preventDefault(),void t.close(e)):37===s||38===s?(e.preventDefault(),void t.previous()):39===s||40===s?(e.preventDefault(),void t.next()):void t.trigger("afterKeydown",e,s);o.opts.trapFocus&&t.focus(e)})),t.group[t.currIndex].opts.idleTime&&(t.idleSecondsCounter=0,r.on("mousemove.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle",(function(e){t.idleSecondsCounter=0,t.isIdle&&t.showControls(),t.isIdle=!1})),t.idleInterval=e.setInterval((function(){++t.idleSecondsCounter>=t.group[t.currIndex].opts.idleTime&&!t.isDragging&&(t.isIdle=!0,t.idleSecondsCounter=0,t.hideControls())}),1e3))},removeEvents:function(){var t=this;a.off("orientationchange.fb resize.fb"),r.off("keydown.fb .fb-idle"),this.$refs.container.off(".fb-close .fb-prev .fb-next"),t.idleInterval&&(e.clearInterval(t.idleInterval),t.idleInterval=null)},previous:function(e){return this.jumpTo(this.currPos-1,e)},next:function(e){return this.jumpTo(this.currPos+1,e)},jumpTo:function(e,t){var o,s,n,a,r,l,c,d,u,h=this,f=h.group.length;if(!(h.isDragging||h.isClosing||h.isAnimating&&h.firstRun)){if(e=parseInt(e,10),!(n=h.current?h.current.opts.loop:h.opts.loop)&&(e<0||e>=f))return!1;if(o=h.firstRun=!Object.keys(h.slides).length,r=h.current,h.prevIndex=h.currIndex,h.prevPos=h.currPos,a=h.createSlide(e),f>1&&((n||a.index<f-1)&&h.createSlide(e+1),(n||a.index>0)&&h.createSlide(e-1)),h.current=a,h.currIndex=a.index,h.currPos=a.pos,h.trigger("beforeShow",o),h.updateControls(),a.forcedDuration=void 0,i.isNumeric(t)?a.forcedDuration=t:t=a.opts[o?"animationDuration":"transitionDuration"],t=parseInt(t,10),s=h.isMoved(a),a.$slide.addClass("fancybox-slide--current"),o)return a.opts.animationEffect&&t&&h.$refs.container.css("transition-duration",t+"ms"),h.$refs.container.addClass("fancybox-is-open").trigger("focus"),h.loadSlide(a),void h.preload("image");l=i.fancybox.getTranslate(r.$slide),c=i.fancybox.getTranslate(h.$refs.stage),i.each(h.slides,(function(e,t){i.fancybox.stop(t.$slide,!0)})),r.pos!==a.pos&&(r.isComplete=!1),r.$slide.removeClass("fancybox-slide--complete fancybox-slide--current"),s?(u=l.left-(r.pos*l.width+r.pos*r.opts.gutter),i.each(h.slides,(function(e,o){o.$slide.removeClass("fancybox-animated").removeClass((function(e,t){return(t.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")}));var s=o.pos*l.width+o.pos*o.opts.gutter;i.fancybox.setTranslate(o.$slide,{top:0,left:s-c.left+u}),o.pos!==a.pos&&o.$slide.addClass("fancybox-slide--"+(o.pos>a.pos?"next":"previous")),p(o.$slide),i.fancybox.animate(o.$slide,{top:0,left:(o.pos-a.pos)*l.width+(o.pos-a.pos)*o.opts.gutter},t,(function(){o.$slide.css({transform:"",opacity:""}).removeClass("fancybox-slide--next fancybox-slide--previous"),o.pos===
1h.currPos&&h.complete()}))}))):t&&a.opts.transitionEffect&&(d="fancybox-animated fancybox-fx-"+a.opts.transitionEffect,r.$slide.addClass("fancybox-slide--"+(r.pos>a.pos?"next":"previous")),i.fancybox.animate(r.$slide,d,t,(function(){r.$slide.removeClass(d).removeClass("fancybox-slide--next fancybox-slide--previous")}),!1)),a.isLoaded?h.revealContent(a):h.loadSlide(a),h.preload("image")}},createSlide:function(e){var t,o,s=this;return o=(o=e%s.group.length)<0?s.group.length+o:o,!s.slides[e]&&s.group[o]&&(t=i('<div class="fancybox-slide"></div>').appendTo(s.$refs.stage),s.slides[e]=i.extend(!0,{},s.group[o],{pos:e,$slide:t,isLoaded:!1}),s.updateSlide(s.slides[e])),s.slides[e]},scaleToActual:function(e,t,o){var s,n,a,r,l,c=this,d=c.current,u=d.$content,p=i.fancybox.getTranslate(d.$slide).width,h=i.fancybox.getTranslate(d.$slide).height,f=d.width,g=d.height;c.isAnimating||c.isMoved()||!u||"image"!=d.type||!d.isLoaded||d.hasError||(c.isAnimating=!0,i.fancybox.stop(u),e=void 0===e?.5*p:e,t=void 0===t?.5*h:t,(s=i.fancybox.getTranslate(u)).top-=i.fancybox.getTranslate(d.$slide).top,s.left-=i.fancybox.getTranslate(d.$slide).left,r=f/s.width,l=g/s.height,n=.5*p-.5*f,a=.5*h-.5*g,f>p&&((n=s.left*r-(e*r-e))>0&&(n=0),n<p-f&&(n=p-f)),g>h&&((a=s.top*l-(t*l-t))>0&&(a=0),a<h-g&&(a=h-g)),c.updateCursor(f,g),i.fancybox.animate(u,{top:a,left:n,scaleX:r,scaleY:l},o||366,(function(){c.isAnimating=!1})),c.SlideShow&&c.SlideShow.isActive&&c.SlideShow.stop())},scaleToFit:function(e){var t,o=this,s=o.current,n=s.$content;o.isAnimating||o.isMoved()||!n||"image"!=s.type||!s.isLoaded||s.hasError||(o.isAnimating=!0,i.fancybox.stop(n),t=o.getFitPos(s),o.updateCursor(t.width,t.height),i.fancybox.animate(n,{top:t.top,left:t.left,scaleX:t.width/n.width(),scaleY:t.height/n.height()},e||366,(function(){o.isAnimating=!1})))},getFitPos:function(e){var t,o,s,n,a=e.$content,r=e.$slide,l=e.width||e.opts.width,c=e.height||e.opts.height,d={};return!!(e.isLoaded&&a&&a.length)&&(t=i.fancybox.getTranslate(this.$refs.stage).width,o=i.fancybox.getTranslate(this.$refs.stage).height,t-=p
1arseFloat(r.css("paddingLeft"))+parseFloat(r.css("paddingRight"))+parseFloat(a.css("marginLeft"))+parseFloat(a.css("marginRight")),o-=parseFloat(r.css("paddingTop"))+parseFloat(r.css("paddingBottom"))+parseFloat(a.css("marginTop"))+parseFloat(a.css("marginBottom")),l&&c||(l=t,c=o),(l*=s=Math.min(1,t/l,o/c))>t-.5&&(l=t),(c*=s)>o-.5&&(c=o),"image"===e.type?(d.top=Math.floor(.5*(o-c))+parseFloat(r.css("paddingTop")),d.left=Math.floor(.5*(t-l))+parseFloat(r.css("paddingLeft"))):"video"===e.contentType&&(c>l/(n=e.opts.width&&e.opts.height?l/c:e.opts.ratio||16/9)?c=l/n:l>c*n&&(l=c*n)),d.width=l,d.height=c,d)},update:function(e){var t=this;i.each(t.slides,(function(i,o){t.updateSlide(o,e)}))},updateSlide:function(e,t){var o=this,s=e&&e.$content,n=e.width||e.opts.width,a=e.height||e.opts.height,r=e.$slide;o.adjustCaption(e),s&&(n||a||"video"===e.contentType)&&!e.hasError&&(i.fancybox.stop(s),i.fancybox.setTranslate(s,o.getFitPos(e)),e.pos===o.currPos&&(o.isAnimating=!1,o.updateCursor())),o.adjustLayout(e),r.length&&(r.trigger("refresh"),e.pos===o.currPos&&o.$refs.toolbar.add(o.$refs.navigation.find(".fancybox-button--arrow_right")).toggleClass("compensate-for-scrollbar",r.get(0).scrollHeight>r.get(0).clientHeight)),o.trigger("onUpdate",e,t)},centerSlide:function(e){var t=this,o=t.current,s=o.$slide;!t.isClosing&&o&&(s.siblings().css({transform:"",opacity:""}),s.parent().children().removeClass("fancybox-slide--previous fancybox-slide--next"),i.fancybox.animate(s,{top:0,left:0,opacity:1},void 0===e?0:e,(function(){s.css({transform:"",opacity:""}),o.isComplete||t.complete()}),!1))},isMoved:function(e){var t,o,s=e||this.current;return!!s&&(o=i.fancybox.getTranslate(this.$refs.stage),t=i.fancybox.getTranslate(s.$slide),!s.$slide.hasClass("fancybox-animated")&&(Math.abs(t.top-o.top)>.5||Math.abs(t.left-o.left)>.5))},updateCursor:function(e,t){var o,s,n=this,a=n.current,r=n.$refs.container;a&&!n.isClosing&&n.Guestures&&(r.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-zoomOut fancybox-can-swipe fancybox-can-pan"),s=!!(o=n.canPan(e,t))||n.isZoomable(),r.toggleClass("fancybox-is-zoomable",s),i("[data-fancybox-zoom]").prop("disabled",!s),o?r.addClass("fancybox-can-pan"):s&&("zoom"===a.opts.clickContent||i.isFunction(a.opts.clickContent)&&"zoom"==a.opts.clickContent(a))?r.addClass("fancybox-can-zoomIn"):a.opts.touch&&(a.opts.touch.vertical||n.group.length>1)&&"video"!==a.contentType&&r.addClass("fancybox-can-swipe"))},isZoomable:function(){var e,t=this,i=t.current;if(i&&!t.isClosing&&"image"===i.type&&!i.hasError){if(!i.isLoaded)return!0;if((e=t.getFitPos(i))&&(i.width>e.width||i.height>e.height))return!0}return!1},isScaledDown:function(e,t){var o=!1,s=this.current,n=s.$content;return void 0!==e&&void 0!==t?o=e<s.width&&t<s.height:n&&(o=(o=i.fancybox.getTranslate(n)).width<s.width&&o.height<s.height),o},canPan:function(e,t){var o=this.current,s=null,n=!1;return"image"===o.type&&(o.isComplete||e&&t)&&!o.hasError&&(n=this.getFitPos(o),void 0!==e&&void 0!==t?s={width:e,height:t}:o.isComplete&&(s=i.fancybox.getTranslate(o.$content)),s&&n&&(n=Math.abs(s.width-n.width)>1.5||Math.abs(s.height-n.height)>1.5)),n},loadSlide:function(e){var t,o,s,n=this;if(!e.isLoading&&!e.isLoaded){if(e.isLoading=!0,!1===n.trigger("beforeLoad",e))return e.isLoading=!1,!1;switch(t=e.type,(o=e.$slide).off("refresh").trigger("onReset").addClass(e.opts.slideClass),t){case"image":n.setImage(e);break;case"iframe":n.setIframe(e);break;case"html":n.setContent(e,e.src||e.content);break;case"video":n.setContent(e,e.opts.video.tpl.replace(/\{\{src\}\}/gi,e.src).replace("{{format}}",e.opts.videoFormat||e.opts.video.format||"").replace("{{poster}}",e.thumb||""));break;case"inline":i(e.src).length?n.setContent(e,i(e.src)):n.setError(e);break;case"ajax":n.showLoading(e),s=i.ajax(i.extend({},e.opts.ajax.settings,{url:e.src,success:function(t,i){"success"===i&&n.setContent(e,t)},error:function(t,i){t&&"abort"!==i&&n.setError(e)}})),o.one("onReset",(function(){s.abort()}));break;default:n.setError(e)}return!0}},setImage:function(e){var o,s=this;setTimeout((function(){var t=e.$image;s.isClosing||!e.isLoading||t&&t.length&&t[0].complete||e.hasError||s.showLoading(e)}
1),50),s.checkSrcset(e),e.$content=i('<div class="fancybox-content"></div>').addClass("fancybox-is-hidden").appendTo(e.$slide.addClass("fancybox-slide--image")),!1!==e.opts.preload&&e.opts.width&&e.opts.height&&e.thumb&&(e.width=e.opts.width,e.height=e.opts.height,(o=t.createElement("img")).onerror=function(){i(this).remove(),e.$ghost=null},o.onload=function(){s.afterLoad(e)},e.$ghost=i(o).addClass("fancybox-image").appendTo(e.$content).attr("src",e.thumb)),s.setBigImage(e)},checkSrcset:function(t){var i,o,s,n,a=t.opts.srcset||t.opts.image.srcset;if(a){s=e.devicePixelRatio||1,n=e.innerWidth*s,(o=a.split(",").map((function(e){var t={};return e.trim().split(/\s+/).forEach((function(e,i){var o=parseInt(e.substring(0,e.length-1),10);if(0===i)return t.url=e;o&&(t.value=o,t.postfix=e[e.length-1])})),t}))).sort((function(e,t){return e.value-t.value}));for(var r=0;r<o.length;r++){var l=o[r];if("w"===l.postfix&&l.value>=n||"x"===l.postfix&&l.value>=s){i=l;break}}!i&&o.length&&(i=o[o.length-1]),i&&(t.src=i.url,t.width&&t.height&&"w"==i.postfix&&(t.height=t.width/t.height*i.value,t.width=i.value),t.opts.srcset=a)}},setBigImage:function(e){var o=this,s=t.createElement("img"),n=i(s);e.$image=n.one("error",(function(){o.setError(e)})).one("load",(function(){var t;e.$ghost||(o.resolveImageSlideSize(e,this.naturalWidth,this.naturalHeight),o.afterLoad(e)),o.isClosing||(e.opts.srcset&&((t=e.opts.sizes)&&"auto"!==t||(t=(e.width/e.height>1&&a.width()/a.height()>1?"100":Math.round(e.width/e.height*100))+"vw"),n.attr("sizes",t).attr("srcset",e.opts.srcset)),e.$ghost&&setTimeout((function(){e.$ghost&&!o.isClosing&&e.$ghost.hide()}),Math.min(300,Math.max(1e3,e.height/1600))),o.hideLoading(e))})).addClass("fancybox-image").attr("src",e.src).appendTo(e.$content),(s.complete||"complete"==s.readyState)&&n.naturalWidth&&n.naturalHeight?n.trigger("load"):s.error&&n.trigger("error")},resolveImageSlideSize:function(e,t,i){var o=parseInt(e.opts.width,10),s=parseInt(e.opts.height,10);e.width=t,e.height=i,o>0&&(e.width=o,e.height=Math.floor(o*i/t)),s>0&&(e.width=Math.floor(s*t/i),e.height=s)},setIframe:function(e){var t,o=this,s=e.opts.iframe,n=e.$slide;e.$content=i('<div class="fancybox-content'+(s.preload?" fancybox-is-hidden":"")+'"></div>').css(s.css).appendTo(n),n.addClass("fancybox-slide--"+e.contentType),e.$iframe=t=i(s.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr(s.attr).appendTo(e.$content),s.preload?(o.showLoading(e),t.on("load.fb error.fb",(function(t){this.isReady=1,e.$slide.trigger("refresh"),o.afterLoad(e)})),n.on("refresh.fb",(function(){var i,o=e.$content,a=s.css.width,r=s.css.height;if(1===t[0].isReady){try{i=t.contents().find("body")}catch(e){}i&&i.length&&i.children().length&&(n.css("overflow","visible"),o.css({width:"100%","max-width":"100%",height:"9999px"}),void 0===a&&(a=Math.ceil(Math.max(i[0].clientWidth,i.outerWidth(!0)))),o.css("width",a||"").css("max-width",""),void 0===r&&(r=Math.ceil(Math.max(i[0].clientHeight,i.outerHeight(!0)))),o.css("height",r||""),n.css("overflow","auto")),o.removeClass("fancybox-is-hidden")}}))):o.afterLoad(e),t.attr("src",e.src),n.one("onReset",(function(){try{i(this).find("iframe").hide().unbind().attr("src","//about:blank")}catch(e){}i(this).off("refresh.fb").empty(),e.isLoaded=!1,e.isRevealed=!1}))},setContent:function(e,t){var o=this;o.isClosing||(o.hideLoading(e),e.$content&&i.fancybox.stop(e.$content),e.$slide.empty(),function(e){return e&&e.hasOwnProperty&&e instanceof i}(t)&&t.parent().length?((t.hasClass("fancybox-content")||t.parent().hasClass("fancybox-content"))&&t.parents(".fancybox-slide").trigger("onReset"),e.$placeholder=i("<div>").hide().insertAfter(t),t.css("display","inline-block")):e.hasError||("string"===i.type(t)&&(t=i("<div>").append(i.trim(t)).contents()),e.opts.filter&&(t=i("<div>").html(t).find(e.opts.filter))),e.$slide.one("onReset",(function(){i(this).find("video,audio").trigger("pause"),e.$placeholder&&(e.$placeholder.after(t.removeClass("fancybox-content").hide()).remove(),e.$placeholder=null),e.$smallBtn&&(e.$smallBtn.remove(),e.$smallBtn=null),e.hasError||(i(this).empty(),e.isLoaded=!1,e.isRevealed=!1)})),i(t).appendTo(e.$slide),i(t).is("video,audio")&&(i(t).addClass("fancybox-video"),i(t).wrap("<div></div>"),e.contentType="video",e.opts.width=e.opts.width||i(t).attr("width"),e.opts.height=e.opts.height||i(t).attr("height")),e.$content=e.$slide.children().filter("div,form,main,video,audio,article,.fancybox-content").first(),e.$content.siblings().hide(),e.$content.length||(e.$content=e.$slide.wrapInner("<div></div>").children().first()),e.$content.addClass("fancybox-content"),e.$slide.addClass("fancybox-slide--"+e.contentType),o.afterLoad(e))},setError:function(e){e.hasError=!0,e.$slide.trigger("onReset").removeClass("fancybox-slide--"+e.contentType).addClass("fancybox-slide--error"),e.contentType="html",this.setContent(e,this.translate(e,e.opts.errorTpl)),e.pos===this.currPos&&(this.isAnimating=!1)},showLoading:function(e){var t=this;(e=e||t.current)&&!e.$spinner&&(e.$spinner=i(t.translate(t,t.opts.spinnerTpl)).appendTo(e.$slide).hide().fadeIn("fast"))},hideLoading:function(e){(e=e||this.current)&&e.$spinner&&(e.$spinner.stop().remove(),delete e.$spinner)},afterLoad:function(e){var t=this;t.isClosing||(e.isLoading=!1,e.isLoaded=!0,t.trigger("afterLoad",e),t.hideLoading(e),!e.opts.smallBtn||e.$smallBtn&&e.$smallBtn.length||(e.$smallBtn=i(t.translate(e,e.opts.btnTpl.smallBtn)).appendTo(e.$content)),e.opts.protect&&e.$content&&!e.hasError&&(e.$content.on("contextmenu.fb",(function(e){return 2==e.button&&e.preventDefault(),!0})),"image"===e.type&&i('<div class="fancybox-spaceball"></div>').appendTo(e.$content)),t.adjustCaption(e),t.adjustLayout(e),e.pos===t.currPos&&t.updateCursor(
1),t.revealContent(e))},adjustCaption:function(e){var t,i=this,o=e||i.current,s=o.opts.caption,n=o.opts.preventCaptionOverlap,a=i.$refs.caption,r=!1;a.toggleClass("fancybox-caption--separate",n),n&&s&&s.length&&(o.pos!==i.currPos?((t=a.clone().appendTo(a.parent())).children().eq(0).empty().html(s),r=t.outerHeight(!0),t.empty().remove()):i.$caption&&(r=i.$caption.outerHeight(!0)),o.$slide.css("padding-bottom",r||""))},adjustLayout:function(e){var t,i,o,s,n=e||this.current;n.isLoaded&&!0!==n.opts.disableLayoutFix&&(n.$content.css("margin-bottom",""),n.$content.outerHeight()>n.$slide.height()+.5&&(o=n.$slide[0].style["padding-bottom"],s=n.$slide.css("padding-bottom"),parseFloat(s)>0&&(t=n.$slide[0].scrollHeight,n.$slide.css("padding-bottom",0),Math.abs(t-n.$slide[0].scrollHeight)<1&&(i=s),n.$slide.css("padding-bottom",o))),n.$content.css("margin-bottom",i))},revealContent:function(e){var t,o,s,n,a=this,r=e.$slide,l=!1,c=!1,d=a.isMoved(e),u=e.isRevealed;return e.isRevealed=!0,t=e.opts[a.firstRun?"animationEffect":"transitionEffect"],s=e.opts[a.firstRun?"animationDuration":"transitionDuration"],s=parseInt(void 0===e.forcedDuration?s:e.forcedDuration,10),!d&&e.pos===a.currPos&&s||(t=!1),"zoom"===t&&(e.pos===a.currPos&&s&&"image"===e.type&&!e.hasError&&(c=a.getThumbPos(e))?l=a.getFitPos(e):t="fade"),"zoom"===t?(a.isAnimating=!0,l.scaleX=l.width/c.width,l.scaleY=l.height/c.height,"auto"==(n=e.opts.zoomOpacity)&&(n=Math.abs(e.width/e.height-c.width/c.height)>.1),n&&(c.opacity=.1,l.opacity=1),i.fancybox.setTranslate(e.$content.removeClass("fancybox-is-hidden"),c),p(e.$content),void i.fancybox.animate(e.$content,l,s,(function(){a.isAnimating=!1,a.complete()}))):(a.updateSlide(e),t?(i.fancybox.stop(r),o="fancybox-slide--"+(e.pos>=a.prevPos?"next":"previous")+" fancybox-animated fancybox-fx-"+t,r.addClass(o).removeClass("fancybox-slide--current"),e.$content.removeClass("fancybox-is-hidden"),p(r),"image"!==e.type&&e.$content.hide().show(0),void i.fancybox.animate(r,"fancybox-slide--current",s,(function(){r.removeClass(o).css({transform:"",opacity:""}),e.pos===a.currPos&&a.complete()}),!0)):(e.$content.removeClass("fancybox-is-hidden"),u||!d||"image"!==e.type||e.hasError||e.$content.hide().fadeIn("fast"),void(e.pos===a.currPos&&a.complete())))},getThumbPos:function(e){var t,o,s,n,a,r=!1,l=e.$thumb;return!(!l||!f(l[0]))&&(t=i.fancybox.getTranslate(l),o=parseFloat(l.css("border-top-width")||0),s=parseFloat(l.css("border-right-width")||0),n=parseFloat(l.css("border-bottom-width")||0),a=parseFloat(l.css("border-left-width")||0),r={top:t.top+o,left:t.left+a,width:t.width-s-a,height:t.height-o-n,scaleX:1,scaleY:1},t.width>0&&t.height>0&&r)},complete:function(){var e,t=this,o=t.current,s={};!t.isMoved()&&o.isLoaded&&(o.isComplete||(o.isComplete=!0,o.$slide.siblings().trigger("onReset"),t.preload("inline"),p(o.$slide),o.$slide.addClass("fancybox-slide--complete"),i.each(t.slides,(function(e,o){o.pos>=t.currPos-1&&o.pos<=t.currPos+1?s[o.pos]=o:o&&(i.fancybox.stop(o.$slide),o.$slide.off().remove())})),t.slides=s),t.isAnimating=!1,t.updateCursor(),t.trigger("afterShow"),o.opts.video.autoStart&&o.$slide.find("video,audio").filter(":visible:first").trigger("play").one("ended",(function(){Document.exitFullscreen?Document.exitFullscreen():this.webkitExitFullscreen&&this.webkitExitFullscreen(),t.next()})),o.opts.autoFocus&&"html"===o.contentType&&((e=o.$content.find("input[autofocus]:enabled:visible:first")).length?e.trigger("focus"):t.focus(null,!0)),o.$slide.scrollTop(0).scrollLeft(0))},preload:function(e){var t,i,o=this;o.group.length<2||(i=o.slides[o.currPos+1],(t=o.slides[o.currPos-1])&&t.type===e&&o.loadSlide(t),i&&i.type===e&&o.loadSlide(i))},focus:function(e,o){var s,n,a=this,r=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","video","audio","[contenteditable]",'[tabindex]:not([tabindex^="-"])'].join(",");a.isClosing||((s=(s=!e&&a.current&&a.current.isComplete?a.current.$slide.find("*:visible"+(o?":not(.fancybox-close-small)":"")):a.$refs.container.find("*:visible")).filter(r).filter((function(){return"hidden"!==i(this).css("visibility")&&!i(this).hasClass("disabled")}))).length?(n=s.index(t.activeElement),e&&e.shiftKey?(n<0||0==n)&&(e.preventDefault(),s.eq(s.length-1).trigger("focus")):(n<0||n==s.length-1)&&(e&&e.preventDefault(),s.eq(0).trigger("focus"))):a.$refs.container.trigger("focus"))},activate:function(){var e=this;i(".fancybox-container").each((function(){var t=i(this).data("FancyBox");t&&t.id!==e.id&&!t.isClosing&&(t.trigger("onDeactivate"),t.removeEvents(),t.isVisible=!1)}
1)),e.isVisible=!0,(e.current||e.isIdle)&&(e.update(),e.updateControls()),e.trigger("onActivate"),e.addEvents()},close:function(e,t){var o,s,n,a,r,l,d,u=this,h=u.current,f=function(){u.cleanUp(e)};return!(u.isClosing||(u.isClosing=!0,!1===u.trigger("beforeClose",e)?(u.isClosing=!1,c((function(){u.update()})),1):(u.removeEvents(),n=h.$content,o=h.opts.animationEffect,s=i.isNumeric(t)?t:o?h.opts.animationDuration:0,h.$slide.removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"),!0!==e?i.fancybox.stop(h.$slide):o=!1,h.$slide.siblings().trigger("onReset").remove(),s&&u.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing").css("transition-duration",s+"ms"),u.hideLoading(h),u.hideControls(!0),u.updateCursor(),"zoom"!==o||n&&s&&"image"===h.type&&!u.isMoved()&&!h.hasError&&(d=u.getThumbPos(h))||(o="fade"),"zoom"===o?(i.fancybox.stop(n),a=i.fancybox.getTranslate(n),l={top:a.top,left:a.left,scaleX:a.width/d.width,scaleY:a.height/d.height,width:d.width,height:d.height},r=h.opts.zoomOpacity,"auto"==r&&(r=Math.abs(h.width/h.height-d.width/d.height)>.1),r&&(d.opacity=0),i.fancybox.setTranslate(n,l),p(n),i.fancybox.animate(n,d,s,f),0):(o&&s?i.fancybox.animate(h.$slide.addClass("fancybox-slide--previous").removeClass("fancybox-slide--current"),"fancybox-animated fancybox-fx-"+o,s,f):!0===e?setTimeout(f,s):f(),0))))},cleanUp:function(t){var o,s,n,a=this,r=a.current.opts.$orig;a.current.$slide.trigger("onReset"),a.$refs.container.empty().remove(),a.trigger("afterClose",t),a.current.opts.backFocus&&(r&&r.length&&r.is(":visible")||(r=a.$trigger),r&&r.length&&(s=e.scrollX,n=e.scrollY,r.trigger("focus"),i("html, body").scrollTop(n).scrollLeft(s))),a.current=null,(o=i.fancybox.getInstance())?o.activate():(i("body").removeClass("fancybox-active compensate-for-scrollbar"),i("#fancybox-style-noscroll").remove())},trigger:function(e,t){var o,s=Array.prototype.slice.call(arguments,1),n=this,a=t&&t.opts?t:n.current;if(a?s.unshift(a):a=n,s.unshift(n),i.isFunction(a.opts[e])&&(o=a.opts[e].apply(a,s)),!1===o)return o;"afterClose"!==e&&n.$refs?n.$refs.container.trigger(e+".fb",s):r.trigger(e+".fb",s)},updateControls:function(){var e=this,o=e.current,s=o.index,n=e.$refs.container,a=e.$refs.caption,r=o.opts.caption;o.$slide.trigger("refresh"),r&&r.length?(e.$caption=a,a.children().eq(0).html(r)):e.$caption=null,e.hasHiddenControls||e.isIdle||e.showControls(),n.find("[data-fancybox-count]").html(e.group.length),n.find("[data-fancybox-index]").html(s+1),n.find("[data-fancybox-prev]").prop("disabled",!o.opts.loop&&s<=0),n.find("[data-fancybox-next]").prop("disabled",!o.opts.loop&&s>=e.group.length-1),"image"===o.type?n.find("[data-fancybox-zoom]").show().end().find("[data-fancybox-download]").attr("href",o.opts.image.src||o.src).show():o.opts.toolbar&&n.find("[data-fancybox-download],[data-fancybox-zoom]").hide(),i(t.activeElement).is(":hidden,[disabled]")&&e.$refs.container.trigger("focus")},hideControls:function(e){var t=["infobar","toolbar","nav"];!e&&this.current.opts.preventCaptionOverlap||t.push("caption"),this.$refs.container.removeClass(t.map((function(e){return"fancybox-show-"+e})).join(" ")),this.hasHiddenControls=!0},showControls:function(){var e=this,t=e.current?e.current.opts:e.opts,i=e.$refs.container;e.hasHiddenControls=!1,e.idleSecondsCounter=0,i.toggleClass("fancybox-show-toolbar",!(!t.toolbar||!t.buttons)).toggleClass("fancybox-show-infobar",!!(t.infobar&&e.group.length>1)).toggleClass("fancybox-show-caption",!!e.$caption).toggleClass("fancybox-show-nav",!!(t.arrows&&e.group.length>1)).toggleClass("fancybox-is-modal",!!t.modal)},toggleControls:function(){this.hasHiddenControls?this.showControls():this.hideControls()}}),i.fancybox={version:"3.5.7",defaults:n,getInstance:function(e){var t=i('.fancybox-container:not(".fancybox-is-closing"):last').data("FancyBox"),o=Array.prototype.slice.call(arguments,1);return t instanceof g&&("string"===i.type(e)?t[e].apply(t,o):"function"===i.type(e)&&e.apply(t,o),t)},open:function(e,t,i){return new g(e,t,i)},close:function(e){var t=this.getInstance();t&&(t.close(),!0===e&&this.close(e))}
1,destroy:function(){this.close(!0),r.add("body").off("click.fb-start","**")},isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),use3d:function(){var i=t.createElement("div");return e.getComputedStyle&&e.getComputedStyle(i)&&e.getComputedStyle(i).getPropertyValue("transform")&&!(t.documentMode&&t.documentMode<11)}(),getTranslate:function(e){var t;return!(!e||!e.length)&&{top:(t=e[0].getBoundingClientRect()).top||0,left:t.left||0,width:t.width,height:t.height,opacity:parseFloat(e.css("opacity"))}},setTranslate:function(e,t){var i="",o={};if(e&&t)return void 0===t.left&&void 0===t.top||(i=(void 0===t.left?e.position().left:t.left)+"px, "+(void 0===t.top?e.position().top:t.top)+"px",i=this.use3d?"translate3d("+i+", 0px)":"translate("+i+")"),void 0!==t.scaleX&&void 0!==t.scaleY?i+=" scale("+t.scaleX+", "+t.scaleY+")":void 0!==t.scaleX&&(i+=" scaleX("+t.scaleX+")"),i.length&&(o.transform=i),void 0!==t.opacity&&(o.opacity=t.opacity),void 0!==t.width&&(o.width=t.width),void 0!==t.height&&(o.height=t.height),e.css(o)},animate:function(e,t,o,s,n){var a,r=this;i.isFunction(o)&&(s=o,o=null),r.stop(e),a=r.getTranslate(e),e.on(u,(function(l){(!l||!l.originalEvent||e.is(l.originalEvent.target)&&"z-index"!=l.originalEvent.propertyName)&&(r.stop(e),i.isNumeric(o)&&e.css("transition-duration",""),i.isPlainObject(t)?void 0!==t.scaleX&&void 0!==t.scaleY&&r.setTranslate(e,{top:t.top,left:t.left,width:a.width*t.scaleX,height:a.height*t.scaleY,scaleX:1,scaleY:1}):!0!==n&&e.removeClass(t),i.isFunction(s)&&s(l))})),i.isNumeric(o)&&e.css("transition-duration",o+"ms"),i.isPlainObject(t)?(void 0!==t.scaleX&&void 0!==t.scaleY&&(delete t.width,delete t.height,e.parent().hasClass("fancybox-slide--image")&&e.parent().addClass("fancybox-is-scaling")),i.fancybox.setTranslate(e,t)):e.addClass(t),e.data("timer",setTimeout((function(){e.trigger(u)}),o+33))},stop:function(e,t){e&&e.length&&(clearTimeout(e.data("timer")),t&&e.trigger(u),e.off(u).css("transition-duration",""),e.parent().removeClass("fancybox-is-scaling"))}},i.fn.fancybox=function(e){var t;return(t=(e=e||{}).selector||!1)?i("body").off("click.fb-start",t).on("click.fb-start",t,{options:e},s):this.off("click.fb-start").on("click.fb-start",{items:this,options:e},s),this},r.on("click.fb-start","[data-fancybox]",s),r.on("click.fb-start","[data-fancybox-trigger]",(function(e){i('[data-fancybox="'+i(this).attr("data-fancybox-trigger")+'"]').eq(i(this).attr("data-fancybox-index")||0).trigger("click.fb-start",{$trigger:i(this)})})),function(){var e=null;r.on("mousedown mouseup focus blur",".fancybox-button",(function(t){switch(t.type){case"mousedown":e=i(this);break;case"mouseup":e=null;break;case"focusin":i(".fancybox-button").removeClass("fancybox-focus"),i(this).is(e)||i(this).is("[disabled]")||i(this).addClass("fancybox-focus");break;case"focusout":i(".fancybox-button").removeClass("fancybox-focus")}}))}()}}(window,document,jQuery),function(e){"use strict";var t={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:"https://www.youtube-nocookie.com/embed/$4",thumb:"https://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},paramPlace:3,type:"iframe",url:"//player.vimeo.com/video/$2"},instagram:{matcher:/(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,type:"image",url:"//$1/p/$2/media/?size=l"},gmap_place:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(((maps\/(place\/(.*)\/)?\@(.*),(\d+.?\d+?)z))|(\?ll=))(.*)?/i,type:"iframe",url:function(e){return"//maps.google."+e[2]+"/?ll="+(e[9]?e[9]+"&z="+Math.floor(e[10])+(e[12]?e[12].replace(/^\//,"&"):""):e[12]+"").replace(/\?/,"&")+"&output="+(e[12]&&e[12].indexOf("layer=c")>0?"svembed":"embed")}},gmap_search:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(maps\/search\/)(.*)/i,type:"iframe",url:function(e){return"//maps.google."+e[2]+"/maps?q="+e[5].replace("query=","q=").replace("api=1","")+"&output=embed"}}},i=function(t,i,o){if(t)return o=o||"","object"===e.type(o)&&(o=e.param(o,!0)),e.each(i,(function(e,i){t=t.replace("$"+e,i||"")})),o.length&&(t+=(t.indexOf("?")>0?"&":"?")+o),t};e(document).on("objectNeedsType.fb",(function(o,s,n){var a,r,l,c,d,u,p,h=n.src||"",f=!1;a=e.extend(!0,{},t,n.opts.media),e.each(a,(function(t,o){if(l=h.match(o.matcher)){if(f=o.type,p=t,u={},o.paramPlace&&l[o.paramPlace]){"?"==(d=l[o.paramPlace])[0]&&(d=d.substring(1)),d=d.split("&");for(var s=0;s<d.length;++s){var a=d[s].split("=",2);2==a.length&&(u[a[0]]=decodeURIComponent(a[1].replace(/\+/g," ")))}}return c=e.extend(!0,{},o.params,n.opts[t],u),h="function"===e.type(o.url)?o.url.call(this,l,c,n):i(o.url,l,c),r="function"===e.type(o.thumb)?o.thumb.call(this,l,c,n):i(o.thumb,l),"youtube"===t?h=h.replace(/&t=((\d+)m)?(\d+)s/,(function(e,t,i,o){return"&start="+((i?60*parseInt(i,10):0)+parseInt(o,10))})):"vimeo"===t&&(h=h.replace("&%23","#")),!1}})),f?(n.opts.thumb||n.opts.$thumb&&n.opts.$thumb.length||(n.opts.thumb=r),"iframe"===f&&(n.opts=e.extend(!0,n.opts,{iframe:{preload:!1,attr:{scrolling:"no"}}}
1)),e.extend(n,{type:f,src:h,origSrc:n.src,contentSource:p,contentType:"image"===f?"image":"gmap_place"==p||"gmap_search"==p?"map":"video"})):h&&(n.type=n.opts.defaultType)}));var o={youtube:{src:"https://www.youtube.com/iframe_api",class:"YT",loading:!1,loaded:!1},vimeo:{src:"https://player.vimeo.com/api/player.js",class:"Vimeo",loading:!1,loaded:!1},load:function(e){var t,i=this;this[e].loaded?setTimeout((function(){i.done(e)})):this[e].loading||(this[e].loading=!0,(t=document.createElement("script")).type="text/javascript",t.src=this[e].src,"youtube"===e?window.onYouTubeIframeAPIReady=function(){i[e].loaded=!0,i.done(e)}:t.onload=function(){i[e].loaded=!0,i.done(e)},document.body.appendChild(t))},done:function(t){var i,o;"youtube"===t&&delete window.onYouTubeIframeAPIReady,(i=e.fancybox.getInstance())&&(o=i.current.$content.find("iframe"),"youtube"===t&&void 0!==YT&&YT?new YT.Player(o.attr("id"),{events:{onStateChange:function(e){0==e.data&&i.next()}}}):"vimeo"===t&&void 0!==Vimeo&&Vimeo&&new Vimeo.Player(o).on("ended",(function(){i.next()})))}};e(document).on({"afterShow.fb":function(e,t,i){t.group.length>1&&("youtube"===i.contentSource||"vimeo"===i.contentSource)&&o.load(i.contentSource)}})}(jQuery),function(e,t,i){"use strict";var o=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||function(t){return e.setTimeout(t,1e3/60)},s=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.oCancelAnimationFrame||function(t){e.clearTimeout(t)},n=function(t){var i=[];for(var o in t=(t=t.originalEvent||t||e.e).touches&&t.touches.length?t.touches:t.changedTouches&&t.changedTouches.length?t.changedTouches:[t])t[o].pageX?i.push({x:t[o].pageX,y:t[o].pageY}):t[o].clientX&&i.push({x:t[o].clientX,y:t[o].clientY});return i},a=function(e,t,i){return t&&e?"x"===i?e.x-t.x:"y"===i?e.y-t.y:Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0},r=function(e){if(e.is('a,area,button,[role="button"],input,label,select,summary,textarea,video,audio,iframe')||i.isFunction(e.get(0).onclick)||e.data("selectable"))return!0;for(var t=0,o=e[0].attributes,s=o.length;t<s;t++)if("data-fancybox-"===o[t].nodeName.substr(0,14))return!0;return!1},l=function(t){var i=e.getComputedStyle(t)["overflow-y"],o=e.getComputedStyle(t)["overflow-x"],s=("scroll"===i||"auto"===i)&&t.scrollHeight>t.clientHeight,n=("scroll"===o||"auto"===o)&&t.scrollWidth>t.clientWidth;return s||n},c=function(e){for(var t=!1;!(t=l(e.get(0)))&&((e=e.parent()).length&&!e.hasClass("fancybox-stage")&&!e.is("body")););return t},d=function(e){var t=this;t.instance=e,t.$bg=e.$refs.bg,t.$stage=e.$refs.stage,t.$container=e.$refs.container,t.destroy(),t.$container.on("touchstart.fb.touch mousedown.fb.touch",i.proxy(t,"ontouchstart"))};d.prototype.destroy=function(){var e=this;e.$container.off(".fb.touch"),i(t).off(".fb.touch"),e.requestId&&(s(e.requestId),e.requestId=null),e.tapped&&(clearTimeout(e.tapped),e.tapped=null)},d.prototype.ontouchstart=function(o){var s=this,l=i(o.target),d=s.instance,u=d.current,p=u.$slide,h=u.$content,f="touchstart"==o.type;if(f&&s.$container.off("mousedown.fb.touch"),(!o.originalEvent||2!=o.originalEvent.button)&&p.length&&l.length&&!r(l)&&!r(l.parent())&&(l.is("img")||!(o.originalEvent.clientX>l[0].clientWidth+l.offset().left))){if(!u||d.isAnimating||u.$slide.hasClass("fancybox-animated"))return o.stopPropagation(),void o.preventDefault();s.realPoints=s.startPoints=n(o),s.startPoints.length&&(u.touch&&o.stopPropagation(),s.startEvent=o,s.canTap=!0,s.$target=l,s.$content=h,s.opts=u.opts.touch,s.isPanning=!1,s.isSwiping=!1,s.isZooming=!1,s.isScrolling=!1,s.canPan=d.canPan(),s.startTime=(new Date).getTime(),s.distanceX=s.distanceY=s.distance=0,s.canvasWidth=Math.round(p[0].clientWidth),s.canvasHeight=Math.round(p[0].clientHeight),s.contentLastPos=null,s.contentStartPos=i.fancybox.getTranslate(s.$content)||{top:0,left:0},s.sliderStartPos=i.fancybox.getTranslate(p),s.stagePos=i.fancybox.getTranslate(d.$refs.stage),s.sliderStartPos.top-=s.stagePos.top,s.sliderStartPos.left-=s.stagePos.left,s.contentStartPos.top-=s.stagePos.top,s.contentStartPos.left-=s.stagePos.left,i(t).off(".fb.touch").on(f?"touchend.fb.touch touchcancel.fb.touch":"mouseup.fb.touch mouseleave.fb.touch",i.proxy(s,"ontouchend")).on(f?"touchmove.fb.touch":"mousemove.fb.touch",i.proxy(s,"ontouchmove")),i.fancybox.isMobile&&t.addEventListener("scroll",s.onscroll,!0),((s.opts||s.canPan)&&(l.is(s.$stage)||s.$stage.find(l).length)||(l.is(".fancybox-image")&&o.preventDefault(),i.fancybox.isMobile&&l.parents(".fancybox-caption").length))&&(s.isScrollable=c(l)||c(l.parent()),i.fancybox.isMobile&&s.isScrollable||o.preventDefault(),(1===s.startPoints.length||u.hasError)&&(s.canPan?(i.fancybox.stop(s.$content),s.isPanning=!0):s.isSwiping=!0,s.$container.addClass("fancybox-is-grabbing")),2===s.startPoints.length&&"image"===u.type&&(u.isLoaded||u.$ghost)&&(s.canTap=!1,s.isSwiping=!1,s.isPanning=!1,s.isZooming=!0,i.fancybox.stop(s.$content),s.centerPointStartX=.5*(s.startPoints[0].x+s.startPoints[1].x)-i(e).scrollLeft(),s.centerPointStartY=.5*(s.startPoints[0].y+s.startPoints[1].y)-i(e).scrollTop(),s.percentageOfImageAtPinchPointX=(s.centerPointStartX-s.contentStartPos.left)/s.contentStartPos.width,s.percentageOfImageAtPinchPointY=(s.centerPointStartY-s.contentStartPos.top)/s.contentStartPos.height,s.startDistanceBetweenFingers=a(s.startPoints[0],s.startPoints[1]))))}},d.prototype.onscroll=function(e){this.isScrolling=!0,t.removeEventListener("scroll",this.onscroll,!0)},d.prototype.ontouchmove=function(e){var t=this;return void 0!==e.originalEvent.buttons&&0===e.originalEvent.buttons?void t.ontouchend(e):t.isScrolling?void(t.canTap=!1):(t.newPoints=n(e),void((t.opts||t.canPan)&&t.newPoints.length&&t.newPoints.length&&(t.isSwiping&&!0===t.isSwiping||e.preventDefault(),t.distanceX=a(t.newPoints[0],t.startPoints[0],"x"),t.distanceY=a(t.newPoints[0],t.startPoints[0],"y"),t.distance=a(t.newPoints[0],t.startPoints[0]),t.distance>0&&(t.isSwiping?t.onSwipe(e):t.isPanning?t.onPan():t.isZooming&&t.onZoom()))))},d.prototype.onSwipe=function(t){var n,a=this,r=a.instance,l=a.isSwiping,c=a.sliderStartPos.left||0;if(!0!==l)"x"==l&&(a.distanceX>0&&(a.instance.group.length<2||0===a.instance.current.index&&!a.instance.current.opts.loop)?c+=Math.pow(a.distanceX,.8):a.distanceX<0&&(a.instance.group.length<2||a.instance.current.index===a.instance.group.length-1&&!a.instance.current.opts.loop)?c-=Math.pow(-a.distanceX,.8):c+=a.distanceX),a.sliderLastPos={top:"x"==l?0:a.sliderStartPos.top+a.distanceY,left:c},a.requestId&&(s(a.requestId),a.requestId=null),a.requestId=o((function(){a.sliderLastPos&&(i.each(a.instance.slides,(function(e,t){var o=t.pos-a.instance.currPos;
1i.fancybox.setTranslate(t.$slide,{top:a.sliderLastPos.top,left:a.sliderLastPos.left+o*a.canvasWidth+o*t.opts.gutter})})),a.$container.addClass("fancybox-is-sliding"))}));else if(Math.abs(a.distance)>10){if(a.canTap=!1,r.group.length<2&&a.opts.vertical?a.isSwiping="y":r.isDragging||!1===a.opts.vertical||"auto"===a.opts.vertical&&i(e).width()>800?a.isSwiping="x":(n=Math.abs(180*Math.atan2(a.distanceY,a.distanceX)/Math.PI),a.isSwiping=n>45&&n<135?"y":"x"),"y"===a.isSwiping&&i.fancybox.isMobile&&a.isScrollable)return void(a.isScrolling=!0);r.isDragging=a.isSwiping,a.startPoints=a.newPoints,i.each(r.slides,(function(e,t){var o,s;i.fancybox.stop(t.$slide),o=i.fancybox.getTranslate(t.$slide),s=i.fancybox.getTranslate(r.$refs.stage),t.$slide.css({transform:"",opacity:"","transition-duration":""}).removeClass("fancybox-animated").removeClass((function(e,t){return(t.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")})),t.pos===r.current.pos&&(a.sliderStartPos.top=o.top-s.top,a.sliderStartPos.left=o.left-s.left),i.fancybox.setTranslate(t.$slide,{top:o.top-s.top,left:o.left-s.left})})),r.SlideShow&&r.SlideShow.isActive&&r.SlideShow.stop()}},d.prototype.onPan=function(){var e=this;a(e.newPoints[0],e.realPoints[0])<(i.fancybox.isMobile?10:5)?e.startPoints=e.newPoints:(e.canTap=!1,e.contentLastPos=e.limitMovement(),e.requestId&&s(e.requestId),e.requestId=o((function(){i.fancybox.setTranslate(e.$content,e.contentLastPos)})))},d.prototype.limitMovement=function(){var e,t,i,o,s,n,a=this,r=a.canvasWidth,l=a.canvasHeight,c=a.distanceX,d=a.distanceY,u=a.contentStartPos,p=u.left,h=u.top,f=u.width,g=u.height;return s=f>r?p+c:p,n=h+d,e=Math.max(0,.5*r-.5*f),t=Math.max(0,.5*l-.5*g),i=Math.min(r-f,.5*r-.5*f),o=Math.min(l-g,.5*l-.5*g),c>0&&s>e&&(s=e-1+Math.pow(-e+p+c,.8)||0),c<0&&s<i&&(s=i+1-Math.pow(i-p-c,.8)||0),d>0&&n>t&&(n=t-1+Math.pow(-t+h+d,.8)||0),d<0&&n<o&&(n=o+1-Math.pow(o-h-d,.8)||0),{top:n,left:s}},d.prototype.limitPosition=function(e,t,i,o){var s=this.canvasWidth,n=this.canvasHeight;return i>s?e=(e=e>0?0:e)<s-i?s-i:e:e=Math.max(0,s/2-i/2),o>n?t=(t=t>0?0:t)<n-o?n-o:t:t=Math.max(0,n/2-o/2),{top:t,left:e}},d.prototype.onZoom=function(){var t=this,n=t.contentStartPos,r=n.width,l=n.height,c=n.left,d=n.top,u=a(t.newPoints[0],t.newPoints[1])/t.startDistanceBetweenFingers,p=Math.floor(r*u),h=Math.floor(l*u),f=(r-p)*t.percentageOfImageAtPinchPointX,g=(l-h)*t.percentageOfImageAtPinchPointY,m=(t.newPoints[0].x+t.newPoints[1].x)/2-i(e).scrollLeft(),v=(t.newPoints[0].y+t.newPoints[1].y)/2-i(e).scrollTop(),b=m-t.centerPointStartX,y={top:d+(g+(v-t.centerPointStartY)),left:c+(f+b),scaleX:u,scaleY:u};t.canTap=!1,t.newWidth=p,t.newHeight=h,t.contentLastPos=y,t.requestId&&s(t.requestId),t.requestId=o((function(){i.fancybox.setTranslate(t.$content,t.contentLastPos)}))},d.prototype.ontouchend=function(e){var o=this,a=o.isSwiping,r=o.isPanning,l=o.isZooming,c=o.isScrolling;if(o.endPoints=n(e),o.dMs=Math.max((new Date).getTime()-o.startTime,1),o.$container.removeClass("fancybox-is-grabbing"),i(t).off(".fb.touch"),t.removeEventListener("scroll",o.onscroll,!0),o.requestId&&(s(o.requestId),o.requestId=null),o.isSwiping=!1,o.isPanning=!1,o.isZooming=!1,o.isScrolling=!1,o.instance.isDragging=!1,o.canTap)return o.onTap(e);o.speed=100,o.velocityX=o.distanceX/o.dMs*.5,o.velocityY=o.distanceY/o.dMs*.5,r?o.endPanning():l?o.endZooming():o.endSwiping(a,c)},d.prototype.endSwiping=function(e,t){var o=this,s=!1,n=o.instance.group.length,a=Math.abs(o.distanceX),r="x"==e&&n>1&&(o.dMs>130&&a>10||a>50);o.sliderLastPos=null,"y"==e&&!t&&Math.abs(o.distanceY)>50?(i.fancybox.animate(o.instance.current.$slide,{top:o.sliderStartPos.top+o.distanceY+150*o.velocityY,opacity:0},200),s=o.instance.close(!0,250)):r&&o.distanceX>0?s=o.instance.previous(300):r&&o.distanceX<0&&(s=o.instance.next(300)),!1!==s||"x"!=e&&"y"!=e||o.instance.centerSlide(200),o.$container.removeClass("fancybox-is-sliding")},d.prototype.endPanning=function(){var e,t,o,s=this;s.contentLastPos&&(!1===s.opts.momentum||s.dMs>350?(e=s.contentLastPos.left,t=s.contentLastPos.top):(e=s.contentLastPos.left+500*s.velocityX,t=s.contentLastPos.top+500*s.velocityY),(o=s.limitPosition(e,t,s.contentStartPos.width,s.contentStartPos.height)).width=s.contentStartPos.width,o.height=s.contentStartPos.height,i.fancybox.animate(s.$content,o,366))},d.prototype.endZooming=function(){var e,t,o,s,n=this,a=n.instance.current,r=n.newWidth,l=n.newHeight;n.contentLastPos&&(e=n.contentLastPos.left,s={top:t=n.contentLastPos.top,left
1:e,width:r,height:l,scaleX:1,scaleY:1},i.fancybox.setTranslate(n.$content,s),r<n.canvasWidth&&l<n.canvasHeight?n.instance.scaleToFit(150):r>a.width||l>a.height?n.instance.scaleToActual(n.centerPointStartX,n.centerPointStartY,150):(o=n.limitPosition(e,t,r,l),i.fancybox.animate(n.$content,o,150)))},d.prototype.onTap=function(t){var o,s=this,a=i(t.target),r=s.instance,l=r.current,c=t&&n(t)||s.startPoints,d=c[0]?c[0].x-i(e).scrollLeft()-s.stagePos.left:0,u=c[0]?c[0].y-i(e).scrollTop()-s.stagePos.top:0,p=function(e){var o=l.opts[e];if(i.isFunction(o)&&(o=o.apply(r,[l,t])),o)switch(o){case"close":r.close(s.startEvent);break;case"toggleControls":r.toggleControls();break;case"next":r.next();break;case"nextOrClose":r.group.length>1?r.next():r.close(s.startEvent);break;case"zoom":"image"==l.type&&(l.isLoaded||l.$ghost)&&(r.canPan()?r.scaleToFit():r.isScaledDown()?r.scaleToActual(d,u):r.group.length<2&&r.close(s.startEvent))}};if((!t.originalEvent||2!=t.originalEvent.button)&&(a.is("img")||!(d>a[0].clientWidth+a.offset().left))){if(a.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container"))o="Outside";else if(a.is(".fancybox-slide"))o="Slide";else{if(!r.current.$content||!r.current.$content.find(a).addBack().filter(a).length)return;o="Content"}if(s.tapped){if(clearTimeout(s.tapped),s.tapped=null,Math.abs(d-s.tapX)>50||Math.abs(u-s.tapY)>50)return this;p("dblclick"+o)}else s.tapX=d,s.tapY=u,l.opts["dblclick"+o]&&l.opts["dblclick"+o]!==l.opts["click"+o]?s.tapped=setTimeout((function(){s.tapped=null,r.isAnimating||p("click"+o)}),500):p("click"+o);return this}},i(t).on("onActivate.fb",(function(e,t){t&&!t.Guestures&&(t.Guestures=new d(t))})).on("beforeClose.fb",(function(e,t){t&&t.Guestures&&t.Guestures.destroy()}))}(window,document,jQuery),function(e,t){"use strict";t.extend(!0,t.fancybox.defaults,{btnTpl:{slideShow:'<button data-fancybox-play class="fancybox-button fancybox-button--play" title="{{PLAY_START}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.5 5.4v13.2l11-6.6z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.33 5.75h2.2v12.5h-2.2V5.75zm5.15 0h2.2v12.5h-2.2V5.75z"/></svg></button>'},slideShow:{autoStart:!1,speed:3e3,progress:!0}});var i=function(e){this.instance=e,this.init()};t.extend(i.prototype,{timer:null,isActive:!1,$button:null,init:function(){var e=this,i=e.instance,o=i.group[i.currIndex].opts.slideShow;e.$button=i.$refs.toolbar.find("[data-fancybox-play]").on("click",(function(){e.toggle()})),i.group.length<2||!o?e.$button.hide():o.progress&&(e.$progress=t('<div class="fancybox-progress"></div>').appendTo(i.$refs.inner))},set:function(e){var i=this,o=i.instance,s=o.current;s&&(!0===e||s.opts.loop||o.currIndex<o.group.length-1)?i.isActive&&"video"!==s.contentType&&(i.$progress&&t.fancybox.animate(i.$progress.show(),{scaleX:1},s.opts.slideShow.speed),i.timer=setTimeout((function(){o.current.opts.loop||o.current.index!=o.group.length-1?o.next():o.jumpTo(0)}),s.opts.slideShow.speed)):(i.stop(),o.idleSecondsCounter=0,o.showControls())},clear:function(){var e=this;clearTimeout(e.timer),e.timer=null,e.$progress&&e.$progress.removeAttr("style").hide()},start:function(){var e=this,t=e.instance.current;t&&(e.$button.attr("title",(t.opts.i18n[t.opts.lang]||t.opts.i18n.en).PLAY_STOP).removeClass("fancybox-button--play").addClass("fancybox-button--pause"),e.isActive=!0,t.isComplete&&e.set(!0),e.instance.trigger("onSlideShowChange",!0))},stop:function(){var e=this,t=e.instance.current;e.clear(),e.$button.attr("title",(t.opts.i18n[t.opts.lang]||t.opts.i18n.en).PLAY_START).removeClass("fancybox-button--pause").addClass("fancybox-button--play"),e.isActive=!1,e.instance.trigger("onSlideShowChange",!1),e.$progress&&e.$progress.removeAttr("style").hide()},toggle:function(){var e=this;e.isActive?e.stop():e.start()}}),t(e).on({"onInit.fb":function(e,t){t&&!t.SlideShow&&(t.SlideShow=new i(t))},"beforeShow.fb":function(e,t,i,o){var s=t&&t.SlideShow;
1o?s&&i.opts.slideShow.autoStart&&s.start():s&&s.isActive&&s.clear()},"afterShow.fb":function(e,t,i){var o=t&&t.SlideShow;o&&o.isActive&&o.set()},"afterKeydown.fb":function(i,o,s,n,a){var r=o&&o.SlideShow;!r||!s.opts.slideShow||80!==a&&32!==a||t(e.activeElement).is("button,a,input")||(n.preventDefault(),r.toggle())},"beforeClose.fb onDeactivate.fb":function(e,t){var i=t&&t.SlideShow;i&&i.stop()}}),t(e).on("visibilitychange",(function(){var i=t.fancybox.getInstance(),o=i&&i.SlideShow;o&&o.isActive&&(e.hidden?o.clear():o.set())}))}(document,jQuery),function(e,t){"use strict";var i=function(){for(var t=[["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"]],i={},o=0;o<t.length;o++){var s=t[o];if(s&&s[1]in e){for(var n=0;n<s.length;n++)i[t[0][n]]=s[n];return i}}return!1}();if(i){var o={request:function(t){(t=t||e.documentElement)[i.requestFullscreen](t.ALLOW_KEYBOARD_INPUT)},exit:function(){e[i.exitFullscreen]()},toggle:function(t){t=t||e.documentElement,this.isFullscreen()?this.exit():this.request(t)},isFullscreen:function(){return Boolean(e[i.fullscreenElement])},enabled:function(){return Boolean(e[i.fullscreenEnabled])}};t.extend(!0,t.fancybox.defaults,{btnTpl:{fullScreen:'<button data-fancybox-fullscreen class="fancybox-button fancybox-button--fsenter" title="{{FULL_SCREEN}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5 16h3v3h2v-5H5zm3-8H5v2h5V5H8zm6 11h2v-3h3v-2h-5zm2-11V5h-2v5h5V8z"/></svg></button>'},fullScreen:{autoStart:!1}}),t(e).on(i.fullscreenchange,(function(){var e=o.isFullscreen(),i=t.fancybox.getInstance();i&&(i.current&&"image"===i.current.type&&i.isAnimating&&(i.isAnimating=!1,i.update(!0,!0,0),i.isComplete||i.complete()),i.trigger("onFullscreenChange",e),i.$refs.container.toggleClass("fancybox-is-fullscreen",e),i.$refs.toolbar.find("[data-fancybox-fullscreen]").toggleClass("fancybox-button--fsenter",!e).toggleClass("fancybox-button--fsexit",e))}))}t(e).on({"onInit.fb":function(e,t){i?t&&t.group[t.currIndex].opts.fullScreen?(t.$refs.container.on("click.fb-fullscreen","[data-fancybox-fullscreen]",(function(e){e.stopPropagation(),e.preventDefault(),o.toggle()})),t.opts.fullScreen&&!0===t.opts.fullScreen.autoStart&&o.request(),t.FullScreen=o):t&&t.$refs.toolbar.find("[data-fancybox-fullscreen]").hide():t.$refs.toolbar.find("[data-fancybox-fullscreen]").remove()},"afterKeydown.fb":function(e,t,i,o,s){t&&t.FullScreen&&70===s&&(o.preventDefault(),t.FullScreen.toggle())},"beforeClose.fb":function(e,t){t&&t.FullScreen&&t.$refs.container.hasClass("fancybox-is-fullscreen")&&o.exit()}})}(document,jQuery),function(e,t){"use strict";var i="fancybox-thumbs";t.fancybox.defaults=t.extend(!0,{btnTpl:{thumbs:'<button data-fancybox-thumbs class="fancybox-button fancybox-button--thumbs" title="{{THUMBS}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14.59 14.59h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76H5.65V5.65z"/></svg></button>'},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"}},t.fancybox.defaults);var o=function(e){this.init(e)};t.extend(o.prototype,{$button:null,$grid:null,$list:null,isVisible:!1,isActive:!1,init:function(e){var t=this,i=e.group,o=0;t.instance=e,t.opts=i[e.currIndex].opts.thumbs,e.Thumbs=t,t.$button=e.$refs.toolbar.find("[data-fancybox-thumbs]");for(var s=0,n=i.length;s<n&&(i[s].thumb&&o++,!(o>1));s++);o>1&&t.opts?(t.$button.removeAttr("style").on("click",(function(){t.toggle(
1)})),t.isActive=!0):t.$button.hide()},create:function(){var e,o=this,s=o.instance,n=o.opts.parentEl,a=[];o.$grid||(o.$grid=t('<div class="'+i+" "+i+"-"+o.opts.axis+'"></div>').appendTo(s.$refs.container.find(n).addBack().filter(n)),o.$grid.on("click","a",(function(){s.jumpTo(t(this).attr("data-index"))}))),o.$list||(o.$list=t('<div class="'+i+'__list">').appendTo(o.$grid)),t.each(s.group,(function(t,i){(e=i.thumb)||"image"!==i.type||(e=i.src),a.push('<a href="javascript:;" tabindex="0" data-index="'+t+'"'+(e&&e.length?' style="background-image:url('+e+')"':'class="fancybox-thumbs-missing"')+"></a>")})),o.$list[0].innerHTML=a.join(""),"x"===o.opts.axis&&o.$list.width(parseInt(o.$grid.css("padding-right"),10)+s.group.length*o.$list.children().eq(0).outerWidth(!0))},focus:function(e){var t,i,o=this,s=o.$list,n=o.$grid;o.instance.current&&(i=(t=s.children().removeClass("fancybox-thumbs-active").filter('[data-index="'+o.instance.current.index+'"]').addClass("fancybox-thumbs-active")).position(),"y"===o.opts.axis&&(i.top<0||i.top>s.height()-t.outerHeight())?s.stop().animate({scrollTop:s.scrollTop()+i.top},e):"x"===o.opts.axis&&(i.left<n.scrollLeft()||i.left>n.scrollLeft()+(n.width()-t.outerWidth()))&&s.parent().stop().animate({scrollLeft:i.left},e))},update:function(){var e=this;e.instance.$refs.container.toggleClass("fancybox-show-thumbs",this.isVisible),e.isVisible?(e.$grid||e.create(),e.instance.trigger("onThumbsShow"),e.focus(0)):e.$grid&&e.instance.trigger("onThumbsHide"),e.instance.update()},hide:function(){this.isVisible=!1,this.update()},show:function(){this.isVisible=!0,this.update()},toggle:function(){this.isVisible=!this.isVisible,this.update()}}),t(e).on({"onInit.fb":function(e,t){var i;t&&!t.Thumbs&&((i=new o(t)).isActive&&!0===i.opts.autoStart&&i.show())},"beforeShow.fb":function(e,t,i,o){var s=t&&t.Thumbs;s&&s.isVisible&&s.focus(o?0:250)},"afterKeydown.fb":function(e,t,i,o,s){var n=t&&t.Thumbs;n&&n.isActive&&71===s&&(o.preventDefault(),n.toggle())},"beforeClose.fb":function(e,t){var i=t&&t.Thumbs;i&&i.isVisible&&!1!==i.opts.hideOnClose&&i.$grid.hide()}})}(document,jQuery),function(e,t){"use strict";t.extend(!0,t.fancybox.defaults,{btnTpl:{share:'<button data-fancybox-share class="fancybox-button fancybox-button--share" title="{{SHARE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M2.55 19c1.4-8.4 9.1-9.8 11.9-9.8V5l7 7-7 6.3v-3.5c-2.8 0-10.5 2.1-11.9 4.2z"/></svg></button>'},share:{url:function(e,t){return!e.currentHash&&"inline"!==t.type&&"html"!==t.type&&(t.origSrc||t.src)||window.location},tpl:'<div class="fancybox-share"><h1>{{SHARE}}</h1><p><a class="fancybox-share__button fancybox-share__button--fb" href="https://www.facebook.com/sharer/sharer.php?u={{url}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m287 456v-299c0-21 6-35 35-35h38v-63c-7-1-29-3-55-3-54 0-91 33-91 94v306m143-254h-205v72h196" /></svg><span>Facebook</span></a><a class="fancybox-share__button fancybox-share__button--tw" href="https://twitter.com/intent/tweet?url={{url}}&text={{descr}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m456 133c-14 7-31 11-47 13 17-10 30-27 37-46-15 10-34 16-52 20-61-62-157-7-141 75-68-3-129-35-169-85-22 37-11 86 26 109-13 0-26-4-37-9 0 39 28 72 65 80-12 3-25 4-37 2 10 33 41 57 77 57-42 30-77 38-122 34 170 111 378-32 359-208 16-11 30-25 41-42z" /></svg><span>Twitter</span></a><a class="fancybox-share__button fancybox-share__button--pt" href="https://www.pinterest.com/pin/create/button/?url={{url}}&description={{descr}}&media={{media}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m265 56c-109 0-164 78-164 144 0 39 15 74 47 87 5 2 10 0 12-5l4-19c2-6 1-8-3-13-9-11-15-25-15-45 0-58 43-110 113-110 62 0 96 38 96 88 0 67-30 122-73 122-24 0-42-19-36-44 6-29 20-60 20-81 0-19-10-35-31-35-25 0-44 26-44 60 0 21 7 36 7 36l-30 125c-8 37-1 83 0 87 0 3 4 4 5 2 2-3 32-39 42-75l16-64c8 16 31 29 56 29 74 0 124-67 124-157 0-69-58-132-146-132z" fill="#fff"/></svg><span>Pinterest</span></a></p><p><input class="fancybox-share__input" type="text" value="{{url_raw}}" onclick="select()" /></p></div>'}}),t(e).on("click","[data-fancybox-share]",(function(){var e,i,o=t.fancybox.getInstance(),s=o.current||null;s&&("function"===t.type(s.opts.share.url)&&(e=s.opts.share.url.apply(s,[o,s])),i=s.opts.share.tpl.replace(/\{\{media\}\}/g,"image"===s.type?encodeURIComponent(s.src):"").replace(/\{\{url\}\}/g,encodeURIComponent(e)).replace(/\{\{url_raw\}\}/g,function(e){var t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"};return String(e).replace(/[&<>"'`=\/]/g,(function(e){return t[e]}))}(e)).replace(/\{\{descr\}\}/g,o.$caption?encodeURIComponent(o.$caption.text()):""),t.fancybox.open({src:o.translate(o,i),type:"html",opts:{touch:!1,animationEffect:!1,afterLoad:function(e,t){o.$refs.container.one("beforeClose.fb",(function(){e.close(null,0)})),t.$content.find(".fancybox-share__button").click((function(){return window.open(this.href,"Share","width=550, height=450"),!1}))}
1,mobile:{autoFocus:!1}}}))}))}(document,jQuery),function(e,t,i){"use strict";function o(){var t=e.location.hash.substr(1),i=t.split("-"),o=i.length>1&&/^\+?\d+$/.test(i[i.length-1])&&parseInt(i.pop(-1),10)||1;return{hash:t,index:o<1?1:o,gallery:i.join("-")}}function s(e){""!==e.gallery&&i("[data-fancybox='"+i.escapeSelector(e.gallery)+"']").eq(e.index-1).focus().trigger("click.fb-start")}function n(e){var t,i;return!!e&&(""!==(i=(t=e.current?e.current.opts:e.opts).hash||(t.$orig?t.$orig.data("fancybox")||t.$orig.data("fancybox-trigger"):""))&&i)}i.escapeSelector||(i.escapeSelector=function(e){return(e+"").replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,(function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}))}),i((function(){!1!==i.fancybox.defaults.hash&&(i(t).on({"onInit.fb":function(e,t){var i,s;!1!==t.group[t.currIndex].opts.hash&&(i=o(),(s=n(t))&&i.gallery&&s==i.gallery&&(t.currIndex=i.index-1))},"beforeShow.fb":function(i,o,s,a){var r;s&&!1!==s.opts.hash&&(r=n(o))&&(o.currentHash=r+(o.group.length>1?"-"+(s.index+1):""),e.location.hash!=="#"+o.currentHash&&(a&&!o.origHash&&(o.origHash=e.location.hash),o.hashTimer&&clearTimeout(o.hashTimer),o.hashTimer=setTimeout((function(){"replaceState"in e.history?(e.history[a?"pushState":"replaceState"]({},t.title,e.location.pathname+e.location.search+"#"+o.currentHash),a&&(o.hasCreatedHistory=!0)):e.location.hash=o.currentHash,o.hashTimer=null}),300)))},"beforeClose.fb":function(i,o,s){s&&!1!==s.opts.hash&&(clearTimeout(o.hashTimer),o.currentHash&&o.hasCreatedHistory?e.history.back():o.currentHash&&("replaceState"in e.history?e.history.replaceState({},t.title,e.location.pathname+e.location.search+(o.origHash||"")):e.location.hash=o.origHash),o.currentHash=null)}}),i(e).on("hashchange.fb",(function(){var e=o(),t=null;i.each(i(".fancybox-container").get().reverse(),(function(e,o){var s=i(o).data("FancyBox");if(s&&s.currentHash)return t=s,!1})),t?t.currentHash===e.gallery+"-"+e.index||1===e.index&&t.currentHash==e.gallery||(t.currentHash=null,t.close()):""!==e.gallery&&s(e)})),setTimeout((function(){i.fancybox.getInstance()||s(o())}),50))}))}(window,document,jQuery),function(e,t){"use strict";var i=(new Date).getTime();t(e).on({"onInit.fb":function(e,t,o){t.$refs.stage.on("mousewheel DOMMouseScroll wheel MozMousePixelScroll",(function(e){var o=t.current,s=(new Date).getTime();t.group.length<2||!1===o.opts.wheel||"auto"===o.opts.wheel&&"image"!==o.type||(e.preventDefault(),e.stopPropagation(),o.$slide.hasClass("fancybox-animated")||(e=e.originalEvent||e,s-i<250||(i=s,t[(-e.deltaY||-e.deltaX||e.wheelDelta||-e.detail)<0?"next":"previous"]())))}))}})}(document,jQuery),function(e,t,i){var o,s,n,a,r,l,c;a=!1,r={classes:"",inline:!1,language:"ru",startDate:new Date,firstDay:"",weekends:[6,0],dateFormat:"",altField:"",altFieldDateFormat:"@",toggleSelected:!0,keyboardNav:!0,position:"bottom left",offset:12,view:"days",minView:"days",showOtherMonths:!0,selectOtherMonths:!0,moveToOtherMonthsOnSelect:!0,showOtherYears:!0,selectOtherYears:!0,moveToOtherYearsOnSelect:!0,minDate:"",maxDate:"",disableNavWhenOutOfRange:!0,multipleDates:!1,multipleDatesSeparator:",",range:!1,todayButton:!1,clearButton:!1,showEvent:"focus",autoClose:!1,monthsField:"monthsShort",prevHtml:'<svg><path d="M 17,12 l -5,5 l 5,5"></path></svg>',nextHtml:'<svg><path d="M 14,12 l 5,5 l -5,5"></path></svg>',navTitles:{days:"MM, <i>yyyy</i>",months:"yyyy",years:"yyyy1 - yyyy2"},timepicker:!1,onlyTimepicker:!1,dateTimeSeparator:" ",timeFormat:"",minHours:0,maxHours:24,minMinutes:0,maxMinutes:59,hoursStep:1,minutesStep:1,onSelect:"",onShow:"",onHide:"",onChangeMonth:"",onChangeYear:"",onChangeDecade:"",onChangeView:"",onRenderCell:""},l={ctrlRight:[17,39],ctrlUp:[17,38],ctrlLeft:[17,37],ctrlDown:[17,40],shiftRight:[16,39],shiftUp:[16,38],shiftLeft:[16,37],shiftDown:[16,40],altUp:[18,38],altRight:[18,39],altLeft:[18,37],altDown:[18,40],ctrlShiftUp:[16,17,38]},(n=c=function(e,i){this.el=e,this.$el=t(e),this.opts=t.extend(!0,{},r,i,this.$el.data()),null==o&&(o=t("body")),this.opts.startDate||(this.opts.startDate=new Date),"INPUT"==this.el.nodeName&&(this.elIsInput=!0),this.opts.altField&&(this.$altField="string"==typeof this.opts.altField?t(this.opts.altField):this.opts.altField),this.inited=!1,this.visible=!1,this.silent=!1,this.currentDate=this.opts.startDate,this.currentView=this.opts.view,this._createShortCuts(),this.selectedDates=[],this.views={},this.keys=[],this.minRange="",this.maxRange="",this._prevOnSelectValue="",this.init()}).prototype={VERSION:"2.2.3",viewIndexes:["days","months","years"],init:function(){a||this.opts.inline||!this.elIsInput||this._buildDatepickersContainer(),this._buildBaseHtml(),this._defineLocale(this.opts.language),this._syncWithMinMaxDates(),this.elIsInput&&(this.opts.inline||(this._setPositionClasses(this.opts.position),this._bindEvents()),this.opts.keyboardNav&&!this.opts.onlyTimepicker&&this._bindKeyboardEvents(),this.$datepicker.on("mousedown",this._onMouseDownDatepicker.bind(this)),this.$datepicker.on("mouseup",this._onMouseUpDatepicker.bind(this))),this.opts.classes&&this.$datepicker.addClass(this.opts.classes),this.opts.timepicker&&(this.timepicker=new t.fn.datepicker.Timepicker(this,this.opts),this._bindTimepickerEvents()),this.opts.onlyTimepicker&&this.$datepicker.addClass("-only-timepicker-"),this.views[this.currentView]=new t.fn.datepicker.Body(this,this.currentView,this.opts),this.views[this.currentView].show(),this.nav=new t.fn.datepicker.Navigation(this,this.opts),this.view=this.currentView,this.$el.on("clickCell.adp",this._onClickCell.bind(this)),this.$datepicker.on("mouseenter",".datepicker--cell",this._onMouseEnterCell.bind(this)),this.$datepicker.on("mouseleave",".datepicker--cell",this._onMouseLeaveCell.bind(this)),this.inited=!0},_createShortCuts:function(){this.minDate=this.opts.minDate?this.opts.minDate:new Date(-86399999136e5),this.maxDate=this.opts.maxDate?this.opts.maxDate:new Date(86399999136e5)},_bindEvents:function(){this.$el.on(this.opts.showEvent+".adp",this._onShowEvent.bind(this)),this.$el.on("mouseup.adp",this._onMouseUpEl.b
1ind(this)),this.$el.on("blur.adp",this._onBlur.bind(this)),this.$el.on("keyup.adp",this._onKeyUpGeneral.bind(this)),t(e).on("resize.adp",this._onResize.bind(this)),t("body").on("mouseup.adp",this._onMouseUpBody.bind(this))},_bindKeyboardEvents:function(){this.$el.on("keydown.adp",this._onKeyDown.bind(this)),this.$el.on("keyup.adp",this._onKeyUp.bind(this)),this.$el.on("hotKey.adp",this._onHotKey.bind(this))},_bindTimepickerEvents:function(){this.$el.on("timeChange.adp",this._onTimeChange.bind(this))},isWeekend:function(e){return-1!==this.opts.weekends.indexOf(e)},_defineLocale:function(e){"string"==typeof e?(this.loc=t.fn.datepicker.language[e],this.loc||(console.warn("Can't find language \""+e+'" in Datepicker.language, will use "ru" instead'),this.loc=t.extend(!0,{},t.fn.datepicker.language.ru)),this.loc=t.extend(!0,{},t.fn.datepicker.language.ru,t.fn.datepicker.language[e])):this.loc=t.extend(!0,{},t.fn.datepicker.language.ru,e),this.opts.dateFormat&&(this.loc.dateFormat=this.opts.dateFormat),this.opts.timeFormat&&(this.loc.timeFormat=this.opts.timeFormat),""!==this.opts.firstDay&&(this.loc.firstDay=this.opts.firstDay),this.opts.timepicker&&(this.loc.dateFormat=[this.loc.dateFormat,this.loc.timeFormat].join(this.opts.dateTimeSeparator)),this.opts.onlyTimepicker&&(this.loc.dateFormat=this.loc.timeFormat);var i=this._getWordBoundaryRegExp;(this.loc.timeFormat.match(i("aa"))||this.loc.timeFormat.match(i("AA")))&&(this.ampm=!0)},_buildDatepickersContainer:function(){a=!0,o.append('<div class="datepickers-container" id="datepickers-container"></div>'),s=t("#datepickers-container")},_buildBaseHtml:function(){var e,i=t('<div class="datepicker-inline">');e="INPUT"==this.el.nodeName?this.opts.inline?i.insertAfter(this.$el):s:i.appendTo(this.$el),this.$datepicker=t('<div class="datepicker"><i class="datepicker--pointer"></i><nav class="datepicker--nav"></nav><div class="datepicker--content"></div></div>').appendTo(e),this.$content=t(".datepicker--content",this.$datepicker),this.$nav=t(".datepicker--nav",this.$datepicker)},_triggerOnChange:function(){if(!this.selectedDates.length){if(""===this._prevOnSelectValue)return;return this._prevOnSelectValue="",this.opts.onSelect("","",this)}var e,t=this.selectedDates,i=n.getParsedDate(t[0]),o=this,s=new Date(i.year,i.month,i.date,i.hours,i.minutes);e=t.map((function(e){return o.formatDate(o.loc.dateFormat,e)})).join(this.opts.multipleDatesSeparator),(this.opts.multipleDates||this.opts.range)&&(s=t.map((function(e){var t=n.getParsedDate(e);return new Date(t.year,t.month,t.date,t.hours,t.minutes)}))),this._prevOnSelectValue=e,this.opts.onSelect(e,s,this)},next:function(){var e=this.parsedDate,t=this.opts;switch(this.view){case"days":this.date=new Date(e.year,e.month+1,1),t.onChangeMonth&&t.onChangeMonth(this.parsedDate.month,this.parsedDate.year);break;case"months":this.date=new Date(e.year+1,e.month,1),t.onChangeYear&&t.onChangeYear(this.parsedDate.year);break;case"years":this.date=new Date(e.year+10,0,1),t.onChangeDecade&&t.onChangeDecade(this.curDecade)}},prev:function(){var e=this.parsedDate,t=this.opts;switch(this.view){case"days":this.date=new Date(e.year,e.month-1,1),t.onChangeMonth&&t.onChangeMonth(this.parsedDate.month,this.parsedDate.year);break;case"months":this.date=new Date(e.year-1,e.month,1),t.onChangeYear&&t.onChangeYear(this.parsedDate.year);break;case"years":this.date=new Date(e.year-10,0,1),t.onChangeDecade&&t.onChangeDecade(this.curDecade)}},formatDate:function(e,t){t=t||this.date;var i,o=e,s=this._getWordBoundaryRegExp,a=this.loc,r=n.getLeadingZeroNum,l=n.getDecade(t),c=n.getParsedDate(t),d=c.fullHours,u=c.hours,p=e.match(s("aa"))||e.match(s("AA")),h="am",f=this._replacer;switch(this.opts.timepicker&&this.timepicker&&p&&(d=r((i=this.timepicker._getValidHoursFromDate(t,p)).hours),u=i.hours,h=i.dayPeriod),!0){case/@/.test(o):o=o.replace(/@/,t.getTime());case/aa/.test(o):o=f(o,s("aa"),h);case/AA/.test(o):o=f(o,s("AA"),h.toUpperCase());case/dd/.test(o):o=f(o,s("dd"),c.fullDate);case/d/.test(o):o=f(o,s("d"),c.date);case/DD/.test(o):o=f(o,s("DD"),a.days[c.day]);case/D/.test(o):o=f(o,s("D"),a.daysShort[c.day]);case/mm/.test(o):o=f(o,s("mm"),c.fullMonth);case/m/.test(o):o=f(o,s("m"),c.month+1);case/MM/.test(o):o=f(o,s("MM"),this.loc.months[c.month]);case/M/.test(o):o=f(o,s("M"),a.monthsShort[c.month]);case/ii/.test(o):o=f(o,s("ii"),c.fullMinutes);case/i/.test(o):o=f(o,s("i"),c.minutes);case/hh/.test(o):o=f(o,s("hh"),d);case/h/.test(o):o=f(o,s("h"),u);case/yyyy/.test(o):o=f(o,s("yyyy"),c.year);case/yyyy1/.test(o):o=f(o,s("yyyy1"),l[0]);case/yyyy2/.test(o):o=f(o,s("yyyy2"),l[1]);case/yy/.test(o):o=f(o,s("yy"),c.year.toString().slice(-2))}return o},_replacer:function(e,t,i){return e.replace(t,(function(e,t,o,s){return t+i+s}))},_getWordBoundaryRegExp:function(e){var t="\\s|\\.|-|/|\\\\|,|\\$|\\!|\\?|:|;";return new RegExp("(^|>|"+t+")("+e+")($|<|"+t+")","g")},selectDate:function(e){var t=this,i=t.opts,o=t.parsedDate,s=t.selectedDates.length,a="";if(Array.isArray(e))e.forEach((function(e){t.selectDate(e)}));else if(e instanceof Date){if(this.lastSelectedDate=e,this.timepicker&&this.timepicker._setTime(e),t._trigger("selectDate",e),this.timepicker&&(e.setHours(this.timepicker.hours),e.setMinutes(this.timepicker.minutes)),"days"==t.view&&e.getMonth()!=o.month&&i.moveToOtherMonthsOnSelect&&(a=new Date(e.getFullYear(),e.getMonth(),1)),"years"==t.view&&e.getFullYear()!=o.year&&i.moveToOtherYearsOnSelect&&(a=new Date(e.getFullYear(),0,1)),a&&(t.silent=!0,t.date=a,t.silent=!1,t.nav._render()),i.multipleDates&&!i.range){if(s===i.multipleDates)return;t._isSelected(e)||t.selectedDates.push(e)}else i.range?2==s?(t.selectedDates=[e],t.minRange=e,t.maxRange=""):1==s?(t.selectedDates.push(e),t.maxRange?t.minRange=e:t.maxRange=e,n.bigger(t.maxRange,t.minRange)&&(t.maxRange=t.minRange,t.minRange=e),t.selectedDates=[t.minRange,t.maxRange]):(t.selectedDates=[e],t.minRange=e):t.selectedDates=[e];t._setInputValue(),i.onSelect&&t._triggerOnChange(),i.autoClose&&!this.timepickerIsActive&&(i.multipleDates||i.range?i.range&&2==t.selectedDates.length&&t.hide():t.hide()),t.views[this.currentView]._render()}},removeDate:function(e){var t=this.selectedDates,i=this;if(e instanceof Date)return t.some((function(o,s){if(n.isSame(o,e))return t.splice(s,1),i.selectedDates.length?i.lastSelectedDate=i.selectedDates[i.selectedDates.length-1]:(i.minRange="",i.maxRange="",i.lastSelectedDate=""),i.views[i.currentView]._render(),i._setInputValue(),i.opts.onSelect&&i._triggerOnChange(),!0}))},today:function(){this.silent=!0,this.view=this.opts.minView,this.silent=!1,this.date=new Date,this.opts.todayButton instanceof Date&&this.selectDate(this.opts.todayButton)},clear:function(){this.selectedDates=[],this.minRange="",this.maxRange="",this.views[this.currentView]._render(),this._setInputValue(),this.opts.onSelect&&this._triggerOnChange()},update:function(e,i){var o=arguments.length,s=this.lastSelectedDate;return 2==o?this.opts[e]=i:1==o&&"object"==typeof e&&(this.opts=t.extend(!0,this.opts,e)),this._createShortCuts(),this._syncWithMinMaxDates(),this._defineLocale(this.opts.language),this.nav._addButtonsIfNeed(),this.opts.onlyTimepicker||this.nav._render(),this.views[this.currentView]._render(),this.elIsInput&&!this.opts.inline&&(this._setPositionClasses(this.opts.position),this.visible&&this.setPosition(this.opts.position)),this.opts.classes&&this.$datepicker.addClass(this.opts.classes),this.opts.onlyTimepicker&&this.$datepicker.addClass("-only-timepicker-"),this.opts.timepicker&&(s&&this.timepicker._handleDate(s),this.timepicker._updateRanges(),this.timepicker._updateCurrentTime(),s&&(s.setHours(this.timepicker.hours),s.setMinutes(this.timepicker.minutes))),this._setInputValue(),this},_syncWithMinMaxDates:function(){var e=this.date.getTime();this.silent=!0,this.minTime>e&&(this.date=this.minDate),this.maxTime<e&&(this.date=this.maxDate),this.silent=!1},_isSelected:function(e,t){var i=!1;
1return this.selectedDates.some((function(o){if(n.isSame(o,e,t))return i=o,!0})),i},_setInputValue:function(){var e,t=this,i=t.opts,o=t.loc.dateFormat,s=i.altFieldDateFormat,n=t.selectedDates.map((function(e){return t.formatDate(o,e)}));i.altField&&t.$altField.length&&(e=(e=this.selectedDates.map((function(e){return t.formatDate(s,e)}))).join(this.opts.multipleDatesSeparator),this.$altField.val(e)),n=n.join(this.opts.multipleDatesSeparator),this.$el.val(n)},_isInRange:function(e,t){var i=e.getTime(),o=n.getParsedDate(e),s=n.getParsedDate(this.minDate),a=n.getParsedDate(this.maxDate),r=new Date(o.year,o.month,s.date).getTime(),l=new Date(o.year,o.month,a.date).getTime(),c={day:i>=this.minTime&&i<=this.maxTime,month:r>=this.minTime&&l<=this.maxTime,year:o.year>=s.year&&o.year<=a.year};return t?c[t]:c.day},_getDimensions:function(e){var t=e.offset();return{width:e.outerWidth(),height:e.outerHeight(),left:t.left,top:t.top}},_getDateFromCell:function(e){var t=this.parsedDate,i=e.data("year")||t.year,o=null==e.data("month")?t.month:e.data("month"),s=e.data("date")||1;return new Date(i,o,s)},_setPositionClasses:function(e){var t=(e=e.split(" "))[0],i="datepicker -"+t+"-"+e[1]+"- -from-"+t+"-";this.visible&&(i+=" active"),this.$datepicker.removeAttr("class").addClass(i)},setPosition:function(e){e=e||this.opts.position;var t,i,o=this._getDimensions(this.$el),s=this._getDimensions(this.$datepicker),n=e.split(" "),a=this.opts.offset,r=n[0],l=n[1];switch(r){case"top":t=o.top-s.height-a;break;case"right":i=o.left+o.width+a;break;case"bottom":t=o.top+o.height+a;break;case"left":i=o.left-s.width-a}switch(l){case"top":t=o.top;break;case"right":i=o.left+o.width-s.width;break;case"bottom":t=o.top+o.height-s.height;break;case"left":i=o.left;break;case"center":/left|right/.test(r)?t=o.top+o.height/2-s.height/2:i=o.left+o.width/2-s.width/2}this.$datepicker.css({left:i,top:t})},show:function(){var e=this.opts.onShow;this.setPosition(this.opts.position),this.$datepicker.addClass("active"),this.visible=!0,e&&this._bindVisionEvents(e)},hide:function(){var e=this.opts.onHide;this.$datepicker.removeClass("active").css({left:"-100000px"}),this.focused="",this.keys=[],this.inFocus=!1,this.visible=!1,this.$el.blur(),e&&this._bindVisionEvents(e)},down:function(e){this._changeView(e,"down")},up:function(e){this._changeView(e,"up")},_bindVisionEvents:function(e){this.$datepicker.off("transitionend.dp"),e(this,!1),this.$datepicker.one("transitionend.dp",e.bind(this,this,!0))},_changeView:function(e,t){e=e||this.focused||this.date;var i="up"==t?this.viewIndex+1:this.viewIndex-1;i>2&&(i=2),i<0&&(i=0),this.silent=!0,this.date=new Date(e.getFullYear(),e.getMonth(),1),this.silent=!1,this.view=this.viewIndexes[i]},_handleHotKey:function(e){var t,i,o,s=n.getParsedDate(this._getFocusedDate()),a=this.opts,r=!1,l=!1,c=!1,d=s.year,u=s.month,p=s.date;switch(e){case"ctrlRight":case"ctrlUp":u+=1,r=!0;break;case"ctrlLeft":case"ctrlDown":u-=1,r=!0;break;case"shiftRight":case"shiftUp":l=!0,d+=1;break;case"shiftLeft":case"shiftDown":l=!0,d-=1;break;case"altRight":case"altUp":c=!0,d+=10;break;case"altLeft":case"altDown":c=!0,d-=10;break;case"ctrlShiftUp":this.up()}o=n.getDaysCount(new Date(d,u)),i=new Date(d,u,p),o<p&&(p=o),i.getTime()<this.minTime?i=this.minDate:i.getTime()>this.maxTime&&(i=this.maxDate),this.focused=i,t=n.getParsedDate(i),r&&a.onChangeMonth&&a.onChangeMonth(t.month,t.year),l&&a.onChangeYear&&a.onChangeYear(t.year),c&&a.onChangeDecade&&a.onChangeDecade(this.curDecade)},_registerKey:function(e){this.keys.some((function(t){return t==e}))||this.keys.push(e)},_unRegisterKey:function(e){var t=this.keys.indexOf(e);this.keys.splice(t,1)},_isHotKeyPressed:function(){var e,t=!1,i=this.keys.sort();for(var o in l)e=l[o],i.length==e.length&&e.every((function(e,t){return e==i[t]}))&&(this._trigger("hotKey",o),t=!0);return t},_trigger:function(e,t){this.$el.trigger(e,t)},_focusNextCell:function(e,t){t=t||this.cellType;var i=n.getParsedDate(this._getFocusedDate()),o=i.year,s=i.month,a=i.date;if(!this._isHotKeyPressed()){switch(e){case 37:"day"==t&&(a-=1),"month"==t&&(s-=1),"year"==t&&(o-=1);break;case 38:"day"==t&&(a-=7),"month"==t&&(s-=3),"year"==t&&(o-=4);break;case 39:"day"==t&&(a+=1),"month"==t&&(s+=1),"year"==t&&(o+=1);break;case 40:"day"==t&&(a+=7),"month"==t&&(s+=3),"year"==t&&(o+=4)}var r=new Date(o,s,a);r.getTime()<this.minTime?r=this.minDate:r.getTime()>this.maxTime&&(r=this.maxDate),this.focused=r}},_getFocusedDate:function(){var e=this.focused||this.selectedDates[this.selectedDates.length-1],t=this.parsedDate;if(!e)switch(this.view){case"days":e=new Date(t.year,t.month,(new Date).getDate());break;case"months":e=new Date(t.year,t.month,1);break;case"years":e=new Date(t.year,0,1)}return e},_getCell:function(e,i){i=i||this.cellType;var o,s=n.getParsedDate(e),a='.datepicker--cell[data-year="'+s.year+'"]';switch(i){case"month":a='[data-month="'+s.month+'"]';break;case"day":a+='[data-month="'+s.month+'"][data-date="'+s.date+'"]'}return(o=this.views[this.currentView].$el.find(a)).length?o:t("")},destroy:function(){this.$el.off(".adp").data("datepicker",""),this.selectedDates=[],this.focused="",this.views={},this.keys=[],this.minRange="",this.maxRange="",this.opts.inline||!this.elIsInput?this.$datepicker.closest(".datepicker-inline").remove():this.$datepicker.remove()},_handleAlreadySelectedDates:function(e,t){this.opts.range?this.opts.toggleSelected?this.removeDate(t):2!=this.selectedDates.length&&this._trigger("clickCell",t):this.opts.toggleSelected&&this.removeDate(t),this.opts.toggleSelected||(this.lastSelectedDate=e,this.opts.timepicker&&(this.timepicker._setTime(e),this.timepicker.update(
1)))},_onShowEvent:function(e){this.visible||this.show()},_onBlur:function(){!this.inFocus&&this.visible&&this.hide()},_onMouseDownDatepicker:function(e){this.inFocus=!0},_onMouseUpDatepicker:function(e){this.inFocus=!1,e.originalEvent.inFocus=!0,e.originalEvent.timepickerFocus||this.$el.focus()},_onKeyUpGeneral:function(e){this.$el.val()||this.clear()},_onResize:function(){this.visible&&this.setPosition()},_onMouseUpBody:function(e){e.originalEvent.inFocus||this.visible&&!this.inFocus&&this.hide()},_onMouseUpEl:function(e){e.originalEvent.inFocus=!0,setTimeout(this._onKeyUpGeneral.bind(this),4)},_onKeyDown:function(e){var t=e.which;if(this._registerKey(t),t>=37&&t<=40&&(e.preventDefault(),this._focusNextCell(t)),13==t&&this.focused){if(this._getCell(this.focused).hasClass("-disabled-"))return;if(this.view!=this.opts.minView)this.down();else{var i=this._isSelected(this.focused,this.cellType);if(!i)return this.timepicker&&(this.focused.setHours(this.timepicker.hours),this.focused.setMinutes(this.timepicker.minutes)),void this.selectDate(this.focused);this._handleAlreadySelectedDates(i,this.focused)}}27==t&&this.hide()},_onKeyUp:function(e){var t=e.which;this._unRegisterKey(t)},_onHotKey:function(e,t){this._handleHotKey(t)},_onMouseEnterCell:function(e){var i=t(e.target).closest(".datepicker--cell"),o=this._getDateFromCell(i);this.silent=!0,this.focused&&(this.focused=""),i.addClass("-focus-"),this.focused=o,this.silent=!1,this.opts.range&&1==this.selectedDates.length&&(this.minRange=this.selectedDates[0],this.maxRange="",n.less(this.minRange,this.focused)&&(this.maxRange=this.minRange,this.minRange=""),this.views[this.currentView]._update())},_onMouseLeaveCell:function(e){t(e.target).closest(".datepicker--cell").removeClass("-focus-"),this.silent=!0,this.focused="",this.silent=!1},_onTimeChange:function(e,t,i){var o=new Date,s=!1;this.selectedDates.length&&(s=!0,o=this.lastSelectedDate),o.setHours(t),o.setMinutes(i),s||this._getCell(o).hasClass("-disabled-")?(this._setInputValue(),this.opts.onSelect&&this._triggerOnChange()):this.selectDate(o)},_onClickCell:function(e,t){this.timepicker&&(t.setHours(this.timepicker.hours),t.setMinutes(this.timepicker.minutes)),this.selectDate(t)},set focused(e){if(!e&&this.focused){var t=this._getCell(this.focused);t.length&&t.removeClass("-focus-")}this._focused=e,this.opts.range&&1==this.selectedDates.length&&(this.minRange=this.selectedDates[0],this.maxRange="",n.less(this.minRange,this._focused)&&(this.maxRange=this.minRange,this.minRange="")),this.silent||(this.date=e)},get focused(){return this._focused},get parsedDate(){return n.getParsedDate(this.date)},set date(e){if(e instanceof Date)return this.currentDate=e,this.inited&&!this.silent&&(this.views[this.view]._render(),this.nav._render(),this.visible&&this.elIsInput&&this.setPosition()),e},get date(){return this.currentDate},set view(e){if(this.viewIndex=this.viewIndexes.indexOf(e),!(this.viewIndex<0))return this.prevView=this.currentView,this.currentView=e,this.inited&&(this.views[e]?this.views[e]._render():this.views[e]=new t.fn.datepicker.Body(this,e,this.opts),this.views[this.prevView].hide(),this.views[e].show(),this.nav._render(),this.opts.onChangeView&&this.opts.onChangeView(e),this.elIsInput&&this.visible&&this.setPosition()),e},get view(){return this.currentView},get cellType(){return this.view.substring(0,this.view.length-1)},get minTime(){var e=n.getParsedDate(this.minDate);return new Date(e.year,e.month,e.date).getTime()},get maxTime(){var e=n.getParsedDate(this.maxDate);return new Date(e.year,e.month,e.date).getTime()},get curDecade(){return n.getDecade(this.date)}},n.getDaysCount=function(e){return new Date(e.getFullYear(),e.getMonth()+1,0).getDate()},n.getParsedDate=function(e){return{year:e.getFullYear(),month:e.getMonth(),fullMonth:e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1,date:e.getDate(),fullDate:e.getDate()<10?"0"+e.getDate():e.getDate(),day:e.getDay(),hours:e.getHours(),fullHours:e.getHours()<10?"0"+e.getHours():e.getHours(),minutes:e.getMinutes(),fullMinutes:e.getMinutes()<10?"0"+e.getMinutes():e.getMinutes()}},n.getDecade=function(e){var t=10*Math.floor(e.getFullYear()/10);return[t,t+9]},n.template=function(e,t){return e.replace(/#\{([\w]+)\}/g,(function(e,i){if(t[i]||0===t[i])return t[i]}))},n.isSame=function(e,t,i){if(!e||!t)return!1;var o=n.getParsedDate(e),s=n.getParsedDate(t),a=i||"day";return{day:o.date==s.date&&o.month==s.month&&o.year==s.year,month:o.month==s.month&&o.year==s.year,year:o.year==s.year}[a]},n.less=function(e,t,i){return!(!e||!t)&&t.getTime()<e.getTime()},n.bigger=function(e,t,i){return!(!e||!t)&&t.getTime()>e.getTime()},n.getLeadingZeroNum=function(e){return parseInt(e)<10?"0"+e:e},n.resetTime=function(e){if("object"==typeof e)return e=n.getParsedDate(e),new Date(e.year,e.month,e.date)},t.fn.datepicker=function(e){return this.each((function(){if(t.data(this,"datepicker")){var i=t.data(this,"datepicker");i.opts=t.extend(!0,i.opts,e),i.update()}else t.data(this,"datepicker",new c(this,e))}))},t.fn.datepicker.Constructor=c,t.fn.datepicker.language={ru:{days:["Воскресенье","Понедельник","Вторник","Среда","Четверг","Пятница","Суббота"],daysShort:["Вос","Пон","Вто","Сре","Чет","Пят","Суб"],daysMin:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],months:["Январь","Февраль","Март","Апрель","Май","�?юнь","�?юль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],monthsShort:["Янв","Фев","Мар","Апр","Май","�?юн","�?юл","Авг","Сен","Окт","Ноя","Дек"],today:"Сегодня",clear:"Очистить",dateFormat:"dd.mm.yyyy",timeFormat:"hh:ii",firstDay:1}},t((function(){t(".datepicker-here").datepicker()})),function(){var e={days:'<div class="datepicker--days datepicker--body"><div class="datepicker--days-names"></div><div class="datepicker--cells datepicker--cells-days"></div></div>',months:'<div class="datepicker--months datepicker--body"><div class="datepicker--cells datepicker--cells-months"></div></div>',years:'<div class="datepicker--years datepicker--body"><div class="datepicker--cells datepicker--cells-years"></div></div>'},i=t.fn.datepicker,o=i.Constructor;i.Body=function(e,i,o){this.d=e,this.type=i,this.opts=o,this.$el=t(""),this.opts.onlyTimepicker||this.init()},i.Body.prototype={init:function(){this._buildBaseHtml(),this._render(),this._bindEvents()},_bindEvents:function(){this.$el.on("click",".datepicker--cell",t.proxy(this._onClickCell,this))},_buildBaseHtml:function(){this.$el=t(e[this.type]).appendTo(this.d.$content),this.$names=t(".datepicker--days-names",this.$el),this.$cells=t(".datepicker--cells",this.$el)},_getDayNamesHtml:function(e,t,i,o){return i=i||"",(o=null!=o?o:0)>7?i:7==(t=null!=t?t:e)?this._getDayNamesHtml(e,0,i,++o):(i+='<div class="datepicker--day-name'+(this.d.isWeekend(t)?" -weekend-":"")+'">'+this.d.loc.daysMin[t]+"</div>
1",this._getDayNamesHtml(e,++t,i,++o))},_getCellContents:function(e,t){var i="datepicker--cell datepicker--cell-"+t,s=new Date,n=this.d,a=o.resetTime(n.minRange),r=o.resetTime(n.maxRange),l=n.opts,c=o.getParsedDate(e),d={},u=c.date;switch(t){case"day":n.isWeekend(c.day)&&(i+=" -weekend-"),c.month!=this.d.parsedDate.month&&(i+=" -other-month-",l.selectOtherMonths||(i+=" -disabled-"),l.showOtherMonths||(u=""));break;case"month":u=n.loc[n.opts.monthsField][c.month];break;case"year":var p=n.curDecade;u=c.year,(c.year<p[0]||c.year>p[1])&&(i+=" -other-decade-",l.selectOtherYears||(i+=" -disabled-"),l.showOtherYears||(u=""))}return l.onRenderCell&&(u=(d=l.onRenderCell(e,t)||{}).html?d.html:u,i+=d.classes?" "+d.classes:""),l.range&&(o.isSame(a,e,t)&&(i+=" -range-from-"),o.isSame(r,e,t)&&(i+=" -range-to-"),1==n.selectedDates.length&&n.focused?((o.bigger(a,e)&&o.less(n.focused,e)||o.less(r,e)&&o.bigger(n.focused,e))&&(i+=" -in-range-"),o.less(r,e)&&o.isSame(n.focused,e)&&(i+=" -range-from-"),o.bigger(a,e)&&o.isSame(n.focused,e)&&(i+=" -range-to-")):2==n.selectedDates.length&&o.bigger(a,e)&&o.less(r,e)&&(i+=" -in-range-")),o.isSame(s,e,t)&&(i+=" -current-"),n.focused&&o.isSame(e,n.focused,t)&&(i+=" -focus-"),n._isSelected(e,t)&&(i+=" -selected-"),n._isInRange(e,t)&&!d.disabled||(i+=" -disabled-"),{html:u,classes:i}},_getDaysHtml:function(e){for(var t,i,s=o.getDaysCount(e),n=new Date(e.getFullYear(),e.getMonth(),1).getDay(),a=new Date(e.getFullYear(),e.getMonth(),s).getDay(),r=n-this.d.loc.firstDay,l=6-a+this.d.loc.firstDay,c="",d=1-(r=r<0?r+7:r),u=s+(l=l>6?l-7:l);d<=u;d++)i=e.getFullYear(),t=e.getMonth(),c+=this._getDayHtml(new Date(i,t,d));return c},_getDayHtml:function(e){var t=this._getCellContents(e,"day");return'<div class="'+t.classes+'" data-date="'+e.getDate()+'" data-month="'+e.getMonth()+'" data-year="'+e.getFullYear()+'">'+t.html+"</div>"},_getMonthsHtml:function(e){for(var t="",i=o.getParsedDate(e),s=0;s<12;)t+=this._getMonthHtml(new Date(i.year,s)),s++;return t},_getMonthHtml:function(e){var t=this._getCellContents(e,"month");return'<div class="'+t.classes+'" data-month="'+e.getMonth()+'">'+t.html+"</div>"},_getYearsHtml:function(e){o.getParsedDate(e);for(var t=o.getDecade(e),i="",s=t[0]-1;s<=t[1]+1;s++)i+=this._getYearHtml(new Date(s,0));return i},_getYearHtml:function(e){var t=this._getCellContents(e,"year");return'<div class="'+t.classes+'" data-year="'+e.getFullYear()+'">'+t.html+"</div>"},_renderTypes:{days:function(){var e=this._getDayNamesHtml(this.d.loc.firstDay),t=this._getDaysHtml(this.d.currentDate);this.$cells.html(t),this.$names.html(e)},months:function(){var e=this._getMonthsHtml(this.d.currentDate);this.$cells.html(e)},years:function(){var e=this._getYearsHtml(this.d.currentDate);this.$cells.html(e)}},_render:function(){this.opts.onlyTimepicker||this._renderTypes[this.type].bind(this)()},_update:function(){var e,i,o,s=t(".datepicker--cell",this.$cells),n=this;s.each((function(s,a){i=t(this),o=n.d._getDateFromCell(t(this)),e=n._getCellContents(o,n.d.cellType),i.attr("class",e.classes)}))},show:function(){this.opts.onlyTimepicker||(this.$el.addClass("active"),this.acitve=!0)},hide:function(){this.$el.removeClass("active"),this.active=!1},_handleClick:function(e){var t=e.data("date")||1,i=e.data("month")||0,o=e.data("year")||this.d.parsedDate.year,s=this.d;if(s.view==this.opts.minView){var n=new Date(o,i,t),a=this.d._isSelected(n,this.d.cellType);a?s._handleAlreadySelectedDates.bind(s,a,n)():s._trigger("clickCell",n)}else s.down(new Date(o,i,t))},_onClickCell:function(e){var i=t(e.target).closest(".datepicker--cell");i.hasClass("-disabled-")||this._handleClick.bind(this)(i)}}}(),function(){var e=t.fn.datepicker,i=e.Constructor;e.Navigation=function(e,t){this.d=e,this.opts=t,this.$buttonsContainer="",this.init()},e.Navigation.prototype={init:function(){this._buildBaseHtml(),this._bindEvents()},_bindEvents:function(){this.d.$nav.on("click",".datepicker--nav-action",t.proxy(this._onClickNavButton,this)),this.d.$nav.on("click",".datepicker--nav-title",t.proxy(this._onClickNavTitle,this)),this.d.$datepicker.on("click",".datepicker--button",t.proxy(this._onClickNavButton,this))},_buildBaseHtml:function(){this.opts.onlyTimepicker||this._render(),this._addButtonsIfNeed()},_addButtonsIfNeed:function(){this.opts.todayButton&&this._addButton("today"),this.opts.clearButton&&this._addButton("clear")},_render:function(){var e=this._getTitle(this.d.currentDate),o=i.template('<div class="datepicker--nav-action" data-action="prev">#{prevHtml}</div><div class="datepicker--nav-title">#{title}</div><div class="datepicker--nav-action" data-action="next">#{nextHtml}</div>',t.extend({title:e},this.opts));this.d.$nav.html(o),"years"==this.d.view&&t(".datepicker--nav-title",this.d.$nav).addClass("-disabled-"),this.setNavStatus()},_getTitle:function(e){return this.d.formatDate(this.opts.navTitles[this.d.view],e)},_addButton:function(e){this.$buttonsContainer.length||this._addButtonsContainer();var o={action:e,label:this.d.loc[e]},s=i.template('<span class="datepicker--button" data-action="#{action}">#{label}</span>',o);t("[data-action="+e+"]",this.$buttonsContainer).length||this.$buttonsContainer.append(s)},_addButtonsContainer:function(){this.d.$datepicker.append('<div class="datepicker--buttons"></div>'),this.$buttonsContainer=t(".datepicker--buttons",this.d.$datepicker)},setNavStatus:function(){if((this.opts.minDate||this.opts.maxDate)&&this.opts.disableNavWhenOutOfRange){var e=this.d.parsedDate,t=e.month,o=e.year,s=e.date;switch(this.d.view){case"days":this.d._isInRange(new Date(o,t-1,1),"month")||this._disableNav("prev"),this.d._isInRange(new Date(o,t+1,1),"month")||this._disableNav("next");break;case"months":this.d._isInRange(new Date(o-1,t,s),"year")||this._disableNav("prev"),this.d._isInRange(new Date(o+1,t,s),"year")||this._disableNav("next");break;case"years":var n=i.getDecade(this.d.date);this.d._isInRange(new Date(n[0]-1,0,1),"year")||this._disableNav("prev"),this.d._isInRange(new Date(n[1]+1,0,1),"year")||this._disableNav("next")}}},_disableNav:function(e){t('[data-action="'+e+'"]',this.d.$nav).addClass("-disabled-")},_activateNav:function(e){t('[data-action="'+e+'"]',this.d.$nav).removeClass("-disabled-")},_onClickNavButton:function(e){var i=t(e.target).closest("[data-action]").data("action");this.d[i]()},_onClickNavTitle:function(e){if(!t(e.target).hasClass("-disabled-"))return"days"==this.d.view?this.d.view="months":void(this.d.view="years")}}}(),function(){var e=t.fn.datepicker,i=e.Constructor;e.Timepicker=function(e,t){this.d=e,this.opts=t,this.init()},e.Timepicker.prototype={init:function(){var e="input";this._setTime(this.d.date),this._buildHTML(),navigator.userAgent.match(/trident/gi)&&(e="change"),this.d.$el.on("selectDate",this._onSelectDate.bind(this)),this.$ranges.on(e,this._onChangeRange.bind(this)),this.$ranges.on("mouseup",this._onMouseUpRange.bind(this)),this.$ranges.on("mousemove focus ",this._onMouseEnterRange.bind(this)),this.$ranges.on("mouseout blur",this._onMouseOutRange.bind(this))},_setTime:function(e){var t=i.getParsedDate(e);this._handleDate(e),this.hours=t.hours<this.minHours?this.minHours:t.hours,this.minutes=t.minutes<this.minMinutes?this.minMinutes:t.minutes},_setMinTimeFromDate:function(e){this.minHours=e.getHours(),this.minMinutes=e.getMinutes(),this.d.lastSelectedDate&&this.d.lastSelectedDate.getHours()>e.getHours()&&(this.minMinutes=this.opts.minMinutes)}
1,_setMaxTimeFromDate:function(e){this.maxHours=e.getHours(),this.maxMinutes=e.getMinutes(),this.d.lastSelectedDate&&this.d.lastSelectedDate.getHours()<e.getHours()&&(this.maxMinutes=this.opts.maxMinutes)},_setDefaultMinMaxTime:function(){var e=this.opts;this.minHours=e.minHours<0||e.minHours>23?0:e.minHours,this.minMinutes=e.minMinutes<0||e.minMinutes>59?0:e.minMinutes,this.maxHours=e.maxHours<0||e.maxHours>23?23:e.maxHours,this.maxMinutes=e.maxMinutes<0||e.maxMinutes>59?59:e.maxMinutes},_validateHoursMinutes:function(e){this.hours<this.minHours?this.hours=this.minHours:this.hours>this.maxHours&&(this.hours=this.maxHours),this.minutes<this.minMinutes?this.minutes=this.minMinutes:this.minutes>this.maxMinutes&&(this.minutes=this.maxMinutes)},_buildHTML:function(){var e=i.getLeadingZeroNum,o={hourMin:this.minHours,hourMax:e(this.maxHours),hourStep:this.opts.hoursStep,hourValue:this.hours,hourVisible:e(this.displayHours),minMin:this.minMinutes,minMax:e(this.maxMinutes),minStep:this.opts.minutesStep,minValue:e(this.minutes)},s=i.template('<div class="datepicker--time"><div class="datepicker--time-current">   <span class="datepicker--time-current-hours">#{hourVisible}</span>   <span class="datepicker--time-current-colon">:</span>   <span class="datepicker--time-current-minutes">#{minValue}</span></div><div class="datepicker--time-sliders">   <div class="datepicker--time-row">      <input type="range" name="hours" value="#{hourValue}" min="#{hourMin}" max="#{hourMax}" step="#{hourStep}"/>   </div>   <div class="datepicker--time-row">      <input type="range" name="minutes" value="#{minValue}" min="#{minMin}" max="#{minMax}" step="#{minStep}"/>   </div></div></div>',o);this.$timepicker=t(s).appendTo(this.d.$datepicker),this.$ranges=t('[type="range"]',this.$timepicker),this.$hours=t('[name="hours"]',this.$timepicker),this.$minutes=t('[name="minutes"]',this.$timepicker),this.$hoursText=t(".datepicker--time-current-hours",this.$timepicker),this.$minutesText=t(".datepicker--time-current-minutes",this.$timepicker),this.d.ampm&&(this.$ampm=t('<span class="datepicker--time-current-ampm">').appendTo(t(".datepicker--time-current",this.$timepicker)).html(this.dayPeriod),this.$timepicker.addClass("-am-pm-"))},_updateCurrentTime:function(){var e=i.getLeadingZeroNum(this.displayHours),t=i.getLeadingZeroNum(this.minutes);this.$hoursText.html(e),this.$minutesText.html(t),this.d.ampm&&this.$ampm.html(this.dayPeriod)},_updateRanges:function(){this.$hours.attr({min:this.minHours,max:this.maxHours}).val(this.hours),this.$minutes.attr({min:this.minMinutes,max:this.maxMinutes}).val(this.minutes)},_handleDate:function(e){this._setDefaultMinMaxTime(),e&&(i.isSame(e,this.d.opts.minDate)?this._setMinTimeFromDate(this.d.opts.minDate):i.isSame(e,this.d.opts.maxDate)&&this._setMaxTimeFromDate(this.d.opts.maxDate)),this._validateHoursMinutes(e)},update:function(){this._updateRanges(),this._updateCurrentTime()},_getValidHoursFromDate:function(e,t){var o=e;e instanceof Date&&(o=i.getParsedDate(e).hours);var s="am";if(t||this.d.ampm)switch(!0){case 0==o:o=12;break;case 12==o:s="pm";break;case o>11:o-=12,s="pm"}return{hours:o,dayPeriod:s}},set hours(e){this._hours=e;var t=this._getValidHoursFromDate(e);this.displayHours=t.hours,this.dayPeriod=t.dayPeriod},get hours(){return this._hours},_onChangeRange:function(e){var i=t(e.target),o=i.attr("name");this.d.timepickerIsActive=!0,this[o]=i.val(),this._updateCurrentTime(),this.d._trigger("timeChange",[this.hours,this.minutes]),this._handleDate(this.d.lastSelectedDate),this.update()},_onSelectDate:function(e,t){this._handleDate(t),this.update()},_onMouseEnterRange:function(e){var i=t(e.target).attr("name");t(".datepicker--time-current-"+i,this.$timepicker).addClass("-focus-")},_onMouseOutRange:function(e){var i=t(e.target).attr("name");this.d.inFocus||t(".datepicker--time-current-"+i,this.$timepicker).removeClass("-focus-")},_onMouseUpRange:function(e){this.d.timepickerIsActive=!1}}}()}(window,jQuery),function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"undefined"!=typeof exports?module.exports=e(require("jquery")):e(jQuery)}((function(e){"use strict";var t=window.Slick||{};(t=function(){var t=0;return function(i,o){var s,n=this;n.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:e(i),appendDots:e(i),arrows:!0,asNavFor:null,prevArrow:'<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button">Previous</button>',nextArrow:'<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,i){return e('<div data-role="none" role="button" tabindex="0" />').text(i+1)},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,pauseOnFocus:!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,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},n.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,
1sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},e.extend(n,n.initials),n.activeBreakpoint=null,n.animType=null,n.animProp=null,n.breakpoints=[],n.breakpointSettings=[],n.cssTransitions=!1,n.focussed=!1,n.interrupted=!1,n.hidden="hidden",n.paused=!0,n.positionProp=null,n.respondTo=null,n.rowCount=1,n.shouldClick=!0,n.$slider=e(i),n.$slidesCache=null,n.transformType=null,n.transitionType=null,n.visibilityChange="visibilitychange",n.windowWidth=0,n.windowTimer=null,s=e(i).data("slick")||{},n.options=e.extend({},n.defaults,o,s),n.currentSlide=n.options.initialSlide,n.originalSettings=n.options,void 0!==document.mozHidden?(n.hidden="mozHidden",n.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(n.hidden="webkitHidden",n.visibilityChange="webkitvisibilitychange"),n.autoPlay=e.proxy(n.autoPlay,n),n.autoPlayClear=e.proxy(n.autoPlayClear,n),n.autoPlayIterator=e.proxy(n.autoPlayIterator,n),n.changeSlide=e.proxy(n.changeSlide,n),n.clickHandler=e.proxy(n.clickHandler,n),n.selectHandler=e.proxy(n.selectHandler,n),n.setPosition=e.proxy(n.setPosition,n),n.swipeHandler=e.proxy(n.swipeHandler,n),n.dragHandler=e.proxy(n.dragHandler,n),n.keyHandler=e.proxy(n.keyHandler,n),n.instanceUid=t++,n.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,n.registerBreakpoints(),n.init(!0)}}()).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},t.prototype.addSlide=t.prototype.slickAdd=function(t,i,o){var s=this;if("boolean"==typeof i)o=i,i=null;else if(0>i||i>=s.slideCount)return!1;s.unload(),"number"==typeof i?0===i&&0===s.$slides.length?e(t).appendTo(s.$slideTrack):o?e(t).insertBefore(s.$slides.eq(i)):e(t).insertAfter(s.$slides.eq(i)):!0===o?e(t).prependTo(s.$slideTrack):e(t).appendTo(s.$slideTrack),s.$slides=s.$slideTrack.children(this.options.slide),s.$slideTrack.children(this.options.slide).detach(),s.$slideTrack.append(s.$slides),s.$slides.each((function(t,i){e(i).attr("data-slick-index",t)})),s.$slidesCache=s.$slides,s.reinit()},t.prototype.animateHeight=function(){var e=this;if(1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.animate({height:t},e.options.speed)}},t.prototype.animateSlide=function(t,i){var o={},s=this;s.animateHeight(),!0===s.options.rtl&&!1===s.options.vertical&&(t=-t),!1===s.transformsEnabled?!1===s.options.vertical?s.$slideTrack.animate({left:t},s.options.speed,s.options.easing,i):s.$slideTrack.animate({top:t},s.options.speed,s.options.easing,i):!1===s.cssTransitions?(!0===s.options.rtl&&(s.currentLeft=-s.currentLeft),e({animStart:s.currentLeft}).animate({animStart:t},{duration:s.options.speed,easing:s.options.easing,step:function(e){e=Math.ceil(e),!1===s.options.vertical?(o[s.animType]="translate("+e+"px, 0px)",s.$slideTrack.css(o)):(o[s.animType]="translate(0px,"+e+"px)",s.$slideTrack.css(o))},complete:function(){i&&i.call()}})):(s.applyTransition(),t=Math.ceil(t),!1===s.options.vertical?o[s.animType]="translate3d("+t+"px, 0px, 0px)":o[s.animType]="translate3d(0px,"+t+"px, 0px)",s.$slideTrack.css(o),i&&setTimeout((function(){s.disableTransition(),i.call()}),s.options.speed))},t.prototype.getNavTarget=function(){var t=this.options.asNavFor;return t&&null!==t&&(t=e(t).not(this.$slider)),t},t.prototype.asNavFor=function(t){var i=this.getNavTarget();null!==i&&"object"==typeof i&&i.each((function(){var i=e(this).slick("getSlick");i.unslicked||i.slideHandler(t,!0)}))},t.prototype.applyTransition=function(e){var t=this,i={};!1===t.options.fade?i[t.transitionType]=t.transformType+" "+t.options.speed+"ms "+t.options.cssEase:i[t.transitionType]="opacity "+t.options.speed+"ms "+t.options.cssEase,!1===t.options.fade?t.$slideTrack.css(i):t.$slides.eq(e).css(i)},t.prototype.autoPlay=function(){var e=this;e.autoPlayClear(),e.slideCount>e.options.slidesToShow&&(e.autoPlayTimer=setInterval(e.autoPlayIterator,e.options.autoplaySpeed))},t.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer)},t.prototype.autoPlayIterator=function(){var e=this,t=e.currentSlide+e.options.slidesToScroll;e.paused||e.interrupted||e.focussed||(!1===e.options.infinite&&(1===e.direction&&e.currentSlide+1===e.slideCount-1?e.direction=0:0===e.direction&&(t=e.currentSlide-e.options.slidesToScroll,e.currentSlide-1==0&&(e.direction=1))),e.slideHandler(t))},t.prototype.buildArrows=function(){var t=this;!0===t.options.arrows&&(t.$prevArrow=e(t.options.prevArrow).addClass("slick-arrow"),t.$nextArrow=e(t.options.nextArrow).addClass("slick-arrow"),t.slideCount>t.options.slidesToShow?(t.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.prependTo(t.options.appendArrows),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.appendTo(t.options.appendArrows),!0!==t.options.infinite&&t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):t.$prevArrow.add(t.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},t.prototype.buildDots=function(){var t,i,o=this;if(!0===o.options.dots&&o.slideCount>o.options.slidesToShow){for(o.$slider.addClass("slick-dotted"),i=e("<ul />").addClass(o.options.dotsClass),t=0;t<=o.getDotCount();t+=1)i.append(e("<li />").append(o.options.customPaging.call(this,o,t)));o.$dots=i.appendTo(o.options.appendDots),o.$dots.find("li").first().addClass("slick-active").attr("aria-hidden","false")}},t.prototype.buildOut=function(){var t=this;t.$slides=t.$slider.children(t.options.slide+":not(.slick-cloned)").addClass("slick-slide"),t.slideCount=t.$slides.length,t.$slides.each((function(t,i){e(i).attr("data-slick-index",t).data("originalStyling",e(i).attr("style")||"")})),t.$slider.addClass("slick-slider"),t.$slideTrack=0===t.slideCount?e('<div class="slick-track"/>').appendTo(t.$slider):t.$slides.wrapAll('<div class="slick-track"/>').parent(),t.$list=t.$slideTrack.wrap('<div aria-live="polite" class="slick-list"/>').parent(),t.$slideTrack.css("opacity",0),(!0===t.options.centerMode||!0===t.options.swipeToSlide)&&(t.options.slidesToScroll=1),e("img[data-lazy]",t.$slider).not("[src]").addClass("slick-loading"),t.setupInfinite(),t.buildArrows(),t.buildDots(),t.updateDots(),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),!0===t.options.draggable&&t.$list.addClass("draggable")},t.prototype.buildRows=function(){var e,t,i,o,s,n,a,r=this;if(o=document.createDocumentFragment(),n=r.$slider.children(),r.options.rows>1){for(a=r.options.slidesPerRow*r.options.rows,s=Math.ceil(n.length/a),e=0;s>e;e++){var l=document.createElement("div");for(t=0;t<r.options.rows;t++){var c=document.createElement("div");for(i=0;i<r.options.slidesPerRow;i++){var d=e*a+(t*r.options.slidesPerRow+i);n.get(d)&&c.appendChild(n.get(d))}l.appendChild(c)}o.appendChild(l)}r.$slider.empty().append(o),r.$slider.children().children().children().css({width:100/r.o
1ptions.slidesPerRow+"%",display:"inline-block"})}},t.prototype.checkResponsive=function(t,i){var o,s,n,a=this,r=!1,l=a.$slider.width(),c=window.innerWidth||e(window).width();if("window"===a.respondTo?n=c:"slider"===a.respondTo?n=l:"min"===a.respondTo&&(n=Math.min(c,l)),a.options.responsive&&a.options.responsive.length&&null!==a.options.responsive){for(o in s=null,a.breakpoints)a.breakpoints.hasOwnProperty(o)&&(!1===a.originalSettings.mobileFirst?n<a.breakpoints[o]&&(s=a.breakpoints[o]):n>a.breakpoints[o]&&(s=a.breakpoints[o]));null!==s?null!==a.activeBreakpoint?(s!==a.activeBreakpoint||i)&&(a.activeBreakpoint=s,"unslick"===a.breakpointSettings[s]?a.unslick(s):(a.options=e.extend({},a.originalSettings,a.breakpointSettings[s]),!0===t&&(a.currentSlide=a.options.initialSlide),a.refresh(t)),r=s):(a.activeBreakpoint=s,"unslick"===a.breakpointSettings[s]?a.unslick(s):(a.options=e.extend({},a.originalSettings,a.breakpointSettings[s]),!0===t&&(a.currentSlide=a.options.initialSlide),a.refresh(t)),r=s):null!==a.activeBreakpoint&&(a.activeBreakpoint=null,a.options=a.originalSettings,!0===t&&(a.currentSlide=a.options.initialSlide),a.refresh(t),r=s),t||!1===r||a.$slider.trigger("breakpoint",[a,r])}},t.prototype.changeSlide=function(t,i){var o,s,n=this,a=e(t.currentTarget);switch(a.is("a")&&t.preventDefault(),a.is("li")||(a=a.closest("li")),o=n.slideCount%n.options.slidesToScroll!=0?0:(n.slideCount-n.currentSlide)%n.options.slidesToScroll,t.data.message){case"previous":s=0===o?n.options.slidesToScroll:n.options.slidesToShow-o,n.slideCount>n.options.slidesToShow&&n.slideHandler(n.currentSlide-s,!1,i);break;case"next":s=0===o?n.options.slidesToScroll:o,n.slideCount>n.options.slidesToShow&&n.slideHandler(n.currentSlide+s,!1,i);break;case"index":var r=0===t.data.index?0:t.data.index||a.index()*n.options.slidesToScroll;n.slideHandler(n.checkNavigable(r),!1,i),a.children().trigger("focus");break;default:return}},t.prototype.checkNavigable=function(e){var t,i;if(i=0,e>(t=this.getNavigableIndexes())[t.length-1])e=t[t.length-1];else for(var o in t){if(e<t[o]){e=i;break}i=t[o]}return e},t.prototype.cleanUpEvents=function(){var t=this;t.options.dots&&null!==t.$dots&&e("li",t.$dots).off("click.slick",t.changeSlide).off("mouseenter.slick",e.proxy(t.interrupt,t,!0)).off("mouseleave.slick",e.proxy(t.interrupt,t,!1)),t.$slider.off("focus.slick blur.slick"),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow&&t.$prevArrow.off("click.slick",t.changeSlide),t.$nextArrow&&t.$nextArrow.off("click.slick",t.changeSlide)),t.$list.off("touchstart.slick mousedown.slick",t.swipeHandler),t.$list.off("touchmove.slick mousemove.slick",t.swipeHandler),t.$list.off("touchend.slick mouseup.slick",t.swipeHandler),t.$list.off("touchcancel.slick mouseleave.
1slick",t.swipeHandler),t.$list.off("click.slick",t.clickHandler),e(document).off(t.visibilityChange,t.visibility),t.cleanUpSlideEvents(),!0===t.options.accessibility&&t.$list.off("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().off("click.slick",t.selectHandler),e(window).off("orientationchange.slick.slick-"+t.instanceUid,t.orientationChange),e(window).off("resize.slick.slick-"+t.instanceUid,t.resize),e("[draggable!=true]",t.$slideTrack).off("dragstart",t.preventDefault),e(window).off("load.slick.slick-"+t.instanceUid,t.setPosition),e(document).off("ready.slick.slick-"+t.instanceUid,t.setPosition)},t.prototype.cleanUpSlideEvents=function(){var t=this;t.$list.off("mouseenter.slick",e.proxy(t.interrupt,t,!0)),t.$list.off("mouseleave.slick",e.proxy(t.interrupt,t,!1))},t.prototype.cleanUpRows=function(){var e,t=this;t.options.rows>1&&((e=t.$slides.children().children()).removeAttr("style"),t.$slider.empty().append(e))},t.prototype.clickHandler=function(e){!1===this.shouldClick&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault())},t.prototype.destroy=function(t){var i=this;i.autoPlayClear(),i.touchObject={},i.cleanUpEvents(),e(".slick-cloned",i.$slider).detach(),i.$dots&&i.$dots.remove(),i.$prevArrow&&i.$prevArrow.length&&(i.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.prevArrow)&&i.$prevArrow.remove()),i.$nextArrow&&i.$nextArrow.length&&(i.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.nextArrow)&&i.$nextArrow.remove()),i.$slides&&(i.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each((function(){e(this).attr("style",e(this).data("originalStyling"))})),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.detach(),i.$list.detach(),i.$slider.append(i.$slides)),i.cleanUpRows(),i.$slider.removeClass("slick-slider"),i.$slider.removeClass("slick-initialized"),i.$slider.removeClass("slick-dotted"),i.unslicked=!0,t||i.$slider.trigger("destroy",[i])},t.prototype.disableTransition=function(e){var t=this,i={};i[t.transitionType]="",!1===t.options.fade?t.$slideTrack.css(i):t.$slides.eq(e).css(i)},t.prototype.fadeSlide=function(e,t){var i=this;!1===i.cssTransitions?(i.$slides.eq(e).css({zIndex:i.options.zIndex}),i.$slides.eq(e).animate({opacity:1},i.options.speed,i.options.easing,t)):(i.applyTransition(e),i.$slides.eq(e).css({opacity:1,zIndex:i.options.zIndex}),t&&setTimeout((function(){i.disableTransition(e),t.call()}),i.options.speed))},t.prototype.fadeSlideOut=function(e){var t=this;!1===t.cssTransitions?t.$slides.eq(e).animate({opacity:0,zIndex:t.options.zIndex-2},t.options.speed,t.options.easing):(t.applyTransition(e),t.$slides.eq(e).css({opacity:0,zIndex:t.options.zIndex-2}))},t.prototype.filterSlides=t.prototype.slickFilter=function(e){var t=this;null!==e&&(t.$slidesCache=t.$slides,t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.filter(e).appendTo(t.$slideTrack),t.reinit())},t.prototype.focusHandler=function(){var t=this;t.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*:not(.slick-arrow)",(function(i){i.stopImmediatePropagation();var o=e(this);setTimeout((function(){t.options.pauseOnFocus&&(t.focussed=o.is(":focus"),t.autoPlay())}),0)}))},t.prototype.getCurrent=t.prototype.slickCurrentSlide=function(){return this.currentSlide},t.prototype.getDotCount=function(){var e=this,t=0,i=0,o=0;if(!0===e.options.infinite)for(;t<e.slideCount;)++o,t=i+e.options.slidesToScroll,i+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else if(!0===e.options.centerMode)o=e.slideCount;else if(e.options.asNavFor)for(;t<e.slideCount;)++o,t=i+e.options.slidesToScroll,i+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else o=1+Math.ceil((e.slideCount-e.options.slidesToShow)/e.options.slidesToScroll);return o-1},t.prototype.getLeft=function(e){var t,i,o,s=this,n=0;return s.slideOffset=0,i=s.$slides.first().outerHeight(!0),!0===s.options.infinite?(s.slideCount>s.options.slidesToShow&&(s.slideOffset=s.slideWidth*s.options.slidesToShow*-1,n=i*s.options.slidesToShow*-1),s.slideCount%s.options.slidesToScroll!=0&&e+s.options.slidesToScroll>s.slideCount&&s.slideCount>s.options.slidesToShow&&(e>s.slideCount?(s.slideOffset=(s.options.slidesToShow-(e-s.slideCount))*s.slideWidth*-1,n=(s.options.slidesToShow-(e-s.slideCount))*i*-1):(s.slideOffset=s.slideCount%s.options.slidesToScroll*s.slideWidth*-1,n=s.slideCount%s.options.slidesToScroll*i*-1))):e+s.options.slidesToShow>s.slideCount&&(s.slideOffset=(e+s.options.slidesToShow-s.slideCount)*s.slideWidth,n=(e+s.options.slidesToShow-s.slideCount)*i),s.slideCount<=s.options.slidesToShow&&(s.slideOffset=0,n=0),!0===s.options.centerMode&&!0===s.options.infinite?s.slideOffset+=s.slideWidth*Math.floor(s.options.slidesToShow/2)-s.slideWidth:!0===s.options.centerMode&&(s.slideOffset=0,s.slideOffset+=s.slideWidth*Math.floor(s.options.slidesToShow/2)),t=!1===s.options.vertical?e*s.slideWidth*-1+s.slideOffset:e*i*-1+n,!0===s.options.variableWidth&&(o=s.slideCount<=s.options.slidesToShow||!1===s.options.infinite?s.$slideTrack.children(".slick-slide").eq(e):s.$slideTrack.children(".slick-slide").eq(e+s.options.slidesToShow),t=!0===s.options.rtl?o[0]?-1*(s.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,!0===s.options.centerMode&&(o=s.slideCount<=s.options.slidesToShow||!1===s.options.infinite?s.$slideTrack.children(".slick-slide").eq(e):s.$slideTrack.children(".slick-slide").eq(e+s.options.slidesToShow+1),t=!0===s.options.rtl?o[0]?-1*(s.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,t+=(s.$list.width()-o.outerWidth())/2)),t},t.prototype.getOption=t.prototype.slickGetOption=function(e){return this.options[e]},t.prototype.getNavigableIndexes=function(){var e,t=this,i=0,o=0,s=[];for(!1===t.options.infinite?e=t.slideCount:(i=-1*t.options.slidesToScroll,o=-1*t.options.slidesToScroll,e=2*t.slideCount);e>i;)s.push(i),i=o+t.options.slidesToScroll,o+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;return s},t.prototype.getSlick=function(){return this},t.prototype.getSlideCount=function(){var t,i,o=this;return i=!0===o.options.centerMode?o.slideWidth*Math.floor(o.options.slidesToShow/2):0,!0===o.options.swipeToSlide?(o.$slideTrack.find(".slick-slide").each((function(s,n){return n.offsetLeft-i+e(n).outerWidth()/2>-1*o.swipeLeft?(t=n,!1):void 0})),Math.abs(e(t).attr("data-slick-index")-o.currentSlide)||1):o.options.slidesToScroll},t.prototype.goTo=t.prototype.slickGoTo=function(e,t){this.changeSlide({data:{message:"index",index:
1parseInt(e)}},t)},t.prototype.init=function(t){var i=this;e(i.$slider).hasClass("slick-initialized")||(e(i.$slider).addClass("slick-initialized"),i.buildRows(),i.buildOut(),i.setProps(),i.startLoad(),i.loadSlider(),i.initializeEvents(),i.updateArrows(),i.updateDots(),i.checkResponsive(!0),i.focusHandler()),t&&i.$slider.trigger("init",[i]),!0===i.options.accessibility&&i.initADA(),i.options.autoplay&&(i.paused=!1,i.autoPlay())},t.prototype.initADA=function(){var t=this;t.$slides.add(t.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),t.$slideTrack.attr("role","listbox"),t.$slides.not(t.$slideTrack.find(".slick-cloned")).each((function(i){e(this).attr({role:"option","aria-describedby":"slick-slide"+t.instanceUid+i})})),null!==t.$dots&&t.$dots.attr("role","tablist").find("li").each((function(i){e(this).attr({role:"presentation","aria-selected":"false","aria-controls":"navigation"+t.instanceUid+i,id:"slick-slide"+t.instanceUid+i})})).first().attr("aria-selected","true").end().find("button").attr("role","button").end().closest("div").attr("role","toolbar"),t.activateADA()},t.prototype.initArrowEvents=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},e.changeSlide),e.$nextArrow.off("click.slick").on("click.slick",{message:"next"},e.changeSlide))},t.prototype.initDotEvents=function(){var t=this;!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&e("li",t.$dots).on("click.slick",{message:"index"},t.changeSlide),!0===t.options.dots&&!0===t.options.pauseOnDotsHover&&e("li",t.$dots).on("mouseenter.slick",e.proxy(t.interrupt,t,!0)).on("mouseleave.slick",e.proxy(t.interrupt,t,!1))},t.prototype.initSlideEvents=function(){var t=this;t.options.pauseOnHover&&(t.$list.on("mouseenter.slick",e.proxy(t.interrupt,t,!0)),t.$list.on("mouseleave.slick",e.proxy(t.interrupt,t,!1)))},t.prototype.initializeEvents=function(){var t=this;t.initArrowEvents(),t.initDotEvents(),t.initSlideEvents(),t.$list.on("touchstart.slick mousedown.slick",{action:"start"},t.swipeHandler),t.$list.on("touchmove.slick mousemove.slick",{action:"move"},t.swipeHandler),t.$list.on("touchend.slick mouseup.slick",{action:"end"}
1,t.swipeHandler),t.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},t.swipeHandler),t.$list.on("click.slick",t.clickHandler),e(document).on(t.visibilityChange,e.proxy(t.visibility,t)),!0===t.options.accessibility&&t.$list.on("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().on("click.slick",t.selectHandler),e(window).on("orientationchange.slick.slick-"+t.instanceUid,e.proxy(t.orientationChange,t)),e(window).on("resize.slick.slick-"+t.instanceUid,e.proxy(t.resize,t)),e("[draggable!=true]",t.$slideTrack).on("dragstart",t.preventDefault),e(window).on("load.slick.slick-"+t.instanceUid,t.setPosition),e(document).on("ready.slick.slick-"+t.instanceUid,t.setPosition)},t.prototype.initUI=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.show(),e.$nextArrow.show()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.show()},t.prototype.keyHandler=function(e){var t=this;e.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===e.keyCode&&!0===t.options.accessibility?t.changeSlide({data:{message:!0===t.options.rtl?"next":"previous"}}):39===e.keyCode&&!0===t.options.accessibility&&t.changeSlide({data:{message:!0===t.options.rtl?"previous":"next"}}))},t.prototype.lazyLoad=function(){function t(t){e("img[data-lazy]",t).each((function(){var t=e(this),i=e(this).attr("data-lazy"),o=document.createElement("img");o.onload=function(){t.animate({opacity:0}
1,100,(function(){t.attr("src",i).animate({opacity:1},200,(function(){t.removeAttr("data-lazy").removeClass("slick-loading")})),s.$slider.trigger("lazyLoaded",[s,t,i])}))},o.onerror=function(){t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),s.$slider.trigger("lazyLoadError",[s,t,i])},o.src=i}))}var i,o,s=this;!0===s.options.centerMode?!0===s.options.infinite?o=(i=s.currentSlide+(s.options.slidesToShow/2+1))+s.options.slidesToShow+2:(i=Math.max(0,s.currentSlide-(s.options.slidesToShow/2+1)),o=s.options.slidesToShow/2+1+2+s.currentSlide):(i=s.options.infinite?s.options.slidesToShow+s.currentSlide:s.currentSlide,o=Math.ceil(i+s.options.slidesToShow),!0===s.options.fade&&(i>0&&i--,o<=s.slideCount&&o++)),t(s.$slider.find(".slick-slide").slice(i,o)),s.slideCount<=s.options.slidesToShow?t(s.$slider.find(".slick-slide")):s.currentSlide>=s.slideCount-s.options.slidesToShow?t(s.$slider.find(".slick-cloned").slice(0,s.options.slidesToShow)):0===s.currentSlide&&t(s.$slider.find(".slick-cloned").slice(-1*s.options.slidesToShow))},t.prototype.loadSlider=function(){var e=this;e.setPosition(),e.$slideTrack.css({opacity:1}),e.$slider.removeClass("slick-loading"),e.initUI(),"progressive"===e.options.lazyLoad&&e.progressiveLazyLoad()},t.prototype.next=t.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},t.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition()},t.prototype.pause=t.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0},t.prototype.play=t.prototype.slickPlay=function(){var e=this;e.autoPlay(),e.options.autoplay=!0,e.paused=!1,e.focussed=!1,e.interrupted=!1},t.prototype.postSlide=function(e){var t=this;t.unslicked||(t.$slider.trigger("afterChange",[t,e]),t.animating=!1,t.setPosition(),t.swipeLeft=null,t.options.autoplay&&t.autoPlay(),!0===t.options.accessibility&&t.initADA())},t.prototype.prev=t.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},t.prototype.preventDefault=function(e){e.preventDefault()},t.prototype.progressiveLazyLoad=function(t){t=t||1;var i,o,s,n=this,a=e("img[data-lazy]",n.$slider);a.length?(i=a.first(),o=i.attr("data-lazy"),(s=document.createElement("img")).onload=function(){i.attr("src",o).removeAttr("data-lazy").removeClass("slick-loading"),!0===n.options.adaptiveHeight&&n.setPosition(),n.$slider.trigger("lazyLoaded",[n,i,o]),n.progressiveLazyLoad()},s.onerror=function(){3>t?setTimeout((function(){n.progressiveLazyLoad(t+1)}),500):(i.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),n.$slider.trigger("lazyLoadError",[n,i,o]),n.progressiveLazyLoad())},s.src=o):n.$slider.trigger("allImagesLoaded",[n])},t.prototype.refresh=function(t){var i,o,s=this;o=s.slideCount-s.options.slidesToShow,!s.options.infinite&&s.currentSlide>o&&(s.currentSlide=o),s.slideCount<=s.options.slidesToShow&&(s.currentSlide=0),i=s.currentSlide,s.destroy(!0),e.extend(s,s.initials,{currentSlide:i}),s.init(),t||s.changeSlide({data:{message:"index",index:i}},!1)},t.prototype.registerBreakpoints=function(){var t,i,o,s=this,n=s.options.responsive||null;if("array"===e.type(n)&&n.length){for(t in s.respondTo=s.options.respondTo||"window",n)if(o=s.breakpoints.length-1,i=n[t].breakpoint,n.hasOwnProperty(t)){for(;o>=0;)s.breakpoints[o]&&s.breakpoints[o]===i&&s.breakpoints.splice(o,1),o--;s.breakpoints.push(i),s.breakpointSettings[i]=n[t].settings}s.breakpoints.sort((function(e,t){return s.options.mobileFirst?e-t:t-e}))}},t.prototype.reinit=function(){var t=this;t.$slides=t.$slideTrack.children(t.options.slide).addClass("slick-slide"),t.slideCount=t.$slides.length,t.currentSlide>=t.slideCount&&0!==t.currentSlide&&(t.currentSlide=t.currentSlide-t.options.slidesToScroll),t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0),t.registerBreakpoints(),t.setProps(),t.setupInfinite(),t.buildArrows(),t.updateArrows(),t.initArrowEvents(),t.buildDots(),t.updateDots(),t.initDotEvents(),t.cleanUpSlideEvents(),t.initSlideEvents(),t.checkResponsive(!1,!0),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().on("click.slick",t.selectHandler),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),t.setPosition(),t.focusHandler(),t.paused=!t.o
1ptions.autoplay,t.autoPlay(),t.$slider.trigger("reInit",[t])},t.prototype.resize=function(){var t=this;e(window).width()!==t.windowWidth&&(clearTimeout(t.windowDelay),t.windowDelay=window.setTimeout((function(){t.windowWidth=e(window).width(),t.checkResponsive(),t.unslicked||t.setPosition()}),50))},t.prototype.removeSlide=t.prototype.slickRemove=function(e,t,i){var o=this;return"boolean"==typeof e?e=!0===(t=e)?0:o.slideCount-1:e=!0===t?--e:e,!(o.slideCount<1||0>e||e>o.slideCount-1)&&(o.unload(),!0===i?o.$slideTrack.children().remove():o.$slideTrack.children(this.options.slide).eq(e).remove(),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slidesCache=o.$slides,void o.reinit())},t.prototype.setCSS=function(e){var t,i,o=this,s={};!0===o.options.rtl&&(e=-e),t="left"==o.positionProp?Math.ceil(e)+"px":"0px",i="top"==o.positionProp?Math.ceil(e)+"px":"0px",s[o.positionProp]=e,!1===o.transformsEnabled?o.$slideTrack.css(s):(s={},!1===o.cssTransitions?(s[o.animType]="translate("+t+", "+i+")",o.$slideTrack.css(s)):(s[o.animType]="translate3d("+t+", "+i+", 0px)",o.$slideTrack.css(s)))},t.prototype.setDimensions=function(){var e=this;!1===e.options.vertical?!0===e.options.centerMode&&e.$list.css({padding:"0px "+e.options.centerPadding}):(e.$list.height(e.$slides.first().outerHeight(!0)*e.options.slidesToShow),!0===e.options.centerMode&&e.$list.css({padding:e.options.centerPadding+" 0px"})),e.listWidth=e.$list.width(),e.listHeight=e.$list.height(),!1===e.options.vertical&&!1===e.options.variableWidth?(e.slideWidth=Math.ceil(e.listWidth/e.options.slidesToShow),e.$slideTrack.width(Math.ceil(e.slideWidth*e.$slideTrack.children(".slick-slide").length))):!0===e.options.variableWidth?e.$slideTrack.width(5e3*e.slideCount):(e.slideWidth=Math.ceil(e.listWidth),e.$slideTrack.height(Math.ceil(e.$slides.first().outerHeight(!0)*e.$slideTrack.children(".slick-slide").length)));var t=e.$slides.first().outerWidth(!0)-e.$slides.first().width();!1===e.options.variableWidth&&e.$slideTrack.children(".slick-slide").width(e.slideWidth-t)},t.prototype.setFade=function(){var t,i=this;i.$slides.each((function(o,s){t=i.slideWidth*o*-1,!0===i.options.rtl?e(s).css({position:"relative",right:t,top:0,zIndex:i.options.zIndex-2,opacity:0}
1):e(s).css({position:"relative",left:t,top:0,zIndex:i.options.zIndex-2,opacity:0})})),i.$slides.eq(i.currentSlide).css({zIndex:i.options.zIndex-1,opacity:1})},t.prototype.setHeight=function(){var e=this;if(1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.css("height",t)}},t.prototype.setOption=t.prototype.slickSetOption=function(){var t,i,o,s,n,a=this,r=!1;if("object"===e.type(arguments[0])?(o=arguments[0],r=arguments[1],n="multiple"):"string"===e.type(arguments[0])&&(o=arguments[0],s=arguments[1],r=arguments[2],"responsive"===arguments[0]&&"array"===e.type(arguments[1])?n="responsive":void 0!==arguments[1]&&(n="single")),"single"===n)a.options[o]=s;else if("multiple"===n)e.each(o,(function(e,t){a.options[e]=t}));else if("responsive"===n)for(i in s)if("array"!==e.type(a.options.responsive))a.options.responsive=[s[i]];else{for(t=a.options.responsive.length-1;t>=0;)a.options.responsive[t].breakpoint===s[i].breakpoint&&a.options.responsive.splice(t,1),t--;a.options.responsive.push(s[i])}r&&(a.unload(),a.reinit())},t.prototype.setPosition=function(){var e=this;e.setDimensions(),e.setHeight(),!1===e.options.fade?e.setCSS(e.getLeft(e.currentSlide)):e.setFade(),e.$slider.trigger("setPosition",[e])},t.prototype.setProps=function(){var e=this,t=document.body.style;e.positionProp=!0===e.options.vertical?"top":"left","top"===e.positionProp?e.$slider.addClass("slick-vertical"):e.$slider.removeClass("slick-vertical"),(void 0!==t.WebkitTransition||void 0!==t.MozTransition||void 0!==t.msTransition)&&!0===e.options.useCSS&&(e.cssTransitions=!0),e.options.fade&&("number"==typeof e.options.zIndex?e.options.zIndex<3&&(e.options.zIndex=3):e.options.zIndex=e.defaults.zIndex),void 0!==t.OTransform&&(e.animType="OTransform",e.transformType="-o-transform",e.transitionType="OTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.MozTransform&&(e.animType="MozTransform",e.transformType="-moz-transform",e.transitionType="MozTransition",void 0===t.perspectiveProperty&&void 0===t.MozPerspective&&(e.animType=!1)),void 0!==t.webkitTransform&&(e.animType="webkitTransform",e.transformType="-webkit-transform",e.transitionType="webkitTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.msTransform&&(e.animType="msTransform",e.transformType="-ms-transform",e.transitionType="msTransition",void 0===t.msTransform&&(e.animType=!1)),void 0!==t.transform&&!1!==e.animType&&(e.animType="transform",e.transformType="transform",e.transitionType="transition"),e.transformsEnabled=e.options.useTransform&&null!==e.animType&&!1!==e.animType},t.prototype.setSlideClasses=function(e){var t,i,o,s,n=this;i=n.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),n.$slides.eq(e).addClass("slick-current"),!0===n.options.centerMode?(t=Math.floor(n.options.slidesToShow/2),!0===n.options.infinite&&(e>=t&&e<=n.slideCount-1-t?n.$slides.slice(e-t,e+t+1).addClass("slick-active").attr("aria-hidden","false"):(o=n.options.slidesToShow+e,i.slice(o-t+1,o+t+2).addClass("slick-active").attr("aria-hidden","false")),0===e?i.eq(i.length-1-n.options.slidesToShow).addClass("slick-center"):e===n.slideCount-1&&i.eq(n.options.slidesToShow).addClass("slick-center")),n.$slides.eq(e).addClass("slick-center")):e>=0&&e<=n.slideCount-n.options.slidesToShow?n.$slides.slice(e,e+n.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):i.length<=n.options.slidesToShow?i.addClass("slick-active").attr("aria-hidden","false"):(s=n.slideCount%n.options.slidesToShow,o=!0===n.options.infinite?n.options.slidesToShow+e:e,n.options.slidesToShow==n.options.slidesToScroll&&n.slideCount-e<n.options.slidesToShow?i.slice(o-(n.options.slidesToShow-s),o+s).addClass("slick-active").attr("aria-hidden","false"):i.slice(o,o+n.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false")),"ondemand"===n.options.lazyLoad&&n.lazyLoad()},t.prototype.setupInfinite=function(){var t,i,o,s=this;if(!0===s.options.fade&&(s.options.centerMode=!1),!0===s.options.infinite&&!1===s.options.fade&&(i=null,s.slideCount>s.options.slidesToShow)){for(o=!0===s.options.centerMode?s.options.slidesToShow+1:s.options.slidesToShow,t=s.slideCount;t>s.slideCount-o;t-=1)i=t-1,e(s.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i-s.slideCount).prependTo(s.$slideTrack).addClass("slick-cloned");for(t=0;o>t;t+=1)i=t,e(s.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i+s.slideCount).appendTo(s.$slideTrack).addClass("slick-cloned");s.$slideTrack.find(".slick-cloned").find("[id]").each((function(){e(this).attr("id","")}))}},t.prototype.interrupt=function(e){e||this.autoPlay(),this.interrupted=e},t.prototype.selectHandler=function(t){var i=this,o=e(t.target).is(".slick-slide")?e(t.target):e(t.target).parents(".slick-slide"),s=parseInt(o.attr("data-slick-index"));return s||(s=0),i.slideCount<=i.options.slidesToShow?(i.setSlideClasses(s),void i.asNavFor(s)):void i.slideHandler(s)},t.prototype.slideHandler=function(e,t,i){var o,s,n,a,r,l=null,c=this;return t=t||!1,!0===c.animating&&!0===c.options.waitForAnimate||!0===c.options.fade&&c.currentSlide===e||c.slideCount<=c.options.slidesToShow?void 0:(!1===t&&c.asNavFor(e),o=e,l=c.getLeft(o),a=c.getLeft(c.
1currentSlide),c.currentLeft=null===c.swipeLeft?a:c.swipeLeft,!1===c.options.infinite&&!1===c.options.centerMode&&(0>e||e>c.getDotCount()*c.options.slidesToScroll)||!1===c.options.infinite&&!0===c.options.centerMode&&(0>e||e>c.slideCount-c.options.slidesToScroll)?void(!1===c.options.fade&&(o=c.currentSlide,!0!==i?c.animateSlide(a,(function(){c.postSlide(o)})):c.postSlide(o))):(c.options.autoplay&&clearInterval(c.autoPlayTimer),s=0>o?c.slideCount%c.options.slidesToScroll!=0?c.slideCount-c.slideCount%c.options.slidesToScroll:c.slideCount+o:o>=c.slideCount?c.slideCount%c.options.slidesToScroll!=0?0:o-c.slideCount:o,c.animating=!0,c.$slider.trigger("beforeChange",[c,c.currentSlide,s]),n=c.currentSlide,c.currentSlide=s,c.setSlideClasses(c.currentSlide),c.options.asNavFor&&((r=(r=c.getNavTarget()).slick("getSlick")).slideCount<=r.options.slidesToShow&&r.setSlideClasses(c.currentSlide)),c.updateDots(),c.updateArrows(),!0===c.options.fade?(!0!==i?(c.fadeSlideOut(n),c.fadeSlide(s,(function(){c.postSlide(s)}))):c.postSlide(s),void c.animateHeight()):void(!0!==i?c.animateSlide(l,(function(){c.postSlide(s)})):c.postSlide(s))))},t.prototype.startLoad=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.hide(),e.$nextArrow.hide()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.hide(),e.$slider.addClass("slick-loading")},t.prototype.swipeDirection=function(){var e,t,i,o,s=this;return e=s.touchObject.startX-s.touchObject.curX,t=s.touchObject.startY-s.touchObject.curY,i=Math.atan2(t,e),0>(o=Math.round(180*i/Math.PI))&&(o=360-Math.abs(o)),45>=o&&o>=0||360>=o&&o>=315?!1===s.options.rtl?"left":"right":o>=135&&225>=o?!1===s.options.rtl?"right":"left":!0===s.options.verticalSwiping?o>=35&&135>=o?"down":"up":"vertical"},t.prototype.swipeEnd=function(e){var t,i,o=this;if(o.dragging=!1,o.interrupted=!1,o.shouldClick=!(o.touchObject.swipeLength>10),void 0===o.touchObject.curX)return!1;if(!0===o.touchObject.edgeHit&&o.$slider.trigger("edge",[o,o.swipeDirection()]),o.touchObject.swipeLength>=o.touchObject.minSwipe){switch(i=o.swipeDirection()){case"left":case"down":t=o.options.swipeToSlide?o.checkNavigable(o.currentSlide+o.getSlideCount()):o.currentSlide+o.getSlideCount(),o.currentDirection=0;break;case"right":case"up":t=o.options.swipeToSlide?o.checkNavigable(o.currentSlide-o.getSlideCount()):o.currentSlide-o.getSlideCount(),o.currentDirection=1}"vertical"!=i&&(o.slideHandler(t),o.touchObject={},o.$slider.trigger("swipe",[o,i]))}else o.touchObject.startX!==o.touchObject.curX&&(o.slideHandler(o.currentSlide),o.touchObject={})},t.prototype.swipeHandler=function(e){var t=this;if(!(!1===t.options.swipe||"ontouchend"in document&&!1===t.options.swipe||!1===t.options.draggable&&-1!==e.type.indexOf("mouse")))switch(t.touchObject.fingerCount=e.originalEvent&&void 0!==e.originalEvent.touches?e.originalEvent.touches.length:1,t.touchObject.minSwipe=t.listWidth/t.options.touchThreshold,!0===t.options.verticalSwiping&&(t.touchObject.minSwipe=t.listHeight/t.options.touchThreshold),e.data.action){case"start":t.swipeStart(e);break;case"move":t.swipeMove(e);break;case"end":t.swipeEnd(e)}},t.prototype.swipeMove=function(e){var t,i,o,s,n,a=this;return n=void 0!==e.originalEvent?e.originalEvent.touches:null,!(!a.dragging||n&&1!==n.length)&&(t=a.getLeft(a.currentSlide),a.touchObject.curX=void 0!==n?n[0].pageX:e.clientX,a.touchObject.curY=void 0!==n?n[0].pageY:e.clientY,a.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(a.touchObject.curX-a.touchObject.startX,2))),!0===a.options.verticalSwiping&&(a.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(a.touchObject.curY-a.touchObject.startY,2)))),"vertical"!==(i=a.swipeDirection())?(void 0!==e.originalEvent&&a.touchObject.swipeLength>4&&e.preventDefault(),s=(!1===a.options.rtl?1:-1)*(a.touchObject.curX>a.touchObject.startX?1:-1),!0===a.options.verticalSwiping&&(s=a.touchObject.curY>a.touchObject.startY?1:-1),o=a.touchObject.swipeLength,a.touchObject.edgeHit=!1,!1===a.options.infinite&&(0===a.currentSlide&&"right"===i||a.currentSlide>=a.getDotCount()&&"left"===i)&&(o=a.touchObject.swipeLength*a.options.edgeFriction,a.touchObject.edgeHit=!0),!1===a.options.vertical?a.swipeLeft=t+o*s:a.swipeLeft=t+o*(a.$list.height()/a.listWidth)*s,!0===a.options.verticalSwiping&&(a.swipeLeft=t+o*s),!0!==a.options.fade&&!1!==a.options.touchMove&&(!0===a.animating?(a.swipeLeft=null,!1):void a.setCSS(a.swipeLeft))):void 0)},t.prototype.swipeStart=function(e){var t,i=this;return i.interrupted=!0,1!==i.touchObject.fingerCount||i.slideCount<=i.options.slidesToShow?(i.touchObject={},!1):(void 0!==e.originalEvent&&void 0!==e.originalEvent.touches&&(t=e.originalEvent.touches[0]),i.touchObject.startX=i.touchObject.curX=void 0!==t?t.pageX:e.clientX,i.touchObject.startY=i.touchObject.curY=void 0!==t?t.pageY:e.clientY,void(i.dragging=!0))},t.prototype.unfilterSlides=t.prototype.slickUnfilter=function(){var e=this;null!==e.$slidesCache&&(e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.appendTo(e.$slideTrack),e.reinit())},t.prototype.unload=function(){var t=this;e(".slick-cloned",t.$slider).remove(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove(),t.$nextArrow&&t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove(),t.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")}
1,t.prototype.unslick=function(e){var t=this;t.$slider.trigger("unslick",[t,e]),t.destroy()},t.prototype.updateArrows=function(){var e=this;Math.floor(e.options.slidesToShow/2),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&!e.options.infinite&&(e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===e.currentSlide?(e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):(e.currentSlide>=e.slideCount-e.options.slidesToShow&&!1===e.options.centerMode||e.currentSlide>=e.slideCount-1&&!0===e.options.centerMode)&&(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},t.prototype.updateDots=function(){var e=this;null!==e.$dots&&(e.$dots.find("li").removeClass("slick-active").attr("aria-hidden","true"),e.$dots.find("li").eq(Math.floor(e.currentSlide/e.options.slidesToScroll)).addClass("slick-active").attr("aria-hidden","false"))},t.prototype.visibility=function(){var e=this;e.options.autoplay&&(document[e.hidden]?e.interrupted=!0:e.interrupted=!1)},e.fn.slick=function(){var e,i,o=this,s=arguments[0],n=Array.prototype.slice.call(arguments,1),a=o.length;for(e=0;a>e;e++)if("object"==typeof s||void 0===s?o[e].slick=new t(o[e],s):i=o[e].slick[s].apply(o[e].slick,n),void 0!==i)return i;return o}})),function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"undefined"!=typeof exports?module.exports=e(require("jquery")):e(jQuery)}((function(e){e.fn.SumoSelect=function(t){var o=e.extend({placeholder:"Select Here",csvDispCount:3,captionFormat:"{0} Selected",captionFormatAllSelected:"{0} all selected!",floatWidth:400,forceCustomRendering:!1,nativeOnDevice:["Android","BlackBerry","iPhone","iPad","iPod","Opera Mini","IEMobile","Silk"],outputAsCSV:!1,csvSepChar:",",okCancelInMulti:!1,isClickAwayOk:!1,triggerChangeCombined:!0,selectAll:!1,search:!1,searchText:"Search...",noMatch:'No matches for "{0}"',prefix:"",locale:["OK","Cancel","Select All"],up:!1,showTitle:!0},t),s=this.each((function(){var t=this;!this.sumo&&e(this).is("select")&&(this.sumo={E:e(t),is_multi:e(t).attr("multiple"),select:"",caption:"",placeholder:"",optDiv:"",CaptionCont:"",ul:"",is_floating:!1,is_opened:!1,mob:!1,Pstate:[],createElems:function(){var t=this;return t.E.wrap('<div class="SumoSelect" tabindex="0" role="button" aria-expanded="false">'),t.select=t.E.parent(),t.caption=e("<span>"),t.CaptionCont=e('<p class="CaptionCont SelectBox" ><label><svg class="icon"><use xlink:href="/local/templates/main/images/sprite.svg#icon-arrow-down"></use></svg></p>').attr("style",t.E.attr("style")).prepend(t.caption),t.select.append(t.CaptionCont),t.is_multi||(o.okCancelInMulti=!1),t.E.attr("disabled")&&t.select.addClass("disabled").removeAttr("tabindex"),o.outputAsCSV&&t.is_multi&&t.E.attr("name")&&(t.select.append(e('<input class="HEMANT123" type="hidden" />').attr("name",t.E.attr("name")).val(t.getSelStr())),t.E.removeAttr("name")),t.isMobile()&&!o.forceCustomRendering?void t.setNativeMobile():(t.E.attr("name")&&t.select.addClass("sumo_"+t.E.attr("name").replace(/\[\]/,"")),t.E.addClass("SumoUnder").attr("tabindex","-1"),t.optDiv=e('<div class="optWrapper '+(o.up?"up":"")+'">'),t.floatingList(),t.ul=e('<ul class="options">'),t.optDiv.append(t.ul),o.selectAll&&t.is_multi&&t.SelAll(),o.search&&t.Search(),t.ul.append(t.prepItems(t.E.children())),t.is_multi&&t.multiSelelect(),t.select.append(t.optDiv),t.basicEvents(),void t.selAllState())},prepItems:function(t,i){var o=[],s=this;return e(t).each((function(t,n){n=e(n),o.push(n.is("optgroup")?e('<li class="group '+(n[0].disabled?"disabled":"")+'"><label>'+n.attr("label")+"</label><ul></ul></li>").find("ul").append(s.prepItems(n.children(),n[0].disabled)).end():s.createLi(n,i))})),o},createLi:function(t,i){t.attr("value")||t.attr("value",t.val());var o=e('<li class="opt"><label>'+t.text()+"</label></li>");return o.data("opt",t),t.data("li",o),this.is_multi&&o.prepend("<span><i></i></span>"),(t[0].disabled||i)&&(o=o.addClass("disabled")),this.onOptClick(o),t[0].selected&&o.addClass("selected"),t.attr("class")&&o.addClass(t.attr("class")),t.attr("title")&&o.attr("title",t.attr("title")),o},getSelStr:function(){return sopt=[],this.E.find("option:selected").each((function(){sopt.push(e(this).val())})),sopt.join(o.csvSepChar)},multiSelelect:function(){var t=this;t.optDiv.addClass("multiple"),t.okbtn=e('<p tabindex="0" class="btnOk">'+o.locale[0]+"</p>").click((function(){t._okbtn(),t.hideOpts()})),t.cancelBtn=e('<p tabindex="0" class="btnCancel">'+o.locale[1]+"</p>").click((function(){t._cnbtn(),t.hideOpts()}));var i=t.okbtn.add(t.cancelBtn);
1t.optDiv.append(e('<div class="MultiControls">').append(i)),i.on("keydown.sumo",(function(i){var o=e(this);switch(i.which){case 32:case 13:o.trigger("click");break;case 9:if(o.hasClass("btnOk"))return;case 27:return t._cnbtn(),void t.hideOpts()}i.stopPropagation(),i.preventDefault()}))},_okbtn:function(){var e=this,t=0;o.triggerChangeCombined&&(e.E.find("option:selected").length!=e.Pstate.length?t=1:e.E.find("option").each((function(i,o){o.selected&&e.Pstate.indexOf(i)<0&&(t=1)})),t&&(e.callChange(),e.setText()))},_cnbtn:function(){var e=this;e.E.find("option:selected").each((function(){this.selected=!1})),e.optDiv.find("li.selected").removeClass("selected");for(var t=0;t<e.Pstate.length;t++)e.E.find("option")[e.Pstate[t]].selected=!0,e.ul.find("li.opt").eq(e.Pstate[t]).addClass("selected");e.selAllState()},SelAll:function(){var t=this;t.is_multi&&(t.selAll=e('<p class="select-all"><span><i></i></span><label>'+o.locale[2]+"</label></p>"),t.optDiv.addClass("selall"),t.selAll.on("click",(function(){t.selAll.toggleClass("selected"),t.toggSelAll(t.selAll.hasClass("selected"),1)})),t.optDiv.prepend(t.selAll))},Search:function(){var t=this,i=t.CaptionCont.addClass("search"),s=e('<p class="no-match">');t.ftxt=e('<input type="text" class="search-txt" value="" placeholder="'+o.searchText+'">').on("click",(function(e){e.stopPropagation()})),i.append(t.ftxt),t.optDiv.children("ul").after(s),t.ftxt.on("keyup.sumo",(function(){var i=t.optDiv.find("ul.options li.opt").each((function(i,o){var s=(o=e(o)).data("opt")[0];s.hidden=o.text().toLowerCase().indexOf(t.ftxt.val().toLowerCase())<0,o.toggleClass("hidden",s.hidden)})).not(".hidden");s.html(o.noMatch.replace(/\{0\}/g,"<em></em>")).toggle(!i.length),s.find("em").text(t.ftxt.val()),t.selAllState()}))},selAllState:function(){var t=this;if(o.selectAll&&t.is_multi){var i=0,s=0;t.optDiv.find("li.opt").not(".hidden").each((function(t,o){e(o).hasClass("selected")&&i++,e(o).hasClass("disabled")||s++})),i==s?t.selAll.removeClass("partial").addClass("selected"):0==i?t.selAll.removeClass("selected partial"):t.selAll.addClass("partial")}},showOpts:function(){var t=this;t.E.attr("disabled")||(t.E.trigger("sumo:opening",t),t.is_opened=!0,t.select.addClass("open").attr("aria-expanded","true"),t.E.trigger("sumo:opened",t),t.ftxt?t.ftxt.focus():t.select.focus(),e(document).on("click.sumo",(function(e){if(!t.select.is(e.target)&&0===t.select.has(e.target).length){if(!t.is_opened)return;t.hideOpts(),o.okCancelInMulti&&(o.isClickAwayOk?t._okbtn():t._cnbtn())}})),t.is_floating&&(H=t.optDiv.children("ul").outerHeight()+2,t.is_multi&&(H+=parseInt(t.optDiv.css("padding-bottom"))),t.optDiv.css("height",H),e("body").addClass("sumoStopScroll")),t.setPstate())},setPstate:function(){var e=this;e.is_multi&&(e.is_floating||o.okCancelInMulti)&&(e.Pstate=[],e.E.find("option").each((function(t,i){i.selected&&e.Pstate.push(t)})))},callChange:function(){this.E.trigger("change").trigger("click")},hideOpts:function(){var t=this;t.is_opened&&(t.E.trigger("sumo:closing",t),t.is_opened=!1,t.select.removeClass("open").attr("aria-expanded","true").find("ul li.sel").removeClass("sel"),t.E.trigger("sumo:closed",t),e(document).off("click.sumo"),t.select.focus(),e("body").removeClass("sumoStopScroll"),o.search&&(t.ftxt.val(""),t.ftxt.trigger("keyup.sumo")))},setOnOpen:function(){var e=this,t=e.optDiv.find("li.opt:not(.hidden)").eq(o.search?0:e.E[0].selectedIndex);t.hasClass("disabled")&&!(t=t.next(":not(disabled)")).length||(e.optDiv.find("li.sel").removeClass("sel"),t.addClass("sel"),e.showOpts())},nav:function(e){var t,i=this,o=i.ul.find("li.opt:not(.disabled, .hidden)"),s=i.ul.find("li.opt.sel:not(.hidden)"),n=o.index(s);if(i.is_opened&&s.length){if(e&&n>0)t=o.eq(n-1);else{if(!(!e&&n<o.length-1&&n>-1))return;t=o.eq(n+1)}s.removeClass("sel"),s=t.addClass("sel");var a=i.ul,r=a.scrollTop(),l=s.position().top+r;l>=r+a.height()-s.outerHeight()&&a.scrollTop(l-a.height()+s.outerHeight()),r>l&&a.scrollTop(l)}else i.setOnOpen()},basicEvents:function(){var t=this;t.CaptionCont.click((function(e){t.E.trigger("click"),t.is_opened?t.hideOpts():t.showOpts(),e.stopPropagation()}
1)),t.select.on("keydown.sumo",(function(e){switch(e.which){case 38:t.nav(!0);break;case 40:t.nav(!1);break;case 65:if(t.is_multi&&e.ctrlKey){t.toggSelAll(!e.shiftKey,1);break}return;case 32:if(o.search&&t.ftxt.is(e.target))return;case 13:t.is_opened?t.optDiv.find("ul li.sel").trigger("click"):t.setOnOpen();break;case 9:return void(o.okCancelInMulti||t.hideOpts());case 27:return o.okCancelInMulti&&t._cnbtn(),void t.hideOpts();default:return}e.preventDefault()})),e(window).on("resize.sumo",(function(){t.floatingList()}))},onOptClick:function(t){var i=this;t.click((function(){var t=e(this);t.hasClass("disabled")||(i.is_multi?(t.toggleClass("selected"),t.data("opt")[0].selected=t.hasClass("selected"),i.selAllState()):(t.parent().find("li.selected").removeClass("selected"),t.toggleClass("selected"),t.data("opt")[0].selected=!0),i.is_multi&&o.triggerChangeCombined&&(i.is_floating||o.okCancelInMulti)||(i.setText(),i.callChange()),i.is_multi||i.hideOpts())}))},setText:function(){var t=this;if(t.placeholder="",t.is_multi){for(sels=t.E.find(":selected").not(":disabled"),i=0;i<sels.length;i++){if(i+1>=o.csvDispCount&&o.csvDispCount){sels.length==t.E.find("option").length&&o.captionFormatAllSelected?t.placeholder=o.captionFormatAllSelected.replace(/\{0\}/g,sels.length)+",":t.placeholder=o.captionFormat.replace(/\{0\}/g,sels.length)+",";break}t.placeholder+=e(sels[i]).text()+", "}t.placeholder=t.placeholder.replace(/,([^,]*)$/,"$1")}else t.placeholder=t.E.find(":selected").not(":disabled").text();var s=!1;t.placeholder||(s=!0,t.placeholder=t.E.attr("placeholder"),t.placeholder||(t.placeholder=t.E.find("option:disabled:selected").text())),t.placeholder=t.placeholder?o.prefix+" "+t.placeholder:o.placeholder,t.caption.html(t.placeholder),o.showTitle&&t.CaptionCont.attr("title",t.placeholder);var n=t.select.find("input.HEMANT123");return n.length&&n.val(t.getSelStr()),s?t.caption.addClass("placeholder"):t.caption.removeClass("placeholder"),t.placeholder},isMobile:function(){for(var e=navigator.userAgent||navigator.vendor||window.opera,t=0;t<o.nativeOnDevice.length;t++)if(e.toString().toLowerCase().indexOf(o.nativeOnDevice[t].toLowerCase())>0)return o.nativeOnDevice[t];return!1},setNativeMobile:function(){var e=this;e.E.addClass("SelectClass"),e.mob=!0,e.E.change((function(){e.setText()}))},floatingList:function(){var t=this;t.is_floating=e(window).width()<=o.floatWidth,t.optDiv.toggleClass("isFloating",t.is_floating),t.is_floating||t.optDiv.css("height",""),t.optDiv.toggleClass("okCancelInMulti",o.okCancelInMulti&&!t.is_floating)},vRange:function(e){if(this.E.find("option").length<=e||0>e)throw"index out of bounds";return this},toggSel:function(t,i){var o,s=this;"number"==typeof i?(s.vRange(i),o=s.E.find("option")[i]):o=s.E.find('option[value="'+i+'"]')[0]||0,o&&!o.disabled&&o.selected!=t&&(o.selected=t,s.mob||e(o).data("li").toggleClass("selected",t),s.callChange(),s.setPstate(),s.setText(),s.selAllState())},toggDis:function(e,t){var i=this.vRange(t);i.E.find("option")[t].disabled=e,e&&(i.E.find("option")[t].selected=!1),i.mob||i.optDiv.find("ul.options li").eq(t).toggleClass("disabled",e).removeClass("selected"),i.setText()},toggSumo:function(e){var t=this;return t.enabled=e,t.select.toggleClass("disabled",e),e?(t.E.attr("disabled","disabled"),t.select.removeAttr("tabindex")):(t.E.removeAttr("disabled"),t.select.attr("tabindex","0")),t},toggSelAll:function(t,i){var o=this;o.E.find("option:not(:disabled,:hidden)").each((function(i,o){var s=o.selected;(o=e(o).data("li")).hasClass("hidden")||(t?s||o.trigger("click"):s&&o.trigger("click"))})),i||(!o.mob&&o.selAll&&o.selAll.removeClass("partial").toggleClass("selected",!!t),o.callChange(),o.setText(),o.setPstate())},reload:function(){var t=this.unload();return e(t).SumoSelect(o)},unload:function(){var e=this;return e.select.before(e.E),e.E.show(),o.outputAsCSV&&e.is_multi&&e.select.find("input.HEMANT123").length&&e.E.attr("name",e.select.find("input.HEMANT123").attr("name")),e.select.remove(),delete t.sumo,t},add:function(i,o,s){if(void 0===i)throw"No value to add";var n=this;if(opts=n.E.find("option"),"number"==typeof o&&(s=o,o=i),void 0===o&&(o=i),opt=e("<option></option>").val(i).html(o),opts.length<s)throw"index out of bounds";return void 0===s||opts.length==s?(n.E.append(opt),n.mob||n.ul.append(n.createLi(opt))):(opts.eq(s).before(opt),n.mob||n.ul.find("li.opt").eq(s).before(n.createLi(opt))),t},remove:function(e){var t=this.vRange(e);t.E.find("option").eq(e).remove(),t.mob||t.optDiv.find("ul.options li").eq(e).remove(),t.setText()},selectItem:function(e){this.toggSel(!0,e)},unSelectItem:function(e){this.toggSel(!1,e)},selectAll:function(){this.toggSelAll(!0)},unSelectAll:function(){this.toggSelAll(!1)},disableItem:function(e){this.toggDis(!0,e)},enableItem:function(e){this.toggDis(!1,e)},enabled:!0,enable:function(){return this.toggSumo(!1)},disable:function(){return this.toggSumo(!0)},init:function(){var e=this;return e.createElems(),e.setText(),e}},t.sumo.init())}));return 1==s.length?s[0]:s}})),function(){"use strict";if("undefined"!=typeof window){var e=window.navigator.userAgent.match(/Edge\/(\d{2})\./),t=e?parseInt(e[1],10):null,i=!!t&&16<=t&&t<=18;if("objectFit"in document.documentElement.style==0||i){var o=function(e,t,i){var o,s,n,a,r;if((i=i.split(" ")).length<2&&(i[1]=i[0]),"x"===e)o=i[0],s=i[1],n="left",a="right",r=t.clientWidth;else{if("y"!==e)return;o=i[1],s=i[0],n="top",a="bottom",r=t.clientHeight}
1if(o!==n&&s!==n){if(o!==a&&s!==a)return"center"===o||"50%"===o?(t.style[n]="50%",void(t.style["margin-"+n]=r/-2+"px")):void(0<=o.indexOf("%")?(o=parseInt(o,10))<50?(t.style[n]=o+"%",t.style["margin-"+n]=r*(o/-100)+"px"):(o=100-o,t.style[a]=o+"%",t.style["margin-"+a]=r*(o/-100)+"px"):t.style[n]=o);t.style[a]="0"}else t.style[n]="0"},s=function(e){var t=e.dataset?e.dataset.objectFit:e.getAttribute("data-object-fit"),i=e.dataset?e.dataset.objectPosition:e.getAttribute("data-object-position");t=t||"cover",i=i||"50% 50%";var s=e.parentNode;return function(e){var t=window.getComputedStyle(e,null),i=t.getPropertyValue("position"),o=t.getPropertyValue("overflow"),s=t.getPropertyValue("display");i&&"static"!==i||(e.style.position="relative"),"hidden"!==o&&(e.style.overflow="hidden"),s&&"inline"!==s||(e.style.display="block"),0===e.clientHeight&&(e.style.height="100%"),-1===e.className.indexOf("object-fit-polyfill")&&(e.className=e.className+" object-fit-polyfill")}(s),function(e){var t=window.getComputedStyle(e,null),i={"max-width":"none","max-height":"none","min-width":"0px","min-height":"0px",top:"auto",right:"auto",bottom:"auto",left:"auto","margin-top":"0px","margin-right":"0px","margin-bottom":"0px","margin-left":"0px"};for(var o in i)t.getPropertyValue(o)!==i[o]&&(e.style[o]=i[o])}(e),e.style.position="absolute",e.style.width="auto",e.style.height="auto","scale-down"===t&&(t=e.clientWidth<s.clientWidth&&e.clientHeight<s.clientHeight?"none":"contain"),"none"===t?(o("x",e,i),void o("y",e,i)):"fill"===t?(e.style.width="100%",e.style.height="100%",o("x",e,i),void o("y",e,i)):(e.style.height="100%",void("cover"===t&&e.clientWidth>s.clientWidth||"contain"===t&&e.clientWidth<s.clientWidth?(e.style.top="0",e.style.marginTop="0",o("x",e,i)):(e.style.width="100%",e.style.height="auto",e.style.left="0",e.style.marginLeft="0",o("y",e,i))))},n=function(e){if(void 0===e||e instanceof Event)e=document.querySelectorAll("[data-object-fit]");else if(e&&e.nodeName)e=[e];else{if("object"!=typeof e||!e.length||!e[0].nodeName)return!1;e=e}for(var t=0;t<e.length;t++)if(e[t].nodeName){var o=e[t].nodeName.toLowerCase();if("img"===o){if(i)continue;e[t].complete?s(e[t]):e[t].addEventListener("load",(function(){s(this)}))}else"video"===o?0<e[t].readyState?s(e[t]):e[t].addEventListener("loadedmetadata",(function(){s(this)})):s(e[t])}return!0};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",n):n(),window.addEventListener("resize",n),window.objectFitPolyfill=n}else window.objectFitPolyfill=function(){return!1}}}(),function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.scrollLock=t():e.scrollLock=t()}(window,(function(){return function(e){var t={};function i(o){if(t[o])return t[o].exports;var s=t[o]={i:o,l:!1,exports:{}};return e[o].call(s.exports,s,s.exports,i),s.l=!0,s.exports}return i.m=e,i.c=t,i.d=function(e,t,o){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)i.d(o,s,function(t){return e[t]}.bind(null,s));return o},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=0)}([function(e,t,i){"use strict";i.r(t);var o=function(e){return Array.isArray(e)?e:[e]},s=function(e){return e instanceof Node},n=function(e,t){if(e&&t){e=e instanceof NodeList?e:[e];for(var i=0;i<e.length&&!0!==t(e[i],i,e.length);i++);}},a=function(e){return console.error("[scroll-lock] ".concat(e))},r=function(e){if(Array.isArray(e))return e.join(", ")},l=function(e){var t=[];return n(e,(function(e){return t.push(e)})),t},c=function(e,t){var i=!(2<arguments.length&&void 0!==arguments[2])||arguments[2],o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:document;if(i&&-1!==l(o.querySelectorAll(t)).indexOf(e))return e;for(;(e=e.parentElement)&&-1===l(o.querySelectorAll(t)).indexOf(e););return e},d=function(e,t){var i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document;return-1!==l(i.querySelectorAll(t)).indexOf(e)},u=function(e){if(e)return"hidden"===getComputedStyle(e).overflow},p=function(e){if(e)return!!u(e)||e.scrollTop<=0},h=function(e){if(e){if(u(e))return!0;var t=e.scrollTop;return e.scrollHeight<=t+e.offsetHeight}},f=function(e){if(e)return!!u(e)||e.scrollLeft<=0},g=function(e){if(e){if(u(e))return!0;var t=e.scrollLeft;return e.scrollWidth<=t+e.offsetWidth}};i.d(t,"disablePageScroll",(function(){return b})),i.d(t,"enablePageScroll",(function(){return y}
1)),i.d(t,"getScrollState",(function(){return w})),i.d(t,"clearQueueScrollLocks",(function(){return x})),i.d(t,"getTargetScrollBarWidth",(function(){return k})),i.d(t,"getCurrentTargetScrollBarWidth",(function(){return S})),i.d(t,"getPageScrollBarWidth",(function(){return C})),i.d(t,"getCurrentPageScrollBarWidth",(function(){return T})),i.d(t,"addScrollableTarget",(function(){return $})),i.d(t,"removeScrollableTarget",(function(){return D})),i.d(t,"addScrollableSelector",(function(){return _})),i.d(t,"removeScrollableSelector",(function(){return P})),i.d(t,"addLockableTarget",(function(){return M})),i.d(t,"addLockableSelector",(function(){return E})),i.d(t,"setFillGapMethod",(function(){return A})),i.d(t,"addFillGapTarget",(function(){return L})),i.d(t,"removeFillGapTarget",(function(){return F})),i.d(t,"addFillGapSelector",(function(){return O})),i.d(t,"removeFillGapSelector",(function(){return H})),i.d(t,"refillGaps",(function(){return I}));var m=["padding","margin","width","max-width","none"],v={scroll:!0,queue:0,scrollableSelectors:["[data-scroll-lock-scrollable]"],lockableSelectors:["body","[data-scroll-lock-lockable]"],fillGapSelectors:["body","[data-scroll-lock-fill-gap]","[data-scroll-lock-lockable]"],fillGapMethod:m[0],startTouchY:0,startTouchX:0},b=function(e){v.queue<=0&&(v.scroll=!1,z(),B()),$(e),v.queue++},y=function(e){0<v.queue&&v.queue--,v.queue<=0&&(v.scroll=!0,R(),q()),D(e)},w=function(){return v.scroll},x=function(){v.queue=0},k=function(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1];if(s(e)){var i=e.style.overflowY;t?w()||(e.style.overflowY=e.dataset.scrollLockSavedOverflowYProperty):e.style.overflowY="scroll";var o=S(e);return e.style.overflowY=i,o}return 0},S=function(e){if(s(e)){if(e===document.body){var t=document.documentElement.clientWidth;return window.innerWidth-t}var i=e.style.borderLeftWidth,o=e.style.borderRightWidth;e.style.borderLeftWidth="0px",e.style.borderRightWidth="0px";var n=e.offsetWidth-e.clientWidth;return e.style.borderLeftWidth=i,e.style.borderRightWidth=o,n}return 0},C=function(){var e=0<arguments.length&&void 0!==arguments[0]&&arguments[0];return k(document.body,e)},T=function(){return S(document.body)},$=function(e){e&&o(e).map((function(e){n(e,(function(e){s(e)?e.dataset.scrollLockScrollable="":a('"'.concat(e,'" is not a Element.'))}))}))},D=function(e){e&&o(e).map((function(e){n(e,(function(e){s(e)?delete e.dataset.scrollLockScrollable:a('"'.concat(e,'" is not a Element.'))}))}))},_=function(e){e&&o(e).map((function(e){v.scrollableSelectors.push(e)}))},P=function(e){e&&o(e).map((function(e){v.scrollableSelectors=v.scrollableSelectors.filter((function(t){return t!==e}))}))},M=function(e){e&&(o(e).map((function(e){n(e,(function(e){s(e)?e.dataset.scrollLockLockable="":a('"'.concat(e,'" is not a Element.'))}))})),w()||z())},E=function(e){e&&(o(e).map((function(e){v.lockableSelectors.push(e)})),w()||z(),O(e))},A=function(e){if(e)if(-1!==m.indexOf(e))v.fillGapMethod=e,I();else{var t=m.join(", ");a('"'.concat(e,'" method is not available!\nAvailable fill gap methods: ').concat(t,"."))}},L=function(e){e&&o(e).map((function(e){n(e,(function(e){s(e)?(e.dataset.scrollLockFillGap="",v.scroll||U(e)):a('"'.concat(e,'" is not a Element.'))}))}))},F=function(e){e&&o(e).map((function(e){n(e,(function(e){s(e)?(delete e.dataset.scrollLockFillGap,v.scroll||G(e)):a('"'.concat(e,'" is not a Element.'))}))}))},O=function(e){e&&o(e).map((function(e){v.fillGapSelectors.push(e),v.scroll||V(e)}))},H=function(e){e&&o(e).map((function(e){v.fillGapSelectors=v.fillGapSelectors.filter((function(t){return t!==e})),v.scroll||X(e)}))},I=function(){v.scroll||B()},z=function(){var e=r(v.lockableSelectors);j(e)},R=function(){var e=r(v.lockableSelectors);N(e)},j=function(e){var t=document.querySelectorAll(e);n(t,(function(e){W(e)}))},N=function(e){var t=document.querySelectorAll(e);n(t,(function(e){Y(e)}))},W=function(e){if(s(e)&&"true"!==e.dataset.scrollLockLocked){var t=window.getComputedStyle(e);e.dataset.scrollLockSavedOverflowYProperty=t.overflowY,e.dataset.scrollLockSavedInlineOverflowProperty=e.style.overflow,e.dataset.scrollLockSavedInlineOverflowYProperty=e.style.overflowY,e.style.overflow="hidden",e.dataset.scrollLockLocked="true"}},Y=function(e){s(e)&&"true"===e.dataset.scrollLockLocked&&(e.style.overflow=e.dataset.scrollLockSavedInlineOverflowProperty,e.style.overflowY=e.dataset.scrollLockSavedInlineOverflowYProperty,delete e.dataset.scrollLockSavedOverflowYProperty,delete e.dataset.scrollLockSavedInlineOverflowProperty,delete e.dataset.scrollLockSavedInlineOverflowYProperty,delete e.dataset.scrollLockLocked)},B=function(){v.fillGapSelectors.map((function(e){V(e)}))},q=function(){v.fillGapSelectors.map((function(e){X(e)}))},V=function(e){var t=document.querySelectorAll(e),i=-1!==v.lockableSelectors.indexOf(e);n(t,(function(e){U(e,i)}))},U=function(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1];if(s(e)){var i;if(""===e.dataset.scrollLockLockable||t)i=k(e,!0);else{var o=c(e,r(v.lockableSelectors));i=k(o,!0)}"true"===e.dataset.scrollLockFilledGap&&G(e);var n=window.getComputedStyle(e);
1if(e.dataset.scrollLockFilledGap="true",e.dataset.scrollLockCurrentFillGapMethod=v.fillGapMethod,"margin"===v.fillGapMethod){var a=parseFloat(n.marginRight);e.style.marginRight="".concat(a+i,"px")}else if("width"===v.fillGapMethod)e.style.width="calc(100% - ".concat(i,"px)");else if("max-width"===v.fillGapMethod)e.style.maxWidth="calc(100% - ".concat(i,"px)");else if("padding"===v.fillGapMethod){var l=parseFloat(n.paddingRight);e.style.paddingRight="".concat(l+i,"px")}}},X=function(e){var t=document.querySelectorAll(e);n(t,(function(e){G(e)}))},G=function(e){if(s(e)&&"true"===e.dataset.scrollLockFilledGap){var t=e.dataset.scrollLockCurrentFillGapMethod;delete e.dataset.scrollLockFilledGap,delete e.dataset.scrollLockCurrentFillGapMethod,"margin"===t?e.style.marginRight="":"width"===t?e.style.width="":"max-width"===t?e.style.maxWidth="":"padding"===t&&(e.style.paddingRight="")}};window.addEventListener("resize",(function(e){I()})),document.addEventListener("touchstart",(function(e){v.scroll||(v.startTouchY=e.touches[0].clientY,v.startTouchX=e.touches[0].clientX)})),document.addEventListener("touchmove",(function(e){if(!v.scroll){var t=v.startTouchY,i=v.startTouchX,o=e.touches[0].clientY,s=e.touches[0].clientX;if(e.touches.length<2){var n=r(v.scrollableSelectors),a=t<o,l=o<t,u=i<s,m=s<i,b=t+3<o,y=o<t-3,w=i+3<s,x=s<i-3;!function t(i){var o=1<arguments.length&&void 0!==arguments[1]&&arguments[1];if(i){var s=c(i,n,!1);if(o||d(i,'textarea, [contenteditable="true"]')&&c(i,n)||d(i,n)){var r=!1;f(i)&&g(i)?(a&&p(i)||l&&h(i))&&(r=!0):p(i)&&h(i)?(u&&f(i)||m&&g(i))&&(r=!0):(b&&p(i)||y&&h(i)||w&&f(i)||x&&g(i))&&(r=!0),r&&(s?t(s,!0):e.preventDefault())}else t(s)}else e.preventDefault()}(e.target)}}}),{passive:!1}),document.addEventListener("touchend",(function(e){v.scroll||(v.startTouchY=0,v.startTouchX=0)}));var K={hide:function(e){a('"hide" is deprecated! Use "disablePageScroll" instead. \n https://github.com/FL3NKEY/scroll-lock#disablepagescrollscrollabletarget'),b(e)},show:function(e){a('"show" is deprecated! Use "enablePageScroll" instead. \n https://github.com/FL3NKEY/scroll-lock#enablepagescrollscrollabletarget'),y(e)},toggle:function(e){a('"toggle" is deprecated! Do not use it.'),w()?b():y(e)},getState:function(){return a('"getState" is deprecated! Use "getScrollState" instead. \n https://github.com/FL3NKEY/scroll-lock#getscrollstate'),w()},getWidth:function(){return a('"getWidth" is deprecated! Use "getPageScrollBarWidth" instead. \n https://github.com/FL3NKEY/scroll-lock#getpagescrollbarwidth'),C()},getCurrentWidth:function(){return a('"getCurrentWidth" is deprecated! Use "getCurrentPageScrollBarWidth" instead. \n https://github.com/FL3NKEY/scroll-lock#getcurrentpagescrollbarwidth'),T()},setScrollableTargets:function(e){a('"setScrollableTargets" is deprecated! Use "addScrollableTarget" instead. \n https://github.com/FL3NKEY/scroll-lock#addscrollabletargetscrollabletarget'),$(e)},setFillGapSelectors:function(e){a('"setFillGapSelectors" is deprecated! Use "addFillGapSelector" instead. \n https://github.com/FL3NKEY/scroll-lock#addfillgapselectorfillgapselector'),O(e)},setFillGapTargets:function(e){a('"setFillGapTargets" is deprecated! Use "addFillGapTarget" instead. \n https://github.com/FL3NKEY/scroll-lock#addfillgaptargetfillgaptarget'),L(e)},clearQueue:function(){a('"clearQueue" is deprecated! Use "clearQueueScrollLocks" instead. \n https://github.com/FL3NKEY/scroll-lock#clearqueuescrolllocks'),x()}},Z=function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},o=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(i).filter((function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable})))),o.forEach((function(t){var o,s,n;o=e,n=i[s=t],s in o?Object.defineProperty(o,s,{value:n,enumerable:!0,configurable:!0,writable:!0}):o[s]=n}))}return e}({disablePageScroll:b,enablePageScroll:y,getScrollState:w,clearQueueScrollLocks:x,getTargetScrollBarWidth:k,getCurrentTargetScrollBarWidth:S,getPageScrollBarWidth:C,getCurrentPageScrollBarWidth:T,addScrollableSelector:_,removeScrollableSelector:P,addScrollableTarget:$,removeScrollableTarget:D,addLockableSelector:E,addLockableTarget:M,addFillGapSelector:O,removeFillGapSelector:H,addFillGapTarget:L,removeFillGapTarget:F,setFillGapMethod:A,refillGaps:I,_state:v},K);t.default=Z}]).default})),function(e,t){"function"==typeof define&&define.amd?define([],(function(){return e.svg4everybody=t()})):"object"==typeof exports?module.exports=t():e.svg4everybody=t()}(this,(function(){
2    /*! svg4everybody v2.0.3 | github.com/jonathantneal/svg4everybody */
3    function e(e,t){if(t){var i=document.createDocumentFragment(),o=!e.getAttribute("viewBox")&&t.getAttribute("viewBox");o&&e.setAttribute("viewBox",o);for(var s=t.cloneNode(!0);s.childNodes.length;)i.appendChild(s.firstChild);e.appendChild(i)}}function t(t){t.onreadystatechange=function(){if(4===t.readyState){var i=t._cachedDocument;i||((i=t._cachedDocument=document.implementation.createHTMLDocument("")).body.innerHTML=t.responseText,t._cachedTarget={}),t._embeds.splice(0).map((function(o){var s=t._cachedTarget[o.id];s||(s=t._cachedTarget[o.id]=i.getElementById(o.id)),e(o.svg,s)}))}},t.onreadystatechange()}return function(i){var o,s=Object(i);o="polyfill"in s?s.polyfill:/\bTrident\/[567]\b|\bMSIE (?:9|10)\.0\b/.test(navigator.userAgent)||(navigator.userAgent.match(/\bEdge\/12\.(\d+)\b/)||[])[1]<10547||(navigator.userAgent.match(/\bAppleWebKit\/(\d+)\b/)||[])[1]<537;var n={},a=window.requestAnimationFrame||setTimeout,r=document.getElementsByTagName("use");o&&function i(){for(var l=0;l<r.length;){var c=r[l],d=c.parentNode;
3if(d&&/svg/i.test(d.nodeName)){var u=c.getAttribute("xlink:href");if(o&&(!s.validate||s.validate(u,d,c))){d.removeChild(c);var p=u.split("#"),h=p.shift(),f=p.join("#");if(h.length){var g=n[h];g||((g=n[h]=new XMLHttpRequest).open("GET",h),g.send(),g._embeds=[]),g._embeds.push({svg:d,id:f}),t(g)}else e(d,document.getElementById(f))}}else++l}a(i,67)}()}})),function(){var e,t,i,o,s,n,a,r,l,c;t=window.device,e={},window.device=e,o=window.document.documentElement,c=window.navigator.userAgent.toLowerCase(),e.ios=function(){return e.iphone()||e.ipod()||e.ipad()},e.iphone=function(){return!e.windows()&&s("iphone")},e.ipod=function(){return s("ipod")},e.ipad=function(){return s("ipad")},e.android=function(){return!e.windows()&&s("android")},e.androidPhone=function(){return e.android()&&s("mobile")},e.androidTablet=function(){return e.android()&&!s("mobile")},e.blackberry=function(){return s("blackberry")||s("bb10")||s("rim")},e.blackberryPhone=function(){return e.blackberry()&&!s("tablet")},e.blackberryTablet=function(){return e.blackberry()&&s("tablet")},e.windows=function(){return s("windows")},e.windowsPhone=function(){return e.windows()&&s("phone")},e.windowsTablet=function(){return e.windows()&&s("touch")&&!e.windowsPhone()},e.fxos=function(){return(s("(mobile;")||s("(tablet;"))&&s("; rv:")},e.fxosPhone=function(){return e.fxos()&&s("mobile")},e.fxosTablet=function(){return e.fxos()&&s("tablet")},e.meego=function(){return s("meego")},e.cordova=function(){return window.cordova&&"file:"===location.protocol},e.nodeWebkit=function(){return"object"==typeof window.process},e.mobile=function(){return e.androidPhone()||e.iphone()||e.ipod()||e.windowsPhone()||e.blackberryPhone()||e.fxosPhone()||e.meego()},e.tablet=function(){return e.ipad()||e.androidTablet()||e.blackberryTablet()||e.windowsTablet()||e.fxosTablet()},e.desktop=function(){return!e.tablet()&&!e.mobile()},e.television=function(){var e;for(television=["googletv","viera","smarttv","internet.tv","netcast","nettv","appletv","boxee","kylo","roku","dlnadoc","roku","pov_tv","hbbtv","ce-html"],e=0;e<television.length;){if(s(television[e]))return!0;e++}return!1},e.portrait=function(){return window.innerHeight/window.innerWidth>1},e.landscape=function(){return window.innerHeight/window.innerWidth<1},e.noConflict=function(){return window.device=t,this},s=function(e){return-1!==c.indexOf(e)},a=function(e){var t;return t=new RegExp(e,"i"),o.className.match(t)},i=function(e){var t=null;a(e)||(t=o.className.replace(/^\s+|\s+$/g,""),o.className=t+" "+e)},l=function(e){a(e)&&(o.className=o.className.replace(" "+e,""))},e.ios()?e.ipad()?i("ios ipad tablet"):e.iphone()?i("ios iphone mobile"):e.ipod()&&i("ios ipod mobile"):e.android()?e.androidTablet()?i("android tablet"):i("android mobile"):e.blackberry()?e.blackberryTablet()?i("blackberry tablet"):i("blackberry mobile"):e.windows()?e.windowsTablet()?i("windows tablet"):e.windowsPhone()?i("windows mobile"):i("desktop"):e.fxos()?e.fxosTablet()?i("fxos tablet"):i("fxos mobile"):e.meego()?i("meego mobile"):e.nodeWebkit()?i("node-webkit"):e.television()?i("television"):e.desktop()&&i("desktop"),e.cordova()&&i("cordova"),n=function(){e.landscape()?(l("portrait"),i("landscape")):(l("landscape"),i("portrait"))},r=Object.prototype.hasOwnProperty.call(window,"onorientationchange")?"orientationchange":"resize",window.addEventListener?window.addEventListener(r,n,!1):window.attachEvent?window.attachEvent(r,n):window[r]=n,n(),"function"==typeof define&&"object"==typeof define.amd&&define.amd?define((function(){return e})):"undefined"!=typeof module&&module.exports?module.exports=e:window.device=e}.call(this),$((function(){const e=$("html").attr("lang"),t={searchText:"Поиск...",noMatch:'Ничего не найдено "{0}"',locale:["OK","Отмена","Выбрать все"],placeholder:"Выберите из списка",captionFormat:"{0} Выбрано",captionFormatAllSelected:"{0} Все выбраны!",langDates:{days:["Воскресенье","Понедельник","Вторник","Среда","Четверг","Пятница","Суббота"],daysShort:["Вос","Пон","Вто","Сре","Чет","Пят","Суб"],daysMin:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],months:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],monthsShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],today:"Сегодня",clear:"Очистить",dateFormat:"dd.mm.yyyy",timeFormat:"hh:ii",firstDay:1},fancybox:{CLOSE:"Закрыть",NEXT:"Дальше",PREV:"Назад",ERROR:"Запрошенный контент не может быть загружен. <br/> Попробуйте позже.",PLAY_START:"Начать слайдшоу",P
3LAY_STOP:"Остановить слайдшоу",FULL_SCREEN:"Полный экран",THUMBS:"Плиткой",DOWNLOAD:"Скачать",SHARE:"Поделиться",ZOOM:"Увеличить"}},i={searchText:"Search...",noMatch:'No matches for "{0}"',locale:["OK","Cancel","Select All"],placeholder:"Select Here",captionFormat:"{0} Selected",captionFormatAllSelected:"{0} all selected!",langDates:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Su","Mo","Tu","We","Th","Fr","Sa"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",dateFormat:"dd.mm.yyyy",timeFormat:"hh:ii",firstDay:1},fancybox:{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",DOWNLOAD:"Download",SHARE:"Share",ZOOM:"Zoom"}},o={searchText:"Popędzać...",noMatch:'Brak dopasowań dla "{0}"',locale:["OK","Anuluj","Zaznacz wszystko"],placeholder:"Wybierz tutaj",captionFormat:"{0} Wybrany",captionFormatAllSelected:"{0} wszystkie wybrane!",langDates:{days:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"],daysShort:["Ndz","Pon","Wt","Śr","Czw","Pt","Sob"],daysMin:["Nd","Pn","Wt","Śr","Cz","Pt","So"],months:["Styczeń","Luty","Marsz","Kwiecień","Może","Czerwiec","Lipiec","Sierpień","Wrzesień","Październik","Listopad","Grudzień"],monthsShort:["Sty","Lut","Mar","Kwi","Maj","Cze","Lip","Sie","Wrz","Paź","Lis","Gru"],today:"Dzisiaj",clear:"Jasny",dateFormat:"dd.mm.yyyy",timeFormat:"hh:ii",firstDay:1},fancybox:{CLOSE:"Blisko",NEXT:"Kolejny",PREV:"Poprzedni",ERROR:"Nie można załadować żądanej treści. <br/> Spróbuj ponownie później.",PLAY_START:"Rozpocznij pokaz slajdów",PLAY_STOP:"Wstrzymaj pokaz slajdów",FULL_SCREEN:"Pełny ekran",THUMBS:"Miniatury",DOWNLOAD:"Ściągnij",SHARE:"Dzielić",ZOOM:"Powiększenie"}},s={searchText:"Suche...",noMatch:'Nichts gefunden "{0}"',locale:["OK","Stornierung","Alles auswählen"],placeholder:"Wählen Sie aus der Liste",captionFormat:"{0} Ausgewählt",captionFormatAllSelected:"{0} Alle ausgewählt\n!",langDates:{days:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],daysShort:["So","Mo","Di","Mi","Do","Fr","Sa"],daysMin:["So","Mo","Di","Mi","Do","Fr","Sa"],months:["Jänner","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthsShort:["Jän","Feb","März","Apr","Mai","Juni","Juli","Aug","Sep","Okt","Nov","Dez"],today:"Heute",clear:"klar",dateFormat:"dd.mm.yyyy",timeFormat:"hh:ii",firstDay:1},fancybox:{CLOSE:"Schließen",NEXT:"Weiter",PREV:"zurück",ERROR:"Der angeforderte Inhalt konnte nicht geladen werden.<br/> Versuche es später.",PLAY_START:"Diaschau beginnen",PLAY_STOP:"Diashow stoppen",FULL_SCREEN:"Vollbild",THUMBS:"Fliesen",DOWNLOAD:"Herunterladen",SHARE:"Teile das",ZOOM:"Vergrößern"}},n={searchText:"Vyhledávání...",noMatch:'Nic nalezeno "{0}"',locale:["OK","Zrušení","Vyberte vše"],placeholder:"Vyberte ze seznamu",captionFormat:"{0} Vybraný",captionFormatAllSelected:"{0} Všechny vybrané!",langDates:{days:["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"],daysShort:["ne","po","út","st","čt","pá","so"],daysMin:["ne","po","út","st","čt","pá","so"],months:["leden","Únor","březen","duben","Smět","červen","červenec","srpen","září","říjen","listopad","prosinec"],monthsShort:["led","úno","bře","dub","kvě","čvn","čvc","srp","zář","říj","lis","pro"],today:"Dnes",clear:"Průhledná",dateFormat:"dd.mm.yyyy",timeFormat:"hh:ii",firstDay:1},fancybox:{CLOSE:"Zavřít",NEXT:"Dále",PREV:"Zpět k",ERROR:"Požadovaný obsah nelze načíst.<br/> Zkuste to později.",PLAY_START:"Spustit prezentaci",PLAY_STOP:"Zastavit prezentaci",FULL_SCREEN:"Celá obrazovka",THUMBS:"Dlaždice",DOWNLOAD:"Stažení",SHARE:"Sdílejte to",ZOOM:"Zvětšit"}};let a,r;switch(e){case"ru":a=t,r={ru:a.fancybox};break;case"pl":a=o,r={pl:a.fancybox};break;case"cs":a=n,r={cs:a.fancybox};break;case"de":a=s,r={de:a.fancybox};break;default:a=i,r={en:a.fancybox}}if(!0===device.mobile()||!0===device.tablet()){function l(){document.documentElement.style.setProperty("--vh",window.innerHeight/100+"px")}window.addEventListener("resize",(function(){l()})),window.addEventListener("orientationchange",(function(){l()})),setTimeout(l,50)}objectFitPolyfill($(".expert-article__img img"));const c="/local/templates/main/images/",d={prevArrow:'<button type="button" class="slider-prev"><svg class="icon"><use xlink:href="'+c+'sprite.svg#icon-slider-prev"></use></svg></button>',nextArrow:'<button type="button" class="slider-next"><svg class="icon"><use xlink:href="'+c+'sprite.svg#icon-slider-next"></use></svg></button>'},u={win:$(window),body:$("body"),nav:$(".nav"),mainNotIndex:$(".main:not(.main_index)"),header:$(".header"),footer:$(".footer"),btnMenu:$(".js-toggle-menu"),mSlider:$(".main__slider"),certificates:$(".certificates"),shadowMenu:$(".nav-shadow"),sliderMedia:$(".slider-media"),scrollableElement:document.querySelector(".menu"),eventMenu:function(){let e=u.win.width();u.nav.toggleClass("nav_open"),u.btnMenu.toggleClass("toggle-menu_active"),u.shadowMenu.toggleClass("nav-shadow_active"),u.nav.hasClass("nav_open")&&e<1200?scrollLock.disablePageScroll(u.scrollableElement):scrollLock.enablePageScroll(u.scrollableElement)},selectSearch:function(){$(".my-select:not(.my-select_no-search)").SumoSelect({search:!0,placeholder:a.placeholder,searchText:a.searchText,noMatch:a.noMatch,locale:a.locale,captionFormat:a.captionFormat,captionFormatAllSelected:a.captionFormatAllSelected})},selectNoSearch:function(){$(".my-select_no-search").SumoSelect({search:!1,placeholder:a.placeholder,searchText:a.searchText,noMatch:a.noMatch,locale:a.locale,captionFormat:a.captionFormat,captionFormatAllSelected:a.captionFormatAllSelected})}};let p;svg4everybody(),$(".text table").wrap('<div class="table-wrp"></div>'),u.btnMenu.on("click",(function(){u.eventMenu()})),u.shadowMenu.on("click",(function(){u.eventMenu()})),u.body.on("click",".menu__link-wrp",(function(e){u.win.width()<1260&&"A"!==e.target.tagName&&(e.preventDefault(),$(this).hasClass("show-submenu")?$(".menu__link-wrp").removeClass("show-submenu").stop(!0).next(".submenu").slideUp():($(".menu__link-wrp").removeClass("show-submenu").stop(!0).next(".submenu").slideUp(),$(this).addClass("show-submenu").stop(!0).next(".submenu").slideDown()))})),u.win.resize((function(){let e=u.footer.outerHeight(),t=u.win.width(),i=u.header.outerHeight(),o=u.win.scrollTop();t<=1260?$(".main:not(.main_index)").css("padding-top",i):o<i&&$(".main:not(.main_index)").removeAttr("style"),$(".footer-margin").css("height",e),u.footer.css("margin-top",-e),$(".submenu").each((function(){let e=$(this),i=e.closest(".menu__item").offset().left+e.outerWidth();t<i?e.addClass("submenu_revers"):e.removeClass("submenu_revers")}))}
3)),u.win.resize(),u.win.scroll((function(){let e=u.win.scrollTop(),t=u.win.width();u.header.hasClass("header_fixed")||(p=u.header.outerHeight()),e>=p?u.header.hasClass("header_fixed")||(u.mainNotIndex.css("padding-top",p),u.header.addClass("header_fixed").find(".header__bottom").addClass("compensate-for-scrollbar").css("top",-p).animate({top:"0"},500)):(t>=1260&&u.mainNotIndex.removeAttr("style"),u.header.removeClass("header_fixed").find(".header__bottom").removeClass("compensate-for-scrollbar")),$(this).scrollTop()>$(this).height()?$(".js-up").addClass("js-up_show"):$(".js-up").removeClass("js-up_show")})),u.win.scroll(),$(".js-up").on("click",(function(){$("body,html").animate({scrollTop:0},700)})),u.body.on("click",".js-accordion__ttl",(function(){let e=$(this);e.closest(".js-accordion__item"),e.toggleClass("js-accordion__ttl_active").next(".js-accordion__info").stop(!0).slideToggle()})),u.body.on("click",".js-show-lang",(function(){$(this).toggleClass("lang_active").next(".lang-all").toggleClass("lang-all_show")})),$(document).on("click",(function(e){$(e.target).closest(".lang-wrp").length||($(".js-show-lang").removeClass("lang_active").next(".lang-all").removeClass("lang-all_show"),e.stopPropagation())}));var h=u.mSlider.closest(".main__slider-wrapper"),f=u.mSlider.find(".main__slider-item").length;function g(e,t){let i=0,o=t||!1,s=$(e),n=s.data("ajax"),a=(s.find(".inputfile")[0],s.find(".inputfile").attr("data-size"),s.find('input[type="email"].chk')),r=a.val();var l;if(s.find(".err_mess,.complete").remove(),s.find(".chk").each((function(){let e=$(this);e.val()?(e.removeClass("err"),e.next(".selected").removeClass("err")):(e.is(":hidden")&&e.next(".selected").addClass("err"),e.addClass("err"),i=1)})),a.length&&(l=r,new RegExp(/^(("[\w-\s]+")|([\w-]+(?:\.[\w-]+)*)|("[\w-\s]+")([\w-]+(?:\.[\w-]+)*))(@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$)|(@\[?((25[0-5]\.|2[0-4][0-9]\.|1[0-9]{2}\.|[0-9]{1,2}\.))((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\.){2}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\]?$)/i).test(l)?a.removeClass("err"):(a.addClass("err"),i=1)),0===i){if(void 0!==n){s.find("[type=submit]").prop("disabled",!0);let e=new FormData(s.get(0));return 0!=o&&e.append(o.attr("name"),o.val()),$.ajax({type:"POST",url:n,data:e,processData:!1,contentType:!1,dataType:"html",success:function(t){s.find(".err_mess,.complete").remove(),s.find("[type=submit]").prop("disabled",!1),e=JSON.parse(t),"Y"===e.result?(s.find('input:not([type="submit"],[type="hidden"]),textarea').val(""),s.find(".form-message").html(e.txt)):s.find(".form-message").html(e.txt)}}),!1}return!0}return s.find(".err_mess,.complete").remove(),s.find(".form-message").html('<div class="err_mess">Заполните обязательные поля</div>'),!1}h.find(".slider-count__total").text(f),h.find(".slider-count__active").text(1),u.mSlider.on("beforeChange",(function(e,t,i,o){h.find(".slider-count__active").text(o+1)})),u.mSlider.slick({dots:!0,infinite:!0,speed:900,fade:!0,arrows:!1,autoplay:!0,autoplaySpeed:9e3,arrows:!1,appendArrows:$(".main__slider-nav"),prevArrow:d.prevArrow,nextArrow:d.nextArrow,pauseOnHover:!1,cssEase:"ease",mobileFirst:!0,responsive:[{breakpoint:2560,settings:{dots:!1,arrows:!0}}]}),u.sliderMedia.slick({dots:!0,infinite:!1,speed:900,fade:!0,arrows:!1,autoplay:!1,autoplaySpeed:9e3,arrows:!0,prevArrow:d.prevArrow,nextArrow:d.nextArrow,pauseOnHover:!1,cssEase:"ease",mobileFirst:!0,responsive:[{breakpoint:2560,settings:{dots:!1,arrows:!0}}]}),u.certificates.slick({dots:!0,infinite:!0,speed:900,fade:!1,arrows:!0,autoplay:!1,autoplaySpeed:9e3,arrows:!1,prevArrow:d.prevArrow,nextArrow:d.nextArrow,slidesToShow:2,slidesToScroll:1,pauseOnHover:!1,cssEase:"ease",mobileFirst:!0,responsive:[{breakpoint:639,settings:{slidesToShow:3}},{breakpoint:767,settings:{arrows:!0,slidesToShow:4}},{breakpoint:991,settings:{arrows:!0,slidesToShow:5}},{breakpoint:1200,settings:{arrows:!0,slidesToShow:6}}]}),u.body.on("click",".js-show-contacts-link",(function(e){e.preventDefault();let t=$(this),i=t.closest(".vacancies__item");t.toggleClass("js-show-contacts-link_active"),i.find(".manager-contacts").stop(!0).slideToggle()})),$().fancybox({selector:".certificates .slick-slide:not(.slick-cloned)",backFocus:!1}),$("[data-fancybox]").fancybox({lang:e,i18n:r,animationEffect:"fade"}),$(document).on("click",".certificates .slick-cloned",(function(e){var t=$(this).parent().children(".slick-slide:not(.slick-cloned)");return t.eq(($(this).attr("data-slick-index")||0)%t.length).trigger("click.fb-start",{$trigger:$(this)}),!1})),u.body.on("click",".js-popup-lnk",(function(e){e.preventDefault(),$.fancybox.open({src:$(this).attr("href"),opts:{buttons:!1,smallBtn:!1,animationEffect:"fade",touch:!1,closeExisting:!0,afterClose:function(e,t){$('.popup 
3input:not([type="submit"]),.popup textarea').removeClass("err"),$(".popup .err_mess,.popup .compare").remove()}}})})),u.body.on("click",".js-ajax",(function(e){e.preventDefault(),$.fancybox.open({src:$(this).attr("href"),type:"ajax",opts:{buttons:!1,smallBtn:!1,animationEffect:"fade"}})})),u.body.on("click",".js-tabs-lnk",(function(e){e.preventDefault();let t=$(this),i=t.closest(".js-tabs-wrp"),o=i.find(".js-tabs-lnk"),s=i.find(".js-tab"),n=t.attr("href"),a=u.header.outerHeight();o.removeClass("js-tabs-lnk_active"),i.find('.js-tabs-lnk[href="'+n+'"]').addClass("js-tabs-lnk_active"),s.removeClass("js-tab_show"),s=$(n),s.addClass("js-tab_show");let r=i.find(".js-tabs-lnk_active").closest(".contacts__info-element").offset().top;t.hasClass("contacts__country")&&u.win.width()<768&&$("body,html").animate({scrollTop:r-a},700)})),u.body.on("click",".go-to-map",(function(e){e.preventDefault();let t=$("#map").offset().top,i=u.header.outerHeight();$("body,html").animate({scrollTop:t-i},700)})),u.body.on("click",".file__info",(function(){$("input",this.parentNode).click()})),u.body.on("change",".inputfile",(function(){let e=$(this),t=e.closest(".file-wrapper"),i=t.find(".file__path"),o=t.find(".file__del"),s=i.attr("data-nofile"),n=e.val(),a=n.replace("C:\\fakepath\\","");""!==n?(i.text(a),o.addClass("show")):(i.text(s),o.removeClass("show"))})),u.body.on("click",".file__del",(function(){let e=$(this).closest(".file-wrapper"),t=e.find(".file__path"),i=t.attr("data-nofile"),o=e.find(".file__del");e.find(".inputfile").val(""),t.text(i),o.removeClass("show")})),$(".js-datepicker").datepicker({language:a.langDates}),u.selectSearch(),u.selectNoSearch(),u.body.on("submit","form",(function(e){if(void 0===$(this).attr("data-ajax"))return g(this);e.preventDefault()})),u.body.on("click","[type = submit]",(function(){return g($(this).closest("form"),$(this))})),window.vaObj=u,window.langPage=a}));

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.