brumate 0.4.0 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/dist/{boot-DLlRmD9z.d.ts → boot-D3NjfyUX.d.ts} +2 -2
  2. package/dist/cli.js +2 -2
  3. package/dist/{client-BvDsC6Qr.js → client-Cwr2AfP4.js} +133 -35
  4. package/dist/client-Cwr2AfP4.js.map +1 -0
  5. package/dist/{client-DBwL2wKQ.d.ts → client-DNva05jp.d.ts} +20 -7
  6. package/dist/{defer-CKWZLv2K.js → defer-CxjvJXD_.js} +2 -2
  7. package/dist/{defer-CKWZLv2K.js.map → defer-CxjvJXD_.js.map} +1 -1
  8. package/dist/{devtools-4uTPwR_v.js → devtools-BdB_9WB8.js} +4 -4
  9. package/dist/{devtools-4uTPwR_v.js.map → devtools-BdB_9WB8.js.map} +1 -1
  10. package/dist/{devtools-panel-Be9pxYgv.js → devtools-panel-Bp6LE4nM.js} +2 -2
  11. package/dist/{devtools-panel-Be9pxYgv.js.map → devtools-panel-Bp6LE4nM.js.map} +1 -1
  12. package/dist/{files-WW4RlajL.js → files-BzVNgGOL.js} +2 -2
  13. package/dist/{files-WW4RlajL.js.map → files-BzVNgGOL.js.map} +1 -1
  14. package/dist/{html-BtKRyi7g.js → html-t1JpkODI.js} +15 -7
  15. package/dist/html-t1JpkODI.js.map +1 -0
  16. package/dist/index.d.ts +7 -1
  17. package/dist/index.js +1 -1
  18. package/dist/{inspect-Y6y4uNZp.js → inspect-DaZtoKgg.js} +290 -70
  19. package/dist/inspect-DaZtoKgg.js.map +1 -0
  20. package/dist/{loader-BjKGJzLN.js → loader-BX8uIUav.js} +2 -2
  21. package/dist/{loader-BjKGJzLN.js.map → loader-BX8uIUav.js.map} +1 -1
  22. package/dist/produce-CLABZ8k2.d.ts +11 -0
  23. package/dist/{produce-B7X9ori9.js → produce-DS-dQaUX.js} +5 -3
  24. package/dist/produce-DS-dQaUX.js.map +1 -0
  25. package/dist/{rpc-Q-XkLwFh.js → rpc-t5M5dqs9.js} +3 -3
  26. package/dist/{rpc-Q-XkLwFh.js.map → rpc-t5M5dqs9.js.map} +1 -1
  27. package/dist/runtime/client.d.ts +4 -4
  28. package/dist/runtime/client.js +4 -4
  29. package/dist/runtime/devtools.d.ts +2 -2
  30. package/dist/runtime/devtools.js +1 -1
  31. package/dist/runtime/hot.d.ts +1 -1
  32. package/dist/runtime/html.d.ts +2 -2
  33. package/dist/runtime/html.js +1 -1
  34. package/dist/runtime/loader.d.ts +2 -2
  35. package/dist/runtime/loader.js +2 -2
  36. package/dist/runtime/server.d.ts +3 -3
  37. package/dist/runtime/server.js +3 -3
  38. package/dist/runtime/static-loader.d.ts +2 -2
  39. package/dist/runtime/static-loader.js +1 -1
  40. package/dist/runtime/testing.d.ts +2 -2
  41. package/dist/runtime/testing.js +2 -2
  42. package/dist/{server-BvPIg9pT.d.ts → server-BXMH3Z9T.d.ts} +23 -3
  43. package/dist/{server-DjyOVJtJ.js → server-C6c-GXF4.js} +54 -16
  44. package/dist/server-C6c-GXF4.js.map +1 -0
  45. package/dist/shared-CzbnWkVA.d.ts +255 -0
  46. package/dist/{static-loader-BGgdp_Y5.d.ts → static-loader-BiUaZaag.d.ts} +2 -2
  47. package/dist/{static-loader-BZR17hSw.js → static-loader-CqQRu-p9.js} +4 -3
  48. package/dist/{static-loader-BZR17hSw.js.map → static-loader-CqQRu-p9.js.map} +1 -1
  49. package/dist/{stream-BP5AVmg5.js → stream-CqhuQJwK.js} +4 -4
  50. package/dist/stream-CqhuQJwK.js.map +1 -0
  51. package/dist/vite.d.ts +1 -1
  52. package/dist/vite.js +72 -12
  53. package/dist/vite.js.map +1 -1
  54. package/package.json +1 -1
  55. package/dist/client-BvDsC6Qr.js.map +0 -1
  56. package/dist/html-BtKRyi7g.js.map +0 -1
  57. package/dist/html-Bw9Qwu6F.d.ts +0 -107
  58. package/dist/inspect-Y6y4uNZp.js.map +0 -1
  59. package/dist/produce-B7X9ori9.js.map +0 -1
  60. package/dist/produce-DIgHBVwL.d.ts +0 -148
  61. package/dist/server-DjyOVJtJ.js.map +0 -1
  62. package/dist/stream-BP5AVmg5.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import { r as SerialEntry } from "./values-B8C7CLvG.js";
2
- import { At as ClientModule } from "./client-DBwL2wKQ.js";
2
+ import { Mt as ClientModule } from "./client-DNva05jp.js";
3
3
  //#region src/runtime/boot.d.ts
4
4
  interface LoaderOptions {
5
5
  /**
@@ -57,4 +57,4 @@ interface NavigateOptions {
57
57
  }
58
58
  //#endregion
59
59
  export { NavigateOptions as n, LoaderOptions as t };
60
- //# sourceMappingURL=boot-DLlRmD9z.d.ts.map
60
+ //# sourceMappingURL=boot-D3NjfyUX.d.ts.map
package/dist/cli.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
- import { B as getLocation, H as findError, j as analyzeProjectProps, o as CompileError, r as inspect, s as compile, w as resolveFromDisk, z as BrumateError } from "./inspect-Y6y4uNZp.js";
3
- import { h as findPackages, o as findPackageServerFile, s as findServerImport, t as collectSources, v as resolveComponentPackage } from "./files-WW4RlajL.js";
2
+ import { B as getLocation, H as findError, j as analyzeProjectProps, o as CompileError, r as inspect, s as compile, w as resolveFromDisk, z as BrumateError } from "./inspect-DaZtoKgg.js";
3
+ import { h as findPackages, o as findPackageServerFile, s as findServerImport, t as collectSources, v as resolveComponentPackage } from "./files-BzVNgGOL.js";
4
4
  import { createRequire } from "node:module";
5
5
  import { existsSync, readFileSync } from "node:fs";
6
6
  import { cp } from "node:fs/promises";
@@ -1,6 +1,6 @@
1
- import { S as spread$1, _ as onAttribute, f as handlerEntry, n as VOID_ELEMENTS, o as attributeText, p as insertValue, r as actionAttributes, s as bindEntry, v as onValue, w as textValue, y as ownValue } from "./html-BtKRyi7g.js";
1
+ import { C as spread$1, T as textValue, b as ownValue, f as handlerEntry, g as isRaw, n as VOID_ELEMENTS, o as attributeText, p as insertValue, r as actionAttributes, s as bindEntry, v as onAttribute, y as onValue } from "./html-t1JpkODI.js";
2
2
  import { a as HAS_CLIENT_HTML, c as HAS_TEMPLATES, i as HAS_CHILDREN, l as HAS_TITLES, n as HAS_BINDINGS, o as HAS_LATE_MARKUP } from "./features-CHY5Ekku.js";
3
- import { C as useSerialEntry, _ as mergeHandlers, a as ElementReference, b as parseId, c as PARTS, d as SlotReference, f as addEntryHandlers, g as isSlotReference, h as isPropWrapper, i as ChildrenReference, m as isBinding, n as Binding, o as FunctionReference, p as isAsyncIterable, s as MemoError, x as stateValues } from "./produce-B7X9ori9.js";
3
+ import { C as useSerialEntry, _ as mergeHandlers, a as ElementReference, b as parseId, c as PARTS, d as SlotReference, f as addEntryHandlers, g as isSlotReference, h as isPropWrapper, i as ChildrenReference, m as isBinding, n as Binding, o as FunctionReference, p as isAsyncIterable, s as MemoError, x as stateValues } from "./produce-DS-dQaUX.js";
4
4
  import { n as ROUTE_KEY } from "./context-CTiSzQRc.js";
5
5
  import { n as trustedHTML, t as loadOnce } from "./skew-FRmAy9iy.js";
6
6
  //#region src/runtime/client/state.ts
@@ -800,18 +800,31 @@ function call(ref, scope, args) {
800
800
  * with the page, and updates wait for it.
801
801
  */
802
802
  function templateReference(ref, scope) {
803
- return (...args) => new TemplateCall(ref, scope, args, () => {
803
+ return (...args) => new TemplateCall(ref, scope, args, (at) => {
804
804
  const render = loadedFunction(ref);
805
- return render ? insertValue(render(scope, ...args)) : "";
805
+ return render ? insert(render(scope, ...args), void 0, at) : "";
806
806
  });
807
807
  }
808
808
  /** Renders a value inserted in markup. Children render here, at `scope`, for their contexts. */
809
809
  function insert(value, _ctx, scope) {
810
+ linkCalls(value, scope);
810
811
  if (!((HAS_CHILDREN || HAS_TEMPLATES) && value instanceof Children)) return insertValue(value);
811
812
  const out = value.render(resolveScope(scope));
812
813
  return HAS_CLIENT_HTML ? holdPlace(out) : out;
813
814
  }
814
815
  /**
816
+ * Links the scope of each template whose output a value holds to `at`, the scope where it is
817
+ * inserted, so an error in the template goes to a `#try` there.
818
+ */
819
+ function linkCalls(value, at) {
820
+ if (Array.isArray(value)) {
821
+ for (const item of value) linkCalls(item, at);
822
+ return;
823
+ }
824
+ const scope = isRaw(value) && value.s !== void 0 ? scopes.get(value.s) : void 0;
825
+ if (scope && at !== void 0) scope.l = resolveScope(at);
826
+ }
827
+ /**
815
828
  * Children of a component that the client renders. They render where the
816
829
  * component inserts them, so they read the contexts that it provides. `from`
817
830
  * is the scope of the markup that wrote them.
@@ -843,7 +856,7 @@ var Children = class {
843
856
  };
844
857
  insertedChildren.push(entry);
845
858
  try {
846
- return this.html();
859
+ return this.html(target);
847
860
  } finally {
848
861
  insertedChildren.splice(insertedChildren.indexOf(entry), 1);
849
862
  }
@@ -940,13 +953,14 @@ function children(from, html) {
940
953
  * Reports an error of client code: a handler, an effect, a `$client`
941
954
  * callback or a memo that loads. It renders the `#catch` body of the nearest
942
955
  * `#try` around the scope of the code, through the parents and the owners of
943
- * scopes. Without one, the page gets a `brumate:error` event on `window`,
944
- * with the error and the scope, and the error is logged.
956
+ * scopes. A template's scope goes on from the scope where it was called.
957
+ * Without a `#try`, the page gets a `brumate:error` event on `window`, with
958
+ * the error and the scope, and the error is logged.
945
959
  */
946
960
  function fail(scope, error) {
947
961
  options.onError?.(error, { scope: scope?.id });
948
962
  (async () => {
949
- for (let current = scope; current; current = current.p ?? current.o) {
963
+ for (let current = scope; current; current = current.l ?? current.p ?? current.o) {
950
964
  const id = findRoot(current).m;
951
965
  if (!id) continue;
952
966
  const module = await loadModule(id).catch(() => void 0);
@@ -1074,6 +1088,17 @@ function send(bound, value) {
1074
1088
  if (!callNow(bound.ref, scopes.get(bound.scope), args)) call(bound.ref, scopes.get(bound.scope), args);
1075
1089
  } else if (typeof bound === "function") bound(value);
1076
1090
  }
1091
+ /** The setters that were given each element, so an update of a spread does not call them again. */
1092
+ const given = /* @__PURE__ */ new WeakMap();
1093
+ /** Calls the setter of a binding with an element, once for each element and setter. */
1094
+ function give(bound, element) {
1095
+ const key = bound instanceof FunctionReference ? `${bound.scope}#${bound.ref}` : bound;
1096
+ const seen = given.get(element) ?? /* @__PURE__ */ new Set();
1097
+ if (!seen.has(key)) {
1098
+ given.set(element, seen.add(key));
1099
+ send(bound, element);
1100
+ }
1101
+ }
1077
1102
  /** Writes a slot, and updates what reads it. */
1078
1103
  function writeSlot(scope, slot, value) {
1079
1104
  if (!Object.is(scope.s[slot], value)) {
@@ -1170,6 +1195,16 @@ function isThenable(value) {
1170
1195
  return value !== null && typeof value === "object" && typeof value.then === "function";
1171
1196
  }
1172
1197
  /**
1198
+ * Reports the rejection of a memo that the browser renders and nothing reads, so it has no slot.
1199
+ * The error reaches the nearest `#try` around the scope, or `onError`.
1200
+ */
1201
+ function unreadMemo(scope, value) {
1202
+ if (isThenable(value)) {
1203
+ const at = resolveScope(scope);
1204
+ value.then(void 0, (error) => fail(at, error));
1205
+ }
1206
+ }
1207
+ /**
1173
1208
  * Writes the result of an async memo when it arrives. Until then the slot
1174
1209
  * keeps its value, and `pending` is true. Only the latest load is written.
1175
1210
  */
@@ -1214,6 +1249,17 @@ var NotReady = class extends Error {
1214
1249
  }
1215
1250
  };
1216
1251
  let computing = 0;
1252
+ let origin;
1253
+ let viaContext = false;
1254
+ function sendContext(send) {
1255
+ const before = viaContext;
1256
+ viaContext = true;
1257
+ try {
1258
+ send();
1259
+ } finally {
1260
+ viaContext = before;
1261
+ }
1262
+ }
1217
1263
  let runningEffects = 0;
1218
1264
  /**
1219
1265
  * `$resolve(memo, { timeout, signal })`: resolves with the value of the memo once it is no longer
@@ -1353,6 +1399,8 @@ function trigger(scope, slot) {
1353
1399
  ]);
1354
1400
  return;
1355
1401
  }
1402
+ const from = origin;
1403
+ const via = viaContext;
1356
1404
  const list = [[scope, slot]];
1357
1405
  if (running > 0) waiting = list;
1358
1406
  const loading = loadModule(id).then(async (loaded) => {
@@ -1360,9 +1408,18 @@ function trigger(scope, slot) {
1360
1408
  const waits = [...loadingCode, children];
1361
1409
  for (const [, , load] of list) waits.push(load);
1362
1410
  await Promise.allSettled(waits);
1363
- pass(() => {
1364
- for (const [target, at] of list) queueWrite(target, at);
1365
- });
1411
+ const before = origin;
1412
+ const viaBefore = viaContext;
1413
+ origin = from;
1414
+ viaContext = via;
1415
+ try {
1416
+ pass(() => {
1417
+ for (const [target, at] of list) queueWrite(target, at);
1418
+ });
1419
+ } finally {
1420
+ origin = before;
1421
+ viaContext = viaBefore;
1422
+ }
1366
1423
  }).catch((error) => {
1367
1424
  fail(scope, error);
1368
1425
  flushEffects();
@@ -1485,13 +1542,21 @@ function queueWrite(scope, slot) {
1485
1542
  function queue(fn, name, target) {
1486
1543
  if (DEV) updateCount++;
1487
1544
  const key = `${target.id}:${name}`;
1545
+ const from = origin;
1546
+ if (name[0] === "e" && viaContext && from === key) return;
1488
1547
  function later() {
1489
1548
  if (!failed && scopes.get(target.id) === target) try {
1490
1549
  if (stuck) {
1491
1550
  failed = true;
1492
1551
  throw new Error(DEV ? "The updates of a write did not settle after 10000 rounds. An update writes a value that it reads, such as through ref=$bind." : "Update loop");
1493
1552
  }
1494
- updating(() => fn(target));
1553
+ const before = origin;
1554
+ origin = from;
1555
+ try {
1556
+ updating(() => fn(target));
1557
+ } finally {
1558
+ origin = before;
1559
+ }
1495
1560
  } catch (error) {
1496
1561
  fail(target, error);
1497
1562
  }
@@ -1598,6 +1663,8 @@ function effect(scope, name, callback, client) {
1598
1663
  scope.cleanups.get(name)?.();
1599
1664
  let cleanup;
1600
1665
  const start = DEV ? performance.now() : 0;
1666
+ const outer = origin;
1667
+ origin = key;
1601
1668
  if (!client) runningEffects++;
1602
1669
  try {
1603
1670
  cleanup = callback();
@@ -1619,6 +1686,7 @@ function effect(scope, name, callback, client) {
1619
1686
  }
1620
1687
  fail(scope, error);
1621
1688
  } finally {
1689
+ origin = outer;
1622
1690
  if (!client) runningEffects--;
1623
1691
  }
1624
1692
  let stored = typeof cleanup === "function" ? cleanup : noop;
@@ -1646,10 +1714,12 @@ function findProvider(scope, key) {
1646
1714
  function updateContext(scope, context, value) {
1647
1715
  scope.v ??= {};
1648
1716
  scope.v[context.key] = value;
1649
- for (const target of scopes.values()) {
1650
- const slot = target.x?.[context.key];
1651
- if (slot !== void 0 && findProvider(target, context.key) === scope) set(target, slot, value);
1652
- }
1717
+ sendContext(() => {
1718
+ for (const target of scopes.values()) {
1719
+ const slot = target.x?.[context.key];
1720
+ if (slot !== void 0 && findProvider(target, context.key) === scope) set(target, slot, value);
1721
+ }
1722
+ });
1653
1723
  }
1654
1724
  /** Provides a value of a context to the scopes inside `scope`. */
1655
1725
  function provideValue(context, value, scope) {
@@ -1913,12 +1983,12 @@ function action(name, id, method, result) {
1913
1983
  * call loads, so the core holds only this.
1914
1984
  */
1915
1985
  function submitAction(form, submitter) {
1916
- import("./rpc-Q-XkLwFh.js").then((module) => module.sendAction(form, submitter));
1986
+ import("./rpc-t5M5dqs9.js").then((module) => module.sendAction(form, submitter));
1917
1987
  }
1918
1988
  /** Calls a server function. */
1919
1989
  async function rpc(id, args) {
1920
1990
  const signal = memoSignal();
1921
- return track(import("./rpc-Q-XkLwFh.js").then((module) => module.call(rpcPrefix, id, args, signal)));
1991
+ return track(import("./rpc-t5M5dqs9.js").then((module) => module.call(rpcPrefix, id, args, signal)));
1922
1992
  }
1923
1993
  /** A function prop rendered on the client calls the parent's exported handler. */
1924
1994
  function handlerProp(value, ref, scope, bound = [], modifiers) {
@@ -2055,6 +2125,7 @@ function addScopes(state, root) {
2055
2125
  }
2056
2126
  if (record.t !== void 0) scope.t = scopes.get(record.t);
2057
2127
  if (record.f !== void 0) scope.f = scopes.get(record.f);
2128
+ if (record.l !== void 0) scope.l = scopes.get(record.l);
2058
2129
  }
2059
2130
  for (const scope of added) if (scope.m) options.loadBundle?.(scope.m)?.catch(() => {});
2060
2131
  for (const scope of added) if (scope.m) loadComponent(scope.m);
@@ -2079,10 +2150,16 @@ function addScopes(state, root) {
2079
2150
  }
2080
2151
  }
2081
2152
  }
2082
- if (HAS_BINDINGS) for (const scope of added) for (const [slot, bound] of Object.entries(scope.b ?? {})) {
2083
- const value = scope.s[+slot];
2084
- const element = value instanceof ElementReference ? findElement(value.scope, value.anchor) : null;
2085
- if (element && !isSlotReference(bound)) send(bound, element);
2153
+ if (HAS_BINDINGS) {
2154
+ for (const scope of added) for (const [slot, bound] of Object.entries(scope.b ?? {})) {
2155
+ const value = scope.s[+slot];
2156
+ const element = value instanceof ElementReference ? findElement(value.scope, value.anchor) : null;
2157
+ if (element && !isSlotReference(bound)) send(bound, element);
2158
+ }
2159
+ for (const scope of added) for (const [anchor, bound] of Object.entries(state[scope.id].r ?? {})) {
2160
+ const element = findElement(scope.id, +anchor);
2161
+ if (element) give(bound, element);
2162
+ }
2086
2163
  }
2087
2164
  hooks.added?.(added);
2088
2165
  return added;
@@ -2746,6 +2823,35 @@ function setOn(element, on, own) {
2746
2823
  options?.listen(element);
2747
2824
  }
2748
2825
  }
2826
+ /**
2827
+ * The scope that `fillSettled` reported each rejection to, as two renders or two writes in one
2828
+ * scope can read the same memo.
2829
+ */
2830
+ const reportedRejections = /* @__PURE__ */ new WeakMap();
2831
+ /**
2832
+ * Writes cloned markup that reads memos which never change, once the ones that are promises
2833
+ * settle, as no update writes their values. A rejection goes to the nearest `#try` around the
2834
+ * scope, or `onError`.
2835
+ */
2836
+ function fillSettled(scope, values, write) {
2837
+ let loading = false;
2838
+ for (const value of values) loading ||= isThenable(value);
2839
+ if (!loading) {
2840
+ write(...values);
2841
+ return;
2842
+ }
2843
+ const at = resolveScope(scope);
2844
+ Promise.all(values).then((settled) => {
2845
+ if (scopes.get(at.id) === at) write(...settled);
2846
+ }, (error) => {
2847
+ if (scopes.get(at.id) !== at) return;
2848
+ if (typeof error === "object" && error !== null) {
2849
+ if (reportedRejections.get(error) === at) return;
2850
+ reportedRejections.set(error, at);
2851
+ }
2852
+ fail(at, error);
2853
+ });
2854
+ }
2749
2855
  /** Writes the content of an element of cloned markup, as `insert` writes it in HTML. */
2750
2856
  function setContent(element, value, at) {
2751
2857
  if (typeof value === "string" || typeof value === "number") {
@@ -2913,7 +3019,7 @@ function prop(scope, anchor, name, value) {
2913
3019
  };
2914
3020
  const module = modules.get(child.m);
2915
3021
  if (module) apply(module);
2916
- else loadModule(child.m).then(apply);
3022
+ else loadModule(child.m).then(apply, (error) => fail(child, error));
2917
3023
  }
2918
3024
  //#endregion
2919
3025
  //#region src/runtime/client/inserts.ts
@@ -2994,6 +3100,7 @@ function write(parent, first, end, value, at, key, anchor) {
2994
3100
  first = next;
2995
3101
  }
2996
3102
  const made = nextId;
3103
+ linkCalls(value, at);
2997
3104
  insertHTML(end ?? { parent }, (HAS_CHILDREN || HAS_TEMPLATES) && value instanceof Children ? value.render(at) : insertValue(value));
2998
3105
  if (HAS_TEMPLATES && key) {
2999
3106
  const scope = value instanceof TemplateCall ? scopes.get(made) : void 0;
@@ -3066,8 +3173,6 @@ function attr(scope, anchor, name, value) {
3066
3173
  }
3067
3174
  /** The attributes that the last update of a spread wrote, so the next one removes those it drops. */
3068
3175
  const spreadNames = /* @__PURE__ */ new WeakMap();
3069
- /** The setters that were given each element, so an update of a spread does not call them again. */
3070
- const given = /* @__PURE__ */ new WeakMap();
3071
3176
  /**
3072
3177
  * Gives the element of a spread to the signal that a `ref` in its attributes is bound to, or to
3073
3178
  * the setter of the binding.
@@ -3079,14 +3184,7 @@ function forwardRef(element, values) {
3079
3184
  if (isSlotReference(target)) {
3080
3185
  const owner = scopes.get(target.scope);
3081
3186
  if (owner) set(owner, target.slot, element);
3082
- } else {
3083
- const key = target instanceof FunctionReference ? `${target.scope}#${target.ref}` : target;
3084
- const seen = given.get(element) ?? /* @__PURE__ */ new Set();
3085
- if (!seen.has(key)) {
3086
- given.set(element, seen.add(key));
3087
- send(target, element);
3088
- }
3089
- }
3187
+ } else give(target, element);
3090
3188
  }
3091
3189
  }
3092
3190
  /** The element of a spread in markup that the browser renders goes to the `ref` of its attributes. */
@@ -3458,6 +3556,6 @@ const loader = {
3458
3556
  updateRoute
3459
3557
  };
3460
3558
  //#endregion
3461
- export { forget as $, branchNodes as A, update as At, setAttr as B, makeId as Bt, dynamicNodes as C, get as Ct, setItem as D, resolve as Dt, place as E, pending as Et, keepText as F, title as Ft, template as G, loadPart as Gt, setContent as H, setOwner as Ht, listNodes as I, afterInsert as It, offscreen as J, build as Jt, branch as K, nameComment as Kt, markBlock as L, createScope as Lt, fillBranch as M, fail as Mt, fillList as N, children as Nt, setSlots as O, set as Ot, keep as P, insert as Pt, dispose as Q, skew as Qt, nodes as R, descendants as Rt, dynamic as S, effect as St, foreignNodes as T, memo as Tt, setOn as U, sink as Ut, setAttrText as V, removeScope as Vt, setSpread as W, loadModule as Wt, reset as X, rpcPrefix as Xt, rekey as Y, hooks as Yt, retag as Z, scopes as Zt, writeText as _, updateRoute as _t, deferInBrowser as a, action as at, component as b, bindings as bt, toList as c, rpc as ct, attr as d, guess as dt, init as et, attrs as f, track as ft, text as g, updateContext as gt, restRef as h, setGlobal as ht, addStyle as i, removeRoot as it, clone as j, updated as jt, appendText as k, timed as kt, windowList as l, spread as lt, portalTo as m, provideValue as mt, addHead as n, leaveRoutes as nt, setVar as o, handle as ot, content as p, consumeContext as pt, fill as q, DEVTOOLS as qt, addPortal as r, remount as rt, list as s, handlerProp as st, loader as t, leavePage as tt, windowStart as u, submitAction as ut, prop as v, asyncMemo as vt, elementAt as w, isBound as wt, componentNodes as x, cells as xt, spreadProps as y, binding as yt, putText as z, getScope as zt };
3559
+ export { dispose as $, scopes as $t, branchNodes as A, timed as At, putText as B, descendants as Bt, dynamicNodes as C, effect as Ct, setItem as D, pending as Dt, place as E, memo as Et, keep as F, children as Ft, setSpread as G, sink as Gt, setAttrText as H, makeId as Ht, keepText as I, insert as It, fill as J, nameComment as Jt, template as K, loadModule as Kt, listNodes as L, title as Lt, fillBranch as M, update as Mt, fillList as N, updated as Nt, setSlots as O, resolve as Ot, fillSettled as P, fail as Pt, retag as Q, rpcPrefix as Qt, markBlock as R, afterInsert as Rt, dynamic as S, cells as St, foreignNodes as T, isBound as Tt, setContent as U, removeScope as Ut, setAttr as V, getScope as Vt, setOn as W, setOwner as Wt, rekey as X, build as Xt, offscreen as Y, DEVTOOLS as Yt, reset as Z, hooks as Zt, writeText as _, updateContext as _t, deferInBrowser as a, removeRoot as at, component as b, binding as bt, toList as c, handlerProp as ct, attr as d, submitAction as dt, skew as en, forget as et, attrs as f, guess as ft, text as g, setGlobal as gt, restRef as h, provideValue as ht, addStyle as i, remount as it, clone as j, unreadMemo as jt, appendText as k, set as kt, windowList as l, rpc as lt, portalTo as m, consumeContext as mt, addHead as n, leavePage as nt, setVar as o, action as ot, content as p, track as pt, branch as q, loadPart as qt, addPortal as r, leaveRoutes as rt, list as s, handle as st, loader as t, init as tt, windowStart as u, spread as ut, prop as v, updateRoute as vt, elementAt as w, get as wt, componentNodes as x, bindings as xt, spreadProps as y, asyncMemo as yt, nodes as z, createScope as zt };
3462
3560
 
3463
- //# sourceMappingURL=client-BvDsC6Qr.js.map
3561
+ //# sourceMappingURL=client-Cwr2AfP4.js.map