1(self.webpackChunkstratis_starter_core=self.webpackChunkstratis_starter_core||[]).push([[177,176,94],{4155:function(){!function(t,s,r,u){if(t.console=t.console||{info:function(t){}},r)if(r.fn.fancybox)console.info("fancyBox already initialized");else{var p,v,y,w,x={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> / <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:r.noop,beforeLoad:r.noop,afterLoad:r.noop,beforeShow:r.noop,afterShow:r.noop,beforeClose:r.noop,afterClose:r.noop,onActivate:r.noop,onDeactivate:r.noop,clickContent:function(t,s){return"image"===t.type&&"zoom"},clickSlide:"close",clickOutside:"close",dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1,mobile:{preventCaptionOverlap:!1,idleTime:!1,clickContent:function(t,s){return"image"===t.type&&"toggleControls"},clickSlide:function(t,s){return"image"===t.type?"toggleControls":"close"},dblclickContent:function(t,s){return"image"===t.type&&"zoom"},dblclickSlide:function(t,s){return"image"===t.type&&"zoom"}},lang:"en",i18n:{en:{CLOSE:"Close",NEXT:"Next",PREV:"Previous",ERROR:"The requested content cannot be loaded. <br/> Please try again later.",PLAY_START:"Start slideshow",PLAY_STOP:"Pause slideshow",FULL_SCREEN:"Full screen",THUMBS:"Thumbnails",DOWNLOAD:"Download",SHARE:"Share",ZOOM:"Zoom"},de:{CLOSE:"Schließen",NEXT:"Weiter",PREV:"Zurück",ERROR:"Die angeforderten Daten konnten nicht geladen werden. <br/> Bitte versuchen Sie es später nochmal.",PLAY_START:"Diaschau starten",PLAY_STOP:"Diaschau beenden",FULL_SCREEN:"Vollbild",THUMBS:"Vorschaub
1ilder",DOWNLOAD:"Herunterladen",SHARE:"Teilen",ZOOM:"Vergrößern"}}},E=r(t),S=r(s),C=0,P=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||function(s){return t.setTimeout(s,1e3/60)},T=t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.oCancelAnimationFrame||function(s){t.clearTimeout(s)},L=function(){var t,r=s.createElement("fakeelement"),p={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(t in p)if(r.style[t]!==u)return p[t];return"transitionend"}(),forceRedraw=function(t){return t&&t.length&&t[0].offsetHeight},mergeOpts=function(t,s){var u=r.extend(!0,{},t,s);return r.each(s,(function(t,s){r.isArray(s)&&(u[t]=s)})),u},FancyBox=function(t,s,u){var p=this;p.opts=mergeOpts({index:u},r.fancybox.defaults),r.isPlainObject(s)&&(p.opts=mergeOpts(p.opts,s)),r.fancybox.isMobile&&(p.opts=mergeOpts(p.opts,p.opts.mobile)),p.id=p.opts.id||++C,p.currIndex=parseInt(p.opts.index,10)||0,p.prevIndex=null,p.prevPos=null,p.currPos=0,p.firstRun=!0,p.group=[],p.slides={},p.addContent(t),p.group.length&&p.init()};r.extend(FancyBox.prototype,{init:function(){var u,p,v=this,y=v.group[v.currIndex].opts;y.closeExisting&&r.fancybox.close(!0),r("body").addClass("fancybox-active"),!r.fancybox.getInstance()&&!1!==y.hideScrollbar&&!r.fancybox.isMobile&&s.body.scrollHeight>t.innerHeight&&(r("head").append('<style id="fancybox-style-noscroll" type="text/css">.compensate-for-scrollbar{margin-right:'+(t.innerWidth-s.documentElement.clientWidth)+"px;}</style>"),r("body").addClass("compensate-for-scrollbar")),p="",r.each(y.buttons,(function(t,s){p+=y.btnTpl[s]||""})),u=r(v.translate(v,y.baseTpl.replace("{{buttons}}",p).replace("{{arrows}}",y.btnTpl.arrowLeft+y.btnTpl.arrowRight))).attr("id","fancybox-container-"+v.id).addClass(y.baseClass).data("FancyBox",v).appendTo(y.parentEl),v.$refs={container:u},["bg","inner","infobar","toolbar","stage","caption","navigation"].forEach((function(t){v.$refs[t]=u.find(".fancybox-"+t)})),v.trigger("onInit"),v.activate(),v.jumpTo(v.currIndex)},translate:function(t,s){var r=t.opts.i18n[t.opts.lang]||t.opts.i18n.en;return s.replace(/\{\{(\w+)\}\}/g,(function(t,s){return r[s]===u?t:r[s]}))},addContent:function(t){var s,p=this,v=r.makeArray(t);r.each(v,(function(t,s){var v,y,w,x,E,S={},C={};r.isPlainObject(s)?(S=s,C=s.opts||s):"object"===r.type(s)&&r(s).length?(C=(v=r(s)).data()||{},(C=r.extend(!0,{},C,C.options)).$orig=v,S.src=p.opts.src||C.src||v.attr("href"),S.type||S.src||(S.type="inline",S.src=s)):S={type:"html",src:s+""},S.opts=r.extend(!0,{},p.opts,C),r.isArray(C.buttons)&&(S.opts.buttons=C.buttons),r.fancybox.isMobile&&S.opts.mobile&&(S.opts=mergeOpts(S.opts,S.opts.mobile)),y=S.type||S.opts.type,x=S.src||"",!y&&x&&((w=x.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i))?(y="video",S.opts.video.format||(S.opts.video.format="video/"+("ogv"===w[1]?"ogg":w[1]))):x.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?y="image":x.match(/\.(pdf)((\?|#).*)?$/i)?(y="iframe",S=r.extend(!0,S,{contentType:"pdf",opts:{iframe:{preload:!1}}})):"#"===x.charAt(0)&&(y="inline")),y?S.type=y:p.trigger("objectNeedsType",S),S.contentType||(S.contentType=r.inArray(S.type,["html","inline","ajax"])>
1-1?"html":S.type),S.index=p.group.length,"auto"==S.opts.smallBtn&&(S.opts.smallBtn=r.inArray(S.type,["html","inline","ajax"])>-1),"auto"===S.opts.toolbar&&(S.opts.toolbar=!S.opts.smallBtn),S.$thumb=S.opts.$thumb||null,S.opts.$trigger&&S.index===p.opts.index&&(S.$thumb=S.opts.$trigger.find("img:first"),S.$thumb.length&&(S.opts.$orig=S.opts.$trigger)),S.$thumb&&S.$thumb.length||!S.opts.$orig||(S.$thumb=S.opts.$orig.find("img:first")),S.$thumb&&!S.$thumb.length&&(S.$thumb=null),S.thumb=S.opts.thumb||(S.$thumb?S.$thumb[0].src:null),"function"===r.type(S.opts.caption)&&(S.opts.caption=S.opts.caption.apply(s,[p,S])),"function"===r.type(p.opts.caption)&&(S.opts.caption=p.opts.caption.apply(s,[p,S])),S.opts.caption instanceof r||(S.opts.caption=S.opts.caption===u?"":S.opts.caption+""),"ajax"===S.type&&(E=x.split(/\s+/,2)).length>1&&(S.src=E.shift(),S.opts.filter=E.shift()),S.opts.modal&&(S.opts=r.extend(!0,S.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})),p.group.push(S)})),Object.keys(p.slides).length&&(p.updateControls(),(s=p.Thumbs)&&s.isActive&&(s.create(),s.focus()))},addEvents:function(){var s=this;s.removeEvents(),s.$refs.container.on("click.fb-close","[data-fancybox-close]",(function(t){t.stopPropagation(),t.preventDefault(),s.close(t)})).on("touchstart.fb-prev click.fb-prev","[data-fancybox-prev]",(function(t){t.stopPropagation(),t.preventDefault(),s.previous()})).on("touchstart.fb-next click.fb-next","[data-fancybox-next]",(function(t){t.stopPropagation(),t.preventDefault(),s.next()})).on("click.fb","[data-fancybox-zoom]",(function(t){s[s.isScaledDown()?"scaleToActual":"scaleToFit"]()})),E.on("orientationchange.fb resize.fb",(function(t){t&&t.originalEvent&&"resize"===t.originalEvent.type?(s.requestId&&T(s.requestId),s.requestId=P((function(){s.update(t)}))):(s.current&&"iframe"===s.current.type&&s.$refs.stage.hide(),setTimeout((function(){s.$refs.stage.show(),s.update(t)}),r.fancybox.isMobile?600:250))})),S.on("keydown.fb",(function(t){var u=(r.fancybox?r.fancybox.getInstance():null).current,p=t.keyCode||t.which;if(9!=p){if(!(!u.opts.keyboard||t.ctrlKey||t.altKey||t.shiftKey||r(t.target).is("input,textarea,video,audio,select")))return 8===p||27===p?(t.preventDefault(),void s.close(t)):37===p||38===p?(t.preventDefault(),void s.previous()):39===p||40===p?(t.preventDefault(),void s.next()):void s.trigger("afterKeydown",t,p)}else u.opts.trapFocus&&s.focus(t)})),s.group[s.currIndex].opts.idleTime&&(s.idleSecondsCounter=0,S.on("mousemove.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle",(function(t){s.idleSecondsCounter=0,s.isIdle&&s.showControls(),s.isIdle=!1})),s.idleInterval=t.setInterval((function(){s.idleSecondsCounter++,s.idleSecondsCounter>=s.group[s.currIndex].opts.idleTime&&!s.isDragging&&(s.isIdle=!0,s.idleSecondsCounter=0,s.hideControls())}),1e3))},removeEvents:function(){var s=this;E.off("orientationchange.fb resize.fb"),S.off("keydown.fb .fb-idle"),this.$refs.container.off(".fb-close .fb-prev .fb-next"),s.idleInterval&&(t.clearInterval(s.idleInterval),s.idleInterval=null)},previous:function(t){return this.jumpTo(this.currPos-1,t)},next:function(t){return this.jumpTo(this.currPos+1,t)},jumpTo:function(t,s){var p,v,y,w,x,E,S,C,P,T=this,L=T.group.length;if(!(T.isDragging||T.isClosing||T.isAnimating&&T.firstRun)){if(t=parseInt(t,10),!(y=T.current?T.current.opts.loop:T.opts.loop)&&(t<0||t>=L))return!1;if(p=T.firstRun=!Object.keys(T.slides).length,x=T.current,T.prevIndex=T.currIndex,T.prevPos=T.currPos,w=T.createSlide(t),L>1&&((y||w.index<L-1)&&T.createSlide(t+1),(y||w.index>0)&&T.createSlide(t-1)),T.current=w,T.currIndex=w.index,T.currPos=w.pos,T.trigger("beforeShow",p),T.updateControls(),w.forcedDuration=u,r.isNumeric(s)?w.forcedDuration=s:s=w.opts[p?"animationDuration":"transitionDuration"],s=parseInt(s,10),v=T.isMoved(w),w.$slide.addClass("fancybox-slide--current"),p)return w.opts.animationEffect&&s&&T.$refs.container.css("transition-duration",s+"ms"),T.$refs.container.addClass("fancybox-is-open").trigger("focus"),T.loadSlide(w),void T.preload("image");E=r.fancybox.getTranslate(x.$slide),S=r.fancybox.getTranslate(T.$refs.stage),r.each(T.slides,(function(t,s){r.fancybox.stop(s.$slide,!0)})),x.pos!==w.pos&&(x.isComplete=!1),x.$slide.removeClass("fancybox-slide--complete fancybox-slide--current"),v?(P=E.left-(x.pos*E.width+x.pos*x.opts.gutter),r.each(T.slides,(function(t,u){u.$slide.removeClass("fancybox-animated").removeClass((function(t,s){return(s.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")}));var p=u.pos*E.width+u.pos*u.opts.gutter;r.fancybox.setTranslate(u.$slide,{top:0,left:p-S.left+P}),u.pos!==w.pos&&u.$slide.addClass("fancybox-slide--"+(u.pos>w.pos?"next":"previous")),forceRedraw(u.$slide),r.fancybox.animate(u.$slide,{top:0,left:(u.pos-w.pos)*E.width+(u.pos-w.pos)*u.opts.gutter},s,(function(){u.$slide.css({transform:"",opacity:""}).removeClass("fancybox-slide--next fancybox-slide--previous"),u.pos===T.currPos&&T.complete()}
1))}))):s&&w.opts.transitionEffect&&(C="fancybox-animated fancybox-fx-"+w.opts.transitionEffect,x.$slide.addClass("fancybox-slide--"+(x.pos>w.pos?"next":"previous")),r.fancybox.animate(x.$slide,C,s,(function(){x.$slide.removeClass(C).removeClass("fancybox-slide--next fancybox-slide--previous")}),!1)),w.isLoaded?T.revealContent(w):T.loadSlide(w),T.preload("image")}},createSlide:function(t){var s,u,p=this;return u=(u=t%p.group.length)<0?p.group.length+u:u,!p.slides[t]&&p.group[u]&&(s=r('<div class="fancybox-slide"></div>').appendTo(p.$refs.stage),p.slides[t]=r.extend(!0,{},p.group[u],{pos:t,$slide:s,isLoaded:!1}),p.updateSlide(p.slides[t])),p.slides[t]},scaleToActual:function(t,s,p){var v,y,w,x,E,S=this,C=S.current,P=C.$content,T=r.fancybox.getTranslate(C.$slide).width,L=r.fancybox.getTranslate(C.$slide).height,A=C.width,O=C.height;S.isAnimating||S.isMoved()||!P||"image"!=C.type||!C.isLoaded||C.hasError||(S.isAnimating=!0,r.fancybox.stop(P),t=t===u?.5*T:t,s=s===u?.5*L:s,(v=r.fancybox.getTranslate(P)).top-=r.fancybox.getTranslate(C.$slide).top,v.left-=r.fancybox.getTranslate(C.$slide).left,x=A/v.width,E=O/v.height,y=.5*T-.5*A,w=.5*L-.5*O,A>T&&((y=v.left*x-(t*x-t))>0&&(y=0),y<T-A&&(y=T-A)),O>L&&((w=v.top*E-(s*E-s))>0&&(w=0),w<L-O&&(w=L-O)),S.updateCursor(A,O),r.fancybox.animate(P,{top:w,left:y,scaleX:x,scaleY:E},p||366,(function(){S.isAnimating=!1})),S.SlideShow&&S.SlideShow.isActive&&S.SlideShow.stop())},scaleToFit:function(t){var s,u=this,p=u.current,v=p.$content;u.isAnimating||u.isMoved()||!v||"image"!=p.type||!p.isLoaded||p.hasError||(u.isAnimating=!0,r.fancybox.stop(v),s=u.getFitPos(p),u.updateCursor(s.width,s.height),r.fancybox.animate(v,{top:s.top,left:s.left,scaleX:s.width/v.width(),scaleY:s.height/v.height()},t||366,(function(){u.isAnimating=!1})))},getFitPos:function(t){var s,u,p,v,y=t.$content,w=t.$slide,x=t.width||t.opts.width,E=t.height||t.opts.height,S={};return!!(t.isLoaded&&y&&y.length)&&(s=r.fancybox.getTranslate(this.$refs.stage).width,u=r.fancybox.getTranslate(this.$refs.stage).height,s-=parseFloat(w.css("paddingLeft"))+parseFloat(w.css("paddingRight"))+parseFloat(y.css("marginLeft"))+parseFloat(y.css("marginRight")),u-=parseFloat(w.css("paddingTop"))+parseFloat(w.css("paddingBottom"))+parseFloat(y.css("marginTop"))+parseFloat(y.css("marginBottom")),x&&E||(x=s,E=u),(x*=p=Math.min(1,s/x,u/E))>s-.5&&(x=s),(E*=p)>u-.5&&(E=u),"image"===t.type?(S.top=Math.floor(.5*(u-E))+parseFloat(w.css("paddingTop")),S.left=Math.floor(.5*(s-x))+parseFloat(w.css("paddingLeft"))):"video"===t.contentType&&(E>x/(v=t.opts.width&&t.opts.height?x/E:t.opts.ratio||16/9)?E=x/v:x>E*v&&(x=E*v)),S.width=x,S.height=E,S)},update:function(t){var s=this;r.each(s.slides,(function(r,u){s.updateSlide(u,t)}))},updateSlide:function(t,s){var u=this,p=t&&t.$content,v=t.width||t.opts.width,y=t.height||t.opts.height,w=t.$slide;u.adjustCaption(t),p&&(v||y||"video"===t.contentType)&&!t.hasError&&(r.fancybox.stop(p),r.fancybox.setTranslate(p,u.getFitPos(t)),t.pos===u.currPos&&(u.isAnimating=!1,u.updateCursor())),u.adjustLayout(t),w.length&&(w.trigger("refresh"),t.pos===u.currPos&&u.$refs.toolbar.add(u.$refs.navigation.find(".fancybox-button--arrow_right")).toggleClass("compensate-for-scrollbar",w.get(0).scrollHeight>w.get(0).clientHeight)),u.trigger("onUpdate",t,s)},centerSlide:function(t){var s=this,p=s.current,v=p.$slide;!s.isClosing&&p&&(v.siblings().css({transform:"",opacity:""}),v.parent().children().removeClass("fancybox-slide--previous fancybox-slide--next"),r.fancybox.animate(v,{top:0,left:0,opacity:1},t===u?0:t,(function(){v.css({transform:"",opacity:""}),p.isComplete||s.complete()}),!1))},isMoved:function(t){var s,u,p=t||this.current;return!!p&&(u=r.fancybox.getTranslate(this.$refs.stage),s=r.fancybox.getTranslate(p.$slide),!p.$slide.hasClass("fancybox-animated")&&(Math.abs(s.top-u.top)>.5||Math.abs(s.left-u.left)>.5))},updateCursor:function(t,s){var u,p,v=this,y=v.current,w=v.$refs.container;y&&!v.isClosing&&v.Guestures&&(w.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-zoomOut fancybox-can-swipe fancybox-can-pan"),p=!!(u=v.canPan(t,s))||v.isZoomable(),w.toggleClass("fancybox-is-zoomable",p),r("[data-fancybox-zoom]").prop("disabled",!p),u?w.addClass("fancybox-can-pan"):p&&("zoom"===y.opts.clickContent||r.isFunction(y.opts.clickContent)&&"zoom"==y.opts.clickContent(y))?w.addClass("fancybox-can-zoomIn"):y.opts.touch&&(y.opts.touch.vertical||v.group.length>1)&&"video"!==y.contentType&&w.addClass("fancybox-can-swipe"))},isZoomable:function(){var t,s=this,r=s.current;if(r&&!s.isClosing&&"image"===r.type&&!r.hasError){if(!r.isLoaded)return!0;
1if((t=s.getFitPos(r))&&(r.width>t.width||r.height>t.height))return!0}return!1},isScaledDown:function(t,s){var p=!1,v=this.current,y=v.$content;return t!==u&&s!==u?p=t<v.width&&s<v.height:y&&(p=(p=r.fancybox.getTranslate(y)).width<v.width&&p.height<v.height),p},canPan:function(t,s){var p=this.current,v=null,y=!1;return"image"===p.type&&(p.isComplete||t&&s)&&!p.hasError&&(y=this.getFitPos(p),t!==u&&s!==u?v={width:t,height:s}:p.isComplete&&(v=r.fancybox.getTranslate(p.$content)),v&&y&&(y=Math.abs(v.width-y.width)>1.5||Math.abs(v.height-y.height)>1.5)),y},loadSlide:function(t){var s,u,p,v=this;if(!t.isLoading&&!t.isLoaded){if(t.isLoading=!0,!1===v.trigger("beforeLoad",t))return t.isLoading=!1,!1;switch(s=t.type,(u=t.$slide).off("refresh").trigger("onReset").addClass(t.opts.slideClass),s){case"image":v.setImage(t);break;case"iframe":v.setIframe(t);break;case"html":v.setContent(t,t.src||t.content);break;case"video":v.setContent(t,t.opts.video.tpl.replace(/\{\{src\}\}/gi,t.src).replace("{{format}}",t.opts.videoFormat||t.opts.video.format||"").replace("{{poster}}",t.thumb||""));break;case"inline":r(t.src).length?v.setContent(t,r(t.src)):v.setError(t);break;case"ajax":v.showLoading(t),p=r.ajax(r.extend({},t.opts.ajax.settings,{url:t.src,success:function(s,r){"success"===r&&v.setContent(t,s)},error:function(s,r){s&&"abort"!==r&&v.setError(t)}})),u.one("onReset",(function(){p.abort()}));break;default:v.setError(t)}return!0}},setImage:function(t){var u,p=this;setTimeout((function(){var s=t.$image;p.isClosing||!t.isLoading||s&&s.length&&s[0].complete||t.hasError||p.showLoading(t)}),50),p.checkSrcset(t),t.$content=r('<div class="fancybox-content"></div>').addClass("fancybox-is-hidden").appendTo(t.$slide.addClass("fancybox-slide--image")),!1!==t.opts.preload&&t.opts.width&&t.opts.height&&t.thumb&&(t.width=t.opts.width,t.height=t.opts.height,(u=s.createElement("img")).onerror=function(){r(this).remove(),t.$ghost=null},u.onload=function(){p.afterLoad(t)},t.$ghost=r(u).addClass("fancybox-image").appendTo(t.$content).attr("src",t.thumb)),p.setBigImage(t)},checkSrcset:function(s){var r,u,p,v,y=s.opts.srcset||s.opts.image.srcset;if(y){p=t.devicePixelRatio||1,v=t.innerWidth*p,u=y.split(",").map((function(t){var s={};return t.trim().split(/\s+/).forEach((function(t,r){var u=parseInt(t.substring(0,t.length-1),10);if(0===r)return s.url=t;u&&(s.value=u,s.postfix=t[t.length-1])})),s})),u.sort((function(t,s){return t.value-s.value}));for(var w=0;w<u.length;w++){var x=u[w];if("w"===x.postfix&&x.value>=v||"x"===x.postfix&&x.value>=p){r=x;break}}!r&&u.length&&(r=u[u.length-1]),r&&(s.src=r.url,s.width&&s.height&&"w"==r.postfix&&(s.height=s.width/s.height*r.value,s.width=r.value),s.opts.srcset=y)}},setBigImage:function(t){var u=this,p=s.createElement("img"),v=r(p);t.$image=v.one("error",(function(){u.setError(t)})).one("load",(function(){var s;t.$ghost||(u.resolveImageSlideSize(t,this.naturalWidth,this.naturalHeight),u.afterLoad(t)),u.isClosing||(t.opts.srcset&&((s=t.opts.sizes)&&"auto"!==s||(s=(t.width/t.height>1&&E.width()/E.height()>1?"100":Math.round(t.width/t.height*100))+"vw"),v.attr("sizes",s).attr("srcset",t.opts.srcset)),t.$ghost&&setTimeout((function(){t.$ghost&&!u.isClosing&&t.$ghost.hide()}),Math.min(300,Math.max(1e3,t.height/1600))),u.hideLoading(t))})).addClass("fancybox-image").attr("src",t.src).appendTo(t.$content),(p.complete||"complete"==p.readyState)&&v.naturalWidth&&v.naturalHeight?v.trigger("load"):p.error&&v.trigger("error")},resolveImageSlideSize:function(t,s,r){var u=parseInt(t.opts.width,10),p=parseInt(t.opts.height,10);t.width=s,t.height=r,u>0&&(t.width=u,t.height=Math.floor(u*r/s)),p>0&&(t.width=Math.floor(p*s/r),t.height=p)},setIframe:function(t){var s,p=this,v=t.opts.iframe,y=t.$slide;t.$content=r('<div class="fancybox-content'+(v.preload?" fancybox-is-hidden":"")+'"></div>').css(v.css).appendTo(y),y.addClass("fancybox-slide--"+t.contentType),t.$iframe=s=r(v.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr(v.attr).appendTo(t.$content),v.preload?(p.showLoading(t),s.on("load.fb error.fb",(function(s){this.isReady=1,t.$slide.trigger("refresh"),p.afterLoad(t)})),y.on("refresh.fb",(function(){var r,p=t.$content,w=v.css.width,x=v.css.height;if(1===s[0].isReady){try{r=s.contents().find("body")}catch(t){}r&&r.length&&r.children().length&&(y.css("overflow","visible"),p.
1css({width:"100%","max-width":"100%",height:"9999px"}),w===u&&(w=Math.ceil(Math.max(r[0].clientWidth,r.outerWidth(!0)))),p.css("width",w||"").css("max-width",""),x===u&&(x=Math.ceil(Math.max(r[0].clientHeight,r.outerHeight(!0)))),p.css("height",x||""),y.css("overflow","auto")),p.removeClass("fancybox-is-hidden")}}))):p.afterLoad(t),s.attr("src",t.src),y.one("onReset",(function(){try{r(this).find("iframe").hide().unbind().attr("src","//about:blank")}catch(t){}r(this).off("refresh.fb").empty(),t.isLoaded=!1,t.isRevealed=!1}))},setContent:function(t,s){var u,p=this;p.isClosing||(p.hideLoading(t),t.$content&&r.fancybox.stop(t.$content),t.$slide.empty(),(u=s)&&u.hasOwnProperty&&u instanceof r&&s.parent().length?((s.hasClass("fancybox-content")||s.parent().hasClass("fancybox-content"))&&s.parents(".fancybox-slide").trigger("onReset"),t.$placeholder=r("<div>").hide().insertAfter(s),s.css("display","inline-block")):t.hasError||("string"===r.type(s)&&(s=r("<div>").append(r.trim(s)).contents()),t.opts.filter&&(s=r("<div>").html(s).find(t.opts.filter))),t.$slide.one("onReset",(function(){r(this).find("video,audio").trigger("pause"),t.$placeholder&&(t.$placeholder.after(s.removeClass("fancybox-content").hide()).remove(),t.$placeholder=null),t.$smallBtn&&(t.$smallBtn.remove(),t.$smallBtn=null),t.hasError||(r(this).empty(),t.isLoaded=!1,t.isRevealed=!1)})),r(s).appendTo(t.$slide),r(s).is("video,audio")&&(r(s).addClass("fancybox-video"),r(s).wrap("<div></div>"),t.contentType="video",t.opts.width=t.opts.width||r(s).attr("width"),t.opts.height=t.opts.height||r(s).attr("height")),t.$content=t.$slide.children().filter("div,form,main,video,audio,article,.fancybox-content").first(),t.$content.siblings().hide(),t.$content.length||(t.$content=t.$slide.wrapInner("<div></div>").children().first()),t.$content.addClass("fancybox-content"),t.$slide.addClass("fancybox-slide--"+t.contentType),p.afterLoad(t))},setError:function(t){t.hasError=!0,t.$slide.trigger("onReset").removeClass("fancybox-slide--"+t.contentType).addClass("fancybox-slide--error"),t.contentType="html",this.setContent(t,this.translate(t,t.opts.errorTpl)),t.pos===this.currPos&&(this.isAnimating=!1)},showLoading:function(t){var s=this;(t=t||s.current)&&!t.$spinner&&(t.$spinner=r(s.translate(s,s.opts.spinnerTpl)).appendTo(t.$slide).hide().fadeIn("fast"))},hideLoading:function(t){(t=t||this.current)&&t.$spinner&&(t.$spinner.stop().remove(),delete t.$spinner)},afterLoad:function(t){var s=this;s.isClosing||(t.isLoading=!1,t.isLoaded=!0,s.trigger("afterLoad",t),s.hideLoading(t),!t.opts.smallBtn||t.$smallBtn&&t.$smallBtn.length||(t.$smallBtn=r(s.translate(t,t.opts.btnTpl.smallBtn)).appendTo(t.$content)),t.opts.protect&&t.$content&&!t.hasError&&(t.$content.on("contextmenu.fb",(function(t){return 2==t.button&&t.preventDefault(),!0})),"image"===t.type&&r('<div class="fancybox-spaceball"></div>').appendTo(t.$content)),s.adjustCaption(t),s.adjustLayout(t),t.pos===s.currPos&&s.updateCursor(),s.revealContent(t))},adjustCaption:function(t){var s,r=this,u=t||r.current,p=u.opts.caption,v=u.opts.preventCaptionOverlap,y=r.$refs.caption,w=!1;y.toggleClass("fancybox-caption--separate",v),v&&p&&p.length&&(u.pos!==r.currPos?((s=y.clone().appendTo(y.parent())).children().eq(0).empty().html(p),w=s.outerHeight(!0),s.empty().remove()):r.$caption&&(w=r.$caption.outerHeight(!0)),u.$slide.css("padding-bottom",w||""))},adjustLayout:function(t){var s,r,u,p,v=t||this.current;v.isLoaded&&!0!==v.opts.disableLayoutFix&&(v.$content.css("margin-bottom",""),v.$content.outerHeight()>v.$slide.height()+.5&&(u=v.$slide[0].style["padding-bottom"],p=v.$slide.css("padding-bottom"),parseFloat(p)>0&&(s=v.$slide[0].scrollHeight,v.$slide.css("padding-bottom",0),Math.abs(s-v.$slide[0].scrollHeight)<1&&(r=p),v.$slide.css("padding-bottom",u))),v.$content.css("margin-bottom",r))},revealContent:function(t){var s,p,v,y,w=this,x=t.$slide,E=!1,S=!1,C=w.isMoved(t),P=t.isRevealed;return t.isRevealed=!0,s=t.opts[w.firstRun?"animationEffect":"transitionEffect"],v=t.opts[w.firstRun?"animationDuration":"transitionDuration"],v=parseInt(t.forcedDuration===u?v:t.forcedDuration,10),!C&&t.pos===w.currPos&&v||(s=!1),"zoom"===s&&(t.pos===w.currPos&&v&&"image"===t.type&&!t.hasError&&(S=w.getThumbPos(t))?E=w.getFitPos(t):s="fade"),"zoom"===s?(w.isAnimating=!0,E.scaleX=E.width/S.width,E.scaleY=E.height/S.height,"auto"==(y=t.opts.zoomOpacity)&&(y=Math.abs(t.width/t.height-S.width/S.height)>.1),y&&(S.opacity=.1,E.opacity=1),r.fancybox.setTranslate(t.$content.removeClass("fancybox-is-hidden"),S),forceRedraw(t.$content),void r.fancybox.animate(t.$content,E,v,(function(){w.isAnimating=!1,w.complete()}
1))):(w.updateSlide(t),s?(r.fancybox.stop(x),p="fancybox-slide--"+(t.pos>=w.prevPos?"next":"previous")+" fancybox-animated fancybox-fx-"+s,x.addClass(p).removeClass("fancybox-slide--current"),t.$content.removeClass("fancybox-is-hidden"),forceRedraw(x),"image"!==t.type&&t.$content.hide().show(0),void r.fancybox.animate(x,"fancybox-slide--current",v,(function(){x.removeClass(p).css({transform:"",opacity:""}),t.pos===w.currPos&&w.complete()}),!0)):(t.$content.removeClass("fancybox-is-hidden"),P||!C||"image"!==t.type||t.hasError||t.$content.hide().fadeIn("fast"),void(t.pos===w.currPos&&w.complete())))},getThumbPos:function(t){var u,p,v,y,w,x,E=t.$thumb;return!(!E||!function(t){var u,p;return!(!t||t.ownerDocument!==s)&&(r(".fancybox-container").css("pointer-events","none"),u={x:t.getBoundingClientRect().left+t.offsetWidth/2,y:t.getBoundingClientRect().top+t.offsetHeight/2},p=s.elementFromPoint(u.x,u.y)===t,r(".fancybox-container").css("pointer-events",""),p)}(E[0]))&&(p=r.fancybox.getTranslate(E),v=parseFloat(E.css("border-top-width")||0),y=parseFloat(E.css("border-right-width")||0),w=parseFloat(E.css("border-bottom-width")||0),x=parseFloat(E.css("border-left-width")||0),u={top:p.top+v,left:p.left+x,width:p.width-y-x,height:p.height-v-w,scaleX:1,scaleY:1},p.width>0&&p.height>0&&u)},complete:function(){var t,s=this,u=s.current,p={};!s.isMoved()&&u.isLoaded&&(u.isComplete||(u.isComplete=!0,u.$slide.siblings().trigger("onReset"),s.preload("inline"),forceRedraw(u.$slide),u.$slide.addClass("fancybox-slide--complete"),r.each(s.slides,(function(t,u){u.pos>=s.currPos-1&&u.pos<=s.currPos+1?p[u.pos]=u:u&&(r.fancybox.stop(u.$slide),u.$slide.off().remove())})),s.slides=p),s.isAnimating=!1,s.updateCursor(),s.trigger("afterShow"),u.o
1pts.video.autoStart&&u.$slide.find("video,audio").filter(":visible:first").trigger("play").one("ended",(function(){Document.exitFullscreen?Document.exitFullscreen():this.webkitExitFullscreen&&this.webkitExitFullscreen(),s.next()})),u.opts.autoFocus&&"html"===u.contentType&&((t=u.$content.find("input[autofocus]:enabled:visible:first")).length?t.trigger("focus"):s.focus(null,!0)),u.$slide.scrollTop(0).scrollLeft(0))},preload:function(t){var s,r,u=this;u.group.length<2||(r=u.slides[u.currPos+1],(s=u.slides[u.currPos-1])&&s.type===t&&u.loadSlide(s),r&&r.type===t&&u.loadSlide(r))},focus:function(t,u){var p,v,y=this,w=["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(",");y.isClosing||((p=(p=!t&&y.current&&y.current.isComplete?y.current.$slide.find("*:visible"+(u?":not(.fancybox-close-small)":"")):y.$refs.container.find("*:visible")).filter(w).filter((function(){return"hidden"!==r(this).css("visibility")&&!r(this).hasClass("disabled")}))).length?(v=p.index(s.activeElement),t&&t.shiftKey?(v<0||0==v)&&(t.preventDefault(),p.eq(p.length-1).trigger("focus")):(v<0||v==p.length-1)&&(t&&t.preventDefault(),p.eq(0).trigger("focus"))):y.$refs.container.trigger("focus"))},activate:function(){var t=this;r(".fancybox-container").each((function(){var s=r(this).data("FancyBox");s&&s.id!==t.id&&!s.isClosing&&(s.trigger("onDeactivate"),s.removeEvents(),s.isVisible=!1)})),t.isVisible=!0,(t.current||t.isIdle)&&(t.update(),t.updateControls()),t.trigger("onActivate"),t.addEvents()},close:function(t,s){var u,p,v,y,w,x,E,S=this,C=S.current,done=function(){S.cleanUp(t)};return!S.isClosing&&(S.isClosing=!0,!1===S.trigger("beforeClose",t)?(S.isClosing=!1,P((function(){S.update()})),!1):(S.removeEvents(),v=C.$content,u=C.opts.animationEffect,p=r.isNumeric(s)?s:u?C.opts.animationDuration:0,C.$slide.removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"),!0!==t?r.fancybox.stop(C.$slide):u=!1,C.$slide.siblings().trigger("onReset").remove(),p&&S.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing").css("transition-duration",p+"ms"),S.hideLoading(C),S.hideControls(!0),S.updateCursor(),"zoom"!==u||v&&p&&"image"===C.type&&!S.isMoved()&&!C.hasError&&(E=S.getThumbPos(C))||(u="fade"),"zoom"===u?(r.fancybox.stop(v),x={top:(y=r.fancybox.getTranslate(v)).top,left:y.left,scaleX:y.width/E.width,scaleY:y.height/E.height,width:E.width,height:E.height},"auto"==(w=C.opts.zoomOpacity)&&(w=Math.abs(C.width/C.height-E.width/E.height)>.1),w&&(E.opacity=0),r.fancybox.setTranslate(v,x),forceRedraw(v),r.fancybox.animate(v,E,p,done),!0):(u&&p?r.fancybox.animate(C.$slide.addClass("fancybox-slide--previous").removeClass("fancybox-slide--current"),"fancybox-animated fancybox-fx-"+u,p,done):!0===t?setTimeout(done,p):done(),!0)))},cleanUp:function(s){var u,p,v,y=this,w=y.current.opts.$orig;y.current.$slide.trigger("onReset"),y.$refs.container.empty().remove(),y.trigger("afterClose",s),y.current.opts.backFocus&&(w&&w.length&&w.is(":visible")||(w=y.$trigger),w&&w.length&&(p=t.scrollX,v=t.scrollY,w.trigger("focus"),r("html, body").scrollTop(v).scrollLeft(p))),y.current=null,(u=r.fancybox.getInstance())?u.activate():(r("body").removeClass("fancybox-active compensate-for-scrollbar"),r("#fancybox-style-noscroll").remove())},trigger:function(t,s){var u,p=Array.prototype.slice.call(arguments,1),v=this,y=s&&s.opts?s:v.current;if(y?p.unshift(y):y=v,p.unshift(v),r.isFunction(y.opts[t])&&(u=y.opts[t].apply(y,p)),!1===u)return u;"afterClose"!==t&&v.$refs?v.$refs.container.trigger(t+".fb",p):S.trigger(t+".fb",p)},updateControls:function(){var t=this,u=t.current,p=u.index,v=t.$refs.container,y=t.$refs.caption,w=u.opts.caption;u.$slide.trigger("refresh"),w&&w.length?(t.$caption=y,y.children().eq(0).html(w)):t.$caption=null,t.hasHiddenControls||t.isIdle||t.showControls(),v.find("[data-fancybox-count]").html(t.group.length),v.find("[data-fancybox-index]").html(p+1),v.find("[data-fancybox-prev]").prop("disabled",!u.opts.loop&&p<=0),v.find("[data-fancybox-next]").prop("disabled",!u.opts.loop&&p>=t.group.length-1),"image"===u.type?v.find("[data-fancybox-zoom]").show().end().find("[data-fancybox-download]").attr("href",u.opts.image.src||u.src).show():u.opts.toolbar&&v.find("[data-fancybox-download],[data-fancybox-zoom]").hide(),r(s.activeElement).is(":hidden,[disabled]")&&t.$refs.container.trigger("focus")},hideControls:function(t){var s=["infobar","toolbar","nav"];!t&&this.current.opts.preventCaptionOverlap||s.push("caption"),this.$refs.container.removeClass(s.map((function(t){return"fancybox-show-"+t}
1)).join(" ")),this.hasHiddenControls=!0},showControls:function(){var t=this,s=t.current?t.current.opts:t.opts,r=t.$refs.container;t.hasHiddenControls=!1,t.idleSecondsCounter=0,r.toggleClass("fancybox-show-toolbar",!(!s.toolbar||!s.buttons)).toggleClass("fancybox-show-infobar",!!(s.infobar&&t.group.length>1)).toggleClass("fancybox-show-caption",!!t.$caption).toggleClass("fancybox-show-nav",!!(s.arrows&&t.group.length>1)).toggleClass("fancybox-is-modal",!!s.modal)},toggleControls:function(){this.hasHiddenControls?this.showControls():this.hideControls()}}),r.fancybox={version:"3.5.7",defaults:x,getInstance:function(t){var s=r('.fancybox-container:not(".fancybox-is-closing"):last').data("FancyBox"),u=Array.prototype.slice.call(arguments,1);return s instanceof FancyBox&&("string"===r.type(t)?s[t].apply(s,u):"function"===r.type(t)&&t.apply(s,u),s)},open:function(t,s,r){return new FancyBox(t,s,r)},close:function(t){var s=this.getInstance();s&&(s.close(),!0===t&&this.close(t))},destroy:function(){this.close(!0),S.add("body").off("click.fb-start","**")},isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),use3d:(p=s.createElement("div"),t.getComputedStyle&&t.getComputedStyle(p)&&t.getComputedStyle(p).getPropertyValue("transform")&&!(s.documentMode&&s.documentMode<11)),getTranslate:function(t){var s;return!(!t||!t.length)&&{top:(s=t[0].getBoundingClientRect()).top||0,left
1:s.left||0,width:s.width,height:s.height,opacity:parseFloat(t.css("opacity"))}},setTranslate:function(t,s){var r="",p={};if(t&&s)return s.left===u&&s.top===u||(r=(s.left===u?t.position().left:s.left)+"px, "+(s.top===u?t.position().top:s.top)+"px",r=this.use3d?"translate3d("+r+", 0px)":"translate("+r+")"),s.scaleX!==u&&s.scaleY!==u?r+=" scale("+s.scaleX+", "+s.scaleY+")":s.scaleX!==u&&(r+=" scaleX("+s.scaleX+")"),r.length&&(p.transform=r),s.opacity!==u&&(p.opacity=s.opacity),s.width!==u&&(p.width=s.width),s.height!==u&&(p.height=s.height),t.css(p)},animate:function(t,s,p,v,y){var w,x=this;r.isFunction(p)&&(v=p,p=null),x.stop(t),w=x.getTranslate(t),t.on(L,(function(E){(!E||!E.originalEvent||t.is(E.originalEvent.target)&&"z-index"!=E.originalEvent.propertyName)&&(x.stop(t),r.isNumeric(p)&&t.css("transition-duration",""),r.isPlainObject(s)?s.scaleX!==u&&s.scaleY!==u&&x.setTranslate(t,{top:s.top,left:s.left,width:w.width*s.scaleX,height:w.height*s.scaleY,scaleX:1,scaleY:1}):!0!==y&&t.removeClass(s),r.isFunction(v)&&v(E))})),r.isNumeric(p)&&t.css("transition-duration",p+"ms"),r.isPlainObject(s)?(s.scaleX!==u&&s.scaleY!==u&&(delete s.width,delete s.height,t.parent().hasClass("fancybox-slide--image")&&t.parent().addClass("fancybox-is-scaling")),r.fancybox.setTranslate(t,s)):t.addClass(s),t.data("timer",setTimeout((function(){t.trigger(L)}),p+33))},stop:function(t,s){t&&t.length&&(clearTimeout(t.data("timer")),s&&t.trigger(L),t.off(L).css("transition-duration",""),t.parent().removeClass("fancybox-is-scaling"))}},r.fn.fancybox=function(t){var s;return(s=(t=t||{}).selector||!1)?r("body").off("click.fb-start",s).on("click.fb-start",s,{options:t},_run):this.off("click.fb-start").on("click.fb-start",{items:this,options:t},_run),this},S.on("click.fb-start","[data-fancybox]",_run),S.on("click.fb-start","[data-fancybox-trigger]",(function(t){r('[data-fancybox="'+r(this).attr("data-fancybox-trigger")+'"]').eq(r(this).attr("data-fancybox-index")||0).trigger("click.fb-start",{$trigger:r(this)})})),v=".fancybox-button",y="fancybox-focus",w=null,S.on("mousedown mouseup focus blur",v,(function(t){switch(t.type){case"mousedown":w=r(this);break;case"mouseup":w=null;break;case"focusin":r(v).removeClass(y),r(this).is(w)||r(this).is("[disabled]")||r(this).addClass(y);break;case"focusout":r(v).removeClass(y)}}))}function _run(t,s){var u,p,v,y=[],w=0;t&&t.isDefaultPrevented()||(t.preventDefault(),s=s||{},t&&t.data&&(s=mergeOpts(t.data.options,s)),u=s.$target||r(t.currentTarget).trigger("blur"),(v=r.fancybox.getInstance())&&v.$trigger&&v.$trigger.is(u)||(y=s.selector?r(s.selector):(p=u.attr("data-fancybox")||"")?(y=t.data?t.data.items:[]).length?y.filter('[data-fancybox="'+p+'"]'):r('[data-fancybox="'+p+'"]'):[u],(w=r(y).index(u))<0&&(w=0),(v=r.fancybox.open(y,s,w)).$trigger=u))}}(window,document,jQuery),function(t){var s={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(t){return"//maps.google."+t[2]+"/?ll="+(t[9]?t[9]+"&z="+Math.floor(t[10])+(t[12]?t[12].replace(/^\//,"&"):""):t[12]+"").replace(/\?/,"&")+"&output="+(t[12]&&t[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(t){return"//maps.google."+t[2]+"/maps?q="+t[5].replace("query=","q=").replace("api=1","")+"&output=embed"}}},format=function(s,r,u){if(s)return u=u||"","object"===t.type(u)&&(u=t.param(u,!0)),t.each(r,(function(t,r){s=s.replace("$"+t,r||"")})),u.length&&(s+=(s.indexOf("?")>0?"&":"?")+u),s};t(document).on("objectNeedsType.fb",(function(r,u,p){var v,y,w,x,E,S,C,P=p.src||"",T=!1;v=t.extend(!0,{},s,p.opts.media),t.each(v,(function(s,r){if(w=P.match(r.matcher)){if(T=r.type,C=s,S={},r.paramPlace&&w[r.paramPlace]){"?"==(E=w[r.paramPlace])[0]&&(E=E.substring(1)),E=E.split("&");for(var u=0;u<E.length;++u){var v=E[u].split("=",2);2==v.length&&(S[v[0]]=decodeURIComponent(v[1].replace(/\+/g," ")))}}return x=t.extend(!0,{},r.params,p.opts[s],S),P="function"===t.type(r.url)?r.url.call(this,w,x,p):format(r.url,w,x),y="function"===t.type(r.thumb)?r.thumb.call(this,w,x,p):format(r.thumb,w),"youtube"===s?P=P.replace(/&t=((\d+)m)?(\d+)s/,(function(t,s,r,u){return"&start="+((r?60*parseInt(r,10):0)+parseInt(u,10))})):"vimeo"===s&&(P=P.replace("&%23","#")),!1}})),T?(p.opts.thumb||p.opts.$thumb&&p.opts.$thumb.length||(p.opts.thumb=y),"iframe"===T&&(p.opts=t.extend(!0,p.opts,{iframe:{preload:!1,attr:{scrolling:"no"}}})),t.extend(p,{type:T,src:P,origSrc:p.src,contentSource:C,contentType:"image"===T?"image":"gmap_place"==C||"gmap_search"==C?"map":"video"})):P&&(p.type=p.opts.defaultType)}));var r={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(t){var s,r=this;this[t].loaded?setTimeout((function(){r.done(t)})):this[t].loading||(this[t].loading=!0,(s=document.createElement("script")).type="text/javascript",s.src=this[t].src,"youtube"===t?window.onYouTubeIframeAPIReady=function(){r[t].loaded=!0,r.done(t)}:s.onload=function(){r[t].loaded=!0,r.done(t)},document.body.appendChild(s))},done:function(s){var r,u;"youtube"===s&&delete window.onYouTubeIframeAPIReady,(r=t.fancybox.getInstance())&&(u=r.current.$content.find("iframe"),"youtube"===s&&void 0!==YT&&YT?new YT.Player(u.attr("id"),{events:{onStateChange:function(t){0==t.data&&r.next()}}}):"vimeo"===s&&void 0!==Vimeo&&Vimeo&&new Vimeo.Player(u).on("ended",(function(){r.next()})))}};t(document).on({"afterShow.fb":function(t,s,u){s.group.length>1&&("youtube"===u.contentSource||"vimeo"===u.contentSource)&&r.load(u.contentSource)}})}(jQuery),function(t,s,r){var u=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||function(s){return t.setTimeout(s,1e3/60)},p=t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.oCancelAnimationFrame||function(s){t.clearTimeout(s)},getPointerXY=function(s){var r=[];for(var u in s=(s=s.originalEvent||s||t.e).touches&&s.touches.length?s.touches:s.changedTouches&&s.changedTouches.length?s.changedTouches:[s])s[u].pageX?r.push({x:s[u].pageX,y:s[u].pageY}):s[u].clientX&&r.push({x:s[u].clientX,y:s[u].clientY});return r},distance=function(t,s,r){return s&&t?"x"===r?t.x-s.x:"y"===r?t.y-s.y:Math.sqrt(Math.pow(t.x-s.x,2)+Math.pow(t.y-s.y,2)):0}
1,isClickable=function(t){if(t.is('a,area,button,[role="button"],input,label,select,summary,textarea,video,audio,iframe')||r.isFunction(t.get(0).onclick)||t.data("selectable"))return!0;for(var s=0,u=t[0].attributes,p=u.length;s<p;s++)if("data-fancybox-"===u[s].nodeName.substr(0,14))return!0;return!1},isScrollable=function(s){for(var r,u,p,v,y,w=!1;r=s.get(0),u=void 0,p=void 0,v=void 0,y=void 0,u=t.getComputedStyle(r)["overflow-y"],p=t.getComputedStyle(r)["overflow-x"],v=("scroll"===u||"auto"===u)&&r.scrollHeight>r.clientHeight,y=("scroll"===p||"auto"===p)&&r.scrollWidth>r.clientWidth,!(w=v||y)&&(s=s.parent()).length&&!s.hasClass("fancybox-stage")&&!s.is("body"););return w},Guestures=function(t){var s=this;s.instance=t,s.$bg=t.$refs.bg,s.$stage=t.$refs.stage,s.$container=t.$refs.container,s.destroy(),s.$container.on("touchstart.fb.touch mousedown.fb.touch",r.proxy(s,"ontouchstart"))};Guestures.prototype.destroy=function(){var t=this;t.$container.off(".fb.touch"),r(s).off(".fb.touch"),t.requestId&&(p(t.requestId),t.requestId=null),t.tapped&&(clearTimeout(t.tapped),t.tapped=null)},Guestures.prototype.ontouchstart=function(u){var p=this,v=r(u.target),y=p.instance,w=y.current,x=w.$slide,E=w.$content,S="touchstart"==u.type;if(S&&p.$container.off("mousedown.fb.touch"),(!u.originalEvent||2!=u.originalEvent.button)&&x.length&&v.length&&!isClickable(v)&&!isClickable(v.parent())&&(v.is("img")||!(u.originalEvent.clientX>v[0].clientWidth+v.offset().left))){if(!w||y.isAnimating||w.$slide.hasClass("fancybox-animated"))return u.stopPropagation(),void u.preventDefault();p.realPoints=p.startPoints=getPointerXY(u),p.startPoints.length&&(w.touch&&u.stopPropagation(),p.startEvent=u,p.canTap=!0,p.$target=v,p.$content=E,p.opts=w.opts.touch,p.isPanning=!1,p.isSwiping=!1,p.isZooming=!1,p.isScrolling=!1,p.canPan=y.canPan(),p.startTime=(new Date).getTime(),p.distanceX=p.distanceY=p.distance=0,p.canvasWidth=Math.round(x[0].clientWidth),p.canvasHeight=Math.round(x[0].clientHeight),p.contentLastPos=null,p.contentStartPos=r.fancybox.getTranslate(p.$content)||{top:0,left:0},p.sliderStartPos=r.fancybox.getTranslate(x),p.stagePos=r.fancybox.getTranslate(y.$refs.stage),p.sliderStartPos.top-=p.stagePos.top,p.sliderStartPos.left-=p.stagePos.left,p.contentStartPos.top-=p.stagePos.top,p.contentStartPos.left-=p.stagePos.left,r(s).off(".fb.touch").on(S?"touchend.fb.touch touchcancel.fb.touch":"mouseup.fb.touch mouseleave.fb.touch",r.proxy(p,"ontouchend")).on(S?"touchmove.fb.touch":"mousemove.fb.touch",r.proxy(p,"ontouchmove")),r.fancybox.isMobile&&s.addEventListener("scroll",p.onscroll,!0),((p.opts||p.canPan)&&(v.is(p.$stage)||p.$stage.find(v).length)||(v.is(".fancybox-image")&&u.preventDefault(),r.fancybox.isMobile&&v.parents(".fancybox-caption").length))&&(p.isScrollable=isScrollable(v)||isScrollable(v.parent()),r.fancybox.isMobile&&p.isScrollable||u.preventDefault(),(1===p.startPoints.length||w.hasError)&&(p.canPan?(r.fancybox.stop(p.$content),p.isPanning=!0):p.isSwiping=!0,p.$container.addClass("fancybox-is-grabbing")),2===p.startPoints.length&&"image"===w.type&&(w.isLoaded||w.$ghost)&&(p.canTap=!1,p.isSwiping=!1,p.isPanning=!1,p.isZooming=!0,r.fancybox.stop(p.$content),p.centerPointStartX=.5*(p.startPoints[0].x+p.startPoints[1].x)-r(t).scrollLeft(),p.centerPointStartY=.5*(p.startPoints[0].y+p.startPoints[1].y)-r(t).scrollTop(),p.percentageOfImageAtPinchPointX=(p.centerPointStartX-p.contentStartPos.left)/p.contentStartPos.width,p.percentageOfImageAtPinchPointY=(p.centerPointStartY-p.contentStartPos.top)/p.contentStartPos.height,p.startDistanceBetweenFingers=distance(p.startPoints[0],p.startPoints[1]))))}},Guestures.prototype.onscroll=function(t){this.isScrolling=!0,s.removeEventListener("scroll",this.onscroll,!0)},Guestures.prototype.ontouchmove=function(t){var s=this;void 0===t.originalEvent.buttons||0!==t.originalEvent.buttons?s.isScrolling?s.canTap=!1:(s.newPoints=getPointerXY(t),(s.opts||s.canPan)&&s.newPoints.length&&s.newPoints.length&&(s.isSwiping&&!0===s.isSwiping||t.preventDefault(),s.distanceX=distance(s.newPoints[0],s.startPoints[0],"x"),s.distanceY=distance(s.newPoints[0],s.startPoints[0],"y"),s.distance=distance(s.newPoints[0],s.startPoints[0]),s.distance>0&&(s.isSwiping?s.onSwipe(t):s.isPanning?s.onPan():s.isZooming&&s.onZoom()))):s.ontouchend(t)},Guestures.prototype.onSwipe=function(s){var v,y=this,w=y.instance,x=y.isSwiping,E=y.sliderStartPos.left||0;if(!0!==x)"x"==x&&(y.distanceX>0&&(y.instance.group.length<2||0===y.instance.current.index&&!y.instance.current.opts.loop)?E+=Math.pow(y.distanceX,.8):y.distanceX<0&&(y.instance.group.length<2||y.instance.current.index===y.instance.group.length-1&&!y.instance.current.opts.loop)?E-=Math.pow(-y.distanceX,.8):E+=y.distanceX),y.sliderLastPos={top:"x"==x?0:y.sliderStartPos.top+y.distanceY,left:E},y.requestId&&(p(y.requestId),y.requestId=null),y.requestId=u((function(){y.sliderLastPos&&(r.each(y.instance.slides,(function(t,s){var u=s.pos-y.instance.currPos;
1r.fancybox.setTranslate(s.$slide,{top:y.sliderLastPos.top,left:y.sliderLastPos.left+u*y.canvasWidth+u*s.opts.gutter})})),y.$container.addClass("fancybox-is-sliding"))}));else if(Math.abs(y.distance)>10){if(y.canTap=!1,w.group.length<2&&y.opts.vertical?y.isSwiping="y":w.isDragging||!1===y.opts.vertical||"auto"===y.opts.vertical&&r(t).width()>800?y.isSwiping="x":(v=Math.abs(180*Math.atan2(y.distanceY,y.distanceX)/Math.PI),y.isSwiping=v>45&&v<135?"y":"x"),"y"===y.isSwiping&&r.fancybox.isMobile&&y.isScrollable)return void(y.isScrolling=!0);w.isDragging=y.isSwiping,y.startPoints=y.newPoints,r.each(w.slides,(function(t,s){var u,p;r.fancybox.stop(s.$slide),u=r.fancybox.getTranslate(s.$slide),p=r.fancybox.getTranslate(w.$refs.stage),s.$slide.css({transform:"",opacity:"","transition-duration":""}).removeClass("fancybox-animated").removeClass((function(t,s){return(s.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")})),s.pos===w.current.pos&&(y.sliderStartPos.top=u.top-p.top,y.sliderStartPos.left=u.left-p.left),r.fancybox.setTranslate(s.$slide,{top:u.top-p.top,left:u.left-p.left})})),w.SlideShow&&w.SlideShow.isActive&&w.SlideShow.stop()}},Guestures.prototype.onPan=function(){var t=this;distance(t.newPoints[0],t.realPoints[0])<(r.fancybox.isMobile?10:5)?t.startPoints=t.newPoints:(t.canTap=!1,t.contentLastPos=t.limitMovement(),t.requestId&&p(t.requestId),t.requestId=u((function(){r.fancybox.setTranslate(t.$content,t.contentLastPos)})))},Guestures.prototype.limitMovement=function(){var t,s,r,u,p,v,y=this,w=y.canvasWidth,x=y.canvasHeight,E=y.distanceX,S=y.distanceY,C=y.contentStartPos,P=C.left,T=C.top,L=C.width,A=C.height;return p=L>w?P+E:P,v=T+S,t=Math.max(0,.5*w-.5*L),s=Math.max(0,.5*x-.5*A),r=Math.min(w-L,.5*w-.5*L),u=Math.min(x-A,.5*x-.5*A),E>0&&p>t&&(p=t-1+Math.pow(-t+P+E,.8)||0),E<0&&p<r&&(p=r+1-Math.pow(r-P-E,.8)||0),S>0&&v>s&&(v=s-1+Math.pow(-s+T+S,.8)||0),S<0&&v<u&&(v=u+1-Math.pow(u-T-S,.8)||0),{top:v,left:p}},Guestures.prototype.limitPosition=function(t,s,r,u){var p=this.canvasWidth,v=this.canvasHeight;return t=r>p?(t=t>0?0:t)<p-r?p-r:t:Math.max(0,p/2-r/2),{top:s=u>v?(s=s>0?0:s)<v-u?v-u:s:Math.max(0,v/2-u/2),left:t}},Guestures.prototype.onZoom=function(){var s=this,v=s.contentStartPos,y=v.width,w=v.height,x=v.left,E=v.top,S=distance(s.newPoints[0],s.newPoints[1])/s.startDistanceBetweenFingers,C=Math.floor(y*S),P=Math.floor(w*S),T=(y-C)*s.percentageOfImageAtPinchPointX,L=(w-P)*s.percentageOfImageAtPinchPointY,A=(s.newPoints[0].x+s.newPoints[1].x)/2-r(t).scrollLeft(),O=(s.newPoints[0].y+s.newPoints[1].y)/2-r(t).scrollTop(),$=A-s.centerPointStartX,I={top:E+(L+(O-s.centerPointStartY)),left:x+(T+$),scaleX:S,scaleY:S};s.canTap=!1,s.newWidth=C,s.newHeight=P,s.contentLastPos=I,s.requestId&&p(s.requestId),s.requestId=u((function(){r.fancybox.setTranslate(s.$content,s.contentLastPos)}))},Guestures.prototype.ontouchend=function(t){var u=this,v=u.isSwiping,y=u.isPanning,w=u.isZooming,x=u.isScrolling;if(u.endPoints=getPointerXY(t),u.dMs=Math.max((new Date).getTime()-u.startTime,1),u.$container.removeClass("fancybox-is-grabbing"),r(s).off(".fb.touch"),s.removeEventListener("scroll",u.onscroll,!0),u.requestId&&(p(u.requestId),u.requestId=null),u.isSwiping=!1,u.isPanning=!1,u.isZooming=!1,u.isScrolling=!1,u.instance.isDragging=!1,u.canTap)return u.onTap(t);u.speed=100,u.velocityX=u.distanceX/u.dMs*.5,u.velocityY=u.distanceY/u.dMs*.5,y?u.endPanning():w?u.endZooming():u.endSwiping(v,x)},Guestures.prototype.endSwiping=function(t,s){var u=this,p=!1,v=u.instance.group.length,y=Math.abs(u.distanceX),w="x"==t&&v>1&&(u.dMs>130&&y>10||y>50);u.sliderLastPos=null,"y"==t&&!s&&Math.abs(u.distanceY)>50?(r.fancybox.animate(u.instance.current.$slide,{top:u.sliderStartPos.top+u.distanceY+150*u.velocityY,opacity:0},200),p=u.instance.close(!0,250)):w&&u.distanceX>0?p=u.instance.previous(300):w&&u.distanceX<0&&(p=u.instance.next(300)),!1!==p||"x"!=t&&"y"!=t||u.instance.centerSlide(200),u.$container.removeClass("fancybox-is-sliding")},Guestures.prototype.endPanning=function(){var t,s,u,p=this;p.contentLastPos&&(!1===p.opts.momentum||p.dMs>350?(t=p.contentLastPos.left,s=p.contentLastPos.top):(t=p.contentLastPos.left+500*p.velocityX,s=p.contentLastPos.top+500*p.velocityY),(u=p.limitPosition(t,s,p.contentStartPos.width,p.
1contentStartPos.height)).width=p.contentStartPos.width,u.height=p.contentStartPos.height,r.fancybox.animate(p.$content,u,366))},Guestures.prototype.endZooming=function(){var t,s,u,p,v=this,y=v.instance.current,w=v.newWidth,x=v.newHeight;v.contentLastPos&&(t=v.contentLastPos.left,p={top:s=v.contentLastPos.top,left:t,width:w,height:x,scaleX:1,scaleY:1},r.fancybox.setTranslate(v.$content,p),w<v.canvasWidth&&x<v.canvasHeight?v.instance.scaleToFit(150):w>y.width||x>y.height?v.instance.scaleToActual(v.centerPointStartX,v.centerPointStartY,150):(u=v.limitPosition(t,s,w,x),r.fancybox.animate(v.$content,u,150)))},Guestures.prototype.onTap=function(s){var u,p=this,v=r(s.target),y=p.instance,w=y.current,x=s&&getPointerXY(s)||p.startPoints,E=x[0]?x[0].x-r(t).scrollLeft()-p.stagePos.left:0,S=x[0]?x[0].y-r(t).scrollTop()-p.stagePos.top:0,process=function(t){var u=w.opts[t];if(r.isFunction(u)&&(u=u.apply(y,[w,s])),u)switch(u){case"close":y.close(p.startEvent);break;case"toggleControls":y.toggleControls();break;case"next":y.next();break;case"nextOrClose":y.group.length>1?y.next():y.close(p.startEvent);break;case"zoom":"image"==w.type&&(w.isLoaded||w.$ghost)&&(y.canPan()?y.scaleToFit():y.isScaledDown()?y.scaleToActual(E,S):y.group.length<2&&y.close(p.startEvent))}};if((!s.originalEvent||2!=s.originalEvent.button)&&(v.is("img")||!(E>v[0].clientWidth+v.offset().left))){if(v.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container"))u="Outside";else if(v.is(".fancybox-slide"))u="Slide";else{if(!y.current.$content||!y.current.$content.find(v).addBack().filter(v).length)return;u="Content"}if(p.tapped){if(clearTimeout(p.tapped),p.tapped=null,Math.abs(E-p.tapX)>50||Math.abs(S-p.tapY)>50)return this;process("dblclick"+u)}else p.tapX=E,p.tapY=S,w.opts["dblclick"+u]&&w.opts["dblclick"+u]!==w.opts["click"+u]?p.tapped=setTimeout((function(){p.tapped=null,y.isAnimating||process("click"+u)}),500):process("click"+u);return this}},r(s).on("onActivate.fb",(function(t,s){s&&!s.Guestures&&(s.Guestures=new Guestures(s))})).on("beforeClose.fb",(function(t,s){s&&s.Guestures&&s.Guestures.destroy()}))}(window,document,jQuery),function(t,s){s.extend(!0,s.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 SlideShow=function(t){this.instance=t,this.init()};s.extend(SlideShow.prototype,{timer:null,isActive:!1,$button:null,init:function(){var t=this,r=t.instance,u=r.group[r.currIndex].opts.slideShow;t.$button=r.$refs.toolbar.find("[data-fancybox-play]").on("click",(function(){t.toggle()})),r.group.length<2||!u?t.$button.hide():u.progress&&(t.$progress=s('<div class="fancybox-progress"></div>').appendTo(r.$refs.inner))},set:function(t){var r=this,u=r.instance,p=u.current;p&&(!0===t||p.opts.loop||u.currIndex<u.group.length-1)?r.isActive&&"video"!==p.contentType&&(r.$progress&&s.fancybox.animate(r.$progress.show(),{scaleX:1},p.opts.slideShow.speed),r.timer=setTimeout((function(){u.current.opts.loop||u.current.index!=u.group.length-1?u.next():u.jumpTo(0)}),p.opts.slideShow.speed)):(r.stop(),u.idleSecondsCounter=0,u.showControls())},clear:function(){var t=this;clearTimeout(t.timer),t.timer=null,t.$progress&&t.$progress.removeAttr("style").hide()},start:function(){var t=this,s=t.instance.current;s&&(t.$button.attr("title",(s.opts.i18n[s.opts.lang]||s.opts.i18n.en).PLAY_STOP).removeClass("fancybox-button--play").addClass("fancybox-button--pause"),t.isActive=!0,s.isComplete&&t.set(!0),t.instance.trigger("onSlideShowChange",!0))},stop:function(){var t=this,s=t.instance.current;t.clear(),t.$button.attr("title",(s.opts.i18n[s.opts.lang]||s.opts.i18n.en).PLAY_START).removeClass("fancybox-button--pause").addClass("fancybox-button--play"),t.isActive=!1,t.instance.trigger("onSlideShowChange",!1),t.$progress&&t.$progress.removeAttr("style").hide()},toggle:function(){var t=this;t.isActive?t.stop():t.start()}}),s(t).on({"onInit.fb":function(t,s){s&&!s.SlideShow&&(s.SlideShow=new SlideShow(s))},"beforeShow.fb":function(t,s,r,u){var p=s&&s.SlideShow;u?p&&r.opts.slideShow.autoStart&&p.start():p&&p.isActive&&p.clear()},"afterShow.fb":function(t,s,r){var u=s&&s.SlideShow;u&&u.isActive&&u.set()},"afterKeydown.fb":function(r,u,p,v,y){var w=u&&u.SlideShow;!w||!p.opts.slideShow||80!==y&&32!==y||s(t.activeElement).is("button,a,input")||(v.preventDefault(),w.toggle())},"beforeClose.fb onDeactivate.fb":function(t,s){var r=s&&s.SlideShow;r&&r.stop()}}),s(t).on("visibilitychange",(function(){var r=s.fancybox.getInstance(),u=r&&r.
1SlideShow;u&&u.isActive&&(t.hidden?u.clear():u.set())}))}(document,jQuery),function(t,s){var r=function(){for(var s=[["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"]],r={},u=0;u<s.length;u++){var p=s[u];if(p&&p[1]in t){for(var v=0;v<p.length;v++)r[s[0][v]]=p[v];return r}}return!1}();if(r){var u={request:function(s){(s=s||t.documentElement)[r.requestFullscreen](s.ALLOW_KEYBOARD_INPUT)},exit:function(){t[r.exitFullscreen]()},toggle:function(s){s=s||t.documentElement,this.isFullscreen()?this.exit():this.request(s)},isFullscreen:function(){return Boolean(t[r.fullscreenElement])},enabled:function(){return Boolean(t[r.fullscreenEnabled])}};s.extend(!0,s.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}}),s(t).on(r.fullscreenchange,(function(){var t=u.isFullscreen(),r=s.fancybox.getInstance();r&&(r.current&&"image"===r.current.type&&r.isAnimating&&(r.isAnimating=!1,r.update(!0,!0,0),r.isComplete||r.complete()),r.trigger("onFullscreenChange",t),r.$refs.container.toggleClass("fancybox-is-fullscreen",t),r.$refs.toolbar.find("[data-fancybox-fullscreen]").toggleClass("fancybox-button--fsenter",!t).toggleClass("fancybox-button--fsexit",t))}))}s(t).on({"onInit.fb":function(t,s){r?s&&s.group[s.currIndex].opts.fullScreen?(s.$refs.container.on("click.fb-fullscreen","[data-fancybox-fullscreen]",(function(t){t.stopPropagation(),t.preventDefault(),u.toggle()})),s.opts.fullScreen&&!0===s.opts.fullScreen.autoStart&&u.request(),s.FullScreen=u):s&&s.$refs.toolbar.find("[data-fancybox-fullscreen]").hide():s.$refs.toolbar.find("[data-fancybox-fullscreen]").remove()},"afterKeydown.fb":function(t,s,r,u,p){s&&s.FullScreen&&70===p&&(u.preventDefault(),s.FullScreen.toggle())},"beforeClose.fb":function(t,s){s&&s.FullScreen&&s.$refs.container.hasClass("fancybox-is-fullscreen")&&u.exit()}})}(document,jQuery),function(t,s){var r="fancybox-thumbs",u=r+"-active";s.fancybox.defaults=s.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"}},s.fancybox.defaults);var FancyThumbs=function(t){this.init(t)};s.extend(FancyThumbs.prototype,{$button:null,$grid:null,$list:null,isVisible:!1,isActive:!1,init:function(t){var s=this,r=t.group,u=0;s.instance=t,s.opts=r[t.currIndex].opts.thumbs,t.Thumbs=s,s.$button=t.$refs.toolbar.find("[data-fancybox-thumbs]");for(var p=0,v=r.length;p<v&&(r[p].thumb&&u++,!(u>1));p++);u>1&&s.opts?(s.$button.removeAttr("style").on("click",(function(){s.toggle()})),s.isActive=!0):s.$button.hide()},create:function(){var t,u=this,p=u.instance,v=u.opts.parentEl,y=[];u.$grid||(u.$grid=s('<div class="'+r+" "+r+"-"+u.opts.axis+'"></div>').appendTo(p.$refs.container.find(v).addBack().filter(v)),u.$grid.on("click","a",(function(){p.jumpTo(s(this).attr("data-index"))}))),u.$list||(u.$list=s('<div class="'+r+'__list">').appendTo(u.$grid)),s.each(p.group,(function(s,r){(t=r.thumb)||"image"!==r.type||(t=r.src),y.push('<a href="javascript:;" tabindex="0" data-index="'+s+'"'+(t&&t.length?' style="background-image:url('+t+')"':'class="fancybox-thumbs-missing"')+"></a>")})),u.$list[0].innerHTML=y.join(""),"x"===u.opts.axis&&u.$list.width(parseInt(u.$grid.css("padding-right"),10)+p.group.length*u.$list.children().eq(0).outerWidth(!0))},focus:function(t){var s,r,p=this,v=p.$list,y=p.$grid;p.instance.current&&(r=(s=v.children().removeClass(u).filter('[data-index="'+p.instance.current.index+'"]').addClass(u)).position(),"y"===p.opts.axis&&(r.to
1p<0||r.top>v.height()-s.outerHeight())?v.stop().animate({scrollTop:v.scrollTop()+r.top},t):"x"===p.opts.axis&&(r.left<y.scrollLeft()||r.left>y.scrollLeft()+(y.width()-s.outerWidth()))&&v.parent().stop().animate({scrollLeft:r.left},t))},update:function(){var t=this;t.instance.$refs.container.toggleClass("fancybox-show-thumbs",this.isVisible),t.isVisible?(t.$grid||t.create(),t.instance.trigger("onThumbsShow"),t.focus(0)):t.$grid&&t.instance.trigger("onThumbsHide"),t.instance.update()},hide:function(){this.isVisible=!1,this.update()},show:function(){this.isVisible=!0,this.update()},toggle:function(){this.isVisible=!this.isVisible,this.update()}}),s(t).on({"onInit.fb":function(t,s){var r;s&&!s.Thumbs&&(r=new FancyThumbs(s)).isActive&&!0===r.opts.autoStart&&r.show()},"beforeShow.fb":function(t,s,r,u){var p=s&&s.Thumbs;p&&p.isVisible&&p.focus(u?0:250)},"afterKeydown.fb":function(t,s,r,u,p){var v=s&&s.Thumbs;v&&v.isActive&&71===p&&(u.preventDefault(),v.toggle())},"beforeClose.fb":function(t,s){var r=s&&s.Thumbs;r&&r.isVisible&&!1!==r.opts.hideOnClose&&r.$grid.hide()}})}(document,jQuery),function(t,s){s.extend(!0,s.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(t,s){return!t.currentHash&&"inline"!==s.type&&"html"!==s.type&&(s.origSrc||s.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>'}}),s(t).on("click","[data-fancybox-share]",(function(){var t,r,u=s.fancybox.getInstance(),p=u.current||null;p&&("function"===s.type(p.opts.share.url)&&(t=p.opts.share.url.apply(p,[u,p])),r=p.opts.share.tpl.replace(/\{\{media\}\}/g,"image"===p.type?encodeURIComponent(p.src):"").replace(/\{\{url\}\}/g,encodeURIComponent(t)).replace(/\{\{url_raw\}\}/g,function escapeHtml(t){var s={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};return String(t).replace(/[&<>"'`=\/]/g,(function(t){return s[t]}))}(t)).replace(/\{\{descr\}\}/g,u.$caption?encodeURIComponent(u.$caption.text()):""),s.fancybox.open({src:u.translate(u,r),type:"html",opts:{touch:!1,animationEffect:!1,afterLoad:function(t,s){u.$refs.container.one("beforeClose.fb",(function(){t.close(null,0)})),s.$content.find(".fancybox-share__button").click((function(){return window.open(this.href,"Share","width=550, height=450"),!1}))},mobile:{autoFocus:!1}}}))}))}(document,jQuery),function(t,s,r){function parseUrl(){var s=t.location.hash.substr(1),r=s.split("-"),u=r.length>1&&/^\+?\d+$/.test(r[r.length-1])&&parseInt(r.pop(-1),10)||1;return{hash:s,index:u<1?1:u,gallery:r.join("-")}}function triggerFromUrl(t){""!==t.gallery&&r("[data-fancybox='"+r.escapeSelector(t.gallery)+"']").eq(t.index-1).focus().trigger("click.fb-start")}function getGalleryID(t){var s,r;return!!t&&(""!==(r=(s=t.current?t.current.opts:t.opts).hash||(s.$orig?s.$orig.data("fancybox")||s.$orig.data("fancybox-trigger"):""))&&r)}r.escapeSelector||(r.escapeSelector=function(t){return(t+"").replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,(function(t,s){return s?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t}))}),r((function(){!1!==r.fancybox.defaults.hash&&(r(s).on({"onInit.fb":function(t,s){var r,u;!1!==s.group[s.currIndex].opts.hash&&(r=parseUrl(),(u=getGalleryID(s))&&r.gallery&&u==r.gallery&&(s.currIndex=r.index-1))},"beforeShow.fb":function(r,u,p,v){var y;p&&!1!==p.opts.hash&&(y=getGalleryID(u))&&(u.currentHash=y+(u.group.length>1?"-"+(p.index+1):""),t.location.hash!=="#"+u.currentHash&&(v&&!u.origHash&&(u.origHash=t.location.hash),u.hashTimer&&clearTimeout(u.hashTimer),u.hashTimer=setTimeout((function(){"replaceState"in t.history?(t.history[v?"pushState":"replaceState"]({},s.title,t.location.pathname+t.location.search+"#"+u.currentHash),v&&(u.hasCreatedHistory=!0)):t.location.hash=u.currentHash,u.hashTimer=null}),300)))},"beforeClose.fb":function(r,u,p){p&&!1!==p.opts.hash&&(clearTimeout(u.hashTimer),u.currentHash&&u.hasCreatedHistory?t.history.back():u.currentHash&&("replaceState"in t.history?t.history.replaceState({},s.title,t.location.pathname+t.location.search+(u.origHash||"")):t.location.hash=u.origHash),u.currentHash=null)}}),r(t).on("hashchange.fb",(function(){var t=parseUrl(),s=null;r.each(r(".fancybox-container").get().reverse(),(function(t,u){var p=r(u).data("FancyBox");if(p&&p.currentHash)return s=p,!1})),s?s.currentHash===t.gallery+"-"+t.index||1===t.index&&s.currentHash==t.gallery||(s.currentHash=null,
1s.close()):""!==t.gallery&&triggerFromUrl(t)})),setTimeout((function(){r.fancybox.getInstance()||triggerFromUrl(parseUrl())}),50))}))}(window,document,jQuery),function(t,s){var r=(new Date).getTime();s(t).on({"onInit.fb":function(t,s,u){s.$refs.stage.on("mousewheel DOMMouseScroll wheel MozMousePixelScroll",(function(t){var u=s.current,p=(new Date).getTime();s.group.length<2||!1===u.opts.wheel||"auto"===u.opts.wheel&&"image"!==u.type||(t.preventDefault(),t.stopPropagation(),u.$slide.hasClass("fancybox-animated")||(t=t.originalEvent||t,p-r<250||(r=p,s[(-t.deltaY||-t.deltaX||t.wheelDelta||-t.detail)<0?"next":"previous"]())))}))}})}(document,jQuery)},3442:function(t,s,r){r.d(s,{Z:function(){return StratisCore}});r(3839),r(7147),r(8264);var u=r(523),p=r.n(u),v=r(6797),y=r.n(v);class Polyfills{static init(){p().polyfill(),document.createElement("picture"),y()("img")}}r(7090),r(1593);var w=r(6271);class ExternalLibraries{static init(){const t=[...document.querySelectorAll("[data-choices]")];(0,w.CF)("[data-choices]",(async s=>{const{default:u}=await r.e(529).then(r.t.bind(r,4529,23));t.forEach((t=>t.hasAttribute("multiple")?new u(t,{removeItemButton:!0,itemSelectText:""}):new u(t,{itemSelectText:""})))}))}}var x=r(4094),E=r(7560);var S=class ResponsiveEvent{constructor(t){this.$viewHandler=this.checkView.bind(this),this.options={sizes:{0:"smartphone",767:"tablet",1279:"desktop"},eventName:"responsive"},this.options=(0,E.b)(this.options,t||{}),this.event=null,window.responsive="",this.init()}getSize(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.innerWidth,s=!1;for(const r in this.options.sizes){if(!(Number(r)<t))break;s=this.options.sizes[r]}return s}init(){this.event=new CustomEvent(this.options.eventName,{bubbles:!0,cancelable:!1,detail:{responsive:this.getSize(window.innerWidth)}}),window.addEventListener("resize",x.Ds.call(this,this.$viewHandler,50)),this.checkView()}checkView(){const t=this.getSize();t!==window.responsive&&(window.responsive=t,this.event.detail.responsive=t,window.dispatchEvent(this.event))}},C=r(1401),P=r(1590);var T,L,A=(0,C.Z)(class TextSwitcher{constructor(t,s){this.options={activeClass:"-is-open"},this.switchHandler=this.switch.bind(this),this.created=!1,this.toggle=null,this.element=t,this.defaultText=this.element.innerText,this.altText=this.element.getAttribute("data-ts-alt-text"),this.options=(0,E.b)(this.options,s||{}),this.created||this.init()}switch(){const{altText:t,defaultText:s}=this,r=(0,P.pv)(this.element,this.options.activeClass);this.element.innerText=r?s:t}initEvents(){this.toggle?this.toggle.addEventListener("click",this.switchHandler):this.element.addEventListener("click",this.switchHandler)}init(){this.created=!0,this.toggle=this.element.closest(".js-ts-toggle"),this.toggle&&(0,P.pv)(this.toggle,this.options.activeClass)&&(this.element.innerText=this.altText),!this.toggle&&(0,P.pv)(this.element,this.options.activeClass)&&(this.element.innerText=this.altText),this.initEvents()}}),O=r(2458),I=r(9630),M=r(3229),D=r(6585),_=r(2889);let H=(T=(0,_.Z)(),L=class FixedElement extends D.Z{constructor(t,s){super(t,s),this.options={classList:{onPlaceholderRender:"js-fixed-el-abs",onScroll:"js-fixed-el",onScrollUp:"js-fixed-el-up",onScrollUpHide:"js-fixed-el-up-hide",onScrollDown:"js-fixed-el-down"},DOMElements:{},dataset:{},addPlaceholderElement:!0,mode:"down",offset:0,stickDelay:300,onInit:()=>null,onScroll:()=>null,onStick:()=>null,onUnstick:()=>null,onResize:()=>null},this.placeholder=null,this.lastScrollPosition=0,this.height=this.element.offsetHeight,this.fixPoint=window.pageYOffset+this.element.getBoundingClientRect().top,this.created||this.init()}getElementPosition(){return getComputedStyle(this.element).position}destroy(){super.destroy(),this.placeholder&&this.placeholder.remove()}createEvents(){super.createEvents([[window,"scroll",this.scrollHandler],[window,"resize",this.resizeHandler],[window,"responsive",this.resizeHandler]])}addPlaceholderElement(){const t=document.createElement("div");t.style.height=`${this.height}px`,(0,w.BE)(t,this.element),this.placeholder=t,(0,P.cn)(this.element,this.options.classList.onPlaceholderRender)}handleScrollMode(){const t=window.pageYOffset,{mode:s,classList:r,onStick:u}=this.options;switch(s){case"down":(0,P.cn)(this.element,[r.onScroll,r.onScrollDown]),u(this);break;case"offset":case"down-bottom":(0,P.cn)(this.element,r.onScroll),setTimeout((()=>{(0,P.pv)(this.element,r.onScroll)&&(0,P.cn)(this.element,r.onScrollDown),u(this)}),this.options.stickDelay);break;case"up":(0,P.cn)(this.element,r.onScroll),t<this.lastScrollPosition?((0,P.IV)(this.element,r.onScrollUpHide),(0,P.cn)(this.element,[r.onScroll,r.onScrollUp]),u(this)):((0,P.pv)(this.element,r.onScrollUp)&&(0,P.cn)(this.element,r.onScrollUpHide),(0,P.IV)(this.element,r.onScrollUp));break;default:(0,P.cn)(this.element,r.onScroll)}}resizeHandler(){this.height=this.element.offsetHeight,this.placeholder&&(this.placeholder.style.height=`${this.height}px`),this.options.onResize&&this.options.onResize(this)}scrollHandler(){const t=window.pageYOffset,{classList:s,onScroll:r,onUnstick:u}=this.options;t>this.fixPoint?((0,P.IV)(this.element,s.onPlaceholderRender),this.handleScrollMode()):((0,P.IV)(this.element,[s.onScroll,s.onScrollDown,s.onScrollUp]),this.placeholder&&(this.resizeHandler(),(0,P.cn)(this.element,s.onPlaceholderRender)),u(this)),r(this),this.lastScrollPosition=t}initHandler(){const{mode:t,addPlaceholderElement:s,offset:r}=this.options;"offset"===t&&"number"==typeof r?this.fixPoint=r:"down-bottom"!==t&&"up"!==t||"number"!=typeof r||(this.fixPoint+=this.height+r),s&&"absolute"!==this.getElementPosition()&&"fixed"!==this.getElementPosition()&&this.addPlaceholderElement()}},(0,M.Z)(L.prototype,"initHandler",[T],Object.getOwnPropertyDescriptor(L.prototype,"initHandler"),L.prototype),L);var B,F,V,R,N,Z=(0,C.Z)(H),q=r(853),z=r(8935),U=r(5753),W=r(3525),K=r(9978);let Y=(B=(0,z.Z)(),F=(0,_.Z)(),V=(0,z.Z)(),R=(0,z.Z)(),N=class Tabs extends D.Z{constructor(t,s){
1super(t,s),this.options={classList:{selected:"is-current",toggle:"js-tabs-toggle",panel:"js-tabs-panel",content:"js-tabs-content",list:"js-tabs-list",closeBtn:"js-tabs-panel-close",accordionToggle:"js-accordion-toggle",withAccordion:"js-with-accordion",accordionFocus:"js-accordion-focus",active:"js-is-active"},toggle:{activeId:1},withAccordion:null,breakpoints:{desktop:{state:"tabs",callback:()=>null},tablet:{state:"tabs",callback:()=>null},smartphone:{state:"accordion",callback:()=>null}},stateCurrent:"is-current",DOMElements:{},dataset:{},onInitEvent:()=>null,onChange:()=>null,onRebuild:()=>null},this.$tabsNextKeysHandler=this.tabsNextKeysHandler.bind(this),this.$tabsPrevKeysHandler=this.tabsPrevKeysHandler.bind(this),this.created||this.init()}getMode(){if(this.options.breakpoints){return this.options.breakpoints[window.responsive].state}}isTabs(){return"tabs"===this.getMode()}getTogglesCollection(){return this.isTabs()||!this.options.withAccordion?this.toggles:this.accordionToggles}setActiveToggle(t){this.setAttributesForActiveTab(t);const s=this[this.isTabs()?"toggles":"accordionToggles"].findIndex((s=>s===t));this.options.withAccordion&&this.accordionToggles.forEach(((t,r)=>{r===s&&this.setAttributesForActiveAccordion(t),this.setFocusForAccordion(t)})),this.isTabs()||this.toggles.forEach(((t,r)=>{r===s&&this.setAttributesForActiveTab(t)}))}setAttributesForActiveTab(t){const s={tabindex:"0"};this.isTabs()&&(s["aria-selected"]="true"),(0,W.KT)(t,s),(0,P.cn)(t,this.options.stateCurrent)}setAttributesForActiveAccordion(t){(0,W.KT)(t,{"aria-expanded":"true","aria-disabled":"true",disabled:!1}),(0,P.cn)(t,this.options.stateCurrent)}getActiveToggle(){return!this.isTabs()&&this.options.withAccordion?this.accordionToggles.filter((t=>(0,P.pv)(t,this.options.stateCurrent))):this.toggles.filter((t=>(0,P.pv)(t,this.options.stateCurrent)))}removeActiveToggle(){this.toggles.forEach((t=>{(0,W.KT)(t,{"aria-selected":"false",tabindex:"-1"}),(0,P.IV)(t,this.options.stateCurrent)})),this.options.withAccordion&&this.accordionToggles.forEach((t=>{(0,W.KT)(t,{"aria-expanded":"false","aria-disabled":"false"}),t.removeAttribute("disabled"),(0,P.IV)(t,this.options.stateCurrent)}))}setFocusForAccordion(t){const{accordionFocus:s}=this.options.classList;t.addEventListener("focus",(()=>{(0,P.cn)(this.element,s)}
1)),t.addEventListener("blur",(()=>{(0,P.IV)(this.element,s)}))}setActiveTab(t){let s;const r=this.getTogglesCollection();switch(typeof t){case"object":s=t;break;case"number":s=r.length<t||t<=0?r[0]:r[t-1];break;default:[s]=r,console.error("There is no such element. The first default item is selected.")}this.removeActiveToggle(),this.setActiveToggle(s),this.removeActivePanel(),this.initActivePanel();const u=s.getAttribute("aria-controls");let p=null;u&&(p=document.getElementById(u)),p&&this.options.onChange&&(this.options.onChange(p),(0,K.KG)("tabsChange",!0,this.element))}createEvents(t){super.createEvents([[this.element,"click",this.clickHandler,"object"==typeof this.element],[window,["responsive"],this.resizeHandler]])}getDOMElements(){const{list:t,panel:s,toggle:r,closeBtn:u,accordionToggle:p}=this.options.classList,v=[...this.element.children];this.list=v.filter((s=>(0,P.pv)(s,t)))[0],this.panels=v.filter((t=>(0,P.pv)(t,s))),this.toggles=[...this.list.querySelectorAll(`.${r}`)],this.closeBtns=[...this.element.querySelectorAll(`.${u}`)],this.accordionToggles=this.panels.map((t=>t.querySelectorAll(`.${p}`)[0]))}onInit(){if(!this.toggles||!this.panels)return;this.options.onInitEvent&&(this.options.onInitEvent(this.element),(0,K.KG)("onInit",!0,this.element)),(0,P.pv)(this.element,this.options.classList.withAccordion)&&(this.options.withAccordion=!0),this.initAriaControls(this.toggles,this.panels),this.initEvents(),this.toggleHorizontalView(),this.keysHandler();const t=this.getTogglesCollection().filter((t=>(0,P.pv)(t,this.options.stateCurrent)));t.length?this.setActiveTab(t[0]):this.setActiveTab(1)}initAriaControls(t,s){this.isTabs()&&this.list.setAttribute("role","tablist"),t.forEach((t=>{const s=(0,K.xA)();(0,W.KT)(t,{"aria-selected":"false","aria-controls":s,id:`label-${s}`,tabindex:"-1"})})),s.forEach(((t,s)=>{const{accordionToggle:r,content:u}=this.options.classList,p=this.toggles[s].getAttribute("aria-controls"),v=`content-${(0,K.xA)()}`;let y={id:p};if(this.options.withAccordion){const s=t.querySelector(`.${r}`),p=t.querySelector(`.${u}`);(0,W.KT)(s,{"aria-expanded":"false","aria-disabled":"false","aria-controls":v}),s.removeAttribute("disabled"),(0,W.KT)(p,{"aria-hidden":"true",id:v})}!this.isTabs()&&this.options.withAccordion||(y={...y,role:"tabpanel",tabindex:"0","aria-labelledby":`label-${p}`,"aria-hidden":"true"}),(0,W.KT)(t,y),!this.isTabs()&&this.options.withAccordion||(0,W.KT)(t,{"aria-hidden":"true",role:"tabpanel",tabindex:"0"})}))}removeAriaControls(){this.toggles.forEach((t=>{(0,W.mD)(t,["aria-selected","aria-controls","tabindex"])})),this.panels.forEach((t=>{(0,W.mD)(t,["aria-labelledby","aria-hidden","id","role"])}))}initActivePanel(){const t=this.getActiveToggle(),s=t[0].getAttribute("aria-controls");!this.isTabs()&&this.options.withAccordion||t[0].setAttribute("aria-selected","true"),this.panels.forEach((t=>{const r=t.getAttribute("id"),u=t.querySelector(`.${this.options.classList.content}`),p=u.id;(!this.isTabs()&&this.options.withAccordion?p===s:r===s)&&(u.setAttribute("aria-hidden","false"),(0,P.cn)(t,this.options.stateCurrent),(0,P.cn)(u,this.options.stateCurrent),!this.isTabs()&&this.options.withAccordion||(0,W.KT)(t,{"aria-hidden":"false",tabindex:"0"}))}))}removeActivePanel(){this.panels.forEach((t=>{const s=t.querySelector(`.${this.options.classList.content}`);s.setAttribute("aria-hidden","true"),(0,P.IV)(t,this.options.stateCurrent),(0,P.IV)(s,this.options.stateCurrent),!this.isTabs()&&this.options.withAccordion||(0,W.KT)(t,{"aria-hidden":"true",tabindex:"-1"})}))}tabsNextKeysHandler(t){t.preventDefault();const{toggle:s,accordionToggle:r,active:u}=this.options.classList,{target:p}=t,v=(0,U.xl)(p,this.list,!1);if(this.options.toggle&&(0,P.pv)(p,s)&&v&&((0,P.cn)(this.element,u),v.focus(),this.setActiveTab(v)),this.accordionToggles.length&&(0,P.pv)(p,r)){const t=this.accordionToggles.findIndex((t=>t===p));t>=0&&t<this.accordionToggles.length-1?this.accordionToggles[t+1].focus():this.accordionToggles[0].focus()}}tabsPrevKeysHandler(t){t.preventDefault();const{toggle:s,accordionToggle:r,active:u}=this.options.classList,{target:p}=t,v=(0,U.jy)(p,this.list,!1);if(this.options.toggle&&(0,P.pv)(p,s)&&v&&((0,P.cn)(this.element,u),v.focus(),this.setActiveTab(v)),this.accordionToggles.length&&(0,P.pv)(p,r)){const t=this.accordionToggles.findIndex((t=>t===p));t>0?this.accordionToggles[t-1].focus():this.accordionToggles[this.accordionToggles.length-1].focus()}}clickHandler(t){let{target:s}=t;const{toggle:r,accordionToggle:u,closeBtn:p,active:v}=this.options.classList,y="button"===s.tagName.toLowerCase()?s:s.closest("button");y&&(0,P.pv)(y,`${r}`)&&this.toggles.includes(y)&&((0,P.cn)(this.element,v),y.focus(),this.setActiveTab(y)),y&&(0,P.pv)(y,`${u}`)&&this.accordionToggles.includes(y)&&(y.focus(),this.setActiveTab(y)),y&&(0,P.pv)(y,`${p}`)&&this.closeBtns.includes(y)&&((0,P.IV)(this.element,v),this.getActiveToggle()[0].focus(),this.removeActiveToggle(),this.removeActivePanel())}keysHandler(){"horizontal"===this.list.getAttribute("aria-orientation")?this.$keyHandler=(0,q.key)({context:this.element,right:this.$tabsNextKeysHandler,left:this.$tabsPrevKeysHandler}):this.$keyHandler=(0,q.key)({context:this.element,up:this.$tabsPrevKeysHandler,down:this.$tabsNextKeysHandler})}toggleHorizontalView(){this.list.getAttribute("data-vertical-style")&&((0,W.KT)(this.list,{"aria-orientation":"horizontal"}),this.list.removeAttribute("data-vertical-style"),(0,P.IV)(this.list,"is-vertical"),(0,P.IV)(this.element,"is-vertical")),"desktop"===window.responsive||(0,P.pv)(this.element,["is-vertical","js-tb-horizontal"])||((0,W.KT)(this.list,{"aria-orientation":"vertical","data-vertical-style":"true"}),(0,P.cn)(this.list,"is-vertical"),(0,P.cn)(this.element,"is-vertical"))}resizeHandler(){const{active:t}=this.options.classList;this.options.breakpoints&&(this.getActiveToggle().length&&"accordion"!==this.options.breakpoints[window.responsive].state?(0,P.cn)(this.element,t):(0,P.IV)(this.element,t),this.options.breakpoints[window.responsive].callback(this.element),this.options.onRebuild&&"accordion"===this.options.breakpoints[window.responsive].state&&(this.options.onRebuild(this.element),(0,K.KG)("onRebuild",!0,this.element,null))),this.isTabs()||!this.options.withAccordion?this.list.setAttribute("role","tablist"):this.list.removeAttribute("role"),this.panels.forEac
1h(((t,s)=>{this.isTabs()||!this.options.withAccordion?((0,W.KT)(t,{"aria-hidden":"true","aria-labelledby":this.toggles[s].id,role:"tabpanel",tabindex:"-1"}),this.getActiveToggle().length&&this.initActivePanel()):((0,W.mD)(t,["tabindex","aria-hidden","role","aria-labelledby"]),(0,W.mD)(this.accordionToggles[s],["aria-selected"]))})),this.toggleHorizontalView(),this.update()}},(0,M.Z)(N.prototype,"removeActiveToggle",[B],Object.getOwnPropertyDescriptor(N.prototype,"removeActiveToggle"),N.prototype),(0,M.Z)(N.prototype,"onInit",[F],Object.getOwnPropertyDescriptor(N.prototype,"onInit"),N.prototype),(0,M.Z)(N.prototype,"removeAriaControls",[V],Object.getOwnPropertyDescriptor(N.prototype,"removeAriaControls"),N.prototype),(0,M.Z)(N.prototype,"removeActivePanel",[R],Object.getOwnPropertyDescriptor(N.prototype,"removeActivePanel"),N.prototype),N);var X=(0,C.Z)(Y),G=r(4855),J=r(1027),Q=r(7382);r(8862);var tt=class SessionStorage{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"defaultStratisSessionStorageObject",s=arguments.length>1?arguments[1]:void 0;this.options={defaultObject:{}},this.name=t,s&&(this.options=(0,E.b)(this.options,s))}getObj(){const t=sessionStorage.getItem(this.name);return t?JSON.parse(t):this.setObj(this.options.defaultObject)}setObj(t){return sessionStorage.setItem(this.name,JSON.stringify(t)),t}setItem(t){this.setObj(Object.assign(this.getObj(),t))}removeItem(t){const{[t]:s,...r}=this.getObj();this.setObj(r)}};class FlashInfo extends D.Z{constructor(t,s){super(t),this.options={storage:"flash-info",classList:{closeButton:"js-flash-info-close",titleText:"flash-info__title-text",hidden:"is-hidden",visible:"is-visible",popup:"is-popup",bodyOpenedHelper:"js-flash-info-overflow",bannerOpenedHelper:"js-flash-info-banner-opened",headerClass:"header"},DOMElements:{},expireTime:30,dataset:{},onInit:()=>null},this.closeButton=null,this.focusTarget=null,this.$closeHandler=this.closeHandler.bind(this),this.setOptions(this.options,s),this.storage=new tt(this.options.storage),this.init()}static create(t,s){return Q.Z.create(t,s||{},FlashInfo)}init(){this.created=!0,this.focusTarget=(0,U.$D)(document.body,document.body),this.hideItem(),this.initEvents(),this.checkRecordStatus()}initEvents(){this.closeButton=this.element.querySelector(`.${this.options.classList.closeButton}`),this.closeButton&&this.closeButton.addEventListener("click",this.$closeHandler)}hideItem(){const t=(0,P.pv)(document.body,this.options.classList.bodyOpenedHelper),s=(0,P.pv)(document.body,this.options.classList.bannerOpenedHelper);if((0,P.IV)(this.element,this.options.classList.visible),(0,P.cn)(this.element,this.options.classList.hidden),(0,P.pv)(this.element,this.options.classList.popup))this.$focusHandler&&this.$focusHandler.disengage(),this.$keyHandler&&this.$keyHandler.disengage(),t&&this.focusTarget&&(this.focusTarget.focus(),(0,P.IV)(document.body,this.options.classList.bodyOpenedHelper));else if(s&&!t&&this.focusTarget){const t=document.querySelector(`${this.options.classList.headerClass}`);this.focusTarget=(0,U.$D)(this.element,t),this.focusTarget.focus(),(0,P.IV)(document.body,this.options.classList.bannerOpenedHelper)}}showItem(){if((0,P.IV)(this.element,this.options.classList.hidden),(0,P.cn)(this.element,this.options.classList.visible),(0,P.pv)(this.element,this.options.classList.popup)){const t=this.element.querySelector(`.${this.options.classList.titleText}`);t&&(t.setAttribute("tabindex","-1"),t.focus()),(0,P.cn)(document.body,this.options.classList.bodyOpenedHelper),this.$focusHandler=(0,J.tabFocus)({context:this.element}),this.$keyHandler=(0,q.key)({context:document.body,escape:()=>this.closeHandler()})}else(0,P.cn)(document.body,this.options.classList.bannerOpenedHelper)}closeHandler(){const t=new Date;t.setTime(t.getTime()+24*(this.options.expireTime||30)*60*60*1e3);const s=t.getTime();this.storage.setItem({[this.element.id]:s}),this.hideItem()}checkRecordStatus(){const t=this.storage.getObj()[this.element.id];t&&t>Date.now()?this.hideItem():(this.storage.setItem({[this.element.id]:0}),this.showItem())}}var et,st,it,ot,nt=FlashInfo,rt=(r(1703),r(6090));let at=(et=(0,z.Z)(),st=(0,_.Z)(),it=(0,_.Z)(),ot=class ScrollHandler extends D.Z{constructor(t,s){
1super(t,s),this.options={dataset:{"enable-scroll":!0,"scroll-target":1200,"hide-near-element":null,"hide-at-top":!1,"button-position-handling":!0,"enable-focus-after-scroll":!0,"focus-target":null,"scroll-offset":300,"bottom-element":null},DOMElements:{},classList:{},onInit:()=>null},this.focusTarget=null,this.created||this.init()}outerHeight(t){let s=t.offsetHeight;const r=getComputedStyle(t),[u,p]=["marginTop","marginBottom"];return s+=parseInt(r[u],10)+parseInt(r[p],10),s}onButtonClick(t){const{"scroll-target":s,"enable-focus-after-scroll":r}=this.options.dataset;if(0!==s&&!s)throw new Error("Scroll target not define");t.preventDefault(),this.scrollTo(s),r&&this.shiftFocus()}scrollTo(t){let s,r=null;const{"scroll-offset":u}=this.options.dataset,p="string"==typeof t&&"number"==typeof Number(t)?Number(t):t;switch(typeof p){case"string":s=document.querySelector(p),s?r=s.offsetTop-u:console.warn("Element for scrolling not exist");break;case"number":r=p;break;case"object":r=p.offsetTop-u}0===r||r?window.scrollTo({top:r,behavior:"smooth"}):console.warn("scroll target is undefined, please add it to data-scroll-target element attribute")}shiftFocus(){this.focusTarget?(0,q.visibleArea)({context:".header-wrapper",callback:()=>{this.focusTarget.focus()}}):console.warn(`focusTarget is not defined. [ScrollHandler ${this.getUid()}]`)}hideScrollHandlerButton(){this.element.style.display="none"}createEvents(t){const{"enable-scroll":s,"button-position-handling":r}=this.options.dataset;super.createEvents([[this.element,"click",this.onButtonClick,s],[this.element,"resize",x.Ds.call(this,this.getButtonHeight,250),r],[window,"scroll",this.buttonPositionHandler,r],[window,"resize",x.Ds.call(this,this.buttonPositionHandler,250),r]])}getDOMElements(){const{"focus-target":t,"enable-focus-after-scroll":s}=this.options.dataset;if(s){let s;s="string"==typeof t?document.querySelector(t):t,s&&!(0,rt.focusable)(s)&&(s=(0,U.hf)(s)),this.focusTarget=s}}getButtonHeight(){this.btnHeight=this.outerHeight(this.element),0===this.btnHeight&&(this.btnHeight=this.outerHeight(this.element.firstElementChild?this.element.firstElementChild:this.element.parentElement))}setBtnPosition(t){const{"bottom-element":s}=this.options.dataset,r=this.element.parentElement.getBoundingClientRect().top+window.pageYOffset-(s.getBoundingClientRect().top+window.pageYOffset);"object"==typeof this.element&&(t?(this.element.style.position="fixed",this.element.style.bottom=`${this.btnHeight}px`):(this.element.style.position="relative",this.element.style.bottom=`${this.btnHeight/2+r}px`))}initButton(){const{"button-position-handling":t}=this.options.dataset;t&&(this.getButtonHeight(),this.buttonPositionHandler())}buttonPositionHandler(){const{"bottom-element":t,"hide-near-element":s,"hide-at-top":r}=this.options.dataset;if(r&&(0===window.pageYOffset?(0,P.cn)(this.element,"is-hidden"):(0,P.IV)(this.element,"is-hidden")),s){const t=this.outerHeight(s),u=s.getBoundingClientRect(),p=this.element.getBoundingClientRect().top;p+this.btnHeight>u.top&&p<u.top+t||r&&!window.pageYOffset?(0,P.cn)(this.element,"is-hidden"):(0,P.IV)(this.element,"is-hidden")}if(t){const{top:s}=t.getBoundingClientRect(),r=window.pageYOffset+s+this.btnHeight/2;window.pageYOffset+window.innerHeight<r?this.setBtnPosition(!0):this.setBtnPosition(!1)}}},(0,M.Z)(ot.prototype,"hideScrollHandlerButton",[et],Object.getOwnPropertyDescriptor(ot.prototype,"hideScrollHandlerButton"),ot.prototype),(0,M.Z)(ot.prototype,"getDOMElements",[st],Object.getOwnPropertyDescriptor(ot.prototype,"getDOMElements"),ot.prototype),(0,M.Z)(ot.prototype,"initButton",[it],Object.getOwnPropertyDescriptor(ot.prototype,"initButton"),ot.prototype),ot);var lt,ct,ht,dt=(0,C.Z)(at),ut=r(1502),pt=r(2532),ft=r(8176);let gt=(lt=(0,_.Z)(),ct=(0,_.Z)(),ht=class StratisVideo extends D.Z{constructor(t,s){super(t,s),this.options={classList:{playing:"js-is-playing",paused:"js-is-paused",carouselWrapper:"swiper-wrapper",carouselSlide:"swiper-slide",videoControlText:".video-controls__action-text",rootElement:".js-content-root",textContent:".js-content"},DOMElements:{playToggleWrap:".js-video-toggle-wrap:single",playToggle:".js-video-toggle",videoElement:"video"},dataset:{},onInit:()=>null,onPause:()=>null,onPlay:()=>null},this.targetSlide=null,this.carouselDidPlay=!1,this.created||this.init()}pause(){const{videoElement:t}=this.options.DOMElements;t&&t.pause()}play(){const{videoElement:t}=this.options.DOMElements;t&&t.play()}createEvents(){const{playToggle:t,videoElement:s}=this.options.DOMElements;super.createEvents([[t,"click",this.playToggleHandler],[window,"resize",this.updatePlayTogglePosition],[s,["playing","pause"],this.manageStateHelpers],[s,"ended",this.videoEndHandler],[this.swiperCarousel&&this.swiperCarousel.carousel,"slideChangeTransitionEnd",this.slideTransitionEndHandler]])}playToggleHandler(){const{videoElement:t}=this.options.DOMElements,{playToggle:s}=this.options.DOMElements;t&&s&&((0,P.pv)(this.element,this.options.classList.playing)?(t.pause(),this.options.onPause(t)):(t.play(),this.options.onPlay(t)))}updatePlayTogglePosition(){const{playToggleWrap:t,videoElement:s}=this.options.DOMElements,{rootElement:r,textContent:u}=this.options.classList,p=this.element.closest(r);if(p&&t&&s)if("smartphone"===(0,ft.a)()){const r=p.querySelector(u);if(r){const u=Number(window.getComputedStyle(r).bottom.replace(/\D/g,"")),p=r.offsetHeight+u>s.offsetHeight/2?r.offsetHeight+u:s.offsetHeight/2;t.style.bottom=`${p}px`}}else t.style.bottom=s.offsetHeight/2+"px"}manageControls(){const{videoElement:t}=this.options.DOMElements,{playToggle:s}=this.options.DOMElements;if(s){const r=s.querySelector(this.options.classList.videoControlText);r&&(null!=t&&t.paused?((0,P.cn)(this.element,this.options.classList.paused),r.textContent=pt.Z.videoTogglePlay,s.setAttribute("data-content",pt.Z.videoTogglePlay),s.setAttribute("aria-label",pt.Z.videoTogglePlay)):((0,P.cn)(this.element,this.options.classList.playing),r.textContent=pt.Z.videoTogglePause,s.setAttribute("data-content",pt.Z.videoTogglePause),s.setAttribute("aria-label",pt.Z.videoTogglePause)))}}manageStateHelpers(){const{videoElement:t}=this.options.DOMElements;t&&((0,P.IV)(this.element,[this.options.classList.playing,this.options.classList.paused]),this.manageControls())}videoEndHandler(){this.swiperCarousel&&this.swiperCarousel.carousel&&this.swiperCarousel.carousel.slideNext()}slideTransitionEndHandler(){const t=this.swiperCarousel.carousel,s=this.swiperCarousel.getActiveSlide(),{videoElement:r}=this.options.DOMElements;
1s===this.targetSlide?(t.autoplay.running?(this.swiperCarousel.stopCarousel(),this.carouselDidPlay=!0):this.carouselDidPlay=!1,r.play()):(this.carouselDidPlay&&(this.swiperCarousel.runCarousel(),this.carouselDidPlay=!1),r.pause())}getCarousel(){const t=this.element.closest(`.${this.options.classList.carouselWrapper}`);if(t){this.targetSlide=this.element.closest(`.${this.options.classList.carouselSlide}`);const s=t.parentElement.getAttribute(`data-${this.name}-db-id`);this.swiperCarousel=s&&ut.Z.get(s)}}initialize(){this.getCarousel()}},(0,M.Z)(ht.prototype,"manageStateHelpers",[lt],Object.getOwnPropertyDescriptor(ht.prototype,"manageStateHelpers"),ht.prototype),(0,M.Z)(ht.prototype,"initialize",[ct],Object.getOwnPropertyDescriptor(ht.prototype,"initialize"),ht.prototype),ht);var mt,vt,bt=(0,C.Z)(gt);let yt=(mt=(0,_.Z)(),vt=class Megamenu extends D.Z{constructor(t,s){super(t,s||{}),this.options={classList:{menuItem:"main-nav__nav-item",menuItemLink:"main-nav__nav-link",submenuToggle:"js-main-nav-ddm-toggle",submenuDropdown:"js-main-nav-ddm-block",bodyOpenedHelper:"mnv-opened",currentLinkHelper:"is-active"},DOMElements:{container:".js-main-nav-container",submenus:".js-main-nav-ddm:array",firstLevelItems:".main-nav__nav-list > .main-nav__nav-item:array"},dataset:{},overrideDefaults:!1,containerDropdown:{toggle:{class:"main-nav-toggle",outsideID:"main-nav-toggle",ignoreAttrs:!0},dropdown:{class:"js-main-nav-block"},closeButton:{enabled:!0,class:"js-main-nav-close",ignoreAttrs:!0},overlay:{enabled:!0,outsideID:"js-main-nav-overlay"},interactions:{enableFocusTrap:!0,enableKeyHandler:!0},ignoreResponsiveEventOnLoad:!0}},this.menuDropdown=null,this.menuSubmenus=null,this.lastClickedLink=null,this.created||this.init()}open(){this.menuDropdown.open()}close(){this.menuDropdown.close()}setCurrentLinkAccessibility(){const t=this.getCurrentLink(),{container:s}=this.options.DOMElements;if(t){let r=t.parentElement;for(t.setAttribute("aria-current","page");r&&r!==s;){if((0,P.pv)(r,"main-nav__nav-item")){const s=r.querySelector(".main-nav__nav-link");s&&s!==t&&s.setAttribute("aria-current","true"),r.setAttribute("data-has-current","true")}r=r.parentElement}}}menuFirstLevelItems(){const{firstLevelItems:t}=this.options.DOMElements;return t}getCurrentLink(){return this.element.querySelector(".is-active")||null}initAccessibility(){this.setCurrentLinkAccessibility(),this.$keyHandler=(0,q.key)({context:this.element,escape:()=>this.close()})}initSubmenus(){const{submenus:t,firstLevelItems:s}=this.options.DOMElements,{submenuToggle:r,submenuDropdown:u}=this.options.classList;Array.isArray(t)&&t.length&&(this.menuSubmenus=t.map((t=>new I.Z(t,{DOMElements:{toggleBtn:`.${r}`,dropdownBlock:`.${u}`},beforeOpen:t=>{const r=t.options.DOMElements.toggleBtn,u=this.menuSubmenus.filter((t=>{let{element:s}=t;return(0,P.pv)(s,"is-open")})),p=s.some((t=>t.contains(r)));u.length&&!p&&u.forEach((t=>{t.close()}))}}))))}initContainerDropdown(){const{container:t}=this.options.DOMElements,{bodyOpenedHelper:s}=this.options.classList,{beforeOpen:r,afterClose:u}=this.options.containerDropdown||{};if(t){const p=(0,E.b)(this.options.containerDropdown||{},{beforeOpen:(t,u,p)=>{r&&r(t,u,p),this.options.overrideDefaults||(0,P.cn)(document.body,s),this.lastClickedLink=document.activeElement},afterClose:(t,r,p)=>{u&&u(t,r,p),this.options.overrideDefaults||(0,P.IV)(document.body,s),this.lastClickedLink&&this.lastClickedLink instanceof HTMLElement&&this.lastClickedLink.focus()}});this.menuDropdown=new O.L(t,p)}}initHandler(){this.initContainerDropdown(),this.initSubmenus(),this.initAccessibility();const{container:t}=this.options.DOMElements;t.addEventListener("click",(s=>{let{target:r}=s;r===t&&this.close()}))}},(0,M.Z)(vt.prototype,"initHandler",[mt],Object.getOwnPropertyDescriptor(vt.prototype,"initHandler"),vt.prototype),vt);var wt=(0,C.Z)(yt);class HeaderNav extends D.Z{constructor(t,s,r){var u;super(t,s||{},r),this.options={instancesInjection:{menu:null},classList:{},shouldOpenSubmenu:!0,dataset:{},DOMElements:{headerLinks:".header-nav__link:array"}}
1,this.menuFirstLevelItems=[],!this.created&&null!==(u=s.instancesInjection)&&void 0!==u&&u.menu&&this.init()}createEvents(){const{headerLinks:t}=this.options.DOMElements;super.createEvents([[t,"click",this.handleLinkClick],[t,"keydown",this.handleKeyboard]])}handleLinkClick(t){const{menu:s}=this.options.instancesInjection,{shouldOpenSubmenu:r}=this.options,{target:u}=t,p=u.getAttribute("data-index");if(p&&(t.preventDefault(),this.menuFirstLevelItems=null==s?void 0:s.menuFirstLevelItems(),this.menuFirstLevelItems)){const t=this.menuFirstLevelItems[(Number(p)-1).toString()],u=(0,U.hf)(t),v=t.getAttribute("data-toggle-db-id"),y=ut.Z.get(v,I.Z.name);s.open(),r&&y&&y.open(),(0,q.visibleArea)({context:u,callback:t=>{t.focus()},area:.4})}}handleKeyboard(t){32!==t.keyCode&&13!==t.keyCode||(t.preventDefault(),t.target.click())}}var xt=(0,C.Z)(HeaderNav);class Breadcrumbs{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".js-breadcrumbs-items-toggle";this.toggle=null,this.controledItems=[],t instanceof HTMLElement?this.toggle=t:"string"==typeof t&&(this.toggle=document.querySelector(t)),this.$handleClick=this.handleClick.bind(this),this.$responsiveHandler=this.responsiveHandler.bind(this),this.toggle&&this.init()}init(){this.toggle&&(this.controledItems=[...this.toggle.parentElement.parentElement.querySelectorAll('[aria-hidden="false"]')],this.controledItems.length&&this.initEvents())}initEvents(){this.toggle&&(this.toggle.addEventListener("click",this.$handleClick),window.addEventListener("responsive",this.$responsiveHandler))}handleClick(){if(this.controledItems.length&&this.toggle){this.controledItems.forEach((t=>{(0,P.cn)(t,"is-visible"),t.setAttribute("aria-hidden","false")})),this.toggle.setAttribute("aria-expanded","true"),(0,P.cn)(this.toggle.parentElement,"is-hidden");const t=(0,U.xl)(this.toggle,this.toggle.parentElement.parentElement);t&&t.focus()}}responsiveHandler(){if(this.controledItems.length&&this.controledItems.forEach((t=>{const s="none"===getComputedStyle(t).display;t.setAttribute("aria-hidden",s.toString())})),this.toggle){const t=this.controledItems.filter((t=>"true"===t.getAttribute("aria-hidden")));this.toggle.setAttribute("aria-expanded",Boolean(!t.length).toString())}}}r(7391);var Et=r(9996),St=r.n(Et);r(4155);var kt,Ct,Pt,Tt=class Gallery{get hasTTC(){return"undefined"!=typeof tarteaucitron}constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"[data-fancybox]",s=arguments.length>1?arguments[1]:void 0;this.options={animationEffect:"zoom",autoFocus:!0,backFocus:!0,trapFocus:!0,clickOutside:"close",idleTime:!1,buttons:["thumbs","close"],btnTpl:{arrowLeft:'<button data-fancybox-prev class="fancybox-button fancybox-button--arrow_left" title="{{PREV}}"><div><svg role="img" aria-label="{{PREV}}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>{{PREV}}</title><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 role="img" aria-label="{{NEXT}}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>{{NEXT}}</title><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>',thumbs:'<button data-fancybox-thumbs class="fancybox-button fancybox-button--thumbs" title="{{THUMBS}}"><svg role="img" aria-label="{{THUMBS}}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>{{THUMBS}}</title><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>',close:'<button data-fancybox-close class="fancybox-button fancybox-button--close" title="{{CLOSE}}"><svg role="img" aria-label="{{CLOSE}}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>{{CLOSE}}</title><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>',smallBtn:'<button data-fancybox-close class="fancybox-button fancybox-close-small"><svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1<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><span>{{CLOSE}}</span></button>'},baseTpl:`<div class="fancybox-container" role="dialog" aria-modal="true" {{ARIA-LABEL}} >\n <div class="fancybox-bg"></div>\n <div class="fancybox-inner">\n <div class="fancybox-infobar" aria-atomic="true" aria-live="polite">\n <p><span data-fancybox-index></span> ${pt.Z.of} <span data-fancybox-count></span></p>\n </div>\n <div class="fancybox-toolbar">{{buttons}}</div>\n <div class="fancybox-navigation">{{arrows}}</div>\n <div class="fancybox-stage"></div>\n <div class="fancybox-caption">\n <div class="fancybox-caption__body">\n </div>\n </div>\n </div>`,caption(){return` <p id="caption">${$(this).data("caption")||""}</p>`},afterShow(t){const s=t.Thumbs.$button[0],r=t.$caption;s&&r&&(s.setAttribute("aria-pressed",`${(0,P.pv)(r.prevObject[0],"fancybox-show-thumbs")}`),s.addEventListener("click",(()=>{const r="true"===s.getAttribute("aria-pressed");s.setAttribute("aria-pressed",`${!r}`);const u=t.Thumbs.$list[0],{group:p}=t;if(u){const t=[...u.querySelectorAll("a")];t&&p&&t.forEach(((t,s)=>{t.innerHTML=`${pt.Z.showSlideNumber} ${s+1} ${pt.Z.with} ${p[s].contentType}`}))}})))},afterLoad:(t,s)=>{(0,q.key)({escape:t.close.bind(t)});const{alt:r}=s.opts,u=t.$caption;setTimeout((()=>{const t=s.$image;t&&t.attr&&t.attr("alt",r||"")}),0),t.loadInstance||(t.loadInstance=!0,setTimeout((()=>{u&&!(0,P.pv)(u.prevObject[0],"fancybox-show-thumbs")&&(s.$smallBtn?s.$smallBtn[0].focus():t.$refs.inner[0].querySelector("button[data-fancybox-close]").focus());const r=s.$iframe,[p]=s.$content,[v]=t.$refs.container;let y=t.$trigger;if(y){[y]=y;const s="true"===y.getAttribute("data-fancybox-transparent"),u="true"===y.getAttribute("data-fancybox-center-content"),w=y.getAttribute("data-role"),{fancyboxBodyClass:x}=y.dataset;if(x&&(0,P.cn)(document.body,x),s&&(0,P.cn)(p,"is-transparent"),w&&r[0].setAttribute("role",y.getAttribute("data-role")),void 0!==r&&y.hasAttribute("data-title")&&r[0].setAttribute("title",y.getAttribute("data-title")),void 0!==r){const p=r[0].contentDocument||r[0].contentWindow.document;u&&p.body.classList.add("is-center-content"),s&&p.body.classList.add("is-transparent");const y=p.querySelector("[data-fancybox-close]");if(y){const[s]=t.$refs.toolbar,r=s.querySelector("[data-fancybox-close]");s.replaceChild(y,r),y.focus()}p.addEventListener("keydown",(t=>{var s;(27===t.keyCode&&$.fancybox.close(),t.target!==(0,U.su)(p)||t.shiftKey)||(null===(s=(0,U.hf)(v))||void 0===s||s.focus(),t.preventDefault())})),v.addEventListener("focusout",(t=>{let{relatedTarget:s}=t;var u;s===r[0]&&(null===(u=(0,U.su)(p))||void 0===u||u.focus())}))}const E=y.getAttribute("data-dialog-label");v.removeAttribute("{{ARIA-LABEL}}"),E&&v.setAttribute("aria-label",E);if(y.getAttribute("data-filter-labelledby")){const t=p.querySelector("h2")||p.querySelector(".legend");t&&v.setAttribute("aria-labelledby",t.id)}}const w=v.querySelector(".js-map");let x;w&&(x=w.getAttribute("data-map-db-id"));const E=v.querySelector(".js-negative-focus");E&&(E.setAttribute("tabindex","-1"),setTimeout((()=>{E.focus()}),500));const S=v.querySelector(".fancybox-slide");S&&(0,P.cn)(S,"js-scrollable"),G.Z.update(),(0,K.KG)("pagePopupOpen",!0,window,{mapInstanceDBId:x})}),0))},afterClose:t=>{setTimeout((()=>{const{fancyboxBodyClass:s}=t.$trigger[0].dataset;s&&(0,P.IV)(document.body,s)}),0),t.loadInstance=!1}};const r=document.documentElement.lang;$.fancybox.defaults.lang=r&&$.fancybox.defaults.i18n[r]?r:"fr",$.fancybox.defaults.media.dailymotion={matcher:/dailymotion.com\/embed\/video\/(.*)\/?(.*)/,type:"iframe"},this.options.i18n={...$.fancybox.defaults.i18n,fr:{CLOSE:"Fermer",NEXT:"Suivant",PREV:"Précédent",ERROR:"Le contenu demandé ne peut être chargé. <br/> Veuillez réessayer plus tard.",PLAY_START:"Démarrer le diaporama",PLAY_STOP:"Pause",FULL_SCREEN:"Plein écran",THUMBS:"Vignettes",DOWNLOAD:"Télécharger",SHARE:"Partager",ZOOM:"Zoom",TITLE_POPUP:"Recherche"},en:{CLOSE:"Close",NEXT:"Next",PREV:"Previous",ERROR:"The requested content cannot be loaded. <br/> Please try again later.",PLAY_START:"Play",PLAY_STOP:"Pause",FULL_SCREEN:"Full screen",THUMBS:"Thumbnails",DOWNLOAD:"Download",SHARE:"Share",ZOOM:"Zoom",TITLE_POPUP:"Search"}},s&&"object"==typeof s&&(this.options=$.extends({},this.options,s));const u={...this.options};u.buttons=[],$.fancybox.defaults=St()($.fancybox.defaults,u),this.selector=t,this.init()}handleFancybox(){const t=$(this.selector);t.filter(((t,s)=>"a"===s.tagName.toLowerCase()&&s)).attr("role","button"),t.each(((t,s)=>{const r=$(s);r.hasClass("gallery-item")&&r.parent().addClass("is-link"),r.on("key
1down",(t=>{32!==t.keyCode&&13!==t.keyCode||(t.preventDefault(),$(t.target).click())}))}));const s=[...document.querySelectorAll(".gallery-list")];s.length&&s.forEach((t=>{t.setAttribute("data-items",t.children.length.toString())})),t.fancybox(this.options)}init(){"undefined"!=typeof tarteaucitron?document.addEventListener("fancybox_added",this.handleFancybox.bind(this)):this.handleFancybox()}};r(3750);let Lt=(kt=(0,_.Z)(),Ct=(0,_.Z)(),Pt=class Multiselect extends D.Z{constructor(t,s){super(t,s),this.options={classList:{valueField:"js-multiselect-value",categoryRoot:"js-cat-root",categoryBranch:"js-cat-branch",categorySubtree:"js-cat-subtree"},dataset:{relations:"","show-count":!1,suffix:"categories",prefix:"selected",placeholder:"Toutes les categories"},DOMElements:{},dropdown:{closeButton:{enabled:!1},overlay:{enabled:!1}},onInit:()=>null},this.dropdown=null,this.toggle=null,this.valueField=null,this.checkboxes=[],this.categoriesMap={},this.checkboxSelector='input[type="checkbox"]',this.options.dropdown&&(this.dropdown=new O.L(this.element,this.options.dropdown||{}),this.toggle=this.dropdown.getToggle()),this.created||this.init()}set toggleHTML(t){this.toggle&&(this.toggle.innerHTML=t)}get value(){return this.valueField&&this.valueField.value||""}set value(t){this.valueField&&(this.valueField.value=t)}reset(){this.checkboxes.forEach((t=>{t.checked=!1,t.indeterminate=!1,t.removeAttribute("checked")})),this.toggleHTML=this.getToggleContent()}createEvents(){super.createEvents([[this.checkboxes,"change",this.onChangeHandler,Boolean(this.checkboxes.length)]])}getCategoryParent(t){const s=t.closest(`.${this.options.classList.categoryBranch}`);return s?s.querySelector(this.checkboxSelector):null}getData(){return this.checkboxes.reduce(((t,s)=>{var r;const u=null===(r=s.parentElement)||void 0===r?void 0:r.querySelector("label");return t.value.length?t.value=s.checked?`${t.value},${s.value}`:t.value:t.value=s.checked&&s.value||"",s.checked&&u&&t.categories.push(u.textContent),t}),{value:"",categories:[]})}getToggleContent(){const{categories:t}=this.getData(),{"show-count":s,placeholder:r,prefix:u,suffix:p}=this.options.dataset;let v;return v=s&&t.length>1?`${u} ${t.length} ${p}`:t.join(", "),v||r}handleParentCategories(t){if(t){let s=t;for(;s;){const t=this.categoriesMap[s.id].subtree,r=!t.length||t.every((t=>t.checked)),u=t.length&&t.some((t=>t.checked));s.checked=r,s.indeterminate=!r&&u,s.indeterminate?s.setAttribute("aria-checked","mixed"):s.setAttribute("aria-checked",`${s.checked}`),s=this.categoriesMap[s.id].parent}}}catToMap(){const t=this.element.querySelector(`.${this.options.classList.categoryRoot}`);if(t){const s=[...t.querySelectorAll(`.${this.options.classList.categoryBranch}`)],getCategories=t=>{const s=t.querySelector(this.checkboxSelector),r=t.querySelector(`.${this.options.classList.categorySubtree}`);this.categoriesMap[s.id]={field:s,parent:null,subtree:[]};if((0,P.pv)(t.parentElement,this.options.classList.categoryRoot)||(this.categoriesMap[s.id].parent=this.getCategoryParent(t.parentElement)),r){const t=[...r.querySelectorAll(`.${this.options.classList.categoryBranch} ${this.checkboxSelector}`)];t.length&&t.forEach((t=>this.categoriesMap[s.id].subtree.push(t)))}};s.length&&s.forEach(getCategories)}}initHandler(){this.valueField=this.element.parentElement.querySelector(`.${this.options.classList.valueField}`),this.checkboxes=[...this.element.querySelectorAll(this.checkboxSelector)],this.checkboxes.forEach((t=>this.checkboxHandler(t)))}checkboxHandler(t){const{subtree:s,parent:r}=this.categoriesMap[t.id];null!==t.getAttribute("checked")&&(t.checked=!0),s.length&&s.forEach((s=>{s.checked=t.checked,s.indeterminate=!1,s.setAttribute("aria-checked",`${s.checked}`)})),t.setAttribute("aria-checked",`${t.checked}`),this.handleParentCategories(r),this.value=this.getData().value,this.toggleHTML=this.getToggleContent()}onChangeHandler(t){let{target:s}=t;null!==s.getAttribute("checked")&&(s.removeAttribute("checked"),s.checked=!1),this.checkboxHandler(s)}},(0,M.Z)(Pt.prototype,"catToMap",[kt],Object.getOwnPropertyDescriptor(Pt.prototype,"catToMap"),Pt.prototype),(0,M.Z)(Pt.prototype,"initHandler",[Ct],Object.getOwnPropertyDescriptor(Pt.prototype,"initHandler"),Pt.prototype),Pt);var At=(0,C.Z)(Lt);
1class Message extends D.Z{constructor(t,s){super(t,s),this.created=!1,this.options={classList:{hasCloseButton:"has-close-btn"},closeBtnClass:"js-message-close",closeBtnIcon:'<i class="far fa-times"><span class="ghost">Fermer</span></i>',DOMElements:{closeButtons:".js-message-close:array"},dataset:{},onInit:()=>null,afterClose:()=>null},this.created||this.init()}close(t){let{target:s}=t;const r=s.closest(`.${this.element.className}`);r.parentElement.removeChild(r),this.options.afterClose&&this.options.afterClose(this,this.element)}createEvents(){const{closeButtons:t}=this.options.DOMElements;super.createEvents([[t,"click",this.close]])}}var Ot=(0,C.Z)(Message);class Geocode extends D.Z{constructor(t,s){super(t,s),this.options={classList:{fullAddress:".js-geocode-full-address",address:".js-geocode-address",postcode:".js-geocode-postcode",city:".js-geocode-city",latitude:".js-geocode-latitude",longitude:".js-geocode-longitude"},DOMElements:{},dataset:{},onInit:()=>null,onGetData:()=>null},this.inputs={},this.$successHandler=this.handleSuccess.bind(this),this.$errorHandler=this.handleError.bind(this),this.created||this.init()}createEvents(){super.createEvents([[this.element,"click",this.findInput]])}findInput(){const t=this.element.closest(".form");if(t){this.inputs={fullAddress:t.querySelector(this.options.classList.fullAddress),address:t.querySelector(this.options.classList.address),postcode:t.querySelector(this.options.classList.postcode),city:t.querySelector(this.options.classList.city),latitude:t.querySelector(this.options.classList.latitude),longitude:t.querySelector(this.options.classList.longitude)};const{fullAddress:s,address:r,postcode:u,city:p,latitude:v,longitude:y}=this.inputs,w=[s,r,u,p].some((t=>t&&t.value));if(v&&y&&v.value&&y.value)this.getGeolocationByCoordinates({lat:v.value,lon:y.value});else if(w){const t=s.value||`${r.value}, ${u.value}, ${p.value}`;this.getGeolocationByAllQueries(t)}else this.tryGeolocation()}}getGeolocationByAllQueries(t){this.fetchData(`https://nominatim.openstreetmap.org/search?format=json&q=${t}&addressdetails=1`)}getGeolocationByCoordinates(t){const{lat:s,lon:r}=t;this.fetchData(`https://nominatim.openstreetmap.org/reverse?format=json&lat=${s}&lon=${r}&addressdetails=1`)}async fetchData(t){try{const s=await fetch(t,{method:"GET"});if(s.status>=200&&s.status<300){const t=await s.json();return this.getResults(t),this.options.onGetData&&this.options.onGetData(t),t}throw new Error(s.statusText||"Invalid query URL")}catch(t){console.warn(t)}}getInputFieldByKey(t){switch(t){case"display_name":case"fullAddress":return this.inputs.fullAddress;case"road":case"address":return this.inputs.address;case"lat":case"latitude":return this.inputs.latitude;case"lon":case"longitude":return this.inputs.longitude;case"town":case"city":return this.inputs.city;case"postcode":return this.inputs.postcode}return null}getResults(t){(t&&void 0===t.length||t&&t.length>0)&&(t=void 0!==t.length?t[0]:t,Object.keys(t).forEach((s=>{const r=t[s],u=this.getInputFieldByKey(s);r&&"object"==typeof r&&r.constructor===Object?Object.keys(r).forEach((t=>{const s=this.getInputFieldByKey(t);this.setValueToInput(r,s,t)})):this.setValueToInput(t,u,s)})))}setValueToInput(t,s,r){t[r]&&"undefined"!==t[r]&&s&&!s.value&&(s.value=t[r]),"house_number"===r&&(this.inputs.address.value=`${t.road}, ${t.house_number}`)}tryGeolocation(){navigator.geolocation?navigator.geolocation.getCurrentPosition(this.$successHandler,this.$errorHandler):alert(pt.Z.geocodeCheckBrowser)}handleSuccess(t){let{coords:s}=t;this.getGeolocationByCoordinates({lat:s.latitude,lon:s.longitude})}handleError(t){switch(t.code){case t.TIMEOUT:alert(pt.Z.geocodeErrorTimeout);break;case t.POSITION_UNAVAILABLE:alert(pt.Z.geocodeErrorPositionUnavailable);break;default:console.warn(`ERROR(${t.code}): ${t.message}`)}}}var $t=(0,C.Z)(Geocode),It=r(5113),Mt=r(1744);class FileInput extends Mt.Z{constructor(t,s){super(t,s),this.fakeField=null,this.fakeFieldTextElement=null,this.fakeFieldTextElementDefaultText="",this.created||this.init()}static create(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".js-file-field",s=arguments.length>1?arguments[1]:void 0;const r=[...document.querySelectorAll(t)];return r.length?r.filter((t=>!t.getAttribute("data-fileinput-db-id"))).map((t=>new FileInput(t,s||{}))):null}getFileList(){return this.fileListBlock.getFiles()}getDOMElements(){super.getDOMElements();const{input:t}=this.options.DOMElements;t&&(this.fakeField=t.parentNode.querySelector(`p[id='file-description-${t.id}']`),this.fakeFieldTextElement=this.fakeField.querySelector("span:not([class])"),this.fakeFieldTextElementDefaultText=this.fakeFieldTextElement.textContent)}handleFiles(t){super.handleFiles(t),this.handleFieldText()}fakeFieldHandler(){const{input:t}=this.options.DOMElements;t.click()}createEvents(){const{input:t,area:s}=this.options.DOMElements;super.createEvents([[s,["dragenter","dragover","dragleave","drop"],this.toggleHighlightArea],[s,"drop",this.handleDrop],[t,"change",this.handleInputChange],[this.fakeField,"click",this.fakeFieldHandler]])}enterHandler(t){const{input:s}=this.options.DOMElements,{target:r}=t;super.enterHandler(t),r===this.fakeField&&(t.preventDefault(),s.click())}handleFieldText(){switch(this.fileListBlock.getFilledType()){case It.su.Empty:this.fakeFieldTextElement.textContent=this.fakeFieldTextElementDefaultText;break;case It.su.Filled:this.fakeFieldTextElement.textContent=this.fakeField.getAttribute("data-multiple-choosed").replace(/\[N]/,`${this.fileListBlock.getLength()}`);break;case It.su.OneFile:this.fakeFieldTextElement.textContent=this.fileListBlock.getFirstFileName()}return this.fakeFieldTextElement.textContent}}var Dt=(0,C.Z)(FileInput);
1class StratisForm extends D.Z{constructor(t,s){super(t,s),this.options={classList:{exclude:"js-field-exclude",day:"#date-day",month:"#date-month",year:"#date-year",choiceContainer:".js-choice-fieldset",choiceResetButton:"js-choice-reset",radioInput:'input[type="radio"]',visibilityClassName:"is-visible"},DOMElements:{resetButton:'[type="reset"]',resetChoiceButtons:".js-choice-reset:array",multiselect:".multiselect:array",datepicker:"#input-date-hidden",dateSelect:"#tx_news_year",choiceFieldset:".js-choice-fieldset:array"},dataset:{}},this.created||this.init()}createEvents(){const{resetButton:t}=this.options.DOMElements,{choiceFieldset:s,resetChoiceButtons:r}=this.options.DOMElements;super.createEvents([[this.element,"submit",this.submitHandler],[t,"click",this.resetHandler],[r,"click",this.resetChoiceHandler],[s,"change",this.showChoiceResetButton]])}removeNameAttribute(t){const s=this.element.querySelector(`[name="${t}"]`);!s||(0,P.pv)(s,this.options.classList.exclude)||"0"!==s.value&&""!==s.value||s.removeAttribute("name")}checkRelatedFields(t){let s=[];"tx_news_pi1[search][subject]"===t&&(s=s.concat(["tx_news_pi1[__referrer][@request]","tx_news_pi1[__referrer][@extension]","tx_news_pi1[__referrer][@vendor]","tx_news_pi1[__referrer][@controller]","tx_news_pi1[__referrer][@action]","tx_news_pi1[__referrer][arguments]","tx_news_pi1[__trustedProperties]"])),"tx_news_pi1[overwriteDemand][datecomplete]"===t&&(s=s.concat(["tx_news_pi1[overwriteDemand][startFromThisDate]"])),"tx_stratismap_location[keyword]"===t&&(s=s.concat(["tx_stratismap_location[__referrer][@extension]","tx_stratismap_location[__referrer][@vendor]","tx_stratismap_location[__referrer][@controller]","tx_stratismap_location[__referrer][@action]","tx_stratismap_location[__referrer][arguments]","tx_stratismap_location[__referrer][@request]","tx_stratismap_location[__trustedProperties]"])),this.removeNameAttribute(t),s.forEach((t=>{this.removeNameAttribute(t)}))}resetCheckboxes(t){t.forEach((t=>{t.checked=!1,t.indeterminate=!1}))}showChoiceResetButton(t){const s=t.target.closest("input"),r=s.closest(this.options.classList.choiceContainer).querySelector(`.${this.options.classList.choiceResetButton}`);s&&s.checked&&(0,P.cn)(r,this.options.classList.visibilityClassName)}clearChoiceFieldset(t){const s=(0,P.pv)(t.target,this.options.classList.choiceResetButton)?t.target:null;if(s){const t=[...s.parentElement.querySelectorAll(this.options.classList.radioInput)];this.resetCheckboxes(t),(0,P.IV)(s,this.options.classList.visibilityClassName)}}resetMultiselect(){const{multiselect:t}=this.options.DOMElements;null!=t&&t.length&&t.forEach((t=>{const s=t.getAttribute("data-multiselect-db-id"),r=s&&ut.Z.get(s);r&&r.reset()}))}setDate(){const{datepicker:t}=this.options.DOMElements;if(t&&t.value.length>0){const s=t.value.split("-"),r=document.querySelector(this.options.classList.day),u=document.querySelector(this.options.classList.month),p=document.querySelector(this.options.classList.year);if(r&&u&&p){const[t,v,y]=s;r.value=y,u.value=v,p.value=t}}}setSelectedYear(){const{dateSelect:t}=this.options.DOMElements;if(t&&t.parentElement){const s=t.parentElement.querySelector("select");if(!s)return;const r=s.querySelector(`option[value="${s.value}"]`);if(!r)return;const u=r.parentNode;u&&"OPTGROUP"===u.nodeName&&u.hasAttribute("label")&&t.setAttribute("value",u.getAttribute("label"))}}submitHandler(){this.setDate(),this.setSelectedYear();["tx_news_pi1[overwriteDemand][period]","tx_news_pi1[overwriteDemand][related]","tx_news_pi1[overwriteDemand][categories]","tx_news_pi1[overwriteDemand][day]","tx_news_pi1[overwriteDemand][month]","tx_news_pi1[overwriteDemand][year]","tx_news_pi1[overwriteDemand][keywords]","tx_news_pi1[overwriteDemand][datecomplete]","tx_news_pi1[search][subject]","tx_news_pi1[overwriteDemand][tags]","tx_news_pi1[overwriteDemand][relatedLinks]","tx_news_pi1[overwriteDemand][related]","tx_news_pi1[overwriteDemand][relatedLocations]","tx_news_pi1[overwriteDemand][relatedAreas]","tx_simplepoll_polllisting[category]","tx_simplepoll_polllisting[status]","tx_stratismap_location[search][keywords]","tx_stratismap_location[search][categories][]"].forEach((t=>{this.checkRelatedFields(t)}))}resetHandler(){this.resetMultiselect()}resetChoiceHandler(t){this.clearChoiceFieldset(t)}}var _t,Ht,Bt,Ft,jt=(0,C.Z)(StratisForm),Vt=r(4346);let Rt=(_t=(0,_.Z)(),Ht=(0,_.Z)(),Bt=(0,_.Z)(),Ft=class Autocomplete extends D.Z{constructor(t,s){
1super(t,s),this.options={classList:{inputClass:"js-autocomplete-input",wrapperClass:"js-autocomplete-result-wrapper",listClass:"js-autocomplete-result-list",itemClass:"js-autocomplete-result-item",linkClass:"js-autocomplete-result-link",textClass:"js-autocomplete-result-text",btnClear:"js-autocomplete-input-clear",loader:"loader-grow",isVisible:"is-visible",isActive:"is-active"},delay:300,calculateWidth:!0,calculatePosition:!0,dataset:{"json-path":!1,"min-chars":3,"min-elements":5,"max-elements":6,"mark-coincidence":!1},DOMElements:{}},this.data=null,this.checkMarkup=!1,this.lastValue="",this.timeOut=null,this.inputField=null,this.buttonClear=null,this.resultsWrapper=null,this.resultsList=null,this.loader=null,this.$upDownHandler=this.upDownHandler.bind(this),this.$enterHandler=this.enterHandler.bind(this),this.$escHandler=this.escHandler.bind(this),this.$tabHandler=this.tabHandler.bind(this),this.$homeHandler=this.homeHandler.bind(this),this.$endHandler=this.endHandler.bind(this),this.$clearInput=this.clearInput.bind(this),this.created||this.init()}hideResults(){this.timeOut=clearTimeout(this.timeOut),this.unselectListItem(),(0,P.IV)(this.element,this.options.classList.isVisible),(0,U.qX)(this.resultsList,-1),this.inputField.setAttribute("aria-expanded","false"),this.inputField.setAttribute("aria-activedescendant","")}createEvents(){super.createEvents([[this.inputField,"keyup",this.keyUpInput],[this.element,"click",this.clickHandler],[document,"click",this.outsideHandler],[window,"resize",this.resizeAndPosition]])}keyUpInput(t){const{target:s}=t,{"min-chars":r}=this.options.dataset;if(this.timeOut=clearTimeout(this.timeOut),![9,13,16,27,35,36,37,38,39,40].includes(t.which))if(this.lastValue=(0,K.dN)(s.value),s.setAttribute("data-autocomplete-lastValue",this.lastValue),s.value.length>=r){this.buttonClear.addEventListener("click",this.$clearInput,!1),(0,P.cn)(this.buttonClear,this.options.classList.isVisible),(0,P.cn)(this.loader,this.options.classList.isActive);const t=s.name;this.timeOut=setTimeout((()=>{this.loadData(this.lastValue,t)}),this.options.delay),this.centerElementInInput(this.buttonClear),this.centerElementInInput(this.loader)}else 0===s.value.length?((0,P.IV)(this.buttonClear,this.options.classList.isVisible),(0,P.IV)(this.loader,this.options.classList.isActive)):(this.hideResults(),(0,P.IV)(this.loader,this.options.classList.isActive))}centerElementInInput(t){this.inputField&&t&&(t.style.top=this.inputField.offsetTop+this.inputField.offsetHeight/2-t.offsetHeight/2+"px",t.style.bottom="auto")}async loadData(t,s){const{"json-path":r}=this.options.dataset;try{const u=await fetch(`${r}${(0,Vt.F5)({[s]:t})}`,{method:"GET"});if(u.status>=200&&u.status<300){const t=await u.json();this.data=Object.keys(t).map((s=>t[s])),this.addItems(),this.showResults(),(0,P.IV)(this.loader,this.options.classList.isActive)}}catch(t){console.warn("JSON file with data not found."),console.warn(t)}}outsideHandler(t){let{target:s}=t;this.inputField.parentElement.contains(s)||(this.hideResults(),(0,P.IV)(this.loader,this.options.classList.isActive))}showResults(){this.resizeAndPosition(),(0,P.cn)(this.element,this.options.classList.isVisible),this.inputField.setAttribute("aria-expanded","true")}clearInput(){this.lastValue="",this.inputField.value=this.lastValue,this.inputField.setAttribute("data-autocomplete-lastValue",this.lastValue),this.hideResults(),(0,P.IV)(this.buttonClear,this.options.classList.isVisible),this.inputField.focus()}resizeAndPosition(){const{calculateWidth:t,calculatePosition:s}=this.options;t&&(this.resultsWrapper.style.width=window.getComputedStyle(this.inputField).getPropertyValue("width")),s&&(this.resultsWrapper.style.top=`${this.inputField.offsetTop+this.inputField.offsetHeight}px`)}addItems(){const{linkClass:t,textClass:s,itemClass:r}=this.options.classList,{"mark-coincidence":u,"max-elements":p}=this.options.dataset;this.resultsList.innerHTML="",this.data.forEach(((v,y)=>{const w=(0,K.xA)();if(y<Number(p)){const p="on"===u?new RegExp(this.lastValue,"ig"):"",y=void 0!==v.title?`<a class="${t}" href="${v.title.href}"><span>${v.title.text.replace(p,"<mark>$&</mark>")}</span><span>${v.type.text}</span></a>`:`<p class="${s}" onclick="" tabindex="0"><span>${v.name.replace(p,"<mark>$&</mark>")}</span></p>`,x=`<li class="${r}" role="option" id="${w}">${y}</li>`;this.resultsList.insertAdjacentHTML("beforeend",x)}}))}upDownHandler(t){t.preventDefault();const s=this.getSelectedListItem(),r=s?s.firstElementChild:this.inputField,u=38===t.which?(0,U.jy)(r,this.resultsWrapper):(0,U.xl)(r,this.resultsWrapper);this.unselectListItem(),this.setInputValue(u)}setInputValue(t){if(t){t.parentElement.setAttribute("aria-selected","true");const{id:s}=t.parentElement,r=t.querySelector("span"),{tagName:u}=t,p="a"===u.toLowerCase()||"p"===u.toLowerCase();this.inputField.setAttribute("aria-activedescendant",s),this.inputField.value=p&&r?r.innerText:this.lastValue}}clickHandler(t){const{target:s}=t,{textClass:r}=this.options.classList;if((0,P.pv)(s,r)||(0,P.pv)(s.parentElement,r)){t.preventDefault();const r=s.querySelector("span")||s.parentElement.querySelector("span");
1this.inputField.value=r.innerText,this.lastValue=r.innerText,this.hideResults(),this.inputField.focus()}}enterHandler(t){const s=this.getSelectedListItem();if(s){t.preventDefault();const r=s.querySelector("span");this.inputField.value=r.innerText,this.lastValue=r.innerText,this.hideResults()}}escHandler(t){const{isVisible:s}=this.options.classList;(0,P.pv)(this.element,s)&&t.stopPropagation(),this.inputField.getAttribute("data-autocomplete-lastValue")&&(this.inputField.value=this.lastValue),this.hideResults(),this.inputField.focus()}tabHandler(){this.inputField.getAttribute("data-autocomplete-lastValue")&&(this.inputField.value=this.lastValue),this.hideResults()}homeHandler(t){if(this.getSelectedListItem()){t.preventDefault();const s=(0,U.hf)(this.resultsWrapper);this.unselectListItem(),this.setInputValue(s)}}endHandler(t){if(this.getSelectedListItem()){t.preventDefault();const s=(0,U.su)(this.resultsWrapper);this.unselectListItem(),this.setInputValue(s)}}unselectListItem(){const t=this.getSelectedListItem();t&&t.removeAttribute("aria-selected")}getSelectedListItem(){const{itemClass:t}=this.options.classList;return[...this.resultsList.querySelectorAll(`.${t}`)].find((t=>t.hasAttribute("aria-selected")))}getElements(){const{inputClass:t,wrapperClass:s,listClass:r,btnClear:u}=this.options.classList;this.inputField=this.element.querySelector(`.${t}`),this.buttonClear=this.element.querySelector(`.${u}`),this.resultsWrapper=this.element.querySelector(`.${s}`),this.resultsList=this.element.querySelector(`.${r}`),this.loader=this.element.querySelector(`.${this.options.classList.loader}`)}addMarkup(){const{wrapperClass:t,listClass:s,btnClear:r}=this.options.classList,u=(0,K.xA)();if(!this.checkMarkup&&this.inputField){this.inputField.setAttribute("autocomplete","off");const p=`<button type="button" class="${r}"><span aria-hidden="true" class="${r}-icon"></span><span class="${r}-text">${pt.Z.btnClearText}</span></button>`,v=`<div class="${t}"><ul id="${u}" class="${s}" role="listbox" aria-label="${pt.Z.suggestions}"></ul></div>`;this.inputField.setAttribute("aria-controls",u),this.inputField.insertAdjacentHTML("afterend",p),this.inputField.insertAdjacentHTML("afterend",v),this.checkMarkup=!0,this.getElements()}}keyHandler(){this.$keyHandler=(0,q.key)({context:this.element,up:this.$upDownHandler,down:this.$upDownHandler,enter:this.$enterHandler,escape:this.$escHandler,tab:this.$tabHandler,"shift+tab":this.$tabHandler,home:this.$homeHandler,end:this.$endHandler})}},(0,M.Z)(Ft.prototype,"getElements",[_t],Object.getOwnPropertyDescriptor(Ft.prototype,"getElements"),Ft.prototype),(0,M.Z)(Ft.prototype,"addMarkup",[Ht],Object.getOwnPropertyDescriptor(Ft.prototype,"addMarkup"),Ft.prototype),(0,M.Z)(Ft.prototype,"keyHandler",[Bt],Object.getOwnPropertyDescriptor(Ft.prototype,"keyHandler"),Ft.prototype),Ft);var Nt,Zt,qt,zt,Ut,Wt=(0,C.Z)(Rt);let Kt=(Nt=(0,_.Z)(),Zt=(0,_.Z)(),qt=(0,_.Z)(),zt=(0,_.Z)(),Ut=class DateManager extends D.Z{constructor(t,s){super(t,s||{}),this.defaultErrorMessage=pt.Z.entryError,this.label=null,this.hiddenField=null,this.form=null,this.hiddenId="",this.originalId="",this.created||this.init()}static isHasNativeDatepicker(){const t=document.createElement("input");return t.setAttribute("type","date"),t.value="foo","date"===t.type&&"foo"!==t.value}static mapFrenchToInternationalDate(t){const s=t.split(/[-/.]/);return s[0]&&s[1]&&s[2]?`${s[2]}-${s[1]}-${s[0]}`:""}static mapInternationalDateToFrench(t){const s=t.split(/[-/.]/);return s[0]&&s[1]&&s[2]?`${s[2]}/${s[1]}/${s[0]}`:""}static isFrenchDateFormat(t){return/^[0-9]{2}[/.-][0-9]{2}[/.-][0-9]{4}$/.test(t)}static isInternationalDateFormat(t){return/^(\d{4})([/-])(\d{1,2})\2(\d{1,2})$/.test(t)}addValueToField(t){this.hiddenField&&(this.hiddenField.value=DateManager.mapFrenchToInternationalDate(t))}getDOMElements(){var t;this.form=this.element.form,this.label=this.element.parentElement instanceof HTMLLabelElement?this.element.parentElement:null===(t=this.element.parentElement)||void 0===t?void 0:t.querySelector("label")}createEvent(){super.createEvents([[this.form,"submit",this.handleFormSubmit,!DateManager.isHasNativeDatepicker()]])}createIds(){const{id:t}=this.element;this.hiddenId=t,this.originalId=`${t}-original`}createLabelHelper(){this.label?DateManager.isHasNativeDatepicker()||(this.label.setAttribute("for",this.originalId),this.label.insertAdjacentHTML("beforeend",'<span class="helper"> (jj/mm/aaaa)</span>')):console.error("Label does not exist or not found")}createHiddenField(){if(DateManager.isHasNativeDatepicker())return;const t=this.element,s=t.name,r=(0,P.pv)(t,"dateselector"),u=document.createElement("input");u.type="hidden",u.name=s,t.id=this.originalId,u.id=this.hiddenId,r&&((0,P.IV)(t,"dateselector"),(0,P.cn)(u,"dateselector")),this.hiddenField=u,(0,w.BE)(u,t),this.element.removeAttribute("name")}fieldValueCheck(){const t=this.element.value;t&&!DateManager.isHasNativeDatepicker()&&(DateManager.isFrenchDateFormat(t)&&this.addValueToField(t),DateManager.isInternationalDateFormat(t)&&(this.element.value=DateManager.mapInternationalDateToFrench(t),this.addValueToField(t)))}handleFormSubmit(){const{value:t}=this.element;this.addValueToField(t)}},(0,M.Z)(Ut.prototype,"createIds",[Nt],Object.getOwnPropertyDescriptor(Ut.prototype,"createIds"),Ut.prototype),(0,M.Z)(Ut.prototype,"createLabelHelper",[Zt],Object.getOwnPropertyDescriptor(Ut.prototype,"createLabelHelper"),Ut.prototype),(0,M.Z)(Ut.prototype,"createHiddenField",[qt],Object.getOwnPropertyDescriptor(Ut.prototype,"createHiddenField"),Ut.prototype),(0,M.Z)(Ut.prototype,"fieldValueCheck",[zt],Object.getOwnPropertyDescriptor(Ut.prototype,"fieldValueCheck"),Ut.prototype),Ut);var Yt=(0,C.Z)(Kt);
1class DateRange extends D.Z{constructor(t,s){super(t,s||{}),this.options={classList:{wrapperBlock:"search-facets__daterange",button:"search-facets__daterange-submit"},dataset:{"facet-name":"created"},DOMElements:{}},this.startDateInput=null,this.endDateInput=null,this.submitButton=null,this.facetUrlInput=null,this.created||this.init()}createEvents(){super.createEvents([[this.submitButton,"click",this.sendRequest]])}getDOMElements(){const{"facet-name":t}=this.options.dataset;t&&(this.startDateInput=this.element.querySelector(`#start_date_${t}`),this.endDateInput=this.element.querySelector(`#end_date_${t}`),this.submitButton=this.element.querySelector(`.${this.options.classList.button}`),this.facetUrlInput=this.element.querySelector(`#${t}_url`))}sendRequest(){if(!(this.startDateInput&&this.endDateInput&&this.submitButton&&this.facetUrlInput))return void console.warn("DateRangeController required startDateInput, endDateInput, facetUrlInput and submit button. Please add them.");const{value:t}=this.startDateInput,{value:s}=this.endDateInput,{value:r}=this.facetUrlInput;if(""!==t&&""!==s){let u=r;const p=t.replace(/-/g,""),v=s.replace(/-/g,"");u=u.replace(encodeURI("___FROM___"),`${p}0000`),u=u.replace(encodeURI("___TO___"),`${v}2359`),window.location.href=u}}}var Xt=(0,C.Z)(DateRange),Gt=r(2502);class DateValidator extends Gt.Z{constructor(t,s,r){super(t,s||{},r),this.options=(0,E.b)(Gt.Z.defaultOptions,{dataset:{errorMessage:pt.Z.dateError}}),this.created||this.init()}isValid(){let t=super.isValid();return t&&(t=this.isDateValid()),t}isDateValid(){const{value:t}=this.element;return!!Yt.isHasNativeDatepicker()||(Yt.isFrenchDateFormat(t)&&this.customValidation(t)||""===t)}customValidation(t){const[s,r,u]=t.split("/").map((t=>parseInt(t,10)));let p=r,v=s,y=u;if(Yt.isFrenchDateFormat(t)&&(p=s,v=r,y=u),y<1e3||y>3e3||0===v||v>12)return!1;const w=[31,28,31,30,31,30,31,31,30,31,30,31];return(y%400==0||y%100!=0&&y%4==0)&&(w[1]=29),p>0&&p<=w[v-1]}}var Jt=(0,C.Z)(DateValidator);class GroupValidator extends Gt.Z{constructor(t,s,r){super(t,s||{},r),this.options=(0,E.b)(Gt.Z.defaultOptions,{DOMElements:{inputsToCheck:"input:array"},dataset:{errorMessage:pt.Z.requiredError}}),this.created||this.init()}isValid(){const{inputsToCheck:t}=this.options.DOMElements,s=t.filter((t=>t.checked)),r=s.length>0;return r?(this.errorTargetInput.removeAttribute("required"),this.errorTargetInput.value=s.map((t=>t.id)).join(),this.errorTargetInput.textContent=this.errorTargetInput.value):this.errorTargetInput.setAttribute("required","true"),r}getDOMElements(){super.getDOMElements();const t='<input class="is-visual-hidden" tabindex="-1" aria-hidden="true" value="1">',s=this.element.querySelector(".legend");s?s.insertAdjacentHTML("afterend",t):this.element.insertAdjacentHTML("afterbegin",t),this.errorTargetInput=this.element.querySelector(".is-visual-hidden")}}var Qt,te,ee=(0,C.Z)(GroupValidator);let se=(Qt=(0,_.Z)(),te=class IdenticalValidator extends Gt.Z{constructor(t,s,r){super(t,s||{},r),this.options=(0,E.b)(Gt.Z.defaultOptions,{dataset:{errorMessage:pt.Z.indeticalError}}),this.comparativeElement=null,this.isPasswordField=!1,this.created||this.init()}validate(t){var s;const r=null===(s=this.comparativeElement)||void 0===s?void 0:s.value,u=this.element.value;(!t||"submit"===t.type||r&&u)&&(this.isPasswordField&&this.element.setAttribute("type","password"),super.validate(t))}isValid(){var t;return this.element.value===(null===(t=this.comparativeElement)||void 0===t?void 0:t.value)}createEvents(){super.createEvents([[this.comparativeElement,["change"],this.validate],[this.element,["input"],this.validate]])}getDOMElements(){const{compareWithId:t}=this.element.dataset;this.comparativeElement=document.querySelector(`#${t}`)}getOptionsFromElement(){this.isPasswordField="password"===this.element.getAttribute("type")}},(0,M.Z)(te.prototype,"getOptionsFromElement",[Qt],Object.getOwnPropertyDescriptor(te.prototype,"getOptionsFromElement"),te.prototype),te);var ie=(0,C.Z)(se);class PatternValidator extends Gt.Z{constructor(t,s,r){super(t,s||{},r),this.options=(0,E.b)(Gt.Z.defaultOptions,{dataset:{pattern:"",errorMessage:pt.Z.patternError}}),this.created||this.init()}isValid(){let t=super.isValid();return t&&(t=this.isPatternValid()),t}isPatternValid(){const{value:t}=this.element,{pattern:s}=this.options.dataset;return new RegExp(s,"g").test(t)}}var oe=(0,C.Z)(PatternValidator);class TimeValidator extends Gt.Z{constructor(t,s,r){super(t,s||{},r),this.options=(0,E.b)(Gt.Z.defaultOptions,{dataset:{errorMessage:pt.Z.timeError}}),this.created||this.init()}isValid(){let t=super.isValid();return t&&(t=this.isTimeValid()),t}isTimeValid(){const{value:t}=this.element,s=t.split(":");return!!Yt.isHasNativeDatepicker()||(2===s.length&&Number(s[0])<=23&&Number(s[1])<=59||""===t)}}var ne,re,ae=(0,C.Z)(TimeValidator);let le=(ne=(0,_.Z)(),re=class PasswordValidator extends Gt.Z{constructor(t,s,r){super(t,s||{},r),this.options=(0,E.b)(Gt.Z.defaultOptions,{patterns:{capital:/[A-ZÃÃÃÃÃÃÃÃÃßÃÃÃÃÃÅ]/g,lowercase:/[a-zà âäôéèëêïîçùûüÿæÅ]/g,digit:/[0-9]/g,symbol:/[^A-Za-z
1Ã-ÿ0-9]/g},classList:{ruleActive:"is-active",ruleError:"is-error",complexityModifiers:["is-seak","is-medium","is-strong"]},titleList:{valid:"Contient",invalid:"Ne contient pas"},dataset:{},attributeList:{passwordCharacters:"data-password-characters",passwordCapital:"data-password-capital",passwordLowercase:"data-password-lowercase",passwordDigit:"data-password-digit",passwordSymbol:"data-password-symbol"}}),this.fieldWrapper=this.element.parentElement.parentElement,this.fields={},this.complexityElements={},this.errorMessageElements=[],this.created||this.init()}getFields(){if(this.options.attributeList){const{passwordCharacters:t,passwordCapital:s,passwordLowercase:r,passwordDigit:u,passwordSymbol:p}=this.options.attributeList;this.fields={characters:this.fieldWrapper.querySelector(`[${t}]`),capital:this.fieldWrapper.querySelector(`[${s}]`),lowercase:this.fieldWrapper.querySelector(`[${r}]`),digit:this.fieldWrapper.querySelector(`[${u}]`),symbol:this.fieldWrapper.querySelector(`[${p}]`)};for(const[t,s]of Object.entries(this.fields))this.fields[t]={field:s,validationTarget:s.getAttribute(`data-password-${t}`)||1}}}isValid(){const{ruleActive:t}=this.options.classList;return 0===[...Object.values(this.fields)].filter((s=>{let{field:r}=s;return!(0,P.pv)(r,t)})).length}createEvents(){super.createEvents([[this.element,"keydown",this.handleElKeydown],[this.element,"keyup",this.handleElKeyup],[this.element,"keyup",this.validate]])}validate(t){if(t&&"submit"===t.type)return this.element.setAttribute("type","password"),super.validate()}manageActive(t,s){const{ruleActive:r,ruleError:u}=this.options.classList,{valid:p,invalid:v}=this.options.titleList,y=t.querySelector(".password-rule__icon"),w=t.querySelector(".password-rule__text"),x=t.querySelector(".sr-only");s?((0,P.cn)(t,r),(0,P.IV)(t,u),y&&(y.setAttribute("title",p),x.innerHTML=p)):((0,P.cn)(t,u),(0,P.IV)(t,r),y&&(y.setAttribute("title",v),x.innerHTML=v),w&&this.errorMessageElements.push(w)),0===this.element.value.length&&(0,P.IV)(t,u)}handleElKeydown(t){32===t.keyCode&&t.preventDefault()}managePasswordRules(){const{patterns:t}=this.options,{value:s}=this.element;this.errorMessageElements=[];for(const[r]of Object.entries(this.fields)){let u=!1;const p=this.fields[r]?this.fields[r].validationTarget:9999;if("characters"===r)u=s.length>=p;else{const v=s.match(t[r]),y=v&&v.length;y&&(u=y>=p)}this.manageActive(this.fields[r].field,u)}this.errorMessageElements.length&&(this.options.dataset.errorMessage=this.errorMessageElements.shift().innerHTML)}handleElKeyup(){this.managePasswordRules()}},(0,M.Z)(re.prototype,"getFields",[ne],Object.getOwnPropertyDescriptor(re.prototype,"getFields"),re.prototype),re);var ce,he,de=(0,C.Z)(le);let ue=(ce=(0,_.Z)(),he=class EmailValidator extends Gt.Z{constructor(t,s,r){super(t,s||{},r),this.options=(0,E.b)(Gt.Z.defaultOptions,{dataset:{email:"",errorMessage:pt.Z.emailError}}),this.created||this.init()}addCustomErrorMessage(){const{errorTargetInput:t}=this;t.setCustomValidity("");const{value:s,validity:{valid:r},type:u}=t;"email"!==u||r||(s&&s.length>0?t.setCustomValidity(pt.Z.emailError):t.setCustomValidity(pt.Z.emailEmptyError))}createEvents(){super.createEvents([[this.element,["input"],this.addCustomErrorMessage]])}},(0,M.Z)(he.prototype,"addCustomErrorMessage",[ce],Object.getOwnPropertyDescriptor(he.prototype,"addCustomErrorMessage"),he.prototype),he);var pe=(0,C.Z)(ue);class RequiredValidator extends Gt.Z{constructor(t,s,r){super(t,s||{},r),this.created||this.init()}createError(t){const{errorMessage:s}=this.options.dataset;return t||s}}var fe,ge,me=(0,C.Z)(RequiredValidator);let ve=(fe=(0,_.Z)(),ge=class UrlValidator extends Gt.Z{constructor(t,s,r){super(t,s||{},r),this.options=(0,E.b)(Gt.Z.defaultOptions,{dataset:{file:"",errorMessage:pt.Z.urlError}}),this.created||this.init()}addCustomErrorMessage(){const{errorTargetInput:t}=this;t.setCustomValidity("");const{validity:{valid:s},type:r}=t;"url"!==r||s||t.setCustomValidity(pt.Z.urlError)}createEvents(){super.createEvents([[this.element,["input"],this.addCustomErrorMessage]])}},(0,M.Z)(ge.prototype,"addCustomErrorMessage",[fe],Object.getOwnPropertyDescriptor(ge.prototype,"addCustomErrorMessage"),ge.prototype),ge);var be,ye,we=(0,C.Z)(ve);let xe=(be=(0,_.Z)(),ye=class FormValidator extends D.Z{constructor(t,s){
1super(t,s||{}),this.options=(0,E.b)(Gt.Z.defaultOptions,{dateValidator:{selector:'input[type="date"]',dataset:{errorMessage:pt.Z.dateError}},timeValidator:{selector:'input[type="time"]',dataset:{errorMessage:pt.Z.timeError}},groupValidator:{selector:".js-validator-group",DOMElements:{inputsToCheck:"input:array"},dataset:{errorMessage:pt.Z.requiredError}},requiredValidator:{selector:"[required]",dataset:{errorMessage:pt.Z.requiredError}},identicalValidator:{selector:".js-validator-identical",dataset:{errorMessage:pt.Z.indeticalError}},patternValidator:{selector:".js-validator-pattern",dataset:{pattern:"",errorMessage:pt.Z.patternError}},emailValidator:{selector:'input[type="email"]',dataset:{}},passwordValidator:{selector:".js-validator-password",dataset:{}},urlValidator:{selector:'input[type="url"]',dataset:{}}}),this.dateValidators=[],this.groupValidators=[],this.requiredValidators=[],this.IdenticalValidators=[],this.patternValidators=[],this.emailValidators=[],this.timeValidators=[],this.passwordValidators=[],this.urlValidators=[],this.validators=[],this.created||this.init()}validate(t){this.options.beforeValidation(this.element),this.validateInstances(t),this.options.afterValidation(this.element)}createEvents(){super.createEvents([[this.element,"submit",this.handleSubmit]])}initFormValidators(){const{dateValidator:t,groupValidator:s,requiredValidator:r,identicalValidator:u,patternValidator:p,emailValidator:v,timeValidator:y,passwordValidator:w,urlValidator:x}=this.options;this.dateValidators=Jt.create(t.selector,t,"validator",this.element)||[],this.groupValidators=ee.create(s.selector,s,"validator",this.element)||[],this.requiredValidators=me.create(r.selector,r,"required-validator",this.element)||[],this.IdenticalValidators=ie.create(u.selector,u,"validator",this.element)||[],this.patternValidators=oe.create(p.selector,p,"validator",this.element)||[],this.emailValidators=pe.create(v.selector,v,"validator",this.element)||[],this.timeValidators=ae.create(y.selector,y,"validator",this.element)||[],this.passwordValidators=de.create(w.selector,w,"validator",this.element)||[],this.urlValidators=we.create(x.selector,x,"validator",this.element)||[],this.validators=[...this.dateValidators,...this.groupValidators,...this.requiredValidators,...this.IdenticalValidators,...this.patternValidators,...this.emailValidators,...this.timeValidators,...this.passwordValidators,...this.urlValidators]}validateInstances(t){this.validators.forEach((s=>{s.validate(t)})),this.handleErrorInputFocus()}handleErrorInputFocus(){const{inputError:t,main:s}=this.options.classList,r=document.querySelector(`.${t} .${s}`);r&&r.focus()}handleSubmit(t){this.validate(t)}},(0,M.Z)(ye.prototype,"initFormValidators",[be],Object.getOwnPropertyDescriptor(ye.prototype,"initFormValidators"),ye.prototype),ye);var Ee,Se,ke,Ce,Pe,Te,Le=(0,C.Z)(xe),Ae=r(2642);let Oe=(Ee=(0,_.Z)(),Se=(0,_.Z)(),ke=(0,_.Z)(),Ce=(0,_.Z)({index:0}),Pe=(0,_.Z)(),Te=class FormConditionManager extends D.Z{constructor(t,s,r){super(t,s||{},r),this.options={classList:{mainBlock:".js-condition-main",additionalBlockMock:"js-condition-additional-mock",mainBlockMock:"js-condition-main-mock"},dataset:{targetValue:"autre",closeMainBlockAfterChange:!1},DOMElements:{}},this.mainBlock=null,this.mainBlockValidators=[],this.mainBlockRequiredElements=[],this.mainBlockToggler=null,this.additionBlockMockId="mock",this.additionalBlock=null,this.additionalBlockToggler=null,this.created||this.init()}openAdditionalBlock(){this.showAdditionalBlock(),this.additionalBlockToggler.open()}closeAdditionalBlock(){this.additionalBlockToggler.close()}openMainBlock(){this.showMainBlock(),this.mainBlockToggler.open()}closeMainBlock(){this.mainBlockToggler.close()}getDOMElements(){super.getDOMElements();const{blockRelation:t}=this.element.dataset,{mainBlock:s}=this.options.classList;this.additionBlockMockId=`${t}-mock`,this.additionalBlock=document.querySelector(`#${t}`),this.mainBlock=this.element.closest(s)||this.element}createEvents(){super.createEvents([[this.element,"change",this.handleMainFieldChange]])}
1disableMainBlockValidators(){this.mainBlockValidators.forEach((t=>t.disableValidation()))}disableMainBlockRequired(){this.mainBlockRequiredElements.forEach((t=>{t.removeAttribute("required")}))}enableMainBlockValidators(){this.mainBlockValidators.forEach((t=>t.enableValidation()))}enableMainBlockRequired(){this.mainBlockRequiredElements.forEach((t=>{t.setAttribute("required","true")}))}setMainBlockValidators(){this.mainBlockValidators=[...this.mainBlock.querySelectorAll(".js-validator")].map((t=>ut.Z.get(t.getAttribute("data-validator-db-id"))))}setRequiredElements(){this.mainBlockRequiredElements=[...this.mainBlock.querySelectorAll("[required]")]}setTogglers(){this.mainBlockToggler=new I.Z(this.mainBlock,{disableToggleButton:!0,DOMElements:{dropdownBlock:this.mainBlock},onEnd:this.handleMainToggleCallback.bind(this)}),this.additionalBlockToggler=new I.Z(this.additionalBlock,{disableToggleButton:!0,DOMElements:{dropdownBlock:this.additionalBlock},onEnd:this.handleAdditionalToggleCallback.bind(this)})}handleMainFieldChange(t){const{targetValue:s,closeMainBlockAfterChange:r}=this.options.dataset,u=this.element,p=(0,Ae.AN)(u.value);u.checked||p===s?(this.openAdditionalBlock(),r&&this.closeMainBlock()):(this.closeAdditionalBlock(),r&&this.openMainBlock())}handleMainToggleCallback(t){t||this.hideMainBlock()}handleAdditionalToggleCallback(t){t||(this.enableMainBlockRequired(),this.enableMainBlockValidators(),this.hideAdditionalBlock())}showMainBlock(){const{mainBlockMock:t}=this.options.classList,s=this.element.querySelector(`.${t}`);(0,w.BE)(this.mainBlock,s),s.remove()}hideMainBlock(){const{mainBlockMock:t}=this.options.classList,s=document.createElement("div");(0,P.cn)(s,t),(0,w.BE)(s,this.mainBlock),this.mainBlock.remove()}hideAdditionalBlock(){const t=document.createElement("div");t.setAttribute("id",this.additionBlockMockId),(0,w.BE)(t,this.additionalBlock),this.additionalBlock&&this.additionalBlock.remove()}showAdditionalBlock(){const t=document.querySelector(`#${this.additionBlockMockId}`);(0,w.BE)(this.additionalBlock,t),t&&t.remove(),this.disableMainBlockRequired(),this.disableMainBlockValidators()}},(0,M.Z)(Te.prototype,"closeAdditionalBlock",[Ee],Object.getOwnPropertyDescriptor(Te.prototype,"closeAdditionalBlock"),Te.prototype),(0,M.Z)(Te.prototype,"setMainBlockValidators",[Se],Object.getOwnPropertyDescriptor(Te.prototype,"setMainBlockValidators"),Te.prototype),(0,M.Z)(Te.prototype,"setRequiredElements",[ke],Object.getOwnPropertyDescriptor(Te.prototype,"setRequiredElements"),Te.prototype),(0,M.Z)(Te.prototype,"setTogglers",[Ce],Object.getOwnPropertyDescriptor(Te.prototype,"setTogglers"),Te.prototype),(0,M.Z)(Te.prototype,"hideAdditionalBlock",[Pe],Object.getOwnPropertyDescriptor(Te.prototype,"hideAdditionalBlock"),Te.prototype),Te);var $e,Ie,Me,De=(0,C.Z)(Oe);let _e=($e=(0,_.Z)(),Ie=(0,_.Z)(),Me=class TimeManager extends D.Z{constructor(t,s){super(t,s||{}),this.defaultErrorMessage=pt.Z.entryError,this.label=null,this.originalId="",this.created||this.init()}createIds(){const{id:t}=this.element;this.originalId=`${t}-original`}getDOMElements(){var t;this.label=this.element.parentElement instanceof HTMLLabelElement?this.element.parentElement:null===(t=this.element.parentElement)||void 0===t?void 0:t.querySelector("label")}createLabelHelper(){this.label?Yt.isHasNativeDatepicker()||(this.label.setAttribute("for",this.originalId),this.label.insertAdjacentHTML("beforeend",'<span class="helper"> (hh:mm)</span>')):console.error("Label does not exist or not found")}},(0,M.Z)(Me.prototype,"createIds",[$e],Object.getOwnPropertyDescriptor(Me.prototype,"createIds"),Me.prototype),(0,M.Z)(Me.prototype,"createLabelHelper",[Ie],Object.getOwnPropertyDescriptor(Me.prototype,"createLabelHelper"),Me.prototype),Me);var He=(0,C.Z)(_e);class DropArea extends Mt.Z{constructor(t,s){super(t,s||{}),this.options={classList:{highlighter:"is-highlighted"},DOMElements:{input:'input[type="file"]',area:".js-drop-area-block",filesList:".js-files-list"},dataset:{}},this.fileListBlock=null,this.$enterHandler=this.enterHandler.bind(this),this.created||this.init()}static handlePageFileDrop(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".js-drop-area-block",s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"is-target";this.dropAreaElements=[...document.querySelectorAll(t)],["dragenter","dragover","dragleave","drop"].forEach((t=>{document.addEventListener(t,(t=>x.P2.call(this,DropArea.handleFilePageDrop(t,s),200)))}))}createEvents(t){const{input:s,area:r}=this.options.DOMElements;super.createEvents(t||[[r,["dragenter","dragover","dragleave","drop"],this.toggleHighlightArea],[r,"drop",this.handleDrop],[r,"click",this.handleAreaClick],[s,"change",this.handleInputChange]])}handleAreaClick(t){const{input:s}=this.options.DOMElements;t.preventDefault(),s.click()}static handleFilePageDrop(t,s){const r="dragenter"===t.type||"dragover"===t.type;t.preventDefault(),t.stopPropagation(),DropArea.dropAreaElements.forEac
1h((t=>{r?(0,P.cn)(t,s):(0,P.IV)(t,s)}))}}DropArea.dropAreaElements=[];var Be,Fe,je,Ve=(0,C.Z)(DropArea);let Re=(Be=(0,z.Z)(),Fe=(0,_.Z)(),je=class StratisRating extends D.Z{constructor(t,s){super(t,s),this.options={params:{currentValue:3,id:"rating"},classList:{ratingResultClass:"is-result",ratingDisableClass:"is-disable",ratingButtonClass:"rating__button",ratingOutputClass:"rating__output"},DOMElements:{},dataset:{}},this.$changeRatingHandler=this.changeRatingHandler.bind(this),this.$escKeyHandler=this.clearRating.bind(this),this.ratingButton=null,this.ratingOutput=null,this.created||this.init()}destroy(){"object"==typeof this.element&&(0,P.cn)(this.element,this.options.classList.ratingDisableClass),this.removeEvent()}initialize(){if((0,P.pv)(this.element,this.options.classList.ratingResultClass)){const t=this.element.getAttribute("data-rating-current-value");this.element.querySelector(`input[value="${t}"]`).checked=!0,this.disabledHandler()}else this.receiveDOMElements(),this.addEvents()}disabledHandler(){this.element.querySelectorAll("input").forEach((t=>t.disabled=!0)),(0,P.cn)(this.element,this.options.classList.ratingDisableClass)}addEvents(){this.element.addEventListener("click",this.$changeRatingHandler,!1),this.keyHandler=(0,q.key)({context:this.element,right:this.$changeRatingHandler,down:this.$changeRatingHandler,up:this.$changeRatingHandler,left:this.$changeRatingHandler,enter:t=>{t.preventDefault(),this.changeRatingHandler(t),this.ratingOutput.style.opacity="1"},escape:this.$escKeyHandler})}removeEvent(){this.element.removeEventListener("click",this.$changeRatingHandler,!1),this.$keyHandler&&this.$keyHandler.disengage()}clearRating(){const t=this.element.querySelector('input[value="0"]'),s=t.nextElementSibling;this.setRating(t,0,s),this.ratingOutput.style.opacity="0"}setRating(t,s,r){t.checked=!0,t.focus(),localStorage.setItem(this.options.params.id,s),this.ratingButton.style.display=0!==s?"inline-flex":"none",r&&(this.ratingOutput.textContent=r.querySelector(".ghost").innerText)}receiveDOMElements(){this.ratingOutput=this.element.querySelector(`.${this.options.classList.ratingOutputClass}`),this.ratingButton=this.element.querySelector(`.${this.options.classList.ratingButtonClass}`)}changeRatingHandler(t){t.stopPropagation();const{target:s}=t,r="input"===s.tagName.toLowerCase()?s:s.previousElementSibling;let u=null;("keydown"===t.type&&"Enter"===t.key||"click"===t.type&&0!==t.x)&&(u="label"===s.tagName.toLowerCase()?s:s.nextElementSibling),this.setRating(r,r.value,u)}},(0,M.Z)(je.prototype,"destroy",[Be],Object.getOwnPropertyDescriptor(je.prototype,"destroy"),je.prototype),(0,M.Z)(je.prototype,"initialize",[Fe],Object.getOwnPropertyDescriptor(je.prototype,"initialize"),je.prototype),je);var Ne=(0,C.Z)(Re),Ze=r(177),qe=r.n(Ze);class SocialWall extends D.Z{constructor(t,s){super(t,s||{}),this.options={classList:{list:"social-wall__list"},DOMElements:{},dataset:{},beforeInit:()=>null,afterInit:()=>null},this.itemTemplate="",this.created||this.init()}
1async init(){this.options.beforeInit&&this.options.beforeInit(this),(0,P.cn)(this.element,"is-loading"),this.addHandlebarsProperties(),this.templates(),await this.addRecords(),this.options.afterInit&&this.options.afterInit(this)}addHandlebarsProperties(){qe().registerHelper("xif",((t,s,r,u)=>({"===":(t,s)=>t===s,"!==":(t,s)=>t!==s,"<":(t,s)=>t<s,"<=":(t,s)=>t<=s,">":(t,s)=>t>s,">=":(t,s)=>t>=s,"&&":(t,s)=>t&&s,"||":(t,s)=>t||s}[s](t,r)?u.fn(this):u.inverse(this)))),qe().registerHelper("capitalize",(t=>t.charAt(0).toUpperCase()+t.slice(1)))}async addRecords(){if(this.element.hasAttribute("data-api-json")){const t=this.element.getAttribute("data-api-json"),s=await this.getDataJSON(t);(0,P.IV)(this.element,"is-loading");for(const t in s)s[t].forEach((t=>{const s=this.element.querySelector(`.${this.options.classList.list}`);s&&this.createTemplate(t,this.itemTemplate,s)}))}}createTemplate(t,s,r){const u=qe().compile(s,{compat:!0})(t);r.insertAdjacentHTML("beforeend",u)}async getDataJSON(t){try{const s=await fetch(t);return await s.json()}catch(s){console.error(`Some problems with JSON file - ${t}`,s)}}templates(){this.itemTemplate='\n <li class="social-wall__list-item ">\n <article class="social-card is-{{ provider }}">\n <a href="{{ url }}" class="social-card__link" target="_blank" rel="noreferrer">\n {{#if picture}}\n <div class="social-card__wrapper">\n <picture class="social-card__picture">\n <img src="{{ picture }}" alt>\n </picture>\n </div>\n {{/if}}\n <div class="social-card__content">\n {{#xif provider \'===\' "twitter" }}\n {{#xif picture \'===\' false }}\n <p class="social-card__reposted">\n <span aria-hidden="true" class="fas fa-retweet" title="Retweet"></span>\n <span class="ghost">Retweet</span>\n @{{ pageId }}\n </p>\n {{/xif}}\n {{/xif}}\n <header class="social-card__header">\n {{#if pageLogo}}\n <img class="social-card__header-logo" src="{{ pageLogo }}" alt>\n {{/if}}\n <div class="social-card__header-wrap">\n <p class="social-card__header-title">{{ pageName }}</p>\n <p class="social-card__header-subtitle">@{{ pageId }}</p>\n </div>\n </header>\n <p class="social-card__text">{{ text }}</p>\n </div>\n <footer class="social-card__footer">\n {{#xif provider \'===\' "facebook" }}\n <span aria-hidden="true" class="fab fa-{{ provider }}-f"></span>\n {{else}}\n <span aria-hidden="true" class="fab fa-{{ provider }}"></span>\n {{/xif}}\n <p class="social-card__footer-type ghost">{{ provider }}</p>\n </footer>\n </a>\n </article>\n </li>\n '}}var ze=(0,C.Z)(SocialWall);const updateIframes=()=>{const t=[...document.querySelectorAll(".media-element")];t.length&&t.forEach((t=>{const s=t.querySelector(".iframe");if(s){const r=t.querySelector("iframe"),u=s.getAttribute("data-iframe-title");r&&(r.removeAttribute("frameborder"),u&&r.setAttribute("title",u))}}))};var media_element=()=>{setTimeout((()=>{if(window.tarteaucitron){const t=[...document.querySelectorAll(".tarteaucitronAllow"),document.getElementById("tarteaucitronPersonalize")].filter(
1Boolean);t.length&&document.addEventListener("click",(s=>{const{target:r}=s;t.filter((t=>t===r)).length&&updateIframes()})),updateIframes()}}),1e3)};class PasswordVisibilityManager extends D.Z{constructor(t,s,r){super(t,s||{},r),this.options={classList:{},dataset:{"target-input":".visibility-target:global"},DOMElements:{icon:".js-icon"}},this.toggled=!1,this.created||this.init()}createEvents(){super.createEvents([[this.element,"click",this.handleButtonClick]])}manageA11Y(){const{icon:t}=this.options.DOMElements,s=t.getAttribute("data-toggled-icon-current"),r=t.getAttribute("data-toggled-icon"),u=this.element.getAttribute("data-content"),p=this.element.getAttribute("data-toggle-content"),v=document.querySelector("#access-tooltip div"),y=this.element.querySelector(".sr-only");(0,P.IV)(t,s),(0,P.cn)(t,r),t.setAttribute("data-toggled-icon",s),t.setAttribute("data-toggled-icon-current",r),v.textContent=p,this.element.setAttribute("data-content",p),this.element.setAttribute("data-toggle-content",u),y.textContent=p}manageFieldVisibility(){const{"target-input":t}=this.options.dataset;this.toggled?t.type="password":t.type="text"}handleButtonClick(){this.manageFieldVisibility(),this.manageA11Y(),this.toggled=!this.toggled}}var Ue,We,Ke=(0,C.Z)(PasswordVisibilityManager);let Ye=(Ue=(0,_.Z)(),We=class Favorites extends D.Z{constructor(t,s){super(t,s||{}),this.options={classList:{active:"is-active",hide:"is-hidden",content:"js-favorites-content",remove:"js-favorites-remove",span:"ghost"},DOMElements:{},dataset:{"add-favorite":"Ajouter aux favoris","remove-favorite":"Supprimer des favoris",endpoint:"/favorites-success.json","page-data":'{\n "id": 123,\n "content": "Tekjkfadsjfklsd",\n "title": "Title"\n }'},isUserAutorized:!1,instancesInjection:{storage:null,api:null},onSetPage:()=>null,onRemovePage:()=>null},this.isActive=!1,this.$clickHandler=this.clickHandler.bind(this),this.created||this.init()}isFavorite(){const{storage:t}=this.options.instancesInjection;return Object.keys(t.getObj()).some((t=>t===window.location.href))||this.isActive}async setPage(){const{endpoint:t,"page-data":s}=this.options.dataset,{api:r}=this.options.instancesInjection,{onSetPage:u}=this.options;if(this.options.isUserAutorized){this.isActive=!0;try{await r.setPageToBE(t,s)}catch(t){this.setPageToLocalStorage()}}else this.setPageToLocalStorage();u()}async unsetPage(){const{endpoint:t,"page-data":s}=this.options.dataset,{api:r}=this.options.instancesInjection,{onRemovePage:u}=this.options;if(this.options.isUserAutorized){this.isActive=!1;try{await r.removePageFromBE(t,s)}catch(t){console.warn(t)}}else this.removePageFromLocalStorage();u()}removePageFromLocalStorage(){const{storage:t}=this.options.instancesInjection;t.removeItem(window.location.href)}setPageToLocalStorage(){const{endpoint:t,"page-data":s}=this.options.dataset,{storage:r}=this.options.instancesInjection;r.setItem({[window.location.href]:{endpoint:t,pageData:s}})}createEvents(){super.createEvents([[this.element,"click",this.$clickHandler]])}updateFavoriteButton(){const t=this.element.querySelector(`.${this.options.classList.span}`),{"add-favorite":s,"remove-favorite":r}=this.options.dataset;if(this.isFavorite()?(0,P.cn)(this.element,this.options.classList.active):(0,P.IV)(this.element,this.options.classList.active),t){const u=this.isFavorite()?r:s;t.innerHTML=u,this.element.setAttribute("data-content",u)}}clickHandler(t){t.preventDefault(),this[this.isFavorite()?"unsetPage":"setPage"](),this.updateFavoriteButton()}initHandler(){const{active:t}=this.options.classList;this.options.dataset["page-data"]=JSON.parse(this.options.dataset["page-data"]),this.isActive=(0,P.pv)(this.element,t),this.isFavorite()&&this.updateFavoriteButton()}},(0,M.Z)(We.prototype,"initHandler",[Ue],Object.getOwnPropertyDescriptor(We.prototype,"initHandler"),We.prototype),We);var Xe=(0,C.Z)(Ye);var Ge=class LocalStorage{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"defaultStratisLocalStorageObject",s=arguments.length>1?arguments[1]:void 0;this.options={defaultObject:{}}
1,this.name=t,s&&(this.options=(0,E.b)(this.options,s))}getObj(){const t=localStorage.getItem(this.name);return t?JSON.parse(t):this.setObj(this.options.defaultObject)}setObj(t){return localStorage.setItem(this.name,JSON.stringify(t)),t}setItem(t){this.setObj(Object.assign(this.getObj(),t))}removeItem(t){const{[t]:s,...r}=this.getObj();this.setObj(r)}};class FavoritesSync{constructor(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],s=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0;this.isUserAutorized=!1,this.isUserAutorized=t,this.storage=s,this.api=r}async sync(){if(!this.isUserAutorized)return;const t=this.storage.getObj();for(const[s,r]of Object.entries(t))await this.api.setPageToBE(r.endpoint,r.pageData),this.storage.removeItem(s)}}var Je,Qe,ts=r(7711);class FavoritesAPI{async makeRequest(t,s,r){const u={method:"GET"};(0,ts.K5)()||(u.method=r,u.body=JSON.stringify(s));const p=await fetch(t,u);if(p.status<200||p.status>300)throw new Error(p.statusText)}async setPageToBE(t,s){return this.makeRequest(t,s,"POST")}async removePageFromBE(t,s){return this.makeRequest(t,s,"DELETE")}}let es=(Je=(0,_.Z)(),Qe=class GluedDecor extends D.Z{constructor(t,s){super(t,s),this.created=!1,this.options={stretchToTheEnd:!0,classList:{},DOMElements:{},dataset:{gluedTo:""}},this.created||this.init()}glueTo(){const{stretchToTheEnd:t}=this.options,{gluedTo:s}=this.options.dataset,r=s.getBoundingClientRect(),u=new WebKitCSSMatrix(window.getComputedStyle(this.element).transform).m42,p=r.top+window.scrollY;let v=document.body.clientHeight-p;u>0&&(v-=u+100),this.element.style.top=`${p}px`,t&&(this.element.style.height=`${v}px`)}handleResize(){this.glueTo()}createEvents(){super.createEvents([[window,"resize",this.handleResize]])}},(0,M.Z)(Qe.prototype,"glueTo",[Je],Object.getOwnPropertyDescriptor(Qe.prototype,"glueTo"),Qe.prototype),Qe);var ss=(0,C.Z)(es);class WidthAnimation{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"[data-width-animation]";this.elements=[],this.elements=[...document.querySelectorAll(t)],this.init()}init(){this.elements.forEach((t=>{const{widthAnimation:s}=t.dataset;t.style.width=`${s}%`}))}}class FileInputLimitSize extends Mt.Z{constructor(t,s){super(t,s),this.created||this.init()}handleFiles(){const{input:t}=this.options.DOMElements,s=t.dataset.fileSize.replace(/[^\d.]/g,""),r=Number(t.dataset.fileNumber)||1;let u=0;if(t.setCustomValidity(""),t.files){for(const s of t.files)u+=s.size/1048576;u>Number(s)&&(t.setCustomValidity(pt.Z.singleFileError.replace("[MAX SIZE ALLOWED]",`${s}`)),t.files.length>1&&t.setCustomValidity(pt.Z.multipleFilesError.replace("[TOTAL MAX SIZE ALLOWED]",`${s}`))),t.files.length>r&&t.setCustomValidity(pt.Z.numberFilesError.replace("[X]",`${r}`))}}createEvents(){const{input:t}=this.options.DOMElements;super.createEvents([[t,"input",this.handleFiles]])}}var is,os,ns=(0,C.Z)(FileInputLimitSize);let rs=(is=(0,_.Z)(),os=class InlineSVG extends D.Z{constructor(t,s){super(t,s),this.options={classList:{loading:"is-loading"},DOMElements:{},dataset:{},onInit:()=>null,onLoaded:()=>null},this.created||this.init()}clearSVG(t){(0,W.mD)(t,["x","y","version","enable-background","xml:space","xmlns:a","xmlns:xlink"])}handleSVG(t){const s=(0,Vt.Of)(t.trim());this.clearSVG(s),this.element.parentNode&&this.element.parentNode.replaceChild(s,this.element),this.options.onLoaded&&this.options.onLoaded(s)}async getInlineSVG(){const t=this.element.getAttribute("data-src")||"";(0,P.cn)(this.element,this.options.classList.loading);try{const s=await fetch(t);if(s.status>=200&&s.status<300){const t=await s.text();this.handleSVG(t)}}catch(t){console.error(t)}}},(0,M.Z)(os.prototype,"getInlineSVG",[is],Object.getOwnPropertyDescriptor(os.prototype,"getInlineSVG"),os.prototype),os);var as=(0,C.Z)(rs);const documentErrorHandler=t=>{const{target:s}=t;if("IMG"===s.nodeName.toUpperCase()){const t=s.parentElement,r=s.getAttribute("data-error-src");if(r&&(s.src=r),"PICTURE"===(null==t?void 0:t.tagName.toUpperCase())&&!(0,P.pv)(s,"not-loaded")){(0,P.cn)(t,"not-loaded"),(0,P.cn)(s,"not-loaded");const r=[...t.querySelectorAll("source")];r.length&&r.forEach((t=>t.remove()))}}},windowLoadHandler=()=>{[...document.querySelectorAll("img:not([data-src]):not([data-ofi-src])")].filter((t=>
1!t.src.includes(".svg"))).forEach((t=>{t.naturalHeight||((0,P.cn)(t,"broken-img"),t.setAttribute("height","0"))})),dt.create(".js-scroll-handler"),I.C.create("[data-sd-toggle]",{isWrapContent:!1}),media_element(),ss.create(".js-decor-glued"),window.addEventListener("facetsUpdate",(()=>{I.C.create("[data-sd-toggle]",{isWrapContent:!1})}));new S;X.create(".js-tabs");const calculateScrollWidth=()=>{const t=window.innerWidth-document.documentElement.clientWidth;document.documentElement.style.setProperty("--scrollbar-width",` ${t}px`)};calculateScrollWidth();new WidthAnimation;window.addEventListener("resize",calculateScrollWidth),I.C.create(".subscription-item",{DOMElements:{dropdownBlock:".subscription-item__dropdown",toggleBtn:".subscription-item__toggle"}})};class StratisCore{static loadCore(){(0,K.A7)((()=>{window.isPrint&&(window.lazySizes.cfg.preloadAfterLoad=!0),Polyfills.init(),ExternalLibraries.init();const t=document.querySelector("form"),s=document.querySelector("[data-fancybox]");new G.Z('.js-tooltip:not([aria-disabled="true"]):not([disabled]):not(.is-disabled)');if(s){new Tt}const u="stratis-favorites",p=localStorage.getItem(u),v=new Ge(u,{defaultObject:JSON.parse(p)||{}}),y=new FavoritesAPI;new FavoritesSync(window.isUserAutorized||!1,v,y).sync(),Xe.create(".js-favorites",{isUserAutorized:window.isUserAutorized||!1,instancesInjection:{storage:v,api:y}}),t&&(DropArea.handlePageFileDrop(),jt.create("form"),Le.create(".js-validator-form"),Wt.create(".js-autocomplete"),At.create(".multiselect"),$t.create(".js-geocode"),Dt.create(".js-file-field"),ns.create(".js-file-max-size"),Ot.create(".message"),Yt.create('input[type="date"]'),Xt.create(".search-facets__daterange"),He.create('input[type="time"]'),De.create(".js-condition"),Ve.create(".js-drop-area"),Ne.create(".js-rating"),Ke.create(".js-password-visibility-manager"));new Breadcrumbs;nt.create(".flash-info");const x=wt.createSingle(".js-main-nav");xt.createSingle(".js-nav-links",{instancesInjection:{menu:x}}),Z.create(".js-fixed-element"),bt.create(".js-video"),ze.create(".social-wall"),(0,w.CF)(".js-swiper",(async t=>{const{default:s}=await Promise.all([r.e(514),r.e(218)]).then(r.bind(r,218));s.create(t)})),O.Z.create(".js-dropdown",{closeButton:{enabled:!1},overlay:{enabled:!1}}),A.create("[data-ts-alt-text]")})),as.create(".inline-svg"),document.addEventListener("error",documentErrorHandler,!0),window.addEventListener("load",windowLoadHandler)}}},1502:function(t,s){class DB{constructor(){window.db||(window.db={})}static save(t,s){s.setProp?s.setProp("dbCollection",t):s.dbCollection=t,window.db[t]?window.db[t].push(s):window.db[t]=[s]}static get(t){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(s)return window.db[s].find((s=>s.id===t));const r=Object.keys(window.db);for(let s=0;s<r.length;s++){const u=window.db[r[s]].find((s=>s.id===t));if(u)return u}return null}static delete(t){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const r=DB.get(t,s);if(r){const t=r.getProp("dbCollection");window.db[t]=window.db[t].filter((t=>t.id!==r.getUid()))}}static clear(){window.db={}}}new DB;s.Z=DB},7382:function(t,s){s.Z=class StratisFactory{static create(t,s,r,u,p){let v=[];if("string"==typeof t&&(v=[...(p||document).querySelectorAll(t)]),t instanceof HTMLElement&&v.push(t),Array.isArray(t)&&(v=t),!v.length)return null;const y=u||r.name.toLowerCase();return v.filter((t=>!t.getAttribute(`data-${y}-db-id`))).map((t=>new r(t,s,y)))}static createSingle(t,s,r,u,p){let v=null;if("string"==typeof t&&(v=(p||document).querySelector(t)),t instanceof HTMLElement&&(v=t),!v)return null;const y=u||r.name.toLowerCase();return v.getAttribute(`data-${y}-db-id`)?void 0:new r(v,s,y)}}},2458:function(t,s,r){r.d(s,{L:function(){return H}});var u,p,v,y,w,x,E,S=r(3229),C=r(853),P=r(1027),T=r(2889),L=r(8935),A=r(1401),O=r(6166),$=r(6585),I=r(6271),M=r(1590),D=r(5753),_=r(7560);let H=(u=(0,T.Z)(),p=(0,T.Z)(),v=(0,T.Z)(),y=(0,T.Z)(),w=(0,T.Z)(),x=(0,L.Z)(),E=class Dropdown extends $.Z{constructor(t,s){super(t,s||{}),this.options={classList:{hasCloseButton:"has-close-button",init:"is-initialized",opened:"is-open",hidden:"is-hidden"},breakpoints:{desktop:{state:O.ZM.closed,callback:()=>null},tablet:{state:O.ZM.closed,callback:()=>null},smartphone:{state:O.ZM.closed,callback:()=>null}},toggle:{class:"js-dropdown-toggle",outsideID:"",ignoreAttrs:!1},dropdown:{class:"js-dropdown-block",showDelay:200},closeButton:{enabled:!0,class:"js-dropdown-close",html:'<span class="ghost">Fermer</span>',outsideID:"",insert:O.Yj.prepend,ignoreAttrs:!1},overlay:{enabled:!0,class:"js-dropdown-overlay",onCreate:(t,s,r)=>(0,I.BE)(r,s)},interactions:{enableFocusTrap:!1,enableOutsideClick:!0,enableKeyHandler:!0},ignoreResponsiveEventOnLoad:!1,DOMElements:{toggle:".js-dropdown-toggle",dropdownBlock:".js-dropdown-block"},dataset:{},beforeOpen:()=>null,afterOpen:()=>null,beforeClose:()=>null,afterClose:()=>null},this.startOptions={},this.shouldOpen=!1,this.closeButton=null,this.overlay=null,this.ignoreResponsiveHandler=!1,this.$transitionEndHandler=this.transitionEndHandler.bind(this),this.created||this.init()}get controls(){const{toggle:t,closeButton:s}=this.options.DOMElements,{ignoreAttrs:r}=this.options.toggle,{ignoreAttrs:u}=this.options.closeButton;
1return[!r&&t,!u&&s,this.overlay].filter(Boolean)}getToggle(){return this.options.DOMElements.toggle}getState(){const{opened:t}=this.options.classList,{dropdownBlock:s}=this.options.DOMElements;return(0,M.pv)(this.element,t)||"false"===(null==s?void 0:s.getAttribute("aria-hidden"))?O.ZM.opened:O.ZM.closed}open(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;const{dropdownBlock:s,toggle:r}=this.options.DOMElements;this.shouldOpen=!0,this.options.beforeOpen&&this.options.beforeOpen(this,this.element,t),s&&this.controls.length&&(s.removeAttribute("hidden"),(0,D.by)(this.controls,s,"opened")),this.options.classList&&setTimeout((()=>{(0,M.cn)(this.element,this.options.classList.opened),r&&(0,M.cn)(r,this.options.classList.opened),this.closeButton&&t&&(0,C.visibleArea)({context:this.closeButton,callback:()=>{this.closeButton.focus()},area:.4}),this.overlay&&(0,M.cn)(this.overlay,this.options.classList.opened)}),this.options.dropdown.showDelay),this.initFocusTrapHandler(),this.initKeyHandler(),this.options.afterOpen&&this.options.afterOpen(this,this.element,t)}close(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;const{toggle:s,dropdownBlock:r}=this.options.DOMElements;this.shouldOpen=!1,this.options.beforeClose&&this.options.beforeClose(this,this.element,t),this.options.classList&&((0,M.IV)(this.element,this.options.classList.opened),s&&((0,M.IV)(s,this.options.classList.opened),t&&(t.stopPropagation(),(0,C.visibleArea)({context:s,callback:()=>{s.focus()},area:.2}))),this.overlay&&(0,M.IV)(this.overlay,this.options.classList.opened)),r&&this.controls.length&&(0,D.by)(this.controls,r,"closed"),this.disengageAllyHandlers(),this.options.afterClose&&this.options.afterClose(this,this.element,t)}createEvents(){var t;const{toggle:s,dropdownBlock:r}=this.options.DOMElements;super.createEvents([[s,"click",this.toggleHandler],[this.closeButton,"click",this.close],[document,"click",this.outsideHandler,null===(t=this.options.interactions)||void 0===t?void 0:t.enableOutsideClick],[window,"responsive",this.responsiveHandler]]),[r,this.element].forEach((t=>{t&&t.addEventListener("transitionend",this.$transitionEndHandler)}))}createCloseButton(){const t=document.createElement("button");return t.type="button",this.options.closeButton&&((0,M.cn)(t,this.options.closeButton.class),t.innerHTML=this.options.closeButton.html||""),t}createOverlay(){const t=document.createElement("div");return this.options.overlay&&(0,M.cn)(t,this.options.overlay.class),t}initFocusTrapHandler(){var t;null!==(t=this.options.interactions)&&void 0!==t&&t.enableFocusTrap&&(this.$focusHandler=(0,P.tabFocus)({context:this.element}))}initKeyHandler(){var t;const s=(0,D.hf)(this.element),r=(0,D.su)(this.element);null!==(t=this.options.interactions)&&void 0!==t&&t.enableKeyHandler&&(this.$keyHandler=(0,C.key)({context:this.element,down:this.$nextKeysHandler,right:this.$nextKeysHandler,tab:t=>{var s;let{target:u}=t;return null!==(s=this.options.interactions)&&void 0!==s&&s.enableFocusTrap?this.$prevKeysHandler:u===r?this.close():this.$prevKeysHandler},"shift+tab":t=>{var r;let{target:u}=t;return null!==(r=this.options.interactions)&&void 0!==r&&r.enableFocusTrap?this.$nextKeysHandler:u===s?this.close():this.$nextKeysHandler},up:this.$prevKeysHandler,left:this.$prevKeysHandler,escape:this.close.bind(this)}))}initToggle(){var t;null!==(t=this.options.toggle)&&void 0!==t&&t.outsideID&&(this.options.DOMElements.toggle=document.getElementById(this.options.toggle.outsideID))}initDropdown(){this.options.DOMElements.dropdownBlock=this.element.querySelector(`.${this.options.dropdown.class}`)}addCloseButton(){var t,s,r;if(!this.options.closeButton.enabled)return;const{dropdownBlock:u}=this.options.DOMElements;null!==(t=this.options.closeButton)&&void 0!==t&&t.outsideID?this.closeButton=document.getElementById(this.options.closeButton.outsideID):this.closeButton=this.element.querySelector(`.${this.options.closeButton.class}`),!this.closeButton&&null!==(s=this.options.closeButton)&&void 0!==s&&s.enabled&&(this.closeButton=this.createCloseButton(),this.options.closeButton.insert===O.Yj.append?null==u||u.appendChild(this.closeButton):null==u||u.insertBefore(this.closeButton,null==u?void 0:u.children[0])),(0,M.cn)(this.element,null===(r=this.options.classList)||void 0===r?void 0:r.hasCloseButton)}addOverlay(){var t,s;this.options.overlay.enabled&&(null!==(t=this.options.overlay)&&void 0!==t&&t.outsideID?this.overlay=document.getElementById(this.options.overlay.outsideID):this.overlay=this.element.querySelector(`.${this.options.overlay.class}`),!this.overlay&&null!==(s=this.options.overlay)&&void 0!==s&&s.enabled&&(this.overlay=this.createOverlay(),this.options.overlay.onCreate&&this.options.overlay.onCreate(this,this.element,this.overlay)))}initHandler(){const{dropdownBlock:t}=this.options.DOMElements;Object.keys(this.startOptions).length||(this.startOptions=this.options),this.ignoreResponsiveHandler=this.options.ignoreResponsiveEventOnLoad||!1,t&&((0,D.Rc)(this.controls,t),t.setAttribute("hidden","")),this.options.classList&&((0,M.cn)(this.element,this.options.classList.init),(0,M.pv)(this.element,this.options.classList.opened)&&(this.ignoreResponsiveHandler=!0,this.open()))}transitionEndHandler(t){if(this.created){const{propertyName:s}=t,{dropdownBlock:r}=this.options.DOMElements,u=(0,M.pv)(this.element,this.options.classList.opened);("transform"===s||"opacity"===s)&&!u&&r&&!this.shouldOpen&&r.setAttribute("hidden","")}}
1outsideHandler(t){const{toggle:s}=this.options.DOMElements,{target:r}=t,u=(0,M.pv)(this.element,this.options.classList.opened);if(!u)return;!(this.element.contains(r)||r===s||Boolean(s&&s.contains(r)))&&u&&this.close()}toggleHandler(t){return(0,M.pv)(this.element,this.options.classList.opened)?this.close(t):this.open(t)}responsiveHandler(){if(this.options.breakpoints){if(this.ignoreResponsiveHandler)return void(this.ignoreResponsiveHandler=!this.ignoreResponsiveHandler);const t=this.options.breakpoints[window.responsive];t.state===O.ZM.closed&&this.close(),this.update((0,_.b)(this.options,t.options||this.startOptions)),t.state===O.ZM.opened&&this.open(),t.options&&console.log(this.getState()),t.callback(this.element)}}removeClassAndControls(){this.created=!1;const{dropdownBlock:t}=this.options.DOMElements,{init:s}=this.options.classList;this.overlay&&!this.options.overlay.outsideID&&this.overlay.remove(),[t,...this.controls].forEach((t=>{t&&((0,M.IV)(t,[s]),(0,M.pv)(t,this.options.toggle.class)||(0,D.I7)(t,!1,!1,!1),t.removeAttribute("hidden"))})),[t,this.element].forEach((t=>{t&&t.removeEventListener("transitionend",this.$transitionEndHandler)}))}},(0,S.Z)(E.prototype,"initToggle",[u],Object.getOwnPropertyDescriptor(E.prototype,"initToggle"),E.prototype),(0,S.Z)(E.prototype,"initDropdown",[p],Object.getOwnPropertyDescriptor(E.prototype,"initDropdown"),E.prototype),(0,S.Z)(E.prototype,"addCloseButton",[v],Object.getOwnPropertyDescriptor(E.prototype,"addCloseButton"),E.prototype),(0,S.Z)(E.prototype,"addOverlay",[y],Object.getOwnPropertyDescriptor(E.prototype,"addOverlay"),E.prototype),(0,S.Z)(E.prototype,"initHandler",[w],Object.getOwnPropertyDescriptor(E.prototype,"initHandler"),E.prototype),(0,S.Z)(E.prototype,"removeClassAndControls",[x],Object.getOwnPropertyDescriptor(E.prototype,"removeClassAndControls"),E.prototype),E);const B=(0,A.Z)(H);s.Z=B},4437:function(t,s,r){r.d(s,{Z:function(){return FileHandler}});r(1703);var u=r(7560);var p=r(9978);let v=function(t){return t.Img="IMAGE",t.Application="APPLICATION",t.Undefined="UNDEFINED",t}({});class FileHandler{constructor(t,s){this.id=(0,p.xA)(),this.options={url:""},this.file=t,this.options=(0,u.b)(this.options,s||{})}getFile(){return this.file}createFormData(){const t=new FormData;return t.append("file",this.file),t}async uploadFile(){const{url:t}=this.options,s=this.createFormData();try{const r=await fetch(t,{method:"POST",body:s});if(!r.ok)throw new Error("Erreur du serveur. Merci d'essayer plus tard");return r}catch(t){return t}}getName(){return this.file.name}getImagePreview(){return new Promise(((t,s)=>{const r=new FileReader;
1r.readAsDataURL(this.file),r.onloadend=()=>{r.result||s(new Error("L'aperçu n'est pas activé")),t(r.result)}}))}getSize(){return function formatBytes(t){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;if(0===t)return"0 Bytes";const r=s<0?0:s,u=Math.floor(Math.log(t)/Math.log(1024));return parseFloat((t/Math.pow(1024,u)).toFixed(r))+" "+["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][u]}(this.file.size)}getType(){switch(this.file.type.split("/")[0]){case"image":return v.Img;case"application":return v.Application;default:return v.Undefined}}getId(){return this.id}}},5113:function(t,s,r){r.d(s,{e9:function(){return S},su:function(){return E}});var u,p,v=r(3229),y=r(6585),w=r(2889),x=r(1401);let E=function(t){return t.Empty="empty",t.OneFile="one file",t.Filled="filled",t}({}),S=(u=(0,w.Z)(),p=class FileListBlock extends y.Z{constructor(t,s){super(t,s),this.options={classList:{FileListWrapperClass:"file-list",FileListElementClass:"file-list__item",FileListButtonClass:"file-list__remove"},DOMElements:{resultsContainer:"[data-related-field]"},dataset:{},onFileRemoved:()=>null},this.fileList=[],this.fileListWrapper=null,this.element&&this.init()}getLength(){return this.fileList.length}getFilledType(){return this.fileList.length>1?E.Filled:0===this.fileList.length?E.Empty:E.OneFile}getFirstFileName(){return this.fileList[0].getName()}getFiles(){return this.fileList}removeFile(t){const s=this.fileList.splice(t,1);return this.renderFileList(),this.options.onFileRemoved(s[0]),this.fileList}removeAllFiles(){this.fileList=[],this.renderFileList()}addFile(t){return this.fileList.push(t),this.renderFileList(),t}renderFileList(){const{resultsContainer:t}=this.options.DOMElements;this.fileListWrapper||(this.fileListWrapper=document.createElement("ul"),this.fileListWrapper.className=this.options.classList.FileListWrapperClass),this.fileListWrapper.innerHTML="",this.fileList.length&&this.fileList.forEach((t=>{const s=document.createElement("li");s.innerHTML=t.getName(),s.className=this.options.classList.FileListElementClass,this.fileListWrapper.appendChild(s)})),t.innerHTML=this.fileListWrapper.outerHTML}},(0,v.Z)(p.prototype,"renderFileList",[u],Object.getOwnPropertyDescriptor(p.prototype,"renderFileList"),p.prototype),p);(0,x.Z)(S)},4855:function(t,s,r){var u=r(6166),p=r(1502),v=r(1590),y=r(7560);class StratisTooltip{static update(){if(window.db){const t=window.db[StratisTooltip.name];t&&t.length&&t.forEach((t=>{t.update()}))}}constructor(t,s){this.options={position:u.Position.top,offset:0,delay:60,id:"access-tooltip",classList:{top:"is-tooltip-top",bottom:"is-tooltip-bottom",left:"is-tooltip-left",right:"is-tooltip-right",inverted:"is-tooltip-inverted"},DOMElementsSelector:{scrollableElements:".js-scrollable"}},this.created=!1,this.$showTooltip=this.showTooltip.bind(this),this.$hideTooltip=this.hideTooltip.bind(this),this.$mouseOverHandler=this.mouseOverHandler.bind(this),this.elements=[],this.scrollableElements=[],this.tooltipElement=null,this.timeOut=null,this.selector=t,this.elements=[...document.querySelectorAll(this.selector)],this.options=(0,y.b)(this.options,s||{}),this.created||(p.Z.save(this.constructor.name,this),this.init())}destroy(){this.created&&(this.hide(),this.removeEvents(),this.created=!1)}update(t){return this.destroy(),t&&(this.options=(0,y.b)(this.options,t)),this.elements=[...document.querySelectorAll(this.selector)],this.init(),this}checkPositionClass(t){const{top:s,bottom:r,left:p,right:y}=u.Position,{top:w,bottom:x,left:E,right:S}=this.options.classList;let C=this.options.position;return(0,v.pv)(t,w)?C=s:(0,v.pv)(t,x)?C=r:(0,v.pv)(t,E)?C=p:(0,v.pv)(t,S)&&(C=y),C}initEvents(){this.elements.length&&this.elements.forEach((t=>{t.hasAttribute("data-content")&&(t.addEventListener("focus",this.$showTooltip),t.addEventListener("blur",this.$hideTooltip))})),document.addEventListener("mouseover",this.$mouseOverHandler),["click","keydown"].forEach((t=>{document.addEventListener(t,this.$hideTooltip)})),window.addEventListener("scroll",this.$hideTooltip),this.scrollableElements.forEach((t=>{t.addEventListener("scroll",this.$hideTooltip)}))}
1removeEvents(){this.elements.length&&this.elements.forEach((t=>{t.hasAttribute("data-content")&&(t.removeEventListener("focus",this.$showTooltip),t.removeEventListener("blur",this.$hideTooltip))})),document.removeEventListener("mouseover",this.$mouseOverHandler),["click","keydown"].forEach((t=>{document.removeEventListener(t,this.$hideTooltip)})),window.removeEventListener("scroll",this.$hideTooltip)}setProp(t,s){this[t]=s}getProp(t){return this[t]}createTooltipMarkup(){const t=document.getElementById("access-tooltip");this.tooltipElement=t||document.createElement("div"),this.tooltipElement.id=this.options.id,this.tooltipElement.style.opacity="0",this.tooltipElement.style.display="none",this.tooltipElement.setAttribute("role","tooltip"),t||this.tooltipElement.appendChild(document.createElement("div")),document.body.appendChild(this.tooltipElement)}getDOMElements(){const{scrollableElements:t}=this.options.DOMElementsSelector;this.scrollableElements=[...document.querySelectorAll(t)]}init(){this.created=!0,this.createTooltipMarkup(),this.getDOMElements(),this.initEvents()}showTooltip(t){let{target:s}=t;this.timeOut=setTimeout((()=>{this.tooltipElement.children[0].innerHTML=s.getAttribute("data-content"),this.tooltipElement.style.display="block",this.positionTooltip(s,this.tooltipElement,this.checkPositionClass(s)),(0,v.pv)(s,this.options.classList.inverted)?(0,v.cn)(this.tooltipElement,this.options.classList.inverted):(0,v.IV)(this.tooltipElement,this.options.classList.inverted),this.tooltipElement.style.opacity="1"}),this.options.delay)}hideTooltip(t){const{type:s,key:r,target:u}=t,{activeElement:p}=document,{children:[y]}=this.tooltipElement,w=u===this.tooltipElement||u===y,x="keydown"===s&&"Escape"===r||"Enter"===r;p&&(0,v.pv)(p,"js-tooltip")&&p.getAttribute("data-content")===y.innerHTML&&!x&&"scroll"!==s||(x||"click"===s&&!w||"mouseover"===s&&!w||"scroll"===s||"blur"===s)&&this.hide()}mouseOverHandler(t){const{target:s}=t;(0,v.pv)(s,"js-tooltip")?this.showTooltip(t):this.hideTooltip(t)}hide(){this.timeOut=clearTimeout(this.timeOut),this.tooltipElement.style.opacity="0",this.tooltipElement.style.display="none"}positionTooltip(t,s,r){this.resetTooltipPosition();const{clientWidth:p,clientHeight:v}=document.body;switch(this.options.offset=this.options.offset||0,r){case u.Position.top:this.tooltipTop(t,s,this.getCoords(t));break;case u.Position.bottom:this.tooltipBottom(t,s,this.getCoords(t));break;case u.Position.left:this.tooltipLeft(t,s,this.getCoords(t));break;case u.Position.right:this.tooltipRight(t,s,this.getCoords(t));break;default:this.tooltipTop(t,s,this.getCoords(t))}const{top:y,bottom:w,right:x}=this.getCoords(t),{top:E,bottom:S,left:C,right:P}=this.getCoords(s);s.style.setProperty("--align-position",s.offsetWidth/2+"px"),S>v&&(s.style.top=y-s.offsetHeight-this.options.offset+"px",this.addModifiers("top")),E<0&&(s.style.top=`${w+this.options.offset}px`,this.addModifiers("bottom")),P>p&&(s.style.left=p-s.offsetWidth+"px"),C<0&&(s.style.left=0,s.style.setProperty("--align-position",`${C+s.offsetWidth/2}px`)),P>=p&&s.style.setProperty("--align-position",s.offsetWidth-(p-x)-t.offsetWidth/2+"px")}tooltipTop(t,s,r){const{top:u,left:p}=r;this.resetTooltipPosition(),s.style.left=`${p+(t.offsetWidth-s.offsetWidth)/2}px`,s.style.top=u-s.offsetHeight-this.options.offset+"px",this.addModifiers("top")}tooltipBottom(t,s,r){const{bottom:u,left:p}=r;this.resetTooltipPosition(),s.style.left=`${p+(t.offsetWidth-s.offsetWidth)/2}px`,s.style.top=`${u+this.options.offset}px`,this.addModifiers("bottom")}tooltipLeft(t,s,r){const{top:u,left:p}=r;this.resetTooltipPosition(),s.style.top=u+t.offsetHeight/2-s.offsetHeight/2+"px",s.style.left=p-s.offsetWidth-this.options.offset+"px",this.addModifiers("left")}tooltipRight(t,s,r){const{top:u,right:p}=r;this.resetTooltipPosition(),s.style.top=u+t.offsetHeight/2-s.offsetHeight/2+"px",s.style.left=`${p+this.options.offset}px`,this.addModifiers("right")}resetTooltipPosition(){this.tooltipElement.style.top="auto",this.tooltipElement.style.bottom="auto",this.tooltipElement.style.left="auto",this.tooltipElement.style.right="auto"}removePositionModifiers(){const{top:t,bottom:s,left:r,right:u}=this.options.classList;(0,v.IV)(this.tooltipElement,t),(0,v.IV)(this.tooltipElement,s),(0,v.IV)(this.tooltipElement,r),(0,v.IV)(this.tooltipElement,u)}addModifiers(t){const{top:s,bottom:r,left:u,right:p,inverted:y}=this.options.classList;switch(this.removePositionModifiers(),t){case"top":default:(0,v.cn)(this.tooltipElement,s);break;case"bottom":(0,v.cn)(this.tooltipElement,r);break;case"left":(0,v.cn)(this.tooltipElement,u);break;case"right":(0,v.cn)(this.tooltipElement,p);break;case"inverted":(0,v.cn)(this.tooltipElement,y)}}getCoords(t){const s=t.getBoundingClientRect();return{top:s.top,bottom:s.bottom,left:s.left,right:s.right}}}s.Z=StratisTooltip},9630:function(t,s,r){r.d(s,{Z:function(){return L}});var u,p,v,y=r(3229),w=r(6585),x=r(8935),E=r(2889),S=r(1401),C=r(4094),P=r(5753),T=r(1590);let L=(u=(0,E.Z)(),p=(0,x.Z)(),v=class Toggle extends w.Z{constructor(t,s){
1super(t,s),this.options={classList:{toggleClass:"is-open",hiddenToggleClass:"is-hidden",wrapperClass:"js-sd-wrapper"},duration:250,isWrapContent:!1,disableToggleButton:!1,enableOutsideClick:!1,DOMElements:{dropdownBlock:null,toggleBtn:null},animation:!0,dataset:{},onInit:()=>null,onEnd:()=>null,afterOpen:()=>null,beforeOpen:()=>null,afterClose:()=>null,beforeClose:()=>null},this.height=null,this.duration=null,this.state=null,this.targetID=null,this.created||this.init()}updateValues(){this.height=this.getHeight(),this.height&&(this.duration=this.options.duration||Math.floor(this.height/3)+300)}getState(){return this.state}getHeight(){const{dropdownBlock:t}=this.options.DOMElements;if(t){const s=t.cloneNode(!0);s.style.cssText="position: absolute; visibility: hidden; display: block; margin: -999px 0";const r=t.parentElement;if(r){const t=r.appendChild(s).clientHeight;return r.removeChild(s),t}}return null}getDirection(){const{dropdownBlock:t}=this.options.DOMElements,s=Number("none"!==window.getComputedStyle(t).display),r=t.clientHeight*s;return this.updateValues(),r>this.height/2?[this.height,0]:[0,this.height]}open(){0===this.getDirection()[0]&&this.toggle()}close(){0!==this.getDirection()[0]&&this.toggle()}toggle(){const{dropdownBlock:t}=this.options.DOMElements,s=this.element.getAttribute("data-hide-toggle");if(t){this.updateValues();const[t,r]=this.getDirection();if(this.state=0!==r,this.state?(this.options.beforeOpen&&this.options.beforeOpen(this),(0,T.cn)(this.element,this.options.classList.toggleClass),this.options.afterOpen&&this.options.afterOpen(this)):(this.options.beforeClose&&this.options.beforeClose(this),(0,T.IV)(this.element,this.options.classList.toggleClass),this.options.afterClose&&this.options.afterClose(this)),this.toggleAriaControls(this.state),s&&(0,T.cn)(this.element,this.options.classList.hiddenToggleClass),this.options.animation)return this.runAnimation(t,r)}}createEvents(t){const{toggleBtn:s,dropdownBlock:r}=this.options.DOMElements;super.createEvents([[s,"click",this.toggle],[document,"click",this.outsideHandler,this.options.enableOutsideClick],[window,"resize",this.updateValues,"tabpanel"!==(null==r?void 0:r.getAttribute("role"))],[window,"responsive",this.responsiveHandler]])}responsiveHandler(){const{dropdownBlock:t}=this.options.DOMElements;if(t&&t instanceof HTMLElement){const s="none"!==getComputedStyle(t).getPropertyValue("display");this.toggleAriaControls(s)}}outsideHandler(t){const{toggle:s}=this.options.DOMElements,{target:r}=t,u=(0,T.pv)(this.element,this.options.classList.toggleClass);!(this.element.contains(r)||r===s||Boolean(s&&s.contains(r)))&&u&&this.close()}toggleAriaControls(t){const{dropdownBlock:s,toggleBtn:r}=this.options.DOMElements;this.options.disableToggleButton||(t?(0,P.by)(r,s,"opened"):(0,P.by)(r,s,"closed"))}initHandler(){this.options.DOMElements.toggleBtn||this.options.disableToggleButton||(this.options.DOMElements.toggleBtn=this.element,this.options.DOMElements.dropdownBlock||(this.targetID=this.options.DOMElements.toggleBtn.getAttribute("data-sd-id")||this.options.DOMElements.toggleBtn.getAttribute("data-sd-toggle"),this.options.DOMElements.dropdownBlock=document.querySelector(`[data-sd-content='${this.targetID}']`)));const{dropdownBlock:t,toggleBtn:s}=this.options.DOMElements;t&&s&&(0,P.Rc)(s,t),t&&((0,C.uN)(this.options.isWrapContent,this.wrapContent.bind(this)),this.updateValues(),this.state=this.getDirection()[0]>0),t&&s&&(0,P.by)(s,t,this.state?"opened":"closed")}runAnimation(t,s){const{dropdownBlock:r}=this.options.DOMElements,u=performance.now(),p=s-t,v=getComputedStyle(r).display,y=v&&"none"!==v?v:"block";r.style.cssText=`overflow: hidden; display: ${y};`;const repeat=v=>{let w=v-u;const x=t+p*w/this.duration;w>this.duration&&(w=this.duration),r.style.height=`${x}px`,w<this.duration?requestAnimationFrame(repeat):(r.style.cssText=`display: ${0===s?"none":y}`,this.options.onEnd&&this.options.onEnd(this.state))};return repeat(u)}removeAnimationStyles(){const{dropdownBlock:t,toggleBtn:s}=this.options.DOMElements;t&&t.removeAttribute("style"),s&&s.removeAttribute("style")}wrapContent(){const{dropdownBlock:t}=this.options.DOMElements;if(t&&this.options.classList){if(!t.querySelector(`.${this.options.classList.wrapperClass}`)){const s=document.createElement("div");(0,T.cn)(s,this.options.classList.wrapperClass),[...t.children].forEac
1h((t=>{s.appendChild(t)})),t.appendChild(s)}}}removeAriaControlsFromElements(){const{dropdownBlock:t,toggleBtn:s}=this.options.DOMElements;[t,s].forEach((t=>{t&&(0,P.I7)(t)})),this.removeAnimationStyles()}},(0,y.Z)(v.prototype,"initHandler",[u],Object.getOwnPropertyDescriptor(v.prototype,"initHandler"),v.prototype),(0,y.Z)(v.prototype,"removeAriaControlsFromElements",[p],Object.getOwnPropertyDescriptor(v.prototype,"removeAriaControlsFromElements"),v.prototype),v);const A=(0,S.Z)(L);s.C=A},8935:function(t,s,r){function OnDestroy(t){return function(s,r,u){s.onDestroyFunctions||(s.onDestroyFunctions=[]),t?s.onDestroyFunctions.splice(t,0,u.value):s.onDestroyFunctions.push(u.value)}}r.d(s,{Z:function(){return OnDestroy}})},2889:function(t,s,r){function OnInit(t){return function(s,r,u){let p="onInitFunctions";t&&(p=null!=t&&t.fireAfterEventsCreating?"afterInitFunctions":"onInitFunctions"),s[p]||(s[p]=[]),0===(null==t?void 0:t.index)||null!=t&&t.index?s[p].splice(t.index,0,u.value):s[p].push(u.value)}}r.d(s,{Z:function(){return OnInit}})},6166:function(t,s,r){r.d(s,{Position:function(){return v},Uo:function(){return y},Yj:function(){return u},ZM:function(){return p}});var u=function(t){return t.prepend="prepend",t.append="append",t}(u||{}),p=function(t){return t.default="default",t.opened="opened",t.closed="closed",t}(p||{}),v=function(t){return t.top="top",t.bottom="bottom",t.left="left",t.right="right",t}(v||{}),y=function(t){return t.desktop="desktop",t.tablet="tablet",t.smartphone="smartphone",t}(y||{})},5873:function(t,s,r){var u,p,v,y=r(3442),w=r(3229),x=r(1401),E=r(6585),S=r(2889),C=r(1590);
1let P=(u=(0,S.Z)(),p=(0,S.Z)(),v=class StratisLocation extends E.Z{constructor(t,s){super(t,s),this.options={classList:{area:".location-map__region",link:".location-list__link"},DOMElements:{wrapper:".location__wrapper",map:".location-map",areas:".location-map__region:array",listLink:".location-list__link:array",tooltip:".tooltip-map"},dataset:{},onInit:()=>null},this.removeActiveElement=t=>{t.forEach((t=>t.removeAttribute("data-active")))},this.updateTooltipPosition=t=>{const{map:s,tooltip:r}=this.options.DOMElements;let u;u="focus"===t.type?this.getFocusOffset(s,t):this.getMouseOffset(s,t);const p=u.left,v=u.top;r.style.top=Math.floor(v)-25+"px",r.style.left=`${Math.floor(p)}px`},this.getFocusOffset=(t,s)=>{const r=t.getBoundingClientRect(),u=s.target.getBoundingClientRect();return{top:u.top-r.top+(u.bottom-u.top)/2,left:u.left-r.left+(u.right-u.left)/2}},this.getMouseOffset=(t,s)=>{const r=t.getBoundingClientRect();return{top:s.pageY-(r.top+(window.scrollY||window.pageYOffset)),left:s.pageX-(r.left+(window.scrollX||window.pageXOffset))}},this.updateTooltipText=t=>{const{tooltip:s}=this.options.DOMElements,{target:r}=t;r&&(s.innerHTML=r.getAttribute("aria-label"),this.updateTooltipPosition(t))},this.created||this.init()}initAreaHandlers(){const{areas:t,listLink:s}=this.options.DOMElements,{wrapper:r,tooltip:u}=this.options.DOMElements;t.forEach((t=>{t.addEventListener("mousemove",(t=>this.updateTooltipPosition(t))),t.addEventListener("mouseenter",(t=>{const{target:s}=t,p=s.getAttribute("data-area-id"),v=r.querySelector(`${this.options.classList.link}[data-area-id="${p}"]`);v&&v.setAttribute("data-active","true"),u.style.display="block",this.updateTooltipText(t)})),t.addEventListener("mouseleave",(()=>{u.style.display="none",this.removeActiveElement(s)})),t.addEventListener("focus",(t=>{this.element&&"object"==typeof this.element&&(0,C.cn)(this.element,"focus"),u.style.display="block",this.updateTooltipText(t)})),t.addEventListener("blur",(()=>{this.element&&"object"==typeof this.element&&(0,C.IV)(this.element,"focus"),u.style.display="none"}))}))}initListHandlers(){const{areas:t,listLink:s}=this.options.DOMElements,{wrapper:r,tooltip:u}=this.options.DOMElements;s.forEach((s=>{["mouseenter","focus"].forEach((t=>{s.addEventListener(t,(t=>{const{target:s}=t,u=s.getAttribute("data-area-id"),p=r.querySelector(`${this.options.classList.area}[data-area-id="${u}"]`);p&&p.setAttribute("data-active","true")}))})),["mouseleave","blur"].forEach((r=>{s.addEventListener(r,(()=>{u.style.display="none",this.removeActiveElement(t)}))}))}))}},(0,w.Z)(v.prototype,"initAreaHandlers",[u],Object.getOwnPropertyDescriptor(v.prototype,"initAreaHandlers"),v.prototype),(0,w.Z)(v.prototype,"initListHandlers",[p],Object.getOwnPropertyDescriptor(v.prototype,"initListHandlers"),v.prototype),v);var T=(0,x.Z)(P),L=r(853),A=r(2458),O=r(5753),$=r(8176);class SearchServices extends E.Z{constructor(t,s){super(t,s||{}),this.created||this.init()}init(){const t=[...this.element.querySelectorAll(".search-services__list-item")];t.forEach((s=>new A.L(s,{closeButton:{enabled:!0,class:"search-services__close"},toggle:{class:"search-services__list-toggle"},dropdown:{class:"search-services__panel",showDelay:0},overlay:{enabled:!1},DOMElements:{toggle:".search-services__list-toggle",dropdownBlock:".search-services__panel"},interactions:{enableFocusTrap:!1,enableKeyHandler:!1},beforeOpen:(t,s)=>{setTimeout((()=>{this.$keyHandler=(0,L.key)({escape:()=>{var r;s&&(null===(r=(0,O.hf)(s))||void 0===r||r.focus());return t.close()},tab:s=>{let{target:r}=s;var u;if("smartphone"!==(0,$.a)())return null!==(u=(0,O.xl)(r,document.body))&&void 0!==u&&u.closest(".js-search-services")?this.$prevKeysHandler:(null==r||r.focus(),t.close())},"shift+tab":s=>{let{target:r}=s;var u;if("smartphone"!==(0,$.a)())return null!==(u=(0,O.jy)(r,document.body))&&void 0!==u&&u.closest(".js-search-services")?this.$nextKeysHandler:(null==r||r.focus(),t.close())}})}),0)},afterOpen:()=>{setTimeout((()=>{(0,C.cn)(this.element,"is-opened")}),0)},afterClose:()=>{this.disengageAllyHandlers(),t.every((t=>!(0,C.pv)(t,"is-open")))&&(0,C.IV)(this.element,"is-opened")}})))}}var I,M,D=(0,x.Z)(SearchServices),_=r(9978),H=r(6271);
1let B=(I=(0,S.Z)(),M=class StratisHeroSlider extends E.Z{constructor(t,s){super(t,s),this.options={classList:{focusedClass:"is-focused"},DOMElements:{allItems:".hero-slider__item:array",allPictures:".slider-item__image:array"},dataset:{}},this.created||this.init()}createEvents(){const{allPictures:t}=this.options.DOMElements;super.createEvents([[t,"click",this.toggleSlide]])}toggleSlide(t){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.target;const{allItems:r}=this.options.DOMElements;r&&r.forEach((t=>{t.contains(s)?(0,C.cn)(t,this.options.classList.focusedClass):(0,C.IV)(t,this.options.classList.focusedClass)}))}initKeyHandler(){this.$keyHandler=(0,L.key)({tab:t=>{const s=(0,O.xl)(t.target,this.element,!1);s&&this.toggleSlide(t,s)},"shift+tab":t=>{const s=(0,O.jy)(t.target,this.element,!1);s&&this.toggleSlide(t,s)}})}},(0,w.Z)(M.prototype,"initKeyHandler",[I],Object.getOwnPropertyDescriptor(M.prototype,"initKeyHandler"),M.prototype),M);var F=(0,x.Z)(B);y.Z.loadCore(),(0,_.A7)((()=>{(0,_.Ux)("HOME BUNDLE LOADED!"),(0,H.CF)(".js-swiper-coverflow",(async t=>{const{default:s}=await Promise.all([r.e(514),r.e(218)]).then(r.bind(r,218));s.create(t,{swiperOptions:{effect:"coverflow",grabCursor:!0,centeredSlides:!0,loop:!1,simulateTouch:!1,slidesPerView:"auto",coverflowEffect:{rotate:0,stretch:0,depth:0,modifier:1,slideShadows:!1},breakpoints:{320:{coverflowEffect:{rotate:0,stretch:0,depth:0}},768:{coverflowEffect:{rotate:0,stretch:0,depth:0}},1280:{coverflowEffect:{rotate:0,stretch:80,depth:303,modifier:1,slideShadows:!1}}}}}),setTimeout((()=>{const t=[...document.querySelectorAll(".editions-block__wrapper")];t&&t.forEach((t=>{t.setAttribute("aria-atomic","true"),t.setAttribute("aria-live","polite")}));const s=[...document.querySelectorAll(".editions__item")];s&&s.forEach((t=>{t.setAttribute("role","group"),t.setAttribute("aria-roledescription","document")}))}),1e3)})),T.create(".js-location"),D.create(".js-search-services"),F.create(".js-hero-slider")})),window.addEventListener("load",(()=>{!function splitString(t){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:15;[...document.querySelectorAll(t)].filter((t=>!(0,C.pv)(t,"js-is-inlined"))).forEach((t=>{const r=t.getAttribute("data-max-length")||s,u=function formatString(t,s){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t=>t;const u=t.split(" "),p=[];let v="";return u.forEach(((t,y)=>{s<v.length+t.length&&(p.push(r(v)),v=""),v+=`${t} `,u.length===y+1&&p.push(r(v))})),p}(t.innerText||t.textContent,r,(t=>`<span>${t}</span>`));t.innerHTML=u.join(""),(0,C.cn)(t,"js-is-inlined")}))}(".js-inline-bg")}))},2532:function(t,s){const r=document.documentElement.lang,u={fr:{paginationMoreElement:"Afficher plus de résultats",goToNextSection:"Aller à la section suivante",loading:"Chargement...",prevStep:"Ãtape précédente",nextStep:"Ãtape suivante",prevPage:"Page précédente",nextPage:"Page suivante",prev:"Précédent",next:"Suivant",stopCarrousel:"Arrêter le diaporama",startCarrousel:"Lancer le diaporama",activeSlide:"Slide active",listReadMore:"En savoir plus",listDownload:"Télécharger",listSeeAlso:"Voir aussi",mandatory:"obligatoire",formErrorInvalidDate:"La date doit être au format jj/mm/aaaa.",formErrorBirthdayInFutur:"La date de naissance est plus récente que la date d'aujourd'hui.",formErrorBirthdayDoNotExist:"La date de naissance n'existe pas.",formErrorEnterMail:"Veuillez entrer votre courriel.",formErrorConfirmMail:"Veuillez confirmer votre courriel.",formErrorInvalidMail:"Votre adresse e-mail est invalide. \nLe format doit être du type [email protected], sans espace ni caractères spéciaux (é, à , ç, !...).",formErrorSelectNewsletter:"Veuillez sélectionner une lettre d'information.",formErrorCheckMail:"La vérification de votre adresse email a échoué.",formErrorDateFormat:"L'un des champs date n'est pas au format jj/mm/aaaa, ou n'est pas valide. \nMerci de corriger.",formErrorMandatoryField:"Ce champ est obligatoire.",formErrorsSummary:"Votre formulaire contient les erreurs suivantes ",pleaseWaitForFile:"Envoi des pièces jointes en cours, veuillez patienter... ",pleaseWait:"Veuillez patienter... ",linkNewWindow:"Nouvelle fenêtre",linkExternal:"Lien externe",links:"Liens",to:"à ",open:"Ouvrir",close:"Fermer",closeModalWindow:"Fermer la fenêtre modale",willModalOpen:"fenêtre modale",moreInformation:"Plus d'information",lessInformation:"Moins d'information",nextImage:"Image suivante",prevImage:"Image précédente",pictures:"images",picture:"image",Picture:"Photo",on:"sur",Gallery:"Galerie",showSlideNumber:"Afficher la diapositive numéro",with:"avec",navigationError:"Erreur de navigation",openMenu:"Menu principal",goToSite:"Accéder au site ",browseThisPage:"Dans cette page",cookieMessage:"Ce site utilise des cookies pour favoriser votre navigation et enrichir les contenus qui vous sont proposés. <br />Vous pouvez néanmoins les désactiver à tout moment si vous le souhaitez.<br /><br />",cookieAlertBigPrivacy:"Afin de vous proposer des vidéos, des boutons de partage, des contenus remontés des réseaux sociaux et d'élaborer des statistiques de fréquentation, <br> nous sommes susceptibles de déposer des cookies tiers sur votre machine. Cela ne peut se faire qu'en obtenant, <br>au préalable, votre consentement pour chacun de ces cookies. ",cookieDisclaimer:'Ce site propose de personnaliser vos contenus et votre navigation. Lorsque vous naviguez sur ce site Internet, des informations sont susceptibles d\'être enregistrées (cookies) sur votre terminal, sous réserve de vos choix.<br><br>La durée de validité de votre consentement ou de votre refus est de 6 mois.<br>Pour en savoir plus, consultez notre <a href="#">politique de protection des données.</a>',noResult:"Aucun résultat",displaying:"Affichage de",result:"résultat",of:"sur",removeButtonText:"Retirer des favoris",geocodeCheckBrowser:"Votre navigateur ne prend pas en charge la géolocalisation. Veuillez le mettre à jour ou utiliser un navigateur plus récent.",geocodeErrorTimeout:"
1Votre géolocalisation prend trop de temps. Veuillez recommencer ultérieurement.",geocodeErrorPositionUnavailable:"La géolocalisation n'est pas disponible sur votre navigateur. Rechargez la page et autorisez la géolocalisation lorsqu'elle vous sera demandées.",fileRemoveButtonText:"Supprimer",btnSearchText:"Tous les résultats",btnClearText:"Effacer la saisie",suggestions:"Suggestions",locale:{fullMonths:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],shortMonths:["Jan","Fév","Mar","Avr","Mai","Jui","Juil","Aoû","Sep","Oct","Nov","Déc"],fullDays:["Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi","Dimanche"],shortDays:["Lun","Mar","Mer","Jeu","Ven","Sam","Dim"]},entryError:"Erreur de champ de saisie",dateError:"Format de date incorrect",timeError:"Format d'heure incorrect",patternError:"Remplissez le champ selon le format",requiredError:"Merci de renseigner ce champ",indeticalError:"Les champs ne sont pas identiques",emailEmptyError:"Veuillez entrez un courriel valide, exemple [email protected]",emailError:"Veuillez entrez un courriel valide, exemple [email protected]",singleFileError:"Le fichier est trop lourd, poids max : [MAX SIZE ALLOWED] Mo",multipleFilesError:"Le poids total de tous les fichiers est trop lourd, poids max total : [TOTAL MAX SIZE ALLOWED] Mo",numberFilesError:"Le nombre total de fichiers est trop important, nombre max total : [X]",urlError:"Veuillez entrer une adresse Internet valide, exemple https://www.site.com",serverError:"Erreur du serveur. Merci d'essayer plus tard",voteThanks:"Merci pour votre note",voteError:"Désolé, quelque chose s'est mal passé",videoTogglePause:"Pause",videoTogglePlay:"Lecture",passwordSeakComplexity:"Niveau de sécurité faible",passwordMediumComplexity:"Niveau de sécurité moyen",passwordStrongComplexity:"Niveau de sécurité élevé"},en:{paginationMoreElement:"Show more results",goToNextSection:"Go to next section",loading:"Loading...",prevStep:"Previous step",nextStep:"Next step",prevPage:"Previous page",nextPage:"Next page",prev:"Previous",next:"Next",stopCarrousel:"Stop slider",startCarrousel:"Play slider",activeSlide:"Active slide",listReadMore:"Read more",listDownload:"Download",listSeeAlso:"See also",mandatory:"required",formErrorInvalidDate:"The date must use jj/mm/aaaa format.",formErrorBirthdayInFutur:"The birth date is later than today's date.",formErrorBirthdayDoNotExist:"The birth date doesn't exist.",formErrorEnterMail:"Please enter your email address.",formErrorConfirmMail:"Please confirm your email address.",formErrorInvalidMail:"Your email address is not valid. \nIt must use [email protected] format, without spaces or special characters (é, à , ç, !...).",formErrorSelectNewsletter:"Please select a newsletter.",formErrorCheckMail:"The email verification has failed.",formErrorDateFormat:"One of date fields doesn't use jj/mm/aaaa format, or is not valid.",formErrorMandatoryField:"This field is required.",formErrorsSummary:"Your form contains the following errors: ",pleaseWaitForFile:"Sending files in progress, please wait... ",pleaseWait:"Please wait... ",linkNewWindow:"New window",linkExternal:"External link",links:"Links",to:"to",open:"Open",close:"Close",closeModalWindow:"Close modal window",willModalOpen:"modal window",moreInformation:"More information",lessInformation:"Less information",nextImage:"Next picture",prevImage:"Previous picture",pictures:"pictures",picture:"picture",Picture:"Picture",on:"on",showSlideNumber:"Show slide number",with:"with",navigationError:"Browsing error",openMenu:"Main menu",goToSite:"Go to site ",browseThisPage:"Browse this page",cookieMessage:"This website uses cookies to enhance your navigation and enrich the content. <br />Nevertheless you can disable them at any time if you wish.<br /><br />",cookieAlertBigPrivacy:"In order to provide you with videos, sharing buttons, content brought up from social networks <br>and to draw up traffic statistics, we may place third-party cookies on your machine. <br>This can only be done by obtaining your prior consent for each of these cookies.",cookieDisclaimer:'This site offers to personalize your content and navigation. When you browse this website, information may be saved (cookies) on your device, subject to your choices.<br><br>
1The period of validity of your consent or refusal is 6 months. <br>Find out more in our <a href="#"> data protection policy. </a>',noResult:"No result",displaying:"Displaying",result:"result",of:"of",removeButtonText:"Remove from favorites",geocodeCheckBrowser:"Your browser does not support geolocation. Please update it or use a newer browser.",geocodeErrorTimeout:"Your geolocation takes too long. Please try again later.",geocodeErrorPositionUnavailable:"Geolocation is not available on your browser. Reload the page and authorize the geolocation when it is requested.",fileRemoveButtonText:"Remove",btnSearchText:"All the results",btnClearText:"Clear input",suggestions:"Suggestions",locale:{fullMonths:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],fullDays:["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],shortDays:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]},entryError:"Input field error",dateError:"Incorrect date format",timeError:"Incorrect time format",patternError:"Fill the field according to the format",requiredError:"Fill in the required field",indeticalError:"Fields are not identical",emailEmptyError:"Please complete this field ([email protected]).",emailError:"Please enter a valid email address [email protected]",singleFileError:"The file is too big, max size: [MAX SIZE ALLOWED]MB",multipleFilesError:"The total weight of all files is too big, total max size: [TOTAL MAX SIZE ALLOWED]MB",numberFilesError:"Total number of files is too large, max total number: [X]",urlError:"Veuillez entrer une adresse Internet valide, exemple https://www.site.com",serverError:"Server error. thank you try later",voteThanks:"Thank you for your mark",voteError:"Sorry, something went wrong",videoTogglePause:"Pause",videoTogglePlay:"Play",passwordSeakComplexity:"Low security level",passwordMediumComplexity:"Medium security level",passwordStrongComplexity:"Strong security level"}};s.Z=(r?u[r]:u.fr)||u.fr},1401:function(t,s,r){r.d(s,{Z:function(){return StratisFactoryMixin}});var u=r(7382);function StratisFactoryMixin(t){return class extends t{static create(s,r,p,v){return u.Z.create(s,r||{},t,p,v)}static createSingle(s,r,p,v){return u.Z.createSingle(s,r||{},t,p,v)}}}},5753:function(t,s,r){r.d(s,{$D:function(){return getNextTabbableElement},I7:function(){return removeAriaControls},Rc:function(){return initAriaControls},by:function(){return setAriaControls},hf:function(){return getFirstFocusableElement},jy:function(){return getPrevFocusableElement},qX:function(){return setTabindex},su:function(){return getLastFocusableElement},xl:function(){return getNextFocusableElement}});var u=r(3870),p=r(3525),v=r(7965),y=r(9978),w=r(1590);function initAriaControls(t,s){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:["close","overlay","toggle"];const u=Array.isArray(t)?t:[t],v="string"==typeof s?document.querySelector(s):s,x="aria-controls",E="aria-expanded",S="aria-haspopup",C="aria-hidden";let P=`relations-${(0,y.xA)()}`;v&&(P=v.id||P,v.id=P,v.setAttribute(C,"true")),u.forEach((t=>{const s={[x]:P};r.filter((s=>!t.className.includes(s))).length||(s[S]="true"),(0,w.pv)(t,"js-disable-expanded")||(s[E]="false"),(0,p.KT)(t,s)}))}function setAriaControls(t,s,r){const u="opened"===r||!0===r?1:0;(Array.isArray(t)?t:[t]).filter((t=>!(0,w.pv)(t,"js-disable-expanded"))).forEach((t=>{t.setAttribute("aria-expanded",Boolean(u).toString())}));const p=(0,v.HD)(s)?document.querySelector(String(s)):s;p instanceof HTMLElement&&p.setAttribute("aria-hidden",(!u).toString())}function removeAriaControls(t){let s=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],u=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];const v=["aria-expanded","aria-controls"];(0,p.mD)(t,v),[...t.querySelectorAll("*")].forEach((t=>{s&&v.push("id"),r&&v.push("aria-haspopup"),u&&v.push("aria-hidden"),(0,p.mD)(t,v)}))}function setTabindex(t){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const r=(0,u.focusable)({strategy:"strict",context:t});null===s?r.forEach((t=>t.removeAttribute("tabindex"))):(0,v.hj)(s)&&r.forEach((t=>{"true"!==t.getAttribute("aria-hidden")&&t.setAttribute("tabindex",String(s))}))}function getFocusableElements(){return[...(arguments.length>0&&void 0!==arguments[0]?arguments[0]:document).querySelectorAll('a, button, input, textarea, select, details,[tabindex]:not
1([tabindex="-1"])')].filter((t=>!t.hasAttribute("disabled")&&"none"!==t.style.display))}function getFirstFocusableElement(t){const s=(0,v.HD)(t)?document.querySelector(String(t)):t;if(!s)return null;const r=getFocusableElements(s);return r.length>0?r[0]:null}function getLastFocusableElement(t){const s=(0,v.HD)(t)?document.querySelector(String(t)):t;if(!s)return null;const r=getFocusableElements(s);return r.length>0?r[r.length-1]:null}function getNextFocusableElement(t,s){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],p=(0,u.focusable)({context:s});if(!p.length)return null;r&&(p=p.filter((t=>Number(t.getAttribute("tabindex"))>-1)));const v=p.findIndex((s=>s===t));return v>=0&&v<p.length-1?p[v+1]:p[0]}function getNextTabbableElement(t,s){const r=(0,u.tabbable)({context:s});if(!r.length)return null;const p=r.findIndex((s=>s===t));return p>=0&&p<r.length-1?r[p+1]:r[0]}function getPrevFocusableElement(t,s){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],p=(0,u.focusable)({context:s});if(!p.length)return null;r&&(p=p.filter((t=>Number(t.getAttribute("tabindex"))>-1)));const v=p.findIndex((s=>s===t));return v>0?p[v-1]:p[p.length-1]}},3525:function(t,s,r){r.d(s,{KT:function(){return setAttributes},mD:function(){return removeAttributes}});var u=r(4346);function setAttributes(t,s){const r={checked:"checked",disabled:"disabled",required:"required",hidden:"hidden"};Object.keys(s).forEach((p=>{const v=s[p],y=r[p];y&&!(0,u.mU)(v)?t.removeAttribute(p):t.setAttribute(p,y?"":v)}))}function removeAttributes(t,s){s.forEach((s=>t.removeAttribute(s)))}},1590:function(t,s,r){r.d(s,{IV:function(){return removeClass},cn:function(){return addClass},og:function(){return toggleClass},pv:function(){return hasClass}});var u=r(7965);function addClass(t,s){const setClass=t=>{Array().concat(s).forEach((s=>{t.classList?t.classList.add(s):t.className+=` ${s}`}))};Array.isArray(t)?t.forEach((t=>setClass(t))):t instanceof HTMLElement&&setClass(t)}function removeClass(t){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];Array().concat(s).forEach((s=>{const unsetClass=t=>{t.classList?t.classList.remove(s):t.className=t.className.replace(new RegExp(`(^|\\b)${s.split(" ").join("|")}(\\b|$)`,"gi")," ")};Array.isArray(t)?t.forEach((t=>unsetClass(t))):t instanceof HTMLElement&&unsetClass(t)}))}function hasClass(t,s){const r=Array().concat(s),p=t;if(p.classList)return Boolean(r.filter((t=>p.classList.contains(t))).length);const v=(0,u.Tx)(p)?p.className.baseVal:p.className;return new RegExp(`(^| )(${r.join("|")})( |$)`,"gi").test(v)}function toggleClass(t,s){hasClass(t,s)?removeClass(t,s):addClass(t,s)}},9978:function(t,s,r){r.d(s,{A7:function(){return documentReady},KG:function(){return eventDispatcher},Ux:function(){return happyLogger},dN:function(){return clearLineOfDiacritics},xA:function(){return getUniqId}});var u=r(7965),p=r(7711);function getUniqId(){return Math.random().toString(36).substr(2,16)}function clearLineOfDiacritics(t){return t.split("").map((t=>{const s="ÃÃÃÃÃÃ
à áâãäåÃÃÃÃÃÃÃÃòóôõöøÃÃÃÃèéêëðÃçÃÃÃÃÃìÃîïÃÃÃÃùúûüÃñŠšŸÿýŽž".indexOf(t);return s>=0?"AAAAAAaaaaaaBOOOOOOOooooooEEEEeeeeeCcDIIIIiiiiUUUUuuuuNnSsYyyZz"[s]:t})).join("")}function eventDispatcher(t,s){let r,p=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window;s?r=new CustomEvent(t,{detail:arguments.length>3?arguments[3]:void 0}):(0,u.mf)(Event)?r=new Event(t):(r=document.createEvent("Event"),r.initEvent(t,!0,!0)),p.dispatchEvent(r)}function documentReady(t){"complete"===document.readyState||"loading"!==document.readyState&&document.documentElement.doScroll?t():document.addEventListener("DOMContentLoaded",t)}function happyLogger(t){if("ie"===(0,p.g_)()||"edge"===(0,p.g_)())console.log("Happy coding!");else{const s="text-shadow: 0.04em 0.04em #ff0000, 0.08em 0.08em #ff7f00, 0.12em 0.12em #ffff00, 0.16em 0.16em #00ff00, 0.20em 0.20em #0000ff, 0.24em 0.24em #4b0082, 0.28em 0.28em #8f00ff;";console.log(`%c--- ${t} --- Happy coding!`,s)}}},4346:function(t,s,r){function convertFormDataToObject(t){const s={};for(const[r,u]of t.entries())""!==u&&(s[r]=u);return s}function convertStringToHTML(t){const s=document.createElement("div");return s.innerHTML=t,1===s.childNodes.length?s.firstElementChild:s}function convertObjectToQueryString(t){const s=Object.keys(t);return s.length?`?${s.map((s=>`${encodeURIComponent(s)}=${encodeURIComponent(t[s])}`)).join("&")}`:""}function convertStringToBoolean(t){switch(String(t).toLowerCase()){case"":case"0":case"null":case"false":case"undefined":return!1;default:return!0}}function convertPrimitiveKeys(t){for(const s in t){const r=t[s],u=Number(r);"0"!==r&&"1"!==r&&"true"!==r&&"false"!==r||(t[s]=convertStringToBoolean(r)),Number.isNaN(u)||(t[s]=u)}return t}r.d(s,{F5:function(){return convertObjectToQueryString},FU:function(){return convertFormDataToObject},Of:function(){return convertStringToHTML},mU:function(){return convertStringToBoolean},vO:function(){return convertPrimitiveKeys}})},6271:function(t,s,r){function insertAfter(t,s){s&&s.parentNode&&s.parentNode.insertBefore(t,s.nextSibling)}function isElementsExist(t,s){const r=[...document.querySelectorAll(t)];r.length&&s(r)}r.d(s,{BE:function(){return insertAfter},CF:function(){return isElementsExist}})},7711:function(t,s,r){function getBrowserName(){const{userAgent:t}=navigator;let s;return t.includes("Firefox")?s="mozilla":t.includes("Edge")?s="edge":t.includes("Chrome")?s="chrome":t.includes("Safari")?s="safari":"Netscape"===navigator.appName||"Microsoft Internet Explorer"===navigator.appName?s=navigator.appVersion.includes("Trident")?"edge":"ie":t.includes("Opera")?s="opera":t.includes("SamsungBrowser")?s="samsung":t.includes("AndroidBrowser")&&(s="android"),s}function isFe(){return["192.168.88.","127.0.0.1","localhost","integration.stratis.fr"].filter((t=>window.location.origin.includes(t))).length}r.d(s,{K5:function(){return isFe},g_:function(){return getBrowserName}})},4094:function(t,s,r){r.d(s,{Ds:function(){return debounce},P2:function(){return throttle},g4:function(){return callIfFunction},uN:function(){return callIfTrue}});var u=r(7965);const callIfFunction=t=>(0,u.mf)(t)?t():t,callIfTrue=function(t,s){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return t?s():callIfFunction(r)};function throttle(t,s){var r=this;let u;return function(){if(!u||Date.now()-u>=s){for(var p=arguments.length,v=new Array(p),y=0;y<p;y++)v[y]=arguments[y];t.call(r,...v),u=Date.now()}}}function debounce(t,s){var r=this;let u;return function(){for(var p=arguments.length,v=new Array(p),y=0;y<p;y++)v[y]=arguments[y];clearTimeout(u),u=setTimeout((()=>{t.call(r,...v)}),s)}}},7560:function(t,s,r){r.d(s,{b:function(){return extendDefaults}});var u=r(9996),p=r.n(u);function extendDefaults(){for(var t=arguments.length,s=new Array(t),r=0;r<t;r++)s[r]=arguments[r];return p().all(s||[],{arrayMerge:(t,s)=>s,customMerge:t=>"instancesInjection"===t?(t,s)=>s:"DOMElements"===t?(t,s)=>
1(Object.keys(s).forEach((r=>{t[r]=s[r]})),t):void 0})}},8176:function(t,s,r){function getViewport(){const t=window.innerWidth,s={0:"smartphone",767:"tablet",1279:"desktop"};let r;for(const u in s){if(!(Number(u)<t))break;r=s[u]}return r}r.d(s,{a:function(){return getViewport}})},2642:function(t,s,r){function isJSSelector(t){const s=new RegExp(/((div|p|aside|footer|a|blockquote|h\d|abbr|address|area|article|audio|button|b|base|body|br|canvas|caption|cite|code|col|colgroup|data|datalist|dd|del|details|dfn|dialog|dl|dt|em|embed|fieldset|figure|form|head|header|hgroup|hr|iframe|img|input|ins|i|kbd|keygen|label|legend|li|link|main|map|mark|menu|menuitem|meta|meter|nav|noscript|ol|optgroup|option|output|param|pre|progress|q|s|script|section|select|small|source|span|strong|style|sub|summary|sup|table|tbody|td|template|textarea|tfoot|th|thead|time|tr|track|u|ul|var|video|wbr)|(\.\S*)|(#\S*)|(\[\S*="\S*"]))|(:single|:array|:global|:parent)| |>|\+/gi);return 0===t.replace(s,"").trim().length}function clearStringFromSelectorMeta(t){const s=new RegExp(/:single|:array|:not-selector|:global|:parent/gi);return t.replace(s,"")}function getElementFromSelector(t,s){const r=new RegExp(/:global/gi),u=new RegExp(/:parent/gi);let p;r.test(t)||!s?p=document:u.test(t)&&s?p=s.parentElement:s&&(p=s);const v=function getMetaSelectorType(t){const s=new RegExp(/:single/gi),r=new RegExp(/:array/gi);let u="single";return s.test(t)&&(u="single"),r.test(t)&&(u="array"),u}(t),y=clearStringFromSelectorMeta(t);return"array"===v?[...p.querySelectorAll(y)]:"single"===v?p.querySelector(y):null}function mapStringToNativeType(t,s){const r=clearStringFromSelectorMeta(t);return isNaN(Number(t))?"true"===t||"false"!==t&&(isJSSelector(t)?getElementFromSelector(t,s):r):Number(t)}r.d(s,{AN:function(){return mapStringToNativeType},N4:function(){return isJSSelector},dG:function(){return getElementFromSelector}})},7965:function(t,s,r){function isFunction(t){return"[object Function]"===Object.prototype.toString.call(t)}function isString(t){return"[object String]"===Object.prototype.toString.call(t)}function isNumber(t){return"[object Number]"===Object.prototype.toString.call(t)}function isSVGAElement(t){return"[object SVGAElement]"===Object.prototype.toString.call(t)}r.d(s,{HD:function(){return isString},Tx:function(){return isSVGAElement},hj:function(){return isNumber},mf:function(){return isFunction}})},8269:function(t,s,r){var u;u=void 0!==r.g?r.g:this,t.exports=function(t){if(t.CSS&&t.CSS.escape)return t.CSS.escape;var cssEscape=function(t){if(0==arguments.length)throw new TypeError("`CSS.escape` requires an argument.");for(var s,r=String(t),u=r.length,p=-1,v="",y=r.charCodeAt(0);++p<u;)0!=(s=r.charCodeAt(p))?v+=s>=1&&s<=31||127==s||0==p&&s>=48&&s<=57||1==p&&s>=48&&s<=57&&45==y?"\\"+s.toString(16)+" ":0==p&&1==u&&45==s||!(s>=128||45==s||95==s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122)?"\\"+r.charAt(p):r.charAt(p):v+="�";return v};return t.CSS||(t.CSS={}),t.CSS.escape=cssEscape,cssEscape}(u)},9996:function(t){var s=function isMergeableObject(t){return function isNonNullObject(t){return!!t&&"object"==typeof t}(t)&&!function isSpecial(t){var s=Object.prototype.toString.call(t);return"[object RegExp]"===s||"[object Date]"===s||function isReactElement(t){return t.$$typeof===r}(t)}(t)};var r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function cloneUnlessOtherwiseSpecified(t,s){return!1!==s.clone&&s.isMergeableObject(t)?deepmerge(function emptyTarget(t){return Array.isArray(t)?[]:{}}(t),t,s):t}function defaultArrayMerge(t,s,r){return t.concat(s).map((function(t){return cloneUnlessOtherwiseSpecified(t,r)}))}function getKeys(t){return Object.keys(t).concat(function getEnumerableOwnPropertySymbols(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter((function(s){return Object.propertyIsEnumerable.call(t,s)})):[]}(t))}function propertyIsOnObject(t,s){try{return s in t}catch(t){return!1}}function mergeObject(t,s,r){var u={};return r.isMergeableObject(t)&&getKeys(t).forEach((function(s){u[s]=cloneUnlessOtherwiseSpecified(t[s],r)}
1)),getKeys(s).forEach((function(p){(function propertyIsUnsafe(t,s){return propertyIsOnObject(t,s)&&!(Object.hasOwnProperty.call(t,s)&&Object.propertyIsEnumerable.call(t,s))})(t,p)||(propertyIsOnObject(t,p)&&r.isMergeableObject(s[p])?u[p]=function getMergeFunction(t,s){if(!s.customMerge)return deepmerge;var r=s.customMerge(t);return"function"==typeof r?r:deepmerge}(p,r)(t[p],s[p],r):u[p]=cloneUnlessOtherwiseSpecified(s[p],r))})),u}function deepmerge(t,r,u){(u=u||{}).arrayMerge=u.arrayMerge||defaultArrayMerge,u.isMergeableObject=u.isMergeableObject||s,u.cloneUnlessOtherwiseSpecified=cloneUnlessOtherwiseSpecified;var p=Array.isArray(r);return p===Array.isArray(t)?p?u.arrayMerge(t,r,u):mergeObject(t,r,u):cloneUnlessOtherwiseSpecified(r,u)}deepmerge.all=function deepmergeAll(t,s){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,r){return deepmerge(t,r,s)}),{})};var u=deepmerge;t.exports=u},177:function(t){t.exports=function(t){function b(r){if(s[r])return s[r].exports;var u=s[r]={exports:{},id:r,loaded:!1};return t[r].call(u.exports,u,u.exports,b),u.loaded=!0,u.exports}var s={};return b.m=t,b.c=s,b.p="",b(0)}([function(t,s,r){function d(){var t=C();return t.compile=function(s,r){return w.compile(s,r,t)},t.precompile=function(s,r){return w.precompile(s,r,t)},t.AST=v.default,t.Compiler=w.Compiler,t.JavaScriptCompiler=x.default,t.Parser=y.parser,t.parse=y.parse,t.parseWithoutProcessing=y.parseWithoutProcessing,t}var u=r(1).default;s.__esModule=!0;var p=u(r(2)),v=u(r(45)),y=r(46),w=r(51),x=u(r(52)),E=u(r(49)),S=u(r(44)),C=p.default.create,P=d();P.create=d,S.default(P),P.Visitor=E.default,P.default=P,s.default=P,t.exports=s.default},function(t,s){s.default=function(t){return t&&t.__esModule?t:{default:t}},s.__esModule=!0},function(t,s,r){function d(){var t=new v.HandlebarsEnvironment;return x.extend(t,v),t.SafeString=y.default,t.Exception=w.default,t.Utils=x,t.escapeExpression=x.escapeExpression,t.VM=E,t.template=function(s){return E.template(s,t)},t}var u=r(3).default,p=r(1).default;s.__esModule=!0;var v=u(r(4)),y=p(r(37)),w=p(r(6)),x=u(r(5)),E=u(r(38)),S=p(r(44)),C=d();C.create=d,S.default(C),C.default=C,s.default=C,t.exports=s.default},function(t,s){s.default=function(t){if(t&&t.__esModule)return t;var s={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(s[r]=t[r]);return s.default=t,s},s.__esModule=!0},function(t,s,r){function d(t,s,r){this.helpers=t||{},this.partials=s||{},this.decorators=r||{},y.registerDefaultHelpers(this),w.registerDefaultDecorators(this)}var u=r(1).default;s.__esModule=!0,s.HandlebarsEnvironment=d;var p=r(5),v=u(r(6)),y=r(10),w=r(30),x=u(r(32)),E=r(33),S="4.7.7";s.VERSION=S;var C=8;s.COMPILER_REVISION=C;var P=7;s.LAST_COMPATIBLE_COMPILER_REVISION=P;var T={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};s.REVISION_CHANGES=T;var L="[object Object]";d.prototype={constructor:d,logger:x.default,log:x.default.log,registerHelper:function(t,s){if(p.toString.call(t)===L){if(s)throw new v.default("Arg not supported with multiple helpers");p.extend(this.helpers,t)}else this.helpers[t]=s},unregisterHelper:function(t){delete this.helpers[t]},registerPartial:function(t,s){if(p.toString.call(t)===L)p.extend(this.partials,t);else{if(void 0===s)throw new v.default('Attempting to register a partial called "'+t+'" as undefined');this.partials[t]=s}},unregisterPartial:function(t){delete this.partials[t]},registerDecorator:function(t,s){if(p.toString.call(t)===L){if(s)throw new v.default("Arg not supported with multiple decorators");p.extend(this.decorators,t)}else this.decorators[t]=s},unregisterDecorator:function(t){delete this.decorators[t]},resetLoggedPropertyAccesses:function(){E.resetLoggedProperties()}};var A=x.default.log;s.log=A,s.createFrame=p.createFrame,s.logger=x.default},function(t,s){function c(t){return r[t]}function d(t){for(var s=1;s<arguments.length;s++)for(var r in arguments[s])Object.prototype.hasOwnProperty.call(arguments[s],r)&&(t[r]=arguments[s][r]);return t}function e(t,s){for(var r=0,u=t.length;r<u;r++)if(t[r]===s)return r;return-1}function f(t){if("string"!=typeof t){if(t&&t.toHTML)return t.toHTML();if(null==t)return"";if(!t)return t+"";t=""+t}return p.test(t)?t.replace(u,c):t}function g(t){return!t&&0!==t||!(!y(t)||0!==t.length)}function h(t){var s=d({},t);return s._parent=t,s}function i(t,s){return t.path=s,t}
vendor: 9,079 bytes, line 1
1function j(t,s){return(t?t+".":"")+s}s.__esModule=!0,s.extend=d,s.indexOf=e,s.escapeExpression=f,s.isEmpty=g,s.createFrame=h,s.blockParams=i,s.appendContextPath=j;var r={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},u=/[&<>"'`=]/g,p=/[&<>"'`=]/,v=Object.prototype.toString;s.toString=v;var o=function(t){return"function"==typeof t};o(/x/)&&(s.isFunction=o=function(t){return"function"==typeof t&&"[object Function]"===v.call(t)}),s.isFunction=o;var y=Array.isArray||function(t){return!(!t||"object"!=typeof t)&&"[object Array]"===v.call(t)};s.isArray=y},function(t,s,r){function d(t,s){var r=s&&s.loc,v=void 0,y=void 0,w=void 0,x=void 0;r&&(v=r.start.line,y=r.end.line,w=r.start.column,x=r.end.column,t+=" - "+v+":"+w);for(var E=Error.prototype.constructor.call(this,t),S=0;S<p.length;S++)this[p[S]]=E[p[S]];Error.captureStackTrace&&Error.captureStackTrace(this,d);try{r&&(this.lineNumber=v,this.endLineNumber=y,u?(Object.defineProperty(this,"column",{value:w,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:x,enumerable:!0})):(this.column=w,this.endColumn=x))}catch(t){}}var u=r(7).default;s.__esModule=!0;var p=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];d.prototype=new Error,s.default=d,t.exports=s.default},function(t,s,r){t.exports={default:r(8),__esModule:!0}},function(t,s,r){var u=r(9);t.exports=function(t,s,r){return u.setDesc(t,s,r)}},function(t,s){var r=Object;t.exports={create:r.create,getProto:r.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:r.getOwnPropertyDescriptor,setDesc:r.defineProperty,setDescs:r.defineProperties,getKeys:r.keys,getNames:r.getOwnPropertyNames,getSymbols:r.getOwnPropertySymbols,each:[].forEach}},function(t,s,r){function d(t){p.default(t),v.default(t),y.default(t),w.default(t),x.default(t),E.default(t),S.default(t)}function e(t,s,r){t.helpers[s]&&(t.hooks[s]=t.helpers[s],r||delete t.helpers[s])}var u=r(1).default;s.__esModule=!0,s.registerDefaultHelpers=d,s.moveHelperToHooks=e;var p=u(r(11)),v=u(r(12)),y=u(r(25)),w=u(r(26)),x=u(r(27)),E=u(r(28)),S=u(r(29))},function(t,s,r){s.__esModule=!0;var u=r(5);s.default=function(t){t.registerHelper("blockHelperMissing",(function(s,r){var p=r.inverse,v=r.fn;if(!0===s)return v(this);if(!1===s||null==s)return p(this);if(u.isArray(s))return s.length>0?(r.ids&&(r.ids=[r.name]),t.helpers.each(s,r)):p(this);if(r.data&&r.ids){var y=u.createFrame(r.data);y.contextPath=u.appendContextPath(r.data.contextPath,r.name),r={data:y}}return v(s,r)}))},t.exports=s.default},function(t,s,r){(function(u){var p=r(13).default,v=r(1).default;s.__esModule=!0;var y=r(5),w=v(r(6));s.default=function(t){t.registerHelper("each",(function(t,s){function c(s,u,p){S&&(S.key=s,S.index=u,S.first=0===u,S.last=!!p,C&&(S.contextPath=C+s)),E+=r(t[s],{data:S,blockParams:y.blockParams([t[s],s],[C+s,null])})}if(!s)throw new w.default("Must pass iterator to #each");var r=s.fn,v=s.inverse,x=0,E="",S=void 0,C=void 0;if(s.data&&s.ids&&(C=y.appendContextPath(s.data.contextPath,s.ids[0])+"."),y.isFunction(t)&&(t=t.call(this)),s.data&&(S=y.createFrame(s.data)),t&&"object"==typeof t)if(y.isArray(t))for(var P=t.length;x<P;x++)x in t&&c(x,x,x===t.length-1);else if(u.Symbol&&t[u.Symbol.iterator]){for(var T=[],L=t[u.Symbol.iterator](),A=L.next();!A.done;A=L.next())T.push(A.value);for(P=(t=T).length;x<P;x++)c(x,x,x===t.length-1)}else!function(){var s=void 0;p(t).forEach((function(t){void 0!==s&&c(s,x-1),s=t,x++})),void 0!==s&&c(s,x-1,!0)}();return 0===x&&(E=v(this)),E}))},t.exports=s.default}).call(s,function(){return this}())},function(t,s,r){t.exports={default:r(14),__esModule:!0}},function(t,s,r){r(15),t.exports=r(21).Object.keys},function(t,s,r){var u=r(16);r(18)("keys",(function(t){return function(s){return t(u(s))}}))},function(t,s,r){var u=r(17);t.exports=function(t){return Object(u(t))}},function(t,s){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,s,r){var u=r(19),p=r(21),v=r(24);t.exports=function(t,s){var r=(p.Object||{})[t]||Object[t],y={};y[t]=s(r),u(u.S+u.F*v((function(){r(1)})),"Object",y)}},function(t,s,r){var u=r(20),p=r(21),v=r(22),y="prototype",h=function(t,s,r){var w,x,E,S=t&h.F,C=t&h.G,P=t&h.S,T=t&h.P,L=t&h.B,A=t&h.W,O=C?p:p[s]||(p[s]={}),$=C?u:P?u[s]:(u[s]||{})[y];for(w in C&&(r=s),r)(x=!S&&$&&w in $)&&w in O||(E=x?$[w]:r[w],O[w]=C&&"function"!=typeof $[w]?r[w]:L&&x?v(E,u):A&&$[w]==E?function(t){var b=function(s){return this instanceof t?new t(s):t(s)};return b[y]=t[y],b}(E):T&&"function"==typeof E?v(Function.call,E):E,T&&((O[y]||(O[y]={}))[w]=E))};h.F=1,h.G=2,h.S=4,h.P=8,h.B=16,h.W=32,t.exports=h},function(t,s){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,s){var r=t.exports={version:"1.2.6"};"number"==typeof __e&&(__e=r)},function(t,s,r){var u=r(23);t.exports=function(t,s,r){if(u(t),void 0===s)return t;switch(r){case 1:return function(r){return t.call(s,r)};case 2:return function(r,u){return t.call(s,r,u)};case 3:return function(r,u,p){return t.call(s,r,u,p)}}return function(){return t.apply(s,arguments)}}},function(t,s){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,s){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,s,r){var u=r(1).default;s.__esModule=!0;var p=u(r(6));s.default=function(t){t.registerHelper("helperMissing",(function(){if(1!==arguments.length)throw new p.default('Missing helper: "'+arguments[arguments.length-1].name+'"')}))},t.exports=s.default},function(t,s,r){var u=r(1).default;s.__esModule=!0;var p=r(5),v=u(r(6));s.default=function(t){t.registerHelper("if",(function(t,s){if(2!=arguments.length)throw new v.default("#if requires exactly one argument");return p.isFunction(t)&&(t=t.call(this)),!s.hash.includeZero&&!t||p.isEmpty(t)?s.inverse(this):s.fn(this)})),t.registerHelper("unless",(function(s,r){if(2!=arguments.length)throw new v.default("#unless requires exactly one argument");return t.helpers.if.call(this,s,{fn:r.inverse,inverse:r.fn,hash:r.hash})}))},t.exports=s.default},function(t,s){s.__esModule=!0,s.default=function(t){t.registerHelper("log",(function(){for(var s=[void 0],r=arguments[arguments.length-1],u=0;u<arguments.length-1;u++)s.push(arguments[u]);var p=1;null!=r.hash.level?p=r.hash.level:r.data&&null!=r.data.level&&(p=r.data.level),s[0]=p,t.log.apply(t,s)}))},t.exports=s.default},function(t,s){s.__esModule=!0,s.default=function(t){t.registerHelper("lookup",(function(t,s,r){return t?r.lookupProperty(t,s):t}))},t.exports=s.default},function(t,s,r){var u=r(1).default;s.__esModule=!0;var p=r(5),v=u(r(6));s.default=function(t){t.registerHelper("with",(function(t,s){if(2!=arguments.length)throw new v.default("#with requires exactly one argument");p.isFunction(t)&&(t=t.call(this));var r=s.fn;if(p.isEmpty(t))return s.inverse(this);var u=s.data;return s.data&&s.ids&&((u=p.createFrame(s.data)).contextPath=p.appendContextPath(s.data.contextPath,s.ids[0])),r(t,{data:u,blockParams:p.blockParams([t],[u&&u.contextPath])})}))},t.exports=s.default},function(t,s,r){function d(t){p.default(t)}var u=r(1).default;s.__esModule=!0,s.registerDefaultDecorators=d;var p=u(r(31))},function(t,s,r){s.__esModule=!0;var u=r(5);s.default=function(t){t.registerDecorator("inline",(function(t,s,r,p){var v=t;return s.partials||(s.partials={},v=function(p,v){var y=r.partials;r.partials=u.extend({},y,s.partials);var w=t(p,v);return r.partials=y,w}),s.partials[p.args[0]]=p.fn,v}))},t.exports=s.default},function(t,s,r){s.__esModule=!0;var u=r(5),p={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(t){if("string"==typeof t){var s=u.indexOf(p.methodMap,t.toLowerCase());t=s>=0?s:parseInt(t,10)}return t},log:function(t){if(t=p.lookupLevel(t),"undefined"!=typeof console&&p.lookupLevel(p.level)<=t){var s=p.methodMap[t];console[s]||(s="log");for(var r=arguments.length,u=Array(r>1?r-1:0),v=1;v<r;v++)u[v-1]=arguments[v];console[s].apply(console,u)}}};s.default=p,t.exports=s.default},function(t,s,r){function d(t){var s=u(null);s.constructor=!1,s.__defineGetter__=!1,s.__defineSetter__=!1,s.__lookupGetter__=!1;var r=u(null);return r.__proto__=!1,{properties:{whitelist:y.createNewLookupObject(r,t.allowedProtoProperties),defaultValue:t.allowProtoPropertiesByDefault},methods:{whitelist:y.createNewLookupObject(s,t.allowedProtoMethods),defaultValue:t.allowProtoMethodsByDefault}}}function e(t,s,r){return f("function"==typeof t?s.methods:s.properties,r)}function f(t,s){return void 0!==t.whitelist[s]?!0===t.whitelist[s]:void 0!==t.defaultValue?t.defaultValue:(g(s),!1)}function g(t){!0!==x[t]&&(x[t]=!0,w.log("error",'Handlebars: Access has been denied to resolve the property "'+t+'" because it is not an "own property" of its parent.\nYou can add a runtime option to disable the check or this warning:\nSee https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details'))}
1function h(){p(x).forEach((function(t){delete x[t]}))}var u=r(34).default,p=r(13).default,v=r(3).default;s.__esModule=!0,s.createProtoAccessControl=d,s.resultIsAllowed=e,s.resetLoggedProperties=h;var y=r(36),w=v(r(32)),x=u(null)},function(t,s,r){t.exports={default:r(35),__esModule:!0}},function(t,s,r){var u=r(9);t.exports=function(t,s){return u.create(t,s)}},function(t,s,r){function d(){for(var t=arguments.length,s=Array(t),r=0;r<t;r++)s[r]=arguments[r];return p.extend.apply(void 0,[u(null)].concat(s))}var u=r(34).default;s.__esModule=!0,s.createNewLookupObject=d;var p=r(5)},function(t,s){function c(t){this.string=t}s.__esModule=!0,c.prototype.toString=c.prototype.toHTML=function(){return""+this.string},s.default=c,t.exports=s.default},function(t,s,r){function d(t){var s=t&&t[0]||1,r=E.COMPILER_REVISION;if(!(s>=E.LAST_COMPATIBLE_COMPILER_REVISION&&s<=E.COMPILER_REVISION)){if(s<E.LAST_COMPATIBLE_COMPILER_REVISION){var u=E.REVISION_CHANGES[r],p=E.REVISION_CHANGES[s];throw new x.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+u+") or downgrade your runtime to an older version ("+p+").")}throw new x.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+t[1]+").")}}function e(t,s){function c(r,u,p){p.hash&&(u=w.extend({},u,p.hash),p.ids&&(p.ids[0]=!0)),r=s.VM.resolvePartial.call(this,r,u,p);var v=w.extend({},p,{hooks:this.hooks,protoAccessControl:this.protoAccessControl}),y=s.VM.invokePartial.call(this,r,u,v);if(null==y&&s.compile&&(p.partials[p.name]=s.compile(r,t.compilerOptions,s),y=p.partials[p.name](u,v)),null!=y){if(p.indent){for(var E=y.split("\n"),S=0,C=E.length;S<C&&(E[S]||S+1!==C);S++)E[S]=p.indent+E[S];y=E.join("\n")}return y}throw new x.default("The partial "+p.name+" could not be compiled when running in runtime-only mode")}function d(s){function c(s){return""+t.main(p,s,p.helpers,p.partials,u,y,v)}var r=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],u=r.data;d._setup(r),!r.partial&&t.useData&&(u=j(s,u));var v=void 0,y=t.useBlockParams?[]:void 0;return t.useDepths&&(v=r.depths?s!=r.depths[0]?[s].concat(r.depths):r.depths:[s]),(c=k(t.main,c,p,r.depths||[],u,y))(s,r)}if(!s)throw new x.default("No environment passed to template");if(!t||!t.main)throw new x.default("Unknown template object: "+typeof t);t.main.decorator=t.main_d,s.VM.checkRevision(t.compiler);var r=t.compiler&&7===t.compiler[0],p={strict:function(t,s,r){if(!t||!(s in t))throw new x.default('"'+s+'" not defined in '+t,{loc:r});return p.lookupProperty(t,s)},lookupProperty:function(t,s){var r=t[s];return null==r||Object.prototype.hasOwnProperty.call(t,s)||P.resultIsAllowed(r,p.protoAccessControl,s)?r:void 0},lookup:function(t,s){for(var r=t.length,u=0;u<r;u++)if(null!=(t[u]&&p.lookupProperty(t[u],s)))return t[u][s]},lambda:function(t,s){return"function"==typeof t?t.call(s):t},escapeExpression:w.escapeExpression,invokePartial:c,fn:function(s){var r=t[s];return r.decorator=t[s+"_d"],r},programs:[],program:function(t,s,r,u,p){var v=this.programs[t],y=this.fn(t);return s||p||u||r?v=f(this,t,y,s,r,u,p):v||(v=this.programs[t]=f(this,t,y)),v},data:function(t,s){for(;t&&s--;)t=t._parent;return t},mergeIfNeeded:function(t,s){var r=t||s;return t&&s&&t!==s&&(r=w.extend({},s,t)),r},nullContext:u({}),noop:s.VM.noop,compilerInfo:t.compiler};return d.isTop=!0,d._setup=function(u){if(u.partial)p.protoAccessControl=u.protoAccessControl,p.helpers=u.helpers,p.partials=u.partials,p.decorators=u.decorators,p.hooks=u.hooks;else{var v=w.extend({},s.helpers,u.helpers);l(v,p),p.helpers=v,t.usePartial&&(p.partials=p.mergeIfNeeded(u.partials,s.partials)),(t.usePartial||t.useDecorators)&&(p.decorators=w.extend({},s.decorators,u.decorators)),p.hooks={},p.protoAccessControl=P.createProtoAccessControl(u);var y=u.allowCallsToHelperMissing||r;S.moveHelperToHooks(p,"helperMissing",y),S.moveHelperToHooks(p,"blockHelperMissing",y)}},d._child=function(s,r,u,v){if(t.useBlockParams&&!u)throw new x.default("must pass block params");if(t.useDepths&&!v)throw new x.default("must pass parent depths");return f(p,s,t[s],r,0,u,v)},d}function f(t,s,r,u,p,v,y){function h(s){var p=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],w=y;
1return!y||s==y[0]||s===t.nullContext&&null===y[0]||(w=[s].concat(y)),r(t,s,t.helpers,t.partials,p.data||u,v&&[p.blockParams].concat(v),w)}return(h=k(r,h,t,y,u,v)).program=s,h.depth=y?y.length:0,h.blockParams=p||0,h}function g(t,s,r){return t?t.call||r.name||(r.name=t,t=r.partials[t]):t="@partial-block"===r.name?r.data["partial-block"]:r.partials[r.name],t}function h(t,s,r){var u=r.data&&r.data["partial-block"];r.partial=!0,r.ids&&(r.data.contextPath=r.ids[0]||r.data.contextPath);var p=void 0;if(r.fn&&r.fn!==i&&function(){r.data=E.createFrame(r.data);var t=r.fn;p=r.data["partial-block"]=function(s){var r=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return r.data=E.createFrame(r.data),r.data["partial-block"]=u,t(s,r)},t.partials&&(r.partials=w.extend({},r.partials,t.partials))}(),void 0===t&&p&&(t=p),void 0===t)throw new x.default("The partial "+r.name+" could not be found");if(t instanceof Function)return t(s,r)}function i(){return""}function j(t,s){return s&&"root"in s||((s=s?E.createFrame(s):{}).root=t),s}function k(t,s,r,u,p,v){if(t.decorator){var y={};s=t.decorator(s,y,r,u&&u[0],p,v,u),w.extend(s,y)}return s}function l(t,s){p(t).forEach((function(r){var u=t[r];t[r]=m(u,s)}))}function m(t,s){var r=s.lookupProperty;return C.wrapHelper(t,(function(t){return w.extend({lookupProperty:r},t)}))}var u=r(39).default,p=r(13).default,v=r(3).default,y=r(1).default;s.__esModule=!0,s.checkRevision=d,s.template=e,s.wrapProgram=f,s.resolvePartial=g,s.invokePartial=h,s.noop=i;var w=v(r(5)),x=y(r(6)),E=r(4),S=r(10),C=r(43),P=r(33)},function(t,s,r){t.exports={default:r(40),__esModule:!0}},function(t,s,r){r(41),t.exports=r(21).Object.seal},function(t,s,r){var u=r(42);r(18)("seal",(function(t){return function(s){return t&&u(s)?t(s):s}}))},function(t,s){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,s){function c(t,s){if("function"!=typeof t)return t;var c=function(){return arguments[arguments.length-1]=s(arguments[arguments.length-1]),t.apply(this,arguments)};return c}s.__esModule=!0,s.wrapHelper=c},function(t,s){(function(r){s.__esModule=!0,s.default=function(t){var s=void 0!==r?r:window,u=s.Handlebars;t.noConflict=function(){return s.Handlebars===t&&(s.Handlebars=u),t}},t.exports=s.default}).call(s,function(){return this}())},function(t,s){s.__esModule=!0;var r={helpers:{helperExpression:function(t){return"SubExpression"===t.type||("MustacheStatement"===t.type||"BlockStatement"===t.type)&&!!(t.params&&t.params.length||t.hash)},scopedId:function(t){return/^\.|this\b/.test(t.original)},simpleId:function(t){return 1===t.parts.length&&!r.helpers.scopedId(t)&&!t.depth}}};s.default=r,t.exports=s.default},function(t,s,r){function d(t,s){return"Program"===t.type?t:(v.default.yy=E,E.locInfo=function(t){return new E.SourceLocation(s&&s.srcName,t)},v.default.parse(t))}function e(t,s){var r=d(t,s);return new y.default(s).accept(r)}var u=r(1).default,p=r(3).default;s.__esModule=!0,s.parseWithoutProcessing=d,s.parse=e;var v=u(r(47)),y=u(r(48)),w=p(r(50)),x=r(5);s.parser=v.default;var E={};x.extend(E,w)},function(t,s){s.__esModule=!0;var r=function(){function a(){this.yy={}}var t={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sex
vendor: 4,509 bytes, line 1
1pr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(t,s,r,u,p,v,y){var w=v.length-1;switch(p){case 1:return v[w-1];case 2:this.$=u.prepareProgram(v[w]);break;case 3:case 4:case 5:case 6:case 7:case 8:case 20:case 27:case 28:case 33:case 34:case 40:case 41:this.$=v[w];break;case 9:this.$={type:"CommentStatement",value:u.stripComment(v[w]),strip:u.stripFlags(v[w],v[w]),loc:u.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:v[w],value:v[w],loc:u.locInfo(this._$)};break;case 11:this.$=u.prepareRawBlock(v[w-2],v[w-1],v[w],this._$);break;case 12:this.$={path:v[w-3],params:v[w-2],hash:v[w-1]};break;case 13:this.$=u.prepareBlock(v[w-3],v[w-2],v[w-1],v[w],!1,this._$);break;case 14:this.$=u.prepareBlock(v[w-3],v[w-2],v[w-1],v[w],!0,this._$);break;case 15:this.$={open:v[w-5],path:v[w-4],params:v[w-3],hash:v[w-2],blockParams:v[w-1],strip:u.stripFlags(v[w-5],v[w])};break;case 16:case 17:this.$={path:v[w-4],params:v[w-3],hash:v[w-2],blockParams:v[w-1],strip:u.stripFlags(v[w-5],v[w])};break;case 18:this.$={strip:u.stripFlags(v[w-1],v[w-1]),program:v[w]};break;case 19:var x=u.prepareBlock(v[w-2],v[w-1],v[w],v[w],!1,this._$),E=u.prepareProgram([x],v[w-1].loc);E.chained=!0,this.$={strip:v[w-2].strip,program:E,chain:!0};break;case 21:this.$={path:v[w-1],strip:u.stripFlags(v[w-2],v[w])};break;case 22:case 23:this.$=u.prepareMustache(v[w-3],v[w-2],v[w-1],v[w-4],u.stripFlags(v[w-4],v[w]),this._$);break;case 24:this.$={type:"PartialStatement",name:v[w-3],params:v[w-2],hash:v[w-1],indent:"",strip:u.stripFlags(v[w-4],v[w]),loc:u.locInfo(this._$)};break;case 25:this.$=u.preparePartialBlock(v[w-2],v[w-1],v[w],this._$);break;case 26:this.$={path:v[w-3],params:v[w-2],hash:v[w-1],strip:u.stripFlags(v[w-4],v[w])};break;case 29:this.$={type:"SubExpression",path:v[w-3],params:v[w-2],hash:v[w-1],loc:u.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:v[w],loc:u.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:u.id(v[w-2]),value:v[w],loc:u.locInfo(this._$)};break;case 32:this.$=u.id(v[w-1]);break;case 35:this.$={type:"StringLiteral",value:v[w],original:v[w],loc:u.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(v[w]),original:Number(v[w]),loc:u.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:"true"===v[w],original:"true"===v[w],loc:u.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:u.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:u.locInfo(this._$)};break;case 42:this.$=u.preparePath(!0,v[w],this._$);break;case 43:this.$=u.preparePath(!1,v[w],this._$);break;case 44:v[w-2].push({part:u.id(v[w]),original:v[w],separator:v[w-1]}),this.$=v[w-2];break;case 45:this.$=[{part:u.id(v[w]),original:v[w]}];break;case 46:case 48:case 50:case 58:case 64:case 70:case 78:case 82:case 86:case 90:case 94:this.$=[];break;case 47:case 49:case 51:case 59:case 65:case 71:case 79:case 83:case 87:case 91:case 95:case 99:case 101:v[w-1].push(v[
1w]);break;case 98:case 100:this.$=[v[w
vendor: 11,482 bytes, line 1
1]]}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(
vendor: 23,498 bytes, line 1
1t,s){throw new Error(t)},parse:function(t){function b(){var t;return"number"!=typeof(t=s.lexer.lex()||1)&&(t=s.symbols_[t]||t),t}var s=this,r=[0],u=[null],p=[],v=this.table,y="",w=0,x=0,E=0;this.lexer.setInput(t),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var S=this.lexer.yylloc;p.push(S);var C=this.lexer.options&&this.lexer.options.ranges;"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var P,T,L,A,O,$,I,M,D,_={};;){if(L=r[r.length-1],this.defaultActions[L]?A=this.defaultActions[L]:(null!=P||(P=b()),A=v[L]&&v[L][P]),void 0===A||!A.length||!A[0]){var H="";if(!E){for($ in D=[],v[L])this.terminals_[$]&&$>2&&D.push("'"+this.terminals_[$]+"'");H=this.lexer.showPosition?"Parse error on line "+(w+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+D.join(", ")+", got '"+(this.terminals_[P]||P)+"'":"Parse error on line "+(w+1)+": Unexpected "+(1==P?"end of input":"'"+(this.terminals_[P]||P)+"'"),this.parseError(H,{text:this.lexer.match,token:this.terminals_[P]||P,line:this.lexer.yylineno,loc:S,expected:D})}}if(A[0]instanceof Array&&A.length>1)throw new Error("Parse Error: multiple actions possible at state: "+L+", token: "+P);switch(A[0]){case 1:r.push(P),u.push(this.lexer.yytext),p.push(this.lexer.yylloc),r.push(A[1]),P=null,T?(P=T,T=null):(x=this.lexer.yyleng,y=this.lexer.yytext,w=this.lexer.yylineno,S=this.lexer.yylloc,E>0&&E--);break;case 2:if(I=this.productions_[A[1]][1],_.$=u[u.length-I],_._$={first_line:p[p.length-(I||1)].first_line,last_line:p[p.length-1].last_line,first_column:p[p.length-(I||1)].first_column,last_column:p[p.length-1].last_column},C&&(_._$.range=[p[p.length-(I||1)].range[0],p[p.length-1].range[1]]),void 0!==(O=this.performAction.call(_,y,x,w,this.yy,A[1],u,p)))return O;I&&(r=r.slice(0,-1*I*2),u=u.slice(0,-1*I),p=p.slice(0,-1*I)),r.push(this.productions_[A[1]][0]),u.push(_.$),p.push(_._$),M=v[r[r.length-2]][r[r.length-1]],r.push(M);break;case 3:return!0}}return!0}},s=function(){var t={EOF:1,parseError:function(t,s){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,s)},setInput:function(t){return this._input=t,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var s=t.length,r=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s-1),this.offset-=s;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1);var p=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:r?(r.length===u.length?this.yylloc.first_column:0)+u[u.length-r.length].length-r[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[p[0],p[0]+this.yyleng-s]),this},more:function(){return this._more=!0,this},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),s=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+s+"^"},next:function(){if(this.done)return this.EOF;var t,s,r,u,p;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var v=this._currentRules(),y=0;y<v.length&&(!(r=this._input.match(this.rules[v[y]]))||s&&!(r[0].length>s[0].length)||(s=r,u=y,this.options.flex));y++);return s?((p=s[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=p.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:p?p[p.length-1].length-p[p.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+s[0].length},this.yytext+=s[0],this.match+=s[0],this.matches=s,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(s[0].length),this.matched+=s[0],t=this.performAction.call(this,this.yy,this,v[u],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),t||void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return void 0!==t?t:this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(t){this.begin(t)},options:{},performAction:function(t,s,r,u){function e(t,r){return s.yytext=s.yytext.substring(t,s.yyleng-r+t)}switch(r){case 0:if("\\\\"===s.yytext.slice(-2)?(e(0,1),this.begin("mu")):"\\"===s.yytext.slice(-1)?(e(0,1),this.begin("emu")):this.begin("mu"),s.yytext)return 15;break;case 1:case 5:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),"raw"===this.conditionStack[this.conditionStack.length-1]?15:(e(5,9),"END_RAW_BLOCK");case 6:case 22:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:case 23:return 48;case 21:this.unput(s.yytext),this.popState(),this.begin("com");break;case 24:return 73;case 25:case 26:case 41:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return s.yytext=e(1,2).replace(/\\"/g,'"'),80;case 32:return s.yytext=e(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 42:return s.yytext=s.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},rules:[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],conditions:{mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}}};return t}();return t.lexer=s,a.prototype=t,t.Parser=a,new a}();s.default=r,t.exports=s.default},function(t,s,r){function d(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.options=t}function e(t,s,r){void 0===s&&(s=t.length);var u=t[s-1],p=t[s-2];return u?"ContentStatement"===u.type?(p||!r?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(u.original):void 0:r}function f(t,s,r){void 0===s&&(s=-1);var u=t[s+1],p=t[s+2];return u?"ContentStatement"===u.type?(p||!r?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(u.original):void 0:r}function g(t,s,r){var u=t[null==s?0:s+1];if(u&&"ContentStatement"===u.type&&(r||!u.rightStripped)){var p=u.value;u.value=u.value.replace(r?/^\s+/:/^[ \t]*\r?\n?/,""),u.rightStripped=u.value!==p}}function h(t,s,r){var u=t[null==s?t.length-1:s-1];if(u&&"ContentStatement"===u.type&&(r||!u.leftStripped)){var p=u.value;return u.value=u.value.replace(r?/\s+$/:/[ \t]+$/,""),u.leftStripped=u.value!==p,u.leftStripped}}var u=r(1).default;s.__esModule=!0;var p=u(r(49));d.prototype=new p.default,d.prototype.Program=function(t){var s=!this.options.ignoreStandalone,r=!this.isRootSeen;this.isRootSeen=!0;for(var u=t.body,p=0,v=u.length;p<v;p++){var y=u[p],w=this.accept(y);if(w){var x=e(u,p,r),E=f(u,p,r),S=w.openStandalone&&x,C=w.closeStandalone&&E,P=w.inlineStandalone&&x&&E;w.close&&g(u,p,!0),w.open&&h(u,p,!0),s&&P&&(g(u,p),h(u,p)&&"PartialStatement"===y.type&&(y.indent=/([ \t]+$)/.exec(u[p-1].original)[1])),s&&S&&(g((y.program||y.inverse).body),h(u,p)),s&&C&&(g(u,p),h((y.inverse||y.program).body))}}return t},d.prototype.BlockStatement=d.prototype.DecoratorBlock=d.prototype.PartialBlockStatement=function(t){this.accept(t.program),this.accept(t.inverse);var s=t.program||t.inverse,r=t.program&&t.inverse,u=r,p=r;if(r&&r.chained)for(u=r.body[0].program;p.chained;)p=p.body[p.body.length-1].program;var v={open:t.openStrip.open,close:t.closeStrip.close,openStandalone:f(s.body),closeStandalone:e((u||s).body)};if(t.openStrip.close&&g(s.body,null,!0),r){var y=t.inverseStrip;y.open&&h(s.body,null,!0),y.close&&g(u.body,null,!0),t.closeStrip.open&&h(p.body,null,!0),!this.options.ignoreStandalone&&e(s.body)&&f(u.body)&&(h(s.body),g(u.body))}else t.closeStrip.open&&h(s.body,null,!0);return v},d.prototype.Decorator=d.prototype.MustacheStatement=function(t){return t.strip},d.prototype.PartialStatement=d.prototype.CommentStatement=function(t){var s=t.strip||{};return{inlineStandalone:!0,open:s.open,close:s.close}},s.default=d,t.exports=s.default},function(t,s,r){function d(){this.parents=[]}function e(t){this.acceptRequired(t,"path"),this.acceptArray(t.params),this.acceptKey(t,"hash")}function f(t){e.call(this,t),this.acceptKey(t,"program"),this.acceptKey(t,"inverse")}function g(t){this.acceptRequired(t,"name"),this.acceptArray(t.params),this.acceptKey(t,"hash")}var u=r(1).default;s.__esModule=!0;var p=u(r(6));d.prototype={constructor:d,mutating:!1,acceptKey:function(t,s){var r=this.accept(t[s]);if(this.mutating){if(r&&!d.prototype[r.type])throw new p.default('Unexpected node type "'+r.type+'" found when accepting '+s+" on "+t.type);t[s]=r}},acceptRequired:function(t,s){if(this.acceptKey(t,s),!t[s])throw new p.default(t.type+" requires "+s)},acceptArray:function(t){for(var s=0,r=t.length;s<r;s++)this.acceptKey(t,s),t[s]||(t.splice(s,1),s--,r--)},accept:function(t){if(t){if(!this[t.type])throw new p.default("Unknown type: "+t.type,t);this.current&&this.parents.unshift(this.current),this.current=t;var s=this[t.type](t);return this.current=this.parents.shift(),!this.mutating||s?s:!1!==s?t:void 0}},Program:function(t){this.acceptArray(t.body)},MustacheStatement:e,Decorator:e,BlockStatement:f,DecoratorBlock:f,PartialStatement:g,PartialBlockStatement:function(t){g.call(this,t),this.acceptKey(t,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:e,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(t){this.acceptArray(t.pairs)},HashPair:function(t){this.acceptRequired(t,"value")}},s.default=d,t.exports=s.default},function(t,s,r){function d(t,s){if(s=s.path?s.path.original:s,t.path.original!==s){var r={loc:t.path.loc};throw new p.default(t.path.original+" doesn't match "+s,r)}}function e(t,s){this.source=t,this.start={line:s.first_line,column:s.first_column},this.end={line:s.last_line,column:s.last_column}}function f(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}function g(t,s){return{open:"~"===t.charAt(2),close:"~"===s.charAt(s.length-3)}}function h(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function i(t,s,r){r=this.locInfo(r);for(var u=t?"@":"",v=[],y=0,w=0,x=s.length;w<x;w++){var E=s[w].part,S=s[w].original!==E;if(u+=(s[w].separator||"")+E,S||".."!==E&&"."!==E&&"this"!==E)v.push(E);else{if(v.length>0)throw new p.default("Invalid path: "+u,{loc:r});".."===E&&y++}}return{type:"PathExpression",data:t,depth:y,parts:v,original:u,loc:r}}function j(t,s,r,u,p,v){var y=u.charAt(3)||u.charAt(2),w="{"!==y&&"&"!==y;return{type:/\*/.test(u)?"Decorator":"MustacheStatement",path:t,params:s,hash:r,escaped:w,strip:p,loc:this.locInfo(v)}}function k(t,s,r,u){d(t,r);var p={type:"Program",body:s,strip:{},loc:u=this.locInfo(u)};return{type:"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:p,openStrip:{},inverseStrip:{},closeStrip:{},loc:u}}function l(t,s,r,u,v,y){u&&u.path&&d(t,u);var w=/\*/.test(t.open);s.blockParams=t.blockParams;var x=void 0,E=void 0;if(r){if(w)throw new p.default("Unexpected inverse block on decorator",r);r.chain&&(r.program.body[0].closeStrip=u.strip),E=r.strip,x=r.program}return v&&(v=x,x=s,s=v),{type:w?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:s,inverse:x,openStrip:t.strip,inverseStrip:E,closeStrip:u&&u.strip,loc:this.locInfo(y)}}function m(t,s){if(!s&&t.length){var r=t[0].loc,u=t[t.length-1].loc;r&&u&&(s={source:r.source,start:{line:r.start.line,column:r.start.column},end:{line:u.end.line,column:u.end.column}})}return{type:"Program",body:t,strip:{},loc:s}}function n(t,s,r,u){return d(t,r),{type:"PartialBlockStatement",name:t.path,params:t.params,hash:t.hash,program:s,openStrip:t.strip,closeStrip:r&&r.strip,loc:this.locInfo(u)}}var u=r(1).default;s.__esModule=!0,s.SourceLocation=e,s.id=f,s.stripFlags=g,s.stripComment=h,s.preparePath=i,s.prepareMustache=j,s.prepareRawBlock=k,s.prepareBlock=l,s.prepareProgram=m,s.preparePartialBlock=n;var p=u(r(6))},function(t,s,r){function d(){}function e(t,s,r){if(null==t||"string"!=typeof t&&"Program"!==t.type)throw new v.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+t);"data"in(s=s||{})||(s.data=!0),s.compat&&(s.useDepths=!0);var u=r.parse(t,s),p=(new r.Compiler).compile(u,s);return(new r.JavaScriptCompiler).compile(p,s)}function f(t,s,r){function d(){var u=r.parse(t,s),p=(new r.Compiler).compile(u,s),v=(new r.JavaScriptCompiler).compile(p,s,void 0,!0);return r.template(v)}function e(t,s){return u||(u=d()),u.call(this,t,s)}if(void 0===s&&(s={}),null==t||"string"!=typeof t&&"Program"!==t.type)throw new v.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);"data"in(s=y.extend({},s))||(s.data=!0),s.compat&&(s.useDepths=!0);var u=void 0;return e._setup=function(t){return u||(u=d()),u._setup(t)},e._child=function(t,s,r,p){return u||(u=d()),u._child(t,s,r,p)},e}function g(t,s){if(t===s)return!0;if(y.isArray(t)&&y.isArray(s)&&t.length===s.length){for(var r=0;r<t.length;r++)if(!g(t[r],s[r]))return!1;return!0}}function h(t){if(!t.path.parts){var s=t.path;t.path={type:"PathExpression",data:!1,depth:0,parts:[s.original+""],original:s.original+"",loc:s.loc}}}var u=r(34).default,p=r(1).default;s.__esModule=!0,s.Compiler=d,s.precompile=e,s.compile=f;var v=p(r(6)),y=r(5),w=p(r(45)),x=[].slice;d.prototype={compiler:d,equals:function(t){var s=this.opcodes.length;if(t.opcodes.length!==s)return!1;for(var r=0;r<s;r++){var u=this.opcodes[r],p=t.opcodes[r];if(u.opcode!==p.opcode||!g(u.args,p.args))return!1}for(s=this.children.length,r=0;r<s;r++)if(!this.children[r].equals(t.children[r]))return!1;return!0},guid:0,compile:function(t,s){return this.sourceNode=[],this.opcodes=[],this.children=[],this.options=s,this.stringParams=s.stringParams,this.trackIds=s.trackIds,s.blockParams=s.blockParams||[],s.knownHelpers=y.extend(u(null),{helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},s.knownHelpers),this.accept(t)},compileProgram:function(t){var s=(new this.compiler).compile(t,this.options),r=this.guid++;return this.usePartial=this.usePartial||s.usePartial,this.children[r]=s,this.useDepths=this.useDepths||s.useDepths,r},accept:function(t){if(!this[t.type])throw new v.default("Unknown type: "+t.type,t);this.sourceNode.unshift(t);var s=this[t.type](t);return this.sourceNode.shift(),s},Program:function(t){this.options.blockParams.unshift(t.blockParams);for(var s=t.body,r=s.length,u=0;u<r;u++)this.accept(s[u]);return this.options.blockParams.shift(),this.isSimple=1===r,this.blockParams=t.blockParams?t.blockParams.length:0,this},BlockStatement:function(t){h(t);var s=t.program,r=t.inverse;s=s&&this.compileProgram(s),r=r&&this.compileProgram(r);var u=this.classifySexpr(t);"helper"===u?this.helperSexpr(t,s,r):"simple"===u?(this.simpleSexpr(t),this.opcode("pushProgram",s),this.opcode("pushProgram",r),this.opcode("emptyHash"),this.opcode("blockValue",t.path.original)):(this.ambiguousSexpr(t,s,r),this.opcode("pushProgram",s),this.opcode("pushProgram",r),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},DecoratorBlock:function(t){var s=t.program&&this.compileProgram(t.program),r=this.setupFullMustacheParams(t,s,void 0),u=t.path;this.useDecorators=!0,this.opcode("registerDecorator",r.length,u.original)},PartialStatement:function(t){this.usePartial=!0;var s=t.program;s&&(s=this.compileProgram(t.program));var r=t.params;if(r.length>1)throw new v.default("Unsupported number of partial arguments: "+r.length,t);r.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):r.push({type:"PathExpression",parts:[],depth:0}));var u=t.name.original,p="SubExpression"===t.name.type;p&&this.accept(t.name),this.setupFullMustacheParams(t,s,void 0,!0);var y=t.indent||"";this.options.preventIndent&&y&&(this.opcode("appendContent",y),y=""),this.opcode("invokePartial",p,u,y),this.opcode("append")},PartialBlockStatement:function(t){this.PartialStatement(t)},MustacheStatement:function(t){this.SubExpression(t),t.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(t){this.DecoratorBlock(t)},ContentStatement:function(t){t.value&&this.opcode("appendContent",t.value)},CommentStatement:function(){},SubExpression:function(t){h(t);var s=this.classifySexpr(t);"simple"===s?this.simpleSexpr(t):"helper"===s?this.helperSexpr(t):this.ambiguousSexpr(t)},ambiguousSexpr:function(t,s,r){var u=t.path,p=u.parts[0],v=null!=s||null!=r;this.opcode("getContext",u.depth),this.opcode("pushProgram",s),this.opcode("pushProgram",r),u.strict=!0,this.accept(u),this.opcode("invokeAmbiguous",p,v)},simpleSexpr:function(t){var s=t.path;s.strict=!0,this.accept(s),this.opcode("resolvePossibleLambda")},helperSexpr:function(t,s,r){var u=this.setupFullMustacheParams(t,s,r),p=t.path,y=p.parts[0];if(this.options.knownHelpers[y])this.opcode("invokeKnownHelper",u.length,y);else{if(this.options.knownHelpersOnly)throw new v.default("You specified knownHelpersOnly, but used the unknown helper "+y,t);p.strict=!0,p.falsy=!0,this.accept(p),this.opcode("invokeHelper",u.length,p.original,w.default.helpers.simpleId(p))}},PathExpression:function(t){this.addDepth(t.depth),this.opcode("getContext",t.depth);var s=t.parts[0],r=w.default.helpers.scopedId(t),u=!t.depth&&!r&&this.blockParamIndex(s);u?this.opcode("lookupBlockParam",u,t.parts):s?t.data?(this.options.data=!0,this.opcode("lookupData",t.depth,t.parts,t.strict)):this.opcode("lookupOnContext",t.parts,t.falsy,t.strict,r):this.opcode("pushContext")},StringLiteral:function(t){this.opcode("pushString",t.value)},NumberLiteral:function(t){this.opcode("pushLiteral",t.value)},BooleanLiteral:function(t){this.opcode("pushLiteral",t.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(t){var s=t.pairs,r=0,u=s.length;for(this.opcode("pushHash");r<u;r++)this.pushParam(s[r].value);for(;r--;)this.opcode("assignToHash",s[r].key);this.opcode("popHash")},opcode:function(t){this.opcodes.push({opcode:t,args:x.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(t){t&&(this.useDepths=!0)},classifySexpr:function(t){var s=w.default.helpers.simpleId(t.path),r=s&&!!this.blockParamIndex(t.path.parts[0]),u=!r&&w.default.helpers.helperExpression(t),p=!r&&(u||s);if(p&&!u){var v=t.path.parts[0],y=this.options;y.knownHelpers[v]?u=!0:y.knownHelpersOnly&&(p=!1)}return u?"helper":p?"ambiguous":"simple"},pushParams:function(t){for(var s=0,r=t.length;s<r;s++)this.pushParam(t[s])},pushParam:function(t){var s=null!=t.value?t.value:t.original||"";if(this.stringParams)s.replace&&(s=s.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),t.depth&&this.addDepth(t.depth),this.opcode("getContext",t.depth||0),this.opcode("pushStringParam",s,t.type),"SubExpression"===t.type&&this.accept(t);else{if(this.trackIds){var r=void 0;if(!t.parts||w.default.helpers.scopedId(t)||t.depth||(r=this.blockParamIndex(t.parts[0])),r){var u=t.parts.slice(1).join(".");this.opcode("pushId","BlockParam",r,u)}else(s=t.original||s).replace&&(s=s.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",t.type,s)}this.accept(t)}},setupFullMustacheParams:function(t,s,r,u){var p=t.params;return this.pushParams(p),this.opcode("pushProgram",s),this.opcode("pushProgram",r),t.hash?this.accept(t.hash):this.opcode("emptyHash",u),p},blockParamIndex:function(t){for(var s=0,r=this.options.blockParams.length;s<r;s++){var u=this.options.blockParams[s],p=u&&y.indexOf(u,t);if(u&&p>=0)return[s,p]}}}},function(t,s,r){function d(t){this.value=t}function e(){}function f(t,s,r,u){var p=s.popStack(),v=0,y=r.length;for(t&&y--;v<y;v++)p=s.nameLookup(p,r[v],u);return t?[s.aliasable("container.strict"),"(",p,", ",s.quotedString(r[v]),", ",JSON.stringify(s.source.currentLocation)," )"]:p}var u=r(13).default,p=r(1).default;s.__esModule=!0;var v=r(4),y=p(r(6)),w=r(5),x=p(r(53));e.prototype={nameLookup:function(t,s){return this.internalNameLookup(t,s)},depthedLookup:function(t){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(t),")"]},compilerInfo:function(){var t=v.COMPILER_REVISION;return[t,v.REVISION_CHANGES[t]]},appendToBuffer:function(t,s,r){return w.isArray(t)||(t=[t]),t=this.source.wrap(t,s),this.environment.isSimple?["return ",t,";"]:r?["buffer += ",t,";"]:(t.appendToBuffer=!0,t)},initializeBuffer:function(){return this.quotedString("")},internalNameLookup:function(t,s){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",t,",",JSON.stringify(s),")"]},lookupPropertyFunctionIsUsed:!1,compile:function(t,s,r,u){this.environment=t,this.options=s,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.prec
vendor: 9,167 bytes, line 1
1ompile=!u,this.name=this.environment.name,this.isChild=!!r,this.context=r||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(t,s),this.useDepths=this.useDepths||t.useDepths||t.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||t.useBlockParams;var p=t.opcodes,v=void 0,w=void 0,x=void 0,E=void 0;for(x=0,E=p.length;x<E;x++)v=p[x],this.source.currentLocation=v.loc,w=w||v.loc,this[v.opcode].apply(this,v.args);if(this.source.currentLocation=w,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new y.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),";\n"]),this.decorators.push("return fn;"),u?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend("function(fn, props, container, depth0, data, blockParams, depths) {\n"),this.decorators.push("}\n"),this.decorators=this.decorators.merge()));var S=this.createFunctionContext(u);if(this.isChild)return S;var C={compiler:this.compilerInfo(),main:S};this.decorators&&(C.main_d=this.decorators,C.useDecorators=!0);var P=this.context,T=P.programs,L=P.decorators;for(x=0,E=T.length;x<E;x++)T[x]&&(C[x]=T[x],L[x]&&(C[x+"_d"]=L[x],C.useDecorators=!0));return this.environment.usePartial&&(C.usePartial=!0),this.options.data&&(C.useData=!0),this.useDepths&&(C.useDepths=!0),this.useBlockParams&&(C.useBlockParams=!0),this.options.compat&&(C.compat=!0),u?C.compilerOptions=this.options:(C.compiler=JSON.stringify(C.compiler),this.source.currentLocation={start:{line:1,column:0}},C=this.objectLiteral(C),s.srcName?(C=C.toStringWithSourceMap({file:s.destName})).map=C.map&&C.map.toString():C=C.toString()),C},preamble:function(){this.lastContext=0,this.source=new x.default(this.options.srcName),this.decorators=new x.default(this.options.srcName)},createFunctionContext:function(t){var s=this,r="",p=this.stackVars.concat(this.registers.list);p.length>0&&(r+=", "+p.join(", "));var v=0;u(this.aliases).forEach((function(t){var u=s.aliases[t];u.children&&u.referenceCount>1&&(r+=", alias"+ ++v+"="+t,u.children[0]="alias"+v)})),this.lookupPropertyFunctionIsUsed&&(r+=", "+this.lookupPropertyFunctionVarDeclaration());var y=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&y.push("blockParams"),this.useDepths&&y.push("depths");var w=this.mergeSource(r);return t?(y.push(w),Function.apply(this,y)):this.source.wrap(["function(",y.join(","),") {\n ",w,"}"])},mergeSource:function(t){var s=this.environment.isSimple,r=!this.forceBuffer,u=void 0,p=void 0,v=void 0,y=void 0;return this.source.each((function(t){t.appendToBuffer?(v?t.prepend(" + "):v=t,y=t):(v&&(p?v.prepend("buffer += "):u=!0,y.add(";"),v=y=void 0),p=!0,s||(r=!1))})),r?v?(v.prepend("return "),y.add(";")):p||this.source.push('return "";'):(t+=", buffer = "+(u?"":this.initializeBuffer()),v?(v.prepend("return buffer + "),y.add(";")):this.source.push("return buffer;")),t&&this.source.prepend("var "+t.substring(2)+(u?"":";\n")),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return"\n lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n }\n ".trim()},blockValue:function(t){var s=this.aliasable("container.hooks.blockHelperMissing"),r=[this.contextName(0)];this.setupHelperArgs(t,0,r);var u=this.popStack();r.splice(1,0,u),this.push(this.source.functionCall(s,"call",r))},ambiguousBlockValue:function(){var t=this.aliasable("container.hooks.blockHelperMissing"),s=[this.contextName(0)];this.setupHelperArgs("",0,s,!0),this.flushInline();var r=this.topStack();s.splice(1,0,r),this.pushSource(["if (!",this.lastHelper,") { ",r," = ",this.source.functionCall(t,"call",s),"}"])},appendContent:function(t){this.pendingContent?t=this.pendingContent+t:this.pendingLocation=this.source.currentLocation,this.pendingContent=t},append:function(){if(this.isInline())this.replaceStack((function(t){return[" != null ? ",t,' : ""']})),this.pushSource(this.appendToBuffer(this.popStack()));else{var t=this.popStack();this.pushSource(["if (",t," != null) { ",this.appendToBuffer(t,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(t){this.lastContext=t},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(t,s,r,u){var p=0;u||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(t[p++])),this.resolvePath("context",t,p,s,r)},lookupBlockParam:function(t,s){this.useBlockParams=!0,this.push(["blockParams[",t[0],"][",t[1],"]"]),this.resolvePath("context",s,1)},lookupData:function(t,s,r){t?this.pushStackLiteral("container.data(data, "+t+")"):this.pushStackLiteral("data"),this.resolvePath("data",s,0,!0,r)},resolvePath:function(t,s,r,u,p){var v=this;if(this.options.strict||this.options.assumeObjects)this.push(f(this.options.strict&&p,this,s,t));else for(var y=s.length;r<y;r++)this.replaceStack((function(p){var y=v.nameLookup(p,s[r],t);return u?[" && ",y]:[" != null ? ",y," : ",p]}))},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(t,s){this.pushContext(),this.pushString(s),"SubExpression"!==s&&("string"==typeof t?this.pushString(t):this.pushStackLiteral(t))},emptyHash:function(t){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(t?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var t=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(t.ids)),this.stringParams&&(this.push(this.objectLiteral(t.contexts)),this.push(this.objectLiteral(t.types))),this.push(this.objectLiteral(t.values))},pushString:function(t){this.pushStackLiteral(this.quotedString(t))},pushLiteral:function(t){this.pushStackLiteral(t)},pushProgram:function(t){null!=t?this.pushStackLiteral(this.programExpression(t)):this.pushStackLiteral(null)},registerDecorator:function(t,s){var r=this.nameLookup("decorators",s,"decorator"),u=this.setupHelperArgs(s,t);this.decorators.push(["fn = ",this.decorators.functionCall(r,"",["fn","props","container",u])," || fn;"])},invokeHelper:function(t,s,r){var u=this.popStack(),p=this.setupHelper(t,s),v=[];r&&v.push(p.name),v.push(u),this.options.strict||v.push(this.aliasable("container.hooks.helperMissing"));var y=["(",this.itemsSeparatedBy(v,"||"),")"],w=this.source.functionCall(y,"call",p.callParams);this.push(w)},itemsSeparatedBy:function(t,s){var r=[];r.push(t[0]);for(var u=1;u<t.length;u++)r.push(s,t[u]);return r},invokeKnownHelper:function(t,s){var r=this.setupHelper(t,s);this.push(this.source.functionCall(r.name,"call",r.callParams))},invokeAmbiguous:function(t,s){this.useRegister("helper");var r=this.popStack();this.emptyHash();var u=this.setupHelper(0,t,s),p=["(","(helper = ",this.lastHelper=this.nameLookup("helpers",t,"helper")," || ",r,")"];this.options.strict||(p[0]="(helper = ",p.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",p,u.paramsInit?["),(",u.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",u.callParams)," : helper))"])},invokePartial:function(t,s,r){var u=[],p=this.setupParams(s,1,u);t&&(s=this.popStack(),delete p.name),r&&(p.indent=JSON.stringify(r)),p.helpers="helpers",p.partials="partials",p.decorators="container.decorators",t?u.unshift(s):u.unshift(this.nameLookup("partials",s,"partial")),this.options.compat&&(p.depths="depths"),p=this.objectLiteral(p),u.push(p),this.push(this.source.functionCall("container.invokePartial","",u))},assignToHash:function(t){var s=this.popStack(),r=void 0,u=void 0,p=void 0;this.trackIds&&(p=this.popStack()),this.stringParams&&(u=this.popStack(),r=this.popStack());var v=this.hash;r&&(v.contexts[t]=r),u&&(v.types[t]=u),p&&(v.ids[t]=p),v.values[t]=s},pushId:function(t,s,r){"BlockParam"===t?this.pushStackLiteral("blockParams["+s[0]+"].path["+s[1]+"]"+(r?" + "+JSON.stringify("."+r):"")):"PathExpression"===t?this.pushString(s):"SubExpression"===t?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:e,compileChildren:function(t,s){for(var r=t.children,u=void 0,p=void 0,v=0,y=r.length;v<y;v++){u=r[v],p=new this.compiler;var w=this.matchExistingProgram(u);
vendor: 4,212 bytes, line 1
1if(null==w){this.context.programs.push("");var x=this.context.programs.length;u.index=x,u.name="program"+x,this.context.programs[x]=p.compile(u,s,this.context,!this.precompile),this.context.decorators[x]=p.decorators,this.context.environments[x]=u,this.useDepths=this.useDepths||p.useDepths,this.useBlockParams=this.useBlockParams||p.useBlockParams,u.useDepths=this.useDepths,u.useBlockParams=this.useBlockParams}else u.index=w.index,u.name="program"+w.index,this.useDepths=this.useDepths||w.useDepths,this.useBlockParams=this.useBlockParams||w.useBlockParams}},matchExistingProgram:function(t){for(var s=0,r=this.context.environments.length;s<r;s++){var u=this.context.environments[s];if(u&&u.equals(t))return u}},programExpression:function(t){var s=this.environment.children[t],r=[s.index,"data",s.blockParams];return(this.useBlockParams||this.useDepths)&&r.push("blockParams"),this.useDepths&&r.push("depths"),"container.program("+r.join(", ")+")"},useRegister:function(t){this.registers[t]||(this.registers[t]=!0,this.registers.list.push(t))},push:function(t){return t instanceof d||(t=this.source.wrap(t)),this.inlineStack.push(t),t},pushStackLiteral:function(t){this.push(new d(t))},pushSource:function(t){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),t&&this.source.push(t)},replaceStack:function(t){var s=["("],r=void 0,u=void 0,p=void 0;if(!this.isInline())throw new y.default("replaceStack on non-inline");var v=this.popStack(!0);if(v instanceof d)s=["(",r=[v.value]],p=!0;else{u=!0;var w=this.incrStack();s=["((",this.push(w)," = ",v,")"],r=this.topStack()}var x=t.call(this,r);p||this.popStack(),u&&this.stackSlot--,this.push(s.concat(x,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var t=this.inlineStack;this.inlineStack=[];for(var s=0,r=t.length;s<r;s++){var u=t[s];if(u instanceof d)this.compileStack.push(u);else{var p=this.incrStack();this.pushSource([p," = ",u,";"]),this.compileStack.push(p)}}},isInline:function(){return this.inlineStack.length},popStack:function(t){var s=this.isInline(),r=(s?this.inlineStack:this.compileStack).pop();if(!t&&r instanceof d)return r.value;if(!s){if(!this.stackSlot)throw new y.default("Invalid stack pop");this.stackSlot--}return r},topStack:function(){var t=this.isInline()?this.inlineStack:this.compileStack,s=t[t.length-1];return s instanceof d?s.value:s},contextName:function(t){return this.useDepths&&t?"depths["+t+"]":"depth"+t},quotedString:function(t){return this.source.quotedString(t)},objectLiteral:function(t){return this.source.objectLiteral(t)},aliasable:function(t){var s=this.aliases[t];return s?(s.referenceCount++,s):((s=this.aliases[t]=this.source.wrap(t)).aliasable=!0,s.referenceCount=1,s)},setupHelper:function(t,s,r){var u=[];return{params:u,paramsInit:this.setupHelperArgs(s,t,u,r),name:this.nameLookup("helpers",s,"helper"),callParams:[this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})")].concat(u)}},setupParams:function(t,s,r){var u={},p=[],v=[],y=[],w=!r,x=void 0;w&&(r=[]),u.name=this.quotedString(t),u.hash=this.popStack(),this.trackIds&&(u.hashIds=this.popStack()),this.stringParams&&(u.hashTypes=this.popStack(),u.hashContexts=this.popStack());var E=this.popStack(),S=this.popStack();(S||E)&&(u.fn=S||"container.noop",u.inverse=E||"container.noop");for(var C=s;C--;)x=this.popStack(),r[C]=x,this.trackIds&&(y[C]=this.popStack()),this.stringParams&&(v[C]=this.popStack(),p[C]=this.popStack());return w&&(u.args=this.source.generateArray(r)),this.trackIds&&(u.ids=this.source.generateArray(y)),this.stringParams&&(u.types=this.source.generateArray(v),u.contexts=this.source.generateArray(p)),this.options.data&&(u.data="data"),this.useBlockParams&&(u.blockParams="blockParams"),u},setupHelperArgs:function(t,s,r,u){var p=this.setupParams(t,s,r);return p.loc=JSON.stringify(this.source.currentLocation),p=this.objectLiteral(p),u?(this.useRegister("options"),r.push("options"),["o
1ptions=",p]):r?(r.push(p),""):p}},function(){for(var t="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),s=e.RESERVED_WORDS={},r=0,u=t.length;r<u;r++)s[t[r]]=!0}(),e.isValidJavaScriptVariableName=function(t){return!e.RESERVED_WORDS[t]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(t)},s.default=e,t.exports=s.default},function(t,s,r){function d(t,s,r){if(p.isArray(t)){for(var u=[],v=0,y=t.length;v<y;v++)u.push(s.wrap(t[v],r));return u}return"boolean"==typeof t||"number"==typeof t?t+"":t}function e(t){this.srcFile=t,this.source=[]}var u=r(13).default;s.__esModule=!0;var p=r(5),v=void 0;v||(v=function(t,s,r,u){this.src="",u&&this.add(u)},v.prototype={add:function(t){p.isArray(t)&&(t=t.join("")),this.src+=t},prepend:function(t){p.isArray(t)&&(t=t.join("")),this.src=t+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}}),e.prototype={isEmpty:function(){return!this.source.length},prepend:function(t,s){this.source.unshift(this.wrap(t,s))},push:function(t,s){this.source.push(this.wrap(t,s))},merge:function(){var t=this.empty();return this.each((function(s){t.add([" ",s,"\n"])})),t},each:function(t){for(var s=0,r=this.source.length;s<r;s++)t(this.source[s])},empty:function(){var t=this.currentLocation||{start:{}};return new v(t.start.line,t.start.column,this.srcFile)},wrap:function(t){var s=arguments.length<=1||void 0===arguments[1]?this.currentLocation||{start:{}}:arguments[1];return t instanceof v?t:(t=d(t,this,s),new v(s.start.line,s.start.column,this.srcFile,t))},functionCall:function(t,s,r){return r=this.generateList(r),this.wrap([t,s?"."+s+"(":"(",r,")"])},quotedString:function(t){return'"'+(t+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(t){var s=this,r=[];u(t).forEach((function(u){var p=d(t[u],s);"undefined"!==p&&r.push([s.quotedString(u),":",p])}));var p=this.generateList(r);return p.prepend("{"),p.add("}"),p},generateList:function(t){for(var s=this.empty(),r=0,u=t.length;r<u;r++)r&&s.add(","),s.add(d(t[r],this));return s},generateArray:function(t){var s=this.generateList(t);return s.prepend("["),s.add("]"),s}},s.default=e,t.exports=s.default}])},6797:function(t){var s="bfred-it:object-fit-images",r=/(object-fit|object-position)\s*:\s*([-.\w\s%]+)/g,u="undefined"==typeof Image?{style:{"object-position":1}}:new Image,p="object-fit"in u.style,v="object-position"in u.style,y="background-size"in u.style,w="string"==typeof u.currentSrc,x=u.getAttribute,E=u.setAttribute,S=!1;function setPlaceholder(t,s,r){var u=function createPlaceholder(t,s){return"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='"+t+"' height='"+s+"'%3E%3C/svg%3E"}(s||1,r||0);x.call(t,"src")!==u&&E.call(t,"src",u)}function onImageReady(t,s){t.naturalWidth?s(t):setTimeout(onImageReady,100,t,s)}function fixOne(t){var u=function getStyle(t){for(var s,u=getComputedStyle(t).fontFamily,p={};null!==(s=r.exec(u));)p[s[1]]=s[2];return p}(t),v=t[s];if(u["object-fit"]=u["object-fit"]||"fill",!v.img){if("fill"===u["object-fit"])return;if(!v.skipTest&&p&&!u["object-position"])return}if(!v.img){v.img=new Image(t.width,t.height),v.img.srcset=x.call(t,"data-ofi-srcset")||t.srcset,v.img.src=x.call(t,"data-ofi-src")||t.src,E.call(t,"data-ofi-src",t.src),t.srcset&&E.call(t,"data-ofi-srcset",t.srcset),setPlaceholder(t,t.naturalWidth||t.width,t.naturalHeight||t.height),t.srcset&&(t.srcset="");try{!function keepSrcUsable(t){var r={get:function get(r){return t[s].img[r||"src"]},set:function set(r,u){return t[s].img[u||"src"]=r,E.call(t,"data-ofi-"+u,r),fixOne(t),r}};Object.defineProperty(t,"src",r),Object.defineProperty(t,"currentSrc",{get:function(){return r.get("currentSrc")}}),Object.defineProperty(t,"srcset",{get:function(){return r.get("srcset")},set:function(t){return r.set(t,"srcset")}})}(t)}catch(t){window.console&&console.warn("https://bit.ly/ofi-old-browser")}}!function polyfillCurrentSrc(t){if(t.srcset&&!w&&window.picturefill){var s=window.picturefill._;t[s.ns]&&t[s.ns].evaled||s.fillImg(t,{reselect:!0}
1),t[s.ns].curSrc||(t[s.ns].supported=!1,s.fillImg(t,{reselect:!0})),t.currentSrc=t[s.ns].curSrc||t.src}}(v.img),t.style.backgroundImage='url("'+(v.img.currentSrc||v.img.src).replace(/"/g,'\\"')+'")',t.style.backgroundPosition=u["object-position"]||"center",t.style.backgroundRepeat="no-repeat",t.style.backgroundOrigin="content-box",/scale-down/.test(u["object-fit"])?onImageReady(v.img,(function(){v.img.naturalWidth>t.width||v.img.naturalHeight>t.height?t.style.backgroundSize="contain":t.style.backgroundSize="auto"})):t.style.backgroundSize=u["object-fit"].replace("none","auto").replace("fill","100% 100%"),onImageReady(v.img,(function(s){setPlaceholder(t,s.naturalWidth,s.naturalHeight)}))}function fix(t,r){var u=!S&&!t;if(r=r||{},t=t||"img",v&&!r.skipTest||!y)return!1;"img"===t?t=document.getElementsByTagName("img"):"string"==typeof t?t=document.querySelectorAll(t):"length"in t||(t=[t]);for(var p=0;p<t.length;p++)t[p][s]=t[p][s]||{skipTest:r.skipTest},fixOne(t[p]);u&&(document.body.addEventListener("load",(function(t){"IMG"===t.target.tagName&&fix(t.target,{skipTest:r.skipTest})}),!0),S=!0,t="img"),r.watchMQ&&window.addEventListener("resize",fix.bind(null,t,{skipTest:r.skipTest}))}fix.supportsObjectFit=p,fix.supportsObjectPosition=v,function hijackAttributes(){function getOfiImageMaybe(t,r){return t[s]&&t[s].img&&("src"===r||"srcset"===r)?t[s].img:t}v||(HTMLImageElement.prototype.getAttribute=function(t){return x.call(getOfiImageMaybe(this,t),t)},HTMLImageElement.prototype.setAttribute=function(t,s){return E.call(getOfiImageMaybe(this,t),t,String(s))})}(),t.exports=fix},523:function(t){t.exports={polyfill:function polyfill(){var t=window,s=document;if(!("scrollBehavior"in s.documentElement.style)||!0===t.__forceSmoothScrollPolyfill__){var r=t.HTMLElement||t.Element,u=468,p={scroll:t.scroll||t.scrollTo,scrollBy:t.scrollBy,elementScroll:r.prototype.scroll||scrollElement,scrollIntoView:r.prototype.scrollIntoView},v=t.performance&&t.performance.now?t.performance.now.bind(t.performance):Date.now,y=function isMicrosoftBrowser(t){return new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(t)}(t.navigator.userAgent)?1:0;t.scroll=t.scrollTo=function(){void 0!==arguments[0]&&(!0!==shouldBailOut(arguments[0])?smoothScroll.call(t,s.body,void 0!==arguments[0].left?~~arguments[0].left:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:t.scrollY||t.pageYOffset):p.scroll.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:t.scrollY||t.pageYOffset))},t.scrollBy=function(){void 0!==arguments[0]&&(shouldBailOut(arguments[0])?p.scrollBy.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):smoothScroll.call(t,s.body,~~arguments[0].left+(t.scrollX||t.pageXOffset),~~arguments[0].top+(t.scrollY||t.pageYOffset)))},r.prototype.scroll=r.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==shouldBailOut(arguments[0])){var t=arguments[0].left,s=arguments[0].top;smoothScroll.call(this,this,void 0===t?this.scrollLeft:~~t,void 0===s?this.scrollTop:~~s)}else{if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");p.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},r.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==shouldBailOut(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):p.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},r.prototype.scrollIntoView=function(){if(!0!==shouldBailOut(arguments[0])){var r=function findScrollableParent(t){for(;t!==s.body&&!1===isScrollable(t);)t=t.parentNode||t.host;return t}(this),u=r.getBoundingClientRect(),v=this.getBoundingClientRect();r!==s.body?(smoothScroll.call(this,r,r.scrollLeft+v.left-u.left,r.scrollTop+v.top-u.top),"fixed"!==t.getComputedStyle(r).position&&t.scrollBy({left:u.left,top:u.top,behavior:"smooth"})):t.scrollBy({left:v.left,top:v.top,behavior:"smooth"})}else p.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])}}function scrollElement(t,s){this.scrollLeft=t,this.scrollTop=s}function shouldBailOut(t){if(null===t||"object"!=typeof t||void 0===t.behavior||"auto"===t.behavior||"instant"===t.behavior)return!0;
1if("object"==typeof t&&"smooth"===t.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+t.behavior+" is not a valid value for enumeration ScrollBehavior.")}function hasScrollableSpace(t,s){return"Y"===s?t.clientHeight+y<t.scrollHeight:"X"===s?t.clientWidth+y<t.scrollWidth:void 0}function canOverflow(s,r){var u=t.getComputedStyle(s,null)["overflow"+r];return"auto"===u||"scroll"===u}function isScrollable(t){var s=hasScrollableSpace(t,"Y")&&canOverflow(t,"Y"),r=hasScrollableSpace(t,"X")&&canOverflow(t,"X");return s||r}function step(s){var r,p,y,w=(v()-s.startTime)/u;r=function ease(t){return.5*(1-Math.cos(Math.PI*t))}(w=w>1?1:w),p=s.startX+(s.x-s.startX)*r,y=s.startY+(s.y-s.startY)*r,s.method.call(s.scrollable,p,y),p===s.x&&y===s.y||t.requestAnimationFrame(step.bind(t,s))}function smoothScroll(r,u,y){var w,x,E,S,C=v();r===s.body?(w=t,x=t.scrollX||t.pageXOffset,E=t.scrollY||t.pageYOffset,S=p.scroll):(w=r,x=r.scrollLeft,E=r.scrollTop,S=scrollElement),step({scrollable:w,method:S,startTime:C,startX:x,startY:E,x:u,y})}}}}},function(t){t.O(0,[321],(function(){return s=5873,t(t.s=s);var s}));t.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.