marko 6.4.9 → 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 (90) hide show
  1. package/cheatsheet.md +1 -1
  2. package/dist/common/accessor.d.ts +0 -3
  3. package/dist/common/accessor.debug.d.ts +0 -3
  4. package/dist/common/helpers.d.ts +1 -1
  5. package/dist/common/types.d.ts +4 -3
  6. package/dist/debug/dom/catch.feat.js +2 -3
  7. package/dist/debug/dom/catch.feat.mjs +2 -3
  8. package/dist/debug/dom/controllable-input.feat.js +2 -3
  9. package/dist/debug/dom/controllable-input.feat.mjs +2 -3
  10. package/dist/debug/dom/controllable-open.feat.js +2 -3
  11. package/dist/debug/dom/controllable-open.feat.mjs +2 -3
  12. package/dist/debug/dom/controllable-select.feat.js +2 -3
  13. package/dist/debug/dom/controllable-select.feat.mjs +2 -3
  14. package/dist/debug/dom/controllable-textarea.feat.js +2 -3
  15. package/dist/debug/dom/controllable-textarea.feat.mjs +2 -3
  16. package/dist/debug/dom/controllable.feat.js +2 -3
  17. package/dist/debug/dom/controllable.feat.mjs +2 -3
  18. package/dist/debug/dom/dynamic-tag-script.feat.js +2 -3
  19. package/dist/debug/dom/dynamic-tag-script.feat.mjs +2 -3
  20. package/dist/debug/dom/dynamic-tag-var.feat.js +2 -3
  21. package/dist/debug/dom/dynamic-tag-var.feat.mjs +2 -3
  22. package/dist/debug/dom/lazy.feat.js +2 -3
  23. package/dist/debug/dom/lazy.feat.mjs +2 -3
  24. package/dist/debug/dom/placeholder.feat.js +2 -3
  25. package/dist/debug/dom/placeholder.feat.mjs +2 -3
  26. package/dist/debug/{dom-VKjkbuuo.mjs → dom-DjUZd-9y.mjs} +221 -261
  27. package/dist/debug/{dom-QkYva5Qx.js → dom-mQ5mPBTF.js} +226 -260
  28. package/dist/debug/dom.js +10 -18
  29. package/dist/debug/dom.mjs +10 -19
  30. package/dist/debug/html.js +87 -125
  31. package/dist/debug/html.mjs +87 -125
  32. package/dist/dom/abort-signal.d.ts +1 -1
  33. package/dist/dom/catch.feat.js +4 -5
  34. package/dist/dom/catch.feat.mjs +2 -3
  35. package/dist/dom/control-flow.d.ts +4 -4
  36. package/dist/dom/controllable-input.feat.js +1 -2
  37. package/dist/dom/controllable-input.feat.mjs +1 -2
  38. package/dist/dom/controllable-open.feat.js +2 -3
  39. package/dist/dom/controllable-open.feat.mjs +2 -3
  40. package/dist/dom/controllable-select.feat.js +2 -3
  41. package/dist/dom/controllable-select.feat.mjs +2 -3
  42. package/dist/dom/controllable-textarea.feat.js +2 -3
  43. package/dist/dom/controllable-textarea.feat.mjs +2 -3
  44. package/dist/dom/controllable.feat.js +1 -2
  45. package/dist/dom/controllable.feat.mjs +1 -2
  46. package/dist/dom/dynamic-tag-script.feat.js +3 -4
  47. package/dist/dom/dynamic-tag-script.feat.mjs +2 -3
  48. package/dist/dom/dynamic-tag-var.feat.js +3 -4
  49. package/dist/dom/dynamic-tag-var.feat.mjs +1 -2
  50. package/dist/dom/lazy.feat.js +2 -3
  51. package/dist/dom/lazy.feat.mjs +2 -3
  52. package/dist/dom/load.d.ts +3 -4
  53. package/dist/dom/placeholder.feat.js +2 -3
  54. package/dist/dom/placeholder.feat.mjs +2 -3
  55. package/dist/dom/queue.d.ts +1 -2
  56. package/dist/dom/signals.d.ts +5 -7
  57. package/dist/{dom-IujlfJ6b.js → dom-B8j2453O.js} +158 -190
  58. package/dist/{dom-DtKQb840.mjs → dom-HEWdZCCb.mjs} +134 -172
  59. package/dist/dom.d.ts +1 -1
  60. package/dist/dom.js +22 -30
  61. package/dist/dom.mjs +10 -19
  62. package/dist/html/assets.d.ts +3 -4
  63. package/dist/html/for.d.ts +0 -1
  64. package/dist/html/writer.d.ts +2 -2
  65. package/dist/html.d.ts +1 -1
  66. package/dist/html.js +99 -131
  67. package/dist/html.mjs +99 -132
  68. package/dist/translator/index.d.ts +0 -1
  69. package/dist/translator/index.js +4771 -4760
  70. package/dist/translator/interop/out-global.d.ts +5 -0
  71. package/dist/translator/util/assert.d.ts +13 -2
  72. package/dist/translator/util/entry-builder.d.ts +1 -1
  73. package/dist/translator/util/finalize-references.d.ts +2 -1
  74. package/dist/translator/util/for-selector.d.ts +1 -1
  75. package/dist/translator/util/known-tag.d.ts +10 -1
  76. package/dist/translator/util/references.d.ts +11 -5
  77. package/dist/translator/util/runtime.d.ts +1 -0
  78. package/dist/translator/util/sections.d.ts +6 -1
  79. package/dist/translator/util/signals.d.ts +2 -1
  80. package/dist/translator/util/sources.d.ts +1 -1
  81. package/dist/translator/util/style-interpolation.d.ts +1 -1
  82. package/dist/translator/util/tag-name-type.d.ts +4 -0
  83. package/dist/translator/util/visitors.d.ts +1 -1
  84. package/dist/translator/util/write-guard.d.ts +2 -0
  85. package/dist/translator/visitors/program/index.d.ts +0 -4
  86. package/dist/translator/visitors/referenced-identifier.d.ts +3 -1
  87. package/package.json +6 -6
  88. package/tags/lifecycle.d.marko +2 -0
  89. package/dist/common/constants/keyed-scopes-prop.d.ts +0 -4
  90. package/dist/common/constants/keyed-scopes-prop.debug.d.ts +0 -4
@@ -1,4 +1,4 @@
1
- //#region src/common/attr-tag.ts
1
+ // src/common/attr-tag.ts
2
2
  const empty = [];
3
3
  const rest = Symbol("Attribute Tag");
4
4
  function attrTag(attrs) {
@@ -18,8 +18,7 @@ function* attrTagIterator() {
18
18
  yield this;
19
19
  yield* this[rest];
20
20
  }
21
- //#endregion
22
- //#region src/common/constants/accessor-prefix.debug.ts
21
+ // src/common/constants/accessor-prefix.debug.ts
23
22
  const BranchScopes = "BranchScopes:";
24
23
  const ConditionalRenderer = "ConditionalRenderer:";
25
24
  const ControlledHandler = "ControlledHandler:";
@@ -36,8 +35,7 @@ const TagVariable = "#TagVariable";
36
35
  const Owner = "owner";
37
36
  const Embed = "embed";
38
37
  const Lazy = "lazy";
39
- //#endregion
40
- //#region src/common/helpers.ts
38
+ // src/common/helpers.ts
41
39
  const invalidNativeAttrNameReg = /^[^a-z_]|[^a-z0-9._:-]/i;
42
40
  const knownWrongAttrs = {
43
41
  className: "class",
@@ -101,7 +99,7 @@ function escapeStyleValue(str) {
101
99
  else if (c === closers[0]) closers = closers.slice(1);
102
100
  return result + closers;
103
101
  }
104
- const toDelimitedString = function toDelimitedString(val, delimiter, stringify) {
102
+ function toDelimitedString(val, delimiter, stringify) {
105
103
  let str = "";
106
104
  let sep = "";
107
105
  let part;
@@ -123,7 +121,7 @@ const toDelimitedString = function toDelimitedString(val, delimiter, stringify)
123
121
  }
124
122
  }
125
123
  return str;
126
- };
124
+ }
127
125
  function isEventHandler(name) {
128
126
  return /^on[A-Z-]/.test(name);
129
127
  }
@@ -154,8 +152,7 @@ function normalizeDynamicRenderer(value) {
154
152
  if ("id" in normalized) return normalized;
155
153
  }
156
154
  }
157
- //#endregion
158
- //#region src/common/errors.ts
155
+ // src/common/errors.ts
159
156
  const lowercaseOnAttrReg = /^on[a-z]/;
160
157
  function assertValidAttrValue(name, value) {
161
158
  if (value && typeof value !== "string" && lowercaseOnAttrReg.test(name)) throw new Error(`The \`${name}\` attribute must be a string or a falsey value (\`null\`, \`undefined\`, \`false\`, \`0\`, …), but received type "${typeof value}". To attach an event listener, use the \`on${name[2].toUpperCase()}${name.slice(3)}\` event handler instead.`);
@@ -273,13 +270,14 @@ function joinWithAnd(a) {
273
270
  default: return `${a.slice(0, -1).join(", ")}, and ${a[a.length - 1]}`;
274
271
  }
275
272
  }
276
- //#endregion
277
- //#region src/common/meta.ts
273
+ // src/common/meta.ts
278
274
  const DYNAMIC_TAG_SCRIPT_REGISTER_ID = "_dynamicTagScript";
279
275
  const DYNAMIC_TAG_VAR_REGISTER_ID = "_dynamicTagVar";
280
276
  const PLACEHOLDER_DISMISS_REGISTER_ID = "_placeholderDismiss";
281
- //#endregion
282
- //#region src/common/opt.ts
277
+ // src/common/opt.ts
278
+ function toArray(opt) {
279
+ return opt ? Array.isArray(opt) ? opt : [opt] : [];
280
+ }
283
281
  function reduce(opt, cb, acc) {
284
282
  if (opt) {
285
283
  if (Array.isArray(opt)) for (const item of opt) acc = cb(acc, item);
@@ -300,8 +298,7 @@ function concat(opt, other) {
300
298
  }
301
299
  return Array.isArray(other) ? [opt, ...other] : [opt, other];
302
300
  }
303
- //#endregion
304
- //#region src/html/serializer.ts
301
+ // src/html/serializer.ts
305
302
  const K_SCOPE_ID = Symbol("Scope ID");
306
303
  const kTouchedIterator = /* @__PURE__ */ Symbol.for("marko.touchedIterator");
307
304
  const { hasOwnProperty } = {};
@@ -708,7 +705,7 @@ function writeScopesRoot(state, flushes) {
708
705
  } else buf.pop();
709
706
  }
710
707
  let extras = "";
711
- if (state.deferredRefs.size || hasChannelCalls(state)) extras = state.writeTrailing(scopesIndex);
708
+ if (state.deferredRefs.size || hasMatchingCalls(state, state.channel?.readyId)) extras = state.writeTrailing(scopesIndex);
712
709
  let result = extras && "(";
713
710
  for (const chunk of buf) result += chunk;
714
711
  result += extras;
@@ -802,9 +799,6 @@ function writeCallArg(state, val, valueId) {
802
799
  }
803
800
  } else state.buf.push("void 0");
804
801
  }
805
- function hasChannelCalls(state) {
806
- return hasMatchingCalls(state, state.channel?.readyId);
807
- }
808
802
  function hasMatchingCalls(state, readyId) {
809
803
  if (!readyId) return state.queuedCalls.length > 0;
810
804
  for (const call of state.queuedReadyCalls) if (call.channel.readyId === readyId) return true;
@@ -1325,17 +1319,10 @@ function writeRequest(state, val, ref) {
1325
1319
  options += sep + "credentials:" + quote(val.credentials, 0);
1326
1320
  sep = ",";
1327
1321
  }
1328
- const seenHeaders = state.refs.get(val.headers);
1329
- if (seenHeaders) {
1330
- options += sep + "headers:" + ensureRefAccess(state, seenHeaders);
1322
+ const headers = headersOption(state, val.headers, ref);
1323
+ if (headers) {
1324
+ options += sep + "headers:" + headers;
1331
1325
  sep = ",";
1332
- } else {
1333
- state.refs.set(val.headers, new Reference(ref, "headers", state.flushId, null));
1334
- const headers = stringEntriesToHeadersInit(val.headers);
1335
- if (headers) {
1336
- options += sep + "headers:" + headers;
1337
- sep = ",";
1338
- }
1339
1326
  }
1340
1327
  if (val.integrity) {
1341
1328
  options += sep + "integrity:" + quote(val.integrity, 0);
@@ -1376,13 +1363,8 @@ function writeResponse(state, val, ref) {
1376
1363
  options += sep + "statusText:" + quote(val.statusText, 0);
1377
1364
  sep = ",";
1378
1365
  }
1379
- const seenHeaders = state.refs.get(val.headers);
1380
- if (seenHeaders) options += sep + "headers:" + ensureRefAccess(state, seenHeaders);
1381
- else {
1382
- state.refs.set(val.headers, new Reference(ref, "headers", state.flushId, null));
1383
- const headers = stringEntriesToHeadersInit(val.headers);
1384
- if (headers) options += sep + "headers:" + headers;
1385
- }
1366
+ const headers = headersOption(state, val.headers, ref);
1367
+ if (headers) options += sep + "headers:" + headers;
1386
1368
  if (!val.body || val.bodyUsed) state.buf.push("new Response" + (options ? "(null,{" + options + "})" : ""));
1387
1369
  else {
1388
1370
  state.buf.push("new Response(");
@@ -1390,6 +1372,12 @@ function writeResponse(state, val, ref) {
1390
1372
  }
1391
1373
  return true;
1392
1374
  }
1375
+ function headersOption(state, headers, ref) {
1376
+ const seen = state.refs.get(headers);
1377
+ if (seen) return ensureRefAccess(state, seen);
1378
+ state.refs.set(headers, new Reference(ref, "headers", state.flushId, null));
1379
+ return stringEntriesToHeadersInit(headers);
1380
+ }
1393
1381
  function writeIntl(state, val, name, ref) {
1394
1382
  const { locale, ...options } = val.resolvedOptions();
1395
1383
  state.buf.push("new Intl." + name + "(" + quote(locale, 0) + ",");
@@ -1840,8 +1828,7 @@ function patchIteratorNext(proto) {
1840
1828
  };
1841
1829
  proto.next[kTouchedIterator] = true;
1842
1830
  }
1843
- //#endregion
1844
- //#region src/html/attrs.ts
1831
+ // src/html/attrs.ts
1845
1832
  function _attr_class(value) {
1846
1833
  return stringAttr("class", toDelimitedString(value, " ", stringifyClassEntry));
1847
1834
  }
@@ -1918,7 +1905,7 @@ function _attr_details_or_dialog_open(scopeId, nodeAccessor, open, openChange, s
1918
1905
  return normalizedOpen ? " open" : "";
1919
1906
  }
1920
1907
  function _attr_nonce() {
1921
- return getChunk().boundary.state.nonceAttr;
1908
+ return getState().nonceAttr;
1922
1909
  }
1923
1910
  function _style_html(decls) {
1924
1911
  const id = _id();
@@ -1982,7 +1969,7 @@ function _attrs(data, nodeAccessor, scopeId, tagName) {
1982
1969
  break;
1983
1970
  default:
1984
1971
  if (name) assertValidAttrName(name);
1985
- if (name && !(isNullishOrFalse(value) || skip.test(name) || name === "content" && tagName !== "meta")) {
1972
+ if (name && !(isNullishOrFalse(value) || name === "content" && tagName !== "meta" || skip.test(name))) {
1986
1973
  if (isEventHandler(name)) {
1987
1974
  if (!events) {
1988
1975
  events = {};
@@ -2073,8 +2060,7 @@ function normalizedValueMatches(a, b) {
2073
2060
  function normalizeStrAttrValue(value) {
2074
2061
  return isNotNullishOrFalse(value) && value !== true ? value + "" : "";
2075
2062
  }
2076
- //#endregion
2077
- //#region src/html/inlined-runtimes.debug.ts
2063
+ // src/html/inlined-runtimes.debug.ts
2078
2064
  const WALKER_RUNTIME_CODE = `((runtimeId) => (self[runtimeId] ||= (
2079
2065
  renderId,
2080
2066
  prefix = runtimeId + renderId,
@@ -2170,8 +2156,7 @@ const REORDER_RUNTIME_CODE = `((runtime) => {
2170
2156
  }
2171
2157
  };
2172
2158
  })`;
2173
- //#endregion
2174
- //#region src/html/writer.ts
2159
+ // src/html/writer.ts
2175
2160
  let $chunk;
2176
2161
  function getChunk() {
2177
2162
  return $chunk;
@@ -2198,7 +2183,7 @@ function getScopeId(scope) {
2198
2183
  return scope[K_SCOPE_ID];
2199
2184
  }
2200
2185
  function getScopeById(scopeId) {
2201
- if (scopeId !== void 0) return $chunk.boundary.state.scopes.get(scopeId);
2186
+ return $chunk.boundary.state.scopes.get(scopeId);
2202
2187
  }
2203
2188
  function $global() {
2204
2189
  return $chunk.boundary.state.$global;
@@ -2260,7 +2245,7 @@ function mayDrop(written) {
2260
2245
  return false;
2261
2246
  }
2262
2247
  function _script(scopeId, registryId, markerGuard) {
2263
- if (markerGuard === 0 && ($chunk.channel.readyId || $chunk.context?.[kAsyncContent])) _resume_branch(scopeId);
2248
+ if (markerGuard === 0 && ($chunk.channel.readyId || getAsyncContent($chunk))) _resume_branch(scopeId);
2264
2249
  $chunk.boundary.state.queueEffect(scopeId, registryId);
2265
2250
  }
2266
2251
  function _trailers(html) {
@@ -2304,7 +2289,7 @@ function markText(scopeId, accessor, text, markerGuard) {
2304
2289
  return text ? (markerGuard === 2 ? "<!>" : "") + text + state.mark("$", scopeId + " " + accessor) : state.mark("%", scopeId + " " + accessor);
2305
2290
  }
2306
2291
  function _resume_branch(scopeId) {
2307
- const branchId = $chunk.context?.[kBranchId];
2292
+ const branchId = getContext(kBranchId);
2308
2293
  if (branchId !== void 0 && branchId !== scopeId) writeScope(scopeId, { [ClosestBranchId]: branchId });
2309
2294
  }
2310
2295
  function _attr_content(nodeAccessor, scopeId, content, markerGuard) {
@@ -2441,7 +2426,6 @@ function unsubscribe(subscribed, serializer) {
2441
2426
  }
2442
2427
  }
2443
2428
  }
2444
- const NOOP$2 = () => {};
2445
2429
  function countResumeWrite(chunk) {
2446
2430
  for (let boundary = chunk.boundary; boundary; boundary = boundary.parent) boundary.resumeWrites++;
2447
2431
  }
@@ -2563,8 +2547,9 @@ var State = class {
2563
2547
  return "<!--" + this.commentPrefix + code + str + "-->";
2564
2548
  }
2565
2549
  };
2550
+ function NOOP() {}
2566
2551
  var Boundary = class {
2567
- onNext = NOOP$2;
2552
+ onNext = NOOP;
2568
2553
  count = 0;
2569
2554
  resumeWrites = 0;
2570
2555
  state;
@@ -2828,7 +2813,7 @@ var Chunk = class Chunk {
2828
2813
  const { readyId } = channel;
2829
2814
  let scripts = "";
2830
2815
  const held = this.takeDeferredReady();
2831
- if (held) for (const chunk of Array.isArray(held) ? held : [held]) {
2816
+ if (held) for (const chunk of toArray(held)) {
2832
2817
  if (chunk.boundary.aborted) continue;
2833
2818
  scripts = concatScripts(scripts, chunk.flushReadyScripts(boundary, reservations, holdEffects));
2834
2819
  if (chunk.effects || chunk.deferredReady) this.deferredReady = push(this.deferredReady, chunk);
@@ -2881,7 +2866,7 @@ var Chunk = class Chunk {
2881
2866
  if (effects) {
2882
2867
  needsWalk = true;
2883
2868
  flushSerializerGlobals(boundary);
2884
- state.resumes = state.resumes ? state.resumes + ",\"" + effects + "\"" : "\"" + effects + "\"";
2869
+ state.resumes = concatSequence(state.resumes, "\"" + effects + "\"");
2885
2870
  }
2886
2871
  let reordered = "";
2887
2872
  let needsResumeArray = false;
@@ -3065,23 +3050,16 @@ function depsMarker(deps) {
3065
3050
  return marker;
3066
3051
  }
3067
3052
  function getFilteredGlobals($global) {
3068
- if (!$global) return 0;
3069
3053
  const serializedGlobals = $global.serializedGlobals;
3070
3054
  if (!serializedGlobals) return 0;
3071
3055
  let filtered = 0;
3072
3056
  if (Array.isArray(serializedGlobals)) for (const key of serializedGlobals) {
3073
3057
  const value = $global[key];
3074
- if (value !== void 0) {
3075
- if (filtered) filtered[key] = value;
3076
- else filtered = { [key]: value };
3077
- }
3058
+ if (value !== void 0) (filtered ||= {})[key] = value;
3078
3059
  }
3079
3060
  else for (const key in serializedGlobals) if (serializedGlobals[key]) {
3080
3061
  const value = $global[key];
3081
- if (value !== void 0) {
3082
- if (filtered) filtered[key] = value;
3083
- else filtered = { [key]: value };
3084
- }
3062
+ if (value !== void 0) (filtered ||= {})[key] = value;
3085
3063
  }
3086
3064
  return filtered;
3087
3065
  }
@@ -3117,8 +3095,7 @@ function flushTickQueue() {
3117
3095
  });
3118
3096
  }
3119
3097
  }
3120
- //#endregion
3121
- //#region src/html/content.ts
3098
+ // src/html/content.ts
3122
3099
  function _to_text(val) {
3123
3100
  assertValidTextValue(val);
3124
3101
  return val || val === 0 ? val + "" : "";
@@ -3132,7 +3109,7 @@ const replaceUnsafeXML = (c) => c === "&" ? "&amp;" : c === "<" ? "&lt;" : "&#13
3132
3109
  const escapeXMLStr = (str) => unsafeXMLReg.test(str) ? str.replace(unsafeXMLReg, replaceUnsafeXML) : str;
3133
3110
  function _escape(val) {
3134
3111
  assertValidTextValue(val);
3135
- return val ? escapeXMLStr(val + "") : val === 0 ? "0" : "";
3112
+ return val || val === 0 ? typeof val === "number" ? val + "" : escapeXMLStr(val + "") : "";
3136
3113
  }
3137
3114
  const unsafeScriptReg = /<(\/?script|!--)/gi;
3138
3115
  const escapeScriptStr = (str) => unsafeScriptReg.test(str) ? str.replace(unsafeScriptReg, "\\u003C$1") : str;
@@ -3162,8 +3139,7 @@ function _escape_comment(val) {
3162
3139
  assertValidTextValue(val);
3163
3140
  return val ? escapeCommentStr(val + "") : val === 0 ? "0" : "";
3164
3141
  }
3165
- //#endregion
3166
- //#region src/html/dynamic-tag.ts
3142
+ // src/html/dynamic-tag.ts
3167
3143
  const voidElementsReg = /^(?:area|b(?:ase|r)|col|embed|hr|i(?:mg|nput)|link|meta|param|source|track|wbr)$/;
3168
3144
  let _dynamic_tag = (scopeId, accessor, tag, inputOrArgs, content, inputIsArgs, markerGuard, tagVar) => {
3169
3145
  const shouldResume = markerGuard !== 0;
@@ -3176,34 +3152,31 @@ let _dynamic_tag = (scopeId, accessor, tag, inputOrArgs, content, inputIsArgs, m
3176
3152
  assertValidTagName(renderer);
3177
3153
  const input = (inputIsArgs ? inputOrArgs[0] : inputOrArgs) || {};
3178
3154
  rendered = true;
3179
- const renderNative = () => {
3180
- _scope_id();
3181
- _html(`<${renderer}${_attrs(input, `#${renderer.toLowerCase()}/0`, branchId, renderer)}>`);
3182
- if (!voidElementsReg.test(renderer)) {
3183
- const renderContent = content || normalizeDynamicRenderer(input.content);
3184
- if (renderer === "textarea") {
3185
- if (renderContent) throw new Error("A dynamic tag rendering a `<textarea>` cannot have `content` and must use the `value` attribute instead.");
3186
- _html(_attrs_textarea_value(branchId, `#${renderer.toLowerCase()}/0`, input));
3187
- } else {
3188
- if (renderContent && typeof renderContent !== "function") throw new Error(`Body content is not supported for the \`<${renderer}>\` tag.`);
3189
- if (renderer === "select" && ("value" in input || "valueChange" in input)) _attr_select_value(branchId, `#${renderer.toLowerCase()}/0`, input.value, input.valueChange, renderContent ? () => _dynamic_tag(branchId, `#${renderer.toLowerCase()}/0`, renderContent, void 0, 0, void 0, markerGuard) : void 0, 1);
3190
- else if (renderContent) _dynamic_tag(branchId, `#${renderer.toLowerCase()}/0`, renderContent, void 0, 0, void 0, markerGuard);
3191
- }
3192
- _html(`</${renderer}>`);
3193
- } else if (content) throw new Error(`Body content is not supported for the \`<${renderer}>\` tag.`);
3194
- const childScope = getScopeById(branchId);
3195
- const needsScript = childScope && (childScope[`EventAttributes:#${renderer.toLowerCase()}/0`] || childScope[`ControlledHandler:#${renderer.toLowerCase()}/0`]);
3196
- if (needsScript) {
3197
- writeScope(branchId, { [Renderer]: renderer });
3198
- _script(branchId, DYNAMIC_TAG_SCRIPT_REGISTER_ID);
3155
+ _scope_id();
3156
+ _html(`<${renderer}${_attrs(input, `#${renderer.toLowerCase()}/0`, branchId, renderer)}>`);
3157
+ if (!voidElementsReg.test(renderer)) {
3158
+ const renderContent = content || normalizeDynamicRenderer(input.content);
3159
+ if (renderer === "textarea") {
3160
+ if (renderContent) throw new Error("A dynamic tag rendering a `<textarea>` cannot have `content` and must use the `value` attribute instead.");
3161
+ _html(_attrs_textarea_value(branchId, `#${renderer.toLowerCase()}/0`, input));
3162
+ } else {
3163
+ if (renderContent && typeof renderContent !== "function") throw new Error(`Body content is not supported for the \`<${renderer}>\` tag.`);
3164
+ if (renderer === "select" && ("value" in input || "valueChange" in input)) _attr_select_value(branchId, `#${renderer.toLowerCase()}/0`, input.value, input.valueChange, renderContent ? () => _dynamic_tag(branchId, `#${renderer.toLowerCase()}/0`, renderContent, void 0, 0, void 0, markerGuard) : void 0, 1);
3165
+ else if (renderContent) _dynamic_tag(branchId, `#${renderer.toLowerCase()}/0`, renderContent, void 0, 0, void 0, markerGuard);
3199
3166
  }
3200
- if (shouldResume || needsScript) _html(state.mark("(", scopeId + " " + accessor + " " + branchId));
3201
- };
3202
- renderNative();
3167
+ _html(`</${renderer}>`);
3168
+ } else if (content) throw new Error(`Body content is not supported for the \`<${renderer}>\` tag.`);
3169
+ const childScope = getScopeById(branchId);
3170
+ const needsScript = childScope && (childScope[`EventAttributes:#${renderer.toLowerCase()}/0`] || childScope[`ControlledHandler:#${renderer.toLowerCase()}/0`]);
3171
+ if (needsScript) {
3172
+ writeScope(branchId, { [Renderer]: renderer });
3173
+ _script(branchId, DYNAMIC_TAG_SCRIPT_REGISTER_ID);
3174
+ }
3175
+ if (shouldResume || needsScript) _html(state.mark("(", scopeId + " " + accessor + " " + branchId));
3203
3176
  result = _el(scopeId, DYNAMIC_TAG_VAR_REGISTER_ID + accessor);
3204
3177
  } else {
3205
3178
  if (tagVar && renderer?.["lazy"]) throw new Error(`A dynamic tag with a [tag variable](https://markojs.com/docs/reference/language#tag-variables) rendered \`${renderer["id"]}\`, which is lazily loaded, so it does not support one. Import it without \`load\`, or remove the variable.`);
3206
- const chunk = getChunk();
3179
+ const chunk = $chunk;
3207
3180
  const beforeBranch = shouldResume ? deferBranchStart(chunk) : void 0;
3208
3181
  const render = () => {
3209
3182
  if (renderer) try {
@@ -3245,8 +3218,7 @@ const patchDynamicTag = /* @__PURE__ */ ((originalDynamicTag) => (patch) => {
3245
3218
  return originalDynamicTag(scopeId, accessor, patched, input, content, inputIsArgs, markerGuard, tagVar);
3246
3219
  };
3247
3220
  })(_dynamic_tag);
3248
- //#endregion
3249
- //#region src/html/template.ts
3221
+ // src/html/template.ts
3250
3222
  const CONSUMED_RESULT_MESSAGE = "Cannot read from a consumed render result";
3251
3223
  const _template = (templateId, renderer, page) => {
3252
3224
  renderer.render = render;
@@ -3506,12 +3478,10 @@ var ServerRendered = class {
3506
3478
  }
3507
3479
  };
3508
3480
  function settle(boundary) {
3509
- boundary.onNext = NOOP$1;
3481
+ boundary.onNext = NOOP;
3510
3482
  boundary.state.$global.signal?.removeEventListener("abort", boundary);
3511
3483
  }
3512
- function NOOP$1() {}
3513
- //#endregion
3514
- //#region src/html/assets.ts
3484
+ // src/html/assets.ts
3515
3485
  const kAssets = Symbol();
3516
3486
  const kHead = Symbol();
3517
3487
  function withLoadAssets(template, id, flush, assetId, triggers) {
@@ -3608,17 +3578,18 @@ function addAsset(g, id, flush, triggers) {
3608
3578
  function triggerScript(id, html, triggers) {
3609
3579
  const htmlStr = quoteScriptTemplateLiteral(html);
3610
3580
  const insert = `(d=new Range().createContextualFragment(h),d.querySelectorAll("script").forEach(s=>s.onerror=()=>console.error(${quoteScriptTemplateLiteral(`The lazy module for "${id}" failed to load; its server-rendered content cannot become interactive.`)})),document.head.append(d))`;
3611
- const exprs = triggers.map((trigger) => {
3612
- const options = trigger.options && toObjectExpression(trigger.options);
3613
- switch (trigger.type) {
3614
- case "visible": return `(e=>e&&new IntersectionObserver((e,i)=>e.some(e=>e.isIntersecting)&&i.disconnect()+l()${options ? `,${options}` : ""}).observe(e))(${querySelectorOrLoad(trigger.selector)})`;
3615
- case "idle": return `(self.requestIdleCallback||l)(l${options ? `,${options}` : ""})`;
3616
- case "media": return `(m=>m.matches?l():m.addEventListener("change",l,{once:1}))(matchMedia(${JSON.stringify(trigger.selector)}))`;
3617
- default: return `(e=>e?.addEventListener("${trigger.type.slice(3)}",l,{once:1}))(${querySelectorOrLoad(trigger.selector)})`;
3618
- }
3619
- });
3581
+ const exprs = triggers.map(triggerExpression);
3620
3582
  return `((h,d,l=$=>{d||${insert}})=>${exprs.length > 1 ? `{${exprs.join(";")}}` : exprs[0]})(${htmlStr})`;
3621
3583
  }
3584
+ function triggerExpression(trigger) {
3585
+ const options = trigger.options && toObjectExpression(trigger.options);
3586
+ switch (trigger.type) {
3587
+ case "visible": return `(e=>e&&new IntersectionObserver((e,i)=>e.some(e=>e.isIntersecting)&&i.disconnect()+l()${options ? `,${options}` : ""}).observe(e))(${querySelectorOrLoad(trigger.selector)})`;
3588
+ case "idle": return `(self.requestIdleCallback||l)(l${options ? `,${options}` : ""})`;
3589
+ case "media": return `(m=>m.matches?l():m.addEventListener("change",l,{once:1}))(matchMedia(${JSON.stringify(trigger.selector)}))`;
3590
+ default: return `(e=>e?.addEventListener("${trigger.type.slice(3)}",l,{once:1}))(${querySelectorOrLoad(trigger.selector)})`;
3591
+ }
3592
+ }
3622
3593
  function querySelectorOrLoad(selector) {
3623
3594
  return `document.querySelector(${JSON.stringify(selector)})||${`(console.warn(${JSON.stringify(`A lazy load trigger could not find an element matching "${selector}". The module was loaded immediately.`)}),l())`}`;
3624
3595
  }
@@ -3631,12 +3602,10 @@ function toObjectExpression(options) {
3631
3602
  }
3632
3603
  return result + "}";
3633
3604
  }
3634
- //#endregion
3635
- //#region src/common/compat-meta.ts
3605
+ // src/common/compat-meta.ts
3636
3606
  const SET_SCOPE_REGISTER_ID = "$compat_setScope";
3637
3607
  const RENDER_BODY_ID = "$compat_renderBody";
3638
- //#endregion
3639
- //#region src/common/for.ts
3608
+ // src/common/for.ts
3640
3609
  function forIn(obj, cb) {
3641
3610
  for (const key in obj) cb(key, obj[key]);
3642
3611
  }
@@ -3663,8 +3632,7 @@ function forUntil(until, from, step, cb) {
3663
3632
  const delta = step || 1;
3664
3633
  for (let steps = (until - start) / delta, i = 0; i < steps; i++) cb(start + i * delta);
3665
3634
  }
3666
- //#endregion
3667
- //#region src/html/for.ts
3635
+ // src/html/for.ts
3668
3636
  function forOfBy(by, item, index) {
3669
3637
  return by ? typeof by === "string" ? item[by] : by(item, index) : index;
3670
3638
  }
@@ -3674,8 +3642,7 @@ function forInBy(by, name, value) {
3674
3642
  function forStepBy(by, index) {
3675
3643
  return by ? by(index) : index;
3676
3644
  }
3677
- //#endregion
3678
- //#region src/html/control-flow.ts
3645
+ // src/html/control-flow.ts
3679
3646
  function _show_start(display, markerGuard, branchExprGuard, parentEndTag) {
3680
3647
  if (display) {
3681
3648
  if (resumesMarker(markerGuard, branchExprGuard, parentEndTag)) $chunk.writeHTML($chunk.boundary.state.mark("[", ""));
@@ -3757,7 +3724,8 @@ function forBranches(by, cb, iterate, scopeId, accessor, branchGuard, markerGuar
3757
3724
  flushBranchIds = branchId + "";
3758
3725
  }
3759
3726
  }
3760
- withBranchId(branchId, cb, a, b);
3727
+ if (resumeMarker) withBranchId(branchId, cb, a, b);
3728
+ else cb(a, b);
3761
3729
  const branchScope = writeScope(branchId, resumeKeys && !sameAsIndex ? { [LoopKey]: itemKey } : {});
3762
3730
  if (!resumeMarker) loopScopes = push(loopScopes, branchScope);
3763
3731
  });
@@ -3770,7 +3738,7 @@ function _if(cb, scopeId, accessor, branchGuard, markerGuard, branchExprGuard, p
3770
3738
  const branchId = _peek_scope_id();
3771
3739
  const chunk = $chunk;
3772
3740
  const beforeBranch = resumeMarker && resumeBranch && !singleNode ? deferBranchStart(chunk) : void 0;
3773
- const branchIndex = resumeBranch ? withBranchId(branchId, cb) : cb();
3741
+ const branchIndex = resumeBranch && resumeMarker ? withBranchId(branchId, cb) : cb();
3774
3742
  const shouldWriteBranch = resumeBranch && branchIndex !== void 0;
3775
3743
  if (beforeBranch !== void 0) applyBranchStart(chunk, beforeBranch, shouldWriteBranch);
3776
3744
  if (shouldWriteBranch && (branchIndex || !resumeMarker)) writeScope(scopeId, {
@@ -3784,11 +3752,8 @@ function resumesMarker(markerGuard, branchExprGuard, parentEndTag) {
3784
3752
  }
3785
3753
  function writeBranchEnd(scopeId, accessor, branchExprGuard, markerGuard, parentEndTag, singleNode, branchIds) {
3786
3754
  const endTag = parentEndTag || "";
3787
- if (resumesMarker(markerGuard, branchExprGuard, parentEndTag)) {
3788
- const { state } = $chunk.boundary;
3789
- const mark = singleNode ? state.mark(parentEndTag ? "}" : "|", scopeId + " " + accessor + (branchIds || "")) : state.mark(parentEndTag ? ")" : "]", scopeId + " " + accessor + (branchIds || ""));
3790
- $chunk.writeHTML(mark + endTag);
3791
- } else if (markerGuard !== 0) $chunk.writeHTML(endTag + _el_mark(scopeId, accessor));
3755
+ if (resumesMarker(markerGuard, branchExprGuard, parentEndTag)) $chunk.writeHTML($chunk.boundary.state.mark(singleNode ? parentEndTag ? "}" : "|" : parentEndTag ? ")" : "]", scopeId + " " + accessor + branchIds) + endTag);
3756
+ else if (markerGuard !== 0) $chunk.writeHTML(endTag + _el_mark(scopeId, accessor));
3792
3757
  else $chunk.writeHTML(endTag);
3793
3758
  }
3794
3759
  function _await(scopeId, accessor, promise, content, markerGuard) {
@@ -3955,8 +3920,7 @@ function writeTryRenderers(branchId, catchContent, placeholderContent) {
3955
3920
  [PlaceholderContent]: placeholderContent
3956
3921
  });
3957
3922
  }
3958
- //#endregion
3959
- //#region src/html/compat.ts
3923
+ // src/html/compat.ts
3960
3924
  const K_TAGS_API_STATE = Symbol();
3961
3925
  const COMPAT_REGISTRY = /* @__PURE__ */ new WeakMap();
3962
3926
  const compat = {
@@ -4028,14 +3992,14 @@ const compat = {
4028
3992
  return joined;
4029
3993
  },
4030
3994
  appendChunks(chunks) {
4031
- const chunk = getChunk();
3995
+ const chunk = $chunk;
4032
3996
  for (const part of chunks) {
4033
3997
  chunk.append(part);
4034
3998
  if (part.effects) chunk.lastEffect = part.lastEffect;
4035
3999
  }
4036
4000
  },
4037
4001
  deferReorders(reorders) {
4038
- const chunk = getChunk();
4002
+ const chunk = $chunk;
4039
4003
  for (let i = reorders.length; i--;) {
4040
4004
  const carrier = chunk.fork(chunk.boundary, chunk.next);
4041
4005
  carrier.deferredReorder = reorders[i];
@@ -4166,6 +4130,4 @@ function swapReorders(state, reorders) {
4166
4130
  state.writeReorders = reorders;
4167
4131
  return writeReorders;
4168
4132
  }
4169
- function NOOP() {}
4170
- //#endregion
4171
4133
  export { $global, _assert_class_toggles, _assert_hoist, _attr, _attr_and, _attr_class, _attr_content, _attr_details_or_dialog_open as _attr_details_open, _attr_details_or_dialog_open as _attr_dialog_open, _attr_input_checked, _attr_input_checkedValue, _attr_input_value, _attr_nonce, _attr_nullish, _attr_option_value, _attr_or, _attr_select_value, _attr_style, _attr_textarea_value, _attrs, _attrs_content, _attrs_partial, _attrs_partial_content, _attrs_select_value, _attrs_textarea_value, _await, _content, _content_resume, _dynamic_tag, _el, _el_mark, _el_read_error, _escape, _escape_comment, _escape_script, _escape_style, _escape_style_value, _existing_scope, _flush_head, _for_in, _for_of, _for_to, _for_until, _hoist, _hoist_read_error, _html, _html_mark, _id, _if, _peek_scope_id, _resume, _resume_branch, _resume_locals, writeScope as _scope, _scope_id, _scope_reason, _scope_with_id, _script, _set_scope_reason, _show_end, _show_start, _signal_read_error, _style_html, _subscribe, _template, _text_mark, _textarea_value, _to_text, _trailers, _try, _unescaped, _var, _write_guard, _write_if, attrTag, attrTags, compat, forIn, forOf, forTo, forUntil, withLoadAssets, withPageAssets };
@@ -2,7 +2,7 @@ import { type Scope } from "../common/types";
2
2
  export declare function $signalReset(scope: Scope, id: string | number): void;
3
3
  export declare function $signal(scope: Scope, id: string | number): AbortSignal;
4
4
  /** Runs `abort` as a destroyed scope's `$signal` would fire, without creating one. */
5
- export declare function trackAbort(scope: Scope, id: string | number, abort: () => void): void;
5
+ export declare function onAbort(scope: Scope, id: string | number, abort: () => void): void;
6
6
  /** Enrols `scope` with its branch so destroying the branch cleans it up. */
7
7
  export declare function trackCleanup(scope: Scope, subscribers?: Set<Scope>): void;
8
8
  export declare let abortsEnabled: undefined | 1;
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
- let require_control_flow = require("../dom-IujlfJ6b.js"), deferToPendingTry = (fn, scope, branch) => {
2
+ let require_control_flow = require("../dom-B8j2453O.js"), deferToPendingTry = (fn, scope, branch) => {
3
3
  for (; branch;) {
4
- if (branch.O?.i) return (scope.J ||= ((branch.JS ||= (branch.O.m && ((complete) => branch.O.c = (_) => complete() || require_control_flow.on(branch, require_control_flow.sn, require_control_flow.y))(branch.O.c), [])).push(scope), /* @__PURE__ */ new Set())).add(fn);
4
+ if (branch.O?.i) return (scope.J ||= ((branch.JS ||= (branch.O.m && ((complete) => branch.O.c = (_) => complete() || require_control_flow.sn(branch, require_control_flow.cn, require_control_flow.y))(branch.O.c), [])).push(scope), /* @__PURE__ */ new Set())).add(fn);
5
5
  branch = branch.N;
6
6
  }
7
7
  };
8
- //#region src/dom/catch.feat.ts
9
- require_control_flow.in((effects) => {
8
+ // src/dom/catch.feat.ts
9
+ require_control_flow.an((effects) => {
10
10
  let i = 0, fn, scope, branch;
11
11
  for (; i < effects.length;) fn = effects[i++], scope = effects[i++], (branch = scope.F)?.H !== 0 && !deferToPendingTry(fn, scope, branch) && fn(scope);
12
12
  }, (runRender) => (render) => {
@@ -21,4 +21,3 @@ require_control_flow.in((effects) => {
21
21
  require_control_flow.v(render.b, error);
22
22
  }
23
23
  });
24
- //#endregion
@@ -4,8 +4,8 @@ let deferToPendingTry = (fn, scope, branch) => {
4
4
  branch = branch.N;
5
5
  }
6
6
  };
7
- import { in as installCatch, on as queueAsyncRender, sn as queueEffect, v as renderCatch, y as runPendingEffects } from "../dom-DtKQb840.mjs";
8
- //#region src/dom/catch.feat.ts
7
+ import { an as installCatch, cn as queueEffect, sn as queueAsyncRender, v as renderCatch, y as runPendingEffects } from "../dom-HEWdZCCb.mjs";
8
+ // src/dom/catch.feat.ts
9
9
  installCatch((effects) => {
10
10
  let i = 0, fn, scope, branch;
11
11
  for (; i < effects.length;) fn = effects[i++], scope = effects[i++], (branch = scope.F)?.H !== 0 && !deferToPendingTry(fn, scope, branch) && fn(scope);
@@ -21,4 +21,3 @@ installCatch((effects) => {
21
21
  renderCatch(render.b, error);
22
22
  }
23
23
  });
24
- //#endregion
@@ -19,8 +19,8 @@ export declare function dynamicTagScript(branch: Scope): void;
19
19
  export declare function setBranch<T>(scope: Scope, nodeAccessor: Accessor, newRenderer: T, createBranch: ($global: Scope[typeof AccessorProp.Global], renderer: NonNullable<T>, parentScope: Scope, parentNode: ParentNode) => BranchScope): void;
20
20
  export declare const _for_of: (nodeAccessor: EncodedAccessor, template?: string | 0, walks?: string | 0, setup?: SetupFn | 0, params?: Signal<unknown>) => (scope: Scope, value: [all: unknown[], by?: ((item: unknown, index: number) => unknown) | undefined]) => void;
21
21
  export declare const _for_in: (nodeAccessor: EncodedAccessor, template?: string | 0, walks?: string | 0, setup?: SetupFn | 0, params?: Signal<unknown>) => (scope: Scope, value: [obj: {}, by?: ((key: string, v: unknown) => unknown) | undefined]) => void;
22
- export declare const _for_to: (nodeAccessor: EncodedAccessor, template?: string | 0, walks?: string | 0, setup?: SetupFn | 0, params?: Signal<unknown>) => (scope: Scope, value: [to: number, from: number, step: number, by?: ((v: number) => unknown) | undefined]) => void;
23
- export declare const _for_until: (nodeAccessor: EncodedAccessor, template?: string | 0, walks?: string | 0, setup?: SetupFn | 0, params?: Signal<unknown>) => (scope: Scope, value: [until: number, from: number, step: number, by?: ((v: number) => unknown) | undefined]) => void;
22
+ export declare const _for_to: (nodeAccessor: EncodedAccessor, template?: string | 0, walks?: string | 0, setup?: SetupFn | 0, params?: Signal<unknown>) => (scope: Scope, value: [to: number, from?: number | undefined, step?: number | undefined, by?: ((v: number) => unknown) | undefined]) => void;
23
+ export declare const _for_until: (nodeAccessor: EncodedAccessor, template?: string | 0, walks?: string | 0, setup?: SetupFn | 0, params?: Signal<unknown>) => (scope: Scope, value: [until: number, from?: number | undefined, step?: number | undefined, by?: ((v: number) => unknown) | undefined]) => void;
24
24
  export declare const _for_of_unkeyed: (nodeAccessor: EncodedAccessor, template?: string | 0, walks?: string | 0, setup?: SetupFn | 0, params?: Signal<unknown>) => (scope: Scope, value: [all: unknown[]]) => void;
25
- export declare const _for_to_unkeyed: (nodeAccessor: EncodedAccessor, template?: string | 0, walks?: string | 0, setup?: SetupFn | 0, params?: Signal<unknown>) => (scope: Scope, value: [to: number, from: number, step: number]) => void;
26
- export declare const _for_until_unkeyed: (nodeAccessor: EncodedAccessor, template?: string | 0, walks?: string | 0, setup?: SetupFn | 0, params?: Signal<unknown>) => (scope: Scope, value: [until: number, from: number, step: number]) => void;
25
+ export declare const _for_to_unkeyed: (nodeAccessor: EncodedAccessor, template?: string | 0, walks?: string | 0, setup?: SetupFn | 0, params?: Signal<unknown>) => (scope: Scope, value: [to: number, from?: number | undefined, step?: number | undefined]) => void;
26
+ export declare const _for_until_unkeyed: (nodeAccessor: EncodedAccessor, template?: string | 0, walks?: string | 0, setup?: SetupFn | 0, params?: Signal<unknown>) => (scope: Scope, value: [until: number, from?: number | undefined, step?: number | undefined]) => void;
@@ -1,4 +1,3 @@
1
1
  "use strict";
2
- let require_control_flow = require("../dom-IujlfJ6b.js");
2
+ let require_control_flow = require("../dom-B8j2453O.js");
3
3
  require_control_flow.H[0] = require_control_flow.k, require_control_flow.H[1] = require_control_flow.D, require_control_flow.H[2] = require_control_flow.P;
4
- //#endregion
@@ -1,3 +1,2 @@
1
- import { D as _attr_input_checkedValue_script, H as controllableScripts, P as _attr_input_value_script, k as _attr_input_checked_script } from "../dom-DtKQb840.mjs";
1
+ import { D as _attr_input_checkedValue_script, H as controllableScripts, P as _attr_input_value_script, k as _attr_input_checked_script } from "../dom-HEWdZCCb.mjs";
2
2
  controllableScripts[0] = _attr_input_checked_script, controllableScripts[1] = _attr_input_checkedValue_script, controllableScripts[2] = _attr_input_value_script;
3
- //#endregion
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
- let require_control_flow = require("../dom-IujlfJ6b.js");
3
- //#region src/dom/controllable-open.feat.ts
2
+ let require_control_flow = require("../dom-B8j2453O.js");
3
+ // src/dom/controllable-open.feat.ts
4
4
  require_control_flow.H[4] = require_control_flow.C;
5
- //#endregion
@@ -1,4 +1,3 @@
1
- import { C as _attr_details_or_dialog_open_script, H as controllableScripts } from "../dom-DtKQb840.mjs";
2
- //#region src/dom/controllable-open.feat.ts
1
+ import { C as _attr_details_or_dialog_open_script, H as controllableScripts } from "../dom-HEWdZCCb.mjs";
2
+ // src/dom/controllable-open.feat.ts
3
3
  controllableScripts[4] = _attr_details_or_dialog_open_script;
4
- //#endregion
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
- let require_control_flow = require("../dom-IujlfJ6b.js");
3
- //#region src/dom/controllable-select.feat.ts
2
+ let require_control_flow = require("../dom-B8j2453O.js");
3
+ // src/dom/controllable-select.feat.ts
4
4
  require_control_flow.H[3] = require_control_flow.L;
5
- //#endregion
@@ -1,4 +1,3 @@
1
- import { H as controllableScripts, L as _attr_select_value_script } from "../dom-DtKQb840.mjs";
2
- //#region src/dom/controllable-select.feat.ts
1
+ import { H as controllableScripts, L as _attr_select_value_script } from "../dom-HEWdZCCb.mjs";
2
+ // src/dom/controllable-select.feat.ts
3
3
  controllableScripts[3] = _attr_select_value_script;
4
- //#endregion
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
- let require_control_flow = require("../dom-IujlfJ6b.js");
3
- //#region src/dom/controllable-textarea.feat.ts
2
+ let require_control_flow = require("../dom-B8j2453O.js");
3
+ // src/dom/controllable-textarea.feat.ts
4
4
  require_control_flow.H[2] = require_control_flow.P;
5
- //#endregion