1typeof NodeList.prototype.forEach!="function"&&(NodeList.prototype.forEach=Array.prototype.forEach);var E=t=>{document.readyState!="loading"?t():document.addEventListener("DOMContentLoaded",t)};const v={tab:"Tab",esc:"Escape"};E(()=>{k(),x(),M(),N(),H(),B(),F(),W(),C(),I(),O(),Y(),P()});const k=function(){document.querySelector(".menu-button")&&document.querySelector(".menu-button").addEventListener("click",function(t){this.classList.contains("cross")?(b(),document.querySelector("header").classList.contains("sticky")||d(!1)):(T(),d(!0))})},x=function(){document.addEventListener("keydown",function(t){const n=document.querySelector(".menu-button");t.key===v.esc&&n.getAttribute("aria-expanded")=="true"&&(t.stopPropagation(),b())})},T=function(){const t=document.querySelector(".menu-button");document.querySelector("header").classList.add("open"),document.querySelector("body").style.overflowY="hidden",t.classList.add("cross"),t.setAttribute("aria-expanded",!0),t.setAttribute("aria-label",aktiseaVariables.closeMenu)},b=function(){const t=document.querySelector(".menu-button");document.querySelector("header").classList.remove("open"),document.querySelector("body").style.overflowY="auto",t.classList.remove("cross"),t.setAttribute("aria-expanded",!1),t.setAttribute("aria-label",aktiseaVariables.showMenu),t.focus(),document.querySelectorAll(".menu-item-has-children.open").forEach(n=>{n.classList.remove("open"),d(!1);const i=n.querySelector(":scope > a");i&&i.setAttribute("aria-expanded",!1)})},M=function(){window.pageYOffset>90&&(document.querySelector("header").classList.add("sticky"),d(!0));let n=!1;window.addEventListener("scroll",function(){n||(requestAnimationFrame(()=>{const i=document.querySelector("header:not(.no-scroll)");i&&(window.pageYOffset>90?(i.classList.add("sticky"),d(!0)):(i.classList.remove("sticky"),d(!1))),n=!1}),n=!0)},{passive:!0})},N=function(){var t=document.querySelectorAll(".navigation .menu > li.menu-item-has-children"),n=document.querySelector("header"),i;n.addEventListener("mouseover",function(o){n.classList.add("is-hovered"),d(!0),clearTimeout(i)}),n.addEventListener("mouseout",function(o){i=setTimeout(function(s){n.classList.remove("is-hovered"),n.classList.contains("sticky")||d(!1)},500)}),t&&Array.prototype.forEach.call(t,function(o,s){var u,e;if(window.innerWidth>1024&&(o.addEventListener("mouseover",function(r){Array.prototype.forEach.call(t,function(l,c){l.classList.remove("open"),l.querySelector("a").setAttribute("aria-expanded","false")}),o.classList.add("open"),clearTimeout(u)}),o.addEventListener("mouseout",function(r){u=setTimeout(function(l){o.classList.remove("open"),o.querySelector("a").setAttribute("aria-expanded","false")},500)})),window.innerWidth>=1200){var a=o.querySelectorAll("a");Array.prototype.forEach.call(a,function(r,l){r.addEventListener("focus",function(){e&&(clearTimeout(e),e=null)}),r.addEventListener("blur",function(c){e=setTimeout(function(){o.classList.contains("open")&&(o.classList.remove("open"),o.querySelector("a").setAttribute("aria-expanded","false"),o.querySelector(".sub-arrow")&&o.querySelector(".sub-arrow").setAttribute("aria-expanded","false"))},10)})})}})},H=function(){var t=document.querySelectorAll(".menu-vous-etes-container li.menu-item-has-children, .menu-mobile-accessibility-container li.menu-item-has-children");Array.prototype.forEach.call(t,function(n,i){n.querySelector("a").addEventListener("click",L)}),window.addEventListener("resize",function(){var n=document.querySelectorAll(".menu-header-container li.menu-item-has-children.toggle-submenu");window.innerWidth<1200?Array.prototype.forEach.call(n,function(i,o){i.querySelector("a").addEventListener("click",L)}):Array.prototype.forEach.call(n,function(i,o){i.querySelector("a").removeEventListener("click",L)})}),window.dispatchEvent(new Event("resize"))},L=function(t){return this.parentNode.classList.contains("menu-item-has-children")&&!this.parentNode.classList.contains("open")?(this.parentNode.classList.add("open"),this.setAttribute("aria-expanded","true")):(this.parentNode.classList.remove("open"),this.setAttribute("aria-expanded","fal
1se")),t.preventDefault(),!1},B=function(){var t=document.querySelectorAll(".menu-header-container li.menu-item-has-children:not(.toggle-submenu)");Array.prototype.forEach.call(t,function(n,i){var o=n.querySelector("a"),s='<button class="sub-arrow"><span class="screen-reader-text">'+aktiseaVariables.seeSubmenu+'</span><i class="icon icon-arrow-down"></i></button>';o.insertAdjacentHTML("afterend",s),n.querySelector("button").addEventListener("click",function(u){this.parentNode.classList.contains("menu-item-has-children")&&!this.parentNode.classList.contains("open")?(this.parentNode.classList.add("open"),this.parentNode.querySelector("a").setAttribute("aria-expanded","true"),this.parentNode.querySelector("button").setAttribute("aria-expanded","true")):(this.parentNode.classList.remove("open"),this.parentNode.querySelector("a").setAttribute("aria-expanded","false"),this.parentNode.querySelector("button").setAttribute("aria-expanded","false")),u.preventDefault()})})},F=function(){if(window.innerWidth<1200){const t=document.querySelector(".navigation-container .mobile-bottom .accessibility-item > a"),n=document.querySelector(".navigation-container .mobile-bottom .accessibility-item .sub-menu li:last-child a"),i=document.querySelector(".menu-button");t.addEventListener("keydown",function(o){o.key===v.tab&&t.getAttribute("aria-expanded")!=="true"&&(o.shiftKey||(o.preventDefault(),i.focus()))}),n.addEventListener("keydown",function(o){o.key===v.tab&&(o.shiftKey||(o.preventDefault(),i.focus()))}),i.addEventListener("keydown",function(o){o.key===v.tab&&i.getAttribute("aria-expanded")=="true"&&o.shiftKey&&(o.preventDefault(),t.focus())})}},W=function(){document.querySelectorAll(".btn-show-accessibility-toolbar a").forEach(function(n){n.addEventListener("click",function(i){i.preventDefault();const o=document.querySelector("#wp-ada-compliance-accessibility-widget-shortcode-showtools");o&&(o.click(),document.querySelector(".menu-button").classList.contains("cross")&&b())})})},C=function(){document.querySelectorAll("input[type=file]").forEach(n=>n.addEventListener("change",function(){const i=n.parentElement.parentElement;if(n.files.length>0){const o=n.files[0].name,s=o.lastIndexOf("."),u=o.substring(0,s),e=o.substring(s);i.classList.add("uploaded"),i.querySelector(".file-name").innerHTML=D(u,12)+e,i.querySelector(".file-title").innerHTML="Modifier mon fichier"}}))};function D(t,n){const i="â¦";var o,s;return t.length<=n?t:(o=Math.ceil(n/2),s=t.length-Math.floor(n/2)+1,t.substr(0,o)+i+t.substring(s))}const I=function(){document.querySelectorAll('.wpcf7[role="form"]').forEach(n=>{const i=n.querySelector(".form");i&&i.getAttribute("data-aria-label")&&n.setAttribute("aria-label",i.getAttribute("data-aria-label"));const o=document.querySelector("form");if(o){const s=o.querySelector("h2, h3");s&&s.getAttribute("id")&&o.setAttribute("aria-labelledby",s.getAttribute("id"))}})},O=function(){const t=document.querySelector("footer .wp-block-contact-form-7-contact-form-selector form.wpcf7-form");t&&t.setAttribute("aria-label","Formulaire d'inscription à la newsletter")},Y=function(){const t=document.querySelector(".form-redirect .wpcf7");if(t){let n="";t.querySelector(".jeu")&&(n=aktiseaVariables.gameLink),t.addEventListener("wpcf7mailsent",function(){setTimeout(function(){document.location.assign(n)},1e3)})}},d=function(t){const n=document.querySelector("header");n&&n.classList.toggle("logo-active",t)},P=function(){const i=document.querySelector(".site-header").offsetHeight,o=window.innerHeight,s=document.querySelectorAll(".single-post .aktisea-sticky-container");s==null||s.forEach(e=>{const a=e.querySelector(".aktisea-sticky-group"),r=e.querySelector(".aktisea-main-group"),l=e.parentNode;let c=30;if(l.classList.contains("space-50")&&(c=50),l.classList.contains("space-70")&&(c=70),a&&r){const y=a.offsetHeight,m=r.offsetHeight,p=e.offsetHeight,f=e.classList.contains("sticky-first")||e.parentNode.classList.contains("sticky-first");let w=1140-r.offsetWidth-c;const h=a.getBoundingClientRect().top+window.scrollY-i-20,q=h+p-y-20,A=h+m-window.innerHeight+i+20;if(y<m){let S=!1;window.addEventListener("scroll",()=>{S||(requestAnimationFrame(()=>{if(window.innerWidth>=1200){let g=f?(window.innerWidth-1140)/2:(window.innerWidth-1140)/2+r.offsetWidth+c;u(a,g,w,y,h,q,A,f)}S=!1}),S=!0)},{passive:!0}),window.addEventListener("resize",()=>{if(window.innerWidth>=1200){let g=f?(window.innerWidth-1140)/2:(window.innerWidth-1140)/2+r.offsetWidth+c;w=1140-r.offsetWidth-c,u(a,g,w,y,h,q,A,f)}else a.style.position="relative",a.style.top="0",a.style.left="auto",a.style.right="auto",a.style.bottom="auto",a.style.width="auto"})}}});function u(e,a,r,l,c,y,m,p){const f=window.scrollY;l<o-i?f>=y?(e.style.position="absolute",e.style.top="auto",e.style.bottom="20px",e.style.width=r+"px",p?(e.style.right="auto",e.style.left="0"):(e.style.right="0",e.style.left="auto")):f>=c?(e.style.position="fixed",e.style.top=i+20+"px",e.style.left=a+"px",e.style.bottom="auto",e.style.right="auto",e.style.width=r+"px"):(e.style.position="relative",e.style.top="0",e.
1style.left="auto",e.style.right="auto",e.style.bottom="auto",e.style.width=r+"px"):f>=m?(e.style.position="absolute",e.style.bottom="20px",e.style.top="auto",e.style.width=r+"px",p?(e.style.right="auto",e.style.left="0"):(e.style.right="0",e.style.left="auto")):f+1>=c+i+20*2+l-window.innerHeight?(e.style.position="fixed",e.style.bottom="20px",e.style.top="auto",e.style.left=a+"px",e.style.width=r+"px"):(e.style.position="relative",e.style.top="0",e.style.left="auto",e.style.width=r+"px")}}
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.