marko 6.4.10 → 6.4.11

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 (87) hide show
  1. package/dist/common/accessor.d.ts +0 -3
  2. package/dist/common/accessor.debug.d.ts +0 -3
  3. package/dist/common/helpers.d.ts +1 -1
  4. package/dist/common/types.d.ts +4 -3
  5. package/dist/debug/dom/catch.feat.js +1 -1
  6. package/dist/debug/dom/catch.feat.mjs +1 -1
  7. package/dist/debug/dom/controllable-input.feat.js +1 -1
  8. package/dist/debug/dom/controllable-input.feat.mjs +1 -1
  9. package/dist/debug/dom/controllable-open.feat.js +1 -1
  10. package/dist/debug/dom/controllable-open.feat.mjs +1 -1
  11. package/dist/debug/dom/controllable-select.feat.js +1 -1
  12. package/dist/debug/dom/controllable-select.feat.mjs +1 -1
  13. package/dist/debug/dom/controllable-textarea.feat.js +1 -1
  14. package/dist/debug/dom/controllable-textarea.feat.mjs +1 -1
  15. package/dist/debug/dom/controllable.feat.js +1 -1
  16. package/dist/debug/dom/controllable.feat.mjs +1 -1
  17. package/dist/debug/dom/dynamic-tag-script.feat.js +1 -1
  18. package/dist/debug/dom/dynamic-tag-script.feat.mjs +1 -1
  19. package/dist/debug/dom/dynamic-tag-var.feat.js +1 -1
  20. package/dist/debug/dom/dynamic-tag-var.feat.mjs +1 -1
  21. package/dist/debug/dom/lazy.feat.js +1 -1
  22. package/dist/debug/dom/lazy.feat.mjs +1 -1
  23. package/dist/debug/dom/placeholder.feat.js +1 -1
  24. package/dist/debug/dom/placeholder.feat.mjs +1 -1
  25. package/dist/debug/{dom-C1V5vpFs.mjs → dom-DjUZd-9y.mjs} +198 -214
  26. package/dist/debug/{dom-DNB5yq3U.js → dom-mQ5mPBTF.js} +203 -213
  27. package/dist/debug/dom.js +5 -8
  28. package/dist/debug/dom.mjs +5 -9
  29. package/dist/debug/html.js +68 -87
  30. package/dist/debug/html.mjs +68 -87
  31. package/dist/dom/abort-signal.d.ts +1 -1
  32. package/dist/dom/catch.feat.js +3 -3
  33. package/dist/dom/catch.feat.mjs +1 -1
  34. package/dist/dom/control-flow.d.ts +4 -4
  35. package/dist/dom/controllable-input.feat.js +1 -1
  36. package/dist/dom/controllable-input.feat.mjs +1 -1
  37. package/dist/dom/controllable-open.feat.js +1 -1
  38. package/dist/dom/controllable-open.feat.mjs +1 -1
  39. package/dist/dom/controllable-select.feat.js +1 -1
  40. package/dist/dom/controllable-select.feat.mjs +1 -1
  41. package/dist/dom/controllable-textarea.feat.js +1 -1
  42. package/dist/dom/controllable-textarea.feat.mjs +1 -1
  43. package/dist/dom/controllable.feat.js +1 -1
  44. package/dist/dom/controllable.feat.mjs +1 -1
  45. package/dist/dom/dynamic-tag-script.feat.js +2 -2
  46. package/dist/dom/dynamic-tag-script.feat.mjs +1 -1
  47. package/dist/dom/dynamic-tag-var.feat.js +3 -3
  48. package/dist/dom/dynamic-tag-var.feat.mjs +1 -1
  49. package/dist/dom/lazy.feat.js +1 -1
  50. package/dist/dom/lazy.feat.mjs +1 -1
  51. package/dist/dom/load.d.ts +3 -4
  52. package/dist/dom/placeholder.feat.js +1 -1
  53. package/dist/dom/placeholder.feat.mjs +1 -1
  54. package/dist/dom/queue.d.ts +1 -2
  55. package/dist/dom/signals.d.ts +5 -7
  56. package/dist/{dom-C2-Flitp.js → dom-B8j2453O.js} +143 -155
  57. package/dist/{dom-DsHYWMCR.mjs → dom-HEWdZCCb.mjs} +119 -136
  58. package/dist/dom.d.ts +1 -1
  59. package/dist/dom.js +17 -21
  60. package/dist/dom.mjs +5 -9
  61. package/dist/html/assets.d.ts +3 -4
  62. package/dist/html/for.d.ts +0 -1
  63. package/dist/html/writer.d.ts +2 -2
  64. package/dist/html.d.ts +1 -1
  65. package/dist/html.js +60 -72
  66. package/dist/html.mjs +60 -72
  67. package/dist/translator/index.d.ts +0 -1
  68. package/dist/translator/index.js +4629 -4485
  69. package/dist/translator/interop/out-global.d.ts +5 -0
  70. package/dist/translator/util/assert.d.ts +4 -0
  71. package/dist/translator/util/entry-builder.d.ts +1 -1
  72. package/dist/translator/util/finalize-references.d.ts +2 -1
  73. package/dist/translator/util/for-selector.d.ts +1 -1
  74. package/dist/translator/util/known-tag.d.ts +7 -1
  75. package/dist/translator/util/references.d.ts +11 -5
  76. package/dist/translator/util/runtime.d.ts +1 -0
  77. package/dist/translator/util/sections.d.ts +6 -1
  78. package/dist/translator/util/signals.d.ts +2 -1
  79. package/dist/translator/util/style-interpolation.d.ts +1 -1
  80. package/dist/translator/util/tag-name-type.d.ts +1 -0
  81. package/dist/translator/util/visitors.d.ts +1 -1
  82. package/dist/translator/util/write-guard.d.ts +2 -0
  83. package/dist/translator/visitors/program/index.d.ts +0 -4
  84. package/dist/translator/visitors/referenced-identifier.d.ts +3 -1
  85. package/package.json +4 -4
  86. package/dist/common/constants/keyed-scopes-prop.d.ts +0 -4
  87. package/dist/common/constants/keyed-scopes-prop.debug.d.ts +0 -4
@@ -1,13 +1,5 @@
1
1
  "use strict";
2
- let unsafeStyleAttrReg = /[\\;]/g, replaceUnsafeStyleAttr = (c) => c === ";" ? "\\3B " : "\\\\", toDelimitedString = function toDelimitedString(val, delimiter, stringify) {
3
- let str = "", sep = "", part;
4
- if (val) {
5
- if (typeof val != "object") str += val;
6
- else if (Array.isArray(val)) for (let v of val) part = toDelimitedString(v, delimiter, stringify), part && (str += sep + part, sep = delimiter);
7
- else for (let name in val) part = stringify(name, val[name]), part && (str += sep + part, sep = delimiter);
8
- }
9
- return str;
10
- }, decodeAccessor = (num) => (num + (num < 26 ? 10 : num < 962 ? 334 : 11998)).toString(36), branchesEnabled, dynamicHtmlEnabled, rendering, runId = 2, pendingEffects = [], pendingRenders = [], queuePendingRender = (render) => {
2
+ let unsafeStyleAttrReg = /[\\;]/g, replaceUnsafeStyleAttr = (c) => c === ";" ? "\\3B " : "\\\\", decodeAccessor = (num) => (num + (num < 26 ? 10 : num < 962 ? 334 : 11998)).toString(36), branchesEnabled, dynamicHtmlEnabled, rendering, runId = 2, pendingEffects = [], pendingRenders = [], queuePendingRender = (render) => {
11
3
  let i = pendingRenders.push(render) - 1;
12
4
  for (; i;) {
13
5
  let parentIndex = i - 1 >> 1, parent = pendingRenders[parentIndex];
@@ -15,29 +7,11 @@ let unsafeStyleAttrReg = /[\\;]/g, replaceUnsafeStyleAttr = (c) => c === ";" ? "
15
7
  pendingRenders[i] = parent, i = parentIndex;
16
8
  }
17
9
  pendingRenders[i] = render;
18
- }, runEffects = ((effects) => {
10
+ }, runEffects = (effects) => {
19
11
  for (let i = 0; i < effects.length;) effects[i++](effects[i++]);
20
- }), runRender = (render) => {
12
+ }, runRender = (render) => {
21
13
  branchesEnabled && render.b.F?.H === 0 || render.c(render.b, render.d);
22
- }, catchEnabled, abortsEnabled, subscriptionsEnabled, delegate = (type, handler) => handler[1 + type] ||= (document.addEventListener(type, handler, !0), 1), parsers = {}, nextScopeId = 1e6, collectingScopes, destroyNestedScopes = function destroyNestedScopes(scope) {
23
- scope.H = 0, scope.D?.forEach(destroyNestedScopes), scope.B?.forEach(cleanupScope);
24
- }, isScheduled, channel, _return = (scope, value) => scope.T ? scope.T(value) : scope.RV = value, _var_change = (scope, value) => scope.U?.(value), tagIdsByGlobal = /* @__PURE__ */ new WeakMap(), currentNode, walkInternal = function walkInternal(currentWalkIndex, walkCodes, scope) {
25
- let value, currentMultiplier, storedMultiplier = 0, currentScopeIndex = 0;
26
- for (; currentWalkIndex < walkCodes.length;) if (value = walkCodes.charCodeAt(currentWalkIndex++), currentMultiplier = storedMultiplier, storedMultiplier = 0, value === 32) scope[decodeAccessor(currentScopeIndex++)] = currentNode;
27
- else if (value === 37 || value === 49) currentNode.replaceWith(currentNode = scope[decodeAccessor(currentScopeIndex++)] = new Text()), value === 49 && (scope[decodeAccessor(currentScopeIndex++)] = skipScope());
28
- else if (value === 38) return currentWalkIndex;
29
- else if (value === 47 || value === 48) currentWalkIndex = walkInternal(currentWalkIndex, walkCodes, scope[decodeAccessor(currentScopeIndex++)] = createScope(scope.$, scope.F)), value === 48 && (scope[decodeAccessor(currentScopeIndex++)] = skipScope());
30
- else if (value < 92) for (value = 25 * currentMultiplier + value - 67; value--;) if (currentNode.firstChild) currentNode = currentNode.firstChild;
31
- else {
32
- for (; !currentNode.nextSibling && currentNode.parentNode;) currentNode = currentNode.parentNode;
33
- walkNextSibling();
34
- }
35
- else if (value < 107) for (value = 10 * currentMultiplier + value - 97; value--;) walkNextSibling();
36
- else if (value < 117) {
37
- for (value = 10 * currentMultiplier + value - 107; value--;) currentNode = currentNode.parentNode || currentNode;
38
- walkNextSibling();
39
- } else storedMultiplier = currentMultiplier * 10 + value - 117;
40
- }, walkNextSibling = (_) => currentNode = currentNode.nextSibling || currentNode, _resumed = {}, curRenders, embedRenders, readyIds, lazyEnabled, isResuming, cloneCache = {}, _html = /*@__PURE__*/ withDynamicHtml(function(scope, value, accessor) {
14
+ }, catchEnabled, abortsEnabled, subscriptionsEnabled, delegate = (type, handler) => handler[1 + type] ||= (document.addEventListener(type, handler, !0), 1), parsers = {}, nextScopeId = 1e6, collectingScopes, isScheduled, channel, _return = (scope, value) => scope.T ? scope.T(value) : scope.RV = value, _var_change = (scope, value) => scope.U?.(value), tagIdsByGlobal = /* @__PURE__ */ new WeakMap(), currentNode, walkNextSibling = (_) => currentNode = currentNode.nextSibling || currentNode, _resumed = {}, curRenders, embedRenders, readyIds, lazyEnabled, isResuming, _html = /*@__PURE__*/ withDynamicHtml(function(scope, value, accessor) {
41
15
  let prevValue = scope["R" + accessor];
42
16
  if (prevValue !== (scope["R" + accessor] = _to_text(value))) {
43
17
  let firstChild = scope[accessor], parentNode = firstChild.parentNode, lastChild = scope["H" + accessor] || firstChild, newContent = parseHTML(scope["R" + accessor], parentNode.namespaceURI);
@@ -60,7 +34,7 @@ let unsafeStyleAttrReg = /[\\;]/g, replaceUnsafeStyleAttr = (c) => c === ";" ? "
60
34
  nodeAccessor = decodeAccessor(nodeAccessor), startNodeAccessor !== void 0 && (startNodeAccessor = decodeAccessor(startNodeAccessor));
61
35
  let rangeAccessor = "A" + nodeAccessor;
62
36
  return (scope, display) => {
63
- let referenceNode = scope[nodeAccessor], onlyChild = referenceNode.nodeType === 1, parentNode = onlyChild ? referenceNode : referenceNode.parentNode, range = scope[rangeAccessor];
37
+ let referenceNode = scope[nodeAccessor], onlyChild = referenceNode.nodeType < 3, parentNode = onlyChild ? referenceNode : referenceNode.parentNode, range = scope[rangeAccessor];
64
38
  range || (range = scope[rangeAccessor] = {}, range.S = onlyChild ? parentNode.insertBefore(new Text(), parentNode.firstChild) : startNodeAccessor ? scope[startNodeAccessor] : referenceNode.previousSibling);
65
39
  let startNode = range.S;
66
40
  range.L && startNode.tagName === "T" ? display && startNode.replaceWith(range.S = new Text(), ...startNode.childNodes) : display ? startNode.parentNode !== parentNode && parentNode.insertBefore(startNode.parentNode, onlyChild ? null : referenceNode) : startNode.parentNode === parentNode && (range.K = onlyChild ? parentNode.lastChild : referenceNode.previousSibling, detachBranch(range));
@@ -113,7 +87,7 @@ let unsafeStyleAttrReg = /[\\;]/g, replaceUnsafeStyleAttr = (c) => c === ";" ? "
113
87
  let oldLen = oldScopes.length, parentNode = referenceNode.nodeType > 1 ? referenceNode.parentNode || oldScopes[0]?.S.parentNode : referenceNode, oldScopesByKey, hasPotentialMoves, start = 0;
114
88
  forEach(value, (key, args) => {
115
89
  let i = newScopes.length, oldScope = oldScopes[i], branch = oldLen && (oldScopesByKey || key !== (oldScope?.M ?? i) ? (oldScopesByKey ||= oldScopes.reduce((map, scope, j) => j < i ? map : (scope.I = j, map.set(scope.M ?? j, scope)), /* @__PURE__ */ new Map())).get(key) : oldScope && (start++, oldScope));
116
- branch ? (hasPotentialMoves = !0, oldScopesByKey?.delete(key), branch.M = key) : ((branch = createBranch(scope.$, renderer, scope, parentNode)).M = key, setupBranch(renderer, branch)), newScopes.push(branch), params?.(branch, args);
90
+ branch ? (hasPotentialMoves = 1, oldScopesByKey?.delete(key), branch.M = key) : ((branch = createBranch(scope.$, renderer, scope, parentNode)).M = key, setupBranch(renderer, branch)), newScopes.push(branch), params?.(branch, args);
117
91
  }), scope[scopesAccessor] = newScopes;
118
92
  let newLen = newScopes.length, hasSiblings = referenceNode !== parentNode, afterReference = null, oldEnd = oldLen - 1, newEnd = newLen - 1;
119
93
  if (hasSiblings && (oldLen ? (afterReference = oldScopes[oldEnd].K.nextSibling, newLen || parentNode.insertBefore(referenceNode, afterReference)) : newLen && (afterReference = referenceNode.nextSibling, referenceNode.remove())), !hasPotentialMoves) {
@@ -154,6 +128,15 @@ function escapeStyleValue(str) {
154
128
  for (let c of result) c === "(" ? closers = ")" + closers : c === "[" ? closers = "]" + closers : c === closers[0] && (closers = closers.slice(1));
155
129
  return result + closers;
156
130
  }
131
+ function toDelimitedString(val, delimiter, stringify) {
132
+ let str = "", sep = "", part;
133
+ if (val) {
134
+ if (typeof val != "object") str += val;
135
+ else if (Array.isArray(val)) for (let v of val) part = toDelimitedString(v, delimiter, stringify), part && (str += sep + part, sep = delimiter);
136
+ else for (let name in val) part = stringify(name, val[name]), part && (str += sep + part, sep = delimiter);
137
+ }
138
+ return str;
139
+ }
157
140
  function isEventHandler(name) {
158
141
  return /^on[A-Z-]/.test(name);
159
142
  }
@@ -293,7 +276,7 @@ function $signal(scope, id) {
293
276
  return abortsEnabled = 1, trackCleanup(scope), ((scope.A ||= {})[id] ||= new AbortController()).signal;
294
277
  }
295
278
  /** Runs `abort` as a destroyed scope's `$signal` would fire, without creating one. */
296
- function trackAbort(scope, id, abort) {
279
+ function onAbort(scope, id, abort) {
297
280
  abortsEnabled = 1, trackCleanup(scope), (scope.A ||= {})[id] = { abort };
298
281
  }
299
282
  /** Enrols `scope` with its branch so destroying the branch cleans it up. */
@@ -359,11 +342,14 @@ function skipScope() {
359
342
  return nextScopeId++;
360
343
  }
361
344
  function destroyBranch(branch) {
362
- branch.N?.D?.delete(branch), destroyNestedScopes(branch);
345
+ branch.N?.D.delete(branch), destroyNestedScopes(branch);
363
346
  }
364
347
  function destroyScope(scope) {
365
348
  scope.H && (destroyNestedScopes(scope), cleanupScope(scope));
366
349
  }
350
+ function destroyNestedScopes(scope) {
351
+ scope.H = 0, scope.D?.forEach(destroyNestedScopes), scope.B?.forEach(cleanupScope);
352
+ }
367
353
  function cleanupScope(scope) {
368
354
  if (subscriptionsEnabled && scope.Z?.forEach(unsubscribe, scope), abortsEnabled) for (let id in scope.A) $signalReset(scope, id);
369
355
  }
@@ -406,34 +392,28 @@ function _const(valueAccessor, fn) {
406
392
  scope[valueAccessor] === value && valueAccessor in scope || (scope[valueAccessor] = value, fn?.(scope));
407
393
  });
408
394
  }
409
- function _or(id, fn, defaultPending = 1, scopeIdAccessor = "L") {
410
- return scopeIdAccessor !== "L" && (scopeIdAccessor = decodeAccessor(scopeIdAccessor)), (scope) => {
395
+ function _or(id, fn, defaultPending = 1, scopeIdAccessor) {
396
+ return scopeIdAccessor = scopeIdAccessor ? decodeAccessor(scopeIdAccessor) : "L", (scope) => {
411
397
  scope.H === runId ? ~id in scope ? --scope[~id] || fn(scope) : scope[~id] = defaultPending : queueRender(scope, fn, id, 0, scope[scopeIdAccessor]);
412
398
  };
413
399
  }
414
- function _for_closure(ownerLoopNodeAccessor, fn) {
415
- ownerLoopNodeAccessor = decodeAccessor(ownerLoopNodeAccessor);
416
- let scopeAccessor = "A" + ownerLoopNodeAccessor, ownerSignal = (ownerScope) => {
417
- let scopes = toArray(ownerScope[scopeAccessor]);
418
- queueRender(ownerScope, (_) => {
419
- for (let scope of scopes) scope.H > 0 && scope.H < runId && fn(scope);
420
- }, -1);
421
- };
400
+ function _for_closure(ownerLoopNodeAccessor, fn, id, scopeIdAccessor) {
401
+ ownerLoopNodeAccessor = decodeAccessor(ownerLoopNodeAccessor), scopeIdAccessor = scopeIdAccessor ? decodeAccessor(scopeIdAccessor) : "L";
402
+ let scopeAccessor = "A" + ownerLoopNodeAccessor, render = (ownerScope) => {
403
+ for (let scope of toArray(ownerScope[scopeAccessor])) scope.H < runId && fn(scope);
404
+ }, ownerSignal = (ownerScope) => queueRender(ownerScope, render, id, 0, ownerScope[scopeIdAccessor]);
422
405
  return ownerSignal._ = (scope) => queueRender(scope, fn, -1), ownerSignal;
423
406
  }
424
- function _for_selector(ownerLoopNodeAccessor, ownerValueAccessor, fn) {
407
+ function _for_selector(ownerLoopNodeAccessor, ownerValueAccessor, fn, getValueScope) {
425
408
  ownerLoopNodeAccessor = decodeAccessor(ownerLoopNodeAccessor), ownerValueAccessor = decodeAccessor(ownerValueAccessor);
426
- let scopeAccessor = "A" + ownerLoopNodeAccessor, mapAccessor = "O" + ownerLoopNodeAccessor, prevKeyProp = `_${ownerValueAccessor}`, ownerSignal = (ownerScope) => {
409
+ let scopeAccessor = "A" + ownerLoopNodeAccessor, mapAccessor = "O" + ownerLoopNodeAccessor, prevKey = Symbol(), ownerSignal = (ownerScope) => {
427
410
  if (ownerScope.H < runId) {
428
- let nextKey = ownerScope[ownerValueAccessor];
429
- queueRender(ownerScope, (_) => {
430
- let map = keyedScopes(ownerScope, scopeAccessor, mapAccessor);
431
- if (map && prevKeyProp in map) {
432
- let prevScope = map.get(map[prevKeyProp]), nextScope = map.get(nextKey);
433
- prevScope !== nextScope && (runLiveBranch(prevScope, fn), runLiveBranch(nextScope, fn));
434
- } else for (let scope of toArray(ownerScope[scopeAccessor])) runLiveBranch(scope, fn);
435
- map && (map[prevKeyProp] = nextKey);
436
- }, -1);
411
+ let nextKey = (getValueScope ? getValueScope(ownerScope) : ownerScope)[ownerValueAccessor], map = keyedScopes(ownerScope, scopeAccessor, mapAccessor);
412
+ if (map && prevKey in ownerScope) {
413
+ let prevScope = map.get(ownerScope[prevKey]), nextScope = map.get(nextKey);
414
+ prevScope !== nextScope && (queueLiveBranch(prevScope, fn), queueLiveBranch(nextScope, fn));
415
+ } else for (let scope of toArray(ownerScope[scopeAccessor])) queueLiveBranch(scope, fn);
416
+ ownerScope[prevKey] = nextKey;
437
417
  }
438
418
  };
439
419
  return ownerSignal._ = (scope) => queueRender(scope, fn, -1), ownerSignal;
@@ -447,8 +427,8 @@ function keyedScopes(ownerScope, scopeAccessor, mapAccessor) {
447
427
  }
448
428
  return map;
449
429
  }
450
- function runLiveBranch(scope, fn) {
451
- scope && scope.H > 0 && scope.H < runId && fn(scope);
430
+ function queueLiveBranch(scope, fn) {
431
+ scope?.H < runId && queueRender(scope, fn, -1);
452
432
  }
453
433
  function _if_closure(ownerConditionalNodeAccessor, branch, fn) {
454
434
  ownerConditionalNodeAccessor = decodeAccessor(ownerConditionalNodeAccessor);
@@ -496,9 +476,7 @@ function _id(scope, accessor) {
496
476
  return id;
497
477
  }
498
478
  function _script(id, fn) {
499
- return _resumed[id] = fn, (scope) => {
500
- queueEffect(scope, fn);
501
- };
479
+ return _resumed[id] = fn, (scope) => queueEffect(scope, fn);
502
480
  }
503
481
  function _global_read($global, key) {
504
482
  return $global[key];
@@ -529,6 +507,23 @@ function _hoist_resume(id, ...path) {
529
507
  function walk(startNode, walkCodes, branch) {
530
508
  currentNode = startNode, walkInternal(0, walkCodes, branch);
531
509
  }
510
+ function walkInternal(currentWalkIndex, walkCodes, scope) {
511
+ let value, currentMultiplier, storedMultiplier = 0, currentScopeIndex = 0;
512
+ for (; currentWalkIndex < walkCodes.length;) if (value = walkCodes.charCodeAt(currentWalkIndex++), currentMultiplier = storedMultiplier, storedMultiplier = 0, value === 32) scope[decodeAccessor(currentScopeIndex++)] = currentNode;
513
+ else if (value === 37 || value === 49) currentNode.replaceWith(currentNode = scope[decodeAccessor(currentScopeIndex++)] = new Text()), value === 49 && (scope[decodeAccessor(currentScopeIndex++)] = skipScope());
514
+ else if (value === 38) return currentWalkIndex;
515
+ else if (value === 47 || value === 48) currentWalkIndex = walkInternal(currentWalkIndex, walkCodes, scope[decodeAccessor(currentScopeIndex++)] = createScope(scope.$, scope.F)), value === 48 && (scope[decodeAccessor(currentScopeIndex++)] = skipScope());
516
+ else if (value < 92) for (value = 25 * currentMultiplier + value - 67; value--;) if (currentNode.firstChild) currentNode = currentNode.firstChild;
517
+ else {
518
+ for (; !currentNode.nextSibling && currentNode.parentNode;) currentNode = currentNode.parentNode;
519
+ walkNextSibling();
520
+ }
521
+ else if (value < 107) for (value = 10 * currentMultiplier + value - 97; value--;) walkNextSibling();
522
+ else if (value < 117) {
523
+ for (value = 10 * currentMultiplier + value - 107; value--;) currentNode = currentNode.parentNode || currentNode;
524
+ walkNextSibling();
525
+ } else storedMultiplier = currentMultiplier * 10 + value - 117;
526
+ }
532
527
  // src/dom/resume.ts
533
528
  function ready(readyId) {
534
529
  (readyIds ||= /* @__PURE__ */ new Set()).add(readyId);
@@ -551,67 +546,65 @@ function initEmbedded(readyId, runtimeId) {
551
546
  }
552
547
  function init(runtimeId = "M") {
553
548
  if (curRenders) return;
554
- let renders = self[runtimeId], defineRuntime = (desc) => Object.defineProperty(self, runtimeId, desc), initRuntime = (renders) => {
555
- defineRuntime({ value: curRenders = ((renderId) => {
556
- let render = curRenders[renderId] = renders[renderId] || renders(renderId), walk = render.w, scopeLookup = {}, pending = [], getScope = (id) => scopeLookup[id] || (+id ? initScope(scopeLookup[id] = { L: +id }) : initGlobal()), initGlobal = (_) => scopeLookup[0] ||= {
557
- runtimeId,
558
- renderId
559
- }, initScope = (scope) => (scope.H ??= 1, scope.$ = initGlobal(), branchesEnabled && scope.G && (scope.F = getScope(scope.G)), scope), applyScopes = (partials) => {
560
- let scopeId = partials[0];
561
- for (let i = 1; i < partials.length; i++) {
562
- let partial = partials[i];
563
- typeof partial == "number" ? scopeId += partial : (scopeId ? initScope(Object.assign(scopeLookup[scopeId] ||= (partial.L = scopeId, partial), partial)) : Object.assign(initGlobal(), partial), scopeId++);
549
+ let renders = self[runtimeId], defineRuntime = (desc) => Object.defineProperty(self, runtimeId, desc), initRuntime = (renders) => defineRuntime({ value: curRenders = ((renderId) => {
550
+ let render = curRenders[renderId] = renders[renderId] || renders(renderId), walk = render.w, scopeLookup = {}, pending = [], getScope = (id) => scopeLookup[id] || (+id ? initScope(scopeLookup[id] = { L: +id }) : initGlobal()), initGlobal = (_) => scopeLookup[0] ||= {
551
+ runtimeId,
552
+ renderId
553
+ }, initScope = (scope) => (scope.H ??= 1, scope.$ = initGlobal(), branchesEnabled && scope.G && (scope.F = getScope(scope.G)), scope), applyScopes = (partials) => {
554
+ let scopeId = partials[0];
555
+ for (let i = 1; i < partials.length; i++) {
556
+ let partial = partials[i];
557
+ typeof partial == "number" ? scopeId += partial : (scopeId ? initScope(Object.assign(scopeLookup[scopeId] ||= (partial.L = scopeId, partial), partial)) : Object.assign(initGlobal(), partial), scopeId++);
558
+ }
559
+ }, serializeContext = ((data, registryId) => typeof data == "number" ? registryId ? _resumed[registryId](getScope(data)) : getScope(data) : applyScopes(data)), createVisitBranches = (branchScopesStack = [], branchStarts = [], curBranchScopes, reorderBranch, reorderDepth = 0, adopt = (scope, branch) => scope.F === scope ? scope !== branch && setParentBranch(scope, branch) : scope.F = branch) => (branchId, branch, endedBranches, accessor, nodeAccessor, singleNode, parent = visit.parentNode, startVisit = visit) => {
560
+ if (visitType === "*") {
561
+ for (; reorderBranch && pending.length >= reorderDepth;) adopt(pending.pop(), reorderBranch);
562
+ (reorderBranch = +lastToken && visitScope) && (reorderDepth = pending.push(reorderBranch));
563
+ } else {
564
+ for (visitType !== "[" && (visitScope[nextToken()] = visitType === ")" || visitType === "}" ? parent : visit, accessor = "A" + (nodeAccessor = lastToken), singleNode = visitType !== "]" && visitType !== ")", nextToken()); branchId = +lastToken;) {
565
+ if ((endedBranches ||= []).push(branch = getScope(branchId)), setParentBranch(branch, branch.F), (branch.O = render.p?.[branchId]) && (branch.O.m = render.m), singleNode) {
566
+ for (; startVisit.previousSibling && (startVisit = startVisit.previousSibling).nodeType > 1;);
567
+ branch._ ??= visitScope, branch.K = branch.S = startVisit, visitType === "(" && (branch.a = startVisit);
568
+ } else branch.C = nodeAccessor, curBranchScopes = push(curBranchScopes, branch), accessor && (visitScope[accessor] = curBranchScopes, forEach(curBranchScopes, (scope) => scope._ ??= visitScope), curBranchScopes = branchScopesStack.pop()), startVisit = branchStarts.pop(), parent !== startVisit.parentNode && parent.prepend(startVisit), branch.S = startVisit, branch.K = visit.previousSibling === startVisit ? startVisit : parent.insertBefore(new Text(), visit);
569
+ for (; pending.at(-1)?.L >= branchId;) adopt(pending.pop(), branch);
570
+ nextToken();
564
571
  }
565
- }, serializeContext = ((data, registryId) => typeof data == "number" ? registryId ? _resumed[registryId](getScope(data)) : getScope(data) : applyScopes(data)), createVisitBranches = (branchScopesStack = [], branchStarts = [], curBranchScopes, reorderBranch, reorderDepth = 0, adopt = (scope, branch) => scope.F === scope ? scope !== branch && setParentBranch(scope, branch) : scope.F = branch) => (branchId, branch, endedBranches, accessor, nodeAccessor, singleNode, parent = visit.parentNode, startVisit = visit) => {
566
- if (visitType === "*") {
567
- for (; reorderBranch && pending.length >= reorderDepth;) adopt(pending.pop(), reorderBranch);
568
- (reorderBranch = +lastToken && visitScope) && (reorderDepth = pending.push(reorderBranch));
569
- } else {
570
- for (visitType !== "[" && (visitScope[nextToken()] = visitType === ")" || visitType === "}" ? parent : visit, accessor = "A" + (nodeAccessor = lastToken), singleNode = visitType !== "]" && visitType !== ")", nextToken()); branchId = +lastToken;) {
571
- if ((endedBranches ||= []).push(branch = getScope(branchId)), setParentBranch(branch, branch.F), (branch.O = render.p?.[branchId]) && (branch.O.m = render.m), singleNode) {
572
- for (; startVisit.previousSibling && (startVisit = startVisit.previousSibling).nodeType > 1;);
573
- branch._ ??= visitScope, branch.K = branch.S = startVisit, visitType === "(" && (branch.a = startVisit);
574
- } else branch.C = nodeAccessor, curBranchScopes = push(curBranchScopes, branch), accessor && (visitScope[accessor] = curBranchScopes, forEach(curBranchScopes, (scope) => scope._ ??= visitScope), curBranchScopes = branchScopesStack.pop()), startVisit = branchStarts.pop(), parent !== startVisit.parentNode && parent.prepend(startVisit), branch.S = startVisit, branch.K = visit.previousSibling === startVisit ? startVisit : parent.insertBefore(new Text(), visit);
575
- for (; pending.at(-1)?.L >= branchId;) adopt(pending.pop(), branch);
576
- nextToken();
577
- }
578
- if (endedBranches) {
579
- for (let ended of endedBranches) pending.push(ended);
580
- singleNode && (visitScope[accessor] = endedBranches.length > 1 ? endedBranches.reverse() : endedBranches[0]);
581
- }
582
- visitType === "[" ? (endedBranches || (branchScopesStack.push(curBranchScopes), curBranchScopes = void 0), branchStarts.push(visit)) : pending.push(visitScope);
572
+ if (endedBranches) {
573
+ for (let ended of endedBranches) pending.push(ended);
574
+ singleNode && (visitScope[accessor] = endedBranches.length > 1 ? endedBranches.reverse() : endedBranches[0]);
583
575
  }
584
- }, nextToken = (_) => lastToken = visitText.slice(lastTokenIndex, (lastTokenIndex = visitText.indexOf(" ", lastTokenIndex) + 1 || visitText.length + 1) - 1), processResumes = (resumes = [], effects) => {
585
- let i = 0;
586
- for (; i < resumes.length; i++) {
587
- let serialized = resumes[i];
588
- if (typeof serialized == "string") for (lastTokenIndex = 0, visitText = serialized; nextToken();) /\D/.test(lastToken) ? lastEffect = _resumed[lastToken] : effects.push(lastEffect, getScope(lastToken));
589
- else if (Array.isArray(serialized)) {
590
- if (!(readyIds && serialized.every((dep) => readyIds.has(dep) && !render.b[dep].length))) break;
591
- } else if (readyIds && typeof serialized == "number") break;
592
- else {
593
- let scopes = serialized(serializeContext);
594
- Array.isArray(scopes) && applyScopes(scopes);
595
- }
576
+ visitType === "[" ? (endedBranches || (branchScopesStack.push(curBranchScopes), curBranchScopes = void 0), branchStarts.push(visit)) : pending.push(visitScope);
577
+ }
578
+ }, nextToken = (_) => lastToken = visitText.slice(lastTokenIndex, (lastTokenIndex = visitText.indexOf(" ", lastTokenIndex) + 1 || visitText.length + 1) - 1), processResumes = (resumes = [], effects) => {
579
+ let i = 0;
580
+ for (; i < resumes.length; i++) {
581
+ let serialized = resumes[i];
582
+ if (typeof serialized == "string") for (lastTokenIndex = 0, visitText = serialized; nextToken();) /\D/.test(lastToken) ? lastEffect = _resumed[lastToken] : effects.push(lastEffect, getScope(lastToken));
583
+ else if (Array.isArray(serialized)) {
584
+ if (!(readyIds && serialized.every((dep) => readyIds.has(dep) && !render.b[dep].length))) break;
585
+ } else if (readyIds && typeof serialized == "number") break;
586
+ else {
587
+ let scopes = serialized(serializeContext);
588
+ Array.isArray(scopes) && applyScopes(scopes);
596
589
  }
597
- return resumes.splice(0, i), i;
598
- }, lastEffect, visits, visit, visitText, visitType, visitScope, lastToken, lastTokenIndex, visitBranches, htmlStart, embedAnchor;
599
- return serializeContext._ = _resumed, render.m = (effects) => {
600
- if (processResumes(render.r, effects), readyIds && render.b) for (let progress = 1; progress;) {
601
- progress = 0;
602
- for (let readyId of readyIds) {
603
- let resumes = render.b[readyId];
604
- resumes && processResumes(resumes, effects) && (progress = 1);
605
- }
590
+ }
591
+ return resumes.splice(0, i), i;
592
+ }, lastEffect, visits, visit, visitText, visitType, visitScope, lastToken, lastTokenIndex, visitBranches, htmlStart, embedAnchor;
593
+ return serializeContext._ = _resumed, render.m = (effects) => {
594
+ if (processResumes(render.r, effects), readyIds && render.b) for (let progress = 1; progress;) {
595
+ progress = 0;
596
+ for (let readyId of readyIds) {
597
+ let resumes = render.b[readyId];
598
+ resumes && processResumes(resumes, effects) && (progress = 1);
606
599
  }
607
- let retained = 0;
608
- for (visit of visits = render.v) lastTokenIndex = render.i.length, visitText = visit.data, visitType = visitText[lastTokenIndex++], visitScope = getScope(nextToken()), dynamicHtmlEnabled && visitType > "%" && visitType <= "'" ? visitType === "&" ? htmlStart = visit : (visitScope[nextToken()] = htmlStart, visitScope["H" + lastToken] = visit, (branchesEnabled || lazyEnabled) && pending[pending.length - 1] !== visitScope && pending.push(visitScope)) : branchesEnabled && visitType > "'" ? (visitBranches ||= createVisitBranches())() : lazyEnabled && render.b && visitType > "%" ? visits[retained++] = visit : (visitScope[nextToken()] = visitType === "%" ? visit.parentNode.insertBefore(new Text(), visit) : visit.previousSibling, (branchesEnabled || lazyEnabled) && pending[pending.length - 1] !== visitScope && pending.push(visitScope)), embedRenders && !embedAnchor && visit.parentNode && embedRenders.set(embedAnchor = visit.parentNode.insertBefore(new Text(), visit), [renderId, scopeLookup]);
609
- return branchesEnabled && visitBranches && (visitType = "*", lastToken = "", visitBranches()), visits.length = retained, effects;
610
- }, render.w = (_) => {
611
- walk(), runResumeEffects(render);
612
- }, render;
613
- }) });
614
- };
600
+ }
601
+ let retained = 0;
602
+ for (visit of visits = render.v) lastTokenIndex = render.i.length, visitText = visit.data, visitType = visitText[lastTokenIndex++], visitScope = getScope(nextToken()), dynamicHtmlEnabled && visitType > "%" && visitType <= "'" ? visitType === "&" ? htmlStart = visit : (visitScope[nextToken()] = htmlStart, visitScope["H" + lastToken] = visit, (branchesEnabled || lazyEnabled) && pending[pending.length - 1] !== visitScope && pending.push(visitScope)) : branchesEnabled && visitType > "'" ? (visitBranches ||= createVisitBranches())() : lazyEnabled && render.b && visitType > "%" ? visits[retained++] = visit : (visitScope[nextToken()] = visitType === "%" ? visit.parentNode.insertBefore(new Text(), visit) : visit.previousSibling, (branchesEnabled || lazyEnabled) && pending[pending.length - 1] !== visitScope && pending.push(visitScope)), embedRenders && !embedAnchor && visit.parentNode && embedRenders.set(embedAnchor = visit.parentNode.insertBefore(new Text(), visit), [renderId, scopeLookup]);
603
+ return branchesEnabled && visitBranches && (visitType = "*", lastToken = "", visitBranches()), visits.length = retained, effects;
604
+ }, render.w = (_) => {
605
+ walk(), runResumeEffects(render);
606
+ }, render;
607
+ }) });
615
608
  if (renders) {
616
609
  initRuntime(renders);
617
610
  for (let renderId in renders) runResumeEffects(curRenders(renderId));
@@ -639,7 +632,7 @@ function _el(id, accessor) {
639
632
  function _dynamic_tag_var_resume(accessor) {
640
633
  accessor = decodeAccessor(accessor), _resumed["-" + accessor] = (scope) => (_) => {
641
634
  let node = scope[accessor];
642
- return node.nodeType === 8 ? node.previousSibling : node;
635
+ return node.nodeType > 1 ? node.previousSibling : node;
643
636
  };
644
637
  }
645
638
  // src/dom/renderer.ts
@@ -661,11 +654,7 @@ function _return_setup(setup) {
661
654
  }
662
655
  function _content(id, template, walks, setup, params, dynamicScopesAccessor) {
663
656
  walks = walks ? walks.replace(/[^\0-1]+$/, "") : "", setup = setup ? setup._ || setup : void 0, params ||= void 0;
664
- let clone = template ? (branch, ns) => {
665
- ((cloneCache[ns] ||= {})[1 + template] ||= createCloneableHTML(template, ns))(branch, walks);
666
- } : (branch) => {
667
- walk(branch.S = branch.K = new Text(), walks, branch);
668
- };
657
+ let cloneables = {}, clone = template ? (branch, ns) => (cloneables[ns] ||= createCloneableHTML(template, walks, ns))(branch) : (branch) => walk(branch.S = branch.K = new Text(), walks, branch);
669
658
  return _resumed[id] = (owner) => ({
670
659
  a: id,
671
660
  b: clone,
@@ -697,11 +686,9 @@ function _content_closures(renderer, closureFns) {
697
686
  }, instance;
698
687
  };
699
688
  }
700
- function createCloneableHTML(html, ns) {
689
+ function createCloneableHTML(html, walks, ns) {
701
690
  let { firstChild, lastChild } = parseHTML(html, ns), parent = new DocumentFragment();
702
- return insertChildNodes(parent, null, firstChild, lastChild), firstChild === lastChild && firstChild.nodeType < 8 ? (branch, walks) => {
703
- walk(branch.S = branch.K = firstChild.cloneNode(!0), walks, branch);
704
- } : (branch, walks) => {
691
+ return insertChildNodes(parent, null, firstChild, lastChild), firstChild === lastChild && firstChild.nodeType < 8 ? (branch) => walk(branch.S = branch.K = firstChild.cloneNode(!0), walks, branch) : (branch) => {
705
692
  let clone = parent.cloneNode(!0);
706
693
  clone.namespaceURI = ns, walk(clone.firstChild, walks, branch), branch.S = clone.firstChild, branch.K = clone.lastChild;
707
694
  };
@@ -806,24 +793,20 @@ function attrsInternal(scope, nodeAccessor, nextAttrs, controllable) {
806
793
  }
807
794
  }
808
795
  function _attr_content(scope, nodeAccessor, value) {
809
- let content = normalizeClientRender(value);
810
- scope["D" + nodeAccessor] !== (scope["D" + nodeAccessor] = rendererKey(content)) && (setBranch(scope, nodeAccessor, content, createAndSetupBranch), content?.f && subscribeToScopeSet(content.e, content.f, scope["A" + nodeAccessor])), content?.g?.(scope["A" + nodeAccessor]);
796
+ let renderer = normalizeDynamicRenderer(value), content;
797
+ renderer && renderer.a && (content = renderer), scope["D" + nodeAccessor] !== (scope["D" + nodeAccessor] = rendererKey(content)) && (setBranch(scope, nodeAccessor, content, createAndSetupBranch), content?.f && subscribeToScopeSet(content.e, content.f, scope["A" + nodeAccessor])), content?.g?.(scope["A" + nodeAccessor]);
811
798
  }
812
799
  function _attrs_script(scope, nodeAccessor) {
813
800
  let el = scope[nodeAccessor], events = scope["I" + nodeAccessor];
814
801
  controllableScripts[scope["F" + nodeAccessor]]?.(scope, nodeAccessor);
815
802
  for (let name in events) _on(el, name, events[name]);
816
803
  }
817
- function normalizeClientRender(value) {
818
- let renderer = normalizeDynamicRenderer(value);
819
- if (renderer && renderer.a) return renderer;
820
- }
821
804
  function normalizeAttrValue(value) {
822
805
  if (isNotNullishOrFalse(value)) return value === !0 ? "" : value + "";
823
806
  }
824
807
  function _lifecycle(scope, thisObj, index = 0) {
825
808
  let accessor = "K" + index, instance = scope[accessor];
826
- instance ? (Object.assign(instance, thisObj), instance.onUpdate?.()) : (scope[accessor] = thisObj, Object.assign(thisObj, thisObj.onMount?.()), trackAbort(scope, accessor, (_) => thisObj.onDestroy?.()));
809
+ instance ? (Object.assign(instance, thisObj), instance.onUpdate?.()) : (scope[accessor] = thisObj, Object.assign(thisObj, thisObj.onMount?.()), onAbort(scope, accessor, (_) => thisObj.onDestroy?.()));
827
810
  }
828
811
  function removeChildNodes(startNode, endNode) {
829
812
  for (endNode = endNode.nextSibling; startNode !== endNode;) {
@@ -1059,7 +1042,7 @@ function _await_promise(nodeAccessor, params) {
1059
1042
  }
1060
1043
  if (!isPromise(promise)) return scope[tryAccessor] ? awaitPromise(scope, Promise.resolve(promise)) : resolveAwait(scope, scope[nodeAccessor], promise);
1061
1044
  let awaitCounter = tryBranch.O;
1062
- scope[tryAccessor] || (scope[tryAccessor] = tryBranch, trackAbort(scope, promiseAccessor, (_) => {
1045
+ scope[tryAccessor] || (scope[tryAccessor] = tryBranch, onAbort(scope, promiseAccessor, (_) => {
1063
1046
  scope[promiseAccessor] = 0, scope[tryAccessor] && queueAsyncRender(scope[tryAccessor], completeAwaitCounter, awaitCounter);
1064
1047
  }), awaitBranch && (awaitBranch.W ||= []), tryBranch === awaitBranch ? (awaitCounter?.i || (awaitCounter = createAwaitCounter(tryBranch, (_) => {
1065
1048
  if (tryBranch === scope[branchAccessor]) {
@@ -1400,6 +1383,11 @@ Object.defineProperty(exports, "$", {
1400
1383
  get: function() {
1401
1384
  return _attr_details_or_dialog_open_default;
1402
1385
  }
1386
+ }), Object.defineProperty(exports, "Sn", {
1387
+ enumerable: !0,
1388
+ get: function() {
1389
+ return withBranches;
1390
+ }
1403
1391
  }), Object.defineProperty(exports, "St", {
1404
1392
  enumerable: !0,
1405
1393
  get: function() {
@@ -1483,7 +1471,7 @@ Object.defineProperty(exports, "$", {
1483
1471
  }), Object.defineProperty(exports, "_n", {
1484
1472
  enumerable: !0,
1485
1473
  get: function() {
1486
- return _assert_class_toggles;
1474
+ return forUntil;
1487
1475
  }
1488
1476
  }), Object.defineProperty(exports, "_t", {
1489
1477
  enumerable: !0,
@@ -1498,7 +1486,7 @@ Object.defineProperty(exports, "$", {
1498
1486
  }), Object.defineProperty(exports, "an", {
1499
1487
  enumerable: !0,
1500
1488
  get: function() {
1501
- return prepareEffects;
1489
+ return installCatch;
1502
1490
  }
1503
1491
  }), Object.defineProperty(exports, "at", {
1504
1492
  enumerable: !0,
@@ -1513,7 +1501,7 @@ Object.defineProperty(exports, "$", {
1513
1501
  }), Object.defineProperty(exports, "bn", {
1514
1502
  enumerable: !0,
1515
1503
  get: function() {
1516
- return _call;
1504
+ return _hoist_read_error;
1517
1505
  }
1518
1506
  }), Object.defineProperty(exports, "bt", {
1519
1507
  enumerable: !0,
@@ -1528,7 +1516,7 @@ Object.defineProperty(exports, "$", {
1528
1516
  }), Object.defineProperty(exports, "cn", {
1529
1517
  enumerable: !0,
1530
1518
  get: function() {
1531
- return queueRender;
1519
+ return queueEffect;
1532
1520
  }
1533
1521
  }), Object.defineProperty(exports, "ct", {
1534
1522
  enumerable: !0,
@@ -1543,7 +1531,7 @@ Object.defineProperty(exports, "$", {
1543
1531
  }), Object.defineProperty(exports, "dn", {
1544
1532
  enumerable: !0,
1545
1533
  get: function() {
1546
- return runEffects;
1534
+ return run;
1547
1535
  }
1548
1536
  }), Object.defineProperty(exports, "dt", {
1549
1537
  enumerable: !0,
@@ -1568,7 +1556,7 @@ Object.defineProperty(exports, "$", {
1568
1556
  }), Object.defineProperty(exports, "fn", {
1569
1557
  enumerable: !0,
1570
1558
  get: function() {
1571
- return runId;
1559
+ return runEffects;
1572
1560
  }
1573
1561
  }), Object.defineProperty(exports, "ft", {
1574
1562
  enumerable: !0,
@@ -1583,7 +1571,7 @@ Object.defineProperty(exports, "$", {
1583
1571
  }), Object.defineProperty(exports, "gn", {
1584
1572
  enumerable: !0,
1585
1573
  get: function() {
1586
- return forUntil;
1574
+ return forTo;
1587
1575
  }
1588
1576
  }), Object.defineProperty(exports, "gt", {
1589
1577
  enumerable: !0,
@@ -1598,7 +1586,7 @@ Object.defineProperty(exports, "$", {
1598
1586
  }), Object.defineProperty(exports, "hn", {
1599
1587
  enumerable: !0,
1600
1588
  get: function() {
1601
- return forTo;
1589
+ return forOf;
1602
1590
  }
1603
1591
  }), Object.defineProperty(exports, "ht", {
1604
1592
  enumerable: !0,
@@ -1613,7 +1601,7 @@ Object.defineProperty(exports, "$", {
1613
1601
  }), Object.defineProperty(exports, "in", {
1614
1602
  enumerable: !0,
1615
1603
  get: function() {
1616
- return installCatch;
1604
+ return installBranchRenders;
1617
1605
  }
1618
1606
  }), Object.defineProperty(exports, "it", {
1619
1607
  enumerable: !0,
@@ -1648,7 +1636,7 @@ Object.defineProperty(exports, "$", {
1648
1636
  }), Object.defineProperty(exports, "ln", {
1649
1637
  enumerable: !0,
1650
1638
  get: function() {
1651
- return rendering;
1639
+ return queueRender;
1652
1640
  }
1653
1641
  }), Object.defineProperty(exports, "lt", {
1654
1642
  enumerable: !0,
@@ -1663,7 +1651,7 @@ Object.defineProperty(exports, "$", {
1663
1651
  }), Object.defineProperty(exports, "mn", {
1664
1652
  enumerable: !0,
1665
1653
  get: function() {
1666
- return forOf;
1654
+ return forIn;
1667
1655
  }
1668
1656
  }), Object.defineProperty(exports, "mt", {
1669
1657
  enumerable: !0,
@@ -1678,7 +1666,7 @@ Object.defineProperty(exports, "$", {
1678
1666
  }), Object.defineProperty(exports, "nn", {
1679
1667
  enumerable: !0,
1680
1668
  get: function() {
1681
- return createBranchRenders;
1669
+ return onAbort;
1682
1670
  }
1683
1671
  }), Object.defineProperty(exports, "nt", {
1684
1672
  enumerable: !0,
@@ -1693,7 +1681,7 @@ Object.defineProperty(exports, "$", {
1693
1681
  }), Object.defineProperty(exports, "on", {
1694
1682
  enumerable: !0,
1695
1683
  get: function() {
1696
- return queueAsyncRender;
1684
+ return prepareEffects;
1697
1685
  }
1698
1686
  }), Object.defineProperty(exports, "ot", {
1699
1687
  enumerable: !0,
@@ -1708,7 +1696,7 @@ Object.defineProperty(exports, "$", {
1708
1696
  }), Object.defineProperty(exports, "pn", {
1709
1697
  enumerable: !0,
1710
1698
  get: function() {
1711
- return forIn;
1699
+ return runId;
1712
1700
  }
1713
1701
  }), Object.defineProperty(exports, "pt", {
1714
1702
  enumerable: !0,
@@ -1733,7 +1721,7 @@ Object.defineProperty(exports, "$", {
1733
1721
  }), Object.defineProperty(exports, "rn", {
1734
1722
  enumerable: !0,
1735
1723
  get: function() {
1736
- return installBranchRenders;
1724
+ return createBranchRenders;
1737
1725
  }
1738
1726
  }), Object.defineProperty(exports, "rt", {
1739
1727
  enumerable: !0,
@@ -1748,7 +1736,7 @@ Object.defineProperty(exports, "$", {
1748
1736
  }), Object.defineProperty(exports, "sn", {
1749
1737
  enumerable: !0,
1750
1738
  get: function() {
1751
- return queueEffect;
1739
+ return queueAsyncRender;
1752
1740
  }
1753
1741
  }), Object.defineProperty(exports, "st", {
1754
1742
  enumerable: !0,
@@ -1778,7 +1766,7 @@ Object.defineProperty(exports, "$", {
1778
1766
  }), Object.defineProperty(exports, "un", {
1779
1767
  enumerable: !0,
1780
1768
  get: function() {
1781
- return run;
1769
+ return rendering;
1782
1770
  }
1783
1771
  }), Object.defineProperty(exports, "ut", {
1784
1772
  enumerable: !0,
@@ -1793,7 +1781,7 @@ Object.defineProperty(exports, "$", {
1793
1781
  }), Object.defineProperty(exports, "vn", {
1794
1782
  enumerable: !0,
1795
1783
  get: function() {
1796
- return _assert_hoist;
1784
+ return _assert_class_toggles;
1797
1785
  }
1798
1786
  }), Object.defineProperty(exports, "vt", {
1799
1787
  enumerable: !0,
@@ -1818,7 +1806,7 @@ Object.defineProperty(exports, "$", {
1818
1806
  }), Object.defineProperty(exports, "xn", {
1819
1807
  enumerable: !0,
1820
1808
  get: function() {
1821
- return withBranches;
1809
+ return _call;
1822
1810
  }
1823
1811
  }), Object.defineProperty(exports, "xt", {
1824
1812
  enumerable: !0,
@@ -1833,7 +1821,7 @@ Object.defineProperty(exports, "$", {
1833
1821
  }), Object.defineProperty(exports, "yn", {
1834
1822
  enumerable: !0,
1835
1823
  get: function() {
1836
- return _hoist_read_error;
1824
+ return _assert_hoist;
1837
1825
  }
1838
1826
  }), Object.defineProperty(exports, "yt", {
1839
1827
  enumerable: !0,