PageSourceSearch

https://www.iris-france.org/wp-content/themes/iris/dist/assets/main-D3UoC65_.js

js iris-france.org collected 2026-10-01 10:32:41 UTC 5,559 bytes, 1 lines download raw bytes

1var g=Object.defineProperty;var L=(o,s,e)=>s in o?g(o,s,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[s]=e;var p=(o,s,e)=>(L(o,typeof s!="symbol"?s+"":s,e),e);import{_ as f,a as y}from"./vendor-D-MU1f2D.js";class P extends f{constructor(e){super(e);p(this,"handleScroll",e=>{let t=!1,i=window.pageYOffset,l=document.documentElement.scrollTop,n=document.documentElement.scrollHeight,r=document.documentElement.clientHeight,d=l/(n-r)*100;i>this.previousScrollPosition&&(t=!0),this.previousScrollPosition=i,t?this.el.classList.add("scroll-down"):this.el.classList.remove("scroll-down"),this.call("getFixedBar",[d,i],"Article"),i>150&&t?this.header.classList.add("is-hidden"):this.header.classList.remove("is-hidden"),this.btnTop&&(i>950?this.btnTop.classList.add("show"):this.btnTop.classList.remove("show"))})}init(){const e=this.throttle(this.handleScroll,10);window.addEventListener("scroll",e),this.header=document.querySelector(".header"),this.btnTop=document.getElementById("btn-top"),this.btnTop&&(this.btnTop.addEventListener("click",function(){window.scrollTo({top:0,left:0,behavior:"smooth"})}),this.btnTop.classList.add("hide"))}throttle(e,t,i){var l,n,r,d,c=0;i||(i={});var m=function(){c=i.leading===!1?0:Date.now(),l=null,d=e.apply(n,r),l||(n=r=null)},b=function(){var u=Date.now();!c&&i.leading===!1&&(c=u);var h=t-(u-c);return n=this,r=arguments,h<=0||h>t?(l&&(clearTimeout(l),l=null),c=u,d=e.apply(n,r),l||(n=r=null)):!l&&i.trailing!==!1&&(l=setTimeout(m,h)),d};return b.cancel=function(){clearTimeout(l),c=0,l=n=r=null},b}}class k extends f{constructor(s){super(s)}init(){this.metabarTop=this.$("metabar")[0].offsetTop}getFixedBar(s=[]){let e=s[0],t=s[1],i=this.$("metabar")[0];this.$("progressbar")&&(this.$("progressbar")[0].style.width=e+"0%"),t>this.metabarTop?i.classList.contains("is-sticky")||i.classList.add("is-sticky"):i.classList.contains("is-sticky")&&i.classList.remove("is-sticky")}}class x extends f{constructor(s){super(s)}init(){window.innerWidth<=768&&(this.mainmenu=this.el.querySelector(".header-nav-dropdown"),this.initSubMenus(),this.addBackButton(),this.closeAllTabs())}initSubMenus(){this.el.querySelectorAll(".header-nav-link").forEach(function(e){e.addEventListener("click",function(){})})}addBackButton(){const s=this.el.querySelectorAll(".header-sub-nav"),e=this.el.querySelectorAll(".tab-pane"),t=this;s.forEach(function(i){var l=document.createElement("button");l.classList.add("btn","btn-back"),l.innerHTML='<svg aria-hidden="true" focusable="false" class="icon icon-w-10 icon-sm"><use xlink:href="#angle-left"></use></svg>Retour',l.addEventListener("click",function(){t.closeAllDropDown()}),i.appendChild(l)}),e.forEach(function(i){var l=document.createElement("button");l.classList.add("btn","btn-back"),l.innerHTML='<svg aria-hidden="true" focusable="false" class="icon icon-w-10 icon-sm"><use xlink:href="#angle-left"></use></svg>Retour',l.addEventListener("click",function(){t.closeAllTabs()}),i.appendChild(l)})}closeAllDropDown(){var s=this.el.querySelectorAll(".header-nav-item");s.forEach(function(e){var t=e.querySelector('[data-bs-toggle="dropdown"]'),i=e.querySelector(".dropdown-menu");t&&(t.classList.remove("show"),t.classList.remove("show"),i.classList.remove("show"),t.setAttribute("aria-expanded",!1),e._bs_dropdown&&e._bs_dropdown.dispose())})}closeAllTabs(){this.el.querySelectorAll(".tab-pane").forEach(function(t){t.classList.remove("show","active")}),this.el.querySelectorAll('[data-bs-toggle="tab"]').forEach(function(t){t.classList.remove("active"),t.setAttribute("aria-expanded",!1)})}}const S=Object.freeze(Object.defineProperty({__proto__:null,App:P,Article:k,Menu:x},Symbol.toStringTag,{value:"Module"})),v=new y({modules:S});window.onload=o=>{E(),T()};function T(){v.init(v)}function E(){console.log("%c Made by Clair et Net. / Paris ","background: #ff5d00; color: #FFF;font-weight: 500;padding: 5px;"),console.log("%c http://www.clair-et-net.com","color: #ff5d00;font-weight: 500;")}var w=document.querySelector(".btn-toggle-nav");w.addEventListener("show.bs.dropdown",function(){document.body.classList.add("has-nav-open")});w.addEventListener("hide.bs.dropdown",function(){document.body.classList.remove("has-nav-open")});function a(o,s,e,t){new Swiper(o,{slidesPerView:s,spaceBetween:e,breakpoints:t,keyboard:{enabled:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},a11y:{prevSlideMessage:"Élément précédent",nextSlideMessage:"Élément suivant"}})}a(".slider-3-items","auto",24,{768:{slidesPerView:2},992:{slidesPerView:3}});a(".slider-4-items","auto",24,{768:{slidesPerView:2},992:{slidesPerView:3}
1,1200:{slidesPerView:4}});a(".slider-6-items","auto",24,{576:{slidesPerView:2},768:{slidesPerView:3},1200:{slidesPerView:4},1400:{slidesPerView:6}});a(".slider-3-books","auto",24,{576:{slidesPerView:2},768:{slidesPerView:3},992:{slidesPerView:2},1400:{slidesPerView:3}});a(".slider-4-books","auto",24,{576:{slidesPerView:2},768:{slidesPerView:3},1200:{slidesPerView:4}});a(".slider-podcasts","auto",24,{768:{slidesPerView:2}});a(".slider-account","auto",24,{768:{slidesPerView:2},1200:{slidesPerView:3}});a(".slider-gallery","auto",24,{});GLightbox({autoplayVideos:!1,videosWidth:"1296",svg:{close:'<svg aria-hidden="true" focusable="false" class="icon icon-xxl"><use xlink:href="#close"></use></svg>',next:'<svg aria-hidden="true" focusable="false" class="icon icon-xxl"><use xlink:href="#chevron-right"></use></svg>',prev:'<svg aria-hidden="true" focusable="false" class="icon icon-xxl"><use xlink:href="#chevron-left"></use></svg>'}});

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.