very-happy-dom 0.3.3 → 0.3.5

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/CHANGELOG.md CHANGED
@@ -1,3 +1,23 @@
1
+ [Compare changes](https://github.com/stacksjs/very-happy-dom/compare/v0.3.4...HEAD)
2
+
3
+ ## 🐛 Bug Fixes
4
+
5
+ - **parser**: accept the attribute names a framework uses ([8f88d51](https://github.com/stacksjs/very-happy-dom/commit/8f88d51)) _(by glennmichael123 <gtorregosa@gmail.com>)_
6
+
7
+ ## Contributors
8
+
9
+ - _glennmichael123 <gtorregosa@gmail.com>_
10
+
11
+ [Compare changes](https://github.com/stacksjs/very-happy-dom/compare/v0.3.3...HEAD)
12
+
13
+ ## 🐛 Bug Fixes
14
+
15
+ - resolve a colon in an attribute value, and keep html attributes ([690c0fe](https://github.com/stacksjs/very-happy-dom/commit/690c0fe)) _(by glennmichael123 <gtorregosa@gmail.com>)_
16
+
17
+ ## Contributors
18
+
19
+ - _glennmichael123 <gtorregosa@gmail.com>_
20
+
1
21
  [Compare changes](https://github.com/stacksjs/very-happy-dom/compare/v0.3.2...HEAD)
2
22
 
3
23
  ## 🐛 Bug Fixes
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- import{e}from"./chunk-f2mywdxs.js";class r extends e{constructor(t){super(t);this.tagName=t,this.nodeName=t,this.namespaceURI="http://www.w3.org/2000/svg"}}
2
+ import{e}from"./chunk-4rkv71j2.js";class r extends e{constructor(t){super(t);this.tagName=t,this.nodeName=t,this.namespaceURI="http://www.w3.org/2000/svg"}}
3
3
  export{r};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{o}from"./chunk-d5edpdkj.js";export{o as VirtualTextNode};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{_}from"./chunk-w2g7xbfh.js";import"./chunk-d5edpdkj.js";export{_ as VirtualDocumentFragment};
@@ -1,8 +1,8 @@
1
1
  // @bun
2
- import{n,Ce,F,E,Ve,Me,k,et,Oe,tt,G,l,o,t,i,c,a,Wi,d}from"./chunk-acwj66tt.js";import{Qe,mi,p}from"./chunk-k30yn39b.js";import{I,y,pi,fi,w,_}from"./chunk-bbr3a3qm.js";import{Ui}from"./chunk-a5gtqx99.js";class Z{x;y;width;height;constructor(r=0,s=0,u=0,h=0){this.x=r,this.y=s,this.width=u,this.height=h}get top(){return Math.min(this.y,this.y+this.height)}get right(){return Math.max(this.x,this.x+this.width)}get bottom(){return Math.max(this.y,this.y+this.height)}get left(){return Math.min(this.x,this.x+this.width)}toJSON(){return{x:this.x,y:this.y,width:this.width,height:this.height,top:this.top,right:this.right,bottom:this.bottom,left:this.left}}static fromRect(r){return new Z(r?.x??0,r?.y??0,r?.width??0,r?.height??0)}}class H extends Z{constructor(r=0,s=0,u=0,h=0){super(r,s,u,h);Object.defineProperties(this,{x:{value:r,writable:!0,enumerable:!0,configurable:!0},y:{value:s,writable:!0,enumerable:!0,configurable:!0},width:{value:u,writable:!0,enumerable:!0,configurable:!0},height:{value:h,writable:!0,enumerable:!0,configurable:!0}})}static fromRect(r){return new H(r?.x??0,r?.y??0,r?.width??0,r?.height??0)}}class ee{x;y;z;w;constructor(r=0,s=0,u=0,h=1){this.x=r,this.y=s,this.z=u,this.w=h}toJSON(){return{x:this.x,y:this.y,z:this.z,w:this.w}}static fromPoint(r){return new ee(r?.x??0,r?.y??0,r?.z??0,r?.w??1)}}class we extends ee{constructor(r=0,s=0,u=0,h=1){super(r,s,u,h);Object.defineProperties(this,{x:{value:r,writable:!0,enumerable:!0,configurable:!0},y:{value:s,writable:!0,enumerable:!0,configurable:!0},z:{value:u,writable:!0,enumerable:!0,configurable:!0},w:{value:h,writable:!0,enumerable:!0,configurable:!0}})}static fromPoint(r){return new we(r?.x??0,r?.y??0,r?.z??0,r?.w??1)}}class _e{a;b;c;d;e;f;m11;m12;m13;m14;m21;m22;m23;m24;m31;m32;m33;m34;m41;m42;m43;m44;is2D=!0;isIdentity;constructor(r){if(Array.isArray(r)&&r.length===6)this.a=r[0],this.m11=r[0],this.b=r[1],this.m12=r[1],this.c=r[2],this.m21=r[2],this.d=r[3],this.m22=r[3],this.e=r[4],this.m41=r[4],this.f=r[5],this.m42=r[5],this.m13=0,this.m14=0,this.m23=0,this.m24=0,this.m31=0,this.m32=0,this.m33=1,this.m34=0,this.m43=0,this.m44=1,this.isIdentity=this.a===1&&this.b===0&&this.c===0&&this.d===1&&this.e===0&&this.f===0;else if(Array.isArray(r)&&r.length===16)this.m11=r[0],this.m12=r[1],this.m13=r[2],this.m14=r[3],this.m21=r[4],this.m22=r[5],this.m23=r[6],this.m24=r[7],this.m31=r[8],this.m32=r[9],this.m33=r[10],this.m34=r[11],this.m41=r[12],this.m42=r[13],this.m43=r[14],this.m44=r[15],this.a=this.m11,this.b=this.m12,this.c=this.m21,this.d=this.m22,this.e=this.m41,this.f=this.m42,this.is2D=!1,this.isIdentity=this.m11===1&&this.m12===0&&this.m13===0&&this.m14===0&&this.m21===0&&this.m22===1&&this.m23===0&&this.m24===0&&this.m31===0&&this.m32===0&&this.m33===1&&this.m34===0&&this.m41===0&&this.m42===0&&this.m43===0&&this.m44===1;else this.a=1,this.m11=1,this.b=0,this.m12=0,this.c=0,this.m21=0,this.d=1,this.m22=1,this.e=0,this.m41=0,this.f=0,this.m42=0,this.m13=0,this.m14=0,this.m23=0,this.m24=0,this.m31=0,this.m32=0,this.m33=1,this.m34=0,this.m43=0,this.m44=1,this.isIdentity=!0}toJSON(){return{a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}}toString(){return`matrix(${this.a}, ${this.b}, ${this.c}, ${this.d}, ${this.e}, ${this.f})`}}class $e extends _e{constructor(r){super(r);for(let s of["a","b","c","d","e","f","m11","m12","m13","m14","m21","m22","m23","m24","m31","m32","m33","m34","m41","m42","m43","m44"])Object.defineProperty(this,s,{value:this[s],writable:!0,enumerable:!0,configurable:!0})}}class qe{_items;constructor(r=[]){return this._items=r,new Proxy(this,{get(s,u,h){if(typeof u==="string"){let m=Number(u);if(Number.isInteger(m)&&m>=0)return s._items[m]}return Reflect.get(s,u,h)}})}get length(){return this._items.length}item(r){return this._items[r]??null}forEach(r,s){this._items.forEach((u,h)=>r.call(s,u,h,this))}entries(){return this._items.entries()}keys(){return this._items.keys()}values(){return this._items.values()}[Symbol.iterator](){return this._items[Symbol.iterator]()}}class ze{_items;constructor(r=[]){return this._items=r,new Proxy(this,{get(s,u,h){if(typeof u==="string"){let m=Number(u);if(Number.isInteger(m)&&m>=0)return s._items[m]}return Reflect.get(s,u,h)}})}get length(){return this._items.length}item(r){return this._items[r]??null}namedItem(r){return this._items.find((s)=>s.id===r||s.getAttribute?.("name")===r)??null}[Symbol.iterator](){return this._items[Symbol.iterator]()}}class Ke{name;value;namespaceURI;prefix;localName;specified=!0;ownerElement=null;constructor(r,s="",u=null){this.name=r,this.value=s,this.namespaceURI=u,this.prefix=r.includes(":")?r.split(":")[0]:null,this.localName=r.includes(":")?r.split(":")[1]:r}}class je{_attrs=[];constructor(){return new Proxy(this,{get(r,s,u){if(typeof s==="string"){let h=Number(s);if(Number.isInteger(h)&&h>=0)return r._attrs[h]}return Reflect.get(r,s,u)}})}get length(){return this._attrs.length}item(r){return this._attrs[r]??null}getNamedItem(r){return this._attrs.find((s)=>s.name===r)??null}setNamedItem(r){let s=this.getNamedItem(r.name);if(s)this._attrs[this._attrs.indexOf(s)]=r;else this._attrs.push(r);return s}removeNamedItem(r){let s=this._attrs.findIndex((u)=>u.name===r);if(s===-1)throw Error(`Attr not found: ${r}`);return this._attrs.splice(s,1)[0]}getNamedItemNS(r,s){return this.getNamedItem(s)}setNamedItemNS(r){return this.setNamedItem(r)}removeNamedItemNS(r,s){return this.removeNamedItem(s)}[Symbol.iterator](){return this._attrs[Symbol.iterator]()}}class Ye{serializeToString(r){if(!r)return"";if(r.outerHTML!==void 0)return r.outerHTML;if(r.nodeType===3)return r.nodeValue??"";if(r.nodeType===8)return`<!--${r.nodeValue??""}-->`;if(r.nodeType===9)return r.documentElement?this.serializeToString(r.documentElement):"";if(r.nodeType===11)return r.childNodes?.map((s)=>this.serializeToString(s)).join("")??"";return r.toString?.()??""}}class Xe{badInput=!1;customError=!1;patternMismatch=!1;rangeOverflow=!1;rangeUnderflow=!1;stepMismatch=!1;tooLong=!1;tooShort=!1;typeMismatch=!1;valid=!0;valueMissing=!1}class Se{width;height;availWidth;availHeight;colorDepth=24;pixelDepth=24;orientation;constructor(r=1024,s=768){this.width=r,this.height=s,this.availWidth=r,this.availHeight=s,this.orientation={type:"landscape-primary",angle:0}}}class Te{matches;media;onchange=null;_listeners=new Set;constructor(r,s){this.media=r,this.matches=s}addListener(r){if(r)this._listeners.add(r)}removeListener(r){this._listeners.delete(r)}addEventListener(r,s){if(s)this._listeners.add(s)}removeEventListener(r,s){this._listeners.delete(s)}dispatchEvent(){return!0}}class Je{nodeType=10;name;publicId;systemId;constructor(r="html",s="",u=""){this.name=r,this.publicId=s,this.systemId=u}}var eo=["prefers-color-scheme","prefers-reduced-motion","forced-colors","orientation","min-width","max-width","width","min-height","max-height","height"];function z(r,s){let u=Number.parseFloat(r);if(!Number.isFinite(u))return Number.NaN;return s==="em"||s==="rem"?u*16:u}function U(r,s){let u=/^\(\s*([\w-]+)\s*(?::\s*([^)]+?)\s*)?\)$/.exec(r.trim());if(!u)return!1;let[,h,m]=u,b=(m??"").trim().toLowerCase();switch(h.toLowerCase()){case"prefers-color-scheme":return s.colorScheme===b;case"prefers-reduced-motion":return b===""?s.reducedMotion==="reduce":s.reducedMotion===b;case"forced-colors":return b===""?s.forcedColors==="active":s.forcedColors===b;case"orientation":return(s.height>=s.width?"portrait":"landscape")===b;case"min-width":case"max-width":case"width":case"min-height":case"max-height":case"height":{let g=/^(\d+(?:\.\d+)?)\s*(px|em|rem)?$/.exec(b);if(!g)return!1;let v=z(g[1],g[2]),f=h.endsWith("width")?s.width:s.height;if(h.startsWith("min-"))return f>=v;if(h.startsWith("max-"))return f<=v;return f===v}default:return!1}}function B(r,s){let u=r.trim().toLowerCase();if(u==="")return!1;let h=/^not\s+/.test(u),b=u.replace(/^not\s+/,"").replace(/^only\s+/,"").split(/\s+and\s+/).map((v)=>v.trim()).filter(Boolean);if(b.length===0)return!1;let g=b.every((v)=>{if(!v.startsWith("(")){if(v==="all")return!0;return v===s.type}return U(v,s)});return h?!g:g}function xe(r,s){let u=String(r??"").trim();if(u==="")return!1;return u.split(",").some((h)=>B(h,s))}function q(r){let s=r.replace(/"[^"]*"|'[^']*'/g,'""'),u=0,h=0,m=0,b=s.match(/::[\w-]+/g);m+=b?b.length:0;let g=s.replace(/::[\w-]+/g," "),v=g.match(/#[\w-]+/g);u+=v?v.length:0;let f=g.match(/\.[\w-]+/g);h+=f?f.length:0;let A=g.match(/\[[^\]]*\]/g);h+=A?A.length:0;let x=g.match(/:[\w-]+/g);h+=x?x.length:0;let T=g.replace(/#[\w-]+/g," ").replace(/\.[\w-]+/g," ").replace(/\[[^\]]*\]/g," ").replace(/:[\w-]+(\([^)]*\))?/g," ").replace(/[>+~,()]/g," ").split(/\s+/).filter((L)=>/^[a-z][\w-]*$/i.test(L));return m+=T.length,u*1e6+h*1000+m}function j(r){return r.length===0||r.startsWith("@")}function W(r,s){let u=-1;for(let h of s.split(",")){let m=h.trim();if(!m)continue;let b=!1;try{b=r.matches(m)}catch{b=!1}if(b)u=Math.max(u,q(m))}return u}function K(r,s,u){let h=r.get(s);if(!h||u.specificity>=h.specificity)r.set(s,u)}function ci(r,s,u){let h={normal:new Map,important:new Map},m=0,b=(g)=>{for(let v=0;v<g.length;v++){let f=g[v];if(f?.conditionText!==void 0&&f.cssRules){if(u&&xe(f.conditionText,u))b(f.cssRules);continue}let A=f?.selectorText?.trim();if(!A||j(A)||!f.style)continue;m++;let x=W(r,A);if(x<0)continue;for(let T of f.style){let L=f.style.getPropertyValue(T);if(!L)continue;let P=f.style.getPropertyPriority(T)==="important"?h.important:h.normal;K(P,T,{value:L,specificity:x,order:m})}}};for(let g of s)if(g?.cssRules)b(g.cssRules);return h}function di(r,s,u){let h=s.getPropertyValue(r);if(h!==""&&s.getPropertyPriority(r)==="important")return h;let b=u.important.get(r);if(b)return b.value;if(h)return h;let g=u.normal.get(r);if(g)return g.value;return null}class hi extends _{mode;delegatesFocus;host;constructor(r,s){super();this.host=r,this.mode=s.mode,this.delegatesFocus=s.delegatesFocus||!1,this.parentNode=r,this.ownerDocument=r.ownerDocument,this.nodeName="#shadow-root"}get innerHTML(){return this.childNodes.map((r)=>this._serializeNode(r,void 0)).join("")}set innerHTML(r){while(this.childNodes.length>0)this.removeChild(this.childNodes[0]);if(!r)return;let s=p(r,this.ownerDocument);for(let u of s)this.appendChild(u)}_getEventParent(){return this.host}_serializeNode(r,s){if(r.nodeType===i){let u=r.nodeValue||"";if(s==="SCRIPT"||s==="STYLE")return u;return Qe(u)}if(r.nodeType===c)return`<!--${r.nodeValue||""}-->`;if(r.nodeType===t){let u=r,h=u.tagName.toLowerCase(),m=`<${h}`;for(let[g,v]of u.attributes)m+=` ${g}="${mi(v)}"`;if(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"].includes(h))return`${m}>`;m+=">";for(let g of u.childNodes)m+=this._serializeNode(g,u.tagName);return m+=`</${h}>`,m}return""}}var X=new Set(["DIV","P","H1","H2","H3","H4","H5","H6","UL","OL","LI","TABLE","TR","BLOCKQUOTE","PRE","HR","SECTION","ARTICLE","NAV","HEADER","FOOTER","MAIN","ASIDE","DETAILS","SUMMARY","FORM","FIELDSET","ADDRESS","DL","DT","DD","FIGURE","FIGCAPTION"]);class e extends d{nodeType=t;nodeKind="element";nodeName;tagName;namespaceURI="http://www.w3.org/1999/xhtml";_shadowRoot=null;_customValidity="";_internalStyles=null;_stylePriorities=null;_styleProxy=null;_datasetProxy=null;_valueState=null;_valueDirty=!1;_checkedState=null;_checkedDirty=!1;_selectedState=null;_selectedDirty=!1;_capturedPointerIds=null;get children(){let r=this.childNodes,s=[];for(let u=0;u<r.length;u++)if(r[u].nodeType===t)s.push(r[u]);return s}constructor(r){super();this.tagName=r.toUpperCase(),this.nodeName=this.tagName}get shadowRoot(){return this._shadowRoot?.mode==="open"?this._shadowRoot:null}_getInternalShadowRoot(){return this._shadowRoot}getAttribute(r){return this.attributes.get(r.toLowerCase())??null}getAttributeNS(r,s){return this.getAttribute(s)}setAttribute(r,s){let u=r.toLowerCase(),h=`${s}`,m=this.attributes.get(u)??null;if(this.attributes.set(u,h),u==="id"){let b=this.ownerDocument;if(b&&b._idIndex){if(m!==null)b._idIndex.delete(m);b._idIndex.set(h,this)}}if(u==="style")this._setStylesFromAttribute(h);if(Ce(this,u,m,h),u==="slot"||u==="name"&&this.tagName==="SLOT")F(this);l._queueMutationRecord({type:"attributes",target:this,addedNodes:[],removedNodes:[],previousSibling:null,nextSibling:null,attributeName:u,attributeNamespace:null,oldValue:m})}setAttributeNS(r,s,u){this.setAttribute(s,u)}removeAttribute(r){let s=r.toLowerCase(),u=this.attributes.get(s)??null;if(u===null)return;if(this.attributes.delete(s),s==="id"){let h=this.ownerDocument;if(h&&h._idIndex)h._idIndex.delete(u)}if(s==="style")this._internalStyles=null,this._stylePriorities=null;if(Ce(this,s,u,null),s==="slot"||s==="name"&&this.tagName==="SLOT")F(this);l._queueMutationRecord({type:"attributes",target:this,addedNodes:[],removedNodes:[],previousSibling:null,nextSibling:null,attributeName:s,attributeNamespace:null,oldValue:u})}removeAttributeNS(r,s){this.removeAttribute(s)}hasAttribute(r){return this.attributes.has(r.toLowerCase())}hasAttributeNS(r,s){return this.hasAttribute(s)}toggleAttribute(r,s){let u=r.toLowerCase();if(s!==void 0){if(s)return this.setAttribute(u,""),!0;return this.removeAttribute(u),!1}if(this.hasAttribute(u))return this.removeAttribute(u),!1;return this.setAttribute(u,""),!0}getAttributeNames(){return Array.from(this.attributes.keys())}get innerText(){let r=this.ownerDocument?.defaultView,u=(this.ownerDocument?.styleSheets?.length??0)+(this.ownerDocument?._adoptedStyleSheets?.length??0)>0&&typeof r?.getComputedStyle==="function"?(N)=>r.getComputedStyle(N):(N)=>N.style,h=[],m=!1,b=!0,g=!1,v=(N)=>{if(m&&!b)h.push(" ");m=!1,h.push(N),b=!1},f=()=>{if(m=!1,h.length===0||h[h.length-1].endsWith(`
2
+ import{n,Ce,F,E,Ve,Me,k,et,Oe,tt,G,l,o,t,i,c,a,Wi,d}from"./chunk-d5edpdkj.js";import{Qe,mi,p}from"./chunk-axyyzc2e.js";import{I,y,pi,fi,w,_}from"./chunk-w2g7xbfh.js";import{Ui}from"./chunk-a5gtqx99.js";class Z{x;y;width;height;constructor(r=0,s=0,u=0,h=0){this.x=r,this.y=s,this.width=u,this.height=h}get top(){return Math.min(this.y,this.y+this.height)}get right(){return Math.max(this.x,this.x+this.width)}get bottom(){return Math.max(this.y,this.y+this.height)}get left(){return Math.min(this.x,this.x+this.width)}toJSON(){return{x:this.x,y:this.y,width:this.width,height:this.height,top:this.top,right:this.right,bottom:this.bottom,left:this.left}}static fromRect(r){return new Z(r?.x??0,r?.y??0,r?.width??0,r?.height??0)}}class H extends Z{constructor(r=0,s=0,u=0,h=0){super(r,s,u,h);Object.defineProperties(this,{x:{value:r,writable:!0,enumerable:!0,configurable:!0},y:{value:s,writable:!0,enumerable:!0,configurable:!0},width:{value:u,writable:!0,enumerable:!0,configurable:!0},height:{value:h,writable:!0,enumerable:!0,configurable:!0}})}static fromRect(r){return new H(r?.x??0,r?.y??0,r?.width??0,r?.height??0)}}class ee{x;y;z;w;constructor(r=0,s=0,u=0,h=1){this.x=r,this.y=s,this.z=u,this.w=h}toJSON(){return{x:this.x,y:this.y,z:this.z,w:this.w}}static fromPoint(r){return new ee(r?.x??0,r?.y??0,r?.z??0,r?.w??1)}}class we extends ee{constructor(r=0,s=0,u=0,h=1){super(r,s,u,h);Object.defineProperties(this,{x:{value:r,writable:!0,enumerable:!0,configurable:!0},y:{value:s,writable:!0,enumerable:!0,configurable:!0},z:{value:u,writable:!0,enumerable:!0,configurable:!0},w:{value:h,writable:!0,enumerable:!0,configurable:!0}})}static fromPoint(r){return new we(r?.x??0,r?.y??0,r?.z??0,r?.w??1)}}class _e{a;b;c;d;e;f;m11;m12;m13;m14;m21;m22;m23;m24;m31;m32;m33;m34;m41;m42;m43;m44;is2D=!0;isIdentity;constructor(r){if(Array.isArray(r)&&r.length===6)this.a=r[0],this.m11=r[0],this.b=r[1],this.m12=r[1],this.c=r[2],this.m21=r[2],this.d=r[3],this.m22=r[3],this.e=r[4],this.m41=r[4],this.f=r[5],this.m42=r[5],this.m13=0,this.m14=0,this.m23=0,this.m24=0,this.m31=0,this.m32=0,this.m33=1,this.m34=0,this.m43=0,this.m44=1,this.isIdentity=this.a===1&&this.b===0&&this.c===0&&this.d===1&&this.e===0&&this.f===0;else if(Array.isArray(r)&&r.length===16)this.m11=r[0],this.m12=r[1],this.m13=r[2],this.m14=r[3],this.m21=r[4],this.m22=r[5],this.m23=r[6],this.m24=r[7],this.m31=r[8],this.m32=r[9],this.m33=r[10],this.m34=r[11],this.m41=r[12],this.m42=r[13],this.m43=r[14],this.m44=r[15],this.a=this.m11,this.b=this.m12,this.c=this.m21,this.d=this.m22,this.e=this.m41,this.f=this.m42,this.is2D=!1,this.isIdentity=this.m11===1&&this.m12===0&&this.m13===0&&this.m14===0&&this.m21===0&&this.m22===1&&this.m23===0&&this.m24===0&&this.m31===0&&this.m32===0&&this.m33===1&&this.m34===0&&this.m41===0&&this.m42===0&&this.m43===0&&this.m44===1;else this.a=1,this.m11=1,this.b=0,this.m12=0,this.c=0,this.m21=0,this.d=1,this.m22=1,this.e=0,this.m41=0,this.f=0,this.m42=0,this.m13=0,this.m14=0,this.m23=0,this.m24=0,this.m31=0,this.m32=0,this.m33=1,this.m34=0,this.m43=0,this.m44=1,this.isIdentity=!0}toJSON(){return{a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}}toString(){return`matrix(${this.a}, ${this.b}, ${this.c}, ${this.d}, ${this.e}, ${this.f})`}}class $e extends _e{constructor(r){super(r);for(let s of["a","b","c","d","e","f","m11","m12","m13","m14","m21","m22","m23","m24","m31","m32","m33","m34","m41","m42","m43","m44"])Object.defineProperty(this,s,{value:this[s],writable:!0,enumerable:!0,configurable:!0})}}class qe{_items;constructor(r=[]){return this._items=r,new Proxy(this,{get(s,u,h){if(typeof u==="string"){let m=Number(u);if(Number.isInteger(m)&&m>=0)return s._items[m]}return Reflect.get(s,u,h)}})}get length(){return this._items.length}item(r){return this._items[r]??null}forEach(r,s){this._items.forEach((u,h)=>r.call(s,u,h,this))}entries(){return this._items.entries()}keys(){return this._items.keys()}values(){return this._items.values()}[Symbol.iterator](){return this._items[Symbol.iterator]()}}class ze{_items;constructor(r=[]){return this._items=r,new Proxy(this,{get(s,u,h){if(typeof u==="string"){let m=Number(u);if(Number.isInteger(m)&&m>=0)return s._items[m]}return Reflect.get(s,u,h)}})}get length(){return this._items.length}item(r){return this._items[r]??null}namedItem(r){return this._items.find((s)=>s.id===r||s.getAttribute?.("name")===r)??null}[Symbol.iterator](){return this._items[Symbol.iterator]()}}class Ke{name;value;namespaceURI;prefix;localName;specified=!0;ownerElement=null;constructor(r,s="",u=null){this.name=r,this.value=s,this.namespaceURI=u,this.prefix=r.includes(":")?r.split(":")[0]:null,this.localName=r.includes(":")?r.split(":")[1]:r}}class je{_attrs=[];constructor(){return new Proxy(this,{get(r,s,u){if(typeof s==="string"){let h=Number(s);if(Number.isInteger(h)&&h>=0)return r._attrs[h]}return Reflect.get(r,s,u)}})}get length(){return this._attrs.length}item(r){return this._attrs[r]??null}getNamedItem(r){return this._attrs.find((s)=>s.name===r)??null}setNamedItem(r){let s=this.getNamedItem(r.name);if(s)this._attrs[this._attrs.indexOf(s)]=r;else this._attrs.push(r);return s}removeNamedItem(r){let s=this._attrs.findIndex((u)=>u.name===r);if(s===-1)throw Error(`Attr not found: ${r}`);return this._attrs.splice(s,1)[0]}getNamedItemNS(r,s){return this.getNamedItem(s)}setNamedItemNS(r){return this.setNamedItem(r)}removeNamedItemNS(r,s){return this.removeNamedItem(s)}[Symbol.iterator](){return this._attrs[Symbol.iterator]()}}class Ye{serializeToString(r){if(!r)return"";if(r.outerHTML!==void 0)return r.outerHTML;if(r.nodeType===3)return r.nodeValue??"";if(r.nodeType===8)return`<!--${r.nodeValue??""}-->`;if(r.nodeType===9)return r.documentElement?this.serializeToString(r.documentElement):"";if(r.nodeType===11)return r.childNodes?.map((s)=>this.serializeToString(s)).join("")??"";return r.toString?.()??""}}class Xe{badInput=!1;customError=!1;patternMismatch=!1;rangeOverflow=!1;rangeUnderflow=!1;stepMismatch=!1;tooLong=!1;tooShort=!1;typeMismatch=!1;valid=!0;valueMissing=!1}class Se{width;height;availWidth;availHeight;colorDepth=24;pixelDepth=24;orientation;constructor(r=1024,s=768){this.width=r,this.height=s,this.availWidth=r,this.availHeight=s,this.orientation={type:"landscape-primary",angle:0}}}class Te{matches;media;onchange=null;_listeners=new Set;constructor(r,s){this.media=r,this.matches=s}addListener(r){if(r)this._listeners.add(r)}removeListener(r){this._listeners.delete(r)}addEventListener(r,s){if(s)this._listeners.add(s)}removeEventListener(r,s){this._listeners.delete(s)}dispatchEvent(){return!0}}class Je{nodeType=10;name;publicId;systemId;constructor(r="html",s="",u=""){this.name=r,this.publicId=s,this.systemId=u}}var eo=["prefers-color-scheme","prefers-reduced-motion","forced-colors","orientation","min-width","max-width","width","min-height","max-height","height"];function z(r,s){let u=Number.parseFloat(r);if(!Number.isFinite(u))return Number.NaN;return s==="em"||s==="rem"?u*16:u}function U(r,s){let u=/^\(\s*([\w-]+)\s*(?::\s*([^)]+?)\s*)?\)$/.exec(r.trim());if(!u)return!1;let[,h,m]=u,b=(m??"").trim().toLowerCase();switch(h.toLowerCase()){case"prefers-color-scheme":return s.colorScheme===b;case"prefers-reduced-motion":return b===""?s.reducedMotion==="reduce":s.reducedMotion===b;case"forced-colors":return b===""?s.forcedColors==="active":s.forcedColors===b;case"orientation":return(s.height>=s.width?"portrait":"landscape")===b;case"min-width":case"max-width":case"width":case"min-height":case"max-height":case"height":{let g=/^(\d+(?:\.\d+)?)\s*(px|em|rem)?$/.exec(b);if(!g)return!1;let v=z(g[1],g[2]),f=h.endsWith("width")?s.width:s.height;if(h.startsWith("min-"))return f>=v;if(h.startsWith("max-"))return f<=v;return f===v}default:return!1}}function B(r,s){let u=r.trim().toLowerCase();if(u==="")return!1;let h=/^not\s+/.test(u),b=u.replace(/^not\s+/,"").replace(/^only\s+/,"").split(/\s+and\s+/).map((v)=>v.trim()).filter(Boolean);if(b.length===0)return!1;let g=b.every((v)=>{if(!v.startsWith("(")){if(v==="all")return!0;return v===s.type}return U(v,s)});return h?!g:g}function xe(r,s){let u=String(r??"").trim();if(u==="")return!1;return u.split(",").some((h)=>B(h,s))}function q(r){let s=r.replace(/"[^"]*"|'[^']*'/g,'""'),u=0,h=0,m=0,b=s.match(/::[\w-]+/g);m+=b?b.length:0;let g=s.replace(/::[\w-]+/g," "),v=g.match(/#[\w-]+/g);u+=v?v.length:0;let f=g.match(/\.[\w-]+/g);h+=f?f.length:0;let A=g.match(/\[[^\]]*\]/g);h+=A?A.length:0;let x=g.match(/:[\w-]+/g);h+=x?x.length:0;let T=g.replace(/#[\w-]+/g," ").replace(/\.[\w-]+/g," ").replace(/\[[^\]]*\]/g," ").replace(/:[\w-]+(\([^)]*\))?/g," ").replace(/[>+~,()]/g," ").split(/\s+/).filter((L)=>/^[a-z][\w-]*$/i.test(L));return m+=T.length,u*1e6+h*1000+m}function j(r){return r.length===0||r.startsWith("@")}function W(r,s){let u=-1;for(let h of s.split(",")){let m=h.trim();if(!m)continue;let b=!1;try{b=r.matches(m)}catch{b=!1}if(b)u=Math.max(u,q(m))}return u}function K(r,s,u){let h=r.get(s);if(!h||u.specificity>=h.specificity)r.set(s,u)}function ci(r,s,u){let h={normal:new Map,important:new Map},m=0,b=(g)=>{for(let v=0;v<g.length;v++){let f=g[v];if(f?.conditionText!==void 0&&f.cssRules){if(u&&xe(f.conditionText,u))b(f.cssRules);continue}let A=f?.selectorText?.trim();if(!A||j(A)||!f.style)continue;m++;let x=W(r,A);if(x<0)continue;for(let T of f.style){let L=f.style.getPropertyValue(T);if(!L)continue;let P=f.style.getPropertyPriority(T)==="important"?h.important:h.normal;K(P,T,{value:L,specificity:x,order:m})}}};for(let g of s)if(g?.cssRules)b(g.cssRules);return h}function di(r,s,u){let h=s.getPropertyValue(r);if(h!==""&&s.getPropertyPriority(r)==="important")return h;let b=u.important.get(r);if(b)return b.value;if(h)return h;let g=u.normal.get(r);if(g)return g.value;return null}class hi extends _{mode;delegatesFocus;host;constructor(r,s){super();this.host=r,this.mode=s.mode,this.delegatesFocus=s.delegatesFocus||!1,this.parentNode=r,this.ownerDocument=r.ownerDocument,this.nodeName="#shadow-root"}get innerHTML(){return this.childNodes.map((r)=>this._serializeNode(r,void 0)).join("")}set innerHTML(r){while(this.childNodes.length>0)this.removeChild(this.childNodes[0]);if(!r)return;let s=p(r,this.ownerDocument);for(let u of s)this.appendChild(u)}_getEventParent(){return this.host}_serializeNode(r,s){if(r.nodeType===i){let u=r.nodeValue||"";if(s==="SCRIPT"||s==="STYLE")return u;return Qe(u)}if(r.nodeType===c)return`<!--${r.nodeValue||""}-->`;if(r.nodeType===t){let u=r,h=u.tagName.toLowerCase(),m=`<${h}`;for(let[g,v]of u.attributes)m+=` ${g}="${mi(v)}"`;if(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"].includes(h))return`${m}>`;m+=">";for(let g of u.childNodes)m+=this._serializeNode(g,u.tagName);return m+=`</${h}>`,m}return""}}var X=new Set(["DIV","P","H1","H2","H3","H4","H5","H6","UL","OL","LI","TABLE","TR","BLOCKQUOTE","PRE","HR","SECTION","ARTICLE","NAV","HEADER","FOOTER","MAIN","ASIDE","DETAILS","SUMMARY","FORM","FIELDSET","ADDRESS","DL","DT","DD","FIGURE","FIGCAPTION"]);class e extends d{nodeType=t;nodeKind="element";nodeName;tagName;namespaceURI="http://www.w3.org/1999/xhtml";_shadowRoot=null;_customValidity="";_internalStyles=null;_stylePriorities=null;_styleProxy=null;_datasetProxy=null;_valueState=null;_valueDirty=!1;_checkedState=null;_checkedDirty=!1;_selectedState=null;_selectedDirty=!1;_capturedPointerIds=null;get children(){let r=this.childNodes,s=[];for(let u=0;u<r.length;u++)if(r[u].nodeType===t)s.push(r[u]);return s}constructor(r){super();this.tagName=r.toUpperCase(),this.nodeName=this.tagName}get shadowRoot(){return this._shadowRoot?.mode==="open"?this._shadowRoot:null}_getInternalShadowRoot(){return this._shadowRoot}getAttribute(r){return this.attributes.get(r.toLowerCase())??null}getAttributeNS(r,s){return this.getAttribute(s)}setAttribute(r,s){let u=r.toLowerCase(),h=`${s}`,m=this.attributes.get(u)??null;if(this.attributes.set(u,h),u==="id"){let b=this.ownerDocument;if(b&&b._idIndex){if(m!==null)b._idIndex.delete(m);b._idIndex.set(h,this)}}if(u==="style")this._setStylesFromAttribute(h);if(Ce(this,u,m,h),u==="slot"||u==="name"&&this.tagName==="SLOT")F(this);l._queueMutationRecord({type:"attributes",target:this,addedNodes:[],removedNodes:[],previousSibling:null,nextSibling:null,attributeName:u,attributeNamespace:null,oldValue:m})}setAttributeNS(r,s,u){this.setAttribute(s,u)}removeAttribute(r){let s=r.toLowerCase(),u=this.attributes.get(s)??null;if(u===null)return;if(this.attributes.delete(s),s==="id"){let h=this.ownerDocument;if(h&&h._idIndex)h._idIndex.delete(u)}if(s==="style")this._internalStyles=null,this._stylePriorities=null;if(Ce(this,s,u,null),s==="slot"||s==="name"&&this.tagName==="SLOT")F(this);l._queueMutationRecord({type:"attributes",target:this,addedNodes:[],removedNodes:[],previousSibling:null,nextSibling:null,attributeName:s,attributeNamespace:null,oldValue:u})}removeAttributeNS(r,s){this.removeAttribute(s)}hasAttribute(r){return this.attributes.has(r.toLowerCase())}hasAttributeNS(r,s){return this.hasAttribute(s)}toggleAttribute(r,s){let u=r.toLowerCase();if(s!==void 0){if(s)return this.setAttribute(u,""),!0;return this.removeAttribute(u),!1}if(this.hasAttribute(u))return this.removeAttribute(u),!1;return this.setAttribute(u,""),!0}getAttributeNames(){return Array.from(this.attributes.keys())}get innerText(){let r=this.ownerDocument?.defaultView,u=(this.ownerDocument?.styleSheets?.length??0)+(this.ownerDocument?._adoptedStyleSheets?.length??0)>0&&typeof r?.getComputedStyle==="function"?(N)=>r.getComputedStyle(N):(N)=>N.style,h=[],m=!1,b=!0,g=!1,v=(N)=>{if(m&&!b)h.push(" ");m=!1,h.push(N),b=!1},f=()=>{if(m=!1,h.length===0||h[h.length-1].endsWith(`
3
3
  `))return;h.push(`
4
4
  `),b=!0},A=(N)=>{if(N==="")return;if(N===" "){m=!0;return}if(N.startsWith(" "))m=!0;let S=N.slice(N.startsWith(" ")?1:0,N.endsWith(" ")?-1:void 0);if(S!=="")v(S);if(N.endsWith(" "))m=!0},x=(N,S)=>{if(!N)return;if(S==="pre"||S==="pre-wrap"||S==="break-spaces"){g=!0,v(N);return}if(S==="pre-line"){N.replace(/[^\S\n]+/g," ").split(`
5
5
  `).forEach((V,M)=>{if(M>0)f();A(V)});return}A(N.replace(/\s+/g," "))},T=(N,S)=>{if(N.nodeType===t){let C=N,V=C.tagName;if(V==="BR"){f();return}if(V==="SCRIPT"||V==="STYLE")return;let M=u(C);if(Ui(C,M))return;let D=M?.getPropertyValue?.("white-space")||(V==="PRE"?"pre":S),O=X.has(V);if(O)f();for(let R of C.childNodes)T(R,D);if(O)f()}else if(N.nodeType===i)x(N.nodeValue||"",S)},L=u(this)?.getPropertyValue?.("white-space");for(let N of this.childNodes)T(N,L||(this.tagName==="PRE"?"pre":"normal"));let P=h.join("");return g?P.replace(/^\n+|\n+$/g,""):P.replace(/\n{3,}/g,`
6
6
 
7
- `).trim()}set innerText(r){while(this.childNodes.length>0)this.removeChild(this.childNodes[0]);if(r){let s=new o(r);this.appendChild(s)}}replaceChildren(...r){while(this.childNodes.length>0)this.removeChild(this.childNodes[0]);for(let s of r)if(typeof s==="string")this.appendChild(new o(s));else this.appendChild(s)}appendChild(r){return k(this,r)}removeChild(r){return Oe(this,r)}insertBefore(r,s){return et(this,r,s)}replaceChild(r,s){return tt(this,r,s)}cloneNode(r=!1){let s=this.namespaceURI==="http://www.w3.org/2000/svg"?new(import.meta.require("./chunk-3qpj9p3e.js")).VirtualSVGElement(this.tagName):new e(this.tagName);s.namespaceURI=this.namespaceURI,s.nodeName=this.nodeName,s.tagName=this.tagName;for(let[u,h]of this.attributes)s.setAttribute(u,h);if(r){for(let u of this.childNodes){let h=u.cloneNode?.(!0);if(h)s.appendChild(h)}if(this._shadowRoot){let u=s.attachShadow({mode:this._shadowRoot.mode});for(let h of this._shadowRoot.childNodes){let m=h.cloneNode?.(!0);if(m)u.appendChild(m)}}}return s}closest(r){let s=this;while(s){if(s.matches(r))return s;s=s.parentElement}return null}get parentElement(){if(Wi(this.parentNode))return this.parentNode;return null}get firstChild(){return this.childNodes.length>0?this.childNodes[0]:null}get lastChild(){return this.childNodes.length>0?this.childNodes[this.childNodes.length-1]:null}get nextSibling(){if(!this.parentNode)return null;let r=this.parentNode.childNodes,s=r.indexOf(this);if(s===-1||s>=r.length-1)return null;return r[s+1]}get previousSibling(){if(!this.parentNode)return null;let r=this.parentNode.childNodes,s=r.indexOf(this);if(s<=0)return null;return r[s-1]}get nextElementSibling(){if(!this.parentNode)return null;let r=this.parentNode.childNodes,s=!1;for(let u=0;u<r.length;u++){if(r[u]===this){s=!0;continue}if(s&&r[u].nodeType===t)return r[u]}return null}get previousElementSibling(){if(!this.parentNode)return null;let r=this.parentNode.childNodes,s=null;for(let u=0;u<r.length;u++){if(r[u]===this)return s;if(r[u].nodeType===t)s=r[u]}return null}get textContent(){return G(this)}set textContent(r){for(let s of this.childNodes)s.parentNode=null;if(this.childNodes.length=0,r){let s=new o(r);s.parentNode=this,s.ownerDocument=this.ownerDocument,this.childNodes.push(s)}l._queueMutationRecord({type:"childList",target:this,addedNodes:r?[this.childNodes[0]]:[],removedNodes:[],previousSibling:null,nextSibling:null,attributeName:null,attributeNamespace:null,oldValue:null}),F(this)}_setStylesFromAttribute(r){let s=this._internalStyles??(this._internalStyles=new Map),u=this._stylePriorities??(this._stylePriorities=new Map);s.clear(),u.clear();for(let h of r.split(";")){let m=h.trim();if(!m)continue;let b=m.indexOf(":");if(b===-1)continue;let g=m.slice(0,b).trim().toLowerCase(),v=m.slice(b+1).trim();if(!g)continue;let f="";if(/!important$/i.test(v))v=v.replace(/!important$/i,"").trim(),f="important";if(s.set(g,v),f)u.set(g,f)}}get innerHTML(){return this.childNodes.map((r)=>this._serializeNode(r,this.tagName)).join("")}set innerHTML(r){if(this.childNodes.length>0){let s=this.ownerDocument;if(s?._idIndex&&s._idIndex.size>0)for(let u of this.childNodes)Me(u);for(let u of this.childNodes)u.parentNode=null;this.childNodes.length=0}if(r){let s=p(r,this.ownerDocument);if(this.tagName==="HTML"&&s.length>0)for(let u of s){if(u.nodeType===t){let h=u;if(h.tagName==="HTML"){for(let m of[...h.childNodes])this.appendChild(m);continue}}this.appendChild(u)}else for(let u of s)this.appendChild(u)}F(this)}get outerHTML(){return this._serializeNode(this)}set outerHTML(r){let s=this.parentNode;if(!s)throw new DOMException("This element has no parent node.","NoModificationAllowedError");let u=p(r,this.ownerDocument),h=s.childNodes.indexOf(this);Oe(s,this);for(let m=0;m<u.length;m++){let b=u[m];s.childNodes.splice(h+m,0,b),b.parentNode=s;let g=this.ownerDocument;if(g)E(b,g)}}get className(){return this.getAttribute("class")||""}set className(r){this.setAttribute("class",r)}get slot(){return this.getAttribute("slot")||""}set slot(r){this.setAttribute("slot",r)}get classList(){let r=this,s=()=>r.getAttribute("class")?.split(/\s+/).filter(Boolean)||[];return{add(...u){let h=s();for(let m of u)if(!h.includes(m))h.push(m);r.setAttribute("class",h.join(" "))},remove(...u){let m=s().filter((b)=>!u.includes(b));if(m.length>0)r.setAttribute("class",m.join(" "));else r.removeAttribute("class")},toggle(u,h){let m=s(),b=m.indexOf(u);if(h===void 0?b===-1:h){if(b===-1)m.push(u),r.setAttribute("class",m.join(" "));return!0}if(b!==-1)if(m.splice(b,1),m.length>0)r.setAttribute("class",m.join(" "));else r.removeAttribute("class");return!1},contains(u){return s().includes(u)},replace(u,h){let m=s(),b=m.indexOf(u);if(b!==-1)return m[b]=h,r.setAttribute("class",m.join(" ")),!0;return!1},get length(){return s().length},item(u){return s()[u]??null},get value(){return r.getAttribute("class")||""},toString(){return r.getAttribute("class")||""},forEach(u){let h=s();for(let m=0;m<h.length;m++)u(h[m],m,this)},*[Symbol.iterator](){yield*s()},*entries(){let u=s();for(let h=0;h<u.length;h++)yield[h,u[h]]},*keys(){let u=s();for(let h=0;h<u.length;h++)yield h},*values(){yield*s()}}}_serializeNode(r,s){if(r.nodeType===i){let u=r.nodeValue||"";if(s==="SCRIPT"||s==="STYLE")return u;return Qe(u)}if(r.nodeType===c)return`<!--${r.nodeValue}-->`;if(r.nodeType===t){let u=r,h=u.tagName.toLowerCase(),m=`<${h}`;for(let[g,v]of u.attributes)m+=` ${g}="${mi(v)}"`;if(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"].includes(h))return m+=">",m;m+=">";for(let g of u.childNodes)m+=this._serializeNode(g,u.tagName);return m+=`</${h}>`,m}return""}get style(){if(this._styleProxy)return this._styleProxy;let r=this;return this._styleProxy=new Proxy({getPropertyValue(s){return r._internalStyles?.get(s)||""},getPropertyPriority(s){return r._stylePriorities?.get(s)||""},setProperty(s,u,h=""){let m=`${u}`,b=m.trim();if(b==="NaN"||b.includes("NaN"))return;if((r._internalStyles??(r._internalStyles=new Map)).set(s,m),h)(r._stylePriorities??(r._stylePriorities=new Map)).set(s,h);else r._stylePriorities?.delete(s);r._updateStyleAttribute()},removeProperty(s){let u=r._internalStyles?.get(s)||"";return r._internalStyles?.delete(s),r._stylePriorities?.delete(s),r._updateStyleAttribute(),u},item(s){if(!r._internalStyles)return"";return Array.from(r._internalStyles.keys())[s]||""},get length(){return r._internalStyles?.size??0},get cssText(){if(!r._internalStyles)return"";return Array.from(r._internalStyles.entries()).map(([s,u])=>{let h=r._stylePriorities?.get(s);return h?`${s}: ${u} !${h}`:`${s}: ${u}`}).join("; ")},set cssText(s){if(r._internalStyles=null,r._stylePriorities=null,s)r._setStylesFromAttribute(s);r._updateStyleAttribute()}},{get(s,u){if(u==="getPropertyValue"||u==="getPropertyPriority"||u==="setProperty"||u==="removeProperty"||u==="item"||u==="length"||u==="cssText"){let m=s[u];return typeof m==="function"?m.bind(s):m}let h=u.replace(/[A-Z]/g,(m)=>`-${m.toLowerCase()}`);return r._internalStyles?.get(h)},set(s,u,h){if(u==="cssText")return s.cssText=h,!0;let m=u.replace(/[A-Z]/g,(g)=>`-${g.toLowerCase()}`);return(r._internalStyles??(r._internalStyles=new Map)).set(m,`${h}`),r._stylePriorities?.delete(m),r._updateStyleAttribute(),!0}}),this._styleProxy}_updateStyleAttribute(){if(!this._internalStyles||this._internalStyles.size===0){if(this.attributes.has("style"))this.removeAttribute("style");return}let r="";for(let[s,u]of this._internalStyles){if(r)r+="; ";let h=this._stylePriorities?.get(s);r+=h?`${s}: ${u} !${h}`:`${s}: ${u}`}if(r){let s=this.attributes.get("style")??null;this.attributes.set("style",r),l._queueMutationRecord({type:"attributes",target:this,addedNodes:[],removedNodes:[],previousSibling:null,nextSibling:null,attributeName:"style",attributeNamespace:null,oldValue:s})}else this.removeAttribute("style")}get dataset(){if(this._datasetProxy)return this._datasetProxy;let r=this;return this._datasetProxy=new Proxy({},{get(s,u){let h=u.replace(/[A-Z]/g,(m)=>`-${m.toLowerCase()}`);return r.getAttribute(`data-${h}`)||""},set(s,u,h){let m=u.replace(/[A-Z]/g,(b)=>`-${b.toLowerCase()}`);return r.setAttribute(`data-${m}`,h),!0},deleteProperty(s,u){let h=u.replace(/[A-Z]/g,(m)=>`-${m.toLowerCase()}`);return r.removeAttribute(`data-${h}`),!0},has(s,u){let h=u.replace(/[A-Z]/g,(m)=>`-${m.toLowerCase()}`);return r.hasAttribute(`data-${h}`)},ownKeys(s){let u=[];for(let[h]of r.attributes)if(h.startsWith("data-")){let m=h.slice(5).replace(/-([a-z])/g,(b,g)=>g.toUpperCase());u.push(m)}return u},getOwnPropertyDescriptor(s,u){let h=u.replace(/[A-Z]/g,(m)=>`-${m.toLowerCase()}`);if(r.hasAttribute(`data-${h}`))return{configurable:!0,enumerable:!0,writable:!0,value:r.getAttribute(`data-${h}`)};return}}),this._datasetProxy}_isInputElement(){return this.tagName==="INPUT"}_isTextareaElement(){return this.tagName==="TEXTAREA"}_isSelectElement(){return this.tagName==="SELECT"}_isOptionElement(){return this.tagName==="OPTION"}_getInputType(){return this._isInputElement()?(this.getAttribute("type")||"text").toLowerCase():""}_getOptionValue(){let r=this.getAttribute("value");return r!==null?r:this.textContent}_getSelectOptions(){return this._isSelectElement()?this.querySelectorAll("option"):[]}_getSelectedOptionsInternal(){let r=this._getSelectOptions();if(r.length===0)return[];let s=r.filter((u)=>u.selected);if(this.hasAttribute("multiple"))return s;return s.length>0?[s[0]]:[r[0]]}_getOwningSelect(){let r=this.parentNode;while(r){if(r.tagName==="SELECT")return r;r=r.parentNode}return null}_isButtonElement(){return this.tagName==="BUTTON"}_isFormElement(){return this.tagName==="FORM"}_isFieldsetElement(){return this.tagName==="FIELDSET"}_isLegendElement(){return this.tagName==="LEGEND"}_isLabelElement(){return this.tagName==="LABEL"}_isLabelableElement(){if(this._isInputElement())return this._getInputType()!=="hidden";return this._isButtonElement()||this._isSelectElement()||this._isTextareaElement()||this.tagName==="METER"||this.tagName==="OUTPUT"||this.tagName==="PROGRESS"}_isListedFormAssociatedElement(){return["BUTTON","FIELDSET","INPUT","OBJECT","OUTPUT","SELECT","TEXTAREA"].includes(this.tagName)}_collectDescendantElements(r=this){let s=[],u=(h)=>{for(let m of h.childNodes)if(m.nodeType===t){let b=m;s.push(b),u(b)}};return u(r),s}_isWithinFirstLegendOfFieldset(r){let s=r.children.find((u)=>u.tagName==="LEGEND");if(!s)return!1;return s===this||Ve(s,this)}_isActuallyDisabled(){if(this.hasAttribute("disabled"))return!0;if(this._isOptionElement()){let s=this.parentElement;if(s?.tagName==="OPTGROUP"&&s.disabled)return!0}if(!["BUTTON","INPUT","OPTION","OPTGROUP","SELECT","TEXTAREA"].includes(this.tagName))return!1;let r=this.parentNode;while(r){if(r.tagName==="FIELDSET"&&r.hasAttribute("disabled")){if(!this._isWithinFirstLegendOfFieldset(r))return!0}r=r.parentNode}return!1}_resetFormControlState(){if(this._isInputElement()||this._isTextareaElement())this._valueDirty=!1,this._valueState=null;if(this._isInputElement())this._checkedDirty=!1,this._checkedState=null;if(this._isOptionElement())this._selectedDirty=!1,this._selectedState=null;if(this._isSelectElement())for(let r of this._getSelectOptions())r._selectedDirty=!1,r._selectedState=null}_syncRadioGroupSelection(){if(!this._isInputElement()||this._getInputType()!=="radio"||!this.checked)return;let r=this.getAttribute("name");if(!r)return;let u=(this.form??this.ownerDocument?.documentElement??this.parentNode)?.querySelectorAll?.("input")??[];for(let h of u){if(h===this)continue;if((h.getAttribute("type")||"text").toLowerCase()!=="radio"||h.getAttribute("name")!==r)continue;if(this.form?h.form!==this.form:h.form!==null)continue;h._checkedDirty=!0,h._checkedState=!1}}get form(){if(this._isOptionElement())return this._getOwningSelect()?.form??null;return["BUTTON","FIELDSET","INPUT","OBJECT","OUTPUT","SELECT","TEXTAREA"].includes(this.tagName)?this.closest("form"):null}get elements(){if(this._isFormElement())return this._collectDescendantElements().filter((r)=>r._isListedFormAssociatedElement()&&r.form===this);if(this._isFieldsetElement())return this._collectDescendantElements().filter((r)=>r._isListedFormAssociatedElement());return[]}get labels(){if(!this._isLabelableElement())return[];let r=[],s=this.parentNode;while(s){if(s.tagName==="LABEL")r.push(s);s=s.parentNode}let u=this.id;if(u&&this.ownerDocument){for(let h of this.ownerDocument.querySelectorAll("label"))if(h.getAttribute("for")===u&&!r.includes(h))r.push(h)}return r}get type(){if(this._isInputElement())return this._getInputType();if(this._isButtonElement())return(this.getAttribute("type")||"submit").toLowerCase();return this.getAttribute("type")||""}set type(r){this.setAttribute("type",r)}get name(){return this.getAttribute("name")||""}set name(r){this.setAttribute("name",r)}get id(){return this.getAttribute("id")||""}set id(r){this.setAttribute("id",r)}get htmlFor(){return this.getAttribute("for")||""}set htmlFor(r){this.setAttribute("for",r)}get hidden(){return this.hasAttribute("hidden")}set hidden(r){if(r)this.setAttribute("hidden","");else this.removeAttribute("hidden")}get title(){return this.getAttribute("title")||""}set title(r){this.setAttribute("title",r)}get lang(){return this.getAttribute("lang")||""}set lang(r){this.setAttribute("lang",r)}get dir(){return this.getAttribute("dir")||""}set dir(r){this.setAttribute("dir",r)}get contentEditable(){let r=this.getAttribute("contenteditable");if(r===null)return"inherit";if(r===""||r==="true")return"true";if(r==="false")return"false";return"inherit"}set contentEditable(r){if(r==="inherit")this.removeAttribute("contenteditable");else this.setAttribute("contenteditable",r)}get draggable(){return this.getAttribute("draggable")==="true"}set draggable(r){this.setAttribute("draggable",String(r))}get spellcheck(){return this.getAttribute("spellcheck")!=="false"}set spellcheck(r){this.setAttribute("spellcheck",String(r))}get translate(){return this.getAttribute("translate")!=="no"}set translate(r){this.setAttribute("translate",r?"yes":"no")}get accessKey(){return this.getAttribute("accesskey")||""}set accessKey(r){this.setAttribute("accesskey",r)}get autocapitalize(){return this.getAttribute("autocapitalize")||""}set autocapitalize(r){this.setAttribute("autocapitalize",r)}get isContentEditable(){let r=this.contentEditable;if(r==="true")return!0;if(r==="false")return!1;if(this.parentElement)return this.parentElement.isContentEditable;return!1}get required(){return this.hasAttribute("required")}set required(r){if(r)this.setAttribute("required","");else this.removeAttribute("required")}get readOnly(){return this.hasAttribute("readonly")}set readOnly(r){if(r)this.setAttribute("readonly","");else this.removeAttribute("readonly")}get autofocus(){return this.hasAttribute("autofocus")}set autofocus(r){if(r)this.setAttribute("autofocus","");else this.removeAttribute("autofocus")}get multiple(){return this.hasAttribute("multiple")}set multiple(r){if(r)this.setAttribute("multiple","");else this.removeAttribute("multiple")}get noValidate(){return this.hasAttribute("novalidate")}set noValidate(r){if(r)this.setAttribute("novalidate","");else this.removeAttribute("novalidate")}get placeholder(){return this.getAttribute("placeholder")||""}set placeholder(r){this.setAttribute("placeholder",r)}get src(){return this.getAttribute("src")||""}set src(r){this.setAttribute("src",r)}get href(){return this.getAttribute("href")||""}set href(r){this.setAttribute("href",r)}get rel(){return this.getAttribute("rel")||""}set rel(r){this.setAttribute("rel",r)}get target(){return this.getAttribute("target")||""}set target(r){this.setAttribute("target",r)}get role(){return this.getAttribute("role")||""}set role(r){this.setAttribute("role",r)}get outerText(){return this.innerText}set outerText(r){if(!this.parentNode)throw new DOMException("This element has no parent node.","NoModificationAllowedError");let s=new o(r);this.parentNode.replaceChild(s,this)}get minLength(){let r=this.getAttribute("minlength");return r!==null?Number.parseInt(r,10):-1}set minLength(r){this.setAttribute("minlength",String(r))}get maxLength(){let r=this.getAttribute("maxlength");return r!==null?Number.parseInt(r,10):-1}set maxLength(r){this.setAttribute("maxlength",String(r))}get size(){let r=this.getAttribute("size");return r!==null?Number.parseInt(r,10):20}set size(r){this.setAttribute("size",String(r))}get rows(){let r=this.getAttribute("rows");return r!==null?Number.parseInt(r,10):2}set rows(r){this.setAttribute("rows",String(r))}get cols(){let r=this.getAttribute("cols");return r!==null?Number.parseInt(r,10):20}set cols(r){this.setAttribute("cols",String(r))}get download(){return this.getAttribute("download")||""}set download(r){this.setAttribute("download",r)}getAttributeNode(r){let s=r.toLowerCase(),u=this.attributes.get(s);if(u===void 0)return null;return{name:s,value:u,specified:!0,ownerElement:this}}setAttributeNode(r){let s=this.getAttributeNode(r.name);return this.setAttribute(r.name,r.value),s}removeAttributeNode(r){let s=this.getAttributeNode(r.name);if(!s)throw new DOMException("The attribute is not found.","NotFoundError");return this.removeAttribute(r.name),s}hasAttributes(){return this.attributes.size>0}get willValidate(){if(!this._isListedFormAssociatedElement()||this.disabled)return!1;if(this._isFieldsetElement()||this.tagName==="OUTPUT")return!1;if(this._isInputElement())return!["button","hidden","image","reset","submit"].includes(this._getInputType());if(this._isButtonElement())return!1;return this._isSelectElement()||this._isTextareaElement()}get value(){if(this._isOptionElement())return this._getOptionValue();if(this._isTextareaElement())return this._valueDirty?this._valueState??"":G(this);if(this._isInputElement()){if(this._valueDirty)return this._valueState??"";let r=this.getAttribute("value");if(r!==null)return r;let s=this._getInputType();return s==="checkbox"||s==="radio"?"on":""}if(this._isSelectElement())return this._getSelectedOptionsInternal()[0]?.value??"";return this.getAttribute("value")||""}set value(r){let s=`${r}`;if(this._isTextareaElement()||this._isInputElement()){this._valueDirty=!0,this._valueState=s;return}if(this._isSelectElement()){let u=!1;for(let h of this._getSelectOptions()){let m=!u&&h.value===s;if(h.selected=m,m)u=!0}if(!u)this.selectedIndex=-1;return}this.setAttribute("value",s)}get defaultValue(){if(this._isTextareaElement())return G(this);return this.getAttribute("value")||""}set defaultValue(r){let s=`${r}`;if(this._isTextareaElement()){if(this.textContent=s,!this._valueDirty)this._valueState=null;return}if(this.setAttribute("value",s),!this._valueDirty)this._valueState=null}get checked(){if(!this._isInputElement())return!1;let r=this._getInputType();if(r!=="checkbox"&&r!=="radio")return!1;return this._checkedDirty?Boolean(this._checkedState):this.hasAttribute("checked")}set checked(r){if(!this._isInputElement())return;let s=this._getInputType();if(s!=="checkbox"&&s!=="radio")return;let u=Boolean(r);if(this._checkedDirty=!0,this._checkedState=u,s==="radio"&&u)this._syncRadioGroupSelection()}get defaultChecked(){return this.hasAttribute("checked")}set defaultChecked(r){if(r)this.setAttribute("checked","");else this.removeAttribute("checked")}get selected(){if(!this._isOptionElement())return!1;return this._selectedDirty?Boolean(this._selectedState):this.hasAttribute("selected")}set selected(r){if(!this._isOptionElement())return;let s=Boolean(r),u=this._getOwningSelect();if(s&&u&&!u.hasAttribute("multiple"))for(let h of u._getSelectOptions()){if(h===this)continue;h._selectedDirty=!0,h._selectedState=!1}this._selectedDirty=!0,this._selectedState=s}get defaultSelected(){return this.hasAttribute("selected")}set defaultSelected(r){if(r)this.setAttribute("selected","");else this.removeAttribute("selected")}get options(){return this._getSelectOptions()}get selectedOptions(){if(this._isSelectElement())return this._getSelectedOptionsInternal();return this._isOptionElement()&&this.selected?[this]:[]}get selectedIndex(){if(!this._isSelectElement())return-1;let r=this._getSelectOptions(),s=this._getSelectedOptionsInternal()[0];return s?r.indexOf(s):-1}set selectedIndex(r){if(!this._isSelectElement())return;let s=this._getSelectOptions();for(let u=0;u<s.length;u++)s[u].selected=r>=0&&u===r}get validity(){let r=this.value,s=this.type||"text",u=this.hasAttribute("required"),h=this.getAttribute("pattern"),m=this.getAttribute("minlength"),b=this.getAttribute("maxlength"),g=this.getAttribute("min"),v=this.getAttribute("max"),f={valid:!0,valueMissing:!1,typeMismatch:!1,patternMismatch:!1,tooLong:!1,tooShort:!1,rangeUnderflow:!1,rangeOverflow:!1,stepMismatch:!1,badInput:!1,customError:!1};if(!this.willValidate)return f;if(u&&(s==="checkbox"||s==="radio"?!this.checked:!r))f.valueMissing=!0,f.valid=!1;if(h&&r){if(!new RegExp(h).test(r))f.patternMismatch=!0,f.valid=!1}if(m&&r.length<Number.parseInt(m,10))f.tooShort=!0,f.valid=!1;if(b&&r.length>Number.parseInt(b,10))f.tooLong=!0,f.valid=!1;if(s==="number"||s==="range"){let A=Number.parseFloat(r);if(!Number.isNaN(A)){if(g&&A<Number.parseFloat(g))f.rangeUnderflow=!0,f.valid=!1;if(v&&A>Number.parseFloat(v))f.rangeOverflow=!0,f.valid=!1}}if(s==="email"&&r){if(!/^[^\s@]+@[^\s@][^\s.@]*\.[^\s@]+$/.test(r))f.typeMismatch=!0,f.valid=!1}if(s==="url"&&r)try{new URL(r)}catch{f.typeMismatch=!0,f.valid=!1}if(this._customValidity)f.customError=!0,f.valid=!1;return f}get validationMessage(){if(this._customValidity)return this._customValidity;let r=this.validity;if(r.valueMissing)return"Please fill out this field.";if(r.typeMismatch){let s=this.getAttribute("type");if(s==="email")return"Please enter an email address.";if(s==="url")return"Please enter a URL.";return"Please match the requested format."}if(r.patternMismatch)return"Please match the requested format.";if(r.tooShort)return`Please lengthen this text to ${this.getAttribute("minlength")} characters or more.`;if(r.tooLong)return`Please shorten this text to ${this.getAttribute("maxlength")} characters or less.`;if(r.rangeUnderflow)return`Value must be greater than or equal to ${this.getAttribute("min")}.`;if(r.rangeOverflow)return`Value must be less than or equal to ${this.getAttribute("max")}.`;return""}setCustomValidity(r){this._customValidity=r}checkValidity(){if(this._isFormElement()||this._isFieldsetElement())return this.elements.every((r)=>r.checkValidity());return this.validity.valid}reportValidity(){if(this._isFormElement()||this._isFieldsetElement())return this.elements.every((s)=>s.reportValidity());let r=this.checkValidity();if(!r){let s=new n("invalid",{bubbles:!1,cancelable:!0});this.dispatchEvent(s)}return r}querySelector(r){return I(this,r)}querySelectorAll(r){return y(this,r)}matches(r){if(pi(r)){let s=this;while(s.parentNode&&s.parentNode.nodeType!==a)s=s.parentNode;if(s.parentNode&&s.parentNode.nodeType===a)s=s.parentNode;return fi(this,r,s)}else return w(this,r,this)}webkitMatchesSelector(r){return this.matches(r)}get action(){if(!this._isFormElement())return"";return this.getAttribute("action")||""}set action(r){if(this._isFormElement())this.setAttribute("action",r)}get method(){if(!this._isFormElement())return"";return(this.getAttribute("method")||"get").toLowerCase()}set method(r){if(this._isFormElement())this.setAttribute("method",r)}get enctype(){if(!this._isFormElement())return"";return this.getAttribute("enctype")||"application/x-www-form-urlencoded"}set enctype(r){if(this._isFormElement())this.setAttribute("enctype",r)}get encoding(){return this.enctype}set encoding(r){this.enctype=r}addEventListener(r,s,u={}){super.addEventListener(r,s,u)}removeEventListener(r,s,u={}){super.removeEventListener(r,s,u)}dispatchEvent(r){return super.dispatchEvent(r)}focus(){let r=this.ownerDocument;if(r){let s=r.activeElement;if(s&&s!==this&&s!==r.body)s.dispatchEvent(new n("blur",{bubbles:!1})),s.dispatchEvent(new n("focusout",{bubbles:!0}));r._setFocusedElement(this)}this.dispatchEvent(new n("focus",{bubbles:!1})),this.dispatchEvent(new n("focusin",{bubbles:!0}))}blur(){let r=this.ownerDocument;if(r&&r.activeElement===this)r._setFocusedElement(null);this.dispatchEvent(new n("blur",{bubbles:!1})),this.dispatchEvent(new n("focusout",{bubbles:!0}))}scrollIntoView(r){this._scrollTop=0,this._scrollLeft=0;let s=new n("scroll",{bubbles:!1});this.dispatchEvent(s)}scrollTo(r,s){if(typeof r==="object"&&r!==null){if(typeof r.left==="number")this._scrollLeft=r.left;if(typeof r.top==="number")this._scrollTop=r.top}else{if(typeof r==="number")this._scrollLeft=r;if(typeof s==="number")this._scrollTop=s}let u=new n("scroll",{bubbles:!1});this.dispatchEvent(u)}scrollBy(r,s){if(typeof r==="object"&&r!==null){if(typeof r.left==="number")this._scrollLeft+=r.left;if(typeof r.top==="number")this._scrollTop+=r.top}else{if(typeof r==="number")this._scrollLeft+=r;if(typeof s==="number")this._scrollTop+=s}let u=new n("scroll",{bubbles:!1});this.dispatchEvent(u)}_isMediaElement(){return this.tagName==="AUDIO"||this.tagName==="VIDEO"}_mediaPaused=!0;_mediaEnded=!1;_mediaCurrentTime=0;_mediaDuration=Number.NaN;_mediaVolume=1;_mediaMuted=!1;_mediaPlaybackRate=1;_mediaReadyState=0;_mediaNetworkState=0;get paused(){if(!this._isMediaElement())return!0;return this._mediaPaused}get ended(){if(!this._isMediaElement())return!1;return this._mediaEnded}get currentTime(){if(!this._isMediaElement())return 0;return this._mediaCurrentTime}set currentTime(r){if(!this._isMediaElement())return;this._mediaCurrentTime=r,this.dispatchEvent(new n("timeupdate",{bubbles:!1}))}get duration(){if(!this._isMediaElement())return 0;return this._mediaDuration}get volume(){if(!this._isMediaElement())return 1;return this._mediaVolume}set volume(r){if(!this._isMediaElement())return;this._mediaVolume=Math.max(0,Math.min(1,r)),this.dispatchEvent(new n("volumechange",{bubbles:!1}))}get muted(){if(!this._isMediaElement())return!1;return this._mediaMuted}set muted(r){if(!this._isMediaElement())return;this._mediaMuted=Boolean(r),this.dispatchEvent(new n("volumechange",{bubbles:!1}))}get playbackRate(){if(!this._isMediaElement())return 1;return this._mediaPlaybackRate}set playbackRate(r){if(!this._isMediaElement())return;this._mediaPlaybackRate=r,this.dispatchEvent(new n("ratechange",{bubbles:!1}))}get readyState(){if(!this._isMediaElement())return 0;return this._mediaReadyState}get networkState(){if(!this._isMediaElement())return 0;return this._mediaNetworkState}play(){if(!this._isMediaElement())return Promise.reject(new DOMException("Not a media element","InvalidStateError"));let r=this._mediaPaused;if(this._mediaPaused=!1,this._mediaEnded=!1,r)queueMicrotask(()=>{this.dispatchEvent(new n("play",{bubbles:!1})),this.dispatchEvent(new n("playing",{bubbles:!1}))});return Promise.resolve()}pause(){if(!this._isMediaElement())return;if(this._mediaPaused)return;this._mediaPaused=!0,queueMicrotask(()=>{this.dispatchEvent(new n("pause",{bubbles:!1}))})}load(){if(!this._isMediaElement())return;this._mediaCurrentTime=0,this._mediaEnded=!1,this._mediaPaused=!0,queueMicrotask(()=>{this.dispatchEvent(new n("loadstart",{bubbles:!1})),this.dispatchEvent(new n("loadedmetadata",{bubbles:!1}))})}canPlayType(r){if(!this._isMediaElement())return"";return"maybe"}addTextTrack(r,s,u){return{kind:r,label:s??"",language:u??"",mode:"disabled"}}decode(){return Promise.resolve()}animate(r,s){let u={play:()=>{},pause:()=>{},cancel:()=>{},finish:()=>{if(u.onfinish)try{u.onfinish(new n("finish"))}catch{}},reverse:()=>{},finished:Promise.resolve({currentTime:0}),playState:"finished",currentTime:0,onfinish:null,oncancel:null};return u}getClientRects(){return[]}_validateInsertAdjacentPosition(r){let s=r.toLowerCase();if(s!=="beforebegin"&&s!=="afterbegin"&&s!=="beforeend"&&s!=="afterend")throw new DOMException(`Failed to execute 'insertAdjacentHTML' on 'Element': The value provided ('${r}') is not one of 'beforeBegin', 'afterBegin', 'beforeEnd', or 'afterEnd'.`,"SyntaxError");return s}insertAdjacentHTML(r,s){let u=this._validateInsertAdjacentPosition(r),h=p(s,this.ownerDocument);switch(u){case"beforebegin":if(this.parentNode)for(let m of h)this.parentNode.insertBefore(m,this);break;case"afterbegin":for(let m=h.length-1;m>=0;m--)this.insertBefore(h[m],this.firstChild);break;case"beforeend":for(let m of h)this.appendChild(m);break;case"afterend":if(this.parentNode){let m=this.nextSibling;for(let b of h)this.parentNode.insertBefore(b,m)}break}}insertAdjacentElement(r,s){switch(this._validateInsertAdjacentPosition(r)){case"beforebegin":if(this.parentNode)return this.parentNode.insertBefore(s,this),s;return null;case"afterbegin":return this.insertBefore(s,this.firstChild),s;case"beforeend":return this.appendChild(s),s;case"afterend":if(this.parentNode)return this.parentNode.insertBefore(s,this.nextSibling),s;return null;default:return null}}insertAdjacentText(r,s){let u=this._validateInsertAdjacentPosition(r),h=new o(s);switch(u){case"beforebegin":if(this.parentNode)this.parentNode.insertBefore(h,this);break;case"afterbegin":this.insertBefore(h,this.firstChild);break;case"beforeend":this.appendChild(h);break;case"afterend":if(this.parentNode)this.parentNode.insertBefore(h,this.nextSibling);break}}click(){if(this.disabled)return;let r=new n("click",{bubbles:!0,cancelable:!0});if(!this.dispatchEvent(r))return;if(this._isInputElement()){let u=this._getInputType();if(u==="checkbox")this.checked=!this.checked;else if(u==="radio")this.checked=!0;else if((u==="submit"||u==="image")&&this.form)this.form.requestSubmit(this);else if(u==="reset"&&this.form)this.form.reset()}if(this._isButtonElement()&&this.form){if(this.type==="reset")this.form.reset();else if(this.type==="submit")this.form.requestSubmit(this)}if(this.tagName==="A"&&this.href){let u=this.ownerDocument?.defaultView;if(!u)return;let h=this.href;try{h=new URL(h,u.location.href).href}catch{}if(this.target==="_blank"){let b=this.rel.toLowerCase().split(/\s+/).filter((g)=>g==="noopener"||g==="noreferrer").join(",");u.open(h,"_blank",b)}else u.location.href=h}}submit(){if(!this._isFormElement())return;let r=new n("submit",{bubbles:!0,cancelable:!0});r.submitter=null,this.dispatchEvent(r)}requestSubmit(r){if(!this._isFormElement())return;if(r&&r.form!==this)throw Error("The specified element is not owned by this form element");if(!this.reportValidity())return;let s=new n("submit",{bubbles:!0,cancelable:!0});s.submitter=r??null,this.dispatchEvent(s)}reset(){if(!this._isFormElement())return;let r=new n("reset",{bubbles:!0,cancelable:!0});if(!this.dispatchEvent(r))return;for(let u of this.elements)u._resetFormControlState()}get tabIndex(){let r=this.getAttribute("tabindex");if(r!==null)return Number.parseInt(r,10);if(this.tagName==="A"||this.tagName==="BUTTON"||this.tagName==="INPUT"||this.tagName==="TEXTAREA"||this.tagName==="SELECT")return 0;return-1}set tabIndex(r){this.setAttribute("tabindex",String(r))}get disabled(){if(!["BUTTON","FIELDSET","INPUT","OPTION","OPTGROUP","SELECT","TEXTAREA"].includes(this.tagName))return this.hasAttribute("disabled");return this._isActuallyDisabled()}set disabled(r){if(r)this.setAttribute("disabled","");else this.removeAttribute("disabled")}get clientLeft(){return 0}get clientTop(){return 0}get clientWidth(){return this._resolveInlineSize("width")}get clientHeight(){return this._resolveInlineSize("height")}get offsetWidth(){return this._resolveInlineSize("width")}get offsetHeight(){return this._resolveInlineSize("height")}get offsetTop(){return 0}get offsetLeft(){return 0}_resolveInlineSize(r,s){let u=this._cascadedStyleValue(r,s);if(u){let m=this._parseCssSize(u,r);if(m!==null)return m}let h=this.attributes.get(r);if(h!==void 0&&h!==""){let m=this._parseCssSize(h,r);if(m!==null)return m}return 0}_cascadedStyleValue(r,s){let u=this._internalStyles?.get(r)??"",h=s===void 0?this._buildCascade():s;if(!h)return u;return di(r,this.style,h)??u}_buildCascade(){let r=this.ownerDocument;if(!r)return null;let s=r._adoptedStyleSheets??[],u=r.styleSheets??[];if(u.length===0&&s.length===0)return null;return ci(this,[...u,...s],r.defaultView?._mediaContext?.())}_parseCssSize(r,s){let u=r.trim();if(u===""||u==="auto")return null;if(u.endsWith("%")){let m=Number.parseFloat(u);if(!Number.isFinite(m))return null;let b=this.parentElement;if(!b)return null;let g=b._resolveInlineSize(s);if(g===0)return null;return m/100*g}let h=/^(-?\d*\.?\d+)(px)?$/i.exec(u);if(h){let m=Number.parseFloat(h[1]);return Number.isFinite(m)?m:null}return null}get offsetParent(){return this.parentElement}get scrollWidth(){return 0}get scrollHeight(){return 0}_scrollTop=0;_scrollLeft=0;get scrollTop(){return this._scrollTop}set scrollTop(r){this._scrollTop=r}get scrollLeft(){return this._scrollLeft}set scrollLeft(r){this._scrollLeft=r}getBoundingClientRect(){let r=this._buildCascade(),s=this._resolveInlineSize("width",r),u=this._resolveInlineSize("height",r);return new H(0,0,s,u)}setPointerCapture(r){this._capturedPointerIds??=new Set,this._capturedPointerIds.add(r)}releasePointerCapture(r){this._capturedPointerIds?.delete(r)}hasPointerCapture(r){return this._capturedPointerIds?.has(r)??!1}isVisible(){let r=this;while(r){if(r.style.getPropertyValue("display")==="none")return!1;let u=r.style.getPropertyValue("visibility");if(u==="hidden"||u==="collapse")return!1;if(r.style.getPropertyValue("opacity")==="0")return!1;r=r.parentElement}return!0}attachShadow(r){if(this._shadowRoot)throw Error("Shadow root already exists");return this._shadowRoot=new hi(this,r),this._shadowRoot}_setOwnerDocument(r,s){E(r,s)}_rootNode(r){let s=r;while(s.parentNode)s=s.parentNode;return s}_containsNode(r,s){return r!==s&&Ve(r,s)}_documentOrder(r){let s=[],u=(h)=>{s.push(h);let m=h.childNodes??h.children??[];for(let b of m)u(b)};return u(r),s}}
7
+ `).trim()}set innerText(r){while(this.childNodes.length>0)this.removeChild(this.childNodes[0]);if(r){let s=new o(r);this.appendChild(s)}}replaceChildren(...r){while(this.childNodes.length>0)this.removeChild(this.childNodes[0]);for(let s of r)if(typeof s==="string")this.appendChild(new o(s));else this.appendChild(s)}appendChild(r){return k(this,r)}removeChild(r){return Oe(this,r)}insertBefore(r,s){return et(this,r,s)}replaceChild(r,s){return tt(this,r,s)}cloneNode(r=!1){let s=this.namespaceURI==="http://www.w3.org/2000/svg"?new(import.meta.require("./chunk-a6pxryjh.js")).VirtualSVGElement(this.tagName):new e(this.tagName);s.namespaceURI=this.namespaceURI,s.nodeName=this.nodeName,s.tagName=this.tagName;for(let[u,h]of this.attributes)s.setAttribute(u,h);if(r){for(let u of this.childNodes){let h=u.cloneNode?.(!0);if(h)s.appendChild(h)}if(this._shadowRoot){let u=s.attachShadow({mode:this._shadowRoot.mode});for(let h of this._shadowRoot.childNodes){let m=h.cloneNode?.(!0);if(m)u.appendChild(m)}}}return s}closest(r){let s=this;while(s){if(s.matches(r))return s;s=s.parentElement}return null}get parentElement(){if(Wi(this.parentNode))return this.parentNode;return null}get firstChild(){return this.childNodes.length>0?this.childNodes[0]:null}get lastChild(){return this.childNodes.length>0?this.childNodes[this.childNodes.length-1]:null}get nextSibling(){if(!this.parentNode)return null;let r=this.parentNode.childNodes,s=r.indexOf(this);if(s===-1||s>=r.length-1)return null;return r[s+1]}get previousSibling(){if(!this.parentNode)return null;let r=this.parentNode.childNodes,s=r.indexOf(this);if(s<=0)return null;return r[s-1]}get nextElementSibling(){if(!this.parentNode)return null;let r=this.parentNode.childNodes,s=!1;for(let u=0;u<r.length;u++){if(r[u]===this){s=!0;continue}if(s&&r[u].nodeType===t)return r[u]}return null}get previousElementSibling(){if(!this.parentNode)return null;let r=this.parentNode.childNodes,s=null;for(let u=0;u<r.length;u++){if(r[u]===this)return s;if(r[u].nodeType===t)s=r[u]}return null}get textContent(){return G(this)}set textContent(r){for(let s of this.childNodes)s.parentNode=null;if(this.childNodes.length=0,r){let s=new o(r);s.parentNode=this,s.ownerDocument=this.ownerDocument,this.childNodes.push(s)}l._queueMutationRecord({type:"childList",target:this,addedNodes:r?[this.childNodes[0]]:[],removedNodes:[],previousSibling:null,nextSibling:null,attributeName:null,attributeNamespace:null,oldValue:null}),F(this)}_setStylesFromAttribute(r){let s=this._internalStyles??(this._internalStyles=new Map),u=this._stylePriorities??(this._stylePriorities=new Map);s.clear(),u.clear();for(let h of r.split(";")){let m=h.trim();if(!m)continue;let b=m.indexOf(":");if(b===-1)continue;let g=m.slice(0,b).trim().toLowerCase(),v=m.slice(b+1).trim();if(!g)continue;let f="";if(/!important$/i.test(v))v=v.replace(/!important$/i,"").trim(),f="important";if(s.set(g,v),f)u.set(g,f)}}get innerHTML(){return this.childNodes.map((r)=>this._serializeNode(r,this.tagName)).join("")}set innerHTML(r){if(this.childNodes.length>0){let s=this.ownerDocument;if(s?._idIndex&&s._idIndex.size>0)for(let u of this.childNodes)Me(u);for(let u of this.childNodes)u.parentNode=null;this.childNodes.length=0}if(r){let s=p(r,this.ownerDocument);if(this.tagName==="HTML"&&s.length>0)for(let u of s){if(u.nodeType===t){let h=u;if(h.tagName==="HTML"){for(let m of[...h.childNodes])this.appendChild(m);continue}}this.appendChild(u)}else for(let u of s)this.appendChild(u)}F(this)}get outerHTML(){return this._serializeNode(this)}set outerHTML(r){let s=this.parentNode;if(!s)throw new DOMException("This element has no parent node.","NoModificationAllowedError");let u=p(r,this.ownerDocument),h=s.childNodes.indexOf(this);Oe(s,this);for(let m=0;m<u.length;m++){let b=u[m];s.childNodes.splice(h+m,0,b),b.parentNode=s;let g=this.ownerDocument;if(g)E(b,g)}}get className(){return this.getAttribute("class")||""}set className(r){this.setAttribute("class",r)}get slot(){return this.getAttribute("slot")||""}set slot(r){this.setAttribute("slot",r)}get classList(){let r=this,s=()=>r.getAttribute("class")?.split(/\s+/).filter(Boolean)||[];return{add(...u){let h=s();for(let m of u)if(!h.includes(m))h.push(m);r.setAttribute("class",h.join(" "))},remove(...u){let m=s().filter((b)=>!u.includes(b));if(m.length>0)r.setAttribute("class",m.join(" "));else r.removeAttribute("class")},toggle(u,h){let m=s(),b=m.indexOf(u);if(h===void 0?b===-1:h){if(b===-1)m.push(u),r.setAttribute("class",m.join(" "));return!0}if(b!==-1)if(m.splice(b,1),m.length>0)r.setAttribute("class",m.join(" "));else r.removeAttribute("class");return!1},contains(u){return s().includes(u)},replace(u,h){let m=s(),b=m.indexOf(u);if(b!==-1)return m[b]=h,r.setAttribute("class",m.join(" ")),!0;return!1},get length(){return s().length},item(u){return s()[u]??null},get value(){return r.getAttribute("class")||""},toString(){return r.getAttribute("class")||""},forEach(u){let h=s();for(let m=0;m<h.length;m++)u(h[m],m,this)},*[Symbol.iterator](){yield*s()},*entries(){let u=s();for(let h=0;h<u.length;h++)yield[h,u[h]]},*keys(){let u=s();for(let h=0;h<u.length;h++)yield h},*values(){yield*s()}}}_serializeNode(r,s){if(r.nodeType===i){let u=r.nodeValue||"";if(s==="SCRIPT"||s==="STYLE")return u;return Qe(u)}if(r.nodeType===c)return`<!--${r.nodeValue}-->`;if(r.nodeType===t){let u=r,h=u.tagName.toLowerCase(),m=`<${h}`;for(let[g,v]of u.attributes)m+=` ${g}="${mi(v)}"`;if(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"].includes(h))return m+=">",m;m+=">";for(let g of u.childNodes)m+=this._serializeNode(g,u.tagName);return m+=`</${h}>`,m}return""}get style(){if(this._styleProxy)return this._styleProxy;let r=this;return this._styleProxy=new Proxy({getPropertyValue(s){return r._internalStyles?.get(s)||""},getPropertyPriority(s){return r._stylePriorities?.get(s)||""},setProperty(s,u,h=""){let m=`${u}`,b=m.trim();if(b==="NaN"||b.includes("NaN"))return;if((r._internalStyles??(r._internalStyles=new Map)).set(s,m),h)(r._stylePriorities??(r._stylePriorities=new Map)).set(s,h);else r._stylePriorities?.delete(s);r._updateStyleAttribute()},removeProperty(s){let u=r._internalStyles?.get(s)||"";return r._internalStyles?.delete(s),r._stylePriorities?.delete(s),r._updateStyleAttribute(),u},item(s){if(!r._internalStyles)return"";return Array.from(r._internalStyles.keys())[s]||""},get length(){return r._internalStyles?.size??0},get cssText(){if(!r._internalStyles)return"";return Array.from(r._internalStyles.entries()).map(([s,u])=>{let h=r._stylePriorities?.get(s);return h?`${s}: ${u} !${h}`:`${s}: ${u}`}).join("; ")},set cssText(s){if(r._internalStyles=null,r._stylePriorities=null,s)r._setStylesFromAttribute(s);r._updateStyleAttribute()}},{get(s,u){if(u==="getPropertyValue"||u==="getPropertyPriority"||u==="setProperty"||u==="removeProperty"||u==="item"||u==="length"||u==="cssText"){let m=s[u];return typeof m==="function"?m.bind(s):m}let h=u.replace(/[A-Z]/g,(m)=>`-${m.toLowerCase()}`);return r._internalStyles?.get(h)},set(s,u,h){if(u==="cssText")return s.cssText=h,!0;let m=u.replace(/[A-Z]/g,(g)=>`-${g.toLowerCase()}`);return(r._internalStyles??(r._internalStyles=new Map)).set(m,`${h}`),r._stylePriorities?.delete(m),r._updateStyleAttribute(),!0}}),this._styleProxy}_updateStyleAttribute(){if(!this._internalStyles||this._internalStyles.size===0){if(this.attributes.has("style"))this.removeAttribute("style");return}let r="";for(let[s,u]of this._internalStyles){if(r)r+="; ";let h=this._stylePriorities?.get(s);r+=h?`${s}: ${u} !${h}`:`${s}: ${u}`}if(r){let s=this.attributes.get("style")??null;this.attributes.set("style",r),l._queueMutationRecord({type:"attributes",target:this,addedNodes:[],removedNodes:[],previousSibling:null,nextSibling:null,attributeName:"style",attributeNamespace:null,oldValue:s})}else this.removeAttribute("style")}get dataset(){if(this._datasetProxy)return this._datasetProxy;let r=this;return this._datasetProxy=new Proxy({},{get(s,u){let h=u.replace(/[A-Z]/g,(m)=>`-${m.toLowerCase()}`);return r.getAttribute(`data-${h}`)||""},set(s,u,h){let m=u.replace(/[A-Z]/g,(b)=>`-${b.toLowerCase()}`);return r.setAttribute(`data-${m}`,h),!0},deleteProperty(s,u){let h=u.replace(/[A-Z]/g,(m)=>`-${m.toLowerCase()}`);return r.removeAttribute(`data-${h}`),!0},has(s,u){let h=u.replace(/[A-Z]/g,(m)=>`-${m.toLowerCase()}`);return r.hasAttribute(`data-${h}`)},ownKeys(s){let u=[];for(let[h]of r.attributes)if(h.startsWith("data-")){let m=h.slice(5).replace(/-([a-z])/g,(b,g)=>g.toUpperCase());u.push(m)}return u},getOwnPropertyDescriptor(s,u){let h=u.replace(/[A-Z]/g,(m)=>`-${m.toLowerCase()}`);if(r.hasAttribute(`data-${h}`))return{configurable:!0,enumerable:!0,writable:!0,value:r.getAttribute(`data-${h}`)};return}}),this._datasetProxy}_isInputElement(){return this.tagName==="INPUT"}_isTextareaElement(){return this.tagName==="TEXTAREA"}_isSelectElement(){return this.tagName==="SELECT"}_isOptionElement(){return this.tagName==="OPTION"}_getInputType(){return this._isInputElement()?(this.getAttribute("type")||"text").toLowerCase():""}_getOptionValue(){let r=this.getAttribute("value");return r!==null?r:this.textContent}_getSelectOptions(){return this._isSelectElement()?this.querySelectorAll("option"):[]}_getSelectedOptionsInternal(){let r=this._getSelectOptions();if(r.length===0)return[];let s=r.filter((u)=>u.selected);if(this.hasAttribute("multiple"))return s;return s.length>0?[s[0]]:[r[0]]}_getOwningSelect(){let r=this.parentNode;while(r){if(r.tagName==="SELECT")return r;r=r.parentNode}return null}_isButtonElement(){return this.tagName==="BUTTON"}_isFormElement(){return this.tagName==="FORM"}_isFieldsetElement(){return this.tagName==="FIELDSET"}_isLegendElement(){return this.tagName==="LEGEND"}_isLabelElement(){return this.tagName==="LABEL"}_isLabelableElement(){if(this._isInputElement())return this._getInputType()!=="hidden";return this._isButtonElement()||this._isSelectElement()||this._isTextareaElement()||this.tagName==="METER"||this.tagName==="OUTPUT"||this.tagName==="PROGRESS"}_isListedFormAssociatedElement(){return["BUTTON","FIELDSET","INPUT","OBJECT","OUTPUT","SELECT","TEXTAREA"].includes(this.tagName)}_collectDescendantElements(r=this){let s=[],u=(h)=>{for(let m of h.childNodes)if(m.nodeType===t){let b=m;s.push(b),u(b)}};return u(r),s}_isWithinFirstLegendOfFieldset(r){let s=r.children.find((u)=>u.tagName==="LEGEND");if(!s)return!1;return s===this||Ve(s,this)}_isActuallyDisabled(){if(this.hasAttribute("disabled"))return!0;if(this._isOptionElement()){let s=this.parentElement;if(s?.tagName==="OPTGROUP"&&s.disabled)return!0}if(!["BUTTON","INPUT","OPTION","OPTGROUP","SELECT","TEXTAREA"].includes(this.tagName))return!1;let r=this.parentNode;while(r){if(r.tagName==="FIELDSET"&&r.hasAttribute("disabled")){if(!this._isWithinFirstLegendOfFieldset(r))return!0}r=r.parentNode}return!1}_resetFormControlState(){if(this._isInputElement()||this._isTextareaElement())this._valueDirty=!1,this._valueState=null;if(this._isInputElement())this._checkedDirty=!1,this._checkedState=null;if(this._isOptionElement())this._selectedDirty=!1,this._selectedState=null;if(this._isSelectElement())for(let r of this._getSelectOptions())r._selectedDirty=!1,r._selectedState=null}_syncRadioGroupSelection(){if(!this._isInputElement()||this._getInputType()!=="radio"||!this.checked)return;let r=this.getAttribute("name");if(!r)return;let u=(this.form??this.ownerDocument?.documentElement??this.parentNode)?.querySelectorAll?.("input")??[];for(let h of u){if(h===this)continue;if((h.getAttribute("type")||"text").toLowerCase()!=="radio"||h.getAttribute("name")!==r)continue;if(this.form?h.form!==this.form:h.form!==null)continue;h._checkedDirty=!0,h._checkedState=!1}}get form(){if(this._isOptionElement())return this._getOwningSelect()?.form??null;return["BUTTON","FIELDSET","INPUT","OBJECT","OUTPUT","SELECT","TEXTAREA"].includes(this.tagName)?this.closest("form"):null}get elements(){if(this._isFormElement())return this._collectDescendantElements().filter((r)=>r._isListedFormAssociatedElement()&&r.form===this);if(this._isFieldsetElement())return this._collectDescendantElements().filter((r)=>r._isListedFormAssociatedElement());return[]}get labels(){if(!this._isLabelableElement())return[];let r=[],s=this.parentNode;while(s){if(s.tagName==="LABEL")r.push(s);s=s.parentNode}let u=this.id;if(u&&this.ownerDocument){for(let h of this.ownerDocument.querySelectorAll("label"))if(h.getAttribute("for")===u&&!r.includes(h))r.push(h)}return r}get type(){if(this._isInputElement())return this._getInputType();if(this._isButtonElement())return(this.getAttribute("type")||"submit").toLowerCase();return this.getAttribute("type")||""}set type(r){this.setAttribute("type",r)}get name(){return this.getAttribute("name")||""}set name(r){this.setAttribute("name",r)}get id(){return this.getAttribute("id")||""}set id(r){this.setAttribute("id",r)}get htmlFor(){return this.getAttribute("for")||""}set htmlFor(r){this.setAttribute("for",r)}get hidden(){return this.hasAttribute("hidden")}set hidden(r){if(r)this.setAttribute("hidden","");else this.removeAttribute("hidden")}get title(){return this.getAttribute("title")||""}set title(r){this.setAttribute("title",r)}get lang(){return this.getAttribute("lang")||""}set lang(r){this.setAttribute("lang",r)}get dir(){return this.getAttribute("dir")||""}set dir(r){this.setAttribute("dir",r)}get contentEditable(){let r=this.getAttribute("contenteditable");if(r===null)return"inherit";if(r===""||r==="true")return"true";if(r==="false")return"false";return"inherit"}set contentEditable(r){if(r==="inherit")this.removeAttribute("contenteditable");else this.setAttribute("contenteditable",r)}get draggable(){return this.getAttribute("draggable")==="true"}set draggable(r){this.setAttribute("draggable",String(r))}get spellcheck(){return this.getAttribute("spellcheck")!=="false"}set spellcheck(r){this.setAttribute("spellcheck",String(r))}get translate(){return this.getAttribute("translate")!=="no"}set translate(r){this.setAttribute("translate",r?"yes":"no")}get accessKey(){return this.getAttribute("accesskey")||""}set accessKey(r){this.setAttribute("accesskey",r)}get autocapitalize(){return this.getAttribute("autocapitalize")||""}set autocapitalize(r){this.setAttribute("autocapitalize",r)}get isContentEditable(){let r=this.contentEditable;if(r==="true")return!0;if(r==="false")return!1;if(this.parentElement)return this.parentElement.isContentEditable;return!1}get required(){return this.hasAttribute("required")}set required(r){if(r)this.setAttribute("required","");else this.removeAttribute("required")}get readOnly(){return this.hasAttribute("readonly")}set readOnly(r){if(r)this.setAttribute("readonly","");else this.removeAttribute("readonly")}get autofocus(){return this.hasAttribute("autofocus")}set autofocus(r){if(r)this.setAttribute("autofocus","");else this.removeAttribute("autofocus")}get multiple(){return this.hasAttribute("multiple")}set multiple(r){if(r)this.setAttribute("multiple","");else this.removeAttribute("multiple")}get noValidate(){return this.hasAttribute("novalidate")}set noValidate(r){if(r)this.setAttribute("novalidate","");else this.removeAttribute("novalidate")}get placeholder(){return this.getAttribute("placeholder")||""}set placeholder(r){this.setAttribute("placeholder",r)}get src(){return this.getAttribute("src")||""}set src(r){this.setAttribute("src",r)}get href(){return this.getAttribute("href")||""}set href(r){this.setAttribute("href",r)}get rel(){return this.getAttribute("rel")||""}set rel(r){this.setAttribute("rel",r)}get target(){return this.getAttribute("target")||""}set target(r){this.setAttribute("target",r)}get role(){return this.getAttribute("role")||""}set role(r){this.setAttribute("role",r)}get outerText(){return this.innerText}set outerText(r){if(!this.parentNode)throw new DOMException("This element has no parent node.","NoModificationAllowedError");let s=new o(r);this.parentNode.replaceChild(s,this)}get minLength(){let r=this.getAttribute("minlength");return r!==null?Number.parseInt(r,10):-1}set minLength(r){this.setAttribute("minlength",String(r))}get maxLength(){let r=this.getAttribute("maxlength");return r!==null?Number.parseInt(r,10):-1}set maxLength(r){this.setAttribute("maxlength",String(r))}get size(){let r=this.getAttribute("size");return r!==null?Number.parseInt(r,10):20}set size(r){this.setAttribute("size",String(r))}get rows(){let r=this.getAttribute("rows");return r!==null?Number.parseInt(r,10):2}set rows(r){this.setAttribute("rows",String(r))}get cols(){let r=this.getAttribute("cols");return r!==null?Number.parseInt(r,10):20}set cols(r){this.setAttribute("cols",String(r))}get download(){return this.getAttribute("download")||""}set download(r){this.setAttribute("download",r)}getAttributeNode(r){let s=r.toLowerCase(),u=this.attributes.get(s);if(u===void 0)return null;return{name:s,value:u,specified:!0,ownerElement:this}}setAttributeNode(r){let s=this.getAttributeNode(r.name);return this.setAttribute(r.name,r.value),s}removeAttributeNode(r){let s=this.getAttributeNode(r.name);if(!s)throw new DOMException("The attribute is not found.","NotFoundError");return this.removeAttribute(r.name),s}hasAttributes(){return this.attributes.size>0}get willValidate(){if(!this._isListedFormAssociatedElement()||this.disabled)return!1;if(this._isFieldsetElement()||this.tagName==="OUTPUT")return!1;if(this._isInputElement())return!["button","hidden","image","reset","submit"].includes(this._getInputType());if(this._isButtonElement())return!1;return this._isSelectElement()||this._isTextareaElement()}get value(){if(this._isOptionElement())return this._getOptionValue();if(this._isTextareaElement())return this._valueDirty?this._valueState??"":G(this);if(this._isInputElement()){if(this._valueDirty)return this._valueState??"";let r=this.getAttribute("value");if(r!==null)return r;let s=this._getInputType();return s==="checkbox"||s==="radio"?"on":""}if(this._isSelectElement())return this._getSelectedOptionsInternal()[0]?.value??"";return this.getAttribute("value")||""}set value(r){let s=`${r}`;if(this._isTextareaElement()||this._isInputElement()){this._valueDirty=!0,this._valueState=s;return}if(this._isSelectElement()){let u=!1;for(let h of this._getSelectOptions()){let m=!u&&h.value===s;if(h.selected=m,m)u=!0}if(!u)this.selectedIndex=-1;return}this.setAttribute("value",s)}get defaultValue(){if(this._isTextareaElement())return G(this);return this.getAttribute("value")||""}set defaultValue(r){let s=`${r}`;if(this._isTextareaElement()){if(this.textContent=s,!this._valueDirty)this._valueState=null;return}if(this.setAttribute("value",s),!this._valueDirty)this._valueState=null}get checked(){if(!this._isInputElement())return!1;let r=this._getInputType();if(r!=="checkbox"&&r!=="radio")return!1;return this._checkedDirty?Boolean(this._checkedState):this.hasAttribute("checked")}set checked(r){if(!this._isInputElement())return;let s=this._getInputType();if(s!=="checkbox"&&s!=="radio")return;let u=Boolean(r);if(this._checkedDirty=!0,this._checkedState=u,s==="radio"&&u)this._syncRadioGroupSelection()}get defaultChecked(){return this.hasAttribute("checked")}set defaultChecked(r){if(r)this.setAttribute("checked","");else this.removeAttribute("checked")}get selected(){if(!this._isOptionElement())return!1;return this._selectedDirty?Boolean(this._selectedState):this.hasAttribute("selected")}set selected(r){if(!this._isOptionElement())return;let s=Boolean(r),u=this._getOwningSelect();if(s&&u&&!u.hasAttribute("multiple"))for(let h of u._getSelectOptions()){if(h===this)continue;h._selectedDirty=!0,h._selectedState=!1}this._selectedDirty=!0,this._selectedState=s}get defaultSelected(){return this.hasAttribute("selected")}set defaultSelected(r){if(r)this.setAttribute("selected","");else this.removeAttribute("selected")}get options(){return this._getSelectOptions()}get selectedOptions(){if(this._isSelectElement())return this._getSelectedOptionsInternal();return this._isOptionElement()&&this.selected?[this]:[]}get selectedIndex(){if(!this._isSelectElement())return-1;let r=this._getSelectOptions(),s=this._getSelectedOptionsInternal()[0];return s?r.indexOf(s):-1}set selectedIndex(r){if(!this._isSelectElement())return;let s=this._getSelectOptions();for(let u=0;u<s.length;u++)s[u].selected=r>=0&&u===r}get validity(){let r=this.value,s=this.type||"text",u=this.hasAttribute("required"),h=this.getAttribute("pattern"),m=this.getAttribute("minlength"),b=this.getAttribute("maxlength"),g=this.getAttribute("min"),v=this.getAttribute("max"),f={valid:!0,valueMissing:!1,typeMismatch:!1,patternMismatch:!1,tooLong:!1,tooShort:!1,rangeUnderflow:!1,rangeOverflow:!1,stepMismatch:!1,badInput:!1,customError:!1};if(!this.willValidate)return f;if(u&&(s==="checkbox"||s==="radio"?!this.checked:!r))f.valueMissing=!0,f.valid=!1;if(h&&r){if(!new RegExp(h).test(r))f.patternMismatch=!0,f.valid=!1}if(m&&r.length<Number.parseInt(m,10))f.tooShort=!0,f.valid=!1;if(b&&r.length>Number.parseInt(b,10))f.tooLong=!0,f.valid=!1;if(s==="number"||s==="range"){let A=Number.parseFloat(r);if(!Number.isNaN(A)){if(g&&A<Number.parseFloat(g))f.rangeUnderflow=!0,f.valid=!1;if(v&&A>Number.parseFloat(v))f.rangeOverflow=!0,f.valid=!1}}if(s==="email"&&r){if(!/^[^\s@]+@[^\s@][^\s.@]*\.[^\s@]+$/.test(r))f.typeMismatch=!0,f.valid=!1}if(s==="url"&&r)try{new URL(r)}catch{f.typeMismatch=!0,f.valid=!1}if(this._customValidity)f.customError=!0,f.valid=!1;return f}get validationMessage(){if(this._customValidity)return this._customValidity;let r=this.validity;if(r.valueMissing)return"Please fill out this field.";if(r.typeMismatch){let s=this.getAttribute("type");if(s==="email")return"Please enter an email address.";if(s==="url")return"Please enter a URL.";return"Please match the requested format."}if(r.patternMismatch)return"Please match the requested format.";if(r.tooShort)return`Please lengthen this text to ${this.getAttribute("minlength")} characters or more.`;if(r.tooLong)return`Please shorten this text to ${this.getAttribute("maxlength")} characters or less.`;if(r.rangeUnderflow)return`Value must be greater than or equal to ${this.getAttribute("min")}.`;if(r.rangeOverflow)return`Value must be less than or equal to ${this.getAttribute("max")}.`;return""}setCustomValidity(r){this._customValidity=r}checkValidity(){if(this._isFormElement()||this._isFieldsetElement())return this.elements.every((r)=>r.checkValidity());return this.validity.valid}reportValidity(){if(this._isFormElement()||this._isFieldsetElement())return this.elements.every((s)=>s.reportValidity());let r=this.checkValidity();if(!r){let s=new n("invalid",{bubbles:!1,cancelable:!0});this.dispatchEvent(s)}return r}querySelector(r){return I(this,r)}querySelectorAll(r){return y(this,r)}matches(r){if(pi(r)){let s=this;while(s.parentNode&&s.parentNode.nodeType!==a)s=s.parentNode;if(s.parentNode&&s.parentNode.nodeType===a)s=s.parentNode;return fi(this,r,s)}else return w(this,r,this)}webkitMatchesSelector(r){return this.matches(r)}get action(){if(!this._isFormElement())return"";return this.getAttribute("action")||""}set action(r){if(this._isFormElement())this.setAttribute("action",r)}get method(){if(!this._isFormElement())return"";return(this.getAttribute("method")||"get").toLowerCase()}set method(r){if(this._isFormElement())this.setAttribute("method",r)}get enctype(){if(!this._isFormElement())return"";return this.getAttribute("enctype")||"application/x-www-form-urlencoded"}set enctype(r){if(this._isFormElement())this.setAttribute("enctype",r)}get encoding(){return this.enctype}set encoding(r){this.enctype=r}addEventListener(r,s,u={}){super.addEventListener(r,s,u)}removeEventListener(r,s,u={}){super.removeEventListener(r,s,u)}dispatchEvent(r){return super.dispatchEvent(r)}focus(){let r=this.ownerDocument;if(r){let s=r.activeElement;if(s&&s!==this&&s!==r.body)s.dispatchEvent(new n("blur",{bubbles:!1})),s.dispatchEvent(new n("focusout",{bubbles:!0}));r._setFocusedElement(this)}this.dispatchEvent(new n("focus",{bubbles:!1})),this.dispatchEvent(new n("focusin",{bubbles:!0}))}blur(){let r=this.ownerDocument;if(r&&r.activeElement===this)r._setFocusedElement(null);this.dispatchEvent(new n("blur",{bubbles:!1})),this.dispatchEvent(new n("focusout",{bubbles:!0}))}scrollIntoView(r){this._scrollTop=0,this._scrollLeft=0;let s=new n("scroll",{bubbles:!1});this.dispatchEvent(s)}scrollTo(r,s){if(typeof r==="object"&&r!==null){if(typeof r.left==="number")this._scrollLeft=r.left;if(typeof r.top==="number")this._scrollTop=r.top}else{if(typeof r==="number")this._scrollLeft=r;if(typeof s==="number")this._scrollTop=s}let u=new n("scroll",{bubbles:!1});this.dispatchEvent(u)}scrollBy(r,s){if(typeof r==="object"&&r!==null){if(typeof r.left==="number")this._scrollLeft+=r.left;if(typeof r.top==="number")this._scrollTop+=r.top}else{if(typeof r==="number")this._scrollLeft+=r;if(typeof s==="number")this._scrollTop+=s}let u=new n("scroll",{bubbles:!1});this.dispatchEvent(u)}_isMediaElement(){return this.tagName==="AUDIO"||this.tagName==="VIDEO"}_mediaPaused=!0;_mediaEnded=!1;_mediaCurrentTime=0;_mediaDuration=Number.NaN;_mediaVolume=1;_mediaMuted=!1;_mediaPlaybackRate=1;_mediaReadyState=0;_mediaNetworkState=0;get paused(){if(!this._isMediaElement())return!0;return this._mediaPaused}get ended(){if(!this._isMediaElement())return!1;return this._mediaEnded}get currentTime(){if(!this._isMediaElement())return 0;return this._mediaCurrentTime}set currentTime(r){if(!this._isMediaElement())return;this._mediaCurrentTime=r,this.dispatchEvent(new n("timeupdate",{bubbles:!1}))}get duration(){if(!this._isMediaElement())return 0;return this._mediaDuration}get volume(){if(!this._isMediaElement())return 1;return this._mediaVolume}set volume(r){if(!this._isMediaElement())return;this._mediaVolume=Math.max(0,Math.min(1,r)),this.dispatchEvent(new n("volumechange",{bubbles:!1}))}get muted(){if(!this._isMediaElement())return!1;return this._mediaMuted}set muted(r){if(!this._isMediaElement())return;this._mediaMuted=Boolean(r),this.dispatchEvent(new n("volumechange",{bubbles:!1}))}get playbackRate(){if(!this._isMediaElement())return 1;return this._mediaPlaybackRate}set playbackRate(r){if(!this._isMediaElement())return;this._mediaPlaybackRate=r,this.dispatchEvent(new n("ratechange",{bubbles:!1}))}get readyState(){if(!this._isMediaElement())return 0;return this._mediaReadyState}get networkState(){if(!this._isMediaElement())return 0;return this._mediaNetworkState}play(){if(!this._isMediaElement())return Promise.reject(new DOMException("Not a media element","InvalidStateError"));let r=this._mediaPaused;if(this._mediaPaused=!1,this._mediaEnded=!1,r)queueMicrotask(()=>{this.dispatchEvent(new n("play",{bubbles:!1})),this.dispatchEvent(new n("playing",{bubbles:!1}))});return Promise.resolve()}pause(){if(!this._isMediaElement())return;if(this._mediaPaused)return;this._mediaPaused=!0,queueMicrotask(()=>{this.dispatchEvent(new n("pause",{bubbles:!1}))})}load(){if(!this._isMediaElement())return;this._mediaCurrentTime=0,this._mediaEnded=!1,this._mediaPaused=!0,queueMicrotask(()=>{this.dispatchEvent(new n("loadstart",{bubbles:!1})),this.dispatchEvent(new n("loadedmetadata",{bubbles:!1}))})}canPlayType(r){if(!this._isMediaElement())return"";return"maybe"}addTextTrack(r,s,u){return{kind:r,label:s??"",language:u??"",mode:"disabled"}}decode(){return Promise.resolve()}animate(r,s){let u={play:()=>{},pause:()=>{},cancel:()=>{},finish:()=>{if(u.onfinish)try{u.onfinish(new n("finish"))}catch{}},reverse:()=>{},finished:Promise.resolve({currentTime:0}),playState:"finished",currentTime:0,onfinish:null,oncancel:null};return u}getClientRects(){return[]}_validateInsertAdjacentPosition(r){let s=r.toLowerCase();if(s!=="beforebegin"&&s!=="afterbegin"&&s!=="beforeend"&&s!=="afterend")throw new DOMException(`Failed to execute 'insertAdjacentHTML' on 'Element': The value provided ('${r}') is not one of 'beforeBegin', 'afterBegin', 'beforeEnd', or 'afterEnd'.`,"SyntaxError");return s}insertAdjacentHTML(r,s){let u=this._validateInsertAdjacentPosition(r),h=p(s,this.ownerDocument);switch(u){case"beforebegin":if(this.parentNode)for(let m of h)this.parentNode.insertBefore(m,this);break;case"afterbegin":for(let m=h.length-1;m>=0;m--)this.insertBefore(h[m],this.firstChild);break;case"beforeend":for(let m of h)this.appendChild(m);break;case"afterend":if(this.parentNode){let m=this.nextSibling;for(let b of h)this.parentNode.insertBefore(b,m)}break}}insertAdjacentElement(r,s){switch(this._validateInsertAdjacentPosition(r)){case"beforebegin":if(this.parentNode)return this.parentNode.insertBefore(s,this),s;return null;case"afterbegin":return this.insertBefore(s,this.firstChild),s;case"beforeend":return this.appendChild(s),s;case"afterend":if(this.parentNode)return this.parentNode.insertBefore(s,this.nextSibling),s;return null;default:return null}}insertAdjacentText(r,s){let u=this._validateInsertAdjacentPosition(r),h=new o(s);switch(u){case"beforebegin":if(this.parentNode)this.parentNode.insertBefore(h,this);break;case"afterbegin":this.insertBefore(h,this.firstChild);break;case"beforeend":this.appendChild(h);break;case"afterend":if(this.parentNode)this.parentNode.insertBefore(h,this.nextSibling);break}}click(){if(this.disabled)return;let r=new n("click",{bubbles:!0,cancelable:!0});if(!this.dispatchEvent(r))return;if(this._isInputElement()){let u=this._getInputType();if(u==="checkbox")this.checked=!this.checked;else if(u==="radio")this.checked=!0;else if((u==="submit"||u==="image")&&this.form)this.form.requestSubmit(this);else if(u==="reset"&&this.form)this.form.reset()}if(this._isButtonElement()&&this.form){if(this.type==="reset")this.form.reset();else if(this.type==="submit")this.form.requestSubmit(this)}if(this.tagName==="A"&&this.href){let u=this.ownerDocument?.defaultView;if(!u)return;let h=this.href;try{h=new URL(h,u.location.href).href}catch{}if(this.target==="_blank"){let b=this.rel.toLowerCase().split(/\s+/).filter((g)=>g==="noopener"||g==="noreferrer").join(",");u.open(h,"_blank",b)}else u.location.href=h}}submit(){if(!this._isFormElement())return;let r=new n("submit",{bubbles:!0,cancelable:!0});r.submitter=null,this.dispatchEvent(r)}requestSubmit(r){if(!this._isFormElement())return;if(r&&r.form!==this)throw Error("The specified element is not owned by this form element");if(!this.reportValidity())return;let s=new n("submit",{bubbles:!0,cancelable:!0});s.submitter=r??null,this.dispatchEvent(s)}reset(){if(!this._isFormElement())return;let r=new n("reset",{bubbles:!0,cancelable:!0});if(!this.dispatchEvent(r))return;for(let u of this.elements)u._resetFormControlState()}get tabIndex(){let r=this.getAttribute("tabindex");if(r!==null)return Number.parseInt(r,10);if(this.tagName==="A"||this.tagName==="BUTTON"||this.tagName==="INPUT"||this.tagName==="TEXTAREA"||this.tagName==="SELECT")return 0;return-1}set tabIndex(r){this.setAttribute("tabindex",String(r))}get disabled(){if(!["BUTTON","FIELDSET","INPUT","OPTION","OPTGROUP","SELECT","TEXTAREA"].includes(this.tagName))return this.hasAttribute("disabled");return this._isActuallyDisabled()}set disabled(r){if(r)this.setAttribute("disabled","");else this.removeAttribute("disabled")}get clientLeft(){return 0}get clientTop(){return 0}get clientWidth(){return this._resolveInlineSize("width")}get clientHeight(){return this._resolveInlineSize("height")}get offsetWidth(){return this._resolveInlineSize("width")}get offsetHeight(){return this._resolveInlineSize("height")}get offsetTop(){return 0}get offsetLeft(){return 0}_resolveInlineSize(r,s){let u=this._cascadedStyleValue(r,s);if(u){let m=this._parseCssSize(u,r);if(m!==null)return m}let h=this.attributes.get(r);if(h!==void 0&&h!==""){let m=this._parseCssSize(h,r);if(m!==null)return m}return 0}_cascadedStyleValue(r,s){let u=this._internalStyles?.get(r)??"",h=s===void 0?this._buildCascade():s;if(!h)return u;return di(r,this.style,h)??u}_buildCascade(){let r=this.ownerDocument;if(!r)return null;let s=r._adoptedStyleSheets??[],u=r.styleSheets??[];if(u.length===0&&s.length===0)return null;return ci(this,[...u,...s],r.defaultView?._mediaContext?.())}_parseCssSize(r,s){let u=r.trim();if(u===""||u==="auto")return null;if(u.endsWith("%")){let m=Number.parseFloat(u);if(!Number.isFinite(m))return null;let b=this.parentElement;if(!b)return null;let g=b._resolveInlineSize(s);if(g===0)return null;return m/100*g}let h=/^(-?\d*\.?\d+)(px)?$/i.exec(u);if(h){let m=Number.parseFloat(h[1]);return Number.isFinite(m)?m:null}return null}get offsetParent(){return this.parentElement}get scrollWidth(){return 0}get scrollHeight(){return 0}_scrollTop=0;_scrollLeft=0;get scrollTop(){return this._scrollTop}set scrollTop(r){this._scrollTop=r}get scrollLeft(){return this._scrollLeft}set scrollLeft(r){this._scrollLeft=r}getBoundingClientRect(){let r=this._buildCascade(),s=this._resolveInlineSize("width",r),u=this._resolveInlineSize("height",r);return new H(0,0,s,u)}setPointerCapture(r){this._capturedPointerIds??=new Set,this._capturedPointerIds.add(r)}releasePointerCapture(r){this._capturedPointerIds?.delete(r)}hasPointerCapture(r){return this._capturedPointerIds?.has(r)??!1}isVisible(){let r=this;while(r){if(r.style.getPropertyValue("display")==="none")return!1;let u=r.style.getPropertyValue("visibility");if(u==="hidden"||u==="collapse")return!1;if(r.style.getPropertyValue("opacity")==="0")return!1;r=r.parentElement}return!0}attachShadow(r){if(this._shadowRoot)throw Error("Shadow root already exists");return this._shadowRoot=new hi(this,r),this._shadowRoot}_setOwnerDocument(r,s){E(r,s)}_rootNode(r){let s=r;while(s.parentNode)s=s.parentNode;return s}_containsNode(r,s){return r!==s&&Ve(r,s)}_documentOrder(r){let s=[],u=(h)=>{s.push(h);let m=h.childNodes??h.children??[];for(let b of m)u(b)};return u(r),s}}
8
8
  export{Z,H,ee,we,_e,$e,qe,ze,Ke,je,Ye,Xe,Se,Te,Je,eo,xe,ci,di,hi,e};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- import{b}from"./chunk-6fjgfwkt.js";var l=new Set(["constructor","prototype","__proto__","globalThis","global","self","window","parent","top","frames"]),c=new Set(["navigator","localStorage","sessionStorage","location","history","innerWidth","innerHeight","outerWidth","outerHeight","devicePixelRatio","scrollX","scrollY","pageXOffset","pageYOffset","matchMedia","getComputedStyle","getSelection","customElements","indexedDB","addEventListener","removeEventListener","dispatchEvent","postMessage","alert","confirm","prompt","scrollTo","scroll","scrollBy","requestAnimationFrame","cancelAnimationFrame","requestIdleCallback","cancelIdleCallback","BroadcastChannel","MessageChannel","MessagePort","EventSource","PerformanceObserver","MutationObserver","IntersectionObserver","ResizeObserver","CustomElementRegistry","HTMLElement","Event","CustomEvent","MouseEvent","KeyboardEvent","FocusEvent","InputEvent","SubmitEvent","PointerEvent","TouchEvent","WheelEvent","DragEvent","ClipboardEvent","AnimationEvent","TransitionEvent","ProgressEvent","MessageEvent","CloseEvent","StorageEvent","PopStateEvent","HashChangeEvent","ErrorEvent","MediaQueryListEvent","CompositionEvent","Document","Element","Node","Text","Comment","DocumentFragment","HTMLTemplateElement","SVGElement","NodeFilter","NodeIterator","TreeWalker","Range","Selection","DOMParser","XMLSerializer","XMLHttpRequest","WebSocket","File","FileReader","FileList","HTMLCanvasElement","CanvasRenderingContext2D","Image","Audio","IDBFactory","IDBDatabase","IDBObjectStore","IDBTransaction","IDBRequest","IDBOpenDBRequest","Notification","DataTransfer","FormData"]),i=null,s=new Map;function f(e){try{return Reflect.construct(String,[],e),!0}catch{return!1}}function u(e,t){if(typeof e.value==="function"&&f(e.value))return e;if(typeof e.value==="function")return{...e,value:e.value.bind(t)};if(typeof e.get==="function"||typeof e.set==="function"){let o={configurable:e.configurable,enumerable:e.enumerable};if(e.get)o.get=e.get.bind(t);if(e.set)o.set=e.set.bind(t);return o}return e}function a(e,t){if(!s.has(e))s.set(e,Object.getOwnPropertyDescriptor(globalThis,e));Object.defineProperty(globalThis,e,{...t,configurable:!0})}class Le{static register(e={}){if(i)throw Error("GlobalRegistrator: already registered. Call unregister() first.");let t=new b(e);i=t;for(let n of Object.getOwnPropertyNames(t)){if(l.has(n))continue;if(n in globalThis&&!c.has(n))continue;let r=Object.getOwnPropertyDescriptor(t,n);if(!r)continue;a(n,u(r,t))}let o=Object.getPrototypeOf(t);for(let n of Object.getOwnPropertyNames(o)){if(l.has(n))continue;if(n in globalThis&&!c.has(n))continue;let r=Object.getOwnPropertyDescriptor(o,n);if(!r)continue;a(n,u(r,t))}a("window",{value:t,writable:!0}),a("document",{value:t.document,writable:!0})}static unregister(){if(!i)return;for(let[e,t]of s)try{if(t)Object.defineProperty(globalThis,e,t);else delete globalThis[e]}catch{}s.clear(),i=null}}
2
+ import{b}from"./chunk-7e10724v.js";var l=new Set(["constructor","prototype","__proto__","globalThis","global","self","window","parent","top","frames"]),c=new Set(["navigator","localStorage","sessionStorage","location","history","innerWidth","innerHeight","outerWidth","outerHeight","devicePixelRatio","scrollX","scrollY","pageXOffset","pageYOffset","matchMedia","getComputedStyle","getSelection","customElements","indexedDB","addEventListener","removeEventListener","dispatchEvent","postMessage","alert","confirm","prompt","scrollTo","scroll","scrollBy","requestAnimationFrame","cancelAnimationFrame","requestIdleCallback","cancelIdleCallback","BroadcastChannel","MessageChannel","MessagePort","EventSource","PerformanceObserver","MutationObserver","IntersectionObserver","ResizeObserver","CustomElementRegistry","HTMLElement","Event","CustomEvent","MouseEvent","KeyboardEvent","FocusEvent","InputEvent","SubmitEvent","PointerEvent","TouchEvent","WheelEvent","DragEvent","ClipboardEvent","AnimationEvent","TransitionEvent","ProgressEvent","MessageEvent","CloseEvent","StorageEvent","PopStateEvent","HashChangeEvent","ErrorEvent","MediaQueryListEvent","CompositionEvent","Document","Element","Node","Text","Comment","DocumentFragment","HTMLTemplateElement","SVGElement","NodeFilter","NodeIterator","TreeWalker","Range","Selection","DOMParser","XMLSerializer","XMLHttpRequest","WebSocket","File","FileReader","FileList","HTMLCanvasElement","CanvasRenderingContext2D","Image","Audio","IDBFactory","IDBDatabase","IDBObjectStore","IDBTransaction","IDBRequest","IDBOpenDBRequest","Notification","DataTransfer","FormData"]),i=null,s=new Map;function f(e){try{return Reflect.construct(String,[],e),!0}catch{return!1}}function u(e,t){if(typeof e.value==="function"&&f(e.value))return e;if(typeof e.value==="function")return{...e,value:e.value.bind(t)};if(typeof e.get==="function"||typeof e.set==="function"){let o={configurable:e.configurable,enumerable:e.enumerable};if(e.get)o.get=e.get.bind(t);if(e.set)o.set=e.set.bind(t);return o}return e}function a(e,t){if(!s.has(e))s.set(e,Object.getOwnPropertyDescriptor(globalThis,e));Object.defineProperty(globalThis,e,{...t,configurable:!0})}class Le{static register(e={}){if(i)throw Error("GlobalRegistrator: already registered. Call unregister() first.");let t=new b(e);i=t;for(let n of Object.getOwnPropertyNames(t)){if(l.has(n))continue;if(n in globalThis&&!c.has(n))continue;let r=Object.getOwnPropertyDescriptor(t,n);if(!r)continue;a(n,u(r,t))}let o=Object.getPrototypeOf(t);for(let n of Object.getOwnPropertyNames(o)){if(l.has(n))continue;if(n in globalThis&&!c.has(n))continue;let r=Object.getOwnPropertyDescriptor(o,n);if(!r)continue;a(n,u(r,t))}a("window",{value:t,writable:!0}),a("document",{value:t.document,writable:!0})}static unregister(){if(!i)return;for(let[e,t]of s)try{if(t)Object.defineProperty(globalThis,e,t);else delete globalThis[e]}catch{}s.clear(),i=null}}
3
3
  export{Le};