1(()=>{"use strict";var t={4480(){document.addEventListener("DOMContentLoaded",()=>{document.querySelectorAll("a.external, a.document").forEach(t=>{t.setAttribute("target","_blank");let e=t.getAttribute("title");if(null===e){const n=t.cloneNode(!0);if(n.querySelectorAll('[aria-hidden="true"]').forEach(t=>{t.remove()}),e=n.textContent.trim(),""===e){const n=t.querySelector("img");if(!n)return;e=n.getAttribute("alt")?n.getAttribute("alt").trim():""}}if(""!==e){if(t.classList.contains("external"))e+=" "+cmsCore.title_newwindow;else if(void 0!==t.dataset.file_ext){if(e+=" ("+t.dataset.file_ext,void 0!==t.dataset.file_weight){let n=Number.parseInt(t.dataset.file_weight,10);n=n<1e6?Math.round(n/Math.pow(2,10)*100)/100+" Ko":Math.round(n/Math.pow(2,20)*100)/100+" Mo",e+=` - ${n}`}e+=")"}t.setAttribute("title",e.replace(/\s+/g," "))}})})},9706(){document.addEventListener("DOMContentLoaded",()=>{const t=document.querySelectorAll(".js-captcha");if(0!==t.length)for(const e of t){const t=e.getAttribute("id"),n=e.parentElement?.querySelector(":scope .js-captcha-button");n.addEventListener("click",()=>{fetch("/include/ajax/ajax.captcha.php",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},body:new URLSearchParams({name:t}).toString()}).then(t=>{if(!t.ok)throw new Error(`HTTP ${t.status}`);return t.text()}).then(t=>{e.innerHTML=t}).catch(t=>{console.error("Le chargement du Captcha a échoué : ",t)})})}})},1394(t,e,n){var i=n(6e3);cmsCore={smallmobile:i.$W.breakpoints.xs,mobile:i.$W.breakpoints.sm,tablet:i.$W.breakpoints.md,desktop:i.$W.breakpoints.lg,tv:i.$W.breakpoints.xl,title_newwindow:cmsCore.title_newwindow?cmsCore.title_newwindow:"",SIT_IMAGE:cmsCore.SIT_IMAGE?cmsCore.SIT_IMAGE:"",postMaxSize:cmsCore.postMaxSize?cmsCore.postMaxSize:0}},1728(t,e,n){var i=n(6e3);document.addEventListener("DOMContentLoaded",()=>{document.querySelectorAll(".txt table:not(.tableNotResponsive), .partage table:not(.tableNotResponsive), .tpl table:not(.tableNotResponsive)").forEach(t=>{const e=document.createElement("div");e.classList.add("tableauContainer"),(0,i.LV)(t,e)})})},6216(t,e,n){var i=n(7876);document.addEventListener("DOMContentLoaded",()=>{(0,i.P)(),document.addEventListener("click",function(t){if(!t.target.matches(".confirm"))return;let e="Ãtes-vous sûr";return void 0!==t.target.getAttribute("title")&&""!==t.target.getAttribute("title")&&(e+=` de vouloir\n"${t.target.getAttribute("title")}"`),e+=" ?",confirm(e)});document.querySelectorAll("div[data-required-cb], span[data-required-cb]").forEach(t=>{const e=t.querySelectorAll('input[type="checkbox"]'),n=Number.parseInt(t.dataset.requiredCb,10);for(const t of e)t.addEventListener("change",()=>{Array.from(e).filter(t=>t.checked).length>=n?e.forEach(t=>{t.setCustomValidity(""),t.required=!1}):e.forEach(t=>{t.checked||t.setCustomValidity(`Veuillez cocher au moins ${n} option(s)`)})});Array.from(e).filter(t=>t.checked).length<n&&e.forEach(t=>{t.checked||(t.required=!0)})});document.querySelectorAll("textarea[data-maxchar], input[data-maxchar]").forEach(t=>{const e=`${t.id}_max`;t.setAttribute("aria-describedby",e);const n=document.createElement("p");function i(){const e=t.value.length,i=Number.parseInt(t.dataset.maxchar,10);n.innerHTML=`Nombre de caractères : ${e} / ${i}`,n.style.color=e>i?"red":""}n.className="o-form-control__comment",n.id=e,n.setAttribute("aria-live","polite"),t.after(n),t.addEventListener("keyup",i),i()})})},6031(){document.addEventListener("DOMContentLoaded",()=>{document.querySelectorAll('input[type="email"]').forEach(t=>{t.addEventListener("change",function(){this.validity.typeMismatch?(this.setCustomValidity("Saisie invalide, format attendu : [email protected]"),this.reportValidity()):this.setCustomValidity("")})}),document.querySelectorAll('input[type="url"]').forEach(t=>{t.addEventListener("change",function(){this.validity.typeMismatch?(this.setCustomValidity("Saisie invalide, format attendu : https://www.nomdedomaine.com"),this.reportValidity()):this.setCustomValidity("")})}),document.querySelectorAll("form").forEach(t=>{t.addEventListener("change",function(){let t=0,e=!1,n=!1;if(this.querySelectorAll('input[type="file"]').forEach(i=>
1{if(i.files.length>0){if(i.dataset.maxsize&&i.files[0].size>i.dataset.maxsize)return e=i,!1;const o=i.files[0].name.substring(i.files[0].name.lastIndexOf(".")).toLowerCase();if(i.getAttribute("accept")&&!i.getAttribute("accept").includes("*")&&!i.getAttribute("accept").split(", ").includes(o))return n=i,!1;t+=i.files[0].size}return!0}),e){let t=e.dataset.maxsize;return t=t<1e6?t/Math.pow(2,10)+" Ko":t/Math.pow(2,20)+" Mo",e.setCustomValidity(`La taille du fichier dépasse ${t}`),e.reportValidity(),!1}return n?(n.setCustomValidity(`Extension autorisée parmi "${n.getAttribute("accept")}"`),n.reportValidity(),!1):!(t>cmsCore.postMaxSize)||(alert(`La taille totale des fichiers dépasse ${cmsCore.postMaxSize/Math.pow(2,20)} Mo`),!1)})}),document.querySelectorAll('input[type="file"]').forEach(t=>{t.addEventListener("change",function(){this.setCustomValidity("")})})})},3283(t,e,n){var i=n(7317),o=n(5371);document.addEventListener("DOMContentLoaded",()=>{i.lX.bind("[data-fancybox]",o.d)})},6055(){document.addEventListener("DOMContentLoaded",()=>{document.querySelectorAll(".c-audio--multi").forEach(t=>{const e=t.querySelector("audio"),n=t.querySelector(".c-audio__playlist").querySelectorAll("li a");let i=0;n[0].classList.add("c-audio__track--active"),n.forEach((t,o)=>{t.addEventListener("click",function(t){for(t.preventDefault();e.firstChild;)e.firstChild.remove();const s=document.createElement("source");if(s.type=this.dataset.type,s.src=this.getAttribute("href"),e.appendChild(s),this.dataset.srcbis){const t=document.createElement("source");t.type=this.dataset.typebis,t.src=this.dataset.srcbis,e.appendChild(t)}n.forEach(t=>t.classList.remove("c-audio__track--active")),this.classList.add("c-audio__track--active"),i=o,e.load(),e.play(),e.focus()})}),e.addEventListener("ended",function(){i=i>=n.length-1?0:i+1,n[i].click()})})})},1171(t,e,n){var i=n(6e3);document.addEventListener("DOMContentLoaded",()=>{Array.from(document.querySelectorAll(".js-tooltip")).forEach(t=>{new i.m_(t).init()})})},7876(t,e,n){n.d(e,["P",0,()=>{const t=document.querySelectorAll("input[required], select[required], textarea[required]");for(const e of t)if(!e.matches("input[type=checkbox], input[type=radio]")){const t=e.closest("form");if(!t)return;const n=t.querySelector(`label[for="${e.id}"]`);if(!n||n.querySelector(".obligatoire"))continue;const i=document.createElement("span");i.className="obligatoire",i.innerHTML="*",n.appendChild(i)}const e=document.querySelectorAll('input[required][type="checkbox"], input[required][type="radio"], div[data-required-cb], span[data-required-cb]');for(const t of e){const e=t.closest("fieldset");if(!e)return;const n=e.querySelector("legend");if(!n||n.querySelector(".obligatoire"))continue;const i=document.createElement("span");i.className="obligatoire",i.innerHTML="*",n.appendChild(i)}}])},5371(t,e,n){var i=n(5289);const o=document.documentElement.lang?.toLowerCase().startsWith("fr"),s={Hash:!1,Thumbs:{showOnStart:!1},Carousel:{transition:"crossfade"},...o?{l10n:i.y}:{}};n.d(e,["d",0,s])},1742(t,e,n){var i=n(7178),o=n(148),s=n(88),r=n(8847);const a='<svg width="24" height="24" viewBox="0 0 24 24" tabindex="-1">',l="</svg>",c={prevTpl:a+'<path d="M15 3l-9 9 9 9"></path>'+l,nextTpl:a+'<path d="M9 3l9 9-9 9"></path>'+l};n.d(e,["T",0,()=>{let t,e,n;function a(e){const n=function(){const e=null==t?void 0:t.getOptions().Arrows;return(0,o.Q)(e)?Object.assign(Object.assign({},c),e):c}(),r=`<button data-carousel-go-${e} tabindex="0" class="f-button is-arrow is-${e}" title="{{${e.toUpperCase()}}}">`+n[`${e}Tpl`]+"</button>",a=(0,s.K)(t.localize(r))||void 0;return a&&(0,i.i)(a,n[`${e}Class`]),a}function l(){var i;null==e||e.remove(),e=void 0,null==n||n.remove(),n=void 0,null===(i=null==t?void 0:t.getContainer())||void 0===i||i.classList.remove("has-arrows")}function u(){t&&!1!==t.getOptions().Arrows&&t.getPages().length>1?(function(){if(!t)return;const i=t.getViewport();i&&(e||(e=a("prev"),e&&i.insertAdjacentElement("beforebegin",e)),n||(n=a("next"),n&&i.insertAdjacentElement("afterend",n)),(0,r.p)(t.getContainer(),"has-arrows",!0))}(),t&&(null==e||e.toggleAttribute("aria-disabled",!t.canGoPrev()),null==n||n.toggleAttribute("aria-disabled",!t.canGoNext()))):l()}return{init:function(e){t=e.on(["change","refresh"],u)},destroy:function(){l(),null==t||t.off(["change","refresh"],u),t=void 0}}}])},5761(t,e,n){var i=n(148),o=n(7178);const s={autoStart:!0,pauseOnHover:!0,showProgressbar:!0,timeout:2e3};n.d(e,["I",0,()=>{let t,e,n=!1,r=!1,a=!1,l=null;function c(e){const n=null==t?void 0:t.getOptions().Autoplay;let o=((0,i.Q)(n)?Object.assign(Object.assign({},s),n):s)[e];return o&&"function"==typeof o&&t?o(t):o}function u(){clearTimeout(e),e=void 0}function d(){if(!t||!n||a||r||e||!t.isSettled()||function(){var e;const n=(null===(e=null==t?void 0:t.getPage())||void 0===e?void 0:e.slides)||[];for(const t of n)if(0===t.state)return!0;return!1}())return;!function(){var e,n,i,s;if(!t)return;if(p(),!c("showProgressbar"))return;let r=c("progressbarParentEl");if(!r&&(null===(e=t.getPlugins().Toolbar)||void 0===e?void 0:e.isEnabled())&&(r=t.getContainer()),!r&&!0!==(null===(n=t.getPlugins().Toolbar)||void 0===n?void 0:n.isEnabled())){const e=(null===(i=t.getPages()[0])||void 0===i?void 0:i.slides)||[],n=(null===(s=t.getPage())||void 0===s?void 0:s.slides)||[];1===e.length&&1===n.length&&(r=n[0].el)}if(r||(r=t.getViewport()),!r)return;l=document.createElement("div"),(0,o.i)(l,"f-progressbar"),r.prepend(l);const a=c("timeout")||1e3;l.style.animationDuration=`${a}ms`}();const i=c("timeout");e=setTimeout(()=>{t&&n&&!r&&(t.isInfinite()||t.getPageIndex()!==t.getPages().length-1?t.next():t.goTo(0))},i)}function f(){var e;if(!t||t.getPages().length<2||!1===t.getOptions().Autoplay)return;if(n)return;n=!0,t.emit("autoplay:start",c("timeout")),(0,o.i)(t.getContainer(),"has-autoplay"),null===(e=t.getTween())||void 0===e||e.on("start",E);const i=null==t?void 0:t.getContainer();i&&c("pauseOnHover")&&matchMedia("(hover: hover)").matches&&(i.addEventListener("mouseenter",w,!1),i.addEventListener("mouseleave",x,!1)),t.on("change",y),t.on("settle",b),t.on("contentReady",v),t.on("panzoom:touchStart",h),t.on("panzoom:wheel",h),t.isSettled()&&d()}function h(){var e;
1if(u(),p(),t){if(n){t.emit("autoplay:end"),null===(e=t.getTween())||void 0===e||e.off("start",E);const n=t.getContainer();n&&(n.classList.remove("has-autoplay"),n.removeEventListener("mouseenter",w,!1),n.removeEventListener("mouseleave",x,!1))}t.off("change",y),t.off("settle",b),t.off("contentReady",v),t.off("panzoom:touchStart",h),t.off("panzoom:wheel",h)}n=!1,r=!1}function p(){l&&(l.remove(),l=null)}function g(){t&&t.getPages().length>1&&c("autoStart")&&f()}function v(){d()}function m(t,e){const n=e.target;n&&!e.defaultPrevented&&"toggle"===n.dataset.autoplayAction&&T.toggle()}function y(){!t||!(null==t?void 0:t.isInfinite())&&t.getPageIndex()===t.getPages().length-1?h():(u(),p())}function b(){d()}function E(){u(),p()}function w(){a=!0,n&&(u(),p())}function x(){a=!1,n&&!r&&(null==t?void 0:t.isSettled())&&d()}const T={init:function(e){t=e,t.on("ready",g),t.on("click",m)},destroy:function(){h(),null==t||t.off("ready",g),null==t||t.off("click",m),t=void 0},isEnabled:()=>n,pause:function(){r=!0,u(),p()},resume:function(){r=!1,n&&!a&&d()},start(){f()},stop(){h()},toggle(){n?h():f()}};return T}])},1097(t,e,n){var i=n(148);const o={autoStart:!1,btnTpl:'<button data-fullscreen-action="toggle" class="f-button" title="{{TOGGLE_FULLSCREEN}}"><svg><g><path d="M8 3H5a2 2 0 0 0-2 2v3M21 8V5a2 2 0 0 0-2-2h-3M3 16v3a2 2 0 0 0 2 2h3M16 21h3a2 2 0 0 0 2-2v-3"/></g><g><path d="M15 19v-2a2 2 0 0 1 2-2h2M15 5v2a2 2 0 0 0 2 2h2M5 15h2a2 2 0 0 1 2 2v2M5 9h2a2 2 0 0 0 2-2V5"/></g></svg></button>'},s="in-fullscreen-mode";n.d(e,["g",0,()=>{let t;function e(e){const n=null==t?void 0:t.getOptions().Fullscreen;let s=((0,i.Q)(n)?Object.assign(Object.assign({},o),n):o)[e];return s&&"function"==typeof s&&t?s(t):s}function n(){var n;null===(n=null==t?void 0:t.getPlugins().Toolbar)||void 0===n||n.add("fullscreen",{tpl:e("btnTpl")})}function r(){if(e("autoStart")){const t=l();t&&u(t)}}function a(t,e){const n=e.target;n&&!e.defaultPrevented&&"toggle"===n.dataset.fullscreenAction&&f()}function l(){return e("el")||(null==t?void 0:t.getContainer())||void 0}function c(){const t=document;return t.fullscreenEnabled?!!t.fullscreenElement:!!t.webkitFullscreenEnabled&&!!t.webkitFullscreenElement}function u(t){const e=document;let n;return t||(t=e.documentElement),e.fullscreenEnabled?n=t.requestFullscreen():e.webkitFullscreenEnabled&&(n=t.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT)),n&&n.then(()=>{t.classList.add(s)}),n}function d(){const t=document;let e;return t.fullscreenEnabled?e=t.fullscreenElement&&t.exitFullscreen():t.webkitFullscreenEnabled&&(e=t.webkitFullscreenElement&&t.webkitExitFullscreen()),e&&e.then(()=>{var t;null===(t=l())||void 0===t||t.classList.remove(s)}),e}function f(){if(c())d();else{const t=l();t&&u(t)}}return{init:function(e){t=e,t.on("initPlugins",n),t.on("ready",r),t.on("click",a)},destroy:function(){null==t||t.off("initPlugins",n),null==t||t.off("ready",r),null==t||t.off("click",a)},exit:d,inFullscreen:c,request:u,toggle:f}}])},5101(t,e,n){var i=n(148),o=n(4590),s=n(2483),r=n(7178),a=n(6579);const l={autosize:!1,iframeAttr:{allow:"autoplay; fullscreen",scrolling:"auto"},preload:!1};n.d(e,["E",0,()=>{let t;function e(){const e=null==t?void 0:t.getOptions().Html;return(0,i.Q)(e)?(0,s.X)({},l,e):l}function n(){return!1!==(null==t?void 0:t.getOptions().Html)}function c(t){return"iframe"===t.type||"pdf"===t.type||"gmap"===t.type}function u(t){const e=`${t}`;return e.match(/^\d+$/)?`${e}px`:e}function d(t){if(void 0===t||""===t)return;const e=`${t}`.trim();if(!e.match(/^\d+(\.\d+)?(px)?$/))return;const n=parseFloat(e);return Number.isFinite(n)?n:void 0}function f(t,n){var i;const o=null!==(i=t[n])&&void 0!==i?i:e()[n];return"true"===o||"false"!==o&&o}function h(t,e){if(!n())return;let i=e.type,s=e.src;if(!i&&(0,o.K)(s)){if("#"===s.charAt(0)?i="inline":s.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.((a)?png|avif|gif|jp(g|eg)|pjp(eg)?|jfif|svg|webp|bmp|ico|tif(f)?)((\?|#).*)?$)/i)?i="image":s.match(/\.(pdf)((\?|#).*)?$/i)?i="pdf":s.match(/\.(html|php)((\?|#).*)?$/i)&&(i="iframe"),!i){const t=s.match(/(?:maps\.)?google\.([a-z]{2,3}(?:\.[a-z]{2})?)\/(?:(?:(?:maps\/(?:place\/(?:.*)\/)?\@(.*),(\d+\.?\d+?)z))|(?:\?ll=))(.*)?/i);t&&(s=`https://maps.google.${t[1]}/?ll=${(t[2]?t[2]+"&z="+Math.floor(parseFloat(t[3]))+(t[4]?t[4].replace(/^\//,"&"):""):t[4]+"").replace(/\?/,"&")}&output=${t[4]&&t[4].indexOf("layer=c")>0?"svembed":"embed"}`,i="gmap")}if(!i){const t=s.match(/(?:maps\.)?google\.([a-z]{2,3}(?:\.[a-z]{2})?)\/(?:maps\/search\/)(.*)/i);t&&(s=`https://maps.google.${t[1]}/maps?q=${t[2].replace("query=","q=").replace("api=1","")}&output=embed`,i="gmap")}i&&(e.src=s,e.type=i)}}function p(i,o){n()&&c(o)&&function(n){const i=n.el,o=n.src;if(!t||!i||!o)return;const s=document.createElement("iframe");(0,r.i)(s,"f-iframe");for(const[t,n]of Object.entries(e().iframeAttr||{}))s.setAttribute(t,n);s.onerror=()=>{n.state=2,null==t||t.showError(n,"{{IFRAME_ERROR}}")};const l=document.createElement("div");(0,r.i)(l,"f-html"),l.append(s),n.htmlEl=l,n.contentEl=s,(0,r.i)(i,`has-html has-iframe has-${n.type}`),i.prepend(l),m(n);const c=f(n,"preload"),u=f(n,"autosize");"iframe"===n.type&&(c||u)?(n.state=0,t.showLoading(n),(0,r.i)(i,"is-loading"),s.onload=()=>
1{if(!t||2===t.getState()||!s.src.length||n.contentEl!==s||!s.isConnected)return;n.state=1;const e="true"!==s.dataset.ready;s.dataset.ready="true",y(n),t.hideLoading(n),e&&t.emit("contentReady",n),(0,a.v)(i,"is-loading")},s.src=`${o}`):(s.src=`${o}`,t.emit("contentReady",n))}(o)}function g(e,n){var i,o;if(c(n)){const e=n.el;null==t||t.hideError(n),null===(i=n.contentEl)||void 0===i||i.remove(),n.contentEl=void 0,null===(o=n.htmlEl)||void 0===o||o.remove(),n.htmlEl=void 0,e&&((0,a.v)(e,"has-html has-iframe has-pdf has-gmap"),(0,a.v)(e,"is-loading"))}}function v(){for(const e of(null==t?void 0:t.getSlides())||[])c(e)&&(m(e),1===e.state&&y(e))}function m(t){const e=t.htmlEl;if(e&&c(t)&&(e.style.aspectRatio="",e.style.width="",e.style.height="",e.style.maxWidth="",e.style.maxHeight="",t.width&&(e.style.maxWidth=u(t.width)),t.height&&(e.style.maxHeight=u(t.height)),t.aspectRatio)){const n=t.aspectRatio.split("/"),i=parseFloat(n[0].trim()),o=n[1]?parseFloat(n[1].trim()):0,s=i&&o?i/o:i;e.offsetHeight;const r=e.getBoundingClientRect(),a=s<(r.width||1)/(r.height||1);e.style.aspectRatio=`${t.aspectRatio}`,e.style.width=a?"auto":"",e.style.height=a?"":"auto"}}function y(t){const e=t.contentEl,n=null==e?void 0:e.parentElement,i=null==n?void 0:n.style;let o=f(t,"autosize"),s=d(t.width)||0,r=d(t.height)||0;if(s&&r&&(o=!1),e&&n&&i&&o){try{const t=window.getComputedStyle(n),o=parseFloat(t.paddingLeft)+parseFloat(t.paddingRight),a=parseFloat(t.paddingTop)+parseFloat(t.paddingBottom),l=e.contentWindow;if(l){const t=l.document,e=t.getElementsByTagName("html")[0],n=t.body;i.width="";const c=window.getComputedStyle(n),u=parseFloat(c.marginLeft)+parseFloat(c.marginRight),d=n.style.overflow||"";n.style.overflow="hidden",s=s||n.scrollWidth+u+o,i.flex="0 0 auto",i.width=`${s}px`,i.height=`${n.scrollHeight}px`,n.style.overflow=d,r=Math.max(e.scrollHeight,Math.ceil(e.getBoundingClientRect().height))+a}}catch(t){}(s||r)&&Object.assign(i,{flex:"0 1 auto",width:s?`${s}px`:"",height:r?`${r}px`:""})}}return{init:function(e){t=e,t.on("addSlide",h),t.on("attachSlideEl",p),t.on("detachSlideEl",g),t.on("refresh",v)},destroy:function(){null==t||t.off("addSlide",h),null==t||t.off("attachSlideEl",p),null==t||t.off("detachSlideEl",g),null==t||t.off("refresh",v),t=void 0}}}])},2704(t,e,n){var i=n(148),o=n(7135),s=n(4590),r=n(1186),a=n(665),l=n(2483),c=n(2677),u=n(88),d=n(7424),f=n(7178),h=n(6579),p=n(8847),g=n(6501),v=n(804),m=n(515);const y=t=>{t.cancelable&&t.preventDefault()},b={adaptiveHeight:!1,center:!0,classes:{container:"f-carousel",isEnabled:"is-enabled",isLTR:"is-ltr",isRTL:"is-rtl",isHorizontal:"is-horizontal",isVertical:"is-vertical",hasAdaptiveHeight:"has-adaptive-height",viewport:"f-carousel__viewport",slide:"f-carousel__slide",isSelected:"is-selected"},dragFree:!1,enabled:!0,errorTpl:'<div class="f-html">{{ERROR}}</div>',fill:!0,infinite:!0,initialPage:0,l10n:m.c,rtl:!1,slides:[],slidesPerPage:"auto",spinnerTpl:'<div class="f-spinner"></div>',transition:"fade",tween:{clamp:!0,mass:1,tension:160,friction:25,restDelta:1,restSpeed:1,velocity:0},vertical:!1};let E,w,x=0;const T=(t,e={},n={})=>{x++;let m,O,L,S,M,A=0,C=Object.assign({},b),k=Object.assign({},b),P={},R=null,j=null,F=0,I=0,_=0,D=!1,z=!1,B=!1,q="height",N=0,$=!0,H=0,V=0,G=0,W=0,K="*",X=[],Z=[];const U=new Set;let Y=[],Q=[],J=0,tt=0,et=0;function nt(t,...e){let n=k[t];return n&&n instanceof Function?n(Bt,...e):n}function it(t,e=[]){const n=nt("l10n")||{};t=String(t).replace(/\{\{(\w+)\}\}/g,(t,e)=>n[e]||t);for(let n=0;n<e.length;n++)t=t.split(e[n][0]).join(e[n][1]);return t.replace(/\{\{(.*?)\}\}/g,(t,e)=>e)}const ot=new Map;function st(t,...e){const n=[...ot.get(t)||[]];k.on&&n.push(k.on[t]);for(const t of n)t&&t instanceof Function&&t(Bt,...e);"click"===t&&Ct(e[0]),"*"!==t&&st("*",t,...e)}function rt(){var t,e;const o=(0,l.X)({},b,C);let s="";const r=C.breakpoints||{};for(const[t,e]of Object.entries(r))window.matchMedia(t).matches&&(s+=t,(0,l.X)(o,e));if(void 0===M||s!==M){if(M=s,0!==A){let n=null===(e=null===(t=Q[H])||void 0===t?void 0:t.slides[0])||void 0===e?void 0:e.index;void 0===n&&(n=k.initialSlide),o.initialSlide=n,o.slides=[];for(const t of X)t.isVirtual&&o.slides.push(t)}_t(),k=o,!1!==nt("enabled")&&(A=0,st("init"),function(){for(const[t,e]of Object.entries(Object.assign(Object.assign({},n),k.plugins||{})))if(t&&!P[t]&&e instanceof Function){const n=e();n.init(Bt,T),P[t]=n}st("initPlugins")}(),function(){if(!R)return;const t=nt("classes")||{};(0,f.i)(R,t.container);const e=nt("style");if(e&&(0,i.Q)(e))for(const[t,n]of Object.entries(e))R.style.setProperty(t,n);j=Array.from(R.querySelectorAll(`.${t.viewport}`)).filter(e=>e.closest(`.${t.container}`)===R).pop()||null,j||(j=document.createElement("div"),(0,f.i)(j,t.viewport),j.append(...(0,a.d)(R,`.${t.slide}`)),R.insertAdjacentElement("afterbegin",j)),R.carousel=Bt,st("initLayout")}(),function(){if(!j)return;const t=nt("classes")||{};X=[],[...(0,a.d)(j,`.${t.slide}
1`)].forEach(t=>{if(t.parentElement){const e=bt(Object.assign({el:t,isVirtual:!1},t.dataset||{}));st("createSlide",e),X.push(e)}}),Tt();for(const t of X)st("addSlide",t);yt(nt("slides"));for(const t of X){const e=t.el;(null==e?void 0:e.parentElement)===j&&((0,f.i)(e,k.classes.slide),(0,f.i)(e,t.class),Rt(t),st("attachSlideEl",t))}st("initSlides")}(),Ot(),A=1,(0,f.i)(R,(nt("classes")||{}).isEnabled||""),It(),dt(),O=(0,g.K)().on("start",()=>{m&&m.isPointerDown()||(ut(),It())}).on("step",t=>{const e=N;N=t.pos,N!==e&&($=!1,It())}).on("end",t=>{(null==m?void 0:m.isPointerDown())||(N=t.pos,O&&!D&&(N<G||N>W)?O.spring({clamp:!0,mass:1,tension:200,friction:25,velocity:0,restDelta:1,restSpeed:1}).from({pos:N}).to({pos:(0,d.q)(G,N,W)}).start():$||($=!0,st("settle")))}),lt(),function(){if(!R||!j)return;R.addEventListener("click",At),document.addEventListener("mousemove",at),w||(w=function(t){var e,n;const i=null===(n=null===(e=t.target)||void 0===e?void 0:e.dataset)||void 0===n?void 0:n.carouselTarget;if(i){const e=document.getElementById(`${i.split("#").pop()}`),n=null==e?void 0:e.carousel;null==n||n.emit("click",t)}},document.addEventListener("click",w));const t=j.getBoundingClientRect();if(J=t.height,tt=t.width,!L){let t=null;L=new ResizeObserver(()=>{t||(t=requestAnimationFrame(()=>{!function(){if(1!==A||!j)return;const t=Q.length,e=j.getBoundingClientRect(),n=e.height,i=e.width;t>1&&(B&&Math.abs(n-J)<.5||!B&&Math.abs(i-tt)<.5)||(Ot(),lt(),J=n,tt=i,B&&!J||!B&&!tt||R&&j&&(t===Q.length&&(null==m?void 0:m.isPointerDown())||(nt("dragFree")&&(D||N>G&&N<W)?(ut(),It()):jt(H,{transition:!1}))))}(),t=null}))}),L.observe(j)}}(),st("ready"))}}function at(t){E=t}function lt(){!1===nt("gestures")?m&&(m.destroy(),m=void 0):m||function(){const t=nt("gestures");!m&&!1!==t&&j&&(m=(0,v.v3)(j,t).on("start",t=>{var e,n;if(!O)return;if(!1===nt("gestures",t))return;const{srcEvent:i}=t;B&&(0,v.kH)(i)&&!(0,r.U)(i.target)&&y(i),O.pause(),O.getCurrentVelocities().pos=0;const o=null===(e=Q[H])||void 0===e?void 0:e.slides[0],s=null==o?void 0:o.el;o&&U.has(o.index)&&s&&(N=o.offset||0,N+=(function(t){const e=window.getComputedStyle(t),n=new DOMMatrixReadOnly(e.transform);return{width:n.m41||0,height:n.m42||0}}(s)[q]||0)*(z&&!B?1:-1)),St(),D||(N<G||N>W)&&O.spring({clamp:!0,mass:1,tension:500,friction:25,velocity:(null===(n=O.getCurrentVelocities())||void 0===n?void 0:n.pos)||0,restDelta:1,restSpeed:1}).from({pos:N}).to({pos:(0,d.q)(G,N,W)}).start()}).on("move",t=>{var e,n;if(!1===nt("gestures",t))return;const{srcEvent:i,axis:o,deltaX:s,deltaY:a}=t;if((0,v.kH)(i)&&(null===(e=i.touches)||void 0===e?void 0:e.length)>1)return;const l=i.target,c=(0,r.U)(l),u=c?c.scrollHeight>c.clientHeight?"y":"x":void 0;if(c&&c!==j&&(!o||o===u))return;if(!o)return y(i),i.stopPropagation(),void i.stopImmediatePropagation();if("y"===o&&!B||"x"===o&&B)return;if(y(i),i.stopPropagation(),!O)return;const d=z&&!B?1:-1,f=B?a:s;let h=(null==O?void 0:O.isRunning())?O.getEndValues().pos:N,p=1;D||(h<=G&&f*d<0?(p=Math.max(.01,1-(Math.abs(1/gt()*Math.abs(h-G))||0)),p*=.2):h>=W&&f*d>0&&(p=Math.max(.01,1-(Math.abs(1/gt()*Math.abs(h-W))||0)),p*=.2)),h+=f*p*d,O.spring({clamp:!0,mass:1,tension:700,friction:25,velocity:(null===(n=O.getCurrentVelocities())||void 0===n?void 0:n.pos)||0,restDelta:1,restSpeed:1}).from({pos:N}).to({pos:h}).start()}).on("panstart",t=>{!1!==nt("gestures",t)&&(null==t?void 0:t.axis)===(B?"y":"x")&&(0,f.i)(j,"is-dragging")}).on("panend",t=>{!1!==nt("gestures",t)&&(0,h.v)(j,"is-dragging")}).on("end",t=>{var e,n;if(!1===nt("gestures",t))return;const{srcEvent:i,axis:o,velocityX:s,velocityY:a,currentTouch:l}=t;if(l.length>0||!O)return;const c=i.target,u=(0,r.U)(c),f=u?u.scrollHeight>u.clientHeight?"y":"x":void 0,h=u&&(!o||o===f);B&&(0,v.kH)(i)&&!o&&At(i);const p=Q.length,g=nt("dragFree");if(!p)return;let m=h?0:nt("vertical")?a:s;o!==(B?"y":"x")&&(m=0);let y=(null==O?void 0:O.isRunning())?O.getEndValues().pos:N;const b=z&&!B?1:-1;if(h||(y+=m*(g?5:1)*b),!D&&(m*b<=0&&y<G||m*b>=0&&y>W)){let t=0;return Math.abs(m)>0&&(t=2*Math.abs(m),t=Math.min(.3*gt(),t)),y=(0,d.q)(G+-1*t,y,W+t),void O.spring({clamp:!0,mass:1,tension:380,friction:25,velocity:-1*m,restDelta:1,restSpeed:1}).from({pos:N}).to({pos:y}).start()}if(g||(null===(e=P.Autoscroll)||void 0===e?void 0:e.isEnabled()))return void(Math.abs(m)>10?O.spring({clamp:!0,mass:1,tension:150,friction:25,velocity:-1*m,restDelta:1,restSpeed:1}).from({pos:N}).to({pos:y}).start():O.isRunning()||$||($=!0,st("settle")));if(!g&&!(null===(n=P.Autoscroll)||void 0===n?void 0:n.isEnabled())&&(!t.offsetX&&!t.offsetY||"y"===o&&!B||"x"===o&&B))return void jt(H,{transition:"tween"});let E=ht(y);Math.abs(m)>10&&E===H&&(E+=m>0?z&&!B?1:-1:z&&!B?-1:1),jt(E,{transition:"tween",tween:{velocity:-1*m}}
1)}).init())}(),(0,p.p)(j,"is-draggable",!!m&&Q.length>0)}function ct(t="*"){var e;const n=[];for(const i of X)("*"===t||i.class&&i.class.includes(t)||i.el&&(null===(e=i.el)||void 0===e?void 0:e.classList.contains(t)))&&n.push(i);S=void 0,K=t,Z=[...n]}function ut(){if(!O)return;const t=ht((null==O?void 0:O.isRunning())?O.getEndValues().pos:N);t!==H&&(S=H,H=t,Rt(),dt(),ft(),st("change",H,S))}function dt(){var t,e;if(!R)return;for(const t of R.querySelectorAll("[data-carousel-index]"))t.innerHTML=H+"";for(const t of R.querySelectorAll("[data-carousel-page]"))t.innerHTML=H+1+"";for(const t of R.querySelectorAll("[data-carousel-pages]"))t.innerHTML=Q.length+"";const n=nt("classes")||{},i=Array.from(R.querySelectorAll("[data-carousel-go-to]")).filter(t=>t.closest(`.${n.container}`)===R);for(const e of i)parseInt((null===(t=e.dataset)||void 0===t?void 0:t.carouselGoTo)||"-1",10)===H?e.setAttribute("aria-current","true"):e.removeAttribute("aria-current");for(const t of R.querySelectorAll("[data-carousel-go-prev]"))t.toggleAttribute("aria-disabled",!Dt()),Dt()?t.removeAttribute("tabindex"):t.setAttribute("tabindex","-1");for(const t of R.querySelectorAll("[data-carousel-go-next]"))t.toggleAttribute("aria-disabled",!zt()),zt()?t.removeAttribute("tabindex"):t.setAttribute("tabindex","-1");let o=!1;const s=null===(e=Q[H])||void 0===e?void 0:e.slides[0];s&&(s.downloadSrc||"image"===s.type&&s.src)&&(o=!0);for(const t of R.querySelectorAll("[data-carousel-download]"))t.toggleAttribute("aria-disabled",!o)}function ft(t){var e;t||(t=null===(e=Q[H])||void 0===e?void 0:e.slides[0]);const n=null==t?void 0:t.el;if(n)for(const e of n.querySelectorAll("[data-slide-index]"))e.innerHTML=t.index+1+""}function ht(t){var e,n,i;if(!Q.length)return 0;const o=vt();let s=t;D?s-=Math.floor((t-(null===(e=Q[0])||void 0===e?void 0:e.pos))/o)*o||0:s=(0,d.q)(null===(n=Q[0])||void 0===n?void 0:n.pos,t,null===(i=Q[Q.length-1])||void 0===i?void 0:i.pos);const r=new Map;let a=0;for(const t of Q){const e=Math.abs(t.pos-s),n=Math.abs(t.pos-s-o),i=Math.abs(t.pos-s+o),l=Math.min(e,n,i);r.set(a,l),a++}const l=r.size>0?[...r.entries()].reduce((t,e)=>e[1]<t[1]?e:t):[H,0];return parseInt(l[0])}function pt(){return et}function gt(){return F}function vt(t=!0){return Z.length?Z.reduce((t,e)=>t+e.dim,0)+(Z.length-(D&&t?0:1))*et:0}function mt(t){const e=vt(),n=gt();if(!e||!j||!n)return[];const i=[];t=void 0===t?N:t,D&&(t-=Math.floor(t/e)*e||0);let o=0;for(let s of Z){const r=(e=0)=>{i.indexOf(s)>-1||(s.pos=o-t+e||0,s.offset+e>t-s.dim-I+.51&&s.offset+e<t+n+_-.51&&i.push(s))};s.offset=o,D&&(r(e),r(-1*e)),r(),o+=s.dim+et}return i}function yt(t,e){const n=[];for(const e of Array.isArray(t)?t:[t]){const t=bt(Object.assign(Object.assign({},e),{isVirtual:!0}));t.el||(t.el=document.createElement("div")),st("createSlide",t),n.push(t)}X.splice(void 0===e?X.length:e,0,...n),Tt();for(const t of n)st("addSlide",t),Et(t);return ct(K),n}function bt(t){return((0,s.K)(t)||t instanceof HTMLElement)&&(t={html:t}),Object.assign({index:-1,el:void 0,class:"",isVirtual:!0,dim:0,pos:0,offset:0,html:"",src:""},t)}function Et(t){let e=t.el;if(!t||!e)return;const n=t.html?t.html instanceof HTMLElement?t.html:(0,u.K)(t.html):void 0;n&&((0,f.i)(n,"f-html"),t.htmlEl=n,(0,f.i)(e,"has-html"),e.append(n),st("contentReady",t))}function wt(t){if(!j||!t)return;let e=t.el;if(e){if(e.setAttribute("index",t.index+""),e.parentElement!==j){let n;(0,f.i)(e,k.classes.slide),(0,f.i)(e,t.class),Rt(t);for(const e of X)if(e.index>t.index){n=e.el;break}j.insertBefore(e,n&&j.contains(n)?n:null),st("attachSlideEl",t)}return ft(t),e}}function xt(t){const e=null==t?void 0:t.el;e&&(e.remove(),Lt(e),st("detachSlideEl",t))}function Tt(){for(let t=0;t<X.length;t++){const e=X[t],n=e.el;n&&(e.index!==t&&Lt(n),n.setAttribute("index",`${t}`)),e.index=t}}function Ot(){var t,e,n,i,s;if(!R||!j)return;z=nt("rtl"),B=nt("vertical"),q=B?"height":"width";const r=nt("classes");if((0,p.p)(R,r.isLTR,!z),(0,p.p)(R,r.isRTL,z),(0,p.p)(R,r.isHorizontal,!B),(0,p.p)(R,r.isVertical,B),(0,p.p)(R,r.hasAdaptiveHeight,nt("adaptiveHeight")),F=0,I=0,_=0,et=0,j){j.childElementCount||(j.style.display="grid");const t=j.getBoundingClientRect();F=j.getBoundingClientRect()[q]||0;const e=window.getComputedStyle(j);et=parseFloat(e.getPropertyValue("--f-carousel-gap"))||0,"visible"===e.getPropertyValue("overflow-"+(B?"y":"x"))&&(I=Math.abs(t[B?"top":"left"]),_=Math.abs(window[B?"innerHe
1ight":"innerWidth"]-t[B?"bottom":"right"])),j.style.display=""}if(!F)return;const a=function(){let t=0;if(j){let e=document.createElement("div");e.style.display="block",(0,f.i)(e,k.classes.slide),j.appendChild(e),t=e.getBoundingClientRect()[q],e.remove(),e=void 0}return t}();for(const e of Z){const n=e.el;let i=0;if(!e.isVirtual&&n&&(0,o.L)(n)){let e=!1;n.parentElement&&n.parentElement===j||(j.appendChild(n),e=!0),i=n.getBoundingClientRect()[q],e&&(null===(t=n.parentElement)||void 0===t||t.removeChild(n))}else i=a;e.dim=i}if(D=!1,nt("infinite")){D=!0;const t=vt();let n=F+I+_;for(let i=0;i<Z.length;i++){const o=(null===(e=Z[i])||void 0===e?void 0:e.dim)+et;if(t-o<n&&t-o-n<o){D=!1;break}}}!function(){var t;if(!R)return;const e=gt(),n=vt(!1);let i=nt("slidesPerPage");i="auto"===i?1/0:parseFloat(i+""),Q=[];let o=0,s=0;for(const n of Z)(!Q.length||o+n.dim-e>.05||s>=i)&&(Q.push({index:Q.length,slides:[],dim:0,offset:0,pos:0}),o=0,s=0),null===(t=Q[Q.length-1])||void 0===t||t.slides.push(n),o+=n.dim+et,s++;const r=nt("center"),a=nt("fill");let l=0;for(const t of Q){t.dim=(t.slides.length-1)*et;for(const e of t.slides)t.dim+=e.dim;t.offset=l,t.pos=l,!1!==r&&(t.pos-=.5*(e-t.dim)),a&&!D&&n>e&&(t.pos=(0,d.q)(0,t.pos,n-e)),l+=t.dim+et}const c=[];let u;for(const t of Q){const e=Object.assign({},t);u&&Math.abs(e.pos-u.pos)<.1?(u.dim+=e.dim,u.slides=[...u.slides,...e.slides]):(u=e,e.index=c.length,c.push(e))}Q=c,H=(0,d.q)(0,H,Q.length-1)}(),G=(null===(n=Q[0])||void 0===n?void 0:n.pos)||0,W=(null===(i=Q[Q.length-1])||void 0===i?void 0:i.pos)||0,0===A?function(){var t;S=void 0,H=nt("initialPage");const e=nt("initialSlide")||void 0;void 0!==e&&(H=Bt.getPageIndex(e)||0),H=(0,d.q)(0,H,Q.length-1),N=(null===(t=Q[H])||void 0===t?void 0:t.pos)||0,V=N}():V=(null===(s=Q[H||0])||void 0===s?void 0:s.pos)||0,st("refresh"),dt()}function Lt(t){if(!t||!(0,o.L)(t))return;const e=parseInt(t.getAttribute("index")||"-1");let n="";for(const e of Array.from(t.classList)){const t=e.match(/^f-(\w+)(Out|In)$/);t&&t[1]&&(n=t[1]+"")}if(!t||!n)return;const i=[`f-${n}Out`,`f-${n}In`,"to-prev","to-next","from-prev","from-next"];t.removeEventListener("animationend",Mt),(0,h.v)(t,i.join(" ")),U.delete(e)}function St(){if(!j)return;const t=U.size>0;for(const t of Z)Lt(t.el);U.clear(),t&&It()}function Mt(t){var e;"f-"===(null===(e=t.animationName)||void 0===e?void 0:e.substring(0,2))&&(Lt(t.target),U.size||((0,h.v)(R,"in-transition"),!$&&Math.abs(Bt.getPosition(!0)-V)<.5&&($=!0,st("settle"))),It())}function At(t){Ct(t),st("click",t)}function Ct(t){var e;if(t.defaultPrevented)return;const n=t.composedPath()[0];if(n.closest("[data-carousel-go-prev]"))return y(t),void Bt.prev();if(n.closest("[data-carousel-go-next]"))return y(t),void Bt.next();const i=n.closest("[data-carousel-go-to]");if(i)return y(t),void Bt.goTo(parseFloat(i.dataset.carouselGoTo||"")||0);if(n.closest("[data-carousel-download]")){y(t);const n=null===(e=Q[H])||void 0===e?void 0:e.slides[0];if(n&&(n.downloadSrc||"image"===n.type&&n.src)){const t=n.downloadFilename,e=document.createElement("a"),i=n.downloadSrc||n.src||"";e.href=i,e.target="_blank",e.download=t||i,e.click()}return}}function kt(t){var e;const n=t.el;n&&(null===(e=n.querySelector(".f-spinner"))||void 0===e||e.remove())}function Pt(t){var e;const n=t.el;n&&(null===(e=n.querySelector(".f-html.is-error"))||void 0===e||e.remove(),(0,h.v)(n,"has-error"))}function Rt(t){var e;t||(t=null===(e=Q[H])||void 0===e?void 0:e.slides[0]);const n=null==t?void 0:t.el;if(!n)return;let i=nt("formatCaption",t);void 0===i&&(i=t.caption),i=i||"";const o=nt("captionEl");if(o&&o instanceof HTMLElement){if(t.index!==H)return;if((0,s.K)(i)&&(o.innerHTML=it(i+"")),i instanceof HTMLElement){if(i.parentElement===o)return;o.innerHTML="",i.parentElement&&(i=i.cloneNode(!0)),o.append(i)}return}if(!i)return;let r=t.captionEl||n.querySelector(".f-caption");!r&&i instanceof HTMLElement&&i.classList.contains("f-caption")&&(r=i),r||(r=document.createElement("div"),(0,f.i)(r,"f-caption"),(0,s.K)(i)?r.innerHTML=it(i+""):i instanceof HTMLElement&&(i.parentElement&&(i=i.cloneNode(!0)),r.append(i)));const a=`f-caption-${x}_${t.index}`;r.setAttribute("id",a),r.dataset.selectable="true",(0,f.i)(n,"has-caption"),n.setAttribute("aria-labelledby",a),t.captionEl=r,n.insertAdjacentElement("beforeend",r)}function jt(t,e={}){var n,o;let{transition:r,tween:a}=Object.assign({transition:k.transition,tween:k.tween},e||{});if(!R||!O)return;const c=Q.length;if(!c)return;if(function(t,e){var n,i,o;if(!(R&&F&&O&&e&&(0,s.K)(e)&&"tween"!==e))return!1;for(const t of Y)if(F-t.dim>.5)return!1;if(I>.5||_>.5)return;const r=Q.length;let a=t>H?1:-1;t=D?(t%r+r)%r:(0,d.q)(0,t,r-1),z&&(a*=-1);const l=null===(n=Q[H])||void 0===n?void 0:n.slides[0],c=null==l?void 0:l.index,u=null===(i=Q[t])||void 0===i?void 0:i.slides[0],p=null==u?void 0:u.index,g=null===(o=Q[t])||void 0===o?void 0:o.pos;if(void 0===p||void 0===c||c===p||N===g||Math.abs(F-((null==u?void 0:u.dim)||0))>1)return!1;$=!1,O.pause(),St(),(0,f.i)(R,"in-transition"),N=V=g;const v=wt(l),m=wt(u);return ut(),v&&(U.add(c),v.style.transform="",v.addEventListener("animationend",Mt),(0,h.v)(v,k.classes.isSelected),v.inert=!1,(0,f.i)(v,`f-${e}Out to-${a>0?"next":"prev"}`)),m&&(U.add(p),m.style.transform="",m.addEventListener("animationend",Mt),(0,f.i)(m,k.classes.isSelected),m.inert=!1,(0,f.i)(m,`f-${e}In from-${a>0?"prev":"next"}`)),It(),!0}(t,r))return;t=D?(t%c+c)%c:(0,d.q)(0,t,c-1);const u=(null===(n=Q[t||0])||void 0===n?void 0:n.pos)||0;V=u;const p=O.isRunning()?O.getEndValues().pos:N;if(Math.abs(V-p)<1)return N=V,H!==t&&(Rt(),S=H,H=t,dt(),ft(),st("change",H,S)),It(),void($||($=!0,st("settle")));if(O.pause(),St(),D){const t=vt(),e=Math.floor((p-(null===(o=Q[0])||void 0===o?void 0:o.pos))/t)||0,n=V+e*t;V=[n+t,n,n-t].reduce(function(t,e){return Math.abs(e-p)<Math.abs(t-p)?e:t})}!1!==r&&(0,i.Q)(a)?O.spring((0,l.X)({},k.tween,a)).from({pos:N}).to({pos:V}).start():(N=V,ut(),It(),$||($=!0,st("settle")))}function Ft(t){var e;let n=N;if(D&&!0!==t){const t=vt();n-=(Math.floor((N-(null===(e=Q[0])||void 0===e?void 0:e.pos)||0)/t)||0)*t}return n}function It(){var t;
1if(!R||!j)return;Y=mt();const e=new Set,n=[],i=Q[H],o=k.setTransform;let s;for(const o of Z){const r=U.has(o.index),a=Y.indexOf(o)>-1,l=(null===(t=null==i?void 0:i.slides)||void 0===t?void 0:t.indexOf(o))>-1;if(o.isVirtual&&!r&&!a)continue;let c=wt(o);if(c&&(n.push(o),l&&e.add(c),nt("adaptiveHeight")&&l)){const t=(c.lastElementChild||c).getBoundingClientRect().height;s=null==s?t:Math.max(s,t)}}j&&s&&(j.style.height=`${s}px`),[...(0,a.d)(j,`.${k.classes.slide}`)].forEach(t=>{(0,p.p)(t,k.classes.isSelected,e.has(t));const n=X[parseInt(t.getAttribute("index")||"-1")];if(!n)return t.remove(),void Lt(t);const i=U.has(n.index),s=Y.indexOf(n)>-1;if(n.isVirtual&&!i&&!s)return void xt(n);if(t.inert=!s,!1===o)return;let r=n.pos?Math.round(1e4*n.pos)/1e4:0,a=0,l=0,u=0,d=0;i||(a=B?0:z?-1*r:r,l=B?r:0,u=(0,c.T)(a,0,n.dim,0,100),d=(0,c.T)(l,0,n.dim,0,100)),o instanceof Function&&!i?o(Bt,n,{x:a,y:l,xPercent:u,yPercent:d}):t.style.transform=a||l?`translate3d(${u}%, ${d}%,0)`:""}),st("render",n)}function _t(){null==R||R.removeEventListener("click",At),document.removeEventListener("mousemove",at),U.clear(),null==L||L.disconnect(),L=void 0;for(const t of X){let e=t.el;e&&(0,o.L)(e)&&(t.state=void 0,kt(t),Pt(t),t.isVirtual?(xt(t),t.el=void 0):(Lt(e),e.style.transform="",j&&!j.contains(e)&&j.appendChild(e)))}for(const t of Object.values(P))null==t||t.destroy();P={},null==m||m.destroy(),m=void 0,null==O||O.destroy(),O=void 0;for(const[t,e]of Object.entries(k.classes||{}))"container"!==t&&(0,h.v)(R,e);(0,h.v)(j,"is-draggable")}function Dt(){return D||H>0}function zt(){return D||H<Q.length-1}const Bt={add:function(t,e){var n;let i=N;const o=H,s=vt(),r=(null==O?void 0:O.isRunning())?O.getEndValues().pos:N,a=s&&Math.floor((r-((null===(n=Q[0])||void 0===n?void 0:n.pos)||0))/s)||0;return yt(t,e),ct(K),Ot(),O&&s&&(o===H&&(i-=a*s),i===V?N=V:O.spring({clamp:!0,mass:1,tension:300,friction:25,restDelta:1,restSpeed:1}).from({pos:i}).to({pos:V}).start()),It(),Bt},canGoPrev:Dt,canGoNext:zt,destroy:function(){return st("destroy"),window.removeEventListener("resize",rt),_t(),ot.clear(),R=null,Q=[],X=[],k=Object.assign({},b),P={},Z=[],M=void 0,K="*",A=2,Bt},emit:st,filter:function(t="*"){return ct(t),Ot(),N=(0,d.q)(G,N,W),It(),st("filter",t),Bt},getContainer:function(){return R},getGapDim:pt,getGestures:function(){return m},getLastMouseMove:function(){return E},getOption:function(t){return nt(t)},getOptions:function(){return k},getPage:function(){return Q[H]},getPageIndex:function(t){if(void 0!==t){for(const e of Q||[])for(const n of e.slides)if(n.index===t)return e.index;return-1}return H},getPageIndexFromPosition:ht,getPageProgress:function(t,e){var n;void 0===t&&(t=H);const i=Q[t];if(!i)return t>H?-1:1;const o=vt(),s=pt();let r=i.pos,a=Ft();if(D&&!0!==e){const t=Math.floor((a-(null===(n=Q[0])||void 0===n?void 0:n.pos))/o)||0;a-=t*o,r=[r+o,r,r-o].reduce(function(t,e){return Math.abs(e-a)<Math.abs(t-a)?e:t})}return(a-r)/(i.dim+s)||0},getPageVisibility:function(t){var e;void 0===t&&(t=H);const n=Q[t];if(!n)return t>H?-1:1;const i=Ft(),o=gt();let s=n.pos;if(D){const t=vt(),n=s+(Math.floor((i-(null===(e=Q[0])||void 0===e?void 0:e.pos))/t)||0)*t;s=[n+t,n,n-t].reduce(function(t,e){return Math.abs(e-i)<Math.abs(t-i)?e:t})}return s>i&&s+n.dim<i+o?1:s<i?(s+n.dim-i)/n.dim||0:s+n.dim>i+o&&(i+o-s)/n.dim||0},getPages:function(){return Q},getPlugins:function(){return P},getPosition:Ft,getSlides:function(){return X},getState:function(){return A},getTotalSlideDim:vt,getTween:function(){return O},getViewport:function(){return j},getViewportDim:gt,getVisibleSlides:function(t){return void 0===t?Y:mt(t)},goTo:jt,hasNavigated:function(){return void 0!==S},hideError:Pt,hideLoading:kt,init:function(){if(!t||!(0,o.L)(t))throw new Error("No Element found");return 0!==A&&(_t(),A=0),R=t,C=e,window.removeEventListener("resize",rt),C.breakpoints&&window.addEventListener("resize",rt),rt(),Bt},isInfinite:function(){return D},isInTransition:function(){return U.size>0},isRTL:function(){return z},isSettled:function(){return $},isVertical:function(){return B},localize:it,next:function(t={}){return jt(H+1,t),Bt},off:function(t,e){for(const n of t instanceof Array?t:[t])ot.has(n)&&ot.set(n,ot.get(n).filter(t=>t!==e));return Bt},on:function(t,e){for(const n of t instanceof Array?t:[t])ot.set(n,[...ot.get(n)||[],e]);return Bt},prev:function(t={}){return jt(H-1,t),Bt},reInit:function(t={},o){return _t(),A=0,M=void 0,K="*",e=t,C=t,(0,i.Q)(o)&&(n=o),rt(),Bt},remove:function(t){void 0===t&&(t=X.length-1);const e=X[t];return e&&(st("removeSlide",e),e.el&&(Lt(e.el),e.el.remove(),e.el=void 0),X.splice(t,1),ct(K),Ot(),N=(0,d.q)(G,N,W),It()),Bt},setPosition:function(t){N=t,ut(),It()},showError:function(t,e){if(1===A){kt(t),Pt(t);const n=t.el;if(n){const i=document.createElement("div");(0,f.i)(i,"f-html"),(0,f.i)(i,"is-error"),i.innerHTML=it(e||"<p>{{ERROR}}</p>"),t.htmlEl=i,(0,f.i)(n,"has-html has-error"),n.insertAdjacentElement("afterbegin",i),st("contentReady",t)}}return Bt},showLoading:function(t){const e=t.el,n=null==e?void 0:e.querySelector(".f-spinner");if(!e||n)return Bt;const i=nt("spinnerTpl"),o=(0,u.K)(i);return o&&((0,f.i)(o,"f-spinner"),e.insertAdjacentElement("beforeend",o)),Bt},version:"6.1.14"};return Bt};T.l10n={en_EN:m.c},T.getDefaults=()=>b,n.d(e,["F",0,T])},4954(t,e,n){var i=n(7178),o=n(148),s=n(6579);const r={showLoading:!0,preload:1},a="is-lazyloading",l="is-lazyloaded",c="has-lazyerror";n.d(e,["p",0,()=>{let t;function e(){const e=null==t?void 0:t.getOptions().Lazyload;return(0,o.Q)(e)?Object.assign(Object.assign({},r),e):r}function n(n){var o;const r=n.el;if(!r)return;const u=e(),d="[data-lazy-src],[data-lazy-srcset],[data-lazy-bg]",f=Array.from(r.querySelectorAll(d));r.matches(d)&&f.push(r);for(const e of f){const r=e.dataset.lazySrc,d=e.dataset.lazySrcset,f=e.dataset.lazySizes,h=e.dataset.lazyBg,p=(e instanceof HTMLImageElement||e instanceof HTMLSourceElement)&&(r||d),g=!!h;if(!p&&!g)continue;const v=r||d||h;if(v){if(p){const h=null===(o=e.parentElement)||void 0===o?void 0:o.classList.contains("f-panzoom__wrapper");u.showLoading&&(null==t||t.showLoading(n)),e.addEventListener("load",()=>{null==t||t.hideLoading(n),(0,s.v)(e,c),e instanceof HTMLImageElement?e.decode().finally(()=>{(0,s.v)(e,a),(0,i.i)(e,l)}).catch(()=>{}):((0,s.v)(e,a),(0,i.i)(e,l)),h||null==t||t.emit("lazyLoad:loaded",n,e,v)}),e.addEventListener("error",()=>{null==t||t.hideLoading(n),(0,s.v)(e,a),(0,i.i)(e,c),h||null==t||t.emit("lazyLoad:error",n,e,v)}),e.classList.add("f-lazyload"),e.classList.add(a),h||null==t||t.emit("lazyLoad:load",n,e,v),r&&(e.src=r),d&&(e.srcset=d),f&&(e.sizes=f)}else g&&(e.style.backgroundImage=`url('${h}')`);delete e.dataset.lazySrc,delete e.dataset.lazySrcset,delete e.dataset.lazySizes,delete e.dataset.lazyBg}}}function u(){if(!t)return;const i=[...t.getVisibleSlides()],o=e().preload;if(o>0){const e=t.getPosition(),n=t.getViewportDim();i.push(...t.getVisibleSlides(e+n*o),...t.getVisibleSlides(e-n*o))}for(const t of i)n(t)}return{init:function(e){t=e,t.on("render",u)},destroy:function(){null==t||t.off("render",u),t=void 0}}}])},9551(t,e,n){var i=n(148);const o={syncOnChange:!1,syncOnClick:!0,syncOnHover:!1};n.d(e,["a",0,()=>{let t,e;function n(){const e=null==t?void 0:t.getOptions().Sync;return(0,i.Q)(e)?Object.assign(Object.assign({},o),e):o}function s(){const i=n().target;t&&i&&function(i){var o,s,h;t&&i&&(e=i,t.getOptions().classes=Object.assign(Object.assign({},t.getOptions().classes),{isSelected:""}),t.getOptions().initialSlide=(null===(s=null===(o=e.getPage())||void 0===o?void 0:o.slides[0])||void 0===s?void 0:s.index)||0,n().syncOnChange&&t.on("change",a),n().syncOnClick&&t.on("click",c),n().syncOnHover&&(null===(h=t.getViewport())||void 0===h||h.addEventListener("mouseover",u)),t&&e&&(t.on("ready",r),t.on("refresh",d),e.on("change",l),e.on("filter",f)))}(i)}function r(){h()}function a(){var n;if(t&&e){const i=(null===(n=t.getPage())||void 0===n?void 0:n.slides)||[],o=e.getPageIndex(i[0].index||0);o>-1&&e.goTo(o,t.hasNavigated()?void 0:{tween:!1,transition:!1}),h()}}function l(){var n;if(t&&e){const i=t.getPageIndex((null===(n=e.getPage())||void 0===n?void 0:n.slides[0].index)||0);i>-1&&t.goTo(i,e.hasNavigated()?void 0:{tween:!1,transition:!1}),h()}}function c(n,i){var o;if(!t||!e)return;if(null===(o=t.getTween())||void 0===o?void 0:o.isRunning())return;const s=null==t?void 0:t.getOptions().classes.slide;if(!s)return;const r=i.target.closest(`.${s}`);
1if(r){const t=parseInt(r.getAttribute("index")||"")||0,n=e.getPageIndex(t);e.goTo(n)}}function u(e){t&&c(0,e)}function d(){var n;if(t&&e){const i=t.getPageIndex((null===(n=e.getPage())||void 0===n?void 0:n.slides[0].index)||0);i>-1&&t.goTo(i,{tween:!1,transition:!1}),h()}}function f(n,i){t&&e&&(t.filter(i),l())}function h(){var n,i,o;if(!e)return;const s=(null===(i=null===(n=e.getPage())||void 0===n?void 0:n.slides[0])||void 0===i?void 0:i.index)||0;for(const e of(null==t?void 0:t.getSlides())||[])null===(o=e.el)||void 0===o||o.classList.toggle("is-selected",e.index===s)}return{init:function(e){t=e,t.on("initSlides",s)},destroy:function(){var n;null==t||t.off("ready",r),null==t||t.off("refresh",d),null==t||t.off("change",a),null==t||t.off("click",c),null===(n=null==t?void 0:t.getViewport())||void 0===n||n.removeEventListener("mouseover",u),null==e||e.off("change",l),null==e||e.off("filter",f),e=void 0,null==t||t.off("initSlides",s),t=void 0},getTarget:function(){return e}}}])},5277(t,e,n){var i=n(148),o=n(2483),s=n(2004),r=n(7424),a=n(88),l=n(9551),c=n(4954),u=n(7178);const d={Carousel:{Lazyload:{showLoading:!1}},minCount:2,showOnStart:!0,thumbTpl:'<button aria-label="Slide to #{{page}}"><img draggable="false" alt="{{alt}}" data-lazy-src="{{src}}" /></button>',type:"modern"};let f;n.d(e,["W",0,()=>{let t,e,n,h,p,g=0,v=0,m=!0;function y(e){const n=null==t?void 0:t.getOptions().Thumbs;let o=((0,i.Q)(n)?Object.assign(Object.assign({},d),n):d)[e];return o&&"function"==typeof o&&t?o(t):o}function b(){if(!t)return!1;if(!1===(null==t?void 0:t.getOptions().Thumbs))return!1;let e=0;for(const n of t.getSlides())n.thumbSrc&&e++;return e>=y("minCount")}function E(){return"modern"===y("type")}function w(){return"scrollable"===y("type")}function x(){const e=[],n=(null==t?void 0:t.getSlides())||[];for(const t of n)e.push({index:t.index,class:t.thumbClass,html:T(t)});return e}function T(t){const e=t.thumb?t.thumb instanceof HTMLImageElement?t.thumb.src:t.thumb:t.thumbSrc||void 0,n=void 0===t.thumbAlt?`Thumbnail #${(t.index||0)+1}`:t.thumbAlt+"";let i=y("thumbTpl");return i=(0,s.y)(i,"{{alt}}",n),i=(0,s.y)(i,"{{src}}",e+""),i=(0,s.y)(i,"{{index}}",`${t.index||0}`),i=(0,s.y)(i,"{{page}}",`${(t.index||0)+1}`),i}function O(t){return`<div index="${t.index||0}" class="f-thumbs__slide ${t.class||""}">${t.html||""}</div>`}function L(e=!1){var i;const o=null==t?void 0:t.getContainer();if(!t||!o||n||!b())return;const s=(null===(i=y("Carousel"))||void 0===i?void 0:i.classes)||{};if(s.container=s.container||"f-thumbs",!n){const t=o.nextElementSibling;(null==t?void 0:t.classList.contains(s.container))&&(n=t)}if(!n){n=document.createElement("div");const t=y("parentEl");t?t.insertAdjacentElement("beforeend",n):o.insertAdjacentElement("afterend",n)}(0,u.i)(n,s.container),(0,u.i)(n,"f-thumbs"),(0,u.i)(n,`is-${y("type")}`),e&&(0,u.i)(n,"is-hidden")}function S(){if(!n||!w())return;h=document.createElement("div"),(0,u.i)(h,"f-thumbs__viewport");let e="";for(const t of x())"string"==typeof(t.html||"")&&(e+=O(t));h.innerHTML=e,n.append(h),n.addEventListener("click",e=>{e.preventDefault();const n=e.target.closest("[index]"),i=parseInt((null==n?void 0:n.getAttribute("index"))||"-1");t&&i>-1&&t.goTo(i)}),p=new IntersectionObserver(t=>{t.forEach(t=>{t.isIntersecting&&t.target instanceof HTMLImageElement&&(t.target.src=t.target.getAttribute("data-lazy-src")+"",t.target.removeAttribute("data-lazy-src"),null==p||p.unobserve(t.target))})},{root:h,rootMargin:"100px"}),n.querySelectorAll("[data-lazy-src]").forEach(t=>{null==p||p.observe(t)}),null==t||t.emit("thumbs:ready")}function M(){var i;if(!f||!t||!n||w()||e)return;const s=x();if(!s.length)return;const r=(0,o.X)({},{Sync:{target:t},Lazyload:{preload:1},slides:s,classes:{container:"f-thumbs",viewport:"f-thumbs__viewport",slide:"f-thumbs__slide"},center:!0,fill:!E(),infinite:!1,dragFree:!0,rtl:t.getOptions().rtl||!1,slidesPerPage:t=>{let e=0;return E()&&(function(){if(!E())return;if(!n)return;const t=t=>n&&parseFloat(getComputedStyle(n).getPropertyValue("--f-thumb-"+t))||0;g=t("width"),v=t("clip-width")}(),e=4*(g-v)),t&&t.getTotalSlideDim()<=t.getViewportDim()-e?1/0:1}},d.Carousel||{},y("Carousel")||{});e=f(n,r,{Sync:l.a,Lazyload:c.p}),e.on("ready",()=>{(0,u.i)(n,"is-syncing"),null==t||t.emit("thumbs:ready"),E()&&(null==t||t.on("render",P))}),e.on("destroy",()=>{null==t||t.emit("thumbs:destroy")}
1),e.init(),null===(i=e.getGestures())||void 0===i||i.on("start",()=>{m=!1}),e.on("click",(t,e)=>{const n=e.target;if(n){const t=n.matches("button")?n:n.firstElementChild;t&&t.matches("button")&&(e.preventDefault(),t.focus({preventScroll:!0}))}}),(0,u.i)(t.getContainer(),"has-thumbs"),z()}function A(){b()&&y("showOnStart")&&(L(),S())}function C(){var e;b()&&(M(),null==t||t.on("addSlide",j),null==t||t.on("removeSlide",F),null==t||t.on("click",I),null==t||t.on("refresh",_),null===(e=null==t?void 0:t.getGestures())||void 0===e||e.on("start",k),D(!0))}function k(){var t,e;m=!0,(null===(t=document.activeElement)||void 0===t?void 0:t.closest(".f-thumbs"))&&(null===(e=document.activeElement)||void 0===e||e.blur())}function P(){var i,o;null==n||n.classList.toggle("is-syncing",!1===(null==t?void 0:t.hasNavigated())||(null===(i=null==t?void 0:t.getTween())||void 0===i?void 0:i.isRunning())),z(),(null===(o=null==t?void 0:t.getGestures())||void 0===o?void 0:o.isPointerDown())&&function(){if(!E())return;if(!t||!e)return;if(!m)return;const n=e.getTween(),i=e.getPages(),o=t.getPageIndex()||0,s=t.getPageProgress()||0;if(!(t&&i&&i[o]&&n))return;const a=n.isRunning()?n.getCurrentValues().pos:e.getPosition();if(void 0===a)return;let l=i[o].pos+s*(g-v);l=(0,r.q)(i[0].pos,l,i[i.length-1].pos),n.from({pos:a}).to({pos:l}).start()}()}function R(){m=!0,D()}function j(t,n){const i={html:T(n)};if(e)e.add(i,n.index);else if(h){const t=(0,a.K)(O(i));if(t){h.append(t);const e=t.querySelector("img");e&&(null==p||p.observe(e))}}}function F(t,n){var i;e?e.remove(n.index):h&&(null===(i=h.querySelector(`[index="${n.index}"]`))||void 0===i||i.remove())}function I(t,e){var i;const o=e.target;e.defaultPrevented||"toggle"!==(null===(i=null==o?void 0:o.dataset)||void 0===i?void 0:i.thumbsAction)||(n||(L(!0),S(),M()),n&&n.classList.toggle("is-hidden"))}function _(){D()}function D(e=!1){if(!t||!h||!w())return;const n=t.getPageIndex();h.querySelectorAll(".is-selected").forEach(t=>{t.classList.remove("is-selected")});const i=h.querySelector(`[index="${n}"]`);if(i){i.classList.add("is-selected");const t=h.getBoundingClientRect(),n=i.getBoundingClientRect(),o=i.offsetTop-h.offsetTop-.5*t.height+.5*n.height,s=i.scrollLeft-h.scrollLeft-.5*t.width+.5*n.width;h.scrollTo({top:o,left:s,behavior:e?"instant":"smooth"})}}function z(){if(!E())return;if(!t||!e)return;const n=(null==e?void 0:e.getSlides())||[];let i=-.5*g;for(const e of n){const n=e.el;if(!n)continue;let o=t.getPageProgress(e.index)||0;o=Math.max(-1,Math.min(1,o)),o>-1&&o<1&&(i+=.5*g*(1-Math.abs(o))),o=Math.round(1e4*o)/1e4,i=Math.round(1e4*i)/1e4,n.style.setProperty("--progress",`${Math.abs(o)}`),n.style.setProperty("--shift",`${(null==t?void 0:t.isRTL())?-1*i:i}px`),o>-1&&o<1&&(i+=.5*g*(1-Math.abs(o)))}}return{init:function(e,n){f=n,t=e,t.on("ready",C),t.on("initSlides",A),t.on("change",R)},destroy:function(){var i,o;w()&&(null==t||t.emit("thumbs:destroy")),null==t||t.off("ready",C),null==t||t.off("initSlides",A),null==t||t.off("change",R),null==t||t.off("render",P),null==t||t.off("addSlide",j),null==t||t.off("click",I),null==t||t.off("refresh",_),null===(i=null==t?void 0:t.getGestures())||void 0===i||i.off("start",k),null===(o=null==t?void 0:t.getContainer())||void 0===o||o.classList.remove("has-thumbs"),t=void 0,null==e||e.destroy(),e=void 0,null==n||n.remove(),n=void 0},getCarousel:function(){return e},getContainer:function(){return n},getType:function(){return y("type")},isEnabled:b}}])},4281(t,e,n){var i,o,s=n(148),r=n(4590),a=n(88),l=n(4130),c=n(2483),u=n(7178),d=n(6579);(o=i||(i={})).Left="left",o.middle="middle",o.right="right";const f=Object.assign({counter:{tpl:'<div class="f-counter"><span data-carousel-page></span>/<span data-carousel-pages></span></div>'},download:{tpl:'<button data-carousel-download class="f-button" title="{{DOWNLOAD}}"><svg><path d="M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2M7 11l5 5 5-5M12 4v12"/></svg></button>'},autoplay:{tpl:'<button data-autoplay-action="toggle" class="f-button" title="{{TOGGLE_AUTOPLAY}}"><svg><g><path d="M5 3.5 19 12 5 20.5Z"/></g><g>
1<path d="M8 4v15M17 4v15"/></g></svg></button>'},thumbs:{tpl:'<button data-thumbs-action="toggle" class="f-button" title="{{TOGGLE_THUMBS}}"><svg><rect width="18" height="14" x="3" y="3" rx="2"/><path d="M4 21h1M9 21h1M14 21h1M19 21h1"/></svg></button>'}},l.q),h={absolute:!1,display:{left:[],middle:["zoomIn","zoomOut","toggle1to1","rotateCCW","rotateCW","flipX","flipY","reset"],right:[]},enabled:"auto",items:{}};n.d(e,["M",0,()=>{let t,e;function n(e){const n=null==t?void 0:t.getOptions().Toolbar;let i=((0,s.Q)(n)?Object.assign(Object.assign({},h),n):h)[e];return i&&"function"==typeof i&&t?i(t):i}function i(){var i;if(!t||e)return;if(!1===(null==t?void 0:t.getOptions().Toolbar))return;const o=t.getContainer();if(!o)return;let d=n("enabled");if(!d)return;const h=n("absolute"),p=t.getSlides().length>1;let g=!1,v=!1;for(const e of t.getSlides())e.panzoomRef&&(g=!0),(e.downloadSrc||"image"===e.type&&e.src)&&(v=!0);const m=(null===(i=t.getPlugins().Thumbs)||void 0===i?void 0:i.isEnabled())||!1,y=p&&t.getPlugins().Autoplay||!1,b=t.getPlugins().Fullscreen&&(document.fullscreenEnabled||document.webkitFullscreenEnabled);if("auto"===d&&(d=g),!d)return;e=o.querySelector(".f-carousel__toolbar")||void 0,e||(e=document.createElement("div"),(0,u.i)(e,"f-carousel__toolbar"));const E=n("display"),w=(0,c.X)({},f,n("items"));for(const n of["left","middle","right"]){const i=E[n]||[],o=document.createElement("div");(0,u.i)(o,`f-carousel__toolbar__column is-${n}`);for(const e of i){let n;if((0,r.K)(e)){if("counter"===e&&!p)continue;if("autoplay"===e&&!y)continue;if(l.q[e]&&!g)continue;if("fullscreen"===e&&!b)continue;if("thumbs"===e&&!m)continue;if("download"===e&&!v)continue;n=w[e]}if((0,s.Q)(e)&&(n=e),n&&n.tpl){let e=t.localize(n.tpl);e=e.split("<svg>").join('<svg tabindex="-1" width="24" height="24" viewBox="0 0 24 24">');const i=(0,a.K)(e);i&&("function"==typeof n.click&&t&&i.addEventListener("click",e=>{e.preventDefault(),e.stopPropagation(),"function"==typeof n.click&&t&&n.click(t,e)}),o.append(i))}}e.append(o)}if(e.childElementCount){if(h&&(0,u.i)(e,"is-absolute"),!e.parentElement){const t=n("parentEl");t?t.insertAdjacentElement("afterbegin",e):o.insertAdjacentElement("afterbegin",e)}o.contains(e)&&((0,u.i)(o,"has-toolbar"),h&&(0,u.i)(o,"has-absolute-toolbar"))}}return{init:function(e){t=e,null==t||t.on("initSlides",i)},destroy:function(){null==t||t.off("initSlides",i),(0,d.v)(null==t?void 0:t.getContainer(),"has-toolbar has-absolute-toolbar"),null==e||e.remove(),e=void 0},add:function(t,e){f[t]=e},isEnabled:function(){return!!e}}}])},3197(t,e,n){var i=n(7178),o=n(148),s=n(4590),r=n(88);const a=(t,e={})=>{const n=new URL(t),i=new URLSearchParams(n.search),o=new URLSearchParams;for(const[t,n]of[...i,...Object.entries(e)]){let e=n+"";if("t"===t){let t=e.match(/((\d*)m)?(\d*)s?/);t&&o.set("start",60*parseInt(t[2]||"0")+parseInt(t[3]||"0")+"")}else o.set(t,e)}let s=o+"",r=t.match(/#t=((.*)?\d+s)/);return r&&(s+=`#t=${r[1]}`),s},l={autoplay:!1,html5videoTpl:'<video class="f-html5video" playsinline controls controlsList="nodownload" poster="{{poster}}">\n <source src="{{src}}" type="{{format}}" />Sorry, your browser doesn\'t support embedded videos.</video>',iframeAttr:{allow:"autoplay; fullscreen",scrolling:"no",referrerPolicy:"strict-origin-when-cross-origin",credentialless:""},vimeo:{byline:1,color:"00adef",controls:1,dnt:1,muted:0},youtube:{controls:1,enablejsapi:1,nocookie:1,rel:0,fs:1}};n.d(e,["C",0,()=>{let t,e=!1;function n(){const e=null==t?void 0:t.getOptions().Video;return(0,o.Q)(e)?Object.assign(Object.assign({},l),e):l}function c(){var e;return null===(e=null==t?void 0:t.getPage())||void 0===e?void 0:e.slides[0]}const u=e=>{var n;try{let i=JSON.parse(e.data);if("https://player.vimeo.com"===e.origin){if("ready"===i.event)for(let i of Array.from((null===(n=null==t?void 0:t.getContainer())||void 0===n?void 0:n.getElementsByClassName("f-iframe"))||[]))i instanceof HTMLIFrameElement&&i.contentWindow===e.source&&(i.dataset.ready="true")}else if(e.origin.match(/^https:\/\/(www.)?youtube(-nocookie)?.com$/)&&"onReady"===i.event){const t=document.getElementById(i.id);t&&(t.dataset.ready="true")}}catch(e){}};function d(t,e){const i=e.src;if(!(0,s.K)(i))return;let o=e.type;if(!o||"html5video"===o){const t=i.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i);t&&(o="html5video",e.html5videoFormat=e.html5videoFormat||"video/"+("ogv"===t[1]?"ogg":t[1]))}if(!o||"youtube"===o){const t=i.match(/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(?:watch\?(?:.*&)?v=|v\/|u\/|shorts\/|embed\/?)?(videoseries\?list=(?:.*)|[\w-]{11}|\?listType=(?:.*)&list=(?:.*))(?:.*)/i);if(t){const s=Object.assign(Object.assign({},n().youtube),e.youtube||{}),r=`www.youtube${s.nocookie?"-nocookie":""}.com`,l=a(i,s),c=encodeURIComponent(t[2]);e.videoId=c,e.src=`https://${r}/embed/${c}?${l}`,e.thumb=e.thumb||`https://i.ytimg.com/vi/${c}/mqdefault.jpg`,o="youtube"}}if(!o||"vimeo"===o){const t=i.match(/^.+vimeo.com\/(?:\/)?(video\/)?([\d]+)((\/|\?h=)([a-z0-9]+))?(.*)?/);if(t){const s=Object.assign(Object.assign({},n().vimeo),e.vimeo||{}),r=a(i,s),l=encodeURIComponent(t[2]),c=t[5]||"";e.videoId=l,e.src=`https://player.vimeo.com/video/${l}?${c?`h=${c}${r?"&":""}`:""}${r}`,o="vimeo"}}e.type=o}function f(e,o){"html5video"===o.type&&function(e){const o=e.el,a=e.src;if(!t||!o||!a)return;const l=e.html5videoTpl||n().html5videoTpl,c=e.html5videoFormat||n().html5videoFormat;if(!l)return;const u=e.poster||(e.thumb&&(0,s.K)(e.thumb)?e.thumb:""),d=(0,r.K)(l.replace(/\{\{src\}\}/gi,a+"").replace(/\{\{format\}\}/gi,c||"").replace(/\{\{poster\}\}/gi,u+""));if(!d)return;const f=document.createElement("div");(0,i.i)(f,"f-html"),f.append(d),e.contentEl=d,e.htmlEl=f,(0,i.i)(o,`has-${e.type}`),o.prepend(f),v(e),t.emit("contentReady",e)}(o),"youtube"!==o.type&&"vimeo"!==o.type||function(e){const o=e.el,s=e.src;if(!t||!o||!s)return;const r=document.createElement("iframe");(0,i.i)(r,"f-iframe"),r.setAttribute("id",`f-iframe_${e.videoId}`);for(const[t,e]of Object.entries(n().iframeAttr||{}))r.setAttribute(t,e);"youtube"===e.type&&(r.onload=()=>{var e;1===(null==t?void 0:t.getState())&&(null===(e=r.contentWindow)||void 0===e||e.postMessage(JSON.stringify({event:"listening",id:r.getAttribute("id")}),"*"))}),r.onerror=()=>{null==t||t.showError(e,"{{IFRAME_ERROR}}")};const a=document.createElement("div");(0,i.i)(a,"f-html"),a.append(r),e.contentEl=r,e.htmlEl=a,(0,i.i)(o,`has-html has-iframe has-${e.type}`),r.src=`${e.src}`,o.prepend(a),v(e),t.emit("contentReady",e)}(o)}function h(t,e){var n,i;"html5video"!==e.type&&"youtube"!==e.type&&"vimeo"!==e.type||(null===(n=e.contentEl)||void 0===n||n.remove(),e.contentEl=void 0,null===(i=e.htmlEl)||void 0===i||i.remove(),e.htmlEl=void 0),e.poller&&clearTimeout(e.poller)}function p(){e=!1}function g(){if(e)return;e=!0;const t=c();(t&&void 0!==t.autoplay?t.autoplay:n().autoplay)&&(function(){var t;const e=c(),n=null==e?void 0:e.el;if(n&&"html5video"===(null==e?void 0:e.type))try{const t=n.querySelector("video");if(t){const e=t.play();void 0!==e&&e.then(()=>{}).catch(e=>{t.muted=!0,t.play()})}}catch(t){}const i=null==e?void 0:e.htmlEl;i instanceof HTMLIFrameElement&&(null===(t=i.contentWindow)||void 0===t||t.postMessage('{"event":"command","func":"stopVideo","args":""}',"*"))}(),function(){const t=c(),e=null==t?void 0:t.type;if(!(null==t?void 0:t.el)||"youtube"!==e&&"vimeo"!==e)return;const n=()=>
1{if(t.contentEl&&t.contentEl instanceof HTMLIFrameElement&&t.contentEl.contentWindow){let e;if("true"===t.contentEl.dataset.ready)return e="youtube"===t.type?{event:"command",func:"playVideo"}:{method:"play",value:"true"},e&&t.contentEl.contentWindow.postMessage(JSON.stringify(e),"*"),void(t.poller=void 0);"youtube"===t.type&&(e={event:"listening",id:t.contentEl.getAttribute("id")},t.contentEl.contentWindow.postMessage(JSON.stringify(e),"*"))}t.poller=setTimeout(n,250)};n()}())}function v(t){const e=null==t?void 0:t.htmlEl;if(t&&e&&("html5video"===t.type||"youtube"===t.type||"vimeo"===t.type)){if(e.style.aspectRatio="",e.style.width="",e.style.height="",e.style.maxWidth="",e.style.maxHeight="",t.width){let n=`${t.width}`;n.match(/^\d+$/)&&(n+="px"),e.style.maxWidth=`${n}`}if(t.height){let n=`${t.height}`;n.match(/^\d+$/)&&(n+="px"),e.style.maxHeight=`${n}`}if(t.aspectRatio){const n=t.aspectRatio.split("/"),i=parseFloat(n[0].trim()),o=n[1]?parseFloat(n[1].trim()):0,s=i&&o?i/o:i;e.offsetHeight;const r=e.getBoundingClientRect(),a=s<(r.width||1)/(r.height||1);e.style.aspectRatio=`${t.aspectRatio}`,e.style.width=a?"auto":"",e.style.height=a?"":"auto"}}}function m(){v(c())}return{init:function(e){t=e,t.on("addSlide",d),t.on("attachSlideEl",f),t.on("detachSlideEl",h),t.on("ready",g),t.on("change",p),t.on("settle",g),t.on("refresh",m),window.addEventListener("message",u)},destroy:function(){null==t||t.off("addSlide",d),null==t||t.off("attachSlideEl",f),null==t||t.off("detachSlideEl",h),null==t||t.off("ready",g),null==t||t.off("change",p),null==t||t.off("settle",g),null==t||t.off("refresh",m),window.removeEventListener("message",u),t=void 0}}}])},9359(t,e,n){var i=n(148),o=n(4590),s=n(2004),r=n(334);const a={tpl:t=>`<img class="f-panzoom__content" \n ${t.srcset?'data-lazy-srcset="{{srcset}}"':""} \n ${t.sizes?'data-lazy-sizes="{{sizes}}"':""} \n data-lazy-src="{{src}}" alt="{{alt}}" />`};n.d(e,["s",0,()=>{let t;function e(e,n){const o=null==t?void 0:t.getOptions().Zoomable;let s=((0,i.Q)(o)?Object.assign(Object.assign({},a),o):a)[e];return s&&"function"==typeof s&&n?s(n):s}function n(){t&&!1!==t.getOptions().Zoomable&&(t.on("addSlide",u),t.on("removeSlide",d),t.on("attachSlideEl",f),t.on("click",c),t.on("change",l),t.on("ready",l))}function l(){h();const e=(null==t?void 0:t.getVisibleSlides())||[];if(e.length>1||"slide"===(null==t?void 0:t.getOption("transition")))for(const n of e){const e=n.panzoomRef;e&&((null==t?void 0:t.getPage().slides)||[]).indexOf(n)<0&&e.execute(r.BE.ZoomTo,Object.assign({},e.getStartPosition()))}}function c(t,e){const n=e.target;n&&!e.defaultPrevented&&n.dataset.panzoomAction&&p(n.dataset.panzoomAction)}function u(n,i){const a=i.el;if(!t||!a||i.panzoomRef)return;const l=i.src||i.lazySrc||"",c=i.alt||i.caption||`Image #${i.index}`,u=i.srcset||i.lazySrcset||"",d=i.sizes||i.lazySizes||"";if(l&&(0,o.K)(l)&&!i.html&&(!i.type||"image"===i.type)){i.type="image",i.thumbSrc=i.thumbSrc||l;let t=e("tpl",i);t=(0,s.y)(t,"{{src}}",l+""),t=(0,s.y)(t,"{{srcset}}",u+""),t=(0,s.y)(t,"{{sizes}}",d+""),a.insertAdjacentHTML("afterbegin",t)}const f=a.querySelector(".f-panzoom__content");if(!f)return;f.setAttribute("alt",c+"");const p=i.width&&"auto"!==i.width?parseFloat(i.width+""):"auto",g=i.height&&"auto"!==i.height?parseFloat(i.height+""):"auto",v=(0,r.F9)(a,Object.assign({width:p,height:g,classes:{container:"f-zoomable"},event:()=>null==t?void 0:t.getLastMouseMove(),spinnerTpl:()=>(null==t?void 0:t.getOption("spinnerTpl"))||""},e("Panzoom")));v.on("*",(e,n,...o)=>{t&&("loading"===n&&(i.state=0),"loaded"===n&&(i.state=1),"error"===n&&(i.state=2,null==t||t.showError(i,"{{IMAGE_ERROR}}")),t.emit(`panzoom:${n}`,i,...o),"loading"===n&&t.emit("contentLoading",i),"ready"===n&&t.emit("contentReady",i),i.index===(null==t?void 0:t.getPageIndex())&&h())}),i.panzoomRef=v}function d(t,e){e.panzoomRef&&(e.panzoomRef.destroy(),e.panzoomRef=void 0)}function f(t,e){const n=e.panzoomRef;if(n)switch(n.getState()){case 0:n.init();break;case 3:n.execute(r.BE.ZoomTo,Object.assign(Object.assign({},n.getStartPosition()),{velocity:0}))}}function h(){var e,n;const i=(null==t?void 0:t.getContainer())||void 0,o=null===(n=null===(e=null==t?void 0:t.getPage())||void 0===e?void 0:e.slides[0])||void 0===n?void 0:n.panzoomRef;if(i)if(o)o.updateControls(i);else for(const t of i.querySelectorAll("[data-panzoom-action]")||[])t.setAttribute("aria-disabled",""),t.setAttribute("tabindex","-1")}function p(e,...n){var i;null===(i=null==t?void 0:t.getPage().slides[0].panzoomRef)||void 0===i||i.execute(e,...n)}return{init:function(e){t=e,t.on("initPlugins",n)},destroy:function(){if(t){t.off("initPlugins",n),t.off("addSlide",u),t.off("removeSlide",d),t.off("attachSlideEl",f),t.off("click",c),t.off("change",l),t.off("ready",l);for(const e of t.getSlides())d(0,e)}t=void 0},execute:p}}])},515(t,e,n){var i=n(4181);const o=Object.assign(Object.assign({},i.c),{ERROR:"Something went wrong. <br /> Please try again later.",NEXT:"Next page",PREV:"Previous page",GOTO:"Go to page #%d",DOWNLOAD:"Download",TOGGLE_FULLSCREEN:"Toggle full-screen mode",TOGGLE_EXPAND:"Toggle full-size mode",TOGGLE_THUMBS:"Toggle thumbnails",TOGGLE_AUTOPLAY:"Toggle slideshow"});n.d(e,["c",0,o])},7769(t,e,n){var i=n(779);const o=Object.assign(Object.assign({},i.y),{ERROR:"Quelque chose s'est mal passé, veuillez réessayer plus tard",NEXT:"Diapositive suivante",PREV:"Diapositive précédente",GOTO:"Aller à la diapositive #%d",DOWNLOAD:"Télécharger",TOGGLE_FULLSCREEN:"Basculer en mode plein écran",TOGGLE_EXPAND:"Basculer en mode plein écran",TOGGLE_THUMBS:"Basculer les vignettes",TOGGLE_AUTOPLAY:"Basculer le diaporama"});n.d(e,["y",0,o])},8556(t,e,n){var i=n(7412),o=n(148);let s,r,a=!1,l=!1,c=!1,u=!1;const d=()=>{const t=new URL(document.URL).hash,e=t.slice(1).split("-"),n=e[e.length-1],i=n&&/^\+?\d+$/.test(n)&&parseInt(e.pop()||"1",10)||1;return{urlHash:t,urlSlug:e.join("-"),urlIndex:i}},f=()=>{const t=null==s?void 0:s.getInstance(),e=null==t?void 0:t.getState();return!(!t||0!==e&&1!==e)},h=()=>
1{if(!s)return;if(f())return;const{urlSlug:t,urlIndex:e}=d();if(!t)return;let n=document.querySelector(`[data-slug="${t}"]`);n&&s.fromTriggerEl(n),f()||(n=document.querySelectorAll(`[data-fancybox="${t}"]`)[e-1],n&&s.fromTriggerEl(n,{startIndex:e-1})),f()&&n&&!n.closest("[inert]")&&n.scrollIntoView({behavior:"instant",block:"center",inline:"center"})},p=t=>{const e=t.getOptions().Hash,n=t.getSlide();return n&&(n.slug||n.fancybox||((0,o.Q)(e)?e.slug:""))||""},g=t=>{var e,n;const i=p(t),o=t.getSlide();if(!o||!i)return"";let s=parseInt(o.index+"",10)+1,r=o.slug?`#${o.slug}`:`#${i}-${s}`;return((null===(n=null===(e=t.getCarousel())||void 0===e?void 0:e.getPages())||void 0===n?void 0:n.length)||0)<2&&(r=`#${i}`),r},v=()=>{if(!s)return;if(c)return;const t=null==s?void 0:s.getInstance(),e=null==t?void 0:t.getCarousel(),{urlSlug:n,urlIndex:i}=d(),r=null==t?void 0:t.getOptions().Hash;if(!1!==r){if(t&&1===t.getState()&&e){const s=e.getSlides();for(const t of s||[])if(t.slug===n||(t.fancybox===n||(0,o.Q)(r)&&r.slug===n)&&t.index===i-1)return l=!1,void e.goTo(t.index);u=!0,t.close(),u=!1}h()}},m=()=>{s&&(r=setTimeout(()=>{a=!0,h(),a=!1},300),window.addEventListener("hashchange",v,!1))};let y;function b(){history.scrollRestoration&&y&&(history.scrollRestoration=y,y=void 0)}const E=()=>{let t,e="";function n(){var n;if(!t||!t.isTopMost()||!1===t.getOptions().Hash)return;if(a){const e=t.getOptions().sync;e&&e.goTo((null===(n=null==t?void 0:t.getCarousel())||void 0===n?void 0:n.getPageIndex())||0,{transition:!1,tween:!1})}const o=t.getCarousel();if(!o)return;if(!t.getSlide())return;const s=p(t);if(!s)return;const{urlHash:r,urlSlug:c}=d(),u=g(t);r!==u&&(e=r),history.scrollRestoration&&!y&&(y=history.scrollRestoration,history.scrollRestoration="manual",window.addEventListener("beforeunload",b)),o.on("change",i);const f=s!==c;try{window.history[f?"pushState":"replaceState"]({},document.title,window.location.pathname+window.location.search+u),f&&(l=!0)}catch(t){}}function i(){if(!t||!t.isTopMost()||!1===t.getOptions().Hash)return;if(!t.getSlide())return;if(!p(t))return;const e=g(t);c=!0;try{window.history.replaceState({},document.title,window.location.pathname+window.location.search+e)}catch(t){}c=!1}function o(){var n;if(t&&t.isTopMost()&&!1!==t.getOptions().Hash&&!u&&p(t)){c=!0;try{l&&!function(){if(window.parent===window)return!1;try{var t=window.frameElement}catch(e){t=null}return null===t?"data:"===location.protocol:t.hasAttribute("sandbox")}()&&"IFRAME"!==(null===(n=document.activeElement)||void 0===n?void 0:n.nodeName)?window.history.back():window.history.replaceState({},document.title,window.location.pathname+window.location.search+e)}catch(t){}c=!1}}return{init:function(e){clearTimeout(r),t=e,t.on("ready",n),t.on("close",o)},destroy:function(){null==t||t.off("ready",n),null==t||t.off("close",o);const e=null==t?void 0:t.getCarousel();e&&e.off("change",i),t=void 0,(null==s?void 0:s.getInstance())||(b(),window.removeEventListener("beforeunload",b))}}};E.getInfoFromURL=d,E.startFromUrl=h,E.setup=function(t){s||(s=t,(0,i.S)()&&(/complete|interactive|loaded/.test(document.readyState)?m():document.addEventListener("DOMContentLoaded",m)))},n.d(e,["V",0,E])},5200(t,e,n){var i=n(148),o=n(4590),s=n(7135),r=n(88),a=n(1186),l=n(5613),c=n(2483),u=n(7412),d=n(2677),f=n(7178),h=n(6579),p=n(8847),g=n(6501),v=n(804),m=n(334),y=n(2704),b=n(9359),E=n(9551),w=n(4954),x=n(1742),T=n(4281),O=n(5761),L=n(5277),S=n(5101),M=n(3197),A=n(1097),C=n(8556),k=n(6163);const P='<button class="f-button" title="{{CLOSE}}" data-fancybox-close><svg tabindex="-1" width="24" height="24" viewBox="0 0 24 24"><path d="M19.286 4.714 4.714 19.286M4.714 4.714l14.572 14.572" /></svg></button>';(0,T.M)().add("close",{tpl:P});const R=t=>{t.cancelable&&t.preventDefault()},j=(t=null,e="",n)=>{if(!t||!t.parentElement||!e)return void(n&&n());F(t);const i=o=>{o.target===t&&t.dataset.animationName&&(t.removeEventListener("animationend",i),delete t.dataset.animationName,n&&n(),t.classList.remove(e))};t.dataset.animationName=e,t.addEventListener("animationend",i),(0,f.i)(t,e)},F=t=>{t&&t.dispatchEvent(new CustomEvent("animationend",{bubbles:!1,cancelable:!0,currentTarget:t}))};var I,_;(_=I||(I={}))[_.Init=0]="Init",_[_.Ready=1]="Ready",_[_.Closing=2]="Closing",_[_.Destroyed=3]="Destroyed";const D={ajax:null,backdropClick:"close",Carousel:{},closeButton:"auto",closeButtonTpl:P,closeExisting:!1,delegateEl:void 0,dragToClose:!0,fadeEffect:!0,groupAll:!1,groupAttr:"data-fancybox",hideClass:"f-fadeOut",hideScrollbar:!0,id:void 0,idle:!1,keyboard:{Escape:"close",Delete:"close",Backspace:"close",PageUp:"next",PageDown:"prev",ArrowUp:"prev",ArrowDown:"next",ArrowRight:"next",ArrowLeft:"prev"},l10n:k.c,mainClass:"",mainStyle:{},mainTpl:'<dialog class="fancybox__dialog">\n <div class="fancybox__container" tabindex="0" aria-label="{{MODAL}}">\n <div class="fancybox__backdrop"></div>\n <div class="fancybox__carousel"></div>\n </div>\n </dialog>',modal:!0,on:{},parentEl:void 0,placeFocusBack:!0,showClass:"f-zoomInUp",startIndex:0,sync:void 0,theme:"dark",triggerEl:void 0,triggerEvent:void 0,zoomEffect:!0},z=new Map;let B=0;const q="with-fancybox";function N(){for(const t of Object.values(H.Plugins)){const e=t.setup;"function"==typeof e&&e(H)}}function $(t,e={}){var n,i,o;if(!(t&&t instanceof Element))return;let s,r,a,l,u={};for(const[e,n]of H.openers)if(e.contains(t))for(const[i,o]of n){let n;if(i){for(const o of e.querySelectorAll(i))if(o.contains(t)){n=o;break}if(!n)continue}for(const[i,d]of o){let o=null;try{o=t.closest(i)}catch(t){}o&&(r=e,a=n,s=o,l=i,(0,c.X)(u,d||{}))}}if(!r||!l||!s)return;const d=(0,c.X)({},D,e,u,{triggerEl:s});let f=[].slice.call((a||r).querySelectorAll(l));const h=s.closest(".f-carousel"),p=null==h?void 0:h.carousel;if(p&&(!a||!h.contains(a))){const t=[];for(const e of null==p?void 0:p.getSlides()){const n=e.el;n&&(n.matches(l)?t.push(n):t.push(...[].slice.call(n.querySelectorAll(l)))
1)}t.length&&(f=[...t],null===(n=p.getPlugins().Autoplay)||void 0===n||n.pause(),null===(i=p.getPlugins().Autoscroll)||void 0===i||i.pause(),d.sync=p)}if(!1===d.groupAll){const t=d.groupAttr,e=t&&s?s.getAttribute(`${t}`):"";f=t&&e&&"true"!==e?f.filter(n=>n.getAttribute(`${t}`)===e):[s]}if(!f.length)return;null===(o=d.triggerEvent)||void 0===o||o.preventDefault();const g=H.getInstance(),v=null==g?void 0:g.getState();if(g&&(v===I.Init||v===I.Ready)){const t=g.getOptions().triggerEl;if(t&&f.indexOf(t)>-1)return}return Object.assign({},d.Carousel||{}).rtl&&(f=f.reverse()),s&&void 0===e.startIndex&&(d.startIndex=f.indexOf(s)),H.fromNodes(f,d)}const H={Plugins:{Hash:C.V},version:"6.1.14",openers:new Map,bind:function(t,e,n,i){if(!(0,u.S)())return;let s=document.body,r=null,a="[data-fancybox]",l={};t instanceof Element&&(s=t),(0,o.K)(t)&&(0,o.K)(e)?(r=t,a=e):(0,o.K)(e)&&(0,o.K)(n)?(r=e,a=n):(0,o.K)(e)?a=e:(0,o.K)(t)&&(a=t),"object"==typeof e&&(l=e||{}),"object"==typeof n&&(l=n||{}),"object"==typeof i&&(l=i||{}),function(t,e,n,i={}){if(!(t&&t instanceof Element&&n))return;const o=H.openers.get(t)||new Map,s=o.get(e)||new Map;s.set(n,i),o.set(e,s),H.openers.set(t,o),1===o.size&&t.addEventListener("click",H.fromEvent),N()}(s,r,a,l)},close:function(t=!0,...e){if(t)for(const t of z.values())t.close(...e);else{const t=H.getInstance();t&&t.close(...e)}},destroy:function(){let t;for(;t=H.getInstance();)t.destroy();for(const t of H.openers.keys())t.removeEventListener("click",H.fromEvent);H.openers.clear()},fromEvent:function(t){if(t.defaultPrevented)return;if(t.button&&0!==t.button)return;if(t.ctrlKey||t.metaKey||t.shiftKey)return;let e=t.composedPath()[0];const n={triggerEvent:t};if(e.closest(".fancybox__container.is-hiding"))return R(t),void t.stopPropagation();const i=e.closest("[data-fancybox-delegate]")||void 0;if(i){const t=i.dataset.fancyboxDelegate||"",o=document.querySelectorAll(`[data-fancybox="${t}"]`),s=parseInt(i.dataset.fancyboxIndex||"",10)||0;e=o[s]||o[0],(0,c.X)(n,{delegateEl:i,startIndex:s})}return $(e,n)},fromNodes:function(t,e){e=(0,c.X)({},D,e||{});const n=[],i=t=>t instanceof HTMLImageElement?t:t instanceof HTMLElement?t.querySelector("img:not([aria-hidden])"):void 0;for(const o of t){const s=o.dataset||{},r=e.delegateEl&&t.indexOf(o)===e.startIndex?e.delegateEl:void 0,a=i(r)||i(o)||void 0,l=s.src||o.getAttribute("href")||o.getAttribute("currentSrc")||o.getAttribute("src")||void 0,c=s.thumb||s.thumbSrc||(null==a?void 0:a.getAttribute("currentSrc"))||(null==a?void 0:a.getAttribute("src"))||(null==a?void 0:a.dataset.lazySrc)||void 0,u={src:l,alt:s.alt||(null==a?void 0:a.getAttribute("alt"))||void 0,thumbSrc:c,thumbEl:a,triggerEl:o,delegateEl:r};for(const t in s){let e=s[t]+"";u[t]="true"===e?"fancybox"!==t||"":"false"!==e&&e}n.push(u)}return H.show(n,e)},fromSelector:function(t,e,n,i){if(!(0,u.S)())return;let s=document.body,r=null,a="[data-fancybox]",l={};t instanceof Element&&(s=t),(0,o.K)(t)&&(0,o.K)(e)?(r=t,a=e):(0,o.K)(e)&&(0,o.K)(n)?(r=e,a=n):(0,o.K)(e)?a=e:(0,o.K)(t)&&(a=t),"object"==typeof e&&(l=e||{}),"object"==typeof n&&(l=n||{}),"object"==typeof i&&(l=i||{});for(const[t,e]of H.openers)for(const[n,i]of e)for(const[e,o]of i)if(t===s&&n===r){const t=s.querySelector((n?`${n} `:"")+a);if(t&&t.matches(e))return H.fromTriggerEl(t,l)}},fromTriggerEl:$,getCarousel:function(){var t;return(null===(t=H.getInstance())||void 0===t?void 0:t.getCarousel())||void 0},getDefaults:function(){return D},getInstance:function(t){if(t){const e=z.get(t);return e&&e.getState()!==I.Destroyed?e:void 0}return Array.from(z.values()).reverse().find(t=>{if(t.getState()!==I.Destroyed)return t})||void 0},getSlide:function(){var t;return(null===(t=H.getInstance())||void 0===t?void 0:t.getSlide())||void 0},show:function(t=[],e={}){return N(),(()=>{let t,e,n,u,C,k,P,_=I.Init,N=Object.assign({},D),$=-1,V={},G=[],W=!1,K=!0,X=0;function Z(t,...e){let n=N[t];return n&&"function"==typeof n?n(kt,...e):n}function U(t,e=[]){const n=Z("l10n")||{};t=String(t).replace(/\{\{(\w+)\}\}/g,(t,e)=>n[e]||t);for(let n=0;n<e.length;n++)t=t.split(e[n][0]).join(e[n][1]);return t.replace(/\{\{(.*?)\}\}/g,(t,e)=>e)}const Y=new Map;function Q(t,...e){const n=[...Y.get(t)||[]];for(const[e,i]of Object.entries(N.on||{}))(e===t||e.split(" ").indexOf(t)>-1)&&n.push(i);for(const t of n)t&&"function"==typeof t&&t(kt,...e);"*"!==t&&Q("*",t,...e)}function J(){(0,h.v)(e,"is-revealing");try{document.activeElement===t&&((null==e?void 0:e.querySelector("[autofocus]"))||e).focus()}catch(t){}}function tt(t,e){var n;pt(e),ct(),null===(n=e.el)||void 0===n||n.addEventListener("click",nt),"inline"!==e.type&&"clone"!==e.type||function(t){if(!u||!t||!t.el)return;let e=null;if((0,o.K)(t.src)){const n=t.src.split("#",2).pop();e=n?document.getElementById(n):null}if(e){if((0,f.i)(e,"f-html"),"clone"===t.type||e.closest(".fancybox__carousel")){e=e.cloneNode(!0);const n=e.dataset.animationName;n&&(e.classList.remove(n),delete e.dataset.animationName);let i=e.getAttribute("id");i=i?`${i}--clone`:`clone-${$}-${t.index}`,e.setAttribute("id",i)}else if(e.parentNode){const n=document.createElement("div");n.inert=!0,e.parentNode.insertBefore(n,e),t.placeholderEl=n}t.htmlEl=e,(0,f.i)(t.el,"has-html"),t.el.prepend(e),e.classList.remove("hidden"),"none"===e.style.display&&(e.style.display=""),"none"===getComputedStyle(e).getPropertyValue("display")&&(e.style.display=e.dataset.display||"flex"),null==u||u.emit("contentReady",t)}else null==u||u.showError(t,"{{ELEMENT_NOT_FOUND}}")}(e),"ajax"===e.type&&function(t){const e=t.el;if(!e)return;if(t.htmlEl||t.xhr)return;null==u||u.showLoading(t),t.state=0;const n=new XMLHttpRequest;n.onreadystatechange=function(){if(n.readyState===XMLHttpRequest.DONE&&_===I.Ready)if(null==u||u.hideLoading(t),t.state=1,200===n.status){let i=n.responseText+"",o=null,s=null;if(t.filter){const e=document.createElement("div");e.innerHTML=i,s=e.querySelector(t.filter+"")}s&&s instanceof HTMLElement?o=s:(o=document.createElement("div"),o.innerHTML=i),o.classList.add("f-html"),t.htmlEl=o,e.classList.add("has-html"),e.classList.add("has-ajax"),e.prepend(o),null==u||u.emit("contentReady",t)}else null==u||u.showError(t)};const i=Z("ajax")||null;n.open(i?"POST":"GET",t.src+""),n.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),n.setRequestHeader("X-Requested-With","XMLHttpRequest"),n.send(i),t.xhr=n}(e)}function et(t,e){var n;gt(e),null===(n=e.el)||void 0===n||n.removeEventListener("click",nt),"inline"!==e.type&&"clone"!==e.type||function(t){const e=t.htmlEl,n=t.placeholderEl;e&&("none"!==getComputedStyle(e).getPropertyValue("display")&&(e.style.display="none"),e.offsetHeight),n&&(e&&n.parentNode&&n.parentNode.insertBefore(e,n),n.remove()),t.htmlEl=void 0,t.placeholderEl=void 0}(e),e.xhr&&(e.xhr.abort(),e.xhr=void 0)}function nt(t){if(!mt())return;if(_!==I.Ready)return R(t),void t.stopPropagation();if(t.defaultPrevented)return;if(!v.v3.isClickAllowed())return;const e=t.composedPath()[0];e.closest(".fancybox__carousel")&&e.classList.contains("fancybox__slide")&&ut(t)}function it(){K=!1,e&&u&&e.classList.remove("is-revealing"),ct();const t=Z("sync");if(u&&t){const e=t.getPageIndex(u.getPageIndex())||0;t.goTo(e,{transition:!1,tween:!1})}}function ot(){var t;!function(){const t=null==u?void 0:u.getViewport();if(!Z("dragToClose")||!u||!t)return;if(C=(0,v.v3)(t).init(),!C)return;let n=!1,i=0,o=0,s={},r=1;function l(){var t,e;null==k||k.spring({clamp:!0,mass:1,tension:0===o?140:960,friction:17,restDelta:.1,restSpeed:.1,maxSpeed:1/0}).from({y:i}).to({y:o}).start();const n=(null===(t=null==u?void 0:u.getViewport())||void 0===t?void 0:t.getBoundingClientRect().height)||0,s=null===(e=yt())||void 0===e?void 0:e.panzoomRef;if(n&&s)if(0===o)s.execute(m.BE.Reset);else{const t=(0,d.T)(Math.abs(i),0,.33*n,r,.77*r,!1);s.execute(m.BE.ZoomTo,{scale:t})}}const c=t=>{var e;const n=t.srcEvent,i=n.target;return u&&!((0,v.kH)(n)&&(null===(e=n.touches)||void 0===e?void 0:e.length)>
11)&&i&&!(0,a.U)(i)};k=(0,g.K)().on("step",n=>{if(e&&t&&_===I.Ready){const o=t.getBoundingClientRect().height;i=Math.min(o,Math.max(-1*o,n.y));const s=(0,d.T)(Math.abs(i),0,.65*o,1,.2,!0);e.style.setProperty("--f-drag-opacity",s+""),e.style.setProperty("--f-drag-offset",i+"px")}}),C.on("start",function(){n||(null==k||k.pause(),o=i)}).on("panstart",t=>{var e,i;if(!n&&c(t)&&"y"===t.axis){R(t.srcEvent),n=!0,St(),null===(e=null==u?void 0:u.getViewport())||void 0===e||e.classList.add("is-dragging");const o=null===(i=yt())||void 0===i?void 0:i.panzoomRef;if(o){r=o.getTransform().scale||1;const t=o.getOptions();s=Object.assign({},t),t.bounds=!1,t.gestures=!1}}else n=!1}).on("pan",function(t){n&&c(t)&&(R(t.srcEvent),t.srcEvent.stopPropagation(),"y"===t.axis&&(o+=t.deltaY,l()))}).on("end",t=>{var e,r,a;if(null===(e=null==u?void 0:u.getViewport())||void 0===e||e.classList.remove("is-dragging"),n){const e=null===(r=yt())||void 0===r?void 0:r.panzoomRef;if(e){null===(a=e.getTween())||void 0===a||a.end();const t=e.getOptions();t.bounds=s.bounds||!1,t.gestures=s.gestures||!1}c(t)&&"y"===t.axis&&(Math.abs(t.velocityY)>5||Math.abs(i)>50)&&Mt(t.srcEvent,"f-throwOut"+(t.velocityY>0?"Down":"Up"))}n=!1,_===I.Ready&&0!==i&&(o=0,l())})}(),document.body.addEventListener("click",ht),document.body.addEventListener("keydown",ft,{passive:!1,capture:!0}),ct(),xt();const n=Z("sync");u&&n&&(null===(t=n.getTween())||void 0===t||t.start()),vt(yt())}function st(){(null==u?void 0:u.canGoNext())?xt():Lt()}function rt(t,e){pt(e)}function at(t,e){pt(e),vt(e)}function lt(){var t;const n=null==u?void 0:u.getPlugins().Thumbs;(0,p.p)(e,"has-thumbs",(null==n?void 0:n.isEnabled())||!1),(0,p.p)(e,"has-vertical-thumbs",!!n&&("scrollable"===n.getType()||!0===(null===(t=n.getCarousel())||void 0===t?void 0:t.isVertical())))}function ct(){if(!e)return;const t=(null==u?void 0:u.getPages().length)||0,n=(null==u?void 0:u.getPageIndex())||0,i=e.querySelectorAll("[data-fancybox-index],[data-fancybox-page],[data-fancybox-pages]");for(const e of i)e.hasAttribute("data-fancybox-index")?e.textContent=String(n):e.hasAttribute("data-fancybox-page")?e.textContent=String(n+1):e.textContent=String(t)}function ut(t){t.composedPath()[0].closest("[data-fancybox-close]")?Mt(t):(Q("backdropClick",t),t.defaultPrevented||Z("backdropClick")&&Mt(t))}function dt(){Ot()}function ft(t){if(!mt())return;if(_!==I.Ready)return;const e=t.key,n=Z("keyboard");if(!n)return;if(t.ctrlKey||t.altKey||t.shiftKey)return;const i=t.composedPath()[0];if(!(0,s.L)(i))return;if("Escape"!==e&&(t=>{const e=["input","textarea","select","option","video","iframe","[contenteditable]","[data-selectable]","[data-draggable]"].join(",");return t.matches(e)||t.closest(e)})(i))return;if(Q("keydown",t),t.defaultPrevented)return;const o=n[e];if(o)switch(o){case"close":Mt(t);break;case"next":R(t),null==u||u.next();break;case"prev":R(t),null==u||u.prev()}}function ht(t){if(!mt())return;if(_!==I.Ready)return;if(Ot(),t.defaultPrevented)return;const e=t.composedPath()[0],n=!!e.closest("[data-fancybox-close]"),i=e.classList.contains("fancybox__backdrop");(n||i)&&ut(t)}function pt(t){var e;const{el:n,htmlEl:i,panzoomRef:o,closeButtonEl:s}=t,a=o?o.getWrapper():i;if(!n||!n.parentElement||!a)return;let l=Z("closeButton");if("auto"===l&&(l=!0!==(null===(e=null==u?void 0:u.getPlugins().Toolbar)||void 0===e?void 0:e.isEnabled())),l){if(!s){const e=(0,r.K)(U(Z("closeButtonTpl")));e&&((0,f.i)(e,"is-close-button"),t.closeButtonEl=a.insertAdjacentElement("afterbegin",e),(0,f.i)(n,"has-close-btn"))}}else gt(t)}function gt(t){t.closeButtonEl&&(t.closeButtonEl.remove(),t.closeButtonEl=void 0),(0,h.v)(t.el,"has-close-btn")}function vt(t){if(!(K&&u&&1===u.getState()&&t&&t.index===u.getOptions().initialPage&&t.el&&t.el.parentElement))return;if(void 0!==t.state&&1!==t.state)return;K=!1;const e=t.panzoomRef,n=null==e?void 0:e.getTween(),i=Z("zoomEffect")&&n?Et(t):void 0;if(e&&n&&i){const{x:t,y:o,scale:s}=e.getStartPosition();return void n.spring({tension:215,friction:25,restDelta:.001,restSpeed:.001,maxSpeed:1/0}).from(i).to({x:t,y:o,scale:s}).start()}const o=(null==e?void 0:e.getContent())||t.htmlEl;o&&j(o,Z("showClass",t))}function mt(){var t;return(null===(t=H.getInstance())||void 0===t?void 0:t.getId())===$}function yt(){var t;return null===(t=null==u?void 0:u.getPage())||void 0===t?void 0:t.slides[0]}function bt(){const t=yt();return t?t.triggerEl||Z("triggerEl"):void 0}function Et(t){var e,n;const i=t.thumbEl;if(!i||!(t=>{const e=t.getBoundingClientRect(),n=t.closest("[style]"),i=null==n?void 0:n.parentElement;if(n&&n.style.transform&&i){const t=i.getBoundingClientRect();if(e.left<t.left||e.left>t.left+t.width-e.width)return!1;if(e.top<t.top||e.top>t.top+t.height-e.height)return!1}const o=Math.max(document.documentElement.clientHeight,window.innerHeight),s=Math.max(document.documentElement.clientWidth,window.innerWidth);return!(e.bottom<0||e.top-o>=0||e.right<0||e.left-s>=0)})(i))return;const o=null===(n=null===(e=t.panzoomRef)||void 0===e?void 0:e.getWrapper())||void 0===n?void 0:n.getBoundingClientRect(),s=null==o?void 0:o.width,r=null==o?void 0:o.height;if(!s||!r)return;const a=i.getBoundingClientRect();let l=a.width,c=a.height,u=a.left,d=a.top;if(a&&l&&c){if(i instanceof HTMLImageElement){const t=window.getComputedStyle(i).getPropertyValue("object-fit");
1if("contain"===t||"scale-down"===t){const{width:e,height:n}=((t,e,n,i,o="contain")=>{if("contain"===o||t>n||e>i){const o=n/t,s=i/e,r=Math.min(o,s);t*=r,e*=r}return{width:t,height:e}})(i.naturalWidth,i.naturalHeight,l,c,t);u+=.5*(l-e),d+=.5*(c-n),l=e,c=n}}if(!(Math.abs(s/r-l/c)>.1))return{x:u+.5*l-(o.left+.5*s),y:d+.5*c-(o.top+.5*r),scale:l/s}}}function wt(){P&&clearTimeout(P),P=void 0,document.removeEventListener("mousemove",dt)}function xt(){if(W)return;if(P)return;const t=Z("idle");t&&(P=setTimeout(Tt,t))}function Tt(){e&&(wt(),(0,f.i)(e,"is-idle"),document.addEventListener("mousemove",dt),W=!0)}function Ot(){W&&(Lt(),xt())}function Lt(){wt(),null==e||e.classList.remove("is-idle"),W=!1}function St(){const t=bt();var e;!t||(e=t.getBoundingClientRect()).bottom>0&&e.right>0&&e.left<(window.innerWidth||document.documentElement.clientWidth)&&e.top<(window.innerHeight||document.documentElement.clientHeight)||t.closest("[inert]")||t.scrollIntoView({behavior:"instant",block:"center",inline:"center"})}function Mt(t,e){var n,i,o,s,r;if(_===I.Closing||_===I.Destroyed)return;const a=new Event("shouldClose",{bubbles:!0,cancelable:!0});if(Q("shouldClose",a,t),a.defaultPrevented)return;if(wt(),t){if(t.defaultPrevented)return;R(t),t.stopPropagation(),t.stopImmediatePropagation()}if(_=I.Closing,null==k||k.pause(),null==C||C.destroy(),u){null===(n=u.getGestures())||void 0===n||n.destroy(),null===(i=u.getTween())||void 0===i||i.pause();for(const t of u.getSlides()){const e=t.panzoomRef;e&&((0,c.X)(e.getOptions(),{clickAction:!1,dblClickAction:!1,wheelAction:!1,bounds:!1,minScale:0,maxScale:1/0}),null===(o=e.getGestures())||void 0===o||o.destroy(),null===(s=e.getTween())||void 0===s||s.pause())}}const l=null==u?void 0:u.getPlugins();null===(r=null==l?void 0:l.Autoplay)||void 0===r||r.stop();const d=null==l?void 0:l.Fullscreen;d&&d.inFullscreen()?Promise.resolve(d.exit()).then(()=>{setTimeout(()=>{At(t,e)},150)}):At(t,e)}function At(n,i){var o,s;if(_!==I.Closing)return;Q("close",n),K=!1,document.body.removeEventListener("click",ht),document.body.removeEventListener("keydown",ft,{passive:!1,capture:!0}),Z("placeFocusBack")&&St();const r=document.activeElement;r&&(null==t?void 0:t.contains(r))&&r.blur(),Z("fadeEffect")&&(null==e||e.classList.remove("is-ready"),null==e||e.classList.add("is-hiding")),null==e||e.classList.add("is-closing");const a=yt(),l=null==a?void 0:a.el,c=null==a?void 0:a.panzoomRef,d=null===(o=null==a?void 0:a.panzoomRef)||void 0===o?void 0:o.getTween(),f=i||Z("hideClass");let h=!1,p=!1;if(u&&a&&l&&c&&d){let t;if(Z("zoomEffect")&&1===a.state&&(t=Et(a)),t){h=!0;const e=()=>{t=Et(a),t?d.to(Object.assign(Object.assign({},m.EH),t)):Ct()};c.on("refresh",()=>{e()}),d.easing(g.K.Easings.EaseOut).duration(350).from(Object.assign({},c.getTransform())).to(Object.assign(Object.assign({},m.EH),t)).start(),(null==l?void 0:l.getAnimations())&&(l.style.animationPlayState="paused",requestAnimationFrame(()=>{e()}))}}const v=(null==a?void 0:a.htmlEl)||(null===(s=null==a?void 0:a.panzoomRef)||void 0===s?void 0:s.getWrapper());v&&F(v),!h&&f&&v&&(p=!0,j(v,f,()=>{Ct()})),h||p?setTimeout(()=>{Ct()},350):Ct()}function Ct(){var n,i,o,s,r;if(_===I.Destroyed)return;_=I.Destroyed;const a=bt();Q("destroy"),null===(i=null===(n=Z("sync"))||void 0===n?void 0:n.getPlugins().Autoplay)||void 0===i||i.resume(),null===(s=null===(o=Z("sync"))||void 0===o?void 0:o.getPlugins().Autoscroll)||void 0===s||s.resume(),t instanceof HTMLDialogElement&&t.close(),null===(r=null==u?void 0:u.getContainer())||void 0===r||r.classList.remove("is-idle"),null==u||u.destroy();for(const t of Object.values(V))null==t||t.destroy();if(V={},null==t||t.remove(),t=void 0,e=void 0,u=void 0,z.delete($),!z.size&&((0,l.j)(!1),document.documentElement.classList.remove(q),Z("placeFocusBack")&&a&&!a.closest("[inert]")))try{null==a||a.focus({preventScroll:!0})}catch(n){}}const kt={close:Mt,destroy:Ct,getCarousel:function(){return u},getContainer:function(){return e},getId:function(){return $},getOptions:function(){return N},getPlugins:function(){return V},getSlide:function(){return yt()},getState:function(){return _},init:function(o=[],s={}){_!==I.Init&&(kt.destroy(),_=I.Init),N=(0,c.X)({},D,s),$=Z("id")||"fancybox-"+ ++B;const d=z.get($);if(d&&d.destroy(),z.set($,kt),Q("init"),function(){for(const[t,e]of Object.entries(Object.assign(Object.assign({},H.Plugins),N.plugins||{})))if(t&&!V[t]&&e instanceof Function){const n=e();n.init(kt),V[t]=n}Q("initPlugins")}(),function(t=[]){Q("initSlides",t),G=[...t]}(o),function(){const n=Z("parentEl")||document.body;if(!(n&&n instanceof HTMLElement))return;const o=U(Z("mainTpl")||"");if(t=(0,r.K)(o)||void 0,!t)return;if(e=t.querySelector(".fancybox__container"),!(e&&e instanceof HTMLElement))return;const s=Z("mainClass");s&&(0,f.i)(e,s);const c=Z("mainStyle");if(c&&(0,i.Q)(c))for(const[t,n]of Object.entries(c))e.style.setProperty(t,n);const d=Z("theme"),h="auto"===d?window.matchMedia("(prefers-color-scheme:light)").matches:"light"===d;e.setAttribute("theme",h?"light":"dark"),t.setAttribute("id",`${$}`),t.addEventListener("keydown",t=>{"Escape"===t.key&&R(t)}),t.addEventListener("wheel",t=>{const e=t.target;let n=Z("wheel",t);e.closest(".f-thumbs")&&(n="slide");const i="slide"===n,o=[-t.deltaX||0,-t.deltaY||0,-t.detail||0].reduce(function(t,e){return Math.abs(e)>Math.abs(t)?e:t}),s=Math.max(-1,Math.min(1,o)),r=Date.now();X&&r-X<300?i&&R(t):(X=r,Q("wheel",t,s),t.defaultPrevented||("close"===n?Mt(t):"slide"===n&&u&&!(0,a.U)(e)&&(R(t),u[s>0?"prev":"next"]())))},{capture:!0,passive:!1}),t.addEventListener("cancel",t=>{Mt(t)}),n.append(t),1===z.size&&(Z("hideScrollbar")&&(0,l.j)(!0),document.documentElement.classList.add(q)),Q("initLayout"),t instanceof HTMLDialogElement&&(Z("modal")?t.showModal():t.show())}(),function(){if(n=(null==t?void 0:t.querySelector(".fancybox__carousel"))||void 0,!n)return;n.fancybox=kt;const i=(0,c.X)({},{Autoplay:{autoStart:!1,pauseOnHover:!1,progressbarParentEl:t=>{const e=t.getContainer();return(null==e?void 0:e.querySelector(".f-carousel__toolbar [data-autoplay-action]"))||e}},Fullscreen:{el:e},Toolbar:{absolute:!0,items:{counter:{tpl:'<div class="f-counter"><span data-fancybox-page></span>/<span data-fancybox-pages></span></div>'}},display:{left:["counter"],right:["toggleFull","autoplay","fullscreen","thumbs","close"]}},Video:{autoplay:!0},Thumbs:{minCount:2,Carousel:{classes:{container:"fancybox__thumbs"}}},classes:{container:"fancybox__carousel",viewport:"fancybox__viewport",slide:"fancybox__slide"},spinnerTpl:'<div class="f-spinner" data-fancybox-close></div>',dragFree:!1,slidesPerPage:1,plugins:{Sync:E.a,Arrows:x.T,Lazyload:w.p,Zoomable:b.s,Html:S.E,Video:M.C,Autoplay:O.I,Fullscreen:A.g,Thumbs:L.W,Toolbar:T.M}},Z("Carousel")||{},{slides:G,enabled:!0,initialPage:Z("startIndex")||0,l10n:Z("l10n")});u=(0,y.F)(n,i),Q("initCarousel",u),u.on("*",(t,e,...n)=>{Q(`Carousel.${e}`,t,...n)}),u.on("attachSlideEl",tt),u.on("detachSlideEl",et),u.on("contentLoading",rt),u.on("contentReady",at),u.on("ready",ot),u.on("change",it),u.on("settle",st),u.on("thumbs:ready",lt),u.on("thumbs:destroy",lt),u.init(
1)}(),t&&e){if(Z("closeExisting"))for(const[t,e]of z.entries())t!==$&&e.close();Z("fadeEffect")?(setTimeout(()=>{J()},500),(0,f.i)(e,"is-revealing")):J(),e.classList.add("is-ready"),_=I.Ready,Q("ready")}},isCurrentSlide:function(t){const e=yt();return!(!t||!e)&&e.index===t.index},isTopMost:function(){return mt()},localize:U,off:function(t,e){return Y.has(t)&&Y.set(t,Y.get(t).filter(t=>t!==e)),kt},on:function(t,e){return Y.set(t,[...Y.get(t)||[],e]),kt},toggleIdle(t){(W||!0===t)&&Tt(),W&&!1!==t||Lt()}};return kt})().init(t,e)},unbind:function(t,e,n){if(!(0,u.S)())return;let i=document.body,s=null,r="[data-fancybox]";t instanceof Element&&(i=t),(0,o.K)(t)&&(0,o.K)(e)?(s=t,r=e):(0,o.K)(e)&&(0,o.K)(n)?(s=e,r=n):(0,o.K)(e)?r=e:(0,o.K)(t)&&(r=t),function(t,e,n){if(!(t&&t instanceof Element&&n))return;const i=H.openers.get(t)||new Map,o=i.get(e)||new Map;o&&n&&o.delete(n),o.size&&n||i.delete(e),i.size||(H.openers.delete(t),t.removeEventListener("click",H.fromEvent))}(i,s,r)}};n.d(e,["lX",0,H])},6163(t,e,n){var i=n(515);const o=Object.assign(Object.assign({},i.c),{CLOSE:"Close",NEXT:"Next",PREV:"Previous",MODAL:"You can close this modal content with the ESC key",ELEMENT_NOT_FOUND:"HTML Element Not Found",IFRAME_ERROR:"Error Loading Page",NO_CAPTION:"No Caption",TOGGLE_SIDEBAR:"Toggle sidebar"});n.d(e,["c",0,o])},5289(t,e,n){var i=n(7769);const o=Object.assign(Object.assign({},i.y),{CLOSE:"Fermer",NEXT:"Suivant",PREV:"Précédent",MODAL:"Vous pouvez fermer ce contenu modal avec la touche ESC",ELEMENT_NOT_FOUND:"Ãlément HTML introuvable",IFRAME_ERROR:"Erreur lors du chargement de la page",NO_CAPTION:"Aucune description",TOGGLE_SIDEBAR:"Basculer la barre latérale"});n.d(e,["y",0,o])},7317(t,e,n){n.d(e,{lX:()=>i.lX});n(334),n(2704);var i=n(5200);n(1742),n(4281),n(9359)},804(t,e,n){function i(t){return"undefined"!=typeof TouchEvent&&t instanceof TouchEvent}function o(t,e){const n=[],o=i(t)?t[e]:t instanceof MouseEvent&&("changedTouches"===e||"mouseup"!==t.type)?[t]:[];for(const t of o)n.push({x:t.clientX,y:t.clientY,ts:Date.now()});return n}function s(t){return o(t,"touches")}function r(t){return o(t,"targetTouches")}function a(t){return o(t,"changedTouches")}function l(t){const e=t[0],n=t[1]||e;return{x:(e.x+n.x)/2,y:(e.y+n.y)/2,ts:n.ts}}function c(t){const e=t[0],n=t[1]||t[0];return e&&n?-1*Math.sqrt((n.x-e.x)*(n.x-e.x)+(n.y-e.y)*(n.y-e.y)):0}n.d(e,{Gn:()=>a,kH:()=>i,t9:()=>l});const u=t=>{t.cancelable&&t.preventDefault()},d={passive:!1},f={panThreshold:5,swipeThreshold:3,ignore:["textarea","input","select","[contenteditable]","[data-selectable]","[data-draggable]"]};let h=!1,p=!0;const g=(t,e)=>{let n,i,o,g,v,m=Object.assign(Object.assign({},f),e),y=[],b=[],E=[],w=!1,x=!1,T=!1,O=!1,L=0,S=0,M=0,A=0,C=0,k=0,P=0,R=0,j=0,F=[];const I=new Map;function _(t){const e=c(b),s=c(E),r=e&&s?e/s:0,a=Math.abs(P)>Math.abs(R)?P:R,l={srcEvent:n,isPanRecognized:w,isSwipeRecognized:x,firstTouch:y,previousTouch:E,currentTouch:b,deltaX:M,deltaY:A,offsetX:C,offsetY:k,velocityX:P,velocityY:R,velocity:a,angle:j,axis:o,scale:r,center:i};for(const e of I.get(t)||[])e(l)}function D(t){const e=t.target,n=t.composedPath()[0],i=m.ignore.join(","),o=t=>t&&t instanceof HTMLElement&&(t.matches(i)||t.closest(i));if(o(e)||o(n))return!1}function z(t){const e=Date.now();if(F=F.filter(t=>!t.ts||t.ts>e-100),t&&F.push(t),P=0,R=0,F.length>3){const t=F[0],e=F[F.length-1];if(t&&e){const n=e.x-t.x,i=e.y-t.y,o=t.ts&&e.ts?e.ts-t.ts:0;o>0&&(P=Math.abs(n)>3?n/(o/30):0,R=Math.abs(i)>3?i/(o/30):0)}}}function B(t){if(!1===D(t))return;if("undefined"!=typeof MouseEvent&&t instanceof MouseEvent){if(h)return}else h=!0;if("undefined"!=typeof MouseEvent&&t instanceof MouseEvent){if(!t.buttons||0!==t.button)return;u(t)}t instanceof MouseEvent&&(window.addEventListener("mousemove",q),window.addEventListener("mouseup",N)),window.addEventListener("blur",$),n=t,b=r(t),y=[...b],E=[],S=b.length,i=l(b),1===S&&(w=!1,x=!1,T=!1),S&&z(l(b));const e=Date.now(),o=e-(L||e);O=o>0&&o<=250&&1===S,L=e,clearTimeout(g),_("start")}function q(t){var e;if(!y.length)return;if(t.defaultPrevented)return;if(!1===D(t))return;n=t,E=[...b],b=s(t);const r=l(E),a=l(s(t));if(z(a),S=b.length,i=a,E.length===b.length?(M=a.x-r.x,A=a.y-r.y):(M=0,A=0),y.length){const t=l(y);C=a.x-t.x,k=a.y-t.y}if(b.length>1){const t=c(b),e=c(E);Math.abs(t-e)>
1=.1&&(T=!0,_("pinch"))}w||(w=Math.abs(C)>=m.panThreshold||Math.abs(k)>=m.panThreshold,w&&(p=!1,clearTimeout(v),v=void 0,j=Math.abs(180*Math.atan2(k,C)/Math.PI),o=j>45&&j<135?"y":"x",y=[...b],E=[...b],C=0,k=0,M=0,A=0,null===(e=window.getSelection())||void 0===e||e.removeAllRanges(),_("panstart"))),w&&(M||A)&&_("pan"),_("move")}function N(t){if(n=t,!y.length)return;const e=r(t),o=a(t);if(S=e.length,i=l(o),o.length&&z(l(o)),E=[...b],b=[...e],y=[...e],S>0)_("end"),w=!1,x=!1,F=[];else{const t=m.swipeThreshold;(Math.abs(P)>t||Math.abs(R)>t)&&(x=!0),w&&_("panend"),x&&_("swipe"),w||x||T||(_("tap"),O?_("doubleTap"):g=setTimeout(function(){_("singleTap")},250)),_("end"),H()}}function $(){clearTimeout(g),H(),w&&_("panend"),_("end")}function H(){h=!1,w=!1,x=!1,O=!1,S=0,F=[],b=[],E=[],y=[],M=0,A=0,C=0,k=0,P=0,R=0,j=0,o=void 0,window.removeEventListener("mousemove",q),window.removeEventListener("mouseup",N),window.removeEventListener("blur",$),p||v||(v=setTimeout(()=>{p=!0,v=void 0},100))}function V(t){const e=t.target;h=!1,e&&!t.defaultPrevented&&(p||(u(t),t.stopPropagation()))}const G={init:function(){return t&&(t.addEventListener("click",V,d),t.addEventListener("mousedown",B,d),t.addEventListener("touchstart",B,d),t.addEventListener("touchmove",q,d),t.addEventListener("touchend",N),t.addEventListener("touchcancel",N)),G},on:function(t,e){return function(t,e){I.set(t,[...I.get(t)||[],e])}(t,e),G},off:function(t,e){return I.has(t)&&I.set(t,I.get(t).filter(t=>t!==e)),G},isPointerDown:()=>S>0,destroy:function(){clearTimeout(g),clearTimeout(v),v=void 0,t&&(t.removeEventListener("click",V,d),t.removeEventListener("mousedown",B,d),t.removeEventListener("touchstart",B,d),t.removeEventListener("touchmove",q,d),t.removeEventListener("touchend",N),t.removeEventListener("touchcancel",N)),t=null,H()}};return G};g.isClickAllowed=()=>p,n.d(e,["v3",0,g])},6501(t,e,n){n.d(e,{K:()=>h});var i=n(7424),o=n(2515);const s=function(t){for(const e of u)e.getState()===r.Running&&e.tick(f?t-f:0);f=t,d=window.requestAnimationFrame(s)};var r,a,l,c;(c=r||(r={}))[c.Initializing=0]="Initializing",c[c.Running=1]="Running",c[c.Paused=2]="Paused",c[c.Completed=3]="Completed",c[c.Destroyed=4]="Destroyed",function(t){t[t.Spring=0]="Spring",t[t.Ease=1]="Ease"}(a||(a={})),function(t){t[t.Loop=0]="Loop",t[t.Reverse=1]="Reverse"}(l||(l={}));const u=new Set;let d=null,f=0;function h(){let t=r.Initializing,e=a.Ease,n=0,c=0,f=h.Easings.Linear,p=500,g=0,v=0,m=0,y=0,b=1/0,E=.01,w=.01,x=!1,T={},O=null,L={},S={},M={},A=0,C=0,k=l.Loop,P=h.Easings.Linear;const R=new Map;function j(t,...e){for(const n of R.get(t)||[])n(...e)}function F(t){return c=0,t?O=setTimeout(()=>{I()},t):I(),D}function I(){t=r.Running,j("start",L,S)}function _(){if(t=r.Completed,M={},j("end",L),t===r.Completed)if(n<A){if(n++,k===l.Reverse){const t=Object.assign({},T);T=Object.assign({},S),S=t}F(C)}else n=0;return D}const D={getState:function(){return t},easing:function(t){return f=t,e=a.Ease,M={},D},duration:function(t){return p=t,D},spring:function(t={}){e=a.Spring;const{velocity:n,mass:i,tension:o,friction:s,restDelta:r,restSpeed:l,maxSpeed:c,clamp:u}=Object.assign(Object.assign({},{velocity:0,mass:1,tension:170,friction:26,restDelta:.1,restSpeed:.1,maxSpeed:1/0,clamp:!0}),t);return g=n,v=i,m=o,y=s,w=r,E=l,b=c,x=u,M={},D},isRunning:function(){return t===r.Running},isSpring:function(){return e===a.Spring},from:function(t){return L=Object.assign({},t),D},to:function(t){return S=t,D},repeat:function(t,e=0,n=l.Loop,i){return A=t,C=e,k=n,P=i||f,D},on:function(t,e){var n,i;return n=t,i=e,R.set(n,[...R.get(n)||[],i]),D},off:function(t,e){var n,i;return n=t,i=e,R.has(n)&&R.set(n,R.get(n).filter(t=>t!==i)),D},start:function(e){return(0,o.n)(L,S)||(t=r.Initializing,T=Object.assign({},L),u.add(this),d||(d=window.requestAnimationFrame(s)),F(e)),D},pause:function(){return O&&(clearTimeout(O),O=null),t===r.Running&&(t=r.Paused,j("pause",L)),D},end:_,tick:function(n){n>50&&(n=50),c+=n;let s=0,u=!1;if(t!==r.Running)return D;if(e===a.Ease){s=(0,i.q)(0,c/p,1),u=1===s;const t=k===l.Reverse?P:f;for(const e in L)L[e]=T[e]+(S[e]-T[e])*t(s)}if(e===a.Spring){const t=.001*n;let e=0;for(const n in L){const o=S[n];let s=L[n];if("number"!=typeof o||isNaN(o)||"number"!=typeof s||isNaN(s))continue;if(Math.abs(o-s)<=w){L[n]=o,M[n]=0;continue}M[n]||("object"==typeof g&&"number"==typeof g[n]?M[n]=g[n]:M[n]="number"==typeof g?g:0);let r=M[n];r=(0,i.q)(-1*Math.abs(b),r,Math.abs(b));const a=r*v*y;r+=((s>
1o?-1:1)*(Math.abs(o-s)*m)-a)/v*t,s+=r*t;const l=L[n]>o?s<o:s>o;let c=Math.abs(r)<E&&Math.abs(o-s)<=w;x&&l&&(c=!0),c?(s=o,r=0):e++,L[n]=s,M[n]=r}u=!e}const d=Object.assign({},S);return j("step",L,T,S,s),u&&t===r.Running&&(0,o.n)(S,d)&&(t=r.Completed,_()),D},getStartValues:function(){return T},getCurrentValues:function(){return L},getCurrentVelocities:function(){return M},getEndValues:function(){return S},destroy:function(){t=r.Destroyed,O&&(clearTimeout(O),O=null),T=L=S={},u.delete(this)}};return D}h.destroy=()=>{for(const t of u)t.destroy();d&&(cancelAnimationFrame(d),d=null)},h.Easings={Linear:function(t){return t},EaseIn:function(t){return 0===t?0:Math.pow(2,10*t-10)},EaseOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},EaseInOut:function(t){return 0===t?0:1===t?1:t<.5?Math.pow(2,20*t-10)/2:(2-Math.pow(2,-20*t+10))/2}}},4181(t,e,n){n.d(e,["c",0,{IMAGE_ERROR:"This image couldn't be loaded. <br /> Please try again later.",MOVE_UP:"Move up",MOVE_DOWN:"Move down",MOVE_LEFT:"Move left",MOVE_RIGHT:"Move right",ZOOM_IN:"Zoom in",ZOOM_OUT:"Zoom out",TOGGLE_FULL:"Toggle zoom level",TOGGLE_1TO1:"Toggle zoom level",ITERATE_ZOOM:"Toggle zoom level",ROTATE_CCW:"Rotate counterclockwise",ROTATE_CW:"Rotate clockwise",FLIP_X:"Flip horizontally",FLIP_Y:"Flip vertically",RESET:"Reset",TOGGLE_FS:"Toggle fullscreen"}])},779(t,e,n){n.d(e,["y",0,{IMAGE_ERROR:"Image introuvable",MOVE_UP:"Déplacer vers le haut",MOVE_DOWN:"Déplacer vers le bas",MOVE_LEFT:"Déplacer vers la gauche",MOVE_RIGHT:"Déplacer vers la droite",ZOOM_IN:"Zoom avant",ZOOM_OUT:"Zoom arrière",TOGGLE_FULL:"Basculer le niveau de zoom",TOGGLE_1TO1:"Basculer le niveau de zoom",ITERATE_ZOOM:"Basculer le niveau de zoom",ROTATE_CCW:"Tourner dans le sens antihoraire",ROTATE_CW:"Le sens des aiguilles d'une montre",FLIP_X:"Retourner horizontalement",FLIP_Y:"Retourner verticalement",RESET:"Réinitialiser",TOGGLE_FS:"Basculer en plein écran"}])},334(t,e,n){n.d(e,{BE:()=>y});var i=n(4590),o=n(7135),s=n(1186),r=n(88),a=n(7424),l=n(6501),c=n(804),u=n(4181),d=n(7178),f=n(6579),h=n(8847),p=n(2515);const g=t=>{t.cancelable&&t.preventDefault()},v=(t,e=1e4)=>(t=parseFloat(t+"")||0,Math.round((t+Number.EPSILON)*e)/e),m=t=>t instanceof HTMLImageElement;var y,b,E;(E=y||(y={})).Reset="reset",E.Zoom="zoom",E.ZoomIn="zoomIn",E.ZoomOut="zoomOut",E.ZoomTo="zoomTo",E.ToggleCover="toggleCover",E.ToggleFull="toggleFull",E.ToggleMax="toggleMax",E.IterateZoom="iterateZoom",E.Pan="pan",E.Swipe="swipe",E.Move="move",E.MoveLeft="moveLeft",E.MoveRight="moveRight",E.MoveUp="moveUp",E.MoveDown="moveDown",E.RotateCCW="rotateCCW",E.RotateCW="rotateCW",E.FlipX="flipX",E.FlipY="flipY",E.ToggleFS="toggleFS",function(t){t.Cover="cover",t.Full="full",t.Max="max"}(b||(b={}));const w={x:0,y:0,scale:1,angle:0,flipX:1,flipY:1},x={bounds:!0,classes:{container:"f-panzoom",wrapper:"f-panzoom__wrapper",content:"f-panzoom__content",viewport:"f-panzoom__viewport"},clickAction:y.ToggleFull,dblClickAction:!1,gestures:{},height:"auto",l10n:u.c,maxScale:4,minScale:1,mouseMoveFactor:1,panMode:"drag",protected:!1,singleClickAction:!1,spinnerTpl:'<div class="f-spinner"></div>',wheelAction:y.Zoom,width:"auto"};let T,O=0,L=0,S=0;const M=(t,e={},n={})=>{let u,b,E,M,A,C,k,P,R=0,j=Object.assign(Object.assign({},x),e),F={},I=Object.assign({},w),_=Object.assign({},w);const D=[];function z(t){let e=j[t];return e&&"function"==typeof e?e(xt):e}function B(){return t&&t.parentElement&&u&&3===R}const q=new Map;function N(t,...e){const n=[...q.get(t)||[]];j.on&&n.push(j.on[t]);for(const t of n)t&&"function"==typeof t&&t(xt,...e);"*"!==t&&N("*",t,...e)}function $(t){if(!B())return;const e=t.target;if((0,s.U)(e))return;const n=Date.now(),i=[-t.deltaX||0,-t.deltaY||0,-t.detail||0].reduce(function(t,e){return Math.abs(e)>Math.abs(t)?e:t}),o=(0,a.q)(-1,i,1);N("wheel",t,o);const r=z("wheelAction");if(!r)return;if(t.defaultPrevented)return;const l=_.scale;let c=l*(o>0?1.5:.5);if(r===y.Zoom){const e=Math.abs(t.deltaY)<100&&Math.abs(t.deltaX)<100;if(n-L<(e?200:45))return void g(t);L=n;const i=tt(),s=it();if(v(c)<v(i)&&v(l)<=v(i)?(S+=Math.abs(o),c=i):v(c)>v(s)&&v(l)>=v(s)?(S+=Math.abs(o),c=s):(S=0,c=(0,a.q)(i,c,s)),S>7)return}switch(g(t),r){case y.Pan:at(r,{srcEvent:t,deltaX:2*-t.deltaX,deltaY:2*-t.deltaY});break;case y.Zoom:at(y.ZoomTo,{srcEvent:t,scale:c,center:{x:t.clientX,y:t.clientY}});break;default:at(r,{srcEvent:t})}}function H(e){var n,i;const s=e.composedPath()[0];
1if(!c.v3.isClickAllowed())return;if(!(0,o.L)(s)||e.defaultPrevented)return;if(!(null==t?void 0:t.contains(s)))return;if(s.hasAttribute("disabled")||s.hasAttribute("aria-disabled")||s.hasAttribute("data-carousel-go-prev")||s.hasAttribute("data-carousel-go-next"))return;const r=s.closest("[data-panzoom-action]"),a=null===(n=null==r?void 0:r.dataset)||void 0===n?void 0:n.panzoomAction,l=(null===(i=null==r?void 0:r.dataset)||void 0===i?void 0:i.panzoomValue)||"";if(a){switch(g(e),a){case y.ZoomTo:case y.ZoomIn:case y.ZoomOut:at(a,{scale:parseFloat(l||"")||void 0});break;case y.MoveLeft:case y.MoveRight:at(a,{deltaX:parseFloat(l||"")||void 0});break;case y.MoveUp:case y.MoveDown:at(a,{deltaY:parseFloat(l||"")||void 0});break;case y.ToggleFS:Et();break;default:at(a)}return}if(!(null==u?void 0:u.contains(s)))return;const d={srcEvent:e};if(at(z("clickAction"),d),z("dblClickAction")){const t=Date.now(),e=t-(O||t);O=t,e>0&&e<=250?(T&&(clearTimeout(T),T=void 0),at(z("dblClickAction"),d)):T=setTimeout(()=>{at(z("singleClickAction"),d)},250)}}function V(t){if(P=t,!B()||!Y())return;if(I.scale<=1||_.scale<=1)return;if(((null==u?void 0:u.dataset.animationName)||"").indexOf("zoom")>-1)return;const e=Q(_.scale);if(!e)return;const{x:n,y:i}=e;at(y.Pan,{deltaX:n-_.x,deltaY:i-_.y})}function G(){var e;t&&((0,f.v)(t,"is-loading"),null===(e=t.querySelector(".f-spinner"))||void 0===e||e.remove())}function W(){if(!t||!b)return;if(G(),m(b)&&(!b.complete||!b.naturalWidth))return R=2,null==u||u.classList.add("has-error"),void N("error");N("loaded");const{width:e,height:n}=Z();m(b)&&(b.setAttribute("width",e+""),b.setAttribute("height",n+"")),u&&((0,f.v)(u,"has-error"),m(b)&&(u.setAttribute("width",e+""),u.setAttribute("height",n+""),u.style.aspectRatio=`${e/n||""}`)),C=(0,l.K)().on("start",(t,e)=>{void 0!==e.angle&&(e.angle=90*Math.round(e.angle/90)),void 0!==e.flipX&&(e.flipX=e.flipX>0?1:-1),void 0!==e.flipY&&(e.flipY=e.flipY>0?1:-1),_=Object.assign(Object.assign({},w),e),rt(),N("animationStart")}).on("pause",t=>{_=Object.assign(Object.assign({},w),t)}).on("step",t=>{if(!B())return void(null==C||C.end());if(I=Object.assign(Object.assign({},w),t),Y()||!z("bounds")||mt()||_.scale>I.scale||_.scale<et())return void lt();const e=ot(_.scale);let n=!1,i=!1,o=!1,s=!1;I.x<e.x[0]&&(n=!0),I.x>e.x[1]&&(i=!0),I.y<e.y[0]&&(s=!0),I.y>e.y[1]&&(o=!0);let r=!1,l=!1,c=!1,u=!1;_.x<e.x[0]&&(r=!0),_.x>e.x[1]&&(l=!0),_.y<e.y[0]&&(u=!0),_.y>e.y[1]&&(c=!0);let d=!1;(i&&l||n&&r)&&(_.x=(0,a.q)(e.x[0],_.x,e.x[1]),d=!0),(o&&c||s&&u)&&(_.y=(0,a.q)(e.y[0],_.y,e.y[1]),d=!0),d&&C&&C.spring({tension:94,friction:17,maxSpeed:555*_.scale,restDelta:.1,restSpeed:.1,velocity:C.getCurrentVelocities()}).from(I).to(_).start(),lt()}).on("end",()=>{(null==A?void 0:A.isPointerDown())||st(),(null==C?void 0:C.isRunning())||(rt(),N("animationEnd"))}),function(){const t=z("gestures");if(!t)return;if(!M||!b)return;let e=!1;A=(0,c.v3)(M,t).on("start",t=>{if(!z("gestures"))return;if(!C)return;if(!B()||Y())return;const n=t.srcEvent;(I.scale>1||vt(I.angle)||t.currentTouch.length>1)&&(null==n||n.stopPropagation(),C.pause(),e=!0),1===t.currentTouch.length&&N("touchStart")}).on("move",t=>{var n;e&&(1!==_.scale||vt(_.angle)||t.currentTouch.length>1)&&(g(t.srcEvent),null===(n=t.srcEvent)||void 0===n||n.stopPropagation())}).on("pan",t=>{if(!e)return;const n=t.srcEvent;(1!==_.scale||vt(_.angle)||t.currentTouch.length>1)&&(g(n),at(y.Pan,t))}).on("swipe",t=>{e&&(_.scale>1||vt(_.angle))&&at(y.Swipe,t)}).on("tap",t=>{N("click",t)}).on("singleTap",t=>{N("singleClick",t)}).on("doubleTap",t=>{N("dblClick",t)}).on("pinch",t=>{e&&(t.scale>et()?at(y.ZoomIn,t):t.scale<et()?at(y.ZoomOut,t):at(y.Pan,t))}).on("end",t=>{e&&(t.currentTouch.length?(t.srcEvent.stopPropagation(),g(t.srcEvent),null==C||C.end()):(e=!1,rt(),st(),N("touchEnd")))}).init()}(),M&&(M.addEventListener("wheel",$,{passive:!1}),D.push(()=>{null==M||M.removeEventListener("wheel",$,{passive:!1})})),null==t||t.addEventListener("click",H),null===document||void 0===document||document.addEventListener("mousemove",V),D.push(()=>{null==t||t.removeEventListener("click",H),null===document||void 0===document||document.removeEventListener("mousemove",V)});const i=K();I=Object.assign({},i),_=Object.assign({},i),R=3,lt(),rt(),N("ready"),requestAnimationFrame(()=>{3===R&&(G(),M&&(M.style.visibility=""))})}function K(){const t=Object.assign({},z("startPos")||{});let e=t.scale,n=1;n="string"==typeof e?J(e):"number"==typeof e?e:et();const i=Object.assign(Object.assign(Object.assign({},w),t),{scale:n}),o=Y()?Q(n):void 0;if(o){const{x:t,y:e}=o;i.x=t,i.y=e}return i}function X(){const t={top:0,left:0,width:0,height:0};if(u){const e=u.getBoundingClientRect();vt(_.angle)?(t.top=e.top+.5*e.height-.5*e.width,t.left=e.left+.5*e.width-.5*e.height,t.width=e.height,t.height=e.width):(t.top=e.top,t.left=e.left,t.width=e.width,t.height=e.height)}return t}function Z(){let t=z("width"),e=z("height");if(b&&"auto"===t){const e=b.getAttribute("width");t=e?parseFloat(e+""):void 0!==b.dataset.width?parseFloat(b.dataset.width+""):m(M)?M.naturalWi
1dth:m(b)?b.naturalWidth:(null==u?void 0:u.getBoundingClientRect().width)||0}else t=(0,i.K)(t)?parseFloat(t):t;if(b&&"auto"===e){const t=b.getAttribute("height");e=t?parseFloat(t+""):void 0!==b.dataset.height?parseFloat(b.dataset.height+""):m(M)?M.naturalHeight:m(b)?b.naturalHeight:(null==u?void 0:u.getBoundingClientRect().height)||0}else e=(0,i.K)(e)?parseFloat(e):e;return{width:t,height:e}}function U(){const t=X();return{width:t.width,height:t.height}}function Y(){return"mousemove"===z("panMode")&&matchMedia("(hover: hover)").matches}function Q(t){const e=P||z("event"),n=null==u?void 0:u.getBoundingClientRect();if(!e||!n||t<=1)return{x:0,y:0};const i=(e.clientX||0)-n.left,o=(e.clientY||0)-n.top,{width:s,height:r}=U(),l=ot(t);if(t>1){const e=z("mouseMoveFactor");e>1&&(t*=e)}let c=s*t,d=r*t,f=.5*(c-s)-i/s*100/100*(c-s),h=.5*(d-r)-o/r*100/100*(d-r);return f=(0,a.q)(l.x[0],f,l.x[1]),h=(0,a.q)(l.y[0],h,l.y[1]),{x:f,y:h}}function J(e){if(!e)return _.scale;if(!t)return 1;const n=t.getBoundingClientRect(),i=X(),{width:o,height:s}=Z(),r=t=>{if("number"==typeof t)return t;switch(t){case"min":case"base":return 1;case"cover":return Math.max(n.height/i.height,n.width/i.width)||1;case"full":case"max":{const t=vt(_.angle)?s:o;return t&&i.width?t/i.width:1}}},l=z("minScale"),c=z("maxScale"),u=Math.min(r("full"),r(l)),d="number"==typeof c?r("full")*c:Math.min(r("full"),r(c));switch(e){case"min":return u;case"base":return(0,a.q)(u,1,d);case"cover":return r("cover");case"full":return Math.min(d,r("full"));case"max":return d}}function tt(){return J("min")}function et(){return J("base")}function nt(){return J("full")}function it(){return J("max")}function ot(e){const n={x:[0,0],y:[0,0]},i=null==t?void 0:t.getBoundingClientRect();if(!i)return n;const o=X(),s=i.width,r=i.height;let a=o.width,l=o.height,c=e=void 0===e?_.scale:e,u=e;if(Y()&&e>1){const t=z("mouseMoveFactor");t>1&&(a*e>s+.01&&(c*=t),l*e>r+.01&&(u*=t))}if(a*=c,l*=u,a>s){n.x[0]=.5*(s-a),n.x[1]=.5*(a-s);const t=.5*(o.left-i.left),e=.5*(o.left+o.width-i.right);n.x[0]-=t+e,n.x[1]-=t+e}if(l>r){n.y[0]=.5*(r-l),n.y[1]=.5*(l-r);const t=.5*(o.top-i.top),e=.5*(o.top+o.height-i.bottom);n.y[0]-=t+e,n.y[1]-=t+e}return n}function st(){if(!B())return;if(!z("bounds"))return;if(!C)return;const t=tt(),e=it(),n=(0,a.q)(t,_.scale,e);if(_.scale<t-.01||_.scale>e+.01)return void at(y.ZoomTo,{scale:n});if(C.isRunning())return;if(mt())return;const i=ot(n);_.x<i.x[0]||_.x>i.x[1]||_.y<i.y[0]||_.y>i.y[1]?(_.x=(0,a.q)(i.x[0],_.x,i.x[1]),_.y=(0,a.q)(i.y[0],_.y,i.y[1]),C.spring({tension:170,friction:17,restDelta:.001,restSpeed:.001,maxSpeed:1/0,velocity:C.getCurrentVelocities()}),C.from(I).to(_).start()):lt()}function rt(e){var n;if(!B())return;const i=gt(),o=mt(),s=yt(),r=bt(),a=ut(),l=dt();(0,h.p)(u,"is-fullsize",r),(0,h.p)(u,"is-expanded",s),(0,h.p)(u,"is-dragging",o),(0,h.p)(u,"can-drag",i),(0,h.p)(u,"will-zoom-in",a),(0,h.p)(u,"will-zoom-out",l);const c=ht(),d=pt(),f=ft(),p=!B();for(const i of(null===(n=e||t)||void 0===n?void 0:n.querySelectorAll("[data-panzoom-action]"))||[]){const t=i.dataset.panzoomAction;let e=!1;if(p)e=!0;else switch(t){case y.ZoomIn:c||(e=!0);break;case y.ZoomOut:f||(e=!0);break;case y.ToggleFull:{d||f||(e=!0);const t=i.querySelector("g");t&&(t.style.display=r&&!e?"none":"");break}case y.IterateZoom:{c||f||(e=!0);const t=i.querySelector("g");t&&(t.style.display=c||e?"":"none");break}case y.ToggleCover:case y.ToggleMax:c||f||(e=!0)}e?(i.setAttribute("aria-disabled",""),i.setAttribute("tabindex","-1")):(i.removeAttribute("aria-disabled"),i.removeAttribute("tabindex"))}}function at(e,n){var i;if(!(e&&t&&b&&C&&B()))return;if(e===y.Swipe&&Math.abs(C.getCurrentVelocities().scale)>.01)return;const o=Object.assign({},_);let s=Object.assign({},_),r=ot(Y()?o.scale:I.scale);const l=C.getCurrentVelocities(),u=X(),d=((null===(i=(n=n||{}).currentTouch)||void 0===i?void 0:i.length)||0)>1,f=n.velocityX||0,h=n.velocityY||0;let g=n.center;n.srcEvent&&(g=(0,c.t9)((0,c.Gn)(n.srcEvent)));let v=n.deltaX||0,m=n.deltaY||0;switch(e){case y.MoveRight:v=n.deltaX||100;break;case y.MoveLeft:v=n.deltaX||-100;break;case y.MoveUp:m=n.deltaY||-100;break;case y.MoveDown:m=n.deltaY||100}let E=[];if("number"==typeof e)s.scale=e;else switch(e){case y.Reset:s=Object.assign({},w),s.scale=et();break;case y.ZoomTo:case y.ZoomIn:case y.ZoomOut:case y.ToggleCover:case y.ToggleFull:case y.ToggleMax:case y.IterateZoom:case y.Zoom:s.scale=ct(e,n);break;case y.Pan:case y.Move:case y.MoveLeft:case y.MoveRight:case y.MoveUp:case y.MoveDown:if(mt()){let t=1,e=1;s.x<=r.x[0]&&f<=0&&(t=Math.max(.01,1-Math.abs(1/u.width*Math.abs(s.x-r.x[0]))),t*=.2),s.x>=r.x[1]&&f>=0&&(t=Math.max(.01,1-Math.abs(1/u.width*Math.abs(s.x-r.x[1]))),t*=.2),s.y<=r.y[0]&&h<=0&&(e=Math.max(.01,1-Math.abs(1/u.height*Math.abs(s.y-r.y[0]))),e*=.2),s.y>=r.y[1]&&h>=0&&(e=Math.max(.01,1-Math.abs(1/u.height*Math.abs(s.y-r.y[1]))),e*=.2),s.x+=v*t,s.y+=m*e}else s.x=(0,a.q)(r.x[0],s.x+v,r.x[1]),s.y=(0,a.q)(r.y[0],s.y+m,r.y[1]);break;case y.Swipe:const t=(t=0)=>
1Math.sign(t)*Math.pow(Math.abs(t),1.5);s.x+=(0,a.q)(-1e3,t(f),1e3),s.y+=(0,a.q)(-1e3,t(h),1e3),h&&!f&&(s.x=(0,a.q)(r.x[0],s.x,r.x[1])),!h&&f&&(s.y=(0,a.q)(r.y[0],s.y,r.y[1])),l.x=f,l.y=h;break;case y.RotateCW:s.angle+=90;break;case y.RotateCCW:s.angle-=90;break;case y.FlipX:s.flipX*=-1;break;case y.FlipY:s.flipY*=-1}if(void 0!==I.angle&&Math.abs(I.angle)>=360&&(s.angle-=360*Math.floor(I.angle/360),I.angle-=360*Math.floor(I.angle/360)),E.length){const t=E.findIndex(t=>t>s.scale+1e-4);s.scale=E[t]||E[0]}if(d&&(s.scale=(0,a.q)(tt()*(d?.8:1),s.scale,it()*(d?1.6:1))),Y()){const t=Q(s.scale);if(t){const{x:e,y:n}=t;s.x=e,s.y=n}}else if(Math.abs(s.scale-o.scale)>1e-4){let e=0,n=0;if(g)e=g.x,n=g.y;else{const i=t.getBoundingClientRect();e=i.x+.5*i.width,n=i.y+.5*i.height}let i=e-u.left,l=n-u.top;i-=.5*u.width,l-=.5*u.height;const c=(i-o.x)/o.scale,f=(l-o.y)/o.scale;s.x=i-c*s.scale,s.y=l-f*s.scale,!d&&z("bounds")&&(r=ot(s.scale),s.x=(0,a.q)(r.x[0],s.x,r.x[1]),s.y=(0,a.q)(r.y[0],s.y,r.y[1]))}if(e===y.Swipe){let t=94,e=17,n=500*s.scale,i=l;C.spring({tension:t,friction:e,maxSpeed:n,restDelta:.1,restSpeed:.1,velocity:i})}else e===y.Pan||d?C.spring({tension:900,friction:17,restDelta:.01,restSpeed:.01,maxSpeed:1}):C.spring({tension:170,friction:17,restDelta:.001,restSpeed:.001,maxSpeed:1/0,velocity:l});if(0===n.velocity||(0,p.n)(I,s))I=Object.assign({},s),_=Object.assign({},s),C.end(),lt(),rt();else{if((0,p.n)(_,s))return;C.from(I).to(s).start()}N("action",e)}function lt(){if(!b||!u||!M)return;const{width:e,height:n}=Z();Object.assign(u.style,{maxWidth:`min(${e}px, 100%)`,maxHeight:`min(${n}px, 100%)`});const i=function(){const{width:e,height:n}=Z(),{width:i,height:o}=U();if(!t)return{x:0,y:0,width:0,height:0,scale:0,flipX:0,flipY:0,angle:0,fitWidth:i,fitHeight:o,fullWidth:e,fullHeight:n};let{x:s,y:r,scale:a,angle:l,flipX:c,flipY:u}=I,d=1/nt(),f=e,h=n,p=I.scale*d,g=_.scale*d;const v=Math.max(i,o),m=Math.min(i,o);e>n?(f=v,h=m):(f=m,h=v),p=e>n?v*a/e||1:v*a/n||1;let y=f?e*g:0,b=h?n*g:0;return s=s+.5*f-.5*y,r=r+.5*h-.5*b,{x:s,y:r,width:y,height:b,scale:f&&h?e*p/y:0,flipX:c,flipY:u,angle:l,fitWidth:i,fitHeight:o,fullWidth:e,fullHeight:n}}(),{x:o,y:s,width:r,height:a,scale:l,angle:c,flipX:d,flipY:f}=i;let h=`translate(${v(o,100)}px, ${v(s,100)}px)`;h+=1!==d||1!==f?` scaleX(${v(l*d)}) scaleY(${v(l*f)})`:` scale(${v(l)})`,0!==c&&(h+=` rotate(${c}deg)`),M.style.width=`${v(r)}px`,M.style.height=`${v(a)}px`,M.style.transform=`${h}`,N("render")}function ct(t=z("clickAction"),e={}){let n=_.scale,i=et(),o=[];if("number"==typeof t)i=t;else if(t){switch(t){case y.ZoomTo:i=e.scale||1;break;case y.ZoomIn:i=n*(e.scale||2);break;case y.ZoomOut:i=n*(e.scale||.5);break;case y.ToggleCover:o=[et(),J("cover")];break;case y.ToggleFull:o=[et(),nt()];break;case y.ToggleMax:o=[et(),it()];break;case y.IterateZoom:o=[et(),nt(),it()];break;case y.Zoom:{const t=nt();i=n>=t-.05?et():Math.min(t,n*(e.scale||2));break}}if(o.length){const t=o.find(t=>t>n+1e-4);i=null!=t?t:et()}}return t!==y.ZoomTo&&(i=(0,a.q)(tt(),i,it())),i}function ut(){return!!(B()&&ct()>_.scale)}function dt(){return!!(B()&&ct()<_.scale)}function ft(){return!!(B()&&_.scale>tt())}function ht(){return!!(B()&&_.scale<it())}function pt(){return!!(B()&&_.scale<nt())}function gt(){return!(!B()||!yt()&&!vt(_.angle)||!A||Y())}function vt(t){return 90===Math.abs(t%180)}function mt(){return!(!B()||!(null==A?void 0:A.isPointerDown())||Y())}function yt(){return!!(B()&&_.scale>et())}function bt(){return!!(B()&&_.scale>=nt())}function Et(){const e="in-fullscreen",n="with-panzoom-in-fullscreen";null==t||t.classList.toggle(e);const i=null==t?void 0:t.classList.contains(e);i?(document.documentElement.classList.add(n),document.addEventListener("keydown",wt,!0)):(document.documentElement.classList.remove(n),document.removeEventListener("keydown",wt,!0)),lt(),N(i?"enterFS":"exitFS")}function wt(t){"Escape"!==t.key||t.defaultPrevented||Et()}const xt={canDrag:gt,canZoomIn:ht,canZoomOut:ft,canZoomToFull:pt,destroy:function(){N("destroy");for(const t of Object.values(F))null==t||t.destroy(xt);for(const t of D)t();return u&&(u.style.aspectRatio="",u.style.maxWidth="",u.style.maxHeight=""),M&&(M.style.width="",M.style.height="",M.style.transform=""),u=void 0,b=void 0,M=void 0,I=Object.assign({},w),_=Object.assign({},w),null==C||C.destroy(),C=void 0,null==A||A.destroy(),A=void 0,R=4,xt},emit:N,execute:at,getBoundaries:ot,getContainer:function(){return t},getContent:function(){return b},getFullDim:Z,getGestures:function(){return A},getMousemovePos:Q,getOptions:function(){return j},getPlugins:function(){return F},getScale:J,getStartPosition:K,getState:function(){return R},getTransform:function(t){return!0===t?_:I},getTween:function(){return C},getViewport:function(){return M},getWrapper:function(){return u},init:function(){return R=0,N("init"),function(){for(const[t,e]of Object.entries(Object.assign(Object.assign({},n),j.plugins||{})))if(t&&!F[t]&&e instanceof Function){const n=e();n.init(xt),F[t]=n}N("initPlugins")}(),function(){var e,n,i;const o=Object.assign(Object.assign({},x.classes),z("classes")),s=null===(e=o.content)||void 0===e?void 0:e.split(" ").shift(),r=null===(n=o.wrapper)||void 0===n?void 0:n.split(" ").shift(),a=null===(i=o.viewport)||void 0===i?void 0:i.split(" ").shift();if(s&&r&&a&&t&&((0,d.i)(t,o.container),b=t.querySelector(`.${s}:not(.is-clone)`),b)){if(b.setAttribute("draggable","false"),u=t.querySelector(`.${r}`),u||(u=document.createElement("div"),(0,d.i)(u,o.wrapper),b.insertAdjacentElement("beforebegin",u),u.insertAdjacentElement("afterbegin",b)),M=t.querySelector(`.${a}`),M||(M=document.createElement("div"),(0,d.i)(M,o.viewport),u.insertAdjacentElement("beforeend",M)),M.contains(b)||M.insertAdjacentElement("afterbegin",b),E=t.querySelector(`.${s}.is-clone`),E||(E=b.cloneNode(!0),E.removeAttribute("id"),(0,d.i)(E,"is-clone"),u.insertAdjacentElement("afterbegin",E)),b instanceof HTMLPictureElement&&(b=b.querySelector("img")),E instanceof HTMLPictureElement&&(E=E.querySelector("img")),M instanceof HTMLPictureElement&&(M=M.querySelector("img")),M&&(M.style.visibility="hidden",z("protected"))){M.addEventListener("contextmenu",t=>{g(t)});const t=document.createElement("div");(0,d.i)(t,"f-panzoom__protected"),M.appendChild(t)}N("initLayout")}}(),function(){if(t&&u&&!k){let t=null;k=new ResizeObserver(()=>{B()&&(t=t||requestAnimationFrame(()=>{B()&&(rt(),st(),N("refresh")),t=null}))}),k.observe(u),D.push(()=>{null==k||k.disconnect(),k=void 0,t&&(cancelAnimationFrame(t),t=null)})}}(),function(){if(!t||!b)return;if(!m(b)||!m(E))return void W();const e=()=>{b&&m(b)&&b.decode().then(()=>{W()}).catch(()=>{W()})};R=1,t.classList.add("is-loading"),N("loading"),E.src&&E.complete?e():(function(){if(!t)return;if(null==t?void 0:t.querySelector(".f-spinner"))return;const e=z("spinnerTpl"),n=(0,r.K)(e);n&&(n.classList.add("f-spinner"),t.classList.add("is-loading"),null==u||u.insertAdjacentElement("afterbegin",n))}(),E.addEventListener("load",e,!1),E.addEventListener("error",e,!1),D.push(()=>{null==E||E.removeEventListener("load",e,!1),null==E||E.removeEventListener("error",e,!1)}))}(),xt}
1,isDragging:mt,isExpanded:yt,isFullsize:bt,isMousemoveMode:Y,localize:function(t,e=[]){const n=z("l10n")||{};t=String(t).replace(/\{\{(\w+)\}\}/g,(t,e)=>n[e]||t);for(let n=0;n<e.length;n++)t=t.split(e[n][0]).join(e[n][1]);return t.replace(/\{\{(.*?)\}\}/g,(t,e)=>e)},off:function(t,e){for(const n of t instanceof Array?t:[t])q.has(n)&&q.set(n,q.get(n).filter(t=>t!==e));return xt},on:function(t,e){for(const n of t instanceof Array?t:[t])q.set(n,[...q.get(n)||[],e]);return xt},toggleFS:Et,updateControls:rt,version:"6.1.14",willZoomIn:ut,willZoomOut:dt};return xt};M.l10n={en_EN:u.c},M.getDefaults=()=>x,n.d(e,["EH",0,w,"F9",0,M])},4130(t,e,n){const i='<circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M8 11h6"/>',o='<g><line x1="11" y1="8" x2="11" y2="14"></line></g>'+i,s={moveLeft:["moveLeft","MOVE_LEFT",'<path d="M5 12h14M5 12l6 6M5 12l6-6"/>'],moveRight:["moveRight","MOVE_RIGHT",'<path d="M5 12h14M13 18l6-6M13 6l6 6"/>'],moveUp:["moveUp","MOVE_UP",'<path d="M12 5v14M18 11l-6-6M6 11l6-6"/>'],moveDown:["moveDown","MOVE_DOWN",'<path d="M12 5v14M18 13l-6 6M6 13l6 6"/>'],zoomOut:["zoomOut","ZOOM_OUT",i],zoomIn:["zoomIn","ZOOM_IN",o],toggleFull:["toggleFull","TOGGLE_FULL",o],iterateZoom:["iterateZoom","ITERATE_ZOOM",o],toggle1to1:["toggleFull","TOGGLE_FULL",'<path d="M3.51 3.07c5.74.02 11.48-.02 17.22.02 1.37.1 2.34 1.64 2.18 3.13 0 4.08.02 8.16 0 12.23-.1 1.54-1.47 2.64-2.79 2.46-5.61-.01-11.24.02-16.86-.01-1.36-.12-2.33-1.65-2.17-3.14 0-4.07-.02-8.16 0-12.23.1-1.36 1.22-2.48 2.42-2.46Z"/><path d="M5.65 8.54h1.49v6.92m8.94-6.92h1.49v6.92M11.5 9.4v.02m0 5.18v0"/>'],rotateCCW:["rotateCCW","ROTATE_CCW",'<path d="M15 4.55a8 8 0 0 0-6 14.9M9 15v5H4M18.37 7.16v.01M13 19.94v.01M16.84 18.37v.01M19.37 15.1v.01M19.94 11v.01"/>'],rotateCW:["rotateCW","ROTATE_CW",'<path d="M9 4.55a8 8 0 0 1 6 14.9M15 15v5h5M5.63 7.16v.01M4.06 11v.01M4.63 15.1v.01M7.16 18.37v.01M11 19.94v.01"/>'],flipX:["flipX","FLIP_X",'<path d="M12 3v18M16 7v10h5L16 7M8 7v10H3L8 7"/>'],flipY:["flipY","FLIP_Y",'<path d="M3 12h18M7 16h10L7 21v-5M7 8h10L7 3v5"/>'],reset:["reset","RESET",'<path d="M20 11A8.1 8.1 0 0 0 4.5 9M4 5v4h4M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4"/>'],toggleFS:["toggleFS","TOGGLE_FS",'<g><path d="M14.5 9.5 21 3m0 0h-6m6 0v6M3 21l6.5-6.5M3 21v-6m0 6h6"/></g><g><path d="m14 10 7-7m-7 7h6m-6 0V4M3 21l7-7m0 0v6m0-6H4"/></g>']},r={};for(const t of Object.keys(s)){const e=s[t];r[t]={tpl:`<button data-panzoom-action="${e[0]}" class="f-button" title="{{${e[1]}}}"><svg>${e[2]}</svg></button>`}}n.d(e,["q",0,r])},7178(t,e,n){n.d(e,["i",0,(t,e="")=>{t&&t.classList&&e.split(" ").forEach(e=>{e&&t.classList.add(e)})}])},7412(t,e,n){function i(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}n.d(e,{S:()=>i})},7424(t,e,n){n.d(e,["q",0,function(t=0,e=0,n=0){return Math.max(Math.min(e,n),t)}])},2483(t,e,n){var i=n(148);const o=(t,...e)=>{const n=e.length;for(let s=0;s<n;s++){const n=e[s]||{};Object.entries(n).forEach(([e,n])=>{const s=Array.isArray(n)?[]:{};t[e]||Object.assign(t,{[e]:s}),(0,i.Q)(n)?Object.assign(t[e],o(t[e],n)):Array.isArray(n)?Object.assign(t,{[e]:[...n]}):Object.assign(t,{[e]:n})})}return t};n.d(e,["X",0,o])},665(t,e,n){n.d(e,["d",0,(t,e)=>{let n=[];return t.childNodes.forEach(t=>{t.nodeType!==Node.ELEMENT_NODE||e&&!t.matches(e)||n.push(t)}),n}])},1186(t,e,n){const i=function(t,e=void 0){return!t||t===document.body||e&&t===e?null:function(t){if(!(t&&t instanceof Element&&t.offsetParent))return!1;let e=!1,n=!1;if(t.scrollWidth>t.clientWidth){const n=window.getComputedStyle(t).overflowX,i=-1!==n.indexOf("hidden"),o=-1!==n.indexOf("clip"),s=-1!==n.indexOf("visible");e=!i&&!o&&!s}if(t.scrollHeight>t.clientHeight){const e=window.getComputedStyle(t).overflowY,i=-1!==e.indexOf("hidden"),o=-1!==e.indexOf("clip"),s=-1!==e.indexOf("visible");n=!i&&!o&&!s}return e||n}(t)?t:i(t.parentElement,e)};n.d(e,["U",0,i])},2515(t,e,n){n.d(e,{n:()=>s});var i=n(148);function o(t){return(0,i.Q)(t)||Array.isArray(t)}function s(t,e){const n=Object.keys(t),i=Object.keys(e);return n.length===i.length&&n.every(n=>{const i=t[n],r=e[n];return"function"==typeof i?`${i}`==`${r}`:o(i)&&o(r)?s(i,r):i===r})}}
1,7135(t,e,n){n.d(e,["L",0,t=>t&&null!==t&&t instanceof Element&&"nodeType"in t])},148(t,e,n){n.d(e,["Q",0,t=>"object"==typeof t&&null!==t&&t.constructor===Object&&"[object Object]"===Object.prototype.toString.call(t)])},4590(t,e,n){n.d(e,["K",0,t=>"string"==typeof t])},2677(t,e,n){var i=n(7424);n.d(e,["T",0,function(t=0,e=0,n=0,o=0,s=0,r=!1){const a=(t-e)/(n-e)*(s-o)+o;return r?o<s?(0,i.q)(o,a,s):(0,i.q)(s,a,o):a}])},6579(t,e,n){n.d(e,["v",0,(t,e="")=>{t&&t.classList&&e.split(" ").forEach(e=>{e&&t.classList.remove(e)})}])},2004(t,e,n){n.d(e,["y",0,function(t="",e="",n=""){return t.split(e).join(n)}])},5613(t,e,n){n.d(e,["j",0,(t=!0,e="--f-scrollbar-compensate",n="--f-body-margin",i="hide-scrollbar")=>{const o=document,s=o.body,r=o.documentElement;if(t){if(s.classList.contains(i))return;let t=window.innerWidth-r.getBoundingClientRect().width;t<0&&(t=0),r.style.setProperty(e,`${t}px`);const o=parseFloat(window.getComputedStyle(s).marginRight);o&&s.style.setProperty(n,`${o}px`),s.classList.add(i)}else s.classList.remove(i),s.style.setProperty(n,""),o.documentElement.style.setProperty(e,"")}])},88(t,e,n){n.d(e,["K",0,function(t){var e=(new DOMParser).parseFromString(t,"text/html").body;if(e.childElementCount>1){for(var n=document.createElement("div");e.firstChild;)n.appendChild(e.firstChild);return n}let i=e.firstChild;return!i||i instanceof HTMLElement?i:((n=document.createElement("div")).appendChild(i),n)}])},8847(t,e,n){n.d(e,["p",0,(t,e="",n)=>{t&&t.classList&&e.split(" ").forEach(e=>{e&&t.classList.toggle(e,n||!1)})}])},6e3(t,e,n){n.d(e,{$W:()=>Nt,LV:()=>Ft,m_:()=>qt});var i=["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"],o=["mainAxis","crossAxis","limiter"];function s(t,e){if(null==t)return{};var n,i={};for(n in t)if({}.hasOwnProperty.call(t,n)){if(-1!==e.indexOf(n))continue;i[n]=t[n]}return i}function r(){var t,e=(d="function"==typeof Symbol?Symbol:{}).iterator||"@@iterator",n=d.toStringTag||"@@toStringTag";function i(e,n,i,r){var l,c,d,f,h,p,g,v,m;n=n&&n.prototype instanceof s?n:s;return a(n=Object.create(n.prototype),"_invoke",(l=e,c=i,g=r||[],v=!1,m={p:p=0,n:0,v:t,a:y,f:y.bind(t,4),d:function(e,n){return d=e,f=0,h=t,m.n=n,o}},function(e,n,i){if(1<p)throw TypeError("Generator is already running");for(v&&1===n&&y(n,i),f=n,h=i;(u=f<2?t:h)||!v;){d||(f?f<3?(1<f&&(m.n=-1),y(f,h)):m.n=h:m.v=h);try{if(p=2,d){if(u=d[e=f?e:"next"]){if(!(u=u.call(d,h)))throw TypeError("iterator result is not an object");if(!u.done)return u;h=u.value,f<2&&(f=0)}else 1===f&&(u=d.return)&&u.call(d),f<2&&(h=TypeError("The iterator does not provide a '"+e+"' method"),f=1);d=t}else if((u=(v=m.n<0)?h:l.call(c,m))!==o)break}catch(e){d=t,f=1,h=e}finally{p=1}}return{value:u,done:v}}),!0),n;function y(e,n){for(f=e,h=n,u=0;!v&&p&&!i&&u<g.length;u++){var i,s=g[u],r=m.p,a=s[2];3<e?(i=a===n)&&(h=s[(f=s[4])?5:f=3],s[4]=s[5]=t):s[0]<=r&&((i=e<2&&r<s[1])?(f=0,m.v=n,m.n=s[1]):r<a&&(i=e<3||s[0]>n||a<n)&&(s[4]=e,s[5]=n,m.n=a,f=0))}if(i||1<e)return o;throw v=!0,n}}var o={};function s(){}function l(){}function c(){}var u=Object.getPrototypeOf,d=[][e]?u(u([][e]())):(a(u={},e,function(){return this}),u),f=c.prototype=s.prototype=Object.create(d);function h(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,c):(t.__proto__=c,a(t,n,"GeneratorFunction")),t.prototype=Object.create(f),t}return a(f,"constructor",l.prototype=c),a(c,"constructor",l),a(c,n,l.displayName="GeneratorFunction"),a(f),a(f,n,"Generator"),a(f,e,function(){return this}),a(f,"toString",function(){return"[object Generator]"}),(r=function(){return{w:i,m:h}})()}function a(t,e,n,i){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}(a=function(t,e,n,i){function s(e,n){a(t,e,function(t){return this._invoke(e,n,t)})}e?o?o(t,e,{value:n,enumerable:!i,configurable:!i,writable:!i}):t[e]=n:(s("next",0),s("throw",1),s("return",2))})(t,e,n,i)}function l(t,e,n,i,o,s,r){try{var a=t[s](r),l=a.value}catch(t){return n(t)}a.done?e(l):Promise.resolve(l).then(i,o)}function c(t){return function(){var e=this,n=arguments;return new Promise(function(i,o){var s=t.apply(e,n);function r(t){l(s,i,o,r,a,"next",t)}function a(t){l(s,i,o,r,a,"throw",t)}r(void 0)})}}function u(){return(u=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n,i=arguments[e];for(n in i)!{}
1.hasOwnProperty.call(i,n)||(t[n]=i[n])}return t}).apply(null,arguments)}function d(t,e){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function f(t,e){var n,i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(i)return(i=i.call(t)).next.bind(i);if(Array.isArray(t)||(i=((t,e)=>{var n;if(t)return"string"==typeof t?h(t,e):"Map"===(n="Object"===(n={}.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:n)||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(t,e):void 0})(t))||e&&t&&"number"==typeof t.length)return i&&(t=i),n=0,function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}function p(t,e,n){void 0===e&&(e=500),void 0===n&&(n="ease-in-out");var i=t.offsetHeight;return t.style.overflow="hidden",(i=t.animate([{height:i+"px",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""},{height:"0",marginTop:"0",marginBottom:"0",paddingTop:"0",paddingBottom:"0"}],{duration:e,easing:n})).onfinish=function(){t.style.display="none",t.style.height="",t.style.marginTop="",t.style.marginBottom="",t.style.paddingTop="",t.style.paddingBottom="",t.style.overflow=""},i}function g(t,e,n){void 0===e&&(e=500),void 0===n&&(n="ease-in-out"),t.style.removeProperty("display"),"none"===globalThis.getComputedStyle(t).display&&(t.style.display="block");var i=t.offsetHeight;return t.style.height="0",t.style.overflow="hidden",(i=t.animate([{height:"0",marginTop:"0",marginBottom:"0",paddingTop:"0",paddingBottom:"0"},{height:i+"px",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""}],{duration:e,easing:n})).onfinish=function(){t.style.height="",t.style.overflow=""},i}function v(t,e,n){void 0===e&&(e=500),void 0===n&&(n="ease-in-out");var i,o=globalThis.getComputedStyle(t).opacity;o=Number.parseFloat(o);return!Number.isNaN(o)&&1<=o?(t.style.opacity="1",t.animate([{opacity:"1"},{opacity:"1"}],{duration:0,fill:"none"})):((i=t.animate([{opacity:String(Number.isNaN(o)?0:o)},{opacity:"1"}],{duration:e,easing:n,fill:"forwards"})).onfinish=function(){t.style.opacity="1",i.cancel()},i)}function m(t,e,n){void 0===e&&(e=500),void 0===n&&(n="ease-in-out");var i,o=globalThis.getComputedStyle(t).opacity;o=Number.parseFloat(o);return!Number.isNaN(o)&&o<=0?(t.style.opacity="0",t.animate([{opacity:"0"},{opacity:"0"}],{duration:0,fill:"none"})):((i=t.animate([{opacity:String(Number.isNaN(o)?1:o)},{opacity:"0"}],{duration:e,easing:n,fill:"forwards"})).onfinish=function(){t.style.opacity="0",i.cancel()},i)}function y(t,e){void 0===e&&(e="body");for(var n=f(document.querySelectorAll(e));!(i=n()).done;){var i=i.value;i.style.overflow="lock"===t?"hidden":""}}function b(t){return(t=void 0===t?document:t).querySelectorAll('button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"]):not([disabled]), details:not([disabled]), summary:not(:disabled)')}var E=(()=>{function t(e,n){void 0===n&&(n={}),this.previouslyFocusedElement=null,this.boundOnDocumentClickOutside=null,this.trigger=e,this.panel=null,this.id=this.trigger.getAttribute("aria-controls"),this.options=n,this.boundOnClick=this.onClick.bind(this),this.boundOnFocus=this.onFocus.bind(this),this.boundOnBlur=this.onBlur.bind(this),this.boundOnKeydown=this.onKeydown.bind(this),this.boundOnTabKeyDown=this.onTabKeyDown.bind(this),this.applyOptions(t.resolveOptions(this.trigger,this.options)),this.id&&(this.panel=document.getElementById(this.id)),"slide"!==this.animation&&"fade"!==this.animation&&(this.slideSpeed=0,this.animationSpeed=0),this.isModal?(this.trigger.removeAttribute("aria-expanded"),this.trigger.hasAttribute("data-is-expanded")||this.trigger.setAttribute("data-is-expanded","false"),this.isExpanded="true"===this.trigger.getAttribute("data-is-expanded")):(this.trigger.hasAttribute("aria-expanded")||this.trigger.setAttribute("aria-expanded","fal
1se"),this.isExpanded="true"===this.trigger.getAttribute("aria-expanded")),this.validateOrReport(),this.panel&&this.panel.setAttribute("aria-hidden",this.isVisible()?"false":"true"),this.isOpen()&&!this.isVisible()&&this.show()}t.resolveOptions=function(t,e){void 0===e&&(e={});var n,i=0,o=!0,s=300,r=!0,a=!1,l=t.dataset.slide?"true"===t.dataset.slide:void 0;switch(t.dataset.animation){case"slide":n="slide";break;case"fade":n="fade";break;case"false":n=!1;break;default:n=void 0}var c=t.dataset.slideSpeed?Number.parseFloat(t.dataset.slideSpeed):void 0,u=t.dataset.animationSpeed?Number.parseFloat(t.dataset.animationSpeed):void 0,d=t.dataset.delay?Number.parseFloat(t.dataset.delay):void 0,f=t.dataset.outsideClick?"true"===t.dataset.outsideClick:void 0,h=t.dataset.displayProperty,p=t.dataset.autofocus?"true"===t.dataset.autofocus:void 0,g=t.dataset.focusPanelOnOpen?"true"===t.dataset.focusPanelOnOpen:void 0,v=t.dataset.restoreFocusOnClose?"true"===t.dataset.restoreFocusOnClose:void 0,m=t.dataset.closeOnBlur?"true"===t.dataset.closeOnBlur:void 0,y=t.dataset.textCollapsed,b=t.dataset.textExpanded,E="true"===t.dataset.modal||void 0,w="true"===t.dataset.lockBodyScroll||void 0,x="true"===t.dataset.backdrop||void 0,T=t.dataset.backdropClass,O=(t=t.dataset.strict?"true"===t.dataset.strict:void 0,null!=(O=null!=n?n:e.animation)?O:(null!=(O=null!=l?l:e.slide)?O:o)?"slide":void 0);u=null!=(u=null!=(u=null!=(u=null!=u?u:e.animationSpeed)?u:c)?u:e.slideSpeed)?u:s,g=null!=(g=null!=(g=null!=(g=null!=g?g:e.focusPanelOnOpen)?g:p)?g:e.autoFocus)?g:a,v=null==(v=null!=v?v:e.restoreFocusOnClose)||v;return{delay:null!=(d=null!=d?d:e.delay)?d:i,slide:null!=(d=null!=l?l:e.slide)?d:o,animation:O,slideSpeed:null!=(i=null!=c?c:e.slideSpeed)?i:s,animationSpeed:u,outsideClick:null!=(l=null!=f?f:e.outsideClick)?l:r,displayProperty:(null!=(d=null!=h?h:e.displayProperty)?d:"block")||"block",autoFocus:null!=(o=null!=p?p:e.autoFocus)?o:a,focusPanelOnOpen:g,restoreFocusOnClose:v,closeOnBlur:null!=(O=null!=m?m:e.closeOnBlur)&&O,textCollapsed:null!=(c=null!=y?y:e.textCollapsed)?c:null,textExpanded:null!=(i=null!=b?b:e.textExpanded)?i:null,isModal:null!=(s=null!=E?E:e.isModal)&&s,lockBodyScroll:null!=(u=null!=w?w:e.lockBodyScroll)&&u,hasBackdrop:null!=(f=null!=x?x:e.hasBackdrop)&&f,backdropClass:null!=(l=null!=T?T:e.backdropClass)?l:"c-backdrop",strict:null==(r=null!=t?t:e.strict)||r}};var e=t.prototype;return e.applyOptions=function(t){var e;this.delay=t.delay,this.slide=t.slide,this.animation=t.animation,this.slideSpeed=t.slideSpeed,this.animationSpeed=t.animationSpeed,this.outsideClick=t.outsideClick,this.displayProperty=t.displayProperty,this.autoFocus=t.autoFocus,this.focusPanelOnOpen=t.focusPanelOnOpen,this.restoreFocusOnClose=t.restoreFocusOnClose,this.closeOnBlur=t.closeOnBlur,this.textCollapsed=t.textCollapsed,this.textExpanded=t.textExpanded,this.isModal=t.isModal,this.lockBodyScroll=t.lockBodyScroll,this.hasBackdrop=t.hasBackdrop,this.backdropClass=null!=(e=t.backdropClass)?e:"c-backdrop",this.strict=t.strict,this.options=t},e.getOptions=function(e){return e=t.resolveOptions(this.trigger,e=void 0===e?{}:e),this.applyOptions(e),e},e.init=function(){this.trigger.addEventListener("click",this.boundOnClick),this.trigger.addEventListener("focus",this.boundOnFocus),this.trigger.addEventListener("blur",this.boundOnBlur),this.trigger.addEventListener("keydown",this.boundOnKeydown),this.panel&&(this.panel.addEventListener("keydown",this.boundOnKeydown),this.closeOnBlur)&&this.panel.addEventListener("keydown",this.boundOnTabKeyDown)},e.removeButtonEventListener=function(){this.trigger.removeEventListener("click",this.boundOnClick),this.trigger.removeEventListener("focus",this.boundOnFocus),this.trigger.removeEventListener("blur",this.boundOnBlur),this.trigger.removeEventListener("keydown",this.boundOnKeydown)},e.removePanelEventListener=function(){this.panel&&(this.panel.removeEventListener("keydown",this.boundOnKeydown),this.closeOnBlur)&&this.panel.removeEventListener("keydown",this.boundOnTabKeyDown)},e.removeEventListener=function(){this.removeButtonEventListener(),this.removePanelEventListener()},e.isOpen=function(){return this.isExpanded}
1,e.isVisible=function(){return!!this.panel&&"none"!==globalThis.getComputedStyle(this.panel).display},e.attachOutsideClickListener=function(){var t,e,n=this;this.outsideClick&&this.panel&&(this.boundOnDocumentClickOutside||(t=this.trigger,e=this.panel,this.boundOnDocumentClickOutside=function(i){!(i=i.target)||t.contains(i)||e.contains(i)||n.isVisible()&&n.hide()},document.addEventListener("click",this.boundOnDocumentClickOutside)))},e.detachOutsideClickListener=function(){this.boundOnDocumentClickOutside&&(document.removeEventListener("click",this.boundOnDocumentClickOutside),this.boundOnDocumentClickOutside=null)},e.emit=function(t){function e(){return new CustomEvent(t,{detail:{trigger:n.trigger,panel:n.panel}})}var n=this;this.trigger.dispatchEvent(e()),this.panel.dispatchEvent(e())},e.show=function(){var t,e,n=this;this.panel&&(this.previouslyFocusedElement=document.activeElement,this.isModal?this.trigger.setAttribute("data-is-expanded","true"):this.trigger.setAttribute("aria-expanded","true"),this.trigger.classList.add("showing"),this.emit("disclosure.show"),this.panel&&this.panel.setAttribute("aria-hidden","false"),this.textExpanded&&(this.trigger.textContent=this.textExpanded),this.lockBodyScroll&&y("lock"),this.hasBackdrop&&this.trigger.parentElement&&!this.trigger.parentElement.querySelector("."+this.backdropClass)&&((t=document.createElement("div")).className=this.backdropClass,t.setAttribute("aria-hidden","true"),this.trigger.parentElement.append(t)),!(e=function(){n.emit("disclosure.shown"),n.trigger.classList.remove("showing")})===this.animation?(this.panel.style.display=this.displayProperty,e()):"slide"===this.animation?(g(this.panel,this.animationSpeed),setTimeout(function(){e()},this.animationSpeed)):this.panel&&"fade"===this.animation?(this.panel.style.display=this.displayProperty,this.panel.style.opacity="0",v(this.panel,this.animationSpeed),setTimeout(function(){e()},this.animationSpeed)):this.panel&&(this.panel.style.display=this.displayProperty,setTimeout(function(){n.panel.classList.add("is-visible")},10),setTimeout(function(){e()},this.delay+20)),this.focusPanelOnOpen&&(this.panel.setAttribute("tabindex","-1"),this.panel.focus()),this.isExpanded=!0,this.attachOutsideClickListener())},e.hide=function(){var t,e,n=this;this.panel&&(this.isModal?this.trigger.setAttribute("data-is-expanded","false"):this.trigger.setAttribute("aria-expanded","false"),this.trigger.classList.add("hiding"),this.emit("disclosure.hide"),this.panel&&this.panel.setAttribute("aria-hidden","true"),this.textCollapsed&&(this.trigger.textContent=this.textCollapsed),this.lockBodyScroll&&y("unlock"),this.hasBackdrop&&null!=(e=this.trigger.parentElement)&&null!=(e=e.querySelector("."+this.backdropClass))&&e.remove(),t=function(){n.emit("disclosure.hidden"),n.trigger.classList.remove("hiding")},this.detachOutsideClickListener(),this.restoreFocusOnClose&&(e=document.querySelector(".showing"),document.body.contains(e)||this.trigger.focus()),this.panel&&!1===this.animation?(this.panel.style.display="none",t()):this.panel&&"slide"===this.animation?(p(this.panel,this.animationSpeed),setTimeout(function(){t()},this.animationSpeed)):this.panel&&"fade"===this.animation?(m(this.panel,this.animationSpeed),setTimeout(function(){n.panel.style.display="none",t()},this.animationSpeed)):this.panel&&(this.panel.classList.remove("is-visible"),setTimeout(function(){n.panel.style.display="none",t()},this.delay)),this.isExpanded=!1)},e.onKeydown=function(t){switch(t.key){case"Esc":case"Escape":this.hide()}},e.toggleExpand=function(){this.isModal?(this.isExpanded="true"===this.trigger.getAttribute("data-is-expanded"),this.isExpanded?this.hide():this.show()):"true"===this.trigger.getAttribute("aria-expanded")?this.hide():this.show()},e.onClick=function(){var t=this.trigger.classList;t.contains("showing")||t.contains("hiding")||this.toggleExpand()},e.onFocus=function(){this.trigger.classList.add("is-focus")},e.onBlur=function(){this.trigger.classList.remove("is-focus")},e.onTabKeyDown=function(t){var e=this,n=t.currentTarget;"Tab"===t.key&&setTimeout(function(){var t=document.activeElement;n&&!n.contains(t)&&e.closeOnBlur&&e.isVisible()&&e.hide()},0)},e.validateOrReport=function(){var t=[],e="BUTTON"===this.trigger.tagName,n=this.trigger.hasAttribute("role")&&"button"===this.trigger.getAttribute("role");
1if(e||n||t.push('Disclosure : L\'initialisation doit se faire sur un élément <button> ou ayant un attribut ARIA [role="button"]'),this.trigger.hasAttribute("aria-controls")||t.push("Disclosure : L'attribut [aria-controls] est nécessaire sur l'élément <button> ou [role=\"button\"]"),this.id||t.push("Disclosure : Vérifier que la valeur des attributs [aria-controls] et [id] soient identique"),this.panel||t.push("Disclosure : Panel absent - Au moins un bouton disclosure n'a pas d'élément à ouvrir"),0!==t.length){if(e=t.join("\n"),this.strict)throw new Error(e);console.error(this.trigger,new Error(e))}},e.refresh=function(){this.isOpen()&&!this.isVisible()?this.show():!this.isOpen()&&this.isVisible()&&this.hide(),this.destroy(),this.getOptions(),this.init()},e.destroy=function(){this.removeEventListener(),this.detachOutsideClickListener(),this.panel&&(this.panel.style.display="",this.panel.classList.remove("is-visible"),this.panel.removeAttribute("tabindex")),this.trigger.classList.remove("is-focus","showing","hiding")},t})(),w=((()=>{function t(t){this.trigger=t,this.id=this.trigger.getAttribute("aria-controls"),this.boundOnClick=this.onClick.bind(this)}var e=t.prototype;e.init=function(){this.trigger.addEventListener("click",this.boundOnClick)},e.onClick=function(){var t="true"===this.trigger.dataset.modal?'[data-is-expanded="true"][aria-controls="'+this.id+'"]':'[aria-expanded="true"][aria-controls="'+this.id+'"]';null!=(t=document.querySelector(t))&&t.click()},e.destroy=function(){this.trigger.removeEventListener("click",this.boundOnClick)}})(),(t=>{function e(n){var i,o=t.call(this,n,{outsideClick:!1})||this;o.button=n,o.triggerArray=[],o.panel=document.getElementById(o.button.getAttribute("aria-controls")),n=document.querySelectorAll(".js-accordion");return(i=o.triggerArray).push.apply(i,n),o.name=o.button.dataset.name,o.name&&(o.triggerArrayFilteredByName=o.triggerArray.filter(function(t){return t.dataset.name===o.name})),e.allInstances.push(o),o}n=t,(i=e).prototype=Object.create(n.prototype),d(i.prototype.constructor=i,n);var n,i=e.prototype;return i.show=function(){var n=this;if(t.prototype.show.call(this),this.name)for(var i,o=this.triggerArrayFilteredByName.filter(function(t){return t!==n.trigger}),s=f(e.allInstances);!(i=s()).done;)for(var r,a=i.value,l=f(o);!(r=l()).done;)a.button===r.value&&a.hide()},i.hide=function(){t.prototype.hide.call(this)},i.init=function(){var e=this;if(t.prototype.init.call(this),this.name)for(var n,i=f(this.triggerArrayFilteredByName.entries());!(n=i()).done;)(()=>{var t=n.value,i=t[0];t[1].addEventListener("keydown",function(t){return e.handleKeyDown(t,i)})})()},i.handleKeyDown=function(t,e){"ArrowDown"===t.key?(t.preventDefault(),this.navigate(1,e)):"ArrowUp"===t.key&&(t.preventDefault(),this.navigate(-1,e))},i.navigate=function(t,e){(e+=t)<0?e=this.triggerArrayFilteredByName.length-1:e>=this.triggerArrayFilteredByName.length&&(e=0),this.triggerArrayFilteredByName[e].focus()},i.destroy=function(){t.prototype.destroy.call(this);var n=e.allInstances.indexOf(this);e.allInstances.splice(n,1)},e})(E)),x=(w.allInstances=[],(()=>{function t(t,e){var n=this;if(void 0===e&&(e={}),this.fadeAnimation=null,this.isAboveThreshold=null,!t)throw new Error("BackToTop: un élément bouton est requis.");this.backToTopButton=t,this.threshold=null!=(t=e.threshold)?t:200,this.behavior=null!=(t=e.behavior)?t:"smooth",this.offset=null!=(t=e.offset)?t:0,this.fadeDuration=null!=(t=e.fadeDuration)?t:300,this.onScrollBound=this.onScroll.bind(this),this.onClickBound=function(t){return n.onClick(t)},this.setupFadeStyles()}var e=t.prototype;e.init=function(){var t=this;window.addEventListener("scroll",this.onScrollBound),this.backToTopButton.addEventListener("click",this.onClickBound),globalThis.requestAnimationFrame(function(){t.updateVisibility(!0)})},e.setupFadeStyles=function(){this.backToTopButton.style.opacity="0",this.backToTopButton.style.display="",this.backToTopButton.setAttribute("aria-hidden","true")},e.onScroll=function(){this.updateVisibility()},e.getOpacity=function(){var t=Number.parseFloat(globalThis.getComputedStyle(this.backToTopButton).opacity);return Number.isNaN(t)?0:t},e.isVisible=function(){return 1<=this.getOpacity()},e.updateVisibility=function(t){void 0===t&&(t=!1);var e=(window.scrollY||document.documentElement.scrollTop)>this.threshold;!t&&this.isAboveThreshold===e||((this.isAboveThreshold=e)?this.show():this.hide())},e.show=function(){var t,e=this;1<=this.getOpacity()?this.backToTopButton.setAttribute("aria-hidden","false"):(t=v(this.backToTopButton,this.fadeDuration),this.fadeAnimation=null!=t?t:null,this.fadeAnimation&&(this.fadeAnimation.onfinish=function(){e.backToTopButton.setAttribute("aria-hidden","false")}))},e.hide=function(){var t,e=this;this.getOpacity()<=0?this.backToTopButton.setAttribute("aria-hidden","true"):(t=m(this.backToTopButton,this.fadeDuration),this.fadeAnimation=null!=t?t:null,this.fadeAnimation&&(this.fadeAnimation.onfinish=function(){e.backToTopButton.setAttribute("aria-hidden","true")}))},e.onClick=function(t){t.preventDefault(),window.scrollTo({top:this.offset,behavior:this.behavior}),globalThis.setTimeout(function(){b()[0].focus()},200)},e.destroy=function(){window.removeEventListener("scroll",this.onScrollBound),this.backToTopButton.removeEventListener("click",this.onClickBound)}})(),new WeakMap),T=(()=>{function t(e,n){var i;if(void 0===n&&(n={}),this.openOnLoadTimeout=null,!e)throw new Error("L'élément cible est requis pour initialiser la modale.");if("DIALOG"!==e.tagName)throw new Error("L'élément cible doit être une balise <dialog>.");this.modal=e,this.closeClass=null!=(i=n.closeClass)?i:".js-close-dialog-btn",this.closeDialogBtn=e.querySelector(this.closeClass),this.options=this.initializeOptions(n),t.allInstances.push(this)}var e=t.prototype;return e.init=function(){var t=this;this.setupEventListeners(),this.options.openOnLoad&&(this.openOnLoadTimeout=setTimeout(function(){t.open()},this.options.openOnLoadDelay||0))},e.initializeOptions=function(t){var e,n=0,i=this.modal.dataset.openOnLoad?"true"===this.modal.dataset.openOnLoad:void 0,o=this.modal.dataset.openOnLoadDelay?Number.parseFloat(this.modal.dataset.openOnLoadDelay):void 0,s=this.modal.dataset.backdropClosable?"true"===this.modal.dataset.backdropClosable:void 0,r=this.modal.dataset.animationSpeed?Number.parseFloat(this.modal.dataset.animationSpeed):void 0;return{trigger:null!=(e=t.trigger)?e:null,openOnLoadDelay:null!=(e=null!=o?o:t.openOnLoadDelay)?e:n,openOnLoad:null!=(o=null!=i?i:t.openOnLoad)&&o,backdropClosable:null==(e=null!=s?s:t.backdropClosable)||e,animationSpeed:null!=(n=null!=r?r:t.animationSpeed)?n:0}},e.setupEventListeners=function(){var t,e=this,n=new AbortController;x.set(this,n),null!=(t=this.options.trigger)&&t.addEventListener("click",function(){return e.open()},{signal:n.signal}),null!=(t=this.closeDialogBtn)&&t.addEventListener("click",function(){return e.close()},{signal:n.signal}),this.modal.addEventListener("click",function(t){"DIALOG"===t.target.tagName&&e.options.backdropClosable&&e.close()},{signal:n.signal}),this.modal.addEventListener("keydown",function(t){"Esc"!==t.key&&"Escape"!==t.key||(t.preventDefault(),e.close())},{signal:n.signal})},e.emit=function(t){function e(){var e;return new CustomEvent(t,{detail:{modal:i.modal,trigger:null!=(e=i.options.trigger)?e:null}})}var n,i=this;
1this.modal.dispatchEvent(e()),null!=(n=this.options.trigger)&&n.dispatchEvent(e())},e.open=function(){var t=this;this.modal.classList.add("is-entering"),this.modal.showModal(),this.modal.classList.replace("is-entering","is-open"),setTimeout(function(){t.emit("modal.show")},this.options.animationSpeed)},e.close=function(){var t=this;this.modal.classList.replace("is-open","is-closing"),setTimeout(function(){t.modal.classList.replace("is-closing","is-closed"),t.modal.close(),t.emit("modal.hide")},this.options.animationSpeed)},e.destroy=function(){null!==this.openOnLoadTimeout&&(clearTimeout(this.openOnLoadTimeout),this.openOnLoadTimeout=null);var e=((e=x.get(this))&&(e.abort(),x.delete(this)),t.allInstances.indexOf(this));t.allInstances.splice(e,1)},t})(),O=(T.allInstances=[],(()=>{function t(t,e){void 0===e&&(e={}),this.tablistNode=t,this.tabs=[],this.firstTab=null,this.lastTab=null,this.tabs=Array.from(this.tablistNode.querySelectorAll("[role=tab]")),this.tabpanels=[],this.boundOnClick=this.onClick.bind(this),this.boundOnKeydown=this.onKeydown.bind(this),this.options=u({},{orientation:"horizontal",automatic:!0},e),t=new Set(this.tabs.map(function(t){return t.getAttribute("aria-controls")})),this.onePanel=1===t.size}var e=t.prototype;e.init=function(){for(var t=f(this.tabs);!(e=t()).done;){var e=e.value,n=document.getElementById(e.getAttribute("aria-controls"));e.tabIndex=-1,this.onePanel?e.setAttribute("aria-selected","true"):e.setAttribute("aria-selected","false"),n.setAttribute("aria-labelledby",e.id),this.tabpanels.push(n),e.addEventListener("keydown",this.boundOnKeydown),e.addEventListener("click",this.boundOnClick),this.firstTab||(this.firstTab=e),this.lastTab=e}this.setSelectedTab(this.firstTab,!1),"vertical"===this.options.orientation?this.tablistNode.setAttribute("aria-orientation","vertical"):this.tablistNode.setAttribute("aria-orientation","horizontal")},e.setSelectedTab=function(t,e){void 0===e&&(e=!0);for(var n=f(this.tabs);!(i=n()).done;){var i=i.value,o=document.getElementById(i.getAttribute("aria-controls"));t===i?(i.setAttribute("aria-selected","true"),i.removeAttribute("tabindex"),i.classList.add("is-active"),o.style.display="",o.tabIndex=0,o.removeAttribute("aria-hidden"),this.onePanel&&o.setAttribute("aria-labelledby",i.id),e&&i.focus(),i.dispatchEvent(new Event("tab.change"))):(i.setAttribute("aria-selected","false"),i.classList.remove("is-active"),i.tabIndex=-1,this.onePanel||(o.tabIndex=-1,o.style.display="none",o.setAttribute("aria-hidden","true")))}},e.setSelectedToPreviousTab=function(t){t===this.firstTab?this.setSelectedTab(this.lastTab):(t=this.tabs.indexOf(t),this.setSelectedTab(this.tabs[t-1]))},e.setSelectedToNextTab=function(t){t===this.lastTab?this.setSelectedTab(this.firstTab):(t=this.tabs.indexOf(t),this.setSelectedTab(this.tabs[t+1]))},e.onKeydown=function(t){function e(t,e){(i.options.automatic?t:e)()}var n,i=this,o=t.currentTarget,s="vertical"===this.options.orientation?"ArrowUp":"ArrowLeft",r="vertical"===this.options.orientation?"ArrowDown":"ArrowRight";(n={})[s]=function(){return e(function(){i.setSelectedToPreviousTab(o)},function(){i.moveFocusToPreviousTab(o)})},n[r]=function(){return e(function(){i.setSelectedToNextTab(o)},function(){i.moveFocusToNextTab(o)})},n.Enter=function(){return i.setSelectedTab(o)},n.Space=function(){return i.setSelectedTab(o)},n.Home=function(){return e(function(){i.setSelectedTab(i.firstTab)},function(){i.moveFocusToTab(i.firstTab)})},n.End=function(){return e(function(){i.setSelectedTab(i.lastTab)},function(){i.moveFocusToTab(i.lastTab)})},(s=n[t.key])&&(s(),t.stopPropagation(),t.preventDefault())},e.onClick=function(t){this.setSelectedTab(t.currentTarget)},e.moveFocusToPreviousTab=function(t){t=t===this.firstTab?this.lastTab:(t=this.tabs.indexOf(t),this.tabs[t-1]),this.focusOnly(t)},e.moveFocusToNextTab=function(t){t=t===this.lastTab?this.firstTab:(t=this.tabs.indexOf(t),this.tabs[t+1]),this.focusOnly(t)},e.moveFocusToTab=function(t){this.focusOnly(t)},e.focusOnly=function(t){for(var e=f(this.tabs);!(n=e()).done;){var n=n.value;n===t?n.removeAttribute("tabindex"):n.tabIndex=-1}t.focus()},e.selectTabById=function(t){var e=this.tabs.find(function(e){return e.id===t});this.setSelectedTab(e)},e.destroy=function(){for(var t=f(this.tabs);!(e=t()).done;){var e=e.value;e.removeEventListener("keydown",this.boundOnKeydown),e.removeEventListener("click",this.boundOnClick)}}})(),Math.min),L=Math.max,S=Math.round,M=function(t){return{x:t,y:t}}
1,A={left:"right",right:"left",bottom:"top",top:"bottom"};function C(t,e,n){return L(t,O(e,n))}function k(t,e){return"function"==typeof t?t(e):t}function P(t){return t.split("-")[0]}function R(t){return t.split("-")[1]}function j(t){return"x"===t?"y":"x"}function F(t){return"y"===t?"height":"width"}function I(t){return"t"===(t=t[0])||"b"===t?"y":"x"}function _(t){return j(I(t))}function D(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}var z=["left","right"],B=["right","left"],q=["top","bottom"],N=["bottom","top"];function $(t,e,n,i){var o=R(t);t=((t,e,n)=>{switch(t){case"top":case"bottom":return n?e?B:z:e?z:B;case"left":case"right":return e?q:N;default:return[]}})(P(t),"start"===n,i);return o&&(t=t.map(function(t){return t+"-"+o}),e)?t.concat(t.map(D)):t}function H(t){var e=P(t);return A[e]+t.slice(e.length)}function V(t){return"number"!=typeof t?u({top:0,right:0,bottom:0,left:0},t):{top:t,right:t,bottom:t,left:t}}function G(t){var e=t.x,n=t.y,i=t.width;return{width:i,height:t=t.height,top:n,left:e,right:e+i,bottom:n+t,x:e,y:n}}function W(t,e,n){var i,o=t.reference,s=t.floating,r=(t=I(e),_(e)),a=F(r),l=P(e),c="y"===t,u=o.x+o.width/2-s.width/2,d=o.y+o.height/2-s.height/2,f=o[a]/2-s[a]/2;switch(l){case"top":i={x:u,y:o.y-s.height};break;case"bottom":i={x:u,y:o.y+o.height};break;case"right":i={x:o.x+o.width,y:d};break;case"left":i={x:o.x-s.width,y:d};break;default:i={x:o.x,y:o.y}}switch(R(e)){case"start":i[r]-=f*(n&&c?-1:1);break;case"end":i[r]+=f*(n&&c?-1:1)}return i}function K(t,e){return X.apply(this,arguments)}function X(){return(X=c(r().m(function t(e,n){var i,o,s,a,l,c,u,d,f,h,p,g,v,m,y,b,E,w,x,T,O,L,S,M,A,C,P,R;return r().w(function(t){for(;;)switch(t.n){case 0:return void 0===n&&(n={}),i=e.x,o=e.y,s=e.platform,a=e.rects,l=e.elements,c=e.strategy,h=k(n,e),u=void 0===(u=h.boundary)?"clippingAncestors":u,d=void 0===(d=h.rootBoundary)?"viewport":d,f=void 0===(f=h.elementContext)?"floating":f,p=void 0!==(p=h.altBoundary)&&p,h=V(void 0===(h=h.padding)?0:h),b="floating"===f?"reference":"floating",p=l[p?b:f],b=G,E=s,t.n=1,null==s.isElement?void 0:s.isElement(p);case 1:null==(O=t.v)?t.n=2:(w=O,t.n=3);break;case 2:w=!0;case 3:w?(x=p,t.n=7):t.n=4;break;case 4:if(T=p.contextElement){t.n=6;break}return t.n=5,null==s.getDocumentElement?void 0:s.getDocumentElement(l.floating);case 5:T=t.v;case 6:x=T;case 7:return O=x,L=u,S=d,M=c,t.n=8,E.getClippingRect.call(E,{element:O,boundary:L,rootBoundary:S,strategy:M});case 8:return g=b(t.v),v="floating"===f?{x:i,y:o,width:a.floating.width,height:a.floating.height}:a.reference,t.n=9,null==s.getOffsetParent?void 0:s.getOffsetParent(l.floating);case 9:return m=t.v,t.n=10,null==s.isElement?void 0:s.isElement(m);case 10:if(t.v)return t.n=11,null==s.getScale?void 0:s.getScale(m);t.n=13;break;case 11:if(C=t.v){t.n=12;break}C={x:1,y:1};case 12:A=C,t.n=14;break;case 13:A={x:1,y:1};case 14:if(y=A,P=G,s.convertOffsetParentRelativeRectToViewportRelativeRect)return t.n=15,s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:v,offsetParent:m,strategy:c});t.n=16;break;case 15:R=t.v,t.n=17;break;case 16:R=v;case 17:return L=P(R),t.a(2,{top:(g.top-L.top+h.top)/y.y,bottom:(L.bottom-g.bottom+h.bottom)/y.y,left:(g.left-L.left+h.left)/y.x,right:(L.right-g.right+h.right)/y.x})}},t)}))).apply(this,arguments)}var Z=(()=>{var t=c(r().m(function t(e,n,i){var o,s,a,l,c,d,f,h,p,g,v,m,y,b,E,w,x,T,O,L;return r().w(function(t){for(;;)switch(t.n){case 0:return o=void 0===(o=i.placement)?"bottom":o,s=void 0===(s=i.strategy)?"absolute":s,a=void 0===(a=i.middleware)?[]:a,c=(l=i.platform).detectOverflow?l:u({},l,{detectOverflow:K}),t.n=1,null==l.isRTL?void 0:l.isRTL(n);case 1:return d=t.v,t.n=2,l.getElementRects({reference:e,floating:n,strategy:s});case 2:f=t.v,p=W(f,o,d),h=p.x,p=p.y,g=o,m={},y=v=0;case 3:if(!(y<a.length)){t.n=12;break}if(b=a[y]){t.n=4;break}return t.a(3,11);case 4:return E=b.name,w=b.fn,t.n=5,w({x:h,y:p,initialPlacement:o,placement:g,strategy:s,middlewareData:m,rects:f,platform:c,elements:{reference:e,floating:n}});case 5:if(w=t.v,O=w.x,x=w.data,T=w.reset,h=null!=O?O:h,p=null!=(O=w.y)?O:p,m[E]=u({},m[E],x),T&&v<50)if(v++,"object"!=typeof T)t.n=10;
1else if(T.placement&&(g=T.placement),T.rects){if(!0===T.rects)return t.n=6,l.getElementRects({reference:e,floating:n,strategy:s});t.n=7}else t.n=9;else t.n=11;break;case 6:L=t.v,t.n=8;break;case 7:L=T.rects;case 8:f=L;case 9:O=W(f,g,d),h=O.x,p=O.y;case 10:y=-1;case 11:y++,t.n=3;break;case 12:return t.a(2,{x:h,y:p,placement:g,strategy:s,middlewareData:m})}},t)}));return function(e,n,i){return t.apply(this,arguments)}})(),U=new Set(["left","top"]);function Y(){return(Y=c(r().m(function t(e,n){var i,o,s,a,l,c,u,d,f,h;return r().w(function(t){for(;;)switch(t.n){case 0:return i=e.placement,o=e.platform,s=e.elements,t.n=1,null==o.isRTL?void 0:o.isRTL(s.floating);case 1:return o=t.v,s=P(i),a=R(i),l="y"===I(i),c=U.has(s)?-1:1,u=o&&l?-1:1,h="number"==typeof(h=k(n,e))?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis},d=h.mainAxis,f=h.crossAxis,h=h.alignmentAxis,a&&"number"==typeof h&&(f="end"===a?-1*h:h),t.a(2,l?{x:f*u,y:d*c}:{x:d*c,y:f*u})}},t)}))).apply(this,arguments)}function Q(){return"undefined"!=typeof window}function J(t){return nt(t)?(t.nodeName||"").toLowerCase():"#document"}function tt(t){return(null==t||null==(t=t.ownerDocument)?void 0:t.defaultView)||window}function et(t){return null==(t=(nt(t)?t.ownerDocument:t.document)||window.document)?void 0:t.documentElement}function nt(t){return Q()&&(t instanceof Node||t instanceof tt(t).Node)}function it(t){return!!Q()&&(t instanceof Element||t instanceof tt(t).Element)}function ot(t){return!!Q()&&(t instanceof HTMLElement||t instanceof tt(t).HTMLElement)}function st(t){return!(!Q()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof tt(t).ShadowRoot)}function rt(t){var e=(t=gt(t)).overflow,n=t.display;return/auto|scroll|overlay|hidden|clip/.test(e+t.overflowY+t.overflowX)&&"inline"!==n&&"contents"!==n}function at(t){try{if(t.matches(":popover-open"))return!0}catch(t){}try{return t.matches(":modal")}catch(t){return!1}}var lt,ct=/transform|translate|scale|rotate|perspective|filter/,ut=/paint|layout|strict|content/,dt=function(t){return!!t&&"none"!==t};function ft(t){return t=it(t)?gt(t):t,dt(t.transform)||dt(t.translate)||dt(t.scale)||dt(t.rotate)||dt(t.perspective)||!ht()&&(dt(t.backdropFilter)||dt(t.filter))||ct.test(t.willChange||"")||ut.test(t.contain||"")}function ht(){return lt=lt??("undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none"))}function pt(t){return/^(html|body|#document)$/.test(J(t))}function gt(t){return tt(t).getComputedStyle(t)}function vt(t){return it(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function mt(t){return"html"!==J(t)&&(t=t.assignedSlot||t.parentNode||st(t)&&t.host||et(t),st(t))?t.host:t}function yt(t,e){void 0===e&&(e=[]);var n=function t(e){var n=mt(e);return pt(n)?(e.ownerDocument||e).body:ot(n)&&rt(n)?n:t(n)}(t),i=(t=n===(null==(t=t.ownerDocument)?void 0:t.body),tt(n));return t?(bt(i),e.concat(i,i.visualViewport||[],rt(n)?n:[],[])):e.concat(n,yt(n,[]))}function bt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Et(t){var e=gt(t),n=parseFloat(e.width)||0,i=(e=parseFloat(e.height)||0,(o=ot(t))?t.offsetWidth:n),o=o?t.offsetHeight:e;return(t=S(n)!==i||S(e)!==o)&&(n=i,e=o),{width:n,height:e,$:t}}function wt(t){return it(t)?t:t.contextElement}function xt(t){var e,n,i;return ot(t=wt(t))?(e=t.getBoundingClientRect(),i=(t=Et(t)).width,n=t.height,i=((t=t.$)?S(e.width):e.width)/i,t=(t?S(e.height):e.height)/n,{x:i=i&&Number.isFinite(i)?i:1,y:t=t&&Number.isFinite(t)?t:1}):M(1)}var Tt=M(0);function Ot(t){return t=tt(t),ht()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Tt}function Lt(t,e,n,i){void 0===e&&(e=!1),void 0===n&&(n=!1);var o=t.getBoundingClientRect(),s=wt(t),r=M(1),a=(n=(e&&(i?it(i)&&(r=xt(i)):r=xt(t)),e=s,void 0===(t=n)&&(t=!1),!(n=i)||t&&n!==tt(e)||!t?M(0):Ot(s)),(o.left+n.x)/r.x),l=(o.top+n.y)/r.y,c=o.width/r.x,u=o.height/r.y;if(s){e=tt(s);for(var d=i&&it(i)?tt(i):i,f=e,h=bt(f);h&&i&&d!==f;){var p=xt(h),g=h.getBoundingClientRect(),v=gt(h),m=g.left+(h.clientLeft+parseFloat(v.paddingLeft))*p.x;g=g.top+(h.clientTop+parseFloat(v.paddingTop))*p.y;a*=p.x,l*=p.y,c*=p.x,u*=p.y,a+=m,l+=g,h=bt(f=tt(h))}}return G({width:c,height:u,x:a,y:l})}function St(t,e){var n=vt(t).scrollLeft;return e?e.left+n:Lt(et(t)).left+n}function Mt(t,e){var n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-St(t,n),y:n.top+e.scrollTop}}function At(t,e,n){var i,o,s,r,a,l,c,u,d;
1return G("viewport"===e?(o=n,a=tt(i=t),i=et(i),a=a.visualViewport,l=i.clientWidth,c=i.clientHeight,d=u=0,a&&(l=a.width,c=a.height,ht()&&"fixed"!==o||(u=a.offsetLeft,d=a.offsetTop)),(o=St(i))<=0?(s=(a=i.ownerDocument).body,r=getComputedStyle(s),a="CSS1Compat"===a.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,(r=Math.abs(i.clientWidth-s.clientWidth-a))<=25&&(l-=r)):o<=25&&(l+=o),{width:l,height:c,x:u,y:d}):"document"===e?(i=et(t),s=et(i),a=vt(i),r=i.ownerDocument.body,o=L(s.scrollWidth,s.clientWidth,r.scrollWidth,r.clientWidth),l=L(s.scrollHeight,s.clientHeight,r.scrollHeight,r.clientHeight),i=-a.scrollLeft+St(i),a=-a.scrollTop,"rtl"===gt(r).direction&&(i+=L(s.clientWidth,r.clientWidth)-o),{width:o,height:l,x:i,y:a}):it(e)?(d=(u=Lt(c=e,!0,"fixed"===(u=n))).top+c.clientTop,u=u.left+c.clientLeft,n=ot(c)?xt(c):M(1),{width:c.clientWidth*n.x,height:c.clientHeight*n.y,x:u*n.x,y:d*n.y}):(n=Ot(t),{x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}))}function Ct(t,e){var n=e.get(t);if(n)return n;for(var i=yt(t,[]).filter(function(t){return it(t)&&"body"!==J(t)}),o=null,s="fixed"===gt(t).position,r=s?mt(t):t;it(r)&&!pt(r);){var a=gt(r),l=ft(r);l||"fixed"!==a.position||(o=null),(s?!l&&!o:!l&&"static"===a.position&&o&&("absolute"===o.position||"fixed"===o.position)||rt(r)&&!l&&function t(e,n){return!((e=mt(e))===n||!it(e)||pt(e))&&("fixed"===gt(e).position||t(e,n))}(t,r))?i=i.filter(function(t){return t!==r}):o=a,r=mt(r)}return e.set(t,i),i}function kt(t,e,n){var i=ot(e),o=et(e),s=(t=Lt(t,!0,n="fixed"===n,e),{scrollLeft:0,scrollTop:0}),r=M(0);function a(){r.x=St(o)}!i&&n||("body"===J(e)&&!rt(o)||(s=vt(e)),i?(l=Lt(e,!0,n,e),r.x=l.x+e.clientLeft,r.y=l.y+e.clientTop):o&&a()),n&&!i&&o&&a();var l=!o||i||n?M(0):Mt(o,s);return{x:t.left+s.scrollLeft-r.x-l.x,y:t.top+s.scrollTop-r.y-l.y,width:t.width,height:t.height}}function Pt(t){return"static"===gt(t).position}function Rt(t,e){return ot(t)&&"fixed"!==gt(t).position?e?e(t):(e=t.offsetParent,et(t)===e?e.ownerDocument.body:e):null}function jt(t,e){var n=tt(t);if(at(t))return n;if(!ot(t)){for(var i=mt(t);i&&!pt(i);){if(it(i)&&!Pt(i))return i;i=mt(i)}return n}for(var o=Rt(t,e);o&&/^(table|td|th)$/.test(J(o))&&Pt(o);)o=Rt(o,e);return(!(o&&pt(o)&&Pt(o))||ft(o))&&(o||(t=>{for(var e=mt(t);ot(e)&&!pt(e);){if(ft(e))return e;if(at(e))return null;e=mt(e)}return null})(t))||n}function Ft(t,e){t.parentNode.insertBefore(e,t),e.appendChild(t)}var It={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){var e,n,i,o,s=t.elements,r=t.rect,a=t.offsetParent,l=(t="fixed"===t.strategy,et(a));s=!!s&&at(s.floating);return a===l||s&&t?r:(s={scrollLeft:0,scrollTop:0},i=M(1),e=M(0),((n=ot(a))||!n&&!t)&&("body"===J(a)&&!rt(l)||(s=vt(a)),n)&&(o=Lt(a),i=xt(a),e.x=o.x+a.clientLeft,e.y=o.y+a.clientTop),o=!l||n||t?M(0):Mt(l,s),{width:r.width*i.x,height:r.height*i.y,x:r.x*i.x-s.scrollLeft*i.x+e.x+o.x,y:r.y*i.y-s.scrollTop*i.y+e.y+o.y})},getDocumentElement:et,getClippingRect:function(t){for(var e=t.element,n=t.boundary,i=t.rootBoundary,o=t.strategy,s=(t="clippingAncestors"===n?at(e)?[]:Ct(e,this.t):[].concat(n),[].concat(t,[i])),r=(n=At(e,s[0],o)).top,a=n.right,l=n.bottom,c=n.left,u=1;u<s.length;u++){var d=At(e,s[u],o);r=L(d.top,r),a=O(d.right,a),l=O(d.bottom,l),c=L(d.left,c)}return{width:a-c,height:l-r,x:c,y:r}},getOffsetParent:jt,getElementRects:(()=>{var t=c(r().m(function t(e){var n,i,o,s,a,l;return r().w(function(t){for(;;)switch(t.n){case 0:return n=this.getOffsetParent||jt,a=this.getDimensions,t.n=1,a(e.floating);case 1:return i=t.v,o=kt,s=e.reference,t.n=2,n(e.floating);case 2:return a=o(s,t.v,e.strategy),l={x:0,y:0,width:i.width,height:i.height},t.a(2,{reference:a,floating:l})}},t,this)}));return function(e){return t.apply(this,arguments)}})(),getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return{width:(t=Et(t)).width,height:t.height}},getScale:xt,isElement:it,isRTL:function(t){return"rtl"===gt(t).direction}},_t=function(t){return{name:"offset",options:t=void 0===t?0:t,fn:function(e){return c(r().m(function n(){var i,o,s,a,l,c;return r().w(function(n){for(;;)switch(n.n){case 0:return o=e.x,s=e.y,a=e.placement,l=e.middlewareData,n.n=1,function(){return Y.apply(this,arguments)}(e,t);case 1:if(c=n.v,a===(null==(i=l.offset)?void 0:i.placement)&&null!=(i=l.arrow)&&i.alignmentOffset)return n.a(2,{});n.n=2;break;case 2:return n.a(2,{x:o+c.x,y:s+c.y,data:u({},c,{placement:a})})}},n)}))()}}},Dt=function(t){return{name:"shift",options:t=void 0===t?{}:t,fn:function(e){return c(r().m(function n(){var i,a,l,c,d,f,h,p,g,v,m,y,b,E,w;return r().w(function(n){for(;;
1)switch(n.n){case 0:return i=e.x,a=e.y,l=e.placement,p=e.platform,g=k(t,e),c=void 0===(c=g.mainAxis)||c,d=void 0!==(d=g.crossAxis)&&d,f=void 0===(f=g.limiter)?{fn:function(t){return{x:t.x,y:t.y}}}:f,g=s(g,o),h={x:i,y:a},n.n=1,p.detectOverflow(e,g);case 1:return p=n.v,g=I(P(l)),w=h[v=j(g)],m=h[g],c&&(b="y"===v?"bottom":"right",y=w+p["y"===v?"top":"left"],b=w-p[b],w=C(y,w,b)),d&&(y="y"===g?"bottom":"right",b=m+p["y"===g?"top":"left"],E=m-p[y],m=C(b,m,E)),w=f.fn(u({},e,((E={})[v]=w,E[g]=m,E))),n.a(2,u({},w,{data:{x:w.x-i,y:w.y-a,enabled:((m={})[v]=c,m[g]=d,m)}}))}},n)}))()}}},zt=function(t){return{name:"flip",options:t=void 0===t?{}:t,fn:function(e){return c(r().m(function n(){var o,a,l,c,u,d,f,h,p,g,v,m,y,b,E,w,x,T,O,L,S,M,A,C,j,z;return r().w(function(n){for(;;)switch(n.n){case 0:if(o=e.placement,a=e.middlewareData,l=e.rects,c=e.initialPlacement,u=e.platform,d=e.elements,y=k(t,e),f=void 0===(f=y.mainAxis)||f,h=void 0===(h=y.crossAxis)||h,p=y.fallbackPlacements,g=void 0===(g=y.fallbackStrategy)?"bestFit":g,v=void 0===(v=y.fallbackAxisSideDirection)?"none":v,m=void 0===(m=y.flipAlignment)||m,y=s(y,i),null!=(T=a.arrow)&&T.alignmentOffset)return n.a(2,{});n.n=1;break;case 1:return b=P(o),E=I(c),w=P(c)===c,n.n=2,null==u.isRTL?void 0:u.isRTL(d.floating);case 2:return x=n.v,T=p||(w||!m?[H(c)]:(V=void 0,V=H(N=c),[D(N),V,D(V)])),O="none"!==v,!p&&O&&T.push.apply(T,$(c,m,v,x)),L=[c].concat(T),n.n=3,u.detectOverflow(e,y);case 3:if(M=n.v,z=[],S=(null==(S=a.flip)?void 0:S.overflows)||[],f&&z.push(M[b]),h&&(N=l,(V=void 0)===(B=x)&&(B=!1),V=R(r=o),q=F(r=_(r)),r="x"===r?V===(B?"end":"start")?"right":"left":"start"===V?"bottom":"top",A=[r=N.reference[q]>N.floating[q]?H(r):r,H(r)],z.push(M[A[0]],M[A[1]])),S=[].concat(S,[{placement:o,overflows:z}]),z.every(function(t){return t<=0}))n.n=8;else{if(A=((null==(M=a.flip)?void 0:M.index)||0)+1,(z=L[A])&&("alignment"!==h||E===I(z)||S.every(function(t){return I(t.placement)!==E||0<t.overflows[0]})))return n.a(2,{data:{index:A,overflows:S},reset:{placement:z}});n.n=4}break;case 4:(C=null==(M=S.filter(function(t){return t.overflows[0]<=0}).sort(function(t,e){return t.overflows[1]-e.overflows[1]})[0])?void 0:M.placement)?n.n=7:(z=g,n.n="bestFit"===z?5:"initialPlacement"===z?6:7);break;case 5:return(j=null==(j=S.filter(function(t){return!O||(t=I(t.placement))===E||"y"===t}).map(function(t){return[t.placement,t.overflows.filter(function(t){return 0<t}).reduce(function(t,e){return t+e},0)]}).sort(function(t,e){return t[1]-e[1]})[0])?void 0:j[0])&&(C=j),n.a(3,7);case 6:return C=c,n.a(3,7);case 7:if(o!==C)return n.a(2,{reset:{placement:C}});n.n=8;break;case 8:return n.a(2,{})}var r,B,q,N,V},n)}))()}}},Bt=function(t){return{name:"arrow",options:t,fn:function(e){return c(r().m(function n(){var i,o,s,a,l,c,d,f,h,p,g,v,m,y,b,E,w,x,T,L,S,M,A,P,j,I,D,z;return r().w(function(n){for(;;)switch(n.n){case 0:if(i=e.x,o=e.y,s=e.placement,a=e.rects,l=e.platform,c=e.elements,d=e.middlewareData,h=k(t,e)||{},f=h.element,h=void 0===(h=h.padding)?0:h,null==f)return n.a(2,{});n.n=1;break;case 1:return p=V(h),g={x:i,y:o},v=_(s),m=F(v),n.n=2,l.getDimensions(f);case 2:return y=n.v,b=(w="y"===v)?"top":"left",E=w?"bottom":"right",w=w?"clientHeight":"clientWidth",x=a.reference[m]+a.reference[v]-g[v]-a.floating[m],T=g[v]-a.reference[v],n.n=3,null==l.getOffsetParent?void 0:l.getOffsetParent(f);case 3:if(S=n.v,L=S?S[w]:0,z=!L){n.n=5;break}return n.n=4,null==l.isElement?void 0:l.isElement(S);case 4:z=!n.v;case 5:if(!z){n.n=6;break}L=c.floating[w]||a.floating[m];case 6:return S=x/2-T/2,D=L/2-y[m]/2-1,I=O(p[b],D),D=O(p[E],D),M=I,A=L-y[m]-D,P=L/2-y[m]/2+S,j=C(M,P,A),I=!d.arrow&&null!=R(s)&&P!==j&&a.reference[m]/2-(P<M?I:D)-y[m]/2<0,D=I?P<M?P-M:P-A:0,n.a(2,((M={})[v]=g[v]+D,M.data=u(((A={})[v]=j,A.centerOffset=P-j-D,A),I&&{alignmentOffset:D}),M.reset=I,M))}},n)}))()}}},qt=(()=>{function t(t){var e=(this.container=t).querySelector(".js-tooltip-button");t=t.querySelector("[role=tooltip]");if(!e||!t)throw new Error("Tooltip: missing button or tooltip element.");this.button=e,this.tooltip=t,this.arrow=document.createElement("span"),this.tooltipPosition=this.getTooltipPosition(),this.globalEscapeBound=this.globalEscape.bind(this)}var e=t.prototype;return e.init=function(){this.createArrowElement(),this.initialiseClassList(this.tooltipPosition),this.bindEvents()},e.createArrowElement=function(){this.arrow.classList.add("js-arrow","c-tooltip__arrow"),this.tooltip.append(this.arrow)},e.openTooltip=function(){this.attachGlobalListener(),this.showTooltip(),this.setTooltipPlacement()},e.closeTooltip=function(){this.removeGlobalListener(),this.hideTooltip()},e.bindEvents=function(){this.container.addEventListener("mouseenter",this.openTooltip.bind(this)),this.container.addEventListener("touchstart",this.openTooltip.bind(this)),this.button.addEventListener("focus",this.openTooltip.bind(this)),this.container.addEventListener("mouseleave",this.closeTooltip.bind(this)),this.button.addEventListener("blur",this.closeTooltip.bind(this))},e.attachGlobalListener=function(){document.addEventListener("keydown",this.globalEscapeBound)},e.removeGlobalListener=function(){document.removeEventListener("keydown",this.globalEscapeBound)},e.globalEscape=function(t){"Escape"!==t.key&&"Esc"!==t.key||this.closeTooltip()},e.showTooltip=function(){this.container.classList.add("c-tooltip--visible"),this.tooltip.classList.remove("u-hidden"),this.tooltip.removeAttribute("hidden")},e.hideTooltip=function(){this.container.classList.remove("c-tooltip--visible"),this.tooltip.classList.add("u-hidden"),this.tooltip.setAttribute("hidden","")},e.initialiseClassList=function(t){switch(this.container.classList.remove("c-tooltip--top","c-tooltip--left","c-tooltip--right"),t){case"top":this.container.classList.add("c-tooltip--top");break;case"left":this.container.classList.add("c-tooltip--left");break;case"right":this.container.classList.add("c-tooltip--right")}},e.setTooltipPlacement=function(){var t,e,n,i,o=this;t=this.button,e=this.tooltip,n={placement:this.tooltipPosition,middleware:[_t(6),zt(),Dt({padding:5}),Bt({element:this.arrow})]},i=new Map,n=u({platform:It},n),i=u({},n.platform,{t:i}),Z(t,e,u({},n,{platform:i})).then(function(t){var e=t.x,n=t.placement,i=t.middlewareData;
1t=(e=(Object.assign(o.tooltip.style,{left:e+"px",top:t.y+"px"}),o.initialiseClassList(n),i.arrow||{})).x,i=e.y,e=n.split("-")[0];Object.assign(o.arrow.style,((n={left:null==t?"":t+"px",top:null==i?"":i+"px",right:"",bottom:""})[{top:"bottom",right:"left",bottom:"top",left:"right"}[e]||"bottom"]="-4px",n))})},e.getTooltipPosition=function(){var t=this.container.dataset.tooltipPosition;return"top"===t||"left"===t||"right"===t?t:"bottom"},t})(),Nt={breakpoints:{xs:575,sm:792,md:1024,lg:1280,xl:1600}},$t=(new WeakMap,(t=>(t.NOT_VISIBLE="hidden",t.ENTERING_TOP="entering-top",t.ENTERING_BOTTOM="entering-bottom",t.VISIBLE="visible",t.EXITING_TOP="exiting-top",t.EXITING_BOTTOM="exiting-bottom",t))({}));(()=>{function t(t){this.states=new WeakMap,this.ratios=new WeakMap,this.entries=new WeakMap,this.classesMap=t,this.observer=new IntersectionObserver(this.handleIntersect.bind(this),{threshold:Array.from({length:101},function(t,e){return e/100})})}var e=t.prototype;e.observe=function(t){this.states.set(t,"hidden"),this.ratios.set(t,0),this.observer.observe(t)},e.unobserve=function(t){this.states.delete(t),this.ratios.delete(t),this.entries.delete(t),this.observer.unobserve(t)},e.handleIntersect=function(t){for(var e=f(t);!(n=e()).done;){var n=n.value,i=n.target,o=(this.entries.set(i,n),null!=(o=this.ratios.get(i))?o:0);o=this.computeState(n,o);this.ratios.set(i,n.intersectionRatio),this.states.get(i)!==o&&(this.states.set(i,o),this.applyEffects(i,o))}},e.getElementVisibility=function(t){return 0<=(t=t.getBoundingClientRect()).top&&0<=t.left&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)},e.computeState=function(t,e){var n=t.intersectionRatio,i=t.boundingClientRect,o=t.rootBounds;return o&&0!==n?.98<=n?"visible":0===e&&0<n?i.top<o.top?"entering-top":"entering-bottom":n<e?i.top<o.top?"exiting-top":"exiting-bottom":null!=(n=this.states.get(t.target))?n:"hidden":"hidden"},e.applyEffects=function(t,e){var n=this,i=(t.dispatchEvent(new CustomEvent("visibilitychange",{detail:{state:e}})),Object.values($t).forEach(function(e){var i=null!=(i=null==(i=n.classesMap)?void 0:i[e])?i:"is-"+e;t.classList.remove(i)}),null!=(i=null==(i=this.classesMap)?void 0:i[e])?i:"is-"+e);t.classList.add(i)}})();new WeakMap}};const e={};function n(i){const o=e[i];if(void 0!==o)return o.exports;const s=e[i]={exports:{}};return t[i](s,s.exports,n),s.exports}n.d=(t,e)=>{if(Array.isArray(e))for(var i=0;i<e.length;){var o=e[i++],s=e[i++],r=0===s?{enumerable:!0,value:e[i++]}:{enumerable:!0,get:s};n.o(t,o)||Object.defineProperty(t,o,r)}else for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);n(9706),n(1394),n(4480),n(1728),n(6216),n(6031),n(3283),n(6055),n(1171)})();
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.