import { an as t, bb as l, D as o, bq as u } from "./index-BxjwuJ6T.js";
function c(n) {
  throw new Error("https://svelte.dev/e/lifecycle_outside_component");
}
function a(n) {
  t === null && c(), u && t.l !== null ? i(t).m.push(n) : l(() => {
    const e = o(n);
    if (typeof e == "function") return (
      /** @type {() => void} */
      e
    );
  });
}
function f(n) {
  t === null && c(), a(() => () => o(n));
}
function i(n) {
  var e = (
    /** @type {ComponentContextLegacy} */
    n.l
  );
  return e.u ??= { a: [], b: [], m: [] };
}
export {
  a,
  f as o
};
//# sourceMappingURL=index-client-DJaMHbvZ.js.map
