1import{s as r}from"./main-DQv_NHdM.js";import"./gsap-core-ogJG83vu.js";import"./lenis-CZHgqTAH.js";const u={cta:"fx-off-cta",glass:"fx-off-glass",glow:"fx-off-glow"};let s=!1;function d(c,t){c==="glow"&&r(t);const e=u[c];e&&document.documentElement.classList.toggle(e,!t)}function m(){s||(s=!0,document.addEventListener("change",c=>{var o,f;const t=(f=(o=c.target).closest)==null?void 0:f.call(o,"[data-sandbox-fx] input[type=checkbox]");if(!t)return;const e=t.closest("[data-sandbox-fx]"),n=t.dataset.fx;if(n==="all"){e.querySelectorAll("input[data-fx]").forEach(a=>{a!==t&&(a.checked=t.checked,d(a.dataset.fx,t.checked))});return}d(n,t.checked);const i=[...e.querySelectorAll('input[data-fx]:not([data-fx="all"])')],l=e.querySelector('input[data-fx="all"]');l&&(l.checked=i.every(a=>a.checked))}))}export{m as initSandboxFxToggle};
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.