1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 2(function(){(function(){function r(i){return new window.Swiper(i,{slidesPerView:"auto",spaceBetween:5,watchSlidesProgress:!0,freeMode:!0,slidesOffsetAfter:32});}document.addEventListener("htmx:afterSwap",()=>{typeof window.Swiper>"u"||document.querySelectorAll(".poi__page__gallery__sliders-swiper:not(.swiper-initialized)").forEach((i)=>{const s=i.dataset.numberPhotos,n=document.querySelector(".poi__page__gallery__modal-number-photos");n&&(n.textContent=s??null);const e=i.dataset.id,t=e?document.getElementById(`gallery-thumbs-${e}`):null,o=e?document.getElementById(`gallery-navigation-${e}`):null,d=e?document.getElementById(`gallery-pagination-${e}`)?.querySelector(".swiper-pagination")??null:null,u=!(window.innerWidth<768)&&t?r(t):null,c=document.querySelector("dialog.poi__page__gallery__modal-main")?.dataset.openId,p=c?document.getElementById(c):null,l=new window.Swiper(i,{slidesPerView:1,spaceBetween:16,...u&&{thumbs:{swiper:u}},pagination:d?{el:d,dynamicBullets:!0,clickable:!0}:!1,navigation:{nextEl:o?.querySelector(".slider__navigation__next")??null,prevEl:o?.querySelector(".slider__navigation__prev")??null},a11y:{prevSlideMessage:window.Drupal.t("Diapositive précédente"),nextSlideMessage:window.Drupal.t("Diapositive suivante"),paginationBulletMessage:window.Drupal.t("Aller à la diapositive {{index}}"),enabled:!0}});if(p){const a=parseInt(p.dataset.startSlide??"0",10);!isNaN(a)&&a>0&&l.slideTo(a,0);}t&&new ResizeObserver(()=>{const w=window.innerWidth<768;if(t){const m=t.classList.contains("swiper-initialized");if(!w&&!m){const g=r(t);l.params.thumbs={swiper:g},l.thumbs.init(),l.thumbs.update(!0);}}}).observe(document.body);});}),document.addEventListener("poi:gallery:open",(i)=>{const {startSlide:s}=i.detail,n=document.querySelector("dialog.poi__page__gallery__modal-main");if(!n)return;const e=n.dataset.openId,t=e?document.getElementById(e):null;t&&(t.dataset.startSlide=String(s)),n.open||n.showModal();const o=n.querySelector(".poi__page__gallery__sliders-swiper");o?.swiper&&requestAnimationFrame(()=>o.swiper.slideTo(s,0));});})();})();; 3(function(){(function(u){const a="dialog.push-favoris-dialog",f=".push-favoris__panel",r=".push-favoris__close",S=".push-favoris__cta",E="is-dismissed",c="overflow-hidden",o="pushFavorisInit",L="--pax-push-sheet";function s(e){return window.getComputedStyle(e).getPropertyValue(L).trim()==="1";}function d(e){e.open||!s(e)||(e.showModal(),document.body.classList.add(c),e.querySelector(r)?.focus());}function n(e){if(s(e)){e.close();return;}e.classList.add(E);}function h(e){e.dataset[o]||(e.dataset[o]="true",d(e),e.addEventListener("close",()=>{document.querySelector("dialog[open]")||document.body.classList.remove(c);}),e.querySelector(r)?.addEventListener("click",()=>n(e)),e.querySelectorAll(S).forEach((t)=>t.addEventListener("click",()=>n(e))),e.addEventListener("click",(t)=>{t.target.closest(f)||n(e);}),window.addEventListener("resize",()=>{e.open&&!s(e)&&e.close();}));}u.behaviors.parcAsterixPushFavoris={attach(){const e=Array.from(document.querySelectorAll(a));e.slice(0,-1).forEach((i)=>i.remove());const t=e[e.length-1];t&&h(t);}};})(Drupal);})();; 4(function(){(function(){function i(c,n="Voir plus",s="Voir moins"){const t=document.getElementById(c);if(!t)return;const o=t.scrollHeight;if(t.classList.add("line-clamp-4"),o<=t.clientHeight)return;const e=document.createElement("button");e.className="review__card-toggle-description",e.textContent=n,t.classList.add("review__card-description--expanded"),t.insertAdjacentElement("afterend",e),e.addEventListener("click",()=>{const d=t.classList.toggle("line-clamp-4");e.textContent=d?n:s;});}window.initToggleDescription=i;})();})();;
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.