(() => { function $parcel$interopDefault(a) { return a && a.__esModule ? a.default : a; } function $parcel$defineInteropFlag(a) { Object.defineProperty(a, '__esModule', {value: true, configurable: true}); } function $parcel$export(e, n, v, s) { Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true}); } // packages/alpinejs/src/scheduler.js var $caa9439642c6336c$var$flushPending = false; var $caa9439642c6336c$var$flushing = false; var $caa9439642c6336c$var$queue = []; var $caa9439642c6336c$var$lastFlushedIndex = -1; function $caa9439642c6336c$var$scheduler(callback) { $caa9439642c6336c$var$queueJob(callback); } function $caa9439642c6336c$var$queueJob(job) { if (!$caa9439642c6336c$var$queue.includes(job)) $caa9439642c6336c$var$queue.push(job); $caa9439642c6336c$var$queueFlush(); } function $caa9439642c6336c$var$dequeueJob(job) { let index = $caa9439642c6336c$var$queue.indexOf(job); if (index !== -1 && index > $caa9439642c6336c$var$lastFlushedIndex) $caa9439642c6336c$var$queue.splice(index, 1); } function $caa9439642c6336c$var$queueFlush() { if (!$caa9439642c6336c$var$flushing && !$caa9439642c6336c$var$flushPending) { $caa9439642c6336c$var$flushPending = true; queueMicrotask($caa9439642c6336c$var$flushJobs); } } function $caa9439642c6336c$var$flushJobs() { $caa9439642c6336c$var$flushPending = false; $caa9439642c6336c$var$flushing = true; for(let i = 0; i < $caa9439642c6336c$var$queue.length; i++){ $caa9439642c6336c$var$queue[i](); $caa9439642c6336c$var$lastFlushedIndex = i; } $caa9439642c6336c$var$queue.length = 0; $caa9439642c6336c$var$lastFlushedIndex = -1; $caa9439642c6336c$var$flushing = false; } // packages/alpinejs/src/reactivity.js var $caa9439642c6336c$var$reactive; var $caa9439642c6336c$var$effect; var $caa9439642c6336c$var$release; var $caa9439642c6336c$var$raw; var $caa9439642c6336c$var$shouldSchedule = true; function $caa9439642c6336c$var$disableEffectScheduling(callback) { $caa9439642c6336c$var$shouldSchedule = false; callback(); $caa9439642c6336c$var$shouldSchedule = true; } function $caa9439642c6336c$var$setReactivityEngine(engine) { $caa9439642c6336c$var$reactive = engine.reactive; $caa9439642c6336c$var$release = engine.release; $caa9439642c6336c$var$effect = (callback)=>engine.effect(callback, { scheduler: (task)=>{ if ($caa9439642c6336c$var$shouldSchedule) $caa9439642c6336c$var$scheduler(task); else task(); } }); $caa9439642c6336c$var$raw = engine.raw; } function $caa9439642c6336c$var$overrideEffect(override) { $caa9439642c6336c$var$effect = override; } function $caa9439642c6336c$var$elementBoundEffect(el) { let cleanup2 = ()=>{}; let wrappedEffect = (callback)=>{ let effectReference = $caa9439642c6336c$var$effect(callback); if (!el._x_effects) { el._x_effects = /* @__PURE__ */ new Set(); el._x_runEffects = ()=>{ el._x_effects.forEach((i)=>i()); }; } el._x_effects.add(effectReference); cleanup2 = ()=>{ if (effectReference === void 0) return; el._x_effects.delete(effectReference); $caa9439642c6336c$var$release(effectReference); }; return effectReference; }; return [ wrappedEffect, ()=>{ cleanup2(); } ]; } // packages/alpinejs/src/utils/dispatch.js function $caa9439642c6336c$var$dispatch(el, name, detail = {}) { el.dispatchEvent(new CustomEvent(name, { detail: detail, bubbles: true, // Allows events to pass the shadow DOM barrier. composed: true, cancelable: true })); } // packages/alpinejs/src/utils/walk.js function $caa9439642c6336c$var$walk(el, callback) { if (typeof ShadowRoot === "function" && el instanceof ShadowRoot) { Array.from(el.children).forEach((el2)=>$caa9439642c6336c$var$walk(el2, callback)); return; } let skip = false; callback(el, ()=>skip = true); if (skip) return; let node = el.firstElementChild; while(node){ $caa9439642c6336c$var$walk(node, callback, false); node = node.nextElementSibling; } } // packages/alpinejs/src/utils/warn.js function $caa9439642c6336c$var$warn(message, ...args) { console.warn(`Alpine Warning: ${message}`, ...args); } // packages/alpinejs/src/lifecycle.js var $caa9439642c6336c$var$started = false; function $caa9439642c6336c$var$start() { if ($caa9439642c6336c$var$started) $caa9439642c6336c$var$warn("Alpine has already been initialized on this page. Calling Alpine.start() more than once can cause problems."); $caa9439642c6336c$var$started = true; if (!document.body) $caa9439642c6336c$var$warn("Unable to initialize. Trying to load Alpine before `` is available. Did you forget to add `defer` in Alpine's `