1"use strict";(self.webpackChunk_roots_bud_sage_radicle=self.webpackChunk_roots_bud_sage_radicle||[]).push([[143],{
1"./styles/app.css":()=>{},
1"./scripts/app.js":(e,t,n)=>{var o,r=n("../node_modules/alpinejs/dist/module.esm.js"),i=(n("../node_modules/htmx.org/dist/htmx.min.js"),n("../node_modules/@studio-freight/lenis/dist/lenis.modern.mjs")),s=n("../node_modules/swiper/swiper-bundle.mjs");Object.assign(window,{Alpine:r.Z}).Alpine.start(),null===(o=void 0)||void 0===o||o.accept(console.error);var a=new i.Z;requestAnimationFrame((function e(t){a.raf(t),requestAnimationFrame(e)})),document.querySelectorAll("a[href^='http']:not([href^='"+window.location.protocol+"//"+window.location.hostname+"']):not(.not-external)").forEach((function(e){e.setAttribute("target","_blank")})),document.querySelectorAll("h1, h2, h3, h4, h5, h6, p").forEach((function(e){e.classList.contains("allow-orphan")||(e.innerHTML=e.innerHTML.trim(),e.innerHTML=e.innerHTML.replace(/ ([!?:;])/g,"\xa0$1"))})),function e(){var t=document.querySelector("html");/Android|iPhone/i.test(navigator.userAgent)?(t.classList.add("mobile"),t.classList.remove("no-mobile")):(t.classList.remove("mobile"),t.classList.add("no-mobile")),window.addEventListener("resize",e)}(),function(){var e=navigator.userAgent.toLowerCase(),t=document.querySelector("html");switch(!0){case/edge/i.test(e):t.classList.add("edge");break;case/chrome/i.test(e):t.classList.add("chrome");break;case/firefox/i.test(e):t.classList.add("firefox");break;case/safari/i.test(e):t.classList.add("safari");break;default:t.classList.add("other-navigator")}}();for(var l=document.querySelectorAll(".dropdown-container header"),c=0;c<l.length;c++)l[c].addEventListener("click",d);function d(){for(var e=0;e<l.length;e++){var t=l[e].parentElement,n=l[e].nextElementSibling;this!==l[e]||t.classList.contains("open")?(t.classList.remove("open"),n.style.maxHeight="0px"):(t.classList.add("open"),n.style.maxHeight=n.scrollHeight+"px")}}var u,m=document.querySelectorAll(".dropdown-container-menu"),h=document.querySelectorAll(".dropdown-container-menu header");function v(){for(var e=0;e<h.length;e++){var t=h[e].parentElement,n=h[e].nextElementSibling;this!==h[e]||t.classList.contains("open")?(t.classList.remove("open"),n.style.maxHeight="0px"):(t.classList.add("open"),n.style.maxHeight=n.scrollHeight+"px")}}h.forEach((function(e){e.addEventListener("mouseenter",v)})),m.forEach((function(e){e.addEventListener("mouseleave",v)})),function(){var e=document.getElementById("burger-menu"),t=document.getElementById("burger-menu-open");if(document.body.contains(e)&&document.body.contains(t)){document.body.classList.remove("overflow-hidden"),e.classList.remove("active"),t.classList.remove("open"),t.classList.add("hidden");var n=function(n){n.preventDefault(),e.classList.contains("active")?(document.body.classList.remove("overflow-hidden"),e.classList.remove("active"),t.classList.remove("open"),setTimeout((function(){t.classList.add("hidden")}),400)):(document.body.classList.add("overflow-hidden"),e.classList.add("active"),t.classList.remove("hidden"),setTimeout((function(){t.classList.add("open")}),1))};e.addEventListener("click",n),e.addEventListener("touchstart",n)}}(),function e(){var t=document.getElementById("header"),n=document.getElementById("header-desktop"),o=document.getElementById("header-mobile");if(window.innerWidth>1279){var r=getComputedStyle(n).height;t.style.height=r}else{var i=getComputedStyle(o).height;t.style.height=i}window.addEventListener("load",e),window.addEventListener("resize",e)}(),function(){var e=document.querySelector(".testimonals-slider");if(document.body.contains(e)){document.querySelectorAll(".my-swiper").forEach((function(e){new s.Z(e,{slidesPerView:1,loop:!1,effect:"fade",fadeEffect:{crossFade:!0},navigation:{nextEl:e.querySelector(".swiper-btn-next"),prevEl:e.querySelector(".swiper-btn-prev")},allowTouchMove:!1})}));var t=e.querySelector(".slider-with-image"),n=t.querySelector(".swiper-btn-prev"),o=t.querySelector(".swiper-btn-next"),r=e.querySelector(".slider-with-text"),i=r.querySelector(".swiper-btn-prev"),a=r.querySelector(".swiper-btn-next");i.addEventListener("click",(function(){return n.click()})),a.addEventListener("click",(function(){return o.click()}))}}(),document.querySelectorAll(".go-down").forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault();var t=e.target.closest(".has-godown-element");
1if(t){var n=t.nextElementSibling;if(n){var o=document.getElementById("header-desktop"),r=document.getElementById("header-mobile"),i=getComputedStyle(r).height;window.innerWidth>1023&&(i=getComputedStyle(o).height);var s=n.getBoundingClientRect().top+window.pageYOffset-parseFloat(i);window.scrollTo({top:s,behavior:"smooth"})}}}))})),(u=document.querySelectorAll(".block-accordion")).length>0&&u.forEach((function(e){var t=e.querySelectorAll("ul");t.length>0&&t.forEach((function(e){e.querySelectorAll("br").forEach((function(e){"li"!==e.parentElement.tagName.toLowerCase()&&e.remove()}))}))})),document.addEventListener("DOMContentLoaded",(function(){var e;(e=document.querySelectorAll(".block-news")).length>0&&e.forEach((function(e){var t=5,n=e.querySelectorAll(".news-item"),o=e.querySelector("#load-more-btn");n.length>0&&o&&o.addEventListener("click",(function(){for(var e=t;e<t+5;e++)n[e]&&n[e].classList.remove("hidden");(t+=5)>=n.length&&(o.style.display="none")}))}))})),document.addEventListener("DOMContentLoaded",(function(){console.log("Filter state management initialized")})),console.info("Cr\xe9\xe9 par Beauvoir \u2665 https://beauvoir.ca/")}
1},e=>{var t=t=>e(e.s=t);e.O(0,[407,414],(()=>(t("./scripts/app.js"),t("./styles/app.css"))));e.O()}]);
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.