!function(){var e={3950:function(e,t,n){var i=n(4249);!function(e,t,n,i){"use strict";if(e.console=e.console||{info:function(e){}},n)if(n.fn.fancybox)console.info("fancyBox already initialized");else{var o,r,a,s,l={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"},wheel:"auto",onInit:n.noop,beforeLoad:n.noop,afterLoad:n.noop,beforeShow:n.noop,afterShow:n.noop,beforeClose:n.noop,afterClose:n.noop,onActivate:n.noop,onDeactivate:n.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"}}},c=n(e),u=n(t),d=0,f=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||function(t){return e.setTimeout(t,1e3/60)},h=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.oCancelAnimationFrame||function(t){e.clearTimeout(t)},p=function(){var e,n=t.createElement("fakeelement"),o={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(e in o)if(n.style[e]!==i)return o[e];return"transitionend"}(),m=function(e){return e&&e.length&&e[0].offsetHeight},g=function(e,t){var i=n.extend(!0,{},e,t);return n.each(t,(function(e,t){n.isArray(t)&&(i[e]=t)})),i},v=function(e,t,i){var o=this;o.opts=g({index:i},n.fancybox.defaults),n.isPlainObject(t)&&(o.opts=g(o.opts,t)),n.fancybox.isMobile&&(o.opts=g(o.opts,o.opts.mobile)),o.id=o.opts.id||++d,o.currIndex=parseInt(o.opts.index,10)||0,o.prevIndex=null,o.prevPos=null,o.currPos=0,o.firstRun=!0,o.group=[],o.slides={},o.addContent(e),o.group.length&&o.init()};n.extend(v.prototype,{init:function(){var i,o,r=this,a=r.group[r.currIndex].opts;a.closeExisting&&n.fancybox.close(!0),n("body").addClass("fancybox-active"),!n.fancybox.getInstance()&&!1!==a.hideScrollbar&&!n.fancybox.isMobile&&t.body.scrollHeight>e.innerHeight&&(n("head").append('<style id="fancybox-style-noscroll" type="text/css">.compensate-for-scrollbar{margin-right:'+(e.innerWidth-t.documentElement.clientWidth)+"px;}</style>"),n("body").addClass("compensate-for-scrollbar")),o="",n.each(a.buttons,(function(e,t){o+=a.btnTpl[t]||""})),i=n(r.translate(r,a.baseTpl.replace("{{buttons}}",o).replace("{{arrows}}",a.btnTpl.arrowLeft+a.btnTpl.arrowRight))).attr("id","fancybox-container-"+r.id).addClass(a.baseClass).data("FancyBox",r).appendTo(a.parentEl),r.$refs={container:i},["bg","inner","infobar","toolbar","stage","caption","navigation"].forEach((function(e){r.$refs[e]=i.find(".fancybox-"+e)})),r.trigger("onInit"),r.activate(),r.jumpTo(r.currIndex)},translate:function(e,t){var n=e.opts.i18n[e.opts.lang]||e.opts.i18n.en;return t.replace(/\{\{(\w+)\}\}/g,(function(e,t){return n[t]===i?e:n[t]}))},addContent:function(e){var t,o=this,r=n.makeArray(e);n.each(r,(function(e,t){var r,a,s,l,c,u={},d={};n.isPlainObject(t)?(u=t,d=t.opts||t):"object"===n.type(t)&&n(t).length?(d=(r=n(t)).data()||{},(d=n.extend(!0,{},d,d.options)).$orig=r,u.src=o.opts.src||d.src||r.attr("href"),u.type||u.src||(u.type="inline",u.src=t)):u={type:"html",src:t+""},u.opts=n.extend(!0,{},o.opts,d),n.isArray(d.buttons)&&(u.opts.buttons=d.buttons),n.fancybox.isMobile&&u.opts.mobile&&(u.opts=g(u.opts,u.opts.mobile)),a=u.type||u.opts.type,l=u.src||"",!a&&l&&((s=l.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i))?(a="video",u.opts.video.format||(u.opts.video.format="video/"+("ogv"===s[1]?"ogg":s[1]))):l.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?a="image":l.match(/\.(pdf)((\?|#).*)?$/i)?(a="iframe",u=n.extend(!0,u,{contentType:"pdf",opts:{iframe:{preload:!1}}})):"#"===l.charAt(0)&&(a="inline")),a?u.type=a:o.trigger("objectNeedsType",u),u.contentType||(u.contentType=n.inArray(u.type,["html","inline","ajax"])>-1?"html":u.type),u.index=o.group.length,"auto"==u.opts.smallBtn&&(u.opts.smallBtn=n.inArray(u.type,["html","inline","ajax"])>-1),"auto"===u.opts.toolbar&&(u.opts.toolbar=!u.opts.smallBtn),u.$thumb=u.opts.$thumb||null,u.opts.$trigger&&u.index===o.opts.index&&(u.$thumb=u.opts.$trigger.find("img:first"),u.$thumb.length&&(u.opts.$orig=u.opts.$trigger)),u.$thumb&&u.$thumb.length||!u.opts.$orig||(u.$thumb=u.opts.$orig.find("img:first")),u.$thumb&&!u.$thumb.length&&(u.$thumb=null),u.thumb=u.opts.thumb||(u.$thumb?u.$thumb[0].src:null),"function"===n.type(u.opts.caption)&&(u.opts.caption=u.opts.caption.apply(t,[o,u])),"function"===n.type(o.opts.caption)&&(u.opts.caption=o.opts.caption.apply(t,[o,u])),u.opts.caption instanceof n||(u.opts.caption=u.opts.caption===i?"":u.opts.caption+""),"ajax"===u.type&&(c=l.split(/\s+/,2)).length>1&&(u.src=c.shift(),u.opts.filter=c.shift()),u.opts.modal&&(u.opts=n.extend(!0,u.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(u)})),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"]()})),c.on("orientationchange.fb resize.fb",(function(e){e&&e.originalEvent&&"resize"===e.originalEvent.type?(t.requestId&&h(t.requestId),t.requestId=f((function(){t.update(e)}))):(t.current&&"iframe"===t.current.type&&t.$refs.stage.hide(),setTimeout((function(){t.$refs.stage.show(),t.update(e)}),n.fancybox.isMobile?600:250))})),u.on("keydown.fb",(function(e){var i=(n.fancybox?n.fancybox.getInstance():null).current,o=e.keyCode||e.which;if(9!=o){if(!(!i.opts.keyboard||e.ctrlKey||e.altKey||e.shiftKey||n(e.target).is("input,textarea,video,audio,select")))return 8===o||27===o?(e.preventDefault(),void t.close(e)):37===o||38===o?(e.preventDefault(),void t.previous()):39===o||40===o?(e.preventDefault(),void t.next()):void t.trigger("afterKeydown",e,o)}else i.opts.trapFocus&&t.focus(e)})),t.group[t.currIndex].opts.idleTime&&(t.idleSecondsCounter=0,u.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.idleSecondsCounter>=t.group[t.currIndex].opts.idleTime&&!t.isDragging&&(t.isIdle=!0,t.idleSecondsCounter=0,t.hideControls())}),1e3))},removeEvents:function(){var t=this;c.off("orientationchange.fb resize.fb"),u.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,r,a,s,l,c,u,d,f,h=this,p=h.group.length;if(!(h.isDragging||h.isClosing||h.isAnimating&&h.firstRun)){if(e=parseInt(e,10),!(a=h.current?h.current.opts.loop:h.opts.loop)&&(e<0||e>=p))return!1;if(o=h.firstRun=!Object.keys(h.slides).length,l=h.current,h.prevIndex=h.currIndex,h.prevPos=h.currPos,s=h.createSlide(e),p>1&&((a||s.index<p-1)&&h.createSlide(e+1),(a||s.index>0)&&h.createSlide(e-1)),h.current=s,h.currIndex=s.index,h.currPos=s.pos,h.trigger("beforeShow",o),h.updateControls(),s.forcedDuration=i,n.isNumeric(t)?s.forcedDuration=t:t=s.opts[o?"animationDuration":"transitionDuration"],t=parseInt(t,10),r=h.isMoved(s),s.$slide.addClass("fancybox-slide--current"),o)return s.opts.animationEffect&&t&&h.$refs.container.css("transition-duration",t+"ms"),h.$refs.container.addClass("fancybox-is-open").trigger("focus"),h.loadSlide(s),void h.preload("image");c=n.fancybox.getTranslate(l.$slide),u=n.fancybox.getTranslate(h.$refs.stage),n.each(h.slides,(function(e,t){n.fancybox.stop(t.$slide,!0)})),l.pos!==s.pos&&(l.isComplete=!1),l.$slide.removeClass("fancybox-slide--complete fancybox-slide--current"),r?(f=c.left-(l.pos*c.width+l.pos*l.opts.gutter),n.each(h.slides,(function(e,i){i.$slide.removeClass("fancybox-animated").removeClass((function(e,t){return(t.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")}));var o=i.pos*c.width+i.pos*i.opts.gutter;n.fancybox.setTranslate(i.$slide,{top:0,left:o-u.left+f}),i.pos!==s.pos&&i.$slide.addClass("fancybox-slide--"+(i.pos>s.pos?"next":"previous")),m(i.$slide),n.fancybox.animate(i.$slide,{top:0,left:(i.pos-s.pos)*c.width+(i.pos-s.pos)*i.opts.gutter},t,(function(){i.$slide.css({transform:"",opacity:""}).removeClass("fancybox-slide--next fancybox-slide--previous"),i.pos===h.currPos&&h.complete()}))}))):t&&s.opts.transitionEffect&&(d="fancybox-animated fancybox-fx-"+s.opts.transitionEffect,l.$slide.addClass("fancybox-slide--"+(l.pos>s.pos?"next":"previous")),n.fancybox.animate(l.$slide,d,t,(function(){l.$slide.removeClass(d).removeClass("fancybox-slide--next fancybox-slide--previous")}),!1)),s.isLoaded?h.revealContent(s):h.loadSlide(s),h.preload("image")}},createSlide:function(e){var t,i,o=this;return i=(i=e%o.group.length)<0?o.group.length+i:i,!o.slides[e]&&o.group[i]&&(t=n('<div class="fancybox-slide"></div>').appendTo(o.$refs.stage),o.slides[e]=n.extend(!0,{},o.group[i],{pos:e,$slide:t,isLoaded:!1}),o.updateSlide(o.slides[e])),o.slides[e]},scaleToActual:function(e,t,o){var r,a,s,l,c,u=this,d=u.current,f=d.$content,h=n.fancybox.getTranslate(d.$slide).width,p=n.fancybox.getTranslate(d.$slide).height,m=d.width,g=d.height;u.isAnimating||u.isMoved()||!f||"image"!=d.type||!d.isLoaded||d.hasError||(u.isAnimating=!0,n.fancybox.stop(f),e=e===i?.5*h:e,t=t===i?.5*p:t,(r=n.fancybox.getTranslate(f)).top-=n.fancybox.getTranslate(d.$slide).top,r.left-=n.fancybox.getTranslate(d.$slide).left,l=m/r.width,c=g/r.height,a=.5*h-.5*m,s=.5*p-.5*g,m>h&&((a=r.left*l-(e*l-e))>0&&(a=0),a<h-m&&(a=h-m)),g>p&&((s=r.top*c-(t*c-t))>0&&(s=0),s<p-g&&(s=p-g)),u.updateCursor(m,g),n.fancybox.animate(f,{top:s,left:a,scaleX:l,scaleY:c},o||366,(function(){u.isAnimating=!1})),u.SlideShow&&u.SlideShow.isActive&&u.SlideShow.stop())},scaleToFit:function(e){var t,i=this,o=i.current,r=o.$content;i.isAnimating||i.isMoved()||!r||"image"!=o.type||!o.isLoaded||o.hasError||(i.isAnimating=!0,n.fancybox.stop(r),t=i.getFitPos(o),i.updateCursor(t.width,t.height),n.fancybox.animate(r,{top:t.top,left:t.left,scaleX:t.width/r.width(),scaleY:t.height/r.height()},e||366,(function(){i.isAnimating=!1})))},getFitPos:function(e){var t,i,o,r,a=e.$content,s=e.$slide,l=e.width||e.opts.width,c=e.height||e.opts.height,u={};return!!(e.isLoaded&&a&&a.length)&&(t=n.fancybox.getTranslate(this.$refs.stage).width,i=n.fancybox.getTranslate(this.$refs.stage).height,t-=parseFloat(s.css("paddingLeft"))+parseFloat(s.css("paddingRight"))+parseFloat(a.css("marginLeft"))+parseFloat(a.css("marginRight")),i-=parseFloat(s.css("paddingTop"))+parseFloat(s.css("paddingBottom"))+parseFloat(a.css("marginTop"))+parseFloat(a.css("marginBottom")),l&&c||(l=t,c=i),(l*=o=Math.min(1,t/l,i/c))>t-.5&&(l=t),(c*=o)>i-.5&&(c=i),"image"===e.type?(u.top=Math.floor(.5*(i-c))+parseFloat(s.css("paddingTop")),u.left=Math.floor(.5*(t-l))+parseFloat(s.css("paddingLeft"))):"video"===e.contentType&&(c>l/(r=e.opts.width&&e.opts.height?l/c:e.opts.ratio||16/9)?c=l/r:l>c*r&&(l=c*r)),u.width=l,u.height=c,u)},update:function(e){var t=this;n.each(t.slides,(function(n,i){t.updateSlide(i,e)}))},updateSlide:function(e,t){var i=this,o=e&&e.$content,r=e.width||e.opts.width,a=e.height||e.opts.height,s=e.$slide;i.adjustCaption(e),o&&(r||a||"video"===e.contentType)&&!e.hasError&&(n.fancybox.stop(o),n.fancybox.setTranslate(o,i.getFitPos(e)),e.pos===i.currPos&&(i.isAnimating=!1,i.updateCursor())),i.adjustLayout(e),s.length&&(s.trigger("refresh"),e.pos===i.currPos&&i.$refs.toolbar.add(i.$refs.navigation.find(".fancybox-button--arrow_right")).toggleClass("compensate-for-scrollbar",s.get(0).scrollHeight>s.get(0).clientHeight)),i.trigger("onUpdate",e,t)},centerSlide:function(e){var t=this,o=t.current,r=o.$slide;!t.isClosing&&o&&(r.siblings().css({transform:"",opacity:""}),r.parent().children().removeClass("fancybox-slide--previous fancybox-slide--next"),n.fancybox.animate(r,{top:0,left:0,opacity:1},e===i?0:e,(function(){r.css({transform:"",opacity:""}),o.isComplete||t.complete()}),!1))},isMoved:function(e){var t,i,o=e||this.current;return!!o&&(i=n.fancybox.getTranslate(this.$refs.stage),t=n.fancybox.getTranslate(o.$slide),!o.$slide.hasClass("fancybox-animated")&&(Math.abs(t.top-i.top)>.5||Math.abs(t.left-i.left)>.5))},updateCursor:function(e,t){var i,o,r=this,a=r.current,s=r.$refs.container;a&&!r.isClosing&&r.Guestures&&(s.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-zoomOut fancybox-can-swipe fancybox-can-pan"),o=!!(i=r.canPan(e,t))||r.isZoomable(),s.toggleClass("fancybox-is-zoomable",o),n("[data-fancybox-zoom]").prop("disabled",!o),i?s.addClass("fancybox-can-pan"):o&&("zoom"===a.opts.clickContent||n.isFunction(a.opts.clickContent)&&"zoom"==a.opts.clickContent(a))?s.addClass("fancybox-can-zoomIn"):a.opts.touch&&(a.opts.touch.vertical||r.group.length>1)&&"video"!==a.contentType&&s.addClass("fancybox-can-swipe"))},isZoomable:function(){var e,t=this,n=t.current;if(n&&!t.isClosing&&"image"===n.type&&!n.hasError){if(!n.isLoaded)return!0;if((e=t.getFitPos(n))&&(n.width>e.width||n.height>e.height))return!0}return!1},isScaledDown:function(e,t){var o=!1,r=this.current,a=r.$content;return e!==i&&t!==i?o=e<r.width&&t<r.height:a&&(o=(o=n.fancybox.getTranslate(a)).width<r.width&&o.height<r.height),o},canPan:function(e,t){var o=this.current,r=null,a=!1;return"image"===o.type&&(o.isComplete||e&&t)&&!o.hasError&&(a=this.getFitPos(o),e!==i&&t!==i?r={width:e,height:t}:o.isComplete&&(r=n.fancybox.getTranslate(o.$content)),r&&a&&(a=Math.abs(r.width-a.width)>1.5||Math.abs(r.height-a.height)>1.5)),a},loadSlide:function(e){var t,i,o,r=this;if(!e.isLoading&&!e.isLoaded){if(e.isLoading=!0,!1===r.trigger("beforeLoad",e))return e.isLoading=!1,!1;switch(t=e.type,(i=e.$slide).off("refresh").trigger("onReset").addClass(e.opts.slideClass),t){case"image":r.setImage(e);break;case"iframe":r.setIframe(e);break;case"html":r.setContent(e,e.src||e.content);break;case"video":r.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":n(e.src).length?r.setContent(e,n(e.src)):r.setError(e);break;case"ajax":r.showLoading(e),o=n.ajax(n.extend({},e.opts.ajax.settings,{url:e.src,success:function(t,n){"success"===n&&r.setContent(e,t)},error:function(t,n){t&&"abort"!==n&&r.setError(e)}})),i.one("onReset",(function(){o.abort()}));break;default:r.setError(e)}return!0}},setImage:function(e){var i,o=this;setTimeout((function(){var t=e.$image;o.isClosing||!e.isLoading||t&&t.length&&t[0].complete||e.hasError||o.showLoading(e)}),50),o.checkSrcset(e),e.$content=n('<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,(i=t.createElement("img")).onerror=function(){n(this).remove(),e.$ghost=null},i.onload=function(){o.afterLoad(e)},e.$ghost=n(i).addClass("fancybox-image").appendTo(e.$content).attr("src",e.thumb)),o.setBigImage(e)},checkSrcset:function(t){var n,i,o,r,a=t.opts.srcset||t.opts.image.srcset;if(a){o=e.devicePixelRatio||1,r=e.innerWidth*o,i=a.split(",").map((function(e){var t={};return e.trim().split(/\s+/).forEach((function(e,n){var i=parseInt(e.substring(0,e.length-1),10);if(0===n)return t.url=e;i&&(t.value=i,t.postfix=e[e.length-1])})),t})),i.sort((function(e,t){return e.value-t.value}));for(var s=0;s<i.length;s++){var l=i[s];if("w"===l.postfix&&l.value>=r||"x"===l.postfix&&l.value>=o){n=l;break}}!n&&i.length&&(n=i[i.length-1]),n&&(t.src=n.url,t.width&&t.height&&"w"==n.postfix&&(t.height=t.width/t.height*n.value,t.width=n.value),t.opts.srcset=a)}},setBigImage:function(e){var i=this,o=t.createElement("img"),r=n(o);e.$image=r.one("error",(function(){i.setError(e)})).one("load",(function(){var t;e.$ghost||(i.resolveImageSlideSize(e,this.naturalWidth,this.naturalHeight),i.afterLoad(e)),i.isClosing||(e.opts.srcset&&((t=e.opts.sizes)&&"auto"!==t||(t=(e.width/e.height>1&&c.width()/c.height()>1?"100":Math.round(e.width/e.height*100))+"vw"),r.attr("sizes",t).attr("srcset",e.opts.srcset)),e.$ghost&&setTimeout((function(){e.$ghost&&!i.isClosing&&e.$ghost.hide()}),Math.min(300,Math.max(1e3,e.height/1600))),i.hideLoading(e))})).addClass("fancybox-image").attr("src",e.src).appendTo(e.$content),(o.complete||"complete"==o.readyState)&&r.naturalWidth&&r.naturalHeight?r.trigger("load"):o.error&&r.trigger("error")},resolveImageSlideSize:function(e,t,n){var i=parseInt(e.opts.width,10),o=parseInt(e.opts.height,10);e.width=t,e.height=n,i>0&&(e.width=i,e.height=Math.floor(i*n/t)),o>0&&(e.width=Math.floor(o*t/n),e.height=o)},setIframe:function(e){var t,o=this,r=e.opts.iframe,a=e.$slide;e.$content=n('<div class="fancybox-content'+(r.preload?" fancybox-is-hidden":"")+'"></div>').css(r.css).appendTo(a),a.addClass("fancybox-slide--"+e.contentType),e.$iframe=t=n(r.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr(r.attr).appendTo(e.$content),r.preload?(o.showLoading(e),t.on("load.fb error.fb",(function(t){this.isReady=1,e.$slide.trigger("refresh"),o.afterLoad(e)})),a.on("refresh.fb",(function(){var n,o=e.$content,s=r.css.width,l=r.css.height;if(1===t[0].isReady){try{n=t.contents().find("body")}catch(e){}n&&n.length&&n.children().length&&(a.css("overflow","visible"),o.css({width:"100%","max-width":"100%",height:"9999px"}),s===i&&(s=Math.ceil(Math.max(n[0].clientWidth,n.outerWidth(!0)))),o.css("width",s||"").css("max-width",""),l===i&&(l=Math.ceil(Math.max(n[0].clientHeight,n.outerHeight(!0)))),o.css("height",l||""),a.css("overflow","auto")),o.removeClass("fancybox-is-hidden")}}))):o.afterLoad(e),t.attr("src",e.src),a.one("onReset",(function(){try{n(this).find("iframe").hide().unbind().attr("src","//about:blank")}catch(e){}n(this).off("refresh.fb").empty(),e.isLoaded=!1,e.isRevealed=!1}))},setContent:function(e,t){var i,o=this;o.isClosing||(o.hideLoading(e),e.$content&&n.fancybox.stop(e.$content),e.$slide.empty(),(i=t)&&i.hasOwnProperty&&i instanceof n&&t.parent().length?((t.hasClass("fancybox-content")||t.parent().hasClass("fancybox-content"))&&t.parents(".fancybox-slide").trigger("onReset"),e.$placeholder=n("<div>").hide().insertAfter(t),t.css("display","inline-block")):e.hasError||("string"===n.type(t)&&(t=n("<div>").append(n.trim(t)).contents()),e.opts.filter&&(t=n("<div>").html(t).find(e.opts.filter))),e.$slide.one("onReset",(function(){n(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||(n(this).empty(),e.isLoaded=!1,e.isRevealed=!1)})),n(t).appendTo(e.$slide),n(t).is("video,audio")&&(n(t).addClass("fancybox-video"),n(t).wrap("<div></div>"),e.contentType="video",e.opts.width=e.opts.width||n(t).attr("width"),e.opts.height=e.opts.height||n(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=n(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=n(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&&n('<div class="fancybox-spaceball"></div>').appendTo(e.$content)),t.adjustCaption(e),t.adjustLayout(e),e.pos===t.currPos&&t.updateCursor(),t.revealContent(e))},adjustCaption:function(e){var t,n=this,i=e||n.current,o=i.opts.caption,r=i.opts.preventCaptionOverlap,a=n.$refs.caption,s=!1;a.toggleClass("fancybox-caption--separate",r),r&&o&&o.length&&(i.pos!==n.currPos?((t=a.clone().appendTo(a.parent())).children().eq(0).empty().html(o),s=t.outerHeight(!0),t.empty().remove()):n.$caption&&(s=n.$caption.outerHeight(!0)),i.$slide.css("padding-bottom",s||""))},adjustLayout:function(e){var t,n,i,o,r=e||this.current;r.isLoaded&&!0!==r.opts.disableLayoutFix&&(r.$content.css("margin-bottom",""),r.$content.outerHeight()>r.$slide.height()+.5&&(i=r.$slide[0].style["padding-bottom"],o=r.$slide.css("padding-bottom"),parseFloat(o)>0&&(t=r.$slide[0].scrollHeight,r.$slide.css("padding-bottom",0),Math.abs(t-r.$slide[0].scrollHeight)<1&&(n=o),r.$slide.css("padding-bottom",i))),r.$content.css("margin-bottom",n))},revealContent:function(e){var t,o,r,a,s=this,l=e.$slide,c=!1,u=!1,d=s.isMoved(e),f=e.isRevealed;return e.isRevealed=!0,t=e.opts[s.firstRun?"animationEffect":"transitionEffect"],r=e.opts[s.firstRun?"animationDuration":"transitionDuration"],r=parseInt(e.forcedDuration===i?r:e.forcedDuration,10),!d&&e.pos===s.currPos&&r||(t=!1),"zoom"===t&&(e.pos===s.currPos&&r&&"image"===e.type&&!e.hasError&&(u=s.getThumbPos(e))?c=s.getFitPos(e):t="fade"),"zoom"===t?(s.isAnimating=!0,c.scaleX=c.width/u.width,c.scaleY=c.height/u.height,"auto"==(a=e.opts.zoomOpacity)&&(a=Math.abs(e.width/e.height-u.width/u.height)>.1),a&&(u.opacity=.1,c.opacity=1),n.fancybox.setTranslate(e.$content.removeClass("fancybox-is-hidden"),u),m(e.$content),void n.fancybox.animate(e.$content,c,r,(function(){s.isAnimating=!1,s.complete()}))):(s.updateSlide(e),t?(n.fancybox.stop(l),o="fancybox-slide--"+(e.pos>=s.prevPos?"next":"previous")+" fancybox-animated fancybox-fx-"+t,l.addClass(o).removeClass("fancybox-slide--current"),e.$content.removeClass("fancybox-is-hidden"),m(l),"image"!==e.type&&e.$content.hide().show(0),void n.fancybox.animate(l,"fancybox-slide--current",r,(function(){l.removeClass(o).css({transform:"",opacity:""}),e.pos===s.currPos&&s.complete()}),!0)):(e.$content.removeClass("fancybox-is-hidden"),f||!d||"image"!==e.type||e.hasError||e.$content.hide().fadeIn("fast"),void(e.pos===s.currPos&&s.complete())))},getThumbPos:function(e){var i,o,r,a,s,l,c=e.$thumb;return!(!c||!function(e){var i,o;return!(!e||e.ownerDocument!==t)&&(n(".fancybox-container").css("pointer-events","none"),i={x:e.getBoundingClientRect().left+e.offsetWidth/2,y:e.getBoundingClientRect().top+e.offsetHeight/2},o=t.elementFromPoint(i.x,i.y)===e,n(".fancybox-container").css("pointer-events",""),o)}(c[0]))&&(o=n.fancybox.getTranslate(c),r=parseFloat(c.css("border-top-width")||0),a=parseFloat(c.css("border-right-width")||0),s=parseFloat(c.css("border-bottom-width")||0),l=parseFloat(c.css("border-left-width")||0),i={top:o.top+r,left:o.left+l,width:o.width-a-l,height:o.height-r-s,scaleX:1,scaleY:1},o.width>0&&o.height>0&&i)},complete:function(){var e,t=this,i=t.current,o={};!t.isMoved()&&i.isLoaded&&(i.isComplete||(i.isComplete=!0,i.$slide.siblings().trigger("onReset"),t.preload("inline"),m(i.$slide),i.$slide.addClass("fancybox-slide--complete"),n.each(t.slides,(function(e,i){i.pos>=t.currPos-1&&i.pos<=t.currPos+1?o[i.pos]=i:i&&(n.fancybox.stop(i.$slide),i.$slide.off().remove())})),t.slides=o),t.isAnimating=!1,t.updateCursor(),t.trigger("afterShow"),i.opts.video.autoStart&&i.$slide.find("video,audio").filter(":visible:first").trigger("play").one("ended",(function(){Document.exitFullscreen?Document.exitFullscreen():this.webkitExitFullscreen&&this.webkitExitFullscreen(),t.next()})),i.opts.autoFocus&&"html"===i.contentType&&((e=i.$content.find("input[autofocus]:enabled:visible:first")).length?e.trigger("focus"):t.focus(null,!0)),i.$slide.scrollTop(0).scrollLeft(0))},preload:function(e){var t,n,i=this;i.group.length<2||(n=i.slides[i.currPos+1],(t=i.slides[i.currPos-1])&&t.type===e&&i.loadSlide(t),n&&n.type===e&&i.loadSlide(n))},focus:function(e,i){var o,r,a=this,s=["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||((o=(o=!e&&a.current&&a.current.isComplete?a.current.$slide.find("*:visible"+(i?":not(.fancybox-close-small)":"")):a.$refs.container.find("*:visible")).filter(s).filter((function(){return"hidden"!==n(this).css("visibility")&&!n(this).hasClass("disabled")}))).length?(r=o.index(t.activeElement),e&&e.shiftKey?(r<0||0==r)&&(e.preventDefault(),o.eq(o.length-1).trigger("focus")):(r<0||r==o.length-1)&&(e&&e.preventDefault(),o.eq(0).trigger("focus"))):a.$refs.container.trigger("focus"))},activate:function(){var e=this;n(".fancybox-container").each((function(){var t=n(this).data("FancyBox");t&&t.id!==e.id&&!t.isClosing&&(t.trigger("onDeactivate"),t.removeEvents(),t.isVisible=!1)})),e.isVisible=!0,(e.current||e.isIdle)&&(e.update(),e.updateControls()),e.trigger("onActivate"),e.addEvents()},close:function(e,t){var i,o,r,a,s,l,c,u=this,d=u.current,h=function(){u.cleanUp(e)};return!u.isClosing&&(u.isClosing=!0,!1===u.trigger("beforeClose",e)?(u.isClosing=!1,f((function(){u.update()})),!1):(u.removeEvents(),r=d.$content,i=d.opts.animationEffect,o=n.isNumeric(t)?t:i?d.opts.animationDuration:0,d.$slide.removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"),!0!==e?n.fancybox.stop(d.$slide):i=!1,d.$slide.siblings().trigger("onReset").remove(),o&&u.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing").css("transition-duration",o+"ms"),u.hideLoading(d),u.hideControls(!0),u.updateCursor(),"zoom"!==i||r&&o&&"image"===d.type&&!u.isMoved()&&!d.hasError&&(c=u.getThumbPos(d))||(i="fade"),"zoom"===i?(n.fancybox.stop(r),l={top:(a=n.fancybox.getTranslate(r)).top,left:a.left,scaleX:a.width/c.width,scaleY:a.height/c.height,width:c.width,height:c.height},"auto"==(s=d.opts.zoomOpacity)&&(s=Math.abs(d.width/d.height-c.width/c.height)>.1),s&&(c.opacity=0),n.fancybox.setTranslate(r,l),m(r),n.fancybox.animate(r,c,o,h),!0):(i&&o?n.fancybox.animate(d.$slide.addClass("fancybox-slide--previous").removeClass("fancybox-slide--current"),"fancybox-animated fancybox-fx-"+i,o,h):!0===e?setTimeout(h,o):h(),!0)))},cleanUp:function(t){var i,o,r,a=this,s=a.current.opts.$orig;a.current.$slide.trigger("onReset"),a.$refs.container.empty().remove(),a.trigger("afterClose",t),a.current.opts.backFocus&&(s&&s.length&&s.is(":visible")||(s=a.$trigger),s&&s.length&&(o=e.scrollX,r=e.scrollY,s.trigger("focus"),n("html, body").scrollTop(r).scrollLeft(o))),a.current=null,(i=n.fancybox.getInstance())?i.activate():(n("body").removeClass("fancybox-active compensate-for-scrollbar"),n("#fancybox-style-noscroll").remove())},trigger:function(e,t){var i,o=Array.prototype.slice.call(arguments,1),r=this,a=t&&t.opts?t:r.current;if(a?o.unshift(a):a=r,o.unshift(r),n.isFunction(a.opts[e])&&(i=a.opts[e].apply(a,o)),!1===i)return i;"afterClose"!==e&&r.$refs?r.$refs.container.trigger(e+".fb",o):u.trigger(e+".fb",o)},updateControls:function(){var e=this,i=e.current,o=i.index,r=e.$refs.container,a=e.$refs.caption,s=i.opts.caption;i.$slide.trigger("refresh"),s&&s.length?(e.$caption=a,a.children().eq(0).html(s)):e.$caption=null,e.hasHiddenControls||e.isIdle||e.showControls(),r.find("[data-fancybox-count]").html(e.group.length),r.find("[data-fancybox-index]").html(o+1),r.find("[data-fancybox-prev]").prop("disabled",!i.opts.loop&&o<=0),r.find("[data-fancybox-next]").prop("disabled",!i.opts.loop&&o>=e.group.length-1),"image"===i.type?r.find("[data-fancybox-zoom]").show().end().find("[data-fancybox-download]").attr("href",i.opts.image.src||i.src).show():i.opts.toolbar&&r.find("[data-fancybox-download],[data-fancybox-zoom]").hide(),n(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,n=e.$refs.container;e.hasHiddenControls=!1,e.idleSecondsCounter=0,n.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()}}),n.fancybox={version:"3.5.7",defaults:l,getInstance:function(e){var t=n('.fancybox-container:not(".fancybox-is-closing"):last').data("FancyBox"),i=Array.prototype.slice.call(arguments,1);return t instanceof v&&("string"===n.type(e)?t[e].apply(t,i):"function"===n.type(e)&&e.apply(t,i),t)},open:function(e,t,n){return new v(e,t,n)},close:function(e){var t=this.getInstance();t&&(t.close(),!0===e&&this.close(e))},destroy:function(){this.close(!0),u.add("body").off("click.fb-start","**")},isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),use3d:(o=t.createElement("div"),e.getComputedStyle&&e.getComputedStyle(o)&&e.getComputedStyle(o).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 n="",o={};if(e&&t)return t.left===i&&t.top===i||(n=(t.left===i?e.position().left:t.left)+"px, "+(t.top===i?e.position().top:t.top)+"px",n=this.use3d?"translate3d("+n+", 0px)":"translate("+n+")"),t.scaleX!==i&&t.scaleY!==i?n+=" scale("+t.scaleX+", "+t.scaleY+")":t.scaleX!==i&&(n+=" scaleX("+t.scaleX+")"),n.length&&(o.transform=n),t.opacity!==i&&(o.opacity=t.opacity),t.width!==i&&(o.width=t.width),t.height!==i&&(o.height=t.height),e.css(o)},animate:function(e,t,o,r,a){var s,l=this;n.isFunction(o)&&(r=o,o=null),l.stop(e),s=l.getTranslate(e),e.on(p,(function(c){(!c||!c.originalEvent||e.is(c.originalEvent.target)&&"z-index"!=c.originalEvent.propertyName)&&(l.stop(e),n.isNumeric(o)&&e.css("transition-duration",""),n.isPlainObject(t)?t.scaleX!==i&&t.scaleY!==i&&l.setTranslate(e,{top:t.top,left:t.left,width:s.width*t.scaleX,height:s.height*t.scaleY,scaleX:1,scaleY:1}):!0!==a&&e.removeClass(t),n.isFunction(r)&&r(c))})),n.isNumeric(o)&&e.css("transition-duration",o+"ms"),n.isPlainObject(t)?(t.scaleX!==i&&t.scaleY!==i&&(delete t.width,delete t.height,e.parent().hasClass("fancybox-slide--image")&&e.parent().addClass("fancybox-is-scaling")),n.fancybox.setTranslate(e,t)):e.addClass(t),e.data("timer",setTimeout((function(){e.trigger(p)}),o+33))},stop:function(e,t){e&&e.length&&(clearTimeout(e.data("timer")),t&&e.trigger(p),e.off(p).css("transition-duration",""),e.parent().removeClass("fancybox-is-scaling"))}},n.fn.fancybox=function(e){var t;return(t=(e=e||{}).selector||!1)?n("body").off("click.fb-start",t).on("click.fb-start",t,{options:e},b):this.off("click.fb-start").on("click.fb-start",{items:this,options:e},b),this},u.on("click.fb-start","[data-fancybox]",b),u.on("click.fb-start","[data-fancybox-trigger]",(function(e){n('[data-fancybox="'+n(this).attr("data-fancybox-trigger")+'"]').eq(n(this).attr("data-fancybox-index")||0).trigger("click.fb-start",{$trigger:n(this)})})),r=".fancybox-button",a="fancybox-focus",s=null,u.on("mousedown mouseup focus blur",r,(function(e){switch(e.type){case"mousedown":s=n(this);break;case"mouseup":s=null;break;case"focusin":n(r).removeClass(a),n(this).is(s)||n(this).is("[disabled]")||n(this).addClass(a);break;case"focusout":n(r).removeClass(a)}}))}function b(e,t){var i,o,r,a=[],s=0;e&&e.isDefaultPrevented()||(e.preventDefault(),t=t||{},e&&e.data&&(t=g(e.data.options,t)),i=t.$target||n(e.currentTarget).trigger("blur"),(r=n.fancybox.getInstance())&&r.$trigger&&r.$trigger.is(i)||(a=t.selector?n(t.selector):(o=i.attr("data-fancybox")||"")?(a=e.data?e.data.items:[]).length?a.filter('[data-fancybox="'+o+'"]'):n('[data-fancybox="'+o+'"]'):[i],(s=n(a).index(i))<0&&(s=0),(r=n.fancybox.open(a,t,s)).$trigger=i))}}(window,document,i),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"}}},n=function(t,n,i){if(t)return i=i||"","object"===e.type(i)&&(i=e.param(i,!0)),e.each(n,(function(e,n){t=t.replace("$"+e,n||"")})),i.length&&(t+=(t.indexOf("?")>0?"&":"?")+i),t};e(document).on("objectNeedsType.fb",(function(i,o,r){var a,s,l,c,u,d,f,h=r.src||"",p=!1;a=e.extend(!0,{},t,r.opts.media),e.each(a,(function(t,i){if(l=h.match(i.matcher)){if(p=i.type,f=t,d={},i.paramPlace&&l[i.paramPlace]){"?"==(u=l[i.paramPlace])[0]&&(u=u.substring(1)),u=u.split("&");for(var o=0;o<u.length;++o){var a=u[o].split("=",2);2==a.length&&(d[a[0]]=decodeURIComponent(a[1].replace(/\+/g," ")))}}return c=e.extend(!0,{},i.params,r.opts[t],d),h="function"===e.type(i.url)?i.url.call(this,l,c,r):n(i.url,l,c),s="function"===e.type(i.thumb)?i.thumb.call(this,l,c,r):n(i.thumb,l),"youtube"===t?h=h.replace(/&t=((\d+)m)?(\d+)s/,(function(e,t,n,i){return"&start="+((n?60*parseInt(n,10):0)+parseInt(i,10))})):"vimeo"===t&&(h=h.replace("&%23","#")),!1}})),p?(r.opts.thumb||r.opts.$thumb&&r.opts.$thumb.length||(r.opts.thumb=s),"iframe"===p&&(r.opts=e.extend(!0,r.opts,{iframe:{preload:!1,attr:{scrolling:"no"}}})),e.extend(r,{type:p,src:h,origSrc:r.src,contentSource:f,contentType:"image"===p?"image":"gmap_place"==f||"gmap_search"==f?"map":"video"})):h&&(r.type=r.opts.defaultType)}));var i={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,n=this;this[e].loaded?setTimeout((function(){n.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(){n[e].loaded=!0,n.done(e)}:t.onload=function(){n[e].loaded=!0,n.done(e)},document.body.appendChild(t))},done:function(t){var n,i;"youtube"===t&&delete window.onYouTubeIframeAPIReady,(n=e.fancybox.getInstance())&&(i=n.current.$content.find("iframe"),"youtube"===t&&void 0!==YT&&YT?new YT.Player(i.attr("id"),{events:{onStateChange:function(e){0==e.data&&n.next()}}}):"vimeo"===t&&void 0!==Vimeo&&Vimeo&&new Vimeo.Player(i).on("ended",(function(){n.next()})))}};e(document).on({"afterShow.fb":function(e,t,n){t.group.length>1&&("youtube"===n.contentSource||"vimeo"===n.contentSource)&&i.load(n.contentSource)}})}(i),function(e,t,n){"use strict";var i=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||function(t){return e.setTimeout(t,1e3/60)},o=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.oCancelAnimationFrame||function(t){e.clearTimeout(t)},r=function(t){var n=[];for(var i in t=(t=t.originalEvent||t||e.e).touches&&t.touches.length?t.touches:t.changedTouches&&t.changedTouches.length?t.changedTouches:[t])t[i].pageX?n.push({x:t[i].pageX,y:t[i].pageY}):t[i].clientX&&n.push({x:t[i].clientX,y:t[i].clientY});return n},a=function(e,t,n){return t&&e?"x"===n?e.x-t.x:"y"===n?e.y-t.y:Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0},s=function(e){if(e.is('a,area,button,[role="button"],input,label,select,summary,textarea,video,audio,iframe')||n.isFunction(e.get(0).onclick)||e.data("selectable"))return!0;for(var t=0,i=e[0].attributes,o=i.length;t<o;t++)if("data-fancybox-"===i[t].nodeName.substr(0,14))return!0;return!1},l=function(t){for(var n,i,o,r,a,s=!1;n=t.get(0),i=void 0,o=void 0,r=void 0,a=void 0,i=e.getComputedStyle(n)["overflow-y"],o=e.getComputedStyle(n)["overflow-x"],r=("scroll"===i||"auto"===i)&&n.scrollHeight>n.clientHeight,a=("scroll"===o||"auto"===o)&&n.scrollWidth>n.clientWidth,!(s=r||a)&&(t=t.parent()).length&&!t.hasClass("fancybox-stage")&&!t.is("body"););return s},c=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",n.proxy(t,"ontouchstart"))};c.prototype.destroy=function(){var e=this;e.$container.off(".fb.touch"),n(t).off(".fb.touch"),e.requestId&&(o(e.requestId),e.requestId=null),e.tapped&&(clearTimeout(e.tapped),e.tapped=null)},c.prototype.ontouchstart=function(i){var o=this,c=n(i.target),u=o.instance,d=u.current,f=d.$slide,h=d.$content,p="touchstart"==i.type;if(p&&o.$container.off("mousedown.fb.touch"),(!i.originalEvent||2!=i.originalEvent.button)&&f.length&&c.length&&!s(c)&&!s(c.parent())&&(c.is("img")||!(i.originalEvent.clientX>c[0].clientWidth+c.offset().left))){if(!d||u.isAnimating||d.$slide.hasClass("fancybox-animated"))return i.stopPropagation(),void i.preventDefault();o.realPoints=o.startPoints=r(i),o.startPoints.length&&(d.touch&&i.stopPropagation(),o.startEvent=i,o.canTap=!0,o.$target=c,o.$content=h,o.opts=d.opts.touch,o.isPanning=!1,o.isSwiping=!1,o.isZooming=!1,o.isScrolling=!1,o.canPan=u.canPan(),o.startTime=(new Date).getTime(),o.distanceX=o.distanceY=o.distance=0,o.canvasWidth=Math.round(f[0].clientWidth),o.canvasHeight=Math.round(f[0].clientHeight),o.contentLastPos=null,o.contentStartPos=n.fancybox.getTranslate(o.$content)||{top:0,left:0},o.sliderStartPos=n.fancybox.getTranslate(f),o.stagePos=n.fancybox.getTranslate(u.$refs.stage),o.sliderStartPos.top-=o.stagePos.top,o.sliderStartPos.left-=o.stagePos.left,o.contentStartPos.top-=o.stagePos.top,o.contentStartPos.left-=o.stagePos.left,n(t).off(".fb.touch").on(p?"touchend.fb.touch touchcancel.fb.touch":"mouseup.fb.touch mouseleave.fb.touch",n.proxy(o,"ontouchend")).on(p?"touchmove.fb.touch":"mousemove.fb.touch",n.proxy(o,"ontouchmove")),n.fancybox.isMobile&&t.addEventListener("scroll",o.onscroll,!0),((o.opts||o.canPan)&&(c.is(o.$stage)||o.$stage.find(c).length)||(c.is(".fancybox-image")&&i.preventDefault(),n.fancybox.isMobile&&c.parents(".fancybox-caption").length))&&(o.isScrollable=l(c)||l(c.parent()),n.fancybox.isMobile&&o.isScrollable||i.preventDefault(),(1===o.startPoints.length||d.hasError)&&(o.canPan?(n.fancybox.stop(o.$content),o.isPanning=!0):o.isSwiping=!0,o.$container.addClass("fancybox-is-grabbing")),2===o.startPoints.length&&"image"===d.type&&(d.isLoaded||d.$ghost)&&(o.canTap=!1,o.isSwiping=!1,o.isPanning=!1,o.isZooming=!0,n.fancybox.stop(o.$content),o.centerPointStartX=.5*(o.startPoints[0].x+o.startPoints[1].x)-n(e).scrollLeft(),o.centerPointStartY=.5*(o.startPoints[0].y+o.startPoints[1].y)-n(e).scrollTop(),o.percentageOfImageAtPinchPointX=(o.centerPointStartX-o.contentStartPos.left)/o.contentStartPos.width,o.percentageOfImageAtPinchPointY=(o.centerPointStartY-o.contentStartPos.top)/o.contentStartPos.height,o.startDistanceBetweenFingers=a(o.startPoints[0],o.startPoints[1]))))}},c.prototype.onscroll=function(e){this.isScrolling=!0,t.removeEventListener("scroll",this.onscroll,!0)},c.prototype.ontouchmove=function(e){var t=this;void 0===e.originalEvent.buttons||0!==e.originalEvent.buttons?t.isScrolling?t.canTap=!1:(t.newPoints=r(e),(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()))):t.ontouchend(e)},c.prototype.onSwipe=function(t){var r,a=this,s=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&&(o(a.requestId),a.requestId=null),a.requestId=i((function(){a.sliderLastPos&&(n.each(a.instance.slides,(function(e,t){var i=t.pos-a.instance.currPos;n.fancybox.setTranslate(t.$slide,{top:a.sliderLastPos.top,left:a.sliderLastPos.left+i*a.canvasWidth+i*t.opts.gutter})})),a.$container.addClass("fancybox-is-sliding"))}));else if(Math.abs(a.distance)>10){if(a.canTap=!1,s.group.length<2&&a.opts.vertical?a.isSwiping="y":s.isDragging||!1===a.opts.vertical||"auto"===a.opts.vertical&&n(e).width()>800?a.isSwiping="x":(r=Math.abs(180*Math.atan2(a.distanceY,a.distanceX)/Math.PI),a.isSwiping=r>45&&r<135?"y":"x"),"y"===a.isSwiping&&n.fancybox.isMobile&&a.isScrollable)return void(a.isScrolling=!0);s.isDragging=a.isSwiping,a.startPoints=a.newPoints,n.each(s.slides,(function(e,t){var i,o;n.fancybox.stop(t.$slide),i=n.fancybox.getTranslate(t.$slide),o=n.fancybox.getTranslate(s.$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===s.current.pos&&(a.sliderStartPos.top=i.top-o.top,a.sliderStartPos.left=i.left-o.left),n.fancybox.setTranslate(t.$slide,{top:i.top-o.top,left:i.left-o.left})})),s.SlideShow&&s.SlideShow.isActive&&s.SlideShow.stop()}},c.prototype.onPan=function(){var e=this;a(e.newPoints[0],e.realPoints[0])<(n.fancybox.isMobile?10:5)?e.startPoints=e.newPoints:(e.canTap=!1,e.contentLastPos=e.limitMovement(),e.requestId&&o(e.requestId),e.requestId=i((function(){n.fancybox.setTranslate(e.$content,e.contentLastPos)})))},c.prototype.limitMovement=function(){var e,t,n,i,o,r,a=this,s=a.canvasWidth,l=a.canvasHeight,c=a.distanceX,u=a.distanceY,d=a.contentStartPos,f=d.left,h=d.top,p=d.width,m=d.height;return o=p>s?f+c:f,r=h+u,e=Math.max(0,.5*s-.5*p),t=Math.max(0,.5*l-.5*m),n=Math.min(s-p,.5*s-.5*p),i=Math.min(l-m,.5*l-.5*m),c>0&&o>e&&(o=e-1+Math.pow(-e+f+c,.8)||0),c<0&&o<n&&(o=n+1-Math.pow(n-f-c,.8)||0),u>0&&r>t&&(r=t-1+Math.pow(-t+h+u,.8)||0),u<0&&r<i&&(r=i+1-Math.pow(i-h-u,.8)||0),{top:r,left:o}},c.prototype.limitPosition=function(e,t,n,i){var o=this.canvasWidth,r=this.canvasHeight;return e=n>o?(e=e>0?0:e)<o-n?o-n:e:Math.max(0,o/2-n/2),{top:t=i>r?(t=t>0?0:t)<r-i?r-i:t:Math.max(0,r/2-i/2),left:e}},c.prototype.onZoom=function(){var t=this,r=t.contentStartPos,s=r.width,l=r.height,c=r.left,u=r.top,d=a(t.newPoints[0],t.newPoints[1])/t.startDistanceBetweenFingers,f=Math.floor(s*d),h=Math.floor(l*d),p=(s-f)*t.percentageOfImageAtPinchPointX,m=(l-h)*t.percentageOfImageAtPinchPointY,g=(t.newPoints[0].x+t.newPoints[1].x)/2-n(e).scrollLeft(),v=(t.newPoints[0].y+t.newPoints[1].y)/2-n(e).scrollTop(),b=g-t.centerPointStartX,y={top:u+(m+(v-t.centerPointStartY)),left:c+(p+b),scaleX:d,scaleY:d};t.canTap=!1,t.newWidth=f,t.newHeight=h,t.contentLastPos=y,t.requestId&&o(t.requestId),t.requestId=i((function(){n.fancybox.setTranslate(t.$content,t.contentLastPos)}))},c.prototype.ontouchend=function(e){var i=this,a=i.isSwiping,s=i.isPanning,l=i.isZooming,c=i.isScrolling;if(i.endPoints=r(e),i.dMs=Math.max((new Date).getTime()-i.startTime,1),i.$container.removeClass("fancybox-is-grabbing"),n(t).off(".fb.touch"),t.removeEventListener("scroll",i.onscroll,!0),i.requestId&&(o(i.requestId),i.requestId=null),i.isSwiping=!1,i.isPanning=!1,i.isZooming=!1,i.isScrolling=!1,i.instance.isDragging=!1,i.canTap)return i.onTap(e);i.speed=100,i.velocityX=i.distanceX/i.dMs*.5,i.velocityY=i.distanceY/i.dMs*.5,s?i.endPanning():l?i.endZooming():i.endSwiping(a,c)},c.prototype.endSwiping=function(e,t){var i=this,o=!1,r=i.instance.group.length,a=Math.abs(i.distanceX),s="x"==e&&r>1&&(i.dMs>130&&a>10||a>50);i.sliderLastPos=null,"y"==e&&!t&&Math.abs(i.distanceY)>50?(n.fancybox.animate(i.instance.current.$slide,{top:i.sliderStartPos.top+i.distanceY+150*i.velocityY,opacity:0},200),o=i.instance.close(!0,250)):s&&i.distanceX>0?o=i.instance.previous(300):s&&i.distanceX<0&&(o=i.instance.next(300)),!1!==o||"x"!=e&&"y"!=e||i.instance.centerSlide(200),i.$container.removeClass("fancybox-is-sliding")},c.prototype.endPanning=function(){var e,t,i,o=this;o.contentLastPos&&(!1===o.opts.momentum||o.dMs>350?(e=o.contentLastPos.left,t=o.contentLastPos.top):(e=o.contentLastPos.left+500*o.velocityX,t=o.contentLastPos.top+500*o.velocityY),(i=o.limitPosition(e,t,o.contentStartPos.width,o.contentStartPos.height)).width=o.contentStartPos.width,i.height=o.contentStartPos.height,n.fancybox.animate(o.$content,i,366))},c.prototype.endZooming=function(){var e,t,i,o,r=this,a=r.instance.current,s=r.newWidth,l=r.newHeight;r.contentLastPos&&(e=r.contentLastPos.left,o={top:t=r.contentLastPos.top,left:e,width:s,height:l,scaleX:1,scaleY:1},n.fancybox.setTranslate(r.$content,o),s<r.canvasWidth&&l<r.canvasHeight?r.instance.scaleToFit(150):s>a.width||l>a.height?r.instance.scaleToActual(r.centerPointStartX,r.centerPointStartY,150):(i=r.limitPosition(e,t,s,l),n.fancybox.animate(r.$content,i,150)))},c.prototype.onTap=function(t){var i,o=this,a=n(t.target),s=o.instance,l=s.current,c=t&&r(t)||o.startPoints,u=c[0]?c[0].x-n(e).scrollLeft()-o.stagePos.left:0,d=c[0]?c[0].y-n(e).scrollTop()-o.stagePos.top:0,f=function(e){var i=l.opts[e];if(n.isFunction(i)&&(i=i.apply(s,[l,t])),i)switch(i){case"close":s.close(o.startEvent);break;case"toggleControls":s.toggleControls();break;case"next":s.next();break;case"nextOrClose":s.group.length>1?s.next():s.close(o.startEvent);break;case"zoom":"image"==l.type&&(l.isLoaded||l.$ghost)&&(s.canPan()?s.scaleToFit():s.isScaledDown()?s.scaleToActual(u,d):s.group.length<2&&s.close(o.startEvent))}};if((!t.originalEvent||2!=t.originalEvent.button)&&(a.is("img")||!(u>a[0].clientWidth+a.offset().left))){if(a.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container"))i="Outside";else if(a.is(".fancybox-slide"))i="Slide";else{if(!s.current.$content||!s.current.$content.find(a).addBack().filter(a).length)return;i="Content"}if(o.tapped){if(clearTimeout(o.tapped),o.tapped=null,Math.abs(u-o.tapX)>50||Math.abs(d-o.tapY)>50)return this;f("dblclick"+i)}else o.tapX=u,o.tapY=d,l.opts["dblclick"+i]&&l.opts["dblclick"+i]!==l.opts["click"+i]?o.tapped=setTimeout((function(){o.tapped=null,s.isAnimating||f("click"+i)}),500):f("click"+i);return this}},n(t).on("onActivate.fb",(function(e,t){t&&!t.Guestures&&(t.Guestures=new c(t))})).on("beforeClose.fb",(function(e,t){t&&t.Guestures&&t.Guestures.destroy()}))}(window,document,i),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 n=function(e){this.instance=e,this.init()};t.extend(n.prototype,{timer:null,isActive:!1,$button:null,init:function(){var e=this,n=e.instance,i=n.group[n.currIndex].opts.slideShow;e.$button=n.$refs.toolbar.find("[data-fancybox-play]").on("click",(function(){e.toggle()})),n.group.length<2||!i?e.$button.hide():i.progress&&(e.$progress=t('<div class="fancybox-progress"></div>').appendTo(n.$refs.inner))},set:function(e){var n=this,i=n.instance,o=i.current;o&&(!0===e||o.opts.loop||i.currIndex<i.group.length-1)?n.isActive&&"video"!==o.contentType&&(n.$progress&&t.fancybox.animate(n.$progress.show(),{scaleX:1},o.opts.slideShow.speed),n.timer=setTimeout((function(){i.current.opts.loop||i.current.index!=i.group.length-1?i.next():i.jumpTo(0)}),o.opts.slideShow.speed)):(n.stop(),i.idleSecondsCounter=0,i.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 n(t))},"beforeShow.fb":function(e,t,n,i){var o=t&&t.SlideShow;i?o&&n.opts.slideShow.autoStart&&o.start():o&&o.isActive&&o.clear()},"afterShow.fb":function(e,t,n){var i=t&&t.SlideShow;i&&i.isActive&&i.set()},"afterKeydown.fb":function(n,i,o,r,a){var s=i&&i.SlideShow;!s||!o.opts.slideShow||80!==a&&32!==a||t(e.activeElement).is("button,a,input")||(r.preventDefault(),s.toggle())},"beforeClose.fb onDeactivate.fb":function(e,t){var n=t&&t.SlideShow;n&&n.stop()}}),t(e).on("visibilitychange",(function(){var n=t.fancybox.getInstance(),i=n&&n.SlideShow;i&&i.isActive&&(e.hidden?i.clear():i.set())}))}(document,i),function(e,t){"use strict";var n=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"]],n={},i=0;i<t.length;i++){var o=t[i];if(o&&o[1]in e){for(var r=0;r<o.length;r++)n[t[0][r]]=o[r];return n}}return!1}();if(n){var i={request:function(t){(t=t||e.documentElement)[n.requestFullscreen](t.ALLOW_KEYBOARD_INPUT)},exit:function(){e[n.exitFullscreen]()},toggle:function(t){t=t||e.documentElement,this.isFullscreen()?this.exit():this.request(t)},isFullscreen:function(){return Boolean(e[n.fullscreenElement])},enabled:function(){return Boolean(e[n.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(n.fullscreenchange,(function(){var e=i.isFullscreen(),n=t.fancybox.getInstance();n&&(n.current&&"image"===n.current.type&&n.isAnimating&&(n.isAnimating=!1,n.update(!0,!0,0),n.isComplete||n.complete()),n.trigger("onFullscreenChange",e),n.$refs.container.toggleClass("fancybox-is-fullscreen",e),n.$refs.toolbar.find("[data-fancybox-fullscreen]").toggleClass("fancybox-button--fsenter",!e).toggleClass("fancybox-button--fsexit",e))}))}t(e).on({"onInit.fb":function(e,t){n?t&&t.group[t.currIndex].opts.fullScreen?(t.$refs.container.on("click.fb-fullscreen","[data-fancybox-fullscreen]",(function(e){e.stopPropagation(),e.preventDefault(),i.toggle()})),t.opts.fullScreen&&!0===t.opts.fullScreen.autoStart&&i.request(),t.FullScreen=i):t&&t.$refs.toolbar.find("[data-fancybox-fullscreen]").hide():t.$refs.toolbar.find("[data-fancybox-fullscreen]").remove()},"afterKeydown.fb":function(e,t,n,i,o){t&&t.FullScreen&&70===o&&(i.preventDefault(),t.FullScreen.toggle())},"beforeClose.fb":function(e,t){t&&t.FullScreen&&t.$refs.container.hasClass("fancybox-is-fullscreen")&&i.exit()}})}(document,i),function(e,t){"use strict";var n="fancybox-thumbs",i=n+"-active";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,n=e.group,i=0;t.instance=e,t.opts=n[e.currIndex].opts.thumbs,e.Thumbs=t,t.$button=e.$refs.toolbar.find("[data-fancybox-thumbs]");for(var o=0,r=n.length;o<r&&(n[o].thumb&&i++,!(i>1));o++);i>1&&t.opts?(t.$button.removeAttr("style").on("click",(function(){t.toggle()})),t.isActive=!0):t.$button.hide()},create:function(){var e,i=this,o=i.instance,r=i.opts.parentEl,a=[];i.$grid||(i.$grid=t('<div class="'+n+" "+n+"-"+i.opts.axis+'"></div>').appendTo(o.$refs.container.find(r).addBack().filter(r)),i.$grid.on("click","a",(function(){o.jumpTo(t(this).attr("data-index"))}))),i.$list||(i.$list=t('<div class="'+n+'__list">').appendTo(i.$grid)),t.each(o.group,(function(t,n){(e=n.thumb)||"image"!==n.type||(e=n.src),a.push('<a href="javascript:;" tabindex="0" data-index="'+t+'"'+(e&&e.length?' style="background-image:url('+e+')"':'class="fancybox-thumbs-missing"')+"></a>")})),i.$list[0].innerHTML=a.join(""),"x"===i.opts.axis&&i.$list.width(parseInt(i.$grid.css("padding-right"),10)+o.group.length*i.$list.children().eq(0).outerWidth(!0))},focus:function(e){var t,n,o=this,r=o.$list,a=o.$grid;o.instance.current&&(n=(t=r.children().removeClass(i).filter('[data-index="'+o.instance.current.index+'"]').addClass(i)).position(),"y"===o.opts.axis&&(n.top<0||n.top>r.height()-t.outerHeight())?r.stop().animate({scrollTop:r.scrollTop()+n.top},e):"x"===o.opts.axis&&(n.left<a.scrollLeft()||n.left>a.scrollLeft()+(a.width()-t.outerWidth()))&&r.parent().stop().animate({scrollLeft:n.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 n;t&&!t.Thumbs&&(n=new o(t)).isActive&&!0===n.opts.autoStart&&n.show()},"beforeShow.fb":function(e,t,n,i){var o=t&&t.Thumbs;o&&o.isVisible&&o.focus(i?0:250)},"afterKeydown.fb":function(e,t,n,i,o){var r=t&&t.Thumbs;r&&r.isActive&&71===o&&(i.preventDefault(),r.toggle())},"beforeClose.fb":function(e,t){var n=t&&t.Thumbs;n&&n.isVisible&&!1!==n.opts.hideOnClose&&n.$grid.hide()}})}(document,i),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,n,i,o,r=t.fancybox.getInstance(),a=r.current||null;a&&("function"===t.type(a.opts.share.url)&&(e=a.opts.share.url.apply(a,[r,a])),n=a.opts.share.tpl.replace(/\{\{media\}\}/g,"image"===a.type?encodeURIComponent(a.src):"").replace(/\{\{url\}\}/g,encodeURIComponent(e)).replace(/\{\{url_raw\}\}/g,(i=e,o={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"},String(i).replace(/[&<>"'`=\/]/g,(function(e){return o[e]})))).replace(/\{\{descr\}\}/g,r.$caption?encodeURIComponent(r.$caption.text()):""),t.fancybox.open({src:r.translate(r,n),type:"html",opts:{touch:!1,animationEffect:!1,afterLoad:function(e,t){r.$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}))},mobile:{autoFocus:!1}}}))}))}(document,i),function(e,t,n){"use strict";function i(){var t=e.location.hash.substr(1),n=t.split("-"),i=n.length>1&&/^\+?\d+$/.test(n[n.length-1])&&parseInt(n.pop(-1),10)||1;return{hash:t,index:i<1?1:i,gallery:n.join("-")}}function o(e){""!==e.gallery&&n("[data-fancybox='"+n.escapeSelector(e.gallery)+"']").eq(e.index-1).focus().trigger("click.fb-start")}function r(e){var t,n;return!!e&&(""!==(n=(t=e.current?e.current.opts:e.opts).hash||(t.$orig?t.$orig.data("fancybox")||t.$orig.data("fancybox-trigger"):""))&&n)}n.escapeSelector||(n.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}))}),n((function(){!1!==n.fancybox.defaults.hash&&(n(t).on({"onInit.fb":function(e,t){var n,o;!1!==t.group[t.currIndex].opts.hash&&(n=i(),(o=r(t))&&n.gallery&&o==n.gallery&&(t.currIndex=n.index-1))},"beforeShow.fb":function(n,i,o,a){var s;o&&!1!==o.opts.hash&&(s=r(i))&&(i.currentHash=s+(i.group.length>1?"-"+(o.index+1):""),e.location.hash!=="#"+i.currentHash&&(a&&!i.origHash&&(i.origHash=e.location.hash),i.hashTimer&&clearTimeout(i.hashTimer),i.hashTimer=setTimeout((function(){"replaceState"in e.history?(e.history[a?"pushState":"replaceState"]({},t.title,e.location.pathname+e.location.search+"#"+i.currentHash),a&&(i.hasCreatedHistory=!0)):e.location.hash=i.currentHash,i.hashTimer=null}),300)))},"beforeClose.fb":function(n,i,o){o&&!1!==o.opts.hash&&(clearTimeout(i.hashTimer),i.currentHash&&i.hasCreatedHistory?e.history.back():i.currentHash&&("replaceState"in e.history?e.history.replaceState({},t.title,e.location.pathname+e.location.search+(i.origHash||"")):e.location.hash=i.origHash),i.currentHash=null)}}),n(e).on("hashchange.fb",(function(){var e=i(),t=null;n.each(n(".fancybox-container").get().reverse(),(function(e,i){var o=n(i).data("FancyBox");if(o&&o.currentHash)return t=o,!1})),t?t.currentHash===e.gallery+"-"+e.index||1===e.index&&t.currentHash==e.gallery||(t.currentHash=null,t.close()):""!==e.gallery&&o(e)})),setTimeout((function(){n.fancybox.getInstance()||o(i())}),50))}))}(window,document,i),function(e,t){"use strict";var n=(new Date).getTime();t(e).on({"onInit.fb":function(e,t,i){t.$refs.stage.on("mousewheel DOMMouseScroll wheel MozMousePixelScroll",(function(e){var i=t.current,o=(new Date).getTime();t.group.length<2||!1===i.opts.wheel||"auto"===i.opts.wheel&&"image"!==i.type||(e.preventDefault(),e.stopPropagation(),i.$slide.hasClass("fancybox-animated")||(e=e.originalEvent||e,o-n<250||(n=o,t[(-e.deltaY||-e.deltaX||e.wheelDelta||-e.detail)<0?"next":"previous"]())))}))}})}(document,i)},806:function(e,t,n){var i,o=n(4249);(i=o).megaNavigation=function(e){var t=i.extend({mobileNavigationType:"slide",hasSlideMobileNavigation:!0,hasClassMobileNavigation:!1,subNavSelector:".subNav",hasChildrenSelector:".hasChildren",headerSelector:"#header",globalParentSelector:"body",globalParentIsActiveClass:".hasMobileMegaNavigationOpen",mobileNavigationSelector:"#mobileNavigation",mobileNavigationTrigger:"li",mobileNavigationTargetAttribute:"data-target",mobileNavOpenClass:"isOpen",navTrigger:".menu",navigationContainer:"#primaryNavigation",navigationWrapper:"#primaryNavigation nav > .wrapper",hideNavigationContainer:!0,debounceDelay:300,animationTime:300,selectedClass:".selected",activeClass:".active",hasBackUpLinks:!0,backUpPrefix:"Back to",backUpTopLevelText:"Main Menu",backUpClass:".back",hasSubjectLinks:!0,subjectIsHtml:!1,subjectClass:".subject",subjectTargetElement:"> a",desktopHasSubjectLinks:!1,hasDesktopDropdown:!1,hasGrandChildrenDesktopDropdown:!1,desktopDropdownSelector:!1},e),n=i(t.navigationContainer),o=i(t.navigationWrapper);function r(e){return e.replace(/^\./,"")}!1===t.hasSlideMobileNavigation&&!0===t.hasClassMobileNavigation&&(t.mobileNavigationType="class"),!1===t.desktopDropdownSelector&&(t.desktopDropdownSelector=t.hasChildrenSelector),i.megaNavigation.debounce=function(e,t){var n=null;return function(){var i=this,o=arguments;clearTimeout(n),n=setTimeout((function(){e.apply(i,o)}),t)}},i.megaNavigation.mobileView=function(){"use strict";return!!i(t.mobileNavigationSelector).is(":visible")};var a=i.megaNavigation.mobileView(),s=function(){l(),t.hasSubjectLinks&&i.each(i(t.subNavSelector),(function(e,n){var o=i(n),a=o.closest(t.hasChildrenSelector).find(t.subjectTargetElement).clone();a.removeAttr("accesskey"),o.prepend('<li class="'+r(t.subjectClass)+'">'+a[0].outerHTML+"</li>")}))};i.megaNavigation.addSubject=function(){return s()};var l=function(){o.find(t.subjectClass).remove()},c=function(){o.find(t.backUpClass).remove()},u=function(e){if(e.length&&e.has(i(t.subNavSelector)).length){e.addClass(r(t.selectedClass));var a=e.find(t.subNavSelector+":first").height();o.animate({left:"-=100%"},0).promise().done((function(){n.data("height",a),u(e.find(t.subNavSelector+":first > "+t.hasChildrenSelector+t.activeClass))}))}else n.css("visibility","visible"),"slide"==t.mobileNavigationType&&n.hide()},d=function(){n.css("visibility","hidden"),i(t.subNavSelector).removeAttr("style"),s(),n.data("height")||n.data("height",o.height()),t.hasDesktopDropdown&&(i(document).off("click.llDesktopNav"),i(document).off("click.llDesktopNavDocument"),i(t.navigationContainer+" "+t.selectedClass).removeClass(r(t.selectedClass))),c(),t.hasBackUpLinks&&t.hasSubjectLinks&&i.each(i(t.subNavSelector),(function(e,n){var o=i(n),a=o.closest(t.hasChildrenSelector).closest(t.subNavSelector).find(" > "+t.subjectClass+" > a, > "+t.subjectClass+" > span"),s=a.length?t.subjectIsHtml?a.html():a.text():t.backUpTopLevelText;o.prepend('<li class="'+r(t.backUpClass)+'">'+t.backUpPrefix+" "+s+"</li>")})),u(i(t.navigationContainer).find(t.activeClass).first()),i(t.hasChildrenSelector).find("> a, > span").on("click.llMegaNav",(function(e){e.preventDefault();var a=i(this);if(!a.data("isClicked")){a.data("isClicked",!0);var s=i(this).parent(t.hasChildrenSelector).addClass(r(t.selectedClass)).find(t.subNavSelector+":first").height();n.data("height",s),o.animate({left:"-=100%"},t.animationTime),n.animate({height:s},t.animationTime),setTimeout((function(){a.removeData("isClicked")}),t.animationTime)}})),i(t.backUpClass).on("click.llMegaNav",(function(){var e=i(this);if(!e.data("isClicked")){e.data("isClicked",!0);var a=e.closest(t.hasChildrenSelector),s=a.parent("ul").height();n.data("height",s),o.animate({left:"+=100%"},t.animationTime,(function(){a.removeClass(r(t.selectedClass))})),n.animate({height:s},t.animationTime),setTimeout((function(){e.removeData("isClicked")}),t.animationTime)}})),i(document).on("click.llMegaNav",(function(e){if(!i(e.target).is(t.mobileNavigationSelector)&&!i(e.target).parents(t.headerSelector).length&&("slide"==t.mobileNavigationType&&(n.slideUp(t.animationTime),i(t.mobileNavigationSelector+" "+t.navTrigger).removeClass(r(t.activeClass)),i(t.globalParentSelector).removeClass(r(t.globalParentIsActiveClass))),"class"==t.mobileNavigationType)){var o=i(t.mobileNavigationSelector).find(t.activeClass);o.removeClass(r(t.activeClass)),i(o.attr(t.mobileNavigationTargetAttribute)).removeClass(t.mobileNavOpenClass),i(t.globalParentSelector).removeClass(r(t.globalParentIsActiveClass))}})),"slide"==t.mobileNavigationType&&i(document).on("click.mobileNavigation",t.mobileNavigationSelector+" "+t.mobileNavigationTrigger,(function(e){e.preventDefault();var o=i(this),a=o.hasClass(r(t.activeClass)),s=n.data("height");return n.height(s),o.parent().find(t.mobileNavigationTrigger).each((function(){var e=i(this);e.hasClass(r(t.activeClass))&&(i(e.attr(t.mobileNavigationTargetAttribute)).slideUp(t.animationTime),e.removeClass(r(t.activeClass)),i(t.globalParentSelector).removeClass(r(t.globalParentIsActiveClass)))})),a||(i(o.attr(t.mobileNavigationTargetAttribute)).slideToggle(t.animationTime),o.addClass(r(t.activeClass)),i(t.globalParentSelector).addClass(r(t.globalParentIsActiveClass))),!1})),"class"==t.mobileNavigationType&&i(document).on("click.mobileNavigation",t.mobileNavigationSelector+" "+t.mobileNavigationTrigger,(function(e){e.preventDefault();var o=i(this),a=i(o.attr(t.mobileNavigationTargetAttribute)),s=n.data("height");n.height(s),o.hasClass(r(t.activeClass))?(o.removeClass(r(t.activeClass)),a.removeClass(r(t.mobileNavOpenClass)),i(t.globalParentSelector).removeClass(r(t.globalParentIsActiveClass))):(o.parent().find(t.mobileNavigationTrigger).each((function(){var e=i(this);e.hasClass(r(t.activeClass))&&(e.removeClass(r(t.activeClass)),i(t.globalParentSelector).removeClass(r(t.globalParentIsActiveClass)),i(e.attr(t.mobileNavigationTargetAttribute)).removeClass(r(t.mobileNavOpenClass)))})),o.addClass(r(t.activeClass)),a.addClass(r(t.mobileNavOpenClass)),i(t.globalParentSelector).addClass(r(t.globalParentIsActiveClass)))}))},f=function(e,o){return e?"m"!=o&&(d(),o="m"):"d"!=o&&(function(){if(i(t.hasChildrenSelector).find(t.subNavSelector+":first").hide(),t.desktopHasSubjectLinks?s():l(),c(),n.height("auto").data("height","").show(),i(t.mobileNavigationSelector).find(t.mobileNavigationTrigger).removeClass(r(t.activeClass)),n.find(t.activeClass).removeClass(r(t.selectedClass)),i(document).off("click.llMegaNav"),i(document).off("click.mobileNavigation"),i(t.hasChildrenSelector).find("> a, > span").off("click.llMegaNav"),i(t.navigationContainer+", "+t.navigationContainer+" *").removeAttr("style").removeClass(r(t.selectedClass)),i(t.mobileNavigationSelector+" "+t.mobileNavigationTrigger).each((function(){i(i(this).attr(t.mobileNavigationTargetAttribute)).removeAttr("style")})),t.hasDesktopDropdown){var e=t.desktopDropdownSelector+" > a:not("+t.subNavSelector+" a)";t.hasGrandChildrenDesktopDropdown&&(e=t.desktopDropdownSelector+" > a"),i(document).on("click.llDesktopNav",e,(function(e){e.preventDefault();var n=i(this).closest("li");n.closest("ul").find(t.subNavSelector).attr("style",""),n.hasClass(r(t.selectedClass))?n.removeClass(r(t.selectedClass)):(n.siblings().removeClass(r(t.selectedClass)),n.addClass(r(t.selectedClass)))})),i(document).on("click.llDesktopNavDocument",(function(e){i(e.target).parents(t.navigationContainer+" "+t.selectedClass).length||i(t.selectedClass).removeClass(r(t.selectedClass)).find(t.subNavSelector).attr("style","")}))}}(),o="d"),o};a=i.megaNavigation.mobileView();var h=f(a,h);i(window).resize(i.megaNavigation.debounce((function(){a=i.megaNavigation.mobileView(),h=f(a,h)}),t.debounceDelay))}},8476:function(){var e;"function"!=typeof(e=window.Element.prototype).matches&&(e.matches=e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||function(e){for(var t=this,n=(t.document||t.ownerDocument).querySelectorAll(e),i=0;n[i]&&n[i]!==t;)++i;return Boolean(n[i])}),"function"!=typeof e.closest&&(Element.prototype.closest=function(e){var t=this;if(!document.documentElement.contains(t))return null;do{if(t.matches(e))return t;t=t.parentElement}while(null!==t);return null})},1116:function(){"undefined"!=typeof window&&window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(e,t){t=t||window;for(var n=0;n<this.length;n++)e.call(t,this[n],n,this)})},7165:function(){String.prototype.includes||(String.prototype.includes=function(e,t){"use strict";return"number"!=typeof t&&(t=0),!(t+e.length>this.length)&&-1!==this.indexOf(e,t)})},2532:function(e,t,n){var i=n(4249);void 0!==i(".pageHome .tx-llslider-pi1 > .royalSlider").royalSlider&&i(".pageHome .tx-llslider-pi1 > .royalSlider").royalSlider({autoHeight:!0,arrowsNavAutoHide:!1,fadeinLoadedSlide:!0,controlNavigationSpacing:0,imageScaleMode:"none",imageAlignCenter:!1,loopRewind:!0,numImagesToPreload:6,keyboardNavEnabled:!0,usePreloader:!1,transitionType:"move",arrowsNav:!1,controlNavigation:"bullets",randomizeSlides:!1,orientation:"horizontal",loop:!0,autoPlay:{enabled:!1,delay:4e3}})},4238:function(e,t,n){var i,o,r,a,s,l,c,u=n(4249);function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}!function(e){function t(t,n){var i,o=this,r=window.navigator,a=r.userAgent.toLowerCase();o.uid=e.rsModules.uid++,o.ns=".rs"+o.uid;var s,l=document.createElement("div").style,c=["webkit","Moz","ms","O"],u="",d=0;for(i=0;i<c.length;i++){var f=c[i];!u&&f+"Transform"in l&&(u=f),f=f.toLowerCase(),window.requestAnimationFrame||(window.requestAnimationFrame=window[f+"RequestAnimationFrame"],window.cancelAnimationFrame=window[f+"CancelAnimationFrame"]||window[f+"CancelRequestAnimationFrame"])}window.requestAnimationFrame||(window.requestAnimationFrame=function(e,t){var n=(new Date).getTime(),i=Math.max(0,16-(n-d)),o=window.setTimeout((function(){e(n+i)}),i);return d=n+i,o}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)}),o.isIPAD=a.match(/(ipad)/),o.isIOS=o.isIPAD||a.match(/(iphone|ipod)/),i=function(e){return{browser:(e=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||0>e.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[])[1]||"",version:e[2]||"0"}}(a),c={},i.browser&&(c[i.browser]=!0,c.version=i.version),c.chrome&&(c.webkit=!0),o._browser=c,o.isAndroid=-1<a.indexOf("android"),o.slider=e(t),o.ev=e(o),o._doc=e(document),o.st=e.extend({},e.fn.royalSlider.defaults,n),o._currAnimSpeed=o.st.transitionSpeed,o._minPosOffset=0,!o.st.allowCSS3||c.webkit&&!o.st.allowCSS3OnWebkit||(i=u+(u?"T":"t"),o._useCSS3Transitions=i+"ransform"in l&&i+"ransition"in l,o._useCSS3Transitions&&(o._use3dTransform=u+(u?"P":"p")+"erspective"in l)),u=u.toLowerCase(),o._vendorPref="-"+u+"-",o._slidesHorizontal="vertical"!==o.st.slidesOrientation,o._reorderProp=o._slidesHorizontal?"left":"top",o._sizeProp=o._slidesHorizontal?"width":"height",o._prevNavItemId=-1,o._isMove="fade"!==o.st.transitionType,o._isMove||(o.st.sliderDrag=!1,o._fadeZIndex=10),o._opacityCSS="z-index:0; display:none; opacity:0;",o._newSlideId=0,o._sPosition=0,o._nextSlidePos=0,e.each(e.rsModules,(function(e,t){"uid"!==e&&t.call(o)})),o.slides=[],o._idCount=0,(o.st.slides?e(o.st.slides):o.slider.children().detach()).each((function(){o._parseNode(this,!0)})),o.st.randomizeSlides&&o.slides.sort((function(){return.5-Math.random()})),o.numSlides=o.slides.length,o._refreshNumPreloadImages(),o.st.startSlideId?o.st.startSlideId>o.numSlides-1&&(o.st.startSlideId=o.numSlides-1):o.st.startSlideId=0,o._newSlideId=o.staticSlideId=o.currSlideId=o._realId=o.st.startSlideId,o.currSlide=o.slides[o.currSlideId],o._accelerationPos=0,o.pointerMultitouch=!1,o.slider.addClass((o._slidesHorizontal?"rsHor":"rsVer")+(o._isMove?"":" rsFade")),l='<div class="rsOverflow"><div class="rsContainer">',o.slidesSpacing=o.st.slidesSpacing,o._slideSize=(o._slidesHorizontal?o.slider.width():o.slider.height())+o.st.slidesSpacing,o._preload=0<o._numPreloadImages,1>=o.numSlides&&(o._loop=!1),o._loopHelpers=o._loop&&o._isMove?2===o.numSlides?1:2:0,o._maxImages=6>o.numSlides?o.numSlides:6,o._currBlockIndex=0,o._idOffset=0,o.slidesJQ=[];for(i=0;i<o.numSlides;i++)o.slidesJQ.push(e('<div style="'+(o._isMove?"":i!==o.currSlideId?o._opacityCSS:"z-index:0;")+'" class="rsSlide "></div>'));o._sliderOverflow=l=e(l+"</div></div>"),u=function(e,t,n,i,r){o._downEvent=e+t,o._moveEvent=e+n,o._upEvent=e+i,r&&(o._cancelEvent=e+r)},i=r.pointerEnabled,o.pointerEnabled=i||r.msPointerEnabled,o.pointerEnabled?(o.hasTouch=!1,o._lastItemFriction=.2,o.pointerMultitouch=1<r[(i?"m":"msM")+"axTouchPoints"],i?u("pointer","down","move","up","cancel"):u("MSPointer","Down","Move","Up","Cancel")):(o.isIOS?o._downEvent=o._moveEvent=o._upEvent=o._cancelEvent="":u("mouse","down","move","up"),"ontouchstart"in window||"createTouch"in document?(o.hasTouch=!0,o._downEvent+=" touchstart",o._moveEvent+=" touchmove",o._upEvent+=" touchend",o._cancelEvent+=" touchcancel",o._lastItemFriction=.5,o.st.sliderTouch&&(o._hasDrag=!0)):(o.hasTouch=!1,o._lastItemFriction=.2)),o.st.sliderDrag&&(o._hasDrag=!0,c.msie||c.opera?o._grabCursor=o._grabbingCursor="move":c.mozilla?(o._grabCursor="-moz-grab",o._grabbingCursor="-moz-grabbing"):c.webkit&&-1!=r.platform.indexOf("Mac")&&(o._grabCursor="-webkit-grab",o._grabbingCursor="-webkit-grabbing"),o._setGrabCursor()),o.slider.html(l),o._controlsContainer=o.st.controlsInside?o._sliderOverflow:o.slider,o._slidesContainer=o._sliderOverflow.children(".rsContainer"),o.pointerEnabled&&o._slidesContainer.css((i?"":"-ms-")+"touch-action",o._slidesHorizontal?"pan-y":"pan-x"),o._preloader=e('<div class="rsPreloader"></div>'),r=o._slidesContainer.children(".rsSlide"),o._currHolder=o.slidesJQ[o.currSlideId],o._selectedSlideHolder=0,o._eventCallbacks={dragStart:function(e){o._onDragStart(e)},dragStartThumb:function(e){o._onDragStart(e,!0)},touchmoveFix:function(){}},o._useCSS3Transitions?(o._TP="transition-property",o._TD="transition-duration",o._TTF="transition-timing-function",o._yProp=o._xProp=o._vendorPref+"transform",o._use3dTransform?(c.webkit&&!c.chrome&&o.slider.addClass("rsWebkit3d"),o._tPref1="translate3d(",o._tPref2="px, ",o._tPref3="px, 0px)"):(o._tPref1="translate(",o._tPref2="px, ",o._tPref3="px)"),o._isMove?o._slidesContainer[o._vendorPref+o._TP]=o._vendorPref+"transform":((c={})[o._vendorPref+o._TP]="opacity",c[o._vendorPref+o._TD]=o.st.transitionSpeed+"ms",c[o._vendorPref+o._TTF]=o.st.css3easeInOut,r.css(c))):(o._xProp="left",o._yProp="top"),o._slidesHorizontal&&o.slider.css("touch-action","pan-y"),e(window).on("resize"+o.ns,(function(){s&&clearTimeout(s),s=setTimeout((function(){o.updateSliderSize()}),50)})),o.ev.trigger("rsAfterPropsSetup"),o.updateSliderSize(),o.st.keyboardNavEnabled&&o._bindKeyboardNav(),o.st.arrowsNavHideOnTouch&&(o.hasTouch||o.pointerMultitouch)&&(o.st.arrowsNav=!1),o.st.arrowsNav&&(r=o._controlsContainer,e('<div class="rsArrow rsArrowLeft"><div class="rsArrowIcn"></div></div><div class="rsArrow rsArrowRight"><div class="rsArrowIcn"></div></div>').appendTo(r),o._arrowLeft=r.children(".rsArrowLeft").click((function(e){e.preventDefault(),o.prev()})),o._arrowRight=r.children(".rsArrowRight").click((function(e){e.preventDefault(),o.next()})),o.st.arrowsNavAutoHide&&!o.hasTouch&&(o._arrowLeft.addClass("rsHidden"),o._arrowRight.addClass("rsHidden"),r.one("mousemove.arrowshover",(function(){o._arrowLeft.removeClass("rsHidden"),o._arrowRight.removeClass("rsHidden")})),r.hover((function(){o._arrowsAutoHideLocked||(o._arrowLeft.removeClass("rsHidden"),o._arrowRight.removeClass("rsHidden"))}),(function(){o._arrowsAutoHideLocked||(o._arrowLeft.addClass("rsHidden"),o._arrowRight.addClass("rsHidden"))}))),o.ev.on("rsOnUpdateNav",(function(){o._updateArrowsNav()})),o._updateArrowsNav()),o.hasTouch&&o.st.sliderTouch||!o.hasTouch&&o.st.sliderDrag?(o._bindPassiveEvent(o._slidesContainer[0],o._downEvent,o._eventCallbacks.dragStart,!1),o._bindPassiveEvent(o.slider[0],o._moveEvent,o._eventCallbacks.touchmoveFix,!1)):o.dragSuccess=!1;var h=["rsPlayBtnIcon","rsPlayBtn","rsCloseVideoBtn","rsCloseVideoIcn"];o._slidesContainer.click((function(t){if(!o.dragSuccess){var n=e(t.target).attr("class");if(-1!==e.inArray(n,h)&&o.toggleVideo())return!1;if(o.st.navigateByClick&&!o._blockActions){if(e(t.target).closest(".rsNoDrag",o._currHolder).length)return!0;o._mouseNext(t)}o.ev.trigger("rsSlideClick",t)}})).on("click.rs","a",(function(e){if(o.dragSuccess)return!1;o._blockActions=!0,setTimeout((function(){o._blockActions=!1}),3)})),o.ev.trigger("rsAfterInit")}e.rsModules||(e.rsModules={uid:0}),t.prototype={constructor:t,_mouseNext:function(e){(e=e[this._slidesHorizontal?"pageX":"pageY"]-this._sliderOffset)>=this._nextSlidePos?this.next():0>e&&this.prev()},_refreshNumPreloadImages:function(){var e=this.st.numImagesToPreload;(this._loop=this.st.loop)&&(2===this.numSlides?(this._loop=!1,this.st.loopRewind=!0):2>this.numSlides&&(this.st.loopRewind=this._loop=!1)),this._loop&&0<e&&(4>=this.numSlides?e=1:this.st.numImagesToPreload>(this.numSlides-1)/2&&(e=Math.floor((this.numSlides-1)/2))),this._numPreloadImages=e},_parseNode:function(t,n){function i(e,t){if(t?r.images.push(e.attr(t)):r.images.push(e.text()),a){a=!1,r.caption="src"===t?e.attr("alt"):e.contents(),r.image=r.images[0],r.videoURL=e.attr("data-rsVideo");var n=e.attr("data-rsw"),i=e.attr("data-rsh");void 0!==n&&!1!==n&&void 0!==i&&!1!==i?(r.iW=parseInt(n,10),r.iH=parseInt(i,10)):o.st.imgWidth&&o.st.imgHeight&&(r.iW=o.st.imgWidth,r.iH=o.st.imgHeight)}}var o=this,r={},a=!0;if(t=e(t),o._currContent=t,o.ev.trigger("rsBeforeParseNode",[t,r]),!r.stopParsing){if(t=o._currContent,r.id=o._idCount,r.contentAdded=!1,o._idCount++,r.images=[],r.isBig=!1,!r.hasCover){if(t.hasClass("rsImg"))var s=t,l=!0;else(s=t.find(".rsImg")).length&&(l=!0);l?(r.bigImage=s.eq(0).attr("data-rsBigImg"),s.each((function(){var t=e(this);t.is("a")?i(t,"href"):t.is("img")?i(t,"src"):i(t)}))):t.is("img")&&(t.addClass("rsImg rsMainSlideImage"),i(t,"src"))}return(s=t.find(".rsCaption")).length&&(r.caption=s.remove()),r.content=t,o.ev.trigger("rsAfterParseNode",[t,r]),n&&o.slides.push(r),0===r.images.length&&(r.isLoaded=!0,r.isRendered=!1,r.isLoading=!1,r.images=null),r}},_bindKeyboardNav:function(){var e,t,n=this,i=function(e){37===e?n.prev():39===e&&n.next()};n._doc.on("keydown"+n.ns,(function(o){if(!n.st.keyboardNavEnabled)return!0;if(!(n._isDragging||(t=o.keyCode,37!==t&&39!==t||e))){if(document.activeElement&&/(INPUT|SELECT|TEXTAREA)/i.test(document.activeElement.tagName))return!0;n.isFullscreen&&o.preventDefault(),i(t),e=setInterval((function(){i(t)}),700)}})).on("keyup"+n.ns,(function(t){e&&(clearInterval(e),e=null)}))},goTo:function(e,t){e!==this.currSlideId&&this._moveTo(e,this.st.transitionSpeed,!0,!t)},destroy:function(t){this.ev.trigger("rsBeforeDestroy"),this._doc.off("keydown"+this.ns+" keyup"+this.ns),this._eventCallbacks.dragMove&&(this._unbindPassiveEvent(document,this._moveEvent,this._eventCallbacks.dragMove,!0),this._unbindPassiveEvent(document,this._upEvent,this._eventCallbacks.dragRelease,!0)),this._eventCallbacks.downEvent&&(this._unbindPassiveEvent(this._slidesContainer[0],this._downEvent,this._eventCallbacks.dragStart,!1),this._unbindPassiveEvent(this.slider[0],this._moveEvent,this._eventCallbacks.touchmoveFix,!1)),this._slidesContainer.off(this._downEvent+" click"),this.slider.data("royalSlider",null),e.removeData(this.slider,"royalSlider"),e(window).off("resize"+this.ns),this.loadingTimeout&&clearTimeout(this.loadingTimeout),t&&this.slider.remove(),this.ev=this.slider=this.slides=null},_updateBlocksContent:function(t,n){function i(n,i,a){n.isAdded?(o(i,n),r(i,n)):(a||(a=c.slidesJQ[i]),n.holder?a=n.holder:(a=c.slidesJQ[i]=e(a),n.holder=a),n.appendOnLoaded=!1,r(i,n,a),o(i,n),c._addBlockToContainer(n,a,t),n.isAdded=!0)}function o(e,n){n.contentAdded||(c.setItemHtml(n,t),t||(n.contentAdded=!0))}function r(e,t,n){c._isMove&&(n||(n=c.slidesJQ[e]),n.css(c._reorderProp,(e+c._idOffset+b)*c._slideSize))}function a(e){if(u){if(e>d-1)return a(e-d);if(0>e)return a(d+e)}return e}var s,l,c=this,u=c._loop,d=c.numSlides;if(!isNaN(n))return a(n);var f=c.currSlideId,h=t?Math.abs(c._prevSlideId-c.currSlideId)>=c.numSlides-1?0:1:c._numPreloadImages,p=Math.min(2,h),m=!1,g=!1;for(l=f;l<f+1+p;l++){var v=a(l);if((s=c.slides[v])&&(!s.isAdded||!s.positionSet)){m=!0;break}}for(l=f-1;l>f-1-p;l--)if(v=a(l),(s=c.slides[v])&&(!s.isAdded||!s.positionSet)){g=!0;break}if(m)for(l=f;l<f+h+1;l++){v=a(l);var b=Math.floor((c._realId-(f-l))/c.numSlides)*c.numSlides;(s=c.slides[v])&&i(s,v)}if(g)for(l=f-1;l>f-1-h;l--)v=a(l),b=Math.floor((c._realId-(f-l))/d)*d,(s=c.slides[v])&&i(s,v);if(!t)for(h=(p=a(f-h))>(f=a(f+h))?0:p,l=0;l<d;l++)p>f&&l>p-1||!(l<h||l>f)||(s=c.slides[l])&&s.holder&&(s.holder.detach(),s.isAdded=!1)},setItemHtml:function(t,n){var i=this,o=function(){if(t.images){if(!t.isLoading){if(t.content.hasClass("rsImg"))var n=t.content,o=!0;else n=t.content.find(".rsImg:not(img)");if(n&&!n.is("img")&&n.each((function(){var n=e(this),i='<img class="rsImg" src="'+(n.is("a")?n.attr("href"):n.text())+'" />';o?t.content=e(i):n.replaceWith(i)})),n=o?t.content:t.content.find("img.rsImg"),c(),n.eq(0).addClass("rsMainSlideImage"),t.iW&&t.iH&&(t.isLoaded||i._resizeImage(t),s()),t.isLoading=!0,t.isBig)e("<img />").on("load.rs error.rs",(function(t){e(this).off("load.rs error.rs"),r([this],!0)})).attr("src",t.image);else{t.loaded=[],t.numStartedLoad=0,n=function(n){e(this).off("load.rs error.rs"),t.loaded.push(this),t.loaded.length===t.numStartedLoad&&r(t.loaded,!1)};for(var a=0;a<t.images.length;a++){var l=e("<img />");t.numStartedLoad++,l.on("load.rs error.rs",n).attr("src",t.images[a])}}}}else t.isRendered=!0,t.isLoaded=!0,t.isLoading=!1,s(!0)},r=function(e,n){if(e.length){var i=e[0];if(n!==t.isBig)(i=t.holder.children())&&1<i.length&&u();else if(t.iW&&t.iH)a();else if(t.iW=i.width,t.iH=i.height,t.iW&&t.iH)a();else{var o=new Image;o.onload=function(){o.width?(t.iW=o.width,t.iH=o.height,a()):setTimeout((function(){o.width&&(t.iW=o.width,t.iH=o.height),a()}),1e3)},o.src=i.src}}else a()},a=function(){t.isLoaded=!0,t.isLoading=!1,s(),u(),l()},s=function(){if(!t.isAppended&&i.ev){var e=i.st.visibleNearby,o=t.id-i._newSlideId;n||t.appendOnLoaded||!i.st.fadeinLoadedSlide||0!==o&&(!(e||i._isAnimating||i._isDragging)||-1!==o&&1!==o)||((e={visibility:"visible",opacity:0})[i._vendorPref+"transition"]="opacity 400ms ease-in-out",t.content.css(e),setTimeout((function(){t.content.css("opacity",1)}),16)),t.holder.find(".rsPreloader").length?t.holder.append(t.content):t.holder.html(t.content),t.isAppended=!0,t.isLoaded&&(i._resizeImage(t),l()),t.sizeReady||(t.sizeReady=!0,setTimeout((function(){i.ev.trigger("rsMaybeSizeReady",t)}),100))}},l=function(){!t.loadedTriggered&&i.ev&&(t.isLoaded=t.loadedTriggered=!0,t.holder.trigger("rsAfterContentSet"),i.ev.trigger("rsAfterContentSet",t))},c=function(){i.st.usePreloader&&t.holder.html(i._preloader.clone())},u=function(e){i.st.usePreloader&&((e=t.holder.find(".rsPreloader")).length&&e.remove())};t.isLoaded?s():n?!i._isMove&&t.images&&t.iW&&t.iH?o():(t.holder.isWaiting=!0,c(),t.holder.slideId=-99):o()},_addBlockToContainer:function(e,t,n){this._slidesContainer.append(e.holder),e.appendOnLoaded=!1},_onDragStart:function(t,n){var i=this,o="touchstart"===t.type;if(i._isTouchGesture=o,i.ev.trigger("rsDragStart"),e(t.target).closest(".rsNoDrag",i._currHolder).length)return i.dragSuccess=!1,!0;if(!n&&i._isAnimating&&(i._wasAnimating=!0,i._stopAnimation()),i.dragSuccess=!1,i._isDragging)o&&(i._multipleTouches=!0);else{if(o&&(i._multipleTouches=!1),i._setGrabbingCursor(),o){var r=t.touches;if(!(r&&0<r.length))return;var a=r[0];1<r.length&&(i._multipleTouches=!0)}else t.preventDefault(),a=t;i._isDragging=!0,i._eventCallbacks.dragMove&&(i._unbindPassiveEvent(document,i._moveEvent,i._eventCallbacks.dragMove,!0),i._unbindPassiveEvent(document,i._upEvent,i._eventCallbacks.dragRelease,!0)),i._eventCallbacks.dragMove=function(e){i._onDragMove(e,n)},i._eventCallbacks.dragRelease=function(e){i._onDragRelease(e,n)},i._bindPassiveEvent(document,i._moveEvent,i._eventCallbacks.dragMove,!0),i._bindPassiveEvent(document,i._upEvent,i._eventCallbacks.dragRelease,!0),i._currMoveAxis="",i._hasMoved=!1,i._pageX=a.pageX,i._pageY=a.pageY,i._startPagePos=i._accelerationPos=(n?i._thumbsHorizontal:i._slidesHorizontal)?a.pageX:a.pageY,i._horDir=0,i._verDir=0,i._currRenderPosition=n?i._thumbsPosition:i._sPosition,i._startTime=(new Date).getTime(),o&&i._sliderOverflow.on(i._cancelEvent,(function(e){i._onDragRelease(e,n)}))}},_renderMovement:function(e,t){if(this._checkedAxis){var n=this._renderMoveTime,i=e.pageX-this._pageX,o=e.pageY-this._pageY,r=this._currRenderPosition+i,a=this._currRenderPosition+o,s=t?this._thumbsHorizontal:this._slidesHorizontal;r=s?r:a,a=this._currMoveAxis,this._hasMoved=!0,this._pageX=e.pageX,this._pageY=e.pageY,"x"===a&&0!==i?this._horDir=0<i?1:-1:"y"===a&&0!==o&&(this._verDir=0<o?1:-1),a=s?this._pageX:this._pageY,i=s?i:o,t?(r>this._thumbsMinPosition||r<this._thumbsMaxPosition)&&(r=this._currRenderPosition+i*this._lastItemFriction):this._loop||(0>=this.currSlideId&&0<a-this._startPagePos&&(r=this._currRenderPosition+i*this._lastItemFriction),this.currSlideId>=this.numSlides-1&&0>a-this._startPagePos&&(r=this._currRenderPosition+i*this._lastItemFriction)),this._currRenderPosition=r,200<n-this._startTime&&(this._startTime=n,this._accelerationPos=a),t?this._setThumbsPosition(this._currRenderPosition):this._isMove&&this._setPosition(this._currRenderPosition)}},_onDragMove:function(e,t){var n=this,i="touchmove"===e.type;if(!n._isTouchGesture||i){if(i){if(n._lockAxis)return;var o=e.touches;if(!o)return;if(1<o.length)return;var r=o[0]}else r=e;if(n._hasMoved||(n._useCSS3Transitions&&(t?n._thumbsContainer:n._slidesContainer).css(n._vendorPref+n._TD,"0s"),function e(){n._isDragging&&(n._animFrame=requestAnimationFrame(e),n._renderMoveEvent&&n._renderMovement(n._renderMoveEvent,t))}()),n._checkedAxis)e.preventDefault(),n._renderMoveTime=(new Date).getTime(),n._renderMoveEvent=r;else if(o=t?n._thumbsHorizontal:n._slidesHorizontal,7<(r=Math.abs(r.pageX-n._pageX)-Math.abs(r.pageY-n._pageY)-(o?-7:7))){if(o)e.preventDefault(),n._currMoveAxis="x";else if(i)return void n._completeGesture(e);n._checkedAxis=!0}else if(-7>r){if(o){if(i)return void n._completeGesture(e)}else e.preventDefault(),n._currMoveAxis="y";n._checkedAxis=!0}}},_completeGesture:function(e,t){this._lockAxis=!0,this._hasMoved=this._isDragging=!1,this._onDragRelease(e)},_onDragRelease:function(t,n){function i(e){return 100>e?100:500<e?500:e}function o(e,t){(a._isMove||n)&&(g=(-a._realId-a._idOffset)*a._slideSize,r=Math.abs(a._sPosition-g),a._currAnimSpeed=r/t,e&&(a._currAnimSpeed+=250),a._currAnimSpeed=i(a._currAnimSpeed),a._animateTo(g,!1))}var r,a=this,s=-1<t.type.indexOf("touch");if(!a._isTouchGesture||s)if(a._isTouchGesture=!1,a.ev.trigger("rsDragRelease"),a._renderMoveEvent=null,a._isDragging=!1,a._lockAxis=!1,a._checkedAxis=!1,a._renderMoveTime=0,cancelAnimationFrame(a._animFrame),a._hasMoved&&(n?a._setThumbsPosition(a._currRenderPosition):a._isMove&&a._setPosition(a._currRenderPosition)),a._eventCallbacks.dragMove&&(a._unbindPassiveEvent(document,a._moveEvent,a._eventCallbacks.dragMove,!0),a._unbindPassiveEvent(document,a._upEvent,a._eventCallbacks.dragRelease,!0)),s&&a._sliderOverflow.off(a._cancelEvent),a._setGrabCursor(),!a._hasMoved&&!a._multipleTouches&&n&&a._thumbsEnabled){var l=e(t.target).closest(".rsNavItem");l.length&&a.goTo(l.index())}else{if(l=n?a._thumbsHorizontal:a._slidesHorizontal,!a._hasMoved||"y"===a._currMoveAxis&&l||"x"===a._currMoveAxis&&!l){if(n||!a._wasAnimating)return a._wasAnimating=!1,void(a.dragSuccess=!1);if(a._wasAnimating=!1,a.st.navigateByClick)return a._mouseNext(t),void(a.dragSuccess=!0);a.dragSuccess=!0}else a.dragSuccess=!0;a._wasAnimating=!1,a._currMoveAxis="";var c=a.st.minSlideOffset;s=s?t.changedTouches[0]:t;var u=l?s.pageX:s.pageY,d=a._startPagePos,f=a.currSlideId,h=a.numSlides,p=l?a._horDir:a._verDir,m=a._loop;if(s=u-a._accelerationPos,l=(new Date).getTime()-a._startTime,l=Math.abs(s)/l,0===p||1>=h)o(!0,l);else{if(!m&&!n)if(0>=f){if(0<p)return void o(!0,l)}else if(f>=h-1&&0>p)return void o(!0,l);if(n){var g=a._thumbsPosition;if(g>a._thumbsMinPosition)g=a._thumbsMinPosition;else if(g<a._thumbsMaxPosition)g=a._thumbsMaxPosition;else{u=l*l/.006;var v=-a._thumbsPosition;if(d=a._thumbsContainerSize-a._thumbsViewportSize+a._thumbsPosition,0<s&&u>v?(l=l*(v+=a._thumbsViewportSize/(15/(u/l*.003)))/u,u=v):0>s&&u>d&&(l=l*(d+=a._thumbsViewportSize/(15/(u/l*.003)))/u,u=d),v=Math.max(Math.round(l/.003),50),(g+=u*(0>s?-1:1))>a._thumbsMinPosition)return void a._animateThumbsTo(g,v,!0,a._thumbsMinPosition,200);if(g<a._thumbsMaxPosition)return void a._animateThumbsTo(g,v,!0,a._thumbsMaxPosition,200)}a._animateThumbsTo(g,v,!0)}else v=function(e){var t=Math.floor(e/a._slideSize);return e-t*a._slideSize>c&&t++,t},d+c<u?0>p?o(!1,l):(v=v(u-d),a._moveTo(a.currSlideId-v,i(Math.abs(a._sPosition-(-a._realId-a._idOffset+v)*a._slideSize)/l),!1,!0,!0)):d-c>u?0<p?o(!1,l):(v=v(d-u),a._moveTo(a.currSlideId+v,i(Math.abs(a._sPosition-(-a._realId-a._idOffset-v)*a._slideSize)/l),!1,!0,!0)):o(!1,l)}}},_setPosition:function(e){e=this._sPosition=e,this._useCSS3Transitions?this._slidesContainer.css(this._xProp,this._tPref1+(this._slidesHorizontal?e+this._tPref2+0:0+this._tPref2+e)+this._tPref3):this._slidesContainer.css(this._slidesHorizontal?this._xProp:this._yProp,e)},updateSliderSize:function(e){if(this.slider){if(this.st.autoScaleSlider){var t=this.st.autoScaleSliderWidth,n=this.st.autoScaleSliderHeight;if(this.st.autoScaleHeight){var i=this.slider.width();i!=this.width&&(this.slider.css("height",n/t*i),i=this.slider.width());var o=this.slider.height()}else(o=this.slider.height())!=this.height&&(this.slider.css("width",t/n*o),o=this.slider.height()),i=this.slider.width()}else i=this.slider.width(),o=this.slider.height();if(e||i!=this.width||o!=this.height){for(this.width=i,this.height=o,this._wrapWidth=i,this._wrapHeight=o,this.ev.trigger("rsBeforeSizeSet"),this.ev.trigger("rsAfterSizePropSet"),this._sliderOverflow.css({width:this._wrapWidth,height:this._wrapHeight}),this._slideSize=(this._slidesHorizontal?this._wrapWidth:this._wrapHeight)+this.st.slidesSpacing,this._imagePadding=this.st.imageScalePadding,i=0;i<this.slides.length;i++)(e=this.slides[i]).positionSet=!1,e&&e.images&&e.isLoaded&&(e.isRendered=!1,this._resizeImage(e));if(this._cloneHolders)for(i=0;i<this._cloneHolders.length;i++)(e=this._cloneHolders[i]).holder.css(this._reorderProp,(e.id+this._idOffset)*this._slideSize);this._updateBlocksContent(),this._isMove&&(this._useCSS3Transitions&&this._slidesContainer.css(this._vendorPref+"transition-duration","0s"),this._setPosition((-this._realId-this._idOffset)*this._slideSize)),this.ev.trigger("rsOnUpdateNav")}this._sliderOffset=this._sliderOverflow.offset(),this._sliderOffset=this._sliderOffset[this._reorderProp]}},appendSlide:function(t,n){var i=this._parseNode(t);(isNaN(n)||n>this.numSlides)&&(n=this.numSlides),this.slides.splice(n,0,i),this.slidesJQ.splice(n,0,e('<div style="'+(this._isMove?"position:absolute;":this._opacityCSS)+'" class="rsSlide"></div>')),n<=this.currSlideId&&this.currSlideId++,this.ev.trigger("rsOnAppendSlide",[i,n]),this._refreshSlides(n),n===this.currSlideId&&this.ev.trigger("rsAfterSlideChange")},removeSlide:function(e){var t=this.slides[e];t&&(t.holder&&t.holder.remove(),e<this.currSlideId&&this.currSlideId--,this.slides.splice(e,1),this.slidesJQ.splice(e,1),this.ev.trigger("rsOnRemoveSlide",[e]),this._refreshSlides(e),e===this.currSlideId&&this.ev.trigger("rsAfterSlideChange"))},_refreshSlides:function(e){var t=this;for(e=t.numSlides,e=0>=t._realId?0:Math.floor(t._realId/e),t.numSlides=t.slides.length,0===t.numSlides?(t.currSlideId=t._idOffset=t._realId=0,t.currSlide=t._oldHolder=null):t._realId=e*t.numSlides+t.currSlideId,e=0;e<t.numSlides;e++)t.slides[e].id=e;t.currSlide=t.slides[t.currSlideId],t._currHolder=t.slidesJQ[t.currSlideId],t.currSlideId>=t.numSlides?t.goTo(t.numSlides-1):0>t.currSlideId&&t.goTo(0),t._refreshNumPreloadImages(),t._isMove&&t._slidesContainer.css(t._vendorPref+t._TD,"0ms"),t._refreshSlidesTimeout&&clearTimeout(t._refreshSlidesTimeout),t._refreshSlidesTimeout=setTimeout((function(){t._isMove&&t._setPosition((-t._realId-t._idOffset)*t._slideSize),t._updateBlocksContent(),t._isMove||t._currHolder.css({display:"block",opacity:1})}),14),t.ev.trigger("rsOnUpdateNav")},_setGrabCursor:function(){this._hasDrag&&this._isMove&&(this._grabCursor?this._sliderOverflow.css("cursor",this._grabCursor):(this._sliderOverflow.removeClass("grabbing-cursor"),this._sliderOverflow.addClass("grab-cursor")))},_setGrabbingCursor:function(){this._hasDrag&&this._isMove&&(this._grabbingCursor?this._sliderOverflow.css("cursor",this._grabbingCursor):(this._sliderOverflow.removeClass("grab-cursor"),this._sliderOverflow.addClass("grabbing-cursor")))},next:function(e){this._moveTo("next",this.st.transitionSpeed,!0,!e)},prev:function(e){this._moveTo("prev",this.st.transitionSpeed,!0,!e)},_moveTo:function(e,t,n,i,o){var r=this;r.ev.trigger("rsBeforeMove",[e,i]);var a="next"===e?r.currSlideId+1:"prev"===e?r.currSlideId-1:e=parseInt(e,10);if(!r._loop){if(0>a)return void r._doBackAndForthAnim("left",!i);if(a>=r.numSlides)return void r._doBackAndForthAnim("right",!i)}r._isAnimating&&(r._stopAnimation(!0),n=!1);var s=a-r.currSlideId;a=r._prevSlideId=r.currSlideId;var l,c=r.currSlideId+s;i=r._realId,r._loop?(c=r._updateBlocksContent(!1,c),i+=s):i=c,r._newSlideId=c,r._oldHolder=r.slidesJQ[r.currSlideId],r._realId=i,r.currSlideId=r._newSlideId,r.currSlide=r.slides[r.currSlideId],r._currHolder=r.slidesJQ[r.currSlideId],c=r.st.slidesDiff;var u=0<s;s=Math.abs(s);var d=Math.floor(a/r._numPreloadImages),f=Math.floor((a+(u?c:-c))/r._numPreloadImages);if((d=(u?Math.max(d,f):Math.min(d,f))*r._numPreloadImages+(u?r._numPreloadImages-1:0))>r.numSlides-1?d=r.numSlides-1:0>d&&(d=0),(a=u?d-a:a-d)>r._numPreloadImages&&(a=r._numPreloadImages),s>a+c)for(r._idOffset+=(s-(a+c))*(u?-1:1),t*=1.4,a=0;a<r.numSlides;a++)r.slides[a].positionSet=!1;r._currAnimSpeed=t,r._updateBlocksContent(!0),o||(l=!0);var h=(-i-r._idOffset)*r._slideSize;l?setTimeout((function(){r._isWorking=!1,r._animateTo(h,e,!1,n),r.ev.trigger("rsOnUpdateNav")}),0):(r._animateTo(h,e,!1,n),r.ev.trigger("rsOnUpdateNav"))},_updateArrowsNav:function(){this.st.arrowsNav&&(1>=this.numSlides?(this._arrowLeft.css("display","none"),this._arrowRight.css("display","none")):(this._arrowLeft.css("display","block"),this._arrowRight.css("display","block"),this._loop||this.st.loopRewind||(0===this.currSlideId?this._arrowLeft.addClass("rsArrowDisabled"):this._arrowLeft.removeClass("rsArrowDisabled"),this.currSlideId===this.numSlides-1?this._arrowRight.addClass("rsArrowDisabled"):this._arrowRight.removeClass("rsArrowDisabled"))))},_animateTo:function(t,n,i,o,r){function a(){var e;c&&(e=c.data("rsTimeout"))&&(c!==u&&c.css({opacity:0,display:"none",zIndex:0}),clearTimeout(e),c.data("rsTimeout","")),(e=u.data("rsTimeout"))&&(clearTimeout(e),u.data("rsTimeout",""))}var s=this,l={};if(isNaN(s._currAnimSpeed)&&(s._currAnimSpeed=400),s._sPosition=s._currRenderPosition=t,s.ev.trigger("rsBeforeAnimStart"),s._useCSS3Transitions)if(s._isMove)s._currAnimSpeed=parseInt(s._currAnimSpeed,10),i=s._vendorPref+s._TTF,l[s._vendorPref+s._TD]=s._currAnimSpeed+"ms",l[i]=o?e.rsCSS3Easing[s.st.easeInOut]:e.rsCSS3Easing[s.st.easeOut],s._slidesContainer.css(l),o||!s.hasTouch?setTimeout((function(){s._setPosition(t)}),5):s._setPosition(t);else{s._currAnimSpeed=s.st.transitionSpeed;var c=s._oldHolder,u=s._currHolder;u.data("rsTimeout")&&u.css("opacity",0),a(),c&&c.data("rsTimeout",setTimeout((function(){l[s._vendorPref+s._TD]="0ms",l.zIndex=0,l.display="none",c.data("rsTimeout",""),c.css(l),setTimeout((function(){c.css("opacity",0)}),16)}),s._currAnimSpeed+60)),l.display="block",l.zIndex=s._fadeZIndex,l.opacity=0,l[s._vendorPref+s._TD]="0ms",l[s._vendorPref+s._TTF]=e.rsCSS3Easing[s.st.easeInOut],u.css(l),u.data("rsTimeout",setTimeout((function(){u.css(s._vendorPref+s._TD,s._currAnimSpeed+"ms"),u.data("rsTimeout",setTimeout((function(){u.css("opacity",1),u.data("rsTimeout","")}),20))}),20))}else s._isMove?(l[s._slidesHorizontal?s._xProp:s._yProp]=t+"px",s._slidesContainer.animate(l,s._currAnimSpeed,o?s.st.easeInOut:s.st.easeOut)):(c=s._oldHolder,(u=s._currHolder).stop(!0,!0).css({opacity:0,display:"block",zIndex:s._fadeZIndex}),s._currAnimSpeed=s.st.transitionSpeed,u.animate({opacity:1},s._currAnimSpeed,s.st.easeInOut),a(),c&&c.data("rsTimeout",setTimeout((function(){c.stop(!0,!0).css({opacity:0,display:"none",zIndex:0})}),s._currAnimSpeed+60)));s._isAnimating=!0,s.loadingTimeout&&clearTimeout(s.loadingTimeout),s.loadingTimeout=r?setTimeout((function(){s.loadingTimeout=null,r.call()}),s._currAnimSpeed+60):setTimeout((function(){s.loadingTimeout=null,s._animationComplete(n)}),s._currAnimSpeed+60)},_stopAnimation:function(e){if(this._isAnimating=!1,clearTimeout(this.loadingTimeout),this._isMove)if(this._useCSS3Transitions){if(!e){e=this._sPosition;var t=this._currRenderPosition=this._getTransformProp();this._slidesContainer.css(this._vendorPref+this._TD,"0ms"),e!==t&&this._setPosition(t)}}else this._slidesContainer.stop(!0),this._sPosition=parseInt(this._slidesContainer.css(this._slidesHorizontal?this._xProp:this._yProp),10);else 20<this._fadeZIndex?this._fadeZIndex=10:this._fadeZIndex++},_getTransformProp:function(){var e=window.getComputedStyle(this._slidesContainer.get(0),null).getPropertyValue(this._vendorPref+"transform").replace(/^matrix\(/i,"").split(/, |\)$/g),t=0===e[0].indexOf("matrix3d");return parseInt(e[this._slidesHorizontal?t?12:4:t?13:5],10)},_getCSS3Prop:function(e,t){return this._useCSS3Transitions?this._tPref1+(t?e+this._tPref2+0:0+this._tPref2+e)+this._tPref3:e},_animationComplete:function(e){this._isMove||(this._currHolder.css("z-index",0),this._fadeZIndex=10),this._isAnimating=!1,this.staticSlideId=this.currSlideId,this._updateBlocksContent(),this._slidesMoved=!1,this.ev.trigger("rsAfterSlideChange")},_doBackAndForthAnim:function(e,t){var n=this,i=(-n._realId-n._idOffset)*n._slideSize;if(0!==n.numSlides&&!n._isAnimating)if(n.st.loopRewind)n.goTo("left"===e?n.numSlides-1:0,t);else if(n._isMove){n._currAnimSpeed=200;var o=function(){n._isAnimating=!1};n._animateTo(i+("left"===e?30:-30),"",!1,!0,(function(){n._isAnimating=!1,n._animateTo(i,"",!1,!0,o)}))}},_detectPassiveSupport:function(){var e=this;if(!e._passiveChecked){e._passiveChecked=!0,e._passiveParam=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e._passiveParam={passive:!1}}});window.addEventListener("testPassive",null,t),window.removeEventListener("testPassive",null,t)}catch(e){}}},_bindPassiveEvent:function(e,t,n,i){this._detectPassiveSupport(),t=t.split(" ");for(var o=0;o<t.length;o++)t[o]&&2<t[o].length&&e.addEventListener(t[o],n,!!i&&this._passiveParam)},_unbindPassiveEvent:function(e,t,n,i){this._detectPassiveSupport(),t=t.split(" ");for(var o=0;o<t.length;o++)t[o]&&2<t[o].length&&e.removeEventListener(t[o],n,!!i&&this._passiveParam)},_resizeImage:function(t,n){if(!t.isRendered){var i=t.content,o="rsMainSlideImage",r=e.isFunction(this.st.imageAlignCenter)?this.st.imageAlignCenter(t):this.st.imageAlignCenter,a=e.isFunction(this.st.imageScaleMode)?this.st.imageScaleMode(t):this.st.imageScaleMode;if(t.videoURL)if(o="rsVideoContainer","fill"!==a)var s=!0;else{var l=i;l.hasClass(o)||(l=l.find("."+o)),l.css({width:"100%",height:"100%"}),o="rsMainSlideImage"}if(i.hasClass(o)||(i=i.find("."+o)),i){var c=t.iW,u=t.iH;if(t.isRendered=!0,"none"!==a||r){o="fill"!==a?this._imagePadding:0,l=this._wrapWidth-2*o;var d=this._wrapHeight-2*o,f={};if("fit-if-smaller"===a&&(c>l||u>d)&&(a="fit"),"fill"===a||"fit"===a){var h=l/c,p=d/u;h="fill"==a?h>p?h:p:"fit"==a?h<p?h:p:1,c=Math.ceil(c*h,10),u=Math.ceil(u*h,10)}"none"!==a&&(f.width=c,f.height=u,s&&i.find(".rsImg").css({width:"100%",height:"100%"})),r&&(f.marginLeft=Math.floor((l-c)/2)+o,f.marginTop=Math.floor((d-u)/2)+o),i.css(f)}}}}},e.rsProto=t.prototype,e.fn.royalSlider=function(n){var i=arguments;return this.each((function(){var o=e(this);if("object"!==d(n)&&n){if((o=o.data("royalSlider"))&&o[n])return o[n].apply(o,Array.prototype.slice.call(i,1))}else o.data("royalSlider")||o.data("royalSlider",new t(o,n))}))},e.fn.royalSlider.defaults={slidesSpacing:8,startSlideId:0,loop:!1,loopRewind:!1,numImagesToPreload:4,fadeinLoadedSlide:!0,slidesOrientation:"horizontal",transitionType:"move",transitionSpeed:600,controlNavigation:"bullets",controlsInside:!0,arrowsNav:!0,arrowsNavAutoHide:!0,navigateByClick:!0,randomizeSlides:!1,sliderDrag:!0,sliderTouch:!0,keyboardNavEnabled:!1,fadeInAfterLoaded:!0,allowCSS3:!0,allowCSS3OnWebkit:!0,addActiveClass:!1,autoHeight:!1,easeOut:"easeOutSine",easeInOut:"easeInOutSine",minSlideOffset:10,imageScaleMode:"fit-if-smaller",imageAlignCenter:!0,imageScalePadding:4,usePreloader:!0,autoScaleSlider:!1,autoScaleSliderWidth:800,autoScaleSliderHeight:400,autoScaleHeight:!0,arrowsNavHideOnTouch:!1,globalCaption:!1,slidesDiff:2},e.rsCSS3Easing={easeOutSine:"cubic-bezier(0.390, 0.575, 0.565, 1.000)",easeInOutSine:"cubic-bezier(0.445, 0.050, 0.550, 0.950)"},e.extend(u.easing,{easeInOutSine:function(e,t,n,i,o){return-i/2*(Math.cos(Math.PI*t/o)-1)+n},easeOutSine:function(e,t,n,i,o){return i*Math.sin(t/o*(Math.PI/2))+n},easeOutCubic:function(e,t,n,i,o){return i*((t=t/o-1)*t*t+1)+n}})}(u,window),(i=u).extend(i.rsProto,{_initBullets:function(){var e=this;"bullets"===e.st.controlNavigation&&(e.ev.one("rsAfterPropsSetup",(function(){e._controlNavEnabled=!0,e.slider.addClass("rsWithBullets");for(var t='<div class="rsNav rsBullets">',n=0;n<e.numSlides;n++)t+='<div class="rsNavItem rsBullet"><span></span></div>';e._controlNav=t=i(t+"</div>"),e._controlNavItems=t.appendTo(e.slider).children(),e._controlNav.on("click.rs",".rsNavItem",(function(t){e._thumbsDrag||e.goTo(i(this).index())}))})),e.ev.on("rsOnAppendSlide",(function(t,n,i){i>=e.numSlides?e._controlNav.append('<div class="rsNavItem rsBullet"><span></span></div>'):e._controlNavItems.eq(i).before('<div class="rsNavItem rsBullet"><span></span></div>'),e._controlNavItems=e._controlNav.children()})),e.ev.on("rsOnRemoveSlide",(function(t,n){var i=e._controlNavItems.eq(n);i&&i.length&&(i.remove(),e._controlNavItems=e._controlNav.children())})),e.ev.on("rsOnUpdateNav",(function(){var t=e.currSlideId;e._prevNavItem&&e._prevNavItem.removeClass("rsNavSelected"),(t=e._controlNavItems.eq(t)).addClass("rsNavSelected"),e._prevNavItem=t})))}}),i.rsModules.bullets=i.rsProto._initBullets,(o=u).extend(o.rsProto,{_initThumbs:function(){var e=this;"thumbnails"===e.st.controlNavigation&&(e._thumbsDefaults={drag:!0,touch:!0,orientation:"horizontal",navigation:!0,arrows:!0,arrowLeft:null,arrowRight:null,spacing:4,arrowsAutoHide:!1,appendSpan:!1,transitionSpeed:600,autoCenter:!0,fitInViewport:!0,firstMargin:!0,paddingTop:0,paddingBottom:0},e.st.thumbs=o.extend({},e._thumbsDefaults,e.st.thumbs),e._firstThumbMoved=!0,!1===e.st.thumbs.firstMargin?e.st.thumbs.firstMargin=0:!0===e.st.thumbs.firstMargin&&(e.st.thumbs.firstMargin=e.st.thumbs.spacing),e.ev.on("rsBeforeParseNode",(function(e,t,n){t=o(t),n.thumbnail=t.find(".rsTmb").remove(),n.thumbnail.length?n.thumbnail=o(document.createElement("div")).append(n.thumbnail).html():(n.thumbnail=t.attr("data-rsTmb"),n.thumbnail||(n.thumbnail=t.find(".rsImg").attr("data-rsTmb")),n.thumbnail=n.thumbnail?'<img src="'+n.thumbnail+'"/>':"")})),e.ev.one("rsAfterPropsSetup",(function(){e._createThumbs()})),e._prevNavItem=null,e.ev.on("rsOnUpdateNav",(function(){var t=o(e._controlNavItems[e.currSlideId]);t!==e._prevNavItem&&(e._prevNavItem&&(e._prevNavItem.removeClass("rsNavSelected"),e._prevNavItem=null),e._thumbsNavigation&&e._setCurrentThumb(e.currSlideId),e._prevNavItem=t.addClass("rsNavSelected"))})),e.ev.on("rsOnAppendSlide",(function(t,n,i){t="<div"+e._thumbsMargin+' class="rsNavItem rsThumb">'+e._addThumbHTML+n.thumbnail+"</div>",e._useCSS3Transitions&&e._thumbsContainer.css(e._vendorPref+"transition-duration","0ms"),i>=e.numSlides?e._thumbsContainer.append(t):e._controlNavItems.eq(i).before(t),e._controlNavItems=e._thumbsContainer.children(),e.updateThumbsSize(!0)})),e.ev.on("rsOnRemoveSlide",(function(t,n){var i=e._controlNavItems.eq(n);i&&(e._useCSS3Transitions&&e._thumbsContainer.css(e._vendorPref+"transition-duration","0ms"),i.remove(),e._controlNavItems=e._thumbsContainer.children(),e.updateThumbsSize(!0))})))},_createThumbs:function(){var e,t=this,n="rsThumbs",i=t.st.thumbs,r="",a=i.spacing;t._controlNavEnabled=!0,t._thumbsHorizontal="vertical"!==i.orientation,t._thumbsMargin=e=a?' style="margin-'+(t._thumbsHorizontal?"right":"bottom")+":"+a+'px;"':"",t._thumbsPosition=0,t._isThumbsAnimating=!1,t._thumbsDrag=!1,t._thumbsNavigation=!1,t._thumbsArrows=i.arrows&&i.navigation;var s=t._thumbsHorizontal?"Hor":"Ver";t.slider.addClass("rsWithThumbs rsWithThumbs"+s),r+='<div class="rsNav rsThumbs rsThumbs'+s+'"><div class="'+n+'Container">',t._addThumbHTML=i.appendSpan?'<span class="thumbIco"></span>':"";for(var l=0;l<t.numSlides;l++)r+="<div"+e+' class="rsNavItem rsThumb">'+(s=t.slides[l]).thumbnail+t._addThumbHTML+"</div>";r=o(r+"</div></div>"),e={},i.paddingTop&&(e[t._thumbsHorizontal?"paddingTop":"paddingLeft"]=i.paddingTop),i.paddingBottom&&(e[t._thumbsHorizontal?"paddingBottom":"paddingRight"]=i.paddingBottom),r.css(e),t._thumbsContainer=o(r).find("."+n+"Container"),t._thumbsArrows&&(n+="Arrow",i.arrowLeft?t._thumbsArrowLeft=i.arrowLeft:(t._thumbsArrowLeft=o('<div class="'+n+" "+n+'Left"><div class="'+n+'Icn"></div></div>'),r.append(t._thumbsArrowLeft)),i.arrowRight?t._thumbsArrowRight=i.arrowRight:(t._thumbsArrowRight=o('<div class="'+n+" "+n+'Right"><div class="'+n+'Icn"></div></div>'),r.append(t._thumbsArrowRight)),t._thumbsArrowLeft.click((function(){var e=(Math.floor(t._thumbsPosition/t._thumbSize)+t._visibleThumbsPerView)*t._thumbSize+t.st.thumbs.firstMargin;t._animateThumbsTo(e>t._thumbsMinPosition?t._thumbsMinPosition:e)})),t._thumbsArrowRight.click((function(){var e=(Math.floor(t._thumbsPosition/t._thumbSize)-t._visibleThumbsPerView)*t._thumbSize+t.st.thumbs.firstMargin;t._animateThumbsTo(e<t._thumbsMaxPosition?t._thumbsMaxPosition:e)})),i.arrowsAutoHide&&!t.hasTouch&&(t._thumbsArrowLeft.css("opacity",0),t._thumbsArrowRight.css("opacity",0),r.one("mousemove.rsarrowshover",(function(){t._thumbsNavigation&&(t._thumbsArrowLeft.css("opacity",1),t._thumbsArrowRight.css("opacity",1))})),r.hover((function(){t._thumbsNavigation&&(t._thumbsArrowLeft.css("opacity",1),t._thumbsArrowRight.css("opacity",1))}),(function(){t._thumbsNavigation&&(t._thumbsArrowLeft.css("opacity",0),t._thumbsArrowRight.css("opacity",0))})))),t._controlNav=r,t._controlNavItems=t._thumbsContainer.children(),t.msEnabled&&t.st.thumbs.navigation&&t._thumbsContainer.css("-ms-touch-action",t._thumbsHorizontal?"pan-y":"pan-x"),t.slider.append(r),t._thumbsEnabled=!0,t._thumbsSpacing=a,i.navigation&&t._useCSS3Transitions&&t._thumbsContainer.css(t._vendorPref+"transition-property",t._vendorPref+"transform"),t._controlNav.on("click.rs",".rsNavItem",(function(e){t._thumbsDrag||t.goTo(o(this).index())})),t.ev.off("rsBeforeSizeSet.thumbs").on("rsBeforeSizeSet.thumbs",(function(){t._realWrapSize=t._thumbsHorizontal?t._wrapHeight:t._wrapWidth,t.updateThumbsSize(!0)})),t.ev.off("rsAutoHeightChange.thumbs").on("rsAutoHeightChange.thumbs",(function(e,n){t.updateThumbsSize(!0,n)}))},updateThumbsSize:function(e,t){var n=this._controlNavItems.first(),i={},o=this._controlNavItems.length;this._thumbSize=(this._thumbsHorizontal?n.outerWidth():n.outerHeight())+this._thumbsSpacing,this._thumbsContainerSize=o*this._thumbSize-this._thumbsSpacing,i[this._thumbsHorizontal?"width":"height"]=this._thumbsContainerSize+this._thumbsSpacing,this._thumbsViewportSize=this._thumbsHorizontal?this._controlNav.width():void 0!==t?t:this._controlNav.height(),this._thumbsEnabled&&(this.isFullscreen||this.st.thumbs.fitInViewport)&&(this._thumbsHorizontal?this._wrapHeight=this._realWrapSize-this._controlNav.outerHeight():this._wrapWidth=this._realWrapSize-this._controlNav.outerWidth()),this._thumbsViewportSize&&(this._thumbsMaxPosition=-(this._thumbsContainerSize-this._thumbsViewportSize)-this.st.thumbs.firstMargin,this._thumbsMinPosition=this.st.thumbs.firstMargin,this._visibleThumbsPerView=Math.floor(this._thumbsViewportSize/this._thumbSize),this._thumbsContainerSize<this._thumbsViewportSize?(this.st.thumbs.autoCenter?this._setThumbsPosition((this._thumbsViewportSize-this._thumbsContainerSize)/2):this._setThumbsPosition(this._thumbsMinPosition),this.st.thumbs.arrows&&this._thumbsArrowLeft&&(this._thumbsArrowLeft.addClass("rsThumbsArrowDisabled"),this._thumbsArrowRight.addClass("rsThumbsArrowDisabled")),this._thumbsDrag=this._thumbsNavigation=!1,this._unbindPassiveEvent(this._controlNav[0],this._downEvent,this._eventCallbacks.dragStartThumb,!1)):this.st.thumbs.navigation&&!this._thumbsNavigation&&(this._thumbsNavigation=!0,!this.hasTouch&&this.st.thumbs.drag||this.hasTouch&&this.st.thumbs.touch)&&(this._thumbsDrag=!0,this._bindPassiveEvent(this._controlNav[0],this._downEvent,this._eventCallbacks.dragStartThumb,!1)),this._thumbsContainer.css(i),e&&t&&this._setCurrentThumb(this.currSlideId,!0))},setThumbsOrientation:function(e,t){this._thumbsEnabled&&(this.st.thumbs.orientation=e,this._controlNav.remove(),this.slider.removeClass("rsWithThumbsHor rsWithThumbsVer"),this._createThumbs(),this._unbindPassiveEvent(this._controlNav[0],this._downEvent,this._eventCallbacks.dragStartThumb,!1),t||this.updateSliderSize(!0))},_setThumbsPosition:function(e){this._thumbsPosition=e,this._useCSS3Transitions?this._thumbsContainer.css(this._xProp,this._tPref1+(this._thumbsHorizontal?e+this._tPref2+0:0+this._tPref2+e)+this._tPref3):this._thumbsContainer.css(this._thumbsHorizontal?this._xProp:this._yProp,e)},_animateThumbsTo:function(e,t,n,i,r){var a=this;if(a._thumbsNavigation){t||(t=a.st.thumbs.transitionSpeed),a._thumbsPosition=e,a._thumbsAnimTimeout&&clearTimeout(a._thumbsAnimTimeout),a._isThumbsAnimating&&(a._useCSS3Transitions||a._thumbsContainer.stop(),n=!0);var s={};a._isThumbsAnimating=!0,a._useCSS3Transitions?(s[a._vendorPref+"transition-duration"]=t+"ms",s[a._vendorPref+"transition-timing-function"]=n?o.rsCSS3Easing[a.st.easeOut]:o.rsCSS3Easing[a.st.easeInOut],a._thumbsContainer.css(s),a._setThumbsPosition(e)):(s[a._thumbsHorizontal?a._xProp:a._yProp]=e+"px",a._thumbsContainer.animate(s,t,n?"easeOutCubic":a.st.easeInOut)),i&&(a._thumbsPosition=i),a._updateThumbsArrows(),a._thumbsAnimTimeout=setTimeout((function(){a._isThumbsAnimating=!1,r&&(a._animateThumbsTo(i,r,!0),r=null)}),t)}},_updateThumbsArrows:function(){this._thumbsArrows&&(this._thumbsPosition===this._thumbsMinPosition?this._thumbsArrowLeft.addClass("rsThumbsArrowDisabled"):this._thumbsArrowLeft.removeClass("rsThumbsArrowDisabled"),this._thumbsPosition===this._thumbsMaxPosition?this._thumbsArrowRight.addClass("rsThumbsArrowDisabled"):this._thumbsArrowRight.removeClass("rsThumbsArrowDisabled"))},_setCurrentThumb:function(e,t){var n=0,i=e*this._thumbSize+2*this._thumbSize-this._thumbsSpacing+this._thumbsMinPosition;if(this._thumbsNavigation){if(this._firstThumbMoved&&(t=!0,this._firstThumbMoved=!1),i+this._thumbsPosition>this._thumbsViewportSize){e===this.numSlides-1&&(n=1);var o=-e+this._visibleThumbsPerView-2+n;o=o*this._thumbSize+this._thumbsViewportSize%this._thumbSize+this._thumbsSpacing-this._thumbsMinPosition}else 0!==e?(e-1)*this._thumbSize<=-this._thumbsPosition+this._thumbsMinPosition&&e-1<=this.numSlides-this._visibleThumbsPerView&&(o=(1-e)*this._thumbSize+this._thumbsMinPosition):o=this._thumbsMinPosition;o!==this._thumbsPosition&&((n=void 0===o?this._thumbsPosition:o)>this._thumbsMinPosition?this._setThumbsPosition(this._thumbsMinPosition):n<this._thumbsMaxPosition?this._setThumbsPosition(this._thumbsMaxPosition):void 0!==o&&(t?this._setThumbsPosition(o):this._animateThumbsTo(o))),this._updateThumbsArrows()}}}),o.rsModules.thumbnails=o.rsProto._initThumbs,(r=u).extend(r.rsProto,{_initTabs:function(){var e=this;"tabs"===e.st.controlNavigation&&(e.ev.on("rsBeforeParseNode",(function(e,t,n){t=r(t),n.thumbnail=t.find(".rsTmb").remove(),n.thumbnail.length?n.thumbnail=r(document.createElement("div")).append(n.thumbnail).html():(n.thumbnail=t.attr("data-rsTmb"),n.thumbnail||(n.thumbnail=t.find(".rsImg").attr("data-rsTmb")),n.thumbnail=n.thumbnail?'<img src="'+n.thumbnail+'"/>':"")})),e.ev.one("rsAfterPropsSetup",(function(){e._createTabs()})),e.ev.on("rsOnAppendSlide",(function(t,n,i){i>=e.numSlides?e._controlNav.append('<div class="rsNavItem rsTab">'+n.thumbnail+"</div>"):e._controlNavItems.eq(i).before('<div class="rsNavItem rsTab">'+item.thumbnail+"</div>"),e._controlNavItems=e._controlNav.children()})),e.ev.on("rsOnRemoveSlide",(function(t,n){var i=e._controlNavItems.eq(n);i&&(i.remove(),e._controlNavItems=e._controlNav.children())})),e.ev.on("rsOnUpdateNav",(function(){var t=e.currSlideId;e._prevNavItem&&e._prevNavItem.removeClass("rsNavSelected"),(t=e._controlNavItems.eq(t)).addClass("rsNavSelected"),e._prevNavItem=t})))},_createTabs:function(){var e=this;e._controlNavEnabled=!0;for(var t='<div class="rsNav rsTabs">',n=0;n<e.numSlides;n++)t+='<div class="rsNavItem rsTab">'+e.slides[n].thumbnail+"</div>";t=r(t+"</div>"),e._controlNav=t,e._controlNavItems=t.children(".rsNavItem"),e.slider.append(t),e._controlNav.click((function(t){(t=r(t.target).closest(".rsNavItem")).length&&e.goTo(t.index())}))}}),r.rsModules.tabs=r.rsProto._initTabs,function(e){e.extend(e.rsProto,{_initFullscreen:function(){var t=this;t._fullscreenDefaults={enabled:!1,keyboardNav:!0,buttonFS:!0,nativeFS:!1,doubleTap:!0},t.st.fullscreen=e.extend({},t._fullscreenDefaults,t.st.fullscreen),t.st.fullscreen.enabled&&t.ev.one("rsBeforeSizeSet",(function(){t._setupFullscreen()}))},_setupFullscreen:function(){var t=this;if(t._fsKeyboard=!t.st.keyboardNavEnabled&&t.st.fullscreen.keyboardNav,t.st.fullscreen.nativeFS){var n={supportsFullScreen:!1,isFullScreen:function(){return!1},requestFullScreen:function(){},cancelFullScreen:function(){},fullScreenEventName:"",prefix:""},i=["webkit","moz","o","ms","khtml"];if(void 0!==document.cancelFullScreen)n.supportsFullScreen=!0;else for(var o=0,r=i.length;o<r;o++)if(n.prefix=i[o],void 0!==document[n.prefix+"CancelFullScreen"]){n.supportsFullScreen=!0;break}n.supportsFullScreen?(t.nativeFS=!0,n.fullScreenEventName=n.prefix+"fullscreenchange"+t.ns,n.isFullScreen=function(){switch(this.prefix){case"":return document.fullScreen;case"webkit":return document.webkitIsFullScreen;default:return document[this.prefix+"FullScreen"]}},n.requestFullScreen=function(e){return""===this.prefix?e.requestFullScreen():e[this.prefix+"RequestFullScreen"]()},n.cancelFullScreen=function(e){return""===this.prefix?document.cancelFullScreen():document[this.prefix+"CancelFullScreen"]()},t._fullScreenApi=n):t._fullScreenApi=!1}t.st.fullscreen.buttonFS&&(t._fsBtn=e('<div class="rsFullscreenBtn"><div class="rsFullscreenIcn"></div></div>').appendTo(t._controlsContainer).on("click.rs",(function(){t.isFullscreen?t.exitFullscreen():t.enterFullscreen()})))},enterFullscreen:function(t){var n=this;if(n._fullScreenApi){if(!t)return n._doc.on(n._fullScreenApi.fullScreenEventName,(function(e){n._fullScreenApi.isFullScreen()?n.enterFullscreen(!0):n.exitFullscreen(!0)})),void n._fullScreenApi.requestFullScreen(e("html")[0]);n._fullScreenApi.requestFullScreen(e("html")[0])}if(!n._isFullscreenUpdating){var i;for(n._isFullscreenUpdating=!0,n._doc.on("keyup"+n.ns+"fullscreen",(function(e){27===e.keyCode&&n.exitFullscreen()})),n._fsKeyboard&&n._bindKeyboardNav(),t=e(window),n._fsScrollTopOnEnter=t.scrollTop(),n._fsScrollLeftOnEnter=t.scrollLeft(),n._htmlStyle=e("html").attr("style"),n._bodyStyle=e("body").attr("style"),n._sliderStyle=n.slider.attr("style"),e("body, html").css({overflow:"hidden",height:"100%",width:"100%",margin:"0",padding:"0"}),n.slider.addClass("rsFullscreen"),i=0;i<n.numSlides;i++)(t=n.slides[i]).isRendered=!1,t.bigImage&&(t.isBig=!0,t.isMedLoaded=t.isLoaded,t.isMedLoading=t.isLoading,t.medImage=t.image,t.medIW=t.iW,t.medIH=t.iH,t.slideId=-99,t.bigImage!==t.medImage&&(t.sizeType="big"),t.isLoaded=t.isBigLoaded,t.isLoading=!1,t.image=t.bigImage,t.images[0]=t.bigImage,t.iW=t.bigIW,t.iH=t.bigIH,t.isAppended=t.contentAdded=!1,n._updateItemSrc(t));n.isFullscreen=!0,n._isFullscreenUpdating=!1,n.updateSliderSize(),n.ev.trigger("rsEnterFullscreen")}},exitFullscreen:function(t){var n=this;if(n._fullScreenApi){if(!t)return void n._fullScreenApi.cancelFullScreen(e("html")[0]);n._doc.off(n._fullScreenApi.fullScreenEventName)}if(!n._isFullscreenUpdating){var i;for(n._isFullscreenUpdating=!0,n._doc.off("keyup"+n.ns+"fullscreen"),n._fsKeyboard&&n._doc.off("keydown"+n.ns),e("html").attr("style",n._htmlStyle||""),e("body").attr("style",n._bodyStyle||""),i=0;i<n.numSlides;i++)(t=n.slides[i]).isRendered=!1,t.bigImage&&(t.isBig=!1,t.slideId=-99,t.isBigLoaded=t.isLoaded,t.isBigLoading=t.isLoading,t.bigImage=t.image,t.bigIW=t.iW,t.bigIH=t.iH,t.isLoaded=t.isMedLoaded,t.isLoading=!1,t.image=t.medImage,t.images[0]=t.medImage,t.iW=t.medIW,t.iH=t.medIH,t.isAppended=t.contentAdded=!1,n._updateItemSrc(t,!0),t.bigImage!==t.medImage&&(t.sizeType="med"));n.isFullscreen=!1,(t=e(window)).scrollTop(n._fsScrollTopOnEnter),t.scrollLeft(n._fsScrollLeftOnEnter),n._isFullscreenUpdating=!1,n.slider.removeClass("rsFullscreen"),n.updateSliderSize(),setTimeout((function(){n.updateSliderSize()}),1),n.ev.trigger("rsExitFullscreen")}},_updateItemSrc:function(t,n){var i=t.isLoaded||t.isLoading?'<img class="rsImg rsMainSlideImage" src="'+t.image+'"/>':'<a class="rsImg rsMainSlideImage" href="'+t.image+'"></a>';t.content.hasClass("rsImg")?t.content=e(i):t.content.find(".rsImg").eq(0).replaceWith(i),t.isLoaded||t.isLoading||!t.holder||t.holder.html(t.content)}}),e.rsModules.fullscreen=e.rsProto._initFullscreen}(u),(a=u).extend(a.rsProto,{_initAutoplay:function(){var e,t=this;t._autoPlayDefaults={enabled:!1,stopAtAction:!0,pauseOnHover:!0,delay:2e3},!t.st.autoPlay&&t.st.autoplay&&(t.st.autoPlay=t.st.autoplay),t.st.autoPlay=a.extend({},t._autoPlayDefaults,t.st.autoPlay),t.st.autoPlay.enabled&&(t.ev.on("rsBeforeParseNode",(function(t,n,i){n=a(n),(e=n.attr("data-rsDelay"))&&(i.customDelay=parseInt(e,10))})),t.ev.one("rsAfterInit",(function(){t._setupAutoPlay()})),t.ev.on("rsBeforeDestroy",(function(){t.stopAutoPlay(),t.slider.off("mouseenter mouseleave"),a(window).off("blur"+t.ns+" focus"+t.ns)})))},_setupAutoPlay:function(){var e=this;e.startAutoPlay(),e.ev.on("rsAfterContentSet",(function(t,n){e._isDragging||e._isAnimating||!e._autoPlayEnabled||n!==e.currSlide||e._play()})),e.ev.on("rsDragRelease",(function(){e._autoPlayEnabled&&e._autoPlayPaused&&(e._autoPlayPaused=!1,e._play())})),e.ev.on("rsAfterSlideChange",(function(){e._autoPlayEnabled&&e._autoPlayPaused&&(e._autoPlayPaused=!1,e.currSlide.isLoaded&&e._play())})),e.ev.on("rsDragStart",(function(){e._autoPlayEnabled&&(e.st.autoPlay.stopAtAction?e.stopAutoPlay():(e._autoPlayPaused=!0,e._pause()))})),e.ev.on("rsBeforeMove",(function(t,n,i){e._autoPlayEnabled&&(i&&e.st.autoPlay.stopAtAction?e.stopAutoPlay():(e._autoPlayPaused=!0,e._pause()))})),e._pausedByVideo=!1,e.ev.on("rsVideoStop",(function(){e._autoPlayEnabled&&(e._pausedByVideo=!1,e._play())})),e.ev.on("rsVideoPlay",(function(){e._autoPlayEnabled&&(e._autoPlayPaused=!1,e._pause(),e._pausedByVideo=!0)})),a(window).on("blur"+e.ns,(function(){e._autoPlayEnabled&&(e._autoPlayPaused=!0,e._pause())})).on("focus"+e.ns,(function(){e._autoPlayEnabled&&e._autoPlayPaused&&(e._autoPlayPaused=!1,e._play())})),e.st.autoPlay.pauseOnHover&&(e._pausedByHover=!1,e.slider.hover((function(){e._autoPlayEnabled&&(e._autoPlayPaused=!1,e._pause(),e._pausedByHover=!0)}),(function(){e._autoPlayEnabled&&(e._pausedByHover=!1,e._play())})))},toggleAutoPlay:function(){this._autoPlayEnabled?this.stopAutoPlay():this.startAutoPlay()},startAutoPlay:function(){this._autoPlayEnabled=!0,this.currSlide.isLoaded&&this._play()},stopAutoPlay:function(){this._pausedByVideo=this._pausedByHover=this._autoPlayPaused=this._autoPlayEnabled=!1,this._pause()},_play:function(){var e=this;e._pausedByHover||e._pausedByVideo||(e._autoPlayRunning=!0,e._autoPlayTimeout&&clearTimeout(e._autoPlayTimeout),e._autoPlayTimeout=setTimeout((function(){if(!e._loop&&!e.st.loopRewind){var t=!0;e.st.loopRewind=!0}e.next(!0),t&&(e.st.loopRewind=!1)}),e.currSlide.customDelay?e.currSlide.customDelay:e.st.autoPlay.delay))},_pause:function(){this._pausedByHover||this._pausedByVideo||(this._autoPlayRunning=!1,this._autoPlayTimeout&&(clearTimeout(this._autoPlayTimeout),this._autoPlayTimeout=null))}}),a.rsModules.autoplay=a.rsProto._initAutoplay,(s=u).extend(s.rsProto,{_initVideo:function(){var e=this;e._videoDefaults={autoHideArrows:!0,autoHideControlNav:!1,autoHideBlocks:!1,autoHideCaption:!1,disableCSS3inFF:!0,youTubeCode:'<iframe src="https://www.youtube.com/embed/%id%?rel=1&showinfo=0&autoplay=1&wmode=transparent" frameborder="no"></iframe>',vimeoCode:'<iframe src="https://player.vimeo.com/video/%id%?byline=0&portrait=0&autoplay=1" frameborder="no" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'},e.st.video=s.extend({},e._videoDefaults,e.st.video),e.ev.on("rsBeforeSizeSet",(function(){e._isVideoPlaying&&setTimeout((function(){var t=e._currHolder;t=t.hasClass("rsVideoContainer")?t:t.find(".rsVideoContainer"),e._videoFrameHolder&&e._videoFrameHolder.css({width:t.width(),height:t.height()})}),32)}));var t=e._browser.mozilla;e.ev.on("rsAfterParseNode",(function(n,i,o){if(n=s(i),o.videoURL){e.st.video.disableCSS3inFF&&t&&(e._useCSS3Transitions=e._use3dTransform=!1),i=s('<div class="rsVideoContainer"></div>');var r=s('<div class="rsBtnCenterer"><div class="rsPlayBtn"><div class="rsPlayBtnIcon"></div></div></div>');n.hasClass("rsImg")?o.content=i.append(n).append(r):o.content.find(".rsImg").wrap(i).after(r)}})),e.ev.on("rsAfterSlideChange",(function(){e.stopVideo()}))},toggleVideo:function(){return this._isVideoPlaying?this.stopVideo():this.playVideo()},playVideo:function(){var e=this;if(!e._isVideoPlaying){var t=e.currSlide;if(!t.videoURL)return!1;e._playingVideoSlide=t;var n,i=e._currVideoContent=t.content;if((t=t.videoURL).match(/youtu\.be/i)||t.match(/youtube\.com/i)){var o=/^.*(youtu\.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#&\?]*).*/;(o=t.match(o))&&11==o[2].length&&(n=o[2]),void 0!==n&&(e._videoFrameHolder=e.st.video.youTubeCode.replace("%id%",n))}else t.match(/vimeo\.com/i)&&(o=/(www\.)?vimeo.com\/(\d+)($|\/)/,(o=t.match(o))&&(n=o[2]),void 0!==n&&(e._videoFrameHolder=e.st.video.vimeoCode.replace("%id%",n)));return e.videoObj=s(e._videoFrameHolder),e.ev.trigger("rsOnCreateVideoElement",[t]),e.videoObj.length&&(e._videoFrameHolder=s('<div class="rsVideoFrameHolder"><div class="rsPreloader"></div><div class="rsCloseVideoBtn"><div class="rsCloseVideoIcn"></div></div></div>'),e._videoFrameHolder.find(".rsPreloader").after(e.videoObj),i=i.hasClass("rsVideoContainer")?i:i.find(".rsVideoContainer"),e._videoFrameHolder.css({width:i.width(),height:i.height()}).find(".rsCloseVideoBtn").off("click.rsv").on("click.rsv",(function(t){return e.stopVideo(),t.preventDefault(),t.stopPropagation(),!1})),i.append(e._videoFrameHolder),e.isIPAD&&i.addClass("rsIOSVideo"),e._toggleHiddenClass(!1),setTimeout((function(){e._videoFrameHolder.addClass("rsVideoActive")}),10),e.ev.trigger("rsVideoPlay"),e._isVideoPlaying=!0),!0}return!1},stopVideo:function(){var e=this;return!!e._isVideoPlaying&&(e.isIPAD&&e.slider.find(".rsCloseVideoBtn").remove(),e._toggleHiddenClass(!0),setTimeout((function(){e.ev.trigger("rsOnDestroyVideoElement",[e.videoObj]);var t=e._videoFrameHolder.find("iframe");if(t.length)try{t.attr("src","")}catch(e){}e._videoFrameHolder.remove(),e._videoFrameHolder=null}),16),e.ev.trigger("rsVideoStop"),e._isVideoPlaying=!1,!0)},_toggleHiddenClass:function(e,t){var n=[],i=this.st.video;if(i.autoHideArrows&&(this._arrowLeft&&(n.push(this._arrowLeft,this._arrowRight),this._arrowsAutoHideLocked=!e),this._fsBtn&&n.push(this._fsBtn)),i.autoHideControlNav&&this._controlNav&&n.push(this._controlNav),i.autoHideBlocks&&this._playingVideoSlide.animBlocks&&n.push(this._playingVideoSlide.animBlocks),i.autoHideCaption&&this.globalCaption&&n.push(this.globalCaption),this.slider[e?"removeClass":"addClass"]("rsVideoPlaying"),n.length)for(i=0;i<n.length;i++)e?n[i].removeClass("rsHidden"):n[i].addClass("rsHidden")}}),s.rsModules.video=s.rsProto._initVideo,(l=u).extend(l.rsProto,{_initAnimatedBlocks:function(){function e(){var e=n.currSlide;if(n.currSlide&&n.currSlide.isLoaded&&n._slideWithBlocks!==e){if(0<n._animatedBlockTimeouts.length){for(t=0;t<n._animatedBlockTimeouts.length;t++)clearTimeout(n._animatedBlockTimeouts[t]);n._animatedBlockTimeouts=[]}if(0<n._blockAnimProps.length){var i;for(t=0;t<n._blockAnimProps.length;t++)(i=n._blockAnimProps[t])&&(n._useCSS3Transitions?(i.block.css(n._vendorPref+n._TD,"0s"),i.block.css(i.css)):i.block.stop(!0).css(i.css),n._slideWithBlocks=null,e.animBlocksDisplayed=!1);n._blockAnimProps=[]}e.animBlocks&&(e.animBlocksDisplayed=!0,n._slideWithBlocks=e,n._animateBlocks(e.animBlocks))}}var t,n=this;n._blockDefaults={fadeEffect:!0,moveEffect:"top",moveOffset:20,speed:400,easing:"easeOutSine",delay:200},n.st.block=l.extend({},n._blockDefaults,n.st.block),n._blockAnimProps=[],n._animatedBlockTimeouts=[],n.ev.on("rsAfterInit",(function(){e()})),n.ev.on("rsBeforeParseNode",(function(e,t,n){t=l(t),n.animBlocks=t.find(".rsABlock").css("display","none"),n.animBlocks.length||(t.hasClass("rsABlock")?n.animBlocks=t.css("display","none"):n.animBlocks=!1)})),n.ev.on("rsAfterContentSet",(function(t,i){i.id===n.slides[n.currSlideId].id&&setTimeout((function(){e()}),n.st.fadeinLoadedSlide?300:0)})),n.ev.on("rsAfterSlideChange",(function(){e()}))},_updateAnimBlockProps:function(e,t){setTimeout((function(){e.css(t)}),6)},_animateBlocks:function(e){var t,n,i,o,r,a,s,c=this;c._animatedBlockTimeouts=[],e.each((function(e){t=l(this),n={},i={},o=null;var u=t.attr("data-move-offset");if(0<(u=u?parseInt(u,10):c.st.block.moveOffset)&&((a=t.data("move-effect"))?("none"===(a=a.toLowerCase())||"left"!==a&&"top"!==a&&"bottom"!==a&&"right"!==a&&"none"===(a=c.st.block.moveEffect))&&(a=!1):a=c.st.block.moveEffect,a&&"none"!==a)){var d="right"===a||"left"===a;if(s=!1,c._useCSS3Transitions){var f=0;r=c._xProp}else d?isNaN(parseInt(t.css("right"),10))?r="left":(r="right",s=!0):isNaN(parseInt(t.css("bottom"),10))?r="top":(r="bottom",s=!0),r="margin-"+r,s&&(u=-u),c._useCSS3Transitions?f=parseInt(t.css(r),10):void 0===(f=t.data("rs-start-move-prop"))&&(f=parseInt(t.css(r),10),isNaN(f)&&(f=0),t.data("rs-start-move-prop",f));i[r]=c._getCSS3Prop("top"===a||"left"===a?f-u:f+u,d),n[r]=c._getCSS3Prop(f,d)}(u=t.attr("data-fade-effect"))?"none"!==u.toLowerCase()&&"false"!==u.toLowerCase()||(u=!1):u=c.st.block.fadeEffect,u&&(i.opacity=0,n.opacity=1),(u||a)&&((o={}).hasFade=!!u,a&&(o.moveProp=r,o.hasMove=!0),o.speed=t.data("speed"),isNaN(o.speed)&&(o.speed=c.st.block.speed),o.easing=t.data("easing"),o.easing||(o.easing=c.st.block.easing),o.css3Easing=l.rsCSS3Easing[o.easing],o.delay=t.data("delay"),isNaN(o.delay)&&(o.delay=c.st.block.delay*e)),u={},c._useCSS3Transitions&&(u[c._vendorPref+c._TD]="0ms"),u.moveProp=n.moveProp,u.opacity=n.opacity,u.display="none",c._blockAnimProps.push({block:t,css:u}),c._updateAnimBlockProps(t,i),c._animatedBlockTimeouts.push(setTimeout(function(e,t,n,i){return function(){if(e.css("display","block"),n){var o={};if(c._useCSS3Transitions){var r="";n.hasMove&&(r+=n.moveProp),n.hasFade&&(n.hasMove&&(r+=", "),r+="opacity"),o[c._vendorPref+c._TP]=r,o[c._vendorPref+c._TD]=n.speed+"ms",o[c._vendorPref+c._TTF]=n.css3Easing,e.css(o),setTimeout((function(){e.css(t)}),24)}else setTimeout((function(){e.animate(t,n.speed,n.easing)}),16)}delete c._animatedBlockTimeouts[i]}}(t,n,o,e),6>=o.delay?12:o.delay))}))}}),l.rsModules.animatedBlocks=l.rsProto._initAnimatedBlocks,function(e){e.extend(e.rsProto,{_initAutoHeight:function(){var e=this;if(e.st.autoHeight){var t,n,i,o=!0,r=function(r){i=e.slides[e.currSlideId],(t=i.holder)&&(n=t.height())&&void 0!==n&&n>(e.st.minAutoHeight||30)&&(e._wrapHeight=n,e._useCSS3Transitions||!r?e._sliderOverflow.css("height",n):e._sliderOverflow.stop(!0,!0).animate({height:n},e.st.transitionSpeed),e.ev.trigger("rsAutoHeightChange",n),o&&(e._useCSS3Transitions&&setTimeout((function(){e._sliderOverflow.css(e._vendorPref+"transition","height "+e.st.transitionSpeed+"ms ease-in-out")}),16),o=!1))};e.ev.on("rsMaybeSizeReady.rsAutoHeight",(function(e,t){i===t&&r()})),e.ev.on("rsAfterContentSet.rsAutoHeight",(function(e,t){i===t&&r()})),e.slider.addClass("rsAutoHeight"),e.ev.one("rsAfterInit",(function(){setTimeout((function(){r(!1),setTimeout((function(){e.slider.append('<div style="clear:both; float: none;"></div>')}),16)}),16)})),e.ev.on("rsBeforeAnimStart",(function(){r(!0)})),e.ev.on("rsBeforeSizeSet",(function(){setTimeout((function(){r(!1)}),16)}))}}}),e.rsModules.autoHeight=e.rsProto._initAutoHeight}(u),function(e){e.extend(e.rsProto,{_initGlobalCaption:function(){var t=this;t.st.globalCaption&&(t.ev.on("rsAfterInit",(function(){t.globalCaption=e('<div class="rsGCaption"></div>').appendTo(t.st.globalCaptionInside?t._sliderOverflow:t.slider),t.globalCaption.html(t.currSlide.caption||"")})),t.ev.on("rsBeforeAnimStart",(function(){t.globalCaption.html(t.currSlide.caption||"")})))}}),e.rsModules.globalCaption=e.rsProto._initGlobalCaption}(u),function(e){e.rsProto._initActiveClass=function(){var e,t=this;t.st.addActiveClass&&t.ev.on("rsOnUpdateNav",(function(){e&&clearTimeout(e),e=setTimeout((function(){t._oldHolder&&t._oldHolder.removeClass("rsActiveSlide"),t._currHolder&&t._currHolder.addClass("rsActiveSlide"),e=null}),50)}))},e.rsModules.activeClass=e.rsProto._initActiveClass}(u),function(e){e.extend(e.rsProto,{_initDeeplinking:function(){var t,n,i,o=this;if(o._hashDefaults={enabled:!1,change:!1,prefix:""},o.st.deeplinking=e.extend({},o._hashDefaults,o.st.deeplinking),o.st.deeplinking.enabled){var r=o.st.deeplinking.change,a=o.st.deeplinking.prefix,s="#"+a,l=function(){var e=window.location.hash;return e&&0<e.indexOf(a)&&0<=(e=parseInt(e.substring(s.length),10))?e-1:-1},c=l();-1!==c&&(o.st.startSlideId=c),r&&(e(window).on("hashchange"+o.ns,(function(e){t||(0>(e=l())||(e>o.numSlides-1&&(e=o.numSlides-1),o.goTo(e)))})),o.ev.on("rsBeforeAnimStart",(function(){n&&clearTimeout(n),i&&clearTimeout(i)})),o.ev.on("rsAfterSlideChange",(function(){n&&clearTimeout(n),i&&clearTimeout(i),i=setTimeout((function(){t=!0,window.location.replace((""+window.location).split("#")[0]+s+(o.currSlideId+1)),n=setTimeout((function(){t=!1,n=null}),60)}),400)}))),o.ev.on("rsBeforeDestroy",(function(){n=i=null,r&&e(window).off("hashchange"+o.ns)}))}}}),e.rsModules.deeplinking=e.rsProto._initDeeplinking}(u),function(e,t,n){function i(e){return"#"+(e=e||location.href).replace(/^[^#]*#?(.*)$/,"$1")}var o=document,r=e.event.special,a=o.documentMode,s="onhashchange"in t&&(a===n||7<a);e.fn.hashchange=function(e){return e?this.bind("hashchange",e):this.trigger("hashchange")},e.fn.hashchange.delay=50,r.hashchange=e.extend(r.hashchange,{setup:function(){if(s)return!1;e(l.start)},teardown:function(){if(s)return!1;e(l.stop)}});var l=function(){function r(){var n=i(),o=f(c);n!==c?(d(c=n,o),e(t).trigger("hashchange")):o!==c&&(location.href=location.href.replace(/#.*/,"")+o),a=setTimeout(r,e.fn.hashchange.delay)}var a,l={},c=i(),u=function(e){return e},d=u,f=u;return l.start=function(){a||r()},l.stop=function(){a&&clearTimeout(a),a=n},t.attachEvent&&!t.addEventListener&&!s&&function(){var t,n;l.start=function(){t||(n=(n=e.fn.hashchange.src)&&n+i(),t=e('<iframe tabindex="-1" title="empty"/>').hide().one("load",(function(){n||d(i()),r()})).attr("src",n||"javascript:0").insertAfter("body")[0].contentWindow,o.onpropertychange=function(){try{"title"===event.propertyName&&(t.document.title=o.title)}catch(e){}})},l.stop=u,f=function(){return i(t.location.href)},d=function(n,i){var r=t.document,a=e.fn.hashchange.domain;n!==i&&(r.title=o.title,r.open(),a&&r.write('<script>document.domain="'+a+'"<\/script>'),r.close(),t.location.hash=n)}}(),l}()}(u,this),(c=u).rsProto._initVisibleNearby=function(){var e=this;e.st.visibleNearby&&e.st.visibleNearby.enabled&&(e._vnDefaults={enabled:!0,centerArea:.6,center:!0,breakpoint:0,breakpointCenterArea:.8,hiddenOverflow:!0,navigateByCenterClick:!1},e.st.visibleNearby=c.extend({},e._vnDefaults,e.st.visibleNearby),e.ev.one("rsAfterPropsSetup",(function(){e._sliderVisibleNearbyWrap=e._sliderOverflow.css("overflow","visible").wrap('<div class="rsVisibleNearbyWrap"></div>').parent(),e.st.visibleNearby.hiddenOverflow||e._sliderVisibleNearbyWrap.css("overflow","visible"),e._controlsContainer=e.st.controlsInside?e._sliderVisibleNearbyWrap:e.slider})),e.ev.on("rsAfterSizePropSet",(function(){var t=e.st.visibleNearby,n=t.breakpoint&&e.width<t.breakpoint?t.breakpointCenterArea:t.centerArea;e._slidesHorizontal?(e._wrapWidth*=n,e._sliderVisibleNearbyWrap.css({height:e._wrapHeight,width:e._wrapWidth/n}),e._minPosOffset=e._wrapWidth*(1-n)/2/n):(e._wrapHeight*=n,e._sliderVisibleNearbyWrap.css({height:e._wrapHeight/n,width:e._wrapWidth}),e._minPosOffset=e._wrapHeight*(1-n)/2/n),t.navigateByCenterClick||(e._nextSlidePos=e._slidesHorizontal?e._wrapWidth:e._wrapHeight),t.center&&e._sliderOverflow.css("margin-"+(e._slidesHorizontal?"left":"top"),e._minPosOffset)})))},c.rsModules.visibleNearby=c.rsProto._initVisibleNearby},4249:function(e,t,n){var i=n(4692),o=n(4160);o.$=i,o.jQuery=i,o.jquery=i,e.exports=i},4160:function(e,t,n){"use strict";e.exports=function(){if("object"==typeof globalThis)return globalThis;var e;try{e=this||new Function("return this")()}catch(e){if("object"==typeof window)return window;if("object"==typeof self)return self;if(void 0!==n.g)return n.g}return e}()},5990:function(){"use strict";"function"!=typeof Object.assign&&(Object.assign=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(!e)throw TypeError("Cannot convert undefined or null to object");for(var i=function(t){t&&Object.keys(t).forEach((function(n){return e[n]=t[n]}))},o=0,r=t;o<r.length;o++){i(r[o])}return e})},8904:function(e){!function(){function t(e,t){document.addEventListener?e.addEventListener("scroll",t,!1):e.attachEvent("scroll",t)}function n(e){this.g=document.createElement("div"),this.g.setAttribute("aria-hidden","true"),this.g.appendChild(document.createTextNode(e)),this.h=document.createElement("span"),this.i=document.createElement("span"),this.m=document.createElement("span"),this.j=document.createElement("span"),this.l=-1,this.h.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.i.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.j.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.m.style.cssText="display:inline-block;width:200%;height:200%;font-size:16px;max-width:none;",this.h.appendChild(this.m),this.i.appendChild(this.j),this.g.appendChild(this.h),this.g.appendChild(this.i)}function i(e,t){e.g.style.cssText="max-width:none;min-width:20px;min-height:20px;display:inline-block;overflow:hidden;position:absolute;width:auto;margin:0;padding:0;top:-999px;white-space:nowrap;font-synthesis:none;font:"+t+";"}function o(e){var t=e.g.offsetWidth,n=t+100;return e.j.style.width=n+"px",e.i.scrollLeft=n,e.h.scrollLeft=e.h.scrollWidth+100,e.l!==t&&(e.l=t,!0)}function r(e,n){function i(){var e=r;o(e)&&null!==e.g.parentNode&&n(e.l)}var r=e;t(e.h,i),t(e.i,i),o(e)}function a(e,t,n){t=t||{},n=n||window,this.family=e,this.style=t.style||"normal",this.weight=t.weight||"normal",this.stretch=t.stretch||"normal",this.context=n}var s=null,l=null,c=null,u=null;function d(e){return null===u&&(u=!!e.document.fonts),u}function f(e,t){var n=e.style,i=e.weight;if(null===c){var o=document.createElement("div");try{o.style.font="condensed 100px sans-serif"}catch(e){}c=""!==o.style.font}return[n,i,c?e.stretch:"","100px",t].join(" ")}a.prototype.load=function(e,t){var o=this,a=e||"BESbswy",c=0,u=t||3e3,h=(new Date).getTime();return new Promise((function(e,t){if(d(o.context)&&!function(e){return null===l&&(d(e)&&/Apple/.test(window.navigator.vendor)?(e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))(?:\.([0-9]+))/.exec(window.navigator.userAgent),l=!!e&&603>parseInt(e[1],10)):l=!1),l}(o.context)){var p=new Promise((function(e,t){!function n(){(new Date).getTime()-h>=u?t(Error(u+"ms timeout exceeded")):o.context.document.fonts.load(f(o,'"'+o.family+'"'),a).then((function(t){1<=t.length?e():setTimeout(n,25)}),t)}()})),m=new Promise((function(e,t){c=setTimeout((function(){t(Error(u+"ms timeout exceeded"))}),u)}));Promise.race([m,p]).then((function(){clearTimeout(c),e(o)}),t)}else!function(e){document.body?e():document.addEventListener?document.addEventListener("DOMContentLoaded",(function t(){document.removeEventListener("DOMContentLoaded",t),e()})):document.attachEvent("onreadystatechange",(function t(){"interactive"!=document.readyState&&"complete"!=document.readyState||(document.detachEvent("onreadystatechange",t),e())}))}((function(){function l(){var t;(t=-1!=g&&-1!=v||-1!=g&&-1!=b||-1!=v&&-1!=b)&&((t=g!=v&&g!=b&&v!=b)||(null===s&&(t=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent),s=!!t&&(536>parseInt(t[1],10)||536===parseInt(t[1],10)&&11>=parseInt(t[2],10))),t=s&&(g==y&&v==y&&b==y||g==w&&v==w&&b==w||g==x&&v==x&&b==x)),t=!t),t&&(null!==_.parentNode&&_.parentNode.removeChild(_),clearTimeout(c),e(o))}var d=new n(a),p=new n(a),m=new n(a),g=-1,v=-1,b=-1,y=-1,w=-1,x=-1,_=document.createElement("div");_.dir="ltr",i(d,f(o,"sans-serif")),i(p,f(o,"serif")),i(m,f(o,"monospace")),_.appendChild(d.g),_.appendChild(p.g),_.appendChild(m.g),o.context.document.body.appendChild(_),y=d.g.offsetWidth,w=p.g.offsetWidth,x=m.g.offsetWidth,function e(){if((new Date).getTime()-h>=u)null!==_.parentNode&&_.parentNode.removeChild(_),t(Error(u+"ms timeout exceeded"));else{var n=o.context.document.hidden;!0!==n&&void 0!==n||(g=d.g.offsetWidth,v=p.g.offsetWidth,b=m.g.offsetWidth,l()),c=setTimeout(e,50)}}(),r(d,(function(e){g=e,l()})),i(d,f(o,'"'+o.family+'",sans-serif')),r(p,(function(e){v=e,l()})),i(p,f(o,'"'+o.family+'",serif')),r(m,(function(e){b=e,l()})),i(m,f(o,'"'+o.family+'",monospace'))}))}))},e.exports=a}()},4692:function(e,t){var n;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(i,o){"use strict";var r=[],a=Object.getPrototypeOf,s=r.slice,l=r.flat?function(e){return r.flat.call(e)}:function(e){return r.concat.apply([],e)},c=r.push,u=r.indexOf,d={},f=d.toString,h=d.hasOwnProperty,p=h.toString,m=p.call(Object),g={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},b=function(e){return null!=e&&e===e.window},y=i.document,w={type:!0,src:!0,nonce:!0,noModule:!0};function x(e,t,n){var i,o,r=(n=n||y).createElement("script");if(r.text=e,t)for(i in w)(o=t[i]||t.getAttribute&&t.getAttribute(i))&&r.setAttribute(i,o);n.head.appendChild(r).parentNode.removeChild(r)}function _(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[f.call(e)]||"object":typeof e}var S="3.7.1",C=/HTML$/i,T=function(e,t){return new T.fn.init(e,t)};function P(e){var t=!!e&&"length"in e&&e.length,n=_(e);return!v(e)&&!b(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function D(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}T.fn=T.prototype={jquery:S,constructor:T,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=T.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return T.each(this,e)},map:function(e){return this.pushStack(T.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(T.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(T.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:r.sort,splice:r.splice},T.extend=T.fn.extend=function(){var e,t,n,i,o,r,a=arguments[0]||{},s=1,l=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||v(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)i=e[t],"__proto__"!==t&&a!==i&&(c&&i&&(T.isPlainObject(i)||(o=Array.isArray(i)))?(n=a[t],r=o&&!Array.isArray(n)?[]:o||T.isPlainObject(n)?n:{},o=!1,a[t]=T.extend(c,r,i)):void 0!==i&&(a[t]=i));return a},T.extend({expando:"jQuery"+(S+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==f.call(e))&&(!(t=a(e))||"function"==typeof(n=h.call(t,"constructor")&&t.constructor)&&p.call(n)===m)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){x(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,i=0;if(P(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},text:function(e){var t,n="",i=0,o=e.nodeType;if(!o)for(;t=e[i++];)n+=T.text(t);return 1===o||11===o?e.textContent:9===o?e.documentElement.textContent:3===o||4===o?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(P(Object(e))?T.merge(n,"string"==typeof e?[e]:e):c.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:u.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!C.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,i=0,o=e.length;i<n;i++)e[o++]=t[i];return e.length=o,e},grep:function(e,t,n){for(var i=[],o=0,r=e.length,a=!n;o<r;o++)!t(e[o],o)!==a&&i.push(e[o]);return i},map:function(e,t,n){var i,o,r=0,a=[];if(P(e))for(i=e.length;r<i;r++)null!=(o=t(e[r],r,n))&&a.push(o);else for(r in e)null!=(o=t(e[r],r,n))&&a.push(o);return l(a)},guid:1,support:g}),"function"==typeof Symbol&&(T.fn[Symbol.iterator]=r[Symbol.iterator]),T.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){d["[object "+t+"]"]=t.toLowerCase()}));var A=r.pop,k=r.sort,M=r.splice,E="[\\x20\\t\\r\\n\\f]",I=new RegExp("^"+E+"+|((?:^|[^\\\\])(?:\\\\.)*)"+E+"+$","g");T.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var N=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function L(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}T.escapeSelector=function(e){return(e+"").replace(N,L)};var O=y,H=c;!function(){var e,t,n,o,a,l,c,d,f,p,m=H,v=T.expando,b=0,y=0,w=ee(),x=ee(),_=ee(),S=ee(),C=function(e,t){return e===t&&(a=!0),0},P="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",N="(?:\\\\[\\da-fA-F]{1,6}"+E+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",L="\\["+E+"*("+N+")(?:"+E+"*([*^$|!~]?=)"+E+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+N+"))|)"+E+"*\\]",F=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+L+")*)|.*)\\)|)",j=new RegExp(E+"+","g"),$=new RegExp("^"+E+"*,"+E+"*"),R=new RegExp("^"+E+"*([>+~]|"+E+")"+E+"*"),z=new RegExp(E+"|>"),B=new RegExp(F),q=new RegExp("^"+N+"$"),W={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N+"|[*])"),ATTR:new RegExp("^"+L),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+E+"*(even|odd|(([+-]|)(\\d*)n|)"+E+"*(?:([+-]|)"+E+"*(\\d+)|))"+E+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+E+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+E+"*((?:-\\d)?\\d*)"+E+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,V=/^h\d$/i,X=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,U=/[+~]/,G=new RegExp("\\\\[\\da-fA-F]{1,6}"+E+"?|\\\\([^\\r\\n\\f])","g"),K=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},J=function(){le()},Z=fe((function(e){return!0===e.disabled&&D(e,"fieldset")}),{dir:"parentNode",next:"legend"});try{m.apply(r=s.call(O.childNodes),O.childNodes),r[O.childNodes.length].nodeType}catch(e){m={apply:function(e,t){H.apply(e,s.call(t))},call:function(e){H.apply(e,s.call(arguments,1))}}}function Q(e,t,n,i){var o,r,a,s,c,u,h,p=t&&t.ownerDocument,b=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==b&&9!==b&&11!==b)return n;if(!i&&(le(t),t=t||l,d)){if(11!==b&&(c=X.exec(e)))if(o=c[1]){if(9===b){if(!(a=t.getElementById(o)))return n;if(a.id===o)return m.call(n,a),n}else if(p&&(a=p.getElementById(o))&&Q.contains(t,a)&&a.id===o)return m.call(n,a),n}else{if(c[2])return m.apply(n,t.getElementsByTagName(e)),n;if((o=c[3])&&t.getElementsByClassName)return m.apply(n,t.getElementsByClassName(o)),n}if(!(S[e+" "]||f&&f.test(e))){if(h=e,p=t,1===b&&(z.test(e)||R.test(e))){for((p=U.test(e)&&se(t.parentNode)||t)==t&&g.scope||((s=t.getAttribute("id"))?s=T.escapeSelector(s):t.setAttribute("id",s=v)),r=(u=ue(e)).length;r--;)u[r]=(s?"#"+s:":scope")+" "+de(u[r]);h=u.join(",")}try{return m.apply(n,p.querySelectorAll(h)),n}catch(t){S(e,!0)}finally{s===v&&t.removeAttribute("id")}}}return be(e.replace(I,"$1"),t,n,i)}function ee(){var e=[];return function n(i,o){return e.push(i+" ")>t.cacheLength&&delete n[e.shift()],n[i+" "]=o}}function te(e){return e[v]=!0,e}function ne(e){var t=l.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ie(e){return function(t){return D(t,"input")&&t.type===e}}function oe(e){return function(t){return(D(t,"input")||D(t,"button"))&&t.type===e}}function re(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Z(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ae(e){return te((function(t){return t=+t,te((function(n,i){for(var o,r=e([],n.length,t),a=r.length;a--;)n[o=r[a]]&&(n[o]=!(i[o]=n[o]))}))}))}function se(e){return e&&void 0!==e.getElementsByTagName&&e}function le(e){var n,i=e?e.ownerDocument||e:O;return i!=l&&9===i.nodeType&&i.documentElement?(c=(l=i).documentElement,d=!T.isXMLDoc(l),p=c.matches||c.webkitMatchesSelector||c.msMatchesSelector,c.msMatchesSelector&&O!=l&&(n=l.defaultView)&&n.top!==n&&n.addEventListener("unload",J),g.getById=ne((function(e){return c.appendChild(e).id=T.expando,!l.getElementsByName||!l.getElementsByName(T.expando).length})),g.disconnectedMatch=ne((function(e){return p.call(e,"*")})),g.scope=ne((function(){return l.querySelectorAll(":scope")})),g.cssHas=ne((function(){try{return l.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}})),g.getById?(t.filter.ID=function(e){var t=e.replace(G,K);return function(e){return e.getAttribute("id")===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&d){var n=t.getElementById(e);return n?[n]:[]}}):(t.filter.ID=function(e){var t=e.replace(G,K);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&d){var n,i,o,r=t.getElementById(e);if(r){if((n=r.getAttributeNode("id"))&&n.value===e)return[r];for(o=t.getElementsByName(e),i=0;r=o[i++];)if((n=r.getAttributeNode("id"))&&n.value===e)return[r]}return[]}}),t.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},t.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&d)return t.getElementsByClassName(e)},f=[],ne((function(e){var t;c.appendChild(e).innerHTML="<a id='"+v+"' href='' disabled='disabled'></a><select id='"+v+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||f.push("\\["+E+"*(?:value|"+P+")"),e.querySelectorAll("[id~="+v+"-]").length||f.push("~="),e.querySelectorAll("a#"+v+"+*").length||f.push(".#.+[+~]"),e.querySelectorAll(":checked").length||f.push(":checked"),(t=l.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),c.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&f.push(":enabled",":disabled"),(t=l.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||f.push("\\["+E+"*name"+E+"*="+E+"*(?:''|\"\")")})),g.cssHas||f.push(":has"),f=f.length&&new RegExp(f.join("|")),C=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!g.sortDetached&&t.compareDocumentPosition(e)===n?e===l||e.ownerDocument==O&&Q.contains(O,e)?-1:t===l||t.ownerDocument==O&&Q.contains(O,t)?1:o?u.call(o,e)-u.call(o,t):0:4&n?-1:1)},l):l}for(e in Q.matches=function(e,t){return Q(e,null,null,t)},Q.matchesSelector=function(e,t){if(le(e),d&&!S[t+" "]&&(!f||!f.test(t)))try{var n=p.call(e,t);if(n||g.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){S(t,!0)}return Q(t,l,null,[e]).length>0},Q.contains=function(e,t){return(e.ownerDocument||e)!=l&&le(e),T.contains(e,t)},Q.attr=function(e,n){(e.ownerDocument||e)!=l&&le(e);var i=t.attrHandle[n.toLowerCase()],o=i&&h.call(t.attrHandle,n.toLowerCase())?i(e,n,!d):void 0;return void 0!==o?o:e.getAttribute(n)},Q.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},T.uniqueSort=function(e){var t,n=[],i=0,r=0;if(a=!g.sortStable,o=!g.sortStable&&s.call(e,0),k.call(e,C),a){for(;t=e[r++];)t===e[r]&&(i=n.push(r));for(;i--;)M.call(e,n[i],1)}return o=null,e},T.fn.uniqueSort=function(){return this.pushStack(T.uniqueSort(s.apply(this)))},t=T.expr={cacheLength:50,createPseudo:te,match:W,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(G,K),e[3]=(e[3]||e[4]||e[5]||"").replace(G,K),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||Q.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&Q.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return W.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&B.test(n)&&(t=ue(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(G,K).toLowerCase();return"*"===e?function(){return!0}:function(e){return D(e,t)}},CLASS:function(e){var t=w[e+" "];return t||(t=new RegExp("(^|"+E+")"+e+"("+E+"|$)"))&&w(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(i){var o=Q.attr(i,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o.replace(j," ")+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,i,o){var r="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===i&&0===o?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,f,h,p=r!==a?"nextSibling":"previousSibling",m=t.parentNode,g=s&&t.nodeName.toLowerCase(),y=!l&&!s,w=!1;if(m){if(r){for(;p;){for(d=t;d=d[p];)if(s?D(d,g):1===d.nodeType)return!1;h=p="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&y){for(w=(f=(c=(u=m[v]||(m[v]={}))[e]||[])[0]===b&&c[1])&&c[2],d=f&&m.childNodes[f];d=++f&&d&&d[p]||(w=f=0)||h.pop();)if(1===d.nodeType&&++w&&d===t){u[e]=[b,f,w];break}}else if(y&&(w=f=(c=(u=t[v]||(t[v]={}))[e]||[])[0]===b&&c[1]),!1===w)for(;(d=++f&&d&&d[p]||(w=f=0)||h.pop())&&(!(s?D(d,g):1===d.nodeType)||!++w||(y&&((u=d[v]||(d[v]={}))[e]=[b,w]),d!==t)););return(w-=o)===i||w%i==0&&w/i>=0}}},PSEUDO:function(e,n){var i,o=t.pseudos[e]||t.setFilters[e.toLowerCase()]||Q.error("unsupported pseudo: "+e);return o[v]?o(n):o.length>1?(i=[e,e,"",n],t.setFilters.hasOwnProperty(e.toLowerCase())?te((function(e,t){for(var i,r=o(e,n),a=r.length;a--;)e[i=u.call(e,r[a])]=!(t[i]=r[a])})):function(e){return o(e,0,i)}):o}},pseudos:{not:te((function(e){var t=[],n=[],i=ve(e.replace(I,"$1"));return i[v]?te((function(e,t,n,o){for(var r,a=i(e,null,o,[]),s=e.length;s--;)(r=a[s])&&(e[s]=!(t[s]=r))})):function(e,o,r){return t[0]=e,i(t,null,r,n),t[0]=null,!n.pop()}})),has:te((function(e){return function(t){return Q(e,t).length>0}})),contains:te((function(e){return e=e.replace(G,K),function(t){return(t.textContent||T.text(t)).indexOf(e)>-1}})),lang:te((function(e){return q.test(e||"")||Q.error("unsupported lang: "+e),e=e.replace(G,K).toLowerCase(),function(t){var n;do{if(n=d?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(e){var t=i.location&&i.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===c},focus:function(e){return e===function(){try{return l.activeElement}catch(e){}}()&&l.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:re(!1),disabled:re(!0),checked:function(e){return D(e,"input")&&!!e.checked||D(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!t.pseudos.empty(e)},header:function(e){return V.test(e.nodeName)},input:function(e){return Y.test(e.nodeName)},button:function(e){return D(e,"input")&&"button"===e.type||D(e,"button")},text:function(e){var t;return D(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ae((function(){return[0]})),last:ae((function(e,t){return[t-1]})),eq:ae((function(e,t,n){return[n<0?n+t:n]})),even:ae((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ae((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ae((function(e,t,n){var i;for(i=n<0?n+t:n>t?t:n;--i>=0;)e.push(i);return e})),gt:ae((function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e}))}},t.pseudos.nth=t.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[e]=ie(e);for(e in{submit:!0,reset:!0})t.pseudos[e]=oe(e);function ce(){}function ue(e,n){var i,o,r,a,s,l,c,u=x[e+" "];if(u)return n?0:u.slice(0);for(s=e,l=[],c=t.preFilter;s;){for(a in i&&!(o=$.exec(s))||(o&&(s=s.slice(o[0].length)||s),l.push(r=[])),i=!1,(o=R.exec(s))&&(i=o.shift(),r.push({value:i,type:o[0].replace(I," ")}),s=s.slice(i.length)),t.filter)!(o=W[a].exec(s))||c[a]&&!(o=c[a](o))||(i=o.shift(),r.push({value:i,type:a,matches:o}),s=s.slice(i.length));if(!i)break}return n?s.length:s?Q.error(e):x(e,l).slice(0)}function de(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function fe(e,t,n){var i=t.dir,o=t.next,r=o||i,a=n&&"parentNode"===r,s=y++;return t.first?function(t,n,o){for(;t=t[i];)if(1===t.nodeType||a)return e(t,n,o);return!1}:function(t,n,l){var c,u,d=[b,s];if(l){for(;t=t[i];)if((1===t.nodeType||a)&&e(t,n,l))return!0}else for(;t=t[i];)if(1===t.nodeType||a)if(u=t[v]||(t[v]={}),o&&D(t,o))t=t[i]||t;else{if((c=u[r])&&c[0]===b&&c[1]===s)return d[2]=c[2];if(u[r]=d,d[2]=e(t,n,l))return!0}return!1}}function he(e){return e.length>1?function(t,n,i){for(var o=e.length;o--;)if(!e[o](t,n,i))return!1;return!0}:e[0]}function pe(e,t,n,i,o){for(var r,a=[],s=0,l=e.length,c=null!=t;s<l;s++)(r=e[s])&&(n&&!n(r,i,o)||(a.push(r),c&&t.push(s)));return a}function me(e,t,n,i,o,r){return i&&!i[v]&&(i=me(i)),o&&!o[v]&&(o=me(o,r)),te((function(r,a,s,l){var c,d,f,h,p=[],g=[],v=a.length,b=r||function(e,t,n){for(var i=0,o=t.length;i<o;i++)Q(e,t[i],n);return n}(t||"*",s.nodeType?[s]:s,[]),y=!e||!r&&t?b:pe(b,p,e,s,l);if(n?n(y,h=o||(r?e:v||i)?[]:a,s,l):h=y,i)for(c=pe(h,g),i(c,[],s,l),d=c.length;d--;)(f=c[d])&&(h[g[d]]=!(y[g[d]]=f));if(r){if(o||e){if(o){for(c=[],d=h.length;d--;)(f=h[d])&&c.push(y[d]=f);o(null,h=[],c,l)}for(d=h.length;d--;)(f=h[d])&&(c=o?u.call(r,f):p[d])>-1&&(r[c]=!(a[c]=f))}}else h=pe(h===a?h.splice(v,h.length):h),o?o(null,a,h,l):m.apply(a,h)}))}function ge(e){for(var i,o,r,a=e.length,s=t.relative[e[0].type],l=s||t.relative[" "],c=s?1:0,d=fe((function(e){return e===i}),l,!0),f=fe((function(e){return u.call(i,e)>-1}),l,!0),h=[function(e,t,o){var r=!s&&(o||t!=n)||((i=t).nodeType?d(e,t,o):f(e,t,o));return i=null,r}];c<a;c++)if(o=t.relative[e[c].type])h=[fe(he(h),o)];else{if((o=t.filter[e[c].type].apply(null,e[c].matches))[v]){for(r=++c;r<a&&!t.relative[e[r].type];r++);return me(c>1&&he(h),c>1&&de(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(I,"$1"),o,c<r&&ge(e.slice(c,r)),r<a&&ge(e=e.slice(r)),r<a&&de(e))}h.push(o)}return he(h)}function ve(e,i){var o,r=[],a=[],s=_[e+" "];if(!s){for(i||(i=ue(e)),o=i.length;o--;)(s=ge(i[o]))[v]?r.push(s):a.push(s);s=_(e,function(e,i){var o=i.length>0,r=e.length>0,a=function(a,s,c,u,f){var h,p,g,v=0,y="0",w=a&&[],x=[],_=n,S=a||r&&t.find.TAG("*",f),C=b+=null==_?1:Math.random()||.1,P=S.length;for(f&&(n=s==l||s||f);y!==P&&null!=(h=S[y]);y++){if(r&&h){for(p=0,s||h.ownerDocument==l||(le(h),c=!d);g=e[p++];)if(g(h,s||l,c)){m.call(u,h);break}f&&(b=C)}o&&((h=!g&&h)&&v--,a&&w.push(h))}if(v+=y,o&&y!==v){for(p=0;g=i[p++];)g(w,x,s,c);if(a){if(v>0)for(;y--;)w[y]||x[y]||(x[y]=A.call(u));x=pe(x)}m.apply(u,x),f&&!a&&x.length>0&&v+i.length>1&&T.uniqueSort(u)}return f&&(b=C,n=_),w};return o?te(a):a}(a,r)),s.selector=e}return s}function be(e,n,i,o){var r,a,s,l,c,u="function"==typeof e&&e,f=!o&&ue(e=u.selector||e);if(i=i||[],1===f.length){if((a=f[0]=f[0].slice(0)).length>2&&"ID"===(s=a[0]).type&&9===n.nodeType&&d&&t.relative[a[1].type]){if(!(n=(t.find.ID(s.matches[0].replace(G,K),n)||[])[0]))return i;u&&(n=n.parentNode),e=e.slice(a.shift().value.length)}for(r=W.needsContext.test(e)?0:a.length;r--&&(s=a[r],!t.relative[l=s.type]);)if((c=t.find[l])&&(o=c(s.matches[0].replace(G,K),U.test(a[0].type)&&se(n.parentNode)||n))){if(a.splice(r,1),!(e=o.length&&de(a)))return m.apply(i,o),i;break}}return(u||ve(e,f))(o,n,!d,i,!n||U.test(e)&&se(n.parentNode)||n),i}ce.prototype=t.filters=t.pseudos,t.setFilters=new ce,g.sortStable=v.split("").sort(C).join("")===v,le(),g.sortDetached=ne((function(e){return 1&e.compareDocumentPosition(l.createElement("fieldset"))})),T.find=Q,T.expr[":"]=T.expr.pseudos,T.unique=T.uniqueSort,Q.compile=ve,Q.select=be,Q.setDocument=le,Q.tokenize=ue,Q.escape=T.escapeSelector,Q.getText=T.text,Q.isXML=T.isXMLDoc,Q.selectors=T.expr,Q.support=T.support,Q.uniqueSort=T.uniqueSort}();var F=function(e,t,n){for(var i=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&T(e).is(n))break;i.push(e)}return i},j=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},$=T.expr.match.needsContext,R=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function z(e,t,n){return v(t)?T.grep(e,(function(e,i){return!!t.call(e,i,e)!==n})):t.nodeType?T.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?T.grep(e,(function(e){return u.call(t,e)>-1!==n})):T.filter(t,e,n)}T.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?T.find.matchesSelector(i,e)?[i]:[]:T.find.matches(e,T.grep(t,(function(e){return 1===e.nodeType})))},T.fn.extend({find:function(e){var t,n,i=this.length,o=this;if("string"!=typeof e)return this.pushStack(T(e).filter((function(){for(t=0;t<i;t++)if(T.contains(o[t],this))return!0})));for(n=this.pushStack([]),t=0;t<i;t++)T.find(e,o[t],n);return i>1?T.uniqueSort(n):n},filter:function(e){return this.pushStack(z(this,e||[],!1))},not:function(e){return this.pushStack(z(this,e||[],!0))},is:function(e){return!!z(this,"string"==typeof e&&$.test(e)?T(e):e||[],!1).length}});var B,q=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(T.fn.init=function(e,t,n){var i,o;if(!e)return this;if(n=n||B,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:q.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof T?t[0]:t,T.merge(this,T.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:y,!0)),R.test(i[1])&&T.isPlainObject(t))for(i in t)v(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(o=y.getElementById(i[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(T):T.makeArray(e,this)}).prototype=T.fn,B=T(y);var W=/^(?:parents|prev(?:Until|All))/,Y={children:!0,contents:!0,next:!0,prev:!0};function V(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}T.fn.extend({has:function(e){var t=T(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(T.contains(this,t[e]))return!0}))},closest:function(e,t){var n,i=0,o=this.length,r=[],a="string"!=typeof e&&T(e);if(!$.test(e))for(;i<o;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&T.find.matchesSelector(n,e))){r.push(n);break}return this.pushStack(r.length>1?T.uniqueSort(r):r)},index:function(e){return e?"string"==typeof e?u.call(T(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(T.uniqueSort(T.merge(this.get(),T(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),T.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return F(e,"parentNode")},parentsUntil:function(e,t,n){return F(e,"parentNode",n)},next:function(e){return V(e,"nextSibling")},prev:function(e){return V(e,"previousSibling")},nextAll:function(e){return F(e,"nextSibling")},prevAll:function(e){return F(e,"previousSibling")},nextUntil:function(e,t,n){return F(e,"nextSibling",n)},prevUntil:function(e,t,n){return F(e,"previousSibling",n)},siblings:function(e){return j((e.parentNode||{}).firstChild,e)},children:function(e){return j(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(D(e,"template")&&(e=e.content||e),T.merge([],e.childNodes))}},(function(e,t){T.fn[e]=function(n,i){var o=T.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(o=T.filter(i,o)),this.length>1&&(Y[e]||T.uniqueSort(o),W.test(e)&&o.reverse()),this.pushStack(o)}}));var X=/[^\x20\t\r\n\f]+/g;function U(e){return e}function G(e){throw e}function K(e,t,n,i){var o;try{e&&v(o=e.promise)?o.call(e).done(t).fail(n):e&&v(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}T.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return T.each(e.match(X)||[],(function(e,n){t[n]=!0})),t}(e):T.extend({},e);var t,n,i,o,r=[],a=[],s=-1,l=function(){for(o=o||e.once,i=t=!0;a.length;s=-1)for(n=a.shift();++s<r.length;)!1===r[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=r.length,n=!1);e.memory||(n=!1),t=!1,o&&(r=n?[]:"")},c={add:function(){return r&&(n&&!t&&(s=r.length-1,a.push(n)),function t(n){T.each(n,(function(n,i){v(i)?e.unique&&c.has(i)||r.push(i):i&&i.length&&"string"!==_(i)&&t(i)}))}(arguments),n&&!t&&l()),this},remove:function(){return T.each(arguments,(function(e,t){for(var n;(n=T.inArray(t,r,n))>-1;)r.splice(n,1),n<=s&&s--})),this},has:function(e){return e?T.inArray(e,r)>-1:r.length>0},empty:function(){return r&&(r=[]),this},disable:function(){return o=a=[],r=n="",this},disabled:function(){return!r},lock:function(){return o=a=[],n||t||(r=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},T.extend({Deferred:function(e){var t=[["notify","progress",T.Callbacks("memory"),T.Callbacks("memory"),2],["resolve","done",T.Callbacks("once memory"),T.Callbacks("once memory"),0,"resolved"],["reject","fail",T.Callbacks("once memory"),T.Callbacks("once memory"),1,"rejected"]],n="pending",o={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return T.Deferred((function(n){T.each(t,(function(t,i){var o=v(e[i[4]])&&e[i[4]];r[i[1]]((function(){var e=o&&o.apply(this,arguments);e&&v(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,o?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,o){var r=0;function a(e,t,n,o){return function(){var s=this,l=arguments,c=function(){var i,c;if(!(e<r)){if((i=n.apply(s,l))===t.promise())throw new TypeError("Thenable self-resolution");c=i&&("object"==typeof i||"function"==typeof i)&&i.then,v(c)?o?c.call(i,a(r,t,U,o),a(r,t,G,o)):(r++,c.call(i,a(r,t,U,o),a(r,t,G,o),a(r,t,U,t.notifyWith))):(n!==U&&(s=void 0,l=[i]),(o||t.resolveWith)(s,l))}},u=o?c:function(){try{c()}catch(i){T.Deferred.exceptionHook&&T.Deferred.exceptionHook(i,u.error),e+1>=r&&(n!==G&&(s=void 0,l=[i]),t.rejectWith(s,l))}};e?u():(T.Deferred.getErrorHook?u.error=T.Deferred.getErrorHook():T.Deferred.getStackHook&&(u.error=T.Deferred.getStackHook()),i.setTimeout(u))}}return T.Deferred((function(i){t[0][3].add(a(0,i,v(o)?o:U,i.notifyWith)),t[1][3].add(a(0,i,v(e)?e:U)),t[2][3].add(a(0,i,v(n)?n:G))})).promise()},promise:function(e){return null!=e?T.extend(e,o):o}},r={};return T.each(t,(function(e,i){var a=i[2],s=i[5];o[i[1]]=a.add,s&&a.add((function(){n=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(i[3].fire),r[i[0]]=function(){return r[i[0]+"With"](this===r?void 0:this,arguments),this},r[i[0]+"With"]=a.fireWith})),o.promise(r),e&&e.call(r,r),r},when:function(e){var t=arguments.length,n=t,i=Array(n),o=s.call(arguments),r=T.Deferred(),a=function(e){return function(n){i[e]=this,o[e]=arguments.length>1?s.call(arguments):n,--t||r.resolveWith(i,o)}};if(t<=1&&(K(e,r.done(a(n)).resolve,r.reject,!t),"pending"===r.state()||v(o[n]&&o[n].then)))return r.then();for(;n--;)K(o[n],a(n),r.reject);return r.promise()}});var J=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;T.Deferred.exceptionHook=function(e,t){i.console&&i.console.warn&&e&&J.test(e.name)&&i.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},T.readyException=function(e){i.setTimeout((function(){throw e}))};var Z=T.Deferred();function Q(){y.removeEventListener("DOMContentLoaded",Q),i.removeEventListener("load",Q),T.ready()}T.fn.ready=function(e){return Z.then(e).catch((function(e){T.readyException(e)})),this},T.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--T.readyWait:T.isReady)||(T.isReady=!0,!0!==e&&--T.readyWait>0||Z.resolveWith(y,[T]))}}),T.ready.then=Z.then,"complete"===y.readyState||"loading"!==y.readyState&&!y.documentElement.doScroll?i.setTimeout(T.ready):(y.addEventListener("DOMContentLoaded",Q),i.addEventListener("load",Q));var ee=function(e,t,n,i,o,r,a){var s=0,l=e.length,c=null==n;if("object"===_(n))for(s in o=!0,n)ee(e,t,s,n[s],!0,r,a);else if(void 0!==i&&(o=!0,v(i)||(a=!0),c&&(a?(t.call(e,i),t=null):(c=t,t=function(e,t,n){return c.call(T(e),n)})),t))for(;s<l;s++)t(e[s],n,a?i:i.call(e[s],s,t(e[s],n)));return o?e:c?t.call(e):l?t(e[0],n):r},te=/^-ms-/,ne=/-([a-z])/g;function ie(e,t){return t.toUpperCase()}function oe(e){return e.replace(te,"ms-").replace(ne,ie)}var re=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function ae(){this.expando=T.expando+ae.uid++}ae.uid=1,ae.prototype={cache:function(e){var t=e[this.expando];return t||(t={},re(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,o=this.cache(e);if("string"==typeof t)o[oe(t)]=n;else for(i in t)o[oe(i)]=t[i];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][oe(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i=e[this.expando];if(void 0!==i){if(void 0!==t){n=(t=Array.isArray(t)?t.map(oe):(t=oe(t))in i?[t]:t.match(X)||[]).length;for(;n--;)delete i[t[n]]}(void 0===t||T.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!T.isEmptyObject(t)}};var se=new ae,le=new ae,ce=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ue=/[A-Z]/g;function de(e,t,n){var i;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(ue,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ce.test(e)?JSON.parse(e):e)}(n)}catch(e){}le.set(e,t,n)}else n=void 0;return n}T.extend({hasData:function(e){return le.hasData(e)||se.hasData(e)},data:function(e,t,n){return le.access(e,t,n)},removeData:function(e,t){le.remove(e,t)},_data:function(e,t,n){return se.access(e,t,n)},_removeData:function(e,t){se.remove(e,t)}}),T.fn.extend({data:function(e,t){var n,i,o,r=this[0],a=r&&r.attributes;if(void 0===e){if(this.length&&(o=le.get(r),1===r.nodeType&&!se.get(r,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(i=a[n].name).indexOf("data-")&&(i=oe(i.slice(5)),de(r,i,o[i]));se.set(r,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each((function(){le.set(this,e)})):ee(this,(function(t){var n;if(r&&void 0===t)return void 0!==(n=le.get(r,e))||void 0!==(n=de(r,e))?n:void 0;this.each((function(){le.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){le.remove(this,e)}))}}),T.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=se.get(e,t),n&&(!i||Array.isArray(n)?i=se.access(e,t,T.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=T.queue(e,t),i=n.length,o=n.shift(),r=T._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===t&&n.unshift("inprogress"),delete r.stop,o.call(e,(function(){T.dequeue(e,t)}),r)),!i&&r&&r.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return se.get(e,n)||se.access(e,n,{empty:T.Callbacks("once memory").add((function(){se.remove(e,[t+"queue",n])}))})}}),T.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?T.queue(this[0],e):void 0===t?this:this.each((function(){var n=T.queue(this,e,t);T._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&T.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){T.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,o=T.Deferred(),r=this,a=this.length,s=function(){--i||o.resolveWith(r,[r])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=se.get(r[a],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(s));return s(),o.promise(t)}});var fe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,he=new RegExp("^(?:([+-])=|)("+fe+")([a-z%]*)$","i"),pe=["Top","Right","Bottom","Left"],me=y.documentElement,ge=function(e){return T.contains(e.ownerDocument,e)},ve={composed:!0};me.getRootNode&&(ge=function(e){return T.contains(e.ownerDocument,e)||e.getRootNode(ve)===e.ownerDocument});var be=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ge(e)&&"none"===T.css(e,"display")};function ye(e,t,n,i){var o,r,a=20,s=i?function(){return i.cur()}:function(){return T.css(e,t,"")},l=s(),c=n&&n[3]||(T.cssNumber[t]?"":"px"),u=e.nodeType&&(T.cssNumber[t]||"px"!==c&&+l)&&he.exec(T.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;a--;)T.style(e,t,u+c),(1-r)*(1-(r=s()/l||.5))<=0&&(a=0),u/=r;u*=2,T.style(e,t,u+c),n=n||[]}return n&&(u=+u||+l||0,o=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=u,i.end=o)),o}var we={};function xe(e){var t,n=e.ownerDocument,i=e.nodeName,o=we[i];return o||(t=n.body.appendChild(n.createElement(i)),o=T.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),we[i]=o,o)}function _e(e,t){for(var n,i,o=[],r=0,a=e.length;r<a;r++)(i=e[r]).style&&(n=i.style.display,t?("none"===n&&(o[r]=se.get(i,"display")||null,o[r]||(i.style.display="")),""===i.style.display&&be(i)&&(o[r]=xe(i))):"none"!==n&&(o[r]="none",se.set(i,"display",n)));for(r=0;r<a;r++)null!=o[r]&&(e[r].style.display=o[r]);return e}T.fn.extend({show:function(){return _e(this,!0)},hide:function(){return _e(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){be(this)?T(this).show():T(this).hide()}))}});var Se,Ce,Te=/^(?:checkbox|radio)$/i,Pe=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,De=/^$|^module$|\/(?:java|ecma)script/i;Se=y.createDocumentFragment().appendChild(y.createElement("div")),(Ce=y.createElement("input")).setAttribute("type","radio"),Ce.setAttribute("checked","checked"),Ce.setAttribute("name","t"),Se.appendChild(Ce),g.checkClone=Se.cloneNode(!0).cloneNode(!0).lastChild.checked,Se.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!Se.cloneNode(!0).lastChild.defaultValue,Se.innerHTML="<option></option>",g.option=!!Se.lastChild;var Ae={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ke(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&D(e,t)?T.merge([e],n):n}function Me(e,t){for(var n=0,i=e.length;n<i;n++)se.set(e[n],"globalEval",!t||se.get(t[n],"globalEval"))}Ae.tbody=Ae.tfoot=Ae.colgroup=Ae.caption=Ae.thead,Ae.th=Ae.td,g.option||(Ae.optgroup=Ae.option=[1,"<select multiple='multiple'>","</select>"]);var Ee=/<|&#?\w+;/;function Ie(e,t,n,i,o){for(var r,a,s,l,c,u,d=t.createDocumentFragment(),f=[],h=0,p=e.length;h<p;h++)if((r=e[h])||0===r)if("object"===_(r))T.merge(f,r.nodeType?[r]:r);else if(Ee.test(r)){for(a=a||d.appendChild(t.createElement("div")),s=(Pe.exec(r)||["",""])[1].toLowerCase(),l=Ae[s]||Ae._default,a.innerHTML=l[1]+T.htmlPrefilter(r)+l[2],u=l[0];u--;)a=a.lastChild;T.merge(f,a.childNodes),(a=d.firstChild).textContent=""}else f.push(t.createTextNode(r));for(d.textContent="",h=0;r=f[h++];)if(i&&T.inArray(r,i)>-1)o&&o.push(r);else if(c=ge(r),a=ke(d.appendChild(r),"script"),c&&Me(a),n)for(u=0;r=a[u++];)De.test(r.type||"")&&n.push(r);return d}var Ne=/^([^.]*)(?:\.(.+)|)/;function Le(){return!0}function Oe(){return!1}function He(e,t,n,i,o,r){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(i=i||n,n=void 0),t)He(e,s,n,i,t[s],r);return e}if(null==i&&null==o?(o=n,i=n=void 0):null==o&&("string"==typeof n?(o=i,i=void 0):(o=i,i=n,n=void 0)),!1===o)o=Oe;else if(!o)return e;return 1===r&&(a=o,o=function(e){return T().off(e),a.apply(this,arguments)},o.guid=a.guid||(a.guid=T.guid++)),e.each((function(){T.event.add(this,t,o,i,n)}))}function Fe(e,t,n){n?(se.set(e,t,!1),T.event.add(e,t,{namespace:!1,handler:function(e){var n,i=se.get(this,t);if(1&e.isTrigger&&this[t]){if(i)(T.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=s.call(arguments),se.set(this,t,i),this[t](),n=se.get(this,t),se.set(this,t,!1),i!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else i&&(se.set(this,t,T.event.trigger(i[0],i.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Le)}})):void 0===se.get(e,t)&&T.event.add(e,t,Le)}T.event={global:{},add:function(e,t,n,i,o){var r,a,s,l,c,u,d,f,h,p,m,g=se.get(e);if(re(e))for(n.handler&&(n=(r=n).handler,o=r.selector),o&&T.find.matchesSelector(me,o),n.guid||(n.guid=T.guid++),(l=g.events)||(l=g.events=Object.create(null)),(a=g.handle)||(a=g.handle=function(t){return void 0!==T&&T.event.triggered!==t.type?T.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(X)||[""]).length;c--;)h=m=(s=Ne.exec(t[c])||[])[1],p=(s[2]||"").split(".").sort(),h&&(d=T.event.special[h]||{},h=(o?d.delegateType:d.bindType)||h,d=T.event.special[h]||{},u=T.extend({type:h,origType:m,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&T.expr.match.needsContext.test(o),namespace:p.join(".")},r),(f=l[h])||((f=l[h]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,i,p,a)||e.addEventListener&&e.addEventListener(h,a)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),o?f.splice(f.delegateCount++,0,u):f.push(u),T.event.global[h]=!0)},remove:function(e,t,n,i,o){var r,a,s,l,c,u,d,f,h,p,m,g=se.hasData(e)&&se.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(X)||[""]).length;c--;)if(h=m=(s=Ne.exec(t[c])||[])[1],p=(s[2]||"").split(".").sort(),h){for(d=T.event.special[h]||{},f=l[h=(i?d.delegateType:d.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=r=f.length;r--;)u=f[r],!o&&m!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(f.splice(r,1),u.selector&&f.delegateCount--,d.remove&&d.remove.call(e,u));a&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,p,g.handle)||T.removeEvent(e,h,g.handle),delete l[h])}else for(h in l)T.event.remove(e,h+t[c],n,i,!0);T.isEmptyObject(l)&&se.remove(e,"handle events")}},dispatch:function(e){var t,n,i,o,r,a,s=new Array(arguments.length),l=T.event.fix(e),c=(se.get(this,"events")||Object.create(null))[l.type]||[],u=T.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(a=T.event.handlers.call(this,l,c),t=0;(o=a[t++])&&!l.isPropagationStopped();)for(l.currentTarget=o.elem,n=0;(r=o.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==r.namespace&&!l.rnamespace.test(r.namespace)||(l.handleObj=r,l.data=r.data,void 0!==(i=((T.event.special[r.origType]||{}).handle||r.handler).apply(o.elem,s))&&!1===(l.result=i)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,i,o,r,a,s=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(r=[],a={},n=0;n<l;n++)void 0===a[o=(i=t[n]).selector+" "]&&(a[o]=i.needsContext?T(o,this).index(c)>-1:T.find(o,this,null,[c]).length),a[o]&&r.push(i);r.length&&s.push({elem:c,handlers:r})}return c=this,l<t.length&&s.push({elem:c,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(T.Event.prototype,e,{enumerable:!0,configurable:!0,get:v(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[T.expando]?e:new T.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Te.test(t.type)&&t.click&&D(t,"input")&&Fe(t,"click",!0),!1},trigger:function(e){var t=this||e;return Te.test(t.type)&&t.click&&D(t,"input")&&Fe(t,"click"),!0},_default:function(e){var t=e.target;return Te.test(t.type)&&t.click&&D(t,"input")&&se.get(t,"click")||D(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},T.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},T.Event=function(e,t){if(!(this instanceof T.Event))return new T.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Le:Oe,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&T.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[T.expando]=!0},T.Event.prototype={constructor:T.Event,isDefaultPrevented:Oe,isPropagationStopped:Oe,isImmediatePropagationStopped:Oe,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Le,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Le,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Le,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},T.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},T.event.addProp),T.each({focus:"focusin",blur:"focusout"},(function(e,t){function n(e){if(y.documentMode){var n=se.get(this,"handle"),i=T.event.fix(e);i.type="focusin"===e.type?"focus":"blur",i.isSimulated=!0,n(e),i.target===i.currentTarget&&n(i)}else T.event.simulate(t,e.target,T.event.fix(e))}T.event.special[e]={setup:function(){var i;if(Fe(this,e,!0),!y.documentMode)return!1;(i=se.get(this,t))||this.addEventListener(t,n),se.set(this,t,(i||0)+1)},trigger:function(){return Fe(this,e),!0},teardown:function(){var e;if(!y.documentMode)return!1;(e=se.get(this,t)-1)?se.set(this,t,e):(this.removeEventListener(t,n),se.remove(this,t))},_default:function(t){return se.get(t.target,e)},delegateType:t},T.event.special[t]={setup:function(){var i=this.ownerDocument||this.document||this,o=y.documentMode?this:i,r=se.get(o,t);r||(y.documentMode?this.addEventListener(t,n):i.addEventListener(e,n,!0)),se.set(o,t,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,o=y.documentMode?this:i,r=se.get(o,t)-1;r?se.set(o,t,r):(y.documentMode?this.removeEventListener(t,n):i.removeEventListener(e,n,!0),se.remove(o,t))}}})),T.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){T.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=e.relatedTarget,o=e.handleObj;return i&&(i===this||T.contains(this,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}})),T.fn.extend({on:function(e,t,n,i){return He(this,e,t,n,i)},one:function(e,t,n,i){return He(this,e,t,n,i,1)},off:function(e,t,n){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,T(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Oe),this.each((function(){T.event.remove(this,e,n,t)}))}});var je=/<script|<style|<link/i,$e=/checked\s*(?:[^=]|=\s*.checked.)/i,Re=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function ze(e,t){return D(e,"table")&&D(11!==t.nodeType?t:t.firstChild,"tr")&&T(e).children("tbody")[0]||e}function Be(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function We(e,t){var n,i,o,r,a,s;if(1===t.nodeType){if(se.hasData(e)&&(s=se.get(e).events))for(o in se.remove(t,"handle events"),s)for(n=0,i=s[o].length;n<i;n++)T.event.add(t,o,s[o][n]);le.hasData(e)&&(r=le.access(e),a=T.extend({},r),le.set(t,a))}}function Ye(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Te.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Ve(e,t,n,i){t=l(t);var o,r,a,s,c,u,d=0,f=e.length,h=f-1,p=t[0],m=v(p);if(m||f>1&&"string"==typeof p&&!g.checkClone&&$e.test(p))return e.each((function(o){var r=e.eq(o);m&&(t[0]=p.call(this,o,r.html())),Ve(r,t,n,i)}));if(f&&(r=(o=Ie(t,e[0].ownerDocument,!1,e,i)).firstChild,1===o.childNodes.length&&(o=r),r||i)){for(s=(a=T.map(ke(o,"script"),Be)).length;d<f;d++)c=o,d!==h&&(c=T.clone(c,!0,!0),s&&T.merge(a,ke(c,"script"))),n.call(e[d],c,d);if(s)for(u=a[a.length-1].ownerDocument,T.map(a,qe),d=0;d<s;d++)c=a[d],De.test(c.type||"")&&!se.access(c,"globalEval")&&T.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?T._evalUrl&&!c.noModule&&T._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):x(c.textContent.replace(Re,""),c,u))}return e}function Xe(e,t,n){for(var i,o=t?T.filter(t,e):e,r=0;null!=(i=o[r]);r++)n||1!==i.nodeType||T.cleanData(ke(i)),i.parentNode&&(n&&ge(i)&&Me(ke(i,"script")),i.parentNode.removeChild(i));return e}T.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var i,o,r,a,s=e.cloneNode(!0),l=ge(e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||T.isXMLDoc(e)))for(a=ke(s),i=0,o=(r=ke(e)).length;i<o;i++)Ye(r[i],a[i]);if(t)if(n)for(r=r||ke(e),a=a||ke(s),i=0,o=r.length;i<o;i++)We(r[i],a[i]);else We(e,s);return(a=ke(s,"script")).length>0&&Me(a,!l&&ke(e,"script")),s},cleanData:function(e){for(var t,n,i,o=T.event.special,r=0;void 0!==(n=e[r]);r++)if(re(n)){if(t=n[se.expando]){if(t.events)for(i in t.events)o[i]?T.event.remove(n,i):T.removeEvent(n,i,t.handle);n[se.expando]=void 0}n[le.expando]&&(n[le.expando]=void 0)}}}),T.fn.extend({detach:function(e){return Xe(this,e,!0)},remove:function(e){return Xe(this,e)},text:function(e){return ee(this,(function(e){return void 0===e?T.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Ve(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||ze(this,e).appendChild(e)}))},prepend:function(){return Ve(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=ze(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Ve(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Ve(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(T.cleanData(ke(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return T.clone(this,e,t)}))},html:function(e){return ee(this,(function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!je.test(e)&&!Ae[(Pe.exec(e)||["",""])[1].toLowerCase()]){e=T.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(T.cleanData(ke(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Ve(this,arguments,(function(t){var n=this.parentNode;T.inArray(this,e)<0&&(T.cleanData(ke(this)),n&&n.replaceChild(t,this))}),e)}}),T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){T.fn[e]=function(e){for(var n,i=[],o=T(e),r=o.length-1,a=0;a<=r;a++)n=a===r?this:this.clone(!0),T(o[a])[t](n),c.apply(i,n.get());return this.pushStack(i)}}));var Ue=new RegExp("^("+fe+")(?!px)[a-z%]+$","i"),Ge=/^--/,Ke=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=i),t.getComputedStyle(e)},Je=function(e,t,n){var i,o,r={};for(o in t)r[o]=e.style[o],e.style[o]=t[o];for(o in i=n.call(e),t)e.style[o]=r[o];return i},Ze=new RegExp(pe.join("|"),"i");function Qe(e,t,n){var i,o,r,a,s=Ge.test(t),l=e.style;return(n=n||Ke(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(I,"$1")||void 0),""!==a||ge(e)||(a=T.style(e,t)),!g.pixelBoxStyles()&&Ue.test(a)&&Ze.test(t)&&(i=l.width,o=l.minWidth,r=l.maxWidth,l.minWidth=l.maxWidth=l.width=a,a=n.width,l.width=i,l.minWidth=o,l.maxWidth=r)),void 0!==a?a+"":a}function et(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",me.appendChild(c).appendChild(u);var e=i.getComputedStyle(u);n="1%"!==e.top,l=12===t(e.marginLeft),u.style.right="60%",a=36===t(e.right),o=36===t(e.width),u.style.position="absolute",r=12===t(u.offsetWidth/3),me.removeChild(c),u=null}}function t(e){return Math.round(parseFloat(e))}var n,o,r,a,s,l,c=y.createElement("div"),u=y.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===u.style.backgroundClip,T.extend(g,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),r},reliableTrDimensions:function(){var e,t,n,o;return null==s&&(e=y.createElement("table"),t=y.createElement("tr"),n=y.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",me.appendChild(e).appendChild(t).appendChild(n),o=i.getComputedStyle(t),s=parseInt(o.height,10)+parseInt(o.borderTopWidth,10)+parseInt(o.borderBottomWidth,10)===t.offsetHeight,me.removeChild(e)),s}}))}();var tt=["Webkit","Moz","ms"],nt=y.createElement("div").style,it={};function ot(e){var t=T.cssProps[e]||it[e];return t||(e in nt?e:it[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=tt.length;n--;)if((e=tt[n]+t)in nt)return e}(e)||e)}var rt=/^(none|table(?!-c[ea]).+)/,at={position:"absolute",visibility:"hidden",display:"block"},st={letterSpacing:"0",fontWeight:"400"};function lt(e,t,n){var i=he.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function ct(e,t,n,i,o,r){var a="width"===t?1:0,s=0,l=0,c=0;if(n===(i?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(c+=T.css(e,n+pe[a],!0,o)),i?("content"===n&&(l-=T.css(e,"padding"+pe[a],!0,o)),"margin"!==n&&(l-=T.css(e,"border"+pe[a]+"Width",!0,o))):(l+=T.css(e,"padding"+pe[a],!0,o),"padding"!==n?l+=T.css(e,"border"+pe[a]+"Width",!0,o):s+=T.css(e,"border"+pe[a]+"Width",!0,o));return!i&&r>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-r-l-s-.5))||0),l+c}function ut(e,t,n){var i=Ke(e),o=(!g.boxSizingReliable()||n)&&"border-box"===T.css(e,"boxSizing",!1,i),r=o,a=Qe(e,t,i),s="offset"+t[0].toUpperCase()+t.slice(1);if(Ue.test(a)){if(!n)return a;a="auto"}return(!g.boxSizingReliable()&&o||!g.reliableTrDimensions()&&D(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===T.css(e,"display",!1,i))&&e.getClientRects().length&&(o="border-box"===T.css(e,"boxSizing",!1,i),(r=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+ct(e,t,n||(o?"border":"content"),r,i,a)+"px"}function dt(e,t,n,i,o){return new dt.prototype.init(e,t,n,i,o)}T.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Qe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,r,a,s=oe(t),l=Ge.test(t),c=e.style;if(l||(t=ot(s)),a=T.cssHooks[t]||T.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,i))?o:c[t];"string"===(r=typeof n)&&(o=he.exec(n))&&o[1]&&(n=ye(e,t,o),r="number"),null!=n&&n==n&&("number"!==r||l||(n+=o&&o[3]||(T.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,i))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,i){var o,r,a,s=oe(t);return Ge.test(t)||(t=ot(s)),(a=T.cssHooks[t]||T.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=Qe(e,t,i)),"normal"===o&&t in st&&(o=st[t]),""===n||n?(r=parseFloat(o),!0===n||isFinite(r)?r||0:o):o}}),T.each(["height","width"],(function(e,t){T.cssHooks[t]={get:function(e,n,i){if(n)return!rt.test(T.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ut(e,t,i):Je(e,at,(function(){return ut(e,t,i)}))},set:function(e,n,i){var o,r=Ke(e),a=!g.scrollboxSize()&&"absolute"===r.position,s=(a||i)&&"border-box"===T.css(e,"boxSizing",!1,r),l=i?ct(e,t,i,s,r):0;return s&&a&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(r[t])-ct(e,t,"border",!1,r)-.5)),l&&(o=he.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=T.css(e,t)),lt(0,n,l)}}})),T.cssHooks.marginLeft=et(g.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Qe(e,"marginLeft"))||e.getBoundingClientRect().left-Je(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),T.each({margin:"",padding:"",border:"Width"},(function(e,t){T.cssHooks[e+t]={expand:function(n){for(var i=0,o={},r="string"==typeof n?n.split(" "):[n];i<4;i++)o[e+pe[i]+t]=r[i]||r[i-2]||r[0];return o}},"margin"!==e&&(T.cssHooks[e+t].set=lt)})),T.fn.extend({css:function(e,t){return ee(this,(function(e,t,n){var i,o,r={},a=0;if(Array.isArray(t)){for(i=Ke(e),o=t.length;a<o;a++)r[t[a]]=T.css(e,t[a],!1,i);return r}return void 0!==n?T.style(e,t,n):T.css(e,t)}),e,t,arguments.length>1)}}),T.Tween=dt,dt.prototype={constructor:dt,init:function(e,t,n,i,o,r){this.elem=e,this.prop=n,this.easing=o||T.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=r||(T.cssNumber[n]?"":"px")},cur:function(){var e=dt.propHooks[this.prop];return e&&e.get?e.get(this):dt.propHooks._default.get(this)},run:function(e){var t,n=dt.propHooks[this.prop];return this.options.duration?this.pos=t=T.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):dt.propHooks._default.set(this),this}},dt.prototype.init.prototype=dt.prototype,dt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=T.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){T.fx.step[e.prop]?T.fx.step[e.prop](e):1!==e.elem.nodeType||!T.cssHooks[e.prop]&&null==e.elem.style[ot(e.prop)]?e.elem[e.prop]=e.now:T.style(e.elem,e.prop,e.now+e.unit)}}},dt.propHooks.scrollTop=dt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},T.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},T.fx=dt.prototype.init,T.fx.step={};var ft,ht,pt=/^(?:toggle|show|hide)$/,mt=/queueHooks$/;function gt(){ht&&(!1===y.hidden&&i.requestAnimationFrame?i.requestAnimationFrame(gt):i.setTimeout(gt,T.fx.interval),T.fx.tick())}function vt(){return i.setTimeout((function(){ft=void 0})),ft=Date.now()}function bt(e,t){var n,i=0,o={height:e};for(t=t?1:0;i<4;i+=2-t)o["margin"+(n=pe[i])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function yt(e,t,n){for(var i,o=(wt.tweeners[t]||[]).concat(wt.tweeners["*"]),r=0,a=o.length;r<a;r++)if(i=o[r].call(n,t,e))return i}function wt(e,t,n){var i,o,r=0,a=wt.prefilters.length,s=T.Deferred().always((function(){delete l.elem})),l=function(){if(o)return!1;for(var t=ft||vt(),n=Math.max(0,c.startTime+c.duration-t),i=1-(n/c.duration||0),r=0,a=c.tweens.length;r<a;r++)c.tweens[r].run(i);return s.notifyWith(e,[c,i,n]),i<1&&a?n:(a||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:T.extend({},t),opts:T.extend(!0,{specialEasing:{},easing:T.easing._default},n),originalProperties:t,originalOptions:n,startTime:ft||vt(),duration:n.duration,tweens:[],createTween:function(t,n){var i=T.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(i),i},stop:function(t){var n=0,i=t?c.tweens.length:0;if(o)return this;for(o=!0;n<i;n++)c.tweens[n].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),u=c.props;for(!function(e,t){var n,i,o,r,a;for(n in e)if(o=t[i=oe(n)],r=e[n],Array.isArray(r)&&(o=r[1],r=e[n]=r[0]),n!==i&&(e[i]=r,delete e[n]),(a=T.cssHooks[i])&&"expand"in a)for(n in r=a.expand(r),delete e[i],r)n in e||(e[n]=r[n],t[n]=o);else t[i]=o}(u,c.opts.specialEasing);r<a;r++)if(i=wt.prefilters[r].call(c,e,u,c.opts))return v(i.stop)&&(T._queueHooks(c.elem,c.opts.queue).stop=i.stop.bind(i)),i;return T.map(u,yt,c),v(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),T.fx.timer(T.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}T.Animation=T.extend(wt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ye(n.elem,e,he.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(X);for(var n,i=0,o=e.length;i<o;i++)n=e[i],wt.tweeners[n]=wt.tweeners[n]||[],wt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var i,o,r,a,s,l,c,u,d="width"in t||"height"in t,f=this,h={},p=e.style,m=e.nodeType&&be(e),g=se.get(e,"fxshow");for(i in n.queue||(null==(a=T._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,f.always((function(){f.always((function(){a.unqueued--,T.queue(e,"fx").length||a.empty.fire()}))}))),t)if(o=t[i],pt.test(o)){if(delete t[i],r=r||"toggle"===o,o===(m?"hide":"show")){if("show"!==o||!g||void 0===g[i])continue;m=!0}h[i]=g&&g[i]||T.style(e,i)}if((l=!T.isEmptyObject(t))||!T.isEmptyObject(h))for(i in d&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(c=g&&g.display)&&(c=se.get(e,"display")),"none"===(u=T.css(e,"display"))&&(c?u=c:(_e([e],!0),c=e.style.display||c,u=T.css(e,"display"),_e([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===T.css(e,"float")&&(l||(f.done((function(){p.display=c})),null==c&&(u=p.display,c="none"===u?"":u)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",f.always((function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}))),l=!1,h)l||(g?"hidden"in g&&(m=g.hidden):g=se.access(e,"fxshow",{display:c}),r&&(g.hidden=!m),m&&_e([e],!0),f.done((function(){for(i in m||_e([e]),se.remove(e,"fxshow"),h)T.style(e,i,h[i])}))),l=yt(m?g[i]:0,i,f),i in g||(g[i]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?wt.prefilters.unshift(e):wt.prefilters.push(e)}}),T.speed=function(e,t,n){var i=e&&"object"==typeof e?T.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return T.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in T.fx.speeds?i.duration=T.fx.speeds[i.duration]:i.duration=T.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){v(i.old)&&i.old.call(this),i.queue&&T.dequeue(this,i.queue)},i},T.fn.extend({fadeTo:function(e,t,n,i){return this.filter(be).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var o=T.isEmptyObject(e),r=T.speed(t,n,i),a=function(){var t=wt(this,T.extend({},e),r);(o||se.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||!1===r.queue?this.each(a):this.queue(r.queue,a)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,o=null!=e&&e+"queueHooks",r=T.timers,a=se.get(this);if(o)a[o]&&a[o].stop&&i(a[o]);else for(o in a)a[o]&&a[o].stop&&mt.test(o)&&i(a[o]);for(o=r.length;o--;)r[o].elem!==this||null!=e&&r[o].queue!==e||(r[o].anim.stop(n),t=!1,r.splice(o,1));!t&&n||T.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=se.get(this),i=n[e+"queue"],o=n[e+"queueHooks"],r=T.timers,a=i?i.length:0;for(n.finish=!0,T.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=r.length;t--;)r[t].elem===this&&r[t].queue===e&&(r[t].anim.stop(!0),r.splice(t,1));for(t=0;t<a;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish}))}}),T.each(["toggle","show","hide"],(function(e,t){var n=T.fn[t];T.fn[t]=function(e,i,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(bt(t,!0),e,i,o)}})),T.each({slideDown:bt("show"),slideUp:bt("hide"),slideToggle:bt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){T.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}})),T.timers=[],T.fx.tick=function(){var e,t=0,n=T.timers;for(ft=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||T.fx.stop(),ft=void 0},T.fx.timer=function(e){T.timers.push(e),T.fx.start()},T.fx.interval=13,T.fx.start=function(){ht||(ht=!0,gt())},T.fx.stop=function(){ht=null},T.fx.speeds={slow:600,fast:200,_default:400},T.fn.delay=function(e,t){return e=T.fx&&T.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var o=i.setTimeout(t,e);n.stop=function(){i.clearTimeout(o)}}))},function(){var e=y.createElement("input"),t=y.createElement("select").appendChild(y.createElement("option"));e.type="checkbox",g.checkOn=""!==e.value,g.optSelected=t.selected,(e=y.createElement("input")).value="t",e.type="radio",g.radioValue="t"===e.value}();var xt,_t=T.expr.attrHandle;T.fn.extend({attr:function(e,t){return ee(this,T.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){T.removeAttr(this,e)}))}}),T.extend({attr:function(e,t,n){var i,o,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===e.getAttribute?T.prop(e,t,n):(1===r&&T.isXMLDoc(e)||(o=T.attrHooks[t.toLowerCase()]||(T.expr.match.bool.test(t)?xt:void 0)),void 0!==n?null===n?void T.removeAttr(e,t):o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(i=o.get(e,t))?i:null==(i=T.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&D(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,o=t&&t.match(X);if(o&&1===e.nodeType)for(;n=o[i++];)e.removeAttribute(n)}}),xt={set:function(e,t,n){return!1===t?T.removeAttr(e,n):e.setAttribute(n,n),n}},T.each(T.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=_t[t]||T.find.attr;_t[t]=function(e,t,i){var o,r,a=t.toLowerCase();return i||(r=_t[a],_t[a]=o,o=null!=n(e,t,i)?a:null,_t[a]=r),o}}));var St=/^(?:input|select|textarea|button)$/i,Ct=/^(?:a|area)$/i;function Tt(e){return(e.match(X)||[]).join(" ")}function Pt(e){return e.getAttribute&&e.getAttribute("class")||""}function Dt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(X)||[]}T.fn.extend({prop:function(e,t){return ee(this,T.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[T.propFix[e]||e]}))}}),T.extend({prop:function(e,t,n){var i,o,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&T.isXMLDoc(e)||(t=T.propFix[t]||t,o=T.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:e[t]=n:o&&"get"in o&&null!==(i=o.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=T.find.attr(e,"tabindex");return t?parseInt(t,10):St.test(e.nodeName)||Ct.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(T.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),T.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){T.propFix[this.toLowerCase()]=this})),T.fn.extend({addClass:function(e){var t,n,i,o,r,a;return v(e)?this.each((function(t){T(this).addClass(e.call(this,t,Pt(this)))})):(t=Dt(e)).length?this.each((function(){if(i=Pt(this),n=1===this.nodeType&&" "+Tt(i)+" "){for(r=0;r<t.length;r++)o=t[r],n.indexOf(" "+o+" ")<0&&(n+=o+" ");a=Tt(n),i!==a&&this.setAttribute("class",a)}})):this},removeClass:function(e){var t,n,i,o,r,a;return v(e)?this.each((function(t){T(this).removeClass(e.call(this,t,Pt(this)))})):arguments.length?(t=Dt(e)).length?this.each((function(){if(i=Pt(this),n=1===this.nodeType&&" "+Tt(i)+" "){for(r=0;r<t.length;r++)for(o=t[r];n.indexOf(" "+o+" ")>-1;)n=n.replace(" "+o+" "," ");a=Tt(n),i!==a&&this.setAttribute("class",a)}})):this:this.attr("class","")},toggleClass:function(e,t){var n,i,o,r,a=typeof e,s="string"===a||Array.isArray(e);return v(e)?this.each((function(n){T(this).toggleClass(e.call(this,n,Pt(this),t),t)})):"boolean"==typeof t&&s?t?this.addClass(e):this.removeClass(e):(n=Dt(e),this.each((function(){if(s)for(r=T(this),o=0;o<n.length;o++)i=n[o],r.hasClass(i)?r.removeClass(i):r.addClass(i);else void 0!==e&&"boolean"!==a||((i=Pt(this))&&se.set(this,"__className__",i),this.setAttribute&&this.setAttribute("class",i||!1===e?"":se.get(this,"__className__")||""))})))},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+Tt(Pt(n))+" ").indexOf(t)>-1)return!0;return!1}});var At=/\r/g;T.fn.extend({val:function(e){var t,n,i,o=this[0];return arguments.length?(i=v(e),this.each((function(n){var o;1===this.nodeType&&(null==(o=i?e.call(this,n,T(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=T.map(o,(function(e){return null==e?"":e+""}))),(t=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))}))):o?(t=T.valHooks[o.type]||T.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(At,""):null==n?"":n:void 0}}),T.extend({valHooks:{option:{get:function(e){var t=T.find.attr(e,"value");return null!=t?t:Tt(T.text(e))}},select:{get:function(e){var t,n,i,o=e.options,r=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?r+1:o.length;for(i=r<0?l:a?r:0;i<l;i++)if(((n=o[i]).selected||i===r)&&!n.disabled&&(!n.parentNode.disabled||!D(n.parentNode,"optgroup"))){if(t=T(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,i,o=e.options,r=T.makeArray(t),a=o.length;a--;)((i=o[a]).selected=T.inArray(T.valHooks.option.get(i),r)>-1)&&(n=!0);return n||(e.selectedIndex=-1),r}}}}),T.each(["radio","checkbox"],(function(){T.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=T.inArray(T(e).val(),t)>-1}},g.checkOn||(T.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var kt=i.location,Mt={guid:Date.now()},Et=/\?/;T.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new i.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||T.error("Invalid XML: "+(n?T.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var It=/^(?:focusinfocus|focusoutblur)$/,Nt=function(e){e.stopPropagation()};T.extend(T.event,{trigger:function(e,t,n,o){var r,a,s,l,c,u,d,f,p=[n||y],m=h.call(e,"type")?e.type:e,g=h.call(e,"namespace")?e.namespace.split("."):[];if(a=f=s=n=n||y,3!==n.nodeType&&8!==n.nodeType&&!It.test(m+T.event.triggered)&&(m.indexOf(".")>-1&&(g=m.split("."),m=g.shift(),g.sort()),c=m.indexOf(":")<0&&"on"+m,(e=e[T.expando]?e:new T.Event(m,"object"==typeof e&&e)).isTrigger=o?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:T.makeArray(t,[e]),d=T.event.special[m]||{},o||!d.trigger||!1!==d.trigger.apply(n,t))){if(!o&&!d.noBubble&&!b(n)){for(l=d.delegateType||m,It.test(l+m)||(a=a.parentNode);a;a=a.parentNode)p.push(a),s=a;s===(n.ownerDocument||y)&&p.push(s.defaultView||s.parentWindow||i)}for(r=0;(a=p[r++])&&!e.isPropagationStopped();)f=a,e.type=r>1?l:d.bindType||m,(u=(se.get(a,"events")||Object.create(null))[e.type]&&se.get(a,"handle"))&&u.apply(a,t),(u=c&&a[c])&&u.apply&&re(a)&&(e.result=u.apply(a,t),!1===e.result&&e.preventDefault());return e.type=m,o||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(p.pop(),t)||!re(n)||c&&v(n[m])&&!b(n)&&((s=n[c])&&(n[c]=null),T.event.triggered=m,e.isPropagationStopped()&&f.addEventListener(m,Nt),n[m](),e.isPropagationStopped()&&f.removeEventListener(m,Nt),T.event.triggered=void 0,s&&(n[c]=s)),e.result}},simulate:function(e,t,n){var i=T.extend(new T.Event,n,{type:e,isSimulated:!0});T.event.trigger(i,null,t)}}),T.fn.extend({trigger:function(e,t){return this.each((function(){T.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return T.event.trigger(e,t,n,!0)}});var Lt=/\[\]$/,Ot=/\r?\n/g,Ht=/^(?:submit|button|image|reset|file)$/i,Ft=/^(?:input|select|textarea|keygen)/i;function jt(e,t,n,i){var o;if(Array.isArray(t))T.each(t,(function(t,o){n||Lt.test(e)?i(e,o):jt(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,i)}));else if(n||"object"!==_(t))i(e,t);else for(o in t)jt(e+"["+o+"]",t[o],n,i)}T.param=function(e,t){var n,i=[],o=function(e,t){var n=v(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!T.isPlainObject(e))T.each(e,(function(){o(this.name,this.value)}));else for(n in e)jt(n,e[n],t,o);return i.join("&")},T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=T.prop(this,"elements");return e?T.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!T(this).is(":disabled")&&Ft.test(this.nodeName)&&!Ht.test(e)&&(this.checked||!Te.test(e))})).map((function(e,t){var n=T(this).val();return null==n?null:Array.isArray(n)?T.map(n,(function(e){return{name:t.name,value:e.replace(Ot,"\r\n")}})):{name:t.name,value:n.replace(Ot,"\r\n")}})).get()}});var $t=/%20/g,Rt=/#.*$/,zt=/([?&])_=[^&]*/,Bt=/^(.*?):[ \t]*([^\r\n]*)$/gm,qt=/^(?:GET|HEAD)$/,Wt=/^\/\//,Yt={},Vt={},Xt="*/".concat("*"),Ut=y.createElement("a");function Gt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,o=0,r=t.toLowerCase().match(X)||[];if(v(n))for(;i=r[o++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function Kt(e,t,n,i){var o={},r=e===Vt;function a(s){var l;return o[s]=!0,T.each(e[s]||[],(function(e,s){var c=s(t,n,i);return"string"!=typeof c||r||o[c]?r?!(l=c):void 0:(t.dataTypes.unshift(c),a(c),!1)})),l}return a(t.dataTypes[0])||!o["*"]&&a("*")}function Jt(e,t){var n,i,o=T.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:i||(i={}))[n]=t[n]);return i&&T.extend(!0,e,i),e}Ut.href=kt.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:kt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(kt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Xt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":T.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Jt(Jt(e,T.ajaxSettings),t):Jt(T.ajaxSettings,e)},ajaxPrefilter:Gt(Yt),ajaxTransport:Gt(Vt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,o,r,a,s,l,c,u,d,f,h=T.ajaxSetup({},t),p=h.context||h,m=h.context&&(p.nodeType||p.jquery)?T(p):T.event,g=T.Deferred(),v=T.Callbacks("once memory"),b=h.statusCode||{},w={},x={},_="canceled",S={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=Bt.exec(r);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?r:null},setRequestHeader:function(e,t){return null==c&&(e=x[e.toLowerCase()]=x[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==c&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)S.always(e[S.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||_;return n&&n.abort(t),C(0,t),this}};if(g.promise(S),h.url=((e||h.url||kt.href)+"").replace(Wt,kt.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(X)||[""],null==h.crossDomain){l=y.createElement("a");try{l.href=h.url,l.href=l.href,h.crossDomain=Ut.protocol+"//"+Ut.host!=l.protocol+"//"+l.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=T.param(h.data,h.traditional)),Kt(Yt,h,t,S),c)return S;for(d in(u=T.event&&h.global)&&0==T.active++&&T.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!qt.test(h.type),o=h.url.replace(Rt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace($t,"+")):(f=h.url.slice(o.length),h.data&&(h.processData||"string"==typeof h.data)&&(o+=(Et.test(o)?"&":"?")+h.data,delete h.data),!1===h.cache&&(o=o.replace(zt,"$1"),f=(Et.test(o)?"&":"?")+"_="+Mt.guid+++f),h.url=o+f),h.ifModified&&(T.lastModified[o]&&S.setRequestHeader("If-Modified-Since",T.lastModified[o]),T.etag[o]&&S.setRequestHeader("If-None-Match",T.etag[o])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&S.setRequestHeader("Content-Type",h.contentType),S.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Xt+"; q=0.01":""):h.accepts["*"]),h.headers)S.setRequestHeader(d,h.headers[d]);if(h.beforeSend&&(!1===h.beforeSend.call(p,S,h)||c))return S.abort();if(_="abort",v.add(h.complete),S.done(h.success),S.fail(h.error),n=Kt(Vt,h,t,S)){if(S.readyState=1,u&&m.trigger("ajaxSend",[S,h]),c)return S;h.async&&h.timeout>0&&(s=i.setTimeout((function(){S.abort("timeout")}),h.timeout));try{c=!1,n.send(w,C)}catch(e){if(c)throw e;C(-1,e)}}else C(-1,"No Transport");function C(e,t,a,l){var d,f,y,w,x,_=t;c||(c=!0,s&&i.clearTimeout(s),n=void 0,r=l||"",S.readyState=e>0?4:0,d=e>=200&&e<300||304===e,a&&(w=function(e,t,n){for(var i,o,r,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(o in s)if(s[o]&&s[o].test(i)){l.unshift(o);break}if(l[0]in n)r=l[0];else{for(o in n){if(!l[0]||e.converters[o+" "+l[0]]){r=o;break}a||(a=o)}r=r||a}if(r)return r!==l[0]&&l.unshift(r),n[r]}(h,S,a)),!d&&T.inArray("script",h.dataTypes)>-1&&T.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),w=function(e,t,n,i){var o,r,a,s,l,c={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(r=u.shift();r;)if(e.responseFields[r]&&(n[e.responseFields[r]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=r,r=u.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(a=c[l+" "+r]||c["* "+r]))for(o in c)if((s=o.split(" "))[1]===r&&(a=c[l+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[o]:!0!==c[o]&&(r=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+r}}}return{state:"success",data:t}}(h,w,S,d),d?(h.ifModified&&((x=S.getResponseHeader("Last-Modified"))&&(T.lastModified[o]=x),(x=S.getResponseHeader("etag"))&&(T.etag[o]=x)),204===e||"HEAD"===h.type?_="nocontent":304===e?_="notmodified":(_=w.state,f=w.data,d=!(y=w.error))):(y=_,!e&&_||(_="error",e<0&&(e=0))),S.status=e,S.statusText=(t||_)+"",d?g.resolveWith(p,[f,_,S]):g.rejectWith(p,[S,_,y]),S.statusCode(b),b=void 0,u&&m.trigger(d?"ajaxSuccess":"ajaxError",[S,h,d?f:y]),v.fireWith(p,[S,_]),u&&(m.trigger("ajaxComplete",[S,h]),--T.active||T.event.trigger("ajaxStop")))}return S},getJSON:function(e,t,n){return T.get(e,t,n,"json")},getScript:function(e,t){return T.get(e,void 0,t,"script")}}),T.each(["get","post"],(function(e,t){T[t]=function(e,n,i,o){return v(n)&&(o=o||i,i=n,n=void 0),T.ajax(T.extend({url:e,type:t,dataType:o,data:n,success:i},T.isPlainObject(e)&&e))}})),T.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),T._evalUrl=function(e,t,n){return T.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){T.globalEval(e,t,n)}})},T.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=T(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return v(e)?this.each((function(t){T(this).wrapInner(e.call(this,t))})):this.each((function(){var t=T(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=v(e);return this.each((function(n){T(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){T(this).replaceWith(this.childNodes)})),this}}),T.expr.pseudos.hidden=function(e){return!T.expr.pseudos.visible(e)},T.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},T.ajaxSettings.xhr=function(){try{return new i.XMLHttpRequest}catch(e){}};var Zt={0:200,1223:204},Qt=T.ajaxSettings.xhr();g.cors=!!Qt&&"withCredentials"in Qt,g.ajax=Qt=!!Qt,T.ajaxTransport((function(e){var t,n;if(g.cors||Qt&&!e.crossDomain)return{send:function(o,r){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(a,o[a]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?r(0,"error"):r(s.status,s.statusText):r(Zt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&i.setTimeout((function(){t&&n()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),T.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),T.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return T.globalEval(e),e}}}),T.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),T.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(i,o){t=T("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),y.head.appendChild(t[0])},abort:function(){n&&n()}}}));var en,tn=[],nn=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=tn.pop()||T.expando+"_"+Mt.guid++;return this[e]=!0,e}}),T.ajaxPrefilter("json jsonp",(function(e,t,n){var o,r,a,s=!1!==e.jsonp&&(nn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&nn.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(nn,"$1"+o):!1!==e.jsonp&&(e.url+=(Et.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||T.error(o+" was not called"),a[0]},e.dataTypes[0]="json",r=i[o],i[o]=function(){a=arguments},n.always((function(){void 0===r?T(i).removeProp(o):i[o]=r,e[o]&&(e.jsonpCallback=t.jsonpCallback,tn.push(o)),a&&v(r)&&r(a[0]),a=r=void 0})),"script"})),g.createHTMLDocument=((en=y.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===en.childNodes.length),T.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(g.createHTMLDocument?((i=(t=y.implementation.createHTMLDocument("")).createElement("base")).href=y.location.href,t.head.appendChild(i)):t=y),r=!n&&[],(o=R.exec(e))?[t.createElement(o[1])]:(o=Ie([e],t,r),r&&r.length&&T(r).remove(),T.merge([],o.childNodes)));var i,o,r},T.fn.load=function(e,t,n){var i,o,r,a=this,s=e.indexOf(" ");return s>-1&&(i=Tt(e.slice(s)),e=e.slice(0,s)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&T.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done((function(e){r=arguments,a.html(i?T("<div>").append(T.parseHTML(e)).find(i):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,r||[e.responseText,t,e])}))}),this},T.expr.pseudos.animated=function(e){return T.grep(T.timers,(function(t){return e===t.elem})).length},T.offset={setOffset:function(e,t,n){var i,o,r,a,s,l,c=T.css(e,"position"),u=T(e),d={};"static"===c&&(e.style.position="relative"),s=u.offset(),r=T.css(e,"top"),l=T.css(e,"left"),("absolute"===c||"fixed"===c)&&(r+l).indexOf("auto")>-1?(a=(i=u.position()).top,o=i.left):(a=parseFloat(r)||0,o=parseFloat(l)||0),v(t)&&(t=t.call(e,n,T.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+o),"using"in t?t.using.call(e,d):u.css(d)}},T.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){T.offset.setOffset(this,e,t)}));var t,n,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],o={top:0,left:0};if("fixed"===T.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===T.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((o=T(e).offset()).top+=T.css(e,"borderTopWidth",!0),o.left+=T.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-T.css(i,"marginTop",!0),left:t.left-o.left-T.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===T.css(e,"position");)e=e.offsetParent;return e||me}))}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;T.fn[e]=function(i){return ee(this,(function(e,i,o){var r;if(b(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===o)return r?r[t]:e[i];r?r.scrollTo(n?r.pageXOffset:o,n?o:r.pageYOffset):e[i]=o}),e,i,arguments.length)}})),T.each(["top","left"],(function(e,t){T.cssHooks[t]=et(g.pixelPosition,(function(e,n){if(n)return n=Qe(e,t),Ue.test(n)?T(e).position()[t]+"px":n}))})),T.each({Height:"height",Width:"width"},(function(e,t){T.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,i){T.fn[i]=function(o,r){var a=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===r?"margin":"border");return ee(this,(function(t,n,o){var r;return b(t)?0===i.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(r=t.documentElement,Math.max(t.body["scroll"+e],r["scroll"+e],t.body["offset"+e],r["offset"+e],r["client"+e])):void 0===o?T.css(t,n,s):T.style(t,n,o,s)}),t,a?o:void 0,a)}}))})),T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){T.fn[t]=function(e){return this.on(t,e)}})),T.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),T.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){T.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var on=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;T.proxy=function(e,t){var n,i,o;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return i=s.call(arguments,2),o=function(){return e.apply(t||this,i.concat(s.call(arguments)))},o.guid=e.guid=e.guid||T.guid++,o},T.holdReady=function(e){e?T.readyWait++:T.ready(!0)},T.isArray=Array.isArray,T.parseJSON=JSON.parse,T.nodeName=D,T.isFunction=v,T.isWindow=b,T.camelCase=oe,T.type=_,T.now=Date.now,T.isNumeric=function(e){var t=T.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},T.trim=function(e){return null==e?"":(e+"").replace(on,"$1")},void 0===(n=function(){return T}.apply(t,[]))||(e.exports=n);var rn=i.jQuery,an=i.$;return T.noConflict=function(e){return i.$===T&&(i.$=an),e&&i.jQuery===T&&(i.jQuery=rn),T},void 0===o&&(i.jQuery=i.$=T),T}))},2151:function(e,t,n){"use strict";n(3792),n(6099),n(7764),n(2259);var i=n(1951);e.exports=i.f("iterator")},9306:function(e,t,n){"use strict";var i=n(4901),o=n(6823),r=TypeError;e.exports=function(e){if(i(e))return e;throw new r(o(e)+" is not a function")}},3506:function(e,t,n){"use strict";var i=n(3925),o=String,r=TypeError;e.exports=function(e){if(i(e))return e;throw new r("Can't set "+o(e)+" as a prototype")}},6469:function(e,t,n){"use strict";var i=n(8227),o=n(2360),r=n(4913).f,a=i("unscopables"),s=Array.prototype;void 0===s[a]&&r(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},8551:function(e,t,n){"use strict";var i=n(34),o=String,r=TypeError;e.exports=function(e){if(i(e))return e;throw new r(o(e)+" is not an object")}},9617:function(e,t,n){"use strict";var i=n(5397),o=n(5610),r=n(6198),a=function(e){return function(t,n,a){var s=i(t),l=r(s);if(0===l)return!e&&-1;var c,u=o(a,l);if(e&&n!=n){for(;l>u;)if((c=s[u++])!=c)return!0}else for(;l>u;u++)if((e||u in s)&&s[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},4576:function(e,t,n){"use strict";var i=n(9504),o=i({}.toString),r=i("".slice);e.exports=function(e){return r(o(e),8,-1)}},6955:function(e,t,n){"use strict";var i=n(2140),o=n(4901),r=n(4576),a=n(8227)("toStringTag"),s=Object,l="Arguments"===r(function(){return arguments}());e.exports=i?r:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=s(e),a))?n:l?r(t):"Object"===(i=r(t))&&o(t.callee)?"Arguments":i}},7740:function(e,t,n){"use strict";var i=n(9297),o=n(5031),r=n(7347),a=n(4913);e.exports=function(e,t,n){for(var s=o(t),l=a.f,c=r.f,u=0;u<s.length;u++){var d=s[u];i(e,d)||n&&i(n,d)||l(e,d,c(t,d))}}},2211:function(e,t,n){"use strict";var i=n(9039);e.exports=!i((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},2529:function(e){"use strict";e.exports=function(e,t){return{value:e,done:t}}},6699:function(e,t,n){"use strict";var i=n(3724),o=n(4913),r=n(6980);e.exports=i?function(e,t,n){return o.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},6980:function(e){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},6840:function(e,t,n){"use strict";var i=n(4901),o=n(4913),r=n(283),a=n(9433);e.exports=function(e,t,n,s){s||(s={});var l=s.enumerable,c=void 0!==s.name?s.name:t;if(i(n)&&r(n,c,s),s.global)l?e[t]=n:a(t,n);else{try{s.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=n:o.f(e,t,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},9433:function(e,t,n){"use strict";var i=n(2195),o=Object.defineProperty;e.exports=function(e,t){try{o(i,e,{value:t,configurable:!0,writable:!0})}catch(n){i[e]=t}return t}},3724:function(e,t,n){"use strict";var i=n(9039);e.exports=!i((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4055:function(e,t,n){"use strict";var i=n(2195),o=n(34),r=i.document,a=o(r)&&o(r.createElement);e.exports=function(e){return a?r.createElement(e):{}}},7400:function(e){"use strict";e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},9296:function(e,t,n){"use strict";var i=n(4055)("span").classList,o=i&&i.constructor&&i.constructor.prototype;e.exports=o===Object.prototype?void 0:o},8727:function(e){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2839:function(e,t,n){"use strict";var i=n(2195).navigator,o=i&&i.userAgent;e.exports=o?String(o):""},9519:function(e,t,n){"use strict";var i,o,r=n(2195),a=n(2839),s=r.process,l=r.Deno,c=s&&s.versions||l&&l.version,u=c&&c.v8;u&&(o=(i=u.split("."))[0]>0&&i[0]<4?1:+(i[0]+i[1])),!o&&a&&(!(i=a.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=a.match(/Chrome\/(\d+)/))&&(o=+i[1]),e.exports=o},6518:function(e,t,n){"use strict";var i=n(2195),o=n(7347).f,r=n(6699),a=n(6840),s=n(9433),l=n(7740),c=n(2796);e.exports=function(e,t){var n,u,d,f,h,p=e.target,m=e.global,g=e.stat;if(n=m?i:g?i[p]||s(p,{}):i[p]&&i[p].prototype)for(u in t){if(f=t[u],d=e.dontCallGetSet?(h=o(n,u))&&h.value:n[u],!c(m?u:p+(g?".":"#")+u,e.forced)&&void 0!==d){if(typeof f==typeof d)continue;l(f,d)}(e.sham||d&&d.sham)&&r(f,"sham",!0),a(n,u,f,e)}}},9039:function(e){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},616:function(e,t,n){"use strict";var i=n(9039);e.exports=!i((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},9565:function(e,t,n){"use strict";var i=n(616),o=Function.prototype.call;e.exports=i?o.bind(o):function(){return o.apply(o,arguments)}},350:function(e,t,n){"use strict";var i=n(3724),o=n(9297),r=Function.prototype,a=i&&Object.getOwnPropertyDescriptor,s=o(r,"name"),l=s&&"something"===function(){}.name,c=s&&(!i||i&&a(r,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:c}},6706:function(e,t,n){"use strict";var i=n(9504),o=n(9306);e.exports=function(e,t,n){try{return i(o(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},9504:function(e,t,n){"use strict";var i=n(616),o=Function.prototype,r=o.call,a=i&&o.bind.bind(r,r);e.exports=i?a:function(e){return function(){return r.apply(e,arguments)}}},7751:function(e,t,n){"use strict";var i=n(2195),o=n(4901);e.exports=function(e,t){return arguments.length<2?(n=i[e],o(n)?n:void 0):i[e]&&i[e][t];var n}},5966:function(e,t,n){"use strict";var i=n(9306),o=n(4117);e.exports=function(e,t){var n=e[t];return o(n)?void 0:i(n)}},2195:function(e,t,n){"use strict";var i=function(e){return e&&e.Math===Math&&e};e.exports=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof n.g&&n.g)||i("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:function(e,t,n){"use strict";var i=n(9504),o=n(8981),r=i({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return r(o(e),t)}},421:function(e){"use strict";e.exports={}},397:function(e,t,n){"use strict";var i=n(7751);e.exports=i("document","documentElement")},5917:function(e,t,n){"use strict";var i=n(3724),o=n(9039),r=n(4055);e.exports=!i&&!o((function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},7055:function(e,t,n){"use strict";var i=n(9504),o=n(9039),r=n(4576),a=Object,s=i("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===r(e)?s(e,""):a(e)}:a},3706:function(e,t,n){"use strict";var i=n(9504),o=n(4901),r=n(7629),a=i(Function.toString);o(r.inspectSource)||(r.inspectSource=function(e){return a(e)}),e.exports=r.inspectSource},1181:function(e,t,n){"use strict";var i,o,r,a=n(8622),s=n(2195),l=n(34),c=n(6699),u=n(9297),d=n(7629),f=n(6119),h=n(421),p="Object already initialized",m=s.TypeError,g=s.WeakMap;if(a||d.state){var v=d.state||(d.state=new g);v.get=v.get,v.has=v.has,v.set=v.set,i=function(e,t){if(v.has(e))throw new m(p);return t.facade=e,v.set(e,t),t},o=function(e){return v.get(e)||{}},r=function(e){return v.has(e)}}else{var b=f("state");h[b]=!0,i=function(e,t){if(u(e,b))throw new m(p);return t.facade=e,c(e,b,t),t},o=function(e){return u(e,b)?e[b]:{}},r=function(e){return u(e,b)}}e.exports={set:i,get:o,has:r,enforce:function(e){return r(e)?o(e):i(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw new m("Incompatible receiver, "+e+" required");return n}}}},4901:function(e){"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},2796:function(e,t,n){"use strict";var i=n(9039),o=n(4901),r=/#|\.prototype\./,a=function(e,t){var n=l[s(e)];return n===u||n!==c&&(o(t)?i(t):!!t)},s=a.normalize=function(e){return String(e).replace(r,".").toLowerCase()},l=a.data={},c=a.NATIVE="N",u=a.POLYFILL="P";e.exports=a},4117:function(e){"use strict";e.exports=function(e){return null==e}},34:function(e,t,n){"use strict";var i=n(4901);e.exports=function(e){return"object"==typeof e?null!==e:i(e)}},3925:function(e,t,n){"use strict";var i=n(34);e.exports=function(e){return i(e)||null===e}},6395:function(e){"use strict";e.exports=!1},757:function(e,t,n){"use strict";var i=n(7751),o=n(4901),r=n(1625),a=n(7040),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return o(t)&&r(t.prototype,s(e))}},3994:function(e,t,n){"use strict";var i=n(7657).IteratorPrototype,o=n(2360),r=n(6980),a=n(687),s=n(6269),l=function(){return this};e.exports=function(e,t,n,c){var u=t+" Iterator";return e.prototype=o(i,{next:r(+!c,n)}),a(e,u,!1,!0),s[u]=l,e}},1088:function(e,t,n){"use strict";var i=n(6518),o=n(9565),r=n(6395),a=n(350),s=n(4901),l=n(3994),c=n(2787),u=n(2967),d=n(687),f=n(6699),h=n(6840),p=n(8227),m=n(6269),g=n(7657),v=a.PROPER,b=a.CONFIGURABLE,y=g.IteratorPrototype,w=g.BUGGY_SAFARI_ITERATORS,x=p("iterator"),_="keys",S="values",C="entries",T=function(){return this};e.exports=function(e,t,n,a,p,g,P){l(n,t,a);var D,A,k,M=function(e){if(e===p&&O)return O;if(!w&&e&&e in N)return N[e];switch(e){case _:case S:case C:return function(){return new n(this,e)}}return function(){return new n(this)}},E=t+" Iterator",I=!1,N=e.prototype,L=N[x]||N["@@iterator"]||p&&N[p],O=!w&&L||M(p),H="Array"===t&&N.entries||L;if(H&&(D=c(H.call(new e)))!==Object.prototype&&D.next&&(r||c(D)===y||(u?u(D,y):s(D[x])||h(D,x,T)),d(D,E,!0,!0),r&&(m[E]=T)),v&&p===S&&L&&L.name!==S&&(!r&&b?f(N,"name",S):(I=!0,O=function(){return o(L,this)})),p)if(A={values:M(S),keys:g?O:M(_),entries:M(C)},P)for(k in A)(w||I||!(k in N))&&h(N,k,A[k]);else i({target:t,proto:!0,forced:w||I},A);return r&&!P||N[x]===O||h(N,x,O,{name:p}),m[t]=O,A}},7657:function(e,t,n){"use strict";var i,o,r,a=n(9039),s=n(4901),l=n(34),c=n(2360),u=n(2787),d=n(6840),f=n(8227),h=n(6395),p=f("iterator"),m=!1;[].keys&&("next"in(r=[].keys())?(o=u(u(r)))!==Object.prototype&&(i=o):m=!0),!l(i)||a((function(){var e={};return i[p].call(e)!==e}))?i={}:h&&(i=c(i)),s(i[p])||d(i,p,(function(){return this})),e.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:m}},6269:function(e){"use strict";e.exports={}},6198:function(e,t,n){"use strict";var i=n(8014);e.exports=function(e){return i(e.length)}},283:function(e,t,n){"use strict";var i=n(9504),o=n(9039),r=n(4901),a=n(9297),s=n(3724),l=n(350).CONFIGURABLE,c=n(3706),u=n(1181),d=u.enforce,f=u.get,h=String,p=Object.defineProperty,m=i("".slice),g=i("".replace),v=i([].join),b=s&&!o((function(){return 8!==p((function(){}),"length",{value:8}).length})),y=String(String).split("String"),w=e.exports=function(e,t,n){"Symbol("===m(h(t),0,7)&&(t="["+g(h(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!a(e,"name")||l&&e.name!==t)&&(s?p(e,"name",{value:t,configurable:!0}):e.name=t),b&&n&&a(n,"arity")&&e.length!==n.arity&&p(e,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?s&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var i=d(e);return a(i,"source")||(i.source=v(y,"string"==typeof t?t:"")),e};Function.prototype.toString=w((function(){return r(this)&&f(this).source||c(this)}),"toString")},741:function(e){"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var i=+e;return(i>0?n:t)(i)}},2360:function(e,t,n){"use strict";var i,o=n(8551),r=n(6801),a=n(8727),s=n(421),l=n(397),c=n(4055),u=n(6119),d="prototype",f="script",h=u("IE_PROTO"),p=function(){},m=function(e){return"<"+f+">"+e+"</"+f+">"},g=function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){try{i=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;v="undefined"!=typeof document?document.domain&&i?g(i):(t=c("iframe"),n="java"+f+":",t.style.display="none",l.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(m("document.F=Object")),e.close(),e.F):g(i);for(var o=a.length;o--;)delete v[d][a[o]];return v()};s[h]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(p[d]=o(e),n=new p,p[d]=null,n[h]=e):n=v(),void 0===t?n:r.f(n,t)}},6801:function(e,t,n){"use strict";var i=n(3724),o=n(8686),r=n(4913),a=n(8551),s=n(5397),l=n(1072);t.f=i&&!o?Object.defineProperties:function(e,t){a(e);for(var n,i=s(t),o=l(t),c=o.length,u=0;c>u;)r.f(e,n=o[u++],i[n]);return e}},4913:function(e,t,n){"use strict";var i=n(3724),o=n(5917),r=n(8686),a=n(8551),s=n(6969),l=TypeError,c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d="enumerable",f="configurable",h="writable";t.f=i?r?function(e,t,n){if(a(e),t=s(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&h in n&&!n[h]){var i=u(e,t);i&&i[h]&&(e[t]=n.value,n={configurable:f in n?n[f]:i[f],enumerable:d in n?n[d]:i[d],writable:!1})}return c(e,t,n)}:c:function(e,t,n){if(a(e),t=s(t),a(n),o)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},7347:function(e,t,n){"use strict";var i=n(3724),o=n(9565),r=n(8773),a=n(6980),s=n(5397),l=n(6969),c=n(9297),u=n(5917),d=Object.getOwnPropertyDescriptor;t.f=i?d:function(e,t){if(e=s(e),t=l(t),u)try{return d(e,t)}catch(e){}if(c(e,t))return a(!o(r.f,e,t),e[t])}},8480:function(e,t,n){"use strict";var i=n(1828),o=n(8727).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,o)}},3717:function(e,t){"use strict";t.f=Object.getOwnPropertySymbols},2787:function(e,t,n){"use strict";var i=n(9297),o=n(4901),r=n(8981),a=n(6119),s=n(2211),l=a("IE_PROTO"),c=Object,u=c.prototype;e.exports=s?c.getPrototypeOf:function(e){var t=r(e);if(i(t,l))return t[l];var n=t.constructor;return o(n)&&t instanceof n?n.prototype:t instanceof c?u:null}},1625:function(e,t,n){"use strict";var i=n(9504);e.exports=i({}.isPrototypeOf)},1828:function(e,t,n){"use strict";var i=n(9504),o=n(9297),r=n(5397),a=n(9617).indexOf,s=n(421),l=i([].push);e.exports=function(e,t){var n,i=r(e),c=0,u=[];for(n in i)!o(s,n)&&o(i,n)&&l(u,n);for(;t.length>c;)o(i,n=t[c++])&&(~a(u,n)||l(u,n));return u}},1072:function(e,t,n){"use strict";var i=n(1828),o=n(8727);e.exports=Object.keys||function(e){return i(e,o)}},8773:function(e,t){"use strict";var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!n.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:n},2967:function(e,t,n){"use strict";var i=n(6706),o=n(34),r=n(7750),a=n(3506);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=i(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return r(n),a(i),o(n)?(t?e(n,i):n.__proto__=i,n):n}}():void 0)},3179:function(e,t,n){"use strict";var i=n(2140),o=n(6955);e.exports=i?{}.toString:function(){return"[object "+o(this)+"]"}},4270:function(e,t,n){"use strict";var i=n(9565),o=n(4901),r=n(34),a=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&o(n=e.toString)&&!r(s=i(n,e)))return s;if(o(n=e.valueOf)&&!r(s=i(n,e)))return s;if("string"!==t&&o(n=e.toString)&&!r(s=i(n,e)))return s;throw new a("Can't convert object to primitive value")}},5031:function(e,t,n){"use strict";var i=n(7751),o=n(9504),r=n(8480),a=n(3717),s=n(8551),l=o([].concat);e.exports=i("Reflect","ownKeys")||function(e){var t=r.f(s(e)),n=a.f;return n?l(t,n(e)):t}},9167:function(e,t,n){"use strict";var i=n(2195);e.exports=i},7750:function(e,t,n){"use strict";var i=n(4117),o=TypeError;e.exports=function(e){if(i(e))throw new o("Can't call method on "+e);return e}},687:function(e,t,n){"use strict";var i=n(4913).f,o=n(9297),r=n(8227)("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!o(e,r)&&i(e,r,{configurable:!0,value:t})}},6119:function(e,t,n){"use strict";var i=n(5745),o=n(3392),r=i("keys");e.exports=function(e){return r[e]||(r[e]=o(e))}},7629:function(e,t,n){"use strict";var i=n(6395),o=n(2195),r=n(9433),a="__core-js_shared__",s=e.exports=o[a]||r(a,{});(s.versions||(s.versions=[])).push({version:"3.38.1",mode:i?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:function(e,t,n){"use strict";var i=n(7629);e.exports=function(e,t){return i[e]||(i[e]=t||{})}},8183:function(e,t,n){"use strict";var i=n(9504),o=n(1291),r=n(655),a=n(7750),s=i("".charAt),l=i("".charCodeAt),c=i("".slice),u=function(e){return function(t,n){var i,u,d=r(a(t)),f=o(n),h=d.length;return f<0||f>=h?e?"":void 0:(i=l(d,f))<55296||i>56319||f+1===h||(u=l(d,f+1))<56320||u>57343?e?s(d,f):i:e?c(d,f,f+2):u-56320+(i-55296<<10)+65536}};e.exports={codeAt:u(!1),charAt:u(!0)}},4495:function(e,t,n){"use strict";var i=n(9519),o=n(9039),r=n(2195).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!r(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},5610:function(e,t,n){"use strict";var i=n(1291),o=Math.max,r=Math.min;e.exports=function(e,t){var n=i(e);return n<0?o(n+t,0):r(n,t)}},5397:function(e,t,n){"use strict";var i=n(7055),o=n(7750);e.exports=function(e){return i(o(e))}},1291:function(e,t,n){"use strict";var i=n(741);e.exports=function(e){var t=+e;return t!=t||0===t?0:i(t)}},8014:function(e,t,n){"use strict";var i=n(1291),o=Math.min;e.exports=function(e){var t=i(e);return t>0?o(t,9007199254740991):0}},8981:function(e,t,n){"use strict";var i=n(7750),o=Object;e.exports=function(e){return o(i(e))}},2777:function(e,t,n){"use strict";var i=n(9565),o=n(34),r=n(757),a=n(5966),s=n(4270),l=n(8227),c=TypeError,u=l("toPrimitive");e.exports=function(e,t){if(!o(e)||r(e))return e;var n,l=a(e,u);if(l){if(void 0===t&&(t="default"),n=i(l,e,t),!o(n)||r(n))return n;throw new c("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},6969:function(e,t,n){"use strict";var i=n(2777),o=n(757);e.exports=function(e){var t=i(e,"string");return o(t)?t:t+""}},2140:function(e,t,n){"use strict";var i={};i[n(8227)("toStringTag")]="z",e.exports="[object z]"===String(i)},655:function(e,t,n){"use strict";var i=n(6955),o=String;e.exports=function(e){if("Symbol"===i(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},6823:function(e){"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},3392:function(e,t,n){"use strict";var i=n(9504),o=0,r=Math.random(),a=i(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+r,36)}},7040:function(e,t,n){"use strict";var i=n(4495);e.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:function(e,t,n){"use strict";var i=n(3724),o=n(9039);e.exports=i&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8622:function(e,t,n){"use strict";var i=n(2195),o=n(4901),r=i.WeakMap;e.exports=o(r)&&/native code/.test(String(r))},511:function(e,t,n){"use strict";var i=n(9167),o=n(9297),r=n(1951),a=n(4913).f;e.exports=function(e){var t=i.Symbol||(i.Symbol={});o(t,e)||a(t,e,{value:r.f(e)})}},1951:function(e,t,n){"use strict";var i=n(8227);t.f=i},8227:function(e,t,n){"use strict";var i=n(2195),o=n(5745),r=n(9297),a=n(3392),s=n(4495),l=n(7040),c=i.Symbol,u=o("wks"),d=l?c.for||c:c&&c.withoutSetter||a;e.exports=function(e){return r(u,e)||(u[e]=s&&r(c,e)?c[e]:d("Symbol."+e)),u[e]}},3792:function(e,t,n){"use strict";var i=n(5397),o=n(6469),r=n(6269),a=n(1181),s=n(4913).f,l=n(1088),c=n(2529),u=n(6395),d=n(3724),f="Array Iterator",h=a.set,p=a.getterFor(f);e.exports=l(Array,"Array",(function(e,t){h(this,{type:f,target:i(e),index:0,kind:t})}),(function(){var e=p(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=null,c(void 0,!0);switch(e.kind){case"keys":return c(n,!1);case"values":return c(t[n],!1)}return c([n,t[n]],!1)}),"values");var m=r.Arguments=r.Array;if(o("keys"),o("values"),o("entries"),!u&&d&&"values"!==m.name)try{s(m,"name",{value:"values"})}catch(e){}},6099:function(e,t,n){"use strict";var i=n(2140),o=n(6840),r=n(3179);i||o(Object.prototype,"toString",r,{unsafe:!0})},7764:function(e,t,n){"use strict";var i=n(8183).charAt,o=n(655),r=n(1181),a=n(1088),s=n(2529),l="String Iterator",c=r.set,u=r.getterFor(l);a(String,"String",(function(e){c(this,{type:l,string:o(e),index:0})}),(function(){var e,t=u(this),n=t.string,o=t.index;return o>=n.length?s(void 0,!0):(e=i(n,o),t.index+=e.length,s(e,!1))}))},2259:function(e,t,n){"use strict";n(511)("iterator")},2953:function(e,t,n){"use strict";var i=n(2195),o=n(7400),r=n(9296),a=n(3792),s=n(6699),l=n(687),c=n(8227)("iterator"),u=a.values,d=function(e,t){if(e){if(e[c]!==u)try{s(e,c,u)}catch(t){e[c]=u}if(l(e,t,!0),o[t])for(var n in a)if(e[n]!==a[n])try{s(e,n,a[n])}catch(t){e[n]=a[n]}}};for(var f in o)d(i[f]&&i[f].prototype,f);d(r,"DOMTokenList")},6848:function(e,t,n){"use strict";var i=n(2151);n(2953),e.exports=i}},t={};function n(i){var o=t[i];if(void 0!==o)return o.exports;var r=t[i]={exports:{}};return e[i].call(r.exports,r,r.exports,n),r.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";n(6848),n(8476),n(1116),n(7165);var e=(e,t,n)=>{let i;return function(){let o=this,r=arguments,a=n&&!i;clearTimeout(i),i=setTimeout((function(){i=null,n||e.apply(o,r)}),t),a&&e.apply(o,r)}};n(4249);(()=>{const t=document.querySelectorAll(".box.toggle");let n={"@context":"http://schema.org","@type":"FAQPage",mainEntity:[]};function i(e){const t=("<h1><h2><h3><h4><h5><h6><br><ol><ul><li><a><p><div><b><strong><i><em>".toLowerCase().match(/<[a-z][a-z0-9]*>/g)||[]).join(""),n=e.replace(/<!--[\s\S]*?-->|<\?(?:php)?[\s\S]*?\?>/gi,"").replace(/<\/?([a-z][a-z0-9]*)\b[^>]*>/gi,(function(e,n){return t.indexOf("<"+n.toLowerCase()+">")>-1?e:""}));return e===n&&e}if(t.length){for(let o of t){let t=o.querySelector(".title"),r=o.querySelector(".content"),a=r.querySelector(".csc-firstHeader"),s=r.querySelectorAll("img"),l={"@type":"Question",acceptedAnswer:{"@type":"Answer"}};for(const e of s)e.setAttribute("loading","eager");if(""===r.innerHTML){o.classList.add("isEmpty");continue}if(t&&a&&(t.innerHTML="",t.appendChild(a)),null===t&&a){let e=document.createElement("div");e.setAttribute("class","title"),e.appendChild(a),r.closest(".wrapper").insertBefore(e,r),t=e}let c=document.createElement("div");c.setAttribute("class","toggleContentWrapper"),c.innerHTML=r.innerHTML,r.innerHTML="",r.appendChild(c);let u=o.getAttribute("id");if(u||(u=`box-${Math.random().toString(36).substring(7)}`),o.classList.add("isToggle"),t.classList.add("hasToggleClosed"),t.setAttribute("role","button"),t.setAttribute("id",`${u}-title`),t.setAttribute("aria-controls",`${u}-content`),t.setAttribute("aria-expanded","false"),t.setAttribute("tabindex",0),r.setAttribute("id",`${u}-content`),r.setAttribute("aria-labelledby",`${u}-title`),r.setAttribute("aria-hidden","true"),c.innerHTML){const e=i(c.innerHTML);e&&(l.name=l.text=t.innerText||t.textContent,l.acceptedAnswer.text=e,n.mainEntity.push(l))}let d=function(){const e=document.querySelector(".box.toggle.isOpen");e&&(e.classList.remove("isOpen"),e.querySelector(".content").style.maxHeight=null,e.querySelector(".title").setAttribute("aria-expanded","false"),e.querySelector(".content").setAttribute("aria-hidden","true"))},f=e=>{const n=e.closest(".box.toggle");if(n.classList.contains("isOpen"))return t.classList.add("hasToggleClosed"),n.classList.remove("isOpen"),r.style.maxHeight=null,t.setAttribute("aria-expanded","false"),r.setAttribute("aria-hidden","true"),void r.setAttribute("aria-hidden","true");r.style.maxHeight=r.dataset.height,t.classList.remove("hasToggleClosed"),t.setAttribute("aria-expanded","true"),r.setAttribute("aria-hidden","false"),d(),n.classList.toggle("isOpen")},h=e=>{e.setAttribute("data-height",`${c.offsetHeight}px`)};window.addEventListener("load",(()=>{h(r)})),window.addEventListener("resize",e((e=>h(r)),400)),t.addEventListener("click",(function(){f(this)})),t.addEventListener("keyup",(function(e){e.preventDefault(),13!==event.keyCode&&32!==event.keyCode||f(this)})),document.addEventListener("DOMContentLoaded",(()=>{if(location.hash.length){const e=document.querySelector(location.hash);"undefined"!==e&&null!==e&&e.classList.contains("toggle")&&f(e)}}))}if(n.mainEntity.length){let e=document.createElement("script");e.type="application/ld+json",e.innerHTML=JSON.stringify(n),document.body.appendChild(e)}}})();var t=n(4249);new class{constructor(e){this.options=((e,t)=>{for(const n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e})({tabs:".tabs",wrapper:".tabs > .wrapper",content:".tabs > .wrapper > .content",activeClass:"active",tabLinksInnerHTML:!0},e),this.tabLinks=[],this.tabs=document.querySelectorAll(this.options.tabs),this.tabs.length&&window.addEventListener("load",this.init())}init(){for(const e of this.tabs){let t=e.getAttribute("id");t||(t="t"+Math.random().toString(36).substr(2,7),e.setAttribute("id",t));const n=e.querySelectorAll(".links li"),i=e.querySelectorAll(".tab");for(const e of n)e.classList.remove(this.options.activeClass);for(const e of i)e.classList.remove(this.options.activeClass);this.clickHandlers(e,i),this.setFirstActive(e,i)}}clickHandlers(e,t){const n=e.querySelectorAll(".links a");for(const i of n)i.addEventListener("click",(i=>{i.preventDefault(),this.tabHandler(i,e,t,n)}),!1);for(const e of t){(e.querySelector("header")||e.querySelector(".csc-firstHeader")).addEventListener("click",(function(){this.parentNode.parentNode.classList.toggle("isOpen")}),!1)}}tabHandler(e,t,n,i){const o=e.currentTarget;e.preventDefault(),this.clearSelection(),this.updateURL(o.getAttribute("href"));for(const e of i)e.removeAttribute("aria-selected"),e.parentNode.classList.remove(this.options.activeClass);o.parentNode.classList.add(this.options.activeClass);for(const e of n)e.classList.remove(this.options.activeClass),e.setAttribute("aria-hidden","true"),e.setAttribute("hidden","true"),e.setAttribute("tabindex","-1");var r=o.getAttribute("href");if(o.setAttribute("aria-selected","true"),r.length>1){var a=t.querySelector(r);a.classList.add(this.options.activeClass),a.removeAttribute("aria-hidden"),a.removeAttribute("hidden"),a.removeAttribute("tabindex")}}updateURL(e){window.history.replaceState("",document.title,window.location.href.replace(location.hash,"")+e)}setFirstActive(e,n){let i;window.location.hash?i=window.location.hash:(i=Array.prototype.filter.call(n,(e=>e.classList.contains(this.options.activeClass))),i.length&&(i=`#${i[0].id}`));let o=e.querySelector(".links a");t(i).length&&t(i).hasClass("tab")&&e.querySelector(i)&&(o=e.querySelector(`a[href="${i}"]`));let r=o.getAttribute("href"),a=e.querySelector(r);o.parentNode.classList.add(this.options.activeClass),o.setAttribute("aria-selected","true"),a.setAttribute("aria-hidden","false"),a.classList.add(this.options.activeClass),e.classList.add("loaded")}clearSelection(){document.selection?document.selection.empty():window.getSelection&&window.getSelection().removeAllRanges()}};var i=n(8904),o=n.n(i);n(4238),n(2532),n(3950),n(806);n(4249).megaNavigation({mobileNavigationType:"class",headerSelector:".page > header",navigationContainer:".primaryNavigation",navigationWrapper:".primaryNavigation > .wrapper",mobileNavigationSelector:".mobileNavigation",hasDesktopDropdown:!0});var r=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],a={_disable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:"object"==typeof window&&-1===window.navigator.userAgent.indexOf("MSIE"),ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enableSeconds:!1,enableTime:!1,errorHandler:function(e){return"undefined"!=typeof console&&console.warn(e)},getWeek:function(e){var t=new Date(e.getTime());t.setHours(0,0,0,0),t.setDate(t.getDate()+3-(t.getDay()+6)%7);var n=new Date(t.getFullYear(),0,4);return 1+Math.round(((t.getTime()-n.getTime())/864e5-3+(n.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1},s={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(e){var t=e%100;if(t>3&&t<21)return"th";switch(t%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},l=s,c=function(e,t){return void 0===t&&(t=2),("000"+e).slice(-1*t)},u=function(e){return!0===e?1:0};function d(e,t){var n;return function(){var i=this,o=arguments;clearTimeout(n),n=setTimeout((function(){return e.apply(i,o)}),t)}}var f=function(e){return e instanceof Array?e:[e]};function h(e,t,n){if(!0===n)return e.classList.add(t);e.classList.remove(t)}function p(e,t,n){var i=window.document.createElement(e);return t=t||"",n=n||"",i.className=t,void 0!==n&&(i.textContent=n),i}function m(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function g(e,t){return t(e)?e:e.parentNode?g(e.parentNode,t):void 0}function v(e,t){var n=p("div","numInputWrapper"),i=p("input","numInput "+e),o=p("span","arrowUp"),r=p("span","arrowDown");if(-1===navigator.userAgent.indexOf("MSIE 9.0")?i.type="number":(i.type="text",i.pattern="\\d*"),void 0!==t)for(var a in t)i.setAttribute(a,t[a]);return n.appendChild(i),n.appendChild(o),n.appendChild(r),n}function b(e){try{return"function"==typeof e.composedPath?e.composedPath()[0]:e.target}catch(t){return e.target}}var y=function(){},w=function(e,t,n){return n.months[t?"shorthand":"longhand"][e]},x={D:y,F:function(e,t,n){e.setMonth(n.months.longhand.indexOf(t))},G:function(e,t){e.setHours((e.getHours()>=12?12:0)+parseFloat(t))},H:function(e,t){e.setHours(parseFloat(t))},J:function(e,t){e.setDate(parseFloat(t))},K:function(e,t,n){e.setHours(e.getHours()%12+12*u(new RegExp(n.amPM[1],"i").test(t)))},M:function(e,t,n){e.setMonth(n.months.shorthand.indexOf(t))},S:function(e,t){e.setSeconds(parseFloat(t))},U:function(e,t){return new Date(1e3*parseFloat(t))},W:function(e,t,n){var i=parseInt(t),o=new Date(e.getFullYear(),0,2+7*(i-1),0,0,0,0);return o.setDate(o.getDate()-o.getDay()+n.firstDayOfWeek),o},Y:function(e,t){e.setFullYear(parseFloat(t))},Z:function(e,t){return new Date(t)},d:function(e,t){e.setDate(parseFloat(t))},h:function(e,t){e.setHours((e.getHours()>=12?12:0)+parseFloat(t))},i:function(e,t){e.setMinutes(parseFloat(t))},j:function(e,t){e.setDate(parseFloat(t))},l:y,m:function(e,t){e.setMonth(parseFloat(t)-1)},n:function(e,t){e.setMonth(parseFloat(t)-1)},s:function(e,t){e.setSeconds(parseFloat(t))},u:function(e,t){return new Date(parseFloat(t))},w:y,y:function(e,t){e.setFullYear(2e3+parseFloat(t))}},_={D:"",F:"",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},S={Z:function(e){return e.toISOString()},D:function(e,t,n){return t.weekdays.shorthand[S.w(e,t,n)]},F:function(e,t,n){return w(S.n(e,t,n)-1,!1,t)},G:function(e,t,n){return c(S.h(e,t,n))},H:function(e){return c(e.getHours())},J:function(e,t){return void 0!==t.ordinal?e.getDate()+t.ordinal(e.getDate()):e.getDate()},K:function(e,t){return t.amPM[u(e.getHours()>11)]},M:function(e,t){return w(e.getMonth(),!0,t)},S:function(e){return c(e.getSeconds())},U:function(e){return e.getTime()/1e3},W:function(e,t,n){return n.getWeek(e)},Y:function(e){return c(e.getFullYear(),4)},d:function(e){return c(e.getDate())},h:function(e){return e.getHours()%12?e.getHours()%12:12},i:function(e){return c(e.getMinutes())},j:function(e){return e.getDate()},l:function(e,t){return t.weekdays.longhand[e.getDay()]},m:function(e){return c(e.getMonth()+1)},n:function(e){return e.getMonth()+1},s:function(e){return e.getSeconds()},u:function(e){return e.getTime()},w:function(e){return e.getDay()},y:function(e){return String(e.getFullYear()).substring(2)}},C=function(e){var t=e.config,n=void 0===t?a:t,i=e.l10n,o=void 0===i?s:i,r=e.isMobile,l=void 0!==r&&r;return function(e,t,i){var r=i||o;return void 0===n.formatDate||l?t.split("").map((function(t,i,o){return S[t]&&"\\"!==o[i-1]?S[t](e,r,n):"\\"!==t?t:""})).join(""):n.formatDate(e,t,r)}},T=function(e){var t=e.config,n=void 0===t?a:t,i=e.l10n,o=void 0===i?s:i;return function(e,t,i,r){if(0===e||e){var s,l=r||o,c=e;if(e instanceof Date)s=new Date(e.getTime());else if("string"!=typeof e&&void 0!==e.toFixed)s=new Date(e);else if("string"==typeof e){var u=t||(n||a).dateFormat,d=String(e).trim();if("today"===d)s=new Date,i=!0;else if(n&&n.parseDate)s=n.parseDate(e,u);else if(/Z$/.test(d)||/GMT$/.test(d))s=new Date(e);else{for(var f=void 0,h=[],p=0,m=0,g="";p<u.length;p++){var v=u[p],b="\\"===v,y="\\"===u[p-1]||b;if(_[v]&&!y){g+=_[v];var w=new RegExp(g).exec(e);w&&(f=!0)&&h["Y"!==v?"push":"unshift"]({fn:x[v],val:w[++m]})}else b||(g+=".")}s=n&&n.noCalendar?new Date((new Date).setHours(0,0,0,0)):new Date((new Date).getFullYear(),0,1,0,0,0,0),h.forEach((function(e){var t=e.fn,n=e.val;return s=t(s,n,l)||s})),s=f?s:void 0}}if(s instanceof Date&&!isNaN(s.getTime()))return!0===i&&s.setHours(0,0,0,0),s;n.errorHandler(new Error("Invalid date provided: "+c))}}};function P(e,t,n){return void 0===n&&(n=!0),!1!==n?new Date(e.getTime()).setHours(0,0,0,0)-new Date(t.getTime()).setHours(0,0,0,0):e.getTime()-t.getTime()}var D=function(e,t,n){return e>Math.min(t,n)&&e<Math.max(t,n)},A=function(e,t,n){return 3600*e+60*t+n},k=function(e){var t=Math.floor(e/3600),n=(e-3600*t)/60;return[t,n,e-3600*t-60*n]},M={DAY:864e5};function E(e){var t=e.defaultHour,n=e.defaultMinute,i=e.defaultSeconds;if(void 0!==e.minDate){var o=e.minDate.getHours(),r=e.minDate.getMinutes(),a=e.minDate.getSeconds();t<o&&(t=o),t===o&&n<r&&(n=r),t===o&&n===r&&i<a&&(i=e.minDate.getSeconds())}if(void 0!==e.maxDate){var s=e.maxDate.getHours(),l=e.maxDate.getMinutes();(t=Math.min(t,s))===s&&(n=Math.min(l,n)),t===s&&n===l&&(i=e.maxDate.getSeconds())}return{hours:t,minutes:n,seconds:i}}n(5990);var I=n(4249),N=function(){return N=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},N.apply(this,arguments)},L=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],a=0,s=r.length;a<s;a++,o++)i[o]=r[a];return i},O=300;function H(e,t){var n={config:N(N({},a),j.defaultConfig),l10n:l};function i(){var e;return(null===(e=n.calendarContainer)||void 0===e?void 0:e.getRootNode()).activeElement||document.activeElement}function o(e){return e.bind(n)}function s(){var e=n.config;!1===e.weekNumbers&&1===e.showMonths||!0!==e.noCalendar&&window.requestAnimationFrame((function(){if(void 0!==n.calendarContainer&&(n.calendarContainer.style.visibility="hidden",n.calendarContainer.style.display="block"),void 0!==n.daysContainer){var t=(n.days.offsetWidth+1)*e.showMonths;n.daysContainer.style.width=t+"px",n.calendarContainer.style.width=t+(void 0!==n.weekWrapper?n.weekWrapper.offsetWidth:0)+"px",n.calendarContainer.style.removeProperty("visibility"),n.calendarContainer.style.removeProperty("display")}}))}function y(e){if(0===n.selectedDates.length){var t=void 0===n.config.minDate||P(new Date,n.config.minDate)>=0?new Date:new Date(n.config.minDate.getTime()),i=E(n.config);t.setHours(i.hours,i.minutes,i.seconds,t.getMilliseconds()),n.selectedDates=[t],n.latestSelectedDateObj=t}void 0!==e&&"blur"!==e.type&&function(e){e.preventDefault();var t="keydown"===e.type,i=b(e),o=i;void 0!==n.amPM&&i===n.amPM&&(n.amPM.textContent=n.l10n.amPM[u(n.amPM.textContent===n.l10n.amPM[0])]);var r=parseFloat(o.getAttribute("min")),a=parseFloat(o.getAttribute("max")),s=parseFloat(o.getAttribute("step")),l=parseInt(o.value,10),d=e.delta||(t?38===e.which?1:-1:0),f=l+s*d;if(void 0!==o.value&&2===o.value.length){var h=o===n.hourElement,p=o===n.minuteElement;f<r?(f=a+f+u(!h)+(u(h)&&u(!n.amPM)),p&&B(void 0,-1,n.hourElement)):f>a&&(f=o===n.hourElement?f-a-u(!n.amPM):r,p&&B(void 0,1,n.hourElement)),n.amPM&&h&&(1===s?f+l===23:Math.abs(f-l)>s)&&(n.amPM.textContent=n.l10n.amPM[u(n.amPM.textContent===n.l10n.amPM[0])]),o.value=c(f)}}(e);var o=n._input.value;x(),Pe(),n._input.value!==o&&n._debouncedChange()}function x(){if(void 0!==n.hourElement&&void 0!==n.minuteElement){var e,t,i=(parseInt(n.hourElement.value.slice(-2),10)||0)%24,o=(parseInt(n.minuteElement.value,10)||0)%60,r=void 0!==n.secondElement?(parseInt(n.secondElement.value,10)||0)%60:0;void 0!==n.amPM&&(e=i,t=n.amPM.textContent,i=e%12+12*u(t===n.l10n.amPM[1]));var a=void 0!==n.config.minTime||n.config.minDate&&n.minDateHasTime&&n.latestSelectedDateObj&&0===P(n.latestSelectedDateObj,n.config.minDate,!0),s=void 0!==n.config.maxTime||n.config.maxDate&&n.maxDateHasTime&&n.latestSelectedDateObj&&0===P(n.latestSelectedDateObj,n.config.maxDate,!0);if(void 0!==n.config.maxTime&&void 0!==n.config.minTime&&n.config.minTime>n.config.maxTime){var l=A(n.config.minTime.getHours(),n.config.minTime.getMinutes(),n.config.minTime.getSeconds()),c=A(n.config.maxTime.getHours(),n.config.maxTime.getMinutes(),n.config.maxTime.getSeconds()),d=A(i,o,r);if(d>c&&d<l){var f=k(l);i=f[0],o=f[1],r=f[2]}}else{if(s){var h=void 0!==n.config.maxTime?n.config.maxTime:n.config.maxDate;(i=Math.min(i,h.getHours()))===h.getHours()&&(o=Math.min(o,h.getMinutes())),o===h.getMinutes()&&(r=Math.min(r,h.getSeconds()))}if(a){var p=void 0!==n.config.minTime?n.config.minTime:n.config.minDate;(i=Math.max(i,p.getHours()))===p.getHours()&&o<p.getMinutes()&&(o=p.getMinutes()),o===p.getMinutes()&&(r=Math.max(r,p.getSeconds()))}}I(i,o,r)}}function S(e){var t=e||n.latestSelectedDateObj;t&&t instanceof Date&&I(t.getHours(),t.getMinutes(),t.getSeconds())}function I(e,t,i){void 0!==n.latestSelectedDateObj&&n.latestSelectedDateObj.setHours(e%24,t,i||0,0),n.hourElement&&n.minuteElement&&!n.isMobile&&(n.hourElement.value=c(n.config.time_24hr?e:(12+e)%12+12*u(e%12==0)),n.minuteElement.value=c(t),void 0!==n.amPM&&(n.amPM.textContent=n.l10n.amPM[u(e>=12)]),void 0!==n.secondElement&&(n.secondElement.value=c(i)))}function H(e){var t=b(e),n=parseInt(t.value)+(e.delta||0);(n/1e3>1||"Enter"===e.key&&!/[^\d]/.test(n.toString()))&&ie(n)}function F(e,t,i,o){return t instanceof Array?t.forEach((function(t){return F(e,t,i,o)})):e instanceof Array?e.forEach((function(e){return F(e,t,i,o)})):(e.addEventListener(t,i,o),void n._handlers.push({remove:function(){return e.removeEventListener(t,i,o)}}))}function $(){xe("onChange")}function R(e,t){var i=void 0!==e?n.parseDate(e):n.latestSelectedDateObj||(n.config.minDate&&n.config.minDate>n.now?n.config.minDate:n.config.maxDate&&n.config.maxDate<n.now?n.config.maxDate:n.now),o=n.currentYear,r=n.currentMonth;try{void 0!==i&&(n.currentYear=i.getFullYear(),n.currentMonth=i.getMonth())}catch(e){e.message="Invalid date supplied: "+i,n.config.errorHandler(e)}t&&n.currentYear!==o&&(xe("onYearChange"),G()),!t||n.currentYear===o&&n.currentMonth===r||xe("onMonthChange"),n.redraw()}function z(e){var t=b(e);~t.className.indexOf("arrow")&&B(e,t.classList.contains("arrowUp")?1:-1)}function B(e,t,n){var i=e&&b(e),o=n||i&&i.parentNode&&i.parentNode.firstChild,r=_e("increment");r.delta=t,o&&o.dispatchEvent(r)}function q(e,t,i,o){var r=oe(t,!0),a=p("span",e,t.getDate().toString());return a.dateObj=t,a.$i=o,a.setAttribute("aria-label",n.formatDate(t,n.config.ariaDateFormat)),-1===e.indexOf("hidden")&&0===P(t,n.now)&&(n.todayDateElem=a,a.classList.add("today"),a.setAttribute("aria-current","date")),r?(a.tabIndex=-1,Se(t)&&(a.classList.add("selected"),n.selectedDateElem=a,"range"===n.config.mode&&(h(a,"startRange",n.selectedDates[0]&&0===P(t,n.selectedDates[0],!0)),h(a,"endRange",n.selectedDates[1]&&0===P(t,n.selectedDates[1],!0)),"nextMonthDay"===e&&a.classList.add("inRange")))):a.classList.add("flatpickr-disabled"),"range"===n.config.mode&&function(e){return!("range"!==n.config.mode||n.selectedDates.length<2)&&(P(e,n.selectedDates[0])>=0&&P(e,n.selectedDates[1])<=0)}(t)&&!Se(t)&&a.classList.add("inRange"),n.weekNumbers&&1===n.config.showMonths&&"prevMonthDay"!==e&&o%7==6&&n.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+n.config.getWeek(t)+"</span>"),xe("onDayCreate",a),a}function W(e){e.focus(),"range"===n.config.mode&&le(e)}function Y(e){for(var t=e>0?0:n.config.showMonths-1,i=e>0?n.config.showMonths:-1,o=t;o!=i;o+=e)for(var r=n.daysContainer.children[o],a=e>0?0:r.children.length-1,s=e>0?r.children.length:-1,l=a;l!=s;l+=e){var c=r.children[l];if(-1===c.className.indexOf("hidden")&&oe(c.dateObj))return c}}function V(e,t){var o=i(),r=re(o||document.body),a=void 0!==e?e:r?o:void 0!==n.selectedDateElem&&re(n.selectedDateElem)?n.selectedDateElem:void 0!==n.todayDateElem&&re(n.todayDateElem)?n.todayDateElem:Y(t>0?1:-1);void 0===a?n._input.focus():r?function(e,t){for(var i=-1===e.className.indexOf("Month")?e.dateObj.getMonth():n.currentMonth,o=t>0?n.config.showMonths:-1,r=t>0?1:-1,a=i-n.currentMonth;a!=o;a+=r)for(var s=n.daysContainer.children[a],l=i-n.currentMonth===a?e.$i+t:t<0?s.children.length-1:0,c=s.children.length,u=l;u>=0&&u<c&&u!=(t>0?c:-1);u+=r){var d=s.children[u];if(-1===d.className.indexOf("hidden")&&oe(d.dateObj)&&Math.abs(e.$i-u)>=Math.abs(t))return W(d)}n.changeMonth(r),V(Y(r),0)}(a,t):W(a)}function X(e,t){for(var i=(new Date(e,t,1).getDay()-n.l10n.firstDayOfWeek+7)%7,o=n.utils.getDaysInMonth((t-1+12)%12,e),r=n.utils.getDaysInMonth(t,e),a=window.document.createDocumentFragment(),s=n.config.showMonths>1,l=s?"prevMonthDay hidden":"prevMonthDay",c=s?"nextMonthDay hidden":"nextMonthDay",u=o+1-i,d=0;u<=o;u++,d++)a.appendChild(q("flatpickr-day "+l,new Date(e,t-1,u),0,d));for(u=1;u<=r;u++,d++)a.appendChild(q("flatpickr-day",new Date(e,t,u),0,d));for(var f=r+1;f<=42-i&&(1===n.config.showMonths||d%7!=0);f++,d++)a.appendChild(q("flatpickr-day "+c,new Date(e,t+1,f%r),0,d));var h=p("div","dayContainer");return h.appendChild(a),h}function U(){if(void 0!==n.daysContainer){m(n.daysContainer),n.weekNumbers&&m(n.weekNumbers);for(var e=document.createDocumentFragment(),t=0;t<n.config.showMonths;t++){var i=new Date(n.currentYear,n.currentMonth,1);i.setMonth(n.currentMonth+t),e.appendChild(X(i.getFullYear(),i.getMonth()))}n.daysContainer.appendChild(e),n.days=n.daysContainer.firstChild,"range"===n.config.mode&&1===n.selectedDates.length&&le()}}function G(){if(!(n.config.showMonths>1||"dropdown"!==n.config.monthSelectorType)){var e=function(e){return!(void 0!==n.config.minDate&&n.currentYear===n.config.minDate.getFullYear()&&e<n.config.minDate.getMonth())&&!(void 0!==n.config.maxDate&&n.currentYear===n.config.maxDate.getFullYear()&&e>n.config.maxDate.getMonth())};n.monthsDropdownContainer.tabIndex=-1,n.monthsDropdownContainer.innerHTML="";for(var t=0;t<12;t++)if(e(t)){var i=p("option","flatpickr-monthDropdown-month");i.value=new Date(n.currentYear,t).getMonth().toString(),i.textContent=w(t,n.config.shorthandCurrentMonth,n.l10n),i.tabIndex=-1,n.currentMonth===t&&(i.selected=!0),n.monthsDropdownContainer.appendChild(i)}}}function K(){var e,t=p("div","flatpickr-month"),i=window.document.createDocumentFragment();n.config.showMonths>1||"static"===n.config.monthSelectorType?e=p("span","cur-month"):(n.monthsDropdownContainer=p("select","flatpickr-monthDropdown-months"),n.monthsDropdownContainer.setAttribute("aria-label",n.l10n.monthAriaLabel),F(n.monthsDropdownContainer,"change",(function(e){var t=b(e),i=parseInt(t.value,10);n.changeMonth(i-n.currentMonth),xe("onMonthChange")})),G(),e=n.monthsDropdownContainer);var o=v("cur-year",{tabindex:"-1"}),r=o.getElementsByTagName("input")[0];r.setAttribute("aria-label",n.l10n.yearAriaLabel),n.config.minDate&&r.setAttribute("min",n.config.minDate.getFullYear().toString()),n.config.maxDate&&(r.setAttribute("max",n.config.maxDate.getFullYear().toString()),r.disabled=!!n.config.minDate&&n.config.minDate.getFullYear()===n.config.maxDate.getFullYear());var a=p("div","flatpickr-current-month");return a.appendChild(e),a.appendChild(o),i.appendChild(a),t.appendChild(i),{container:t,yearElement:r,monthElement:e}}function J(){m(n.monthNav),n.monthNav.appendChild(n.prevMonthNav),n.config.showMonths&&(n.yearElements=[],n.monthElements=[]);for(var e=n.config.showMonths;e--;){var t=K();n.yearElements.push(t.yearElement),n.monthElements.push(t.monthElement),n.monthNav.appendChild(t.container)}n.monthNav.appendChild(n.nextMonthNav)}function Z(){n.weekdayContainer?m(n.weekdayContainer):n.weekdayContainer=p("div","flatpickr-weekdays");for(var e=n.config.showMonths;e--;){var t=p("div","flatpickr-weekdaycontainer");n.weekdayContainer.appendChild(t)}return Q(),n.weekdayContainer}function Q(){if(n.weekdayContainer){var e=n.l10n.firstDayOfWeek,t=L(n.l10n.weekdays.shorthand);e>0&&e<t.length&&(t=L(t.splice(e,t.length),t.splice(0,e)));for(var i=n.config.showMonths;i--;)n.weekdayContainer.children[i].innerHTML="\n      <span class='flatpickr-weekday'>\n        "+t.join("</span><span class='flatpickr-weekday'>")+"\n      </span>\n      "}}function ee(e,t){void 0===t&&(t=!0);var i=t?e:e-n.currentMonth;i<0&&!0===n._hidePrevMonthArrow||i>0&&!0===n._hideNextMonthArrow||(n.currentMonth+=i,(n.currentMonth<0||n.currentMonth>11)&&(n.currentYear+=n.currentMonth>11?1:-1,n.currentMonth=(n.currentMonth+12)%12,xe("onYearChange"),G()),U(),xe("onMonthChange"),Ce())}function te(e){return n.calendarContainer.contains(e)}function ne(e){if(n.isOpen&&!n.config.inline){var t=b(e),i=te(t),o=!(t===n.input||t===n.altInput||n.element.contains(t)||e.path&&e.path.indexOf&&(~e.path.indexOf(n.input)||~e.path.indexOf(n.altInput)))&&!i&&!te(e.relatedTarget),r=!n.config.ignoredFocusElements.some((function(e){return e.contains(t)}));o&&r&&(n.config.allowInput&&n.setDate(n._input.value,!1,n.config.altInput?n.config.altFormat:n.config.dateFormat),void 0!==n.timeContainer&&void 0!==n.minuteElement&&void 0!==n.hourElement&&""!==n.input.value&&void 0!==n.input.value&&y(),n.close(),n.config&&"range"===n.config.mode&&1===n.selectedDates.length&&n.clear(!1))}}function ie(e){if(!(!e||n.config.minDate&&e<n.config.minDate.getFullYear()||n.config.maxDate&&e>n.config.maxDate.getFullYear())){var t=e,i=n.currentYear!==t;n.currentYear=t||n.currentYear,n.config.maxDate&&n.currentYear===n.config.maxDate.getFullYear()?n.currentMonth=Math.min(n.config.maxDate.getMonth(),n.currentMonth):n.config.minDate&&n.currentYear===n.config.minDate.getFullYear()&&(n.currentMonth=Math.max(n.config.minDate.getMonth(),n.currentMonth)),i&&(n.redraw(),xe("onYearChange"),G())}}function oe(e,t){var i;void 0===t&&(t=!0);var o=n.parseDate(e,void 0,t);if(n.config.minDate&&o&&P(o,n.config.minDate,void 0!==t?t:!n.minDateHasTime)<0||n.config.maxDate&&o&&P(o,n.config.maxDate,void 0!==t?t:!n.maxDateHasTime)>0)return!1;if(!n.config.enable&&0===n.config.disable.length)return!0;if(void 0===o)return!1;for(var r=!!n.config.enable,a=null!==(i=n.config.enable)&&void 0!==i?i:n.config.disable,s=0,l=void 0;s<a.length;s++){if("function"==typeof(l=a[s])&&l(o))return r;if(l instanceof Date&&void 0!==o&&l.getTime()===o.getTime())return r;if("string"==typeof l){var c=n.parseDate(l,void 0,!0);return c&&c.getTime()===o.getTime()?r:!r}if("object"==typeof l&&void 0!==o&&l.from&&l.to&&o.getTime()>=l.from.getTime()&&o.getTime()<=l.to.getTime())return r}return!r}function re(e){return void 0!==n.daysContainer&&(-1===e.className.indexOf("hidden")&&-1===e.className.indexOf("flatpickr-disabled")&&n.daysContainer.contains(e))}function ae(e){var t=e.target===n._input,i=n._input.value.trimEnd()!==Te();!t||!i||e.relatedTarget&&te(e.relatedTarget)||n.setDate(n._input.value,!0,e.target===n.altInput?n.config.altFormat:n.config.dateFormat)}function se(t){var o=b(t),r=n.config.wrap?e.contains(o):o===n._input,a=n.config.allowInput,s=n.isOpen&&(!a||!r),l=n.config.inline&&r&&!a;if(13===t.keyCode&&r){if(a)return n.setDate(n._input.value,!0,o===n.altInput?n.config.altFormat:n.config.dateFormat),n.close(),o.blur();n.open()}else if(te(o)||s||l){var c=!!n.timeContainer&&n.timeContainer.contains(o);switch(t.keyCode){case 13:c?(t.preventDefault(),y(),me()):ge(t);break;case 27:t.preventDefault(),me();break;case 8:case 46:r&&!n.config.allowInput&&(t.preventDefault(),n.clear());break;case 37:case 39:if(c||r)n.hourElement&&n.hourElement.focus();else{t.preventDefault();var u=i();if(void 0!==n.daysContainer&&(!1===a||u&&re(u))){var d=39===t.keyCode?1:-1;t.ctrlKey?(t.stopPropagation(),ee(d),V(Y(1),0)):V(void 0,d)}}break;case 38:case 40:t.preventDefault();var f=40===t.keyCode?1:-1;n.daysContainer&&void 0!==o.$i||o===n.input||o===n.altInput?t.ctrlKey?(t.stopPropagation(),ie(n.currentYear-f),V(Y(1),0)):c||V(void 0,7*f):o===n.currentYearElement?ie(n.currentYear-f):n.config.enableTime&&(!c&&n.hourElement&&n.hourElement.focus(),y(t),n._debouncedChange());break;case 9:if(c){var h=[n.hourElement,n.minuteElement,n.secondElement,n.amPM].concat(n.pluginElements).filter((function(e){return e})),p=h.indexOf(o);if(-1!==p){var m=h[p+(t.shiftKey?-1:1)];t.preventDefault(),(m||n._input).focus()}}else!n.config.noCalendar&&n.daysContainer&&n.daysContainer.contains(o)&&t.shiftKey&&(t.preventDefault(),n._input.focus())}}if(void 0!==n.amPM&&o===n.amPM)switch(t.key){case n.l10n.amPM[0].charAt(0):case n.l10n.amPM[0].charAt(0).toLowerCase():n.amPM.textContent=n.l10n.amPM[0],x(),Pe();break;case n.l10n.amPM[1].charAt(0):case n.l10n.amPM[1].charAt(0).toLowerCase():n.amPM.textContent=n.l10n.amPM[1],x(),Pe()}(r||te(o))&&xe("onKeyDown",t)}function le(e,t){if(void 0===t&&(t="flatpickr-day"),1===n.selectedDates.length&&(!e||e.classList.contains(t)&&!e.classList.contains("flatpickr-disabled"))){for(var i=e?e.dateObj.getTime():n.days.firstElementChild.dateObj.getTime(),o=n.parseDate(n.selectedDates[0],void 0,!0).getTime(),r=Math.min(i,n.selectedDates[0].getTime()),a=Math.max(i,n.selectedDates[0].getTime()),s=!1,l=0,c=0,u=r;u<a;u+=M.DAY)oe(new Date(u),!0)||(s=s||u>r&&u<a,u<o&&(!l||u>l)?l=u:u>o&&(!c||u<c)&&(c=u));Array.from(n.rContainer.querySelectorAll("*:nth-child(-n+"+n.config.showMonths+") > ."+t)).forEach((function(t){var r=t.dateObj.getTime(),a=l>0&&r<l||c>0&&r>c;if(a)return t.classList.add("notAllowed"),void["inRange","startRange","endRange"].forEach((function(e){t.classList.remove(e)}));s&&!a||(["startRange","inRange","endRange","notAllowed"].forEach((function(e){t.classList.remove(e)})),void 0!==e&&(e.classList.add(i<=n.selectedDates[0].getTime()?"startRange":"endRange"),o<i&&r===o?t.classList.add("startRange"):o>i&&r===o&&t.classList.add("endRange"),r>=l&&(0===c||r<=c)&&D(r,o,i)&&t.classList.add("inRange")))}))}}function ce(){!n.isOpen||n.config.static||n.config.inline||he()}function ue(e){return function(t){var i=n.config["_"+e+"Date"]=n.parseDate(t,n.config.dateFormat),o=n.config["_"+("min"===e?"max":"min")+"Date"];void 0!==i&&(n["min"===e?"minDateHasTime":"maxDateHasTime"]=i.getHours()>0||i.getMinutes()>0||i.getSeconds()>0),n.selectedDates&&(n.selectedDates=n.selectedDates.filter((function(e){return oe(e)})),n.selectedDates.length||"min"!==e||S(i),Pe()),n.daysContainer&&(pe(),void 0!==i?n.currentYearElement[e]=i.getFullYear().toString():n.currentYearElement.removeAttribute(e),n.currentYearElement.disabled=!!o&&void 0!==i&&o.getFullYear()===i.getFullYear())}}function de(){return n.config.wrap?e.querySelector("[data-input]"):e}function fe(){"object"!=typeof n.config.locale&&void 0===j.l10ns[n.config.locale]&&n.config.errorHandler(new Error("flatpickr: invalid locale "+n.config.locale)),n.l10n=N(N({},j.l10ns.default),"object"==typeof n.config.locale?n.config.locale:"default"!==n.config.locale?j.l10ns[n.config.locale]:void 0),_.D="("+n.l10n.weekdays.shorthand.join("|")+")",_.l="("+n.l10n.weekdays.longhand.join("|")+")",_.M="("+n.l10n.months.shorthand.join("|")+")",_.F="("+n.l10n.months.longhand.join("|")+")",_.K="("+n.l10n.amPM[0]+"|"+n.l10n.amPM[1]+"|"+n.l10n.amPM[0].toLowerCase()+"|"+n.l10n.amPM[1].toLowerCase()+")",void 0===N(N({},t),JSON.parse(JSON.stringify(e.dataset||{}))).time_24hr&&void 0===j.defaultConfig.time_24hr&&(n.config.time_24hr=n.l10n.time_24hr),n.formatDate=C(n),n.parseDate=T({config:n.config,l10n:n.l10n})}function he(e){if("function"!=typeof n.config.position){if(void 0!==n.calendarContainer){xe("onPreCalendarPosition");var t=e||n._positionElement,i=Array.prototype.reduce.call(n.calendarContainer.children,(function(e,t){return e+t.offsetHeight}),0),o=n.calendarContainer.offsetWidth,r=n.config.position.split(" "),a=r[0],s=r.length>1?r[1]:null,l=t.getBoundingClientRect(),c=window.innerHeight-l.bottom,u="above"===a||"below"!==a&&c<i&&l.top>i,d=window.pageYOffset+l.top+(u?-i-2:t.offsetHeight+2);if(h(n.calendarContainer,"arrowTop",!u),h(n.calendarContainer,"arrowBottom",u),!n.config.inline){var f=window.pageXOffset+l.left,p=!1,m=!1;"center"===s?(f-=(o-l.width)/2,p=!0):"right"===s&&(f-=o-l.width,m=!0),h(n.calendarContainer,"arrowLeft",!p&&!m),h(n.calendarContainer,"arrowCenter",p),h(n.calendarContainer,"arrowRight",m);var g=window.document.body.offsetWidth-(window.pageXOffset+l.right),v=f+o>window.document.body.offsetWidth,b=g+o>window.document.body.offsetWidth;if(h(n.calendarContainer,"rightMost",v),!n.config.static)if(n.calendarContainer.style.top=d+"px",v)if(b){var y=function(){for(var e=null,t=0;t<document.styleSheets.length;t++){var n=document.styleSheets[t];if(n.cssRules){try{n.cssRules}catch(e){continue}e=n;break}}return null!=e?e:(i=document.createElement("style"),document.head.appendChild(i),i.sheet);var i}();if(void 0===y)return;var w=window.document.body.offsetWidth,x=Math.max(0,w/2-o/2),_=y.cssRules.length,S="{left:"+l.left+"px;right:auto;}";h(n.calendarContainer,"rightMost",!1),h(n.calendarContainer,"centerMost",!0),y.insertRule(".flatpickr-calendar.centerMost:before,.flatpickr-calendar.centerMost:after"+S,_),n.calendarContainer.style.left=x+"px",n.calendarContainer.style.right="auto"}else n.calendarContainer.style.left="auto",n.calendarContainer.style.right=g+"px";else n.calendarContainer.style.left=f+"px",n.calendarContainer.style.right="auto"}}}else n.config.position(n,e)}function pe(){n.config.noCalendar||n.isMobile||(G(),Ce(),U())}function me(){n._input.focus(),-1!==window.navigator.userAgent.indexOf("MSIE")||void 0!==navigator.msMaxTouchPoints?setTimeout(n.close,0):n.close()}function ge(e){e.preventDefault(),e.stopPropagation();var t=g(b(e),(function(e){return e.classList&&e.classList.contains("flatpickr-day")&&!e.classList.contains("flatpickr-disabled")&&!e.classList.contains("notAllowed")}));if(void 0!==t){var i=t,o=n.latestSelectedDateObj=new Date(i.dateObj.getTime()),r=(o.getMonth()<n.currentMonth||o.getMonth()>n.currentMonth+n.config.showMonths-1)&&"range"!==n.config.mode;if(n.selectedDateElem=i,"single"===n.config.mode)n.selectedDates=[o];else if("multiple"===n.config.mode){var a=Se(o);a?n.selectedDates.splice(parseInt(a),1):n.selectedDates.push(o)}else"range"===n.config.mode&&(2===n.selectedDates.length&&n.clear(!1,!1),n.latestSelectedDateObj=o,n.selectedDates.push(o),0!==P(o,n.selectedDates[0],!0)&&n.selectedDates.sort((function(e,t){return e.getTime()-t.getTime()})));if(x(),r){var s=n.currentYear!==o.getFullYear();n.currentYear=o.getFullYear(),n.currentMonth=o.getMonth(),s&&(xe("onYearChange"),G()),xe("onMonthChange")}if(Ce(),U(),Pe(),r||"range"===n.config.mode||1!==n.config.showMonths?void 0!==n.selectedDateElem&&void 0===n.hourElement&&n.selectedDateElem&&n.selectedDateElem.focus():W(i),void 0!==n.hourElement&&void 0!==n.hourElement&&n.hourElement.focus(),n.config.closeOnSelect){var l="single"===n.config.mode&&!n.config.enableTime,c="range"===n.config.mode&&2===n.selectedDates.length&&!n.config.enableTime;(l||c)&&me()}$()}}n.parseDate=T({config:n.config,l10n:n.l10n}),n._handlers=[],n.pluginElements=[],n.loadedPlugins=[],n._bind=F,n._setHoursFromDate=S,n._positionCalendar=he,n.changeMonth=ee,n.changeYear=ie,n.clear=function(e,t){void 0===e&&(e=!0);void 0===t&&(t=!0);n.input.value="",void 0!==n.altInput&&(n.altInput.value="");void 0!==n.mobileInput&&(n.mobileInput.value="");n.selectedDates=[],n.latestSelectedDateObj=void 0,!0===t&&(n.currentYear=n._initialDate.getFullYear(),n.currentMonth=n._initialDate.getMonth());if(!0===n.config.enableTime){var i=E(n.config);I(i.hours,i.minutes,i.seconds)}n.redraw(),e&&xe("onChange")},n.close=function(){n.isOpen=!1,n.isMobile||(void 0!==n.calendarContainer&&n.calendarContainer.classList.remove("open"),void 0!==n._input&&n._input.classList.remove("active"));xe("onClose")},n.onMouseOver=le,n._createElement=p,n.createDay=q,n.destroy=function(){void 0!==n.config&&xe("onDestroy");for(var e=n._handlers.length;e--;)n._handlers[e].remove();if(n._handlers=[],n.mobileInput)n.mobileInput.parentNode&&n.mobileInput.parentNode.removeChild(n.mobileInput),n.mobileInput=void 0;else if(n.calendarContainer&&n.calendarContainer.parentNode)if(n.config.static&&n.calendarContainer.parentNode){var t=n.calendarContainer.parentNode;if(t.lastChild&&t.removeChild(t.lastChild),t.parentNode){for(;t.firstChild;)t.parentNode.insertBefore(t.firstChild,t);t.parentNode.removeChild(t)}}else n.calendarContainer.parentNode.removeChild(n.calendarContainer);n.altInput&&(n.input.type="text",n.altInput.parentNode&&n.altInput.parentNode.removeChild(n.altInput),delete n.altInput);n.input&&(n.input.type=n.input._type,n.input.classList.remove("flatpickr-input"),n.input.removeAttribute("readonly"));["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach((function(e){try{delete n[e]}catch(e){}}))},n.isEnabled=oe,n.jumpToDate=R,n.updateValue=Pe,n.open=function(e,t){void 0===t&&(t=n._positionElement);if(!0===n.isMobile){if(e){e.preventDefault();var i=b(e);i&&i.blur()}return void 0!==n.mobileInput&&(n.mobileInput.focus(),n.mobileInput.click()),void xe("onOpen")}if(n._input.disabled||n.config.inline)return;var o=n.isOpen;n.isOpen=!0,o||(n.calendarContainer.classList.add("open"),n._input.classList.add("active"),xe("onOpen"),he(t));!0===n.config.enableTime&&!0===n.config.noCalendar&&(!1!==n.config.allowInput||void 0!==e&&n.timeContainer.contains(e.relatedTarget)||setTimeout((function(){return n.hourElement.select()}),50))},n.redraw=pe,n.set=function(e,t){if(null!==e&&"object"==typeof e)for(var i in Object.assign(n.config,e),e)void 0!==ve[i]&&ve[i].forEach((function(e){return e()}));else n.config[e]=t,void 0!==ve[e]?ve[e].forEach((function(e){return e()})):r.indexOf(e)>-1&&(n.config[e]=f(t));n.redraw(),Pe(!0)},n.setDate=function(e,t,i){void 0===t&&(t=!1);void 0===i&&(i=n.config.dateFormat);if(0!==e&&!e||e instanceof Array&&0===e.length)return n.clear(t);be(e,i),n.latestSelectedDateObj=n.selectedDates[n.selectedDates.length-1],n.redraw(),R(void 0,t),S(),0===n.selectedDates.length&&n.clear(!1);Pe(t),t&&xe("onChange")},n.toggle=function(e){if(!0===n.isOpen)return n.close();n.open(e)};var ve={locale:[fe,Q],showMonths:[J,s,Z],minDate:[R],maxDate:[R],positionElement:[we],clickOpens:[function(){!0===n.config.clickOpens?(F(n._input,"focus",n.open),F(n._input,"click",n.open)):(n._input.removeEventListener("focus",n.open),n._input.removeEventListener("click",n.open))}]};function be(e,t){var i=[];if(e instanceof Array)i=e.map((function(e){return n.parseDate(e,t)}));else if(e instanceof Date||"number"==typeof e)i=[n.parseDate(e,t)];else if("string"==typeof e)switch(n.config.mode){case"single":case"time":i=[n.parseDate(e,t)];break;case"multiple":i=e.split(n.config.conjunction).map((function(e){return n.parseDate(e,t)}));break;case"range":i=e.split(n.l10n.rangeSeparator).map((function(e){return n.parseDate(e,t)}))}else n.config.errorHandler(new Error("Invalid date supplied: "+JSON.stringify(e)));n.selectedDates=n.config.allowInvalidPreload?i:i.filter((function(e){return e instanceof Date&&oe(e,!1)})),"range"===n.config.mode&&n.selectedDates.sort((function(e,t){return e.getTime()-t.getTime()}))}function ye(e){return e.slice().map((function(e){return"string"==typeof e||"number"==typeof e||e instanceof Date?n.parseDate(e,void 0,!0):e&&"object"==typeof e&&e.from&&e.to?{from:n.parseDate(e.from,void 0),to:n.parseDate(e.to,void 0)}:e})).filter((function(e){return e}))}function we(){n._positionElement=n.config.positionElement||n._input}function xe(e,t){if(void 0!==n.config){var i=n.config[e];if(void 0!==i&&i.length>0)for(var o=0;i[o]&&o<i.length;o++)i[o](n.selectedDates,n.input.value,n,t);"onChange"===e&&(n.input.dispatchEvent(_e("change")),n.input.dispatchEvent(_e("input")))}}function _e(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!0),t}function Se(e){for(var t=0;t<n.selectedDates.length;t++){var i=n.selectedDates[t];if(i instanceof Date&&0===P(i,e))return""+t}return!1}function Ce(){n.config.noCalendar||n.isMobile||!n.monthNav||(n.yearElements.forEach((function(e,t){var i=new Date(n.currentYear,n.currentMonth,1);i.setMonth(n.currentMonth+t),n.config.showMonths>1||"static"===n.config.monthSelectorType?n.monthElements[t].textContent=w(i.getMonth(),n.config.shorthandCurrentMonth,n.l10n)+" ":n.monthsDropdownContainer.value=i.getMonth().toString(),e.value=i.getFullYear().toString()})),n._hidePrevMonthArrow=void 0!==n.config.minDate&&(n.currentYear===n.config.minDate.getFullYear()?n.currentMonth<=n.config.minDate.getMonth():n.currentYear<n.config.minDate.getFullYear()),n._hideNextMonthArrow=void 0!==n.config.maxDate&&(n.currentYear===n.config.maxDate.getFullYear()?n.currentMonth+1>n.config.maxDate.getMonth():n.currentYear>n.config.maxDate.getFullYear()))}function Te(e){var t=e||(n.config.altInput?n.config.altFormat:n.config.dateFormat);return n.selectedDates.map((function(e){return n.formatDate(e,t)})).filter((function(e,t,i){return"range"!==n.config.mode||n.config.enableTime||i.indexOf(e)===t})).join("range"!==n.config.mode?n.config.conjunction:n.l10n.rangeSeparator)}function Pe(e){void 0===e&&(e=!0),void 0!==n.mobileInput&&n.mobileFormatStr&&(n.mobileInput.value=void 0!==n.latestSelectedDateObj?n.formatDate(n.latestSelectedDateObj,n.mobileFormatStr):""),n.input.value=Te(n.config.dateFormat),void 0!==n.altInput&&(n.altInput.value=Te(n.config.altFormat)),!1!==e&&xe("onValueUpdate")}function De(e){var t=b(e),i=n.prevMonthNav.contains(t),o=n.nextMonthNav.contains(t);i||o?ee(i?-1:1):n.yearElements.indexOf(t)>=0?t.select():t.classList.contains("arrowUp")?n.changeYear(n.currentYear+1):t.classList.contains("arrowDown")&&n.changeYear(n.currentYear-1)}return function(){n.element=n.input=e,n.isOpen=!1,function(){var i=["wrap","weekNumbers","allowInput","allowInvalidPreload","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],s=N(N({},JSON.parse(JSON.stringify(e.dataset||{}))),t),l={};n.config.parseDate=s.parseDate,n.config.formatDate=s.formatDate,Object.defineProperty(n.config,"enable",{get:function(){return n.config._enable},set:function(e){n.config._enable=ye(e)}}),Object.defineProperty(n.config,"disable",{get:function(){return n.config._disable},set:function(e){n.config._disable=ye(e)}});var c="time"===s.mode;if(!s.dateFormat&&(s.enableTime||c)){var u=j.defaultConfig.dateFormat||a.dateFormat;l.dateFormat=s.noCalendar||c?"H:i"+(s.enableSeconds?":S":""):u+" H:i"+(s.enableSeconds?":S":"")}if(s.altInput&&(s.enableTime||c)&&!s.altFormat){var d=j.defaultConfig.altFormat||a.altFormat;l.altFormat=s.noCalendar||c?"h:i"+(s.enableSeconds?":S K":" K"):d+" h:i"+(s.enableSeconds?":S":"")+" K"}Object.defineProperty(n.config,"minDate",{get:function(){return n.config._minDate},set:ue("min")}),Object.defineProperty(n.config,"maxDate",{get:function(){return n.config._maxDate},set:ue("max")});var h=function(e){return function(t){n.config["min"===e?"_minTime":"_maxTime"]=n.parseDate(t,"H:i:S")}};Object.defineProperty(n.config,"minTime",{get:function(){return n.config._minTime},set:h("min")}),Object.defineProperty(n.config,"maxTime",{get:function(){return n.config._maxTime},set:h("max")}),"time"===s.mode&&(n.config.noCalendar=!0,n.config.enableTime=!0);Object.assign(n.config,l,s);for(var p=0;p<i.length;p++)n.config[i[p]]=!0===n.config[i[p]]||"true"===n.config[i[p]];r.filter((function(e){return void 0!==n.config[e]})).forEach((function(e){n.config[e]=f(n.config[e]||[]).map(o)})),n.isMobile=!n.config.disableMobile&&!n.config.inline&&"single"===n.config.mode&&!n.config.disable.length&&!n.config.enable&&!n.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);for(p=0;p<n.config.plugins.length;p++){var m=n.config.plugins[p](n)||{};for(var g in m)r.indexOf(g)>-1?n.config[g]=f(m[g]).map(o).concat(n.config[g]):void 0===s[g]&&(n.config[g]=m[g])}s.altInputClass||(n.config.altInputClass=de().className+" "+n.config.altInputClass);xe("onParseConfig")}(),fe(),function(){if(n.input=de(),!n.input)return void n.config.errorHandler(new Error("Invalid input element specified"));n.input._type=n.input.type,n.input.type="text",n.input.classList.add("flatpickr-input"),n._input=n.input,n.config.altInput&&(n.altInput=p(n.input.nodeName,n.config.altInputClass),n._input=n.altInput,n.altInput.placeholder=n.input.placeholder,n.altInput.disabled=n.input.disabled,n.altInput.required=n.input.required,n.altInput.tabIndex=n.input.tabIndex,n.altInput.type="text",n.input.setAttribute("type","hidden"),!n.config.static&&n.input.parentNode&&n.input.parentNode.insertBefore(n.altInput,n.input.nextSibling));n.config.allowInput||n._input.setAttribute("readonly","readonly");we()}(),function(){n.selectedDates=[],n.now=n.parseDate(n.config.now)||new Date;var e=n.config.defaultDate||("INPUT"!==n.input.nodeName&&"TEXTAREA"!==n.input.nodeName||!n.input.placeholder||n.input.value!==n.input.placeholder?n.input.value:null);e&&be(e,n.config.dateFormat);n._initialDate=n.selectedDates.length>0?n.selectedDates[0]:n.config.minDate&&n.config.minDate.getTime()>n.now.getTime()?n.config.minDate:n.config.maxDate&&n.config.maxDate.getTime()<n.now.getTime()?n.config.maxDate:n.now,n.currentYear=n._initialDate.getFullYear(),n.currentMonth=n._initialDate.getMonth(),n.selectedDates.length>0&&(n.latestSelectedDateObj=n.selectedDates[0]);void 0!==n.config.minTime&&(n.config.minTime=n.parseDate(n.config.minTime,"H:i"));void 0!==n.config.maxTime&&(n.config.maxTime=n.parseDate(n.config.maxTime,"H:i"));n.minDateHasTime=!!n.config.minDate&&(n.config.minDate.getHours()>0||n.config.minDate.getMinutes()>0||n.config.minDate.getSeconds()>0),n.maxDateHasTime=!!n.config.maxDate&&(n.config.maxDate.getHours()>0||n.config.maxDate.getMinutes()>0||n.config.maxDate.getSeconds()>0)}(),n.utils={getDaysInMonth:function(e,t){return void 0===e&&(e=n.currentMonth),void 0===t&&(t=n.currentYear),1===e&&(t%4==0&&t%100!=0||t%400==0)?29:n.l10n.daysInMonth[e]}},n.isMobile||function(){var e=window.document.createDocumentFragment();if(n.calendarContainer=p("div","flatpickr-calendar"),n.calendarContainer.tabIndex=-1,!n.config.noCalendar){if(e.appendChild((n.monthNav=p("div","flatpickr-months"),n.yearElements=[],n.monthElements=[],n.prevMonthNav=p("span","flatpickr-prev-month"),n.prevMonthNav.innerHTML=n.config.prevArrow,n.nextMonthNav=p("span","flatpickr-next-month"),n.nextMonthNav.innerHTML=n.config.nextArrow,J(),Object.defineProperty(n,"_hidePrevMonthArrow",{get:function(){return n.__hidePrevMonthArrow},set:function(e){n.__hidePrevMonthArrow!==e&&(h(n.prevMonthNav,"flatpickr-disabled",e),n.__hidePrevMonthArrow=e)}}),Object.defineProperty(n,"_hideNextMonthArrow",{get:function(){return n.__hideNextMonthArrow},set:function(e){n.__hideNextMonthArrow!==e&&(h(n.nextMonthNav,"flatpickr-disabled",e),n.__hideNextMonthArrow=e)}}),n.currentYearElement=n.yearElements[0],Ce(),n.monthNav)),n.innerContainer=p("div","flatpickr-innerContainer"),n.config.weekNumbers){var t=function(){n.calendarContainer.classList.add("hasWeeks");var e=p("div","flatpickr-weekwrapper");e.appendChild(p("span","flatpickr-weekday",n.l10n.weekAbbreviation));var t=p("div","flatpickr-weeks");return e.appendChild(t),{weekWrapper:e,weekNumbers:t}}(),i=t.weekWrapper,o=t.weekNumbers;n.innerContainer.appendChild(i),n.weekNumbers=o,n.weekWrapper=i}n.rContainer=p("div","flatpickr-rContainer"),n.rContainer.appendChild(Z()),n.daysContainer||(n.daysContainer=p("div","flatpickr-days"),n.daysContainer.tabIndex=-1),U(),n.rContainer.appendChild(n.daysContainer),n.innerContainer.appendChild(n.rContainer),e.appendChild(n.innerContainer)}n.config.enableTime&&e.appendChild(function(){n.calendarContainer.classList.add("hasTime"),n.config.noCalendar&&n.calendarContainer.classList.add("noCalendar");var e=E(n.config);n.timeContainer=p("div","flatpickr-time"),n.timeContainer.tabIndex=-1;var t=p("span","flatpickr-time-separator",":"),i=v("flatpickr-hour",{"aria-label":n.l10n.hourAriaLabel});n.hourElement=i.getElementsByTagName("input")[0];var o=v("flatpickr-minute",{"aria-label":n.l10n.minuteAriaLabel});n.minuteElement=o.getElementsByTagName("input")[0],n.hourElement.tabIndex=n.minuteElement.tabIndex=-1,n.hourElement.value=c(n.latestSelectedDateObj?n.latestSelectedDateObj.getHours():n.config.time_24hr?e.hours:function(e){switch(e%24){case 0:case 12:return 12;default:return e%12}}(e.hours)),n.minuteElement.value=c(n.latestSelectedDateObj?n.latestSelectedDateObj.getMinutes():e.minutes),n.hourElement.setAttribute("step",n.config.hourIncrement.toString()),n.minuteElement.setAttribute("step",n.config.minuteIncrement.toString()),n.hourElement.setAttribute("min",n.config.time_24hr?"0":"1"),n.hourElement.setAttribute("max",n.config.time_24hr?"23":"12"),n.hourElement.setAttribute("maxlength","2"),n.minuteElement.setAttribute("min","0"),n.minuteElement.setAttribute("max","59"),n.minuteElement.setAttribute("maxlength","2"),n.timeContainer.appendChild(i),n.timeContainer.appendChild(t),n.timeContainer.appendChild(o),n.config.time_24hr&&n.timeContainer.classList.add("time24hr");if(n.config.enableSeconds){n.timeContainer.classList.add("hasSeconds");var r=v("flatpickr-second");n.secondElement=r.getElementsByTagName("input")[0],n.secondElement.value=c(n.latestSelectedDateObj?n.latestSelectedDateObj.getSeconds():e.seconds),n.secondElement.setAttribute("step",n.minuteElement.getAttribute("step")),n.secondElement.setAttribute("min","0"),n.secondElement.setAttribute("max","59"),n.secondElement.setAttribute("maxlength","2"),n.timeContainer.appendChild(p("span","flatpickr-time-separator",":")),n.timeContainer.appendChild(r)}n.config.time_24hr||(n.amPM=p("span","flatpickr-am-pm",n.l10n.amPM[u((n.latestSelectedDateObj?n.hourElement.value:n.config.defaultHour)>11)]),n.amPM.title=n.l10n.toggleTitle,n.amPM.tabIndex=-1,n.timeContainer.appendChild(n.amPM));return n.timeContainer}());h(n.calendarContainer,"rangeMode","range"===n.config.mode),h(n.calendarContainer,"animate",!0===n.config.animate),h(n.calendarContainer,"multiMonth",n.config.showMonths>1),n.calendarContainer.appendChild(e);var r=void 0!==n.config.appendTo&&void 0!==n.config.appendTo.nodeType;if((n.config.inline||n.config.static)&&(n.calendarContainer.classList.add(n.config.inline?"inline":"static"),n.config.inline&&(!r&&n.element.parentNode?n.element.parentNode.insertBefore(n.calendarContainer,n._input.nextSibling):void 0!==n.config.appendTo&&n.config.appendTo.appendChild(n.calendarContainer)),n.config.static)){var a=p("div","flatpickr-wrapper");n.element.parentNode&&n.element.parentNode.insertBefore(a,n.element),a.appendChild(n.element),n.altInput&&a.appendChild(n.altInput),a.appendChild(n.calendarContainer)}n.config.static||n.config.inline||(void 0!==n.config.appendTo?n.config.appendTo:window.document.body).appendChild(n.calendarContainer)}(),function(){n.config.wrap&&["open","close","toggle","clear"].forEach((function(e){Array.prototype.forEach.call(n.element.querySelectorAll("[data-"+e+"]"),(function(t){return F(t,"click",n[e])}))}));if(n.isMobile)return void function(){var e=n.config.enableTime?n.config.noCalendar?"time":"datetime-local":"date";n.mobileInput=p("input",n.input.className+" flatpickr-mobile"),n.mobileInput.tabIndex=1,n.mobileInput.type=e,n.mobileInput.disabled=n.input.disabled,n.mobileInput.required=n.input.required,n.mobileInput.placeholder=n.input.placeholder,n.mobileFormatStr="datetime-local"===e?"Y-m-d\\TH:i:S":"date"===e?"Y-m-d":"H:i:S",n.selectedDates.length>0&&(n.mobileInput.defaultValue=n.mobileInput.value=n.formatDate(n.selectedDates[0],n.mobileFormatStr));n.config.minDate&&(n.mobileInput.min=n.formatDate(n.config.minDate,"Y-m-d"));n.config.maxDate&&(n.mobileInput.max=n.formatDate(n.config.maxDate,"Y-m-d"));n.input.getAttribute("step")&&(n.mobileInput.step=String(n.input.getAttribute("step")));n.input.type="hidden",void 0!==n.altInput&&(n.altInput.type="hidden");try{n.input.parentNode&&n.input.parentNode.insertBefore(n.mobileInput,n.input.nextSibling)}catch(e){}F(n.mobileInput,"change",(function(e){n.setDate(b(e).value,!1,n.mobileFormatStr),xe("onChange"),xe("onClose")}))}();var e=d(ce,50);n._debouncedChange=d($,O),n.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&F(n.daysContainer,"mouseover",(function(e){"range"===n.config.mode&&le(b(e))}));F(n._input,"keydown",se),void 0!==n.calendarContainer&&F(n.calendarContainer,"keydown",se);n.config.inline||n.config.static||F(window,"resize",e);void 0!==window.ontouchstart?F(window.document,"touchstart",ne):F(window.document,"mousedown",ne);F(window.document,"focus",ne,{capture:!0}),!0===n.config.clickOpens&&(F(n._input,"focus",n.open),F(n._input,"click",n.open));void 0!==n.daysContainer&&(F(n.monthNav,"click",De),F(n.monthNav,["keyup","increment"],H),F(n.daysContainer,"click",ge));if(void 0!==n.timeContainer&&void 0!==n.minuteElement&&void 0!==n.hourElement){var t=function(e){return b(e).select()};F(n.timeContainer,["increment"],y),F(n.timeContainer,"blur",y,{capture:!0}),F(n.timeContainer,"click",z),F([n.hourElement,n.minuteElement],["focus","click"],t),void 0!==n.secondElement&&F(n.secondElement,"focus",(function(){return n.secondElement&&n.secondElement.select()})),void 0!==n.amPM&&F(n.amPM,"click",(function(e){y(e)}))}n.config.allowInput&&F(n._input,"blur",ae)}(),(n.selectedDates.length||n.config.noCalendar)&&(n.config.enableTime&&S(n.config.noCalendar?n.latestSelectedDateObj:void 0),Pe(!1)),s();var i=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!n.isMobile&&i&&he(),xe("onReady")}(),n}function F(e,t){for(var n=Array.prototype.slice.call(e).filter((function(e){return e instanceof HTMLElement})),i=[],o=0;o<n.length;o++){var r=n[o];try{if(null!==r.getAttribute("data-fp-omit"))continue;void 0!==r._flatpickr&&(r._flatpickr.destroy(),r._flatpickr=void 0),r._flatpickr=H(r,t||{}),i.push(r._flatpickr)}catch(e){console.error(e)}}return 1===i.length?i[0]:i}"undefined"!=typeof HTMLElement&&"undefined"!=typeof HTMLCollection&&"undefined"!=typeof NodeList&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(e){return F(this,e)},HTMLElement.prototype.flatpickr=function(e){return F([this],e)});var j=function(e,t){return"string"==typeof e?F(window.document.querySelectorAll(e),t):e instanceof Node?F([e],t):F(e,t)};j.defaultConfig={},j.l10ns={en:N({},l),default:N({},l)},j.localize=function(e){j.l10ns.default=N(N({},j.l10ns.default),e)},j.setDefaults=function(e){j.defaultConfig=N(N({},j.defaultConfig),e)},j.parseDate=T({}),j.formatDate=C({}),j.compareDates=P,void 0!==I&&void 0!==I.fn&&(I.fn.flatpickr=function(e){return F(this,e)}),Date.prototype.fp_incr=function(e){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+("string"==typeof e?parseInt(e,10):e))},"undefined"!=typeof window&&(window.flatpickr=j);var $=n(4249);$('form input[name*="datepicker"], .datepicker').flatpickr({dateFormat:"d-m-Y"}),$(".users.filters .filter.select select").on("change.filters",(function(){$(this).closest("form").submit()})),new class{constructor(e=[]){localStorage["EXT:CustomFonts"]=!1,e.length&&"Loaded"!==localStorage["EXT:CustomFonts"]&&(localStorage["EXT:CustomFonts"]="Available",this.fonts=e,this.init(e))}init(){this.fonts=this.fonts.map((e=>new(o())(e))),Promise.all([this.fonts.map((e=>e.load()))]).then((function(){document.documentElement.classList.add("fontsLoaded"),localStorage["EXT:CustomFonts"]="Loaded"}))}}(["ITOPF"])}()}();