marko 6.4.10 → 6.4.12

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 (112) 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/attr-tag.d.ts +1 -0
  4. package/dist/common/errors.d.ts +2 -0
  5. package/dist/common/helpers.d.ts +3 -1
  6. package/dist/common/types.d.ts +4 -3
  7. package/dist/debug/dom/catch.feat.js +1 -1
  8. package/dist/debug/dom/catch.feat.mjs +1 -1
  9. package/dist/debug/dom/compat.feat.js +143 -0
  10. package/dist/debug/dom/compat.feat.mjs +141 -0
  11. package/dist/debug/dom/controllable-input.feat.js +1 -1
  12. package/dist/debug/dom/controllable-input.feat.mjs +1 -1
  13. package/dist/debug/dom/controllable-open.feat.js +1 -1
  14. package/dist/debug/dom/controllable-open.feat.mjs +1 -1
  15. package/dist/debug/dom/controllable-select.feat.js +1 -1
  16. package/dist/debug/dom/controllable-select.feat.mjs +1 -1
  17. package/dist/debug/dom/controllable-textarea.feat.js +1 -1
  18. package/dist/debug/dom/controllable-textarea.feat.mjs +1 -1
  19. package/dist/debug/dom/controllable.feat.js +1 -1
  20. package/dist/debug/dom/controllable.feat.mjs +1 -1
  21. package/dist/debug/dom/dynamic-tag-script.feat.js +1 -1
  22. package/dist/debug/dom/dynamic-tag-script.feat.mjs +1 -1
  23. package/dist/debug/dom/dynamic-tag-var.feat.js +1 -1
  24. package/dist/debug/dom/dynamic-tag-var.feat.mjs +1 -1
  25. package/dist/debug/dom/lazy.feat.js +1 -1
  26. package/dist/debug/dom/lazy.feat.mjs +1 -1
  27. package/dist/debug/dom/placeholder.feat.js +1 -1
  28. package/dist/debug/dom/placeholder.feat.mjs +1 -1
  29. package/dist/debug/{dom-DNB5yq3U.js → dom-CtXOr4Nm.js} +257 -230
  30. package/dist/debug/{dom-C1V5vpFs.mjs → dom-DaHYZpf2.mjs} +238 -229
  31. package/dist/debug/dom.js +8 -134
  32. package/dist/debug/dom.mjs +5 -126
  33. package/dist/debug/html/compat.feat.js +222 -0
  34. package/dist/debug/html/compat.feat.mjs +220 -0
  35. package/dist/debug/html-DMo6pc_h.mjs +3931 -0
  36. package/dist/debug/html-DfZjMkhx.js +4513 -0
  37. package/dist/debug/html.js +83 -4239
  38. package/dist/debug/html.mjs +1 -4152
  39. package/dist/dom/abort-signal.d.ts +1 -1
  40. package/dist/dom/catch.feat.js +3 -3
  41. package/dist/dom/catch.feat.mjs +1 -1
  42. package/dist/dom/{compat.d.ts → compat.feat.d.ts} +18 -9
  43. package/dist/dom/compat.feat.js +101 -0
  44. package/dist/dom/compat.feat.mjs +100 -0
  45. package/dist/dom/control-flow.d.ts +4 -5
  46. package/dist/dom/controllable-input.feat.js +2 -2
  47. package/dist/dom/controllable-input.feat.mjs +1 -1
  48. package/dist/dom/controllable-open.feat.js +2 -2
  49. package/dist/dom/controllable-open.feat.mjs +1 -1
  50. package/dist/dom/controllable-select.feat.js +2 -2
  51. package/dist/dom/controllable-select.feat.mjs +1 -1
  52. package/dist/dom/controllable-textarea.feat.js +2 -2
  53. package/dist/dom/controllable-textarea.feat.mjs +1 -1
  54. package/dist/dom/controllable.feat.js +2 -2
  55. package/dist/dom/controllable.feat.mjs +1 -1
  56. package/dist/dom/dom.d.ts +2 -1
  57. package/dist/dom/dynamic-tag-script.feat.js +2 -2
  58. package/dist/dom/dynamic-tag-script.feat.mjs +1 -1
  59. package/dist/dom/dynamic-tag-var.feat.js +1 -1
  60. package/dist/dom/dynamic-tag-var.feat.mjs +1 -1
  61. package/dist/dom/lazy.feat.js +1 -1
  62. package/dist/dom/lazy.feat.mjs +1 -1
  63. package/dist/dom/load.d.ts +3 -4
  64. package/dist/dom/placeholder.feat.js +3 -3
  65. package/dist/dom/placeholder.feat.mjs +1 -1
  66. package/dist/dom/queue.d.ts +1 -2
  67. package/dist/dom/resume.d.ts +3 -1
  68. package/dist/dom/signals.d.ts +5 -7
  69. package/dist/{dom-C2-Flitp.js → dom-BB-Te-3z.js} +222 -239
  70. package/dist/{dom-DsHYWMCR.mjs → dom-BO-0hzLZ.mjs} +124 -146
  71. package/dist/dom.d.ts +1 -2
  72. package/dist/dom.js +17 -95
  73. package/dist/dom.mjs +6 -79
  74. package/dist/html/assets.d.ts +3 -4
  75. package/dist/html/{compat.d.ts → compat.feat.d.ts} +5 -4
  76. package/dist/html/compat.feat.js +165 -0
  77. package/dist/html/compat.feat.mjs +164 -0
  78. package/dist/html/dynamic-tag.d.ts +1 -2
  79. package/dist/html/for.d.ts +0 -1
  80. package/dist/html/writer.d.ts +4 -3
  81. package/dist/html-DMDc0zKs.mjs +2404 -0
  82. package/dist/html-DrHsybFm.js +2880 -0
  83. package/dist/html.d.ts +1 -2
  84. package/dist/html.js +2 -2578
  85. package/dist/html.mjs +3 -2573
  86. package/dist/translator/index.d.ts +0 -1
  87. package/dist/translator/index.js +4889 -4733
  88. package/dist/translator/interop/out-global.d.ts +5 -0
  89. package/dist/translator/util/assert.d.ts +6 -0
  90. package/dist/translator/util/branch-tag.d.ts +1 -1
  91. package/dist/translator/util/entry-builder.d.ts +1 -1
  92. package/dist/translator/util/finalize-references.d.ts +2 -1
  93. package/dist/translator/util/for-selector.d.ts +1 -1
  94. package/dist/translator/util/known-tag.d.ts +10 -1
  95. package/dist/translator/util/optional.d.ts +0 -1
  96. package/dist/translator/util/reasons.d.ts +0 -1
  97. package/dist/translator/util/references.d.ts +12 -5
  98. package/dist/translator/util/runtime.d.ts +1 -0
  99. package/dist/translator/util/sections.d.ts +11 -2
  100. package/dist/translator/util/signals.d.ts +2 -1
  101. package/dist/translator/util/style-interpolation.d.ts +1 -1
  102. package/dist/translator/util/tag-facts.d.ts +2 -0
  103. package/dist/translator/util/tag-name-type.d.ts +1 -0
  104. package/dist/translator/util/translate-attrs.d.ts +1 -4
  105. package/dist/translator/util/visitors.d.ts +1 -1
  106. package/dist/translator/util/write-guard.d.ts +2 -0
  107. package/dist/translator/visitors/program/index.d.ts +2 -6
  108. package/dist/translator/visitors/referenced-identifier.d.ts +3 -1
  109. package/index.d.ts +2 -7
  110. package/package.json +4 -4
  111. package/dist/common/constants/keyed-scopes-prop.d.ts +0 -4
  112. 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 " : "\\\\", classAPIRenderer, 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));
@@ -70,12 +44,7 @@ let unsafeStyleAttrReg = /[\\;]/g, replaceUnsafeStyleAttr = (c) => c === ";" ? "
70
44
  nodeAccessor = decodeAccessor(nodeAccessor);
71
45
  let childScopeAccessor = "A" + nodeAccessor, rendererAccessor = "D" + nodeAccessor, createTagBranch = ($global, tagNameOrRenderer, scope, parentNode) => {
72
46
  let branch = createBranch($global, tagNameOrRenderer, scope, parentNode);
73
- if (typeof tagNameOrRenderer == "string" && (branch.a = branch.S = branch.K = document.createElementNS(tagNameOrRenderer === "svg" ? "http://www.w3.org/2000/svg" : tagNameOrRenderer === "math" ? "http://www.w3.org/1998/Math/MathML" : parentNode.namespaceURI, tagNameOrRenderer)), getTagVar && (branch.T = (value) => getTagVar()(scope, value), bindTagVar(scope, branch, scope[scopeOffsetAccessor], tagNameOrRenderer)), typeof tagNameOrRenderer != "string") setupBranch(tagNameOrRenderer, branch);
74
- else if (getContent) {
75
- let content = getContent(scope);
76
- setBranch(branch, "a", content, createAndSetupBranch), content.f && subscribeToScopeSet(content.e, content.f, branch.Aa);
77
- }
78
- return branch;
47
+ return typeof tagNameOrRenderer == "string" && (branch.a = branch.S = branch.K = document.createElementNS(tagNameOrRenderer === "svg" ? "http://www.w3.org/2000/svg" : tagNameOrRenderer === "math" ? "http://www.w3.org/1998/Math/MathML" : parentNode.namespaceURI, tagNameOrRenderer)), getTagVar && (branch.T = (value) => getTagVar()(scope, value), bindTagVar(scope, branch, scope[scopeOffsetAccessor], tagNameOrRenderer)), typeof tagNameOrRenderer == "string" ? getContent && _attr_content(branch, "a", getContent(scope)) : setupBranch(tagNameOrRenderer, branch), branch;
79
48
  };
80
49
  return (scope, newRenderer, getInput) => {
81
50
  let normalizedRenderer = normalizeDynamicRenderer(newRenderer);
@@ -113,7 +82,7 @@ let unsafeStyleAttrReg = /[\\;]/g, replaceUnsafeStyleAttr = (c) => c === ";" ? "
113
82
  let oldLen = oldScopes.length, parentNode = referenceNode.nodeType > 1 ? referenceNode.parentNode || oldScopes[0]?.S.parentNode : referenceNode, oldScopesByKey, hasPotentialMoves, start = 0;
114
83
  forEach(value, (key, args) => {
115
84
  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);
85
+ 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
86
  }), scope[scopesAccessor] = newScopes;
118
87
  let newLen = newScopes.length, hasSiblings = referenceNode !== parentNode, afterReference = null, oldEnd = oldLen - 1, newEnd = newLen - 1;
119
88
  if (hasSiblings && (oldLen ? (afterReference = oldScopes[oldEnd].K.nextSibling, newLen || parentNode.insertBefore(referenceNode, afterReference)) : newLen && (afterReference = referenceNode.nextSibling, referenceNode.remove())), !hasPotentialMoves) {
@@ -154,6 +123,15 @@ function escapeStyleValue(str) {
154
123
  for (let c of result) c === "(" ? closers = ")" + closers : c === "[" ? closers = "]" + closers : c === closers[0] && (closers = closers.slice(1));
155
124
  return result + closers;
156
125
  }
126
+ function toDelimitedString(val, delimiter, stringify) {
127
+ let str = "", sep = "", part;
128
+ if (val) {
129
+ if (typeof val != "object") str += val;
130
+ else if (Array.isArray(val)) for (let v of val) part = toDelimitedString(v, delimiter, stringify), part && (str += sep + part, sep = delimiter);
131
+ else for (let name in val) part = stringify(name, val[name]), part && (str += sep + part, sep = delimiter);
132
+ }
133
+ return str;
134
+ }
157
135
  function isEventHandler(name) {
158
136
  return /^on[A-Z-]/.test(name);
159
137
  }
@@ -166,10 +144,14 @@ function isNotNullishOrFalse(value) {
166
144
  function isPromise(value) {
167
145
  return value != null && typeof value.then == "function";
168
146
  }
147
+ function setClassAPIRenderer(render) {
148
+ classAPIRenderer = render;
149
+ }
169
150
  function normalizeDynamicRenderer(value) {
170
151
  if (value) {
171
152
  if (typeof value == "string") return value;
172
153
  let normalized = value.content || value.default || value;
154
+ if (classAPIRenderer) return classAPIRenderer(normalized);
173
155
  if ("a" in normalized) return normalized;
174
156
  }
175
157
  }
@@ -293,7 +275,7 @@ function $signal(scope, id) {
293
275
  return abortsEnabled = 1, trackCleanup(scope), ((scope.A ||= {})[id] ||= new AbortController()).signal;
294
276
  }
295
277
  /** Runs `abort` as a destroyed scope's `$signal` would fire, without creating one. */
296
- function trackAbort(scope, id, abort) {
278
+ function onAbort(scope, id, abort) {
297
279
  abortsEnabled = 1, trackCleanup(scope), (scope.A ||= {})[id] = { abort };
298
280
  }
299
281
  /** Enrols `scope` with its branch so destroying the branch cleans it up. */
@@ -359,11 +341,14 @@ function skipScope() {
359
341
  return nextScopeId++;
360
342
  }
361
343
  function destroyBranch(branch) {
362
- branch.N?.D?.delete(branch), destroyNestedScopes(branch);
344
+ branch.N?.D.delete(branch), destroyNestedScopes(branch);
363
345
  }
364
346
  function destroyScope(scope) {
365
347
  scope.H && (destroyNestedScopes(scope), cleanupScope(scope));
366
348
  }
349
+ function destroyNestedScopes(scope) {
350
+ scope.H = 0, scope.D?.forEach(destroyNestedScopes), scope.B?.forEach(cleanupScope);
351
+ }
367
352
  function cleanupScope(scope) {
368
353
  if (subscriptionsEnabled && scope.Z?.forEach(unsubscribe, scope), abortsEnabled) for (let id in scope.A) $signalReset(scope, id);
369
354
  }
@@ -406,34 +391,28 @@ function _const(valueAccessor, fn) {
406
391
  scope[valueAccessor] === value && valueAccessor in scope || (scope[valueAccessor] = value, fn?.(scope));
407
392
  });
408
393
  }
409
- function _or(id, fn, defaultPending = 1, scopeIdAccessor = "L") {
410
- return scopeIdAccessor !== "L" && (scopeIdAccessor = decodeAccessor(scopeIdAccessor)), (scope) => {
394
+ function _or(id, fn, defaultPending = 1, scopeIdAccessor) {
395
+ return scopeIdAccessor = scopeIdAccessor ? decodeAccessor(scopeIdAccessor) : "L", (scope) => {
411
396
  scope.H === runId ? ~id in scope ? --scope[~id] || fn(scope) : scope[~id] = defaultPending : queueRender(scope, fn, id, 0, scope[scopeIdAccessor]);
412
397
  };
413
398
  }
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
- };
399
+ function _for_closure(ownerLoopNodeAccessor, fn, id, scopeIdAccessor) {
400
+ ownerLoopNodeAccessor = decodeAccessor(ownerLoopNodeAccessor), scopeIdAccessor = scopeIdAccessor ? decodeAccessor(scopeIdAccessor) : "L";
401
+ let scopeAccessor = "A" + ownerLoopNodeAccessor, render = (ownerScope) => {
402
+ for (let scope of toArray(ownerScope[scopeAccessor])) scope.H < runId && fn(scope);
403
+ }, ownerSignal = (ownerScope) => queueRender(ownerScope, render, id, 0, ownerScope[scopeIdAccessor]);
422
404
  return ownerSignal._ = (scope) => queueRender(scope, fn, -1), ownerSignal;
423
405
  }
424
- function _for_selector(ownerLoopNodeAccessor, ownerValueAccessor, fn) {
406
+ function _for_selector(ownerLoopNodeAccessor, ownerValueAccessor, fn, getValueScope) {
425
407
  ownerLoopNodeAccessor = decodeAccessor(ownerLoopNodeAccessor), ownerValueAccessor = decodeAccessor(ownerValueAccessor);
426
- let scopeAccessor = "A" + ownerLoopNodeAccessor, mapAccessor = "O" + ownerLoopNodeAccessor, prevKeyProp = `_${ownerValueAccessor}`, ownerSignal = (ownerScope) => {
408
+ let scopeAccessor = "A" + ownerLoopNodeAccessor, mapAccessor = "O" + ownerLoopNodeAccessor, prevKey = Symbol(), ownerSignal = (ownerScope) => {
427
409
  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);
410
+ let nextKey = (getValueScope ? getValueScope(ownerScope) : ownerScope)[ownerValueAccessor], map = keyedScopes(ownerScope, scopeAccessor, mapAccessor);
411
+ if (map && prevKey in ownerScope) {
412
+ let prevScope = map.get(ownerScope[prevKey]), nextScope = map.get(nextKey);
413
+ prevScope !== nextScope && (queueLiveBranch(prevScope, fn), queueLiveBranch(nextScope, fn));
414
+ } else for (let scope of toArray(ownerScope[scopeAccessor])) queueLiveBranch(scope, fn);
415
+ ownerScope[prevKey] = nextKey;
437
416
  }
438
417
  };
439
418
  return ownerSignal._ = (scope) => queueRender(scope, fn, -1), ownerSignal;
@@ -447,8 +426,8 @@ function keyedScopes(ownerScope, scopeAccessor, mapAccessor) {
447
426
  }
448
427
  return map;
449
428
  }
450
- function runLiveBranch(scope, fn) {
451
- scope && scope.H > 0 && scope.H < runId && fn(scope);
429
+ function queueLiveBranch(scope, fn) {
430
+ scope?.H < runId && queueRender(scope, fn, -1);
452
431
  }
453
432
  function _if_closure(ownerConditionalNodeAccessor, branch, fn) {
454
433
  ownerConditionalNodeAccessor = decodeAccessor(ownerConditionalNodeAccessor);
@@ -496,9 +475,7 @@ function _id(scope, accessor) {
496
475
  return id;
497
476
  }
498
477
  function _script(id, fn) {
499
- return _resumed[id] = fn, (scope) => {
500
- queueEffect(scope, fn);
501
- };
478
+ return _resumed[id] = fn, (scope) => queueEffect(scope, fn);
502
479
  }
503
480
  function _global_read($global, key) {
504
481
  return $global[key];
@@ -529,6 +506,23 @@ function _hoist_resume(id, ...path) {
529
506
  function walk(startNode, walkCodes, branch) {
530
507
  currentNode = startNode, walkInternal(0, walkCodes, branch);
531
508
  }
509
+ function walkInternal(currentWalkIndex, walkCodes, scope) {
510
+ let value, currentMultiplier, storedMultiplier = 0, currentScopeIndex = 0;
511
+ for (; currentWalkIndex < walkCodes.length;) if (value = walkCodes.charCodeAt(currentWalkIndex++), currentMultiplier = storedMultiplier, storedMultiplier = 0, value === 32) scope[decodeAccessor(currentScopeIndex++)] = currentNode;
512
+ else if (value === 37 || value === 49) currentNode.replaceWith(currentNode = scope[decodeAccessor(currentScopeIndex++)] = new Text()), value === 49 && (scope[decodeAccessor(currentScopeIndex++)] = skipScope());
513
+ else if (value === 38) return currentWalkIndex;
514
+ else if (value === 47 || value === 48) currentWalkIndex = walkInternal(currentWalkIndex, walkCodes, scope[decodeAccessor(currentScopeIndex++)] = createScope(scope.$, scope.F)), value === 48 && (scope[decodeAccessor(currentScopeIndex++)] = skipScope());
515
+ else if (value < 92) for (value = 25 * currentMultiplier + value - 67; value--;) if (currentNode.firstChild) currentNode = currentNode.firstChild;
516
+ else {
517
+ for (; !currentNode.nextSibling && currentNode.parentNode;) currentNode = currentNode.parentNode;
518
+ walkNextSibling();
519
+ }
520
+ else if (value < 107) for (value = 10 * currentMultiplier + value - 97; value--;) walkNextSibling();
521
+ else if (value < 117) {
522
+ for (value = 10 * currentMultiplier + value - 107; value--;) currentNode = currentNode.parentNode || currentNode;
523
+ walkNextSibling();
524
+ } else storedMultiplier = currentMultiplier * 10 + value - 117;
525
+ }
532
526
  // src/dom/resume.ts
533
527
  function ready(readyId) {
534
528
  (readyIds ||= /* @__PURE__ */ new Set()).add(readyId);
@@ -551,67 +545,65 @@ function initEmbedded(readyId, runtimeId) {
551
545
  }
552
546
  function init(runtimeId = "M") {
553
547
  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++);
548
+ let renders = self[runtimeId], defineRuntime = (desc) => Object.defineProperty(self, runtimeId, desc), initRuntime = (renders) => defineRuntime({ value: curRenders = ((renderId) => {
549
+ 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] ||= {
550
+ runtimeId,
551
+ renderId
552
+ }, initScope = (scope) => (scope.H ??= 1, scope.$ = initGlobal(), branchesEnabled && scope.G && (scope.F = getScope(scope.G)), scope), applyScopes = (partials) => {
553
+ let scopeId = partials[0];
554
+ for (let i = 1; i < partials.length; i++) {
555
+ let partial = partials[i];
556
+ typeof partial == "number" ? scopeId += partial : (scopeId ? initScope(Object.assign(scopeLookup[scopeId] ||= (partial.L = scopeId, partial), partial)) : Object.assign(initGlobal(), partial), scopeId++);
557
+ }
558
+ }, 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) => {
559
+ if (visitType === "*") {
560
+ for (; reorderBranch && pending.length >= reorderDepth;) adopt(pending.pop(), reorderBranch);
561
+ (reorderBranch = +lastToken && visitScope) && (reorderDepth = pending.push(reorderBranch));
562
+ } else {
563
+ for (visitType !== "[" && (visitScope[nextToken()] = visitType === ")" || visitType === "}" ? parent : visit, accessor = "A" + (nodeAccessor = lastToken), singleNode = visitType !== "]" && visitType !== ")", nextToken()); branchId = +lastToken;) {
564
+ if ((endedBranches ||= []).push(branch = getScope(branchId)), setParentBranch(branch, branch.F), (branch.O = render.p?.[branchId]) && (branch.O.m = render.m), singleNode) {
565
+ for (; startVisit.previousSibling && (startVisit = startVisit.previousSibling).nodeType > 1;);
566
+ branch._ ??= visitScope, branch.K = branch.S = startVisit, visitType === "(" && (branch.a = startVisit);
567
+ } 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);
568
+ for (; pending.at(-1)?.L >= branchId;) adopt(pending.pop(), branch);
569
+ nextToken();
564
570
  }
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);
571
+ if (endedBranches) {
572
+ for (let ended of endedBranches) pending.push(ended);
573
+ singleNode && (visitScope[accessor] = endedBranches.length > 1 ? endedBranches.reverse() : endedBranches[0]);
583
574
  }
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
- }
575
+ visitType === "[" ? (endedBranches || (branchScopesStack.push(curBranchScopes), curBranchScopes = void 0), branchStarts.push(visit)) : pending.push(visitScope);
576
+ }
577
+ }, nextToken = (_) => lastToken = visitText.slice(lastTokenIndex, (lastTokenIndex = visitText.indexOf(" ", lastTokenIndex) + 1 || visitText.length + 1) - 1), processResumes = (resumes = [], effects) => {
578
+ let i = 0;
579
+ for (; i < resumes.length; i++) {
580
+ let serialized = resumes[i];
581
+ if (typeof serialized == "string") for (lastTokenIndex = 0, visitText = serialized; nextToken();) /\D/.test(lastToken) ? lastEffect = _resumed[lastToken] : effects.push(lastEffect, getScope(lastToken));
582
+ else if (readyIds && typeof serialized != "function") {
583
+ if (typeof serialized == "number" || !Object.keys(serialized).every((dep) => readyIds.has(dep) && (render.b[dep]?.n || 0) >= serialized[dep])) break;
584
+ } else {
585
+ readyIds && (resumes.n = (resumes.n || 0) + 1);
586
+ let scopes = serialized(serializeContext);
587
+ Array.isArray(scopes) && applyScopes(scopes);
596
588
  }
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
- }
589
+ }
590
+ return resumes.splice(0, i), i;
591
+ }, lastEffect, visits, visit, visitText, visitType, visitScope, lastToken, lastTokenIndex, visitBranches, htmlStart, embedAnchor;
592
+ return serializeContext._ = _resumed, render.m = (effects) => {
593
+ if (processResumes(render.r, effects), readyIds && render.b) for (let progress = 1; progress;) {
594
+ progress = 0;
595
+ for (let readyId of readyIds) {
596
+ let resumes = render.b[readyId];
597
+ resumes && processResumes(resumes, effects) && (progress = 1);
606
598
  }
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
- };
599
+ }
600
+ let retained = 0;
601
+ 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]);
602
+ return branchesEnabled && visitBranches && (visitType = "*", lastToken = "", visitBranches()), visits.length = retained, effects;
603
+ }, render.w = (_) => {
604
+ walk(), runResumeEffects(render);
605
+ }, render;
606
+ }) });
615
607
  if (renders) {
616
608
  initRuntime(renders);
617
609
  for (let renderId in renders) runResumeEffects(curRenders(renderId));
@@ -639,7 +631,7 @@ function _el(id, accessor) {
639
631
  function _dynamic_tag_var_resume(accessor) {
640
632
  accessor = decodeAccessor(accessor), _resumed["-" + accessor] = (scope) => (_) => {
641
633
  let node = scope[accessor];
642
- return node.nodeType === 8 ? node.previousSibling : node;
634
+ return node.nodeType > 1 ? node.previousSibling : node;
643
635
  };
644
636
  }
645
637
  // src/dom/renderer.ts
@@ -661,11 +653,7 @@ function _return_setup(setup) {
661
653
  }
662
654
  function _content(id, template, walks, setup, params, dynamicScopesAccessor) {
663
655
  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
- };
656
+ let cloneables = {}, clone = template ? (branch, ns) => (cloneables[ns] ||= createCloneableHTML(template, walks, ns))(branch) : (branch) => walk(branch.S = branch.K = new Text(), walks, branch);
669
657
  return _resumed[id] = (owner) => ({
670
658
  a: id,
671
659
  b: clone,
@@ -697,11 +685,9 @@ function _content_closures(renderer, closureFns) {
697
685
  }, instance;
698
686
  };
699
687
  }
700
- function createCloneableHTML(html, ns) {
688
+ function createCloneableHTML(html, walks, ns) {
701
689
  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) => {
690
+ return insertChildNodes(parent, null, firstChild, lastChild), firstChild === lastChild && firstChild.nodeType < 8 ? (branch) => walk(branch.S = branch.K = firstChild.cloneNode(!0), walks, branch) : (branch) => {
705
691
  let clone = parent.cloneNode(!0);
706
692
  clone.namespaceURI = ns, walk(clone.firstChild, walks, branch), branch.S = clone.firstChild, branch.K = clone.lastChild;
707
693
  };
@@ -805,25 +791,20 @@ function attrsInternal(scope, nodeAccessor, nextAttrs, controllable) {
805
791
  }
806
792
  }
807
793
  }
808
- 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]);
794
+ function _attr_content(scope, nodeAccessor, content) {
795
+ content = content?.content || content, classAPIRenderer && content && (content = classAPIRenderer(content)), 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
796
  }
812
797
  function _attrs_script(scope, nodeAccessor) {
813
798
  let el = scope[nodeAccessor], events = scope["I" + nodeAccessor];
814
799
  controllableScripts[scope["F" + nodeAccessor]]?.(scope, nodeAccessor);
815
800
  for (let name in events) _on(el, name, events[name]);
816
801
  }
817
- function normalizeClientRender(value) {
818
- let renderer = normalizeDynamicRenderer(value);
819
- if (renderer && renderer.a) return renderer;
820
- }
821
802
  function normalizeAttrValue(value) {
822
803
  if (isNotNullishOrFalse(value)) return value === !0 ? "" : value + "";
823
804
  }
824
805
  function _lifecycle(scope, thisObj, index = 0) {
825
806
  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?.()));
807
+ instance ? (Object.assign(instance, thisObj), instance.onUpdate?.()) : (scope[accessor] = thisObj, Object.assign(thisObj, thisObj.onMount?.()), onAbort(scope, accessor, (_) => thisObj.onDestroy?.()));
827
808
  }
828
809
  function removeChildNodes(startNode, endNode) {
829
810
  for (endNode = endNode.nextSibling; startNode !== endNode;) {
@@ -1059,7 +1040,7 @@ function _await_promise(nodeAccessor, params) {
1059
1040
  }
1060
1041
  if (!isPromise(promise)) return scope[tryAccessor] ? awaitPromise(scope, Promise.resolve(promise)) : resolveAwait(scope, scope[nodeAccessor], promise);
1061
1042
  let awaitCounter = tryBranch.O;
1062
- scope[tryAccessor] || (scope[tryAccessor] = tryBranch, trackAbort(scope, promiseAccessor, (_) => {
1043
+ scope[tryAccessor] || (scope[tryAccessor] = tryBranch, onAbort(scope, promiseAccessor, (_) => {
1063
1044
  scope[promiseAccessor] = 0, scope[tryAccessor] && queueAsyncRender(scope[tryAccessor], completeAwaitCounter, awaitCounter);
1064
1045
  }), awaitBranch && (awaitBranch.W ||= []), tryBranch === awaitBranch ? (awaitCounter?.i || (awaitCounter = createAwaitCounter(tryBranch, (_) => {
1065
1046
  if (tryBranch === scope[branchAccessor]) {
@@ -1173,9 +1154,6 @@ function findTryWithCatch(scope) {
1173
1154
  function rendererKey(renderer) {
1174
1155
  return renderer?.e ? renderer.a + " " + renderer.e.L : renderer?.a || renderer;
1175
1156
  }
1176
- function patchDynamicTag(fn) {
1177
- _dynamic_tag = fn(_dynamic_tag);
1178
- }
1179
1157
  function installDynamicTagVar(bind) {
1180
1158
  bindTagVar = bind;
1181
1159
  }
@@ -1208,277 +1186,282 @@ function byFirstArg(name) {
1208
1186
  Object.defineProperty(exports, "$", {
1209
1187
  enumerable: !0,
1210
1188
  get: function() {
1211
- return _attr_style_items;
1189
+ return _attrs;
1212
1190
  }
1213
1191
  }), Object.defineProperty(exports, "$t", {
1214
1192
  enumerable: !0,
1215
1193
  get: function() {
1216
- return _on;
1194
+ return $signal;
1217
1195
  }
1218
1196
  }), Object.defineProperty(exports, "A", {
1219
1197
  enumerable: !0,
1220
1198
  get: function() {
1221
- return _attr_input_value;
1199
+ return _attr_input_value_attribute_default;
1222
1200
  }
1223
1201
  }), Object.defineProperty(exports, "At", {
1224
1202
  enumerable: !0,
1225
1203
  get: function() {
1226
- return _closure_get;
1204
+ return _const;
1227
1205
  }
1228
1206
  }), Object.defineProperty(exports, "B", {
1229
1207
  enumerable: !0,
1230
1208
  get: function() {
1231
- return _controllable_select;
1209
+ return _controllable_textarea;
1232
1210
  }
1233
1211
  }), Object.defineProperty(exports, "Bt", {
1234
1212
  enumerable: !0,
1235
1213
  get: function() {
1236
- return _let;
1214
+ return _let_change;
1237
1215
  }
1238
1216
  }), Object.defineProperty(exports, "C", {
1239
1217
  enumerable: !0,
1240
1218
  get: function() {
1241
- return _attr_details_or_dialog_open_script;
1219
+ return _attr_input_checked;
1242
1220
  }
1243
1221
  }), Object.defineProperty(exports, "Ct", {
1244
1222
  enumerable: !0,
1245
1223
  get: function() {
1246
- return getRegisteredWithScope;
1224
+ return init;
1247
1225
  }
1248
1226
  }), Object.defineProperty(exports, "D", {
1249
1227
  enumerable: !0,
1250
1228
  get: function() {
1251
- return _attr_input_checkedValue_script;
1229
+ return _attr_input_checked_default;
1252
1230
  }
1253
1231
  }), Object.defineProperty(exports, "Dt", {
1254
1232
  enumerable: !0,
1255
1233
  get: function() {
1256
- return readyFailed;
1234
+ return withLazy;
1257
1235
  }
1258
1236
  }), Object.defineProperty(exports, "E", {
1259
1237
  enumerable: !0,
1260
1238
  get: function() {
1261
- return _attr_input_checkedValue_default;
1239
+ return _attr_input_checkedValue_script;
1262
1240
  }
1263
1241
  }), Object.defineProperty(exports, "Et", {
1264
1242
  enumerable: !0,
1265
1243
  get: function() {
1266
- return ready;
1244
+ return readyFailed;
1267
1245
  }
1268
1246
  }), Object.defineProperty(exports, "F", {
1269
1247
  enumerable: !0,
1270
1248
  get: function() {
1271
- return _attr_select_value;
1249
+ return _attr_select_value_default;
1272
1250
  }
1273
1251
  }), Object.defineProperty(exports, "Ft", {
1274
1252
  enumerable: !0,
1275
1253
  get: function() {
1276
- return _global_read;
1254
+ return _hoist;
1277
1255
  }
1278
1256
  }), Object.defineProperty(exports, "G", {
1279
1257
  enumerable: !0,
1280
1258
  get: function() {
1281
- return _attr_class;
1259
+ return _attr_class_item;
1282
1260
  }
1283
1261
  }), Object.defineProperty(exports, "Gt", {
1284
1262
  enumerable: !0,
1285
1263
  get: function() {
1286
- return _script;
1264
+ return _var;
1287
1265
  }
1288
1266
  }), Object.defineProperty(exports, "H", {
1289
1267
  enumerable: !0,
1290
1268
  get: function() {
1291
- return controllableScripts;
1269
+ return controllableSpreadHelpers;
1292
1270
  }
1293
1271
  }), Object.defineProperty(exports, "Ht", {
1294
1272
  enumerable: !0,
1295
1273
  get: function() {
1296
- return _or;
1274
+ return _return;
1297
1275
  }
1298
1276
  }), Object.defineProperty(exports, "I", {
1299
1277
  enumerable: !0,
1300
1278
  get: function() {
1301
- return _attr_select_value_default;
1279
+ return _attr_select_value_script;
1302
1280
  }
1303
1281
  }), Object.defineProperty(exports, "It", {
1304
1282
  enumerable: !0,
1305
1283
  get: function() {
1306
- return _hoist;
1284
+ return _hoist_resume;
1307
1285
  }
1308
1286
  }), Object.defineProperty(exports, "J", {
1309
1287
  enumerable: !0,
1310
1288
  get: function() {
1311
- return _attr_class_names;
1289
+ return _attr_content;
1312
1290
  }
1313
1291
  }), Object.defineProperty(exports, "Jt", {
1314
1292
  enumerable: !0,
1315
1293
  get: function() {
1316
- return _assert_init;
1294
+ return destroyBranch;
1317
1295
  }
1318
1296
  }), Object.defineProperty(exports, "K", {
1319
1297
  enumerable: !0,
1320
1298
  get: function() {
1321
- return _attr_class_item;
1299
+ return _attr_class_items;
1322
1300
  }
1323
1301
  }), Object.defineProperty(exports, "Kt", {
1324
1302
  enumerable: !0,
1325
1303
  get: function() {
1326
- return _var;
1304
+ return _var_change;
1327
1305
  }
1328
1306
  }), Object.defineProperty(exports, "L", {
1329
1307
  enumerable: !0,
1330
1308
  get: function() {
1331
- return _attr_select_value_script;
1309
+ return _controllable_input;
1332
1310
  }
1333
1311
  }), Object.defineProperty(exports, "Lt", {
1334
1312
  enumerable: !0,
1335
1313
  get: function() {
1336
- return _hoist_resume;
1314
+ return _id;
1337
1315
  }
1338
1316
  }), Object.defineProperty(exports, "M", {
1339
1317
  enumerable: !0,
1340
1318
  get: function() {
1341
- return _attr_input_value_default;
1319
+ return _attr_input_value_dynamic_default;
1342
1320
  }
1343
1321
  }), Object.defineProperty(exports, "Mt", {
1344
1322
  enumerable: !0,
1345
1323
  get: function() {
1346
- return _el_read;
1324
+ return _for_closure;
1347
1325
  }
1348
1326
  }), Object.defineProperty(exports, "N", {
1349
1327
  enumerable: !0,
1350
1328
  get: function() {
1351
- return _attr_input_value_dynamic_default;
1329
+ return _attr_input_value_script;
1352
1330
  }
1353
1331
  }), Object.defineProperty(exports, "Nt", {
1354
1332
  enumerable: !0,
1355
1333
  get: function() {
1356
- return _for_closure;
1334
+ return _for_selector;
1357
1335
  }
1358
1336
  }), Object.defineProperty(exports, "O", {
1359
1337
  enumerable: !0,
1360
1338
  get: function() {
1361
- return _attr_input_checked_default;
1339
+ return _attr_input_checked_script;
1362
1340
  }
1363
1341
  }), Object.defineProperty(exports, "Ot", {
1364
1342
  enumerable: !0,
1365
1343
  get: function() {
1366
- return withLazy;
1344
+ return _closure;
1367
1345
  }
1368
1346
  }), Object.defineProperty(exports, "P", {
1369
1347
  enumerable: !0,
1370
1348
  get: function() {
1371
- return _attr_input_value_script;
1349
+ return _attr_select_value;
1372
1350
  }
1373
1351
  }), Object.defineProperty(exports, "Pt", {
1374
1352
  enumerable: !0,
1375
1353
  get: function() {
1376
- return _for_selector;
1354
+ return _global_read;
1377
1355
  }
1378
1356
  }), Object.defineProperty(exports, "Q", {
1379
1357
  enumerable: !0,
1380
1358
  get: function() {
1381
- return _attr_style_item;
1359
+ return _attr_style_items;
1382
1360
  }
1383
1361
  }), Object.defineProperty(exports, "Qt", {
1384
1362
  enumerable: !0,
1385
1363
  get: function() {
1386
- return syncGen;
1364
+ return _on;
1387
1365
  }
1388
1366
  }), Object.defineProperty(exports, "R", {
1389
1367
  enumerable: !0,
1390
1368
  get: function() {
1391
- return _controllable_input;
1369
+ return _controllable_open;
1392
1370
  }
1393
1371
  }), Object.defineProperty(exports, "Rt", {
1394
1372
  enumerable: !0,
1395
1373
  get: function() {
1396
- return _id;
1374
+ return _if_closure;
1397
1375
  }
1398
1376
  }), Object.defineProperty(exports, "S", {
1399
1377
  enumerable: !0,
1400
1378
  get: function() {
1401
- return _attr_details_or_dialog_open_default;
1379
+ return _attr_details_or_dialog_open_script;
1380
+ }
1381
+ }), Object.defineProperty(exports, "Sn", {
1382
+ enumerable: !0,
1383
+ get: function() {
1384
+ return withBranches;
1402
1385
  }
1403
1386
  }), Object.defineProperty(exports, "St", {
1404
1387
  enumerable: !0,
1405
1388
  get: function() {
1406
- return _var_resume;
1389
+ return getRegisteredWithScope;
1407
1390
  }
1408
1391
  }), Object.defineProperty(exports, "T", {
1409
1392
  enumerable: !0,
1410
1393
  get: function() {
1411
- return _attr_input_checkedValue;
1394
+ return _attr_input_checkedValue_default;
1412
1395
  }
1413
1396
  }), Object.defineProperty(exports, "Tt", {
1414
1397
  enumerable: !0,
1415
1398
  get: function() {
1416
- return initEmbedded;
1399
+ return ready;
1417
1400
  }
1418
1401
  }), Object.defineProperty(exports, "U", {
1419
1402
  enumerable: !0,
1420
1403
  get: function() {
1421
- return controllableSpreadHelpers;
1404
+ return _attr;
1422
1405
  }
1423
1406
  }), Object.defineProperty(exports, "Ut", {
1424
1407
  enumerable: !0,
1425
1408
  get: function() {
1426
- return _return;
1409
+ return _return_change;
1427
1410
  }
1428
1411
  }), Object.defineProperty(exports, "V", {
1429
1412
  enumerable: !0,
1430
1413
  get: function() {
1431
- return _controllable_textarea;
1414
+ return controllableScripts;
1432
1415
  }
1433
1416
  }), Object.defineProperty(exports, "Vt", {
1434
1417
  enumerable: !0,
1435
1418
  get: function() {
1436
- return _let_change;
1419
+ return _or;
1437
1420
  }
1438
1421
  }), Object.defineProperty(exports, "W", {
1439
1422
  enumerable: !0,
1440
1423
  get: function() {
1441
- return _attr;
1424
+ return _attr_class;
1442
1425
  }
1443
1426
  }), Object.defineProperty(exports, "Wt", {
1444
1427
  enumerable: !0,
1445
1428
  get: function() {
1446
- return _return_change;
1429
+ return _script;
1447
1430
  }
1448
1431
  }), Object.defineProperty(exports, "X", {
1449
1432
  enumerable: !0,
1450
1433
  get: function() {
1451
- return _attr_nonce;
1434
+ return _attr_style;
1452
1435
  }
1453
1436
  }), Object.defineProperty(exports, "Xt", {
1454
1437
  enumerable: !0,
1455
1438
  get: function() {
1456
- return insertBranchBefore;
1439
+ return removeAndDestroyBranch;
1457
1440
  }
1458
1441
  }), Object.defineProperty(exports, "Y", {
1459
1442
  enumerable: !0,
1460
1443
  get: function() {
1461
- return _attr_content;
1444
+ return _attr_nonce;
1462
1445
  }
1463
1446
  }), Object.defineProperty(exports, "Yt", {
1464
1447
  enumerable: !0,
1465
1448
  get: function() {
1466
- return destroyBranch;
1449
+ return insertBranchBefore;
1467
1450
  }
1468
1451
  }), Object.defineProperty(exports, "Z", {
1469
1452
  enumerable: !0,
1470
1453
  get: function() {
1471
- return _attr_style;
1454
+ return _attr_style_item;
1472
1455
  }
1473
1456
  }), Object.defineProperty(exports, "Zt", {
1474
1457
  enumerable: !0,
1475
1458
  get: function() {
1476
- return removeAndDestroyBranch;
1459
+ return syncGen;
1477
1460
  }
1478
1461
  }), Object.defineProperty(exports, "_", {
1479
1462
  enumerable: !0,
1480
1463
  get: function() {
1481
- return patchDynamicTag;
1464
+ return renderCatch;
1482
1465
  }
1483
1466
  }), Object.defineProperty(exports, "_n", {
1484
1467
  enumerable: !0,
@@ -1488,7 +1471,7 @@ Object.defineProperty(exports, "$", {
1488
1471
  }), Object.defineProperty(exports, "_t", {
1489
1472
  enumerable: !0,
1490
1473
  get: function() {
1491
- return createBranch;
1474
+ return setupBranch;
1492
1475
  }
1493
1476
  }), Object.defineProperty(exports, "a", {
1494
1477
  enumerable: !0,
@@ -1503,12 +1486,12 @@ Object.defineProperty(exports, "$", {
1503
1486
  }), Object.defineProperty(exports, "at", {
1504
1487
  enumerable: !0,
1505
1488
  get: function() {
1506
- return _html;
1489
+ return _lifecycle;
1507
1490
  }
1508
1491
  }), Object.defineProperty(exports, "b", {
1509
1492
  enumerable: !0,
1510
1493
  get: function() {
1511
- return startAwait;
1494
+ return _attr_details_or_dialog_open;
1512
1495
  }
1513
1496
  }), Object.defineProperty(exports, "bn", {
1514
1497
  enumerable: !0,
@@ -1518,7 +1501,7 @@ Object.defineProperty(exports, "$", {
1518
1501
  }), Object.defineProperty(exports, "bt", {
1519
1502
  enumerable: !0,
1520
1503
  get: function() {
1521
- return _el;
1504
+ return _resumed;
1522
1505
  }
1523
1506
  }), Object.defineProperty(exports, "c", {
1524
1507
  enumerable: !0,
@@ -1533,7 +1516,7 @@ Object.defineProperty(exports, "$", {
1533
1516
  }), Object.defineProperty(exports, "ct", {
1534
1517
  enumerable: !0,
1535
1518
  get: function() {
1536
- return _style_shell;
1519
+ return _text;
1537
1520
  }
1538
1521
  }), Object.defineProperty(exports, "d", {
1539
1522
  enumerable: !0,
@@ -1548,17 +1531,17 @@ Object.defineProperty(exports, "$", {
1548
1531
  }), Object.defineProperty(exports, "dt", {
1549
1532
  enumerable: !0,
1550
1533
  get: function() {
1551
- return _to_text;
1534
+ return _content;
1552
1535
  }
1553
1536
  }), Object.defineProperty(exports, "en", {
1554
1537
  enumerable: !0,
1555
1538
  get: function() {
1556
- return $signal;
1539
+ return $signalReset;
1557
1540
  }
1558
1541
  }), Object.defineProperty(exports, "et", {
1559
1542
  enumerable: !0,
1560
1543
  get: function() {
1561
- return _attrs;
1544
+ return _attrs_content;
1562
1545
  }
1563
1546
  }), Object.defineProperty(exports, "f", {
1564
1547
  enumerable: !0,
@@ -1573,7 +1556,7 @@ Object.defineProperty(exports, "$", {
1573
1556
  }), Object.defineProperty(exports, "ft", {
1574
1557
  enumerable: !0,
1575
1558
  get: function() {
1576
- return _content;
1559
+ return _content_closures;
1577
1560
  }
1578
1561
  }), Object.defineProperty(exports, "g", {
1579
1562
  enumerable: !0,
@@ -1588,7 +1571,7 @@ Object.defineProperty(exports, "$", {
1588
1571
  }), Object.defineProperty(exports, "gt", {
1589
1572
  enumerable: !0,
1590
1573
  get: function() {
1591
- return createAndSetupBranch;
1574
+ return createBranch;
1592
1575
  }
1593
1576
  }), Object.defineProperty(exports, "h", {
1594
1577
  enumerable: !0,
@@ -1603,7 +1586,7 @@ Object.defineProperty(exports, "$", {
1603
1586
  }), Object.defineProperty(exports, "ht", {
1604
1587
  enumerable: !0,
1605
1588
  get: function() {
1606
- return _return_setup;
1589
+ return createAndSetupBranch;
1607
1590
  }
1608
1591
  }), Object.defineProperty(exports, "i", {
1609
1592
  enumerable: !0,
@@ -1618,27 +1601,27 @@ Object.defineProperty(exports, "$", {
1618
1601
  }), Object.defineProperty(exports, "it", {
1619
1602
  enumerable: !0,
1620
1603
  get: function() {
1621
- return _attrs_script;
1604
+ return _html;
1622
1605
  }
1623
1606
  }), Object.defineProperty(exports, "j", {
1624
1607
  enumerable: !0,
1625
1608
  get: function() {
1626
- return _attr_input_value_attribute_default;
1609
+ return _attr_input_value_default;
1627
1610
  }
1628
1611
  }), Object.defineProperty(exports, "jt", {
1629
1612
  enumerable: !0,
1630
1613
  get: function() {
1631
- return _const;
1614
+ return _el_read;
1632
1615
  }
1633
1616
  }), Object.defineProperty(exports, "k", {
1634
1617
  enumerable: !0,
1635
1618
  get: function() {
1636
- return _attr_input_checked_script;
1619
+ return _attr_input_value;
1637
1620
  }
1638
1621
  }), Object.defineProperty(exports, "kt", {
1639
1622
  enumerable: !0,
1640
1623
  get: function() {
1641
- return _closure;
1624
+ return _closure_get;
1642
1625
  }
1643
1626
  }), Object.defineProperty(exports, "l", {
1644
1627
  enumerable: !0,
@@ -1653,7 +1636,7 @@ Object.defineProperty(exports, "$", {
1653
1636
  }), Object.defineProperty(exports, "lt", {
1654
1637
  enumerable: !0,
1655
1638
  get: function() {
1656
- return _text;
1639
+ return _text_content;
1657
1640
  }
1658
1641
  }), Object.defineProperty(exports, "m", {
1659
1642
  enumerable: !0,
@@ -1668,7 +1651,7 @@ Object.defineProperty(exports, "$", {
1668
1651
  }), Object.defineProperty(exports, "mt", {
1669
1652
  enumerable: !0,
1670
1653
  get: function() {
1671
- return _content_resume;
1654
+ return _return_setup;
1672
1655
  }
1673
1656
  }), Object.defineProperty(exports, "n", {
1674
1657
  enumerable: !0,
@@ -1683,7 +1666,7 @@ Object.defineProperty(exports, "$", {
1683
1666
  }), Object.defineProperty(exports, "nt", {
1684
1667
  enumerable: !0,
1685
1668
  get: function() {
1686
- return _attrs_partial;
1669
+ return _attrs_partial_content;
1687
1670
  }
1688
1671
  }), Object.defineProperty(exports, "o", {
1689
1672
  enumerable: !0,
@@ -1698,7 +1681,7 @@ Object.defineProperty(exports, "$", {
1698
1681
  }), Object.defineProperty(exports, "ot", {
1699
1682
  enumerable: !0,
1700
1683
  get: function() {
1701
- return _lifecycle;
1684
+ return _style_rule_item;
1702
1685
  }
1703
1686
  }), Object.defineProperty(exports, "p", {
1704
1687
  enumerable: !0,
@@ -1713,17 +1696,17 @@ Object.defineProperty(exports, "$", {
1713
1696
  }), Object.defineProperty(exports, "pt", {
1714
1697
  enumerable: !0,
1715
1698
  get: function() {
1716
- return _content_closures;
1699
+ return _content_resume;
1717
1700
  }
1718
1701
  }), Object.defineProperty(exports, "q", {
1719
1702
  enumerable: !0,
1720
1703
  get: function() {
1721
- return _attr_class_items;
1704
+ return _attr_class_names;
1722
1705
  }
1723
1706
  }), Object.defineProperty(exports, "qt", {
1724
1707
  enumerable: !0,
1725
1708
  get: function() {
1726
- return _var_change;
1709
+ return _assert_init;
1727
1710
  }
1728
1711
  }), Object.defineProperty(exports, "r", {
1729
1712
  enumerable: !0,
@@ -1738,7 +1721,7 @@ Object.defineProperty(exports, "$", {
1738
1721
  }), Object.defineProperty(exports, "rt", {
1739
1722
  enumerable: !0,
1740
1723
  get: function() {
1741
- return _attrs_partial_content;
1724
+ return _attrs_script;
1742
1725
  }
1743
1726
  }), Object.defineProperty(exports, "s", {
1744
1727
  enumerable: !0,
@@ -1753,7 +1736,7 @@ Object.defineProperty(exports, "$", {
1753
1736
  }), Object.defineProperty(exports, "st", {
1754
1737
  enumerable: !0,
1755
1738
  get: function() {
1756
- return _style_rule_item;
1739
+ return _style_shell;
1757
1740
  }
1758
1741
  }), Object.defineProperty(exports, "t", {
1759
1742
  enumerable: !0,
@@ -1763,12 +1746,12 @@ Object.defineProperty(exports, "$", {
1763
1746
  }), Object.defineProperty(exports, "tn", {
1764
1747
  enumerable: !0,
1765
1748
  get: function() {
1766
- return $signalReset;
1749
+ return onAbort;
1767
1750
  }
1768
1751
  }), Object.defineProperty(exports, "tt", {
1769
1752
  enumerable: !0,
1770
1753
  get: function() {
1771
- return _attrs_content;
1754
+ return _attrs_partial;
1772
1755
  }
1773
1756
  }), Object.defineProperty(exports, "u", {
1774
1757
  enumerable: !0,
@@ -1783,12 +1766,12 @@ Object.defineProperty(exports, "$", {
1783
1766
  }), Object.defineProperty(exports, "ut", {
1784
1767
  enumerable: !0,
1785
1768
  get: function() {
1786
- return _text_content;
1769
+ return _to_text;
1787
1770
  }
1788
1771
  }), Object.defineProperty(exports, "v", {
1789
1772
  enumerable: !0,
1790
1773
  get: function() {
1791
- return renderCatch;
1774
+ return runPendingEffects;
1792
1775
  }
1793
1776
  }), Object.defineProperty(exports, "vn", {
1794
1777
  enumerable: !0,
@@ -1798,37 +1781,37 @@ Object.defineProperty(exports, "$", {
1798
1781
  }), Object.defineProperty(exports, "vt", {
1799
1782
  enumerable: !0,
1800
1783
  get: function() {
1801
- return setupBranch;
1784
+ return _dynamic_tag_var_resume;
1802
1785
  }
1803
1786
  }), Object.defineProperty(exports, "w", {
1804
1787
  enumerable: !0,
1805
1788
  get: function() {
1806
- return _attr_input_checked;
1789
+ return _attr_input_checkedValue;
1807
1790
  }
1808
1791
  }), Object.defineProperty(exports, "wt", {
1809
1792
  enumerable: !0,
1810
1793
  get: function() {
1811
- return init;
1794
+ return initEmbedded;
1812
1795
  }
1813
1796
  }), Object.defineProperty(exports, "x", {
1814
1797
  enumerable: !0,
1815
1798
  get: function() {
1816
- return _attr_details_or_dialog_open;
1799
+ return _attr_details_or_dialog_open_default;
1817
1800
  }
1818
1801
  }), Object.defineProperty(exports, "xn", {
1819
1802
  enumerable: !0,
1820
1803
  get: function() {
1821
- return withBranches;
1804
+ return setClassAPIRenderer;
1822
1805
  }
1823
1806
  }), Object.defineProperty(exports, "xt", {
1824
1807
  enumerable: !0,
1825
1808
  get: function() {
1826
- return _resumed;
1809
+ return _var_resume;
1827
1810
  }
1828
1811
  }), Object.defineProperty(exports, "y", {
1829
1812
  enumerable: !0,
1830
1813
  get: function() {
1831
- return runPendingEffects;
1814
+ return startAwait;
1832
1815
  }
1833
1816
  }), Object.defineProperty(exports, "yn", {
1834
1817
  enumerable: !0,
@@ -1838,16 +1821,16 @@ Object.defineProperty(exports, "$", {
1838
1821
  }), Object.defineProperty(exports, "yt", {
1839
1822
  enumerable: !0,
1840
1823
  get: function() {
1841
- return _dynamic_tag_var_resume;
1824
+ return _el;
1842
1825
  }
1843
1826
  }), Object.defineProperty(exports, "z", {
1844
1827
  enumerable: !0,
1845
1828
  get: function() {
1846
- return _controllable_open;
1829
+ return _controllable_select;
1847
1830
  }
1848
1831
  }), Object.defineProperty(exports, "zt", {
1849
1832
  enumerable: !0,
1850
1833
  get: function() {
1851
- return _if_closure;
1834
+ return _let;
1852
1835
  }
1853
1836
  });