@ctrl/dom 0.3.0 → 0.3.2
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/aria/_chunks/roles-list-CtWrIYOt.cjs +4 -0
- package/dist/aria/_chunks/roles-list-D5_w80vQ.js +4 -0
- package/dist/aria/index.cjs +1 -1
- package/dist/aria/index.js +1 -1
- package/dist/aria/internal.cjs +1 -1
- package/dist/aria/internal.js +1 -1
- package/dist/bridge/index.js +1 -1
- package/dist/bridge/internal.js +1 -1
- package/dist/dom/_chunks/src-CImID776.js +49 -0
- package/dist/dom/index.js +1 -1
- package/dist/dom/internal.js +1 -1
- package/dist/dom/types/collections/iterator.d.ts +8 -0
- package/dist/dom/types/css/cascade.d.ts +10 -0
- package/dist/dom/types/css/properties.d.ts +2 -0
- package/dist/dom/types/css/values.d.ts +8 -2
- package/dist/dom/types/events/Event.d.ts +2 -0
- package/dist/dom/types/html/SVGElement.d.ts +18 -21
- package/dist/dom/types/html/elements.d.ts +4 -2
- package/dist/dom/types/html/index.d.ts +1 -0
- package/dist/dom/types/html/media.d.ts +13 -2
- package/dist/dom/types/html/svg-types.d.ts +67 -0
- package/dist/dom/types/index.d.ts +3 -1
- package/dist/dom/types/nodes/Document.d.ts +1 -1
- package/dist/dom/types/nodes/constants.d.ts +10 -0
- package/dist/dom/types/traversal/live.d.ts +7 -0
- package/dist/dom/types/webidl-runtime.d.ts +14 -0
- package/dist/dom/types/window/observers.d.ts +28 -0
- package/dist/jest-dom/_chunks/{matchers-CwGF61j-.js → matchers-DGsBvtWC.js} +13 -13
- package/dist/jest-dom/_chunks/{matchers-CZ6Smfw9.cjs → matchers-DJmRgUYG.cjs} +7 -7
- package/dist/jest-dom/index.cjs +1 -1
- package/dist/jest-dom/index.js +1 -1
- package/dist/jest-dom/jest-globals.cjs +1 -1
- package/dist/jest-dom/jest-globals.js +1 -1
- package/dist/jest-dom/matchers.cjs +1 -1
- package/dist/jest-dom/matchers.js +1 -1
- package/dist/jest-dom/vitest.cjs +1 -1
- package/dist/jest-dom/vitest.js +1 -1
- package/dist/testing-library/_chunks/{aria-snapshot-diff-BXYf4D_D.cjs → aria-snapshot-diff-B95LLutl.cjs} +8 -6
- package/dist/testing-library/_chunks/aria-snapshot-diff-BSXxnyqJ.js +16 -0
- package/dist/testing-library/agent.cjs +1 -1
- package/dist/testing-library/agent.js +1 -1
- package/dist/testing-library/index.cjs +8 -8
- package/dist/testing-library/index.js +9 -9
- package/dist/user-event/index.cjs +10 -10
- package/dist/user-event/index.js +10 -10
- package/package.json +1 -1
- package/dist/aria/_chunks/roles-list-C57tqF4n.cjs +0 -4
- package/dist/aria/_chunks/roles-list-DEwbBc_c.js +0 -4
- package/dist/dom/_chunks/src-u_GjEFAe.js +0 -49
- package/dist/testing-library/_chunks/aria-snapshot-diff-DejA3Rdn.js +0 -14
package/dist/dom/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
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-CImID776.js";
|
package/dist/dom/internal.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{$c as e,$d as t,$i as n,$l as r,$n 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,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,Da as we,Dc as Te,Dd as Ee,Df as De,Dl as Oe,Do as ke,Du as Ae,Ea as je,Ec as Me,Ed as Ne,Ef as Pe,El as Fe,Eo as Ie,Eu as Le,Fc as l,Fd as u,Ff as d,Fl as f,Fr as p,Fu as m,Ga as h,Gc as g,Gd as Re,Gi as ze,Gl as Be,Go as Ve,Gr as He,Gs as Ue,Gu as We,Ha as Ge,Hc as Ke,Hd as _,Hi as qe,Hl as Je,Ho as Ye,Hr as Xe,Hu as Ze,Ic as v,Id as Qe,If as $e,Il as y,Io as et,Ir as tt,Iu as nt,Jc as rt,Jd as it,Ji as at,Jl as ot,Jo as st,Jr as ct,Js as lt,Ju as ut,Kc as dt,Kd as ft,Ki as pt,Kl as mt,Ko as ht,Kr as gt,Ks as _t,Ku as vt,L as yt,Lc as bt,Ld as xt,Lf as St,Li as Ct,Ll as wt,Lo as Tt,Lr as Et,Lu as b,Ma as Dt,Mc as x,Md as Ot,Mf as kt,Ml as At,Mo as jt,Mr as Mt,Mu as Nt,Nc as Pt,Nd as Ft,Nf as It,Nl as S,No as Lt,Nr as Rt,Nu as zt,Oc as Bt,Od as Vt,Of as Ht,Ol as Ut,Oo as Wt,Or as Gt,Ou as Kt,Pc as qt,Pd as Jt,Pf as Yt,Pl as Xt,Po as Zt,Pr as Qt,Pu as $t,Qa as en,Qc as tn,Qd as nn,Qi as rn,Ql as an,Qo as on,Qr as sn,Qs as cn,Qu as ln,Rc as un,Rd as dn,Rf as fn,Ri as pn,Rl as C,Ro as mn,Rr as hn,Ru as gn,S as _n,Sc as vn,Sd as yn,Sf as bn,Sl as w,So as xn,Su as Sn,Ta as Cn,Tc as wn,Td as Tn,Tf as En,Tl as Dn,To as On,Tu as kn,Ua as An,Uc as jn,Ud as Mn,Ui as Nn,Ul as Pn,Uo as Fn,Ur as In,Us as T,Uu as Ln,Va as Rn,Vc as zn,Vd as E,Vi as Bn,Vl as Vn,Vo as Hn,Vr as Un,Vu as Wn,Wc as Gn,Wd as Kn,Wi as qn,Wl as Jn,Wo as Yn,Wr as Xn,Ws as Zn,Wu as Qn,X as $n,Xa as er,Xc as tr,Xd as nr,Xi as rr,Xl as ir,Xo as ar,Xr as or,Xu as sr,Yc as cr,Yd as lr,Yi as ur,Yl as dr,Yo as fr,Yr as pr,Ys as mr,Yu as hr,Za as gr,Zc as D,Zd as _r,Zl as vr,Zo as yr,Zr as br,Zs as xr,Zu as Sr,_ as Cr,_a as wr,_c as Tr,_d as Er,_f as Dr,_l as Or,_o as kr,_u as Ar,a as jr,ac as Mr,ad as Nr,af as Pr,ai as Fr,al as Ir,ar as Lr,as as Rr,au as zr,b as Br,ba as O,bc as Vr,bd as Hr,bf as Ur,bl as Wr,bo as Gr,br as Kr,bu as qr,c as Jr,ca as Yr,cc as Xr,cd as Zr,cf as Qr,cl as $r,co as ei,cs as ti,cu as ni,d as ri,da as ii,dc as ai,dd as oi,df as si,dl as ci,do as li,ds as k,du as ui,ea as A,ec as di,ed as fi,ef as pi,ei as mi,el as hi,er as gi,es as _i,et as vi,eu as yi,f as bi,fa as xi,fc as Si,fd as Ci,ff as wi,fi as Ti,fl as Ei,fo as Di,fu as Oi,g as ki,ga as j,gc as Ai,gd as ji,gf as Mi,gl as Ni,go as Pi,gu as Fi,h as Ii,ha as Li,hc as Ri,hd as zi,hf as Bi,hl as Vi,ho as Hi,hu as Ui,i as Wi,ic as Gi,id as Ki,if as qi,ii as Ji,il as Yi,ir as M,is as Xi,iu as Zi,ja as Qi,jc as $i,jd as ea,jf as ta,jl as na,jo as ra,jr as ia,ju as aa,ka as oa,kc as sa,kd as ca,kf as la,kl as ua,ko as da,kr as fa,ku as pa,l as ma,la as ha,lc as ga,ld as _a,lf as va,li as ya,ll as ba,lo as xa,lu as Sa,m as N,ma as Ca,mc as wa,md as Ta,mf as Ea,ml as Da,mo as Oa,mu as ka,n as Aa,nc as ja,nd as Ma,nf as Na,ni as Pa,nl as Fa,nr as P,ns as Ia,nt as F,nu as La,o as Ra,oa as za,oc as Ba,od as Va,of as Ha,oi as Ua,ol as I,oo as Wa,or as Ga,os as Ka,ou as qa,p as Ja,pa as Ya,pc as Xa,pd as Za,pf as Qa,pl as $a,pu as eo,qc as to,qd as no,qi as ro,ql as io,qo as ao,qr as oo,qs as so,qu as co,r as lo,rc as uo,rd as fo,rf as po,ri as mo,rl as ho,rs as go,ru as _o,s as vo,sa as yo,sc as bo,sd as xo,sf as So,si as Co,sl as wo,so as To,ss as Eo,su as Do,ta as Oo,tc as ko,td as Ao,tf as jo,ti as Mo,tl as No,tr as Po,tu as Fo,u as Io,ua as Lo,uc as Ro,ud as L,uf as zo,ui as Bo,ul as Vo,uo as Ho,uu as Uo,v as Wo,va as Go,vc as Ko,vd as qo,vf as Jo,vl as Yo,vo as Xo,vu as Zo,wa as Qo,wc as $o,wd as R,wf as es,wl as ts,wo as ns,wu as rs,x as is,xa as z,xc as as,xd as os,xf as ss,xl as cs,xo as ls,xu as us,y as ds,ya as B,yc as fs,yd as ps,yf as ms,yl as V,yo as hs,yu as gs,zc as _s,zd as vs,zf as ys,zi as bs,zl as xs,zo as Ss,zr as Cs,zu as ws}from"./_chunks/src-u_GjEFAe.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(P.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=E();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=E();return K.tracePromise(e=>n(e).finally(()=>recordSkipped(e,i)),r,void 0,r)}function recordSkipped(e,t){let n=E()-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[y]!==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=_();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=k();if(n===null)return;let r=stateOf(n).hooks;r.set(e,{...r.get(e),...t})}function testHooks(){let e=k(),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{}vs(),Lr(e);let n=e[L];if(n!==null){for(let e of n)e.clear(e.handle);n.clear()}e[V]=null,e[b]=null,e[w]=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[v]=null;let a=t.url??=e.location.href;e.location.href!==a&&e._setURL(new URL(a));let o=e.history;o[I]=[{url:a,state:null}],o[C]=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[y]??e}function isTypingType(e){return B(e)||e===12||e>=7&&e<=11}function isEditable(e){let t=implOf(e);return t.tag===T.input?isTypingType(j(t))&&N(t):t.tag===T.textarea?N(t):tt(t)}function supportsSelection(e){let t=implOf(e);return t.tag===T.textarea||t.tag===T.input&&O(j(t))}function hasUIValue(e){let t=implOf(e);return t.tag===T.textarea||t.tag===T.input&&z(j(t))===0}function getUIValue(e){let t=implOf(e);if(t.tag===T.input){let e=t.node;return e[x].uiValue??e.value}return t.tag===T.textarea?t.node.value:``}function setUIValue(e,t){let n=implOf(e);if(n.tag===T.input){let e=n.node,r=j(n);if(z(r)!==0)return;let i=vi(r,t,n);n.doc[R]++,e[x].value=i,e[x].dirtyValue=!0,e[x].userEdited=!0,e[x].uiValue=i===t?null:t,e[x].badInput=i===``&&t!==``&&r!==5&&!B(r);let a=t.length;e[x].selStart>a&&(e[x].selStart=a),e[x].selEnd>a&&(e[x].selEnd=a)}else if(n.tag===T.textarea){let e=n.node;n.doc[R]++,e[x].value=t,e[x].dirtyValue=!0,e[x].userEdited=!0}}function clearUIValue(e){let t=implOf(e);if(t.tag===T.input){let e=t.node;e[x].uiValue=null,e[x].badInput=!1}}function getUISelection(e){let t=implOf(e).node,n=getUIValue(e).length;return{start:Math.min(t[x].selStart,n),end:Math.min(t[x].selEnd,n),direction:t[x].selDir}}function setUISelection(e,t,n=t,r=`none`){let i=implOf(e);if(i.tag!==T.input&&i.tag!==T.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[x].selStart=s,a[x].selEnd=c,a[x].selDir=r}function setFilesFromUI(e,t){let n=implOf(e);n.tag===T.input&&j(n)===17&&(n.doc[R]++,n.node[x].files=F(t))}function setOptionSelectedFromUI(e,t){let n=implOf(e);if(n.tag!==T.option)return;let r=n.node;r._setSelectedness(t),r[D]=!0;let i=$n(n);if(i!==null){let e=i.node;t&&e._deselectOthers(n),e._updateSelectedContent()}}function setCheckedFromUI(e,t){let n=implOf(e);n.tag===T.input&&n.node._setCheckedness(t,!0)}const ks=P.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`||yt.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{s as $_proto__,di as $aboutBase,ko as $active,ja as $assocGen,uo as $attr,Gi as $attributes,Mr as $availableToElementInternals,Ba as $baseFor,bo as $baseOverride,Xr as $baseURL,ga as $baseVersion,Ro as $benign,ai as $block,Si as $blockParsed,Xa as $blockText,wa as $byCtor,Ri as $byName,Ai as $cache,Tr as $callback,Ko as $childNodes,fs as $childWindows,Vr as $children,as as $classList,vn as $clipboard,ve as $clonable,$o as $closed,wn as $coll,Me as $compiled,Te as $compiledFor,Bt as $condition,sa as $constructed,te as $constructingEntryList,$i as $contentType,x as $control,Pt as $controlsCache,qt as $controlsDoc,l as $controlsVersion,v as $cookieJar,bt as $cookies,un as $css,_s as $current,ce as $customElements,zn as $customValidity,Ke as $cx,jn as $data,Gn as $dataset,g as $declarative,dt as $defaultNamespace,to as $defaultValueOverride,rt as $delegatesFocus,cr as $derived,tr as $devicePixelRatio,D as $dirtiness,tn as $disabled,e as $disallowModification,hi as $doc,No as $dropEffect,Fa as $ec,ho as $effectAllowed,Yi as $el,Ir as $elements,I as $entries,wo as $eo,$r as $error,ba as $file,Vo as $files,ci as $fill,Ei as $filter,$a as $firingSubmissionEvents,Da as $focused,Vi as $forLabels,Ni as $form,Or as $formAttrSeen,Yo as $forms,V as $frameCallbacks,Wr as $frameElement,cs as $frameId,w as $frameTask,xe as $frameTime,ts as $generation,Dn as $globalObject,Fe as $hasTransients,Oe as $height,Ut as $history,ua as $home,ie as $host,na as $href,At as $id,S as $idleCallbacks,Xt as $idleId,f as $ids,y as $impl,wt as $implementation,C as $index,xs as $indexed,fe as $inflight,Vn as $info,Je as $innerHeight,Pn as $innerWidth,Jn as $isHTML,Be as $items,mt as $keyText,io as $kind,ot as $labels,dr as $layerName,ir as $list,vr as $listeners,an as $localStorage,r as $location,yi as $lockedForReset,Fo as $matches,La as $media,_o as $mediaQueryLists,Zi as $mode,zr as $name,qa as $names,Do as $namespaces,ni as $navigator,Sa as $nodes,Uo as $onchange,ui as $options,Oi as $owner,eo as $ownerNode,ka as $ownerRule,Ui as $parent,Fi as $parentRule,Ar as $parentWindow,Zo as $pastNames,gs as $pointerBeforeReference,qr as $prefix,us as $prelude,Sn as $presentationStyle,Ce as $pseudo,rs as $queries,kn as $radios,Le as $ranges,Ae as $readonly,Kt as $readyState,pa as $rebuildVersion,oe as $record,aa as $records,Nt as $reference,zt as $result,$t as $root,m as $rules,nt as $running,b as $runningFrame,gn as $sc,ws as $screen,he as $scrollRestoration,Wn as $scrollX,Ze as $scrollY,Ln as $selSet,Qn as $selectedOptions,We as $selectedness,vt as $selection,co as $selector,ut as $serializable,hr as $sessionStorage,sr as $settled,Sr as $shadowRoot,ln as $shed,c as $sheet,fi as $sheets,Ao as $slotAssignment,Ma as $so,fo as $states,Ki as $style,Nr as $styleVersion,Va as $supportsText,xo as $systemId,Zr as $target,_a as $targets,L as $tasks,oi as $timers,Ci as $title,Za as $treeVersion,Ta as $type,zi as $types,ji as $updating,Er as $updatingSelectedContent,qo as $uri,ps as $url,Hr as $userActivation,os as $userValidity,yn as $validity,ye as $value,R as $version,Tn as $visualViewport,Ne as $w,Ee as $whatToShow,Vt as $whenDefined,ca as $width,ne as $window,ea as $writeBuffer,Ot as $x,Ft as $xhr,Jt as $y,u as $z,_r as ATTRIBUTE_NODE,a as AttrRecord,nn as CDATA_SECTION_NODE,t as COMMENT_NODE,qn as COMPAT,ze as COMPAT_PROFILES,pt as DEFAULT_COMPAT,pi as DOCUMENT_FRAGMENT_NODE,jo as DOCUMENT_NODE,Na as DOCUMENT_POSITION_CONTAINED_BY,po as DOCUMENT_POSITION_CONTAINS,qi as DOCUMENT_POSITION_DISCONNECTED,Pr as DOCUMENT_POSITION_FOLLOWING,Ha as DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC,So as DOCUMENT_POSITION_PRECEDING,Qr as DOCUMENT_TYPE_NODE,rn as DeclBlock,va as ELEMENT_NODE,zo as ENTITY_NODE,si as ENTITY_REFERENCE_NODE,xr as EventState,J as FAILURE_CHANNEL,wi as F_ADOPT_HOOK,Qa as F_ARIA_ATTRS,Ea as F_ATTR_HOOK,Bi as F_CE_CUSTOM,Mi as F_CHILDREN_HOOK,Dr as F_CHILD_LIST,Jo as F_CONNECTED,ms as F_CONNECT_HOOK,Ur as F_CONTENTEDITABLE_ATTR,ss as F_CUSTOM,bn as F_DATA_ATTRS,be as F_FACE,es as F_FORM_ATTR,En as F_HAS_SHADOW,Pe as F_HAS_STYLE_ATTR,De as F_HTML,Ht as F_INERT_ATTR,la as F_MO_REGISTERED,re as F_SHADOW_ROOT,ta as F_TABINDEX_ATTR,_e as GLOBAL_EVENT_HANDLER_EVENTS,Wa as HTMLCollection,kt as HTML_NS,Li as INPUT_TYPE_NAMES,It as MATHML_NS,Yt as NOTATION_NODE,bs as NodeCache,_i as NodeImpl,et as NodeList,d as PROCESSING_INSTRUCTION_NODE,G as SPAN_CHANNEL,$e as SVG_NS,T,St as TEXT_NODE,Qe as VirtualClock,xt as VirtualTimeout,Qo as WINDOW_EVENT_HANDLER_EVENTS,fn as XLINK_NS,ys as XMLNS_NS,ue as XML_NS,mi as adoptedStyleSheetsOf,Se as ariaAttr,ns as asciiLowercase,kr as assignManually,Xo as assignedElements,hs as assignedNodes,Gr as assignedSlot,oa as attachShadowRoot,On as attr,i as attrAssociatedElement,gi as attrAssociatedElements,h as attrNode,dn as canSkipZeroDelayWait,captureInterfaceBaseline,Hn as childAt,Ie as classTokens,clearUIValue,le as clockNow,_ as clockStats,xa as closest,Gt as compareBoundaryPoints,ro as compatExposes,me as computedDisplay,Un as computedValue,Xe as computedVisibility,ia as constructEntryList,Aa as controlValue,Kr as createEvent,F as createFileList,Mo as createLinkSheet,In as currentStyleVersion,Mt as defaultButton,at as deferredCompatMembers,Ss as derivedCache,describeCall,describeNode,Ia as dispatch,Bn as dispatchTrusted,To as ensureCollectionIndexGetters,Tt as ensureIndexGetters,ya as evaluateMediaQueryList,A as faceState,ls as findFlattenedSlottables,xn as findSlot,qe as fireAnEvent,Nn as fireSyntheticPointerEvent,Ye as firstElementChild,Mn as foreignImmediatesPending,yo as formOwner,ke as getAttribute,Cs as getComputedStyle,getComputedStyleOverride,go as getCurrentEvent,ee as getElementsByClassName,Qi as getElementsByTagName,Dt as getElementsByTagNameNS,Cn as getEventHandler,getUISelection,getUIValue,guardInterfaceDefinitions,Wt as hasAttr,Xn as hasAuthorStyles,Po as hasExplicitAttrElements,_t as hasListeners,lo as hasReadonlyAttribute,hasUIValue,ur as hiddenGlobals,Rt as implicitSubmission,mn as indexGetterTable,Fn as indexOf,Wi as inputChecked,jr as inputIndeterminate,j as inputType,wr as inputTypeFromAttr,Oa as inspectNode,Kn as installClock,je as installEventHandlers,Yr as isActuallyDisabled,da as isAsciiWhitespace,Ra as isAutofilled,vo as isChecked,Re as isClockTimer,Jr as isDefault,ma as isDisabled,He as isDisplayNone,gt as isDisplayNoneInclusive,isEditable as isEditableControl,Io as isEnabled,Oo as isFACE,ri as isInRange,Yn as isInclusiveAncestor,bi as isIndeterminate,Ja as isInvalid,ha as isLabelable,Lo as isListed,N as isMutable,Go as isNumericType,Ii as isOptional,ki as isOutOfRange,Cr as isPlaceholderShown,Wo as isReadOnly,ds as isReadWrite,Br as isRequired,ii as isResettable,Qt as isSubmitButton,xi as isSubmittable,is as isTextControl,B as isTextualType,_n as isValid,se as isValidDoctypeName,Rn as isValidElementLocalName,Ge as isValidNamespacePrefix,oo as isVisibilityHidden,Ya as labeledControl,Ca as labelsFor,Ve as lastElementChild,za as listOfOptions,so as listenerCount,ft as loopTurn,Ct as matchMediaText,Ho as matches,Bo as mediaEnvironment,ht as nextElementInTree,ao as nextElementSibling,st as nextInTree,fr as nextSkippingChildren,de as nodeCache,Xi as nodeGetTheParent,fa as nodeLength,Zt as notifyMutationObservers,ge as optionSelected,n as parseDeclBlock,en as parseFragment,pn as parseMediaQueryList,pe as peekDerivedCache,ct as pointerEvents,pr as pointerEventsNone,ae as prefixFlag,ar as previousElementSibling,yr as previousInTree,or as pseudoContent,li as querySelector,Di as querySelectorAll,quote,mo as registerOwnerSheet,registerTestHooks,lt as removeAllEventListeners,ra as removeAttribute,Ji as removeOwnerSheet,Hi as replaceData,Eo as reportException,resetWindowBetweenFiles,rr as resolveCompat,restoreInterfaces,Rr as retarget,mr as reusableElement,er as serializeChildren,gr as serializeNode,Fr as setAdoptedStyleSheets,Ka as setAssignedSlotLookup,jt as setAttribute,setCheckedFromUI,br as setComputedColorMode,we as setEventHandler,setFailureSnapshot,setFilesFromUI,setNodeDescriber,p as setNotImplementedHandler,setOptionSelectedFromUI,cn as setTrusted,setUISelection,setUIValue,ti as setUncaughtExceptionHandler,no as skipIdleTime,it as skipZeroDelayWait,spanChannel,Lt as splitOnAsciiWhitespace,Pi as splitText,Et as styleElementRemoved,Pa as styleElementSheet,hn as styleElementUpdated,Ua as styleSheetsOf,sn as styledDisplay,subscribeTestFailures,supportsSelection,O as supportsSelectionType,Zn as tagId,Ue as tagName,testHooks,tracePromise,traceSync,tracing,Ga as trackGlobalTimers,on as treeRoot,o as uaDisplay,Co as unregisterOwnerSheet,An as validateAndExtract,z as valueMode,lr as virtualDate,nr as virtualPerformance,Ti as windowHooks,M as windowInterfaces,ei 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,Jf as tt,Ji as nt,Jl as rt,Jo as it,Jr as at,Ju as ot,Kc as st,Kd as ct,Kf as lt,Ki as ut,Kl as dt,Ko as ft,Kr as pt,Ku as mt,La as ht,Lc as gt,Ld as _t,Lf as vt,Ll as yt,Lo as bt,Lu as xt,Ma as St,Mc as Ct,Md as wt,Mf as Tt,Ml as Et,Mo as Dt,Mu as Ot,Na as kt,Nc as At,Nd as jt,Nf as Mt,Nl as Nt,No as Pt,Nu as Ft,Oa as w,Oc as It,Od as Lt,Of as Rt,Ol as zt,Oo as Bt,Ou as Vt,Pa as Ht,Pc as Ut,Pd as Wt,Pf as Gt,Pl as Kt,Po as qt,Pu as Jt,Qa as Yt,Qc as Xt,Qd as Zt,Qi as Qt,Ql as $t,Qo as en,Qr as tn,Qs as nn,Qu as rn,Ra as an,Rc as on,Rd as sn,Rf as cn,Rl as ln,Ro as un,Rr as dn,Ru as fn,S as pn,Sa as mn,Sc as hn,Sd as gn,Sf as _n,Sl as vn,So as yn,Su as bn,Ta as xn,Tc as Sn,Td as Cn,Tf as wn,Tl as Tn,To as En,Tu as Dn,Uc as T,Ud as On,Uf as kn,Ul as E,Uo as An,Ur as jn,Uu as Mn,Vc as Nn,Vd as Pn,Vf as Fn,Vl as In,Vo as Ln,Vr as Rn,Vu as zn,Wc as Bn,Wd as Vn,Wf as Hn,Wi as Un,Wl as Wn,Wo as Gn,Wr as Kn,Wu as D,Xa as qn,Xc as Jn,Xd as Yn,Xf as Xn,Xi as Zn,Xl as Qn,Xo as $n,Xr as er,Xs as O,Xu as tr,Ya as nr,Yc as rr,Yd as k,Yf as ir,Yi as ar,Yl as or,Yo as sr,Yr as cr,Yu as lr,Zc as ur,Zd as dr,Zi as fr,Zl as pr,Zo as mr,Zr as hr,Zs as gr,Zu as _r,_ as vr,_a as yr,_c as br,_d as A,_f as xr,_i as Sr,_l as Cr,_o as wr,_u as Tr,a as Er,aa as Dr,ac as Or,ad as kr,af as Ar,ai as jr,al as Mr,ao as Nr,as as Pr,at as j,au as Fr,b as Ir,ba as Lr,bc as Rr,bd as zr,bf as Br,bl as Vr,bu as Hr,c as Ur,ca as Wr,cc as Gr,cd as Kr,cf as qr,ci as Jr,cl as Yr,cr as Xr,cu as Zr,d as Qr,dc as $r,dd as ei,df as ti,di as ni,dl as ri,dr as M,ds as ii,du as ai,ea as oi,ec as si,ed as N,ef as ci,ei as li,el as ui,es as di,eu as fi,f as pi,fc as mi,fd as hi,ff as gi,fi as _i,fl as vi,fr as yi,fs as bi,fu as xi,g as Si,ga as Ci,gc as wi,gd as Ti,gf as Ei,gi as Di,gl as Oi,go as ki,gu as Ai,h as ji,ha as Mi,hc as Ni,hd as Pi,hf as Fi,hl as Ii,ho as Li,hs as Ri,hu as zi,i as Bi,ic as Vi,id as Hi,if as Ui,ii as Wi,il as P,io as Gi,is as Ki,iu as qi,ja as Ji,jc as Yi,jd as F,jf as Xi,jl as Zi,jo as Qi,ju as $i,kc as ea,kd as ta,kf as na,kl as I,ko as ra,ku as ia,l as aa,lc as oa,ld as sa,lf as ca,li as la,ll as ua,lr as L,ls as da,lu as fa,m as R,ma as pa,mc as ma,md as ha,mf as ga,mi as _a,ml as va,mo as ya,ms as ba,mu as xa,n as Sa,na as Ca,nc as wa,nd as Ta,nf as Ea,ni as Da,nl as Oa,ns as ka,nu as Aa,o as ja,oa as Ma,oc as Na,od as Pa,of as Fa,oi as Ia,ol as La,or as Ra,os as za,ou as Ba,p as Va,pa as Ha,pc as Ua,pd as Wa,pf as Ga,pi as Ka,pl as z,po as qa,pr as Ja,ps as Ya,pu as Xa,qa as Za,qc as Qa,qd as $a,qf as eo,qi as to,ql as no,qo as ro,qr as io,qu as ao,r as oo,ra as so,rd as co,rf as lo,ri as uo,rl as fo,ro as po,rs as mo,rt as ho,ru as go,s as _o,sa as vo,sc as yo,sd as bo,sf as xo,si as So,sl as Co,sr as wo,ss as To,su as Eo,ta as Do,tc as Oo,td as ko,tf as Ao,ti as jo,tl as Mo,ts as No,tu as Po,u as Fo,uc as Io,ud as Lo,uf as Ro,ui as zo,ul as Bo,us as Vo,uu as Ho,v as Uo,va as Wo,vc as Go,vd as Ko,vf as qo,vl as Jo,vo as Yo,vs as B,vu as Xo,wa as Zo,wc as Qo,wd as $o,wf as es,wl as ts,wo as ns,wu as rs,x as is,xa as as,xc as os,xd as ss,xf as cs,xl as ls,xo as us,xu as ds,y as fs,ya as ps,yc as ms,yd as hs,yf as gs,yi as _s,yl as vs,yo as ys,yu as bs,za as xs,zc as V,zd as Ss,zf as Cs,zl as ws,zo as Ts,zr as Es,zu as Ds}from"./_chunks/src-CImID776.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(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 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[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{}ct(),yi(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):jn(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=ho(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 Ms=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===Ms||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{Na as $_proto__,yo as $aboutBase,Gr as $active,oa as $assocGen,Io as $attr,$r as $attributes,mi as $availableToElementInternals,Ua as $baseFor,ma as $baseOverride,Ni as $baseURL,wi as $baseVersion,br as $benign,Go as $block,ms as $blockParsed,Rr as $blockText,os as $byCtor,hn as $byName,he as $cache,Qo as $callback,Sn as $childNodes,Oe as $childWindows,xe as $children,It as $classList,ea as $clipboard,te as $clonable,Yi as $closed,Ct as $coll,At as $compiled,Ut as $compiledFor,m as $condition,Ke as $constructed,gt as $constructingEntryList,on as $contentType,V as $control,ce as $controlsCache,Nn as $controlsDoc,ze as $controlsVersion,T as $cookieJar,Bn as $cookies,x as $css,st as $current,Qa as $customElements,et as $customValidity,rr as $cx,Jn as $data,ur as $dataset,Xt as $declarative,t as $defaultNamespace,ui as $defaultValueOverride,Mo as $delegatesFocus,Oa as $derived,fo as $devicePixelRatio,P as $dirtiness,Mr as $disabled,La as $disallowModification,Co as $doc,Yr as $dropEffect,ua as $ec,Bo as $effectAllowed,ri as $el,vi as $elements,z as $entries,va as $eo,Ii as $error,Oi as $file,Cr as $files,Jo as $fill,vs as $filter,Vr as $firingSubmissionEvents,ls as $focused,vn as $forLabels,ve as $form,ts as $formAttrSeen,Tn as $forms,p as $frameCallbacks,we as $frameElement,zt as $frameId,I as $frameTask,ie as $frameTime,Zi as $generation,Et as $globalObject,Nt as $hasTransients,Kt as $height,_ as $history,Ye as $home,yt as $host,ln as $href,ws as $id,l as $idleCallbacks,In as $idleId,He as $ids,E as $impl,Wn as $implementation,S as $index,dt as $indexed,no as $inflight,rt as $info,or as $innerHeight,Qn as $innerWidth,pr as $isHTML,$t as $items,i as $keyText,fi as $kind,Po as $labels,Aa as $layerName,go as $list,qi as $listeners,Fr as $localStorage,Ba as $location,Eo as $lockedForReset,Zr as $matches,fa as $media,Ho as $mediaQueryLists,ai as $mode,xi as $name,Xa as $names,xa as $namespaces,zi as $navigator,Ai as $nodes,Tr as $onchange,Xo as $options,bs as $owner,Hr as $ownerNode,ds as $ownerRule,bn as $parent,be as $parentRule,rs as $parentWindow,Dn as $pastNames,Me as $pointerBeforeReference,De as $prefix,Vt as $prelude,ia as $presentationStyle,oe as $pseudo,$i as $queries,Ot as $radios,Ft as $ranges,Jt as $readonly,b as $readyState,Qe as $rebuildVersion,xt as $record,fn as $records,Ds as $reference,pe as $result,zn as $root,We as $rules,Mn as $running,D as $runningFrame,Re as $sc,mt as $screen,ao as $scrollRestoration,ot as $scrollX,lr as $scrollY,tr as $selSet,_r as $selectedOptions,rn as $selectedness,c as $selection,N as $selector,ko as $serializable,Ta as $sessionStorage,co as $settled,Hi as $shadowRoot,kr as $shed,Pa as $sheet,bo as $sheets,Kr as $slotAssignment,sa as $so,Lo as $states,ei as $style,hi as $styleVersion,Wa as $supportsText,ha as $systemId,Pi as $target,Ti as $targets,A as $tasks,Ko as $timers,hs as $title,zr as $treeVersion,ss as $type,gn as $types,ge as $updating,$o as $updatingSelectedContent,Cn as $uri,ke as $url,Se as $userActivation,Lt as $userValidity,ta as $validity,ne as $value,F as $version,wt as $visualViewport,jt as $w,Wt as $whatToShow,h as $whenDefined,qe as $width,_t as $window,sn as $writeBuffer,Ss as $x,le as $xhr,Pn as $y,Be as $z,Ui as ATTRIBUTE_NODE,za as AttrRecord,Ar as CDATA_SECTION_NODE,Fa as COMMENT_NODE,fr as COMPAT,Qt as COMPAT_PROFILES,r as DEFAULT_COMPAT,xo as DOCUMENT_FRAGMENT_NODE,qr as DOCUMENT_NODE,ca as DOCUMENT_POSITION_CONTAINED_BY,Ro as DOCUMENT_POSITION_CONTAINS,ti as DOCUMENT_POSITION_DISCONNECTED,gi as DOCUMENT_POSITION_FOLLOWING,Ga as DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC,ga as DOCUMENT_POSITION_PRECEDING,Fi as DOCUMENT_TYPE_NODE,Dr as DeclBlock,Ei as ELEMENT_NODE,xr as ENTITY_NODE,qo as ENTITY_REFERENCE_NODE,Vi as EventState,J as FAILURE_CHANNEL,gs as F_ADOPT_HOOK,Br as F_ARIA_ATTRS,cs as F_ATTR_HOOK,_n as F_CE_CUSTOM,_e as F_CHILDREN_HOOK,es as F_CHILD_LIST,wn as F_CONNECTED,Ae as F_CONNECT_HOOK,Ce as F_CONTENTEDITABLE_ATTR,Rt as F_CUSTOM,na as F_DATA_ATTRS,re as F_FACE,Xi as F_FORM_ATTR,Tt as F_HAS_SHADOW,Mt as F_HAS_STYLE_ATTR,Gt as F_HTML,g as F_INERT_ATTR,Je as F_MO_REGISTERED,vt as F_RANGE,cn as F_RANGE_BELOW,Cs as F_RANGE_MARKS,ue as F_SHADOW_ROOT,Fn as F_TABINDEX_ATTR,ee as GLOBAL_EVENT_HANDLER_EVENTS,qa as HTMLCollection,Ve as HTML_NS,mn as INPUT_TYPE_NAMES,kn as MATHML_NS,Hn as NOTATION_NODE,ut as NodeCache,To as NodeImpl,An as NodeList,Pe as PROCESSING_INSTRUCTION_NODE,G as SPAN_CHANNEL,lt as SVG_NS,O as T,eo as TEXT_NODE,On as VirtualClock,Vn as VirtualTimeout,Ji as WINDOW_EVENT_HANDLER_EVENTS,tt as XLINK_NS,ir as XMLNS_NS,Xn as XML_NS,So as adoptedStyleSheetsOf,ae as ariaAttr,Qi as asciiLowercase,ns as assignManually,En as assignedElements,je as assignedNodes,Te as assignedSlot,Ge as attachShadowRoot,Dt as attr,Ra as attrAssociatedElement,wo as attrAssociatedElements,Yt as attrNode,Ne as canSkipZeroDelayWait,captureInterfaceBaseline,it as childAt,Pt as classTokens,clearUIValue,$a as clockNow,k as clockStats,ki as closest,y as compareBoundaryPoints,oi as compatExposes,io as computedDisplay,at as computedValue,cr as computedVisibility,dn as constructEntryList,Sa as controlValue,Ee as createEvent,j as createFileList,Jr as createLinkSheet,er as currentStyleVersion,Es as defaultButton,Do as deferredCompatMembers,ft as derivedCache,describeCall,describeNode,da as dispatch,nt as dispatchTrusted,ya as ensureCollectionIndexGetters,Gn as ensureIndexGetters,Di as evaluateMediaQueryList,vo as faceState,Bt as findFlattenedSlottables,ra as findSlot,ar as fireAnEvent,Zn as fireSyntheticPointerEvent,sr as firstElementChild,Yn as foreignImmediatesPending,pa as formOwner,qt as getAttribute,pt as getComputedStyle,getComputedStyleOverride,Vo as getCurrentEvent,ht as getElementsByClassName,an as getElementsByTagName,xs as getElementsByTagNameNS,St as getEventHandler,getUISelection,getUIValue,guardInterfaceDefinitions,v as hasAttr,hr as hasAuthorStyles,Xr as hasExplicitAttrElements,s as hasListeners,oo as hasReadonlyAttribute,hasUIValue,Ca as hiddenGlobals,fe as implicitSubmission,Ie as indexGetterTable,$n as indexOf,Bi as inputChecked,Er as inputIndeterminate,u as inputType,Zo as inputTypeFromAttr,us as inspectNode,dr as installClock,kt as installEventHandlers,Mi as isActuallyDisabled,Xe as isAsciiWhitespace,ja as isAutofilled,_o as isChecked,Zt as isClockTimer,Ur as isDefault,aa as isDisabled,tn as isDisplayNone,o as isDisplayNoneInclusive,isEditable as isEditableControl,Fo as isEnabled,Wr as isFACE,Qr as isInRange,mr as isInclusiveAncestor,pi as isIndeterminate,Va as isInvalid,Ci as isLabelable,yr as isListed,R as isMutable,xn as isNumericType,ji as isOptional,Si as isOutOfRange,vr as isPlaceholderShown,Uo as isReadOnly,fs as isReadWrite,Ir as isRequired,Wo as isResettable,Rn as isSubmitButton,ps as isSubmittable,is as isTextControl,f as isTextualType,pn as isValid,Za as isValidDoctypeName,$e as isValidElementLocalName,nr as isValidNamespacePrefix,li as isVisibilityHidden,Lr as labeledControl,as as labelsFor,en as lastElementChild,Ha as listOfOptions,si as listenerCount,n as loopTurn,Un as matchMediaText,wr as matches,Sr as mediaEnvironment,a as nextElementInTree,di as nextElementSibling,No as nextInTree,ka as nextSkippingChildren,to as nodeCache,ii as nodeGetTheParent,Ze as nodeLength,Ln as notifyMutationObservers,me as optionSelected,Ma as parseDeclBlock,Nr as parseFragment,Fe as parseMediaQueryList,ro as peekDerivedCache,jo as pointerEvents,Da as pointerEventsNone,bt as prefixFlag,mo as previousElementSibling,Ki as previousInTree,uo as pseudoContent,Yo as querySelector,ys as querySelectorAll,quote,zo as registerOwnerSheet,registerTestHooks,Oo as removeAllEventListeners,un as removeAttribute,ni as removeOwnerSheet,yn as replaceData,ba as reportException,resetWindowBetweenFiles,so as resolveCompat,restoreInterfaces,bi as retarget,wa as reusableElement,po as serializeChildren,Gi as serializeNode,_i as setAdoptedStyleSheets,Ya as setAssignedSlotLookup,Ts as setAttribute,setCheckedFromUI,Wi as setComputedColorMode,Ht as setEventHandler,setFailureSnapshot,setFilesFromUI,setNodeDescriber,Ue as setNotImplementedHandler,setOptionSelectedFromUI,Or as setTrusted,setUISelection,setUIValue,Ri as setUncaughtExceptionHandler,ci as skipIdleTime,Ao as skipZeroDelayWait,spanChannel,de as splitOnAsciiWhitespace,ye as splitText,Kn as styleElementRemoved,la as styleElementSheet,Le as styleElementUpdated,Ka as styleSheetsOf,jr as styledDisplay,subscribeTestFailures,supportsSelection,d as supportsSelectionType,gr as tagId,nn as tagName,testHooks,tracePromise,traceSync,tracing,Ja as trackGlobalTimers,Pr as treeRoot,Ia as uaDisplay,_a as unregisterOwnerSheet,qn as validateAndExtract,w as valueMode,Ea as virtualDate,lo as virtualPerformance,_s as windowHooks,M as windowInterfaces,Li 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;
|
|
@@ -218,6 +218,16 @@ export declare function computedDisplay(el: NodeImpl): string;
|
|
|
218
218
|
export declare function styledDisplay(el: NodeImpl): string | null;
|
|
219
219
|
/** https://drafts.csswg.org/css-display-3/#valdef-display-none — own computed display is none. */
|
|
220
220
|
export declare function isDisplayNone(el: NodeImpl): boolean;
|
|
221
|
+
/** boxFacts bits: own computed display is none; own computed position is not static. */
|
|
222
|
+
export declare const BOX_DISPLAY_NONE = 1;
|
|
223
|
+
export declare const BOX_POSITIONED = 2;
|
|
224
|
+
/**
|
|
225
|
+
* Own `display: none` and non-static `position` of `el` from one style record lookup
|
|
226
|
+
* (offsetParent reads both for every ancestor). `sheets` is sheetsApplyTo(el.doc).
|
|
227
|
+
*/
|
|
228
|
+
export declare function boxFacts(el: NodeImpl, sheets: boolean): number;
|
|
229
|
+
/** Whether any style sheet applies in `el`'s document (see plain()). */
|
|
230
|
+
export declare function sheetsApplyTo(el: NodeImpl): boolean;
|
|
221
231
|
/** The element or an ancestor (flat-tree-ish: through shadow hosts) is display:none. */
|
|
222
232
|
export declare function isDisplayNoneInclusive(el: NodeImpl): boolean;
|
|
223
233
|
/** Computed `visibility` (inherited): "visible" | "hidden" | "collapse". */
|
|
@@ -7,6 +7,8 @@ export declare class PropInfo {
|
|
|
7
7
|
specLonghands: string[] | null;
|
|
8
8
|
constructor(name: string, inherited: boolean, initial: string, specLonghands: string[] | null);
|
|
9
9
|
}
|
|
10
|
+
/** The property a lowercase name stands for: the aliased property for a legacy name alias, else the name. */
|
|
11
|
+
export declare function canonicalPropertyName(lower: string): string;
|
|
10
12
|
/** Metadata for a lowercase property name, or undefined if unsupported. */
|
|
11
13
|
export declare function propertyInfo(name: string): PropInfo | undefined;
|
|
12
14
|
export declare function isSupportedProperty(name: string): boolean;
|
|
@@ -67,10 +67,16 @@ export declare function normalizeComponent(c: Comp, g: Grammar): string | null;
|
|
|
67
67
|
* https://drafts.csswg.org/cssom/#serialize-a-css-component-value): function name, keywords and
|
|
68
68
|
* units lower-cased, color stops serialized as colors, arguments joined with ", ", and the
|
|
69
69
|
* default line / shape / position omitted (`to bottom`, `ellipse`, `farthest-corner`,
|
|
70
|
-
* `at center`) like jsdom
|
|
71
|
-
*
|
|
70
|
+
* `at center`) like jsdom, numbers and units canonical (`.5em` → `0.5em`, a stop's `0` →
|
|
71
|
+
* `0px`). Returns null when the gradient has an empty argument or no color stop; other
|
|
72
|
+
* unrecognized arguments are kept as written.
|
|
72
73
|
*/
|
|
73
74
|
export declare function normalizeGradient(c: Comp): string | null;
|
|
75
|
+
/**
|
|
76
|
+
* <family-name> | <generic-family> list (font-family, the font shorthand's tail) from
|
|
77
|
+
* significant components; null when invalid. https://drafts.csswg.org/css-fonts-4/#font-family-prop
|
|
78
|
+
*/
|
|
79
|
+
export declare function serializeFamilyList(parts: Comp[]): string | null;
|
|
74
80
|
/** https://drafts.csswg.org/cssom/#serialize-a-string */
|
|
75
81
|
export declare function serializeString(s: string): string;
|
|
76
82
|
/** https://drafts.csswg.org/cssom/#serialize-a-url */
|
|
@@ -57,6 +57,8 @@ export declare const pathStack: {
|
|
|
57
57
|
};
|
|
58
58
|
/** @internal Allows `createEvent` / internal code to construct interfaces with no public constructor. */
|
|
59
59
|
export declare function withInternalConstruct<T>(fn: () => T): T;
|
|
60
|
+
/** withInternalConstruct without the closure: returns the previous value to restore. */
|
|
61
|
+
export declare function setInternalConstruct(value: boolean): boolean;
|
|
60
62
|
export declare function isInternalConstruct(): boolean;
|
|
61
63
|
export declare class Event {
|
|
62
64
|
#private;
|
|
@@ -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
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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
|
-
|
|
38
|
-
|
|
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
|
-
|
|
44
|
-
|
|
45
|
-
};
|
|
41
|
+
/** https://svgwg.org/svg2-draft/struct.html#__svg__SVGSVGElement__createSVGNumber */
|
|
42
|
+
createSVGNumber(): SVGNumber;
|
|
46
43
|
createSVGLength(): object;
|
|
47
44
|
createSVGAngle(): object;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
createSVGRect():
|
|
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,9 +31,11 @@ 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";
|
|
36
37
|
export { DOMMatrix as WebKitCSSMatrix } from "./window/geometry.js";
|
|
38
|
+
export { DOMRect as SVGRect } from "./window/geometry.js";
|
|
37
39
|
export { DOMQuad, type DOMQuadInit } from "./window/quad.js";
|
|
38
40
|
export { Event } from "./events/Event.js";
|
|
39
41
|
export { UIEvent, FocusEvent, MouseEvent, PointerEvent, WheelEvent, DragEvent, KeyboardEvent, InputEvent, CompositionEvent, TextEvent, Touch, TouchList, TouchEvent, ClipboardEvent, } from "./events/UIEvents.js";
|
|
@@ -45,7 +45,7 @@ export declare class Document extends Node {
|
|
|
45
45
|
/** https://w3c.github.io/selection-api/#dfn-selection — created on first getSelection(). */
|
|
46
46
|
[$selection]: Selection | null;
|
|
47
47
|
/** Live ranges whose boundary points are in this document (traversal/live.ts); null when none. */
|
|
48
|
-
[$ranges]:
|
|
48
|
+
[$ranges]: object | null;
|
|
49
49
|
/**
|
|
50
50
|
* Derived per-document caches (selector results, snapshot holders, ...) keyed by owner token; see
|
|
51
51
|
* nodes/derived.ts. Dropped whenever a node is removed from a tree of this document, so caches
|
|
@@ -72,3 +72,13 @@ export declare const F_INERT_ATTR: number;
|
|
|
72
72
|
* (Document[$formAttrSeen]) has no form whose controls lie outside it (html/forms/form-associated.ts).
|
|
73
73
|
*/
|
|
74
74
|
export declare const F_FORM_ATTR: number;
|
|
75
|
+
/**
|
|
76
|
+
* Sticky marks for live ranges (traversal/live.ts): F_RANGE on a node that is or was a live
|
|
77
|
+
* range's start or end node, F_RANGE_BELOW on every ancestor of such a node (link() carries it
|
|
78
|
+
* up when a marked subtree is inserted). The mutation algorithms skip the range update steps
|
|
79
|
+
* when the nodes they touch have neither, so a selection elsewhere in the document costs
|
|
80
|
+
* React's commits one bit test per mutation.
|
|
81
|
+
*/
|
|
82
|
+
export declare const F_RANGE: number;
|
|
83
|
+
export declare const F_RANGE_BELOW: number;
|
|
84
|
+
export declare const F_RANGE_MARKS: number;
|
|
@@ -21,6 +21,13 @@ export interface IteratorState {
|
|
|
21
21
|
export declare let liveRangeCount: number;
|
|
22
22
|
/** Number of registered (possibly already collected) NodeIterators. */
|
|
23
23
|
export declare let nodeIteratorCount: number;
|
|
24
|
+
/**
|
|
25
|
+
* Marks `n` as a live range's boundary node and its ancestors as having one below
|
|
26
|
+
* (nodes/constants.ts F_RANGE). Called whenever a live range takes a new start or end node.
|
|
27
|
+
*/
|
|
28
|
+
export declare function markBoundary(n: NodeImpl): void;
|
|
29
|
+
/** Sets F_RANGE_BELOW on `n` and its ancestors (stops at the first one that has it). */
|
|
30
|
+
export declare function markRangeAncestors(n: NodeImpl): void;
|
|
24
31
|
export declare function registerLiveRange(r: LiveBoundaries): void;
|
|
25
32
|
/** Re-file `r` after its boundary points moved to another document. */
|
|
26
33
|
export declare function refileRange(r: LiveBoundaries): void;
|
|
@@ -15,12 +15,26 @@ export declare function exposeMembers(...ctors: Ctor[]): void;
|
|
|
15
15
|
export declare function defineInterfaceShape(ctor: Ctor & {
|
|
16
16
|
name: string;
|
|
17
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;
|
|
18
25
|
/**
|
|
19
26
|
* Make an instance's internal own fields (`_`-prefixed or symbol-keyed, see keys.ts)
|
|
20
27
|
* non-enumerable, so spreads and Jest's symbol-aware equality skip them too. Call at the end of
|
|
21
28
|
* a constructor.
|
|
22
29
|
*/
|
|
23
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;
|
|
24
38
|
/**
|
|
25
39
|
* Throw the TypeError WebIDL requires when an operation is called with fewer than its required
|
|
26
40
|
* arguments (https://webidl.spec.whatwg.org/#dfn-overload-resolution-algorithm step 4), worded
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Element } from "../nodes/Element.js";
|
|
2
2
|
import { $callback, $targets } from "../keys.js";
|
|
3
|
+
import { DOMRectReadOnly, type DOMRectInit } from "./geometry.js";
|
|
3
4
|
type ResizeObserverCallback = (entries: unknown[], observer: ResizeObserver) => void;
|
|
4
5
|
type IntersectionObserverCallback = (entries: unknown[], observer: IntersectionObserver) => void;
|
|
5
6
|
/** @internal Set by css/resize-observer.ts (layout-lite delivery); null hooks mean "no layout". */
|
|
@@ -39,4 +40,31 @@ export declare class IntersectionObserver {
|
|
|
39
40
|
takeRecords(): unknown[];
|
|
40
41
|
get [Symbol.toStringTag](): string;
|
|
41
42
|
}
|
|
43
|
+
/** https://w3c.github.io/IntersectionObserver/#dictdef-intersectionobserverentryinit */
|
|
44
|
+
export interface IntersectionObserverEntryInit {
|
|
45
|
+
time: number;
|
|
46
|
+
rootBounds: DOMRectInit | null;
|
|
47
|
+
boundingClientRect: DOMRectInit;
|
|
48
|
+
intersectionRect: DOMRectInit;
|
|
49
|
+
isIntersecting: boolean;
|
|
50
|
+
intersectionRatio: number;
|
|
51
|
+
target: Element;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* https://w3c.github.io/IntersectionObserver/#intersection-observer-entry — never delivered here
|
|
55
|
+
* (no layout), but exposed with IntersectionObserver: libraries check
|
|
56
|
+
* `"isIntersecting" in IntersectionObserverEntry.prototype` before trusting the observer
|
|
57
|
+
* (react-lazy-load-image-component), and test mocks construct entries.
|
|
58
|
+
*/
|
|
59
|
+
export declare class IntersectionObserverEntry {
|
|
60
|
+
#private;
|
|
61
|
+
constructor(init: IntersectionObserverEntryInit);
|
|
62
|
+
get time(): number;
|
|
63
|
+
get rootBounds(): DOMRectReadOnly | null;
|
|
64
|
+
get boundingClientRect(): DOMRectReadOnly;
|
|
65
|
+
get intersectionRect(): DOMRectReadOnly;
|
|
66
|
+
get isIntersecting(): boolean;
|
|
67
|
+
get intersectionRatio(): number;
|
|
68
|
+
get target(): Element;
|
|
69
|
+
}
|
|
42
70
|
export {};
|