@ctrl/dom 0.1.2 → 0.1.4

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.
@@ -1,4 +1,4 @@
1
1
  // Generated by scripts/release.ts (writeBridges): the running ctrl-dom environment's DOM, else a fresh load.
2
2
  import { createRequire } from "node:module";
3
3
  const dom = globalThis[Symbol.for("ctrl-dom.dom.modules")]?.internal ?? createRequire(import.meta.url)("../dom/internal.js");
4
- export const { $_proto__, $aboutBase, $active, $assocGen, $attr, $attributes, $availableToElementInternals, $badInput, $baseFor, $baseOverride, $baseURL, $baseVersion, $block, $byCtor, $byName, $cache, $callback, $checked, $checkedSet, $childNodes, $childWindows, $children, $classList, $clipboard, $clonable, $closed, $coll, $compiled, $compiledFor, $condition, $constructed, $constructingEntryList, $contentType, $controlsCache, $controlsDoc, $controlsVersion, $cookieJar, $cookies, $css, $current, $customElements, $customValidity, $cx, $data, $dataset, $declarative, $defaultNamespace, $defaultValueOverride, $delegatesFocus, $derived, $devicePixelRatio, $dirtiness, $dirtyChecked, $dirtyValue, $disabled, $disallowModification, $doc, $dropEffect, $ec, $effectAllowed, $el, $elements, $entries, $eo, $error, $file, $files, $fill, $filter, $firingSubmissionEvents, $focused, $form, $forms, $frameCallbacks, $frameElement, $frameId, $frameTask, $frameTime, $generation, $globalObject, $hasTransients, $height, $history, $home, $host, $href, $id, $idleCallbacks, $idleId, $ids, $impl, $implementation, $indeterminate, $index, $indexed, $inflight, $info, $innerHeight, $innerWidth, $is2D, $isHTML, $items, $keyText, $kind, $labels, $layerName, $list, $listeners, $localStorage, $location, $lockedForReset, $m, $matches, $media, $mediaQueryLists, $mode, $name, $names, $namespaces, $navigator, $nodes, $onchange, $options, $owner, $ownerNode, $ownerRule, $parent, $parentRule, $parentWindow, $pastNames, $pointerBeforeReference, $preApplied, $preChecked, $preCheckedRadio, $preIndeterminate, $prefix, $prelude, $presentationStyle, $pseudo, $queries, $ranges, $rawValue, $readonly, $readyState, $record, $records, $rects, $reference, $result, $root, $rules, $running, $runningFrame, $sc, $screen, $scrollRestoration, $scrollX, $scrollY, $selDir, $selEnd, $selSet, $selStart, $selectedOptions, $selectedness, $selection, $selector, $serializable, $sessionStorage, $settled, $shadowRoot, $shed, $sheet, $sheets, $slotAssignment, $so, $states, $style, $styleVersion, $supportsText, $systemId, $target, $targets, $tasks, $timers, $title, $type, $types, $uiValue, $updating, $updatingSelectedContent, $uri, $url, $userActivation, $userEdited, $userValidity, $validity, $value, $version, $visualViewport, $w, $whatToShow, $whenDefined, $width, $window, $writeBuffer, $x, $xhr, $y, $z, ATTRIBUTE_NODE, AttrRecord, CDATA_SECTION_NODE, COMMENT_NODE, COMPAT, COMPAT_PROFILES, DEFAULT_COMPAT, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, DeclBlock, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, EventState, FAILURE_CHANNEL, F_ADOPT_HOOK, F_ATTR_HOOK, F_CE_CUSTOM, F_CHILDREN_HOOK, F_CHILD_LIST, F_CONNECTED, F_CONNECT_HOOK, F_CUSTOM, F_FACE, F_HAS_SHADOW, F_HAS_STYLE_ATTR, F_HTML, F_MO_REGISTERED, F_SHADOW_ROOT, GLOBAL_EVENT_HANDLER_EVENTS, HTMLCollection, HTML_NS, INPUT_TYPE_NAMES, MATHML_NS, NOTATION_NODE, NodeCache, NodeImpl, NodeList, PROCESSING_INSTRUCTION_NODE, SPAN_CHANNEL, SVG_NS, T, TEXT_NODE, VirtualClock, VirtualTimeout, WINDOW_EVENT_HANDLER_EVENTS, XLINK_NS, XMLNS_NS, XML_NS, activeObservers, adoptedStyleSheetsOf, asciiLowercase, assignManually, assignedElements, assignedNodes, assignedSlot, attachShadowRoot, attr, attrAssociatedElement, attrAssociatedElements, attrNode, captureInterfaceBaseline, childAt, classTokens, clearUIValue, clockNow, clockStats, closest, compareBoundaryPoints, compatExposes, computedDisplay, computedValue, computedVisibility, constructEntryList, controlValue, createEvent, createFileList, createLinkSheet, currentStyleVersion, defaultButton, deferredCompatMembers, derivedCache, describeCall, describeNode, dispatch, dispatchTrusted, ensureCollectionIndexGetters, ensureIndexGetters, evaluateMediaQueryList, faceState, findFlattenedSlottables, findSlot, fireAnEvent, fireSyntheticPointerEvent, firstElementChild, foreignImmediatesPending, formOwner, getAttribute, getComputedStyle, getComputedStyleOverride, getCurrentEvent, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getEventHandler, getUISelection, getUIValue, guardInterfaceDefinitions, hasAttr, hasAuthorStyles, hasExplicitAttrElements, hasListeners, hasReadonlyAttribute, hasUIValue, hiddenGlobals, implicitSubmission, indexGetterTable, indexOf, inputChecked, inputIndeterminate, inputType, inputTypeFromAttr, inspectNode, installClock, installEventHandlers, isActuallyDisabled, isAsciiWhitespace, isAutofilled, isChecked, isDefault, isDisabled, isDisplayNone, isDisplayNoneInclusive, isEditableControl, isEnabled, isFACE, isInRange, isInclusiveAncestor, isIndeterminate, isInvalid, isLabelable, isListed, isMutable, isNumericType, isOptional, isOutOfRange, isPlaceholderShown, isReadOnly, isReadWrite, isRequired, isResettable, isSubmitButton, isSubmittable, isTextControl, isTextualType, isValid, isValidDoctypeName, isValidElementLocalName, isValidNamespacePrefix, isVisibilityHidden, labeledControl, labelsFor, lastElementChild, listOfOptions, matchMediaText, matches, mediaEnvironment, nextElementInTree, nextElementSibling, nextInTree, nextSkippingChildren, nodeCache, nodeGetTheParent, nodeLength, notifyMutationObservers, optionSelected, parseDeclBlock, parseFragment, parseMediaQueryList, peekDerivedCache, pointerEvents, pointerEventsNone, previousElementSibling, previousInTree, pseudoContent, querySelector, querySelectorAll, quote, registerOwnerSheet, removeAllEventListeners, removeAttribute, removeOwnerSheet, replaceData, reportException, resolveCompat, restoreInterfaces, retarget, serializeChildren, serializeNode, setAdoptedStyleSheets, setAssignedSlotLookup, setAttribute, setCheckedFromUI, setComputedColorMode, setEventHandler, setFailureSnapshot, setFilesFromUI, setNodeDescriber, setNotImplementedHandler, setOptionSelectedFromUI, setTrusted, setUISelection, setUIValue, setUncaughtExceptionHandler, skipIdleTime, spanChannel, splitOnAsciiWhitespace, splitText, styleElementRemoved, styleElementSheet, styleElementUpdated, styleSheetsOf, subscribeTestFailures, supportsSelection, supportsSelectionType, tagId, tagName, tracePromise, traceSync, tracing, trackGlobalTimers, treeRoot, uaDisplay, unregisterOwnerSheet, validateAndExtract, valueMode, virtualDate, virtualPerformance, windowHooks, windowInterfaces, withNamedProperties } = dom;
4
+ export const { $_proto__, $aboutBase, $active, $assocGen, $attr, $attributes, $availableToElementInternals, $badInput, $baseFor, $baseOverride, $baseURL, $baseVersion, $block, $byCtor, $byName, $cache, $callback, $checked, $checkedSet, $childNodes, $childWindows, $children, $classList, $clipboard, $clonable, $closed, $coll, $compiled, $compiledFor, $condition, $constructed, $constructingEntryList, $contentType, $controlsCache, $controlsDoc, $controlsVersion, $cookieJar, $cookies, $css, $current, $customElements, $customValidity, $cx, $data, $dataset, $declarative, $defaultNamespace, $defaultValueOverride, $delegatesFocus, $derived, $devicePixelRatio, $dirtiness, $dirtyChecked, $dirtyValue, $disabled, $disallowModification, $doc, $dropEffect, $ec, $effectAllowed, $el, $elements, $entries, $eo, $error, $file, $files, $fill, $filter, $firingSubmissionEvents, $focused, $form, $forms, $frameCallbacks, $frameElement, $frameId, $frameTask, $frameTime, $generation, $globalObject, $hasTransients, $height, $history, $home, $host, $href, $id, $idleCallbacks, $idleId, $ids, $impl, $implementation, $indeterminate, $index, $indexed, $inflight, $info, $innerHeight, $innerWidth, $is2D, $isHTML, $items, $keyText, $kind, $labels, $layerName, $list, $listeners, $localStorage, $location, $lockedForReset, $m, $matches, $media, $mediaQueryLists, $mode, $name, $names, $namespaces, $navigator, $nodes, $onchange, $options, $owner, $ownerNode, $ownerRule, $parent, $parentRule, $parentWindow, $pastNames, $pointerBeforeReference, $preApplied, $preChecked, $preCheckedRadio, $preIndeterminate, $prefix, $prelude, $presentationStyle, $pseudo, $queries, $ranges, $rawValue, $readonly, $readyState, $record, $records, $rects, $reference, $result, $root, $rules, $running, $runningFrame, $sc, $screen, $scrollRestoration, $scrollX, $scrollY, $selDir, $selEnd, $selSet, $selStart, $selectedOptions, $selectedness, $selection, $selector, $serializable, $sessionStorage, $settled, $shadowRoot, $shed, $sheet, $sheets, $slotAssignment, $so, $states, $style, $styleVersion, $supportsText, $systemId, $target, $targets, $tasks, $timers, $title, $type, $types, $uiValue, $updating, $updatingSelectedContent, $uri, $url, $userActivation, $userEdited, $userValidity, $validity, $value, $version, $visualViewport, $w, $whatToShow, $whenDefined, $width, $window, $writeBuffer, $x, $xhr, $y, $z, ATTRIBUTE_NODE, AttrRecord, CDATA_SECTION_NODE, COMMENT_NODE, COMPAT, COMPAT_PROFILES, DEFAULT_COMPAT, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, DeclBlock, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, EventState, FAILURE_CHANNEL, F_ADOPT_HOOK, F_ATTR_HOOK, F_CE_CUSTOM, F_CHILDREN_HOOK, F_CHILD_LIST, F_CONNECTED, F_CONNECT_HOOK, F_CUSTOM, F_FACE, F_HAS_SHADOW, F_HAS_STYLE_ATTR, F_HTML, F_MO_REGISTERED, F_SHADOW_ROOT, GLOBAL_EVENT_HANDLER_EVENTS, HTMLCollection, HTML_NS, INPUT_TYPE_NAMES, MATHML_NS, NOTATION_NODE, NodeCache, NodeImpl, NodeList, PROCESSING_INSTRUCTION_NODE, SPAN_CHANNEL, SVG_NS, T, TEXT_NODE, VirtualClock, VirtualTimeout, WINDOW_EVENT_HANDLER_EVENTS, XLINK_NS, XMLNS_NS, XML_NS, adoptedStyleSheetsOf, asciiLowercase, assignManually, assignedElements, assignedNodes, assignedSlot, attachShadowRoot, attr, attrAssociatedElement, attrAssociatedElements, attrNode, captureInterfaceBaseline, childAt, classTokens, clearUIValue, clockNow, clockStats, closest, compareBoundaryPoints, compatExposes, computedDisplay, computedValue, computedVisibility, constructEntryList, controlValue, createEvent, createFileList, createLinkSheet, currentStyleVersion, defaultButton, deferredCompatMembers, derivedCache, describeCall, describeNode, dispatch, dispatchTrusted, ensureCollectionIndexGetters, ensureIndexGetters, evaluateMediaQueryList, faceState, findFlattenedSlottables, findSlot, fireAnEvent, fireSyntheticPointerEvent, firstElementChild, foreignImmediatesPending, formOwner, getAttribute, getComputedStyle, getComputedStyleOverride, getCurrentEvent, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getEventHandler, getUISelection, getUIValue, guardInterfaceDefinitions, hasAttr, hasAuthorStyles, hasExplicitAttrElements, hasListeners, hasReadonlyAttribute, hasUIValue, hiddenGlobals, implicitSubmission, indexGetterTable, indexOf, inputChecked, inputIndeterminate, inputType, inputTypeFromAttr, inspectNode, installClock, installEventHandlers, isActuallyDisabled, isAsciiWhitespace, isAutofilled, isChecked, isDefault, isDisabled, isDisplayNone, isDisplayNoneInclusive, isEditableControl, isEnabled, isFACE, isInRange, isInclusiveAncestor, isIndeterminate, isInvalid, isLabelable, isListed, isMutable, isNumericType, isOptional, isOutOfRange, isPlaceholderShown, isReadOnly, isReadWrite, isRequired, isResettable, isSubmitButton, isSubmittable, isTextControl, isTextualType, isValid, isValidDoctypeName, isValidElementLocalName, isValidNamespacePrefix, isVisibilityHidden, labeledControl, labelsFor, lastElementChild, listOfOptions, matchMediaText, matches, mediaEnvironment, nextElementInTree, nextElementSibling, nextInTree, nextSkippingChildren, nodeCache, nodeGetTheParent, nodeLength, notifyMutationObservers, optionSelected, parseDeclBlock, parseFragment, parseMediaQueryList, peekDerivedCache, pointerEvents, pointerEventsNone, previousElementSibling, previousInTree, pseudoContent, querySelector, querySelectorAll, quote, registerOwnerSheet, removeAllEventListeners, removeAttribute, removeOwnerSheet, replaceData, reportException, resolveCompat, restoreInterfaces, retarget, serializeChildren, serializeNode, setAdoptedStyleSheets, setAssignedSlotLookup, setAttribute, setCheckedFromUI, setComputedColorMode, setEventHandler, setFailureSnapshot, setFilesFromUI, setNodeDescriber, setNotImplementedHandler, setOptionSelectedFromUI, setTrusted, setUISelection, setUIValue, setUncaughtExceptionHandler, skipIdleTime, spanChannel, splitOnAsciiWhitespace, splitText, styleElementRemoved, styleElementSheet, styleElementUpdated, styleSheetsOf, subscribeTestFailures, supportsSelection, supportsSelectionType, tagId, tagName, tracePromise, traceSync, tracing, trackGlobalTimers, treeRoot, uaDisplay, unregisterOwnerSheet, validateAndExtract, valueMode, virtualDate, virtualPerformance, windowHooks, windowInterfaces, withNamedProperties } = dom;
@@ -1,3 +1,4 @@
1
+ import { AsyncResource } from "node:async_hooks";
1
2
  import { setTimeout as setTimeout$1 } from "node:timers";
2
3
  import { availableParallelism } from "node:os";
3
4
 
@@ -126,6 +127,15 @@ var TimerRecord = class {
126
127
  real;
127
128
  /** realNow() at which `real` fires. */
128
129
  realDue;
130
+ /** Cleared (or its clock disposed): Node's refresh() then does nothing. */
131
+ cleared;
132
+ /**
133
+ * The async context setTimeout was called in (https://nodejs.org/api/async_context.html):
134
+ * Node runs a timer's callback in it, while this clock fires from its own host timer or driver.
135
+ * An AsyncResource, as Node's own Timeout is: ~0.015 µs to capture, 30x less than
136
+ * AsyncLocalStorage.snapshot()'s bound closure.
137
+ */
138
+ context;
129
139
  constructor(id, due, seq, delay, repeat, callback, args) {
130
140
  this.id = id;
131
141
  this.due = due;
@@ -139,6 +149,8 @@ var TimerRecord = class {
139
149
  this.handle = null;
140
150
  this.real = null;
141
151
  this.realDue = 0;
152
+ this.cleared = false;
153
+ this.context = new AsyncResource("Timeout");
142
154
  }
143
155
  };
144
156
  /** The handle setTimeout/setInterval return: Node's Timeout API surface. */
@@ -160,6 +172,10 @@ var VirtualTimeout = class {
160
172
  hasRef() {
161
173
  return this.#record.ref;
162
174
  }
175
+ /** Node's flag for a one-shot that ran or any cleared timer (window/timers.ts sweeps on it). */
176
+ get _destroyed() {
177
+ return !this.#clock.byId.has(this.#record.id);
178
+ }
163
179
  /** Restart the timer with its original delay from now. */
164
180
  refresh() {
165
181
  this.#clock._refresh(this.#record);
@@ -196,6 +212,8 @@ var VirtualClock = class {
196
212
  refCount;
197
213
  hostTimer;
198
214
  hostDue;
215
+ /** Whether hostTimer is ref'd (a new host timer starts ref'd), so updateHostRef calls Node only on a change. */
216
+ hostRefd;
199
217
  continuation;
200
218
  driverScheduled;
201
219
  /** The driver's next turn is a queued immediate (not the 1 ms timer it waits on during I/O). */
@@ -203,6 +221,8 @@ var VirtualClock = class {
203
221
  idleTurns;
204
222
  disposed;
205
223
  baseline;
224
+ /** busy()'s per-probe I/O counts, reused. */
225
+ ioCounts;
206
226
  constructor(options = {}) {
207
227
  this.skipped = 0;
208
228
  this.epochOffset = Date.now() - realNow();
@@ -214,11 +234,13 @@ var VirtualClock = class {
214
234
  this.refCount = 0;
215
235
  this.hostTimer = null;
216
236
  this.hostDue = Infinity;
237
+ this.hostRefd = true;
217
238
  this.continuation = false;
218
239
  this.driverScheduled = false;
219
240
  this.driverImmediate = false;
220
241
  this.idleTurns = 0;
221
242
  this.disposed = false;
243
+ this.ioCounts = /* @__PURE__ */ new Map();
222
244
  if (this.skip) {
223
245
  if (typeof process === "object") {
224
246
  process.stdout;
@@ -263,6 +285,7 @@ var VirtualClock = class {
263
285
  const record = this.byId.get(id);
264
286
  if (record === void 0) return false;
265
287
  this.byId.delete(id);
288
+ record.cleared = true;
266
289
  if (record.ref) this.refCount--;
267
290
  if (record.real !== null) {
268
291
  hostClearTimeout(record.real);
@@ -324,9 +347,10 @@ var VirtualClock = class {
324
347
  if (this.disposed || !this.byId.has(record.id)) return;
325
348
  if (record.repeat) this.toRealTrack(record, record.delay);
326
349
  else this.byId.delete(record.id);
327
- record.callback.apply(record.handle, record.args);
350
+ record.context.runInAsyncScope(Reflect.apply, null, record.callback, record.handle, record.args);
328
351
  }
329
352
  _refresh(record) {
353
+ if (record.cleared || this.disposed) return;
330
354
  if (record.real !== null) {
331
355
  hostClearTimeout(record.real);
332
356
  record.real = null;
@@ -336,6 +360,10 @@ var VirtualClock = class {
336
360
  if (!this.byId.has(record.id)) {
337
361
  this.byId.set(record.id, record);
338
362
  if (record.ref) this.refCount++;
363
+ else if (this.skip) {
364
+ this.toRealTrack(record, record.delay);
365
+ return;
366
+ }
339
367
  } else if (record.index !== -1) this.remove(record);
340
368
  record.due = this.now() + record.delay;
341
369
  record.seq = this.seq++;
@@ -348,12 +376,14 @@ var VirtualClock = class {
348
376
  for (const record of this.byId.values()) {
349
377
  if (record.real !== null) hostClearTimeout(record.real);
350
378
  record.real = null;
379
+ record.cleared = true;
351
380
  }
352
381
  if (this.hostTimer !== null) hostClearTimeout(this.hostTimer);
353
382
  this.hostTimer = null;
354
383
  this.heap.length = 0;
355
384
  this.byId.clear();
356
385
  this.refCount = 0;
386
+ if (activeClock === this) activeClock = null;
357
387
  }
358
388
  /** Keep one real host timer armed for the earliest due timer (ref'd while any timer is). */
359
389
  armHost() {
@@ -365,18 +395,27 @@ var VirtualClock = class {
365
395
  this.hostDue = Infinity;
366
396
  return;
367
397
  }
368
- if (this.hostTimer !== null && this.hostDue === first.due) return;
398
+ if (this.hostTimer !== null && this.hostDue === first.due) {
399
+ this.updateHostRef();
400
+ return;
401
+ }
369
402
  if (this.hostTimer !== null) hostClearTimeout(this.hostTimer);
370
403
  this.hostDue = first.due;
371
404
  this.hostTimer = hostSetTimeout(this.onHostTimer, Math.max(0, first.due - this.now()));
405
+ this.hostRefd = true;
372
406
  this.updateHostRef();
373
407
  }
374
408
  updateHostRef() {
375
409
  const timer = this.hostTimer;
376
- if (timer === null) return;
377
- if (this.refCount > 0) timer.ref?.();
410
+ const ref = this.refCount > 0;
411
+ if (timer === null || ref === this.hostRefd) return;
412
+ this.hostRefd = ref;
413
+ if (ref) timer.ref?.();
378
414
  else timer.unref?.();
379
415
  }
416
+ fireContinuation = () => {
417
+ this.fireNext();
418
+ };
380
419
  onHostTimer = () => {
381
420
  this.hostTimer = null;
382
421
  this.hostDue = Infinity;
@@ -397,7 +436,7 @@ var VirtualClock = class {
397
436
  if (this.skip && first.due > this.now()) this.skipped += first.due - this.now();
398
437
  this.pop();
399
438
  if (first.repeat) {
400
- first.due = Math.max(first.due + first.delay, this.now());
439
+ first.due = this.now() + first.delay;
401
440
  first.seq = this.seq++;
402
441
  this.push(first);
403
442
  } else {
@@ -405,11 +444,11 @@ var VirtualClock = class {
405
444
  if (first.ref) this.refCount--;
406
445
  }
407
446
  const next = this.heap[0];
408
- if (next !== void 0 && next.due <= this.now() + 1) {
447
+ if (next !== void 0 && next.due <= this.now() + (this.skip ? 1 : 0)) {
409
448
  this.continuation = true;
410
- hostSetImmediate(() => this.fireNext());
449
+ hostSetImmediate(this.fireContinuation);
411
450
  } else this.armHost();
412
- first.callback.apply(first.handle, first.args);
451
+ first.context.runInAsyncScope(Reflect.apply, null, first.callback, first.handle, first.args);
413
452
  }
414
453
  kickDriver() {
415
454
  if (!this.skip || this.driverScheduled || this.disposed) return;
@@ -455,13 +494,17 @@ var VirtualClock = class {
455
494
  if (this.hostTimer !== null) hostClearTimeout(this.hostTimer);
456
495
  this.hostTimer = null;
457
496
  this.hostDue = Infinity;
458
- this.fireNext();
459
- this.kickDriver();
497
+ try {
498
+ this.fireNext();
499
+ } finally {
500
+ this.kickDriver();
501
+ }
460
502
  };
461
503
  /** null when idle; "immediate" when immediates are pending; "io" when I/O beyond the baseline is. */
462
504
  busy() {
463
505
  if (getActiveResourcesInfo === null) return "io";
464
- const counts = /* @__PURE__ */ new Map();
506
+ const counts = this.ioCounts;
507
+ counts.clear();
465
508
  const resources = getActiveResourcesInfo();
466
509
  for (let i = 0; i < resources.length; i++) {
467
510
  const type = resources[i];
@@ -647,6 +690,36 @@ function virtualPerformance(clock, native) {
647
690
  configurable: true,
648
691
  enumerable: true
649
692
  });
693
+ const mark = native.mark.bind(native);
694
+ const measure = native.measure.bind(native);
695
+ Object.defineProperty(perf, "mark", {
696
+ value: (name, options) => mark(name, options?.startTime === void 0 ? {
697
+ ...options,
698
+ startTime: clock.now()
699
+ } : options),
700
+ writable: true,
701
+ configurable: true,
702
+ enumerable: true
703
+ });
704
+ Object.defineProperty(perf, "measure", {
705
+ value: (name, start, end) => {
706
+ if (typeof start === "object" && start !== null) {
707
+ const open = start.end === void 0 && start.duration === void 0;
708
+ return measure(name, open ? {
709
+ ...start,
710
+ end: clock.now()
711
+ } : start);
712
+ }
713
+ if (end !== void 0) return measure(name, start, end);
714
+ return measure(name, start === void 0 ? { end: clock.now() } : {
715
+ start,
716
+ end: clock.now()
717
+ });
718
+ },
719
+ writable: true,
720
+ configurable: true,
721
+ enumerable: true
722
+ });
650
723
  return perf;
651
724
  }
652
725
  /**
@@ -47534,4 +47607,4 @@ var src_exports = /* @__PURE__ */ __exportAll({
47534
47607
  });
47535
47608
  registerDomNamespace(src_exports);
47536
47609
 
47537
- export { sanitizeValue as $, CharacterData as $a, $el$1 as $c, DOCUMENT_FRAGMENT_NODE as $d, ValidityState as $i, $mediaQueryLists as $l, attrAssociatedElements as $n, NodeImpl as $o, createOwnerSheet as $r, $availableToElementInternals as $s, HTMLMediaElement as $t, $settled as $u, FileReader as A, DOMMatrix as Aa, $cookies as Ac, $w as Ad, TEXT_NODE as Af, CSSSupportsRule as Ai, $implementation as Al, HTMLObjectElement as An, setAttribute as Ao, defaultButton as Ar, DragEvent as As, SVGScriptElement as At, $records as Au, HTMLOutputElement as B, validateAndExtract as Ba, $defaultValueOverride as Bc, VirtualClock as Bd, fireSyntheticPointerEvent as Bi, $items as Bl, HTMLTableColElement as Bn, childAt as Bo, computedVisibility as Br, UIEvent as Bs, SVGTitleElement as Bt, $scrollRestoration as Bu, optionSelected as C, installEventHandlers as Ca, $constructed as Cc, $userActivation as Cd, F_MO_REGISTERED as Cf, CSSPropertyRule as Ci, $host as Cl, HTMLLIElement as Cn, asciiLowercase$1 as Co, AbstractRange as Cr, PromiseRejectionEvent as Cs, SVGPathElement as Ct, $pseudo as Cu, DataTransferItemList as D, getElementsByClassName as Da, $controlsDoc as Dc, $value as Dd, NOTATION_NODE as Df, CSSStartingStyleRule as Di, $idleId as Dl, HTMLMetaElement as Dn, hasAttr as Do, nodeLength as Dr, TransitionEvent as Ds, SVGRadialGradientElement as Dt, $readonly as Du, DataTransferItem as E, attachShadowRoot as Ea, $controlsCache as Ec, $validity as Ed, MATHML_NS as Ef, CSSScopeRule as Ei, $idleCallbacks as El, HTMLMenuElement as En, getAttribute as Eo, compareBoundaryPoints as Er, ToggleEvent as Es, SVGPolylineElement as Et, $rawValue as Eu, FormData$1 as F, DOMRectList as Fa, $cx as Fc, $writeBuffer as Fd, parseMediaQueryList as Fi, $info as Fl, HTMLQuoteElement as Fn, NodeList as Fo, styleElementRemoved as Fr, PointerEvent as Fs, SVGTSpanElement as Ft, $rules as Fu, HTMLButtonElement as G, DOMTokenList as Ga, $dirtyChecked as Gc, foreignImmediatesPending as Gd, deferredCompatMembers as Gi, $list as Gl, HTMLTrackElement as Gn, nextElementInTree as Go, isVisibilityHidden as Gr, EventState as Gs, HTMLStyleElement as Gt, $selSet as Gu, HTMLFieldSetElement as H, attrNode as Ha, $derived as Hc, clockNow as Hd, COMPAT_PROFILES as Hi, $kind as Hl, HTMLTableRowElement as Hn, indexOf as Ho, hasAuthorStyles as Hr, hasListeners as Hs, SVGViewElement as Ht, $scrollY as Hu, installedWindowMethods as I, DOMRectReadOnly as Ia, $data as Ic, $x as Id, NodeCache as Ii, $innerHeight as Il, HTMLSourceElement as In, ensureIndexGetters as Io, styleElementUpdated as Ir, TextEvent as Is, SVGTextContentElement as It, $running as Iu, Option as J, serializeNode as Ja, $disallowModification as Jc, virtualDate as Jd, CSSStyleDeclaration as Ji, $location as Jl, Image as Jn, nextSkippingChildren as Jo, pseudoContent as Jr, $aboutBase as Js, HTMLTemplateElement as Jt, $selectedness as Ju, HTMLOptGroupElement as K, ShadowRoot as Ka, $dirtyValue as Kc, installClock as Kd, hiddenGlobals as Ki, $listeners as Kl, HTMLUListElement as Kn, nextElementSibling as Ko, pointerEvents as Kr, setTrusted as Ks, HTMLTitleElement as Kt, $selStart as Ku, HTMLFormElement as L, isValidDoctypeName as La, $dataset as Lc, $xhr as Ld, nodeCache as Li, $innerWidth as Ll, HTMLSpanElement as Ln, indexGetterTable as Lo, getComputedStyle as Lr, Touch as Ls, SVGTextElement as Lt, $runningFrame as Lu, XMLHttpRequestEventTarget as M, DOMPoint as Ma, $current as Mc, $whenDefined as Md, XMLNS_NS as Mf, StyleSheet as Mi, $index as Ml, HTMLParamElement as Mn, activeObservers as Mo, isSubmitButton as Mr, InputEvent as Ms, SVGStyleElement as Mt, $reference as Mu, XMLHttpRequestUpload as N, DOMPointReadOnly as Na, $customElements as Nc, $width as Nd, XML_NS as Nf, StyleSheetList as Ni, $indexed as Nl, HTMLPictureElement as Nn, notifyMutationObservers as No, setNotImplementedHandler as Nr, KeyboardEvent as Ns, SVGSwitchElement as Nt, $result as Nu, IntersectionObserver as O, getElementsByTagName as Oa, $controlsVersion as Oc, $version as Od, PROCESSING_INSTRUCTION_NODE as Of, CSSStyleRule as Oi, $ids as Ol, HTMLModElement as On, isAsciiWhitespace as Oo, CommandEvent as Or, ClipboardEvent as Os, SVGRectElement as Ot, $readyState as Ou, installGlobals as P, DOMRect as Pa, $customValidity as Pc, $window as Pd, matchMediaText as Pi, $inflight as Pl, HTMLPreElement as Pn, MutationRecord as Po, isEditable as Pr, MouseEvent as Ps, SVGSymbolElement as Pt, $root as Pu, HTMLInputElement as Q, CDATASection as Qa, $effectAllowed as Qc, COMMENT_NODE as Qd, isFACE as Qi, $media as Ql, attrAssociatedElement as Qn, AttrRecord as Qo, createLinkSheet as Qr, $attributes as Qs, HTMLAudioElement as Qt, $sessionStorage as Qu, HTMLDataListElement as R, isValidElementLocalName as Ra, $declarative as Rc, $y as Rd, dispatchTrusted as Ri, $is2D as Rl, HTMLTableCaptionElement as Rn, derivedCache as Ro, computedDisplay as Rr, TouchEvent as Rs, SVGTextPathElement as Rt, $sc as Ru, isValid as S, getEventHandler as Sa, $condition as Sc, $url as Sd, F_HTML as Sf, CSSPageRule as Si, $home as Sl, HTMLImageElement as Sn, tagName as So, TreeWalker as Sr, ProgressEvent as Ss, SVGMetadataElement as St, $presentationStyle as Su, DataTransfer as T, Element as Ta, $contentType as Tc, $userValidity as Td, HTML_NS as Tf, CSSRuleList as Ti, $id as Tl, HTMLMarqueeElement as Tn, classTokens as To, StaticRange as Tr, SubmitEvent as Ts, SVGPolygonElement as Tt, $ranges as Tu, HTMLLegendElement as U, Attr as Ua, $devicePixelRatio as Uc, clockSkipped as Ud, DEFAULT_COMPAT as Ui, $labels as Ul, HTMLTableSectionElement as Un, isInclusiveAncestor as Uo, isDisplayNone as Ur, removeAllEventListeners as Us, HTMLLinkElement as Ut, $selDir as Uu, HTMLProgressElement as V, NamedNodeMap as Va, $delegatesFocus as Vc, VirtualTimeout as Vd, COMPAT as Vi, $keyText as Vl, HTMLTableElement as Vn, firstElementChild as Vo, currentStyleVersion as Vr, WheelEvent as Vs, SVGUseElement as Vt, $scrollX as Vu, HTMLLabelElement as W, DOMStringMap as Wa, $dirtiness as Wc, clockStats as Wd, compatExposes as Wi, $layerName as Wl, HTMLTimeElement as Wn, lastElementChild as Wo, isDisplayNoneInclusive as Wr, Event as Ws, HTMLScriptElement as Wt, $selEnd as Wu, HTMLSelectElement as X, DocumentType as Xa, $dropEffect as Xc, ATTRIBUTE_NODE as Xd, parseDeclBlock as Xi, $m as Xl, ElementInternals as Xn, previousInTree as Xo, uaDisplay as Xr, $assocGen as Xs, HTMLDialogElement as Xt, $selector as Xu, optionSelect as Y, parseFragment as Ya, $doc as Yc, virtualPerformance as Yd, DeclBlock as Yi, $lockedForReset as Yl, CustomStateSet as Yn, previousElementSibling as Yo, setComputedColorMode as Yr, $active as Ys, HTMLDetailsElement as Yt, $selection as Yu, HTMLTextAreaElement as Z, DocumentFragment as Za, $ec as Zc, CDATA_SECTION_NODE as Zd, faceState as Zi, $matches as Zl, HTMLElement as Zn, treeRoot as Zo, adoptedStyleSheetsOf as Zr, $attr as Zs, Audio as Zt, $serializable as Zu, isPlaceholderShown as _, supportsSelectionType as _a, $clonable as _c, $types as _d, F_CONNECT_HOOK as _f, CSSLayerBlockRule as _i, $generation as _l, HTMLHRElement as _n, assignedSlot as _o, XMLDocument as _r, FormDataEvent as _s, SVGImageElement as _t, $preChecked as _u, inputIndeterminate as a, isActuallyDisabled as aa, $block as ac, $so as ad, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC as af, MediaQueryList as ai, $files as al, HTMLBRElement as an, withNamedProperties as ao, Storage as ar, setAssignedSlotLookup as as, SVGCircleElement as at, $nodes as au, isRequired as b, GLOBAL_EVENT_HANDLER_EVENTS as ba, $compiled as bc, $updatingSelectedContent as bd, F_HAS_SHADOW as bf, CSSNamespaceRule as bi, $height as bl, HTMLHtmlElement as bn, T as bo, NodeFilter as br, PageTransitionEvent as bs, SVGMarkerElement as bt, $prefix as bu, isDefault as c, isResettable as ca, $cache as cc, $styleVersion as cd, ELEMENT_NODE as cf, MediaQueryListEvent as ci, $firingSubmissionEvents as cl, HTMLCanvasElement as cn, querySelector as co, Clipboard as cr, currentDocument as cs, SVGDescElement as ct, $owner as cu, isInRange as d, labelsFor as da, $checkedSet as dc, $target as dd, F_ADOPT_HOOK as df, CSSContainerRule as di, $forms as dl, HTMLDirectoryElement as dn, inspectNode as do, History as dr, setCurrentWindow as ds, SVGFilterElement as dt, $parent as du, HTMLFormControlsCollection as ea, $badInput as ec, $shadowRoot as ed, DOCUMENT_NODE as ef, registerOwnerSheet as ei, $elements as el, HTMLVideoElement as en, Comment as eo, hasExplicitAttrElements as er, EventTarget as es, FileList as et, $mode as eu, isIndeterminate as f, INPUT_TYPE_NAMES as fa, $childNodes as fc, $targets as fd, F_ATTR_HOOK as ff, CSSFontFaceRule as fi, $frameCallbacks as fl, HTMLDivElement as fn, replaceData as fo, Location as fr, AnimationEvent as fs, SVGForeignObjectElement as ft, $parentRule as fu, isOutOfRange as g, isTextualType as ga, $clipboard as gc, $type as gd, F_CONNECTED as gf, CSSKeyframesRule as gi, $frameTime as gl, HTMLFrameSetElement as gn, assignedNodes as go, Document as gr, ErrorEvent as gs, SVGGraphicsElement as gt, $preApplied as gu, isOptional as h, isNumericType as ha, $classList as hc, $title as hd, F_CHILD_LIST as hf, CSSKeyframeRule as hi, $frameTask as hl, HTMLFrameElement as hn, assignedElements as ho, DOMImplementation as hr, CustomEvent as hs, SVGGradientElement as ht, $pointerBeforeReference as hu, inputChecked as i, formOwner as ia, $baseVersion as ic, $slotAssignment as id, DOCUMENT_POSITION_FOLLOWING as if, unregisterOwnerSheet as ii, $file as il, HTMLAreaElement as in, ensureCollectionIndexGetters as io, trackGlobalTimers as ir, retarget as is, SVGAnimatedString as it, $navigator as iu, XMLHttpRequest as j, DOMMatrixReadOnly as ja, $css as jc, $whatToShow as jd, XLINK_NS as jf, MediaList as ji, $indeterminate as jl, HTMLParagraphElement as jn, splitOnAsciiWhitespace as jo, implicitSubmission as jr, FocusEvent as js, SVGStopElement as jt, $rects as ju, ResizeObserver as k, getElementsByTagNameNS as ka, $cookieJar as kc, $visualViewport as kd, SVG_NS as kf, CSSStyleSheet as ki, $impl as kl, HTMLOListElement as kn, removeAttribute as ko, constructEntryList as kr, CompositionEvent as ks, SVGSVGElement as kt, $record as ku, isDisabled as l, isSubmittable as la, $callback as lc, $supportsText as ld, ENTITY_NODE as lf, windowHooks as li, $focused as ll, HTMLDListElement as ln, querySelectorAll as lo, ClipboardItem as lr, currentWindow as ls, SVGElement as lt, $ownerNode as lu, isMutable as m, inputTypeFromAttr as ma, $children as mc, $timers as md, F_CHILDREN_HOOK as mf, CSSImportRule as mi, $frameId as ml, HTMLFontElement as mn, assignManually as mo, XMLSerializer as mr, CloseEvent as ms, SVGGeometryElement as mt, $pastNames as mu, controlValue as n, RadioNodeList as na, $baseOverride as nc, $sheet as nd, DOCUMENT_POSITION_CONTAINS as nf, setAdoptedStyleSheets as ni, $eo as nl, TimeRanges as nn, Text as no, createWindow as nr, getCurrentEvent as ns, MathMLElement as nt, $names as nu, isAutofilled as o, isLabelable as oa, $byCtor as oc, $states as od, DOCUMENT_POSITION_PRECEDING as of, evaluateMediaQueryList as oi, $fill as ol, HTMLBaseElement as on, closest as oo, Screen as or, reportException$1 as os, SVGClipPathElement as ot, $onchange as ou, isInvalid as p, inputType as pa, $childWindows as pc, $tasks as pd, F_CE_CUSTOM as pf, CSSGroupingRule as pi, $frameElement as pl, HTMLEmbedElement as pn, splitText as po, DOMParser as pr, BeforeUnloadEvent as ps, SVGGElement as pt, $parentWindow as pu, HTMLOptionElement as q, serializeChildren as qa, $disabled as qc, skipIdleTime as qd, resolveCompat as qi, $localStorage as ql, HTMLUnknownElement as qn, nextInTree as qo, pointerEventsNone as qr, $_proto__ as qs, HTMLSlotElement as qt, $selectedOptions as qu, hasReadonlyAttribute as r, listOfOptions as ra, $baseURL as rc, $sheets as rd, DOCUMENT_POSITION_DISCONNECTED as rf, styleSheetsOf as ri, $error as rl, HTMLAnchorElement as rn, HTMLCollection as ro, windowInterfaces as rr, nodeGetTheParent as rs, SVGAElement as rt, $namespaces as ru, isChecked as s, isListed as sa, $byName as sc, $style as sd, DOCUMENT_TYPE_NODE as sf, mediaEnvironment as si, $filter as sl, HTMLBodyElement as sn, matches as so, VisualViewport as sr, setUncaughtExceptionHandler as ss, SVGDefsElement as st, $options as su, CSS as t, HTMLOptionsCollection as ta, $baseFor as tc, $shed as td, DOCUMENT_POSITION_CONTAINED_BY as tf, removeOwnerSheet as ti, $entries as tl, MediaError as tn, ProcessingInstruction as to, Window as tr, dispatch as ts, createFileList as tt, $name as tu, isEnabled as u, labeledControl as ua, $checked as uc, $systemId as ud, ENTITY_REFERENCE_NODE as uf, CSSConditionRule as ui, $form as ul, HTMLDataElement as un, Node as uo, Navigator as ur, currentWindowOrNull as us, SVGEllipseElement as ut, $ownerRule as uu, isReadOnly as v, valueMode as va, $closed as vc, $uiValue as vd, F_CUSTOM as vf, CSSLayerStatementRule as vi, $globalObject as vl, HTMLHeadElement as vn, findFlattenedSlottables as vo, createEvent as vr, HashChangeEvent as vs, SVGLineElement as vt, $preCheckedRadio as vu, MutationObserver as w, setEventHandler as wa, $constructingEntryList as wc, $userEdited as wd, F_SHADOW_ROOT as wf, CSSRule as wi, $href as wl, HTMLMapElement as wn, attr as wo, Range as wr, StorageEvent as ws, SVGPatternElement as wt, $queries as wu, isTextControl as x, WINDOW_EVENT_HANDLER_EVENTS as xa, $compiledFor as xc, $uri as xd, F_HAS_STYLE_ATTR as xf, CSSNestedDeclarations as xi, $history as xl, HTMLIFrameElement as xn, tagId as xo, NodeIterator as xr, PopStateEvent as xs, SVGMaskElement as xt, $prelude as xu, isReadWrite as y, CustomElementRegistry as ya, $coll as yc, $updating as yd, F_FACE as yf, CSSMediaRule as yi, $hasTransients as yl, HTMLHeadingElement as yn, findSlot as yo, Selection as yr, MessageEvent as ys, SVGLinearGradientElement as yt, $preIndeterminate as yu, HTMLMeterElement as z, isValidNamespacePrefix as za, $defaultNamespace as zc, $z as zd, fireAnEvent as zi, $isHTML as zl, HTMLTableCellElement as zn, peekDerivedCache as zo, computedValue as zr, TouchList as zs, SVGTextPositioningElement as zt, $screen as zu };
47610
+ export { sanitizeValue as $, CharacterData as $a, $elements as $c, DOCUMENT_NODE as $d, ValidityState as $i, $mode as $l, attrAssociatedElements as $n, EventTarget as $o, createOwnerSheet as $r, $badInput as $s, HTMLMediaElement as $t, $shadowRoot as $u, FileReader as A, DOMMatrix as Aa, $css as Ac, $whatToShow as Ad, XLINK_NS as Af, CSSSupportsRule as Ai, $indeterminate as Al, HTMLObjectElement as An, setAttribute as Ao, defaultButton as Ar, FocusEvent as As, SVGScriptElement as At, $rects as Au, HTMLOutputElement as B, validateAndExtract as Ba, $delegatesFocus as Bc, VirtualTimeout as Bd, fireSyntheticPointerEvent as Bi, $keyText as Bl, HTMLTableColElement as Bn, firstElementChild as Bo, computedVisibility as Br, WheelEvent as Bs, SVGTitleElement as Bt, $scrollX as Bu, optionSelected as C, installEventHandlers as Ca, $constructingEntryList as Cc, $userEdited as Cd, F_SHADOW_ROOT as Cf, CSSPropertyRule as Ci, $href as Cl, HTMLLIElement as Cn, asciiLowercase$1 as Co, AbstractRange as Cr, StorageEvent as Cs, SVGPathElement as Ct, $queries as Cu, DataTransferItemList as D, getElementsByClassName as Da, $controlsVersion as Dc, $version as Dd, PROCESSING_INSTRUCTION_NODE as Df, CSSStartingStyleRule as Di, $ids as Dl, HTMLMetaElement as Dn, hasAttr as Do, nodeLength as Dr, ClipboardEvent as Ds, SVGRadialGradientElement as Dt, $readyState as Du, DataTransferItem as E, attachShadowRoot as Ea, $controlsDoc as Ec, $value as Ed, NOTATION_NODE as Ef, CSSScopeRule as Ei, $idleId as El, HTMLMenuElement as En, getAttribute as Eo, compareBoundaryPoints as Er, TransitionEvent as Es, SVGPolylineElement as Et, $readonly as Eu, FormData$1 as F, DOMRectList as Fa, $data as Fc, $x as Fd, parseMediaQueryList as Fi, $innerHeight as Fl, HTMLQuoteElement as Fn, ensureIndexGetters as Fo, styleElementRemoved as Fr, TextEvent as Fs, SVGTSpanElement as Ft, $running as Fu, HTMLButtonElement as G, DOMTokenList as Ga, $dirtyValue as Gc, installClock as Gd, deferredCompatMembers as Gi, $listeners as Gl, HTMLTrackElement as Gn, nextElementSibling as Go, isVisibilityHidden as Gr, setTrusted as Gs, HTMLStyleElement as Gt, $selStart as Gu, HTMLFieldSetElement as H, attrNode as Ha, $devicePixelRatio as Hc, clockSkipped as Hd, COMPAT_PROFILES as Hi, $labels as Hl, HTMLTableRowElement as Hn, isInclusiveAncestor as Ho, hasAuthorStyles as Hr, removeAllEventListeners as Hs, SVGViewElement as Ht, $selDir as Hu, installedWindowMethods as I, DOMRectReadOnly as Ia, $dataset as Ic, $xhr as Id, NodeCache as Ii, $innerWidth as Il, HTMLSourceElement as In, indexGetterTable as Io, styleElementUpdated as Ir, Touch as Is, SVGTextContentElement as It, $runningFrame as Iu, Option as J, serializeNode as Ja, $doc as Jc, virtualPerformance as Jd, CSSStyleDeclaration as Ji, $lockedForReset as Jl, Image as Jn, previousElementSibling as Jo, pseudoContent as Jr, $active as Js, HTMLTemplateElement as Jt, $selection as Ju, HTMLOptGroupElement as K, ShadowRoot as Ka, $disabled as Kc, skipIdleTime as Kd, hiddenGlobals as Ki, $localStorage as Kl, HTMLUListElement as Kn, nextInTree as Ko, pointerEvents as Kr, $_proto__ as Ks, HTMLTitleElement as Kt, $selectedOptions as Ku, HTMLFormElement as L, isValidDoctypeName as La, $declarative as Lc, $y as Ld, nodeCache as Li, $is2D as Ll, HTMLSpanElement as Ln, derivedCache as Lo, getComputedStyle as Lr, TouchEvent as Ls, SVGTextElement as Lt, $sc as Lu, XMLHttpRequestEventTarget as M, DOMPoint as Ma, $customElements as Mc, $width as Md, XML_NS as Mf, StyleSheet as Mi, $indexed as Ml, HTMLParamElement as Mn, notifyMutationObservers as Mo, isSubmitButton as Mr, KeyboardEvent as Ms, SVGStyleElement as Mt, $result as Mu, XMLHttpRequestUpload as N, DOMPointReadOnly as Na, $customValidity as Nc, $window as Nd, StyleSheetList as Ni, $inflight as Nl, HTMLPictureElement as Nn, MutationRecord as No, setNotImplementedHandler as Nr, MouseEvent as Ns, SVGSwitchElement as Nt, $root as Nu, IntersectionObserver as O, getElementsByTagName as Oa, $cookieJar as Oc, $visualViewport as Od, SVG_NS as Of, CSSStyleRule as Oi, $impl as Ol, HTMLModElement as On, isAsciiWhitespace as Oo, CommandEvent as Or, CompositionEvent as Os, SVGRectElement as Ot, $record as Ou, installGlobals as P, DOMRect as Pa, $cx as Pc, $writeBuffer as Pd, matchMediaText as Pi, $info as Pl, HTMLPreElement as Pn, NodeList as Po, isEditable as Pr, PointerEvent as Ps, SVGSymbolElement as Pt, $rules as Pu, HTMLInputElement as Q, CDATASection as Qa, $el$1 as Qc, DOCUMENT_FRAGMENT_NODE as Qd, isFACE as Qi, $mediaQueryLists as Ql, attrAssociatedElement as Qn, NodeImpl as Qo, createLinkSheet as Qr, $availableToElementInternals as Qs, HTMLAudioElement as Qt, $settled as Qu, HTMLDataListElement as R, isValidElementLocalName as Ra, $defaultNamespace as Rc, $z as Rd, dispatchTrusted as Ri, $isHTML as Rl, HTMLTableCaptionElement as Rn, peekDerivedCache as Ro, computedDisplay as Rr, TouchList as Rs, SVGTextPathElement as Rt, $screen as Ru, isValid as S, getEventHandler as Sa, $constructed as Sc, $userActivation as Sd, F_MO_REGISTERED as Sf, CSSPageRule as Si, $host as Sl, HTMLImageElement as Sn, tagName as So, TreeWalker as Sr, PromiseRejectionEvent as Ss, SVGMetadataElement as St, $pseudo as Su, DataTransfer as T, Element as Ta, $controlsCache as Tc, $validity as Td, MATHML_NS as Tf, CSSRuleList as Ti, $idleCallbacks as Tl, HTMLMarqueeElement as Tn, classTokens as To, StaticRange as Tr, ToggleEvent as Ts, SVGPolygonElement as Tt, $rawValue as Tu, HTMLLegendElement as U, Attr as Ua, $dirtiness as Uc, clockStats as Ud, DEFAULT_COMPAT as Ui, $layerName as Ul, HTMLTableSectionElement as Un, lastElementChild as Uo, isDisplayNone as Ur, Event as Us, HTMLLinkElement as Ut, $selEnd as Uu, HTMLProgressElement as V, NamedNodeMap as Va, $derived as Vc, clockNow as Vd, COMPAT as Vi, $kind as Vl, HTMLTableElement as Vn, indexOf as Vo, currentStyleVersion as Vr, hasListeners as Vs, SVGUseElement as Vt, $scrollY as Vu, HTMLLabelElement as W, DOMStringMap as Wa, $dirtyChecked as Wc, foreignImmediatesPending as Wd, compatExposes as Wi, $list as Wl, HTMLTimeElement as Wn, nextElementInTree as Wo, isDisplayNoneInclusive as Wr, EventState as Ws, HTMLScriptElement as Wt, $selSet as Wu, HTMLSelectElement as X, DocumentType as Xa, $ec as Xc, CDATA_SECTION_NODE as Xd, parseDeclBlock as Xi, $matches as Xl, ElementInternals as Xn, treeRoot as Xo, uaDisplay as Xr, $attr as Xs, HTMLDialogElement as Xt, $serializable as Xu, optionSelect as Y, parseFragment as Ya, $dropEffect as Yc, ATTRIBUTE_NODE as Yd, DeclBlock as Yi, $m as Yl, CustomStateSet as Yn, previousInTree as Yo, setComputedColorMode as Yr, $assocGen as Ys, HTMLDetailsElement as Yt, $selector as Yu, HTMLTextAreaElement as Z, DocumentFragment as Za, $effectAllowed as Zc, COMMENT_NODE as Zd, faceState as Zi, $media as Zl, HTMLElement as Zn, AttrRecord as Zo, adoptedStyleSheetsOf as Zr, $attributes as Zs, Audio as Zt, $sessionStorage as Zu, isPlaceholderShown as _, supportsSelectionType as _a, $closed as _c, $uiValue as _d, F_CUSTOM as _f, CSSLayerBlockRule as _i, $globalObject as _l, HTMLHRElement as _n, assignedSlot as _o, XMLDocument as _r, HashChangeEvent as _s, SVGImageElement as _t, $preCheckedRadio as _u, inputIndeterminate as a, isActuallyDisabled as aa, $byCtor as ac, $states as ad, DOCUMENT_POSITION_PRECEDING as af, MediaQueryList as ai, $fill as al, HTMLBRElement as an, withNamedProperties as ao, Storage as ar, reportException$1 as as, SVGCircleElement as at, $onchange as au, isRequired as b, GLOBAL_EVENT_HANDLER_EVENTS as ba, $compiledFor as bc, $uri as bd, F_HAS_STYLE_ATTR as bf, CSSNamespaceRule as bi, $history as bl, HTMLHtmlElement as bn, T as bo, NodeFilter as br, PopStateEvent as bs, SVGMarkerElement as bt, $prelude as bu, isDefault as c, isResettable as ca, $callback as cc, $supportsText as cd, ENTITY_NODE as cf, MediaQueryListEvent as ci, $focused as cl, HTMLCanvasElement as cn, querySelector as co, Clipboard as cr, currentWindow as cs, SVGDescElement as ct, $ownerNode as cu, isInRange as d, labelsFor as da, $childNodes as dc, $targets as dd, F_ATTR_HOOK as df, CSSContainerRule as di, $frameCallbacks as dl, HTMLDirectoryElement as dn, inspectNode as do, History as dr, AnimationEvent as ds, SVGFilterElement as dt, $parentRule as du, HTMLFormControlsCollection as ea, $baseFor as ec, $shed as ed, DOCUMENT_POSITION_CONTAINED_BY as ef, registerOwnerSheet as ei, $entries as el, HTMLVideoElement as en, Comment as eo, hasExplicitAttrElements as er, dispatch as es, FileList as et, $name as eu, isIndeterminate as f, INPUT_TYPE_NAMES as fa, $childWindows as fc, $tasks as fd, F_CE_CUSTOM as ff, CSSFontFaceRule as fi, $frameElement as fl, HTMLDivElement as fn, replaceData as fo, Location as fr, BeforeUnloadEvent as fs, SVGForeignObjectElement as ft, $parentWindow as fu, isOutOfRange as g, isTextualType as ga, $clonable as gc, $types as gd, F_CONNECT_HOOK as gf, CSSKeyframesRule as gi, $generation as gl, HTMLFrameSetElement as gn, assignedNodes as go, Document as gr, FormDataEvent as gs, SVGGraphicsElement as gt, $preChecked as gu, isOptional as h, isNumericType as ha, $clipboard as hc, $type as hd, F_CONNECTED as hf, CSSKeyframeRule as hi, $frameTime as hl, HTMLFrameElement as hn, assignedElements as ho, DOMImplementation as hr, ErrorEvent as hs, SVGGradientElement as ht, $preApplied as hu, inputChecked as i, formOwner as ia, $block as ic, $so as id, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC as if, unregisterOwnerSheet as ii, $files as il, HTMLAreaElement as in, ensureCollectionIndexGetters as io, trackGlobalTimers as ir, setAssignedSlotLookup as is, SVGAnimatedString as it, $nodes as iu, XMLHttpRequest as j, DOMMatrixReadOnly as ja, $current as jc, $whenDefined as jd, XMLNS_NS as jf, MediaList as ji, $index as jl, HTMLParagraphElement as jn, splitOnAsciiWhitespace as jo, implicitSubmission as jr, InputEvent as js, SVGStopElement as jt, $reference as ju, ResizeObserver as k, getElementsByTagNameNS as ka, $cookies as kc, $w as kd, TEXT_NODE as kf, CSSStyleSheet as ki, $implementation as kl, HTMLOListElement as kn, removeAttribute as ko, constructEntryList as kr, DragEvent as ks, SVGSVGElement as kt, $records as ku, isDisabled as l, isSubmittable as la, $checked as lc, $systemId as ld, ENTITY_REFERENCE_NODE as lf, windowHooks as li, $form as ll, HTMLDListElement as ln, querySelectorAll as lo, ClipboardItem as lr, currentWindowOrNull as ls, SVGElement as lt, $ownerRule as lu, isMutable as m, inputTypeFromAttr as ma, $classList as mc, $title as md, F_CHILD_LIST as mf, CSSImportRule as mi, $frameTask as ml, HTMLFontElement as mn, assignManually as mo, XMLSerializer as mr, CustomEvent as ms, SVGGeometryElement as mt, $pointerBeforeReference as mu, controlValue as n, RadioNodeList as na, $baseURL as nc, $sheets as nd, DOCUMENT_POSITION_DISCONNECTED as nf, setAdoptedStyleSheets as ni, $error as nl, TimeRanges as nn, Text as no, createWindow as nr, nodeGetTheParent as ns, MathMLElement as nt, $namespaces as nu, isAutofilled as o, isLabelable as oa, $byName as oc, $style as od, DOCUMENT_TYPE_NODE as of, evaluateMediaQueryList as oi, $filter as ol, HTMLBaseElement as on, closest as oo, Screen as or, setUncaughtExceptionHandler as os, SVGClipPathElement as ot, $options as ou, isInvalid as p, inputType as pa, $children as pc, $timers as pd, F_CHILDREN_HOOK as pf, CSSGroupingRule as pi, $frameId as pl, HTMLEmbedElement as pn, splitText as po, DOMParser as pr, CloseEvent as ps, SVGGElement as pt, $pastNames as pu, HTMLOptionElement as q, serializeChildren as qa, $disallowModification as qc, virtualDate as qd, resolveCompat as qi, $location as ql, HTMLUnknownElement as qn, nextSkippingChildren as qo, pointerEventsNone as qr, $aboutBase as qs, HTMLSlotElement as qt, $selectedness as qu, hasReadonlyAttribute as r, listOfOptions as ra, $baseVersion as rc, $slotAssignment as rd, DOCUMENT_POSITION_FOLLOWING as rf, styleSheetsOf as ri, $file as rl, HTMLAnchorElement as rn, HTMLCollection as ro, windowInterfaces as rr, retarget as rs, SVGAElement as rt, $navigator as ru, isChecked as s, isListed as sa, $cache as sc, $styleVersion as sd, ELEMENT_NODE as sf, mediaEnvironment as si, $firingSubmissionEvents as sl, HTMLBodyElement as sn, matches as so, VisualViewport as sr, currentDocument as ss, SVGDefsElement as st, $owner as su, CSS as t, HTMLOptionsCollection as ta, $baseOverride as tc, $sheet as td, DOCUMENT_POSITION_CONTAINS as tf, removeOwnerSheet as ti, $eo as tl, MediaError as tn, ProcessingInstruction as to, Window as tr, getCurrentEvent as ts, createFileList as tt, $names as tu, isEnabled as u, labeledControl as ua, $checkedSet as uc, $target as ud, F_ADOPT_HOOK as uf, CSSConditionRule as ui, $forms as ul, HTMLDataElement as un, Node as uo, Navigator as ur, setCurrentWindow as us, SVGEllipseElement as ut, $parent as uu, isReadOnly as v, valueMode as va, $coll as vc, $updating as vd, F_FACE as vf, CSSLayerStatementRule as vi, $hasTransients as vl, HTMLHeadElement as vn, findFlattenedSlottables as vo, createEvent as vr, MessageEvent as vs, SVGLineElement as vt, $preIndeterminate as vu, MutationObserver as w, setEventHandler as wa, $contentType as wc, $userValidity as wd, HTML_NS as wf, CSSRule as wi, $id as wl, HTMLMapElement as wn, attr as wo, Range as wr, SubmitEvent as ws, SVGPatternElement as wt, $ranges as wu, isTextControl as x, WINDOW_EVENT_HANDLER_EVENTS as xa, $condition as xc, $url as xd, F_HTML as xf, CSSNestedDeclarations as xi, $home as xl, HTMLIFrameElement as xn, tagId as xo, NodeIterator as xr, ProgressEvent as xs, SVGMaskElement as xt, $presentationStyle as xu, isReadWrite as y, CustomElementRegistry as ya, $compiled as yc, $updatingSelectedContent as yd, F_HAS_SHADOW as yf, CSSMediaRule as yi, $height as yl, HTMLHeadingElement as yn, findSlot as yo, Selection as yr, PageTransitionEvent as ys, SVGLinearGradientElement as yt, $prefix as yu, HTMLMeterElement as z, isValidNamespacePrefix as za, $defaultValueOverride as zc, VirtualClock as zd, fireAnEvent as zi, $items as zl, HTMLTableCellElement as zn, childAt as zo, computedValue as zr, UIEvent as zs, SVGTextPositioningElement as zt, $scrollRestoration as zu };
package/dist/dom/index.js CHANGED
@@ -1,3 +1,3 @@
1
- import { $a as CharacterData, $i as ValidityState, $t as HTMLMediaElement, A as FileReader, Aa as DOMMatrix, Ai as CSSSupportsRule, An as HTMLObjectElement, As as DragEvent, At as SVGScriptElement, B as HTMLOutputElement, Bn as HTMLTableColElement, Bs as UIEvent, Bt as SVGTitleElement, Ci as CSSPropertyRule, Cn as HTMLLIElement, Cr as AbstractRange, Cs as PromiseRejectionEvent, Ct as SVGPathElement, D as DataTransferItemList, Di as CSSStartingStyleRule, Dn as HTMLMetaElement, Ds as TransitionEvent, Dt as SVGRadialGradientElement, E as DataTransferItem, Ei as CSSScopeRule, En as HTMLMenuElement, Es as ToggleEvent, Et as SVGPolylineElement, F as FormData, Fa as DOMRectList, Fn as HTMLQuoteElement, Fo as NodeList, Fs as PointerEvent, Ft as SVGTSpanElement, G as HTMLButtonElement, Ga as DOMTokenList, Gn as HTMLTrackElement, Gt as HTMLStyleElement, H as HTMLFieldSetElement, Hn as HTMLTableRowElement, Ht as SVGViewElement, Ia as DOMRectReadOnly, In as HTMLSourceElement, Is as TextEvent, It as SVGTextContentElement, J as Option, Ji as CSSStyleDeclaration, Jn as Image, Jt as HTMLTemplateElement, K as HTMLOptGroupElement, Ka as ShadowRoot, Kn as HTMLUListElement, Kt as HTMLTitleElement, L as HTMLFormElement, Ln as HTMLSpanElement, Lr as getComputedStyle, Ls as Touch, Lt as SVGTextElement, M as XMLHttpRequestEventTarget, Ma as DOMPoint, Mi as StyleSheet, Mn as HTMLParamElement, Ms as InputEvent, Mt as SVGStyleElement, N as XMLHttpRequestUpload, Na as DOMPointReadOnly, Ni as StyleSheetList, Nn as HTMLPictureElement, Ns as KeyboardEvent, Nt as SVGSwitchElement, O as IntersectionObserver, Oi as CSSStyleRule, On as HTMLModElement, Or as CommandEvent, Os as ClipboardEvent, Ot as SVGRectElement, P as installGlobals, Pa as DOMRect, Pn as HTMLPreElement, Po as MutationRecord, Ps as MouseEvent, Pt as SVGSymbolElement, Q as HTMLInputElement, Qa as CDATASection, Qt as HTMLAudioElement, R as HTMLDataListElement, Rn as HTMLTableCaptionElement, Rs as TouchEvent, Rt as SVGTextPathElement, Si as CSSPageRule, Sn as HTMLImageElement, Sr as TreeWalker, Ss as ProgressEvent, St as SVGMetadataElement, T as DataTransfer, Ta as Element, Ti as CSSRuleList, Tn as HTMLMarqueeElement, Tr as StaticRange, Ts as SubmitEvent, Tt as SVGPolygonElement, U as HTMLLegendElement, Ua as Attr, Un as HTMLTableSectionElement, Ut as HTMLLinkElement, V as HTMLProgressElement, Va as NamedNodeMap, Vn as HTMLTableElement, Vs as WheelEvent, Vt as SVGUseElement, W as HTMLLabelElement, Wa as DOMStringMap, Wn as HTMLTimeElement, Ws as Event, Wt as HTMLScriptElement, X as HTMLSelectElement, Xa as DocumentType, Xn as ElementInternals, Xt as HTMLDialogElement, Yn as CustomStateSet, Yt as HTMLDetailsElement, Z as HTMLTextAreaElement, Za as DocumentFragment, Zn as HTMLElement, Zt as Audio, _i as CSSLayerBlockRule, _n as HTMLHRElement, _r as XMLDocument, _s as FormDataEvent, _t as SVGImageElement, ai as MediaQueryList, an as HTMLBRElement, ar as Storage, at as SVGCircleElement, bi as CSSNamespaceRule, bn as HTMLHtmlElement, br as NodeFilter, bs as PageTransitionEvent, bt as SVGMarkerElement, ci as MediaQueryListEvent, cn as HTMLCanvasElement, cr as Clipboard, cs as currentDocument, ct as SVGDescElement, di as CSSContainerRule, dn as HTMLDirectoryElement, dr as History, ds as setCurrentWindow, dt as SVGFilterElement, ea as HTMLFormControlsCollection, en as HTMLVideoElement, eo as Comment, es as EventTarget, et as FileList, fi as CSSFontFaceRule, fn as HTMLDivElement, fr as Location, fs as AnimationEvent, ft as SVGForeignObjectElement, gi as CSSKeyframesRule, gn as HTMLFrameSetElement, gr as Document, gs as ErrorEvent, gt as SVGGraphicsElement, hi as CSSKeyframeRule, hn as HTMLFrameElement, hr as DOMImplementation, hs as CustomEvent, ht as SVGGradientElement, in as HTMLAreaElement, it as SVGAnimatedString, j as XMLHttpRequest, ja as DOMMatrixReadOnly, ji as MediaList, jn as HTMLParagraphElement, js as FocusEvent, jt as SVGStopElement, k as ResizeObserver, ki as CSSStyleSheet, kn as HTMLOListElement, ks as CompositionEvent, kt as SVGSVGElement, ln as HTMLDListElement, lr as ClipboardItem, ls as currentWindow, lt as SVGElement, mi as CSSImportRule, mn as HTMLFontElement, mr as XMLSerializer, ms as CloseEvent, mt as SVGGeometryElement, na as RadioNodeList, nn as TimeRanges, no as Text, nr as createWindow, nt as MathMLElement, on as HTMLBaseElement, or as Screen, ot as SVGClipPathElement, pi as CSSGroupingRule, pn as HTMLEmbedElement, pr as DOMParser, ps as BeforeUnloadEvent, pt as SVGGElement, q as HTMLOptionElement, qn as HTMLUnknownElement, qt as HTMLSlotElement, rn as HTMLAnchorElement, ro as HTMLCollection, rt as SVGAElement, sn as HTMLBodyElement, sr as VisualViewport, st as SVGDefsElement, t as CSS, ta as HTMLOptionsCollection, tn as MediaError, to as ProcessingInstruction, tr as Window, ui as CSSConditionRule, un as HTMLDataElement, uo as Node, ur as Navigator, us as currentWindowOrNull, ut as SVGEllipseElement, vi as CSSLayerStatementRule, vn as HTMLHeadElement, vs as HashChangeEvent, vt as SVGLineElement, w as MutationObserver, wi as CSSRule, wn as HTMLMapElement, wr as Range, ws as StorageEvent, wt as SVGPatternElement, xi as CSSNestedDeclarations, xn as HTMLIFrameElement, xr as NodeIterator, xs as PopStateEvent, xt as SVGMaskElement, ya as CustomElementRegistry, yi as CSSMediaRule, yn as HTMLHeadingElement, yr as Selection, ys as MessageEvent, yt as SVGLinearGradientElement, z as HTMLMeterElement, zn as HTMLTableCellElement, zs as TouchList, zt as SVGTextPositioningElement } from "./_chunks/src-Hv_BAHIV.js";
1
+ import { $a as CharacterData, $i as ValidityState, $o as EventTarget, $t as HTMLMediaElement, A as FileReader, Aa as DOMMatrix, Ai as CSSSupportsRule, An as HTMLObjectElement, As as FocusEvent, At as SVGScriptElement, B as HTMLOutputElement, Bn as HTMLTableColElement, Bs as WheelEvent, Bt as SVGTitleElement, Ci as CSSPropertyRule, Cn as HTMLLIElement, Cr as AbstractRange, Cs as StorageEvent, Ct as SVGPathElement, D as DataTransferItemList, Di as CSSStartingStyleRule, Dn as HTMLMetaElement, Ds as ClipboardEvent, Dt as SVGRadialGradientElement, E as DataTransferItem, Ei as CSSScopeRule, En as HTMLMenuElement, Es as TransitionEvent, Et as SVGPolylineElement, F as FormData, Fa as DOMRectList, Fn as HTMLQuoteElement, Fs as TextEvent, Ft as SVGTSpanElement, G as HTMLButtonElement, Ga as DOMTokenList, Gn as HTMLTrackElement, Gt as HTMLStyleElement, H as HTMLFieldSetElement, Hn as HTMLTableRowElement, Ht as SVGViewElement, Ia as DOMRectReadOnly, In as HTMLSourceElement, Is as Touch, It as SVGTextContentElement, J as Option, Ji as CSSStyleDeclaration, Jn as Image, Jt as HTMLTemplateElement, K as HTMLOptGroupElement, Ka as ShadowRoot, Kn as HTMLUListElement, Kt as HTMLTitleElement, L as HTMLFormElement, Ln as HTMLSpanElement, Lr as getComputedStyle, Ls as TouchEvent, Lt as SVGTextElement, M as XMLHttpRequestEventTarget, Ma as DOMPoint, Mi as StyleSheet, Mn as HTMLParamElement, Ms as KeyboardEvent, Mt as SVGStyleElement, N as XMLHttpRequestUpload, Na as DOMPointReadOnly, Ni as StyleSheetList, Nn as HTMLPictureElement, No as MutationRecord, Ns as MouseEvent, Nt as SVGSwitchElement, O as IntersectionObserver, Oi as CSSStyleRule, On as HTMLModElement, Or as CommandEvent, Os as CompositionEvent, Ot as SVGRectElement, P as installGlobals, Pa as DOMRect, Pn as HTMLPreElement, Po as NodeList, Ps as PointerEvent, Pt as SVGSymbolElement, Q as HTMLInputElement, Qa as CDATASection, Qt as HTMLAudioElement, R as HTMLDataListElement, Rn as HTMLTableCaptionElement, Rs as TouchList, Rt as SVGTextPathElement, Si as CSSPageRule, Sn as HTMLImageElement, Sr as TreeWalker, Ss as PromiseRejectionEvent, St as SVGMetadataElement, T as DataTransfer, Ta as Element, Ti as CSSRuleList, Tn as HTMLMarqueeElement, Tr as StaticRange, Ts as ToggleEvent, Tt as SVGPolygonElement, U as HTMLLegendElement, Ua as Attr, Un as HTMLTableSectionElement, Us as Event, Ut as HTMLLinkElement, V as HTMLProgressElement, Va as NamedNodeMap, Vn as HTMLTableElement, Vt as SVGUseElement, W as HTMLLabelElement, Wa as DOMStringMap, Wn as HTMLTimeElement, Wt as HTMLScriptElement, X as HTMLSelectElement, Xa as DocumentType, Xn as ElementInternals, Xt as HTMLDialogElement, Yn as CustomStateSet, Yt as HTMLDetailsElement, Z as HTMLTextAreaElement, Za as DocumentFragment, Zn as HTMLElement, Zt as Audio, _i as CSSLayerBlockRule, _n as HTMLHRElement, _r as XMLDocument, _s as HashChangeEvent, _t as SVGImageElement, ai as MediaQueryList, an as HTMLBRElement, ar as Storage, at as SVGCircleElement, bi as CSSNamespaceRule, bn as HTMLHtmlElement, br as NodeFilter, bs as PopStateEvent, bt as SVGMarkerElement, ci as MediaQueryListEvent, cn as HTMLCanvasElement, cr as Clipboard, cs as currentWindow, ct as SVGDescElement, di as CSSContainerRule, dn as HTMLDirectoryElement, dr as History, ds as AnimationEvent, dt as SVGFilterElement, ea as HTMLFormControlsCollection, en as HTMLVideoElement, eo as Comment, et as FileList, fi as CSSFontFaceRule, fn as HTMLDivElement, fr as Location, fs as BeforeUnloadEvent, ft as SVGForeignObjectElement, gi as CSSKeyframesRule, gn as HTMLFrameSetElement, gr as Document, gs as FormDataEvent, gt as SVGGraphicsElement, hi as CSSKeyframeRule, hn as HTMLFrameElement, hr as DOMImplementation, hs as ErrorEvent, ht as SVGGradientElement, in as HTMLAreaElement, it as SVGAnimatedString, j as XMLHttpRequest, ja as DOMMatrixReadOnly, ji as MediaList, jn as HTMLParagraphElement, js as InputEvent, jt as SVGStopElement, k as ResizeObserver, ki as CSSStyleSheet, kn as HTMLOListElement, ks as DragEvent, kt as SVGSVGElement, ln as HTMLDListElement, lr as ClipboardItem, ls as currentWindowOrNull, lt as SVGElement, mi as CSSImportRule, mn as HTMLFontElement, mr as XMLSerializer, ms as CustomEvent, mt as SVGGeometryElement, na as RadioNodeList, nn as TimeRanges, no as Text, nr as createWindow, nt as MathMLElement, on as HTMLBaseElement, or as Screen, ot as SVGClipPathElement, pi as CSSGroupingRule, pn as HTMLEmbedElement, pr as DOMParser, ps as CloseEvent, pt as SVGGElement, q as HTMLOptionElement, qn as HTMLUnknownElement, qt as HTMLSlotElement, rn as HTMLAnchorElement, ro as HTMLCollection, rt as SVGAElement, sn as HTMLBodyElement, sr as VisualViewport, ss as currentDocument, st as SVGDefsElement, t as CSS, ta as HTMLOptionsCollection, tn as MediaError, to as ProcessingInstruction, tr as Window, ui as CSSConditionRule, un as HTMLDataElement, uo as Node, ur as Navigator, us as setCurrentWindow, ut as SVGEllipseElement, vi as CSSLayerStatementRule, vn as HTMLHeadElement, vs as MessageEvent, vt as SVGLineElement, w as MutationObserver, wi as CSSRule, wn as HTMLMapElement, wr as Range, ws as SubmitEvent, wt as SVGPatternElement, xi as CSSNestedDeclarations, xn as HTMLIFrameElement, xr as NodeIterator, xs as ProgressEvent, xt as SVGMaskElement, ya as CustomElementRegistry, yi as CSSMediaRule, yn as HTMLHeadingElement, yr as Selection, ys as PageTransitionEvent, yt as SVGLinearGradientElement, z as HTMLMeterElement, zn as HTMLTableCellElement, zs as UIEvent, zt as SVGTextPositioningElement } from "./_chunks/src-Cp3oLry4.js";
2
2
 
3
3
  export { AbstractRange, AnimationEvent, Attr, Audio, BeforeUnloadEvent, CDATASection, CSS, CSSConditionRule, CSSContainerRule, CSSFontFaceRule, CSSGroupingRule, CSSImportRule, CSSKeyframeRule, CSSKeyframesRule, CSSLayerBlockRule, CSSLayerStatementRule, CSSMediaRule, CSSNamespaceRule, CSSNestedDeclarations, CSSPageRule, CSSPropertyRule, CSSRule, CSSRuleList, CSSScopeRule, CSSStartingStyleRule, CSSStyleDeclaration, CSSStyleRule, CSSStyleSheet, CSSSupportsRule, CharacterData, Clipboard, ClipboardEvent, ClipboardItem, CloseEvent, CommandEvent, Comment, CompositionEvent, CustomElementRegistry, CustomEvent, CustomStateSet, DOMImplementation, DOMMatrix, DOMMatrixReadOnly, DOMParser, DOMPoint, DOMPointReadOnly, DOMRect, DOMRectList, DOMRectReadOnly, DOMStringMap, DOMTokenList, DataTransfer, DataTransferItem, DataTransferItemList, Document, Document as HTMLDocument, DocumentFragment, DocumentType, DragEvent, Element, ElementInternals, ErrorEvent, Event, EventTarget, FileList, FileReader, FocusEvent, FormData, FormDataEvent, HTMLAnchorElement, HTMLAreaElement, HTMLAudioElement, HTMLBRElement, HTMLBaseElement, HTMLBodyElement, HTMLButtonElement, HTMLCanvasElement, HTMLCollection, HTMLDListElement, HTMLDataElement, HTMLDataListElement, HTMLDetailsElement, HTMLDialogElement, HTMLDirectoryElement, HTMLDivElement, HTMLElement, HTMLEmbedElement, HTMLFieldSetElement, HTMLFontElement, HTMLFormControlsCollection, HTMLFormElement, HTMLFrameElement, HTMLFrameSetElement, HTMLHRElement, HTMLHeadElement, HTMLHeadingElement, HTMLHtmlElement, HTMLIFrameElement, HTMLImageElement, HTMLInputElement, HTMLLIElement, HTMLLabelElement, HTMLLegendElement, HTMLLinkElement, HTMLMapElement, HTMLMarqueeElement, HTMLMediaElement, HTMLMenuElement, HTMLMetaElement, HTMLMeterElement, HTMLModElement, HTMLOListElement, HTMLObjectElement, HTMLOptGroupElement, HTMLOptionElement, HTMLOptionsCollection, HTMLOutputElement, HTMLParagraphElement, HTMLParamElement, HTMLPictureElement, HTMLPreElement, HTMLProgressElement, HTMLQuoteElement, HTMLScriptElement, HTMLSelectElement, HTMLSlotElement, HTMLSourceElement, HTMLSpanElement, HTMLStyleElement, HTMLTableCaptionElement, HTMLTableCellElement, HTMLTableColElement, HTMLTableElement, HTMLTableRowElement, HTMLTableSectionElement, HTMLTemplateElement, HTMLTextAreaElement, HTMLTimeElement, HTMLTitleElement, HTMLTrackElement, HTMLUListElement, HTMLUnknownElement, HTMLVideoElement, HashChangeEvent, History, Image, InputEvent, IntersectionObserver, KeyboardEvent, Location, MathMLElement, MediaError, MediaList, MediaQueryList, MediaQueryListEvent, MessageEvent, MouseEvent, MutationObserver, MutationRecord, NamedNodeMap, Navigator, Node, NodeFilter, NodeIterator, NodeList, Option, PageTransitionEvent, PointerEvent, PopStateEvent, ProcessingInstruction, ProgressEvent, PromiseRejectionEvent, RadioNodeList, Range, ResizeObserver, SVGAElement, SVGAnimatedString, SVGCircleElement, SVGClipPathElement, SVGDefsElement, SVGDescElement, SVGElement, SVGEllipseElement, SVGFilterElement, SVGForeignObjectElement, SVGGElement, SVGGeometryElement, SVGGradientElement, SVGGraphicsElement, SVGImageElement, SVGLineElement, SVGLinearGradientElement, SVGMarkerElement, SVGMaskElement, SVGMetadataElement, SVGPathElement, SVGPatternElement, SVGPolygonElement, SVGPolylineElement, SVGRadialGradientElement, SVGRectElement, SVGSVGElement, SVGScriptElement, SVGStopElement, SVGStyleElement, SVGSwitchElement, SVGSymbolElement, SVGTSpanElement, SVGTextContentElement, SVGTextElement, SVGTextPathElement, SVGTextPositioningElement, SVGTitleElement, SVGUseElement, SVGViewElement, Screen, Selection, ShadowRoot, StaticRange, Storage, StorageEvent, StyleSheet, StyleSheetList, SubmitEvent, Text, TextEvent, TimeRanges, ToggleEvent, Touch, TouchEvent, TouchList, TransitionEvent, TreeWalker, UIEvent, ValidityState, VisualViewport, WheelEvent, Window, XMLDocument, XMLHttpRequest, XMLHttpRequestEventTarget, XMLHttpRequestUpload, XMLSerializer, createWindow, currentDocument, currentWindow, currentWindowOrNull, getComputedStyle, installGlobals, setCurrentWindow };
@@ -1,4 +1,4 @@
1
- import { $ as sanitizeValue, $c as $el, $d as DOCUMENT_FRAGMENT_NODE, $l as $mediaQueryLists, $n as attrAssociatedElements, $o as NodeImpl, $r as createOwnerSheet, $s as $availableToElementInternals, $u as $settled, Ac as $cookies, Ad as $w, Af as TEXT_NODE, Al as $implementation, Ao as setAttribute, Ar as defaultButton, Au as $records, Ba as validateAndExtract, Bc as $defaultValueOverride, Bd as VirtualClock, Bi as fireSyntheticPointerEvent, Bl as $items, Bo as childAt, Br as computedVisibility, Bu as $scrollRestoration, C as optionSelected, Ca as installEventHandlers, Cc as $constructed, Cd as $userActivation, Cf as F_MO_REGISTERED, Cl as $host, Co as asciiLowercase, Cu as $pseudo, Da as getElementsByClassName, Dc as $controlsDoc, Dd as $value, Df as NOTATION_NODE, Dl as $idleId, Do as hasAttr, Dr as nodeLength, Du as $readonly, Ea as attachShadowRoot, Ec as $controlsCache, Ed as $validity, Ef as MATHML_NS, El as $idleCallbacks, Eo as getAttribute, Er as compareBoundaryPoints, Eu as $rawValue, Fc as $cx, Fd as $writeBuffer, Fi as parseMediaQueryList, Fl as $info, Fo as NodeList, Fr as styleElementRemoved, Fu as $rules, Gc as $dirtyChecked, Gd as foreignImmediatesPending, Gi as deferredCompatMembers, Gl as $list, Go as nextElementInTree, Gr as isVisibilityHidden, Gs as EventState, Gu as $selSet, Ha as attrNode, Hc as $derived, Hd as clockNow, Hi as COMPAT_PROFILES, Hl as $kind, Ho as indexOf, Hr as hasAuthorStyles, Hs as hasListeners, Hu as $scrollY, I as installedWindowMethods, Ic as $data, Id as $x, Ii as NodeCache, Il as $innerHeight, Io as ensureIndexGetters, Ir as styleElementUpdated, Iu as $running, Ja as serializeNode, Jc as $disallowModification, Jd as virtualDate, Jl as $location, Jo as nextSkippingChildren, Jr as pseudoContent, Js as $aboutBase, Ju as $selectedness, Kc as $dirtyValue, Kd as installClock, Ki as hiddenGlobals, Kl as $listeners, Ko as nextElementSibling, Kr as pointerEvents, Ks as setTrusted, Ku as $selStart, La as isValidDoctypeName, Lc as $dataset, Ld as $xhr, Li as nodeCache, Ll as $innerWidth, Lo as indexGetterTable, Lr as getComputedStyle, Lu as $runningFrame, Mc as $current, Md as $whenDefined, Mf as XMLNS_NS, Ml as $index, Mo as activeObservers, Mr as isSubmitButton, Mu as $reference, Nc as $customElements, Nd as $width, Nf as XML_NS, Nl as $indexed, No as notifyMutationObservers, Nr as setNotImplementedHandler, Nu as $result, Oa as getElementsByTagName, Oc as $controlsVersion, Od as $version, Of as PROCESSING_INSTRUCTION_NODE, Ol as $ids, Oo as isAsciiWhitespace, Ou as $readyState, Pc as $customValidity, Pd as $window, Pi as matchMediaText, Pl as $inflight, Pr as isEditable$1, Pu as $root, Qc as $effectAllowed, Qd as COMMENT_NODE, Qi as isFACE, Ql as $media, Qn as attrAssociatedElement, Qo as AttrRecord, Qr as createLinkSheet, Qs as $attributes, Qu as $sessionStorage, Ra as isValidElementLocalName, Rc as $declarative, Rd as $y, Ri as dispatchTrusted, Rl as $is2D, Ro as derivedCache, Rr as computedDisplay, Ru as $sc, S as isValid, Sa as getEventHandler, Sc as $condition, Sd as $url, Sf as F_HTML, Sl as $home, So as tagName, Su as $presentationStyle, Tc as $contentType, Td as $userValidity, Tf as HTML_NS, Tl as $id, To as classTokens, Tu as $ranges, Uc as $devicePixelRatio, Ud as clockSkipped, Ui as DEFAULT_COMPAT, Ul as $labels, Uo as isInclusiveAncestor, Ur as isDisplayNone, Us as removeAllEventListeners, Uu as $selDir, Vc as $delegatesFocus, Vd as VirtualTimeout, Vi as COMPAT, Vl as $keyText, Vo as firstElementChild, Vr as currentStyleVersion, Vu as $scrollX, Wc as $dirtiness, Wd as clockStats, Wi as compatExposes, Wl as $layerName, Wo as lastElementChild, Wr as isDisplayNoneInclusive, Wu as $selEnd, Xc as $dropEffect, Xd as ATTRIBUTE_NODE, Xi as parseDeclBlock, Xl as $m, Xo as previousInTree, Xr as uaDisplay, Xs as $assocGen, Xu as $selector, Y as optionSelect, Ya as parseFragment, Yc as $doc, Yd as virtualPerformance, Yi as DeclBlock, Yl as $lockedForReset, Yo as previousElementSibling, Yr as setComputedColorMode, Ys as $active, Yu as $selection, Zc as $ec, Zd as CDATA_SECTION_NODE, Zi as faceState, Zl as $matches, Zo as treeRoot, Zr as adoptedStyleSheetsOf, Zs as $attr, Zu as $serializable, _ as isPlaceholderShown, _a as supportsSelectionType, _c as $clonable, _d as $types, _f as F_CONNECT_HOOK, _l as $generation, _o as assignedSlot, _u as $preChecked, a as inputIndeterminate, aa as isActuallyDisabled, ac as $block, ad as $so, af as DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, al as $files, ao as withNamedProperties, as as setAssignedSlotLookup, au as $nodes, b as isRequired, ba as GLOBAL_EVENT_HANDLER_EVENTS, bc as $compiled, bd as $updatingSelectedContent, bf as F_HAS_SHADOW, bl as $height, bo as T, bu as $prefix, c as isDefault, ca as isResettable, cc as $cache, cd as $styleVersion, cf as ELEMENT_NODE, cl as $firingSubmissionEvents, co as querySelector, cu as $owner, d as isInRange, da as labelsFor, dc as $checkedSet, dd as $target, df as F_ADOPT_HOOK, dl as $forms, do as inspectNode, du as $parent, ec as $badInput, ed as $shadowRoot, ef as DOCUMENT_NODE, ei as registerOwnerSheet, el as $elements, er as hasExplicitAttrElements, eu as $mode, f as isIndeterminate, fa as INPUT_TYPE_NAMES, fc as $childNodes, fd as $targets, ff as F_ATTR_HOOK, fl as $frameCallbacks, fo as replaceData, fu as $parentRule, g as isOutOfRange, ga as isTextualType, gc as $clipboard, gd as $type, gf as F_CONNECTED, gl as $frameTime, go as assignedNodes, gu as $preApplied, h as isOptional, ha as isNumericType, hc as $classList, hd as $title, hf as F_CHILD_LIST, hl as $frameTask, ho as assignedElements, hu as $pointerBeforeReference, i as inputChecked, ia as formOwner, ic as $baseVersion, id as $slotAssignment, if as DOCUMENT_POSITION_FOLLOWING, ii as unregisterOwnerSheet, il as $file, io as ensureCollectionIndexGetters, ir as trackGlobalTimers, is as retarget, iu as $navigator, jc as $css, jd as $whatToShow, jf as XLINK_NS, jl as $indeterminate, jo as splitOnAsciiWhitespace, jr as implicitSubmission, ju as $rects, ka as getElementsByTagNameNS, kc as $cookieJar, kd as $visualViewport, kf as SVG_NS, kl as $impl, ko as removeAttribute, kr as constructEntryList, ku as $record, l as isDisabled, la as isSubmittable, lc as $callback, ld as $supportsText, lf as ENTITY_NODE, li as windowHooks, ll as $focused, lo as querySelectorAll, lu as $ownerNode, m as isMutable, ma as inputTypeFromAttr, mc as $children, md as $timers, mf as F_CHILDREN_HOOK, ml as $frameId, mo as assignManually, mu as $pastNames, n as controlValue, nc as $baseOverride, nd as $sheet, nf as DOCUMENT_POSITION_CONTAINS, ni as setAdoptedStyleSheets, nl as $eo, ns as getCurrentEvent, nu as $names, o as isAutofilled, oa as isLabelable, oc as $byCtor, od as $states, of as DOCUMENT_POSITION_PRECEDING, oi as evaluateMediaQueryList, ol as $fill, oo as closest, os as reportException, ou as $onchange, p as isInvalid, pa as inputType, pc as $childWindows, pd as $tasks, pf as F_CE_CUSTOM, pl as $frameElement, po as splitText, pu as $parentWindow, qa as serializeChildren, qc as $disabled, qd as skipIdleTime, qi as resolveCompat, ql as $localStorage, qo as nextInTree, qr as pointerEventsNone, qs as $_proto__, qu as $selectedOptions, r as hasReadonlyAttribute, ra as listOfOptions, rc as $baseURL, rd as $sheets, rf as DOCUMENT_POSITION_DISCONNECTED, ri as styleSheetsOf, rl as $error, ro as HTMLCollection, rr as windowInterfaces, rs as nodeGetTheParent, ru as $namespaces, s as isChecked, sa as isListed, sc as $byName, sd as $style, sf as DOCUMENT_TYPE_NODE, si as mediaEnvironment, sl as $filter, so as matches, ss as setUncaughtExceptionHandler, su as $options, tc as $baseFor, td as $shed, tf as DOCUMENT_POSITION_CONTAINED_BY, ti as removeOwnerSheet, tl as $entries, tr as Window, ts as dispatch, tt as createFileList, tu as $name, u as isEnabled, ua as labeledControl, uc as $checked, ud as $systemId, uf as ENTITY_REFERENCE_NODE, ul as $form, uu as $ownerRule, v as isReadOnly, va as valueMode, vc as $closed, vd as $uiValue, vf as F_CUSTOM, vl as $globalObject, vo as findFlattenedSlottables, vr as createEvent, vu as $preCheckedRadio, wa as setEventHandler, wc as $constructingEntryList, wd as $userEdited, wf as F_SHADOW_ROOT, wl as $href, wo as attr, wu as $queries, x as isTextControl, xa as WINDOW_EVENT_HANDLER_EVENTS, xc as $compiledFor, xd as $uri, xf as F_HAS_STYLE_ATTR, xl as $history, xo as tagId, xu as $prelude, y as isReadWrite, yc as $coll, yd as $updating, yf as F_FACE, yl as $hasTransients, yo as findSlot, yu as $preIndeterminate, za as isValidNamespacePrefix, zc as $defaultNamespace, zd as $z, zi as fireAnEvent, zl as $isHTML, zo as peekDerivedCache, zr as computedValue, zu as $screen } from "./_chunks/src-Hv_BAHIV.js";
1
+ import { $ as sanitizeValue, $c as $elements, $d as DOCUMENT_NODE, $l as $mode, $n as attrAssociatedElements, $r as createOwnerSheet, $s as $badInput, $u as $shadowRoot, Ac as $css, Ad as $whatToShow, Af as XLINK_NS, Al as $indeterminate, Ao as setAttribute, Ar as defaultButton, Au as $rects, Ba as validateAndExtract, Bc as $delegatesFocus, Bd as VirtualTimeout, Bi as fireSyntheticPointerEvent, Bl as $keyText, Bo as firstElementChild, Br as computedVisibility, Bu as $scrollX, C as optionSelected, Ca as installEventHandlers, Cc as $constructingEntryList, Cd as $userEdited, Cf as F_SHADOW_ROOT, Cl as $href, Co as asciiLowercase, Cu as $queries, Da as getElementsByClassName, Dc as $controlsVersion, Dd as $version, Df as PROCESSING_INSTRUCTION_NODE, Dl as $ids, Do as hasAttr, Dr as nodeLength, Du as $readyState, Ea as attachShadowRoot, Ec as $controlsDoc, Ed as $value, Ef as NOTATION_NODE, El as $idleId, Eo as getAttribute, Er as compareBoundaryPoints, Eu as $readonly, Fc as $data, Fd as $x, Fi as parseMediaQueryList, Fl as $innerHeight, Fo as ensureIndexGetters, Fr as styleElementRemoved, Fu as $running, Gc as $dirtyValue, Gd as installClock, Gi as deferredCompatMembers, Gl as $listeners, Go as nextElementSibling, Gr as isVisibilityHidden, Gs as setTrusted, Gu as $selStart, Ha as attrNode, Hc as $devicePixelRatio, Hd as clockSkipped, Hi as COMPAT_PROFILES, Hl as $labels, Ho as isInclusiveAncestor, Hr as hasAuthorStyles, Hs as removeAllEventListeners, Hu as $selDir, I as installedWindowMethods, Ic as $dataset, Id as $xhr, Ii as NodeCache, Il as $innerWidth, Io as indexGetterTable, Ir as styleElementUpdated, Iu as $runningFrame, Ja as serializeNode, Jc as $doc, Jd as virtualPerformance, Jl as $lockedForReset, Jo as previousElementSibling, Jr as pseudoContent, Js as $active, Ju as $selection, Kc as $disabled, Kd as skipIdleTime, Ki as hiddenGlobals, Kl as $localStorage, Ko as nextInTree, Kr as pointerEvents, Ks as $_proto__, Ku as $selectedOptions, La as isValidDoctypeName, Lc as $declarative, Ld as $y, Li as nodeCache, Ll as $is2D, Lo as derivedCache, Lr as getComputedStyle, Lu as $sc, Mc as $customElements, Md as $width, Mf as XML_NS, Ml as $indexed, Mo as notifyMutationObservers, Mr as isSubmitButton, Mu as $result, Nc as $customValidity, Nd as $window, Nl as $inflight, Nr as setNotImplementedHandler, Nu as $root, Oa as getElementsByTagName, Oc as $cookieJar, Od as $visualViewport, Of as SVG_NS, Ol as $impl, Oo as isAsciiWhitespace, Ou as $record, Pc as $cx, Pd as $writeBuffer, Pi as matchMediaText, Pl as $info, Po as NodeList, Pr as isEditable$1, Pu as $rules, Qc as $el, Qd as DOCUMENT_FRAGMENT_NODE, Qi as isFACE, Ql as $mediaQueryLists, Qn as attrAssociatedElement, Qo as NodeImpl, Qr as createLinkSheet, Qs as $availableToElementInternals, Qu as $settled, Ra as isValidElementLocalName, Rc as $defaultNamespace, Rd as $z, Ri as dispatchTrusted, Rl as $isHTML, Ro as peekDerivedCache, Rr as computedDisplay, Ru as $screen, S as isValid, Sa as getEventHandler, Sc as $constructed, Sd as $userActivation, Sf as F_MO_REGISTERED, Sl as $host, So as tagName, Su as $pseudo, Tc as $controlsCache, Td as $validity, Tf as MATHML_NS, Tl as $idleCallbacks, To as classTokens, Tu as $rawValue, Uc as $dirtiness, Ud as clockStats, Ui as DEFAULT_COMPAT, Ul as $layerName, Uo as lastElementChild, Ur as isDisplayNone, Uu as $selEnd, Vc as $derived, Vd as clockNow, Vi as COMPAT, Vl as $kind, Vo as indexOf, Vr as currentStyleVersion, Vs as hasListeners, Vu as $scrollY, Wc as $dirtyChecked, Wd as foreignImmediatesPending, Wi as compatExposes, Wl as $list, Wo as nextElementInTree, Wr as isDisplayNoneInclusive, Ws as EventState, Wu as $selSet, Xc as $ec, Xd as CDATA_SECTION_NODE, Xi as parseDeclBlock, Xl as $matches, Xo as treeRoot, Xr as uaDisplay, Xs as $attr, Xu as $serializable, Y as optionSelect, Ya as parseFragment, Yc as $dropEffect, Yd as ATTRIBUTE_NODE, Yi as DeclBlock, Yl as $m, Yo as previousInTree, Yr as setComputedColorMode, Ys as $assocGen, Yu as $selector, Zc as $effectAllowed, Zd as COMMENT_NODE, Zi as faceState, Zl as $media, Zo as AttrRecord, Zr as adoptedStyleSheetsOf, Zs as $attributes, Zu as $sessionStorage, _ as isPlaceholderShown, _a as supportsSelectionType, _c as $closed, _d as $uiValue, _f as F_CUSTOM, _l as $globalObject, _o as assignedSlot, _u as $preCheckedRadio, a as inputIndeterminate, aa as isActuallyDisabled, ac as $byCtor, ad as $states, af as DOCUMENT_POSITION_PRECEDING, al as $fill, ao as withNamedProperties, as as reportException, au as $onchange, b as isRequired, ba as GLOBAL_EVENT_HANDLER_EVENTS, bc as $compiledFor, bd as $uri, bf as F_HAS_STYLE_ATTR, bl as $history, bo as T, bu as $prelude, c as isDefault, ca as isResettable, cc as $callback, cd as $supportsText, cf as ENTITY_NODE, cl as $focused, co as querySelector, cu as $ownerNode, d as isInRange, da as labelsFor, dc as $childNodes, dd as $targets, df as F_ATTR_HOOK, dl as $frameCallbacks, do as inspectNode, du as $parentRule, ec as $baseFor, ed as $shed, ef as DOCUMENT_POSITION_CONTAINED_BY, ei as registerOwnerSheet, el as $entries, er as hasExplicitAttrElements, es as dispatch, eu as $name, f as isIndeterminate, fa as INPUT_TYPE_NAMES, fc as $childWindows, fd as $tasks, ff as F_CE_CUSTOM, fl as $frameElement, fo as replaceData, fu as $parentWindow, g as isOutOfRange, ga as isTextualType, gc as $clonable, gd as $types, gf as F_CONNECT_HOOK, gl as $generation, go as assignedNodes, gu as $preChecked, h as isOptional, ha as isNumericType, hc as $clipboard, hd as $type, hf as F_CONNECTED, hl as $frameTime, ho as assignedElements, hu as $preApplied, i as inputChecked, ia as formOwner, ic as $block, id as $so, if as DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, ii as unregisterOwnerSheet, il as $files, io as ensureCollectionIndexGetters, ir as trackGlobalTimers, is as setAssignedSlotLookup, iu as $nodes, jc as $current, jd as $whenDefined, jf as XMLNS_NS, jl as $index, jo as splitOnAsciiWhitespace, jr as implicitSubmission, ju as $reference, ka as getElementsByTagNameNS, kc as $cookies, kd as $w, kf as TEXT_NODE, kl as $implementation, ko as removeAttribute, kr as constructEntryList, ku as $records, l as isDisabled, la as isSubmittable, lc as $checked, ld as $systemId, lf as ENTITY_REFERENCE_NODE, li as windowHooks, ll as $form, lo as querySelectorAll, lu as $ownerRule, m as isMutable, ma as inputTypeFromAttr, mc as $classList, md as $title, mf as F_CHILD_LIST, ml as $frameTask, mo as assignManually, mu as $pointerBeforeReference, n as controlValue, nc as $baseURL, nd as $sheets, nf as DOCUMENT_POSITION_DISCONNECTED, ni as setAdoptedStyleSheets, nl as $error, ns as nodeGetTheParent, nu as $namespaces, o as isAutofilled, oa as isLabelable, oc as $byName, od as $style, of as DOCUMENT_TYPE_NODE, oi as evaluateMediaQueryList, ol as $filter, oo as closest, os as setUncaughtExceptionHandler, ou as $options, p as isInvalid, pa as inputType, pc as $children, pd as $timers, pf as F_CHILDREN_HOOK, pl as $frameId, po as splitText, pu as $pastNames, qa as serializeChildren, qc as $disallowModification, qd as virtualDate, qi as resolveCompat, ql as $location, qo as nextSkippingChildren, qr as pointerEventsNone, qs as $aboutBase, qu as $selectedness, r as hasReadonlyAttribute, ra as listOfOptions, rc as $baseVersion, rd as $slotAssignment, rf as DOCUMENT_POSITION_FOLLOWING, ri as styleSheetsOf, rl as $file, ro as HTMLCollection, rr as windowInterfaces, rs as retarget, ru as $navigator, s as isChecked, sa as isListed, sc as $cache, sd as $styleVersion, sf as ELEMENT_NODE, si as mediaEnvironment, sl as $firingSubmissionEvents, so as matches, su as $owner, tc as $baseOverride, td as $sheet, tf as DOCUMENT_POSITION_CONTAINS, ti as removeOwnerSheet, tl as $eo, tr as Window, ts as getCurrentEvent, tt as createFileList, tu as $names, u as isEnabled, ua as labeledControl, uc as $checkedSet, ud as $target, uf as F_ADOPT_HOOK, ul as $forms, uu as $parent, v as isReadOnly, va as valueMode, vc as $coll, vd as $updating, vf as F_FACE, vl as $hasTransients, vo as findFlattenedSlottables, vr as createEvent, vu as $preIndeterminate, wa as setEventHandler, wc as $contentType, wd as $userValidity, wf as HTML_NS, wl as $id, wo as attr, wu as $ranges, x as isTextControl, xa as WINDOW_EVENT_HANDLER_EVENTS, xc as $condition, xd as $url, xf as F_HTML, xl as $home, xo as tagId, xu as $presentationStyle, y as isReadWrite, yc as $compiled, yd as $updatingSelectedContent, yf as F_HAS_SHADOW, yl as $height, yo as findSlot, yu as $prefix, za as isValidNamespacePrefix, zc as $defaultValueOverride, zd as VirtualClock, zi as fireAnEvent, zl as $items, zo as childAt, zr as computedValue, zu as $scrollRestoration } from "./_chunks/src-Cp3oLry4.js";
2
2
  import { constants, createContext, runInContext } from "node:vm";
3
3
  import * as diagnosticsChannel from "node:diagnostics_channel";
4
4
 
@@ -431,4 +431,4 @@ function getComputedStyleOverride(node) {
431
431
  return result;
432
432
  }
433
433
 
434
- export { $_proto__, $aboutBase, $active, $assocGen, $attr, $attributes, $availableToElementInternals, $badInput, $baseFor, $baseOverride, $baseURL, $baseVersion, $block, $byCtor, $byName, $cache, $callback, $checked, $checkedSet, $childNodes, $childWindows, $children, $classList, $clipboard, $clonable, $closed, $coll, $compiled, $compiledFor, $condition, $constructed, $constructingEntryList, $contentType, $controlsCache, $controlsDoc, $controlsVersion, $cookieJar, $cookies, $css, $current, $customElements, $customValidity, $cx, $data, $dataset, $declarative, $defaultNamespace, $defaultValueOverride, $delegatesFocus, $derived, $devicePixelRatio, $dirtiness, $dirtyChecked, $dirtyValue, $disabled, $disallowModification, $doc, $dropEffect, $ec, $effectAllowed, $el, $elements, $entries, $eo, $error, $file, $files, $fill, $filter, $firingSubmissionEvents, $focused, $form, $forms, $frameCallbacks, $frameElement, $frameId, $frameTask, $frameTime, $generation, $globalObject, $hasTransients, $height, $history, $home, $host, $href, $id, $idleCallbacks, $idleId, $ids, $impl, $implementation, $indeterminate, $index, $indexed, $inflight, $info, $innerHeight, $innerWidth, $is2D, $isHTML, $items, $keyText, $kind, $labels, $layerName, $list, $listeners, $localStorage, $location, $lockedForReset, $m, $matches, $media, $mediaQueryLists, $mode, $name, $names, $namespaces, $navigator, $nodes, $onchange, $options, $owner, $ownerNode, $ownerRule, $parent, $parentRule, $parentWindow, $pastNames, $pointerBeforeReference, $preApplied, $preChecked, $preCheckedRadio, $preIndeterminate, $prefix, $prelude, $presentationStyle, $pseudo, $queries, $ranges, $rawValue, $readonly, $readyState, $record, $records, $rects, $reference, $result, $root, $rules, $running, $runningFrame, $sc, $screen, $scrollRestoration, $scrollX, $scrollY, $selDir, $selEnd, $selSet, $selStart, $selectedOptions, $selectedness, $selection, $selector, $serializable, $sessionStorage, $settled, $shadowRoot, $shed, $sheet, $sheets, $slotAssignment, $so, $states, $style, $styleVersion, $supportsText, $systemId, $target, $targets, $tasks, $timers, $title, $type, $types, $uiValue, $updating, $updatingSelectedContent, $uri, $url, $userActivation, $userEdited, $userValidity, $validity, $value, $version, $visualViewport, $w, $whatToShow, $whenDefined, $width, $window, $writeBuffer, $x, $xhr, $y, $z, ATTRIBUTE_NODE, AttrRecord, CDATA_SECTION_NODE, COMMENT_NODE, COMPAT, COMPAT_PROFILES, DEFAULT_COMPAT, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, DeclBlock, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, EventState, FAILURE_CHANNEL, F_ADOPT_HOOK, F_ATTR_HOOK, F_CE_CUSTOM, F_CHILDREN_HOOK, F_CHILD_LIST, F_CONNECTED, F_CONNECT_HOOK, F_CUSTOM, F_FACE, F_HAS_SHADOW, F_HAS_STYLE_ATTR, F_HTML, F_MO_REGISTERED, F_SHADOW_ROOT, GLOBAL_EVENT_HANDLER_EVENTS, HTMLCollection, HTML_NS, INPUT_TYPE_NAMES, MATHML_NS, NOTATION_NODE, NodeCache, NodeImpl, NodeList, PROCESSING_INSTRUCTION_NODE, SPAN_CHANNEL, SVG_NS, T, TEXT_NODE, VirtualClock, VirtualTimeout, WINDOW_EVENT_HANDLER_EVENTS, XLINK_NS, XMLNS_NS, XML_NS, activeObservers, adoptedStyleSheetsOf, asciiLowercase, assignManually, assignedElements, assignedNodes, assignedSlot, attachShadowRoot, attr, attrAssociatedElement, attrAssociatedElements, attrNode, captureInterfaceBaseline, childAt, classTokens, clearUIValue, clockNow, clockStats, closest, compareBoundaryPoints, compatExposes, computedDisplay, computedValue, computedVisibility, constructEntryList, controlValue, createEvent, createFileList, createLinkSheet, currentStyleVersion, defaultButton, deferredCompatMembers, derivedCache, describeCall, describeNode, dispatch, dispatchTrusted, ensureCollectionIndexGetters, ensureIndexGetters, evaluateMediaQueryList, faceState, findFlattenedSlottables, findSlot, fireAnEvent, fireSyntheticPointerEvent, firstElementChild, foreignImmediatesPending, formOwner, getAttribute, getComputedStyle, getComputedStyleOverride, getCurrentEvent, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getEventHandler, getUISelection, getUIValue, guardInterfaceDefinitions, hasAttr, hasAuthorStyles, hasExplicitAttrElements, hasListeners, hasReadonlyAttribute, hasUIValue, hiddenGlobals, implicitSubmission, indexGetterTable, indexOf, inputChecked, inputIndeterminate, inputType, inputTypeFromAttr, inspectNode, installClock, installEventHandlers, isActuallyDisabled, isAsciiWhitespace, isAutofilled, isChecked, isDefault, isDisabled, isDisplayNone, isDisplayNoneInclusive, isEditable as isEditableControl, isEnabled, isFACE, isInRange, isInclusiveAncestor, isIndeterminate, isInvalid, isLabelable, isListed, isMutable, isNumericType, isOptional, isOutOfRange, isPlaceholderShown, isReadOnly, isReadWrite, isRequired, isResettable, isSubmitButton, isSubmittable, isTextControl, isTextualType, isValid, isValidDoctypeName, isValidElementLocalName, isValidNamespacePrefix, isVisibilityHidden, labeledControl, labelsFor, lastElementChild, listOfOptions, matchMediaText, matches, mediaEnvironment, nextElementInTree, nextElementSibling, nextInTree, nextSkippingChildren, nodeCache, nodeGetTheParent, nodeLength, notifyMutationObservers, optionSelected, parseDeclBlock, parseFragment, parseMediaQueryList, peekDerivedCache, pointerEvents, pointerEventsNone, previousElementSibling, previousInTree, pseudoContent, querySelector, querySelectorAll, quote, registerOwnerSheet, removeAllEventListeners, removeAttribute, removeOwnerSheet, replaceData, reportException, resolveCompat, restoreInterfaces, retarget, serializeChildren, serializeNode, setAdoptedStyleSheets, setAssignedSlotLookup, setAttribute, setCheckedFromUI, setComputedColorMode, setEventHandler, setFailureSnapshot, setFilesFromUI, setNodeDescriber, setNotImplementedHandler, setOptionSelectedFromUI, setTrusted, setUISelection, setUIValue, setUncaughtExceptionHandler, skipIdleTime, spanChannel, splitOnAsciiWhitespace, splitText, styleElementRemoved, createOwnerSheet as styleElementSheet, styleElementUpdated, styleSheetsOf, subscribeTestFailures, supportsSelection, supportsSelectionType, tagId, tagName, tracePromise, traceSync, tracing, trackGlobalTimers, treeRoot, uaDisplay, unregisterOwnerSheet, validateAndExtract, valueMode, virtualDate, virtualPerformance, windowHooks, windowInterfaces, withNamedProperties };
434
+ export { $_proto__, $aboutBase, $active, $assocGen, $attr, $attributes, $availableToElementInternals, $badInput, $baseFor, $baseOverride, $baseURL, $baseVersion, $block, $byCtor, $byName, $cache, $callback, $checked, $checkedSet, $childNodes, $childWindows, $children, $classList, $clipboard, $clonable, $closed, $coll, $compiled, $compiledFor, $condition, $constructed, $constructingEntryList, $contentType, $controlsCache, $controlsDoc, $controlsVersion, $cookieJar, $cookies, $css, $current, $customElements, $customValidity, $cx, $data, $dataset, $declarative, $defaultNamespace, $defaultValueOverride, $delegatesFocus, $derived, $devicePixelRatio, $dirtiness, $dirtyChecked, $dirtyValue, $disabled, $disallowModification, $doc, $dropEffect, $ec, $effectAllowed, $el, $elements, $entries, $eo, $error, $file, $files, $fill, $filter, $firingSubmissionEvents, $focused, $form, $forms, $frameCallbacks, $frameElement, $frameId, $frameTask, $frameTime, $generation, $globalObject, $hasTransients, $height, $history, $home, $host, $href, $id, $idleCallbacks, $idleId, $ids, $impl, $implementation, $indeterminate, $index, $indexed, $inflight, $info, $innerHeight, $innerWidth, $is2D, $isHTML, $items, $keyText, $kind, $labels, $layerName, $list, $listeners, $localStorage, $location, $lockedForReset, $m, $matches, $media, $mediaQueryLists, $mode, $name, $names, $namespaces, $navigator, $nodes, $onchange, $options, $owner, $ownerNode, $ownerRule, $parent, $parentRule, $parentWindow, $pastNames, $pointerBeforeReference, $preApplied, $preChecked, $preCheckedRadio, $preIndeterminate, $prefix, $prelude, $presentationStyle, $pseudo, $queries, $ranges, $rawValue, $readonly, $readyState, $record, $records, $rects, $reference, $result, $root, $rules, $running, $runningFrame, $sc, $screen, $scrollRestoration, $scrollX, $scrollY, $selDir, $selEnd, $selSet, $selStart, $selectedOptions, $selectedness, $selection, $selector, $serializable, $sessionStorage, $settled, $shadowRoot, $shed, $sheet, $sheets, $slotAssignment, $so, $states, $style, $styleVersion, $supportsText, $systemId, $target, $targets, $tasks, $timers, $title, $type, $types, $uiValue, $updating, $updatingSelectedContent, $uri, $url, $userActivation, $userEdited, $userValidity, $validity, $value, $version, $visualViewport, $w, $whatToShow, $whenDefined, $width, $window, $writeBuffer, $x, $xhr, $y, $z, ATTRIBUTE_NODE, AttrRecord, CDATA_SECTION_NODE, COMMENT_NODE, COMPAT, COMPAT_PROFILES, DEFAULT_COMPAT, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, DeclBlock, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, EventState, FAILURE_CHANNEL, F_ADOPT_HOOK, F_ATTR_HOOK, F_CE_CUSTOM, F_CHILDREN_HOOK, F_CHILD_LIST, F_CONNECTED, F_CONNECT_HOOK, F_CUSTOM, F_FACE, F_HAS_SHADOW, F_HAS_STYLE_ATTR, F_HTML, F_MO_REGISTERED, F_SHADOW_ROOT, GLOBAL_EVENT_HANDLER_EVENTS, HTMLCollection, HTML_NS, INPUT_TYPE_NAMES, MATHML_NS, NOTATION_NODE, NodeCache, NodeImpl, NodeList, PROCESSING_INSTRUCTION_NODE, SPAN_CHANNEL, SVG_NS, T, TEXT_NODE, VirtualClock, VirtualTimeout, WINDOW_EVENT_HANDLER_EVENTS, XLINK_NS, XMLNS_NS, XML_NS, adoptedStyleSheetsOf, asciiLowercase, assignManually, assignedElements, assignedNodes, assignedSlot, attachShadowRoot, attr, attrAssociatedElement, attrAssociatedElements, attrNode, captureInterfaceBaseline, childAt, classTokens, clearUIValue, clockNow, clockStats, closest, compareBoundaryPoints, compatExposes, computedDisplay, computedValue, computedVisibility, constructEntryList, controlValue, createEvent, createFileList, createLinkSheet, currentStyleVersion, defaultButton, deferredCompatMembers, derivedCache, describeCall, describeNode, dispatch, dispatchTrusted, ensureCollectionIndexGetters, ensureIndexGetters, evaluateMediaQueryList, faceState, findFlattenedSlottables, findSlot, fireAnEvent, fireSyntheticPointerEvent, firstElementChild, foreignImmediatesPending, formOwner, getAttribute, getComputedStyle, getComputedStyleOverride, getCurrentEvent, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getEventHandler, getUISelection, getUIValue, guardInterfaceDefinitions, hasAttr, hasAuthorStyles, hasExplicitAttrElements, hasListeners, hasReadonlyAttribute, hasUIValue, hiddenGlobals, implicitSubmission, indexGetterTable, indexOf, inputChecked, inputIndeterminate, inputType, inputTypeFromAttr, inspectNode, installClock, installEventHandlers, isActuallyDisabled, isAsciiWhitespace, isAutofilled, isChecked, isDefault, isDisabled, isDisplayNone, isDisplayNoneInclusive, isEditable as isEditableControl, isEnabled, isFACE, isInRange, isInclusiveAncestor, isIndeterminate, isInvalid, isLabelable, isListed, isMutable, isNumericType, isOptional, isOutOfRange, isPlaceholderShown, isReadOnly, isReadWrite, isRequired, isResettable, isSubmitButton, isSubmittable, isTextControl, isTextualType, isValid, isValidDoctypeName, isValidElementLocalName, isValidNamespacePrefix, isVisibilityHidden, labeledControl, labelsFor, lastElementChild, listOfOptions, matchMediaText, matches, mediaEnvironment, nextElementInTree, nextElementSibling, nextInTree, nextSkippingChildren, nodeCache, nodeGetTheParent, nodeLength, notifyMutationObservers, optionSelected, parseDeclBlock, parseFragment, parseMediaQueryList, peekDerivedCache, pointerEvents, pointerEventsNone, previousElementSibling, previousInTree, pseudoContent, querySelector, querySelectorAll, quote, registerOwnerSheet, removeAllEventListeners, removeAttribute, removeOwnerSheet, replaceData, reportException, resolveCompat, restoreInterfaces, retarget, serializeChildren, serializeNode, setAdoptedStyleSheets, setAssignedSlotLookup, setAttribute, setCheckedFromUI, setComputedColorMode, setEventHandler, setFailureSnapshot, setFilesFromUI, setNodeDescriber, setNotImplementedHandler, setOptionSelectedFromUI, setTrusted, setUISelection, setUIValue, setUncaughtExceptionHandler, skipIdleTime, spanChannel, splitOnAsciiWhitespace, splitText, styleElementRemoved, createOwnerSheet as styleElementSheet, styleElementUpdated, styleSheetsOf, subscribeTestFailures, supportsSelection, supportsSelectionType, tagId, tagName, tracePromise, traceSync, tracing, trackGlobalTimers, treeRoot, uaDisplay, unregisterOwnerSheet, validateAndExtract, valueMode, virtualDate, virtualPerformance, windowHooks, windowInterfaces, withNamedProperties };
@@ -31,7 +31,7 @@ export type { ActivationTarget } from "./events/activation.js";
31
31
  export { NodeList } from "./collections/NodeList.js";
32
32
  export { HTMLCollection, withNamedProperties, ensureCollectionIndexGetters, type ElementFilter, } from "./collections/HTMLCollection.js";
33
33
  export { indexGetterTable, ensureIndexGetters, type IndexGetterTable } from "./collections/indexed.js";
34
- export { notifyMutationObservers, activeObservers } from "./observers/queue.js";
34
+ export { notifyMutationObservers } from "./observers/queue.js";
35
35
  export { compareBoundaryPoints, nodeLength } from "./traversal/Range.js";
36
36
  export { findSlot, assignedNodes, assignedElements, assignManually, findFlattenedSlottables, assignedSlot, } from "./nodes/slots.js";
37
37
  export { attachShadowRoot, getElementsByTagName, getElementsByTagNameNS, getElementsByClassName, } from "./nodes/Element.js";
@@ -1,3 +1,4 @@
1
+ import { AsyncResource } from "node:async_hooks";
1
2
  type Callback = (...args: unknown[]) => unknown;
2
3
  /** One pending timer. */
3
4
  declare class TimerRecord {
@@ -16,6 +17,15 @@ declare class TimerRecord {
16
17
  real: ReturnType<typeof setTimeout> | null;
17
18
  /** realNow() at which `real` fires. */
18
19
  realDue: number;
20
+ /** Cleared (or its clock disposed): Node's refresh() then does nothing. */
21
+ cleared: boolean;
22
+ /**
23
+ * The async context setTimeout was called in (https://nodejs.org/api/async_context.html):
24
+ * Node runs a timer's callback in it, while this clock fires from its own host timer or driver.
25
+ * An AsyncResource, as Node's own Timeout is: ~0.015 µs to capture, 30x less than
26
+ * AsyncLocalStorage.snapshot()'s bound closure.
27
+ */
28
+ context: AsyncResource;
19
29
  constructor(id: number, due: number, seq: number, delay: number, repeat: boolean, callback: Callback, args: unknown[]);
20
30
  }
21
31
  /** The handle setTimeout/setInterval return: Node's Timeout API surface. */
@@ -25,6 +35,8 @@ export declare class VirtualTimeout {
25
35
  ref(): this;
26
36
  unref(): this;
27
37
  hasRef(): boolean;
38
+ /** Node's flag for a one-shot that ran or any cleared timer (window/timers.ts sweeps on it). */
39
+ get _destroyed(): boolean;
28
40
  /** Restart the timer with its original delay from now. */
29
41
  refresh(): this;
30
42
  close(): this;
@@ -52,6 +64,8 @@ export declare class VirtualClock {
52
64
  refCount: number;
53
65
  hostTimer: ReturnType<typeof setTimeout> | null;
54
66
  hostDue: number;
67
+ /** Whether hostTimer is ref'd (a new host timer starts ref'd), so updateHostRef calls Node only on a change. */
68
+ hostRefd: boolean;
55
69
  continuation: boolean;
56
70
  driverScheduled: boolean;
57
71
  /** The driver's next turn is a queued immediate (not the 1 ms timer it waits on during I/O). */
@@ -59,6 +73,8 @@ export declare class VirtualClock {
59
73
  idleTurns: number;
60
74
  disposed: boolean;
61
75
  baseline: Map<string, number> | null;
76
+ /** busy()'s per-probe I/O counts, reused. */
77
+ ioCounts: Map<string, number>;
62
78
  constructor(options?: VirtualClockOptions);
63
79
  /** Monotonic ms (performance.now() origin) including skipped time. */
64
80
  now(): number;
@@ -92,6 +108,7 @@ export declare class VirtualClock {
92
108
  /** Keep one real host timer armed for the earliest due timer (ref'd while any timer is). */
93
109
  armHost(): void;
94
110
  updateHostRef(): void;
111
+ fireContinuation: () => void;
95
112
  onHostTimer: () => void;
96
113
  /**
97
114
  * Run the earliest timer if it is due, then continue with the next due one on the following
@@ -1,8 +1,10 @@
1
1
  // Copied from @testing-library/jest-dom@7.0.1 types/matchers.d.ts (MIT) — the public types of this drop-in.
2
2
  // https://github.com/testing-library/jest-dom/blob/v7.0.1/types/matchers.d.ts
3
- import {type ARIARole} from 'aria-query'
3
+ // Difference: upstream takes ARIARole from aria-query, which @ctrl/dom does not depend on (it
4
+ // replaces it); ByRoleMatcher is the same `ARIARole | (string & {})` union.
4
5
  import {
5
6
  type AllByBoundAttribute,
7
+ type ByRoleMatcher,
6
8
  type AllByRole,
7
9
  type AllByText,
8
10
  } from '@ctrl/dom/testing-library'
@@ -642,7 +644,7 @@ declare namespace matchers {
642
644
  toHaveRole(
643
645
  // Get autocomplete for ARIARole union types, while still supporting another string
644
646
  // Ref: https://github.com/microsoft/TypeScript/issues/29729#issuecomment-567871939
645
- role: ARIARole | (string & {}),
647
+ role: ByRoleMatcher,
646
648
  ): R
647
649
  /**
648
650
  * @description
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctrl/dom",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "A fast DOM for testing React components: a drop-in replacement for jsdom and happy-dom, with Testing Library, user-event and jest-dom built in.",
5
5
  "keywords": [
6
6
  "dom",
@@ -35,7 +35,7 @@
35
35
  "main": "./dist/bridge/index.js",
36
36
  "types": "./dist/dom/types/index.d.ts",
37
37
  "bin": {
38
- "ctrl-dom": "./dist/cli/ctrl-dom.js"
38
+ "ctrl-dom": "dist/cli/ctrl-dom.js"
39
39
  },
40
40
  "exports": {
41
41
  ".": {