@ctrl/dom 0.2.0 → 0.3.1

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.
package/dist/dom/index.js CHANGED
@@ -1 +1 @@
1
- export{wr as AbstractRange,fs as AnimationEvent,Ga as Attr,Zt as Audio,ps as BeforeUnloadEvent,eo as CDATASection,t as CSS,fi as CSSConditionRule,pi as CSSContainerRule,mi as CSSFontFaceRule,hi as CSSGroupingRule,gi as CSSImportRule,_i as CSSKeyframeRule,vi as CSSKeyframesRule,yi as CSSLayerBlockRule,bi as CSSLayerStatementRule,xi as CSSMediaRule,Si as CSSNamespaceRule,Ci as CSSNestedDeclarations,wi as CSSPageRule,Ti as CSSPropertyRule,Ei as CSSRule,Di as CSSRuleList,Oi as CSSScopeRule,ki as CSSStartingStyleRule,Xi as CSSStyleDeclaration,Ai as CSSStyleRule,ji as CSSStyleSheet,Mi as CSSSupportsRule,to as CharacterData,lr as Clipboard,Os as ClipboardEvent,ur as ClipboardItem,ms as CloseEvent,kr as CommandEvent,no as Comment,ks as CompositionEvent,xa as CustomElementRegistry,hs as CustomEvent,Yn as CustomStateSet,gr as DOMImplementation,Ma as DOMMatrix,Na as DOMMatrixReadOnly,mr as DOMParser,Pa as DOMPoint,Fa as DOMPointReadOnly,Ia as DOMRect,La as DOMRectList,Ra as DOMRectReadOnly,Ka as DOMStringMap,qa as DOMTokenList,T as DataTransfer,E as DataTransferItem,D as DataTransferItemList,_r as Document,_r as HTMLDocument,$a as DocumentFragment,Qa as DocumentType,As as DragEvent,Da as Element,Xn as ElementInternals,gs as ErrorEvent,Ys as Event,es as EventTarget,et as FileList,A as FileReader,js as FocusEvent,F as FormData,_s as FormDataEvent,rn as HTMLAnchorElement,in as HTMLAreaElement,Qt as HTMLAudioElement,an as HTMLBRElement,on as HTMLBaseElement,sn as HTMLBodyElement,G as HTMLButtonElement,cn as HTMLCanvasElement,ao as HTMLCollection,ln as HTMLDListElement,un as HTMLDataElement,R as HTMLDataListElement,Yt as HTMLDetailsElement,Xt as HTMLDialogElement,dn as HTMLDirectoryElement,fn as HTMLDivElement,Zn as HTMLElement,pn as HTMLEmbedElement,H as HTMLFieldSetElement,mn as HTMLFontElement,na as HTMLFormControlsCollection,L as HTMLFormElement,hn as HTMLFrameElement,gn as HTMLFrameSetElement,_n as HTMLHRElement,vn as HTMLHeadElement,yn as HTMLHeadingElement,bn as HTMLHtmlElement,xn as HTMLIFrameElement,Sn as HTMLImageElement,Q as HTMLInputElement,Cn as HTMLLIElement,W as HTMLLabelElement,U as HTMLLegendElement,Ut as HTMLLinkElement,wn as HTMLMapElement,Tn as HTMLMarqueeElement,$t as HTMLMediaElement,En as HTMLMenuElement,Dn as HTMLMetaElement,z as HTMLMeterElement,On as HTMLModElement,kn as HTMLOListElement,An as HTMLObjectElement,K as HTMLOptGroupElement,q as HTMLOptionElement,ra as HTMLOptionsCollection,B as HTMLOutputElement,jn as HTMLParagraphElement,Mn as HTMLParamElement,Nn as HTMLPictureElement,Pn as HTMLPreElement,V as HTMLProgressElement,Fn as HTMLQuoteElement,Wt as HTMLScriptElement,X as HTMLSelectElement,qt as HTMLSlotElement,In as HTMLSourceElement,Ln as HTMLSpanElement,Gt as HTMLStyleElement,Rn as HTMLTableCaptionElement,zn as HTMLTableCellElement,Bn as HTMLTableColElement,Vn as HTMLTableElement,Hn as HTMLTableRowElement,Un as HTMLTableSectionElement,Jt as HTMLTemplateElement,Z as HTMLTextAreaElement,Wn as HTMLTimeElement,Kt as HTMLTitleElement,Gn as HTMLTrackElement,Kn as HTMLUListElement,qn as HTMLUnknownElement,en as HTMLVideoElement,vs as HashChangeEvent,fr as History,Jn as Image,Ms as InputEvent,O as IntersectionObserver,Ns as KeyboardEvent,pr as Location,nt as MathMLElement,tn as MediaError,Ni as MediaList,si as MediaQueryList,ui as MediaQueryListEvent,ys as MessageEvent,Ps as MouseEvent,w as MutationObserver,Po as MutationRecord,Ua as NamedNodeMap,dr as Navigator,fo as Node,xr as NodeFilter,Sr as NodeIterator,Fo as NodeList,J as Option,bs as PageTransitionEvent,Fs as PointerEvent,xs as PopStateEvent,ro as ProcessingInstruction,Ss as ProgressEvent,Cs as PromiseRejectionEvent,ia as RadioNodeList,Tr as Range,k as ResizeObserver,rt as SVGAElement,it as SVGAnimatedString,at as SVGCircleElement,ot as SVGClipPathElement,st as SVGDefsElement,ct as SVGDescElement,lt as SVGElement,ut as SVGEllipseElement,dt as SVGFilterElement,ft as SVGForeignObjectElement,pt as SVGGElement,mt as SVGGeometryElement,ht as SVGGradientElement,gt as SVGGraphicsElement,_t as SVGImageElement,vt as SVGLineElement,yt as SVGLinearGradientElement,bt as SVGMarkerElement,xt as SVGMaskElement,St as SVGMetadataElement,Ct as SVGPathElement,wt as SVGPatternElement,Tt as SVGPolygonElement,Et as SVGPolylineElement,Dt as SVGRadialGradientElement,Ot as SVGRectElement,kt as SVGSVGElement,At as SVGScriptElement,jt as SVGStopElement,Mt as SVGStyleElement,Nt as SVGSwitchElement,Pt as SVGSymbolElement,Ft as SVGTSpanElement,It as SVGTextContentElement,Lt as SVGTextElement,Rt as SVGTextPathElement,zt as SVGTextPositioningElement,Bt as SVGTitleElement,Vt as SVGUseElement,Ht as SVGViewElement,sr as Screen,br as Selection,Ja as ShadowRoot,Er as StaticRange,or as Storage,ws as StorageEvent,Pi as StyleSheet,Fi as StyleSheetList,Ts as SubmitEvent,io as Text,Is as TextEvent,nn as TimeRanges,Es as ToggleEvent,Ls as Touch,Rs as TouchEvent,zs as TouchList,Ds as TransitionEvent,Cr as TreeWalker,Bs as UIEvent,ta as ValidityState,cr as VisualViewport,Vs as WheelEvent,tr as Window,vr as XMLDocument,j as XMLHttpRequest,M as XMLHttpRequestEventTarget,N as XMLHttpRequestUpload,hr as XMLSerializer,nr as createWindow,cs as currentDocument,ls as currentWindow,us as currentWindowOrNull,Rr as getComputedStyle,P as installGlobals,ds as setCurrentWindow}from"./_chunks/src-CaVKwScX.js";
1
+ export{Mr as AbstractRange,bs as AnimationEvent,$a as Attr,an as Audio,xs as BeforeUnloadEvent,co as CDATASection,t as CSS,bi as CSSConditionRule,xi as CSSContainerRule,Si as CSSFontFaceRule,Ci as CSSGroupingRule,wi as CSSImportRule,Ti as CSSKeyframeRule,Ei as CSSKeyframesRule,Di as CSSLayerBlockRule,Oi as CSSLayerStatementRule,ki as CSSMediaRule,Ai as CSSNamespaceRule,ji as CSSNestedDeclarations,Mi as CSSPageRule,Ni as CSSPropertyRule,Pi as CSSRule,Fi as CSSRuleList,Ii as CSSScopeRule,Li as CSSStartingStyleRule,ia as CSSStyleDeclaration,Ri as CSSStyleRule,zi as CSSStyleSheet,Bi as CSSSupportsRule,lo as CharacterData,_r as Clipboard,Is as ClipboardEvent,vr as ClipboardItem,Ss as CloseEvent,Lr as CommandEvent,uo as Comment,Ls as CompositionEvent,ka as CustomElementRegistry,Cs as CustomEvent,rr as CustomStateSet,wr as DOMImplementation,Ba as DOMMatrix,Ba as WebKitCSSMatrix,Va as DOMMatrixReadOnly,Sr as DOMParser,Ha as DOMPoint,Ua as DOMPointReadOnly,O as DOMQuad,Wa as DOMRect,Wa as SVGRect,Ga as DOMRectList,Ka as DOMRectReadOnly,eo as DOMStringMap,to as DOMTokenList,T as DataTransfer,E as DataTransferItem,D as DataTransferItemList,Tr as Document,Tr as HTMLDocument,so as DocumentFragment,oo as DocumentType,Rs as DragEvent,Fa as Element,ir as ElementInternals,ws as ErrorEvent,rc as Event,cs as EventTarget,it as FileList,P as FileReader,zs as FocusEvent,z as FormData,Ts as FormDataEvent,dn as HTMLAnchorElement,fn as HTMLAreaElement,on as HTMLAudioElement,pn as HTMLBRElement,mn as HTMLBaseElement,hn as HTMLBodyElement,Y as HTMLButtonElement,gn as HTMLCanvasElement,po as HTMLCollection,_n as HTMLDListElement,vn as HTMLDataElement,H as HTMLDataListElement,rn as HTMLDetailsElement,in as HTMLDialogElement,yn as HTMLDirectoryElement,bn as HTMLDivElement,ar as HTMLElement,xn as HTMLEmbedElement,K as HTMLFieldSetElement,Sn as HTMLFontElement,ua as HTMLFormControlsCollection,V as HTMLFormElement,Cn as HTMLFrameElement,wn as HTMLFrameSetElement,Tn as HTMLHRElement,En as HTMLHeadElement,Dn as HTMLHeadingElement,On as HTMLHtmlElement,kn as HTMLIFrameElement,An as HTMLImageElement,nt as HTMLInputElement,jn as HTMLLIElement,J as HTMLLabelElement,q as HTMLLegendElement,Zt as HTMLLinkElement,Mn as HTMLMapElement,Nn as HTMLMarqueeElement,sn as HTMLMediaElement,Pn as HTMLMenuElement,Fn as HTMLMetaElement,U as HTMLMeterElement,In as HTMLModElement,Ln as HTMLOListElement,Rn as HTMLObjectElement,X as HTMLOptGroupElement,Z as HTMLOptionElement,da as HTMLOptionsCollection,W as HTMLOutputElement,zn as HTMLParagraphElement,Bn as HTMLParamElement,Vn as HTMLPictureElement,Hn as HTMLPreElement,G as HTMLProgressElement,Un as HTMLQuoteElement,Qt as HTMLScriptElement,et as HTMLSelectElement,tn as HTMLSlotElement,Wn as HTMLSourceElement,Gn as HTMLSpanElement,$t as HTMLStyleElement,Kn as HTMLTableCaptionElement,qn as HTMLTableCellElement,Jn as HTMLTableColElement,Yn as HTMLTableElement,Xn as HTMLTableRowElement,Zn as HTMLTableSectionElement,nn as HTMLTemplateElement,tt as HTMLTextAreaElement,Qn as HTMLTimeElement,en as HTMLTitleElement,$n as HTMLTrackElement,er as HTMLUListElement,tr as HTMLUnknownElement,cn as HTMLVideoElement,Es as HashChangeEvent,br as History,nr as Image,Bs as InputEvent,j as IntersectionObserver,M as IntersectionObserverEntry,Vs as KeyboardEvent,xr as Location,ot as MathMLElement,ln as MediaError,Vi as MediaList,hi as MediaQueryList,vi as MediaQueryListEvent,Ds as MessageEvent,Hs as MouseEvent,w as MutationObserver,Ho as MutationRecord,Za as NamedNodeMap,yr as Navigator,bo as Node,kr as NodeFilter,Ar as NodeIterator,Uo as NodeList,Q as Option,Os as PageTransitionEvent,Us as PointerEvent,ks as PopStateEvent,do as ProcessingInstruction,As as ProgressEvent,js as PromiseRejectionEvent,fa as RadioNodeList,Nr as Range,N as ResizeObserver,k as ResizeObserverEntry,A as ResizeObserverSize,st as SVGAElement,qt as SVGAnimatedPreserveAspectRatio,Jt as SVGAnimatedRect,ct as SVGAnimatedString,lt as SVGCircleElement,ut as SVGClipPathElement,dt as SVGDefsElement,ft as SVGDescElement,pt as SVGElement,mt as SVGEllipseElement,ht as SVGFilterElement,gt as SVGForeignObjectElement,_t as SVGGElement,vt as SVGGeometryElement,yt as SVGGradientElement,bt as SVGGraphicsElement,xt as SVGImageElement,St as SVGLineElement,Ct as SVGLinearGradientElement,wt as SVGMarkerElement,Tt as SVGMaskElement,Et as SVGMetadataElement,Yt as SVGNumber,Dt as SVGPathElement,Ot as SVGPatternElement,kt as SVGPolygonElement,At as SVGPolylineElement,Xt as SVGPreserveAspectRatio,jt as SVGRadialGradientElement,Mt as SVGRectElement,Nt as SVGSVGElement,Pt as SVGScriptElement,Ft as SVGStopElement,It as SVGStyleElement,Lt as SVGSwitchElement,Rt as SVGSymbolElement,zt as SVGTSpanElement,Bt as SVGTextContentElement,Vt as SVGTextElement,Ht as SVGTextPathElement,Ut as SVGTextPositioningElement,Wt as SVGTitleElement,Gt as SVGUseElement,Kt as SVGViewElement,hr as Screen,Or as Selection,no as ShadowRoot,Pr as StaticRange,mr as Storage,Ms as StorageEvent,Hi as StyleSheet,Ui as StyleSheetList,Ns as SubmitEvent,fo as Text,Ws as TextEvent,un as TimeRanges,Ps as ToggleEvent,Gs as Touch,Ks as TouchEvent,qs as TouchList,Fs as TransitionEvent,jr as TreeWalker,Js as UIEvent,la as ValidityState,gr as VisualViewport,Ys as WheelEvent,lr as Window,Er as XMLDocument,F as XMLHttpRequest,I as XMLHttpRequestEventTarget,L as XMLHttpRequestUpload,Cr as XMLSerializer,ur as createWindow,gs as currentDocument,_s as currentWindow,vs as currentWindowOrNull,Kr as getComputedStyle,R as installGlobals,ys as setCurrentWindow}from"./_chunks/src-BTj3c0xg.js";
@@ -1 +1 @@
1
- import{$ as e,$c as t,$d as n,$i as r,$l as i,$n as a,$o as o,$r as s,$s as c,$u as ee,Aa as l,Ac as u,Ad as te,Af as ne,Al as re,Ao as ie,Ar as ae,Au as oe,Ba as se,Bc as ce,Bd as le,Bf as ue,Bi as de,Bl as fe,Bo as pe,Br as me,Bu as he,C as ge,Ca as _e,Cc as ve,Cd as ye,Cf as be,Cl as xe,Co as Se,Cu as Ce,Dc as we,Dd as Te,Df as Ee,Dl as De,Do as Oe,Dr as ke,Du as Ae,Ea as je,Ec as Me,Ed as d,Ef as Ne,El as Pe,Eo as f,Eu as p,Fc as m,Fd as h,Ff as g,Fl as _,Fo as v,Fr as y,Fu as Fe,Gc as Ie,Gd as Le,Gi as Re,Gl as ze,Go as Be,Gr as Ve,Gs as He,Gu as Ue,Ha as We,Hc as Ge,Hd as Ke,Hf as qe,Hi as Je,Hl as Ye,Ho as Xe,Hr as Ze,Hs as b,Hu as Qe,I as $e,Ic as et,Id as tt,If as nt,Ii as rt,Il as it,Io as at,Ir as ot,Iu as st,Jc as ct,Jd as lt,Ji as ut,Jl as dt,Jo as ft,Jr as pt,Js as mt,Ju as ht,Kc as gt,Kd as _t,Ki as vt,Kl as yt,Ko as bt,Kr as xt,Ks as St,Ku as Ct,Lc as wt,Ld as Tt,Lf as Et,Li as Dt,Ll as x,Lo as Ot,Lr as kt,Lu as At,Mc as jt,Md as Mt,Mf as Nt,Ml as S,Mo as Pt,Mr as Ft,Mu as It,Nc as Lt,Nd as Rt,Nf as zt,Nl as Bt,No as Vt,Nr as Ht,Nu as Ut,Oa as Wt,Oc as Gt,Od as Kt,Of as qt,Ol as Jt,Oo as Yt,Or as Xt,Ou as Zt,Pc as Qt,Pd as $t,Pf as en,Pl as tn,Pr as nn,Pu as rn,Qc as an,Qd as on,Qi as sn,Ql as cn,Qn as ln,Qo as un,Qr as dn,Qs as fn,Qu as pn,Rc as mn,Rd as hn,Rf as gn,Ri as _n,Rl as vn,Ro as yn,Rr as bn,Ru as xn,S as Sn,Sa as Cn,Sc as wn,Sd as Tn,Sf as En,Sl as Dn,So as On,Su as kn,Ta as An,Tc as jn,Td as Mn,Tf as Nn,Tl as Pn,To as Fn,Tu as In,Uc as Ln,Ud as C,Ui as Rn,Ul as zn,Uo as Bn,Ur as Vn,Us as Hn,Uu as Un,Va as Wn,Vc as Gn,Vd as Kn,Vf as qn,Vi as Jn,Vl as Yn,Vo as Xn,Vr as Zn,Vu as Qn,Wa as $n,Wc as er,Wd as w,Wi as tr,Wl as nr,Wo as rr,Wr as ir,Ws as ar,Wu as or,Xa as sr,Xc as T,Xd as cr,Xl as lr,Xo as ur,Xr as dr,Xs as fr,Xu as pr,Y as mr,Ya as hr,Yc as gr,Yd as _r,Yi as vr,Yl as yr,Yo as br,Yr as xr,Yu as Sr,Za as Cr,Zc as wr,Zd as Tr,Zi as Er,Zl as Dr,Zo as Or,Zr as kr,Zs as Ar,Zu as jr,_ as Mr,_a as Nr,_c as Pr,_d as Fr,_f as Ir,_l as Lr,_o as Rr,_u as zr,a as Br,aa as Vr,ac as Hr,ad as Ur,af as Wr,ai as Gr,al as E,ao as Kr,ar as qr,as as Jr,au as Yr,b as Xr,ba as D,bc as Zr,bd as Qr,bf as $r,bl as ei,bo as ti,bu as ni,c as ri,ca as ii,cc as ai,cd as oi,cf as si,ci,cl as li,co as ui,cu as di,d as fi,da as pi,dc as mi,dd as hi,df as gi,di as _i,dl as vi,do as yi,du as bi,ea as xi,ec as Si,ed as Ci,ef as wi,ei as Ti,el as Ei,er as Di,eu as Oi,f as ki,fa as Ai,fc as ji,fd as O,ff as Mi,fl as Ni,fu as Pi,g as Fi,ga as Ii,gc as Li,gd as Ri,gf as zi,gl as Bi,go as Vi,gu as Hi,h as Ui,ha as k,hc as Wi,hd as Gi,hf as Ki,hl as qi,ho as Ji,hu as Yi,i as Xi,ic as Zi,id as Qi,if as $i,ii as ea,il as ta,ir as na,is as ra,iu as ia,ja as aa,jc as A,jd as oa,jf as sa,jl as ca,jo as la,jr as ua,ju as da,ka as fa,kc as pa,kd as ma,kf as ha,kl as ga,ko as _a,ku as va,l as ya,la as ba,lc as xa,ld as Sa,lf as Ca,li as wa,ll as Ta,lo as Ea,lu as Da,m as j,ma as Oa,mc as ka,md as Aa,mf as ja,ml as Ma,mo as Na,mu as Pa,n as Fa,nc as Ia,nd as La,nf as Ra,ni as za,nl as Ba,ns as Va,nu as Ha,o as Ua,oa as Wa,oc as Ga,od as Ka,of as qa,oi as Ja,ol as Ya,oo as Xa,os as Za,ou as Qa,p as $a,pa as eo,pc as to,pd as no,pf as ro,pl as io,po as ao,pu as oo,qc as so,qd as co,qi as lo,ql as uo,qo as fo,qr as po,qs as mo,qu as ho,r as go,rc as _o,rd as vo,rf as yo,ri as bo,rl as xo,rr as M,rs as So,ru as Co,s as wo,sa as To,sc as Eo,sd as Do,sf as Oo,sl as ko,so as Ao,ss as jo,su as Mo,tc as No,td as Po,tf as Fo,ti as Io,tl as Lo,tr as N,ts as Ro,tt as P,tu as zo,u as Bo,ua as Vo,uc as Ho,ud as Uo,uf as Wo,ul as Go,uo as Ko,us as F,uu as qo,v as Jo,va as I,vc as Yo,vd as Xo,vf as Zo,vl as L,vo as Qo,vu as $o,wa as es,wc as ts,wd as ns,wf as rs,wl as is,wo as as,wu as os,x as ss,xc as cs,xd as ls,xf as us,xl as R,xo as ds,xu as z,y as fs,ya as B,yc as ps,yd as ms,yf as hs,yl as gs,yo as _s,yr as vs,yu as ys,za as bs,zc as xs,zd as Ss,zf as Cs,zi as ws,zl as Ts,zo as Es,zr as Ds,zu as V}from"./_chunks/src-CaVKwScX.js";import{constants as Os,createContext as ks,runInContext as As}from"node:vm";import*as H from"node:diagnostics_channel";let U=null;function targets(){let e=/* @__PURE__ */ new Set,t=M();for(let n in t){let r=t[n];if(r===null||typeof r!=`object`&&typeof r!=`function`)continue;e.add(r);let i=r.prototype;typeof r==`function`&&typeof i==`object`&&i&&e.add(i)}return e.add(N.prototype),[...e]}function snapshot(e){let t=Reflect.ownKeys(e),n=Array(t.length);for(let r=0;r<t.length;r++){let i=t[r];n[r]=isArrayIndex(i)?null:Object.getOwnPropertyDescriptor(e,i)}return{target:e,keys:t,descriptors:n,keySet:null}}let W=null;function captureInterfaceBaseline(){if(U===null){U=[],W=/* @__PURE__ */ new WeakSet;for(let e of targets())U.push(snapshot(e)),W.add(e);ownObjectCreateMaps()}}let js=null;function ownObjectCreateMaps(){if(U===null)return;let e=js??=As(`(prototypes) => prototypes.map((p) => Object.create(p))`,ks(Os.DONT_CONTEXTIFY)),t=[Object.prototype];for(let e=0;e<U.length;e++){let n=U[e].target;typeof n!=`function`&&t.push(n)}e(t)}function configurableDescriptor(e){return typeof e==`object`&&e&&e.configurable!==!0?{...e,configurable:!0}:e}function guardInterfaceDefinitions(e){let t=W;if(t===null)return;let n=e.Object,r=e.Reflect,i=n.defineProperty,a=n.defineProperties,o=r.defineProperty,s={defineProperty(e,n,r){return i(e,n,t.has(e)?configurableDescriptor(r):r)},defineProperties(e,n){if(!t.has(e)||typeof n!=`object`||!n)return a(e,n);let r={};for(let e of Reflect.ownKeys(n))Object.getOwnPropertyDescriptor(n,e)?.enumerable&&(r[e]=configurableDescriptor(n[e]));return a(e,r)},reflectDefineProperty(e,n,r){return o(e,n,t.has(e)?configurableDescriptor(r):r)}};Object.defineProperty(s.reflectDefineProperty,"name",{value:`defineProperty`}),Object.defineProperty(n,"defineProperty",{value:s.defineProperty,writable:!0,configurable:!0,enumerable:!1}),Object.defineProperty(n,"defineProperties",{value:s.defineProperties,writable:!0,configurable:!0,enumerable:!1}),Object.defineProperty(r,"defineProperty",{value:s.reflectDefineProperty,writable:!0,configurable:!0,enumerable:!1})}function isArrayIndex(e){if(typeof e!=`string`||e===``||e.length>10)return!1;let t=Number(e);return t>>>0===t&&t!==4294967295&&String(t)===e}function sameDescriptor(e,t){return e.value===t.value&&e.get===t.get&&e.set===t.set&&e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable}function restoreInterfaces(){if(U===null)return 0;let e=0;for(let t=0;t<U.length;t++){let n=U[t],r=n.target,i=Reflect.ownKeys(r);for(let t=0;t<i.length;t++){let a=i[t];a===n.keys[t]||(n.keySet??=new Set(n.keys)).has(a)||isArrayIndex(a)||Reflect.deleteProperty(r,a)&&e++}for(let t=0;t<n.keys.length;t++){let i=n.keys[t],a=n.descriptors[t];if(a===null)continue;let o=Object.getOwnPropertyDescriptor(r,i);if(!(o!==void 0&&sameDescriptor(o,a)))try{Object.defineProperty(r,i,a),e++}catch{}}}return ownObjectCreateMaps(),e}const G=`ctrl-dom:span`,K=typeof H.tracingChannel==`function`?H.tracingChannel(G):null;function spanChannel(){return K}function tracing(){return K!==null&&K.hasSubscribers}function traceSync(e,t,n){let r={op:e,description:t,data:{},async:!1},i=C();return K.traceSync(e=>{try{return n(e)}finally{recordSkipped(e,i)}},r,void 0,r)}function tracePromise(e,t,n){let r={op:e,description:t,data:{},async:!0},i=C();return K.tracePromise(e=>n(e).finally(()=>recordSkipped(e,i)),r,void 0,r)}function recordSkipped(e,t){let n=C()-t;n>0&&(e.data[`clock.skipped_ms`]=Math.round(n))}function describeCall(e,t){let n=`${e}(`;for(let e=0;e<t.length&&(t[e]!==void 0||e!==t.length-1);e++)if(n+=(e>0?`, `:``)+describeValue(t[e],0),n.length>160)return`${n.slice(0,159)}…)`;return`${n})`}function describeValue(e,t){if(typeof e==`string`)return JSON.stringify(e.length>40?`${e.slice(0,39)}…`:e);if(typeof e==`function`)return e.name?`${e.name}()`:`fn`;if(e instanceof RegExp||typeof e!=`object`||!e)return String(e);if(e[_]!==void 0)return describeNode(e);if(Array.isArray(e))return t>0?`[…]`:`[${e.slice(0,3).map(e=>describeValue(e,t+1)).join(`, `)}${e.length>3?`, …`:``}]`;if(t>0)return`{…}`;let n=Object.entries(e).slice(0,4);return n.length===0?`{}`:`{ ${n.map(([e,n])=>`${e}: ${describeValue(n,t+1)}`).join(`, `)} }`}let q=null;function setNodeDescriber(e){q=e}function describeNode(e){let t=e;if(t.nodeType===9)return`document`;if(t.nodeType!==1||typeof t.localName!=`string`)return t.nodeType===3?`#text`:`node`;if(q!==null)try{let t=q(e);if(t)return t}catch{}if(t.localName===`body`||t.localName===`html`)return`<${t.localName}>`;let n=t.getAttribute?.(`aria-label`)||t.textContent?.trim().replace(/\s+/g,` `)||t.getAttribute?.(`placeholder`)||t.getAttribute?.(`name`)||``;return n===``?`<${t.localName}>`:`<${t.localName} ${quote(n)}>`}function quote(e){return JSON.stringify(e.length>40?`${e.slice(0,39)}…`:e)}const J=`sentry-tests:failure`;let Y=null;function setFailureSnapshot(e){Y=e}function subscribeTestFailures(e){let t=H.channel(J),onFailure=t=>{let n=t,r=e();if(r==null||n.document!==r)return;let i=w();if(i!==null&&(n.contexts.clock={skipped_ms:Math.round(i.skippedMs),pending_timers:i.pendingTimers}),Y!==null&&r.body!=null)try{n.attachments.push({filename:`accessibility-snapshot.txt`,contentType:`text/plain`,data:Y(r.body)})}catch{}};return t.subscribe(onFailure),()=>t.unsubscribe(onFailure)}var FileState=class{hooks;url;constructor(){this.hooks=/* @__PURE__ */ new Map,this.url=null}};const X=/* @__PURE__ */ new WeakMap;function stateOf(e){let t=X.get(e);return t===void 0&&X.set(e,t=new FileState),t}function registerTestHooks(e,t){let n=F();if(n===null)return;let r=stateOf(n).hooks;r.set(e,{...r.get(e),...t})}function testHooks(){let e=F(),t=e===null?void 0:X.get(e);return t===void 0?[]:[...t.hooks.values()]}function resetWindowBetweenFiles(e){let t=stateOf(e);for(let e of t.hooks.values())try{e.fileEnd?.()}catch{}Kn(),na(e);let n=e[O];if(n!==null){for(let e of n)e.clear(e.handle);n.clear()}e[L]=null,e[V]=null,e[R]=null,e[S]=null;let r=e.document;r.getSelection()?.removeAllRanges();let i=r.body;i!==null&&(i.replaceChildren(),removeAttributes(i)),r.documentElement!==null&&removeAttributes(r.documentElement),e.localStorage.clear(),e.sessionStorage.clear(),e[m]=null;let a=t.url??=e.location.href;e.location.href!==a&&e._setURL(new URL(a));let o=e.history;o[E]=[{url:a,state:null}],o[x]=0}function removeAttributes(e){let t=e.getAttributeNames();for(let n=0;n<t.length;n++)e.removeAttribute(t[n])}function implOf(e){return e[_]??e}function isTypingType(e){return I(e)||e===12||e>=7&&e<=11}function isEditable(e){let t=implOf(e);return t.tag===b.input?isTypingType(k(t))&&j(t):t.tag===b.textarea?j(t):y(t)}function supportsSelection(e){let t=implOf(e);return t.tag===b.textarea||t.tag===b.input&&B(k(t))}function hasUIValue(e){let t=implOf(e);return t.tag===b.textarea||t.tag===b.input&&D(k(t))===0}function getUIValue(e){let t=implOf(e);if(t.tag===b.input){let e=t.node;return e[A].uiValue??e.value}return t.tag===b.textarea?t.node.value:``}function setUIValue(t,n){let r=implOf(t);if(r.tag===b.input){let t=r.node,i=k(r);if(D(i)!==0)return;let a=e(i,n,r);r.doc[d]++,t[A].value=a,t[A].dirtyValue=!0,t[A].userEdited=!0,t[A].uiValue=a===n?null:n,t[A].badInput=a===``&&n!==``&&i!==5&&!I(i);let o=n.length;t[A].selStart>o&&(t[A].selStart=o),t[A].selEnd>o&&(t[A].selEnd=o)}else if(r.tag===b.textarea){let e=r.node;r.doc[d]++,e[A].value=n,e[A].dirtyValue=!0,e[A].userEdited=!0}}function clearUIValue(e){let t=implOf(e);if(t.tag===b.input){let e=t.node;e[A].uiValue=null,e[A].badInput=!1}}function getUISelection(e){let t=implOf(e).node,n=getUIValue(e).length;return{start:Math.min(t[A].selStart,n),end:Math.min(t[A].selEnd,n),direction:t[A].selDir}}function setUISelection(e,t,n=t,r=`none`){let i=implOf(e);if(i.tag!==b.input&&i.tag!==b.textarea)return;let a=i.node,o=getUIValue(e).length,s=Math.max(0,Math.min(t,n)),c=Math.max(t,n);c>o&&(c=o),s>c&&(s=c),a[A].selStart=s,a[A].selEnd=c,a[A].selDir=r}function setFilesFromUI(e,t){let n=implOf(e);n.tag===b.input&&k(n)===17&&(n.doc[d]++,n.node[A].files=P(t))}function setOptionSelectedFromUI(e,t){let n=implOf(e);if(n.tag!==b.option)return;let r=n.node;r._setSelectedness(t),r[T]=!0;let i=mr(n);if(i!==null){let e=i.node;t&&e._deselectOthers(n),e._updateSelectedContent()}}function setCheckedFromUI(e,t){let n=implOf(e);n.tag===b.input&&n.node._setCheckedness(t,!0)}const Ms=N.prototype.getComputedStyle;let Z=null,Q=null,$=null;function getComputedStyleOverride(e){let t=e.doc.defaultView;if(t==null)return null;let n=t.getComputedStyle;if(n===Ms||typeof n!=`function`||$e.has(n))return null;if(Q?.deref()===n&&Z?.deref()===t){let e=$.deref();if(e!==void 0)return e}let r=n.bind(t);return Z=new WeakRef(t),Q=new WeakRef(n),$=new WeakRef(r),r}export{fn as $_proto__,c as $aboutBase,Si as $active,No as $assocGen,Ia as $attr,_o as $attributes,Zi as $availableToElementInternals,Hr as $baseFor,Ga as $baseOverride,Eo as $baseURL,ai as $baseVersion,xa as $benign,Ho as $block,mi as $blockParsed,ji as $blockText,to as $byCtor,ka as $byName,Wi as $cache,Li as $callback,Pr as $childNodes,Yo as $childWindows,ps as $children,Zr as $classList,cs as $clipboard,wn as $clonable,ve as $closed,ts as $coll,jn as $compiled,Me as $compiledFor,we as $condition,Gt as $constructed,pa as $constructingEntryList,u as $contentType,A as $control,jt as $controlsCache,Lt as $controlsDoc,Qt as $controlsVersion,m as $cookieJar,et as $cookies,wt as $css,mn as $current,xs as $customElements,ce as $customValidity,Gn as $cx,Ge as $data,Ln as $dataset,er as $declarative,Ie as $defaultNamespace,gt as $defaultValueOverride,so as $delegatesFocus,ct as $derived,gr as $devicePixelRatio,T as $dirtiness,wr as $disabled,an as $disallowModification,t as $doc,Ei as $dropEffect,Lo as $ec,Ba as $effectAllowed,xo as $el,ta as $elements,E as $entries,Ya as $eo,ko as $error,li as $file,Ta as $files,Go as $fill,vi as $filter,Ni as $firingSubmissionEvents,io as $focused,Ma as $forLabels,qi as $form,Bi as $formAttrSeen,Lr as $forms,L as $frameCallbacks,gs as $frameElement,ei as $frameId,R as $frameTask,Dn as $frameTime,xe as $generation,is as $globalObject,Pn as $hasTransients,Pe as $height,De as $history,Jt as $home,ga as $host,re as $href,ca as $id,S as $idleCallbacks,Bt as $idleId,tn as $ids,_ as $impl,it as $implementation,x as $index,vn as $indexed,Ts as $inflight,fe as $info,Yn as $innerHeight,Ye as $innerWidth,zn as $is2D,nr as $isHTML,ze as $items,yt as $keyText,uo as $kind,dt as $labels,yr as $layerName,lr as $list,Dr as $listeners,cn as $localStorage,i as $location,Oi as $lockedForReset,zo as $m,Ha as $matches,Co as $media,ia as $mediaQueryLists,Yr as $mode,Qa as $name,Mo as $names,di as $namespaces,Da as $navigator,qo as $nodes,bi as $onchange,Pi as $options,oo as $owner,Pa as $ownerNode,Yi as $ownerRule,Hi as $parent,zr as $parentRule,$o as $parentWindow,ys as $pastNames,ni as $pointerBeforeReference,z as $prefix,kn as $prelude,Ce as $presentationStyle,os as $pseudo,In as $queries,p as $radios,Ae as $ranges,Zt as $readonly,va as $readyState,oe as $rebuildVersion,da as $record,It as $records,Ut as $rects,rn as $reference,Fe as $result,st as $root,At as $rules,xn as $running,V as $runningFrame,he as $sc,Qn as $screen,Qe as $scrollRestoration,Un as $scrollX,or as $scrollY,Ue as $selSet,Ct as $selectedOptions,ho as $selectedness,ht as $selection,Sr as $selector,pr as $serializable,jr as $sessionStorage,pn as $settled,ee as $shadowRoot,Ci as $shed,Po as $sheet,La as $sheets,vo as $slotAssignment,Qi as $so,Ur as $states,Ka as $style,Do as $styleVersion,oi as $supportsText,Sa as $systemId,Uo as $target,hi as $targets,O as $tasks,no as $timers,Aa as $title,Gi as $treeVersion,Ri as $type,Fr as $types,Xo as $updating,ms as $updatingSelectedContent,Qr as $uri,ls as $url,Tn as $userActivation,ye as $userValidity,ns as $validity,Mn as $value,d as $version,Te as $visualViewport,Kt as $w,ma as $whatToShow,te as $whenDefined,oa as $width,Mt as $window,Rt as $writeBuffer,$t as $x,h as $xhr,tt as $y,Tt as $z,n as ATTRIBUTE_NODE,un as AttrRecord,wi as CDATA_SECTION_NODE,Fo as COMMENT_NODE,Rn as COMPAT,tr as COMPAT_PROFILES,Re as DEFAULT_COMPAT,Ra as DOCUMENT_FRAGMENT_NODE,yo as DOCUMENT_NODE,$i as DOCUMENT_POSITION_CONTAINED_BY,Wr as DOCUMENT_POSITION_CONTAINS,qa as DOCUMENT_POSITION_DISCONNECTED,Oo as DOCUMENT_POSITION_FOLLOWING,si as DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC,Ca as DOCUMENT_POSITION_PRECEDING,Wo as DOCUMENT_TYPE_NODE,Er as DeclBlock,gi as ELEMENT_NODE,Mi as ENTITY_NODE,ro as ENTITY_REFERENCE_NODE,fr as EventState,J as FAILURE_CHANNEL,ja as F_ADOPT_HOOK,Ki as F_ARIA_ATTRS,zi as F_ATTR_HOOK,Ir as F_CE_CUSTOM,Zo as F_CHILDREN_HOOK,hs as F_CHILD_LIST,$r as F_CONNECTED,us as F_CONNECT_HOOK,En as F_CONTENTEDITABLE_ATTR,be as F_CUSTOM,rs as F_DATA_ATTRS,Nn as F_FACE,Ne as F_FORM_ATTR,Ee as F_HAS_SHADOW,qt as F_HAS_STYLE_ATTR,ha as F_HTML,ne as F_INERT_ATTR,sa as F_MO_REGISTERED,Nt as F_SHADOW_ROOT,zt as F_TABINDEX_ATTR,Cn as GLOBAL_EVENT_HANDLER_EVENTS,Kr as HTMLCollection,en as HTML_NS,Oa as INPUT_TYPE_NAMES,g as MATHML_NS,nt as NOTATION_NODE,_n as NodeCache,o as NodeImpl,v as NodeList,Et as PROCESSING_INSTRUCTION_NODE,G as SPAN_CHANNEL,gn as SVG_NS,b as T,Cs as TEXT_NODE,hn as VirtualClock,Ss as VirtualTimeout,_e as WINDOW_EVENT_HANDLER_EVENTS,ue as XLINK_NS,qn as XMLNS_NS,qe as XML_NS,s as adoptedStyleSheetsOf,On as ariaAttr,Se as asciiLowercase,Vi as assignManually,Rr as assignedElements,Qo as assignedNodes,_s as assignedSlot,Wt as attachShadowRoot,as as attr,ln as attrAssociatedElement,a as attrAssociatedElements,$n as attrNode,le as canSkipZeroDelayWait,captureInterfaceBaseline,pe as childAt,Fn as classTokens,clearUIValue,Ke as clockNow,w as clockStats,ui as closest,ke as compareBoundaryPoints,vt as compatExposes,Ds as computedDisplay,me as computedValue,Zn as computedVisibility,ae as constructEntryList,Fa as controlValue,vs as createEvent,P as createFileList,Ti as createLinkSheet,Ze as currentStyleVersion,ua as defaultButton,lo as deferredCompatMembers,yn as derivedCache,describeCall,describeNode,Ro as dispatch,de as dispatchTrusted,Xa as ensureCollectionIndexGetters,at as ensureIndexGetters,ci as evaluateMediaQueryList,r as faceState,ti as findFlattenedSlottables,ds as findSlot,Jn as fireAnEvent,Je as fireSyntheticPointerEvent,Xn as firstElementChild,Le as foreignImmediatesPending,Wa as formOwner,f as getAttribute,bn as getComputedStyle,getComputedStyleOverride,Va as getCurrentEvent,fa as getElementsByClassName,l as getElementsByTagName,aa as getElementsByTagNameNS,es as getEventHandler,getUISelection,getUIValue,guardInterfaceDefinitions,Oe as hasAttr,Vn as hasAuthorStyles,Di as hasExplicitAttrElements,He as hasListeners,go as hasReadonlyAttribute,hasUIValue,ut as hiddenGlobals,Ft as implicitSubmission,Ot as indexGetterTable,Xe as indexOf,Xi as inputChecked,Br as inputIndeterminate,k as inputType,Ii as inputTypeFromAttr,ao as inspectNode,_t as installClock,An as installEventHandlers,To as isActuallyDisabled,Yt as isAsciiWhitespace,Ua as isAutofilled,wo as isChecked,co as isClockTimer,ri as isDefault,ya as isDisabled,ir as isDisplayNone,Ve as isDisplayNoneInclusive,isEditable as isEditableControl,Bo as isEnabled,xi as isFACE,fi as isInRange,Bn as isInclusiveAncestor,ki as isIndeterminate,$a as isInvalid,ii as isLabelable,ba as isListed,j as isMutable,Nr as isNumericType,Ui as isOptional,Fi as isOutOfRange,Mr as isPlaceholderShown,Jo as isReadOnly,fs as isReadWrite,Xr as isRequired,Vo as isResettable,Ht as isSubmitButton,pi as isSubmittable,ss as isTextControl,I as isTextualType,Sn as isValid,bs as isValidDoctypeName,se as isValidElementLocalName,Wn as isValidNamespacePrefix,xt as isVisibilityHidden,Ai as labeledControl,eo as labelsFor,rr as lastElementChild,Vr as listOfOptions,St as listenerCount,lt as loopTurn,rt as matchMediaText,Ea as matches,wa as mediaEnvironment,Be as nextElementInTree,bt as nextElementSibling,fo as nextInTree,ft as nextSkippingChildren,ws as nodeCache,So as nodeGetTheParent,Xt as nodeLength,Vt as notifyMutationObservers,ge as optionSelected,sn as parseDeclBlock,Cr as parseFragment,Dt as parseMediaQueryList,Es as peekDerivedCache,po as pointerEvents,pt as pointerEventsNone,_a as prefixFlag,br as previousElementSibling,ur as previousInTree,xr as pseudoContent,Ko as querySelector,yi as querySelectorAll,quote,za as registerOwnerSheet,registerTestHooks,mo as removeAllEventListeners,ie as removeAttribute,bo as removeOwnerSheet,Na as replaceData,Za as reportException,resetWindowBetweenFiles,vr as resolveCompat,restoreInterfaces,ra as retarget,mt as reusableElement,hr as serializeChildren,sr as serializeNode,ea as setAdoptedStyleSheets,Jr as setAssignedSlotLookup,la as setAttribute,setCheckedFromUI,dr as setComputedColorMode,je as setEventHandler,setFailureSnapshot,setFilesFromUI,setNodeDescriber,nn as setNotImplementedHandler,setOptionSelectedFromUI,Ar as setTrusted,setUISelection,setUIValue,jo as setUncaughtExceptionHandler,_r as skipIdleTime,cr as skipZeroDelayWait,spanChannel,Pt as splitOnAsciiWhitespace,Ji as splitText,ot as styleElementRemoved,Io as styleElementSheet,kt as styleElementUpdated,Gr as styleSheetsOf,kr as styledDisplay,subscribeTestFailures,supportsSelection,B as supportsSelectionType,Hn as tagId,ar as tagName,testHooks,tracePromise,traceSync,tracing,qr as trackGlobalTimers,Or as treeRoot,dn as uaDisplay,Ja as unregisterOwnerSheet,We as validateAndExtract,D as valueMode,Tr as virtualDate,on as virtualPerformance,_i as windowHooks,M as windowInterfaces,Ao as withNamedProperties};
1
+ import{$ as e,$c as t,$d as n,$i as r,$l as i,$o as a,$r as o,$s as s,$u as c,Aa as ee,Ac as te,Ad as ne,Af as re,Al as ie,Ao as ae,Au as oe,B as se,Bc as ce,Bd as le,Bf as ue,Bl as l,Bo as de,Br as fe,Bu as pe,C as me,Ca as u,Cc as he,Cd as ge,Cf as _e,Cl as ve,Co as ye,Cu as be,Da as d,Dc as xe,Dd as Se,Df as Ce,Dl as we,Do as Te,Dr as Ee,Du as De,Ea as f,Ec as Oe,Ed as ke,Ef as Ae,El as p,Eo as je,Eu as Me,Fc as m,Fd as h,Ff as g,Fl as _,Fo as v,Fr as y,Fu as b,Gc as x,Gd as Ne,Gf as Pe,Gi as Fe,Gl as S,Go as Ie,Gr as Le,Gu as Re,Hc as ze,Hd as Be,Hf as Ve,Hl as He,Hr as Ue,Hu as We,Ia as Ge,Ic as Ke,Id as qe,If as Je,Il as Ye,Io as Xe,Ir as Ze,Iu as Qe,Ja as $e,Jc as et,Jd as C,Ji as tt,Jl as nt,Jo as rt,Jr as it,Ju as at,Kc as ot,Kd as st,Kf as ct,Ki as lt,Kl as ut,Ko as dt,Kr as ft,Ku as pt,La as mt,Lc as ht,Ld as gt,Lf as _t,Ll as vt,Lo as yt,Lu as bt,Ma as xt,Mc as St,Md as Ct,Mf as wt,Ml as Tt,Mo as Et,Mu as Dt,Na as Ot,Nc as kt,Nd as At,Nf as jt,Nl as Mt,No as Nt,Nu as Pt,Oa as w,Oc as Ft,Od as It,Of as Lt,Ol as Rt,Oo as zt,Ou as Bt,Pa as Vt,Pc as Ht,Pd as Ut,Pf as Wt,Pl as Gt,Po as Kt,Pu as qt,Qa as Jt,Qc as Yt,Qd as Xt,Qi as Zt,Ql as Qt,Qo as $t,Qr as en,Qs as tn,Qu as nn,Ra as rn,Rc as an,Rd as on,Rf as sn,Rl as cn,Ro as ln,Rr as un,Ru as dn,S as fn,Sa as pn,Sc as mn,Sd as hn,Sf as gn,Sl as _n,So as vn,Su as yn,Ta as bn,Tc as xn,Td as Sn,Tf as Cn,Tl as wn,To as Tn,Tu as En,Uc as T,Ud as Dn,Uf as On,Ul as E,Uo as kn,Ur as An,Uu as jn,Vc as Mn,Vd as Nn,Vf as Pn,Vl as Fn,Vo as In,Vr as Ln,Vu as Rn,Wc as zn,Wd as Bn,Wf as Vn,Wi as Hn,Wl as Un,Wo as Wn,Wr as Gn,Wu as D,Xa as Kn,Xc as qn,Xd as Jn,Xi as Yn,Xl as Xn,Xo as Zn,Xr as Qn,Xs as O,Xu as $n,Ya as er,Yc as tr,Yd as k,Yi as nr,Yl as rr,Yo as ir,Yr as ar,Yu as or,Zc as sr,Zd as cr,Zi as lr,Zl as ur,Zo as dr,Zr as fr,Zs as pr,Zu as mr,_ as hr,_a as gr,_c as _r,_d as A,_f as vr,_i as yr,_l as br,_o as xr,_u as Sr,a as Cr,aa as wr,ac as Tr,ad as Er,af as Dr,ai as Or,al as kr,ao as Ar,as as jr,at as j,au as Mr,b as Nr,ba as Pr,bc as Fr,bd as Ir,bf as Lr,bl as Rr,bu as zr,c as Br,ca as Vr,cc as Hr,cd as Ur,cf as Wr,ci as Gr,cl as Kr,cr as qr,cu as Jr,d as Yr,dc as Xr,dd as Zr,df as Qr,di as $r,dl as ei,dr as M,ds as ti,du as ni,ea as ri,ec as ii,ed as ai,ef as oi,ei as si,el as N,es as ci,eu as li,f as ui,fc as di,fd as fi,ff as pi,fi as mi,fl as hi,fr as gi,fs as _i,fu as vi,g as yi,ga as bi,gc as xi,gd as Si,gf as Ci,gi as wi,gl as Ti,go as Ei,gu as Di,h as Oi,ha as ki,hc as Ai,hd as ji,hf as Mi,hl as Ni,ho as Pi,hs as Fi,hu as Ii,i as Li,ic as Ri,id as zi,if as Bi,ii as Vi,il as P,io as Hi,is as Ui,iu as Wi,ja as Gi,jc as Ki,jd as F,jf as qi,jl as Ji,jo as Yi,ju as Xi,kc as Zi,kd as Qi,kf as $i,kl as I,ko as ea,ku as ta,l as na,lc as ra,ld as ia,lf as aa,li as oa,ll as sa,lr as L,ls as ca,lu as la,m as R,ma as ua,mc as da,md as fa,mf as pa,mi as ma,ml as ha,mo as ga,ms as _a,mu as va,n as ya,na as ba,nc as xa,nd as Sa,nf as Ca,ni as wa,nl as Ta,ns as Ea,nu as Da,o as Oa,oa as ka,oc as Aa,od as ja,of as Ma,oi as Na,ol as Pa,or as Fa,os as Ia,ou as La,p as Ra,pa as za,pc as Ba,pd as Va,pf as Ha,pi as Ua,pl as z,po as Wa,pr as Ga,ps as Ka,pu as qa,qa as Ja,qc as Ya,qd as Xa,qf as Za,qi as Qa,ql as $a,qo as eo,qr as to,qu as no,r as ro,ra as io,rd as ao,rf as oo,ri as so,rl as co,ro as lo,rs as uo,rt as fo,ru as po,s as mo,sa as ho,sc as go,sd as _o,sf as vo,si as yo,sl as bo,sr as xo,ss as So,su as Co,ta as wo,tc as To,td as Eo,tf as Do,ti as Oo,tl as ko,ts as Ao,tu as jo,u as Mo,uc as No,ud as Po,uf as Fo,ui as Io,ul as Lo,us as Ro,uu as zo,v as Bo,va as Vo,vc as Ho,vd as Uo,vf as Wo,vl as Go,vo as Ko,vs as B,vu as qo,wa as Jo,wc as Yo,wd as Xo,wf as Zo,wl as Qo,wo as $o,wu as es,x as ts,xa as ns,xc as rs,xd as is,xf as as,xl as os,xo as ss,xu as cs,y as ls,ya as us,yc as ds,yd as fs,yf as ps,yi as ms,yl as hs,yo as gs,yu as _s,za as vs,zc as V,zd as ys,zf as bs,zl as xs,zo as Ss,zr as Cs,zu as ws}from"./_chunks/src-BTj3c0xg.js";import{constants as Ts,createContext as Es,runInContext as Ds}from"node:vm";import*as H from"node:diagnostics_channel";let U=null;function targets(){let e=/* @__PURE__ */ new Set,t=M();for(let n in t){let r=t[n];if(r===null||typeof r!=`object`&&typeof r!=`function`)continue;e.add(r);let i=r.prototype;typeof r==`function`&&typeof i==`object`&&i&&e.add(i)}return e.add(L.prototype),[...e]}function snapshot(e){let t=Reflect.ownKeys(e),n=Array(t.length);for(let r=0;r<t.length;r++){let i=t[r];n[r]=isArrayIndex(i)?null:Object.getOwnPropertyDescriptor(e,i)}return{target:e,keys:t,descriptors:n,keySet:null}}let W=null;function captureInterfaceBaseline(){if(U===null){U=[],W=/* @__PURE__ */ new WeakSet;for(let e of targets())U.push(snapshot(e)),W.add(e);ownObjectCreateMaps()}}let Os=null;function ownObjectCreateMaps(){if(U===null)return;let e=Os??=Ds(`(prototypes) => prototypes.map((p) => Object.create(p))`,Es(Ts.DONT_CONTEXTIFY)),t=[Object.prototype];for(let e=0;e<U.length;e++){let n=U[e].target;typeof n!=`function`&&t.push(n)}e(t)}function configurableDescriptor(e){return typeof e==`object`&&e&&e.configurable!==!0?{...e,configurable:!0}:e}function guardInterfaceDefinitions(e){let t=W;if(t===null)return;let n=e.Object,r=e.Reflect,i=n.defineProperty,a=n.defineProperties,o=r.defineProperty,s={defineProperty(e,n,r){return i(e,n,t.has(e)?configurableDescriptor(r):r)},defineProperties(e,n){if(!t.has(e)||typeof n!=`object`||!n)return a(e,n);let r={};for(let e of Reflect.ownKeys(n))Object.getOwnPropertyDescriptor(n,e)?.enumerable&&(r[e]=configurableDescriptor(n[e]));return a(e,r)},reflectDefineProperty(e,n,r){return o(e,n,t.has(e)?configurableDescriptor(r):r)}};Object.defineProperty(s.reflectDefineProperty,"name",{value:`defineProperty`}),Object.defineProperty(n,"defineProperty",{value:s.defineProperty,writable:!0,configurable:!0,enumerable:!1}),Object.defineProperty(n,"defineProperties",{value:s.defineProperties,writable:!0,configurable:!0,enumerable:!1}),Object.defineProperty(r,"defineProperty",{value:s.reflectDefineProperty,writable:!0,configurable:!0,enumerable:!1})}function isArrayIndex(e){if(typeof e!=`string`||e===``||e.length>10)return!1;let t=Number(e);return t>>>0===t&&t!==4294967295&&String(t)===e}function sameDescriptor(e,t){return e.value===t.value&&e.get===t.get&&e.set===t.set&&e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable}function restoreInterfaces(){if(U===null)return 0;let e=0;for(let t=0;t<U.length;t++){let n=U[t],r=n.target,i=Reflect.ownKeys(r);for(let t=0;t<i.length;t++){let a=i[t];a===n.keys[t]||(n.keySet??=new Set(n.keys)).has(a)||isArrayIndex(a)||Reflect.deleteProperty(r,a)&&e++}for(let t=0;t<n.keys.length;t++){let i=n.keys[t],a=n.descriptors[t];if(a===null)continue;let o=Object.getOwnPropertyDescriptor(r,i);if(!(o!==void 0&&sameDescriptor(o,a)))try{Object.defineProperty(r,i,a),e++}catch{}}}return ownObjectCreateMaps(),e}const G=`ctrl-dom:span`,K=typeof H.tracingChannel==`function`?H.tracingChannel(G):null;function spanChannel(){return K}function tracing(){return K!==null&&K.hasSubscribers}function traceSync(e,t,n){let r={op:e,description:t,data:{},async:!1},i=C();return K.traceSync(e=>{try{return n(e)}finally{recordSkipped(e,i)}},r,void 0,r)}function tracePromise(e,t,n){let r={op:e,description:t,data:{},async:!0},i=C();return K.tracePromise(e=>n(e).finally(()=>recordSkipped(e,i)),r,void 0,r)}function recordSkipped(e,t){let n=C()-t;n>0&&(e.data[`clock.skipped_ms`]=Math.round(n))}function describeCall(e,t){let n=`${e}(`;for(let e=0;e<t.length&&(t[e]!==void 0||e!==t.length-1);e++)if(n+=(e>0?`, `:``)+describeValue(t[e],0),n.length>160)return`${n.slice(0,159)}…)`;return`${n})`}function describeValue(e,t){if(typeof e==`string`)return JSON.stringify(e.length>40?`${e.slice(0,39)}…`:e);if(typeof e==`function`)return e.name?`${e.name}()`:`fn`;if(e instanceof RegExp||typeof e!=`object`||!e)return String(e);if(e[E]!==void 0)return describeNode(e);if(Array.isArray(e))return t>0?`[…]`:`[${e.slice(0,3).map(e=>describeValue(e,t+1)).join(`, `)}${e.length>3?`, …`:``}]`;if(t>0)return`{…}`;let n=Object.entries(e).slice(0,4);return n.length===0?`{}`:`{ ${n.map(([e,n])=>`${e}: ${describeValue(n,t+1)}`).join(`, `)} }`}let q=null;function setNodeDescriber(e){q=e}function describeNode(e){let t=e;if(t.nodeType===9)return`document`;if(t.nodeType!==1||typeof t.localName!=`string`)return t.nodeType===3?`#text`:`node`;if(q!==null)try{let t=q(e);if(t)return t}catch{}if(t.localName===`body`||t.localName===`html`)return`<${t.localName}>`;let n=t.getAttribute?.(`aria-label`)||t.textContent?.trim().replace(/\s+/g,` `)||t.getAttribute?.(`placeholder`)||t.getAttribute?.(`name`)||``;return n===``?`<${t.localName}>`:`<${t.localName} ${quote(n)}>`}function quote(e){return JSON.stringify(e.length>40?`${e.slice(0,39)}…`:e)}const J=`sentry-tests:failure`;let Y=null;function setFailureSnapshot(e){Y=e}function subscribeTestFailures(e){let t=H.channel(J),onFailure=t=>{let n=t,r=e();if(r==null||n.document!==r)return;let i=k();if(i!==null&&(n.contexts.clock={skipped_ms:Math.round(i.skippedMs),pending_timers:i.pendingTimers}),Y!==null&&r.body!=null)try{n.attachments.push({filename:`accessibility-snapshot.txt`,contentType:`text/plain`,data:Y(r.body)})}catch{}};return t.subscribe(onFailure),()=>t.unsubscribe(onFailure)}var FileState=class{hooks;url;constructor(){this.hooks=/* @__PURE__ */ new Map,this.url=null}};const X=/* @__PURE__ */ new WeakMap;function stateOf(e){let t=X.get(e);return t===void 0&&X.set(e,t=new FileState),t}function registerTestHooks(e,t){let n=B();if(n===null)return;let r=stateOf(n).hooks;r.set(e,{...r.get(e),...t})}function testHooks(){let e=B(),t=e===null?void 0:X.get(e);return t===void 0?[]:[...t.hooks.values()]}function resetWindowBetweenFiles(e){let t=stateOf(e);for(let e of t.hooks.values())try{e.fileEnd?.()}catch{}st(),gi(e);let n=e[A];if(n!==null){for(let e of n)e.clear(e.handle);n.clear()}e[p]=null,e[D]=null,e[I]=null,e[l]=null;let r=e.document;r.getSelection()?.removeAllRanges();let i=r.body;i!==null&&(i.replaceChildren(),removeAttributes(i)),r.documentElement!==null&&removeAttributes(r.documentElement),e.localStorage.clear(),e.sessionStorage.clear(),e[T]=null;let a=t.url??=e.location.href;e.location.href!==a&&e._setURL(new URL(a));let o=e.history;o[z]=[{url:a,state:null}],o[S]=0}function removeAttributes(e){let t=e.getAttributeNames();for(let n=0;n<t.length;n++)e.removeAttribute(t[n])}function implOf(e){return e[E]??e}function isTypingType(e){return f(e)||e===12||e>=7&&e<=11}function isEditable(e){let t=implOf(e);return t.tag===O.input?isTypingType(u(t))&&R(t):t.tag===O.textarea?R(t):An(t)}function supportsSelection(e){let t=implOf(e);return t.tag===O.textarea||t.tag===O.input&&d(u(t))}function hasUIValue(e){let t=implOf(e);return t.tag===O.textarea||t.tag===O.input&&w(u(t))===0}function getUIValue(e){let t=implOf(e);if(t.tag===O.input){let e=t.node;return e[V].uiValue??e.value}return t.tag===O.textarea?t.node.value:``}function setUIValue(e,t){let n=implOf(e);if(n.tag===O.input){let e=n.node,r=u(n);if(w(r)!==0)return;let i=fo(r,t,n);n.doc[F]++,e[V].value=i,e[V].dirtyValue=!0,e[V].userEdited=!0,e[V].uiValue=i===t?null:t,e[V].badInput=i===``&&t!==``&&r!==5&&!f(r);let a=t.length;e[V].selStart>a&&(e[V].selStart=a),e[V].selEnd>a&&(e[V].selEnd=a)}else if(n.tag===O.textarea){let e=n.node;n.doc[F]++,e[V].value=t,e[V].dirtyValue=!0,e[V].userEdited=!0}}function clearUIValue(e){let t=implOf(e);if(t.tag===O.input){let e=t.node;e[V].uiValue=null,e[V].badInput=!1}}function getUISelection(e){let t=implOf(e).node,n=getUIValue(e).length;return{start:Math.min(t[V].selStart,n),end:Math.min(t[V].selEnd,n),direction:t[V].selDir}}function setUISelection(e,t,n=t,r=`none`){let i=implOf(e);if(i.tag!==O.input&&i.tag!==O.textarea)return;let a=i.node,o=getUIValue(e).length,s=Math.max(0,Math.min(t,n)),c=Math.max(t,n);c>o&&(c=o),s>c&&(s=c),a[V].selStart=s,a[V].selEnd=c,a[V].selDir=r}function setFilesFromUI(e,t){let n=implOf(e);n.tag===O.input&&u(n)===17&&(n.doc[F]++,n.node[V].files=j(t))}function setOptionSelectedFromUI(t,n){let r=implOf(t);if(r.tag!==O.option)return;let i=r.node;i._setSelectedness(n),i[P]=!0;let a=e(r);if(a!==null){let e=a.node;n&&e._deselectOthers(r),e._updateSelectedContent()}}function setCheckedFromUI(e,t){let n=implOf(e);n.tag===O.input&&n.node._setCheckedness(t,!0)}const ks=L.prototype.getComputedStyle;let Z=null,Q=null,$=null;function getComputedStyleOverride(e){let t=e.doc.defaultView;if(t==null)return null;let n=t.getComputedStyle;if(n===ks||typeof n!=`function`||se.has(n))return null;if(Q?.deref()===n&&Z?.deref()===t){let e=$.deref();if(e!==void 0)return e}let r=n.bind(t);return Z=new WeakRef(t),Q=new WeakRef(n),$=new WeakRef(r),r}export{Aa as $_proto__,go as $aboutBase,Hr as $active,ra as $assocGen,No as $attr,Xr as $attributes,di as $availableToElementInternals,Ba as $baseFor,da as $baseOverride,Ai as $baseURL,xi as $baseVersion,_r as $benign,Ho as $block,ds as $blockParsed,Fr as $blockText,rs as $byCtor,mn as $byName,he as $cache,Yo as $callback,xn as $childNodes,Oe as $childWindows,xe as $children,Ft as $classList,Zi as $clipboard,te as $clonable,Ki as $closed,St as $coll,kt as $compiled,Ht as $compiledFor,m as $condition,Ke as $constructed,ht as $constructingEntryList,an as $contentType,V as $control,ce as $controlsCache,Mn as $controlsDoc,ze as $controlsVersion,T as $cookieJar,zn as $cookies,x as $css,ot as $current,Ya as $customElements,et as $customValidity,tr as $cx,qn as $data,sr as $dataset,Yt as $declarative,t as $defaultNamespace,N as $defaultValueOverride,ko as $delegatesFocus,Ta as $derived,co as $devicePixelRatio,P as $dirtiness,kr as $disabled,Pa as $disallowModification,bo as $doc,Kr as $dropEffect,sa as $ec,Lo as $effectAllowed,ei as $el,hi as $elements,z as $entries,ha as $eo,Ni as $error,Ti as $file,br as $files,Go as $fill,hs as $filter,Rr as $firingSubmissionEvents,os as $focused,_n as $forLabels,ve as $form,Qo as $formAttrSeen,wn as $forms,p as $frameCallbacks,we as $frameElement,Rt as $frameId,I as $frameTask,ie as $frameTime,Ji as $generation,Tt as $globalObject,Mt as $hasTransients,Gt as $height,_ as $history,Ye as $home,vt as $host,cn as $href,xs as $id,l as $idleCallbacks,Fn as $idleId,He as $ids,E as $impl,Un as $implementation,S as $index,ut as $indexed,$a as $inflight,nt as $info,rr as $innerHeight,Xn as $innerWidth,ur as $isHTML,Qt as $items,i as $keyText,li as $kind,jo as $labels,Da as $layerName,po as $list,Wi as $listeners,Mr as $localStorage,La as $location,Co as $lockedForReset,Jr as $matches,la as $media,zo as $mediaQueryLists,ni as $mode,vi as $name,qa as $names,va as $namespaces,Ii as $navigator,Di as $nodes,Sr as $onchange,qo as $options,_s as $owner,zr as $ownerNode,cs as $ownerRule,yn as $parent,be as $parentRule,es as $parentWindow,En as $pastNames,Me as $pointerBeforeReference,De as $prefix,Bt as $prelude,ta as $presentationStyle,oe as $pseudo,Xi as $queries,Dt as $radios,Pt as $ranges,qt as $readonly,b as $readyState,Qe as $rebuildVersion,bt as $record,dn as $records,ws as $reference,pe as $result,Rn as $root,We as $rules,jn as $running,D as $runningFrame,Re as $sc,pt as $screen,no as $scrollRestoration,at as $scrollX,or as $scrollY,$n as $selSet,mr as $selectedOptions,nn as $selectedness,c as $selection,ai as $selector,Eo as $serializable,Sa as $sessionStorage,ao as $settled,zi as $shadowRoot,Er as $shed,ja as $sheet,_o as $sheets,Ur as $slotAssignment,ia as $so,Po as $states,Zr as $style,fi as $styleVersion,Va as $supportsText,fa as $systemId,ji as $target,Si as $targets,A as $tasks,Uo as $timers,fs as $title,Ir as $treeVersion,is as $type,hn as $types,ge as $updating,Xo as $updatingSelectedContent,Sn as $uri,ke as $url,Se as $userActivation,It as $userValidity,Qi as $validity,ne as $value,F as $version,Ct as $visualViewport,At as $w,Ut as $whatToShow,h as $whenDefined,qe as $width,gt as $window,on as $writeBuffer,ys as $x,le as $xhr,Nn as $y,Be as $z,Bi as ATTRIBUTE_NODE,Ia as AttrRecord,Dr as CDATA_SECTION_NODE,Ma as COMMENT_NODE,lr as COMPAT,Zt as COMPAT_PROFILES,r as DEFAULT_COMPAT,vo as DOCUMENT_FRAGMENT_NODE,Wr as DOCUMENT_NODE,aa as DOCUMENT_POSITION_CONTAINED_BY,Fo as DOCUMENT_POSITION_CONTAINS,Qr as DOCUMENT_POSITION_DISCONNECTED,pi as DOCUMENT_POSITION_FOLLOWING,Ha as DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC,pa as DOCUMENT_POSITION_PRECEDING,Mi as DOCUMENT_TYPE_NODE,wr as DeclBlock,Ci as ELEMENT_NODE,vr as ENTITY_NODE,Wo as ENTITY_REFERENCE_NODE,Ri as EventState,J as FAILURE_CHANNEL,ps as F_ADOPT_HOOK,Lr as F_ARIA_ATTRS,as as F_ATTR_HOOK,gn as F_CE_CUSTOM,_e as F_CHILDREN_HOOK,Zo as F_CHILD_LIST,Cn as F_CONNECTED,Ae as F_CONNECT_HOOK,Ce as F_CONTENTEDITABLE_ATTR,Lt as F_CUSTOM,$i as F_DATA_ATTRS,re as F_FACE,qi as F_FORM_ATTR,wt as F_HAS_SHADOW,jt as F_HAS_STYLE_ATTR,Wt as F_HTML,g as F_INERT_ATTR,Je as F_MO_REGISTERED,_t as F_SHADOW_ROOT,sn as F_TABINDEX_ATTR,ee as GLOBAL_EVENT_HANDLER_EVENTS,Wa as HTMLCollection,bs as HTML_NS,pn as INPUT_TYPE_NAMES,ue as MATHML_NS,Pn as NOTATION_NODE,lt as NodeCache,So as NodeImpl,kn as NodeList,Ve as PROCESSING_INSTRUCTION_NODE,G as SPAN_CHANNEL,On as SVG_NS,O as T,Vn as TEXT_NODE,Dn as VirtualClock,Bn as VirtualTimeout,Gi as WINDOW_EVENT_HANDLER_EVENTS,Pe as XLINK_NS,ct as XMLNS_NS,Za as XML_NS,yo as adoptedStyleSheetsOf,ae as ariaAttr,Yi as asciiLowercase,$o as assignManually,Tn as assignedElements,je as assignedNodes,Te as assignedSlot,Ge as attachShadowRoot,Et as attr,Fa as attrAssociatedElement,xo as attrAssociatedElements,Jt as attrNode,Ne as canSkipZeroDelayWait,captureInterfaceBaseline,rt as childAt,Nt as classTokens,clearUIValue,Xa as clockNow,k as clockStats,Ei as closest,y as compareBoundaryPoints,ri as compatExposes,to as computedDisplay,it as computedValue,ar as computedVisibility,un as constructEntryList,ya as controlValue,Ee as createEvent,j as createFileList,Gr as createLinkSheet,Qn as currentStyleVersion,Cs as defaultButton,wo as deferredCompatMembers,dt as derivedCache,describeCall,describeNode,ca as dispatch,tt as dispatchTrusted,ga as ensureCollectionIndexGetters,Wn as ensureIndexGetters,wi as evaluateMediaQueryList,ho as faceState,zt as findFlattenedSlottables,ea as findSlot,nr as fireAnEvent,Yn as fireSyntheticPointerEvent,ir as firstElementChild,Jn as foreignImmediatesPending,ua as formOwner,Kt as getAttribute,ft as getComputedStyle,getComputedStyleOverride,Ro as getCurrentEvent,mt as getElementsByClassName,rn as getElementsByTagName,vs as getElementsByTagNameNS,xt as getEventHandler,getUISelection,getUIValue,guardInterfaceDefinitions,v as hasAttr,fr as hasAuthorStyles,qr as hasExplicitAttrElements,s as hasListeners,ro as hasReadonlyAttribute,hasUIValue,ba as hiddenGlobals,fe as implicitSubmission,Ie as indexGetterTable,Zn as indexOf,Li as inputChecked,Cr as inputIndeterminate,u as inputType,Jo as inputTypeFromAttr,ss as inspectNode,cr as installClock,Ot as installEventHandlers,ki as isActuallyDisabled,Xe as isAsciiWhitespace,Oa as isAutofilled,mo as isChecked,Xt as isClockTimer,Br as isDefault,na as isDisabled,en as isDisplayNone,o as isDisplayNoneInclusive,isEditable as isEditableControl,Mo as isEnabled,Vr as isFACE,Yr as isInRange,dr as isInclusiveAncestor,ui as isIndeterminate,Ra as isInvalid,bi as isLabelable,gr as isListed,R as isMutable,bn as isNumericType,Oi as isOptional,yi as isOutOfRange,hr as isPlaceholderShown,Bo as isReadOnly,ls as isReadWrite,Nr as isRequired,Vo as isResettable,Ln as isSubmitButton,us as isSubmittable,ts as isTextControl,f as isTextualType,fn as isValid,Ja as isValidDoctypeName,$e as isValidElementLocalName,er as isValidNamespacePrefix,si as isVisibilityHidden,Pr as labeledControl,ns as labelsFor,$t as lastElementChild,za as listOfOptions,ii as listenerCount,n as loopTurn,Hn as matchMediaText,xr as matches,yr as mediaEnvironment,a as nextElementInTree,ci as nextElementSibling,Ao as nextInTree,Ea as nextSkippingChildren,Qa as nodeCache,ti as nodeGetTheParent,Ze as nodeLength,In as notifyMutationObservers,me as optionSelected,ka as parseDeclBlock,Ar as parseFragment,Fe as parseMediaQueryList,eo as peekDerivedCache,Oo as pointerEvents,wa as pointerEventsNone,yt as prefixFlag,uo as previousElementSibling,Ui as previousInTree,so as pseudoContent,Ko as querySelector,gs as querySelectorAll,quote,Io as registerOwnerSheet,registerTestHooks,To as removeAllEventListeners,ln as removeAttribute,$r as removeOwnerSheet,vn as replaceData,_a as reportException,resetWindowBetweenFiles,io as resolveCompat,restoreInterfaces,_i as retarget,xa as reusableElement,lo as serializeChildren,Hi as serializeNode,mi as setAdoptedStyleSheets,Ka as setAssignedSlotLookup,Ss as setAttribute,setCheckedFromUI,Vi as setComputedColorMode,Vt as setEventHandler,setFailureSnapshot,setFilesFromUI,setNodeDescriber,Ue as setNotImplementedHandler,setOptionSelectedFromUI,Tr as setTrusted,setUISelection,setUIValue,Fi as setUncaughtExceptionHandler,oi as skipIdleTime,Do as skipZeroDelayWait,spanChannel,de as splitOnAsciiWhitespace,ye as splitText,Gn as styleElementRemoved,oa as styleElementSheet,Le as styleElementUpdated,Ua as styleSheetsOf,Or as styledDisplay,subscribeTestFailures,supportsSelection,d as supportsSelectionType,pr as tagId,tn as tagName,testHooks,tracePromise,traceSync,tracing,Ga as trackGlobalTimers,jr as treeRoot,Na as uaDisplay,ma as unregisterOwnerSheet,Kn as validateAndExtract,w as valueMode,Ca as virtualDate,oo as virtualPerformance,ms as windowHooks,M as windowInterfaces,Pi as withNamedProperties};
@@ -6,3 +6,11 @@ export declare class CollectionIterator extends Iterator<unknown, undefined> {
6
6
  }
7
7
  /** Array.prototype.values's ToObject step: collections only ever pass themselves, but `.call(x)` works on any array-like. */
8
8
  export declare function iterableTarget(self: unknown): ArrayLike<unknown>;
9
+ /**
10
+ * https://tc39.es/ecma262/#sec-array.prototype.foreach as a plain loop, for NodeList and
11
+ * DOMTokenList (WebIDL makes theirs %Array.prototype.forEach%, which V8 runs generically on
12
+ * non-arrays). Same steps: ToObject, the length read once, the callable check after it, `k in O`
13
+ * before each read, `callback.call(thisArg, value, k, O)`. A non-callable callback is handed to
14
+ * the builtin so the TypeError is V8's own.
15
+ */
16
+ export declare const collectionForEach: (this: unknown, callback: (value: unknown, key: number, list: unknown) => void, thisArg?: unknown) => void;
@@ -1,6 +1,8 @@
1
1
  import { Element } from "../nodes/Element.js";
2
2
  import { CSSStyleDeclaration } from "../css/CSSStyleDeclaration.js";
3
3
  import { $attr, $el } from "../keys.js";
4
+ import { DOMMatrix, DOMPoint, DOMRect } from "../window/geometry.js";
5
+ import { SVGNumber } from "./svg-types.js";
4
6
  /** https://svgwg.org/svg2-draft/types.html#InterfaceSVGAnimatedString */
5
7
  export declare class SVGAnimatedString {
6
8
  [$el]: Element;
@@ -21,36 +23,31 @@ export declare class SVGElement extends Element {
21
23
  get viewportElement(): SVGElement | null;
22
24
  }
23
25
  export declare class SVGGraphicsElement extends SVGElement {
24
- getBBox(): {
25
- x: number;
26
- y: number;
27
- width: number;
28
- height: number;
29
- };
30
- getCTM(): object | null;
31
- getScreenCTM(): object | null;
26
+ /** https://svgwg.org/svg2-draft/types.html#__svg__SVGGraphicsElement__getBBox — no layout: an empty box. */
27
+ getBBox(): DOMRect;
28
+ /** https://svgwg.org/svg2-draft/types.html#__svg__SVGGraphicsElement__getCTM — no layout: the identity. */
29
+ getCTM(): DOMMatrix | null;
30
+ /** https://svgwg.org/svg2-draft/types.html#__svg__SVGGraphicsElement__getScreenCTM */
31
+ getScreenCTM(): DOMMatrix | null;
32
32
  }
33
33
  export declare class SVGGeometryElement extends SVGGraphicsElement {
34
34
  isPointInFill(): boolean;
35
35
  isPointInStroke(): boolean;
36
36
  getTotalLength(): number;
37
- getPointAtLength(): {
38
- x: number;
39
- y: number;
40
- };
37
+ /** https://svgwg.org/svg2-draft/types.html#__svg__SVGGeometryElement__getPointAtLength */
38
+ getPointAtLength(): DOMPoint;
41
39
  }
42
40
  export declare class SVGSVGElement extends SVGGraphicsElement {
43
- createSVGNumber(): {
44
- value: number;
45
- };
41
+ /** https://svgwg.org/svg2-draft/struct.html#__svg__SVGSVGElement__createSVGNumber */
42
+ createSVGNumber(): SVGNumber;
46
43
  createSVGLength(): object;
47
44
  createSVGAngle(): object;
48
- createSVGPoint(): {
49
- x: number;
50
- y: number;
51
- };
52
- createSVGMatrix(): object;
53
- createSVGRect(): object;
45
+ /** https://svgwg.org/svg2-draft/struct.html#__svg__SVGSVGElement__createSVGPoint */
46
+ createSVGPoint(): DOMPoint;
47
+ /** https://svgwg.org/svg2-draft/struct.html#__svg__SVGSVGElement__createSVGMatrix */
48
+ createSVGMatrix(): DOMMatrix;
49
+ /** https://svgwg.org/svg2-draft/struct.html#__svg__SVGSVGElement__createSVGRect */
50
+ createSVGRect(): DOMRect;
54
51
  createSVGTransform(): object;
55
52
  getIntersectionList(): unknown[];
56
53
  getEnclosureList(): unknown[];
@@ -128,6 +128,10 @@ export declare class HTMLTrackElement extends HTMLElement {
128
128
  static readonly LOADING = 1;
129
129
  static readonly LOADED = 2;
130
130
  static readonly ERROR = 3;
131
+ readonly NONE: number;
132
+ readonly LOADING: number;
133
+ readonly LOADED: number;
134
+ readonly ERROR: number;
131
135
  get readyState(): number;
132
136
  get track(): null;
133
137
  }
@@ -140,8 +144,6 @@ export declare class HTMLCanvasElement extends HTMLElement {
140
144
  getContext(_contextId: string, _options?: unknown): null;
141
145
  toDataURL(_type?: string, _quality?: unknown): string;
142
146
  toBlob(callback: (blob: null) => void): void;
143
- transferControlToOffscreen(): never;
144
- captureStream(): never;
145
147
  }
146
148
  export declare class HTMLTableElement extends HTMLElement {
147
149
  get caption(): Element | null;
@@ -10,4 +10,5 @@ export { HTMLStyleElement, HTMLLinkElement, HTMLScriptElement, HTMLTitleElement
10
10
  export { ElementInternals, CustomStateSet } from "./HTMLElement.js";
11
11
  export { CustomElementRegistry } from "./custom-elements.js";
12
12
  export { MathMLElement } from "./MathMLElement.js";
13
+ export { SVGNumber, SVGAnimatedRect, SVGPreserveAspectRatio, SVGAnimatedPreserveAspectRatio } from "./svg-types.js";
13
14
  export { SVGAnimatedString, SVGGraphicsElement, SVGGeometryElement, SVGSVGElement, SVGGElement, SVGDefsElement, SVGDescElement, SVGMetadataElement, SVGTitleElement, SVGSymbolElement, SVGUseElement, SVGSwitchElement, SVGImageElement, SVGForeignObjectElement, SVGAElement, SVGPathElement, SVGRectElement, SVGCircleElement, SVGEllipseElement, SVGLineElement, SVGPolylineElement, SVGPolygonElement, SVGTextContentElement, SVGTextPositioningElement, SVGTextElement, SVGTSpanElement, SVGTextPathElement, SVGMarkerElement, SVGClipPathElement, SVGMaskElement, SVGPatternElement, SVGGradientElement, SVGLinearGradientElement, SVGRadialGradientElement, SVGStopElement, SVGStyleElement, SVGScriptElement, SVGViewElement, SVGFilterElement, } from "./SVGElement.js";
@@ -10,6 +10,10 @@ export declare class MediaError {
10
10
  static readonly MEDIA_ERR_NETWORK = 2;
11
11
  static readonly MEDIA_ERR_DECODE = 3;
12
12
  static readonly MEDIA_ERR_SRC_NOT_SUPPORTED = 4;
13
+ readonly MEDIA_ERR_ABORTED: number;
14
+ readonly MEDIA_ERR_NETWORK: number;
15
+ readonly MEDIA_ERR_DECODE: number;
16
+ readonly MEDIA_ERR_SRC_NOT_SUPPORTED: number;
13
17
  }
14
18
  export declare class HTMLMediaElement extends HTMLElement {
15
19
  static readonly NETWORK_EMPTY = 0;
@@ -21,6 +25,15 @@ export declare class HTMLMediaElement extends HTMLElement {
21
25
  static readonly HAVE_CURRENT_DATA = 2;
22
26
  static readonly HAVE_FUTURE_DATA = 3;
23
27
  static readonly HAVE_ENOUGH_DATA = 4;
28
+ readonly NETWORK_EMPTY: number;
29
+ readonly NETWORK_IDLE: number;
30
+ readonly NETWORK_LOADING: number;
31
+ readonly NETWORK_NO_SOURCE: number;
32
+ readonly HAVE_NOTHING: number;
33
+ readonly HAVE_METADATA: number;
34
+ readonly HAVE_CURRENT_DATA: number;
35
+ readonly HAVE_FUTURE_DATA: number;
36
+ readonly HAVE_ENOUGH_DATA: number;
24
37
  get error(): MediaError | null;
25
38
  get currentSrc(): string;
26
39
  get srcObject(): unknown;
@@ -73,8 +86,6 @@ export declare class HTMLVideoElement extends HTMLMediaElement {
73
86
  get videoHeight(): number;
74
87
  getVideoPlaybackQuality(): object;
75
88
  requestPictureInPicture(): Promise<never>;
76
- requestVideoFrameCallback(_cb: unknown): number;
77
- cancelVideoFrameCallback(_handle: number): void;
78
89
  }
79
90
  /**
80
91
  * https://html.spec.whatwg.org/#dom-audio — `new Audio(src?)` creates an <audio preload=auto>
@@ -0,0 +1,67 @@
1
+ import type { Element } from "../nodes/Element.js";
2
+ import { DOMRect, DOMRectReadOnly } from "../window/geometry.js";
3
+ /** https://svgwg.org/svg2-draft/types.html#InterfaceSVGNumber — a standalone number (createSVGNumber()). */
4
+ export declare class SVGNumber {
5
+ #private;
6
+ get value(): number;
7
+ set value(v: number);
8
+ }
9
+ /** https://svgwg.org/svg2-draft/types.html#InterfaceSVGAnimatedRect */
10
+ export declare class SVGAnimatedRect {
11
+ #private;
12
+ constructor(el: Element, attr: string);
13
+ /** [SameObject] */
14
+ get baseVal(): DOMRect;
15
+ /** [SameObject] */
16
+ get animVal(): DOMRectReadOnly;
17
+ }
18
+ /** https://svgwg.org/svg2-draft/coords.html#InterfaceSVGPreserveAspectRatio */
19
+ export declare class SVGPreserveAspectRatio {
20
+ #private;
21
+ static readonly SVG_PRESERVEASPECTRATIO_UNKNOWN: number;
22
+ static readonly SVG_PRESERVEASPECTRATIO_NONE: number;
23
+ static readonly SVG_PRESERVEASPECTRATIO_XMINYMIN: number;
24
+ static readonly SVG_PRESERVEASPECTRATIO_XMIDYMIN: number;
25
+ static readonly SVG_PRESERVEASPECTRATIO_XMAXYMIN: number;
26
+ static readonly SVG_PRESERVEASPECTRATIO_XMINYMID: number;
27
+ static readonly SVG_PRESERVEASPECTRATIO_XMIDYMID: number;
28
+ static readonly SVG_PRESERVEASPECTRATIO_XMAXYMID: number;
29
+ static readonly SVG_PRESERVEASPECTRATIO_XMINYMAX: number;
30
+ static readonly SVG_PRESERVEASPECTRATIO_XMIDYMAX: number;
31
+ static readonly SVG_PRESERVEASPECTRATIO_XMAXYMAX: number;
32
+ static readonly SVG_MEETORSLICE_UNKNOWN: number;
33
+ static readonly SVG_MEETORSLICE_MEET: number;
34
+ static readonly SVG_MEETORSLICE_SLICE: number;
35
+ readonly SVG_PRESERVEASPECTRATIO_UNKNOWN: number;
36
+ readonly SVG_PRESERVEASPECTRATIO_NONE: number;
37
+ readonly SVG_PRESERVEASPECTRATIO_XMINYMIN: number;
38
+ readonly SVG_PRESERVEASPECTRATIO_XMIDYMIN: number;
39
+ readonly SVG_PRESERVEASPECTRATIO_XMAXYMIN: number;
40
+ readonly SVG_PRESERVEASPECTRATIO_XMINYMID: number;
41
+ readonly SVG_PRESERVEASPECTRATIO_XMIDYMID: number;
42
+ readonly SVG_PRESERVEASPECTRATIO_XMAXYMID: number;
43
+ readonly SVG_PRESERVEASPECTRATIO_XMINYMAX: number;
44
+ readonly SVG_PRESERVEASPECTRATIO_XMIDYMAX: number;
45
+ readonly SVG_PRESERVEASPECTRATIO_XMAXYMAX: number;
46
+ readonly SVG_MEETORSLICE_UNKNOWN: number;
47
+ readonly SVG_MEETORSLICE_MEET: number;
48
+ readonly SVG_MEETORSLICE_SLICE: number;
49
+ constructor(el: Element, readOnly: boolean);
50
+ get align(): number;
51
+ set align(value: number);
52
+ get meetOrSlice(): number;
53
+ set meetOrSlice(value: number);
54
+ }
55
+ /** https://svgwg.org/svg2-draft/types.html#InterfaceSVGAnimatedPreserveAspectRatio */
56
+ export declare class SVGAnimatedPreserveAspectRatio {
57
+ #private;
58
+ constructor(el: Element);
59
+ /** [SameObject] */
60
+ get baseVal(): SVGPreserveAspectRatio;
61
+ /** [SameObject] */
62
+ get animVal(): SVGPreserveAspectRatio;
63
+ }
64
+ /** Install the SVGFitToViewBox mixin's [SameObject] `viewBox` and `preserveAspectRatio`. */
65
+ export declare function installFitToViewBox(C: {
66
+ prototype: object;
67
+ }): void;
@@ -31,8 +31,12 @@ export { FileReader } from "./window/FileReader.js";
31
31
  export { FileList } from "./window/FileList.js";
32
32
  export { MediaQueryListEvent } from "./window/events.js";
33
33
  export { DOMParser, XMLSerializer } from "./window/fallbacks.js";
34
- export { ResizeObserver, IntersectionObserver } from "./window/observers.js";
34
+ export { ResizeObserver, IntersectionObserver, IntersectionObserverEntry } from "./window/observers.js";
35
+ export { ResizeObserverEntry, ResizeObserverSize } from "./css/resize-observer.js";
35
36
  export { DOMPointReadOnly, DOMPoint, DOMRectReadOnly, DOMRect, DOMRectList, DOMMatrixReadOnly, DOMMatrix, type DOMRectInit, } from "./window/geometry.js";
37
+ export { DOMMatrix as WebKitCSSMatrix } from "./window/geometry.js";
38
+ export { DOMRect as SVGRect } from "./window/geometry.js";
39
+ export { DOMQuad, type DOMQuadInit } from "./window/quad.js";
36
40
  export { Event } from "./events/Event.js";
37
41
  export { UIEvent, FocusEvent, MouseEvent, PointerEvent, WheelEvent, DragEvent, KeyboardEvent, InputEvent, CompositionEvent, TextEvent, Touch, TouchList, TouchEvent, ClipboardEvent, } from "./events/UIEvents.js";
38
42
  export { CustomEvent, ErrorEvent, PromiseRejectionEvent, MessageEvent, ProgressEvent, AnimationEvent, TransitionEvent, PopStateEvent, HashChangeEvent, PageTransitionEvent, StorageEvent, SubmitEvent, FormDataEvent, ToggleEvent, BeforeUnloadEvent, CloseEvent, } from "./events/events.js";
@@ -101,7 +101,6 @@ export declare const $inflight: unique symbol;
101
101
  export declare const $info: unique symbol;
102
102
  export declare const $innerHeight: unique symbol;
103
103
  export declare const $innerWidth: unique symbol;
104
- export declare const $is2D: unique symbol;
105
104
  export declare const $isHTML: unique symbol;
106
105
  export declare const $items: unique symbol;
107
106
  export declare const $keyText: unique symbol;
@@ -113,7 +112,6 @@ export declare const $listeners: unique symbol;
113
112
  export declare const $localStorage: unique symbol;
114
113
  export declare const $location: unique symbol;
115
114
  export declare const $lockedForReset: unique symbol;
116
- export declare const $m: unique symbol;
117
115
  export declare const $matches: unique symbol;
118
116
  export declare const $media: unique symbol;
119
117
  export declare const $mediaQueryLists: unique symbol;
@@ -145,7 +143,6 @@ export declare const $readyState: unique symbol;
145
143
  export declare const $rebuildVersion: unique symbol;
146
144
  export declare const $record: unique symbol;
147
145
  export declare const $records: unique symbol;
148
- export declare const $rects: unique symbol;
149
146
  export declare const $reference: unique symbol;
150
147
  export declare const $result: unique symbol;
151
148
  export declare const $root: unique symbol;
@@ -145,6 +145,15 @@ export declare class Document extends Node {
145
145
  createTreeWalker(root: Node, whatToShow?: number, filter?: NodeFilterArg): TreeWalker;
146
146
  /** https://dom.spec.whatwg.org/#dom-document-createnodeiterator */
147
147
  createNodeIterator(root: Node, whatToShow?: number, filter?: NodeFilterArg): NodeIterator;
148
+ /**
149
+ * https://drafts.csswg.org/cssom-view/#dom-document-elementfrompoint — the DocumentOrShadowRoot
150
+ * hit test (ShadowRoot.ts has the same pair). With no layout there is no box at any point, so
151
+ * the result is null, as for a point outside the viewport. jsdom has neither method
152
+ * (window/compat.ts).
153
+ */
154
+ elementFromPoint(_x: number, _y: number): Element | null;
155
+ /** https://drafts.csswg.org/cssom-view/#dom-document-elementsfrompoint — an empty sequence, as above. */
156
+ elementsFromPoint(_x: number, _y: number): Element[];
148
157
  /** https://w3c.github.io/selection-api/#dom-document-getselection */
149
158
  getSelection(): Selection | null;
150
159
  /**
@@ -3,12 +3,38 @@ type Ctor = {
3
3
  };
4
4
  /** Make the public members of each interface prototype enumerable (one-time, at module load). */
5
5
  export declare function exposeMembers(...ctors: Ctor[]): void;
6
+ /**
7
+ * Give an interface object what class syntax gets wrong (one-time, at module load):
8
+ * - @@toStringTag on the prototype, so `Object.prototype.toString` gives `[object Name]`
9
+ * (https://webidl.spec.whatwg.org/#dfn-class-string);
10
+ * - each operation's and the constructor's `length`: the number of required arguments
11
+ * (https://webidl.spec.whatwg.org/#es-operations, https://webidl.spec.whatwg.org/#es-interface-call),
12
+ * where TypeScript `x?: T` parameters would count. `required` maps operation names (and
13
+ * "constructor") to their required-argument count; every other operation gets 0.
14
+ */
15
+ export declare function defineInterfaceShape(ctor: Ctor & {
16
+ name: string;
17
+ }, required?: Readonly<Record<string, number>>): void;
18
+ /**
19
+ * Define WebIDL constants on the interface object and its prototype
20
+ * (https://webidl.spec.whatwg.org/#es-constants): `{ writable: false, enumerable: true,
21
+ * configurable: false }` on both. Class `static readonly` fields are writable and configurable, and
22
+ * class syntax puts nothing on the prototype, so `video.HAVE_ENOUGH_DATA` would be undefined.
23
+ */
24
+ export declare function defineConstants(ctor: Ctor, constants: Readonly<Record<string, number>>): void;
6
25
  /**
7
26
  * Make an instance's internal own fields (`_`-prefixed or symbol-keyed, see keys.ts)
8
27
  * non-enumerable, so spreads and Jest's symbol-aware equality skip them too. Call at the end of
9
28
  * a constructor.
10
29
  */
11
30
  export declare function hideInternals(obj: object): void;
31
+ /**
32
+ * Create an internal own field already hidden: what `hideInternals` would leave (writable,
33
+ * configurable, not enumerable), without reconfiguring the property afterwards, which costs
34
+ * several times more. Use with `declare`d class fields (a plain field declaration would create an
35
+ * enumerable `undefined` property first).
36
+ */
37
+ export declare function defineHidden(obj: object, key: symbol | string, value: unknown): void;
12
38
  /**
13
39
  * Throw the TypeError WebIDL requires when an operation is called with fewer than its required
14
40
  * arguments (https://webidl.spec.whatwg.org/#dfn-overload-resolution-algorithm step 4), worded