1(()=>{"use strict";var e,t,o,s,i,a={"./node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@iris.interactive/handcook/public/scripts/enumerators/element.enum.js"(e,t,o){o.d(t,{A:()=>s});class s{static tooltip="[data-hc-tooltip], [data-hc-popover]";static popover="[data-hc-popover]";static scrollSmooth="[data-hc-smooth-scroll]";static modal="[data-hc-modal]";static modalClose="[data-hc-modal-close]";static lightboxAttr="data-hc-lightbox";static lightbox=`[${s.lightboxAttr}]`;static dropdown="[data-hc-dropdown]";static dropdownMenu="data-hc-dropdown-menu";static dropdownMenuOffset="data-hc-dropdown-menu-offset";static dropdownMenuHideOnScroll="data-hc-dropdown-menu-hide-on-scroll";static dropdownMenuAppendToBody="data-hc-dropdown-menu-append-to-body";static collapse="[data-hc-collapse]";static collapseItem="[data-hc-collapse-item]";static popin="[data-hc-popin]";static tab="[data-hc-tab]";static tabWrapper="[data-hc-tab-wrapper]";static toggle="[data-hc-toggle]";static slider="[data-hc-slider]";static scrollspy="[data-hc-scrollspy]";static scrollspyNav="[data-hc-scrollspy-nav]";static scrollspyNavItem="[data-hc-scrollspy-nav-item]";static scrollspyNavItemHref="[data-hc-scrollspy-nav-item-href]";static scrollReveal="[data-hc-scroll-reveal]";static scrollRevealDisable="[data-hc-noscroll-reveal]";static scrollRevealParent="[data-hc-scroll-reveal-parent]";static scrollRevealChildren=`${s.scrollRevealParent} > *:not(${s.scrollRevealDisable}):not(${s.scrollRevealParent}):not(${s.scrollReveal})`;static overlay="[data-hc-overlay]";static trapFocus="[data-hc-trap-focus]";static trapFocusTrigger="data-hc-trap-focus-trigger";static trapFocusClose="data-hc-trap-focus-close";static trapFocusFocusable="data-hc-trap-focus-focusable";static trapFocusActive="data-hc-trap-focus-focusable";static trapFocusAutofocus="data-hc-trap-focus-autofocus";static trapFocusEsc="data-hc-trap-focus-escape";static trapFocusIsolate="data-hc-trap-focus-isolate";static commonFancyboxl10n={CLOSE:IRISCollectionTheme.translate?.modal.close??"Fermer la modale",NEXT:IRISCollectionTheme.translate?.modal.next??"Suivant",PREV:IRISCollectionTheme.translate?.modal.prev??"Pr\xe9c\xe9dent",ERROR:IRISCollectionTheme.translate?.modal.error??"Quelque chose c'est mal pass\xe9. Merci d'essayer plus tard\n",IMAGE_ERROR:IRISCollectionTheme.translate?.modal.imageError??"Image introuvable",ELEMENT_NOT_FOUND:IRISCollectionTheme.translate?.modal.elementNotFound??"\xc9lement HTML introuvable",AJAX_NOT_FOUND:IRISCollectionTheme.translate?.modal.ajaxNotFound??"Erreur de chargement AJAX : Introuvable",AJAX_FORBIDDEN:IRISCollectionTheme.translate?.modal.ajaxForbidden??"Erreur de chargement AJAX : Interdit",IFRAME_ERROR:IRISCollectionTheme.translate?.modal.iframeError??"Erreur du chargement de la page",TOGGLE_ZOOM:IRISCollectionTheme.translate?.modal.toggleZoom??"Modifier le niveau de zoom",TOGGLE_THUMBS:IRISCollectionTheme.translate?.modal.toggleThumbs??"Afficher/cacher les miniatures",TOGGLE_SLIDESHOW:IRISCollectionTheme.translate?.modal.toggleSlideshow??"Activer/d\xe9sactiver le d\xe9filement automatique",TOGGLE_FULLSCREEN:IRISCollectionTheme.translate?.modal.toggleFullscreen??"Mode plein \xe9cran",DOWNLOAD:IRISCollectionTheme.translate?.modal.download??"T\xe9l\xe9charger"};static modall10n={...s.commonFancyboxl10n,MODAL:IRISCollectionTheme.translate?.modal.modal??"Vous pouvez fermer cette modale avec la touche \xc9chap"};static lightboxl10n={...s.commonFancyboxl10n,MODAL:IRISCollectionTheme.translate?.lightbox.modal??"Slider avec une liste d'images",GOTO:IRISCollectionTheme.translate?.modal.goto??"Aller sur la photo #%d"};static popinl10n={CLOSE:IRISCollectionTheme?.translate?.popin?.close??"Fermer la notification"}}},"./resources/assets/scripts/enumerators/bottom-bar.enum.js"(e,t,o){o.d(t,{A:()=>s});class s{static BOTTOMBAR='[data-element="iris-bottom-bar-sticky"]'}},"./resources/assets/scripts/enumerators/iframe-resizer.enum.js"(e,t,o){o.d(t,{A:()=>s});class s{static IFRAME_ELEMENT='[data-element="iframe-resizer"]'}},jquery(e){e.exports=window.jQuery},"@wordpress/hooks"(e){e.exports=window.wp.hooks}},n={};function c(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={exports:{}};return a[e].call(o.exports,o,o.exports,c),o.exports}c.m=a,c.n=e=>
1{var t=e&&e.__esModule?()=>e.default:()=>e;return c.d(t,{a:t}),t},c.d=(e,t)=>{for(var o in t)c.o(t,o)&&!c.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},c.f={},c.e=e=>Promise.all(Object.keys(c.f).reduce((t,o)=>(c.f[o](e,t),t),[])),c.k=e=>"chunks/"+e+"."+({"scripts/MapComponent":"a11c4e2f1a463c52","scripts/hc_collapse":"8baeb0739dfeb856","scripts/hc_dropdown":"1eb1b750dba069ae","scripts/hc_lightbox":"f8e8888511f91111","scripts/hc_modal":"2ef82cb18af7d3b3","scripts/hc_overlay":"0a6cf477b11daa30","scripts/hc_scroll_reveal":"443311b44da8c843","scripts/hc_tab":"a00acafdb9e4e19c","scripts/hc_tooltip":"f8362ede7aba7370","styles/hc_swiper_v11":"b4a2c97d656bf809","vendors-node_modules_pnpm_fancyapps_ui_5_0_36_node_modules_fancyapps_ui_dist_index_esm_js-nod-d233fe":"b45d39fbaf930b17"})[e]+".css",c.u=e=>"chunks/"+e+"."+({"scripts/AnchorsComponent":"5ecad678db9a9b0e","scripts/AxeptioComponent":"0dc754249953cff8","scripts/BottomBarComponent":"6236770f973b626e","scripts/ContextualNavComponent":"fe487da2d67db22c","scripts/FiltersComponent":"0dab58364ae471db","scripts/MapComponent":"50dddd649868a854","scripts/core-ui":"885d1360923dc8c5","scripts/cursor-effect.action":"dab084baac274bf1","scripts/data-layer":"5a02cca0522504c7","scripts/fullscreen.component":"b8a231892936ea05","scripts/hc_dropdown":"58f61bdebe985487","scripts/hc_lazyload":"77416c5d4de85762","scripts/hc_lightbox":"097590476c05d583","scripts/hc_modal":"037bc54fbcb425a7","scripts/hc_nats":"25421bb1366faa13","scripts/hc_overlay":"d43d15116b05b32b","scripts/hc_scroll_reveal":"d83ae5cf4928d5e4","scripts/hc_scrollspy":"540a00324e03a3e1","scripts/hc_slider":"a946f5f8aba6a327","scripts/hc_swiper_v11":"2653de0c514a26b6","scripts/hc_tab":"456c6db56a1f15ac","scripts/hc_toggle":"33694835c01bc0d8","scripts/hc_trap_focus":"3e3d7a0aa03b9c0b","scripts/iframe-resizer.action":"72bdfbe487053361","scripts/ripple-effect.action":"d2a94e209b3397e0","styles/hc_swiper_v11":"d946372476a01860","vendors-node_modules_pnpm_fancyapps_ui_5_0_36_node_modules_fancyapps_ui_dist_index_esm_js-nod-d233fe":"307bd943ace05717","vendors-node_modules_pnpm_gsap_3_15_0_node_modules_gsap_index_js":"0b3d970134a06f6c","vendors-node_modules_pnpm_iris_interactive_handcook_8_9_11__popperjs_core_2_11_8_node_modules-10f9b7":"3b343e8a2c692229","vendors-node_modules_pnpm_iris_interactive_handcook_8_9_11__popperjs_core_2_11_8_node_modules-1e8353":"dbcbd0494c2e89a7","vendors-node_modules_pnpm_iris_interactive_handcook_8_9_11__popperjs_core_2_11_8_node_modules-1fc3bd":"c57ba579fcdb2749","vendors-node_modules_pnpm_leaflet_1_9_4_node_modules_leaflet_dist_images_layers-2x_png-node_m-ad4aaa":"e605b993de1673d0"})[e]+".js",c.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),c.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},c.l=function(e,t,o,s){if(r[e])return void r[e].push(t);if(void 0!==o)for(var i,a,n=document.getElementsByTagName("script"),l=0;l<n.length;l++){var d=n[l];if(d.getAttribute("src")==e||d.getAttribute("data-rspack")=="iris_collection_plugin_core:"+o){i=d;break}}i||(a=!0,(i=document.createElement("script")).timeout=120,c.nc&&i.setAttribute("nonce",c.nc),i.setAttribute("data-rspack","iris_collection_plugin_core:"+o),i.src=e),r[e]=[t];var p=function(t,o){i.onerror=i.onload=null,clearTimeout(h);var s=r[e];if(delete r[e],i.parentNode&&i.parentNode.removeChild(i),s&&s.forEach(function(e){return e(o)}),t)return t(o)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),a&&document.head.appendChild(i)},c.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.rv=()=>"1.7.12",c.j="scripts/core-app",c.g.importScripts&&(l=c.g.location+"");var r,l,d=c.g.document;if(!l&&d&&(d.currentScript&&"SCRIPT"===d.currentScript.tagName.toUpperCase()&&(l=d.currentScript.src),!l)){var p=d.getElementsByTagName("script");if(p.length)for(var h=p.length-1;h>-1&&(!l||!/^http(s?):/.test(l));)l=p[h--].src}if(!l)throw Error("Automatic publicPath is not supported in this browser");c.p=(l=l.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"))+"../",e={},t="data-rspack-loading",c.f.css=(o,s,i)=>{var a=c.o(e,o)?e[o]:void 0;if(0!==a)if(a)s.push(a[2]);else if(/^(s(cripts\/(hc_((mod|scroll_reve)al|collapse|dropdown|lightbox|overlay|tab|tooltip)|MapComponent)|tyles\/hc_swiper_v11)|vendors\-node_modules_pnpm_fancyapps_ui_5_0_36_node_modules_fancyapps_ui_dist_index_esm_js\-nod\-d233fe)$/.test(o)){var n=new Promise(function(t,s){a=e[o]=[t,s]});s.push(a[2]=n);var r=c.p+c.k(o),l=Error(),d=function(t){if(c.o(e,o)&&(0!==(a=e[o])&&(e[o]=void 0),a))if("load"
1!==t.type){var s=t&&t.type,i=t&&t.target&&t.target.src;l.message="Loading css chunk "+o+" failed.\n("+s+": "+i+")",l.name="ChunkLoadError",l.type=s,l.request=i,a[1](l)}else c.m,e[o]=0,a[0]()};"u">typeof document?((e,o,s,i)=>{var a,n,r="chunk-"+e;if(!i){for(var l=document.getElementsByTagName("link"),d=0;d<l.length;d++){var p=l[d],h=p.getAttribute("href")||p.href;if(h&&!h.startsWith(c.p)&&(h=c.p+(h.startsWith("/")?h.slice(1):h)),"stylesheet"==p.rel&&(h&&h.startsWith(o)||p.getAttribute("data-rspack")=="iris_collection_plugin_core:"+r)){a=p;break}}if(!s)return}a||(n=!0,a=document.createElement("link"),c.nc&&a.setAttribute("nonce",c.nc),a.setAttribute("data-rspack","iris_collection_plugin_core:"+r),a.setAttribute(t,1),a.rel="stylesheet",a.href=o);var u=(e,o)=>{if(a.onerror=a.onload=null,a.removeAttribute(t),clearTimeout(m),o&&"load"!=o.type&&a.parentNode.removeChild(a),s(o),e)return e(o)};if(a.getAttribute(t)){var m=setTimeout(u.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=u.bind(null,a.onerror),a.onload=u.bind(null,a.onload)}else u(void 0,{type:"load",target:a});return i&&i.getAttribute("fetchpriority")&&a.setAttribute("fetchpriority",i.getAttribute("fetchpriority")),i?document.head.insertBefore(a,i):n&&document.head.appendChild(a)})(o,r,d,void 0):d({type:"load"})}else e[o]=0},o={"scripts/core-app":0},c.f.j=function(e,t){var s=c.o(o,e)?o[e]:void 0;if(0!==s)if(s)t.push(s[2]);else if(/^scripts\/hc_(collapse|tooltip)$/.test(e))o[e]=0;else{var i=new Promise((t,i)=>s=o[e]=[t,i]);t.push(s[2]=i);var a=c.p+c.u(e),n=Error();c.l(a,function(t){if(c.o(o,e)&&(0!==(s=o[e])&&(o[e]=void 0),s)){var i=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;n.message="Loading chunk "+e+" failed.\n("+i+": "+a+")",n.name="ChunkLoadError",n.type=i,n.request=a,s[1](n)}},"chunk-"+e,e)}},s=(e,t)=>{var s,i,[a,n,r]=t,l=0;if(a.some(e=>0!==o[e])){for(s in n)c.o(n,s)&&(c.m[s]=n[s]);r&&r(c)}for(e&&e(t);l<a.length;l++)i=a[l],c.o(o,i)&&o[i]&&o[i][0](),o[i]=0},(i=self.webpackChunkiris_collection_plugin_core=self.webpackChunkiris_collection_plugin_core||[]).forEach(s.bind(null,0)),i.push=s.bind(null,i.push.bind(i)),c.ruid="[email protected]",(()=>{function e(e){let t=`${e}=`,o=decodeURIComponent(document.cookie).split(";");for(let e=0;e<o.length;e++){let s=o[e];for(;" "===s.charAt(0);)s=s.substring(1);if(0===s.indexOf(t))return s.substring(t.length,s.length)}return""}function t(e,t,o){let s=new Date;s.setTime(s.getTime()+24*o*36e5);let i=`expires=${s.toUTCString()}`;document.cookie=`${e}=${t};${i};path=/`}c("jquery");class o{static SUCCESS_EVENT="frmFormComplete";static ERROR_EVENT="frmFormErrors";static SUCCESS_MESSAGE=IRISCollectionTheme.translate.successForm}let s=o.SUCCESS_EVENT;o.ERROR_EVENT,o.SUCCESS_MESSAGE;class i{static MODAL_ID_CONTENT_IS_HELPFULL="modal-content-helpful-you";static MODAL_ID_CONTENT_IS_NOT_HELPFULL="modal-content-not-helpful-you";static TRIGGER_IS_NOT_HELPFULL="[data-trigger='this-content-is-not-helpful']";static TRIGGER_IS_HELPFULL="[data-trigger='this-content-is-helpful']"}var a=c("jquery");class n{tooltipHelpful;tooltipNotHelpful;previousVote;isHelpfulClicked=!1;isNotHelpfulClicked=!1;constructor(){document.querySelectorAll(i.TRIGGER_IS_HELPFULL).length>0&&Promise.all([c.e("vendors-node_modules_pnpm_iris_interactive_handcook_8_9_11__popperjs_core_2_11_8_node_modules-1e8353"),c.e("scripts/hc_tooltip")]).then(c.bind(c,"./node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@iris.interactive/handcook/public/scripts/components/tooltip/tooltip.component.js")).then(e=>{let{default:o}=e;this.setPreviousVote();let n=i.TRIGGER_IS_HELPFULL,r=i.TRIGGER_IS_NOT_HELPFULL;this.tooltipHelpful=o('[data-trigger="this-content-is-helpful"]',{content:IRISCollectionTheme.contentHelpfull.translate.helpfull}),(0===this.previousVote||-1===this.previousVote)&&this.tooltipHelpful.disable(),this.tooltipNotHelpful=o(i.TRIGGER_IS_NOT_HELPFULL,{content:IRISCollectionTheme.contentHelpfull.translate.useless}),(1===this.previousVote||-1===this.previousVote)&&this.tooltipNotHelpful.disable(),a(document).on(s,(e,t)=>{Number.parseInt(a(t).find('input[name="form_id"]').val())}),a(i.TRIGGER_IS_NOT_HELPFULL).on("click",e=>{e.preventDefault(),this.setPreviousVote(),this.isHelpfulClicked=!1,0===this.previousVote||this.isNotHelpfulClicked||(fetch(IRISCollectionTheme.contentHelpfull.thisContentIsHelpfull,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({queriedObject:IRISCollectionTheme.queriedObject,isHelpful:0,previousVote:this.previousVote})}).then(e=>{if(!e.ok)throw Error("Network response was not ok");a(r).find("i").addClass("ficore--thumb-down-full"),a(r).find("i").removeClass("ficore--thumb-down"),a(r).attr("aria-pressed","true"),a(n).find("i").removeClass("ficore--thumb-up-full"),a(n).find("i").addClass("ficore--thumb-up"),a(n).attr("aria-pressed","fal
1se"),this.tooltipNotHelpful.enable(),this.tooltipHelpful.disable(),t(IRISCollectionTheme.cookieNameOfHelpfulPreviousVote,0,7),Promise.all([c.e("vendors-node_modules_pnpm_fancyapps_ui_5_0_36_node_modules_fancyapps_ui_dist_index_esm_js-nod-d233fe"),c.e("scripts/hc_modal")]).then(c.bind(c,"./node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@iris.interactive/handcook/public/scripts/components/modal/modal.component.js")).then(e=>{let{HcModal:t}=e,o=()=>{a(i.TRIGGER_IS_NOT_HELPFULL).focus(),document.removeEventListener("hide.hc.modal",o)};document.addEventListener("hide.hc.modal",o),t.show({src:`#${i.MODAL_ID_CONTENT_IS_NOT_HELPFULL}`,type:"inline",autoFocus:!0})})}).catch(e=>{console.log(IRISCollectionTheme.contentHelpfull.translate.error,e)}),this.isNotHelpfulClicked=!0)}),a(i.TRIGGER_IS_HELPFULL).on("click",e=>{e.preventDefault(),this.setPreviousVote(),this.isNotHelpfulClicked=!1,1===this.previousVote||this.isHelpfulClicked||(fetch(IRISCollectionTheme.contentHelpfull.thisContentIsHelpfull,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({queriedObject:IRISCollectionTheme.queriedObject,isHelpful:1,previousVote:this.previousVote})}).then(e=>{if(!e.ok)throw Error("Network response was not ok");a(n).find("i").addClass("ficore--thumb-up-full"),a(n).find("i").removeClass("ficore--thumb-up"),a(n).attr("aria-pressed","true"),a(r).find("i").removeClass("ficore--thumb-down-full"),a(r).find("i").addClass("ficore--thumb-down"),a(r).attr("aria-pressed","false"),this.tooltipNotHelpful.disable(),this.tooltipHelpful.enable(),t(IRISCollectionTheme.cookieNameOfHelpfulPreviousVote,1,7),Promise.all([c.e("vendors-node_modules_pnpm_fancyapps_ui_5_0_36_node_modules_fancyapps_ui_dist_index_esm_js-nod-d233fe"),c.e("scripts/hc_modal")]).then(c.bind(c,"./node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@iris.interactive/handcook/public/scripts/components/modal/modal.component.js")).then(e=>{let{HcModal:t}=e,o=()=>{a(i.TRIGGER_IS_HELPFULL).focus(),document.removeEventListener("hide.hc.modal",o)};document.addEventListener("hide.hc.modal",o),t.show({src:`#${i.MODAL_ID_CONTENT_IS_HELPFULL}`,type:"inline",autoFocus:!0})})}).catch(e=>{console.log(IRISCollectionTheme.contentHelpfull.translate.error,e)}),this.isHelpfulClicked=!0)})})}setPreviousVote(){this.previousVote=Number.parseInt(e(IRISCollectionTheme.cookieNameOfHelpfulPreviousVote)),this.previousVote=Number.isNaN(this.previousVote)?-1:this.previousVote}}class r{static ECOBAR='[data-id="eco-bar"]';static ECOBAR_TRIGGER='[data-trigger="eco-bar"]';static ECOBAR_TRIGGER_LABEL_OPEN='[data-id="eco-bar-trigger-label-open"]';static ECOBAR_TRIGGER_LABEL_CLOSE='[data-id="eco-bar-trigger-label-close"]';static ECOBAR_CONTENT='[data-id="eco-bar-content"]';static ECOBAR_SWITCH='[data-id="eco-bar-switch"]';static ECOBAR_HIDDEN_CLASS="eco-bar--hidden"}var l=c("jquery");class d{ecoModeConfig;ecoModeTooltip;constructor(){document.querySelectorAll(r.ECOBAR).length>0&&Promise.all([c.e("vendors-node_modules_pnpm_iris_interactive_handcook_8_9_11__popperjs_core_2_11_8_node_modules-1e8353"),c.e("scripts/hc_tooltip")]).then(c.bind(c,"./node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@iris.interactive/handcook/public/scripts/components/tooltip/tooltip.component.js")).then(o=>{let{default:s}=o;this.ecoModeTooltip=s(r.ECOBAR_TRIGGER),this.ecoModeTooltip.disable(),this.ecoModeConfig=e(IRISCollectionTheme.cookieNameOfEcoMode)?JSON.parse(e(IRISCollectionTheme.cookieNameOfEcoMode)):null,!this.ecoModeConfig&&(this.ecoModeConfig={isEcoModeActive:IRISCollectionTheme.config.ecomodeActive??!1,isEcoBarHidden:!IRISCollectionTheme.config.ecomodeActive??!1},t(IRISCollectionTheme.cookieNameOfEcoMode,JSON.stringify(this.ecoModeConfig),7),this.ecoModeConfig.isEcoBarHidden||l(r.ECOBAR).toggleClass(r.ECOBAR_HIDDEN_CLASS)),this.ecoModeConfig.isEcoBarHidden&&this.ecoModeTooltip.enable(),!0===this.ecoModeConfig.isEcoModeActive&&fetch(IRISCollectionTheme.carbonApiUpdateViewRoute+window.location.href,{mode:"no-cors"}),l(r.ECOBAR_TRIGGER).on("click",()=>
1{l(r.ECOBAR).hasClass(r.ECOBAR_HIDDEN_CLASS)?(l(r.ECOBAR_TRIGGER).attr("aria-expanded","true"),l(r.ECOBAR_CONTENT).attr("aria-hidden","false"),this.ecoModeTooltip.enable()):(l(r.ECOBAR_TRIGGER).attr("aria-expanded","false"),l(r.ECOBAR_CONTENT).attr("aria-hidden","true"),this.ecoModeTooltip.disable()),l(r.ECOBAR).toggleClass(r.ECOBAR_HIDDEN_CLASS),l(r.ECOBAR_TRIGGER_LABEL_OPEN).toggleClass("twcore-hidden"),l(r.ECOBAR_TRIGGER_LABEL_CLOSE).toggleClass("twcore-hidden"),this.ecoModeConfig.isEcoBarHidden=!this.ecoModeConfig.isEcoBarHidden,t(IRISCollectionTheme.cookieNameOfEcoMode,JSON.stringify(this.ecoModeConfig),7)});let i=()=>{l(r.ECOBAR_SWITCH).toggleClass("eco-bar__switch--active"),l(r.ECOBAR_SWITCH).css("pointer-events","none"),this.ecoModeConfig.isEcoModeActive?(this.ecoModeConfig.isEcoModeActive=!this.ecoModeConfig.isEcoModeActive,this.ecoModeConfig.isEcoBarHidden=!0):(this.ecoModeConfig.isEcoModeActive=!0,this.ecoModeConfig.isEcoBarHidden=!1),t(IRISCollectionTheme.cookieNameOfEcoMode,JSON.stringify(this.ecoModeConfig),7),window.location.reload()};l(r.ECOBAR_SWITCH).on("click",i),l(document).on("keydown",r.ECOBAR_SWITCH,function(e){("Enter"===e.key||" "===e.key)&&(e.preventDefault(),i())})})}}var p=c("jquery");class h{constructor(){h.initialize()}static initialize(){p("[data-trigger-eco-block]").length>0&&(p("[data-eco-block]").each(function(){p(this).bind("eco-block-loaded",function(){p(this).hasClass("wp-block--eco-loaded")||h.loadedState(p(this))})}),p(document).on("click","[data-trigger-eco-block]",function(){let e=p(this).closest("[data-eco-block]");h.loadingState(e)}))}static loadingState(e){e.addClass("wp-block--eco-loading")}static loadedState(e){e.toggleClass("wp-block--eco-loading wp-block--eco-loaded")}}var u=c("jquery");class m{constructor(){m.formAnimation(),u(document).on("frmFormComplete",()=>{m.formAnimation()})}static formAnimation(){let e=u(".form__group--text input, .form__group--textarea textarea, .form__group--select select, .form__group--phone input, .form__group--url input, .form__group--number input, .form__group--date input, .form__group--email input, #newsletter-field, .wpSearchFormItem--input"),t=u(".form__group--date input"),o=u(".form__group--number input");e.each(function(){u(this).val()&&0!==u(this).val().length&&u(this).closest(".frm_form_field").find("label").addClass("label-active")}),e.focusin(function(){u(this).closest(".frm_form_field").find("label").addClass("label-active")}),e.focusout(function(){""===u(this).val()&&0===u(this).val().length&&u(this).closest(".frm_form_field").find("label").removeClass("label-active")}),t.on("change",function(){u(this).closest(".frm_form_field").find("label").addClass("label-active")}),o.on("change",function(){u(this).closest(".frm_form_field").find("label").addClass("label-active")})}}class _{constructor(){let e=!1;window.addEventListener("mousedown",()=>{e||document.body.classList.add("iris-hover")}),window.addEventListener("mouseup",()=>{e=!1}),window.addEventListener("touchstart",()=>{e=!0,document.body.classList.remove("iris-hover")})}}var f=c("jquery");class g{constructor(){f('.hentry a:has(>img):not([target="_blank"]):not("[nolightbox]")').each(function(){let e=f(this).attr("href");e.match(/(.jpg|.jpeg|.png|.gif|.svg|.webp)$/)?void 0===f(this).data("hc-lightbox")&&f(this).attr("data-hc-lightbox","lightbox"):-1===e.indexOf(IRISCollectionTheme.serverUrl)&&f(this).attr("target","_blank")});let e=0;f(".hentry .wp-block-image").each(function(){e++,f(this).find("a:has(>img)").each(function(){"lightbox"===f(this).data("hc-lightbox")&&f(this).attr("data-hc-lightbox",`wp-block-image-${e}`)})}),e=0,f(".hentry .wp-block-gallery").each(function(){e++,f(this).find("a:has(>img)").each(function(){"lightbox"===f(this).data("hc-lightbox")&&f(this).attr("data-hc-lightbox",`wp-block-gallery-${e}`)})}),f("[data-hc-lightbox]").length>0&&Promise.all([c.e("vendors-node_modules_pnpm_fancyapps_ui_5_0_36_node_modules_fancyapps_ui_dist_index_esm_js-nod-d233fe"),c.e("scripts/hc_lightbox")]).then(c.bind(c,"./node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@iris.interactive/handcook/public/scripts/components/lightbox/lightbox.c
1omponent.js")).then(e=>{let{default:t}=e;t()})}}var b=c("jquery");class v{constructor(){v.initComponent()}static initComponent(){Promise.all([c.e("vendors-node_modules_pnpm_iris_interactive_handcook_8_9_11__popperjs_core_2_11_8_node_modules-10f9b7"),c.e("scripts/hc_nats")]).then(c.bind(c,"./node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@iris.interactive/handcook/public/scripts/components/nats/nats.component.js")).then(e=>{let{default:t}=e,o=t(),s=IRISCollectionTheme?.queriedObject?.post_title??null;b("body.single-wpet").length>0&&s&&o.publishMessage("view-v2",s),b("[data-wpet-list-sit]").length>0&&s&&o.publishMessage("view-list-v2",s),b("body.single-post").length>0&&s&&o.publishMessage("view-post-v2",s),b(".iris-travel-book__button-add").click(function(){!1===b(this).hasClass("isInTravelBook")&&s&&o.publishMessage("add-favourites-v2",s)}),b(".wpet-communication a").click(()=>{s&&o.publishMessage("click-cta-sit-v2",s)}),b(".wp-block-wp-etourisme-v3-link a").click(()=>{s&&o.publishMessage("click-cta-sit-v2",s)}),b(".wp-block-wp-etourisme-v3-booking-button a").click(()=>{s&&o.publishMessage("click-cta-sit-v2",s)}),b(".GtmButtonConsultationResaPrestataire").click(()=>{s&&o.publishMessage("click-resa-v2",s)}),b(".wp-block-weather").length>0&&s&&o.publishMessage("view-weather-v2",s),b(".wp-block-webcam").length>0&&s&&o.publishMessage("view-webcam-v2",s),b(".wp-block-info-neige-station").length>0&&s&&o.publishMessage("view-neige-v2",s),b(".wp-search button").click(()=>{s&&o.publishMessage("click-search-v2",s)}),b("body.single-brochure").length>0&&s&&o.publishMessage("view-brochure-v2",s),b(".frm_final_submit").click(()=>{s&&o.publishMessage("click-form-v2",s)})})}}var C=c("jquery");class w{constructor(){w.select()}static select(){C('select:not([class*="lightpick"])').parent().not(".form__select").children("select").wrap('<div class="form__select"></div>')}}var E=c("./resources/assets/scripts/enumerators/bottom-bar.enum.js"),k=c("jquery");class I{constructor(){k(E.A.BOTTOMBAR).length>0&&c.e("scripts/BottomBarComponent").then(c.bind(c,"./resources/assets/scripts/components/bottom-bar.component.js")).then(e=>{let{default:t}=e;new t})}}class y{constructor(){IRISCollectionTheme.config.GTMActive&&c.e("scripts/data-layer").then(c.bind(c,"./resources/assets/scripts/actions/data-layer.action.js")).then(e=>{let{default:t}=e;new t})}}var R=c("./node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@iris.interactive/handcook/public/scripts/enumerators/element.enum.js");class S{trigger="[data-hc-dropdown]";constructor(){document.querySelectorAll(R.A.dropdown).length>0&&c.e("scripts/hc_dropdown").then(c.bind(c,"./node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@iris.interactive/handcook/public/scripts/components/dropdown/dropdown.component.js")).then(e=>{let{default:t}=e;t()})}}var T=c("@wordpress/hooks");class A{constructor(){(0,T.addFilter)("iris_core_easepick_stylesheet_url","iris-core",()=>IRISCollectionTheme.easepickStyleUrl,10)}}var O=c("jquery"),j=c("jquery");class L{constructor(){j(".fullscreen").length>0&&c.e("scripts/fullscreen.component").then(c.bind(c,"./resources/assets/scripts/components/fullscreen.component.js")).then(e=>{let{default:t}=e;new t})}}class M{trigger="[data-hc-src], [data-hc-bg]";constructor(){document.querySelectorAll(this.trigger).length>0&&c.e("scripts/hc_lazyload").then(c.bind(c,"./node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@iris.interactive/handcook/public/scripts/components/lazyload/lazyload.component.js")).then(e=>{let{default:t}=e;t()})}}var N=c("jquery");class H{constructor(){N('[data-element="map"]').length>0&&Promise.all([c.e("vendors-node_modules_pnpm_leaflet_1_9_4_node_modules_leaflet_dist_images_layers-2x_png-node_m-ad4aaa"),c.e("scripts/MapComponent")]).then(c.bind(c,"./resources/assets/scripts/components/map.component.js")).then(e=>{let{default:t}=e;t.initializeMap()})}}class x{trigger="[data-hc-modal]";constructor(){document.querySelectorAll(this.trigger).length>0&&Promise.all([c.e("vendors-node_modules_pnpm_fancyapps_ui_5_0_36_node_modules_fancyapps_ui_dist_index_esm_js-nod-d233fe"),c.e("scripts/hc_modal")]).then(c.bind(c,"./node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@iris.interactive/handcook/public/scripts/components/modal/modal.component.js")).then(e=>{let{default:t}=e;t()})}}var B=c("jquery");class G{static modalId="#modal-lang-switcher";constructor(){B(G.modalId).length>0&&(Promise.all([c.e("vendors-node_modules_pnpm_fancyapps_ui_5_0_36_node_modules_fancyapps_ui_dist_index_esm_js-nod-d233fe"),c.e("scripts/hc_modal")]).then(c.bind(c,"./node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@iris.interactive/handcook/public/scripts/components/modal/modal.component.js")).then(e=>{let{HcModal:t}=e;t.show({src:G.modalId,autoFocus:!1}),G.closeLangModal()}),G.clickOnLangList(),B(".gtranslate_wrapper")&&G.specificGtranslate())}static clickOnLangList(){B('[data-trigger="modal-lang-switcher-link"]').each(function(){B(this).on("click",()=>{G.setCookie()})})}static specificGtranslate(){let e=B('[data-element="modal-lang-specific-gtranslate"]'),t=e.data("lang-suggested"),o=e.data("suggested-wording"),s=e.data("current-wording"),i=!1;e.find(".glink").each(function(){if(B(this).on("click",()=>{G.setCookie()}),B(this).hasClass("gt-current-lang"))B(this).find("span").append("<span class='info'>"+s+"</span>");else{let e=B(this).attr("data-gt-lang");!1===i&&(t===e?(B(this).addClass("gt-suggested-lang"),B(this).find("span").append("<span class='info'>"+o+"</span>"),i=!0):t.split("-")[0]===e&&(B(this).addClass("gt-suggested-lang"),B(this).find("span").append("<span class='info'>"+o+"</span>"),i=!0))}})}static closeLangModal(){document.addEventListener("hide.hc.modal",e=>{e.detail.src===G.modalId&&G.setCookie()})}static setCookie(){document.cookie="iris_lang_modal_dismissed=1; path=/; max-age=2592000"}}var P=c("jquery");class F{static initObfuscation(){let e="[data-obf]";if(P(e).length>0)if(P(e).each(function(){P(this).attr("role","link"),P(this).attr("tabindex","0"),P(this).attr("aria-label",P(this).text())}),window.matchMedia("(pointer: coarse)").matches)P(document).on("click",e,function(e){let t=!1,o=atob(P(this).attr("data-obf"));return"_blank"===P(this).attr("data-obf-target")&&(t=!0),t?window.open(o,"_blank"):window.location=o,!1});else{let t=0;P(window).on("keydown",e=>{if((17===e.which||91===e.which)&&(t=!0),13===e.which){let o=!1,s=P(e.target).attr("data-obf");if(s){let i=atob(s);"_blank"===P(e.target).attr("data-obf-target")&&(o=!0),o||t?window.open(i,"_blank"):window.location=i}}}),P(window).on("keyup",()=>{t=!1}),P(document).on("mouseup",e,function(e){let o=atob(P(this).attr("data-obf")),s=P(this).attr("data-obf-target");if(1===e.which||2===e.which){let i=!1;2===e.which&&(i=!0),"_blank"===s&&(i=!0),i||t?window.open(o,"_blank"):window.location=o}return!1})}}}var D=c("jquery");class q{constructor(){D("[data-obf]").length>0&&F.initObfuscation()}}class V{trigger="[data-hc-overlay]";constructor(){document.querySelectorAll(this.trigger).length>0&&c.e("scripts/hc_overlay").then(c.bind(c,"./node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@iris.interactive/handcook/public/scripts/components/overlay/overlay.component.js")).then(e=>{let{default:t}=e;t()})}}class U{constructor(){U.init()}static init(){if(window.scrollY>0)return;let e=window.innerHeight;for(let t of document.querySelectorAll("img")){if(t.hasAttribute("no-preload")||!U.isElementVisible(t))continue;let o=t.getBoundingClientRect();o.top<e&&o.bottom>0&&o.width>0&&U.processImage(t)}}static processImage(e){if(!e)return;"lazy"===e.loading&&e.removeAttribute("loading");let t=e.getAttribute("data-hc-src");t&&(e.removeAttribute("data-hc-src"),e.src=t)}static isElementVisible(e){if("function"==typeof e.checkVisibility)return e.checkVisibility({checkOpacity:!1,checkVisibilityCSS:!0});let t=e;for(;t&&t!==document.documentElement;){let e=window.getComputedStyle(t);if("none"===e.display||"hidden"===e.visibility)return!1;t=t.parentElement}return!0}}class ${static shareDesktop='[data-share="desktop"]';static shareMobile='[data-share="mobile"]';static shareWhatsappService='[data-share-service="whatsapp"]';static shareMessengerService='[data-share-service="messenger"]'}var W=c("jquery");class z{static manageDisplayOfShareButtons(){navigator.share&&window.matchMedia("(max-width: 1024px)").matches?(W($.shareMobile).removeClass("hidden"),W($.shareDesktop).addClass("hidden")):(W($.shareMobile).addClass("hidden"),W($.shareDesktop).removeClass("hidden"))}static sharePage(){W('[data-share="mobile"]').on("click",e=>{e.preventDefault(),navigator.share&&navigator.share({title:document.title,url:window.location.href})})}static shareOnWhatsappWeb(){W($.shareWhatsappService).on("click",e=>
1{e.preventDefault(),window.open(`https://web.whatsapp.com/send?text=${W(location).attr("href")}`,"_blank")})}static shareOnMessengerWeb(){W($.shareMessengerService).on("click",e=>{e.preventDefault(),window.open(`http://www.facebook.com/dialog/send?app_id=702473707947207&link=${W(location).attr("href")}&redirect_uri=${W(location).attr("href")}`,"_blank")})}}var J=c("jquery");class X{constructor(){J("[data-share]").length>0&&(z.manageDisplayOfShareButtons(),z.sharePage()),J("[data-share-service]").length>0&&(z.shareOnWhatsappWeb(),z.shareOnMessengerWeb())}}class Q{trigger="[data-hc-tab]";constructor(){document.querySelectorAll(this.trigger).length>0&&c.e("scripts/hc_tab").then(c.bind(c,"./node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@iris.interactive/handcook/public/scripts/components/tab/tab.component.js")).then(e=>{let{default:t}=e;t()})}}class Z{constructor(){document.querySelectorAll(R.A.toggle).length>0&&c.e("scripts/hc_toggle").then(c.bind(c,"./node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@iris.interactive/handcook/public/scripts/components/toggle/toggle.component.js")).then(e=>{let{default:t}=e;t()})}}class Y{trigger="[data-hc-tooltip], [data-hc-popover]";constructor(){document.querySelectorAll(this.trigger).length>0&&Promise.all([c.e("vendors-node_modules_pnpm_iris_interactive_handcook_8_9_11__popperjs_core_2_11_8_node_modules-1e8353"),c.e("scripts/hc_tooltip")]).then(c.bind(c,"./node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@iris.interactive/handcook/public/scripts/components/tooltip/tooltip.component.js")).then(e=>{let{default:t}=e;t()})}}var K=c("./resources/assets/scripts/enumerators/iframe-resizer.enum.js"),ee=c("jquery");class et{constructor(){ee(K.A.IFRAME_ELEMENT).length>0&&c.e("scripts/iframe-resizer.action").then(c.bind(c,"./resources/assets/scripts/actions/iframe-resizer.action.js")).then(e=>{let{default:t}=e;new t})}}class eo{constructor(){IRISCollectionTheme.config.axeptioActive&&c.e("scripts/AxeptioComponent").then(c.bind(c,"./resources/assets/scripts/components/axeptio.component.js")).then(e=>{let{default:t}=e;new t})}}new class{constructor(){O("body").removeClass("no-js")}},document.addEventListener("DOMContentLoaded",()=>{new n,new _,new d,new h,new g,new v,new q,new U,new M,new H,new x,new G,new Z,new S,new X,new Y,new Q,new w,new m,new y,new V,new A,new I,new L,new et,new eo,IRISCollectionTheme.config.ecomodeActive||c.e("scripts/core-ui").then(c.bind(c,"./resources/assets/scripts/_core-ui.js")).then(e=>{let{default:t}=e;t()}).catch(e=>{alert(e)})})})()})();
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.