ssr-emotion-react 1.0.0-beta.2 → 1.0.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,237 @@
1
1
  import { createRequire } from 'module';const require = createRequire(import.meta.url);
2
- import a from"@vitejs/plugin-react";function c(){return{name:"ssr-emotion-react",hooks:{"astro:config:setup":({addRenderer:s,updateConfig:o,injectScript:n,config:t,command:i})=>{s({name:"ssr-emotion-react",serverEntrypoint:"ssr-emotion-react/astro/render",clientEntrypoint:"ssr-emotion-react/astro/client"});let r=t.vite?.plugins?.some(e=>e&&(e.name==="vite:react-babel"||e.name==="vite:react-jsx"))||t.integrations?.some(e=>e.name==="@astrojs/react");i==="dev"&&!r&&n("before-hydration",`
2
+ import{a as Cr,b as zr,c as Py,d as s,e as y,f as x,g as w,h as D,i as tP}from"./chunk-QRCR45N4.js";var df=zr(Bu=>{"use strict";Bu.removeLeadingAndTrailingHTTPWhitespace=l=>l.replace(/^[ \t\n\r]+/u,"").replace(/[ \t\n\r]+$/u,"");Bu.removeTrailingHTTPWhitespace=l=>l.replace(/[ \t\n\r]+$/u,"");Bu.isHTTPWhitespaceChar=l=>l===" "||l===" "||l===`
3
+ `||l==="\r";Bu.solelyContainsHTTPTokenCodePoints=l=>/^[-!#$%&'*+.^_`|~A-Za-z0-9]*$/u.test(l);Bu.soleyContainsHTTPQuotedStringTokenCodePoints=l=>/^[\t\u0020-\u007E\u0080-\u00FF]*$/u.test(l);Bu.asciiLowercase=l=>l.replace(/[A-Z]/ug,e=>e.toLowerCase());Bu.collectAnHTTPQuotedString=(l,e)=>{let t="";for(e++;;){for(;e<l.length&&l[e]!=='"'&&l[e]!=="\\";)t+=l[e],++e;if(e>=l.length)break;let r=l[e];if(++e,r==="\\"){if(e>=l.length){t+="\\";break}t+=l[e],++e}else break}return[t,e]}});var O2=zr((cit,R2)=>{"use strict";var{asciiLowercase:VS,solelyContainsHTTPTokenCodePoints:iF,soleyContainsHTTPQuotedStringTokenCodePoints:sF}=df();R2.exports=class{constructor(e){this._map=e}get size(){return this._map.size}get(e){return e=VS(String(e)),this._map.get(e)}has(e){return e=VS(String(e)),this._map.has(e)}set(e,t){if(e=VS(String(e)),t=String(t),!iF(e))throw new Error(`Invalid MIME type parameter name "${e}": only HTTP token code points are valid.`);if(!sF(t))throw new Error(`Invalid MIME type parameter value "${t}": only HTTP quoted-string token code points are valid.`);return this._map.set(e,t)}clear(){this._map.clear()}delete(e){return e=VS(String(e)),this._map.delete(e)}forEach(e,t){this._map.forEach(e,t)}keys(){return this._map.keys()}values(){return this._map.values()}entries(){return this._map.entries()}[Symbol.iterator](){return this._map[Symbol.iterator]()}}});var D2=zr((hit,I2)=>{"use strict";var{removeLeadingAndTrailingHTTPWhitespace:nF,removeTrailingHTTPWhitespace:V2,isHTTPWhitespaceChar:lF,solelyContainsHTTPTokenCodePoints:D0,soleyContainsHTTPQuotedStringTokenCodePoints:aF,asciiLowercase:F0,collectAnHTTPQuotedString:uF}=df();I2.exports=l=>{l=nF(l);let e=0,t="";for(;e<l.length&&l[e]!=="/";)t+=l[e],++e;if(t.length===0||!D0(t)||e>=l.length)return null;++e;let r="";for(;e<l.length&&l[e]!==";";)r+=l[e],++e;if(r=V2(r),r.length===0||!D0(r))return null;let o={type:F0(t),subtype:F0(r),parameters:new Map};for(;e<l.length;){for(++e;lF(l[e]);)++e;let i="";for(;e<l.length&&l[e]!==";"&&l[e]!=="=";)i+=l[e],++e;if(i=F0(i),e<l.length){if(l[e]===";")continue;++e}let n=null;if(l[e]==='"')for([n,e]=uF(l,e);e<l.length&&l[e]!==";";)++e;else{for(n="";e<l.length&&l[e]!==";";)n+=l[e],++e;if(n=V2(n),n==="")continue}i.length>0&&D0(i)&&aF(n)&&!o.parameters.has(i)&&o.parameters.set(i,n)}return o}});var _2=zr((dit,F2)=>{"use strict";var{solelyContainsHTTPTokenCodePoints:mF}=df();F2.exports=l=>{let e=`${l.type}/${l.subtype}`;if(l.parameters.size===0)return e;for(let[t,r]of l.parameters)e+=";",e+=t,e+="=",(!mF(r)||r.length===0)&&(r=r.replace(/(["\\])/ug,"\\$1"),r=`"${r}"`),e+=r;return e}});var H2=zr((fit,G2)=>{"use strict";var yF=O2(),pF=D2(),cF=_2(),{asciiLowercase:B2,solelyContainsHTTPTokenCodePoints:U2}=df();G2.exports=class{constructor(e){e=String(e);let t=pF(e);if(t===null)throw new Error(`Could not parse MIME type string "${e}"`);this._type=t.type,this._subtype=t.subtype,this._parameters=new yF(t.parameters)}static parse(e){try{return new this(e)}catch{return null}}get essence(){return`${this.type}/${this.subtype}`}get type(){return this._type}set type(e){if(e=B2(String(e)),e.length===0)throw new Error("Invalid type: must be a non-empty string");if(!U2(e))throw new Error(`Invalid type ${e}: must contain only HTTP token code points`);this._type=e}get subtype(){return this._subtype}set subtype(e){if(e=B2(String(e)),e.length===0)throw new Error("Invalid subtype: must be a non-empty string");if(!U2(e))throw new Error(`Invalid subtype ${e}: must contain only HTTP token code points`);this._subtype=e}get parameters(){return this._parameters}toString(){return cF(this)}isJavaScript({prohibitParameters:e=!1}={}){switch(this._type){case"text":switch(this._subtype){case"ecmascript":case"javascript":case"javascript1.0":case"javascript1.1":case"javascript1.2":case"javascript1.3":case"javascript1.4":case"javascript1.5":case"jscript":case"livescript":case"x-ecmascript":case"x-javascript":return!e||this._parameters.size===0;default:return!1}case"application":switch(this._subtype){case"ecmascript":case"javascript":case"x-ecmascript":case"x-javascript":return!e||this._parameters.size===0;default:return!1}default:return!1}}isXML(){return this._subtype==="xml"&&(this._type==="text"||this._type==="application")||this._subtype.endsWith("+xml")}isHTML(){return this._subtype==="html"&&this._type==="text"}}});var sa=zr((Bit,tN)=>{"use strict";var Z2=["nodebuffer","arraybuffer","fragments"],Q2=typeof Blob<"u";Q2&&Z2.push("blob");tN.exports={BINARY_TYPES:Z2,CLOSE_TIMEOUT:3e4,EMPTY_BUFFER:Buffer.alloc(0),GUID:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",hasBlob:Q2,kForOnEventAttribute:Symbol("kIsForOnEventAttribute"),kListener:Symbol("kListener"),kStatusCode:Symbol("status-code"),kWebSocket:Symbol("websocket"),NOOP:()=>{}}});var Sf=zr((Uit,IS)=>{"use strict";var{EMPTY_BUFFER:gF}=sa(),q0=Buffer[Symbol.species];function SF(l,e){if(l.length===0)return gF;if(l.length===1)return l[0];let t=Buffer.allocUnsafe(e),r=0;for(let o=0;o<l.length;o++){let i=l[o];t.set(i,r),r+=i.length}return r<e?new q0(t.buffer,t.byteOffset,r):t}function eN(l,e,t,r,o){for(let i=0;i<o;i++)t[r+i]=l[i]^e[i&3]}function rN(l,e){for(let t=0;t<l.length;t++)l[t]^=e[t&3]}function PF(l){return l.length===l.buffer.byteLength?l.buffer:l.buffer.slice(l.byteOffset,l.byteOffset+l.length)}function $0(l){if($0.readOnly=!0,Buffer.isBuffer(l))return l;let e;return l instanceof ArrayBuffer?e=new q0(l):ArrayBuffer.isView(l)?e=new q0(l.buffer,l.byteOffset,l.byteLength):(e=Buffer.from(l),$0.readOnly=!1),e}IS.exports={concat:SF,mask:eN,toArrayBuffer:PF,toBuffer:$0,unmask:rN};if(!process.env.WS_NO_BUFFER_UTIL)try{let l=Cr("bufferutil");IS.exports.mask=function(e,t,r,o,i){i<48?eN(e,t,r,o,i):l.mask(e,t,r,o,i)},IS.exports.unmask=function(e,t){e.length<32?rN(e,t):l.unmask(e,t)}}catch{}});var sN=zr((Git,iN)=>{"use strict";var oN=Symbol("kDone"),W0=Symbol("kRun"),j0=class{constructor(e){this[oN]=()=>{this.pending--,this[W0]()},this.concurrency=e||1/0,this.jobs=[],this.pending=0}add(e){this.jobs.push(e),this[W0]()}[W0](){if(this.pending!==this.concurrency&&this.jobs.length){let e=this.jobs.shift();this.pending++,e(this[oN])}}};iN.exports=j0});var wf=zr((Hit,uN)=>{"use strict";var Pf=Cr("zlib"),nN=Sf(),wF=sN(),{kStatusCode:lN}=sa(),xF=Buffer[Symbol.species],EF=Buffer.from([0,0,255,255]),FS=Symbol("permessage-deflate"),na=Symbol("total-length"),Xc=Symbol("callback"),Hu=Symbol("buffers"),Yc=Symbol("error"),DS,z0=class{constructor(e,t,r){if(this._maxPayload=r|0,this._options=e||{},this._threshold=this._options.threshold!==void 0?this._options.threshold:1024,this._isServer=!!t,this._deflate=null,this._inflate=null,this.params=null,!DS){let o=this._options.concurrencyLimit!==void 0?this._options.concurrencyLimit:10;DS=new wF(o)}}static get extensionName(){return"permessage-deflate"}offer(){let e={};return this._options.serverNoContextTakeover&&(e.server_no_context_takeover=!0),this._options.clientNoContextTakeover&&(e.client_no_context_takeover=!0),this._options.serverMaxWindowBits&&(e.server_max_window_bits=this._options.serverMaxWindowBits),this._options.clientMaxWindowBits?e.client_max_window_bits=this._options.clientMaxWindowBits:this._options.clientMaxWindowBits==null&&(e.client_max_window_bits=!0),e}accept(e){return e=this.normalizeParams(e),this.params=this._isServer?this.acceptAsServer(e):this.acceptAsClient(e),this.params}cleanup(){if(this._inflate&&(this._inflate.close(),this._inflate=null),this._deflate){let e=this._deflate[Xc];this._deflate.close(),this._deflate=null,e&&e(new Error("The deflate stream was closed while data was being processed"))}}acceptAsServer(e){let t=this._options,r=e.find(o=>!(t.serverNoContextTakeover===!1&&o.server_no_context_takeover||o.server_max_window_bits&&(t.serverMaxWindowBits===!1||typeof t.serverMaxWindowBits=="number"&&t.serverMaxWindowBits>o.server_max_window_bits)||typeof t.clientMaxWindowBits=="number"&&!o.client_max_window_bits));if(!r)throw new Error("None of the extension offers can be accepted");return t.serverNoContextTakeover&&(r.server_no_context_takeover=!0),t.clientNoContextTakeover&&(r.client_no_context_takeover=!0),typeof t.serverMaxWindowBits=="number"&&(r.server_max_window_bits=t.serverMaxWindowBits),typeof t.clientMaxWindowBits=="number"?r.client_max_window_bits=t.clientMaxWindowBits:(r.client_max_window_bits===!0||t.clientMaxWindowBits===!1)&&delete r.client_max_window_bits,r}acceptAsClient(e){let t=e[0];if(this._options.clientNoContextTakeover===!1&&t.client_no_context_takeover)throw new Error('Unexpected parameter "client_no_context_takeover"');if(!t.client_max_window_bits)typeof this._options.clientMaxWindowBits=="number"&&(t.client_max_window_bits=this._options.clientMaxWindowBits);else if(this._options.clientMaxWindowBits===!1||typeof this._options.clientMaxWindowBits=="number"&&t.client_max_window_bits>this._options.clientMaxWindowBits)throw new Error('Unexpected or invalid parameter "client_max_window_bits"');return t}normalizeParams(e){return e.forEach(t=>{Object.keys(t).forEach(r=>{let o=t[r];if(o.length>1)throw new Error(`Parameter "${r}" must have only a single value`);if(o=o[0],r==="client_max_window_bits"){if(o!==!0){let i=+o;if(!Number.isInteger(i)||i<8||i>15)throw new TypeError(`Invalid value for parameter "${r}": ${o}`);o=i}else if(!this._isServer)throw new TypeError(`Invalid value for parameter "${r}": ${o}`)}else if(r==="server_max_window_bits"){let i=+o;if(!Number.isInteger(i)||i<8||i>15)throw new TypeError(`Invalid value for parameter "${r}": ${o}`);o=i}else if(r==="client_no_context_takeover"||r==="server_no_context_takeover"){if(o!==!0)throw new TypeError(`Invalid value for parameter "${r}": ${o}`)}else throw new Error(`Unknown parameter "${r}"`);t[r]=o})}),e}decompress(e,t,r){DS.add(o=>{this._decompress(e,t,(i,n)=>{o(),r(i,n)})})}compress(e,t,r){DS.add(o=>{this._compress(e,t,(i,n)=>{o(),r(i,n)})})}_decompress(e,t,r){let o=this._isServer?"client":"server";if(!this._inflate){let i=`${o}_max_window_bits`,n=typeof this.params[i]!="number"?Pf.Z_DEFAULT_WINDOWBITS:this.params[i];this._inflate=Pf.createInflateRaw({...this._options.zlibInflateOptions,windowBits:n}),this._inflate[FS]=this,this._inflate[na]=0,this._inflate[Hu]=[],this._inflate.on("error",AF),this._inflate.on("data",aN)}this._inflate[Xc]=r,this._inflate.write(e),t&&this._inflate.write(EF),this._inflate.flush(()=>{let i=this._inflate[Yc];if(i){this._inflate.close(),this._inflate=null,r(i);return}let n=nN.concat(this._inflate[Hu],this._inflate[na]);this._inflate._readableState.endEmitted?(this._inflate.close(),this._inflate=null):(this._inflate[na]=0,this._inflate[Hu]=[],t&&this.params[`${o}_no_context_takeover`]&&this._inflate.reset()),r(null,n)})}_compress(e,t,r){let o=this._isServer?"server":"client";if(!this._deflate){let i=`${o}_max_window_bits`,n=typeof this.params[i]!="number"?Pf.Z_DEFAULT_WINDOWBITS:this.params[i];this._deflate=Pf.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:n}),this._deflate[na]=0,this._deflate[Hu]=[],this._deflate.on("data",vF)}this._deflate[Xc]=r,this._deflate.write(e),this._deflate.flush(Pf.Z_SYNC_FLUSH,()=>{if(!this._deflate)return;let i=nN.concat(this._deflate[Hu],this._deflate[na]);t&&(i=new xF(i.buffer,i.byteOffset,i.length-4)),this._deflate[Xc]=null,this._deflate[na]=0,this._deflate[Hu]=[],t&&this.params[`${o}_no_context_takeover`]&&this._deflate.reset(),r(null,i)})}};uN.exports=z0;function vF(l){this[Hu].push(l),this[na]+=l.length}function aN(l){if(this[na]+=l.length,this[FS]._maxPayload<1||this[na]<=this[FS]._maxPayload){this[Hu].push(l);return}this[Yc]=new RangeError("Max payload size exceeded"),this[Yc].code="WS_ERR_UNSUPPORTED_MESSAGE_LENGTH",this[Yc][lN]=1009,this.removeListener("data",aN),this.reset()}function AF(l){if(this[FS]._inflate=null,this[Yc]){this[Xc](this[Yc]);return}l[lN]=1007,this[Xc](l)}});var Kc=zr((qit,_S)=>{"use strict";var{isUtf8:mN}=Cr("buffer"),{hasBlob:TF}=sa(),NF=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0];function LF(l){return l>=1e3&&l<=1014&&l!==1004&&l!==1005&&l!==1006||l>=3e3&&l<=4999}function X0(l){let e=l.length,t=0;for(;t<e;)if((l[t]&128)===0)t++;else if((l[t]&224)===192){if(t+1===e||(l[t+1]&192)!==128||(l[t]&254)===192)return!1;t+=2}else if((l[t]&240)===224){if(t+2>=e||(l[t+1]&192)!==128||(l[t+2]&192)!==128||l[t]===224&&(l[t+1]&224)===128||l[t]===237&&(l[t+1]&224)===160)return!1;t+=3}else if((l[t]&248)===240){if(t+3>=e||(l[t+1]&192)!==128||(l[t+2]&192)!==128||(l[t+3]&192)!==128||l[t]===240&&(l[t+1]&240)===128||l[t]===244&&l[t+1]>143||l[t]>244)return!1;t+=4}else return!1;return!0}function CF(l){return TF&&typeof l=="object"&&typeof l.arrayBuffer=="function"&&typeof l.type=="string"&&typeof l.stream=="function"&&(l[Symbol.toStringTag]==="Blob"||l[Symbol.toStringTag]==="File")}_S.exports={isBlob:CF,isValidStatusCode:LF,isValidUTF8:X0,tokenChars:NF};if(mN)_S.exports.isValidUTF8=function(l){return l.length<24?X0(l):mN(l)};else if(!process.env.WS_NO_UTF_8_VALIDATE)try{let l=Cr("utf-8-validate");_S.exports.isValidUTF8=function(e){return e.length<32?X0(e):l(e)}}catch{}});var Q0=zr(($it,fN)=>{"use strict";var{Writable:kF}=Cr("stream"),yN=wf(),{BINARY_TYPES:MF,EMPTY_BUFFER:pN,kStatusCode:RF,kWebSocket:OF}=sa(),{concat:Y0,toArrayBuffer:VF,unmask:IF}=Sf(),{isValidStatusCode:DF,isValidUTF8:cN}=Kc(),BS=Buffer[Symbol.species],us=0,hN=1,dN=2,bN=3,K0=4,J0=5,US=6,Z0=class extends kF{constructor(e={}){super(),this._allowSynchronousEvents=e.allowSynchronousEvents!==void 0?e.allowSynchronousEvents:!0,this._binaryType=e.binaryType||MF[0],this._extensions=e.extensions||{},this._isServer=!!e.isServer,this._maxPayload=e.maxPayload|0,this._skipUTF8Validation=!!e.skipUTF8Validation,this[OF]=void 0,this._bufferedBytes=0,this._buffers=[],this._compressed=!1,this._payloadLength=0,this._mask=void 0,this._fragmented=0,this._masked=!1,this._fin=!1,this._opcode=0,this._totalPayloadLength=0,this._messageLength=0,this._fragments=[],this._errored=!1,this._loop=!1,this._state=us}_write(e,t,r){if(this._opcode===8&&this._state==us)return r();this._bufferedBytes+=e.length,this._buffers.push(e),this.startLoop(r)}consume(e){if(this._bufferedBytes-=e,e===this._buffers[0].length)return this._buffers.shift();if(e<this._buffers[0].length){let r=this._buffers[0];return this._buffers[0]=new BS(r.buffer,r.byteOffset+e,r.length-e),new BS(r.buffer,r.byteOffset,e)}let t=Buffer.allocUnsafe(e);do{let r=this._buffers[0],o=t.length-e;e>=r.length?t.set(this._buffers.shift(),o):(t.set(new Uint8Array(r.buffer,r.byteOffset,e),o),this._buffers[0]=new BS(r.buffer,r.byteOffset+e,r.length-e)),e-=r.length}while(e>0);return t}startLoop(e){this._loop=!0;do switch(this._state){case us:this.getInfo(e);break;case hN:this.getPayloadLength16(e);break;case dN:this.getPayloadLength64(e);break;case bN:this.getMask();break;case K0:this.getData(e);break;case J0:case US:this._loop=!1;return}while(this._loop);this._errored||e()}getInfo(e){if(this._bufferedBytes<2){this._loop=!1;return}let t=this.consume(2);if((t[0]&48)!==0){let o=this.createError(RangeError,"RSV2 and RSV3 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_2_3");e(o);return}let r=(t[0]&64)===64;if(r&&!this._extensions[yN.extensionName]){let o=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");e(o);return}if(this._fin=(t[0]&128)===128,this._opcode=t[0]&15,this._payloadLength=t[1]&127,this._opcode===0){if(r){let o=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");e(o);return}if(!this._fragmented){let o=this.createError(RangeError,"invalid opcode 0",!0,1002,"WS_ERR_INVALID_OPCODE");e(o);return}this._opcode=this._fragmented}else if(this._opcode===1||this._opcode===2){if(this._fragmented){let o=this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");e(o);return}this._compressed=r}else if(this._opcode>7&&this._opcode<11){if(!this._fin){let o=this.createError(RangeError,"FIN must be set",!0,1002,"WS_ERR_EXPECTED_FIN");e(o);return}if(r){let o=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");e(o);return}if(this._payloadLength>125||this._opcode===8&&this._payloadLength===1){let o=this.createError(RangeError,`invalid payload length ${this._payloadLength}`,!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH");e(o);return}}else{let o=this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");e(o);return}if(!this._fin&&!this._fragmented&&(this._fragmented=this._opcode),this._masked=(t[1]&128)===128,this._isServer){if(!this._masked){let o=this.createError(RangeError,"MASK must be set",!0,1002,"WS_ERR_EXPECTED_MASK");e(o);return}}else if(this._masked){let o=this.createError(RangeError,"MASK must be clear",!0,1002,"WS_ERR_UNEXPECTED_MASK");e(o);return}this._payloadLength===126?this._state=hN:this._payloadLength===127?this._state=dN:this.haveLength(e)}getPayloadLength16(e){if(this._bufferedBytes<2){this._loop=!1;return}this._payloadLength=this.consume(2).readUInt16BE(0),this.haveLength(e)}getPayloadLength64(e){if(this._bufferedBytes<8){this._loop=!1;return}let t=this.consume(8),r=t.readUInt32BE(0);if(r>Math.pow(2,21)-1){let o=this.createError(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",!1,1009,"WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH");e(o);return}this._payloadLength=r*Math.pow(2,32)+t.readUInt32BE(4),this.haveLength(e)}haveLength(e){if(this._payloadLength&&this._opcode<8&&(this._totalPayloadLength+=this._payloadLength,this._totalPayloadLength>this._maxPayload&&this._maxPayload>0)){let t=this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");e(t);return}this._masked?this._state=bN:this._state=K0}getMask(){if(this._bufferedBytes<4){this._loop=!1;return}this._mask=this.consume(4),this._state=K0}getData(e){let t=pN;if(this._payloadLength){if(this._bufferedBytes<this._payloadLength){this._loop=!1;return}t=this.consume(this._payloadLength),this._masked&&(this._mask[0]|this._mask[1]|this._mask[2]|this._mask[3])!==0&&IF(t,this._mask)}if(this._opcode>7){this.controlMessage(t,e);return}if(this._compressed){this._state=J0,this.decompress(t,e);return}t.length&&(this._messageLength=this._totalPayloadLength,this._fragments.push(t)),this.dataMessage(e)}decompress(e,t){this._extensions[yN.extensionName].decompress(e,this._fin,(o,i)=>{if(o)return t(o);if(i.length){if(this._messageLength+=i.length,this._messageLength>this._maxPayload&&this._maxPayload>0){let n=this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");t(n);return}this._fragments.push(i)}this.dataMessage(t),this._state===us&&this.startLoop(t)})}dataMessage(e){if(!this._fin){this._state=us;return}let t=this._messageLength,r=this._fragments;if(this._totalPayloadLength=0,this._messageLength=0,this._fragmented=0,this._fragments=[],this._opcode===2){let o;this._binaryType==="nodebuffer"?o=Y0(r,t):this._binaryType==="arraybuffer"?o=VF(Y0(r,t)):this._binaryType==="blob"?o=new Blob(r):o=r,this._allowSynchronousEvents?(this.emit("message",o,!0),this._state=us):(this._state=US,setImmediate(()=>{this.emit("message",o,!0),this._state=us,this.startLoop(e)}))}else{let o=Y0(r,t);if(!this._skipUTF8Validation&&!cN(o)){let i=this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");e(i);return}this._state===J0||this._allowSynchronousEvents?(this.emit("message",o,!1),this._state=us):(this._state=US,setImmediate(()=>{this.emit("message",o,!1),this._state=us,this.startLoop(e)}))}}controlMessage(e,t){if(this._opcode===8){if(e.length===0)this._loop=!1,this.emit("conclude",1005,pN),this.end();else{let r=e.readUInt16BE(0);if(!DF(r)){let i=this.createError(RangeError,`invalid status code ${r}`,!0,1002,"WS_ERR_INVALID_CLOSE_CODE");t(i);return}let o=new BS(e.buffer,e.byteOffset+2,e.length-2);if(!this._skipUTF8Validation&&!cN(o)){let i=this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");t(i);return}this._loop=!1,this.emit("conclude",r,o),this.end()}this._state=us;return}this._allowSynchronousEvents?(this.emit(this._opcode===9?"ping":"pong",e),this._state=us):(this._state=US,setImmediate(()=>{this.emit(this._opcode===9?"ping":"pong",e),this._state=us,this.startLoop(t)}))}createError(e,t,r,o,i){this._loop=!1,this._errored=!0;let n=new e(r?`Invalid WebSocket frame: ${t}`:t);return Error.captureStackTrace(n,this.createError),n.code=i,n[RF]=o,n}};fN.exports=Z0});var rw=zr((jit,PN)=>{"use strict";var{Duplex:Wit}=Cr("stream"),{randomFillSync:FF}=Cr("crypto"),gN=wf(),{EMPTY_BUFFER:_F,kWebSocket:BF,NOOP:UF}=sa(),{isBlob:Jc,isValidStatusCode:GF}=Kc(),{mask:SN,toBuffer:sy}=Sf(),ms=Symbol("kByteLength"),HF=Buffer.alloc(4),GS=8*1024,ny,Zc=GS,Hs=0,qF=1,$F=2,tw=class l{constructor(e,t,r){this._extensions=t||{},r&&(this._generateMask=r,this._maskBuffer=Buffer.alloc(4)),this._socket=e,this._firstFragment=!0,this._compress=!1,this._bufferedBytes=0,this._queue=[],this._state=Hs,this.onerror=UF,this[BF]=void 0}static frame(e,t){let r,o=!1,i=2,n=!1;t.mask&&(r=t.maskBuffer||HF,t.generateMask?t.generateMask(r):(Zc===GS&&(ny===void 0&&(ny=Buffer.alloc(GS)),FF(ny,0,GS),Zc=0),r[0]=ny[Zc++],r[1]=ny[Zc++],r[2]=ny[Zc++],r[3]=ny[Zc++]),n=(r[0]|r[1]|r[2]|r[3])===0,i=6);let a;typeof e=="string"?(!t.mask||n)&&t[ms]!==void 0?a=t[ms]:(e=Buffer.from(e),a=e.length):(a=e.length,o=t.mask&&t.readOnly&&!n);let m=a;a>=65536?(i+=8,m=127):a>125&&(i+=2,m=126);let p=Buffer.allocUnsafe(o?a+i:i);return p[0]=t.fin?t.opcode|128:t.opcode,t.rsv1&&(p[0]|=64),p[1]=m,m===126?p.writeUInt16BE(a,2):m===127&&(p[2]=p[3]=0,p.writeUIntBE(a,4,6)),t.mask?(p[1]|=128,p[i-4]=r[0],p[i-3]=r[1],p[i-2]=r[2],p[i-1]=r[3],n?[p,e]:o?(SN(e,r,p,i,a),[p]):(SN(e,r,e,0,a),[p,e])):[p,e]}close(e,t,r,o){let i;if(e===void 0)i=_F;else{if(typeof e!="number"||!GF(e))throw new TypeError("First argument must be a valid error code number");if(t===void 0||!t.length)i=Buffer.allocUnsafe(2),i.writeUInt16BE(e,0);else{let a=Buffer.byteLength(t);if(a>123)throw new RangeError("The message must not be greater than 123 bytes");i=Buffer.allocUnsafe(2+a),i.writeUInt16BE(e,0),typeof t=="string"?i.write(t,2):i.set(t,2)}}let n={[ms]:i.length,fin:!0,generateMask:this._generateMask,mask:r,maskBuffer:this._maskBuffer,opcode:8,readOnly:!1,rsv1:!1};this._state!==Hs?this.enqueue([this.dispatch,i,!1,n,o]):this.sendFrame(l.frame(i,n),o)}ping(e,t,r){let o,i;if(typeof e=="string"?(o=Buffer.byteLength(e),i=!1):Jc(e)?(o=e.size,i=!1):(e=sy(e),o=e.length,i=sy.readOnly),o>125)throw new RangeError("The data size must not be greater than 125 bytes");let n={[ms]:o,fin:!0,generateMask:this._generateMask,mask:t,maskBuffer:this._maskBuffer,opcode:9,readOnly:i,rsv1:!1};Jc(e)?this._state!==Hs?this.enqueue([this.getBlobData,e,!1,n,r]):this.getBlobData(e,!1,n,r):this._state!==Hs?this.enqueue([this.dispatch,e,!1,n,r]):this.sendFrame(l.frame(e,n),r)}pong(e,t,r){let o,i;if(typeof e=="string"?(o=Buffer.byteLength(e),i=!1):Jc(e)?(o=e.size,i=!1):(e=sy(e),o=e.length,i=sy.readOnly),o>125)throw new RangeError("The data size must not be greater than 125 bytes");let n={[ms]:o,fin:!0,generateMask:this._generateMask,mask:t,maskBuffer:this._maskBuffer,opcode:10,readOnly:i,rsv1:!1};Jc(e)?this._state!==Hs?this.enqueue([this.getBlobData,e,!1,n,r]):this.getBlobData(e,!1,n,r):this._state!==Hs?this.enqueue([this.dispatch,e,!1,n,r]):this.sendFrame(l.frame(e,n),r)}send(e,t,r){let o=this._extensions[gN.extensionName],i=t.binary?2:1,n=t.compress,a,m;typeof e=="string"?(a=Buffer.byteLength(e),m=!1):Jc(e)?(a=e.size,m=!1):(e=sy(e),a=e.length,m=sy.readOnly),this._firstFragment?(this._firstFragment=!1,n&&o&&o.params[o._isServer?"server_no_context_takeover":"client_no_context_takeover"]&&(n=a>=o._threshold),this._compress=n):(n=!1,i=0),t.fin&&(this._firstFragment=!0);let p={[ms]:a,fin:t.fin,generateMask:this._generateMask,mask:t.mask,maskBuffer:this._maskBuffer,opcode:i,readOnly:m,rsv1:n};Jc(e)?this._state!==Hs?this.enqueue([this.getBlobData,e,this._compress,p,r]):this.getBlobData(e,this._compress,p,r):this._state!==Hs?this.enqueue([this.dispatch,e,this._compress,p,r]):this.dispatch(e,this._compress,p,r)}getBlobData(e,t,r,o){this._bufferedBytes+=r[ms],this._state=$F,e.arrayBuffer().then(i=>{if(this._socket.destroyed){let a=new Error("The socket was closed while the blob was being read");process.nextTick(ew,this,a,o);return}this._bufferedBytes-=r[ms];let n=sy(i);t?this.dispatch(n,t,r,o):(this._state=Hs,this.sendFrame(l.frame(n,r),o),this.dequeue())}).catch(i=>{process.nextTick(WF,this,i,o)})}dispatch(e,t,r,o){if(!t){this.sendFrame(l.frame(e,r),o);return}let i=this._extensions[gN.extensionName];this._bufferedBytes+=r[ms],this._state=qF,i.compress(e,r.fin,(n,a)=>{if(this._socket.destroyed){let m=new Error("The socket was closed while data was being compressed");ew(this,m,o);return}this._bufferedBytes-=r[ms],this._state=Hs,r.readOnly=!1,this.sendFrame(l.frame(a,r),o),this.dequeue()})}dequeue(){for(;this._state===Hs&&this._queue.length;){let e=this._queue.shift();this._bufferedBytes-=e[3][ms],Reflect.apply(e[0],this,e.slice(1))}}enqueue(e){this._bufferedBytes+=e[3][ms],this._queue.push(e)}sendFrame(e,t){e.length===2?(this._socket.cork(),this._socket.write(e[0]),this._socket.write(e[1],t),this._socket.uncork()):this._socket.write(e[0],t)}};PN.exports=tw;function ew(l,e,t){typeof t=="function"&&t(e);for(let r=0;r<l._queue.length;r++){let o=l._queue[r],i=o[o.length-1];typeof i=="function"&&i(e)}}function WF(l,e,t){ew(l,e,t),l.onerror(e)}});var CN=zr((zit,LN)=>{"use strict";var{kForOnEventAttribute:xf,kListener:ow}=sa(),wN=Symbol("kCode"),xN=Symbol("kData"),EN=Symbol("kError"),vN=Symbol("kMessage"),AN=Symbol("kReason"),Qc=Symbol("kTarget"),TN=Symbol("kType"),NN=Symbol("kWasClean"),la=class{constructor(e){this[Qc]=null,this[TN]=e}get target(){return this[Qc]}get type(){return this[TN]}};Object.defineProperty(la.prototype,"target",{enumerable:!0});Object.defineProperty(la.prototype,"type",{enumerable:!0});var ly=class extends la{constructor(e,t={}){super(e),this[wN]=t.code===void 0?0:t.code,this[AN]=t.reason===void 0?"":t.reason,this[NN]=t.wasClean===void 0?!1:t.wasClean}get code(){return this[wN]}get reason(){return this[AN]}get wasClean(){return this[NN]}};Object.defineProperty(ly.prototype,"code",{enumerable:!0});Object.defineProperty(ly.prototype,"reason",{enumerable:!0});Object.defineProperty(ly.prototype,"wasClean",{enumerable:!0});var th=class extends la{constructor(e,t={}){super(e),this[EN]=t.error===void 0?null:t.error,this[vN]=t.message===void 0?"":t.message}get error(){return this[EN]}get message(){return this[vN]}};Object.defineProperty(th.prototype,"error",{enumerable:!0});Object.defineProperty(th.prototype,"message",{enumerable:!0});var Ef=class extends la{constructor(e,t={}){super(e),this[xN]=t.data===void 0?null:t.data}get data(){return this[xN]}};Object.defineProperty(Ef.prototype,"data",{enumerable:!0});var jF={addEventListener(l,e,t={}){for(let o of this.listeners(l))if(!t[xf]&&o[ow]===e&&!o[xf])return;let r;if(l==="message")r=function(i,n){let a=new Ef("message",{data:n?i:i.toString()});a[Qc]=this,HS(e,this,a)};else if(l==="close")r=function(i,n){let a=new ly("close",{code:i,reason:n.toString(),wasClean:this._closeFrameReceived&&this._closeFrameSent});a[Qc]=this,HS(e,this,a)};else if(l==="error")r=function(i){let n=new th("error",{error:i,message:i.message});n[Qc]=this,HS(e,this,n)};else if(l==="open")r=function(){let i=new la("open");i[Qc]=this,HS(e,this,i)};else return;r[xf]=!!t[xf],r[ow]=e,t.once?this.once(l,r):this.on(l,r)},removeEventListener(l,e){for(let t of this.listeners(l))if(t[ow]===e&&!t[xf]){this.removeListener(l,t);break}}};LN.exports={CloseEvent:ly,ErrorEvent:th,Event:la,EventTarget:jF,MessageEvent:Ef};function HS(l,e,t){typeof l=="object"&&l.handleEvent?l.handleEvent.call(l,t):l.call(e,t)}});var iw=zr((Xit,kN)=>{"use strict";var{tokenChars:vf}=Kc();function rl(l,e,t){l[e]===void 0?l[e]=[t]:l[e].push(t)}function zF(l){let e=Object.create(null),t=Object.create(null),r=!1,o=!1,i=!1,n,a,m=-1,p=-1,b=-1,d=0;for(;d<l.length;d++)if(p=l.charCodeAt(d),n===void 0)if(b===-1&&vf[p]===1)m===-1&&(m=d);else if(d!==0&&(p===32||p===9))b===-1&&m!==-1&&(b=d);else if(p===59||p===44){if(m===-1)throw new SyntaxError(`Unexpected character at index ${d}`);b===-1&&(b=d);let v=l.slice(m,b);p===44?(rl(e,v,t),t=Object.create(null)):n=v,m=b=-1}else throw new SyntaxError(`Unexpected character at index ${d}`);else if(a===void 0)if(b===-1&&vf[p]===1)m===-1&&(m=d);else if(p===32||p===9)b===-1&&m!==-1&&(b=d);else if(p===59||p===44){if(m===-1)throw new SyntaxError(`Unexpected character at index ${d}`);b===-1&&(b=d),rl(t,l.slice(m,b),!0),p===44&&(rl(e,n,t),t=Object.create(null),n=void 0),m=b=-1}else if(p===61&&m!==-1&&b===-1)a=l.slice(m,d),m=b=-1;else throw new SyntaxError(`Unexpected character at index ${d}`);else if(o){if(vf[p]!==1)throw new SyntaxError(`Unexpected character at index ${d}`);m===-1?m=d:r||(r=!0),o=!1}else if(i)if(vf[p]===1)m===-1&&(m=d);else if(p===34&&m!==-1)i=!1,b=d;else if(p===92)o=!0;else throw new SyntaxError(`Unexpected character at index ${d}`);else if(p===34&&l.charCodeAt(d-1)===61)i=!0;else if(b===-1&&vf[p]===1)m===-1&&(m=d);else if(m!==-1&&(p===32||p===9))b===-1&&(b=d);else if(p===59||p===44){if(m===-1)throw new SyntaxError(`Unexpected character at index ${d}`);b===-1&&(b=d);let v=l.slice(m,b);r&&(v=v.replace(/\\/g,""),r=!1),rl(t,a,v),p===44&&(rl(e,n,t),t=Object.create(null),n=void 0),a=void 0,m=b=-1}else throw new SyntaxError(`Unexpected character at index ${d}`);if(m===-1||i||p===32||p===9)throw new SyntaxError("Unexpected end of input");b===-1&&(b=d);let f=l.slice(m,b);return n===void 0?rl(e,f,t):(a===void 0?rl(t,f,!0):r?rl(t,a,f.replace(/\\/g,"")):rl(t,a,f),rl(e,n,t)),e}function XF(l){return Object.keys(l).map(e=>{let t=l[e];return Array.isArray(t)||(t=[t]),t.map(r=>[e].concat(Object.keys(r).map(o=>{let i=r[o];return Array.isArray(i)||(i=[i]),i.map(n=>n===!0?o:`${o}=${n}`).join("; ")})).join("; ")).join(", ")}).join(", ")}kN.exports={format:XF,parse:zF}});var jS=zr((Jit,HN)=>{"use strict";var YF=Cr("events"),KF=Cr("https"),JF=Cr("http"),ON=Cr("net"),ZF=Cr("tls"),{randomBytes:QF,createHash:t8}=Cr("crypto"),{Duplex:Yit,Readable:Kit}=Cr("stream"),{URL:sw}=Cr("url"),qu=wf(),e8=Q0(),r8=rw(),{isBlob:o8}=Kc(),{BINARY_TYPES:MN,CLOSE_TIMEOUT:i8,EMPTY_BUFFER:qS,GUID:s8,kForOnEventAttribute:nw,kListener:n8,kStatusCode:l8,kWebSocket:no,NOOP:VN}=sa(),{EventTarget:{addEventListener:a8,removeEventListener:u8}}=CN(),{format:m8,parse:y8}=iw(),{toBuffer:p8}=Sf(),IN=Symbol("kAborted"),lw=[8,13],aa=["CONNECTING","OPEN","CLOSING","CLOSED"],c8=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/,tr=class l extends YF{constructor(e,t,r){super(),this._binaryType=MN[0],this._closeCode=1006,this._closeFrameReceived=!1,this._closeFrameSent=!1,this._closeMessage=qS,this._closeTimer=null,this._errorEmitted=!1,this._extensions={},this._paused=!1,this._protocol="",this._readyState=l.CONNECTING,this._receiver=null,this._sender=null,this._socket=null,e!==null?(this._bufferedAmount=0,this._isServer=!1,this._redirects=0,t===void 0?t=[]:Array.isArray(t)||(typeof t=="object"&&t!==null?(r=t,t=[]):t=[t]),DN(this,e,t,r)):(this._autoPong=r.autoPong,this._closeTimeout=r.closeTimeout,this._isServer=!0)}get binaryType(){return this._binaryType}set binaryType(e){MN.includes(e)&&(this._binaryType=e,this._receiver&&(this._receiver._binaryType=e))}get bufferedAmount(){return this._socket?this._socket._writableState.length+this._sender._bufferedBytes:this._bufferedAmount}get extensions(){return Object.keys(this._extensions).join()}get isPaused(){return this._paused}get onclose(){return null}get onerror(){return null}get onopen(){return null}get onmessage(){return null}get protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}setSocket(e,t,r){let o=new e8({allowSynchronousEvents:r.allowSynchronousEvents,binaryType:this.binaryType,extensions:this._extensions,isServer:this._isServer,maxPayload:r.maxPayload,skipUTF8Validation:r.skipUTF8Validation}),i=new r8(e,this._extensions,r.generateMask);this._receiver=o,this._sender=i,this._socket=e,o[no]=this,i[no]=this,e[no]=this,o.on("conclude",b8),o.on("drain",f8),o.on("error",g8),o.on("message",S8),o.on("ping",P8),o.on("pong",w8),i.onerror=x8,e.setTimeout&&e.setTimeout(0),e.setNoDelay&&e.setNoDelay(),t.length>0&&e.unshift(t),e.on("close",BN),e.on("data",WS),e.on("end",UN),e.on("error",GN),this._readyState=l.OPEN,this.emit("open")}emitClose(){if(!this._socket){this._readyState=l.CLOSED,this.emit("close",this._closeCode,this._closeMessage);return}this._extensions[qu.extensionName]&&this._extensions[qu.extensionName].cleanup(),this._receiver.removeAllListeners(),this._readyState=l.CLOSED,this.emit("close",this._closeCode,this._closeMessage)}close(e,t){if(this.readyState!==l.CLOSED){if(this.readyState===l.CONNECTING){Bi(this,this._req,"WebSocket was closed before the connection was established");return}if(this.readyState===l.CLOSING){this._closeFrameSent&&(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end();return}this._readyState=l.CLOSING,this._sender.close(e,t,!this._isServer,r=>{r||(this._closeFrameSent=!0,(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end())}),_N(this)}}pause(){this.readyState===l.CONNECTING||this.readyState===l.CLOSED||(this._paused=!0,this._socket.pause())}ping(e,t,r){if(this.readyState===l.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof e=="function"?(r=e,e=t=void 0):typeof t=="function"&&(r=t,t=void 0),typeof e=="number"&&(e=e.toString()),this.readyState!==l.OPEN){aw(this,e,r);return}t===void 0&&(t=!this._isServer),this._sender.ping(e||qS,t,r)}pong(e,t,r){if(this.readyState===l.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof e=="function"?(r=e,e=t=void 0):typeof t=="function"&&(r=t,t=void 0),typeof e=="number"&&(e=e.toString()),this.readyState!==l.OPEN){aw(this,e,r);return}t===void 0&&(t=!this._isServer),this._sender.pong(e||qS,t,r)}resume(){this.readyState===l.CONNECTING||this.readyState===l.CLOSED||(this._paused=!1,this._receiver._writableState.needDrain||this._socket.resume())}send(e,t,r){if(this.readyState===l.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof t=="function"&&(r=t,t={}),typeof e=="number"&&(e=e.toString()),this.readyState!==l.OPEN){aw(this,e,r);return}let o={binary:typeof e!="string",mask:!this._isServer,compress:!0,fin:!0,...t};this._extensions[qu.extensionName]||(o.compress=!1),this._sender.send(e||qS,o,r)}terminate(){if(this.readyState!==l.CLOSED){if(this.readyState===l.CONNECTING){Bi(this,this._req,"WebSocket was closed before the connection was established");return}this._socket&&(this._readyState=l.CLOSING,this._socket.destroy())}}};Object.defineProperty(tr,"CONNECTING",{enumerable:!0,value:aa.indexOf("CONNECTING")});Object.defineProperty(tr.prototype,"CONNECTING",{enumerable:!0,value:aa.indexOf("CONNECTING")});Object.defineProperty(tr,"OPEN",{enumerable:!0,value:aa.indexOf("OPEN")});Object.defineProperty(tr.prototype,"OPEN",{enumerable:!0,value:aa.indexOf("OPEN")});Object.defineProperty(tr,"CLOSING",{enumerable:!0,value:aa.indexOf("CLOSING")});Object.defineProperty(tr.prototype,"CLOSING",{enumerable:!0,value:aa.indexOf("CLOSING")});Object.defineProperty(tr,"CLOSED",{enumerable:!0,value:aa.indexOf("CLOSED")});Object.defineProperty(tr.prototype,"CLOSED",{enumerable:!0,value:aa.indexOf("CLOSED")});["binaryType","bufferedAmount","extensions","isPaused","protocol","readyState","url"].forEach(l=>{Object.defineProperty(tr.prototype,l,{enumerable:!0})});["open","error","close","message"].forEach(l=>{Object.defineProperty(tr.prototype,`on${l}`,{enumerable:!0,get(){for(let e of this.listeners(l))if(e[nw])return e[n8];return null},set(e){for(let t of this.listeners(l))if(t[nw]){this.removeListener(l,t);break}typeof e=="function"&&this.addEventListener(l,e,{[nw]:!0})}})});tr.prototype.addEventListener=a8;tr.prototype.removeEventListener=u8;HN.exports=tr;function DN(l,e,t,r){let o={allowSynchronousEvents:!0,autoPong:!0,closeTimeout:i8,protocolVersion:lw[1],maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!0,followRedirects:!1,maxRedirects:10,...r,socketPath:void 0,hostname:void 0,protocol:void 0,timeout:void 0,method:"GET",host:void 0,path:void 0,port:void 0};if(l._autoPong=o.autoPong,l._closeTimeout=o.closeTimeout,!lw.includes(o.protocolVersion))throw new RangeError(`Unsupported protocol version: ${o.protocolVersion} (supported versions: ${lw.join(", ")})`);let i;if(e instanceof sw)i=e;else try{i=new sw(e)}catch{throw new SyntaxError(`Invalid URL: ${e}`)}i.protocol==="http:"?i.protocol="ws:":i.protocol==="https:"&&(i.protocol="wss:"),l._url=i.href;let n=i.protocol==="wss:",a=i.protocol==="ws+unix:",m;if(i.protocol!=="ws:"&&!n&&!a?m=`The URL's protocol must be one of "ws:", "wss:", "http:", "https:", or "ws+unix:"`:a&&!i.pathname?m="The URL's pathname is empty":i.hash&&(m="The URL contains a fragment identifier"),m){let L=new SyntaxError(m);if(l._redirects===0)throw L;$S(l,L);return}let p=n?443:80,b=QF(16).toString("base64"),d=n?KF.request:JF.request,f=new Set,v;if(o.createConnection=o.createConnection||(n?d8:h8),o.defaultPort=o.defaultPort||p,o.port=i.port||p,o.host=i.hostname.startsWith("[")?i.hostname.slice(1,-1):i.hostname,o.headers={...o.headers,"Sec-WebSocket-Version":o.protocolVersion,"Sec-WebSocket-Key":b,Connection:"Upgrade",Upgrade:"websocket"},o.path=i.pathname+i.search,o.timeout=o.handshakeTimeout,o.perMessageDeflate&&(v=new qu(o.perMessageDeflate!==!0?o.perMessageDeflate:{},!1,o.maxPayload),o.headers["Sec-WebSocket-Extensions"]=m8({[qu.extensionName]:v.offer()})),t.length){for(let L of t){if(typeof L!="string"||!c8.test(L)||f.has(L))throw new SyntaxError("An invalid or duplicated subprotocol was specified");f.add(L)}o.headers["Sec-WebSocket-Protocol"]=t.join(",")}if(o.origin&&(o.protocolVersion<13?o.headers["Sec-WebSocket-Origin"]=o.origin:o.headers.Origin=o.origin),(i.username||i.password)&&(o.auth=`${i.username}:${i.password}`),a){let L=o.path.split(":");o.socketPath=L[0],o.path=L[1]}let C;if(o.followRedirects){if(l._redirects===0){l._originalIpc=a,l._originalSecure=n,l._originalHostOrSocketPath=a?o.socketPath:i.host;let L=r&&r.headers;if(r={...r,headers:{}},L)for(let[j,et]of Object.entries(L))r.headers[j.toLowerCase()]=et}else if(l.listenerCount("redirect")===0){let L=a?l._originalIpc?o.socketPath===l._originalHostOrSocketPath:!1:l._originalIpc?!1:i.host===l._originalHostOrSocketPath;(!L||l._originalSecure&&!n)&&(delete o.headers.authorization,delete o.headers.cookie,L||delete o.headers.host,o.auth=void 0)}o.auth&&!r.headers.authorization&&(r.headers.authorization="Basic "+Buffer.from(o.auth).toString("base64")),C=l._req=d(o),l._redirects&&l.emit("redirect",l.url,C)}else C=l._req=d(o);o.timeout&&C.on("timeout",()=>{Bi(l,C,"Opening handshake has timed out")}),C.on("error",L=>{C===null||C[IN]||(C=l._req=null,$S(l,L))}),C.on("response",L=>{let j=L.headers.location,et=L.statusCode;if(j&&o.followRedirects&&et>=300&&et<400){if(++l._redirects>o.maxRedirects){Bi(l,C,"Maximum redirects exceeded");return}C.abort();let J;try{J=new sw(j,e)}catch{let $t=new SyntaxError(`Invalid URL: ${j}`);$S(l,$t);return}DN(l,J,t,r)}else l.emit("unexpected-response",C,L)||Bi(l,C,`Unexpected server response: ${L.statusCode}`)}),C.on("upgrade",(L,j,et)=>{if(l.emit("upgrade",L),l.readyState!==tr.CONNECTING)return;C=l._req=null;let J=L.headers.upgrade;if(J===void 0||J.toLowerCase()!=="websocket"){Bi(l,j,"Invalid Upgrade header");return}let ht=t8("sha1").update(b+s8).digest("base64");if(L.headers["sec-websocket-accept"]!==ht){Bi(l,j,"Invalid Sec-WebSocket-Accept header");return}let $t=L.headers["sec-websocket-protocol"],Nt;if($t!==void 0?f.size?f.has($t)||(Nt="Server sent an invalid subprotocol"):Nt="Server sent a subprotocol but none was requested":f.size&&(Nt="Server sent no subprotocol"),Nt){Bi(l,j,Nt);return}$t&&(l._protocol=$t);let te=L.headers["sec-websocket-extensions"];if(te!==void 0){if(!v){Bi(l,j,"Server sent a Sec-WebSocket-Extensions header but no extension was requested");return}let Lt;try{Lt=y8(te)}catch{Bi(l,j,"Invalid Sec-WebSocket-Extensions header");return}let er=Object.keys(Lt);if(er.length!==1||er[0]!==qu.extensionName){Bi(l,j,"Server indicated an extension that was not requested");return}try{v.accept(Lt[qu.extensionName])}catch{Bi(l,j,"Invalid Sec-WebSocket-Extensions header");return}l._extensions[qu.extensionName]=v}l.setSocket(j,et,{allowSynchronousEvents:o.allowSynchronousEvents,generateMask:o.generateMask,maxPayload:o.maxPayload,skipUTF8Validation:o.skipUTF8Validation})}),o.finishRequest?o.finishRequest(C,l):C.end()}function $S(l,e){l._readyState=tr.CLOSING,l._errorEmitted=!0,l.emit("error",e),l.emitClose()}function h8(l){return l.path=l.socketPath,ON.connect(l)}function d8(l){return l.path=void 0,!l.servername&&l.servername!==""&&(l.servername=ON.isIP(l.host)?"":l.host),ZF.connect(l)}function Bi(l,e,t){l._readyState=tr.CLOSING;let r=new Error(t);Error.captureStackTrace(r,Bi),e.setHeader?(e[IN]=!0,e.abort(),e.socket&&!e.socket.destroyed&&e.socket.destroy(),process.nextTick($S,l,r)):(e.destroy(r),e.once("error",l.emit.bind(l,"error")),e.once("close",l.emitClose.bind(l)))}function aw(l,e,t){if(e){let r=o8(e)?e.size:p8(e).length;l._socket?l._sender._bufferedBytes+=r:l._bufferedAmount+=r}if(t){let r=new Error(`WebSocket is not open: readyState ${l.readyState} (${aa[l.readyState]})`);process.nextTick(t,r)}}function b8(l,e){let t=this[no];t._closeFrameReceived=!0,t._closeMessage=e,t._closeCode=l,t._socket[no]!==void 0&&(t._socket.removeListener("data",WS),process.nextTick(FN,t._socket),l===1005?t.close():t.close(l,e))}function f8(){let l=this[no];l.isPaused||l._socket.resume()}function g8(l){let e=this[no];e._socket[no]!==void 0&&(e._socket.removeListener("data",WS),process.nextTick(FN,e._socket),e.close(l[l8])),e._errorEmitted||(e._errorEmitted=!0,e.emit("error",l))}function RN(){this[no].emitClose()}function S8(l,e){this[no].emit("message",l,e)}function P8(l){let e=this[no];e._autoPong&&e.pong(l,!this._isServer,VN),e.emit("ping",l)}function w8(l){this[no].emit("pong",l)}function FN(l){l.resume()}function x8(l){let e=this[no];e.readyState!==tr.CLOSED&&(e.readyState===tr.OPEN&&(e._readyState=tr.CLOSING,_N(e)),this._socket.end(),e._errorEmitted||(e._errorEmitted=!0,e.emit("error",l)))}function _N(l){l._closeTimer=setTimeout(l._socket.destroy.bind(l._socket),l._closeTimeout)}function BN(){let l=this[no];if(this.removeListener("close",BN),this.removeListener("data",WS),this.removeListener("end",UN),l._readyState=tr.CLOSING,!this._readableState.endEmitted&&!l._closeFrameReceived&&!l._receiver._writableState.errorEmitted&&this._readableState.length!==0){let e=this.read(this._readableState.length);l._receiver.write(e)}l._receiver.end(),this[no]=void 0,clearTimeout(l._closeTimer),l._receiver._writableState.finished||l._receiver._writableState.errorEmitted?l.emitClose():(l._receiver.on("error",RN),l._receiver.on("finish",RN))}function WS(l){this[no]._receiver.write(l)||this.pause()}function UN(){let l=this[no];l._readyState=tr.CLOSING,l._receiver.end(),this.end()}function GN(){let l=this[no];this.removeListener("error",GN),this.on("error",VN),l&&(l._readyState=tr.CLOSING,this.destroy())}});var jN=zr((Qit,WN)=>{"use strict";var Zit=jS(),{Duplex:E8}=Cr("stream");function qN(l){l.emit("close")}function v8(){!this.destroyed&&this._writableState.finished&&this.destroy()}function $N(l){this.removeListener("error",$N),this.destroy(),this.listenerCount("error")===0&&this.emit("error",l)}function A8(l,e){let t=!0,r=new E8({...e,autoDestroy:!1,emitClose:!1,objectMode:!1,writableObjectMode:!1});return l.on("message",function(i,n){let a=!n&&r._readableState.objectMode?i.toString():i;r.push(a)||l.pause()}),l.once("error",function(i){r.destroyed||(t=!1,r.destroy(i))}),l.once("close",function(){r.destroyed||r.push(null)}),r._destroy=function(o,i){if(l.readyState===l.CLOSED){i(o),process.nextTick(qN,r);return}let n=!1;l.once("error",function(m){n=!0,i(m)}),l.once("close",function(){n||i(o),process.nextTick(qN,r)}),t&&l.terminate()},r._final=function(o){if(l.readyState===l.CONNECTING){l.once("open",function(){r._final(o)});return}l._socket!==null&&(l._socket._writableState.finished?(o(),r._readableState.endEmitted&&r.destroy()):(l._socket.once("finish",function(){o()}),l.close()))},r._read=function(){l.isPaused&&l.resume()},r._write=function(o,i,n){if(l.readyState===l.CONNECTING){l.once("open",function(){r._write(o,i,n)});return}l.send(o,n)},r.on("end",v8),r.on("error",$N),r}WN.exports=A8});var XN=zr((tst,zN)=>{"use strict";var{tokenChars:T8}=Kc();function N8(l){let e=new Set,t=-1,r=-1,o=0;for(o;o<l.length;o++){let n=l.charCodeAt(o);if(r===-1&&T8[n]===1)t===-1&&(t=o);else if(o!==0&&(n===32||n===9))r===-1&&t!==-1&&(r=o);else if(n===44){if(t===-1)throw new SyntaxError(`Unexpected character at index ${o}`);r===-1&&(r=o);let a=l.slice(t,r);if(e.has(a))throw new SyntaxError(`The "${a}" subprotocol is duplicated`);e.add(a),t=r=-1}else throw new SyntaxError(`Unexpected character at index ${o}`)}if(t===-1||r!==-1)throw new SyntaxError("Unexpected end of input");let i=l.slice(t,o);if(e.has(i))throw new SyntaxError(`The "${i}" subprotocol is duplicated`);return e.add(i),e}zN.exports={parse:N8}});var e3=zr((rst,t3)=>{"use strict";var L8=Cr("events"),zS=Cr("http"),{Duplex:est}=Cr("stream"),{createHash:C8}=Cr("crypto"),YN=iw(),ay=wf(),k8=XN(),M8=jS(),{CLOSE_TIMEOUT:R8,GUID:O8,kWebSocket:V8}=sa(),I8=/^[+/0-9A-Za-z]{22}==$/,KN=0,JN=1,QN=2,uw=class extends L8{constructor(e,t){if(super(),e={allowSynchronousEvents:!0,autoPong:!0,maxPayload:100*1024*1024,skipUTF8Validation:!1,perMessageDeflate:!1,handleProtocols:null,clientTracking:!0,closeTimeout:R8,verifyClient:null,noServer:!1,backlog:null,server:null,host:null,path:null,port:null,WebSocket:M8,...e},e.port==null&&!e.server&&!e.noServer||e.port!=null&&(e.server||e.noServer)||e.server&&e.noServer)throw new TypeError('One and only one of the "port", "server", or "noServer" options must be specified');if(e.port!=null?(this._server=zS.createServer((r,o)=>{let i=zS.STATUS_CODES[426];o.writeHead(426,{"Content-Length":i.length,"Content-Type":"text/plain"}),o.end(i)}),this._server.listen(e.port,e.host,e.backlog,t)):e.server&&(this._server=e.server),this._server){let r=this.emit.bind(this,"connection");this._removeListeners=D8(this._server,{listening:this.emit.bind(this,"listening"),error:this.emit.bind(this,"error"),upgrade:(o,i,n)=>{this.handleUpgrade(o,i,n,r)}})}e.perMessageDeflate===!0&&(e.perMessageDeflate={}),e.clientTracking&&(this.clients=new Set,this._shouldEmitClose=!1),this.options=e,this._state=KN}address(){if(this.options.noServer)throw new Error('The server is operating in "noServer" mode');return this._server?this._server.address():null}close(e){if(this._state===QN){e&&this.once("close",()=>{e(new Error("The server is not running"))}),process.nextTick(Af,this);return}if(e&&this.once("close",e),this._state!==JN)if(this._state=JN,this.options.noServer||this.options.server)this._server&&(this._removeListeners(),this._removeListeners=this._server=null),this.clients?this.clients.size?this._shouldEmitClose=!0:process.nextTick(Af,this):process.nextTick(Af,this);else{let t=this._server;this._removeListeners(),this._removeListeners=this._server=null,t.close(()=>{Af(this)})}}shouldHandle(e){if(this.options.path){let t=e.url.indexOf("?");if((t!==-1?e.url.slice(0,t):e.url)!==this.options.path)return!1}return!0}handleUpgrade(e,t,r,o){t.on("error",ZN);let i=e.headers["sec-websocket-key"],n=e.headers.upgrade,a=+e.headers["sec-websocket-version"];if(e.method!=="GET"){uy(this,e,t,405,"Invalid HTTP method");return}if(n===void 0||n.toLowerCase()!=="websocket"){uy(this,e,t,400,"Invalid Upgrade header");return}if(i===void 0||!I8.test(i)){uy(this,e,t,400,"Missing or invalid Sec-WebSocket-Key header");return}if(a!==13&&a!==8){uy(this,e,t,400,"Missing or invalid Sec-WebSocket-Version header",{"Sec-WebSocket-Version":"13, 8"});return}if(!this.shouldHandle(e)){Tf(t,400);return}let m=e.headers["sec-websocket-protocol"],p=new Set;if(m!==void 0)try{p=k8.parse(m)}catch{uy(this,e,t,400,"Invalid Sec-WebSocket-Protocol header");return}let b=e.headers["sec-websocket-extensions"],d={};if(this.options.perMessageDeflate&&b!==void 0){let f=new ay(this.options.perMessageDeflate,!0,this.options.maxPayload);try{let v=YN.parse(b);v[ay.extensionName]&&(f.accept(v[ay.extensionName]),d[ay.extensionName]=f)}catch{uy(this,e,t,400,"Invalid or unacceptable Sec-WebSocket-Extensions header");return}}if(this.options.verifyClient){let f={origin:e.headers[`${a===8?"sec-websocket-origin":"origin"}`],secure:!!(e.socket.authorized||e.socket.encrypted),req:e};if(this.options.verifyClient.length===2){this.options.verifyClient(f,(v,C,L,j)=>{if(!v)return Tf(t,C||401,L,j);this.completeUpgrade(d,i,p,e,t,r,o)});return}if(!this.options.verifyClient(f))return Tf(t,401)}this.completeUpgrade(d,i,p,e,t,r,o)}completeUpgrade(e,t,r,o,i,n,a){if(!i.readable||!i.writable)return i.destroy();if(i[V8])throw new Error("server.handleUpgrade() was called more than once with the same socket, possibly due to a misconfiguration");if(this._state>KN)return Tf(i,503);let p=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${C8("sha1").update(t+O8).digest("base64")}`],b=new this.options.WebSocket(null,void 0,this.options);if(r.size){let d=this.options.handleProtocols?this.options.handleProtocols(r,o):r.values().next().value;d&&(p.push(`Sec-WebSocket-Protocol: ${d}`),b._protocol=d)}if(e[ay.extensionName]){let d=e[ay.extensionName].params,f=YN.format({[ay.extensionName]:[d]});p.push(`Sec-WebSocket-Extensions: ${f}`),b._extensions=e}this.emit("headers",p,o),i.write(p.concat(`\r
4
+ `).join(`\r
5
+ `)),i.removeListener("error",ZN),b.setSocket(i,n,{allowSynchronousEvents:this.options.allowSynchronousEvents,maxPayload:this.options.maxPayload,skipUTF8Validation:this.options.skipUTF8Validation}),this.clients&&(this.clients.add(b),b.on("close",()=>{this.clients.delete(b),this._shouldEmitClose&&!this.clients.size&&process.nextTick(Af,this)})),a(b,o)}};t3.exports=uw;function D8(l,e){for(let t of Object.keys(e))l.on(t,e[t]);return function(){for(let r of Object.keys(e))l.removeListener(r,e[r])}}function Af(l){l._state=QN,l.emit("close")}function ZN(){this.destroy()}function Tf(l,e,t,r){t=t||zS.STATUS_CODES[e],r={Connection:"close","Content-Type":"text/html","Content-Length":Buffer.byteLength(t),...r},l.once("finish",l.destroy),l.end(`HTTP/1.1 ${e} ${zS.STATUS_CODES[e]}\r
6
+ `+Object.keys(r).map(o=>`${o}: ${r[o]}`).join(`\r
7
+ `)+`\r
8
+ \r
9
+ `+t)}function uy(l,e,t,r,o,i){if(l.listenerCount("wsClientError")){let n=new Error(o);Error.captureStackTrace(n,uy),l.emit("wsClientError",n,t,e)}else Tf(t,r,o,i)}});import y_ from"@vitejs/plugin-react";import Sy from"node:fs";import Ig from"node:path";import u_ from"node:crypto";import{fileURLToPath as m_}from"node:url";import{URLSearchParams as pPt}from"url";var bs=Symbol("abort"),$e=Symbol("activeElement"),bt=Symbol("asyncTaskManager"),fs=Symbol("bodyBuffer"),Ct=Symbol("buffer"),Wi=Symbol("cachedResponse"),gs=Symbol("callbacks"),fa=Symbol("checked"),ul=Symbol("childNodes"),Xr=Symbol("children"),Sh=Symbol("classList"),Lo=Symbol("connectedToNode"),Zs=Symbol("disconnectedFromNode"),kr=Symbol("connectedToDocument"),Mr=Symbol("disconnectedFromDocument"),em=Symbol("contentLength"),Oe=Symbol("contentType"),Yr=Symbol("cssText"),ji=Symbol("currentScript"),Ti=Symbol("currentTarget"),le=Symbol("data"),Po=Symbol("defaultView"),ue=Symbol("destroy"),ga=Symbol("dirtyness"),z=Symbol("end"),Sr=Symbol("entries");var zi=Symbol("evaluateScript"),_r=Symbol("exceptionObserver"),Bt=Symbol("formNode"),Sa=Symbol("internalId"),F=Symbol("height"),Pa=Symbol("immediatePropagationStopped"),wa=Symbol("indeterminate"),Qs=Symbol("isFirstWrite"),tn=Symbol("isFirstWriteAfterOpen"),wy=Symbol("isInPassiveEventListener"),Co=Symbol("isValue"),ml=Symbol("listenerOptions"),fe=Symbol("listeners"),si=Symbol("itemsByName"),xa=Symbol("nextActiveElement"),rm=Symbol("observeMutations"),ni=Symbol("mutationListeners"),T=Symbol("ownerDocument"),At=Symbol("ownerElement"),Ea=Symbol("propagationStopped"),li=Symbol("readyStateManager"),Kr=Symbol("referrer"),Ss=Symbol("registry"),ko=Symbol("relList"),xy=Symbol("resetSelection"),Ve=Symbol("rootNode"),We=Symbol("selectNode"),Jr=Symbol("selectedness"),om=Symbol("selection"),Ph=Symbol("setupVMContext"),Le=Symbol("shadowRoot"),G=Symbol("start"),Ee=Symbol("style"),Zr=Symbol("target"),Pr=Symbol("textAreaNode"),Ey=Symbol("unobserveMutations"),en=Symbol("reportMutation"),va=Symbol("updateSelectedness"),Ce=Symbol("url"),Z=Symbol("value"),_=Symbol("width"),u=Symbol("window"),Bg=Symbol("windowResizeListener"),Aa=Symbol("mutationObservers"),wo=Symbol("openerFrame"),Xi=Symbol("openerWindow"),yl=Symbol("popup"),nt=Symbol("isConnected"),W=Symbol("parentNode"),U=Symbol("nodeType"),tt=Symbol("tagName"),Vt=Symbol("prefix"),eP=Symbol("scrollHeight"),rP=Symbol("scrollWidth"),Ug=Symbol("scrollTop"),Gg=Symbol("scrollLeft"),St=Symbol("attributes"),wh=Symbol("attributesProxy"),rt=Symbol("namespaceURI"),vy=Symbol("accessKey");var oP=Symbol("offsetHeight"),iP=Symbol("offsetWidth"),sP=Symbol("offsetLeft"),nP=Symbol("offsetTop"),lP=Symbol("clientHeight"),aP=Symbol("clientWidth"),uP=Symbol("clientLeft"),mP=Symbol("clientTop"),lt=Symbol("name"),xh=Symbol("specified"),Ta=Symbol("adoptedStyleSheets"),Hg=Symbol("implementation"),Na=Symbol("readyState"),pl=Symbol("publicId"),cl=Symbol("systemId"),Ue=Symbol("validationMessage"),mr=Symbol("validity"),qg=Symbol("returnValue"),rn=Symbol("elements");var yP=Symbol("complete"),pP=Symbol("naturalHeight"),cP=Symbol("naturalWidth"),ww=Symbol("loading"),O=Symbol("x"),V=Symbol("y");var Yi=Symbol("files"),yr=Symbol("sheet"),$g=Symbol("volume"),im=Symbol("paused"),Wg=Symbol("currentTime"),jg=Symbol("playbackRate"),zg=Symbol("defaultPlaybackRate"),Ay=Symbol("muted"),sm=Symbol("defaultMuted"),Xg=Symbol("preservesPitch"),hP=Symbol("buffered"),dP=Symbol("duration"),pr=Symbol("error"),bP=Symbol("ended"),fP=Symbol("networkState"),Yg=Symbol("textTracks"),gP=Symbol("seeking"),SP=Symbol("seekable"),PP=Symbol("played"),on=Symbol("options"),Mo=Symbol("content"),ke=Symbol("mode"),La=Symbol("host"),ao=Symbol("setURL"),dt=Symbol("localName"),Ty=Symbol("classRegistry"),Eh=Symbol("nodeStream"),ai=Symbol("location"),je=Symbol("history"),Kg=Symbol("navigator"),Jg=Symbol("screen"),Zg=Symbol("sessionStorage"),Qg=Symbol("localStorage"),vh=Symbol("sandbox"),ct=Symbol("cloneNode"),Et=Symbol("appendChild"),Rr=Symbol("removeChild"),uo=Symbol("insertBefore"),Ny=Symbol("replaceChild"),Ps=Symbol("tracks"),Ly=Symbol("constraints"),ws=Symbol("capabilities"),Ca=Symbol("settings");var hl=Symbol("removeNamedItem"),Y=Symbol("items"),ka=Symbol("selectedOptions"),Br=Symbol("styleNode"),Ma=Symbol("updateSheet"),mo=Symbol("clearCache"),ze=Symbol("onSetAttribute"),Ur=Symbol("onRemoveAttribute"),$=Symbol("nodeArray"),ft=Symbol("elementArray"),q=Symbol("cache"),rr=Symbol("affectsCache"),Ah=Symbol("forms"),xs=Symbol("affectsComputedStyleCache"),nm=Symbol("query"),Cy=Symbol("computedStyle"),Ro=Symbol("getFormControlItems"),Th=Symbol("getFormControlNamedItem"),wP=Symbol("dataset");var dl=Symbol("itemsByNamespaceURI"),Ut=Symbol("proxy"),Ki=Symbol("setNamedItem"),Qr=Symbol("getTokenList"),bl=Symbol("attributeName"),Ni=Symbol("selectedIndex"),Ra=Symbol("self"),Oo=Symbol("parent"),Ji=Symbol("top"),Nh=Symbol("areas"),Vo=Symbol("defaultValue"),sn=Symbol("elementIdMap"),Oa=Symbol("clonable"),lm=Symbol("delegatesFocus"),nn=Symbol("serializable"),Es=Symbol("slotAssignment"),ln=Symbol("assignedNodes"),Zi=Symbol("assignedToSlot"),Lh=Symbol("cells"),Ch=Symbol("rows"),tS=Symbol("headers"),kh=Symbol("tBodies"),ky=Symbol("track"),Mh=Symbol("controlsList"),eS=Symbol("mediaKeys"),xP=Symbol("remote"),rS=Symbol("sinkId"),oS=Symbol("srcObject"),am=Symbol("cues"),EP=Symbol("activeCues"),ui=Symbol("kind"),fl=Symbol("label"),um=Symbol("language"),Rh=Symbol("id"),c=Symbol("illegalConstructor"),vP=Symbol("state"),Oh=Symbol("canvas"),Va=Symbol("popoverTargetElement"),Vh=Symbol("composed"),gl=Symbol("bubbles"),an=Symbol("cancelable"),Gr=Symbol("defaultPrevented"),to=Symbol("eventPhase"),AP=Symbol("timeStamp"),Xt=Symbol("type"),Ih=Symbol("detail");var Dh=Symbol("destroyed"),we=Symbol("aborted"),Fh=Symbol("browserFrames"),iS=Symbol("windowInternalId"),X=Symbol("getItemList"),un=Symbol("requiredExtensions"),mn=Symbol("systemLanguage"),_h=Symbol("transform"),ye=Symbol("baseVal"),pe=Symbol("animVal"),Bh=Symbol("pathLength");var yn=Symbol("viewBox"),Uh=Symbol("markerUnits"),Gh=Symbol("markerWidth"),Hh=Symbol("markerHeight"),wr=Symbol("values"),qh=Symbol("orientType"),$h=Symbol("orientAngle"),Wh=Symbol("refX"),jh=Symbol("refY"),K=Symbol("readOnly"),Or=Symbol("preserveAspectRatio"),pn=Symbol("animatedPoints"),cn=Symbol("points"),hn=Symbol("rx"),dn=Symbol("ry"),Io=Symbol("cx"),Do=Symbol("cy"),bn=Symbol("r"),zh=Symbol("clipPathUnits"),Xh=Symbol("maskUnits"),Yh=Symbol("maskContentUnits"),Kh=Symbol("filterUnits"),Jh=Symbol("primitiveUnits"),kt=Symbol("href"),fn=Symbol("x1"),gn=Symbol("y1"),Sn=Symbol("x2"),Pn=Symbol("y2"),Zh=Symbol("gradientUnits"),Qh=Symbol("gradientTransform"),td=Symbol("spreadMethod"),ed=Symbol("patternUnits"),rd=Symbol("patternContentUnits"),od=Symbol("patternTransform"),id=Symbol("fx"),sd=Symbol("fy"),wn=Symbol("offset"),Ia=Symbol("disabled"),nd=Symbol("textLength"),ld=Symbol("lengthAdjust"),N=Symbol("getAttribute"),E=Symbol("setAttribute"),yo=Symbol("z"),mm=Symbol("w"),ad=Symbol("toArray"),ym=Symbol("fromString"),mi=Symbol("fromArray");var Mt=Symbol("m11"),It=Symbol("m12"),re=Symbol("m13"),oe=Symbol("m14"),Rt=Symbol("m21"),Dt=Symbol("m22"),ie=Symbol("m23"),se=Symbol("m24"),Wt=Symbol("m31"),Yt=Symbol("m32"),Kt=Symbol("m33"),jt=Symbol("m34"),Ot=Symbol("m41"),Ft=Symbol("m42"),Jt=Symbol("m43"),Zt=Symbol("m44"),My=Symbol("setMatrixValue"),yi=Symbol("translateSelf"),Sl=Symbol("rotateSelf"),Pl=Symbol("rotateAxisAngleSelf"),xn=Symbol("scaleSelf"),ud=Symbol("scale3dSelf"),md=Symbol("scaleNonUniformSelf"),pm=Symbol("skewXSelf"),cm=Symbol("skewYSelf"),pi=Symbol("multiplySelf"),wl=Symbol("matrix");var Ge=Symbol("getDOMMatrix"),Hr=Symbol("setDOMMatrix"),I=Symbol("attributeValue"),yd=Symbol("startOffset"),xl=Symbol("method"),pd=Symbol("spacing"),mt=Symbol("in1"),Fo=Symbol("in2"),ot=Symbol("result"),cd=Symbol("bias"),hd=Symbol("divisor"),En=Symbol("edgeMode"),dd=Symbol("kernelMatrix"),_o=Symbol("kernelUnitLengthX"),Bo=Symbol("kernelUnitLengthY"),bd=Symbol("orderX"),fd=Symbol("orderY"),gd=Symbol("preserveAlpha"),Sd=Symbol("targetX"),Pd=Symbol("targetY"),wd=Symbol("diffuseConstant"),vn=Symbol("surfaceScale"),xd=Symbol("scale"),Ed=Symbol("xChannelSelector"),vd=Symbol("yChannelSelector"),Ad=Symbol("azimuth"),Td=Symbol("elevation"),Uo=Symbol("dx"),Go=Symbol("dy"),An=Symbol("stdDeviationX"),Tn=Symbol("stdDeviationY"),Nd=Symbol("tableValues"),Ld=Symbol("slope"),Cd=Symbol("intercept"),kd=Symbol("amplitude"),Md=Symbol("exponent"),xw=Symbol("crossOrigin"),Rd=Symbol("operator"),Od=Symbol("radiusX"),Vd=Symbol("radiusY"),Id=Symbol("specularConstant"),Nn=Symbol("specularExponent"),Dd=Symbol("pointsAtX"),Fd=Symbol("pointsAtY"),_d=Symbol("pointsAtZ"),Bd=Symbol("limitingConeAngle"),Ud=Symbol("baseFrequencyX"),Gd=Symbol("baseFrequencyY"),Hd=Symbol("numOctaves"),qd=Symbol("seed"),$d=Symbol("stitchTiles"),Wd=Symbol("rotateFromVectorSelf"),jd=Symbol("flipXSelf"),zd=Symbol("flipYSelf"),Xd=Symbol("invertSelf"),TP=Symbol("getLength"),sS=Symbol("currentScale"),Yd=Symbol("rotate"),NP=Symbol("bindMethods"),hm=Symbol("xmlProcessingInstruction");var Li=Symbol("filterNode"),Da=Symbol("customElementReactionStack"),Fa=Symbol("dispatching"),Ln=Symbol("modules"),xo=Symbol("preloads"),El=Symbol("body"),nS=Symbol("redirect"),Ry=Symbol("referrerPolicy"),lS=Symbol("signal"),vs=Symbol("bodyUsed"),aS=Symbol("credentials"),Kd=Symbol("blocking"),dm=Symbol("moduleImportMap"),ce=Symbol("dispatchError"),uS=Symbol("supports"),ci=Symbol("reason"),h=Symbol("propertyEventListeners"),or=Symbol("cssRules"),vl=Symbol("parentRule"),hi=Symbol("parentStyleSheet"),Ho=Symbol("conditionText"),Cn=Symbol("keyText"),LP=Symbol("media"),Jd=Symbol("styleMap"),bm=Symbol("selectorText"),fm=Symbol("cssParser"),Al=Symbol("cssRule"),po=Symbol("rulePrefix"),Eo=Symbol("virtualServerFile"),CP=Symbol("frames"),Tl=Symbol("disableEvaluation"),kP=Symbol("validateJavaScriptExecutionEnvironment");var _a=Symbol("openWebSockets"),eo=Symbol("webSocket");var MP;(function(l){l.strict="Strict",l.lax="Lax",l.none="None"})(MP||(MP={}));var Nl=MP;var mS={key:null,originURL:null,value:null,domain:"",path:"",expires:null,httpOnly:!1,secure:!1,sameSite:Nl.lax};var Oy=class{static hasExpired(e){return e.expires&&e.expires.getTime()<Date.now()}};var Zd=class{static cookieMatchesURL(e,t){let r=t.hostname==="localhost"||t.hostname.endsWith(".localhost");return(!e.secure||t.protocol==="https:"||r)&&(!e.domain||t.hostname.endsWith(e.domain))&&(!e.path||t.pathname.startsWith(e.path))&&(e.sameSite===Nl.none&&e.secure||e.originURL.hostname===t.hostname)}};var kn,gm=class{constructor(){x(this,kn,[])}addCookies(e){let t=new Map,r=o=>`${o.key}-${o.originURL.hostname}-${o.path}-${typeof o.value}`;for(let o=0,i=y(this,kn).length;o<i;o++)t.set(r(y(this,kn)[o]),o);for(let o of e){let i=Object.assign({},mS,o);if(i&&i.key&&i.originURL){let n=t.get(r(i));n!==void 0&&y(this,kn).splice(n,1),Oy.hasExpired(i)||(t.set(r(i),y(this,kn).length),y(this,kn).push(i))}}}getCookies(e=null,t=!1){let r=[];for(let o of y(this,kn))!Oy.hasExpired(o)&&(!t||!o.httpOnly)&&(!e||Zd.cookieMatchesURL(o,e||o.originURL))&&r.push(o);return r}clearCookies(){w(this,kn,[])}};kn=new WeakMap;var RP;(function(l){l.fresh="fresh",l.stale="stale"})(RP||(RP={}));var Ba=RP;var OP;(function(l){l.invalidStateError="InvalidStateError",l.indexSizeError="IndexSizeError",l.syntaxError="SyntaxError",l.hierarchyRequestError="HierarchyRequestError",l.notSupportedError="NotSupportedError",l.wrongDocumentError="WrongDocumentError",l.invalidNodeTypeError="InvalidNodeTypeError",l.invalidCharacterError="InvalidCharacterError",l.notFoundError="NotFoundError",l.securityError="SecurityError",l.networkError="NetworkError",l.domException="DOMException",l.invalidAccessError="InvalidAccessError",l.unknownError="UnknownError",l.abortError="AbortError",l.timeoutError="TimeoutError",l.encodingError="EncodingError",l.uriMismatchError="URIMismatchError",l.inUseAttributeError="InUseAttributeError",l.namespaceError="NamespaceError"})(OP||(OP={}));var A=OP;var Ht=class extends Error{constructor(e,t=null){super(e),this.name=t||A.domException}};var Ew,As=class l{constructor(e){s(this,Ew,{});if(e)if(e instanceof l)this[Sr]=JSON.parse(JSON.stringify(e[Sr]));else if(Array.isArray(e))for(let t of e){if(t.length!==2)throw new Ht('Failed to construct "Headers": The provided init is not a valid array.',A.invalidStateError);this.append(t[0],t[1])}else for(let t of Object.keys(e))this.set(t,e[t])}append(e,t){let r=e.toLowerCase();this[Sr][r]?this[Sr][r].value.push(t):this[Sr][r]={name:e,value:[t]}}delete(e){delete this[Sr][e.toLowerCase()]}get(e){return this[Sr][e.toLowerCase()]?.value.join(", ")??null}set(e,t){this[Sr][e.toLowerCase()]={name:e,value:[t]}}getSetCookie(){let e=this[Sr]["set-cookie"];return e?e.value:[]}has(e){return!!this[Sr][e.toLowerCase()]}forEach(e,t){let r=t??this[u];for(let o of Object.values(this[Sr]))e.call(r,o.value.join(", "),o.name,this)}*keys(){for(let e of Object.values(this[Sr]))yield e.name}*values(){for(let e of Object.values(this[Sr]))yield e.value.join(", ")}*entries(){for(let e of Object.values(this[Sr]))yield[e.name,e.value.join(", ")]}*[(Ew=Sr,Symbol.iterator)](){for(let e of Object.values(this[Sr]))yield[e.name,e.value.join(", ")]}};import Vy from"fs";import Iy from"path";import NV from"crypto";var tb,eb,Sm,Qd=class{constructor(e){x(this,tb,new Set);x(this,eb,new Set);x(this,Sm);w(this,Sm,e)}async load(e){if(!e)throw new Error("Failed to execute 'load' on 'ResponseCacheFileSystem': Directory is not specified.");let t=Iy.resolve(e),r=[];try{r=await Vy.promises.readdir(t)}catch{return}let o=[],i=y(this,Sm);for(let n of r)n.endsWith(".json")&&o.push(Vy.promises.readFile(Iy.join(t,n),"utf8").then(a=>{let m=JSON.parse(a);if(m.response&&m.request&&!m.virtual)return m.response.headers=new As(m.response.headers),m.request.headers=new As(m.request.headers),Vy.promises.readFile(Iy.join(t,n.split(".")[0]+".data")).then(p=>{m.response.body=p;let b=i.get(m.response.url);b||(b=[],i.set(m.response.url,b)),b.push(m)}).catch(()=>{let p=i.get(m.response.url);p||(p=[],i.set(m.response.url,p)),p.push(m)})}).catch(()=>{}));await Promise.all(o)}async save(e){if(!e)throw new Error("Failed to execute 'store' on 'ResponseCacheFileSystem': Directory is not specified.");if(!y(this,Sm).size)return;let t=Iy.resolve(e);if(!y(this,tb).has(t)){y(this,tb).add(t);try{await Vy.promises.mkdir(t,{recursive:!0})}catch{}}let o=y(this,Sm),i=[];for(let n of o.values())for(let a of n)if(!a.virtual){let m={},p={};for(let[v,C]of a.response.headers.entries())m[v]=C;for(let[v,C]of a.request.headers.entries())p[v]=C;let b={...a,response:{...a.response,headers:m,body:null},request:{...a.request,headers:p}},d=JSON.stringify(b,null,3),f=NV.createHash("md5").update(d).digest("hex");y(this,eb).has(f)||(y(this,eb).add(f),i.push(Vy.promises.writeFile(Iy.join(t,`${f}.json`),d)),a.response.body&&i.push(Vy.promises.writeFile(Iy.join(t,`${f}.data`),a.response.body)))}await Promise.all(i)}};tb=new WeakMap,eb=new WeakMap,Sm=new WeakMap;var LV=["Cache-Control","Last-Modified","Vary","ETag"],di,Pm=class{constructor(){s(this,"fileSystem");x(this,di,new Map);this.fileSystem=new Qd(y(this,di))}get(e){if(e.headers.get("Cache-Control")?.includes("no-cache"))return null;let t=e.url,r=y(this,di).get(t);if(r)for(let o=0,i=r.length;o<i;o++){let n=r[o],a=n.request.method===e.method;if(a)for(let m of Object.keys(n.vary)){let p=e.headers.get(m);if(p!==null&&n.vary[m]!==p){a=!1;break}}if(a){if(n.expires&&n.expires<Date.now()){if(n.lastModified)n.state=Ba.stale;else if(!n.etag)return r.splice(o,1),null}return n}}return null}add(e,t){if(e.method!=="GET"&&e.method!=="HEAD"||e.headers.get("Cache-Control")?.includes("no-cache"))return null;let r=e.url,o=this.get(e);if(t.status===304){if(!o)throw new Error("ResponseCache: Cached response not found.");for(let i of LV)t.headers.has(i)&&o.response.headers.set(i,t.headers.get(i));o.cacheUpdateTime=Date.now(),o.state=Ba.fresh}else{if(o){let n=y(this,di).get(r);if(n){let a=n.indexOf(o);a!==-1&&n.splice(a,1)}}o={response:{status:t.status,statusText:t.statusText,url:t.url,headers:new As(t.headers),waitingForBody:t.waitingForBody,body:t.body??null},request:{headers:e.headers,method:e.method},vary:{},expires:null,etag:null,cacheUpdateTime:Date.now(),lastModified:null,mustRevalidate:!1,staleWhileRevalidate:!1,state:Ba.fresh,virtual:t.virtual??!1};let i=y(this,di).get(r);i||(i=[],y(this,di).set(r,i)),i.push(o)}if(t.headers.has("Cache-Control")){let i=t.headers.get("Age");for(let n of t.headers.get("Cache-Control").split(",")){let[a,m]=n.trim().split("=");switch(a){case"max-age":o.expires=Date.now()+parseFloat(m)*1e3-(i?parseFloat(i)*1e3:0);break;case"no-cache":case"no-store":let p=y(this,di).get(r);if(p){let b=p.indexOf(o);b!==-1&&p.splice(b,1)}return null;case"must-revalidate":o.mustRevalidate=!0;break;case"stale-while-revalidate":o.staleWhileRevalidate=!0;break}}}if(t.headers.has("Last-Modified")&&(o.lastModified=Date.parse(t.headers.get("Last-Modified"))),t.headers.has("Vary"))for(let i of t.headers.get("Vary").split(",")){let n=i.trim(),a=e.headers.get(n);a&&(o.vary[n]=a)}if(t.headers.has("ETag")&&(o.etag=t.headers.get("ETag")),!o.expires){let i=t.headers.get("Expires");i&&(o.expires=Date.parse(i))}if(!o.etag&&(!o.expires||o.expires<Date.now())){let i=y(this,di).get(r);if(i){let n=i.indexOf(o);n!==-1&&i.splice(n,1)}return null}return o}clear(e){if(e)if(e.toTime)for(let t of e.url?[e.url]:y(this,di).keys()){let r=y(this,di).get(t);if(r)for(let o=0,i=r.length;o<i;o++)r[o].cacheUpdateTime<e.toTime&&(r.splice(o,1),o--,i--)}else e.url&&y(this,di).delete(e.url);else y(this,di).clear()}};di=new WeakMap;var VP;(function(l){l[l.log=0]="log",l[l.info=1]="info",l[l.warn=2]="warn",l[l.error=3]="error"})(VP||(VP={}));var Vr=VP;var IP;(function(l){l[l.elementNode=1]="elementNode",l[l.attributeNode=2]="attributeNode",l[l.textNode=3]="textNode",l[l.cdataSectionNode=4]="cdataSectionNode",l[l.commentNode=8]="commentNode",l[l.documentNode=9]="documentNode",l[l.documentTypeNode=10]="documentTypeNode",l[l.documentFragmentNode=11]="documentFragmentNode",l[l.processingInstructionNode=7]="processingInstructionNode"})(IP||(IP={}));var M=IP;var DP;(function(l){l[l.none=0]="none",l[l.capturing=1]="capturing",l[l.atTarget=2]="atTarget",l[l.bubbling=3]="bubbling"})(DP||(DP={}));var he=DP;var vw,Aw,Tw,Nw,Lw,Cw,kw,Mw,Rw,Ow,Vw,Iw,Dw;Dw=Vh,Iw=gl,Vw=an,Ow=Gr,Rw=to,Mw=AP,kw=Xt,Cw=Fa,Lw=Pa,Nw=Ea,Tw=Zr,Aw=Ti,vw=wy;var Mn=class Mn{constructor(e,t=null){s(this,"NONE",Mn.NONE);s(this,"CAPTURING_PHASE",Mn.CAPTURING_PHASE);s(this,"AT_TARGET",Mn.AT_TARGET);s(this,"BUBBLING_PHASE",Mn.BUBBLING_PHASE);s(this,Dw,!1);s(this,Iw,!1);s(this,Vw,!1);s(this,Ow,!1);s(this,Rw,he.none);s(this,Mw,performance.now());s(this,kw);s(this,Cw,!1);s(this,Lw,!1);s(this,Nw,!1);s(this,Tw,null);s(this,Aw,null);s(this,vw,!1);this[Xt]=e,this[gl]=t?.bubbles??!1,this[an]=t?.cancelable??!1,this[Vh]=t?.composed??!1}get composed(){return this[Vh]}get bubbles(){return this[gl]}get cancelable(){return this[an]}get defaultPrevented(){return this[Gr]}get eventPhase(){return this[to]}get timeStamp(){return this[AP]}get type(){return this[Xt]}get target(){return this[Zr]}get currentTarget(){return this[Ti]}get cancelBubble(){return this[Ea]}composedPath(){if(!this[Zr])return[];let e=[],t=this[Zr];for(;t;)if(e.push(t),t.parentNode)t=t.parentNode;else if(this[Vh]&&t[U]===M.documentFragmentNode&&t.host)t=t.host;else if(t[U]===M.documentNode&&this[Xt]!=="load")t=t[u];else break;return e}initEvent(e,t=!1,r=!1){this[Xt]=e,this[gl]=t,this[an]=r}preventDefault(){!this[wy]&&this.cancelable&&(this[Gr]=!0)}stopImmediatePropagation(){this[Pa]=!0}stopPropagation(){this[Ea]=!0}};s(Mn,"NONE",he.none),s(Mn,"CAPTURING_PHASE",he.capturing),s(Mn,"AT_TARGET",he.atTarget),s(Mn,"BUBBLING_PHASE",he.bubbling);var R=Mn;var FP;(function(l){l.log="log",l.table="table",l.trace="trace",l.dir="dir",l.dirxml="dirxml",l.group="group",l.groupCollapsed="groupCollapsed",l.debug="debug",l.timeLog="timeLog",l.info="info",l.count="count",l.timeEnd="timeEnd",l.warn="warn",l.countReset="countReset",l.error="error",l.assert="assert"})(FP||(FP={}));var Xe=FP;var rb=class{static toString(e){if(this.isLogEntryCollapsed(e))return"";let t=this.getLogEntryGroupTabbing(e),r=t;for(let o of e.message)if(r+=r!==""&&r!==t?" ":"",typeof o=="object"&&(o===null||o.constructor.name==="Object"||Array.isArray(o)))try{r+=JSON.stringify(o)}catch{r+=new Error("Failed to JSON stringify object in log entry.").stack.replace(/\n at/gm,`
10
+ `+t+"at")}else typeof o=="object"&&o.message&&o.stack?r+=o.stack.replace(/\n at/gm,`
11
+ `+t+"at"):r+=this.getLogEntryIcon(e)+String(o);return r+`
12
+ `}static getLogEntryIcon(e){switch(e.type){case Xe.group:return"\u25BC ";case Xe.groupCollapsed:return"\u25B6 "}return""}static getLogEntryGroupTabbing(e){let t="",r=e.type===Xe.group||e.type===Xe.groupCollapsed?e.group?.parent:e.group;for(;r;)t+=" ",r=r.parent;return t}static isLogEntryCollapsed(e){let t=e.type===Xe.group||e.type===Xe.groupCollapsed?e.group?.parent:e.group;for(;t;){if(t.collapsed)return!0;t=t.parent}return!1}};var Ua,Rn,Ts,Ga=class{constructor(){x(this,Ua,[]);x(this,Rn,{print:[],clear:[]});x(this,Ts,!1)}get closed(){return y(this,Ts)}print(e){y(this,Ts)||(y(this,Ua).push(e),this.dispatchEvent(new R("print")))}clear(){y(this,Ts)||(w(this,Ua,[]),this.dispatchEvent(new R("clear")))}close(){y(this,Ts)||(w(this,Ua,[]),w(this,Rn,{print:[],clear:[]}),w(this,Ts,!0))}addEventListener(e,t){if(!y(this,Ts)){if(!y(this,Rn)[e])throw new Error(`Event type "${e}" is not supported.`);y(this,Rn)[e].push(t)}}removeEventListener(e,t){if(y(this,Ts))return;if(!y(this,Rn)[e])throw new Error(`Event type "${e}" is not supported.`);let r=y(this,Rn)[e].indexOf(t);r!==-1&&y(this,Rn)[e].splice(r,1)}dispatchEvent(e){if(!y(this,Ts))switch(e.type){case"print":case"clear":for(let t of y(this,Rn)[e.type])t(e);break;default:throw new Error(`Event type "${e.type}" is not supported.`)}}read(){let e=y(this,Ua);return w(this,Ua,[]),e}readAsString(e=Vr.log){let t=this.read(),r="";for(let o of t)o.level>=e&&(r+=rb.toString(o));return r}};Ua=new WeakMap,Rn=new WeakMap,Ts=new WeakMap;var wm=class extends Error{constructor(e){super(e),this.name="AsyncTaskManagerDebugError"}};var bi={setTimeout:globalThis.setTimeout.bind(globalThis),clearTimeout:globalThis.clearTimeout.bind(globalThis),clearImmediate:globalThis.clearImmediate.bind(globalThis)},Ha,Qi,ts=class{constructor(e){s(this,"runningTasks",{});s(this,"runningTaskCount",0);s(this,"runningTimers",[]);s(this,"runningImmediates",[]);s(this,"debugTrace",new Map);s(this,"waitUntilCompleteTimer",null);s(this,"waitUntilCompleteResolvers",[]);s(this,"destroyed",!1);x(this,Ha,null);x(this,Qi);w(this,Qi,e)}waitUntilComplete(){return new Promise((e,t)=>{this.waitUntilCompleteResolvers.push({resolve:e,reject:t}),this.resolveWhenComplete()})}abort(){return this.destroyed?new Promise((e,t)=>{this.waitUntilCompleteResolvers.push({resolve:e,reject:t}),this.resolveWhenComplete()}):this.abortAll(!1)}destroy(){return this.destroyed?new Promise((e,t)=>{this.waitUntilCompleteResolvers.push({resolve:e,reject:t}),this.resolveWhenComplete()}):this.abortAll(!0)}startTimer(e){if(this.destroyed){bi.clearTimeout(e);return}this.waitUntilCompleteTimer&&(bi.clearTimeout(this.waitUntilCompleteTimer),this.waitUntilCompleteTimer=null),this.runningTimers.push(e),y(this,Qi).page.context.browser.settings.debug.traceWaitUntilComplete>0&&this.debugTrace.set(e,new wm().stack)}endTimer(e){if(this.destroyed){bi.clearTimeout(e);return}let t=this.runningTimers.indexOf(e);t!==-1&&(this.runningTimers.splice(t,1),this.resolveWhenComplete()),y(this,Qi).page.context.browser.settings.debug.traceWaitUntilComplete>0&&this.debugTrace.delete(e)}startImmediate(e){if(this.destroyed){bi.clearImmediate(e);return}this.waitUntilCompleteTimer&&(bi.clearTimeout(this.waitUntilCompleteTimer),this.waitUntilCompleteTimer=null),this.runningImmediates.push(e),y(this,Qi).page?.context?.browser?.settings?.debug?.traceWaitUntilComplete>0&&this.debugTrace.set(e,new wm().stack)}endImmediate(e){if(this.destroyed){bi.clearImmediate(e);return}let t=this.runningImmediates.indexOf(e);t!==-1&&(this.runningImmediates.splice(t,1),this.resolveWhenComplete()),y(this,Qi).page.context.browser.settings.debug.traceWaitUntilComplete>0&&this.debugTrace.delete(e)}startTask(e){if(this.destroyed)throw e&&e(this.destroyed),new(y(this,Qi)).window.Error("Failed to execute 'startTask()' on 'AsyncTaskManager': The asynchronous task manager has been destroyed. This error can be thrown if scripts continue to run while a browser frame is closed.");this.waitUntilCompleteTimer&&(bi.clearTimeout(this.waitUntilCompleteTimer),this.waitUntilCompleteTimer=null);let t=this.newTaskID();return this.runningTasks[t]=e||(()=>{}),this.runningTaskCount++,y(this,Qi).page.context.browser.settings.debug.traceWaitUntilComplete>0&&this.debugTrace.set(t,new wm().stack),t}endTask(e){this.destroyed||(this.runningTasks[e]&&(delete this.runningTasks[e],this.runningTaskCount--,this.resolveWhenComplete()),y(this,Qi).page.context.browser.settings.debug.traceWaitUntilComplete>0&&this.debugTrace.delete(e))}getTaskCount(){return this.runningTaskCount}newTaskID(){return this.constructor.taskID++,this.constructor.taskID}resolveWhenComplete(){this.applyDebugging(),!(this.runningTaskCount||this.runningTimers.length||this.runningImmediates.length)&&(this.waitUntilCompleteTimer&&(bi.clearTimeout(this.waitUntilCompleteTimer),this.waitUntilCompleteTimer=null),this.waitUntilCompleteTimer=bi.setTimeout(()=>{if(this.waitUntilCompleteTimer=null,!this.runningTaskCount&&!this.runningTimers.length&&!this.runningImmediates.length){y(this,Ha)&&bi.clearTimeout(y(this,Ha));let e=this.waitUntilCompleteResolvers;this.waitUntilCompleteResolvers=[];for(let t of e)t.resolve();this.destroyed=!1}else this.applyDebugging()},1))}applyDebugging(){let e=y(this,Qi).page.context.browser.settings.debug;!e?.traceWaitUntilComplete||e.traceWaitUntilComplete<1||y(this,Ha)||w(this,Ha,bi.setTimeout(()=>{w(this,Ha,null);let t=`The maximum time was reached for "waitUntilComplete()".
13
+
14
+ ${this.debugTrace.size} task${this.debugTrace.size===1?"":"s"} did not end in time.
15
+
16
+ The following traces were recorded:
17
+
18
+ `,r=1;for(let[i,n]of this.debugTrace.entries())t+=`${typeof i=="number"?"Task":"Timer"} #${r}
19
+ \u203E\u203E\u203E\u203E\u203E\u203E\u203E\u203E\u203E\u203E\u203E\u203E\u203E\u203E\u203E\u203E\u203E\u203E\u203E\u203E\u203E\u203E\u203E\u203E\u203E\u203E\u203E\u203E\u203E\u203E\u203E\u203E\u203E\u203E\u203E\u203E\u203E\u203E${n.replace(/AsyncTaskManagerDebugError:{0,1}/,"").replace(/\s+at /gm,`
20
+ > `)}
21
+
22
+ `,r++;let o=new Error(t);for(let i of this.waitUntilCompleteResolvers)i.reject(o);this.abortAll(!0)},e.traceWaitUntilComplete))}abortAll(e){let t=this.runningTimers,r=this.runningImmediates,o=this.runningTasks;e&&(this.destroyed=!0),this.runningTasks={},this.runningTaskCount=0,this.runningImmediates=[],this.runningTimers=[],this.debugTrace=new Map,this.waitUntilCompleteTimer&&(bi.clearTimeout(this.waitUntilCompleteTimer),this.waitUntilCompleteTimer=null);for(let i of r)bi.clearImmediate(i);for(let i of t)bi.clearTimeout(i);for(let i of Object.keys(o))o[i](e);return new Promise((i,n)=>{this.waitUntilCompleteResolvers.push({resolve:i,reject:n}),this.resolveWhenComplete()})}};Ha=new WeakMap,Qi=new WeakMap,s(ts,"taskID",0);import{Buffer as Z8}from"buffer";import{webcrypto as Q8}from"crypto";import{TextEncoder as t_,TextDecoder as e_}from"util";import KO from"stream";import{ReadableStream as r_}from"stream/web";import{URLSearchParams as o_}from"url";import fw from"vm";var Fw="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Dy=class{static btoa(e){let t=e.toString();if(/[^\u0000-\u00ff]/.test(t))throw new Ht("Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range.",A.invalidCharacterError);let r="",o=-6,i=0,n=0,a=0,m;for(;n<t.length||o>-6;)o<0&&(n<t.length?(m=t.charCodeAt(n++),a+=8):m=0,i=(i&255)<<8|m&255,o+=8),r+=Fw.charAt(a>0?i>>o&63:64),o-=6,a-=6;return r}static atob(e){let t=e.toString();if(/[^\u0000-\u00ff]/.test(t))throw new Ht("Failed to execute 'atob' on 'Window': The string to be decoded contains characters outside of the Latin1 range.",A.invalidCharacterError);if(/[^A-Za-z\d+/=]/.test(t)||t.length%4==1)throw new Ht("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.",A.invalidCharacterError);let r="",o=-8,i=0,n,a;for(let m=0;m<t.length;m++)(n=Fw.indexOf(t.charAt(m)))<0||(i=i<<6|n&63,(o+=6)>=0&&(a=i>>o&255,n!==64&&(r+=String.fromCharCode(a)),i&=63,o-=8));return r}};var _P;(function(l){l.tryAndCatch="tryAndCatch",l.processLevel="processLevel",l.disabled="disabled"})(_P||(_P={}));var me=_P;import{Buffer as ob}from"buffer";import{ReadableStream as CV}from"stream/web";var _w;_w=Ct;var yS=class yS{constructor(e,t){s(this,"type","");s(this,_w);let r=[];if(e)for(let o of e){let i;o instanceof ArrayBuffer?i=ob.from(new Uint8Array(o)):o instanceof yS?i=o[Ct]:o instanceof ob?i=o:ArrayBuffer.isView(o)?i=ob.from(new Uint8Array(o.buffer,o.byteOffset,o.byteLength)):i=ob.from(typeof o=="string"?o:String(o)),r.push(i)}this[Ct]=ob.concat(r),t&&t.type&&t.type.match(/^[\u0020-\u007E]*$/)&&(this.type=String(t.type).toLowerCase())}get size(){return this[Ct].length}slice(e=0,t=null,r=""){let o=this.size,i,n,a;e===void 0?i=0:e<0?i=Math.max(o+e,0):i=Math.min(e,o),t===null?n=o:t<0?n=Math.max(o+t,0):n=Math.min(t,o),r===void 0?a="":a=r;let m=Math.max(n-i,0),b=this[Ct].slice(i,i+m),d=new yS([],{type:a});return d[Ct]=b,d}async arrayBuffer(){return new Uint8Array(this[Ct]).buffer}async text(){return this[Ct].toString()}stream(){let e=this[Ct];return new CV({start(t){t.enqueue(e),t.close()}})}toString(){return"[object Blob]"}},de=yS;var Ci,xm,qa=class{constructor(e){x(this,Ci);x(this,xm,[]);if(!e)throw new TypeError("Illegal constructor");w(this,Ci,e)}async read(){if((await y(this,Ci).navigator.permissions.query({name:"clipboard-read"})).state==="denied")throw new(y(this,Ci)).DOMException("Failed to execute 'read' on 'Clipboard': The request is not allowed");return y(this,xm)}async readText(){if((await y(this,Ci).navigator.permissions.query({name:"clipboard-read"})).state==="denied")throw new(y(this,Ci)).DOMException("Failed to execute 'readText' on 'Clipboard': The request is not allowed");let t="";for(let r of y(this,xm))if(r.types.includes("text/plain")){let o=await r.getType("text/plain");typeof o=="string"?t+=o:t+=await o.text()}return t}async write(e){if((await y(this,Ci).navigator.permissions.query({name:"clipboard-write"})).state==="denied")throw new(y(this,Ci)).DOMException("Failed to execute 'write' on 'Clipboard': The request is not allowed");w(this,xm,e)}async writeText(e){if((await y(this,Ci).navigator.permissions.query({name:"clipboard-write"})).state==="denied")throw new(y(this,Ci)).DOMException("Failed to execute 'writeText' on 'Clipboard': The request is not allowed");w(this,xm,[new(y(this,Ci)).ClipboardItem({"text/plain":new de([e],{type:"text/plain"})})])}};Ci=new WeakMap,xm=new WeakMap;var Ll,Fy=class{constructor(e,t){s(this,"presentationStyle","unspecified");x(this,Ll);w(this,Ll,e),t?.presentationStyle&&(this.presentationStyle=t.presentationStyle)}get types(){return Object.keys(y(this,Ll))}async getType(e){if(!y(this,Ll)[e])throw new Ht(`Failed to execute 'getType' on 'ClipboardItem': The type '${e}' was not found`);return y(this,Ll)[e]instanceof de?y(this,Ll)[e]:new de([await y(this,Ll)[e]],{type:e})}};Ll=new WeakMap;var ib=class{static escape(e){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");let t=String(e),r=t.length,o=-1,i,n="",a=t.charCodeAt(0);if(r==1&&a==45)return"\\"+t;for(;++o<r;){if(i=t.charCodeAt(o),i==0){n+="\uFFFD";continue}if(i>=1&&i<=31||i==127||o==0&&i>=48&&i<=57||o==1&&i>=48&&i<=57&&a==45){n+="\\"+i.toString(16)+" ";continue}if(i>=128||i==45||i==95||i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122){n+=t.charAt(o);continue}n+="\\"+t.charAt(o)}return n}};var Bw=["Hz","Q","ch","cm","deg","dpcm","dpi","dppx","em","ex","fr","grad","in","kHz","mm","ms","number","pc","percent","pt","px","rad","rem","s","turn","vh","vmax","vmin","vw"];var be=class{constructor(e,t){s(this,"unit");s(this,"value");if(typeof e!="number")throw new TypeError("The provided double value is non-finite");if(!Bw.includes(t))throw new TypeError("Invalid unit: "+t);this.value=e,this.unit=t}};var sb=class{constructor(){s(this,"Hz",e=>new be(e,"Hz"));s(this,"Q",e=>new be(e,"Q"));s(this,"ch",e=>new be(e,"ch"));s(this,"cm",e=>new be(e,"cm"));s(this,"deg",e=>new be(e,"deg"));s(this,"dpcm",e=>new be(e,"dpcm"));s(this,"dpi",e=>new be(e,"dpi"));s(this,"dppx",e=>new be(e,"dppx"));s(this,"em",e=>new be(e,"em"));s(this,"ex",e=>new be(e,"ex"));s(this,"fr",e=>new be(e,"fr"));s(this,"grad",e=>new be(e,"grad"));s(this,"in",e=>new be(e,"in"));s(this,"kHz",e=>new be(e,"kHz"));s(this,"mm",e=>new be(e,"mm"));s(this,"ms",e=>new be(e,"ms"));s(this,"number",e=>new be(e,"number"));s(this,"pc",e=>new be(e,"pc"));s(this,"percent",e=>new be(e,"percent"));s(this,"pt",e=>new be(e,"pt"));s(this,"px",e=>new be(e,"px"));s(this,"rad",e=>new be(e,"rad"));s(this,"rem",e=>new be(e,"rem"));s(this,"s",e=>new be(e,"s"));s(this,"turn",e=>new be(e,"turn"));s(this,"vh",e=>new be(e,"vh"));s(this,"vmax",e=>new be(e,"vmax"));s(this,"vmin",e=>new be(e,"vmin"));s(this,"vw",e=>new be(e,"vw"))}supports(e,t){return!0}escape(e){return ib.escape(e)}};var BP;(function(l){l[l.containerRule=0]="containerRule",l[l.styleRule=1]="styleRule",l[l.importRule=3]="importRule",l[l.mediaRule=4]="mediaRule",l[l.fontFaceRule=5]="fontFaceRule",l[l.pageRule=6]="pageRule",l[l.keyframesRule=7]="keyframesRule",l[l.keyframeRule=8]="keyframeRule",l[l.namespaceRule=10]="namespaceRule",l[l.counterStyleRule=11]="counterStyleRule",l[l.supportsRule=12]="supportsRule",l[l.documentRule=13]="documentRule",l[l.fontFeatureValuesRule=14]="fontFeatureValuesRule",l[l.regionStyleRule=16]="regionStyleRule"})(BP||(BP={}));var pt=BP;var Uw,Gw,Hw,qw;qw=u,Hw=fm,Gw=vl,Uw=hi;var Me=class{constructor(e,t,r){s(this,qw);s(this,Hw);s(this,Gw,null);s(this,Uw,null);if(e!==c)throw new TypeError("Illegal constructor");this[u]=t,this[fm]=r}get parentRule(){return this[vl]}get parentStyleSheet(){return this[hi]}};s(Me,"CONTAINER_RULE",pt.containerRule),s(Me,"STYLE_RULE",pt.styleRule),s(Me,"IMPORT_RULE",pt.importRule),s(Me,"MEDIA_RULE",pt.mediaRule),s(Me,"FONT_FACE_RULE",pt.fontFaceRule),s(Me,"PAGE_RULE",pt.pageRule),s(Me,"KEYFRAMES_RULE",pt.keyframesRule),s(Me,"KEYFRAME_RULE",pt.keyframeRule),s(Me,"NAMESPACE_RULE",pt.namespaceRule),s(Me,"COUNTER_STYLE_RULE",pt.counterStyleRule),s(Me,"SUPPORTS_RULE",pt.supportsRule),s(Me,"DOCUMENT_RULE",pt.documentRule),s(Me,"FONT_FEATURE_VALUES_RULE",pt.fontFeatureValuesRule),s(Me,"REGION_STYLE_RULE",pt.regionStyleRule);var kV=/^#([0-9a-fA-F]{3,4}){1,2}$|^rgb\(([^)]*)\)$|^rgba\(([^)]*)\)$|^hsla?\(\s*(-?\d+|-?\d*.\d+)\s*,\s*(-?\d+|-?\d*.\d+)%\s*,\s*(-?\d+|-?\d*.\d+)%\s*(,\s*(-?\d+|-?\d*.\d+)\s*)?\)|(?:(rgba?|hsla?)\((var\(\s*(--[^)\s]+)\))\))/,MV=/^(0|[-+]?[0-9]*\.?[0-9]+)(in|cm|em|mm|pt|pc|px|ex|rem|vh|vw|ch|vw|vh|vmin|vmax|Q)$/,RV=/^[-+]?[0-9]*\.?[0-9]+%$/,OV=/^[0-9]+deg$/,VV=/^url\(\s*([^)]*)\s*\)$/,IV=/^[0-9]+$/,DV=/^[0-9.]+$/,FV=/^calc\([^^)]+\)$/,_V=/^var\(\s*(--[^)\s]+)\)$/,BV=/^fit-content\([^^)]+\)$/,UV=/^((repeating-linear|linear|radial|repeating-radial|conic|repeating-conic)-gradient)\(([^)]+)\)$/,$w=["inherit","initial","unset","revert"],GV=["none","currentcolor","transparent","silver","gray","white","maroon","red","purple","fuchsia","green","lime","olive","yellow","navy","blue","teal","aliceblue","aqua","antiquewhite","aquamarine","azure","beige","bisque","black","blanchedalmond","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","gainsboro","ghostwhite","gold","goldenrod","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","limegreen","linen","magenta","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","oldlace","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","rebeccapurple","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","thistle","tomato","turquoise","violet","wheat","whitesmoke","yellowgreen"],g=class{static getLength(e){if(e==="0")return"0px";let t=e.match(MV);if(t){let r=parseFloat(t[1]);if(isNaN(r))return null;let o=t[2];return`${Math.round(r*1e6)/1e6}${o}`}return null}static getPercentage(e){return e==="0"?"0%":RV.test(e)?e:null}static getDegree(e){return e==="0"?"0deg":OV.test(e)?e:null}static getCalc(e){return FV.test(e)?e:null}static getFitContent(e){let t=e.toLowerCase();return t==="auto"||t==="max-content"||t==="min-content"||t==="fit-content"||BV.test(t)?t:null}static getMeasurement(e){return this.getLength(e)||this.getPercentage(e)||this.getCalc(e)}static getContentMeasurement(e){return this.getFitContent(e)||this.getMeasurement(e)}static getAutoMeasurement(e){return e.toLocaleLowerCase()==="auto"?"auto":this.getMeasurement(e)}static getInteger(e){return IV.test(e)?e:null}static getFloat(e){if(DV.test(e)){let t=parseFloat(e);return isNaN(t)?null:String(Math.round(t*1e6)/1e6)}return null}static getGradient(e){let t=e.match(UV);return t?`${t[1]}(${t[3].trim().split(/\s*,\s*/).join(", ")})`:null}static getColor(e){let t=e.toLowerCase();return GV.includes(t)?t:kV.test(e)?e.replace(/,([^ ])/g,", $1"):null}static getURL(e){if(!e)return null;if(e.toLowerCase()==="none")return"none";let t=VV.exec(e);if(!t)return null;let r=t[1].trim();if((r[0]==='"'||r[0]==="'")&&r[0]!==r[r.length-1])return null;(r[0]==='"'||r[0]==="'")&&(r=r.substring(1,r.length-1));for(let o=0;o<r.length;o++)switch(r[o]){case"(":case")":case" ":case" ":case`
23
+ `:case"'":case'"':return null;case"\\":o++;break}return`url("${r}")`}static getInitial(e){return e.toLowerCase()==="initial"?"initial":null}static getVariable(e){let t=e.match(_V);return t?`var(${t[1]})`:null}static getGlobal(e){let t=e.toLowerCase();return $w.includes(t)?t:null}static getGlobalExceptInitial(e){let t=e.toLowerCase();return t!=="initial"&&$w.includes(t)?t:null}};var HV=/^rect\((.*)\)$/i,nb=/,(?=(?:(?:(?!\))[\s\S])*\()|[^\(\)]*$)/,ir=/\s+(?=(?:(?:(?!\))[\s\S])*\()|[^\(\)]*$)/,qV=/\s+/gm,lb=["none","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset"],ab=["thin","medium","thick"],$V=["separate","collapse"],WV=["repeat","repeat-x","repeat-y","no-repeat"],jV=["border-box","padding-box","content-box"],zV=["border-box","padding-box","content-box"],XV=["scroll","fixed"],YV=["auto","fill","content"],KV=["none","left","right","both"],JV=["none","left","right","inline-start","inline-end"],ZV=["caption","icon","menu","message-box","small-caption","status-bar"],QV=["normal","bold","bolder","lighter"],tI=["normal","italic","oblique"],eI=["xx-small","x-small","small","medium","large","x-large","xx-large","xxx-large","smaller","larger"],rI=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],oI=["block","inline","inline-block","flex","inline-flex","grid","inline-grid","flow-root","none","contents","block flow","inline flow","inline flow-root","block flex","inline flex","block grid","inline grid","block flow-root","table","table-row","list-item"],iI=["stretch","repeat","round","space"],sI=["capitalize","uppercase","lowercase","none","full-width","full-size-kana"],nI=["visible","hidden","collapse"],Q=class{static getBorderCollapse(e,t){let r=g.getVariable(e);if(r)return{"border-collapse":{value:r,important:t}};let o=e.toLowerCase();return g.getGlobal(o)||$V.includes(o)?{"border-collapse":{value:o,important:t}}:null}static getDisplay(e,t){let r=g.getVariable(e);if(r)return{display:{value:r,important:t}};let o=e.toLowerCase();return g.getGlobal(o)||oI.includes(o)?{display:{value:o,important:t}}:null}static getDirection(e,t){let r=g.getVariable(e);if(r)return{direction:{value:r,important:t}};let o=e.toLowerCase();return g.getGlobal(o)||o==="ltr"||o==="rtl"?{direction:{value:o,important:t}}:null}static getLetterSpacing(e,t){let r=g.getVariable(e)||g.getGlobal(e)||g.getContentMeasurement(e);return r?{"letter-spacing":{value:r,important:t}}:null}static getWordSpacing(e,t){let r=g.getVariable(e)||g.getGlobal(e)||g.getContentMeasurement(e);return r?{"word-spacing":{value:r,important:t}}:null}static getTextIndent(e,t){let r=g.getVariable(e)||g.getGlobal(e)||g.getContentMeasurement(e);return r?{"text-indent":{value:r,important:t}}:null}static getWidth(e,t){let r=g.getVariable(e)||g.getGlobal(e)||g.getContentMeasurement(e);return r?{width:{value:r,important:t}}:null}static getHeight(e,t){let r=g.getVariable(e)||g.getGlobal(e)||g.getContentMeasurement(e);return r?{height:{value:r,important:t}}:null}static getTop(e,t){let r=g.getVariable(e)||g.getGlobal(e)||g.getContentMeasurement(e);return r?{top:{value:r,important:t}}:null}static getRight(e,t){let r=g.getVariable(e)||g.getGlobal(e)||g.getContentMeasurement(e);return r?{right:{value:r,important:t}}:null}static getBottom(e,t){let r=g.getVariable(e)||g.getGlobal(e)||g.getContentMeasurement(e);return r?{bottom:{value:r,important:t}}:null}static getLeft(e,t){let r=g.getVariable(e)||g.getGlobal(e)||g.getContentMeasurement(e);return r?{left:{value:r,important:t}}:null}static getClear(e,t){let r=g.getVariable(e);if(r)return{clear:{value:r,important:t}};let o=e.toLowerCase();return g.getGlobal(o)||KV.includes(o)?{clear:{value:o,important:t}}:null}static getClip(e,t){let r=g.getVariable(e);if(r)return{clip:{value:r,important:t}};let o=e.toLowerCase();if(g.getGlobal(o)||o==="auto")return{clip:{value:o,important:t}};let i=o.match(HV);if(!i)return null;let n=i[1].split(/\s*,\s*/);if(n.length!==4)return null;for(let a of n)if(!g.getMeasurement(a))return null;return{clip:{value:e,important:t}}}static getFloat(e,t){let r=g.getVariable(e);if(r)return{float:{value:r,important:t}};let o=e.toLowerCase();return g.getGlobal(o)||JV.includes(o)?{float:{value:o,important:t}}:null}static getCSSFloat(e,t){let r=g.getVariable(e);if(r)return{"css-float":{value:r,important:t}};let o=this.getFloat(e,t);return o?{"css-float":o.float}:null}static getOutline(e,t){let r=g.getVariable(e);if(r)return{outline:{value:r,important:t}};let o=g.getGlobal(e);if(o)return{...this.getOutlineColor(o,t),...this.getOutlineStyle(o,t),...this.getOutlineWidth(o,t)};let i={...this.getOutlineColor("initial",t),...this.getOutlineStyle("initial",t),...this.getOutlineWidth("initial",t)},n=e.split(ir);for(let a of n){let m=this.getOutlineWidth(a,t),p=this.getOutlineStyle(a,t),b=this.getOutlineColor(a,t);if(m===null&&p===null&&b===null)return null;Object.assign(i,m,p,b)}return i}static getOutlineColor(e,t){let r=g.getVariable(e)||g.getGlobal(e)||g.getColor(e);return r?{"outline-color":{value:r,important:t}}:null}static getOutlineOffset(e,t){let r=g.getVariable(e)||g.getLength(e);return r?{"outline-offset":{value:r,important:t}}:null}static getOutlineStyle(e,t){let r=g.getVariable(e);if(r)return{"outline-style":{value:r,important:t}};let o=e.toLowerCase();return g.getGlobal(o)||lb.includes(o)?{"outline-style":{value:o,important:t}}:null}static getOutlineWidth(e,t){let r=g.getVariable(e);if(r)return{"outline-width":{value:r,important:t}};let o=e.toLowerCase(),i=ab.includes(o)||g.getGlobal(o)?o:g.getLength(e);return i?{"outline-width":{value:i,important:t}}:null}static getBorder(e,t){let r=g.getVariable(e);if(r)return{border:{value:r,important:t}};let o=g.getGlobal(e);if(o)return{...this.getBorderWidth(o,t),...this.getBorderStyle(o,t),...this.getBorderColor(o,t),...this.getBorderImage(o,t)};let i={...this.getBorderWidth("initial",t),...this.getBorderStyle("initial",t),...this.getBorderColor("initial",t),...this.getBorderImage("initial",t)},n=e.replace(/\s*,\s*/g,",").split(ir);for(let a of n){let m=this.getBorderWidth(a,t),p=this.getBorderStyle(a,t),b=this.getBorderColor(a,t);if(m===null&&p===null&&b===null)return null;Object.assign(i,m,p,b)}return i}static getBorderWidth(e,t){let r=g.getVariable(e);if(r)return{"border-width":{value:r,important:t}};let o=g.getGlobal(e);if(o)return{...this.getBorderTopWidth(o,t),...this.getBorderRightWidth(o,t),...this.getBorderBottomWidth(o,t),...this.getBorderLeftWidth(o,t)};let i=e.split(ir),n=this.getBorderTopWidth(i[0],t),a=this.getBorderRightWidth(i[1]||i[0],t),m=this.getBorderBottomWidth(i[2]||i[0],t),p=this.getBorderLeftWidth(i[3]||i[1]||i[0],t);return!n||!a||!m||!p?null:{...n,...a,...m,...p}}static getBorderStyle(e,t){let r=g.getVariable(e);if(r)return{"border-style":{value:r,important:t}};let o=g.getGlobal(e);if(o)return{...this.getBorderTopStyle(o,t),...this.getBorderRightStyle(o,t),...this.getBorderBottomStyle(o,t),...this.getBorderLeftStyle(o,t)};let i=e.split(ir),n=this.getBorderTopStyle(i[0],t),a=this.getBorderRightStyle(i[1]||i[0],t),m=this.getBorderBottomStyle(i[2]||i[0],t),p=this.getBorderLeftStyle(i[3]||i[1]||i[0],t);return!n||!a||!m||!p?null:{...n,...a,...m,...p}}static getBorderColor(e,t){let r=g.getVariable(e);if(r)return{"border-color":{value:r,important:t}};let o=g.getGlobal(e);if(o)return{...this.getBorderTopColor(o,t),...this.getBorderRightColor(o,t),...this.getBorderBottomColor(o,t),...this.getBorderLeftColor(o,t)};let i=e.split(ir),n=this.getBorderTopColor(i[0],t),a=this.getBorderRightColor(i[1]||i[0],t),m=this.getBorderBottomColor(i[2]||i[0],t),p=this.getBorderLeftColor(i[3]||i[1]||i[0],t);return!n||!a||!m||!p?null:{...n,...a,...m,...p}}static getBorderImage(e,t){let r=g.getVariable(e);if(r)return{"border-image":{value:r,important:t}};let o=g.getGlobal(e);if(o)return{...this.getBorderImageSource(o,t),...this.getBorderImageSlice(o,t),...this.getBorderImageWidth(o,t),...this.getBorderImageOutset(o,t),...this.getBorderImageRepeat(o,t)};let i=e.replace(/\s\/\s/g,"/"),n=i.match(/\s*([a-zA-Z-]+\([^)]*\))\s*/);n&&(i=i.replace(n[0],""));let a=i.split(ir);n&&a.push(n[1]);let m={...this.getBorderImageSource("none",t),...this.getBorderImageSlice("100%",t),...this.getBorderImageWidth("1",t),...this.getBorderImageOutset("0",t),...this.getBorderImageRepeat("stretch",t)};for(let p=0,b=a.length;p<b;p++){let d=a[p],f=p>0?a[p-1]:"";if(!d.startsWith("url")&&d.includes("/")){let[v,C,L]=d.split("/"),j=this.getBorderImageSlice(`${f} ${v}`,t)||this.getBorderImageSlice(v,t),et=this.getBorderImageWidth(C,t),J=L&&this.getBorderImageOutset(L,t);if(!j||!et||J===null)return null;Object.assign(m,j,et,J)}else{let v=this.getBorderImageSlice(`${f} ${d}`,t)||this.getBorderImageSlice(d,t),C=this.getBorderImageSource(d,t),L=this.getBorderImageRepeat(d,t);if(!v&&!C&&!L)return null;Object.assign(m,v,C,L)}}return m}static getBorderImageSource(e,t){let r=g.getVariable(e);if(r)return{"border-image-source":{value:r,important:t}};let o=e.toLowerCase();if(g.getGlobal(o)||o==="none")return{"border-image-source":{important:t,value:o}};let i=g.getURL(e)||g.getGradient(e);return i?{"border-image-source":{important:t,value:i}}:null}static getBorderImageSlice(e,t){let r=g.getVariable(e);if(r)return{"border-image-slice":{value:r,important:t}};let o=e.toLowerCase();if(g.getGlobal(o))return{"border-image-slice":{important:t,value:o}};if(o!==o.trim())return null;let i=/(fill)|(calc\([^^)]+\))|([0-9]+%)|([0-9]+)/g,n=[],a;for(;a=i.exec(o);){let m=o[a.index-1],p=o[a.index+a[0].length];if(m&&m!==" "||p&&p!==" ")return null;let b=a[1]&&"fill",d=a[2]&&g.getCalc(a[2]),f=a[3]&&g.getPercentage(a[3]),v=a[4]&&g.getInteger(a[4]);if(!b&&!d&&!f&&!v)return null;n.push(b||d||f||v)}return!n.length||n.length>4?null:{"border-image-slice":{important:t,value:n.join(" ")}}}static getBorderImageWidth(e,t){let r=g.getVariable(e);if(r)return{"border-image-width":{value:r,important:t}};let o=e.toLowerCase();if(g.getGlobal(o))return{"border-image-width":{important:t,value:o}};let i=o.split(ir);if(i.length>4)return null;for(let n of i)if(!g.getInteger(n)&&!g.getAutoMeasurement(n))return null;return{"border-image-width":{important:t,value:e}}}static getBorderImageOutset(e,t){if(e==="0")return{"border-image-outset":{important:t,value:e}};let r=g.getVariable(e);if(r)return{"border-image-outset":{value:r,important:t}};let o=e.toLowerCase();if(g.getGlobal(o))return{"border-image-outset":{important:t,value:o}};let i=e.split(ir);if(i.length>4)return null;let n=[];for(let a of i){let m=g.getLength(a)||g.getFloat(a);if(!m)return null;n.push(m==="0px"?"0":m)}return{"border-image-outset":{important:t,value:n.join(" ")}}}static getBorderImageRepeat(e,t){let r=g.getVariable(e);if(r)return{"border-image-repeat":{value:r,important:t}};let o=e.toLowerCase();if(g.getGlobal(o))return{"border-image-repeat":{important:t,value:o}};let i=o.split(ir);if(i.length>2)return null;for(let n of i)if(!iI.includes(n))return null;return{"border-image-repeat":{important:t,value:e}}}static getBorderTopWidth(e,t){let r=g.getVariable(e);if(r)return{"border-top-width":{value:r,important:t}};let o=e.toLowerCase(),i=ab.includes(o)||g.getGlobal(o)?o:g.getLength(e);return i?{"border-top-width":{value:i,important:t}}:null}static getBorderRightWidth(e,t){let r=g.getVariable(e);if(r)return{"border-right-width":{value:r,important:t}};let o=e.toLowerCase(),i=ab.includes(o)||g.getGlobal(o)?o:g.getLength(e);return i?{"border-right-width":{value:i,important:t}}:null}static getBorderBottomWidth(e,t){let r=g.getVariable(e);if(r)return{"border-bottom-width":{value:r,important:t}};let o=e.toLowerCase(),i=ab.includes(o)||g.getGlobal(o)?o:g.getLength(e);return i?{"border-bottom-width":{value:i,important:t}}:null}static getBorderLeftWidth(e,t){let r=g.getVariable(e);if(r)return{"border-left-width":{value:r,important:t}};let o=e.toLowerCase(),i=ab.includes(o)||g.getGlobal(o)?o:g.getLength(e);return i?{"border-left-width":{value:i,important:t}}:null}static getBorderTopStyle(e,t){let r=g.getVariable(e);if(r)return{"border-top-style":{value:r,important:t}};let o=e.toLowerCase();return g.getGlobal(o)||lb.includes(o)?{"border-top-style":{value:o,important:t}}:null}static getBorderRightStyle(e,t){let r=g.getVariable(e);if(r)return{"border-right-style":{value:r,important:t}};let o=e.toLowerCase();return g.getGlobal(o)||lb.includes(o)?{"border-right-style":{value:o,important:t}}:null}static getBorderBottomStyle(e,t){let r=g.getVariable(e);if(r)return{"border-bottom-style":{value:r,important:t}};let o=e.toLowerCase();return g.getGlobal(o)||lb.includes(o)?{"border-bottom-style":{value:o,important:t}}:null}static getBorderLeftStyle(e,t){let r=g.getVariable(e);if(r)return{"border-left-style":{value:r,important:t}};let o=e.toLowerCase();return g.getGlobal(o)||lb.includes(o)?{"border-left-style":{value:o,important:t}}:null}static getBorderTopColor(e,t){let r=g.getVariable(e);if(r)return{"border-top-color":{value:r,important:t}};let o=g.getGlobal(e)||g.getColor(e);return o?{"border-top-color":{value:o,important:t}}:null}static getBorderRightColor(e,t){let r=g.getVariable(e);if(r)return{"border-right-color":{value:r,important:t}};let o=g.getGlobal(e)||g.getColor(e);return o?{"border-right-color":{value:o,important:t}}:null}static getBorderBottomColor(e,t){let r=g.getVariable(e);if(r)return{"border-bottom-color":{value:r,important:t}};let o=g.getGlobal(e)||g.getColor(e);return o?{"border-bottom-color":{value:o,important:t}}:null}static getBorderLeftColor(e,t){let r=g.getVariable(e);if(r)return{"border-left-color":{value:r,important:t}};let o=g.getGlobal(e)||g.getColor(e);return o?{"border-left-color":{value:o,important:t}}:null}static getBorderRadius(e,t){let r=g.getVariable(e);if(r)return{"border-radius":{value:r,important:t}};let o=g.getGlobal(e);if(o)return{...this.getBorderTopLeftRadius(o,t),...this.getBorderTopRightRadius(o,t),...this.getBorderBottomRightRadius(o,t),...this.getBorderBottomLeftRadius(o,t)};let i=e.split(ir),n=this.getBorderTopLeftRadius(i[0],t),a=this.getBorderTopRightRadius(i[1]||i[0],t),m=this.getBorderBottomRightRadius(i[2]||i[0],t),p=this.getBorderBottomLeftRadius(i[3]||i[1]||i[0],t);return!n||!a||!m||!p?null:{...n,...a,...m,...p}}static getBorderTopLeftRadius(e,t){let r=g.getVariable(e);if(r)return{"border-top-left-radius":{value:r,important:t}};let o=g.getGlobal(e)||g.getMeasurement(e);return o?{"border-top-left-radius":{important:t,value:o}}:null}static getBorderTopRightRadius(e,t){let r=g.getVariable(e);if(r)return{"border-top-right-radius":{value:r,important:t}};let o=g.getGlobal(e)||g.getMeasurement(e);return o?{"border-top-right-radius":{important:t,value:o}}:null}static getBorderBottomRightRadius(e,t){let r=g.getVariable(e);if(r)return{"border-bottom-right-radius":{value:r,important:t}};let o=g.getGlobal(e)||g.getMeasurement(e);return o?{"border-bottom-right-radius":{important:t,value:o}}:null}static getBorderBottomLeftRadius(e,t){let r=g.getVariable(e);if(r)return{"border-bottom-left-radius":{value:r,important:t}};let o=g.getGlobal(e)||g.getMeasurement(e);return o?{"border-bottom-left-radius":{important:t,value:o}}:null}static getBorderTop(e,t){let r=g.getVariable(e);if(r)return{"border-top":{value:r,important:t}};let o=g.getGlobal(e);if(o)return{...this.getBorderTopWidth(o,t),...this.getBorderTopStyle(o,t),...this.getBorderTopColor(o,t)};let i={...this.getBorderTopWidth("initial",t),...this.getBorderTopStyle("initial",t),...this.getBorderTopColor("initial",t)},n=e.split(ir);for(let a of n){let m=this.getBorderTopWidth(a,t),p=this.getBorderTopStyle(a,t),b=this.getBorderTopColor(a,t);if(m===null&&p===null&&b===null)return null;Object.assign(i,m,p,b)}return i}static getBorderRight(e,t){let r=g.getVariable(e);if(r)return{"border-right":{value:r,important:t}};let o=g.getGlobal(e);if(o)return{...this.getBorderRightWidth(o,t),...this.getBorderRightStyle(o,t),...this.getBorderRightColor(o,t)};let i={...this.getBorderRightWidth("initial",t),...this.getBorderRightStyle("initial",t),...this.getBorderRightColor("initial",t)},n=e.split(ir);for(let a of n){let m=this.getBorderRightWidth(a,t),p=this.getBorderRightStyle(a,t),b=this.getBorderRightColor(a,t);if(m===null&&p===null&&b===null)return null;Object.assign(i,m,p,b)}return i}static getBorderBottom(e,t){let r=g.getVariable(e);if(r)return{"border-bottom":{value:r,important:t}};let o=g.getGlobal(e);if(o)return{...this.getBorderBottomWidth(o,t),...this.getBorderBottomStyle(o,t),...this.getBorderBottomColor(o,t)};let i={...this.getBorderBottomWidth("initial",t),...this.getBorderBottomStyle("initial",t),...this.getBorderBottomColor("initial",t)},n=e.split(ir);for(let a of n){let m=this.getBorderBottomWidth(a,t),p=this.getBorderBottomStyle(a,t),b=this.getBorderBottomColor(a,t);if(m===null&&p===null&&b===null)return null;Object.assign(i,m,p,b)}return i}static getBorderLeft(e,t){let r=g.getVariable(e);if(r)return{"border-left":{value:r,important:t}};let o=g.getGlobal(e);if(o)return{...this.getBorderLeftWidth(o,t),...this.getBorderLeftStyle(o,t),...this.getBorderLeftColor(o,t)};let i={...this.getBorderLeftWidth("initial",t),...this.getBorderLeftStyle("initial",t),...this.getBorderLeftColor("initial",t)},n=e.split(ir);for(let a of n){let m=this.getBorderLeftWidth(a,t),p=this.getBorderLeftStyle(a,t),b=this.getBorderLeftColor(a,t);if(m===null&&p===null&&b===null)return null;Object.assign(i,m,p,b)}return i}static getPadding(e,t){let r=g.getVariable(e);if(r)return{padding:{value:r,important:t}};let o=g.getGlobal(e);if(o)return{...this.getPaddingTop(o,t),...this.getPaddingRight(o,t),...this.getPaddingBottom(o,t),...this.getPaddingLeft(o,t)};let i=e.split(ir),n=this.getPaddingTop(i[0],t),a=this.getPaddingRight(i[1]||i[0],t),m=this.getPaddingBottom(i[2]||i[0],t),p=this.getPaddingLeft(i[3]||i[1]||i[0],t);return!n||!a||!m||!p?null:{...n,...a,...m,...p}}static getPaddingTop(e,t){let r=g.getVariable(e);if(r)return{"padding-top":{value:r,important:t}};let o=g.getGlobal(e)||g.getMeasurement(e);return o?{"padding-top":{value:o,important:t}}:null}static getPaddingRight(e,t){let r=g.getVariable(e);if(r)return{"padding-right":{value:r,important:t}};let o=g.getGlobal(e)||g.getMeasurement(e);return o?{"padding-right":{value:o,important:t}}:null}static getPaddingBottom(e,t){let r=g.getVariable(e);if(r)return{"padding-bottom":{value:r,important:t}};let o=g.getGlobal(e)||g.getMeasurement(e);return o?{"padding-bottom":{value:o,important:t}}:null}static getPaddingLeft(e,t){let r=g.getVariable(e);if(r)return{"padding-left":{value:r,important:t}};let o=g.getGlobal(e)||g.getMeasurement(e);return o?{"padding-left":{value:o,important:t}}:null}static getMargin(e,t){let r=g.getVariable(e);if(r)return{margin:{value:r,important:t}};let o=g.getGlobal(e);if(o)return{...this.getMarginTop(o,t),...this.getMarginRight(o,t),...this.getMarginBottom(o,t),...this.getMarginLeft(o,t)};let i=e.split(ir),n=this.getMarginTop(i[0],t),a=this.getMarginRight(i[1]||i[0],t),m=this.getMarginBottom(i[2]||i[0],t),p=this.getMarginLeft(i[3]||i[1]||i[0],t);return!n||!a||!m||!p?null:{...n,...a,...m,...p}}static getMarginTop(e,t){let r=g.getVariable(e);if(r)return{"margin-top":{value:r,important:t}};let o=g.getGlobal(e)||g.getAutoMeasurement(e);return o?{"margin-top":{value:o,important:t}}:null}static getMarginRight(e,t){let r=g.getVariable(e);if(r)return{"margin-right":{value:r,important:t}};let o=g.getGlobal(e)||g.getAutoMeasurement(e);return o?{"margin-right":{value:o,important:t}}:null}static getMarginBottom(e,t){let r=g.getVariable(e);if(r)return{"margin-bottom":{value:r,important:t}};let o=g.getGlobal(e)||g.getAutoMeasurement(e);return o?{"margin-bottom":{value:o,important:t}}:null}static getMarginLeft(e,t){let r=g.getVariable(e);if(r)return{"margin-left":{value:r,important:t}};let o=g.getGlobal(e)||g.getAutoMeasurement(e);return o?{"margin-left":{value:o,important:t}}:null}static getFlex(e,t){let r=g.getVariable(e);if(r)return{flex:{value:r,important:t}};let o=e.trim().toLowerCase(),i=g.getGlobal(e);if(i)return{...this.getFlexGrow(i,t),...this.getFlexShrink(i,t),...this.getFlexBasis(i,t)};switch(o){case"none":return{...this.getFlexGrow("0",t),...this.getFlexShrink("0",t),...this.getFlexBasis("auto",t)};case"auto":return{...this.getFlexGrow("1",t),...this.getFlexShrink("1",t),...this.getFlexBasis("auto",t)}}let n=g.getContentMeasurement(o);if(n)return{...this.getFlexGrow("1",t),...this.getFlexShrink("1",t),...this.getFlexBasis(n,t)};let a=e.split(ir),m=this.getFlexGrow(a[0],t),p=this.getFlexShrink(a[1]||"1",t),b=this.getFlexBasis(a[2]||"0%",t);return!m||!p||!b?null:{...m,...p,...b}}static getFlexBasis(e,t){let r=g.getVariable(e);if(r)return{"flex-basis":{value:r,important:t}};let o=e.toLowerCase();if(g.getGlobal(o)||YV.includes(o))return{"flex-basis":{value:o,important:t}};let i=g.getContentMeasurement(o);return i?{"flex-basis":{value:i,important:t}}:null}static getFlexShrink(e,t){let r=g.getVariable(e);if(r)return{"flex-shrink":{value:r,important:t}};let o=g.getGlobal(e)||g.getFloat(e);return o?{"flex-shrink":{value:o,important:t}}:null}static getFlexGrow(e,t){let r=g.getVariable(e);if(r)return{"flex-grow":{value:r,important:t}};let o=g.getGlobal(e)||g.getFloat(e);return o?{"flex-grow":{value:o,important:t}}:null}static getBackground(e,t){let r=g.getVariable(e);if(r)return{background:{value:r,important:t}};let o=g.getGlobal(e);if(o)return{...this.getBackgroundImage(o,t),...this.getBackgroundPosition(o,t),...this.getBackgroundSize(o,t),...this.getBackgroundRepeat(o,t),...this.getBackgroundAttachment(o,t),...this.getBackgroundOrigin(o,t),...this.getBackgroundClip(o,t),...this.getBackgroundColor(o,t)};let i={...this.getBackgroundImage("initial",t),...this.getBackgroundPosition("initial",t),...this.getBackgroundSize("initial",t),...this.getBackgroundRepeat("initial",t),...this.getBackgroundAttachment("initial",t),...this.getBackgroundOrigin("initial",t),...this.getBackgroundClip("initial",t),...this.getBackgroundColor("initial",t)},n=e.replace(/\s,\s/g,",").replace(/\s\/\s/g,"/").split(ir),a=[];for(let m of n)if(!m.startsWith("url")&&m.includes("/")){let[p,b]=m.split("/"),d=this.getBackgroundPositionX(p,t),f=this.getBackgroundPositionY(p,t),v=this.getBackgroundSize(b,t);if(!d&&!f||!v)return null;f?a.push(f["background-position-y"].value):d&&a.push(d["background-position-x"].value),Object.assign(i,v)}else{let p=this.getBackgroundImage(m,t),b=this.getBackgroundRepeat(m,t),d=this.getBackgroundAttachment(m,t),f=this.getBackgroundPositionX(m,t),v=this.getBackgroundPositionY(m,t),C=this.getBackgroundColor(m,t),L=this.getBackgroundOrigin(m,t),j=this.getBackgroundClip(m,t);if(!p&&!b&&!d&&!f&&!v&&!C&&!L&&!j)return null;f?a.push(f["background-position-x"].value):v&&a.push(v["background-position-y"].value),Object.assign(i,p,b,d,C,L,j)}return a.length&&Object.assign(i,this.getBackgroundPosition(a.join(" "),t)),i}static getBackgroundSize(e,t){let r=g.getVariable(e);if(r)return{"background-size":{value:r,important:t}};let o=e.toLowerCase();if(g.getGlobal(o))return{"background-size":{value:o,important:t}};let i=o.split(nb),n=[];for(let a of i){let m=a.trim().split(" ");if(m.length!==1&&m.length!==2)return null;if(m.length===1){if(m[0]!=="cover"&&m[0]!=="contain"&&!g.getAutoMeasurement(m[0]))return null;n.push(m[0])}else{if(!g.getAutoMeasurement(m[0])||!g.getAutoMeasurement(m[1]))return null;n.push(`${m[0]} ${m[1]}`)}}return n.length===1?{"background-size":{value:n.join(", "),important:t}}:null}static getBackgroundOrigin(e,t){let r=g.getVariable(e);if(r)return{"background-origin":{value:r,important:t}};let o=e.toLowerCase();return g.getGlobal(o)||jV.includes(o)?{"background-origin":{value:o,important:t}}:null}static getBackgroundClip(e,t){let r=g.getVariable(e);if(r)return{"background-clip":{value:r,important:t}};let o=e.toLowerCase();return g.getGlobal(o)||zV.includes(o)?{"background-clip":{value:o,important:t}}:null}static getBackgroundRepeat(e,t){let r=g.getVariable(e);if(r)return{"background-repeat":{value:r,important:t}};let o=e.toLowerCase();return g.getGlobal(o)||WV.includes(o)?{"background-repeat":{value:o,important:t}}:null}static getBackgroundAttachment(e,t){let r=g.getVariable(e);if(r)return{"background-attachment":{value:r,important:t}};let o=e.toLowerCase();return g.getGlobal(o)||XV.includes(o)?{"background-attachment":{value:o,important:t}}:null}static getBackgroundPosition(e,t){let r=g.getVariable(e);if(r)return{"background-position":{value:r,important:t}};let o=g.getGlobal(e);if(o)return{...this.getBackgroundPositionX(o,t),...this.getBackgroundPositionY(o,t)};let i=e.split(nb),n="",a="";for(let b of i){let d=b.trim().split(ir);switch(n&&(n+=",",a+=","),d.length){case 1:d[0]==="top"||d[0]==="bottom"?(n+="center",a+=d[0]):d[0]==="left"||d[0]==="right"?(n+=d[0],a+="center"):d[0]==="center"&&(n+="center",a+="center");break;case 2:n+=d[0]==="top"||d[0]==="bottom"?d[1]:d[0],a+=d[0]==="top"||d[0]==="bottom"?d[0]:d[1];break;case 3:d[0]==="top"||d[0]==="bottom"||d[1]==="left"||d[1]==="right"||d[2]==="left"||d[2]==="right"?g.getMeasurement(d[1])?(n+=d[2],a+=`${d[0]} ${d[1]}`):(n+=`${d[1]} ${d[2]}`,a+=d[0]):g.getMeasurement(d[1])?(n+=`${d[0]} ${d[1]}`,a+=d[2]):(n+=d[0],a+=`${d[1]} ${d[2]}`);break;case 4:n+=d[0]==="top"||d[0]==="bottom"||d[1]==="top"||d[1]==="bottom"?`${d[2]} ${d[3]}`:`${d[0]} ${d[1]}`,a+=d[0]==="top"||d[0]==="bottom"||d[1]==="top"||d[1]==="bottom"?`${d[0]} ${d[1]}`:`${d[2]} ${d[3]}`;break;default:return null}}let m=this.getBackgroundPositionX(n,t),p=this.getBackgroundPositionY(a,t);return m&&p?{...m,...p}:null}static getBackgroundPositionX(e,t){let r=g.getVariable(e);if(r)return{"background-position-x":{value:r,important:t}};let o=e.toLowerCase();if(g.getGlobal(o))return{"background-position-x":{value:o,important:t}};let i=o.split(nb),n="";for(let a of i){let m=a.trim().split(ir);n&&(n+=",");for(let p of m){let b=g.getMeasurement(p);if(!b&&p!=="left"&&p!=="right"&&p!=="center")return null;n&&(n+=" "),n+=b||p}}return{"background-position-x":{value:n,important:t}}}static getBackgroundPositionY(e,t){let r=g.getVariable(e);if(r)return{"background-position-y":{value:r,important:t}};let o=e.toLowerCase();if(g.getGlobal(o))return{"background-position-y":{value:o,important:t}};let i=o.split(nb),n="";for(let a of i){let m=a.trim().split(ir);n&&(n+=",");for(let p of m){let b=g.getMeasurement(p);if(!b&&p!=="top"&&p!=="bottom"&&p!=="center")return null;n&&(n+=" "),n+=b||p}}return{"background-position-y":{value:n,important:t}}}static getBackgroundColor(e,t){let r=g.getVariable(e);if(r)return{"background-color":{value:r,important:t}};let o=g.getGlobal(e)||g.getColor(e);return o?{"background-color":{important:t,value:o}}:null}static getBackgroundImage(e,t){let r=g.getVariable(e);if(r)return{"background-image":{value:r,important:t}};let o=e.toLowerCase();if(g.getGlobal(o)||o==="none")return{"background-image":{value:o,important:t}};let i=e.split(nb),n=[];for(let a of i){let m=g.getURL(a.trim())||g.getGradient(a.trim());if(!m)return null;n.push(m)}return n.length?{"background-image":{value:n.join(", "),important:t}}:null}static getColor(e,t){let r=g.getVariable(e);if(r)return{color:{value:r,important:t}};let o=g.getGlobal(e)||g.getColor(e);return o?{color:{important:t,value:o}}:null}static getFloodColor(e,t){let r=g.getVariable(e);if(r)return{"flood-color":{value:r,important:t}};let o=g.getGlobal(e)||g.getColor(e);return o?{"flood-color":{important:t,value:o}}:null}static getFont(e,t){let r=g.getVariable(e);if(r)return{font:{value:r,important:t}};let o=e.toLowerCase();if(g.getGlobal(o))return{...this.getFontStyle(o,t),...this.getFontVariant(o,t),...this.getFontWeight(o,t),...this.getFontStretch(o,t),...this.getFontSize(o,t),...this.getLineHeight(o,t),...this.getFontFamily(o,t)};if(ZV.includes(o))return{font:{value:o,important:t}};let i={...this.getFontStyle("normal",t),...this.getFontVariant("normal",t),...this.getFontWeight("normal",t),...this.getFontStretch("normal",t),...this.getLineHeight("normal",t)},n=e.replace(/\s*\/\s*/g,"/").split(ir);for(let a=0,m=n.length;a<m;a++){let p=n[a];if(p.includes("/")){let[b,d]=p.split("/"),f=this.getFontSize(b,t),v=this.getLineHeight(d,t);if(!f||!v)return null;Object.assign(i,f,v)}else{let b=this.getFontStyle(p,t),d=this.getFontVariant(p,t),f=this.getFontWeight(p,t),v=this.getFontSize(p,t),C=this.getFontStretch(p,t);if(b)Object.assign(i,b);else if(d)Object.assign(i,d);else if(f)Object.assign(i,f);else if(v)Object.assign(i,v);else if(C)Object.assign(i,C);else{let L=n.slice(a).join(" "),j=this.getFontFamily(L,t);if(!j)return null;Object.assign(i,j);break}}}return i}static getFontStyle(e,t){let r=g.getVariable(e);if(r)return{"font-style":{value:r,important:t}};let o=e.toLowerCase();if(g.getGlobal(o)||tI.includes(o))return{"font-style":{value:o,important:t}};let i=e.split(ir);return i.length===2&&i[0]==="oblique"&&g.getDegree(i[1])?{"font-style":{value:o,important:t}}:null}static getFontVariant(e,t){let r=g.getVariable(e);if(r)return{"font-variant":{value:r,important:t}};let o=e.toLowerCase();return g.getGlobal(o)||o==="normal"||o==="small-caps"?{"font-variant":{value:o,important:t}}:null}static getFontStretch(e,t){let r=g.getVariable(e);if(r)return{"font-stretch":{value:r,important:t}};let o=e.toLowerCase();if(g.getGlobal(o)||rI.includes(o))return{"font-stretch":{value:o,important:t}};let i=g.getPercentage(e);return i?{"font-stretch":{value:i,important:t}}:null}static getFontWeight(e,t){let r=g.getVariable(e);if(r)return{"font-weight":{value:r,important:t}};let o=e.toLowerCase();if(g.getGlobal(o)||QV.includes(o))return{"font-weight":{value:o,important:t}};let i=g.getInteger(e);return i?{"font-weight":{value:i,important:t}}:null}static getFontSize(e,t){let r=g.getVariable(e);if(r)return{"font-size":{value:r,important:t}};let o=e.toLowerCase();if(g.getGlobal(o)||eI.includes(o))return{"font-size":{value:o,important:t}};let i=g.getMeasurement(e);return i?{"font-size":{value:i,important:t}}:null}static getLineHeight(e,t){let r=g.getVariable(e);if(r)return{"line-height":{value:r,important:t}};let o=e.toLowerCase();if(g.getGlobal(o)||o==="normal")return{"line-height":{value:o,important:t}};let i=g.getFloat(e)||g.getMeasurement(e);return i?{"line-height":{value:i,important:t}}:null}static getFontFamily(e,t){let r=g.getVariable(e);if(r)return{"font-family":{value:r,important:t}};let o=g.getGlobal(e);if(o)return{"font-family":{value:o,important:t}};let i=e.split(","),n="",a=!1;for(let m=0,p=i.length;m<p;m++){let b=i[m].trim().replace(/'/g,'"');if(!b)return null;if(b.includes(" ")){let d=(b.match(/"/g)||[]).length;if((b[0]!=='"'||m!==0)&&d!==2&&d!==0)return null;b[0]==='"'&&b[b.length-1]!=='"'?a=!0:b[0]!=='"'&&b[b.length-1]!=='"'&&(b=`"${b}"`)}else b=b.replace(/"/g,"");m>0&&(n+=", "),n+=b}return a&&(n+='"'),n?{"font-family":{important:t,value:n}}:null}static getTextTransform(e,t){let r=g.getVariable(e);if(r)return{"text-transform":{value:r,important:t}};let o=e.toLowerCase(),i=g.getGlobal(o)||sI.includes(o)&&o;return i?{"text-transform":{value:i,important:t}}:null}static getVisibility(e,t){let r=g.getVariable(e);if(r)return{visibility:{value:r,important:t}};let o=e.toLowerCase(),i=g.getGlobal(o)||nI.includes(o)&&o;return i?{visibility:{value:i,important:t}}:null}static getAspectRatio(e,t){let r=g.getVariable(e);if(r)return{"aspect-ratio":{value:r,important:t}};let o=e.toLowerCase();if(g.getGlobal(o))return{"aspect-ratio":{value:o,important:t}};let i=e,n=i.includes("auto");if(n&&(i=i.replace("auto","")),i=i.replace(qV,""),!i)return{"aspect-ratio":{value:"auto",important:t}};let a=i.split("/");if(a.length>3)return null;let m=Number(a[0]),p=a[1]?Number(a[1]):1;return isNaN(m)||isNaN(p)?null:n?{"aspect-ratio":{value:`auto ${m} / ${p}`,important:t}}:{"aspect-ratio":{value:`${m} / ${p}`,important:t}}}};var xr=class{static getMargin(e){return this.getPaddingLikeProperty(["margin-top","margin-right","margin-bottom","margin-left"],e)}static getPadding(e){return this.getPaddingLikeProperty(["padding-top","padding-right","padding-bottom","padding-left"],e)}static getOutline(e){if(!e["outline-color"]?.value||!e["outline-style"]?.value||!e["outline-width"]?.value)return null;let t=e["outline-color"].important&&e["outline-style"].important&&e["outline-width"].important;if(g.getGlobalExceptInitial(e["outline-width"].value)&&e["outline-width"].value===e["outline-style"].value&&e["outline-width"].value===e["outline-color"].value)return{important:t,value:e["outline-width"].value};let r=[];return g.getInitial(e["outline-color"]?.value)||r.push(e["outline-color"].value),g.getInitial(e["outline-style"]?.value)||r.push(e["outline-style"].value),g.getInitial(e["outline-width"].value)||r.push(e["outline-width"].value),{important:t,value:r.join(" ")}}static getBorder(e){if(!e["border-top-width"]?.value||e["border-top-width"]?.value!==e["border-right-width"]?.value||e["border-top-width"]?.value!==e["border-bottom-width"]?.value||e["border-top-width"]?.value!==e["border-left-width"]?.value||!e["border-top-style"]?.value||e["border-top-style"]?.value!==e["border-right-style"]?.value||e["border-top-style"]?.value!==e["border-bottom-style"]?.value||e["border-top-style"]?.value!==e["border-left-style"]?.value||!e["border-top-color"]?.value||e["border-top-color"]?.value!==e["border-right-color"]?.value||e["border-top-color"]?.value!==e["border-bottom-color"]?.value||e["border-top-color"]?.value!==e["border-left-color"]?.value||!e["border-image-source"]?.value||!e["border-image-slice"]?.value||!e["border-image-width"]?.value||!e["border-image-outset"]?.value||!e["border-image-repeat"]?.value)return null;let t=e["border-top-width"].important&&e["border-right-width"].important&&e["border-bottom-width"].important&&e["border-left-width"].important&&e["border-top-style"].important&&e["border-right-style"].important&&e["border-bottom-style"].important&&e["border-left-style"].important&&e["border-top-color"].important&&e["border-right-color"].important&&e["border-bottom-color"].important&&e["border-left-color"].important&&e["border-image-source"].important&&e["border-image-slice"].important&&e["border-image-width"].important&&e["border-image-outset"].important&&e["border-image-repeat"].important;if(g.getGlobalExceptInitial(e["border-top-width"].value)||g.getGlobalExceptInitial(e["border-top-style"].value)||g.getGlobalExceptInitial(e["border-top-color"].value)||g.getGlobalExceptInitial(e["border-image-source"].value)||g.getGlobalExceptInitial(e["border-image-slice"].value)||g.getGlobalExceptInitial(e["border-image-width"].value)||g.getGlobalExceptInitial(e["border-image-outset"].value)||g.getGlobalExceptInitial(e["border-image-repeat"].value))return e["border-top-width"].value!==e["border-top-style"].value||e["border-top-width"].value!==e["border-top-color"].value||e["border-top-width"].value!==e["border-image-source"].value||e["border-top-width"].value!==e["border-image-slice"].value||e["border-top-width"].value!==e["border-image-width"].value||e["border-top-width"].value!==e["border-image-outset"].value||e["border-top-width"].value!==e["border-image-repeat"].value?null:{important:t,value:e["border-top-width"].value};let r=[];return g.getInitial(e["border-top-width"].value)||r.push(e["border-top-width"].value),g.getInitial(e["border-top-style"].value)||r.push(e["border-top-style"].value),g.getInitial(e["border-top-color"].value)||r.push(e["border-top-color"].value),{important:t,value:r.join(" ")}}static getBorderTop(e){return this.getBorderTopRightBottomLeft("top",e)}static getBorderRight(e){return this.getBorderTopRightBottomLeft("right",e)}static getBorderBottom(e){return this.getBorderTopRightBottomLeft("bottom",e)}static getBorderLeft(e){return this.getBorderTopRightBottomLeft("left",e)}static getBorderColor(e){return this.getPaddingLikeProperty(["border-top-color","border-right-color","border-bottom-color","border-left-color"],e)}static getBorderWidth(e){return this.getPaddingLikeProperty(["border-top-width","border-right-width","border-bottom-width","border-left-width"],e)}static getBorderStyle(e){return this.getPaddingLikeProperty(["border-top-style","border-right-style","border-bottom-style","border-left-style"],e)}static getBorderRadius(e){return this.getPaddingLikeProperty(["border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius"],e)}static getBorderImage(e){if(!e["border-image-source"]?.value||!e["border-image-slice"]?.value||!e["border-image-width"]?.value||!e["border-image-outset"]?.value||!e["border-image-repeat"]?.value)return null;let t=e["border-image-source"].important&&e["border-image-slice"].important&&e["border-image-width"].important&&e["border-image-outset"].important&&e["border-image-repeat"].important;return g.getGlobal(e["border-image-source"].value)||g.getGlobal(e["border-image-slice"].value)||g.getGlobal(e["border-image-width"].value)||g.getGlobal(e["border-image-outset"].value)||g.getGlobal(e["border-image-repeat"].value)?e["border-image-source"].value!==e["border-image-slice"].value||e["border-image-source"].value!==e["border-image-width"].value||e["border-image-source"].value!==e["border-image-outset"].value||e["border-image-source"].value!==e["border-image-repeat"].value?null:{important:t,value:e["border-image-source"].value}:{important:t,value:`${e["border-image-source"].value} ${e["border-image-slice"].value} / ${e["border-image-width"].value} / ${e["border-image-outset"].value} ${e["border-image-repeat"].value}`}}static getBackground(e){if(!e["background-image"]?.value||!e["background-repeat"]?.value||!e["background-attachment"]?.value||!e["background-position-x"]?.value||!e["background-position-y"]?.value||!e["background-color"]?.value||!e["background-size"]?.value||!e["background-origin"]?.value||!e["background-clip"]?.value)return null;let t=e["background-image"].important&&e["background-repeat"].important&&e["background-attachment"].important&&e["background-position-x"].important&&e["background-position-y"].important&&e["background-color"].important&&e["background-size"].important&&e["background-origin"].important&&e["background-clip"].important;if(g.getGlobalExceptInitial(e["background-image"].value)||g.getGlobalExceptInitial(e["background-repeat"].value)||g.getGlobalExceptInitial(e["background-attachment"].value)||g.getGlobalExceptInitial(e["background-position-x"].value)||g.getGlobalExceptInitial(e["background-position-y"].value)||g.getGlobalExceptInitial(e["background-color"].value)||g.getGlobalExceptInitial(e["background-size"].value)||g.getGlobalExceptInitial(e["background-origin"].value)||g.getGlobalExceptInitial(e["background-clip"].value))return e["background-image"].value!==e["background-repeat"].value||e["background-image"].value!==e["background-attachment"].value||e["background-image"].value!==e["background-position-x"].value||e["background-image"].value!==e["background-position-y"].value||e["background-image"].value!==e["background-color"].value||e["background-image"].value!==e["background-size"].value||e["background-image"].value!==e["background-origin"].value||e["background-image"].value!==e["background-clip"].value?null:{important:t,value:e["background-image"].value};let r=[];return g.getInitial(e["background-image"].value)||r.push(e["background-image"].value),!g.getInitial(e["background-position-x"].value)&&!g.getInitial(e["background-position-y"].value)&&!g.getInitial(e["background-size"].value)?r.push(`${e["background-position-x"].value} ${e["background-position-y"].value} / ${e["background-size"].value}`):!g.getInitial(e["background-position-x"].value)&&!g.getInitial(e["background-position-y"].value)&&r.push(`${e["background-position-x"].value} ${e["background-position-y"].value}`),g.getInitial(e["background-repeat"].value)||r.push(e["background-repeat"].value),g.getInitial(e["background-attachment"].value)||r.push(e["background-attachment"].value),g.getInitial(e["background-origin"].value)||r.push(e["background-origin"].value),g.getInitial(e["background-clip"].value)||r.push(e["background-clip"].value),g.getInitial(e["background-color"].value)||r.push(e["background-color"].value),{important:t,value:r.join(" ")}}static getBackgroundPosition(e){if(!e["background-position-x"]?.value||!e["background-position-y"]?.value)return null;let t=e["background-position-x"].important&&e["background-position-y"].important;if(g.getGlobal(e["background-position-x"].value)||g.getGlobal(e["background-position-y"].value))return e["background-position-x"].value!==e["background-position-y"].value?null:{important:t,value:e["background-position-x"].value};let r=e["background-position-x"].value.replace(/ *, */g,",").split(","),o=e["background-position-y"].value.replace(/ *, */g,",").split(","),i=[];for(let n=0;n<r.length;n++)i.push(`${r[n]} ${o[n]}`);return{important:t,value:i.join(", ")}}static getFlex(e){if(!e["flex-grow"]?.value||!e["flex-shrink"]?.value||!e["flex-basis"]?.value)return null;let t=e["flex-grow"].important&&e["flex-shrink"].important&&e["flex-basis"].important;return g.getGlobal(e["flex-grow"].value)||g.getGlobal(e["flex-shrink"].value)||g.getGlobal(e["flex-basis"].value)?e["flex-grow"].value!==e["flex-shrink"].value||e["flex-grow"].value!==e["flex-basis"].value?null:{important:t,value:e["flex-grow"].value}:{important:t,value:`${e["flex-grow"].value} ${e["flex-shrink"].value} ${e["flex-basis"].value}`}}static getFont(e){if(!e["font-size"]?.value||!e["font-family"]?.value||!e["font-weight"]?.value||!e["font-style"]?.value||!e["font-variant"]?.value||!e["font-stretch"]?.value||!e["line-height"]?.value)return null;let t=e["font-size"].important&&e["font-family"].important&&e["font-weight"].important&&e["font-style"].important&&e["font-variant"].important&&e["font-stretch"].important&&e["line-height"].important;if(g.getGlobal(e["font-size"].value)||g.getGlobal(e["font-family"].value)||g.getGlobal(e["font-weight"].value)||g.getGlobal(e["font-style"].value)||g.getGlobal(e["font-variant"].value)||g.getGlobal(e["font-stretch"].value)||g.getGlobal(e["line-height"].value))return e["font-size"].value!==e["font-family"].value||e["font-size"].value!==e["font-weight"].value||e["font-size"].value!==e["font-style"].value||e["font-size"].value!==e["font-variant"].value||e["font-size"].value!==e["font-stretch"].value||e["font-size"].value!==e["line-height"].value?null:{important:t,value:e["font-size"].value};let r=[];return e["font-style"].value!=="normal"&&r.push(e["font-style"].value),e["font-variant"].value!=="normal"&&r.push(e["font-variant"].value),e["font-weight"].value!=="normal"&&r.push(e["font-weight"].value),e["font-stretch"].value!=="normal"&&r.push(e["font-stretch"].value),e["line-height"].value!=="normal"?r.push(`${e["font-size"].value} / ${e["line-height"].value}`):r.push(e["font-size"].value),r.push(e["font-family"].value),{important:t,value:r.join(" ")}}static getBorderTopRightBottomLeft(e,t){if(!t[`border-${e}-width`]?.value||!t[`border-${e}-style`]?.value||!t[`border-${e}-color`]?.value)return null;let r=t[`border-${e}-width`].important&&t[`border-${e}-style`].important&&t[`border-${e}-color`].important;if(g.getGlobalExceptInitial(t[`border-${e}-width`].value)&&t[`border-${e}-width`].value===t[`border-${e}-style`].value&&t[`border-${e}-width`].value===t[`border-${e}-color`].value)return{important:r,value:t[`border-${e}-width`].value};let o=[];return g.getInitial(t[`border-${e}-width`].value)||o.push(t[`border-${e}-width`].value),g.getInitial(t[`border-${e}-style`]?.value)||o.push(t[`border-${e}-style`].value),g.getInitial(t[`border-${e}-color`]?.value)||o.push(t[`border-${e}-color`].value),{important:r,value:o.join(" ")}}static getPaddingLikeProperty(e,t){if(!t[e[0]]?.value||!t[e[1]]?.value||!t[e[2]]?.value||!t[e[3]]?.value)return null;let r=t[e[0]].important&&t[e[1]].important&&t[e[2]].important&&t[e[3]].important;if(g.getGlobal(t[e[0]].value)||g.getGlobal(t[e[1]].value)||g.getGlobal(t[e[2]].value)||g.getGlobal(t[e[3]].value))return t[e[0]].value!==t[e[1]].value||t[e[0]].value!==t[e[2]].value||t[e[0]].value!==t[e[3]].value?null:{important:r,value:t[e[0]].value};let o=[t[e[0]].value];return(t[e[1]].value!==t[e[0]].value||t[e[2]].value!==t[e[0]].value||t[e[3]].value!==t[e[1]].value)&&o.push(t[e[1]].value),(t[e[2]].value!==t[e[0]].value||t[e[3]].value!==t[e[1]].value)&&o.push(t[e[2]].value),t[e[3]].value!==t[e[1]].value&&o.push(t[e[3]].value),{important:r,value:o.join(" ")}}};var lI=/\s*([^:;]+?)\s*:\s*((?:[^(;]*?(?:\([^)]*\))?)*?)\s*(!important)?\s*(?:$|;)/g,Em=class{static parse(e){let t={},r=[],o=new RegExp(lI),i;for(;i=o.exec(e);){let n=(i[1]??"").trim(),a=(i[2]??"").trim(),m=!!i[3];n&&a&&(n.startsWith("--")&&(t[n]=a),r.push({name:n,value:a,important:m}))}return{rules:r,properties:t}}};var aI=[["margin"],["padding"],["border",["border-width","border-style","border-color","border-image"]],["border-radius"],["background","background-position"],["font"]],Ns=class{constructor(e){s(this,"properties",{});s(this,"definedPropertyNames",{});if(e?.cssText){let{rules:t}=Em.parse(e.cssText);for(let r of t)(r.important||!this.get(r.name)?.important)&&this.set(r.name,r.value,r.important)}}get(e){if(this.properties[e])return this.properties[e];switch(e){case"margin":return xr.getMargin(this.properties);case"padding":return xr.getPadding(this.properties);case"border":return xr.getBorder(this.properties);case"border-top":return xr.getBorderTop(this.properties);case"border-right":return xr.getBorderRight(this.properties);case"border-bottom":return xr.getBorderBottom(this.properties);case"border-left":return xr.getBorderLeft(this.properties);case"border-color":return xr.getBorderColor(this.properties);case"border-style":return xr.getBorderStyle(this.properties);case"border-width":return xr.getBorderWidth(this.properties);case"border-radius":return xr.getBorderRadius(this.properties);case"border-image":return xr.getBorderImage(this.properties);case"outline":return xr.getOutline(this.properties);case"background":return xr.getBackground(this.properties);case"background-position":return xr.getBackgroundPosition(this.properties);case"flex":return xr.getFlex(this.properties);case"font":return xr.getFont(this.properties)}return this.properties[e]||null}remove(e){switch(delete this.properties[e],delete this.definedPropertyNames[e],e){case"border":delete this.properties["border-top-width"],delete this.properties["border-right-width"],delete this.properties["border-bottom-width"],delete this.properties["border-left-width"],delete this.properties["border-top-style"],delete this.properties["border-right-style"],delete this.properties["border-bottom-style"],delete this.properties["border-left-style"],delete this.properties["border-top-color"],delete this.properties["border-right-color"],delete this.properties["border-bottom-color"],delete this.properties["border-left-color"],delete this.properties["border-image-source"],delete this.properties["border-image-slice"],delete this.properties["border-image-width"],delete this.properties["border-image-outset"],delete this.properties["border-image-repeat"];break;case"border-top":delete this.properties["border-top-width"],delete this.properties["border-top-style"],delete this.properties["border-top-color"],delete this.properties["border-image-source"],delete this.properties["border-image-slice"],delete this.properties["border-image-width"],delete this.properties["border-image-outset"],delete this.properties["border-image-repeat"];break;case"border-right":delete this.properties["border-right-width"],delete this.properties["border-right-style"],delete this.properties["border-right-color"],delete this.properties["border-image-source"],delete this.properties["border-image-slice"],delete this.properties["border-image-width"],delete this.properties["border-image-outset"],delete this.properties["border-image-repeat"];break;case"border-bottom":delete this.properties["border-bottom-width"],delete this.properties["border-bottom-style"],delete this.properties["border-bottom-color"],delete this.properties["border-image-source"],delete this.properties["border-image-slice"],delete this.properties["border-image-width"],delete this.properties["border-image-outset"],delete this.properties["border-image-repeat"];break;case"border-left":delete this.properties["border-left-width"],delete this.properties["border-left-style"],delete this.properties["border-left-color"],delete this.properties["border-image-source"],delete this.properties["border-image-slice"],delete this.properties["border-image-width"],delete this.properties["border-image-outset"],delete this.properties["border-image-repeat"];break;case"border-width":delete this.properties["border-top-width"],delete this.properties["border-right-width"],delete this.properties["border-bottom-width"],delete this.properties["border-left-width"];break;case"border-style":delete this.properties["border-top-style"],delete this.properties["border-right-style"],delete this.properties["border-bottom-style"],delete this.properties["border-left-style"];break;case"border-color":delete this.properties["border-top-color"],delete this.properties["border-right-color"],delete this.properties["border-bottom-color"],delete this.properties["border-left-color"];break;case"border-image":delete this.properties["border-image-source"],delete this.properties["border-image-slice"],delete this.properties["border-image-width"],delete this.properties["border-image-outset"],delete this.properties["border-image-repeat"];break;case"border-radius":delete this.properties["border-top-left-radius"],delete this.properties["border-top-right-radius"],delete this.properties["border-bottom-right-radius"],delete this.properties["border-bottom-left-radius"];break;case"outline":delete this.properties["outline-color"],delete this.properties["outline-style"],delete this.properties["outline-width"];break;case"background":delete this.properties["background-color"],delete this.properties["background-image"],delete this.properties["background-repeat"],delete this.properties["background-attachment"],delete this.properties["background-position-x"],delete this.properties["background-position-y"],delete this.properties["background-size"],delete this.properties["background-origin"],delete this.properties["background-clip"];break;case"background-position":delete this.properties["background-position-x"],delete this.properties["background-position-y"];break;case"flex":delete this.properties["flex-grow"],delete this.properties["flex-shrink"],delete this.properties["flex-basis"];break;case"font":delete this.properties["font-style"],delete this.properties["font-variant"],delete this.properties["font-weight"],delete this.properties["font-stretch"],delete this.properties["font-size"],delete this.properties["line-height"],delete this.properties["font-family"];break;case"padding":delete this.properties["padding-top"],delete this.properties["padding-right"],delete this.properties["padding-bottom"],delete this.properties["padding-left"];break;case"margin":delete this.properties["margin-top"],delete this.properties["margin-right"],delete this.properties["margin-bottom"],delete this.properties["margin-left"];break}}set(e,t,r){if(t===null){this.remove(e);return}let o=null;switch(e){case"border":o=Q.getBorder(t,r);break;case"border-top":o=Q.getBorderTop(t,r);break;case"border-right":o=Q.getBorderRight(t,r);break;case"border-bottom":o=Q.getBorderBottom(t,r);break;case"border-left":o=Q.getBorderLeft(t,r);break;case"border-width":o=Q.getBorderWidth(t,r);break;case"border-style":o=Q.getBorderStyle(t,r);break;case"border-color":o=Q.getBorderColor(t,r);break;case"border-image":o=Q.getBorderImage(t,r);break;case"border-image-source":o=Q.getBorderImageSource(t,r);break;case"border-image-slice":o=Q.getBorderImageSlice(t,r);break;case"border-image-width":o=Q.getBorderImageWidth(t,r);break;case"border-image-outset":o=Q.getBorderImageOutset(t,r);break;case"border-image-repeat":o=Q.getBorderImageRepeat(t,r);break;case"border-top-width":o=Q.getBorderTopWidth(t,r);break;case"border-right-width":o=Q.getBorderRightWidth(t,r);break;case"border-bottom-width":o=Q.getBorderBottomWidth(t,r);break;case"border-left-width":o=Q.getBorderLeftWidth(t,r);break;case"border-top-color":o=Q.getBorderTopColor(t,r);break;case"border-right-color":o=Q.getBorderRightColor(t,r);break;case"border-bottom-color":o=Q.getBorderBottomColor(t,r);break;case"border-left-color":o=Q.getBorderLeftColor(t,r);break;case"border-top-style":o=Q.getBorderTopStyle(t,r);break;case"border-right-style":o=Q.getBorderRightStyle(t,r);break;case"border-bottom-style":o=Q.getBorderBottomStyle(t,r);break;case"border-left-style":o=Q.getBorderLeftStyle(t,r);break;case"border-radius":o=Q.getBorderRadius(t,r);break;case"border-top-left-radius":o=Q.getBorderTopLeftRadius(t,r);break;case"border-top-right-radius":o=Q.getBorderTopRightRadius(t,r);break;case"border-bottom-right-radius":o=Q.getBorderBottomRightRadius(t,r);break;case"border-bottom-left-radius":o=Q.getBorderBottomLeftRadius(t,r);break;case"border-collapse":o=Q.getBorderCollapse(t,r);break;case"outline":o=Q.getOutline(t,r);break;case"outline-width":o=Q.getOutlineWidth(t,r);break;case"outline-style":o=Q.getOutlineStyle(t,r);break;case"outline-color":o=Q.getOutlineColor(t,r);break;case"letter-spacing":o=Q.getLetterSpacing(t,r);break;case"word-spacing":o=Q.getWordSpacing(t,r);break;case"clear":o=Q.getClear(t,r);break;case"clip":o=Q.getClip(t,r);break;case"css-float":o=Q.getCSSFloat(t,r);break;case"float":o=Q.getFloat(t,r);break;case"display":o=Q.getDisplay(t,r);break;case"direction":o=Q.getDirection(t,r);break;case"flex":o=Q.getFlex(t,r);break;case"flex-shrink":o=Q.getFlexShrink(t,r);break;case"flex-grow":o=Q.getFlexGrow(t,r);break;case"flex-basis":o=Q.getFlexBasis(t,r);break;case"padding":o=Q.getPadding(t,r);break;case"padding-top":o=Q.getPaddingTop(t,r);break;case"padding-right":o=Q.getPaddingRight(t,r);break;case"padding-bottom":o=Q.getPaddingBottom(t,r);break;case"padding-left":o=Q.getPaddingLeft(t,r);break;case"margin":o=Q.getMargin(t,r);break;case"margin-top":o=Q.getMarginTop(t,r);break;case"margin-right":o=Q.getMarginRight(t,r);break;case"margin-bottom":o=Q.getMarginBottom(t,r);break;case"margin-left":o=Q.getMarginLeft(t,r);break;case"background":o=Q.getBackground(t,r);break;case"background-image":o=Q.getBackgroundImage(t,r);break;case"background-color":o=Q.getBackgroundColor(t,r);break;case"background-repeat":o=Q.getBackgroundRepeat(t,r);break;case"background-attachment":o=Q.getBackgroundAttachment(t,r);break;case"background-position":o=Q.getBackgroundPosition(t,r);break;case"width":o=Q.getWidth(t,r);break;case"height":o=Q.getHeight(t,r);break;case"top":o=Q.getTop(t,r);break;case"right":o=Q.getRight(t,r);break;case"bottom":o=Q.getBottom(t,r);break;case"left":o=Q.getLeft(t,r);break;case"font":o=Q.getFont(t,r);break;case"font-style":o=Q.getFontStyle(t,r);break;case"font-variant":o=Q.getFontVariant(t,r);break;case"font-weight":o=Q.getFontWeight(t,r);break;case"font-stretch":o=Q.getFontStretch(t,r);break;case"font-size":o=Q.getFontSize(t,r);break;case"line-height":o=Q.getLineHeight(t,r);break;case"text-indent":o=Q.getTextIndent(t,r);break;case"font-family":o=Q.getFontFamily(t,r);break;case"color":o=Q.getColor(t,r);break;case"flood-color":o=Q.getFloodColor(t,r);break;case"text-transform":o=Q.getTextTransform(t,r);break;case"visibility":o=Q.getVisibility(t,r);break;case"aspect-ratio":o=Q.getAspectRatio(t,r);break;default:let i=t.trim();if(i){let n=g.getGlobal(i);o={[e]:{value:n||i,important:r}}}break}o!==null&&Object.keys(o).length>0&&(this.definedPropertyNames[e]=!0,Object.assign(this.properties,o))}clone(){let e=this.constructor,t=new e;return t.properties=JSON.parse(JSON.stringify(this.properties)),t.definedPropertyNames=Object.assign({},this.definedPropertyNames),t}size(){return Object.keys(this.properties).length}item(e){return Object.keys(this.properties)[e]||""}toString(){let e=[],t=this.clone(),r={};for(let o of aI)for(let i of o)if(Array.isArray(i)){let n=!1;for(let a of i){let m=t.get(a);m&&(r[a]=m,t.remove(a),n=!0)}if(n)break}else{let n=t.get(i);if(n){r[i]=n,t.remove(i);break}}for(let o of Object.keys(t.properties))r[o]=t.get(o);for(let o of Object.keys(this.definedPropertyNames)){let i=r[o];i&&(e.push(`${o}: ${i.value}${i.important?" !important":""};`),delete r[o])}for(let o of Object.keys(r)){let i=r[o];i&&e.push(`${o}: ${i.value}${i.important?" !important":""};`)}return e.join(" ")}};var Ww={default:"display: inline;",A:"",ABBR:"",ADDRESS:"display: block;",AREA:"",ARTICLE:"display: block;",ASIDE:"display: block;",AUDIO:"display: none;",B:"",BASE:"display: none;",BDI:"",BDO:"",BLOCKQUAOTE:"",BODY:"display: block;",TEMPLATE:"display: none;",FORM:"display: block;",INPUT:"display: inline-block;",TEXTAREA:"display: inline-block;",SCRIPT:"display: none;",IMG:"",LINK:"display: none;",STYLE:"display: none;",LABEL:"",SLOT:"display: contents;",SVG:"",CIRCLE:"",ELLIPSE:"",LINE:"",PATH:"",POLYGON:"",POLYLINE:"",RECT:"",STOP:"",USE:"",META:"display: none;",BLOCKQUOTE:"display: block;",BR:"",BUTTON:"display: inline-block;",CANVAS:"",CAPTION:"display: table-caption;",CITE:"",CODE:"",COL:"display: table-column;",COLGROUP:"display: table-column-group;",DATA:"",DATALIST:"display: none;",DD:"display: block;",DEL:"",DETAILS:"display: block;",DFN:"",DIALOG:{default:"display: none;",open:"display: block;"},DIV:"display: block;",DL:"display: block;",DT:"display: block;",EM:"",EMBED:"",FIELDSET:"display: block;",FIGCAPTION:"display: block;",FIGURE:"display: block;",FOOTER:"display: block;",H1:"display: block;",H2:"display: block;",H3:"display: block;",H4:"display: block;",H5:"display: block;",H6:"display: block;",HEAD:"display: none;",HEADER:"display: block;",HGROUP:"display: block;",HR:"display: block;",HTML:'display: block;direction: ltr;font: 16px "Times New Roman";',I:"",IFRAME:"",INS:"",KBD:"",LEGEND:"display: block;",LI:"display: list-item;",MAIN:"display: block;",MAP:"",MARK:"",MATH:"",MENU:"display: block;",MENUITEM:"",METER:"display: inline-block;",NAV:"display: block;",NOSCRIPT:"",OBJECT:"",OL:"display: block;",OPTGROUP:"display: block;",OPTION:"display: block;",OUTPUT:"unicode-bidi: isolate;",P:"display: block;",PARAM:"display: none;",PICTURE:"",PRE:"display: block;",PROGRESS:"display: inline-block;",Q:"",RB:"",RP:"display: none;",RT:"",RTC:"",RUBY:"",S:"",SAMP:"",SECTION:"display: block;",SELECT:"display: inline-block;",SMALL:"",SOURCE:"",SPAN:"",STRONG:"",SUB:"",SUMMARY:"display: block;",SUP:"",TABLE:"display: table;",TBODY:"display: table-row-group;",TD:"display: table-cell;",TFOOT:"display: table-footer-group;",TH:"display: table-cell;",THEAD:"display: table-header-group;",TIME:"",TITLE:"display: none;",TR:"display: table-row;",TRACK:"",U:"",UL:"display: block;",VAR:"",VIDEO:"",WBR:""};var jw={"border-collapse":!0,"border-spacing":!0,"caption-side":!0,color:!0,cursor:!0,direction:!0,"empty-cells":!0,"font-family":!0,"font-size":!0,"font-style":!0,"font-variant":!0,"font-weight":!0,"font-size-adjust":!0,"font-stretch":!0,font:!0,"letter-spacing":!0,"line-height":!0,"list-style-image":!0,"list-style-position":!0,"list-style-type":!0,"list-style":!0,orphans:!0,quotes:!0,"tab-size":!0,"text-align":!0,"text-align-last":!0,"text-decoration-color":!0,"text-indent":!0,"text-justify":!0,"text-shadow":!0,"text-transform":!0,visibility:!0,"white-space":!0,widows:!0,"word-break":!0,"word-spacing":!0,"word-wrap":!0};var zw=["background-position-x","background-position-y","background-size","border-image-outset","border-top-width","border-right-width","border-bottom-width","border-left-width","border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius","border-image-width","clip","font-size","padding-top","padding-right","padding-bottom","padding-left","margin-top","margin-right","margin-bottom","margin-left","width","height","min-width","min-height","max-width","max-height","top","right","bottom","left","outline-width","outline-offset","letter-spacing","word-spacing","text-indent","line-height"];var xe=class{constructor(e,t){s(this,"target");s(this,"classes");s(this,"cache",new Map);this.target=e,this.classes=t}bind(e){if(this.cache.has(e)||e===Symbol.iterator||e==="constructor")return;this.cache.set(e,!0);let t=this.target;if(e in t)for(let r of this.classes){let o=Object.getOwnPropertyDescriptor(r.prototype,e);if(o){if(typeof o.value=="function"){if(o.value.toString().startsWith("class "))return;Object.defineProperty(t,e,{...o,value:o.value.bind(t)})}else o.get!==void 0&&Object.defineProperty(t,e,{...o,get:o.get?.bind(t),set:o.set?.bind(t)});return}}}preventBinding(e){this.cache.set(e,!0)}};var Xw,Yw,UP=class l{constructor(e,t){s(this,Yw);s(this,Xw);if(e!==c)throw new TypeError("Illegal constructor");this[Y]=t;let r=new xe(this,this.constructor!==l?[this.constructor,l]:[l]),o=new Proxy(this,{get:(i,n)=>{if(n==="length")return t.length;if(n in i||typeof n=="symbol")return r.bind(n),i[n];if(n==="")return;let a=Number(n);if(!isNaN(a))return t[a]},set(i,n,a){if(r.bind(n),typeof n=="symbol")return i[n]=a,!0;let m=Number(n);return isNaN(m)&&(i[n]=a),!0},deleteProperty(i,n){if(typeof n=="symbol")return delete i[n],!0;let a=Number(n);return isNaN(a)&&delete i[n],!0},ownKeys(){return Object.keys(t)},has(i,n){if(n in i)return!0;if(typeof n=="symbol")return!1;let a=Number(n);return!isNaN(a)&&a>=0&&a<t.length},defineProperty(i,n,a){return r.preventBinding(n),n in i?(Object.defineProperty(i,n,a),!0):!1},getOwnPropertyDescriptor(i,n){if(n in i||typeof n=="symbol")return;let a=Number(n);if(!isNaN(a)&&t[a])return{value:t[a],writable:!1,enumerable:!0,configurable:!0}}});return this[Ut]=o,o}get length(){return this[Y].length}get[(Yw=Y,Xw=Ut,Symbol.toStringTag)](){return"NodeList"}toLocaleString(){return"[object NodeList]"}toString(){return"[object NodeList]"}item(e){let t=this[Y];return e>=0&&t[e]?t[e]:null}[Symbol.iterator](){return this[Y][Symbol.iterator]()}values(){return this[Y].values()}entries(){return this[Y].entries()}forEach(e,t){let r=this[Y],o=this[Ut]??this;for(let i=0,n=r.length;i<n;i++){let a=r[i];e.call(t??a[u],a,i,o)}}keys(){return this[Y].keys()}},ki=UP;var GP;(function(l){l.descendant="descendant",l.child="child",l.adjacentSibling="adjacentSibling",l.subsequentSibling="subsequentSibling"})(GP||(GP={}));var Ye=GP;var fi=class{constructor(e){s(this,"root");s(this,"scope");s(this,"tagName");s(this,"id");s(this,"classNames");s(this,"attributes");s(this,"pseudos");s(this,"isPseudoElement");s(this,"combinator");s(this,"ignoreErrors");this.root=e?.scope?e.scope[T].documentElement:null,this.scope=e?.scope||null,this.tagName=e?.tagName||null,this.id=e?.id||null,this.classNames=e?.classNames||null,this.attributes=e?.attributes||null,this.pseudos=e?.pseudos||null,this.isPseudoElement=e?.isPseudoElement||!1,this.combinator=e?.combinator||Ye.descendant,this.ignoreErrors=e?.ignoreErrors||!1}match(e){let t=0;if(this.isPseudoElement)return null;if(this.tagName){if(this.tagName!=="*"&&this.tagName!==e[tt].toUpperCase())return null;t+=1}if(this.id){if(this.id!==e.id)return null;t+=100}if(this.classNames){let r=this.matchClass(e);if(!r)return null;t+=r.priorityWeight}if(this.attributes){let r=this.matchAttributes(e);if(!r)return null;t+=r.priorityWeight}if(this.pseudos){let r=this.matchPseudo(e);if(!r)return null;t+=r.priorityWeight}return{priorityWeight:t}}matchPseudo(e){let t=e[W],r=e[W]?e[W][ft]:[];if(!this.pseudos)return{priorityWeight:0};let o=0;for(let i of this.pseudos){switch(i.name){case"not":case"nth-child":case"nth-of-type":case"nth-last-child":case"nth-last-of-type":case"is":case"where":if(!i.arguments){if(this.ignoreErrors)return null;throw new e[u].DOMException(`Failed to execute 'matches' on '${e.constructor.name}': '${this.getSelectorString()}' is not a valid selector.`)}break}if(!t)switch(i.name){case"first-child":case"last-child":case"only-child":case"first-of-type":case"last-of-type":case"only-of-type":case"nth-child":case"nth-of-type":case"nth-last-child":case"nth-last-of-type":return null}let n=this.matchPseudoItem(e,r,i);if(!n)return null;o+=n.priorityWeight}return{priorityWeight:o}}matchPseudoItem(e,t,r){switch(r.name){case"first-child":return t[0]===e?{priorityWeight:10}:null;case"last-child":return t.length&&t[t.length-1]===e?{priorityWeight:10}:null;case"only-child":return t.length===1&&t[0]===e?{priorityWeight:10}:null;case"first-of-type":for(let f of t)if(f[tt]===e[tt])return f===e?{priorityWeight:10}:null;return null;case"last-of-type":for(let f=t.length-1;f>=0;f--){let v=t[f];if(v[tt]===e[tt])return v===e?{priorityWeight:10}:null}return null;case"only-of-type":let o=!1;for(let f of t)if(f[tt]===e[tt]){if(o||f!==e)return null;o=!0}return o?{priorityWeight:10}:null;case"checked":return e[tt]==="INPUT"&&e.checked?{priorityWeight:10}:null;case"disabled":return"disabled"in e&&e.hasAttribute("disabled")?{priorityWeight:10}:null;case"empty":return e[ft].length?null:{priorityWeight:10};case"root":return this.root&&e===this.root?{priorityWeight:10}:null;case"not":for(let f of r.selectorItems)if(f.match(e))return null;return{priorityWeight:10};case"nth-child":let i=-1;if(r.selectorItems?.[0]&&!r.selectorItems[0].match(e))return null;for(let f=0,v=t.length;f<v;f++)if((!r.selectorItems?.[0]||r.selectorItems[0].match(t[f]))&&i++,t[f]===e)return i!==-1&&r.nthFunction(i+1)?{priorityWeight:10}:null;return null;case"nth-of-type":let n=-1;for(let f=0,v=t.length;f<v;f++)if(t[f][tt]===e[tt]&&n++,t[f]===e)return n!==-1&&r.nthFunction(n+1)?{priorityWeight:10}:null;return null;case"nth-last-child":let a=-1;if(r.selectorItems?.[0]&&!r.selectorItems[0].match(e))return null;for(let f=t.length-1;f>=0;f--)if((!r.selectorItems?.[0]||r.selectorItems[0].match(t[f]))&&a++,t[f]===e)return a!==-1&&r.nthFunction(a+1)?{priorityWeight:10}:null;return null;case"nth-last-of-type":let m=-1;for(let f=t.length-1;f>=0;f--)if(t[f][tt]===e[tt]&&m++,t[f]===e)return m!==-1&&r.nthFunction(m+1)?{priorityWeight:10}:null;return null;case"target":let p=e[T].location.hash;return p&&e.isConnected&&e.id===p.slice(1)?{priorityWeight:10}:null;case"is":let b=0;if(!r.selectorItems)return null;for(let f of r.selectorItems){let v=f.match(e);v&&b<v.priorityWeight&&(b=v.priorityWeight)}return b?{priorityWeight:b}:null;case"where":if(!r.selectorItems)return null;for(let f of r.selectorItems)if(f.match(e))return{priorityWeight:0};return null;case"has":let d=0;if(r.arguments&&r.selectorItems)if(r.arguments[0]==="+"){let f=e.nextElementSibling;if(!f)return null;for(let v of r.selectorItems){let C=v.match(f);C&&d<C.priorityWeight&&(d=C.priorityWeight)}}else if(r.arguments[0]===">")for(let f of r.selectorItems)for(let v of e[ft]){let C=f.match(v);if(C&&d<C.priorityWeight){d=C.priorityWeight;break}}else for(let f of r.selectorItems){let v=this.matchChildOfElement(f,e);v&&d<v.priorityWeight&&(d=v.priorityWeight)}return d?{priorityWeight:d}:null;case"focus":case"focus-visible":return e[T].activeElement===e?{priorityWeight:10}:null;case"scope":return this.scope&&this.scope===e?{priorityWeight:10}:null;default:return null}}matchAttributes(e){if(!this.attributes)return null;let t=0;for(let r of this.attributes){let o=e[St].getNamedItem(r.name);if(!o||(t+=10,r.value!==null&&(o[Z]===null||r.regExp&&!r.regExp.test(o[Z])||!r.regExp&&r.value!==o[Z])))return null}return{priorityWeight:t}}matchClass(e){if(!this.classNames)return null;let t=0;for(let r of this.classNames){if(!e.classList.contains(r))return null;t+=10}return{priorityWeight:t}}matchChildOfElement(e,t){for(let r of t[ft]){let o=e.match(r);if(o)return o;let i=this.matchChildOfElement(e,r);if(i)return i}return null}getSelectorString(){return`${this.tagName?this.tagName.toLowerCase():""}${this.id?`#${this.id}`:""}${this.classNames?`.${this.classNames.join(".")}`:""}${this.attributes?this.attributes.map(e=>`[${e.name}${e.value?`${e.operator||""}="${e.value}"`:""}]`).join(""):""}${this.pseudos?this.pseudos.map(e=>`:${e.name}${e.arguments?`(${e.arguments})`:""}`).join(""):""}`}};var uI=/(\*)|([a-zA-Z0-9-]+)|#((?:[a-zA-Z0-9-_«»]|\\.)+)|\.((?:[a-zA-Z0-9-_«»]|\\.)+)|\[([a-zA-Z0-9-_\\:]+)\]|\[([a-zA-Z0-9-_\\:]+)\s*([~|^$*]{0,1})\s*=\s*["']{1}([^"']*)["']{1}\s*(s|i){0,1}\]|\[([a-zA-Z0-9-_]+)\s*([~|^$*]{0,1})\s*=\s*([^\]]*)\]|:([a-zA-Z-]+)\s*\(((?:[^()]|\[[^\]]*\]|\([^()]*\))*)\){0,1}|:([a-zA-Z-]+)|::([a-zA-Z-]+)|([\s,+>~]*)/gm,pS=/\\/g,mI=/[.*+?^${}()|[\]\\]/g,Kw={odd:l=>(l+1)%2===0,even:l=>(l+1)%2!==0,alwaysFalse:()=>!1},yI=/ /g,pI=/(^[a-zA-Z0-9-]+$)|(^\.[a-zA-Z0-9-_.]+$)|(^#[a-zA-Z0-9-_]+$)/,Cl=class{static getSelectorItem(e,t){return this.getSelectorGroups(e,t)[0][0]}static getSelectorGroups(e,t){e=e.trim();let r=t?.ignoreErrors,o=t?.scope;if(e==="*")return[[new fi({scope:o,tagName:"*",ignoreErrors:r})]];let i=e.match(pI);if(i){if(i[1])return[[new fi({scope:o,tagName:e.toUpperCase(),ignoreErrors:r})]];if(i[2])return[[new fi({scope:o,classNames:e.replace(".","").split("."),ignoreErrors:r})]];if(i[3])return[[new fi({scope:o,id:e.replace("#",""),ignoreErrors:r})]]}let n=new RegExp(uI),a=new fi({scope:o,combinator:Ye.descendant,ignoreErrors:r}),m=[a],p=[m],b=!1,d;for(;(d=n.exec(e))&&d[0];)if(b=!0,d[1])a.tagName="*";else if(d[2])a.tagName=d[2].toUpperCase();else if(d[3])a.id=d[3].replace(pS,"");else if(d[4])a.classNames=a.classNames||[],a.classNames.push(d[4].replace(pS,""));else if(d[5])a.attributes=a.attributes||[],a.attributes.push({name:d[5],operator:null,value:null,modifier:null,regExp:null});else if(d[6]&&d[8]!==void 0)a.attributes=a.attributes||[],a.attributes.push({name:d[6],operator:d[7]||null,value:d[8].replace(pS,""),modifier:d[9]||null,regExp:this.getAttributeRegExp({operator:d[7],value:d[8],modifier:d[9]})});else if(d[10]&&d[12]!==void 0)a.attributes=a.attributes||[],a.attributes.push({name:d[10],operator:d[11]||null,value:d[12].replace(pS,""),modifier:null,regExp:this.getAttributeRegExp({operator:d[11],value:d[12]})});else if(d[13]&&d[14])a.pseudos=a.pseudos||[],a.pseudos.push(this.getPseudo(d[13],d[14],t));else if(d[15])a.pseudos=a.pseudos||[],a.pseudos.push(this.getPseudo(d[15],null,t));else if(d[16])a.isPseudoElement=!0;else if(d[17])switch(d[17].trim()){case",":a=new fi({scope:o,combinator:Ye.descendant,ignoreErrors:r}),m=[a],p.push(m);break;case">":a=new fi({scope:o,combinator:Ye.child,ignoreErrors:r}),m.push(a);break;case"+":a=new fi({scope:o,combinator:Ye.adjacentSibling,ignoreErrors:r}),m.push(a);break;case"~":a=new fi({scope:o,combinator:Ye.subsequentSibling,ignoreErrors:r}),m.push(a);break;case"":a=new fi({scope:o,combinator:Ye.descendant,ignoreErrors:r}),m.push(a);break}if(!b){if(t?.ignoreErrors)return[];throw new Ht(`Invalid selector: "${e}"`)}return p}static getAttributeRegExp(e){let t=e.modifier==="i"?"i":"";if(!e.operator||!e.value)return null;let r=e.value.replace(mI,"\\$&");switch(e.operator){case"~":return new RegExp(`[- ]${r}|${r}[- ]|^${r}$`,t);case"|":return new RegExp(`^${r}[- ]|^${r}$`,t);case"^":return new RegExp(`^${r}`,t);case"$":return new RegExp(`${r}$`,t);case"*":return new RegExp(`${r}`,t);default:return null}}static getPseudo(e,t,r){let o=e.toLowerCase();if(t&&(t=t.trim()),!t)return{name:o,arguments:null,selectorItems:null,nthFunction:null};switch(o){case"nth-last-child":case"nth-child":let i=t.indexOf(" of "),n=i!==-1?t.substring(0,i):t,a=i!==-1?this.getSelectorItem(t.substring(i+4).trim(),r):null;return{name:o,arguments:t,selectorItems:a?[a]:null,nthFunction:this.getPseudoNthFunction(n)};case"nth-of-type":case"nth-last-of-type":return{name:o,arguments:t,selectorItems:null,nthFunction:this.getPseudoNthFunction(t)};case"not":let m=[];for(let d of this.getSelectorGroups(t,r))m.push(d[0]);return{name:o,arguments:t,selectorItems:m,nthFunction:null};case"is":case"where":let p=[];for(let d of this.getSelectorGroups(t,r))p.push(d[0]);return{name:o,arguments:t,selectorItems:p,nthFunction:null};case"has":let b=[];if(!t.includes(":has(")){let d=t;t[0]==="+"?d=t.replace("+",""):t[0]===">"&&(d=t.replace(">",""));for(let f of this.getSelectorGroups(d,r))b.push(f[0])}return{name:o,arguments:t||"",selectorItems:b,nthFunction:null};default:return{name:o,arguments:t,selectorItems:null,nthFunction:null}}}static getPseudoNthFunction(e){if(!e)return null;if(e==="odd")return Kw.odd;if(e==="even")return Kw.even;let t=e.replace(yI,"").split("n"),r=parseInt(t[0],10)||0;if(t[0]=="-"&&(r=-1),t.length===1)return i=>i==r;let o=parseInt(t[1],10)||0;return t[0]=="+"&&(o=1),r>=1||r<=-1?r>=1?Math.abs(r)===1?i=>i>o-1:i=>i>o-1&&(i+-1*o)%r===0:Math.abs(r)===1?i=>i<o+1:i=>i<o+1&&(i+-1*o)%r===0:t[0]?i=>i===o:i=>i>o-1}};var HP=/^[.#\[]?\d|[.#]$/,ut=class{static querySelectorAll(e,t){let r=e[u];if(t==="")throw new r.DOMException(`Failed to execute 'querySelectorAll' on '${e.constructor.name}': The provided selector is empty.`);if(typeof t=="function")throw new r.DOMException(`Failed to execute 'querySelectorAll' on '${e.constructor.name}': '${t}' is not a valid selector.`);if(typeof t=="symbol")throw new r.TypeError(`Failed to execute 'querySelectorAll' on '${e.constructor.name}': Cannot convert a Symbol value to a string`);if(t=String(t),HP.test(t))throw new r.DOMException(`Failed to execute 'querySelectorAll' on '${e.constructor.name}': '${t}' is not a valid selector.`);let i=e[q].querySelectorAll.get(t);if(i?.result){let C=i.result.deref();if(C)return C}let n=e[U]===M.documentNode?e.documentElement:e,a=Cl.getSelectorGroups(t,{scope:n}),m=[],p=new ki(c,m),b=new Map,d=[],f={result:new WeakRef(p)};e[q].querySelectorAll.set(t,f),e[nt]&&(e[T]||e)[rr].push(f);for(let C of a){let L=e[U]===M.elementNode?this.findAll(e,[e],C,f):this.findAll(null,e[ft],C,f);for(let j of L)b.has(j.documentPosition)||(b.set(j.documentPosition,j.element),d.push(j.documentPosition))}let v=d.sort();for(let C=0,L=v.length;C<L;C++)m.push(b.get(v[C]));return p}static querySelector(e,t){let r=e[u];if(t==="")throw new r.DOMException(`Failed to execute 'querySelector' on '${e.constructor.name}': The provided selector is empty.`);if(typeof t=="function")throw new r.DOMException(`Failed to execute 'querySelector' on '${e.constructor.name}': '${t}' is not a valid selector.`);if(typeof t=="symbol")throw new r.TypeError(`Failed to execute 'querySelector' on '${e.constructor.name}': Cannot convert a Symbol value to a string`);if(t=String(t),HP.test(t))throw new r.DOMException(`Failed to execute 'querySelector' on '${e.constructor.name}': '${t}' is not a valid selector.`);let o=e[q].querySelector.get(t);if(o){if(o.result===!1)return null;if(o.result){let b=o.result.deref();if(b)return b}}let i={result:{deref:()=>null}};e[q].querySelector.set(t,i),e[nt]&&(e[T]||e)[rr].push(i);let n=null,a=new Map,m=e[U]===M.documentNode?e.documentElement:e;for(let b of Cl.getSelectorGroups(t,{scope:m})){let d=e[U]===M.elementNode?this.findFirst(e,[e],b,i):this.findFirst(null,e[ft],b,i);d&&!a.has(d.documentPosition)&&(a.set(d.documentPosition,!0),(!n||d.documentPosition<n.documentPosition)&&(n=d))}let p=n?.element||null;return i.result=p?new WeakRef(p):!1,p}static matches(e,t,r){let o=r?.ignoreErrors,i=e[u];if(t==="*")return{priorityWeight:1};if(t===""){if(o)return null;throw new i.DOMException(`Failed to execute 'matches' on '${e.constructor.name}': The provided selector is empty.`)}if(typeof t=="function"){if(o)return null;throw new i.DOMException(`Failed to execute 'matches' on '${e.constructor.name}': '${t}' is not a valid selector.`)}if(typeof t=="symbol"){if(o)return null;throw new i.TypeError("Cannot convert a Symbol value to a string")}if(t=String(t),HP.test(t)){if(o)return null;throw new i.DOMException(`Failed to execute 'matches' on '${e.constructor.name}': '${t}' is not a valid selector.`)}let n=e[q].matches.get(t);if(n?.result)return n.result.match;let a={result:{match:null}};e[q].matches.set(t,a),e[nt]&&(e[T]||e)[rr].push(a);let m=r?.scope||e,p=m[U]===M.documentNode?m.documentElement:m;for(let b of Cl.getSelectorGroups(t,{...r,scope:p})){let d=this.matchSelector(e,b.reverse(),a);if(d)return a.result.match=d,d}return null}static matchSelector(e,t,r,o=null,i=0){let n=t[0],a=n.match(e);if(a){if(t.length===1)return{priorityWeight:i+a.priorityWeight};switch(n.combinator){case Ye.adjacentSibling:let m=e.previousElementSibling;if(m){m[rr].push(r);let d=this.matchSelector(m,t.slice(1),r,n,i+a.priorityWeight);if(d)return d}break;case Ye.child:case Ye.descendant:let p=e.parentElement;if(p){p[rr].push(r);let d=this.matchSelector(p,t.slice(1),r,n,i+a.priorityWeight);if(d)return d}break;case Ye.subsequentSibling:let b=e.parentElement;if(b){let d=b[ft],f=d.indexOf(e);b[rr].push(r);for(let v=f-1;v>=0;v--){let C=d[v];C[rr].push(r);let L=this.matchSelector(C,t.slice(1),r,n,i+a.priorityWeight);if(L)return L}}break}}if(o?.combinator===Ye.descendant){let m=e.parentElement;if(m)return this.matchSelector(m,t,r,o,i)}return null}static findAll(e,t,r,o,i){let n=r[0],a=r[1],m=[];for(let p=0,b=t.length;p<b;p++){let d=t[p],f=d[ft],v=(i?i+">":"")+String.fromCharCode(p);if(d[rr].push(o),n.match(d))if(!a)e!==d&&m.push({documentPosition:v,element:d});else switch(a.combinator){case Ye.adjacentSibling:let C=d.nextElementSibling;C&&(m=m.concat(this.findAll(e,[C],r.slice(1),o,v)));break;case Ye.descendant:case Ye.child:m=m.concat(this.findAll(e,f,r.slice(1),o,v));break;case Ye.subsequentSibling:let L=t.indexOf(d);for(let j=L+1;j<t.length;j++){let et=t[j];m=m.concat(this.findAll(e,[et],r.slice(1),o,v))}break}n.combinator===Ye.descendant&&f.length&&(m=m.concat(this.findAll(e,f,r,o,v)))}return m}static findFirst(e,t,r,o,i){let n=r[0],a=r[1];for(let m=0,p=t.length;m<p;m++){let b=t[m],d=b[ft],f=(i?i+">":"")+String.fromCharCode(m);if(b[rr].push(o),n.match(b)){if(a)switch(a.combinator){case Ye.adjacentSibling:let v=b.nextElementSibling;if(v){let j=this.findFirst(e,[v],r.slice(1),o,f);if(j)return j}break;case Ye.descendant:case Ye.child:let C=this.findFirst(e,d,r.slice(1),o,f);if(C)return C;break;case Ye.subsequentSibling:let L=t.indexOf(b);for(let j=L+1;j<t.length;j++){let et=t[j],J=this.findFirst(e,[et],r.slice(1),o,f);if(J)return J}break}else if(e!==b)return{documentPosition:f,element:b}}if(n.combinator===Ye.descendant&&d.length){let v=this.findFirst(e,d,r,o,f);if(v)return v}}return null}};var $a=class{static toPixels(e){let t=parseFloat(e.value),r=e.value.replace(t.toString(),"");if(isNaN(t))return null;switch(r){case"px":return t;case"rem":return this.round(t*parseFloat(e.rootFontSize));case"em":return this.round(t*parseFloat(e.parentFontSize));case"vw":return this.round(t*e.window.innerWidth/100);case"vh":return this.round(t*e.window.innerHeight/100);case"%":return e.parentSize!==void 0&&e.parentSize!==null?this.round(t*parseFloat(e.parentSize)/100):null;case"vmin":return this.round(t*Math.min(e.window.innerWidth,e.window.innerHeight)/100);case"vmax":return t*Math.max(e.window.innerWidth,e.window.innerHeight)/100;case"cm":return this.round(t*37.7812);case"mm":return this.round(t*3.7781);case"in":return this.round(t*96);case"pt":return this.round(t*1.3281);case"pc":return this.round(t*16);case"Q":return this.round(t*.945);default:return null}}static round(e){return Math.round(e*1e4)/1e4}};var Jw,Zw,_y;Zw=Fh,Jw=iS;var it=class{constructor(e){x(this,_y);w(this,_y,e)}getSettings(){return this.getBrowserFrame()?.page.context.browser.settings||null}getBrowser(){return this.getBrowserFrame()?.page.context.browser||null}getBrowserPage(){return this.getBrowserFrame()?.page||null}getBrowserContext(){return this.getBrowserFrame()?.page.context||null}getBrowserFrame(){return y(this,_y)&&this.constructor[Fh].get(y(this,_y)[Sa])||null}getAsyncTaskManager(){return this.getBrowserFrame()?.[bt]||null}static setWindowBrowserFrameRelation(e,t){let r=this[Fh];e[Sa]===-1&&(e[Sa]=this[iS],this[iS]++),r.set(e[Sa],t)}static removeWindowBrowserFrameRelation(e){this[Fh].delete(e[Sa])}};_y=new WeakMap,s(it,Zw,new Map),s(it,Jw,0);var Qw,tx,By,ex,rx,_t=class{constructor(){x(this,By);s(this,tx,{capturing:new Map,bubbling:new Map});s(this,Qw,{capturing:new Map,bubbling:new Map})}get[(tx=fe,Qw=ml,Symbol.toStringTag)](){return"EventTarget"}addEventListener(e,t,r){r=typeof r=="boolean"?{capture:r}:r||{};let o=r.capture?"capturing":"bubbling",i=this[fe][o].get(e),n;i?n=this[ml][o].get(e):(i=[],n=[],this[fe][o].set(e,i),this[ml][o].set(e,n)),!i.includes(t)&&(i.push(t),n.push(r),r.signal&&!r.signal.aborted&&r.signal.addEventListener("abort",()=>{this.removeEventListener(e,t)}))}removeEventListener(e,t){let r=this[fe].bubbling.get(e);if(r){let i=r.indexOf(t);if(i!==-1){r.splice(i,1),this[ml].bubbling.get(e).splice(i,1);return}}let o=this[fe].capturing.get(e);if(o){let i=o.indexOf(t);i!==-1&&(o.splice(i,1),this[ml].capturing.get(e).splice(i,1))}}dispatchEvent(e){return!e[Fa]&&(e[Xt]!=="load"||!e[Zr])?(e[Fa]=!0,e[Zr]=this[Ut]||this,D(this,By,ex).call(this,e),e[Fa]=!1,!(e[an]&&e[Gr])):(D(this,By,rx).call(this,e),!(e[an]&&e[Gr]))}attachEvent(e,t){this.addEventListener(e.replace("on",""),t)}detachEvent(e,t){this.removeEventListener(e.replace("on",""),t)}[ue](){this[fe].capturing.clear(),this[fe].bubbling.clear(),this[ml].capturing.clear(),this[ml].bubbling.clear()}};By=new WeakSet,ex=function(e){let t=e.composedPath();e[to]=he.capturing;for(let r=t.length-1;r>=0;r--)if(e[Ti]=t[r],t[r].dispatchEvent(e),e[Ea]||e[Pa]){e[to]=he.none,e[Ti]=null;return}if(e[to]=he.atTarget,e[Ti]=this[Ut]||this,e[Zr].dispatchEvent(e),e[to]=he.bubbling,e[gl]&&!e[Ea]&&!e[Pa]){for(let r=1,o=t.length;r<o;r++)if(e[Ti]=t[r],t[r].dispatchEvent(e),e[Ea]||e[Pa]){e[to]=he.none,e[Ti]=null;return}}e[to]=he.none,e[Ti]=null},rx=function(e){let t=this[u],r=t?new it(t).getSettings():null,o=e.eventPhase===he.capturing?"capturing":"bubbling",i=this[fe][o].get(e.type)?.slice();if(i&&i.length){let n=this[ml][o].get(e.type).slice();for(let a=0,m=i.length;a<m;a++){let p=i[a],b=n[a];if(b?.passive&&(e[wy]=!0),t&&(this!==t||e.type!=="error")&&!r?.disableErrorCapturing&&r?.errorCapture===me.tryAndCatch)if(p.handleEvent){let d;try{d=p.handleEvent.call(p,e)}catch(f){t[ce](f)}d instanceof Promise&&d.catch(f=>t[ce](f))}else{let d;try{d=p.call(this,e)}catch(f){t[ce](f)}d instanceof Promise&&d.catch(f=>t[ce](f))}else p.handleEvent?p.handleEvent.call(p,e):p.call(this,e);if(e[wy]=!1,b?.once&&(i.splice(a,1),n.splice(a,1),this.removeEventListener(e.type,p),a--,m--),e[Pa])return}}if(e.eventPhase!==he.capturing){let n="on"+e.type.toLowerCase(),a=this[h],m=!a&&Object.hasOwn(this,n)&&this.constructor.name!=="EventTarget";if(a||m){let p=a?.get(n)??this[n];if(typeof p=="function")if(t&&(this!==t||e.type!=="error")&&!r?.disableErrorCapturing&&r?.errorCapture===me.tryAndCatch){let b;try{b=p(e)}catch(d){t[ce](d)}b instanceof Promise&&b.catch(d=>t[ce](d))}else p(e)}}};var Wa=class extends R{constructor(t,r=null){super(t,r);s(this,"matches");s(this,"media");this.matches=r?.matches??!1,this.media=r?.media??""}};var qP;(function(l){l.all="all",l.print="print",l.screen="screen"})(qP||(qP={}));var cS=qP;var vm=class{constructor(e){s(this,"mediaTypes");s(this,"not");s(this,"rules");s(this,"ranges");s(this,"rootFontSize",null);s(this,"window");this.window=e.window,this.rootFontSize=e.rootFontSize||null,this.mediaTypes=e.mediaTypes||[],this.not=e.not||!1,this.rules=e.rules||[],this.ranges=e.ranges||[]}toString(){return`${this.not?"not ":""}${this.mediaTypes.join(", ")}${(this.not||this.mediaTypes.length>0)&&this.ranges.length?" and ":""}${this.ranges.map(e=>`(${e.before?`${e.before.value} ${e.before.operator} `:""}${e.type}${e.after?` ${e.after.operator} ${e.after.value}`:""})`).join(" and ")}${(this.not||this.mediaTypes.length>0)&&this.rules.length?" and ":""}${this.rules.map(e=>e.value?`(${e.name}: ${e.value})`:`(${e.name})`).join(" and ")}`}matches(){return this.not?!this.matchesAll():this.matchesAll()}matchesAll(){if(this.mediaTypes.length){let e=!1;for(let t of this.mediaTypes)if(this.matchesMediaType(t)){e=!0;break}if(!e)return!1}for(let e of this.rules)if(!this.matchesRule(e))return!1;for(let e of this.ranges)if(!this.matchesRange(e))return!1;return!0}matchesMediaType(e){return e===cS.all?!0:e===new it(this.window).getSettings()?.device.mediaType}matchesRange(e){let t=e.type==="width"?this.window.innerWidth:this.window.innerHeight;if(e.before){let r=this.toPixels(e.before.value);if(r===null)return!1;switch(e.before.operator){case"<":if(r>=t)return!1;break;case"<=":if(r>t)return!1;break;case">":if(r<=t)return!1;break;case">=":if(r<t)return!1;break}}if(e.after){let r=this.toPixels(e.after.value);if(r===null)return!1;switch(e.after.operator){case"<":if(t>=r)return!1;break;case"<=":if(t>r)return!1;break;case">":if(t<=r)return!1;break;case">=":if(t<r)return!1;break}}return!0}matchesRule(e){let t=new it(this.window).getSettings();if(!t)return!1;if(!e.value){switch(e.name){case"min-width":case"max-width":case"min-height":case"max-height":case"width":case"height":case"orientation":case"prefers-color-scheme":case"hover":case"any-hover":case"any-pointer":case"pointer":case"display-mode":case"min-aspect-ratio":case"max-aspect-ratio":case"aspect-ratio":return!0;case"prefers-reduced-motion":return t.device.prefersReducedMotion==="reduce";case"forced-colors":return t.device.forcedColors==="active"}return!1}switch(e.name){case"min-width":let r=this.toPixels(e.value);return r!==null&&this.window.innerWidth>=r;case"max-width":let o=this.toPixels(e.value);return o!==null&&this.window.innerWidth<=o;case"min-height":let i=this.toPixels(e.value);return i!==null&&this.window.innerHeight>=i;case"max-height":let n=this.toPixels(e.value);return n!==null&&this.window.innerHeight<=n;case"width":let a=this.toPixels(e.value);return a!==null&&this.window.innerWidth===a;case"height":let m=this.toPixels(e.value);return m!==null&&this.window.innerHeight===m;case"orientation":return e.value==="landscape"?this.window.innerWidth>this.window.innerHeight:this.window.innerWidth<this.window.innerHeight;case"prefers-color-scheme":return e.value===t.device.prefersColorScheme;case"prefers-reduced-motion":return e.value===t.device.prefersReducedMotion;case"forced-colors":return(e.value==="none"||e.value==="active")&&e.value===t.device.forcedColors;case"any-hover":case"hover":return e.value==="none"?this.window.navigator.maxTouchPoints>0:e.value==="hover"?this.window.navigator.maxTouchPoints===0:!1;case"any-pointer":case"pointer":return e.value==="none"?!1:e.value==="coarse"?this.window.navigator.maxTouchPoints>0:e.value==="fine"?this.window.navigator.maxTouchPoints===0:!1;case"display-mode":return e.value==="browser";case"min-aspect-ratio":case"max-aspect-ratio":case"aspect-ratio":let p=e.value.split("/"),b=parseInt(p[0],10),d=parseInt(p[1],10);if(isNaN(b)||isNaN(d))return!1;switch(e.name){case"min-aspect-ratio":return b/d<=this.window.innerWidth/this.window.innerHeight;case"max-aspect-ratio":return b/d>=this.window.innerWidth/this.window.innerHeight;case"aspect-ratio":return b/d===this.window.innerWidth/this.window.innerHeight}}return!1}toPixels(e){return!new it(this.window).getSettings()?.disableComputedStyleRendering&&e.endsWith("em")?(this.rootFontSize=this.rootFontSize||parseFloat(this.window.getComputedStyle(this.window.document.documentElement).fontSize),$a.toPixels({window:this.window,value:e,rootFontSize:this.rootFontSize,parentFontSize:this.rootFontSize})):$a.toPixels({window:this.window,value:e,rootFontSize:16,parentFontSize:16})}};var cI=/(not|only|all|screen|print)|\(([^\)]+)(\)){0,1}|(,)| +(or|and) +/g,hI=/[<>]/,dI=/(?:([0-9]+[a-z]+) *(<|<=|>|>=)){0,1} *(width|height) *(?:(<|<=|>|>=) *([0-9]+[a-z]+)){0,1}/,Uy=class{static parse(e){let t=new vm({window:e.window,rootFontSize:e.rootFontSize}),r=[t],o=new RegExp(cI),i=null;for(;i=o.exec(e.mediaQuery.toLowerCase());)if(i[4]===","||i[5]==="or")t=new vm({window:e.window,rootFontSize:e.rootFontSize}),r.push(t);else if(i[1]==="all"||i[1]==="screen"||i[1]==="print")t.mediaTypes.push(i[1]);else if(i[1]==="not")t.not=!0;else if(i[2]){let n=hI.test(i[2])?i[2].match(dI):null;if(n&&(n[1]||n[5]))t.ranges.push({before:n[1]?{value:n[1],operator:n[2]}:null,type:n[3],after:n[5]?{value:n[5],operator:n[4]}:null});else{let[a,m]=i[2].split(":"),p=m?m.trim():null;if(!p&&!i[3])return[new vm({window:e.window,rootFontSize:e.rootFontSize,not:!0,mediaTypes:[cS.all]})];t.rules.push({name:a.trim(),value:p})}}return r}};var ja,kl,Gy,Hy,Am=class extends _t{constructor(t){super();s(this,"onchange",null);x(this,ja);x(this,kl,null);x(this,Gy);x(this,Hy,null);w(this,ja,t.window),w(this,Gy,t.media),w(this,Hy,t.rootFontSize||null)}get media(){return w(this,kl,y(this,kl)||Uy.parse({window:y(this,ja),mediaQuery:y(this,Gy),rootFontSize:y(this,Hy)})),y(this,kl).map(t=>t.toString()).join(", ")}get matches(){w(this,kl,y(this,kl)||Uy.parse({window:y(this,ja),mediaQuery:y(this,Gy),rootFontSize:y(this,Hy)}));for(let t of y(this,kl))if(!t.matches())return!1;return!0}addListener(t){this.addEventListener("change",t)}removeListener(t){this.removeEventListener("change",t)}addEventListener(t,r){if(super.addEventListener(t,r),t==="change"){let o=!1,i=()=>{let n=this.matches;n!==o&&(o=n,this.dispatchEvent(new Wa("change",{matches:n,media:this.media})))};r[Bg]=i,y(this,ja).addEventListener("resize",i)}}removeEventListener(t,r){super.removeEventListener(t,r),t==="change"&&r[Bg]&&y(this,ja).removeEventListener("resize",r[Bg])}};ja=new WeakMap,kl=new WeakMap,Gy=new WeakMap,Hy=new WeakMap;var ox,ix,es=class extends(ix=Me,ox=or,ix){constructor(){super(...arguments);s(this,ox,[])}get cssRules(){return this[or]}insertRule(t,r){if(arguments.length===0)throw new this[u].TypeError(`Failed to execute 'insertRule' on '${this.constructor.name}': 1 argument required, but only 0 present.`);let o=this[fm].parseFromString(t);if(o.length===0||o.length>1)throw new this[u].DOMException(`Failed to execute 'insertRule' on '${this.constructor.name}': Failed to parse the rule '${t}'.`,A.syntaxError);if(r!==void 0){if(r=Number(r),isNaN(r)||r>this.cssRules.length)throw new this[u].DOMException(`Failed to execute 'insertRule' on '${this.constructor.name}': The index provided (${r}) is larger than the maximum index (${this.cssRules.length}).`,A.indexSizeError);return this.cssRules.splice(r,0,o[0]),r}let i=this.cssRules.length;return this.cssRules.unshift(o[0]),i}deleteRule(t){if(arguments.length===0)throw new this[u].TypeError(`Failed to execute 'deleteRule' on '${this.constructor.name}': 1 argument required, but only 0 present.`);if(t=Number(t),isNaN(t)||t<0||t>=this.cssRules.length)throw new this[u].DOMException(`Failed to execute 'deleteRule' on '${this.constructor.name}': the index (${t}) is greater than the length of the rule list.`,A.indexSizeError);this.cssRules.splice(t,1)}};var sx,nx,lx,ax,On=class extends(ax=es,lx=G,nx=z,sx=po,ax){constructor(){super(...arguments);s(this,lx,"");s(this,nx,"");s(this,sx,"")}get type(){return pt.containerRule}get cssText(){let t="";for(let r of this[or])t+=`
24
+ `+r.cssText;return t+=`
25
+ `,`@${this[po]}scope${this[G]?` (${this[G]})`:""}${this[z]?` to (${this[z]})`:""} {${t}}`}get start(){return this[G]}get end(){return this[z]}};var bI=/[0-9.]+(px|rem|em|vw|vh|%|vmin|vmax|cm|mm|in|pt|pc|Q)/g,ux=/:host\s*\(([^)]+)\)|:host-context\s*\(([^)]+)\)/,fI=/var\( *(--[^), ]+)\)/,gI=/var\( *(--[^), ]+), *([^), ]+)\)/,ub=class{constructor(e){s(this,"element");this.element=e}getComputedStyle(){let e=[],t=[],r={element:this.element,cssTexts:[]},o=[],i=[];if(!this.element[nt])return new Ns;let n=this.element[q].computedStyle;if(n?.result){let v=n.result.deref();if(v)return v}for(;r.element;)if(r.element[U]===M.elementNode&&(r.element.getRootNode()[U]===M.documentNode?e.unshift(r):o.unshift(r),r.element.shadowRoot&&i.push(r),t.unshift(r)),r.element===this.element[T]){let v=this.getStyleSheets(this.element[T]);for(let C of v)this.parseCSSRules({elements:e,cssRules:C.cssRules});for(let C of i){let L=this.getStyleSheets(C.element.shadowRoot);for(let j of L)this.parseCSSRules({elements:[],cssRules:j.cssRules,hostElement:C})}r={element:null,cssTexts:[]}}else if(r.element[U]===M.documentFragmentNode&&r.element.host){let v=r.element,C=this.getStyleSheets(v);r={element:v.host,cssTexts:[]};for(let L of C)this.parseCSSRules({elements:o,cssRules:L.cssRules,hostElement:r});for(let L of i){let j=this.getStyleSheets(L.element.shadowRoot);for(let et of j)this.parseCSSRules({elements:[],cssRules:et.cssRules,hostElement:L})}i=[],o=[]}else r={element:r.element[W],cssTexts:[]};let a=t[t.length-1],m=new Ns,p={},b=16,d=16;for(let v of t){v.cssTexts.sort((ht,$t)=>ht.priorityWeight-$t.priorityWeight);let C=Ww[v.element[tt]],L="";if(C)if(typeof C=="string")L+=C;else for(let ht of Object.keys(C))(ht==="default"||v.element[ht])&&(L+=C[ht]);for(let ht of v.cssTexts)L+=ht.cssText;let j=v.element.getAttribute("style");j&&(L+=j);let et=Em.parse(L),J=et.rules;Object.assign(p,et.properties);for(let{name:ht,value:$t,important:Nt}of J)if(jw[ht]||v===a){let te=this.parseCSSVariablesInValue($t.trim(),p);if(te&&(!m.get(ht)?.important||Nt)&&(m.set(ht,te,Nt),ht==="font"||ht==="font-size")){let Lt=m.properties["font-size"];if(Lt!==null){let er=this.parseMeasurementsInValue({value:Lt.value,rootFontSize:b,parentFontSize:d,parentSize:d});v.element[tt]==="HTML"?b=er:v!==a&&(d=er)}}}}for(let v of zw){let C=m.properties[v];C&&(C.value=this.parseMeasurementsInValue({value:C.value,rootFontSize:b,parentFontSize:d,parentSize:v==="font-size"?d:null}))}let f={result:new WeakRef(m)};return this.element[q].computedStyle=f,this.element[T][xs].push(f),m}getStyleSheets(e){if(!e)return[];let t=e.querySelectorAll('style,link[rel="stylesheet"]'),r=[];for(let o of t){let i=o.sheet;i&&r.push(i)}return e.adoptedStyleSheets&&(r=r.concat(e.adoptedStyleSheets)),r}parseCSSRules(e){if(!e.hostElement&&!e.elements.length)return;let t=this.element[u];for(let r of e.cssRules)if(r.type===pt.styleRule){let o=r.selectorText;if(o)if(o[0]===":"&&o.startsWith(":host")){if(e.hostElement){let i=!0;if(o!==":host"){let n=o.match(ux);if(n)if(ut.matches(e.hostElement.element,n[1]||n[2],{ignoreErrors:!0,scope:e.scopeElement?.element})){let m=o?.replace(ux,"").trim();if(m&&m[0]!==":"){i=!1;for(let p of e.elements){let b=ut.matches(p.element,m,{ignoreErrors:!0,scope:e.scopeElement?.element});b&&p.cssTexts.push({cssText:r[Yr],priorityWeight:10+b.priorityWeight})}}}else i=!1}i&&e.hostElement.cssTexts.push({cssText:r[Yr],priorityWeight:10})}}else for(let i of e.elements){let n=ut.matches(i.element,o,{ignoreErrors:!0,scope:e.scopeElement?.element});n&&i.cssTexts.push({cssText:r[Yr],priorityWeight:n.priorityWeight})}}else if(r.type===pt.mediaRule&&new Am({window:t,media:r.conditionText,rootFontSize:this.element[tt]==="HTML"?16:null}).matches)this.parseCSSRules({elements:e.elements,cssRules:r.cssRules,hostElement:e.hostElement,scopeElement:e.scopeElement});else if(r.type===pt.supportsRule)t.CSS.supports(r.conditionText)&&this.parseCSSRules({elements:e.elements,cssRules:r.cssRules,hostElement:e.hostElement,scopeElement:e.scopeElement});else if(r.type===pt.containerRule&&r instanceof On){let o=[],i=null;for(let n of e.elements)if(i){if(r[z]&&ut.matches(n.element,r[z],{ignoreErrors:!0,scope:i.element}))break;o.push(n)}else ut.matches(n.element,r[G]||":root",{ignoreErrors:!0})&&(i=n,o.push(n));o.length&&this.parseCSSRules({elements:o,cssRules:r.cssRules,hostElement:e.hostElement,scopeElement:i})}}parseCSSVariablesInValue(e,t){let r=e,o;for(;(o=r.match(fI))!=null;)r=r.replace(o[0],t[o[1]]||"");for(;(o=r.match(gI))!==null;)r=r.replace(o[0],t[o[1]]||o[2]);return r}parseMeasurementsInValue(e){if(new it(this.element[u]).getSettings()?.disableComputedStyleRendering)return e.value;let t=new RegExp(bI),r=e.value,o;for(;(o=t.exec(e.value))!==null;)if(o[1]!=="px"){let i=$a.toPixels({window:this.element[u],value:o[0],rootFontSize:e.rootFontSize,parentFontSize:e.parentFontSize,parentSize:e.parentSize});i!==null&&(r=r.replace(o[0],i+"px"))}return r}};var mx,gi,Ml,Si,Vn,za;mx=u;var co=class{constructor(e,t,r){x(this,Vn);s(this,"parentRule",null);s(this,mx);x(this,gi);x(this,Ml);x(this,Si,{attributeValue:null,propertyManager:null});if(e!==c)throw new TypeError("Illegal constructor");this[u]=t,w(this,gi,r?.element||null),w(this,Ml,r?.element?!!r?.computed:!1)}get 0(){return this.item(0)||void 0}get 1(){return this.item(1)||void 0}get 2(){return this.item(2)||void 0}get 3(){return this.item(3)||void 0}get 4(){return this.item(4)||void 0}get 5(){return this.item(5)||void 0}get 6(){return this.item(6)||void 0}get 7(){return this.item(7)||void 0}get 8(){return this.item(8)||void 0}get 9(){return this.item(9)||void 0}get 10(){return this.item(10)||void 0}get 11(){return this.item(11)||void 0}get 12(){return this.item(12)||void 0}get 13(){return this.item(13)||void 0}get 14(){return this.item(14)||void 0}get 15(){return this.item(15)||void 0}get 16(){return this.item(16)||void 0}get 17(){return this.item(17)||void 0}get 18(){return this.item(18)||void 0}get 19(){return this.item(19)||void 0}get 20(){return this.item(20)||void 0}get 21(){return this.item(21)||void 0}get 22(){return this.item(22)||void 0}get 23(){return this.item(23)||void 0}get 24(){return this.item(24)||void 0}get 25(){return this.item(25)||void 0}get 26(){return this.item(26)||void 0}get 27(){return this.item(27)||void 0}get 28(){return this.item(28)||void 0}get 29(){return this.item(29)||void 0}get 30(){return this.item(30)||void 0}get 31(){return this.item(31)||void 0}get 32(){return this.item(32)||void 0}get 33(){return this.item(33)||void 0}get 34(){return this.item(34)||void 0}get 35(){return this.item(35)||void 0}get 36(){return this.item(36)||void 0}get 37(){return this.item(37)||void 0}get 38(){return this.item(38)||void 0}get 39(){return this.item(39)||void 0}get 40(){return this.item(40)||void 0}get 41(){return this.item(41)||void 0}get 42(){return this.item(42)||void 0}get 43(){return this.item(43)||void 0}get 44(){return this.item(44)||void 0}get 45(){return this.item(45)||void 0}get 46(){return this.item(46)||void 0}get 47(){return this.item(47)||void 0}get 48(){return this.item(48)||void 0}get 49(){return this.item(49)||void 0}get 50(){return this.item(50)||void 0}get 51(){return this.item(51)||void 0}get 52(){return this.item(52)||void 0}get 53(){return this.item(53)||void 0}get 54(){return this.item(54)||void 0}get 55(){return this.item(55)||void 0}get 56(){return this.item(56)||void 0}get 57(){return this.item(57)||void 0}get 58(){return this.item(58)||void 0}get 59(){return this.item(59)||void 0}get 60(){return this.item(60)||void 0}get 61(){return this.item(61)||void 0}get 62(){return this.item(62)||void 0}get 63(){return this.item(63)||void 0}get 64(){return this.item(64)||void 0}get 65(){return this.item(65)||void 0}get 66(){return this.item(66)||void 0}get 67(){return this.item(67)||void 0}get 68(){return this.item(68)||void 0}get 69(){return this.item(69)||void 0}get 70(){return this.item(70)||void 0}get 71(){return this.item(71)||void 0}get 72(){return this.item(72)||void 0}get 73(){return this.item(73)||void 0}get 74(){return this.item(74)||void 0}get 75(){return this.item(75)||void 0}get 76(){return this.item(76)||void 0}get 77(){return this.item(77)||void 0}get 78(){return this.item(78)||void 0}get 79(){return this.item(79)||void 0}get 80(){return this.item(80)||void 0}get 81(){return this.item(81)||void 0}get 82(){return this.item(82)||void 0}get 83(){return this.item(83)||void 0}get 84(){return this.item(84)||void 0}get 85(){return this.item(85)||void 0}get 86(){return this.item(86)||void 0}get 87(){return this.item(87)||void 0}get 88(){return this.item(88)||void 0}get 89(){return this.item(89)||void 0}get 90(){return this.item(90)||void 0}get 91(){return this.item(91)||void 0}get 92(){return this.item(92)||void 0}get 93(){return this.item(93)||void 0}get 94(){return this.item(94)||void 0}get 95(){return this.item(95)||void 0}get 96(){return this.item(96)||void 0}get 97(){return this.item(97)||void 0}get 98(){return this.item(98)||void 0}get 99(){return this.item(99)||void 0}get 100(){return this.item(100)||void 0}get 101(){return this.item(101)||void 0}get 102(){return this.item(102)||void 0}get 103(){return this.item(103)||void 0}get 104(){return this.item(104)||void 0}get 105(){return this.item(105)||void 0}get 106(){return this.item(106)||void 0}get 107(){return this.item(107)||void 0}get 108(){return this.item(108)||void 0}get 109(){return this.item(109)||void 0}get 110(){return this.item(110)||void 0}get 111(){return this.item(111)||void 0}get 112(){return this.item(112)||void 0}get 113(){return this.item(113)||void 0}get 114(){return this.item(114)||void 0}get 115(){return this.item(115)||void 0}get 116(){return this.item(116)||void 0}get 117(){return this.item(117)||void 0}get 118(){return this.item(118)||void 0}get 119(){return this.item(119)||void 0}get 120(){return this.item(120)||void 0}get 121(){return this.item(121)||void 0}get 122(){return this.item(122)||void 0}get 123(){return this.item(123)||void 0}get 124(){return this.item(124)||void 0}get 125(){return this.item(125)||void 0}get 126(){return this.item(126)||void 0}get 127(){return this.item(127)||void 0}get 128(){return this.item(128)||void 0}get 129(){return this.item(129)||void 0}get 130(){return this.item(130)||void 0}get 131(){return this.item(131)||void 0}get 132(){return this.item(132)||void 0}get 133(){return this.item(133)||void 0}get 134(){return this.item(134)||void 0}get 135(){return this.item(135)||void 0}get 136(){return this.item(136)||void 0}get 137(){return this.item(137)||void 0}get 138(){return this.item(138)||void 0}get 139(){return this.item(139)||void 0}get 140(){return this.item(140)||void 0}get 141(){return this.item(141)||void 0}get 142(){return this.item(142)||void 0}get 143(){return this.item(143)||void 0}get 144(){return this.item(144)||void 0}get 145(){return this.item(145)||void 0}get 146(){return this.item(146)||void 0}get 147(){return this.item(147)||void 0}get 148(){return this.item(148)||void 0}get 149(){return this.item(149)||void 0}get 150(){return this.item(150)||void 0}get 151(){return this.item(151)||void 0}get 152(){return this.item(152)||void 0}get 153(){return this.item(153)||void 0}get 154(){return this.item(154)||void 0}get 155(){return this.item(155)||void 0}get 156(){return this.item(156)||void 0}get 157(){return this.item(157)||void 0}get 158(){return this.item(158)||void 0}get 159(){return this.item(159)||void 0}get 160(){return this.item(160)||void 0}get 161(){return this.item(161)||void 0}get 162(){return this.item(162)||void 0}get 163(){return this.item(163)||void 0}get 164(){return this.item(164)||void 0}get 165(){return this.item(165)||void 0}get 166(){return this.item(166)||void 0}get 167(){return this.item(167)||void 0}get 168(){return this.item(168)||void 0}get 169(){return this.item(169)||void 0}get 170(){return this.item(170)||void 0}get 171(){return this.item(171)||void 0}get 172(){return this.item(172)||void 0}get 173(){return this.item(173)||void 0}get 174(){return this.item(174)||void 0}get 175(){return this.item(175)||void 0}get 176(){return this.item(176)||void 0}get 177(){return this.item(177)||void 0}get 178(){return this.item(178)||void 0}get 179(){return this.item(179)||void 0}get 180(){return this.item(180)||void 0}get 181(){return this.item(181)||void 0}get 182(){return this.item(182)||void 0}get 183(){return this.item(183)||void 0}get 184(){return this.item(184)||void 0}get 185(){return this.item(185)||void 0}get 186(){return this.item(186)||void 0}get 187(){return this.item(187)||void 0}get 188(){return this.item(188)||void 0}get 189(){return this.item(189)||void 0}get 190(){return this.item(190)||void 0}get 191(){return this.item(191)||void 0}get 192(){return this.item(192)||void 0}get 193(){return this.item(193)||void 0}get 194(){return this.item(194)||void 0}get 195(){return this.item(195)||void 0}get 196(){return this.item(196)||void 0}get 197(){return this.item(197)||void 0}get 198(){return this.item(198)||void 0}get 199(){return this.item(199)||void 0}get 200(){return this.item(200)||void 0}get 201(){return this.item(201)||void 0}get 202(){return this.item(202)||void 0}get 203(){return this.item(203)||void 0}get 204(){return this.item(204)||void 0}get 205(){return this.item(205)||void 0}get 206(){return this.item(206)||void 0}get 207(){return this.item(207)||void 0}get 208(){return this.item(208)||void 0}get 209(){return this.item(209)||void 0}get 210(){return this.item(210)||void 0}get 211(){return this.item(211)||void 0}get 212(){return this.item(212)||void 0}get 213(){return this.item(213)||void 0}get 214(){return this.item(214)||void 0}get 215(){return this.item(215)||void 0}get 216(){return this.item(216)||void 0}get 217(){return this.item(217)||void 0}get 218(){return this.item(218)||void 0}get 219(){return this.item(219)||void 0}get 220(){return this.item(220)||void 0}get 221(){return this.item(221)||void 0}get 222(){return this.item(222)||void 0}get 223(){return this.item(223)||void 0}get 224(){return this.item(224)||void 0}get 225(){return this.item(225)||void 0}get 226(){return this.item(226)||void 0}get 227(){return this.item(227)||void 0}get 228(){return this.item(228)||void 0}get 229(){return this.item(229)||void 0}get 230(){return this.item(230)||void 0}get 231(){return this.item(231)||void 0}get 232(){return this.item(232)||void 0}get 233(){return this.item(233)||void 0}get 234(){return this.item(234)||void 0}get 235(){return this.item(235)||void 0}get 236(){return this.item(236)||void 0}get 237(){return this.item(237)||void 0}get 238(){return this.item(238)||void 0}get 239(){return this.item(239)||void 0}get 240(){return this.item(240)||void 0}get 241(){return this.item(241)||void 0}get 242(){return this.item(242)||void 0}get 243(){return this.item(243)||void 0}get 244(){return this.item(244)||void 0}get 245(){return this.item(245)||void 0}get 246(){return this.item(246)||void 0}get 247(){return this.item(247)||void 0}get 248(){return this.item(248)||void 0}get 249(){return this.item(249)||void 0}get 250(){return this.item(250)||void 0}get 251(){return this.item(251)||void 0}get 252(){return this.item(252)||void 0}get 253(){return this.item(253)||void 0}get 254(){return this.item(254)||void 0}get 255(){return this.item(255)||void 0}get 256(){return this.item(256)||void 0}get 257(){return this.item(257)||void 0}get 258(){return this.item(258)||void 0}get 259(){return this.item(259)||void 0}get 260(){return this.item(260)||void 0}get 261(){return this.item(261)||void 0}get 262(){return this.item(262)||void 0}get 263(){return this.item(263)||void 0}get 264(){return this.item(264)||void 0}get 265(){return this.item(265)||void 0}get 266(){return this.item(266)||void 0}get 267(){return this.item(267)||void 0}get 268(){return this.item(268)||void 0}get 269(){return this.item(269)||void 0}get 270(){return this.item(270)||void 0}get 271(){return this.item(271)||void 0}get 272(){return this.item(272)||void 0}get 273(){return this.item(273)||void 0}get 274(){return this.item(274)||void 0}get 275(){return this.item(275)||void 0}get 276(){return this.item(276)||void 0}get 277(){return this.item(277)||void 0}get 278(){return this.item(278)||void 0}get 279(){return this.item(279)||void 0}get 280(){return this.item(280)||void 0}get 281(){return this.item(281)||void 0}get 282(){return this.item(282)||void 0}get 283(){return this.item(283)||void 0}get 284(){return this.item(284)||void 0}get 285(){return this.item(285)||void 0}get 286(){return this.item(286)||void 0}get 287(){return this.item(287)||void 0}get 288(){return this.item(288)||void 0}get 289(){return this.item(289)||void 0}get 290(){return this.item(290)||void 0}get 291(){return this.item(291)||void 0}get 292(){return this.item(292)||void 0}get 293(){return this.item(293)||void 0}get 294(){return this.item(294)||void 0}get 295(){return this.item(295)||void 0}get 296(){return this.item(296)||void 0}get 297(){return this.item(297)||void 0}get 298(){return this.item(298)||void 0}get 299(){return this.item(299)||void 0}get 300(){return this.item(300)||void 0}get 301(){return this.item(301)||void 0}get 302(){return this.item(302)||void 0}get 303(){return this.item(303)||void 0}get 304(){return this.item(304)||void 0}get 305(){return this.item(305)||void 0}get 306(){return this.item(306)||void 0}get 307(){return this.item(307)||void 0}get 308(){return this.item(308)||void 0}get 309(){return this.item(309)||void 0}get 310(){return this.item(310)||void 0}get 311(){return this.item(311)||void 0}get 312(){return this.item(312)||void 0}get 313(){return this.item(313)||void 0}get 314(){return this.item(314)||void 0}get 315(){return this.item(315)||void 0}get 316(){return this.item(316)||void 0}get 317(){return this.item(317)||void 0}get 318(){return this.item(318)||void 0}get 319(){return this.item(319)||void 0}get 320(){return this.item(320)||void 0}get 321(){return this.item(321)||void 0}get 322(){return this.item(322)||void 0}get 323(){return this.item(323)||void 0}get 324(){return this.item(324)||void 0}get 325(){return this.item(325)||void 0}get 326(){return this.item(326)||void 0}get 327(){return this.item(327)||void 0}get 328(){return this.item(328)||void 0}get 329(){return this.item(329)||void 0}get 330(){return this.item(330)||void 0}get 331(){return this.item(331)||void 0}get 332(){return this.item(332)||void 0}get 333(){return this.item(333)||void 0}get 334(){return this.item(334)||void 0}get 335(){return this.item(335)||void 0}get 336(){return this.item(336)||void 0}get 337(){return this.item(337)||void 0}get 338(){return this.item(338)||void 0}get 339(){return this.item(339)||void 0}get 340(){return this.item(340)||void 0}get 341(){return this.item(341)||void 0}get 342(){return this.item(342)||void 0}get 343(){return this.item(343)||void 0}get 344(){return this.item(344)||void 0}get 345(){return this.item(345)||void 0}get 346(){return this.item(346)||void 0}get 347(){return this.item(347)||void 0}get 348(){return this.item(348)||void 0}get 349(){return this.item(349)||void 0}get 350(){return this.item(350)||void 0}get 351(){return this.item(351)||void 0}get 352(){return this.item(352)||void 0}get 353(){return this.item(353)||void 0}get 354(){return this.item(354)||void 0}get 355(){return this.item(355)||void 0}get 356(){return this.item(356)||void 0}get 357(){return this.item(357)||void 0}get 358(){return this.item(358)||void 0}get 359(){return this.item(359)||void 0}get 360(){return this.item(360)||void 0}get 361(){return this.item(361)||void 0}get 362(){return this.item(362)||void 0}get 363(){return this.item(363)||void 0}get 364(){return this.item(364)||void 0}get 365(){return this.item(365)||void 0}get 366(){return this.item(366)||void 0}get 367(){return this.item(367)||void 0}get 368(){return this.item(368)||void 0}get 369(){return this.item(369)||void 0}get 370(){return this.item(370)||void 0}get 371(){return this.item(371)||void 0}get 372(){return this.item(372)||void 0}get 373(){return this.item(373)||void 0}get 374(){return this.item(374)||void 0}get 375(){return this.item(375)||void 0}get 376(){return this.item(376)||void 0}get 377(){return this.item(377)||void 0}get 378(){return this.item(378)||void 0}get 379(){return this.item(379)||void 0}get 380(){return this.item(380)||void 0}get 381(){return this.item(381)||void 0}get 382(){return this.item(382)||void 0}get 383(){return this.item(383)||void 0}get 384(){return this.item(384)||void 0}get 385(){return this.item(385)||void 0}get 386(){return this.item(386)||void 0}get 387(){return this.item(387)||void 0}get 388(){return this.item(388)||void 0}get 389(){return this.item(389)||void 0}get 390(){return this.item(390)||void 0}get 391(){return this.item(391)||void 0}get 392(){return this.item(392)||void 0}get 393(){return this.item(393)||void 0}get accentColor(){return this.getPropertyValue("accent-color")}set accentColor(e){this.setProperty("accent-color",e)}get appRegion(){return this.getPropertyValue("app-region")}set appRegion(e){this.setProperty("app-region",e)}get alignContent(){return this.getPropertyValue("align-content")}set alignContent(e){this.setProperty("align-content",e)}get alignItems(){return this.getPropertyValue("align-items")}set alignItems(e){this.setProperty("align-items",e)}get alignSelf(){return this.getPropertyValue("align-self")}set alignSelf(e){this.setProperty("align-self",e)}get alignmentBaseline(){return this.getPropertyValue("alignment-baseline")}set alignmentBaseline(e){this.setProperty("alignment-baseline",e)}get all(){return this.getPropertyValue("all")}set all(e){this.setProperty("all",e)}get animation(){return this.getPropertyValue("animation")}set animation(e){this.setProperty("animation",e)}get animationDelay(){return this.getPropertyValue("animation-delay")}set animationDelay(e){this.setProperty("animation-delay",e)}get animationDirection(){return this.getPropertyValue("animation-direction")}set animationDirection(e){this.setProperty("animation-direction",e)}get animationDuration(){return this.getPropertyValue("animation-duration")}set animationDuration(e){this.setProperty("animation-duration",e)}get animationFillMode(){return this.getPropertyValue("animation-fill-mode")}set animationFillMode(e){this.setProperty("animation-fill-mode",e)}get animationIterationCount(){return this.getPropertyValue("animation-iteration-count")}set animationIterationCount(e){this.setProperty("animation-iteration-count",e)}get animationName(){return this.getPropertyValue("animation-name")}set animationName(e){this.setProperty("animation-name",e)}get animationPlayState(){return this.getPropertyValue("animation-play-state")}set animationPlayState(e){this.setProperty("animation-play-state",e)}get animationTimingFunction(){return this.getPropertyValue("animation-timing-function")}set animationTimingFunction(e){this.setProperty("animation-timing-function",e)}get appearance(){return this.getPropertyValue("appearance")}set appearance(e){this.setProperty("appearance",e)}get backdropFilter(){return this.getPropertyValue("backdrop-filter")}set backdropFilter(e){this.setProperty("backdrop-filter",e)}get backfaceVisibility(){return this.getPropertyValue("backface-visibility")}set backfaceVisibility(e){this.setProperty("backface-visibility",e)}get background(){return this.getPropertyValue("background")}set background(e){this.setProperty("background",e)}get backgroundAttachment(){return this.getPropertyValue("background-attachment")}set backgroundAttachment(e){this.setProperty("background-attachment",e)}get backgroundBlendMode(){return this.getPropertyValue("background-blend-mode")}set backgroundBlendMode(e){this.setProperty("background-blend-mode",e)}get backgroundClip(){return this.getPropertyValue("background-clip")}set backgroundClip(e){this.setProperty("background-clip",e)}get backgroundColor(){return this.getPropertyValue("background-color")}set backgroundColor(e){this.setProperty("background-color",e)}get backgroundImage(){return this.getPropertyValue("background-image")}set backgroundImage(e){this.setProperty("background-image",e)}get backgroundOrigin(){return this.getPropertyValue("background-origin")}set backgroundOrigin(e){this.setProperty("background-origin",e)}get backgroundPosition(){return this.getPropertyValue("background-position")}set backgroundPosition(e){this.setProperty("background-position",e)}get backgroundPositionX(){return this.getPropertyValue("background-position-x")}set backgroundPositionX(e){this.setProperty("background-position-x",e)}get backgroundPositionY(){return this.getPropertyValue("background-position-y")}set backgroundPositionY(e){this.setProperty("background-position-y",e)}get backgroundRepeat(){return this.getPropertyValue("background-repeat")}set backgroundRepeat(e){this.setProperty("background-repeat",e)}get backgroundRepeatX(){return this.getPropertyValue("background-repeat-x")}set backgroundRepeatX(e){this.setProperty("background-repeat-x",e)}get backgroundRepeatY(){return this.getPropertyValue("background-repeat-y")}set backgroundRepeatY(e){this.setProperty("background-repeat-y",e)}get backgroundSize(){return this.getPropertyValue("background-size")}set backgroundSize(e){this.setProperty("background-size",e)}get baselineShift(){return this.getPropertyValue("baseline-shift")}set baselineShift(e){this.setProperty("baseline-shift",e)}get blockSize(){return this.getPropertyValue("block-size")}set blockSize(e){this.setProperty("block-size",e)}get border(){return this.getPropertyValue("border")}set border(e){this.setProperty("border",e)}get borderBlockEnd(){return this.getPropertyValue("border-block-end")}set borderBlockEnd(e){this.setProperty("border-block-end",e)}get borderBlockEndColor(){return this.getPropertyValue("border-block-end-color")}set borderBlockEndColor(e){this.setProperty("border-block-end-color",e)}get borderBlockEndStyle(){return this.getPropertyValue("border-block-end-style")}set borderBlockEndStyle(e){this.setProperty("border-block-end-style",e)}get borderBlockEndWidth(){return this.getPropertyValue("border-block-end-width")}set borderBlockEndWidth(e){this.setProperty("border-block-end-width",e)}get borderBlockStart(){return this.getPropertyValue("border-block-start")}set borderBlockStart(e){this.setProperty("border-block-start",e)}get borderBlockStartColor(){return this.getPropertyValue("border-block-start-color")}set borderBlockStartColor(e){this.setProperty("border-block-start-color",e)}get borderBlockStartStyle(){return this.getPropertyValue("border-block-start-style")}set borderBlockStartStyle(e){this.setProperty("border-block-start-style",e)}get borderBlockStartWidth(){return this.getPropertyValue("border-block-start-width")}set borderBlockStartWidth(e){this.setProperty("border-block-start-width",e)}get borderBottom(){return this.getPropertyValue("border-bottom")}set borderBottom(e){this.setProperty("border-bottom",e)}get borderBottomColor(){return this.getPropertyValue("border-bottom-color")}set borderBottomColor(e){this.setProperty("border-bottom-color",e)}get borderBottomLeftRadius(){return this.getPropertyValue("border-bottom-left-radius")}set borderBottomLeftRadius(e){this.setProperty("border-bottom-left-radius",e)}get borderBottomRightRadius(){return this.getPropertyValue("border-bottom-right-radius")}set borderBottomRightRadius(e){this.setProperty("border-bottom-right-radius",e)}get borderBottomStyle(){return this.getPropertyValue("border-bottom-style")}set borderBottomStyle(e){this.setProperty("border-bottom-style",e)}get borderBottomWidth(){return this.getPropertyValue("border-bottom-width")}set borderBottomWidth(e){this.setProperty("border-bottom-width",e)}get borderCollapse(){return this.getPropertyValue("border-collapse")}set borderCollapse(e){this.setProperty("border-collapse",e)}get borderColor(){return this.getPropertyValue("border-color")}set borderColor(e){this.setProperty("border-color",e)}get borderImage(){return this.getPropertyValue("border-image")}set borderImage(e){this.setProperty("border-image",e)}get borderImageOutset(){return this.getPropertyValue("border-image-outset")}set borderImageOutset(e){this.setProperty("border-image-outset",e)}get borderImageRepeat(){return this.getPropertyValue("border-image-repeat")}set borderImageRepeat(e){this.setProperty("border-image-repeat",e)}get borderImageSlice(){return this.getPropertyValue("border-image-slice")}set borderImageSlice(e){this.setProperty("border-image-slice",e)}get borderImageSource(){return this.getPropertyValue("border-image-source")}set borderImageSource(e){this.setProperty("border-image-source",e)}get borderImageWidth(){return this.getPropertyValue("border-image-width")}set borderImageWidth(e){this.setProperty("border-image-width",e)}get borderInlineEnd(){return this.getPropertyValue("border-inline-end")}set borderInlineEnd(e){this.setProperty("border-inline-end",e)}get borderInlineEndColor(){return this.getPropertyValue("border-inline-end-color")}set borderInlineEndColor(e){this.setProperty("border-inline-end-color",e)}get borderInlineEndStyle(){return this.getPropertyValue("border-inline-end-style")}set borderInlineEndStyle(e){this.setProperty("border-inline-end-style",e)}get borderInlineEndWidth(){return this.getPropertyValue("border-inline-end-width")}set borderInlineEndWidth(e){this.setProperty("border-inline-end-width",e)}get borderInlineStart(){return this.getPropertyValue("border-inline-start")}set borderInlineStart(e){this.setProperty("border-inline-start",e)}get borderInlineStartColor(){return this.getPropertyValue("border-inline-start-color")}set borderInlineStartColor(e){this.setProperty("border-inline-start-color",e)}get borderInlineStartStyle(){return this.getPropertyValue("border-inline-start-style")}set borderInlineStartStyle(e){this.setProperty("border-inline-start-style",e)}get borderInlineStartWidth(){return this.getPropertyValue("border-inline-start-width")}set borderInlineStartWidth(e){this.setProperty("border-inline-start-width",e)}get borderLeft(){return this.getPropertyValue("border-left")}set borderLeft(e){this.setProperty("border-left",e)}get borderLeftColor(){return this.getPropertyValue("border-left-color")}set borderLeftColor(e){this.setProperty("border-left-color",e)}get borderLeftStyle(){return this.getPropertyValue("border-left-style")}set borderLeftStyle(e){this.setProperty("border-left-style",e)}get borderLeftWidth(){return this.getPropertyValue("border-left-width")}set borderLeftWidth(e){this.setProperty("border-left-width",e)}get borderRadius(){return this.getPropertyValue("border-radius")}set borderRadius(e){this.setProperty("border-radius",e)}get borderRight(){return this.getPropertyValue("border-right")}set borderRight(e){this.setProperty("border-right",e)}get borderRightColor(){return this.getPropertyValue("border-right-color")}set borderRightColor(e){this.setProperty("border-right-color",e)}get borderRightStyle(){return this.getPropertyValue("border-right-style")}set borderRightStyle(e){this.setProperty("border-right-style",e)}get borderRightWidth(){return this.getPropertyValue("border-right-width")}set borderRightWidth(e){this.setProperty("border-right-width",e)}get borderSpacing(){return this.getPropertyValue("border-spacing")}set borderSpacing(e){this.setProperty("border-spacing",e)}get borderStyle(){return this.getPropertyValue("border-style")}set borderStyle(e){this.setProperty("border-style",e)}get borderTop(){return this.getPropertyValue("border-top")}set borderTop(e){this.setProperty("border-top",e)}get borderTopColor(){return this.getPropertyValue("border-top-color")}set borderTopColor(e){this.setProperty("border-top-color",e)}get borderTopLeftRadius(){return this.getPropertyValue("border-top-left-radius")}set borderTopLeftRadius(e){this.setProperty("border-top-left-radius",e)}get borderTopRightRadius(){return this.getPropertyValue("border-top-right-radius")}set borderTopRightRadius(e){this.setProperty("border-top-right-radius",e)}get borderTopStyle(){return this.getPropertyValue("border-top-style")}set borderTopStyle(e){this.setProperty("border-top-style",e)}get borderTopWidth(){return this.getPropertyValue("border-top-width")}set borderTopWidth(e){this.setProperty("border-top-width",e)}get borderWidth(){return this.getPropertyValue("border-width")}set borderWidth(e){this.setProperty("border-width",e)}get borderEndEndRadius(){return this.getPropertyValue("border-end-end-radius")}set borderEndEndRadius(e){this.setProperty("border-end-end-radius",e)}get borderEndStartRadius(){return this.getPropertyValue("border-end-start-radius")}set borderEndStartRadius(e){this.setProperty("border-end-start-radius",e)}get borderStartEndRadius(){return this.getPropertyValue("border-start-end-radius")}set borderStartEndRadius(e){this.setProperty("border-start-end-radius",e)}get borderStartStartRadius(){return this.getPropertyValue("border-start-start-radius")}set borderStartStartRadius(e){this.setProperty("border-start-start-radius",e)}get bottom(){return this.getPropertyValue("bottom")}set bottom(e){this.setProperty("bottom",e)}get boxShadow(){return this.getPropertyValue("box-shadow")}set boxShadow(e){this.setProperty("box-shadow",e)}get boxSizing(){return this.getPropertyValue("box-sizing")}set boxSizing(e){this.setProperty("box-sizing",e)}get breakAfter(){return this.getPropertyValue("break-after")}set breakAfter(e){this.setProperty("break-after",e)}get breakBefore(){return this.getPropertyValue("break-before")}set breakBefore(e){this.setProperty("break-before",e)}get breakInside(){return this.getPropertyValue("break-inside")}set breakInside(e){this.setProperty("break-inside",e)}get bufferedRendering(){return this.getPropertyValue("buffered-rendering")}set bufferedRendering(e){this.setProperty("buffered-rendering",e)}get captionSide(){return this.getPropertyValue("caption-side")}set captionSide(e){this.setProperty("caption-side",e)}get caretColor(){return this.getPropertyValue("caret-color")}set caretColor(e){this.setProperty("caret-color",e)}get clear(){return this.getPropertyValue("clear")}set clear(e){this.setProperty("clear",e)}get clip(){return this.getPropertyValue("clip")}set clip(e){this.setProperty("clip",e)}get clipPath(){return this.getPropertyValue("clip-path")}set clipPath(e){this.setProperty("clip-path",e)}get clipRule(){return this.getPropertyValue("clip-rule")}set clipRule(e){this.setProperty("clip-rule",e)}get color(){return this.getPropertyValue("color")}set color(e){this.setProperty("color",e)}get colorInterpolation(){return this.getPropertyValue("color-interpolation")}set colorInterpolation(e){this.setProperty("color-interpolation",e)}get colorInterpolationFilters(){return this.getPropertyValue("color-interpolation-filters")}set colorInterpolationFilters(e){this.setProperty("color-interpolation-filters",e)}get colorRendering(){return this.getPropertyValue("color-rendering")}set colorRendering(e){this.setProperty("color-rendering",e)}get colorScheme(){return this.getPropertyValue("color-scheme")}set colorScheme(e){this.setProperty("color-scheme",e)}get columnCount(){return this.getPropertyValue("column-count")}set columnCount(e){this.setProperty("column-count",e)}get columnFill(){return this.getPropertyValue("column-fill")}set columnFill(e){this.setProperty("column-fill",e)}get columnGap(){return this.getPropertyValue("column-gap")}set columnGap(e){this.setProperty("column-gap",e)}get columnRule(){return this.getPropertyValue("column-rule")}set columnRule(e){this.setProperty("column-rule",e)}get columnRuleColor(){return this.getPropertyValue("column-rule-color")}set columnRuleColor(e){this.setProperty("column-rule-color",e)}get columnRuleStyle(){return this.getPropertyValue("column-rule-style")}set columnRuleStyle(e){this.setProperty("column-rule-style",e)}get columnRuleWidth(){return this.getPropertyValue("column-rule-width")}set columnRuleWidth(e){this.setProperty("column-rule-width",e)}get columnSpan(){return this.getPropertyValue("column-span")}set columnSpan(e){this.setProperty("column-span",e)}get columnWidth(){return this.getPropertyValue("column-width")}set columnWidth(e){this.setProperty("column-width",e)}get columns(){return this.getPropertyValue("columns")}set columns(e){this.setProperty("columns",e)}get contain(){return this.getPropertyValue("contain")}set contain(e){this.setProperty("contain",e)}get containIntrinsicSize(){return this.getPropertyValue("contain-intrinsic-size")}set containIntrinsicSize(e){this.setProperty("contain-intrinsic-size",e)}get content(){return this.getPropertyValue("content")}set content(e){this.setProperty("content",e)}get contentVisibility(){return this.getPropertyValue("content-visibility")}set contentVisibility(e){this.setProperty("content-visibility",e)}get counterIncrement(){return this.getPropertyValue("counter-increment")}set counterIncrement(e){this.setProperty("counter-increment",e)}get counterReset(){return this.getPropertyValue("counter-reset")}set counterReset(e){this.setProperty("counter-reset",e)}get counterSet(){return this.getPropertyValue("counter-set")}set counterSet(e){this.setProperty("counter-set",e)}get containIntrinsicBlockSize(){return this.getPropertyValue("contain-intrinsic-block-size")}set containIntrinsicBlockSize(e){this.setProperty("contain-intrinsic-block-size",e)}get containIntrinsicHeight(){return this.getPropertyValue("contain-intrinsic-height")}set containIntrinsicHeight(e){this.setProperty("contain-intrinsic-height",e)}get containIntrinsicInlineSize(){return this.getPropertyValue("contain-intrinsic-inline-size")}set containIntrinsicInlineSize(e){this.setProperty("contain-intrinsic-inline-size",e)}get containIntrinsicWidth(){return this.getPropertyValue("contain-intrinsic-width")}set containIntrinsicWidth(e){this.setProperty("contain-intrinsic-width",e)}get cssFloat(){return this.getPropertyValue("css-float")}set cssFloat(e){this.setProperty("css-float",e)}get cursor(){return this.getPropertyValue("cursor")}set cursor(e){this.setProperty("cursor",e)}get cx(){return this.getPropertyValue("cx")}set cx(e){this.setProperty("cx",e)}get cy(){return this.getPropertyValue("cy")}set cy(e){this.setProperty("cy",e)}get d(){return this.getPropertyValue("d")}set d(e){this.setProperty("d",e)}get direction(){return this.getPropertyValue("direction")}set direction(e){this.setProperty("direction",e)}get display(){return this.getPropertyValue("display")}set display(e){this.setProperty("display",e)}get dominantBaseline(){return this.getPropertyValue("dominant-baseline")}set dominantBaseline(e){this.setProperty("dominant-baseline",e)}get emptyCells(){return this.getPropertyValue("empty-cells")}set emptyCells(e){this.setProperty("empty-cells",e)}get fill(){return this.getPropertyValue("fill")}set fill(e){this.setProperty("fill",e)}get fillOpacity(){return this.getPropertyValue("fill-opacity")}set fillOpacity(e){this.setProperty("fill-opacity",e)}get fillRule(){return this.getPropertyValue("fill-rule")}set fillRule(e){this.setProperty("fill-rule",e)}get filter(){return this.getPropertyValue("filter")}set filter(e){this.setProperty("filter",e)}get flex(){return this.getPropertyValue("flex")}set flex(e){this.setProperty("flex",e)}get flexBasis(){return this.getPropertyValue("flex-basis")}set flexBasis(e){this.setProperty("flex-basis",e)}get flexDirection(){return this.getPropertyValue("flex-direction")}set flexDirection(e){this.setProperty("flex-direction",e)}get flexFlow(){return this.getPropertyValue("flex-flow")}set flexFlow(e){this.setProperty("flex-flow",e)}get flexGrow(){return this.getPropertyValue("flex-grow")}set flexGrow(e){this.setProperty("flex-grow",e)}get flexShrink(){return this.getPropertyValue("flex-shrink")}set flexShrink(e){this.setProperty("flex-shrink",e)}get flexWrap(){return this.getPropertyValue("flex-wrap")}set flexWrap(e){this.setProperty("flex-wrap",e)}get float(){return this.getPropertyValue("float")}set float(e){this.setProperty("float",e)}get floodColor(){return this.getPropertyValue("flood-color")}set floodColor(e){this.setProperty("flood-color",e)}get floodOpacity(){return this.getPropertyValue("flood-opacity")}set floodOpacity(e){this.setProperty("flood-opacity",e)}get font(){return this.getPropertyValue("font")}set font(e){this.setProperty("font",e)}get fontDisplay(){return this.getPropertyValue("font-display")}set fontDisplay(e){this.setProperty("font-display",e)}get fontFamily(){return this.getPropertyValue("font-family")}set fontFamily(e){this.setProperty("font-family",e)}get fontFeatureSettings(){return this.getPropertyValue("font-feature-settings")}set fontFeatureSettings(e){this.setProperty("font-feature-settings",e)}get fontKerning(){return this.getPropertyValue("font-kerning")}set fontKerning(e){this.setProperty("font-kerning",e)}get fontOpticalSizing(){return this.getPropertyValue("font-optical-sizing")}set fontOpticalSizing(e){this.setProperty("font-optical-sizing",e)}get fontSize(){return this.getPropertyValue("font-size")}set fontSize(e){this.setProperty("font-size",e)}get fontStretch(){return this.getPropertyValue("font-stretch")}set fontStretch(e){this.setProperty("font-stretch",e)}get fontStyle(){return this.getPropertyValue("font-style")}set fontStyle(e){this.setProperty("font-style",e)}get fontVariant(){return this.getPropertyValue("font-variant")}set fontVariant(e){this.setProperty("font-variant",e)}get fontVariantCaps(){return this.getPropertyValue("font-variant-caps")}set fontVariantCaps(e){this.setProperty("font-variant-caps",e)}get fontVariantEastAsian(){return this.getPropertyValue("font-variant-east-asian")}set fontVariantEastAsian(e){this.setProperty("font-variant-east-asian",e)}get fontVariantLigatures(){return this.getPropertyValue("font-variant-ligatures")}set fontVariantLigatures(e){this.setProperty("font-variant-ligatures",e)}get fontVariantNumeric(){return this.getPropertyValue("font-variant-numeric")}set fontVariantNumeric(e){this.setProperty("font-variant-numeric",e)}get fontVariationSettings(){return this.getPropertyValue("font-variation-settings")}set fontVariationSettings(e){this.setProperty("font-variation-settings",e)}get fontPalette(){return this.getPropertyValue("font-palette")}set fontPalette(e){this.setProperty("font-palette",e)}get fontSynthesisSmallCaps(){return this.getPropertyValue("font-synthesis-small-caps")}set fontSynthesisSmallCaps(e){this.setProperty("font-synthesis-small-caps",e)}get fontSynthesisStyle(){return this.getPropertyValue("font-synthesis-style")}set fontSynthesisStyle(e){this.setProperty("font-synthesis-style",e)}get fontSynthesisWeight(){return this.getPropertyValue("font-synthesis-weight")}set fontSynthesisWeight(e){this.setProperty("font-synthesis-weight",e)}get fontWeight(){return this.getPropertyValue("font-weight")}set fontWeight(e){this.setProperty("font-weight",e)}get gap(){return this.getPropertyValue("gap")}set gap(e){this.setProperty("gap",e)}get grid(){return this.getPropertyValue("grid")}set grid(e){this.setProperty("grid",e)}get gridArea(){return this.getPropertyValue("grid-area")}set gridArea(e){this.setProperty("grid-area",e)}get gridAutoColumns(){return this.getPropertyValue("grid-auto-columns")}set gridAutoColumns(e){this.setProperty("grid-auto-columns",e)}get gridAutoFlow(){return this.getPropertyValue("grid-auto-flow")}set gridAutoFlow(e){this.setProperty("grid-auto-flow",e)}get gridAutoRows(){return this.getPropertyValue("grid-auto-rows")}set gridAutoRows(e){this.setProperty("grid-auto-rows",e)}get gridColumn(){return this.getPropertyValue("grid-column")}set gridColumn(e){this.setProperty("grid-column",e)}get gridColumnEnd(){return this.getPropertyValue("grid-column-end")}set gridColumnEnd(e){this.setProperty("grid-column-end",e)}get gridColumnGap(){return this.getPropertyValue("grid-column-gap")}set gridColumnGap(e){this.setProperty("grid-column-gap",e)}get gridColumnStart(){return this.getPropertyValue("grid-column-start")}set gridColumnStart(e){this.setProperty("grid-column-start",e)}get gridGap(){return this.getPropertyValue("grid-gap")}set gridGap(e){this.setProperty("grid-gap",e)}get gridRow(){return this.getPropertyValue("grid-row")}set gridRow(e){this.setProperty("grid-row",e)}get gridRowEnd(){return this.getPropertyValue("grid-row-end")}set gridRowEnd(e){this.setProperty("grid-row-end",e)}get gridRowGap(){return this.getPropertyValue("grid-row-gap")}set gridRowGap(e){this.setProperty("grid-row-gap",e)}get gridRowStart(){return this.getPropertyValue("grid-row-start")}set gridRowStart(e){this.setProperty("grid-row-start",e)}get gridTemplate(){return this.getPropertyValue("grid-template")}set gridTemplate(e){this.setProperty("grid-template",e)}get gridTemplateAreas(){return this.getPropertyValue("grid-template-areas")}set gridTemplateAreas(e){this.setProperty("grid-template-areas",e)}get gridTemplateColumns(){return this.getPropertyValue("grid-template-columns")}set gridTemplateColumns(e){this.setProperty("grid-template-columns",e)}get gridTemplateRows(){return this.getPropertyValue("grid-template-rows")}set gridTemplateRows(e){this.setProperty("grid-template-rows",e)}get height(){return this.getPropertyValue("height")}set height(e){this.setProperty("height",e)}get hyphens(){return this.getPropertyValue("hyphens")}set hyphens(e){this.setProperty("hyphens",e)}get imageOrientation(){return this.getPropertyValue("image-orientation")}set imageOrientation(e){this.setProperty("image-orientation",e)}get imageRendering(){return this.getPropertyValue("image-rendering")}set imageRendering(e){this.setProperty("image-rendering",e)}get inherits(){return this.getPropertyValue("inherits")}set inherits(e){this.setProperty("inherits",e)}get initialValue(){return this.getPropertyValue("initial-value")}set initialValue(e){this.setProperty("initial-value",e)}get inlineSize(){return this.getPropertyValue("inline-size")}set inlineSize(e){this.setProperty("inline-size",e)}get isolation(){return this.getPropertyValue("isolation")}set isolation(e){this.setProperty("isolation",e)}get insetBlockEnd(){return this.getPropertyValue("inset-block-end")}set insetBlockEnd(e){this.setProperty("inset-block-end",e)}get insetBlockStart(){return this.getPropertyValue("inset-block-start")}set insetBlockStart(e){this.setProperty("inset-block-start",e)}get insetInlineEnd(){return this.getPropertyValue("inset-inline-end")}set insetInlineEnd(e){this.setProperty("inset-inline-end",e)}get insetInlineStart(){return this.getPropertyValue("inset-inline-start")}set insetInlineStart(e){this.setProperty("inset-inline-start",e)}get justifyContent(){return this.getPropertyValue("justify-content")}set justifyContent(e){this.setProperty("justify-content",e)}get justifyItems(){return this.getPropertyValue("justify-items")}set justifyItems(e){this.setProperty("justify-items",e)}get justifySelf(){return this.getPropertyValue("justify-self")}set justifySelf(e){this.setProperty("justify-self",e)}get left(){return this.getPropertyValue("left")}set left(e){this.setProperty("left",e)}get letterSpacing(){return this.getPropertyValue("letter-spacing")}set letterSpacing(e){this.setProperty("letter-spacing",e)}get lightingColor(){return this.getPropertyValue("lighting-color")}set lightingColor(e){this.setProperty("lighting-color",e)}get lineBreak(){return this.getPropertyValue("line-break")}set lineBreak(e){this.setProperty("line-break",e)}get lineHeight(){return this.getPropertyValue("line-height")}set lineHeight(e){this.setProperty("line-height",e)}get listStyle(){return this.getPropertyValue("list-style")}set listStyle(e){this.setProperty("list-style",e)}get listStyleImage(){return this.getPropertyValue("list-style-image")}set listStyleImage(e){this.setProperty("list-style-image",e)}get listStylePosition(){return this.getPropertyValue("list-style-position")}set listStylePosition(e){this.setProperty("list-style-position",e)}get listStyleType(){return this.getPropertyValue("list-style-type")}set listStyleType(e){this.setProperty("list-style-type",e)}get margin(){return this.getPropertyValue("margin")}set margin(e){this.setProperty("margin",e)}get marginBlockEnd(){return this.getPropertyValue("margin-block-end")}set marginBlockEnd(e){this.setProperty("margin-block-end",e)}get marginBlockStart(){return this.getPropertyValue("margin-block-start")}set marginBlockStart(e){this.setProperty("margin-block-start",e)}get marginBottom(){return this.getPropertyValue("margin-bottom")}set marginBottom(e){this.setProperty("margin-bottom",e)}get marginInlineEnd(){return this.getPropertyValue("margin-inline-end")}set marginInlineEnd(e){this.setProperty("margin-inline-end",e)}get marginInlineStart(){return this.getPropertyValue("margin-inline-start")}set marginInlineStart(e){this.setProperty("margin-inline-start",e)}get marginLeft(){return this.getPropertyValue("margin-left")}set marginLeft(e){this.setProperty("margin-left",e)}get marginRight(){return this.getPropertyValue("margin-right")}set marginRight(e){this.setProperty("margin-right",e)}get marginTop(){return this.getPropertyValue("margin-top")}set marginTop(e){this.setProperty("margin-top",e)}get marker(){return this.getPropertyValue("marker")}set marker(e){this.setProperty("marker",e)}get markerEnd(){return this.getPropertyValue("marker-end")}set markerEnd(e){this.setProperty("marker-end",e)}get markerMid(){return this.getPropertyValue("marker-mid")}set markerMid(e){this.setProperty("marker-mid",e)}get markerStart(){return this.getPropertyValue("marker-start")}set markerStart(e){this.setProperty("marker-start",e)}get mask(){return this.getPropertyValue("mask")}set mask(e){this.setProperty("mask",e)}get maskType(){return this.getPropertyValue("mask-type")}set maskType(e){this.setProperty("mask-type",e)}get maxBlockSize(){return this.getPropertyValue("max-block-size")}set maxBlockSize(e){this.setProperty("max-block-size",e)}get maxHeight(){return this.getPropertyValue("max-height")}set maxHeight(e){this.setProperty("max-height",e)}get maxInlineSize(){return this.getPropertyValue("max-inline-size")}set maxInlineSize(e){this.setProperty("max-inline-size",e)}get maxWidth(){return this.getPropertyValue("max-width")}set maxWidth(e){this.setProperty("max-width",e)}get maxZoom(){return this.getPropertyValue("max-zoom")}set maxZoom(e){this.setProperty("max-zoom",e)}get minBlockSize(){return this.getPropertyValue("min-block-size")}set minBlockSize(e){this.setProperty("min-block-size",e)}get minHeight(){return this.getPropertyValue("min-height")}set minHeight(e){this.setProperty("min-height",e)}get minInlineSize(){return this.getPropertyValue("min-inline-size")}set minInlineSize(e){this.setProperty("min-inline-size",e)}get minWidth(){return this.getPropertyValue("min-width")}set minWidth(e){this.setProperty("min-width",e)}get minZoom(){return this.getPropertyValue("min-zoom")}set minZoom(e){this.setProperty("min-zoom",e)}get mixBlendMode(){return this.getPropertyValue("mix-blend-mode")}set mixBlendMode(e){this.setProperty("mix-blend-mode",e)}get objectFit(){return this.getPropertyValue("object-fit")}set objectFit(e){this.setProperty("object-fit",e)}get objectPosition(){return this.getPropertyValue("object-position")}set objectPosition(e){this.setProperty("object-position",e)}get offset(){return this.getPropertyValue("offset")}set offset(e){this.setProperty("offset",e)}get offsetDistance(){return this.getPropertyValue("offset-distance")}set offsetDistance(e){this.setProperty("offset-distance",e)}get offsetPath(){return this.getPropertyValue("offset-path")}set offsetPath(e){this.setProperty("offset-path",e)}get offsetRotate(){return this.getPropertyValue("offset-rotate")}set offsetRotate(e){this.setProperty("offset-rotate",e)}get opacity(){return this.getPropertyValue("opacity")}set opacity(e){this.setProperty("opacity",e)}get order(){return this.getPropertyValue("order")}set order(e){this.setProperty("order",e)}get orientation(){return this.getPropertyValue("orientation")}set orientation(e){this.setProperty("orientation",e)}get orphans(){return this.getPropertyValue("orphans")}set orphans(e){this.setProperty("orphans",e)}get outline(){return this.getPropertyValue("outline")}set outline(e){this.setProperty("outline",e)}get outlineColor(){return this.getPropertyValue("outline-color")}set outlineColor(e){this.setProperty("outline-color",e)}get outlineOffset(){return this.getPropertyValue("outline-offset")}set outlineOffset(e){this.setProperty("outline-offset",e)}get outlineStyle(){return this.getPropertyValue("outline-style")}set outlineStyle(e){this.setProperty("outline-style",e)}get outlineWidth(){return this.getPropertyValue("outline-width")}set outlineWidth(e){this.setProperty("outline-width",e)}get overflow(){return this.getPropertyValue("overflow")}set overflow(e){this.setProperty("overflow",e)}get overflowAnchor(){return this.getPropertyValue("overflow-anchor")}set overflowAnchor(e){this.setProperty("overflow-anchor",e)}get overflowWrap(){return this.getPropertyValue("overflow-wrap")}set overflowWrap(e){this.setProperty("overflow-wrap",e)}get overflowX(){return this.getPropertyValue("overflow-x")}set overflowX(e){this.setProperty("overflow-x",e)}get overflowY(){return this.getPropertyValue("overflow-y")}set overflowY(e){this.setProperty("overflow-y",e)}get overscrollBehavior(){return this.getPropertyValue("overscroll-behavior")}set overscrollBehavior(e){this.setProperty("overscroll-behavior",e)}get overscrollBehaviorBlock(){return this.getPropertyValue("overscroll-behavior-block")}set overscrollBehaviorBlock(e){this.setProperty("overscroll-behavior-block",e)}get overscrollBehaviorInline(){return this.getPropertyValue("overscroll-behavior-inline")}set overscrollBehaviorInline(e){this.setProperty("overscroll-behavior-inline",e)}get overscrollBehaviorX(){return this.getPropertyValue("overscroll-behavior-x")}set overscrollBehaviorX(e){this.setProperty("overscroll-behavior-x",e)}get overscrollBehaviorY(){return this.getPropertyValue("overscroll-behavior-y")}set overscrollBehaviorY(e){this.setProperty("overscroll-behavior-y",e)}get overflowClipMargin(){return this.getPropertyValue("overflow-clip-margin")}set overflowClipMargin(e){this.setProperty("overflow-clip-margin",e)}get padding(){return this.getPropertyValue("padding")}set padding(e){this.setProperty("padding",e)}get paddingBlockEnd(){return this.getPropertyValue("padding-block-end")}set paddingBlockEnd(e){this.setProperty("padding-block-end",e)}get paddingBlockStart(){return this.getPropertyValue("padding-block-start")}set paddingBlockStart(e){this.setProperty("padding-block-start",e)}get paddingBottom(){return this.getPropertyValue("padding-bottom")}set paddingBottom(e){this.setProperty("padding-bottom",e)}get paddingInlineEnd(){return this.getPropertyValue("padding-inline-end")}set paddingInlineEnd(e){this.setProperty("padding-inline-end",e)}get paddingInlineStart(){return this.getPropertyValue("padding-inline-start")}set paddingInlineStart(e){this.setProperty("padding-inline-start",e)}get paddingLeft(){return this.getPropertyValue("padding-left")}set paddingLeft(e){this.setProperty("padding-left",e)}get paddingRight(){return this.getPropertyValue("padding-right")}set paddingRight(e){this.setProperty("padding-right",e)}get paddingTop(){return this.getPropertyValue("padding-top")}set paddingTop(e){this.setProperty("padding-top",e)}get page(){return this.getPropertyValue("page")}set page(e){this.setProperty("page",e)}get pageBreakAfter(){return this.getPropertyValue("page-break-after")}set pageBreakAfter(e){this.setProperty("page-break-after",e)}get pageBreakBefore(){return this.getPropertyValue("page-break-before")}set pageBreakBefore(e){this.setProperty("page-break-before",e)}get pageBreakInside(){return this.getPropertyValue("page-break-inside")}set pageBreakInside(e){this.setProperty("page-break-inside",e)}get pageOrientation(){return this.getPropertyValue("page-orientation")}set pageOrientation(e){this.setProperty("page-orientation",e)}get paintOrder(){return this.getPropertyValue("paint-order")}set paintOrder(e){this.setProperty("paint-order",e)}get perspective(){return this.getPropertyValue("perspective")}set perspective(e){this.setProperty("perspective",e)}get perspectiveOrigin(){return this.getPropertyValue("perspective-origin")}set perspectiveOrigin(e){this.setProperty("perspective-origin",e)}get placeContent(){return this.getPropertyValue("place-content")}set placeContent(e){this.setProperty("place-content",e)}get placeItems(){return this.getPropertyValue("place-items")}set placeItems(e){this.setProperty("place-items",e)}get placeSelf(){return this.getPropertyValue("place-self")}set placeSelf(e){this.setProperty("place-self",e)}get pointerEvents(){return this.getPropertyValue("pointer-events")}set pointerEvents(e){this.setProperty("pointer-events",e)}get position(){return this.getPropertyValue("position")}set position(e){this.setProperty("position",e)}get quotes(){return this.getPropertyValue("quotes")}set quotes(e){this.setProperty("quotes",e)}get r(){return this.getPropertyValue("r")}set r(e){this.setProperty("r",e)}get resize(){return this.getPropertyValue("resize")}set resize(e){this.setProperty("resize",e)}get right(){return this.getPropertyValue("right")}set right(e){this.setProperty("right",e)}get rowGap(){return this.getPropertyValue("row-gap")}set rowGap(e){this.setProperty("row-gap",e)}get rubyPosition(){return this.getPropertyValue("ruby-position")}set rubyPosition(e){this.setProperty("ruby-position",e)}get rx(){return this.getPropertyValue("rx")}set rx(e){this.setProperty("rx",e)}get ry(){return this.getPropertyValue("ry")}set ry(e){this.setProperty("ry",e)}get scrollBehavior(){return this.getPropertyValue("scroll-behavior")}set scrollBehavior(e){this.setProperty("scroll-behavior",e)}get scrollMargin(){return this.getPropertyValue("scroll-margin")}set scrollMargin(e){this.setProperty("scroll-margin",e)}get scrollMarginBlock(){return this.getPropertyValue("scroll-margin-block")}set scrollMarginBlock(e){this.setProperty("scroll-margin-block",e)}get scrollMarginBlockEnd(){return this.getPropertyValue("scroll-margin-block-end")}set scrollMarginBlockEnd(e){this.setProperty("scroll-margin-block-end",e)}get scrollMarginBlockStart(){return this.getPropertyValue("scroll-margin-block-start")}set scrollMarginBlockStart(e){this.setProperty("scroll-margin-block-start",e)}get scrollMarginBottom(){return this.getPropertyValue("scroll-margin-bottom")}set scrollMarginBottom(e){this.setProperty("scroll-margin-bottom",e)}get scrollMarginInline(){return this.getPropertyValue("scroll-margin-inline")}set scrollMarginInline(e){this.setProperty("scroll-margin-inline",e)}get scrollMarginInlineEnd(){return this.getPropertyValue("scroll-margin-inline-end")}set scrollMarginInlineEnd(e){this.setProperty("scroll-margin-inline-end",e)}get scrollMarginInlineStart(){return this.getPropertyValue("scroll-margin-inline-start")}set scrollMarginInlineStart(e){this.setProperty("scroll-margin-inline-start",e)}get scrollMarginLeft(){return this.getPropertyValue("scroll-margin-left")}set scrollMarginLeft(e){this.setProperty("scroll-margin-left",e)}get scrollMarginRight(){return this.getPropertyValue("scroll-margin-right")}set scrollMarginRight(e){this.setProperty("scroll-margin-right",e)}get scrollMarginTop(){return this.getPropertyValue("scroll-margin-top")}set scrollMarginTop(e){this.setProperty("scroll-margin-top",e)}get scrollPadding(){return this.getPropertyValue("scroll-padding")}set scrollPadding(e){this.setProperty("scroll-padding",e)}get scrollPaddingBlock(){return this.getPropertyValue("scroll-padding-block")}set scrollPaddingBlock(e){this.setProperty("scroll-padding-block",e)}get scrollPaddingBlockEnd(){return this.getPropertyValue("scroll-padding-block-end")}set scrollPaddingBlockEnd(e){this.setProperty("scroll-padding-block-end",e)}get scrollPaddingBlockStart(){return this.getPropertyValue("scroll-padding-block-start")}set scrollPaddingBlockStart(e){this.setProperty("scroll-padding-block-start",e)}get scrollPaddingBottom(){return this.getPropertyValue("scroll-padding-bottom")}set scrollPaddingBottom(e){this.setProperty("scroll-padding-bottom",e)}get scrollPaddingInline(){return this.getPropertyValue("scroll-padding-inline")}set scrollPaddingInline(e){this.setProperty("scroll-padding-inline",e)}get scrollPaddingInlineEnd(){return this.getPropertyValue("scroll-padding-inline-end")}set scrollPaddingInlineEnd(e){this.setProperty("scroll-padding-inline-end",e)}get scrollPaddingInlineStart(){return this.getPropertyValue("scroll-padding-inline-start")}set scrollPaddingInlineStart(e){this.setProperty("scroll-padding-inline-start",e)}get scrollPaddingLeft(){return this.getPropertyValue("scroll-padding-left")}set scrollPaddingLeft(e){this.setProperty("scroll-padding-left",e)}get scrollPaddingRight(){return this.getPropertyValue("scroll-padding-right")}set scrollPaddingRight(e){this.setProperty("scroll-padding-right",e)}get scrollPaddingTop(){return this.getPropertyValue("scroll-padding-top")}set scrollPaddingTop(e){this.setProperty("scroll-padding-top",e)}get scrollSnapAlign(){return this.getPropertyValue("scroll-snap-align")}set scrollSnapAlign(e){this.setProperty("scroll-snap-align",e)}get scrollSnapStop(){return this.getPropertyValue("scroll-snap-stop")}set scrollSnapStop(e){this.setProperty("scroll-snap-stop",e)}get scrollSnapType(){return this.getPropertyValue("scroll-snap-type")}set scrollSnapType(e){this.setProperty("scroll-snap-type",e)}get shapeImageThreshold(){return this.getPropertyValue("shape-image-threshold")}set shapeImageThreshold(e){this.setProperty("shape-image-threshold",e)}get shapeMargin(){return this.getPropertyValue("shape-margin")}set shapeMargin(e){this.setProperty("shape-margin",e)}get shapeOutside(){return this.getPropertyValue("shape-outside")}set shapeOutside(e){this.setProperty("shape-outside",e)}get shapeRendering(){return this.getPropertyValue("shape-rendering")}set shapeRendering(e){this.setProperty("shape-rendering",e)}get size(){return this.getPropertyValue("size")}set size(e){this.setProperty("size",e)}get speak(){return this.getPropertyValue("speak")}set speak(e){this.setProperty("speak",e)}get src(){return this.getPropertyValue("src")}set src(e){this.setProperty("src",e)}get stopColor(){return this.getPropertyValue("stop-color")}set stopColor(e){this.setProperty("stop-color",e)}get stopOpacity(){return this.getPropertyValue("stop-opacity")}set stopOpacity(e){this.setProperty("stop-opacity",e)}get stroke(){return this.getPropertyValue("stroke")}set stroke(e){this.setProperty("stroke",e)}get strokeDasharray(){return this.getPropertyValue("stroke-dasharray")}set strokeDasharray(e){this.setProperty("stroke-dasharray",e)}get strokeDashoffset(){return this.getPropertyValue("stroke-dashoffset")}set strokeDashoffset(e){this.setProperty("stroke-dashoffset",e)}get strokeLinecap(){return this.getPropertyValue("stroke-linecap")}set strokeLinecap(e){this.setProperty("stroke-linecap",e)}get strokeLinejoin(){return this.getPropertyValue("stroke-linejoin")}set strokeLinejoin(e){this.setProperty("stroke-linejoin",e)}get strokeMiterlimit(){return this.getPropertyValue("stroke-miterlimit")}set strokeMiterlimit(e){this.setProperty("stroke-miterlimit",e)}get strokeOpacity(){return this.getPropertyValue("stroke-opacity")}set strokeOpacity(e){this.setProperty("stroke-opacity",e)}get strokeWidth(){return this.getPropertyValue("stroke-width")}set strokeWidth(e){this.setProperty("stroke-width",e)}get syntax(){return this.getPropertyValue("syntax")}set syntax(e){this.setProperty("syntax",e)}get scrollbarGutter(){return this.getPropertyValue("scrollbar-gutter")}set scrollbarGutter(e){this.setProperty("scrollbar-gutter",e)}get tabSize(){return this.getPropertyValue("tab-size")}set tabSize(e){this.setProperty("tab-size",e)}get tableLayout(){return this.getPropertyValue("table-layout")}set tableLayout(e){this.setProperty("table-layout",e)}get textAlign(){return this.getPropertyValue("text-align")}set textAlign(e){this.setProperty("text-align",e)}get textAlignLast(){return this.getPropertyValue("text-align-last")}set textAlignLast(e){this.setProperty("text-align-last",e)}get textAnchor(){return this.getPropertyValue("text-anchor")}set textAnchor(e){this.setProperty("text-anchor",e)}get textCombineUpright(){return this.getPropertyValue("text-combine-upright")}set textCombineUpright(e){this.setProperty("text-combine-upright",e)}get textDecoration(){return this.getPropertyValue("text-decoration")}set textDecoration(e){this.setProperty("text-decoration",e)}get textDecorationColor(){return this.getPropertyValue("text-decoration-color")}set textDecorationColor(e){this.setProperty("text-decoration-color",e)}get textDecorationLine(){return this.getPropertyValue("text-decoration-line")}set textDecorationLine(e){this.setProperty("text-decoration-line",e)}get textDecorationSkipInk(){return this.getPropertyValue("text-decoration-skip-ink")}set textDecorationSkipInk(e){this.setProperty("text-decoration-skip-ink",e)}get textDecorationStyle(){return this.getPropertyValue("text-decoration-style")}set textDecorationStyle(e){this.setProperty("text-decoration-style",e)}get textIndent(){return this.getPropertyValue("text-indent")}set textIndent(e){this.setProperty("text-indent",e)}get textOrientation(){return this.getPropertyValue("text-orientation")}set textOrientation(e){this.setProperty("text-orientation",e)}get textOverflow(){return this.getPropertyValue("text-overflow")}set textOverflow(e){this.setProperty("text-overflow",e)}get textRendering(){return this.getPropertyValue("text-rendering")}set textRendering(e){this.setProperty("text-rendering",e)}get textShadow(){return this.getPropertyValue("text-shadow")}set textShadow(e){this.setProperty("text-shadow",e)}get textSizeAdjust(){return this.getPropertyValue("text-size-adjust")}set textSizeAdjust(e){this.setProperty("text-size-adjust",e)}get textTransform(){return this.getPropertyValue("text-transform")}set textTransform(e){this.setProperty("text-transform",e)}get textUnderlinePosition(){return this.getPropertyValue("text-underline-position")}set textUnderlinePosition(e){this.setProperty("text-underline-position",e)}get top(){return this.getPropertyValue("top")}set top(e){this.setProperty("top",e)}get touchAction(){return this.getPropertyValue("touch-action")}set touchAction(e){this.setProperty("touch-action",e)}get transform(){return this.getPropertyValue("transform")}set transform(e){this.setProperty("transform",e)}get transformBox(){return this.getPropertyValue("transform-box")}set transformBox(e){this.setProperty("transform-box",e)}get transformOrigin(){return this.getPropertyValue("transform-origin")}set transformOrigin(e){this.setProperty("transform-origin",e)}get transformStyle(){return this.getPropertyValue("transform-style")}set transformStyle(e){this.setProperty("transform-style",e)}get transition(){return this.getPropertyValue("transition")}set transition(e){this.setProperty("transition",e)}get transitionDelay(){return this.getPropertyValue("transition-delay")}set transitionDelay(e){this.setProperty("transition-delay",e)}get transitionDuration(){return this.getPropertyValue("transition-duration")}set transitionDuration(e){this.setProperty("transition-duration",e)}get transitionProperty(){return this.getPropertyValue("transition-property")}set transitionProperty(e){this.setProperty("transition-property",e)}get transitionTimingFunction(){return this.getPropertyValue("transition-timing-function")}set transitionTimingFunction(e){this.setProperty("transition-timing-function",e)}get textEmphasisColor(){return this.getPropertyValue("text-emphasis-color")}set textEmphasisColor(e){this.setProperty("text-emphasis-color",e)}get textEmphasisPosition(){return this.getPropertyValue("text-emphasis-position")}set textEmphasisPosition(e){this.setProperty("text-emphasis-position",e)}get textEmphasisStyle(){return this.getPropertyValue("text-emphasis-style")}set textEmphasisStyle(e){this.setProperty("text-emphasis-style",e)}get unicodeBidi(){return this.getPropertyValue("unicode-bidi")}set unicodeBidi(e){this.setProperty("unicode-bidi",e)}get unicodeRange(){return this.getPropertyValue("unicode-range")}set unicodeRange(e){this.setProperty("unicode-range",e)}get userSelect(){return this.getPropertyValue("user-select")}set userSelect(e){this.setProperty("user-select",e)}get userZoom(){return this.getPropertyValue("user-zoom")}set userZoom(e){this.setProperty("user-zoom",e)}get vectorEffect(){return this.getPropertyValue("vector-effect")}set vectorEffect(e){this.setProperty("vector-effect",e)}get verticalAlign(){return this.getPropertyValue("vertical-align")}set verticalAlign(e){this.setProperty("vertical-align",e)}get visibility(){return this.getPropertyValue("visibility")}set visibility(e){this.setProperty("visibility",e)}get whiteSpace(){return this.getPropertyValue("white-space")}set whiteSpace(e){this.setProperty("white-space",e)}get widows(){return this.getPropertyValue("widows")}set widows(e){this.setProperty("widows",e)}get width(){return this.getPropertyValue("width")}set width(e){this.setProperty("width",e)}get willChange(){return this.getPropertyValue("will-change")}set willChange(e){this.setProperty("will-change",e)}get wordBreak(){return this.getPropertyValue("word-break")}set wordBreak(e){this.setProperty("word-break",e)}get wordSpacing(){return this.getPropertyValue("word-spacing")}set wordSpacing(e){this.setProperty("word-spacing",e)}get wordWrap(){return this.getPropertyValue("word-wrap")}set wordWrap(e){this.setProperty("word-wrap",e)}get writingMode(){return this.getPropertyValue("writing-mode")}set writingMode(e){this.setProperty("writing-mode",e)}get x(){return this.getPropertyValue("x")}set x(e){this.setProperty("x",e)}get y(){return this.getPropertyValue("y")}set y(e){this.setProperty("y",e)}get zIndex(){return this.getPropertyValue("z-index")}set zIndex(e){this.setProperty("z-index",e)}get zoom(){return this.getPropertyValue("zoom")}set zoom(e){this.setProperty("zoom",e)}get containerType(){return this.getPropertyValue("container-type")}set containerType(e){this.setProperty("container-type",e)}get containerName(){return this.getPropertyValue("container-name")}set containerName(e){this.setProperty("container-name",e)}get aspectRatio(){return this.getPropertyValue("aspect-ratio")}set aspectRatio(e){this.setProperty("aspect-ratio",e)}get length(){return D(this,Vn,za).call(this).size()}get cssText(){return y(this,gi)&&y(this,Ml)?"":D(this,Vn,za).call(this).toString()}set cssText(e){if(y(this,Ml))throw new this[u].DOMException("Failed to execute 'cssText' on 'CSSStyleDeclaration': These styles are computed, and the properties are therefore read-only.",A.domException);y(this,gi)?(y(this,Si).propertyManager=new Ns({cssText:e}),y(this,Si).attributeValue=e,y(this,gi).setAttribute("style",y(this,Si).propertyManager.toString())):y(this,Si).propertyManager=new Ns({cssText:e})}item(e){return D(this,Vn,za).call(this).item(e)}setProperty(e,t,r){if(y(this,Ml))throw new this[u].DOMException(`Failed to execute 'setProperty' on 'CSSStyleDeclaration': These styles are computed, and therefore the '${e}' property is read-only.`,A.domException);if(r!==""&&r!==void 0&&r!=="important")return;let o=String(t).trim(),i=D(this,Vn,za).call(this);o?i.set(e,o,!!r):i.remove(e),y(this,gi)&&(y(this,Si).attributeValue=i.toString(),y(this,Si).attributeValue?y(this,gi).setAttribute("style",y(this,Si).attributeValue):y(this,gi).removeAttribute("style"))}removeProperty(e){if(y(this,Ml))throw new this[u].DOMException(`Failed to execute 'removeProperty' on 'CSSStyleDeclaration': These styles are computed, and therefore the '${e}' property is read-only.`,A.domException);let t=D(this,Vn,za).call(this);t.remove(e),y(this,gi)&&(y(this,Si).attributeValue=t.toString(),y(this,Si).attributeValue?y(this,gi).setAttribute("style",y(this,Si).attributeValue):y(this,gi).removeAttribute("style"))}getPropertyValue(e){return D(this,Vn,za).call(this).get(e)?.value||""}getPropertyPriority(e){return D(this,Vn,za).call(this).get(e)?.important?"important":""}};gi=new WeakMap,Ml=new WeakMap,Si=new WeakMap,Vn=new WeakSet,za=function(){let e=y(this,gi),t=y(this,Si);if(!e)return t.propertyManager||(t.propertyManager=new Ns),t.propertyManager;if(y(this,Ml))return new ub(e).getComputedStyle();let r=e.getAttribute("style")||"";return t.attributeValue!==r&&(t.propertyManager=new Ns({cssText:r})),t.propertyManager};var yx,px,rs=class extends(px=es,yx=Ho,px){constructor(){super(...arguments);s(this,yx,"")}get conditionText(){return this[Ho]}};var cx,hx,dx,Xa=class extends(dx=rs,hx=Xt,cx=po,dx){constructor(){super(...arguments);s(this,hx,pt.containerRule);s(this,cx,"")}get type(){return pt.containerRule}get cssText(){let t="";for(let r of this[or])t+=`
26
+ `+r.cssText;return t+=`
27
+ `,`@${this[po]}container ${this[Ho]} {${t}}`}};var bx,fx,Ya,Ka=class extends(fx=Me,bx=Yr,fx){constructor(){super(...arguments);s(this,bx,"");x(this,Ya,null)}get type(){return pt.fontFaceRule}get cssText(){return`@font-face { ${this.style.cssText} }`}get style(){return y(this,Ya)||(w(this,Ya,new co(c,this[u])),y(this,Ya).parentRule=this,y(this,Ya).cssText=this[Yr]),y(this,Ya)}};Ya=new WeakMap;var gx,Sx,Px,Ja,In=class extends(Px=Me,Sx=Cn,gx=Yr,Px){constructor(){super(...arguments);s(this,Sx,"");s(this,gx,"");x(this,Ja,null)}get type(){return pt.keyframeRule}get cssText(){return`${this[Cn]} { ${this.style.cssText} }`}get style(){return y(this,Ja)||(w(this,Ja,new co(c,this[u])),y(this,Ja).parentRule=this,y(this,Ja).cssText=this[Yr]),y(this,Ja)}get keyText(){return this[Cn]}};Ja=new WeakMap;var SI=/^(from|to|[0-9]{1,3}%)\s*{([^}]*)}$/,wx,xx,Ex,vx,Za=class extends(vx=Me,Ex=or,xx=lt,wx=po,vx){constructor(){super(...arguments);s(this,Ex,[]);s(this,xx,"");s(this,wx,"")}get type(){return pt.keyframesRule}get cssText(){let t="";for(let r of this[or])t+=`
28
+ `+r.cssText;return t+=`
29
+ `,`@${this[po]}keyframes ${this[lt]} { ${t}}`}get cssRules(){return this[or]}get name(){return this[lt]}get length(){return this[or].length}appendRule(t){if(arguments.length===0)throw new this[u].TypeError("Failed to execute 'appendRule' on 'CSSKeyframesRule': 1 argument required, but only 0 present.");let r=String(t).trim().match(SI);if(!r)throw new this[u].DOMException("Invalid or unexpected token",A.syntaxError);let o=new In(c,this[u],this[fm]),i=r[1].trim();i==="from"?i="0%":i==="to"&&(i="100%"),o[vl]=this,o[Cn]=i,o[Yr]=r[2].trim(),this[or].push(o)}deleteRule(t){if(arguments.length===0)throw new this[u].TypeError("Failed to execute 'deleteRule' on 'CSSKeyframesRule': 1 argument required, but only 0 present.");for(let r=0,o=this[or].length;r<o;r++)if(this[or][r][Cn]===t){this[or].splice(r,1);return}}findRule(t){if(arguments.length===0)throw new this[u].TypeError("Failed to execute 'findRule' on 'CSSKeyframesRule': 1 argument required, but only 0 present.");for(let r=0,o=this[or].length;r<o;r++)if(this[or][r][Cn]===t)return this[or][r];return null}};var Ax=/\s*,\s*/,Tx,Qa=class l{constructor(e,t){s(this,Tx);if(e!==c)throw new TypeError("Illegal constructor");this[Al]=t;let r=new xe(this,[l]);return new Proxy(this,{get:(o,i)=>{if(i in o||typeof i=="symbol")return r.bind(i),o[i];let n=Number(i);if(!isNaN(n))return o[X]()[n]},set(o,i,n){return r.bind(i),(i in o||typeof i=="symbol")&&(o[i]=n),!0},deleteProperty(o,i){return(i in o||typeof i=="symbol")&&delete o[i],!0},ownKeys(o){return Object.keys(o[X]())},has(o,i){if(typeof i=="symbol")return!1;if(i in o)return!0;let n=Number(i);return!isNaN(n)&&n>=0&&n<o[X]().length},defineProperty(o,i,n){return r.preventBinding(i),i in o?(Object.defineProperty(o,i,n),!0):!1},getOwnPropertyDescriptor(o,i){if(i in o||typeof i=="symbol")return;let n=Number(i),a=o[X]();if(!isNaN(n)&&a[n])return{value:a[n],writable:!1,enumerable:!0,configurable:!0}}})}get length(){return this[X]().length}get mediaText(){return this[Al][Ho]}set mediaText(e){this[Al][Ho]=e===null?"":String(e).split(Ax).join(", ")}item(e){return this[X]()[Number(e)]||null}appendMedium(e){let t=this[X]();t.indexOf(e)===-1&&(t.push(e),this[Al][Ho]=t.join(", "))}deleteMedium(e){let t=this[X](),r=t.indexOf(e);r!==-1&&(t.splice(r,1),this[Al][Ho]=t.join(", "))}[(Tx=Al,X)](){return this[Al][Ho].trim()?this[Al][Ho].split(Ax):[]}};var Nx,Lx,tu=class extends(Lx=rs,Nx=LP,Lx){constructor(){super(...arguments);s(this,Nx,new Qa(c,this))}get type(){return pt.mediaRule}get cssText(){let t="";for(let r of this[or])t+=`
30
+ `+r.cssText;return t+=t?`
31
+ `:" ",`@media ${this.conditionText} {${t}}`}get media(){return this[LP]}get conditionText(){return this.media.mediaText}};var qy,Rl=class{constructor(e){x(this,qy);w(this,qy,e)}get value(){return y(this,qy)}set value(e){w(this,qy,e)}};qy=new WeakMap;var mb,yb,Ol=class{constructor(e,t,r){x(this,mb);x(this,yb);if(e!==c)throw new TypeError("Illegal constructor");w(this,mb,t),w(this,yb,r)}toString(){return y(this,mb).getPropertyValue(y(this,yb))}};mb=new WeakMap,yb=new WeakMap;var Cx,eu=class{constructor(e,t){s(this,Cx);if(e!==c)throw new TypeError("Illegal constructor");this[Ee]=t}get size(){return this[Ee].length}[(Cx=Ee,Symbol.iterator)](){return this.entries()}entries(){let e=this[Ee].length,t=new Array(e);for(let r=0;r<e;r++){let o=this[Ee][r];t[r]=[o,[new Rl(this[Ee].getPropertyValue(o))]]}return t.values()}values(){let e=this[Ee].length,t=new Array(e);for(let r=0;r<e;r++){let o=this[Ee][r];t[r]=[new Rl(this[Ee].getPropertyValue(o))]}return t.values()}keys(){let e=this[Ee].length,t=new Array(e);for(let r=0;r<e;r++)t[r]=this[Ee][r];return t.values()}get(e){return new Ol(c,this[Ee],e)}getAll(e){return[new Ol(c,this[Ee],e)]}has(e){return!!this[Ee].getPropertyValue(e)}};var ru=class extends eu{append(e,t){this[Ee].setProperty(e,t)}clear(){this[Ee].cssText=""}delete(e){this[Ee].removeProperty(e)}set(e,t){this[Ee].setProperty(e,t)}};var kx,Mx,Rx,Ox,ou,Dn=class extends(Ox=es,Rx=Jd,Mx=bm,kx=Yr,Ox){constructor(){super(...arguments);s(this,Rx,null);s(this,Mx,"");s(this,kx,"");x(this,ou,null)}get type(){return pt.styleRule}get cssText(){return`${this[bm]} { ${this.style.cssText} }`}get styleMap(){return this[Jd]||(this[Jd]=new ru(c,this.style)),this[Jd]}get selectorText(){return this[bm]}get style(){return y(this,ou)||(w(this,ou,new co(c,this[u])),y(this,ou).parentRule=this,y(this,ou).cssText=this[Yr]),y(this,ou)}};ou=new WeakMap;var Vx,Ix,Dx,iu=class extends(Dx=rs,Ix=Xt,Vx=po,Dx){constructor(){super(...arguments);s(this,Ix,pt.supportsRule);s(this,Vx,"")}get type(){return pt.supportsRule}get cssText(){let t="";for(let r of this[or])t+=`
32
+ `+r.cssText;return t+=`
33
+ `,`@${this[po]}supports ${this.conditionText} {${t}}`}};var qt={html:"http://www.w3.org/1999/xhtml",svg:"http://www.w3.org/2000/svg",mathML:"http://www.w3.org/1998/Math/MathML",xml:"http://www.w3.org/XML/1998/namespace",xlink:"http://www.w3.org/1999/xlink",xmlns:"http://www.w3.org/2000/xmlns/"};var Fx=new Map,_x=new Map,PI=/[A-Z]/g,wI=/[a-z]/g,ro=class{static asciiLowerCase(e){let t=Fx.get(e);if(t)return t;let r=e.replace(PI,o=>String.fromCharCode(o.charCodeAt(0)+32));return Fx.set(e,r),r}static asciiUpperCase(e){let t=_x.get(e);if(t)return t;let r=e.replace(wI,o=>String.fromCharCode(o.charCodeAt(0)-32));return _x.set(e,r),r}};var Bx="[-_.]|[0-9]|[a-z]|\xB7|[\xC0-\xD6]|[\xD8-\xF6]|[\xF8-\u037D]|[\u037F-\u1FFF]|[\u200C-\u200D]|[\u203F-\u2040]|[\u2070-\u218F]|[\u2C00-\u2FEF]|[\u3001-\uD7FF]|[\uF900-\uFDCF]|[\uFDF0-\uFFFD]|[\u{10000}-\u{EFFFF}]",xI=new RegExp(`^[a-z](${Bx})*-(${Bx})*$`,"u"),EI=["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"],$y=class{static isValidCustomElementName(e){return xI.test(e)&&!EI.includes(e)}};var Ux,Gx,Hx,qx,Ls,Tm=class{constructor(e){s(this,qx,new Map);s(this,Hx,new Map);s(this,Gx,new Map);s(this,Ux,!1);x(this,Ls);if(!e)throw new TypeError("Illegal constructor");w(this,Ls,e)}define(e,t,r){if(this[Dh])return;if(!$y.isValidCustomElementName(e))throw new(y(this,Ls)).DOMException(`Failed to execute 'define' on 'CustomElementRegistry': "${e}" is not a valid custom element name`);if(this[Ss].has(e))throw new(y(this,Ls)).DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${e}" has already been used with this registry`);if(this[Ty].has(t))throw new(y(this,Ls)).DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let o=ro.asciiUpperCase(e);t.prototype[u]=y(this,Ls),t.prototype[T]=y(this,Ls).document,t.prototype[tt]=o,t.prototype[dt]=e,t.prototype[rt]=qt.html;let i=new Set,n=t.observedAttributes;if(Array.isArray(n))for(let m of n)i.add(String(m).toLowerCase());this[Ss].set(e,{elementClass:t,extends:r&&r.extends?r.extends.toLowerCase():null,observedAttributes:i,livecycleCallbacks:{connectedCallback:t.prototype.connectedCallback,disconnectedCallback:t.prototype.disconnectedCallback,attributeChangedCallback:t.prototype.attributeChangedCallback}}),this[Ty].set(t,e);let a=this[gs].get(e);if(a){this[gs].delete(e);for(let m of a)m()}}get(e){return this[Ss].get(e)?.elementClass}upgrade(e){}whenDefined(e){return this[Dh]?Promise.reject(new(y(this,Ls)).DOMException("Failed to execute 'whenDefined' on 'CustomElementRegistry': The custom element registry has been destroyed.")):$y.isValidCustomElementName(e)?this.get(e)?Promise.resolve():new Promise(t=>{let r=this[gs].get(e);r?r.push(t):this[gs].set(e,[t])}):Promise.reject(new(y(this,Ls)).DOMException(`Failed to execute 'whenDefined' on 'CustomElementRegistry': Invalid custom element name: "${e}"`))}getName(e){return this[Ty].get(e)||null}[(qx=Ss,Hx=Ty,Gx=gs,Ux=Dh,ue)](){this[Dh]=!0;for(let e of this[Ss].values())e.elementClass.prototype[u]=null,e.elementClass.prototype[T]=null,e.elementClass.prototype[tt]=null,e.elementClass.prototype[dt]=null,e.elementClass.prototype[rt]=null;this[Ss]=new Map,this[Ty]=new Map,this[gs]=new Map}};Ls=new WeakMap;var Wy,Cs=class{constructor(e,t=""){s(this,"kind");s(this,"type");x(this,Wy,null);this.kind=typeof e=="string"?"string":"file",this.type=this.kind==="string"?t:e.type,w(this,Wy,e)}getAsFile(){return this.kind==="string"?null:y(this,Wy)}getAsString(e){this.kind,e(y(this,Wy))}};Wy=new WeakMap;var qo=class extends de{constructor(t,r,o){if(arguments.length<2)throw new TypeError("Failed to construct 'File': 2 arguments required, but only "+arguments.length+" present.");super(t,o);s(this,"lastModified");s(this,"name");this.name=r,this.lastModified=o&&o.lastModified?o.lastModified:Date.now()}};var su=class extends Array{add(e,t){if(e instanceof qo){this.push(new Cs(e));return}if(!t)throw new TypeError("Failed to execute 'add' on 'DataTransferItemList': parameter 1 is not of type 'File'.");this.push(new Cs(e,t))}remove(e){this.splice(e,1)}clear(){for(;this.length;)this.pop()}};var pb,$P,jy=class{constructor(){x(this,pb);s(this,"dropEffect","none");s(this,"effectAllowed","none");s(this,"items",new su)}get files(){let e=[];for(let t of this.items)if(t.kind==="file"){let r=t.getAsFile();r&&e.push(r)}return e}get types(){return this.items.map(e=>e.type)}clearData(){this.items.clear()}setData(e,t){for(let r=0,o=this.items.length;r<o;r++)if(this.items[r].type===e){this.items[r]=new Cs(t,e);return}this.items.add(t,e)}getData(e){let t=D(this,pb,$P).call(this,e);for(let r=0,o=this.items.length;r<o;r++)if(D(this,pb,$P).call(this,this.items[r].type)===t){let n="";return this.items[r].getAsString(a=>n=a),n}return""}setDragImage(){throw new Error("Not implemented.")}};pb=new WeakSet,$P=function(e){let t=e.toLowerCase();return t==="text"?"text/plain":t==="url"?"text/uri-list":t};var zy=class{constructor(e){s(this,"identifier");s(this,"target");s(this,"clientX");s(this,"clientY");s(this,"screenX");s(this,"screenY");s(this,"pageX");s(this,"pageY");s(this,"radiusX");s(this,"radiusY");s(this,"rotationAngle");s(this,"force");this.identifier=e.identifier,this.target=e.target,this.clientX=e.clientX??0,this.clientY=e.clientY??0,this.screenX=e.screenX??0,this.screenY=e.screenY??0,this.pageX=e.pageX??0,this.pageY=e.pageY??0,this.radiusX=e.radiusX??0,this.radiusY=e.radiusY??0,this.rotationAngle=e.rotationAngle??0,this.force=e.force??0}};var Ke=class extends R{constructor(t,r=null){super(t,r);s(this,"detail");s(this,"layerX",0);s(this,"layerY",0);s(this,"pageX",0);s(this,"pageY",0);s(this,"view");this.detail=r?.detail??0,this.view=r?.view??null}};s(Ke,"NONE",0),s(Ke,"CAPTURING_PHASE",1),s(Ke,"AT_TARGET",2),s(Ke,"BUBBLING_PHASE",3);var Xy=class extends R{constructor(t,r=null){super(t,r);s(this,"animationName");s(this,"elapsedTime");s(this,"pseudoElement");this.animationName=r?.animationName??"",this.elapsedTime=r?.elapsedTime??0,this.pseudoElement=r?.pseudoElement??""}};var Yy=class extends R{constructor(t,r=null){super(t,r);s(this,"clipboardData");this.clipboardData=r?.clipboardData??null}};var $x,Wx,Ky=class extends(Wx=R,$x=Ih,Wx){constructor(t,r=null){super(t,r);s(this,$x);this[Ih]=r?.detail??null}get detail(){return this[Ih]}initCustomEvent(t,r=!1,o=!1,i=null){this[Xt]=t,this[gl]=r,this[an]=o,this[Ih]=i}};var Fn=class extends Ke{constructor(t,r=null){super(t,r);s(this,"message");s(this,"filename");s(this,"lineno");s(this,"colno");s(this,"error");this.message=r?.message??"",this.filename=r?.filename??"",this.lineno=r?.lineno??0,this.colno=r?.colno??0,this.error=r?.error??null}};var ks=class extends Ke{constructor(t,r=null){super(t,r);s(this,"relatedTarget");this.relatedTarget=r?.relatedTarget??null}};var nu=class extends R{constructor(t,r=null){super(t,r);s(this,"newURL");s(this,"oldURL");this.newURL=r?.newURL??"",this.oldURL=r?.oldURL??""}};var Jy=class extends Ke{constructor(t,r=null){super(t,r);s(this,"data");s(this,"dataTransfer");s(this,"inputType");s(this,"isComposing");this.data=r?.data??"",this.dataTransfer=r?.dataTransfer??null,this.inputType=r?.inputType??"",this.isComposing=r?.isComposing??!1}};var _n=class extends Ke{constructor(t,r=null){super(t,r);s(this,"altKey");s(this,"code");s(this,"ctrlKey");s(this,"isComposing");s(this,"key");s(this,"location");s(this,"metaKey");s(this,"repeat");s(this,"shiftKey");s(this,"keyCode");s(this,"which");this.altKey=r?.altKey??!1,this.code=r?.code??"",this.ctrlKey=r?.ctrlKey??!1,this.isComposing=r?.isComposing??!1,this.key=r?.key??"",this.location=r?.location??0,this.metaKey=r?.metaKey??!1,this.repeat=r?.repeat??!1,this.shiftKey=r?.shiftKey??!1,this.keyCode=r?.keyCode??0,this.which=r?.which??r?.keyCode??0}getModifierState(t){if(arguments.length<1)throw new TypeError("Failed to execute 'getModifierState' on 'KeyboardEvent': 1 argument required, but only 0 present.");switch(String(t).toLowerCase()){case"alt":case"altgraph":return this.altKey;case"control":return this.ctrlKey;case"meta":return this.metaKey;case"shift":return this.shiftKey;default:return!1}}};s(_n,"DOM_KEY_LOCATION_STANDARD",0),s(_n,"DOM_KEY_LOCATION_LEFT",1),s(_n,"DOM_KEY_LOCATION_RIGHT",2),s(_n,"DOM_KEY_LOCATION_NUMPAD",3);var Zy=class extends R{constructor(t,r=null){super(t,r);s(this,"data");s(this,"origin");s(this,"lastEventId");s(this,"source");s(this,"ports");this.data=r?.data??null,this.origin=r?.origin??"",this.lastEventId=r?.lastEventId??"",this.source=r?.source??null,this.ports=r?.ports??[]}};var sr=class extends Ke{constructor(t,r=null){super(t,r);s(this,"altKey");s(this,"button");s(this,"buttons");s(this,"clientX");s(this,"clientY");s(this,"ctrlKey");s(this,"metaKey");s(this,"movementX");s(this,"movementY");s(this,"offsetX");s(this,"offsetY");s(this,"region");s(this,"relatedTarget");s(this,"screenX");s(this,"screenY");s(this,"shiftKey");this.altKey=r?.altKey??!1,this.button=r?.button??0,this.buttons=r?.buttons??0,this.clientX=r?.clientX??0,this.clientY=r?.clientY??0,this.ctrlKey=r?.ctrlKey??!1,this.metaKey=r?.metaKey??!1,this.movementX=r?.movementX??0,this.movementY=r?.movementY??0,this.offsetX=r?.offsetX??0,this.offsetY=r?.offsetY??0,this.region=r?.region??"",this.relatedTarget=r?.relatedTarget??null,this.screenX=r?.screenX??0,this.screenY=r?.screenY??0,this.shiftKey=r?.shiftKey??!1}};var lu=class extends sr{constructor(t,r=null){super(t,r);s(this,"pointerId");s(this,"width");s(this,"height");s(this,"pressure");s(this,"tangentialPressure");s(this,"tiltX");s(this,"tiltY");s(this,"twist");s(this,"altitudeAngle");s(this,"azimuthAngle");s(this,"pointerType");s(this,"isPrimary");s(this,"coalescedEvents");s(this,"predictedEvents");s(this,"getCoalescedEvents",()=>this.coalescedEvents);s(this,"getPredictedEvents",()=>this.predictedEvents);this.pointerId=r?.pointerId??0,this.width=r?.width??1,this.height=r?.height??1,this.pressure=r?.pressure??0,this.tangentialPressure=r?.tangentialPressure??0,this.tiltX=r?.tiltX??0,this.tiltY=r?.tiltY??0,this.twist=r?.twist??0,this.altitudeAngle=r?.altitudeAngle??0,this.azimuthAngle=r?.azimuthAngle??0,this.pointerType=r?.pointerType??"",this.isPrimary=r?.isPrimary??!1,this.coalescedEvents=r?.coalescedEvents??[],this.predictedEvents=r?.predictedEvents??[]}};var $o=class extends R{constructor(t,r=null){super(t);s(this,"lengthComputable");s(this,"loaded");s(this,"total");this.lengthComputable=r?.lengthComputable??!1,this.loaded=r?.loaded??0,this.total=r?.total??0}};var cb=class extends R{constructor(t,r=null){super(t);s(this,"key");s(this,"oldValue");s(this,"newValue");s(this,"url");s(this,"storageArea");this.key=r?.key??null,this.oldValue=r?.oldValue??null,this.newValue=r?.newValue??null,this.url=r?.url??"",this.storageArea=r?.storageArea??null}};var au=class extends R{constructor(t,r=null){super(t,r);s(this,"submitter");this.submitter=r?.submitter??null}};var Qy=class extends Ke{constructor(t,r=null){super(t,r);s(this,"altKey");s(this,"changedTouches");s(this,"ctrlKey");s(this,"metaKey");s(this,"shiftKey");s(this,"targetTouches");s(this,"touches");this.altKey=r?.altKey??!1,this.changedTouches=r?.changedTouches??[],this.ctrlKey=r?.ctrlKey??!1,this.metaKey=r?.metaKey??!1,this.shiftKey=r?.shiftKey??!1,this.targetTouches=r?.targetTouches??[],this.touches=r?.touches??[]}};var Vl=class extends Ke{constructor(t,r=null){super(t,r);s(this,"deltaX");s(this,"deltaY");s(this,"deltaZ");s(this,"deltaMode");this.deltaX=r?.deltaX??0,this.deltaY=r?.deltaY??0,this.deltaZ=r?.deltaZ??0,this.deltaMode=r?.deltaMode??0}};s(Vl,"DOM_DELTA_PIXEL",0),s(Vl,"DOM_DELTA_LINE",1),s(Vl,"DOM_DELTA_PAGE",2);import{URL as vI}from"url";import{Blob as AI}from"buffer";var Ie=class extends vI{constructor(e,t){try{super(e,t)}catch(r){throw super("about:blank"),this[u]?new this[u].TypeError("Invalid URL"):r}}static createObjectURL(e){if(e instanceof de){let t=new AI([e[Ct]],{type:e.type});return super.createObjectURL(t)}return super.createObjectURL(e)}};import{isIP as TI}from"net";var NI=/^(about|blob|data):$/,LI=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],Ms=class{static prepareRequest(e,t){t.referrerPolicy||(t[Ry]="strict-origin-when-cross-origin"),t.referrer&&t.referrer!=="no-referrer"?t[Kr]=this.getSentReferrer(e,t):t[Kr]="no-referrer"}static getInitialReferrer(e,t){if(t===""||t==="no-referrer"||t==="client")return t;if(t){let r=t instanceof Ie?t:new Ie(t,e.location.href);return r.origin===e.location.origin?r:"client"}return"client"}static getReferrerPolicyFromHeader(e){let t=e.get("Referrer-Policy");if(!t)return"";let r=t.split(/[,\s]+/),o="";for(let i of r)i&&LI.includes(i)&&(o=i);return o}static getSentReferrer(e,t){if(t.referrer==="about:client"&&e.origin==="null")return"no-referrer";let r=new Ie(t.url),o=t.referrer==="about:client"?new Ie(e.href):new Ie(t.referrer);if(NI.test(o.protocol))return"no-referrer";switch(o.username="",o.password="",o.hash="",t.referrerPolicy){case"no-referrer":return"no-referrer";case"origin":return new Ie(o.origin);case"unsafe-url":return o;case"strict-origin":return this.isURLPotentiallyTrustWorthy(o)&&!this.isURLPotentiallyTrustWorthy(r)?"no-referrer":new Ie(o.origin);case"strict-origin-when-cross-origin":return o.origin===r.origin?o:this.isURLPotentiallyTrustWorthy(o)&&!this.isURLPotentiallyTrustWorthy(r)?"no-referrer":new Ie(o.origin);case"same-origin":return o.origin===r.origin?o:"no-referrer";case"origin-when-cross-origin":return o.origin===r.origin?o:new Ie(o.origin);case"no-referrer-when-downgrade":return this.isURLPotentiallyTrustWorthy(o)&&!this.isURLPotentiallyTrustWorthy(r)?"no-referrer":o}return"no-referrer"}static isURLPotentiallyTrustWorthy(e){return/^about:(blank|srcdoc)$/.test(e.href)||e.protocol==="data:"||/^(blob|filesystem):$/.test(e.protocol)?!0:this.isOriginPotentiallyTrustWorthy(e)}static isOriginPotentiallyTrustWorthy(e){if(/^(http|ws)s:$/.test(e.protocol))return!0;let t=e.host.replace(/(^\[)|(]$)/g,""),r=TI(t);return r===4&&/^127\./.test(t)||r===6&&/^(((0+:){7})|(::(0+:){0,6}))0*1$/.test(t)?!0:e.host==="localhost"||e.host.endsWith(".localhost")?!1:e.protocol==="file:"}};import GI from"http";import HI from"https";import rp from"zlib";import{URL as bS}from"url";import g1 from"fs";import qI from"path";import Fl from"stream";var Nm=class{static parse(e){if(!/^data:/i.test(e))throw new TypeError('`uri` does not appear to be a Data URI (must begin with "data:")');e=e.replace(/\r?\n/g,"");let t=e.indexOf(",");if(t===-1||t<=4)throw new TypeError("malformed data: URI");let r=e.substring(5,t).split(";"),o="",i=!1,n=r[0]||"text/plain";for(let b=1;b<r.length;b++)r[b]==="base64"?i=!0:r[b]&&(n+=`;${r[b]}`,r[b].indexOf("charset=")===0&&(o=r[b].substring(8)));!r[0]&&!o.length&&(n+=";charset=US-ASCII",o="US-ASCII");let a=i?"base64":"ascii",m=unescape(e.substring(t+1)),p=Buffer.from(m,a);return{type:n,charset:o,buffer:p}}};import{URL as jx}from"url";var Mi=class{static isCORS(e,t){return e=typeof e=="string"?new jx(e):e,t=typeof t=="string"?new jx(t):t,t.protocol==="about:"||t.protocol==="javascript:"?!1:e.hostname!==t.hostname&&!e.hostname.endsWith(t.hostname)||e.protocol!==t.protocol}};import{URL as jP}from"url";import{ReadableStream as CI}from"stream/web";var os;(function(l){l[l.boundary=0]="boundary",l[l.headerStart=2]="headerStart",l[l.header=3]="header",l[l.data=5]="data"})(os||(os={}));var hS={lf:10,cr:13},hb=class{constructor(e,t){s(this,"formData");s(this,"boundary");s(this,"boundaryIndex",0);s(this,"state",os.boundary);s(this,"data",{contentDisposition:null,value:[],contentType:null,header:""});let r=`--${t}`;this.boundary=new Uint8Array(r.length),this.formData=new e.FormData;for(let o=0,i=r.length;o<i;o++)this.boundary[o]=r.charCodeAt(o)}write(e){let t,r;for(let o=0,i=e.length;o<i;o++)switch(t=e[o],r=e[o+1],this.state){case os.boundary:t===this.boundary[this.boundaryIndex]?this.boundaryIndex++:this.boundaryIndex=0,this.boundaryIndex===this.boundary.length&&(this.state=os.headerStart,this.boundaryIndex=0);break;case os.headerStart:r!==hS.cr&&r!==hS.lf&&(this.data.header="",this.state=e[o-2]===hS.lf?os.data:os.header);break;case os.header:if(t===hS.cr){if(this.data.header){let n=this.data.header.split(":");if(n.length>1){let a=n[0].toLowerCase(),m=n[1].trim();switch(a){case"content-disposition":this.data.contentDisposition=this.getContentDisposition(m);break;case"content-type":this.data.contentType=m;break}}}this.state=os.headerStart}else this.data.header+=String.fromCharCode(t);break;case os.data:t===this.boundary[this.boundaryIndex]?this.boundaryIndex++:this.boundaryIndex=0,this.boundaryIndex===this.boundary.length?(this.state=os.headerStart,this.data.value.length&&(this.appendFormData(this.data.contentDisposition.name,Buffer.from(this.data.value.slice(0,-(this.boundary.length+1))),this.data.contentDisposition.filename,this.data.contentType),this.data.value=[],this.data.contentDisposition=null,this.data.contentType=null),this.boundaryIndex=0):this.data.value.push(t);break}}end(){return this.data.contentDisposition&&this.data.value.length&&this.appendFormData(this.data.contentDisposition.name,Buffer.from(this.data.value.slice(0,-2)),this.data.contentDisposition.filename,this.data.contentType),this.formData}appendFormData(e,t,r,o){t.length&&(r?this.formData.append(e,new qo([t],r,{type:o})):this.formData.append(e,t.toString()))}getContentDisposition(e){let t=/([a-z]+) *= *"([^"]+)"/g,r={},o;for(;o=t.exec(e);)r[o[1]]=o[2];return r}};import{Buffer as Lm}from"buffer";var Il=class{static async streamToFormData(e,t,r){if(!/multipart/i.test(r))throw new e.DOMException(`Failed to build FormData object: The "content-type" header isn't of type "multipart/form-data".`,A.invalidStateError);let o=t.body;if(!o)throw new e.DOMException("Failed to build FormData object: The response body is null.",A.invalidStateError);let i=r.match(/boundary=(?:"([^"]+)"|([^;]+))/i);if(!i)throw new e.DOMException(`Failed to build FormData object: The "content-type" header doesn't contain any multipart boundary.`,A.invalidStateError);let n=o.getReader(),a=new hb(e,i[1]||i[2]),m=[],p,b=0,d=await n.read();for(;!d.done;){if(t[pr])throw t[pr];if(t[we])throw new e.DOMException("Failed to read response body: The stream was aborted.",A.abortError);a.write(d.value),d=await n.read()}try{p=typeof m[0]=="string"?Lm.from(m.join("")):Lm.concat(m,b)}catch(f){throw new e.DOMException(`Could not create Buffer from response body. Error: ${f.message}.`,A.invalidStateError)}return{formData:a.end(),buffer:p}}static formDataToStream(e){let t="----HappyDOMFormDataBoundary"+Math.random().toString(36),r=[],o=`--${t}\r
34
+ Content-Disposition: form-data; name="`;for(let[n,a]of e)typeof a=="string"?r.push(Lm.from(`${o}${this.escapeName(n)}"\r
35
+ \r
36
+ ${a.replace(/\r(?!\n)|(?<!\r)\n/g,`\r
37
+ `)}\r
38
+ `)):(r.push(Lm.from(`${o}${this.escapeName(n)}"; filename="${this.escapeName(a.name,!0)}"\r
39
+ Content-Type: ${a.type||"application/octet-stream"}\r
40
+ \r
41
+ `)),r.push(a[Ct]),r.push(Lm.from(`\r
42
+ `)));r.push(Lm.from(`--${t}--\r
43
+ `));let i=Lm.concat(r);return{contentType:`multipart/form-data; boundary=${t}`,contentLength:i.length,buffer:i,stream:new CI({start(n){n.enqueue(i),n.close()}})}}static escapeName(e,t=!1){return(t?e:e.replace(/\r?\n|\r/g,`\r
44
+ `)).replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22")}};import{ReadableStream as dS}from"stream/web";import{URLSearchParams as kI}from"url";var Wo,db,WP,uu=class{constructor(e,t){x(this,db);x(this,Wo,[]);if(!e)return;if(t){let o=e[Ut]?e[Ut]:e;if(t.form!==o)throw new this[u].DOMException("The specified element is not owned by this form element",A.notFoundError);if(!(t[tt]==="INPUT"&&(t.type==="submit"||t.type==="image")||t[tt]==="BUTTON"&&t.type==="submit"))throw new this[u].TypeError("The specified element is not a submit button")}let r=e[Ro]();for(let o of r){let i=o.name;if(i)switch(o[tt]){case"INPUT":if(o.disabled)break;switch(o.type){case"file":if(o[Yi].length===0)this.append(i,new qo([],"",{type:"application/octet-stream"}));else for(let n of o[Yi])this.append(i,n);break;case"checkbox":case"radio":o.checked&&this.append(i,o.value);break;case"submit":case"reset":case"button":o===t&&o.value&&this.append(i,o.value);break;default:this.append(i,o.value);break}break;case"BUTTON":o===t&&o.value&&this.append(i,o.value);break;case"TEXTAREA":case"SELECT":this.append(i,o.value);break}}}forEach(e,t){for(let r of y(this,Wo))e.call(t,r.value,r.name,this)}append(e,t,r){if(r&&!(t instanceof de))throw new this[u].TypeError('Failed to execute "append" on "FormData": parameter 2 is not of type "Blob".');y(this,Wo).push({name:e,value:D(this,db,WP).call(this,t,r)})}delete(e){let t=[];for(let r of y(this,Wo))r.name!==e&&t.push(r);w(this,Wo,t)}get(e){for(let t of y(this,Wo))if(t.name===e)return t.value;return null}getAll(e){let t=[];for(let r of y(this,Wo))r.name===e&&t.push(r.value);return t}has(e){for(let t of y(this,Wo))if(t.name===e)return!0;return!1}set(e,t,r){for(let o of y(this,Wo))if(o.name===e){o.value=D(this,db,WP).call(this,t,r);return}this.append(e,t)}*keys(){for(let e of y(this,Wo))yield e.name}*values(){for(let e of y(this,Wo))yield e.value}*entries(){for(let e of y(this,Wo))yield[e.name,e.value]}*[Symbol.iterator](){for(let e of y(this,Wo))yield[e.name,e.value]}};Wo=new WeakMap,db=new WeakSet,WP=function(e,t){if(e instanceof qo){if(t){let r=new qo([],t,{type:e.type,lastModified:e.lastModified});return r[Ct]=e[Ct],r}return e}if(e instanceof de){let r=new qo([],"blob",{type:e.type});return r[Ct]=e[Ct],r}return String(e)};import{Buffer as mu}from"buffer";import zx from"stream";var cr=class{static getBodyStream(e){if(e==null)return{stream:null,buffer:null,contentType:null,contentLength:null};if(e instanceof kI){let r=mu.from(e.toString());return{buffer:r,stream:this.toReadableStream(r),contentType:"application/x-www-form-urlencoded;charset=UTF-8",contentLength:r.length}}else if(e instanceof de){let r=e[Ct];return{buffer:r,stream:this.toReadableStream(r),contentType:e.type,contentLength:e.size}}else{if(mu.isBuffer(e))return{buffer:e,stream:this.toReadableStream(e),contentType:null,contentLength:e.length};if(e instanceof ArrayBuffer){let r=mu.from(e);return{buffer:r,stream:this.toReadableStream(r),contentType:null,contentLength:e.byteLength}}else if(ArrayBuffer.isView(e)){let r=mu.from(e.buffer,e.byteOffset,e.byteLength);return{buffer:r,stream:this.toReadableStream(r),contentType:null,contentLength:e.byteLength}}else{if(e instanceof dS)return{buffer:null,stream:e,contentType:null,contentLength:null};if(e instanceof uu)return Il.formDataToStream(e)}}let t=mu.from(String(e));return{buffer:t,stream:this.toReadableStream(t),contentType:"text/plain;charset=UTF-8",contentLength:t.length}}static cloneBodyStream(e,t){if(t.bodyUsed)throw new e.DOMException("Failed to clone body stream of request: Request body is already used.",A.invalidStateError);if(t.body===null||t.body===void 0)return null;if(t[Ct])return this.toReadableStream(t[Ct]);if(t.body[Eh]){let i=new zx.PassThrough,n=new zx.PassThrough;t.body[Eh].pipe(i),t.body[Eh].pipe(n);let a=this.nodeToWebStream(i);return El in t?t[El]=a:t.body=a,this.nodeToWebStream(n)}let[r,o]=t.body.tee();return El in t?t[El]=r:t.body=r,o}static async consumeBodyStream(e,t){let r=t.body;if(r===null||!(r instanceof dS))return mu.alloc(0);if(t[pr])throw t[pr];let o=r.getReader(),i=[],n=0;try{let a=await o.read();for(;!a.done;){if(t[pr])throw t[pr];if(t[we])throw new e.DOMException("Failed to read response body: The stream was aborted.",A.abortError);let m=a.value;n+=m.length,i.push(m),a=await o.read()}}catch(a){throw a instanceof Ht?a:new e.DOMException(`Failed to read response body. Error: ${a.message}.`,A.encodingError)}try{return typeof i[0]=="string"?mu.from(i.join("")):mu.concat(i,n)}catch(a){throw new e.DOMException(`Could not create Buffer from response body. Error: ${a.message}.`,A.invalidStateError)}}static toReadableStream(e){return new dS({start(t){t.enqueue(e),t.close()}})}static nodeToWebStream(e){let t=new dS({start(r){e.on("data",o=>{r.enqueue(o)}),e.on("end",()=>{r.close()}),e.on("error",o=>{r.error(o)})}});return t[Eh]=e,t}};var MI=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],RI=["error","manual","follow"],OI=["data:","http:","https:"],VI=["TRACE","TRACK","CONNECT"],II=/^[A-Z]+$/,Ri=class{static validateMethod(e){if(!e.method||VI.includes(e.method))throw new Ht(`'${e.method||""}' is not a valid HTTP method.`,A.invalidStateError);if(!II.test(e.method))throw new Ht(`'${e.method}' HTTP method is unsupported.`,A.invalidStateError)}static validateBody(e){if(e.body&&(e.method==="GET"||e.method==="HEAD"))throw new Ht("Request with GET/HEAD method cannot have body.",A.invalidStateError)}static validateURL(e){if(e.username!==""||e.password!=="")throw new Ht(`${e} is an url with embedded credentials.`,A.notSupportedError)}static validateReferrerPolicy(e){if(!MI.includes(e))throw new Ht(`Invalid referrer policy "${e}".`,A.syntaxError)}static validateRedirect(e){if(!RI.includes(e))throw new Ht(`Invalid redirect "${e}".`,A.syntaxError)}static validateSchema(e){if(!OI.includes(e[Ce].protocol))throw new Ht(`Failed to fetch from "${e.url}": URL scheme "${e[Ce].protocol.replace(/:$/,"")}" is not supported.`,A.notSupportedError)}};var Oi=class{static stringToCookie(e,t){let r=t.split(";"),o=r.shift();if(!o)return null;let i=o.indexOf("="),n=i!==-1?o.slice(0,i).trim():o.trim(),a=i!==-1?o.slice(i+1).trim():null,m=Object.assign({},mS,{key:n,value:a,originURL:e});if(!m.key)return null;for(let b of r){let d=b.indexOf("="),f=d!==-1?b.slice(0,d).trim().toLowerCase():b.trim().toLowerCase(),v=d!==-1?b.slice(d+1).trim():"";switch(f){case"expires":m.expires=new Date(v);break;case"max-age":m.expires=new Date(parseInt(v,10)*1e3+Date.now());break;case"domain":m.domain=v;break;case"path":m.path=v[0]==="/"?v:`/${v}`;break;case"httponly":m.httpOnly=!0;break;case"secure":m.secure=!0;break;case"samesite":switch(v.toLowerCase()){case"strict":m.sameSite=Nl.strict;break;case"lax":m.sameSite=Nl.lax;break;case"none":m.sameSite=Nl.none}break}}let p=m.key.toLowerCase();return p.startsWith("__secure-")&&!m.secure||p.startsWith("__host-")&&(!m.secure||m.path!=="/"||m.domain)?null:m}static cookiesToString(e){let t=[];for(let r of e)r.value!==null?t.push(`${r.key}=${r.value}`):t.push(r.key);return t.join("; ")}};import{URL as Xx}from"url";var Yx=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","content-transfer-encoding","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"],Rs=class{static removeForbiddenHeaders(e){for(let t of Object.keys(e[Sr]))(Yx.includes(t)||t.startsWith("proxy-")||t.startsWith("sec-"))&&delete e[Sr][t]}static isHeaderForbidden(e){return Yx.includes(e.toLowerCase())}static getRequestHeaders(e){let t=new e.window.Headers(e.baseHeaders);e.request.headers.forEach((n,a)=>{t.set(a,n)});let r=new Xx(e.window.location.href),o=Mi.isCORS(r,e.request[Ce]);if(t.set("Accept-Encoding","gzip, deflate, br"),t.set("Connection","close"),t.has("User-Agent")||t.set("User-Agent",e.window.navigator.userAgent),e.request[Kr]instanceof Xx&&t.set("Referer",e.request[Kr].href),e.request.credentials==="include"||e.request.credentials==="same-origin"&&!o){let n=e.browserFrame.page.context.cookieContainer.getCookies(r,!1);n.length>0&&t.set("Cookie",Oi.cookiesToString(n))}else t.delete("Cookie"),t.delete("Cookie2");t.has("Accept")||t.set("Accept","*/*"),!t.has("Content-Length")&&e.request[em]!==null&&t.set("Content-Length",String(e.request[em])),!t.has("Content-Type")&&e.request[Oe]&&t.set("Content-Type",e.request[Oe]),o&&t.set("Origin",r.origin);let i={};for(let n of Object.values(t[Sr]))i[n.name]=n.value.join(", ");return i}};var Kx,Jx,Zx,Qx,t1,e1,r1,o1,i1,s1,n1,l1,a1,u1,m1,y1,yu=class l{constructor(e,t){s(this,y1);s(this,m1);s(this,u1,"cors");s(this,a1);s(this,l1);s(this,n1);s(this,s1);s(this,i1,!1);s(this,o1);s(this,r1,!1);s(this,e1,null);s(this,t1,null);s(this,Qx,null);s(this,Zx,"client");s(this,Jx);s(this,Kx);let r=this[u];if(!r)throw new TypeError("Failed to construct 'Request': 'Request' was constructed outside a Window context.");if(typeof e!="string"&&!e)throw new r.TypeError("Failed to contruct 'Request': 1 argument required, only 0 present.");if(this[xl]=(t?.method||e.method||"GET").toUpperCase(),t?.mode)switch(t.mode){case"navigate":case"websocket":throw new r.DOMException(`Failed to construct 'Request': Cannot construct a Request with a RequestInit whose mode member is set as '${t.mode}'.`,A.securityError);case"same-origin":case"no-cors":case"cors":this[ke]=t.mode;break;default:throw new r.DOMException(`Failed to construct 'Request': The provided value '${t.mode}' is not a valid enum value of type RequestMode.`,A.syntaxError)}else e instanceof l&&(this[ke]=e.mode);let{stream:o,buffer:i,contentType:n,contentLength:a}=cr.getBodyStream(e instanceof l&&(e[fs]||e.body)?e[fs]||cr.cloneBodyStream(r,e):t?.body??null);if(this[fs]=i,this[El]=o,this[aS]=t?.credentials||e.credentials||"same-origin",this[tS]=new this[u].Headers(t?.headers||e.headers||{}),Rs.removeForbiddenHeaders(this.headers),a?this[em]=a:!this.body&&(this.method==="POST"||this.method==="PUT")&&(this[em]=0),n?(this.headers.has("Content-Type")||this.headers.set("Content-Type",n),this[Oe]=n):e instanceof l&&e[Oe]&&(this[Oe]=e[Oe]),this[nS]=t?.redirect||e.redirect||"follow",this[Ry]=(t?.referrerPolicy||e.referrerPolicy||"").toLowerCase(),this[lS]=t?.signal||e.signal||new r.AbortSignal,this[Kr]=Ms.getInitialReferrer(r,t?.referrer!==null&&t?.referrer!==void 0?t?.referrer:e.referrer),e instanceof jP)this[Ce]=e;else try{e instanceof l&&e.url?this[Ce]=new jP(e.url,r.location.href):this[Ce]=new jP(e,r.location.href)}catch{throw new r.DOMException(`Failed to construct 'Request': Invalid URL "${e}" on document location '${r.location}'.${r.location.origin==="null"?" Relative URLs are not permitted on current document location.":""}`,A.notSupportedError)}Ri.validateMethod(this),Ri.validateBody(this),Ri.validateURL(this[Ce]),Ri.validateReferrerPolicy(this.referrerPolicy),Ri.validateRedirect(this.redirect)}get method(){return this[xl]}get body(){return this[El]}get mode(){return this[ke]}get headers(){return this[tS]}get redirect(){return this[nS]}get referrerPolicy(){return this[Ry]}get signal(){return this[lS]}get bodyUsed(){return this[vs]}get credentials(){return this[aS]}get referrer(){return!this[Kr]||this[Kr]==="no-referrer"?"":this[Kr]==="client"?"about:client":this[Kr].toString()}get url(){return this[Ce].href}get[(y1=xl,m1=El,u1=ke,a1=tS,l1=nS,n1=Ry,s1=lS,i1=vs,o1=aS,r1=we,e1=pr,t1=em,Qx=Oe,Zx=Kr,Jx=Ce,Kx=fs,Symbol.toStringTag)](){return"Request"}async arrayBuffer(){let e=this[u];if(this[vs])throw new e.DOMException(`Body has already been used for "${this.url}".`,A.invalidStateError);let t=new it(e).getAsyncTaskManager();this[vs]=!0;let r=t.startTask(()=>{this[we]=!0,this.signal[bs]()}),o;try{o=await cr.consumeBodyStream(e,this)}catch(i){throw t.endTask(r),i}return t.endTask(r),o.buffer.slice(o.byteOffset,o.byteOffset+o.byteLength)}async blob(){let e=this.headers.get("Content-Type")||"",t=await this.arrayBuffer();return new de([t],{type:e})}async buffer(){let e=this[u];if(this[vs])throw new e.DOMException(`Body has already been used for "${this.url}".`,A.invalidStateError);let t=new it(e).getAsyncTaskManager();this[vs]=!0;let r=t.startTask(()=>{this[we]=!0,this.signal[bs]()}),o;try{o=await cr.consumeBodyStream(e,this)}catch(i){throw t.endTask(r),i}return t.endTask(r),o}async text(){let e=this[u];if(this[vs])throw new e.DOMException(`Body has already been used for "${this.url}".`,A.invalidStateError);let t=new it(e).getAsyncTaskManager();this[vs]=!0;let r=t.startTask(()=>{this[we]=!0,this.signal[bs]()}),o;try{o=await cr.consumeBodyStream(e,this)}catch(i){throw t.endTask(r),i}return t.endTask(r),new TextDecoder().decode(o)}async json(){let e=await this.text();return JSON.parse(e)}async formData(){let e=this[u],t=new it(e).getAsyncTaskManager(),r=this[Oe];if(this.body&&r&&/multipart/i.test(r)){if(this[vs])throw new e.DOMException(`Body has already been used for "${this.url}".`,A.invalidStateError);this[vs]=!0;let o=t.startTask(()=>{this[we]=!0,this.signal[bs]()}),i;try{i=(await Il.streamToFormData(e,this,r)).formData}catch(n){throw t.endTask(o),n}return t.endTask(o),i}if(r?.startsWith("application/x-www-form-urlencoded")){let o=new URLSearchParams(await this.text()),i=new e.FormData;for(let[n,a]of o)i.append(n,a);return i}throw new e.DOMException('Failed to construct FormData object: The "content-type" header is neither "application/x-www-form-urlencoded" nor "multipart/form-data".',A.invalidStateError)}clone(){return new this[u].Request(this)}};import{URLSearchParams as DI}from"url";import{Buffer as FI}from"buffer";var _I=[301,302,303,307,308],p1,c1,h1,d1,b1,Cm,bb,jo=class{constructor(e,t){x(this,Cm);s(this,"body",null);s(this,"bodyUsed",!1);s(this,"redirected",!1);s(this,"type","basic");s(this,"url","");s(this,"status");s(this,"statusText");s(this,"ok");s(this,"headers");s(this,b1,null);s(this,d1,null);s(this,h1,null);s(this,c1,!1);s(this,p1,null);if(!this[u])throw new TypeError(`Failed to construct '${this.constructor.name}': '${this.constructor.name}' was constructed outside a Window context.`);if(this.status=t?.status!==void 0?t.status:200,this.statusText=t?.statusText||"",this.ok=this.status>=200&&this.status<300,this.headers=new this[u].Headers(t?.headers),this.headers.delete("Set-Cookie"),this.headers.delete("Set-Cookie2"),e){let{stream:r,buffer:o,contentType:i}=cr.getBodyStream(e);this.body=r,o&&(this[Ct]=o),i&&!this.headers.has("Content-Type")&&this.headers.set("Content-Type",i)}}get[(b1=Wi,d1=Ct,h1=Eo,c1=we,p1=pr,Symbol.toStringTag)](){return"Response"}async arrayBuffer(){let e=this[u];if(this.bodyUsed)throw new e.DOMException(`Body has already been used for "${this.url}".`,A.invalidStateError);let t=new it(e).getBrowserFrame();if(!t)return new ArrayBuffer(0);let r=t[bt];this.bodyUsed=!0;let o=this[Ct];if(!o){let i=r.startTask(()=>{this[we]=!0});try{o=await cr.consumeBodyStream(e,this)}catch(n){throw r.endTask(i),n}r.endTask(i)}return D(this,Cm,bb).call(this,o),o.buffer.slice(o.byteOffset,o.byteOffset+o.byteLength)}async blob(){let e=this.headers.get("Content-Type")||"",t=await this.arrayBuffer();return new de([t],{type:e})}async buffer(){let e=this[u];if(this.bodyUsed)throw new e.DOMException(`Body has already been used for "${this.url}".`,A.invalidStateError);let t=new it(e).getBrowserFrame();if(!t)return FI.alloc(0);let r=t[bt];this.bodyUsed=!0;let o=this[Ct];if(!o){let i=r.startTask(()=>{this[we]=!0});try{o=await cr.consumeBodyStream(e,this)}catch(n){throw r.endTask(i),n}r.endTask(i)}return D(this,Cm,bb).call(this,o),o}async text(){let e=this[u];if(this.bodyUsed)throw new e.DOMException(`Body has already been used for "${this.url}".`,A.invalidStateError);let t=new it(e).getBrowserFrame();if(!t)return"";let r=t[bt];this.bodyUsed=!0;let o=this[Ct];if(!o){let i=r.startTask(()=>{this[we]=!0});try{o=await cr.consumeBodyStream(e,this)}catch(n){throw r.endTask(i),n}r.endTask(i)}return D(this,Cm,bb).call(this,o),new TextDecoder().decode(o)}async json(){let e=await this.text();return JSON.parse(e)}async formData(){let e=this[u],t=new it(e).getBrowserFrame();if(!t)return new e.FormData;let r=t[bt],o=this.headers.get("Content-Type");if(o&&this.body&&/multipart/i.test(o)){if(this.bodyUsed)throw new e.DOMException(`Body has already been used for "${this.url}".`,A.invalidStateError);this.bodyUsed=!0;let i=t[bt].startTask(()=>{this[we]=!0}),n,a;try{let m=await Il.streamToFormData(e,this,o);n=m.formData,a=m.buffer}catch(m){throw r.endTask(i),m}return D(this,Cm,bb).call(this,a),r.endTask(i),n}if(o?.startsWith("application/x-www-form-urlencoded")){let i=new DI(await this.text()),n=new e.FormData;for(let[a,m]of i)n.append(a,m);return n}throw new e.DOMException('Failed to build FormData object: The "content-type" header is neither "application/x-www-form-urlencoded" nor "multipart/form-data".',A.invalidStateError)}clone(){let e=this[u],t=cr.cloneBodyStream(e,this),r=new e.Response(t,{status:this.status,statusText:this.statusText,headers:this.headers});return r[Wi]=this[Wi],r[Ct]=this[Ct],r.ok=this.ok,r.redirected=this.redirected,r.type=this.type,r.url=this.url,r}static redirect(e,t=302){let r=this[u];if(!_I.includes(t))throw new r.DOMException("Failed to create redirect response: Invalid redirect status code.",A.invalidStateError);return new r.Response(null,{headers:{location:new Ie(e).toString()},status:t})}static error(){let e=new this[u].Response(null,{status:0,statusText:""});return e.type="error",e}static json(e,t){let r=this[u],o=JSON.stringify(e);if(o===void 0)throw new r.TypeError("data is not JSON serializable");let i=new r.Headers(t&&t.headers);return i.has("Content-Type")||i.set("Content-Type","application/json"),new r.Response(o,{status:200,...t,headers:i})}};Cm=new WeakSet,bb=function(e){this[Ct]=e,this[Wi]?.response?.waitingForBody&&(this[Wi].response.body=e,this[Wi].response.waitingForBody=!1)};var BI=[301,302,303,307,308],UI=20,Dl=class{static isRedirect(e){return BI.includes(e)}static isMaxRedirectsReached(e){return e>=UI}};var km=class{static parseResponseHeaders(e){let t=new e.browserFrame.window.Headers,r=null;for(let o of e.rawHeaders)if(!r)r=o;else{let i=r.toLowerCase();if(i==="set-cookie"||i==="set-cookie2"){let n=Oi.stringToCookie(e.requestURL,o);n&&e.browserFrame.page.context.cookieContainer.addCookies([n])}else t.append(r,o);r=null}return t}};var tp={cert:`-----BEGIN CERTIFICATE-----
45
+ MIIDYzCCAkugAwIBAgIUJRKB/H66hpet1VfUlm0CiXqePA4wDQYJKoZIhvcNAQEL
46
+ BQAwQTELMAkGA1UEBhMCU0UxDjAMBgNVBAgMBVNrYW5lMQ4wDAYDVQQHDAVNYWxt
47
+ bzESMBAGA1UECgwJSGFwcHkgRE9NMB4XDTIyMTAxMTIyMDM0OVoXDTMyMTAwODIy
48
+ MDM0OVowQTELMAkGA1UEBhMCU0UxDjAMBgNVBAgMBVNrYW5lMQ4wDAYDVQQHDAVN
49
+ YWxtbzESMBAGA1UECgwJSGFwcHkgRE9NMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A
50
+ MIIBCgKCAQEAqerQSQEg/SxVxRiwlItithr5e5EMZo1nsqt/xOxagbmpW3IEmt0j
51
+ bpbH7iEF4DDEo7KAOwUCOwVWeFxRoag8lG2ax48wrgjlCna45XDn0Xeg1ARajL04
52
+ gs46HZ0VrzIloVGfln0zgt/Vum5BNqs9Oc5fQoBmoP3cAn3dn4ZVcP0AKthtcyPl
53
+ q2DuNRN0PV0D2RtMSiAy9l1Ko6N5x+sAeClDyOL+sTDLngZBVeZyOKt9Id15S8Zt
54
+ XtA6VMgHnnF3jChn7pag77rsd/y5iANAVNZYqRl+Eg7xaDcsvbgH46UBOrBcB39Q
55
+ tTh5Mtjoxep5e3ZDFG+kQ1HUE+iz5O5n0wIDAQABo1MwUTAdBgNVHQ4EFgQU69s9
56
+ YSobG/m2SN4L/7zTaF7iDbwwHwYDVR0jBBgwFoAU69s9YSobG/m2SN4L/7zTaF7i
57
+ DbwwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAi/WUXx2oal8L
58
+ YnPlIuKfh49n/K18wXSYG//oFYwxfVxqpYH8hUiXVm/GUcXCxS++hUkaKLqXmH9q
59
+ MKJiCrZr3vS+2nsBKopkICu/TLdROl0sAI9lByfnEbfSAzjxe1IWJdK8NdY0y5m5
60
+ 9pEr/URVIAp/CxrneyASb4q0Jg5To3FR7vYc+2X6wZn0MundKMg6Dp9/A37jiF3l
61
+ Tt/EJp299YZcsUzh+LnRuggRjnoOVu1aLcLFlaUiwZfy9m8mLG6B/mdW/qNzNMh9
62
+ Oqvg1zfGdpz/4D/2UUUBn6pq1vbsoAaF3OesoA3mfDcegDf/H9woJlpT0Wql+e68
63
+ Y3FblSokcA==
64
+ -----END CERTIFICATE-----`,key:`-----BEGIN PRIVATE KEY-----
65
+ MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCp6tBJASD9LFXF
66
+ GLCUi2K2Gvl7kQxmjWeyq3/E7FqBualbcgSa3SNulsfuIQXgMMSjsoA7BQI7BVZ4
67
+ XFGhqDyUbZrHjzCuCOUKdrjlcOfRd6DUBFqMvTiCzjodnRWvMiWhUZ+WfTOC39W6
68
+ bkE2qz05zl9CgGag/dwCfd2fhlVw/QAq2G1zI+WrYO41E3Q9XQPZG0xKIDL2XUqj
69
+ o3nH6wB4KUPI4v6xMMueBkFV5nI4q30h3XlLxm1e0DpUyAeecXeMKGfulqDvuux3
70
+ /LmIA0BU1lipGX4SDvFoNyy9uAfjpQE6sFwHf1C1OHky2OjF6nl7dkMUb6RDUdQT
71
+ 6LPk7mfTAgMBAAECggEAKkwTkTjAt4UjzK56tl+EMQTB+ep/hb/JgoaChci4Nva6
72
+ m9LkJpDJ0yuhlTuPNOGu8XjrxsVWas7HWarRf0Zb3i7yip6wZYI9Ub+AA015x4DZ
73
+ /i0fRU2NFbK0cM67qSL4jxG8gj+kZP3HPGNZxHwX/53JxMolwgmvjMc8NgvAlSFd
74
+ NnV9h4xtbhUh1NGS5zmP3iU2rwnE8JrIEzwy6axLom7nekAgkdcbAr0UoBs8gcgH
75
+ aYNhU4Gz3tGcZZ0IXAfT/bJIH1Ko8AGv4pssWc3BXcmmNdm/+kzvHIxEIV7Qegmo
76
+ XG1ZyZCyD/0b4/3e8ySDBEDqwR+HeyTW2isWG2agAQKBgQDp44aTwr3dkIXY30xv
77
+ FPfUOipg/B49dWnffYJ9MWc1FT9ijNPAngWSk0EIiEQIazICcUBI4Yji6/KeyqLJ
78
+ GdLpDi1CkKqtyh73mjELinYp3EUQgEa77aQogGa2+nMOVfu+O5CtloUrv/A18jX3
79
+ +VEyaEASK0fWmnSI0OdlxQHIAQKBgQC5+xOls2F3MlKASvWRLlnW1wHqlDTtVoYg
80
+ 5Nh8syZH4Ci2UH8tON3A5/7SWNM0t1cgV6Cw4zW8Z2spgIT/W0iYYrQ4hHL1xdCu
81
+ +CxL1km4Gy8Uwpsd+KdFahFqF/XTmLzW0HXLxWSK0fTwmdV0SFrKF3MXfTCU2AeZ
82
+ jJoMFb6P0wKBgQC3Odw6s0vkYAzLGhuZxfZkVvDOK5RRF0NKpttr0iEFL9EJFkPo
83
+ 2KKK8jr3QTDy229BBJGUxsJi6u6VwS8HlehpVQbV59kd7oKV/EBBx0XMg1fDlopT
84
+ PNbmN7i/zbIG4AsoOyebJZjL7kBzMn1e9vzKHWtcEHXlw/hZGja8vjooAQKBgAeg
85
+ xK2HLfg1mCyq5meN/yFQsENu0LzrT5UJzddPgcJw7zqLEqxIKNBAs7Ls8by3yFsL
86
+ PQwERa/0jfCl1M6kb9XQNpQa2pw6ANUsWKTDpUJn2wZ+9N3F1RaDwzMWyH5lRVmK
87
+ M0qoTfdjpSg5Jwgd75taWt4bxGJWeflSSv8z5R0BAoGAWL8c527AbeBvx2tOYKkD
88
+ 2TFranvANNcoMrbeviZSkkGvMNDP3p8b6juJwXOIeWNr8q4vFgCzLmq6d1/9gYm2
89
+ 3XJwwyD0LKlqzkBrrKU47qrnmMosUrIRlrAzd3HbShOptxc6Iz2apSaUDKGKXkaw
90
+ gl5OpEjeliU7Mus0BVS858g=
91
+ -----END PRIVATE KEY-----`};import{Buffer as fS}from"buffer";import ep from"path";var f1="<html><head><title>Happy DOM Virtual Server - 404 Not Found</title></head><body><h1>Happy DOM Virtual Server - 404 Not Found</h1></body></html>",Os=class{static getFilepath(e,t){let r=new it(e).getSettings();if(!r||!r.fetch.virtualServers&&!r.module.resolveNodeModules)return null;if(r.fetch.virtualServers)for(let o of r.fetch.virtualServers){let i=null;if(typeof o.url=="string"){let n=new URL(o.url[o.url.length-1]==="/"?o.url.slice(0,-1):o.url,e.location.origin);t.startsWith(n.href)&&(i=n)}else if(o.url instanceof RegExp){let n=t.match(o.url);n&&(i=new URL(n[0][n[0].length-1]==="/"?n[0].slice(0,-1):n[0],e.location.origin))}if(i){let n=t.slice(i.href.length).split("?")[0].split("#")[0];return ep.join(ep.resolve(o.directory),n.replaceAll("/",ep.sep))}}if(r.module.resolveNodeModules){let o=r.module.resolveNodeModules.url,i=new URL(o[o.length-1]==="/"?o.slice(0,-1):o,e.location.origin);if(t.startsWith(i.href)){let n=t.slice(i.href.length).split("?")[0].split("#")[0];return ep.join(ep.resolve(r.module.resolveNodeModules.directory),n.replaceAll("/",ep.sep))}}return null}static getNotFoundResponse(e){return new e.Response(f1,{status:404,statusText:"Not Found",headers:{"Content-Type":"text/html"}})}static getNotFoundSyncResponse(e,t){return{status:404,statusText:"Not Found",ok:!1,url:t,redirected:!1,headers:new e.Headers({"Content-Type":"text/html"}),body:Buffer.from(f1),[Eo]:null}}};var Bn=class{static getKey(e){return JSON.stringify({url:e.url,destination:e.destination,mode:e.mode,credentialsMode:e.credentialsMode})}};var zP=fS.from(`0\r
92
+ \r
93
+ `),ae,Pt,gb,fb=class fb{constructor(e){s(this,"reject",null);s(this,"resolve",null);s(this,"listeners",{onSignalAbort:this.onSignalAbort.bind(this)});s(this,"isChunkedTransfer",!1);s(this,"isProperLastChunkReceived",!1);s(this,"previousChunk",null);s(this,"nodeRequest",null);s(this,"nodeResponse",null);s(this,"response",null);s(this,"responseHeaders",null);s(this,"interceptor");s(this,"requestHeaders");s(this,"request");s(this,"redirectCount",0);s(this,"disableCache");s(this,"disableSameOriginPolicy");s(this,"disablePreload");x(this,ae);x(this,Pt);x(this,gb,null);w(this,ae,e.browserFrame),w(this,Pt,e.window),w(this,gb,e.unfilteredHeaders??null),this.request=typeof e.url=="string"||e.url instanceof bS?new e.window.Request(e.url,e.init):e.url,e.contentType&&(this.request[Oe]=e.contentType),this.redirectCount=e.redirectCount??0,this.disableCache=e.disableCache??!1,this.disableSameOriginPolicy=e.disableSameOriginPolicy??y(this,ae).page.context.browser.settings.fetch.disableSameOriginPolicy??!1,this.interceptor=y(this,ae).page.context.browser.settings.fetch.interceptor,this.requestHeaders=y(this,ae).page.context.browser.settings.fetch.requestHeaders,this.disablePreload=e.disablePreload??!1}async send(){if(!(this.request instanceof yu)||!(this.request[Ce]instanceof bS))throw new(y(this,Pt)).DOMException("Unknown request object. Request object must be an instance of Request.",A.invalidStateError);if(Ms.prepareRequest(new bS(y(this,Pt).location.href),this.request),this.requestHeaders){for(let t of this.requestHeaders)if(!t.url||(typeof t.url=="string"?t.url.startsWith(this.request.url):this.request.url.match(t.url)))for(let[r,o]of Object.entries(t.headers))this.request.headers.set(r,o)}if(this.interceptor?.beforeAsyncRequest){let t=y(this,ae)[bt].startTask(),r=await this.interceptor.beforeAsyncRequest({request:this.request,window:y(this,Pt)});if(y(this,ae)[bt].endTask(t),r instanceof jo)return r}if(Ri.validateSchema(this.request),this.request.signal[we])throw this.request.signal[ci]!==void 0?this.request.signal[ci]:new(y(this,Pt)).DOMException("signal is aborted without reason",A.abortError);if(this.request[Ce].protocol==="data:"){let t=Nm.parse(this.request.url);this.response=new(y(this,Pt)).Response(t.buffer,{headers:{"Content-Type":t.type}});let r=this.interceptor?.afterAsyncResponse?await this.interceptor.afterAsyncResponse({window:y(this,Pt),response:this.response,request:this.request}):void 0;return r instanceof jo?r:this.response}if(this.request[Ce].protocol==="http:"&&y(this,Pt).location.protocol==="https:")throw new(y(this,Pt)).DOMException(`Mixed Content: The page at '${y(this,Pt).location.href}' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint '${this.request.url}'. This request has been blocked; the content must be served over HTTPS.`,A.securityError);if(!this.disableCache){let t=await this.getCachedResponse();if(t)return t}if(!this.disablePreload){let t=Bn.getKey({url:this.request.url,destination:"fetch",mode:this.request.mode,credentialsMode:this.request.credentials}),r=y(this,Pt).document[xo].get(t);if(r){if(y(this,Pt).document[xo].delete(t),r.response)return r.response;let o=y(this,ae)[bt].startTask(),i=await r.onResponseAvailable();return y(this,ae)[bt].endTask(o),i}}let e=await this.getVirtualServerResponse();if(e)return e;if(!this.disableSameOriginPolicy&&!await this.compliesWithCrossOriginPolicy())throw y(this,ae).page.console.warn(`Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at "${this.request.url}".`),new(y(this,Pt)).DOMException(`Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at "${this.request.url}".`,A.networkError);return await this.sendRequest()}async getCachedResponse(){if(this.disableCache)return null;let e=y(this,ae).page.context.responseCache.get(this.request);if(!e||e.response.waitingForBody)return null;if(e.state===Ba.stale){let r=new(y(this,Pt)).Headers(e.request.headers);if(e.etag)r.set("If-None-Match",e.etag);else{if(!e.lastModified)return null;r.set("If-Modified-Since",new Date(e.lastModified).toUTCString())}let o=new fb({browserFrame:y(this,ae),window:y(this,Pt),url:this.request.url,init:{headers:r,method:e.request.method},disableCache:!0,disableSameOriginPolicy:!0});if(e.etag||!e.staleWhileRevalidate){let i=await o.send(),n=i.status!==304?await i.buffer():null;if(e=y(this,ae).page.context.responseCache.add(this.request,{...i,body:n,waitingForBody:!1}),i.status!==304){let a=new(y(this,Pt)).Response(n,{status:i.status,statusText:i.statusText,headers:i.headers});return a.url=i.url,a[Wi]=e,a}}else o.send().then(i=>{i.buffer().then(n=>{y(this,ae).page.context.responseCache.add(this.request,{...i,body:n,waitingForBody:!1})})})}if(!e||e.response.waitingForBody)return null;let t=new(y(this,Pt)).Response(e.response.body,{status:e.response.status,statusText:e.response.statusText,headers:e.response.headers});return t.url=e.response.url,t[Wi]=e,t}async getVirtualServerResponse(){let e=Os.getFilepath(y(this,Pt),this.request.url);if(!e)return null;let t=y(this,ae)[bt].startTask();if(this.request.method!=="GET"){y(this,ae).page.console.error(`${this.request.method} ${this.request.url} 404 (Not Found)`);let p=Os.getNotFoundResponse(y(this,Pt)),b=this.interceptor?.afterAsyncResponse?await this.interceptor.afterAsyncResponse({window:y(this,Pt),response:await p,request:this.request}):void 0;return y(this,ae)[bt].endTask(t),b instanceof jo?b:p}let r;try{e=(await g1.promises.stat(e)).isDirectory()?qI.join(e,"index.html"):e,r=await g1.promises.readFile(e)}catch{y(this,ae).page.console.error(`${this.request.method} ${this.request.url} 404 (Not Found)`);let b=Os.getNotFoundResponse(y(this,Pt)),d=this.interceptor?.afterAsyncResponse?await this.interceptor.afterAsyncResponse({window:y(this,Pt),response:await b,request:this.request}):void 0;return y(this,ae)[bt].endTask(t),d instanceof jo?d:b}let o=new(y(this,Pt)).ReadableStream({start:p=>{y(this,Pt).queueMicrotask(()=>{p.enqueue(r),p.close()})}}),i=new(y(this,Pt)).Response(o);i[Ct]=r,i[Eo]=e,i.url=this.request.url;let n=this.interceptor?.afterAsyncResponse?await this.interceptor.afterAsyncResponse({window:y(this,Pt),response:await i,request:this.request}):void 0;y(this,ae)[bt].endTask(t);let a=n instanceof jo?n:i,m={...a,body:r,waitingForBody:!1,virtual:!0};return i[Wi]=y(this,ae).page.context.responseCache.add(this.request,m),a}async compliesWithCrossOriginPolicy(){if(this.disableSameOriginPolicy||!Mi.isCORS(y(this,Pt).location.href,this.request[Ce]))return!0;let e=y(this,ae).page.context.preflightResponseCache.get(this.request);if(e)return!(e.allowOrigin!=="*"&&e.allowOrigin!==y(this,Pt).location.origin||e.allowMethods.length!==0&&!e.allowMethods.includes(this.request.method));let t=[];for(let[m]of this.request.headers)t.push(m.toLowerCase());let r=new(y(this,Pt)).Headers({"Access-Control-Request-Method":this.request.method,Origin:y(this,Pt).location.origin});t.length>0&&r.set("Access-Control-Request-Headers",t.slice().sort().join(","));let i=await new fb({browserFrame:y(this,ae),window:y(this,Pt),url:this.request.url,init:{method:"OPTIONS"},disableCache:!0,disableSameOriginPolicy:!0,unfilteredHeaders:r}).send();if(!i.ok)return!1;let n=i.headers.get("Access-Control-Allow-Origin");if(!n||n!=="*"&&n!==y(this,Pt).location.origin)return!1;let a=[];if(i.headers.has("Access-Control-Allow-Methods")){let m=i.headers.get("Access-Control-Allow-Methods");if(m!=="*")for(let p of m.split(","))a.push(p.trim().toUpperCase())}return!(a.length!==0&&!a.includes(this.request.method))}sendRequest(){return new Promise((e,t)=>{let r=y(this,ae)[bt].startTask(()=>this.onAsyncTaskManagerAbort());if(this.resolve)throw new(y(this,Pt)).Error("Fetch already sent.");this.resolve=async i=>{!this.disableCache&&i instanceof jo&&y(this,ae).page&&y(this,ae).page.context&&(i[Wi]=y(this,ae).page.context.responseCache.add(this.request,{...i,headers:this.responseHeaders,body:i[Ct],waitingForBody:!i[Ct]&&!!i.body}));let n=this.interceptor?.afterAsyncResponse?await this.interceptor.afterAsyncResponse({window:y(this,Pt),response:await i,request:this.request}):void 0;y(this,ae)[bt].endTask(r);let a=n instanceof jo?n:i;a instanceof jo&&!a.ok&&y(this,ae).page.console.error(`${this.request.method} ${this.request.url} ${a.status} (${a.statusText})`),e(a)},this.reject=i=>{y(this,ae)[bt].endTask(r),t(i)},this.request.signal.addEventListener("abort",this.listeners.onSignalAbort);let o=(this.request[Ce].protocol==="https:"?HI:GI).request;this.nodeRequest=o(this.request[Ce].href,{method:this.request.method,headers:Rs.getRequestHeaders({browserFrame:y(this,ae),window:y(this,Pt),request:this.request,baseHeaders:y(this,gb)}),agent:!1,rejectUnauthorized:!y(this,ae).page.context.browser.settings.fetch.disableStrictSSL,key:this.request[Ce].protocol==="https:"?tp.key:void 0,cert:this.request[Ce].protocol==="https:"?tp.cert:void 0}),this.nodeRequest.on("error",this.onError.bind(this)),this.nodeRequest.on("socket",this.onSocket.bind(this)),this.nodeRequest.on("response",this.onResponse.bind(this)),this.request.body===null?this.nodeRequest.end():Fl.pipeline(this.request.body,this.nodeRequest,i=>{i&&this.onError(i)})})}onSocket(e){let t=()=>{if(this.isChunkedTransfer&&!this.isProperLastChunkReceived){let o=new(y(this,Pt)).DOMException("Premature close.",A.networkError);this.request[pr]=o,this.response&&(this.response[pr]=o,this.response.body&&!this.response.body.locked&&this.response.body.cancel(o))}},r=o=>{this.isProperLastChunkReceived=fS.compare(o.slice(-5),zP)===0,!this.isProperLastChunkReceived&&this.previousChunk&&(this.isProperLastChunkReceived=fS.compare(this.previousChunk.slice(-3),zP.slice(0,3))===0&&fS.compare(o.slice(-2),zP.slice(3))===0),this.previousChunk=o};e.prependListener("close",t),e.on("data",r),this.nodeRequest.on("close",()=>{e.removeListener("close",t),e.removeListener("data",r)})}onSignalAbort(e){this.finalizeRequest(),this.abort(e.target?.reason)}onError(e){this.finalizeRequest(),y(this,ae).page.console.error(e),this.reject(new(y(this,Pt)).DOMException(`Failed to execute "fetch()" on "Window" with URL "${this.request.url}": ${e.message}`,A.networkError))}onAsyncTaskManagerAbort(){let e=new(y(this,Pt)).DOMException("The operation was aborted.",A.abortError);this.request[we]=!0,this.request[pr]=e,this.response&&(this.response[we]=!0,this.response[pr]=e),this.listeners.onSignalAbort&&this.request.signal.removeEventListener("abort",this.listeners.onSignalAbort),this.nodeRequest&&!this.nodeRequest.destroyed&&this.nodeRequest.destroy(e),this.nodeResponse&&!this.nodeResponse.destroyed&&this.nodeResponse.destroy(e),this.response&&this.response.body&&(this.response.body.locked||this.response.body.cancel(e))}onResponse(e){if(this.isChunkedTransfer=e.headers["transfer-encoding"]==="chunked"&&!e.headers["content-length"],this.nodeRequest.setTimeout(0),this.responseHeaders=km.parseResponseHeaders({browserFrame:y(this,ae),requestURL:this.request[Ce],rawHeaders:e.rawHeaders}),this.handleRedirectResponse(e,this.responseHeaders))return;e.once("end",()=>this.request.signal.removeEventListener("abort",this.listeners.onSignalAbort));let t=Fl.pipeline(e,new Fl.PassThrough,i=>{}),r={status:e.statusCode,statusText:e.statusMessage,headers:this.responseHeaders},o=this.responseHeaders.get("Content-Encoding");if(this.request.method==="HEAD"||o===null||e.statusCode===204||e.statusCode===304){this.response=new(y(this,Pt)).Response(cr.nodeToWebStream(t),r),this.response.redirected=this.redirectCount>0,this.response.url=this.request.url,this.resolve(this.response);return}if(o==="gzip"||o==="x-gzip"){let i={flush:rp.constants.Z_SYNC_FLUSH,finishFlush:rp.constants.Z_SYNC_FLUSH};t=Fl.pipeline(t,rp.createGunzip(i),n=>{}),this.response=new(y(this,Pt)).Response(cr.nodeToWebStream(t),r),this.response.redirected=this.redirectCount>0,this.response.url=this.request.url,this.resolve(this.response);return}if(o==="deflate"||o==="x-deflate"){let i=Fl.pipeline(e,new Fl.PassThrough,n=>{});i.on("data",n=>{(n[0]&15)===8?t=Fl.pipeline(t,rp.createInflate(),a=>{}):t=Fl.pipeline(t,rp.createInflateRaw(),a=>{}),this.response=new(y(this,Pt)).Response(cr.nodeToWebStream(t),r),this.response.redirected=this.redirectCount>0,this.response.url=this.request.url,this.resolve(this.response)}),i.on("end",()=>{this.response||(this.response=new(y(this,Pt)).Response(cr.nodeToWebStream(t),r),this.response.redirected=this.redirectCount>0,this.response.url=this.request.url,this.resolve(this.response))});return}if(o==="br"){t=Fl.pipeline(t,rp.createBrotliDecompress(),i=>{}),this.response=new(y(this,Pt)).Response(cr.nodeToWebStream(t),r),this.response.redirected=this.redirectCount>0,this.response.url=this.request.url,this.resolve(this.response);return}this.response=new(y(this,Pt)).Response(cr.nodeToWebStream(t),r),this.response.redirected=this.redirectCount>0,this.response.url=this.request.url,this.resolve(this.response)}handleRedirectResponse(e,t){if(!Dl.isRedirect(e.statusCode))return!1;switch(this.request.redirect){case"error":return this.finalizeRequest(),this.reject(new(y(this,Pt)).DOMException(`URI requested responds with a redirect, redirect mode is set to "error": ${this.request.url}`,A.abortError)),!0;case"manual":return!1;case"follow":let r=t.get("Location"),o=e.statusCode===303||(e.statusCode===301||e.statusCode===302)&&this.request.method==="POST",i=null;if(r!==null)try{i=new bS(r,this.request.url)}catch{return this.finalizeRequest(),this.reject(new(y(this,Pt)).DOMException(`URI requested responds with an invalid redirect URL: ${r}`,A.uriMismatchError)),!0}if(i===null)return!1;if(Dl.isMaxRedirectsReached(this.redirectCount))return this.finalizeRequest(),this.reject(new(y(this,Pt)).DOMException(`Maximum redirects reached at: ${this.request.url}`,A.networkError)),!0;let n=new(y(this,Pt)).Headers(this.request.headers),a={method:this.request.method,signal:this.request.signal,referrer:this.request.referrer,referrerPolicy:this.request.referrerPolicy,credentials:this.request.credentials,headers:n,body:this.request[fs]};if((this.request.credentials==="omit"||this.request.credentials==="same-origin"&&Mi.isCORS(y(this,Pt).location.href,i))&&(n.delete("cookie"),n.delete("cookie2")),this.request.signal[we])return this.abort(this.request.signal[ci]),!0;o&&(a.method="GET",a.body=void 0,n.delete("Content-Length"),n.delete("Content-Type"));let m=Ms.getReferrerPolicyFromHeader(n);m&&(a.referrerPolicy=m);let p=new fb({browserFrame:y(this,ae),window:y(this,Pt),url:i,init:a,redirectCount:this.redirectCount+1,disableSameOriginPolicy:this.disableSameOriginPolicy,contentType:o?null:this.request[Oe]});return this.finalizeRequest(),p.send().then(b=>this.resolve(b)).catch(b=>this.reject(b)),!0;default:return this.finalizeRequest(),this.reject(new(y(this,Pt)).DOMException(`Redirect option '${this.request.redirect}' is not a valid value of IRequestRedirect`)),!0}}finalizeRequest(){this.request.signal.removeEventListener("abort",this.listeners.onSignalAbort),this.nodeRequest?.destroy()}abort(e){let t=new(y(this,Pt)).DOMException("The operation was aborted."+(e?" "+e.toString():""),A.abortError);this.request[we]=!0,this.request[pr]=t,this.response&&(this.response[we]=!0,this.response[pr]=t),this.nodeRequest&&!this.nodeRequest.destroyed&&this.nodeRequest.destroy(t),this.nodeResponse&&!this.nodeResponse.destroyed&&this.nodeResponse.destroy(t),this.response&&this.response.body&&(this.response.body.locked||this.response.body.cancel(t)),this.reject&&this.reject(e!==void 0?e:t)}};ae=new WeakMap,Pt=new WeakMap,gb=new WeakMap;var zo=fb;var XP;(function(l){l.auto="auto",l.manual="manual"})(XP||(XP={}));var is=XP;import{URL as YP}from"url";var vo=class{static getRelativeURL(e,t){if(t=t?String(t):"about:blank",t.startsWith("about:")||t.startsWith("javascript:"))return new YP(t);try{return new YP(t,e.window.location.href)}catch{return new YP("about:blank")}}};var Ir,ho,Mm=class{constructor(e,t){x(this,Ir);x(this,ho);if(!e)throw new TypeError("Illegal constructor");w(this,Ir,e),w(this,ho,t)}get length(){return y(this,Ir)?.[je].items.length||0}get state(){return y(this,Ir)?.[je].currentItem.state||null}get scrollRestoration(){return y(this,Ir)?.[je].currentItem.scrollRestoration||is.auto}set scrollRestoration(e){switch(e){case is.auto:case is.manual:let t=y(this,Ir)?.[je].currentItem;t&&(t.scrollRestoration=e);break}}back(){y(this,ho).closed||y(this,Ir)?.goBack()}forward(){y(this,ho).closed||y(this,Ir)?.goForward()}go(e){y(this,ho).closed||y(this,Ir)?.goSteps(e)}pushState(e,t,r){if(!y(this,Ir)||y(this,ho).closed)return;let o=y(this,Ir)?.[je];if(!o)return;if(arguments.length<2)throw new(y(this,ho)).TypeError(`Failed to execute 'pushState' on 'History': 2 arguments required, but only ${arguments.length} present.`);let i=y(this,ho)[ai],n=r?vo.getRelativeURL(y(this,Ir),r):i;if(r&&n.origin!==i.origin)throw new(y(this,ho)).DOMException(`Failed to execute 'pushState' on 'History': A history state object with URL '${r.toString()}' cannot be created in a document with origin '${i.origin}' and URL '${i.href}'.`,A.securityError);o.currentItem.popState=!0,o.push({title:y(this,ho).document.title,href:n.href,state:e,popState:!0,scrollRestoration:o.currentItem.scrollRestoration,method:o.currentItem.method||"GET",formData:o.currentItem.formData||null}),i[ao](y(this,Ir),o.currentItem.href)}replaceState(e,t,r){if(!y(this,Ir)||y(this,ho).closed)return;let o=y(this,Ir)?.[je];if(!o)return;if(arguments.length<2)throw new(y(this,ho)).TypeError(`Failed to execute 'pushState' on 'History': 2 arguments required, but only ${arguments.length} present.`);let i=y(this,ho)[ai],n=r?vo.getRelativeURL(y(this,Ir),r):i;if(r&&n.origin!==i.origin)throw new(y(this,ho)).DOMException(`Failed to execute 'pushState' on 'History': A history state object with URL '${r.toString()}' cannot be created in a document with origin '${i.origin}' and URL '${i.href}'.`,A.securityError);o.replace({title:y(this,ho).document.title,href:n.href,state:e,popState:o.currentItem.popState,scrollRestoration:o.currentItem.scrollRestoration,method:o.currentItem.method,formData:o.currentItem.formData}),r&&i[ao](y(this,Ir),o.currentItem.href)}[ue](){w(this,Ir,null)}};Ir=new WeakMap,ho=new WeakMap;var gS,SS,op=class{constructor(e,t){x(this,gS);x(this,SS);w(this,gS,e),w(this,SS,t||{})}observe(e){}disconnect(){}unobserve(e){}takeRecords(){return[]}};gS=new WeakMap,SS=new WeakMap;var ip=class{constructor(e){s(this,"boundingClientRect",null);s(this,"intersectionRatio",0);s(this,"intersectionRect",null);s(this,"isIntersecting",!1);s(this,"rootBounds",null);s(this,"target",null);s(this,"time",0);Object.assign(this,e)}};var S1,nr,De,pu,sp,Rm=class{constructor(e,t){s(this,S1,"Location");x(this,nr);x(this,De);x(this,pu,null);x(this,sp,[]);if(!e)throw new TypeError("Illegal constructor");w(this,nr,e),w(this,De,new URL(t))}get hash(){return y(this,De).hash}set hash(e){let t=y(this,nr)?.[je];if(!t||!y(this,nr))return;let r=new URL(y(this,De).href),o=y(this,De).hash;r.hash=e,r.hash!==o&&(t.currentItem.popState=!0,t.push({title:"",href:r.href,state:t.currentItem.state,popState:!0,scrollRestoration:is.manual,method:t.currentItem.method,formData:t.currentItem.formData||null}),this[ao](y(this,nr),r.href))}get host(){return y(this,De).host}set host(e){let t=new URL(y(this,De).href);t.host=e,this.href=t.href}get hostname(){return y(this,De).hostname}set hostname(e){let t=new URL(y(this,De).href);t.hostname=e,this.href=t.href}get href(){return y(this,De).href}set href(e){y(this,nr)&&y(this,nr).goto(e).catch(t=>{if(y(this,nr)?.page?.console)y(this,nr).page.console.error(t);else throw t})}get origin(){return y(this,De).origin}get pathname(){return y(this,De).pathname}set pathname(e){let t=new URL(y(this,De).href);t.pathname=e,this.href=t.href}get port(){return y(this,De).port}set port(e){let t=new URL(y(this,De).href);t.port=e,this.href=t.href}get protocol(){return y(this,De).protocol}set protocol(e){let t=new URL(y(this,De).href);t.protocol=e,this.href=t.href}get search(){return y(this,De).search}set search(e){let t=new URL(y(this,De).href);t.search=e,this.href=t.href}replace(e){this.href=String(e)}assign(e){this.href=String(e)}reload(){y(this,nr)&&y(this,nr).goto(this.href).catch(e=>{if(y(this,nr)?.page.console)y(this,nr).page.console.error(e);else throw e})}[(S1=Symbol.toStringTag,ao)](e,t){if(!y(this,nr))return;if(y(this,nr)!==e)throw new Error("Failed to set URL. Browser frame mismatch.");let r=y(this,De).href,o=y(this,De).hash;if(y(this,De).href=t,y(this,De).hash!==o){let i=y(this,De).href;y(this,sp).push(new nu("hashchange",{oldURL:r,newURL:i})),y(this,nr)?.window?.document?.[mo](),y(this,pu)&&y(this,nr).window?.clearTimeout(y(this,pu)),w(this,pu,y(this,nr).window?.setTimeout(()=>{let n=y(this,sp);w(this,sp,[]);for(let a of n)y(this,nr)?.window?.dispatchEvent(a)}))}}[ue](){y(this,pu)&&y(this,nr)?.window?.clearTimeout(y(this,pu)),w(this,nr,null)}toString(){return y(this,De).toString()}};nr=new WeakMap,De=new WeakMap,pu=new WeakMap,sp=new WeakMap;var Xo=class{constructor(e){s(this,"type");s(this,"target");s(this,"addedNodes");s(this,"removedNodes");s(this,"previousSibling");s(this,"nextSibling");s(this,"attributeName");s(this,"attributeNamespace");s(this,"oldValue");this.type=e.type,this.target=e.target,this.addedNodes=e.addedNodes||[],this.removedNodes=e.removedNodes||[],this.previousSibling=e.previousSibling||null,this.nextSibling=e.nextSibling||null,this.attributeName=e.attributeName||null,this.attributeNamespace=e.attributeNamespace||null,this.oldValue=e.oldValue||null}};var Sb=class{constructor(e,t,r,o){s(this,"description");s(this,"enabledPlugin");s(this,"suffixes");s(this,"type");this.description=e,this.enabledPlugin=t,this.suffixes=r,this.type=o}toString(){return"[object MimeType]"}};var Om=class{constructor(e){s(this,"length");for(let t=0,r=e.length;t<r;t++)this[t]=e[t],this[e[t].type]=e[t];this.length=e.length}item(e){return this[e]||null}namedItem(e){return this[e]||null}toString(){return"[object MimeTypeArray]"}};var Vm=class{constructor(e){s(this,"length");for(let t=0,r=e.length;t<r;t++)this[t]=e[t],this[e[t].name]=e[t];this.length=e.length}item(e){return this[e]||null}namedItem(e){return this[e]||null}refresh(){}toString(){return"[object PluginArray]"}};var KP;(function(l){l.geolocation="geolocation",l.notifications="notifications",l.push="push",l.midi="midi",l.camera="camera",l.microphone="microphone",l.backgroundFetch="background-fetch",l.backgroundSync="background-sync",l.persistentStorage="persistent-storage",l.ambientLightSensor="ambient-light-sensor",l.accelerometer="accelerometer",l.gyroscope="gyroscope",l.magnetometer="magnetometer",l.screenWakeLock="screen-wake-lock",l.nfc="nfc",l.displayCapture="display-capture",l.accessibilityEvents="accessibility-events",l.clipboardRead="clipboard-read",l.clipboardWrite="clipboard-write",l.paymentHandler="payment-handler",l.idleDetection="idle-detection",l.periodicBackgroundSync="periodic-background-sync",l.systemWakeLock="system-wake-lock",l.storageAccess="storage-access",l.windowManagement="window-management",l.windowPlacement="window-placement",l.localFonts="local-fonts",l.topLevelStorageAccess="top-level-storage-access"})(KP||(KP={}));var P1=KP;var Im,Pb,cu=class{constructor(e){x(this,Im,{});x(this,Pb);e?.document||new TypeError("Invalid constructor"),w(this,Pb,e)}async query(e){let t=e?.name;if(t&&y(this,Im)[t])return y(this,Im)[t];if(!Object.values(P1).includes(t))throw new Error(`Failed to execute 'query' on 'Permissions': Failed to read the 'name' property from 'PermissionDescriptor': The provided value '${t}' is not a valid enum value of type PermissionName.`);return y(this,Im)[t]=new(y(this,Pb)).PermissionStatus("granted"),y(this,Im)[t]}};Im=new WeakMap,Pb=new WeakMap;var Dm,wb,xb,np=class{constructor(e){x(this,Dm);x(this,wb);x(this,xb);if(!e)throw new TypeError("Invalid constructor");w(this,Dm,e),w(this,wb,new qa(e)),w(this,xb,new cu(e))}get cookieEnabled(){return!0}get credentials(){return null}get geolocation(){return null}get language(){return"en-US"}get languages(){return["en-US","en"]}get locks(){return null}get maxTouchPoints(){return new it(y(this,Dm)).getSettings()?.navigator.maxTouchPoints||0}get hardwareConcurrency(){return 8}get appCodeName(){return"Mozilla"}get appName(){return"Netscape"}get appVersion(){let e=this.userAgent,t=e.indexOf("/");return t>-1?e.substring(t+1):""}get platform(){let e=this.userAgent,t=e.indexOf("("),r=e.indexOf(")");return t>-1&&r>-1?e.substring(t+1,r):""}get product(){return"Gecko"}get productSub(){return"20100101"}get vendor(){return""}get vendorSub(){return""}get userAgent(){return new it(y(this,Dm)).getSettings()?.navigator.userAgent||""}get onLine(){return!0}get permissions(){return y(this,xb)}get clipboard(){return y(this,wb)}get webdriver(){return!0}get doNotTrack(){return"unspecified"}get mimeTypes(){return new Om([])}get plugins(){return new Vm([])}sendBeacon(e,t){return y(this,Dm).fetch(e,{method:"POST",body:t}),!0}toString(){return"[object Navigator]"}};Dm=new WeakMap,wb=new WeakMap,xb=new WeakMap;var Eb=class{constructor(e,t,r,o){s(this,"length",0);s(this,"description");s(this,"filename");s(this,"name");this.description=t,this.filename=r,this.name=o;for(let i=0,n=e.length;i<n;i++)this[i]=e[i],this[e[i].type]=e[i];this.length=e.length}item(e){return this[e]||null}namedItem(e){return this[e]||null}toString(){return"[object Plugin]"}};var JP;(function(l){l[l.disconnect=1]="disconnect",l[l.preceding=2]="preceding",l[l.following=4]="following",l[l.contains=8]="contains",l[l.containedBy=16]="containedBy",l[l.implementationSpecific=32]="implementationSpecific"})(JP||(JP={}));var Vi=JP;var wt=class l{static isTextNode(e){return e?.[U]===M.textNode}static isInclusiveAncestor(e,t,r=!1){if(e===null||t===null)return!1;if(e===t)return!0;if(!e[$].length||r&&t[nt]!==e[nt])return!1;if(r&&e===t[T]&&t[nt])return!0;let o=t[W];for(;o;){if(e===o)return!0;o=o[W]?o[W]:r&&o.host?o.host:null}return!1}static isFollowing(e,t){if(e===t)return!1;let r=t;for(;r;)if(r=this.following(r),r===e)return!0;return!1}static getNodeLength(e){switch(e[U]){case M.documentTypeNode:return 0;case M.textNode:case M.processingInstructionNode:case M.commentNode:return e.data.length;default:return e[$].length}}static following(e,t){let r=e.firstChild;if(r)return r;let o=e;for(;o;){if(o===t)return null;let i=o.nextSibling;if(i)return i;o=o[W]}return null}static nextDescendantNode(e){for(;e&&!e.nextSibling;)e=e[W];return e?e.nextSibling:null}static attributeListsEqual(e,t){let r=Array.from(e[St][Y].values()),o=Array.from(t[St][Y].values());for(let i of r){let n=!1;for(let a of o)if(i[rt]===a[rt]&&i.localName===a.localName&&i[Z]===a[Z]){n=!0;break}if(!n)return!1}return!0}static isEqualNode(e,t){if(e[U]!==t[U])return!1;switch(e[U]){case M.documentTypeNode:let r=e,o=t;if(r.name!==o.name||r.publicId!==o.publicId||r.systemId!==o.systemId)return!1;break;case M.elementNode:let i=e,n=t;if(i[rt]!==n[rt]||i[Vt]!==n[Vt]||i[dt]!==n[dt]||i[St][Y].size!==n[St][Y].size)return!1;break;case M.attributeNode:let a=e,m=t;if(a[rt]!==m[rt]||a.localName!==m.localName||a[Z]!==m[Z])return!1;break;case M.processingInstructionNode:let p=e,b=t;if(p.target!==b.target||p.data!==b.data)return!1;break;case M.textNode:case M.commentNode:let d=e,f=t;if(d.data!==f.data)return!1;break}if(e[U]===M.elementNode&&!l.attributeListsEqual(e,t)||e[$].length!==t[$].length)return!1;for(let r=0;r<e[$].length;r++){let o=e[$][r],i=t[$][r];if(!l.isEqualNode(o,i))return!1}return!0}};var ZP;(function(l){l.attributes="attributes",l.characterData="characterData",l.childList="childList"})(ZP||(ZP={}));var ss=ZP;var Fe=class{static createNode(e,t,...r){return t.prototype[u]||this.ownerDocuments.push(e),new t(...r)}static pullOwnerDocument(){return this.ownerDocuments.pop()||null}};s(Fe,"ownerDocuments",[]);var w1,x1,E1,v1,A1,T1,N1,L1,C1,k1,M1,R1,O1,V1,ve=class ve extends _t{constructor(){super();s(this,V1,!1);s(this,O1,null);s(this,R1,null);s(this,M1,null);s(this,k1,null);s(this,C1,null);s(this,L1,null);s(this,N1,[]);s(this,T1,[]);s(this,A1,[]);s(this,v1,null);s(this,E1,null);s(this,x1,{querySelector:new Map,querySelectorAll:new Map,matches:new Map,elementsByTagName:new Map,elementsByTagNameNS:new Map,elementByTagName:new Map,elementById:new Map,computedStyle:null});s(this,w1,[]);if(this[u])this[T]=this[u].document;else{let t=Fe.pullOwnerDocument();if(!t)throw new TypeError("Illegal constructor");this[T]=t,this[u]=t[u]}}get[(V1=nt,O1=W,R1=Ve,M1=Br,k1=Pr,C1=Bt,L1=We,N1=ni,T1=$,A1=ft,v1=ul,E1=Zi,x1=q,w1=rr,Symbol.toStringTag)](){return this.constructor.name}get isConnected(){return this[nt]}get ownerDocument(){return this[T]}get parentNode(){return this[W]}get nodeType(){return this[U]}get childNodes(){return this[ul]||(this[ul]=new ki(c,this[$])),this[ul]}get textContent(){return""}set textContent(t){}get nodeValue(){return null}set nodeValue(t){}get nodeName(){return""}get previousSibling(){if(this[W]){let t=this[W][$],r=t.indexOf(this[Ut]||this);if(r>0)return t[r-1]}return null}get nextSibling(){if(this[W]){let t=this[W][$],r=t.indexOf(this[Ut]||this);if(r>-1&&r+1<t.length)return t[r+1]}return null}get firstChild(){let t=this[$];return t.length>0?t[0]:null}get lastChild(){let t=this[$];return t.length>0?t[t.length-1]:null}get parentElement(){let t=this[W];for(;t&&t[U]!==M.elementNode;)t=t[W];return t}get baseURI(){let t=this[T].querySelector("base");return t?t.href:this[u].location.href}hasChildNodes(){return this[$].length>0}contains(t){if(t===void 0)return!1;let r=this[Ut]||this;return wt.isInclusiveAncestor(r,t)}getRootNode(t){if(this[nt])return this[Ve]&&!t?.composed?this[Ve]:this[T];let r=this;for(;r[W];)r=r[W];return r}cloneNode(t=!1){return this[ct](t)}appendChild(t){if(arguments.length<1)throw new this[u].TypeError("Failed to execute 'appendChild' on 'Node': 1 argument required, but only 0 present");return this[Et](t)}removeChild(t){if(arguments.length<1)throw new this[u].TypeError("Failed to execute 'removeChild' on 'Node': 1 argument required, but only 0 present");return this[Rr](t)}insertBefore(t,r){if(arguments.length<2)throw new this[u].TypeError(`Failed to execute 'insertBefore' on 'Node': 2 arguments required, but only ${arguments.length} present.`);return this[uo](t,r)}replaceChild(t,r){if(arguments.length<2)throw new this[u].TypeError(`Failed to execute 'replaceChild' on 'Node': 2 arguments required, but only ${arguments.length} present.`);return this[Ny](t,r)}[ct](t=!1){let r=Fe.createNode(this[T],this.constructor);if(r[$].length){let o=r[$];for(;o.length;)r.removeChild(o[0])}if(t)for(let o of this[$]){let i=o.cloneNode(!0);i[W]=r,r[$].push(i),i[U]===M.elementNode&&r[ft].push(i)}return r}[Et](t,r=!1){t[Ut]&&(t=t[Ut]);let o=this[Ut]||this;if(!r){if(t===o)throw new this[u].DOMException("Failed to execute 'appendChild' on 'Node': Not possible to append a node as a child of itself.");if(wt.isInclusiveAncestor(t,o,!0))throw new this[u].DOMException("Failed to execute 'appendChild' on 'Node': The new node is a parent of the node to insert to.",A.domException)}if(t[U]===M.documentFragmentNode){let i=t[$];for(;i.length;)this.appendChild(i[0]);return t}t[W]&&t[W][Rr](t),t[W]=o,t[mo](),this[$].push(t),t[U]===M.elementNode&&this[ft].push(t),t[Lo]();for(let i of this[ni])i.options?.subtree&&i.callback.deref()&&t[rm](i);return this[en](new Xo({target:o,type:ss.childList,addedNodes:[t]})),t}[Rr](t){t[Ut]&&(t=t[Ut]);let r=this[$].indexOf(t);if(r===-1)throw new this[u].DOMException("Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.");let o=t.previousSibling,i=t.nextSibling;if(t[W]=null,t[mo](),this[$].splice(r,1),t[U]===M.elementNode){let n=this[ft].indexOf(t);n!==-1&&this[ft].splice(n,1)}if(t[Zi]){let n=t[Zi][ln].indexOf(t);n!==-1&&t[Zi][ln].splice(n,1),t[Zi]=null}t[Zs]();for(let n of this[ni])n.options?.subtree&&n.callback.deref()&&t[Ey](n);return this[en](new Xo({target:this[Ut]||this,type:ss.childList,removedNodes:[t],previousSibling:o,nextSibling:i})),t}[uo](t,r,o=!1){if(t[Ut]&&(t=t[Ut]),r&&r[Ut]&&(r=r[Ut]),t===r)return t;let i=this[Ut]||this;if(!o){if(t===i)throw new this[u].DOMException("Failed to execute 'insertBefore' on 'Node': Not possible to insert a node as a child of itself.");if(wt.isInclusiveAncestor(t,i,!0))throw new this[u].DOMException("Failed to execute 'insertBefore' on 'Node': The new node is a parent of the node to insert to.",A.domException)}if(t[U]===M.documentFragmentNode){let m=t[$];for(;m.length>0;)this[uo](m[0],r,!0);return t}if(!r)return this[Et](t,!0),t;let n=this[$];if(!n.includes(r))throw new this[u].DOMException("Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.");t[W]&&t[W][Rr](t),t[W]=i,t[mo]();let a=n.indexOf(r);if(t[U]===M.elementNode){let m=this[ft];if(r[U]===M.elementNode)m.splice(m.indexOf(r),0,t);else{let p=!1;for(let b=a,d=n.length;b<d;b++)if(n[b][U]===M.elementNode){m.splice(m.indexOf(n[b]),0,t),p=!0;break}p||m.push(t)}}n.splice(a,0,t),t[Lo]();for(let m of this[ni])m.options?.subtree&&m.callback.deref()&&t[rm](m);return this[en](new Xo({target:i,type:ss.childList,addedNodes:[t]})),t}[Ny](t,r){return this.insertBefore(t,r),this.removeChild(r),r}isEqualNode(t){return wt.isEqualNode(this,t)}toString(){return`[object ${this.constructor.name}]`}[rm](t){if(this[ni].push(t),t.options.subtree)for(let r of this[$])r[rm](t)}[Ey](t){let r=this[ni].indexOf(t);if(r!==-1&&this[ni].splice(r,1),t.options.subtree)for(let o of this[$])o[Ey](t)}[en](t){this[mo]();let r=this[ni];if(r.length)for(let o=0,i=r.length;o<i;o++){let n=r[o],a=n.callback.deref();if(a)switch(t.type){case ss.childList:n.options.childList&&a(t);break;case ss.attributes:n.options.attributes&&(!n.options.attributeFilter||n.options.attributeFilter.includes(t.attributeName))&&a(t);break;case ss.characterData:n.options?.characterData&&a(t);break}else r.splice(o,1),o--,i--}}[mo](){let t=this[q];if(t.querySelector.size){for(let i of t.querySelector.values())i.result&&(i.result=null);t.querySelector=new Map}if(t.querySelectorAll.size){for(let i of t.querySelectorAll.values())i.result&&(i.result=null);t.querySelectorAll=new Map}if(t.matches.size){for(let i of t.matches.values())i.result&&(i.result=null);t.matches=new Map}if(t.elementsByTagName.size){for(let i of t.elementsByTagName.values())i.result&&(i.result=null);t.elementsByTagName=new Map}if(t.elementsByTagNameNS.size){for(let i of t.elementsByTagNameNS.values())i.result&&(i.result=null);t.elementsByTagNameNS=new Map}if(t.elementByTagName.size){for(let i of t.elementByTagName.values())i.result&&(i.result=null);t.elementByTagName=new Map}if(t.elementById.size){for(let i of t.elementById.values())i.result&&(i.result=null);t.elementById=new Map}let r=this[rr];if(r.length){for(let i of r)i.result=null;this[rr]=[]}let o=this[T];if(o&&o[xs].length){for(let i of o[xs])i.result=null;o[xs]=[]}}[Lo](){let t=this[W],r=t||this[La],o=!1,i=!1;if(!this[nt]&&r[nt]?(this[nt]=!0,o=!0):this[nt]&&!r[nt]&&(this[nt]=!1,i=!0),this[T]=r[T]||r,this[u]=r[u]||r[Po],t){this[U]!==M.documentFragmentNode&&(this[Ve]=t[Ve]);let a=this[tt];t[Br]&&a!=="STYLE"&&(this[Br]=t[Br]),t[Pr]&&a!=="TEXTAREA"&&(this[Pr]=t[Pr]),t[Bt]&&a!=="FORM"&&(this[Bt]=t[Bt]),t[We]&&a!=="SELECT"&&(this[We]=t[We])}let n=this[$];for(let a=0,m=n.length;a<m;a++)n[a][W]=this,n[a][Lo]();this[Le]&&this[Le][Lo](),o?this[kr]():i&&this[Mr]()}[Zs](){this[U]!==M.documentFragmentNode&&(this[Ve]=null);let t=this[tt];t!=="STYLE"&&(this[Br]=null),t!=="TEXTAREA"&&(this[Pr]=null),t!=="FORM"&&(this[Bt]=null),t!=="SELECT"&&(this[We]=null),this[nt]&&(this[nt]=!1,this[Mr]());let r=this[$];for(let o=0,i=r.length;o<i;o++)r[o][Lo]();this[Le]&&this[Le][Zs]()}[kr](){this[Le]&&this[Le][kr]()}[Mr](){this[T][$e]===this&&(this[T][mo](),this[T][$e]=null),this[Le]&&this[Le][Mr]()}[ue](){for(super[ue](),this[nt]=!1;this[$].length>0;){let t=this[$][this[$].length-1];t.disconnectedCallback&&delete t.disconnectedCallback,this[Rr](t),t[ue]()}this[W]=null,this[Ve]=null,this[Br]=null,this[Pr]=null,this[Bt]=null,this[We]=null,this[ni]=[],this[$]=[],this[ft]=[],this[ul]=null,this[Zi]=null,this[mo]()}compareDocumentPosition(t){if(this===t)return 0;let r=t,o=this[Ut]||this,i=null,n=null;if(r[U]===M.attributeNode&&(i=r,r=i[At]),o[U]===M.attributeNode&&(n=o,o=n[At],i!==null&&r!==null&&o===r))for(let te of o[St][Y].values()){if(wt.isEqualNode(te,i))return ve.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC|ve.DOCUMENT_POSITION_PRECEDING;if(wt.isEqualNode(te,n))return ve.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC|ve.DOCUMENT_POSITION_FOLLOWING}let a=[],m=o;for(;m;){if(m===r)return ve.DOCUMENT_POSITION_CONTAINS|ve.DOCUMENT_POSITION_PRECEDING;a.push(m),m=m[W]}let p=[],b=r;for(;b;){if(b===o)return ve.DOCUMENT_POSITION_CONTAINED_BY|ve.DOCUMENT_POSITION_FOLLOWING;p.push(b),b=b[W]}let d=(te,Lt)=>te[te.length-1-Lt],f=d(a,0);if(!f||f!==d(p,0))return ve.DOCUMENT_POSITION_DISCONNECTED|ve.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC|ve.DOCUMENT_POSITION_FOLLOWING;let v=0,C=Math.min(a.length,p.length);for(let te=0;te<C;++te){let Lt=d(a,te),er=d(p,te);if(Lt!==er)break;v=te}let L=d(a,v),j=0,et=-1,J=-1,ht=d(a,v+1),$t=d(p,v+1),Nt=te=>{for(let Lt of te){if(Nt(Lt[$]),Lt===ht?et=j:Lt===$t&&(J=j),et!==-1&&J!==-1)break;j++}};return Nt(L[$]),J<et?ve.DOCUMENT_POSITION_PRECEDING:ve.DOCUMENT_POSITION_FOLLOWING}normalize(){let t=this.firstChild;for(;t;){if(wt.isTextNode(t)){for(;wt.isTextNode(t.nextSibling);)t.data+=t.nextSibling.data,t.nextSibling.remove();if(!t.data.length){let r=t;t=t.nextSibling,r.remove();continue}}else t.normalize();t=t.nextSibling}}isSameNode(t){return this===t}};s(ve,"ELEMENT_NODE",M.elementNode),s(ve,"ATTRIBUTE_NODE",M.attributeNode),s(ve,"TEXT_NODE",M.textNode),s(ve,"CDATA_SECTION_NODE",M.cdataSectionNode),s(ve,"COMMENT_NODE",M.commentNode),s(ve,"DOCUMENT_NODE",M.documentNode),s(ve,"DOCUMENT_TYPE_NODE",M.documentTypeNode),s(ve,"DOCUMENT_FRAGMENT_NODE",M.documentFragmentNode),s(ve,"PROCESSING_INSTRUCTION_NODE",M.processingInstructionNode),s(ve,"DOCUMENT_POSITION_CONTAINED_BY",Vi.containedBy),s(ve,"DOCUMENT_POSITION_CONTAINS",Vi.contains),s(ve,"DOCUMENT_POSITION_DISCONNECTED",Vi.disconnect),s(ve,"DOCUMENT_POSITION_FOLLOWING",Vi.following),s(ve,"DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC",Vi.implementationSpecific),s(ve,"DOCUMENT_POSITION_PRECEDING",Vi.preceding);var gt=ve;gt.prototype.ELEMENT_NODE=M.elementNode;gt.prototype.ATTRIBUTE_NODE=M.attributeNode;gt.prototype.TEXT_NODE=M.textNode;gt.prototype.CDATA_SECTION_NODE=M.cdataSectionNode;gt.prototype.COMMENT_NODE=M.commentNode;gt.prototype.DOCUMENT_NODE=M.documentNode;gt.prototype.DOCUMENT_TYPE_NODE=M.documentTypeNode;gt.prototype.DOCUMENT_FRAGMENT_NODE=M.documentFragmentNode;gt.prototype.PROCESSING_INSTRUCTION_NODE=M.processingInstructionNode;gt.prototype.DOCUMENT_POSITION_CONTAINED_BY=Vi.containedBy;gt.prototype.DOCUMENT_POSITION_CONTAINS=Vi.contains;gt.prototype.DOCUMENT_POSITION_DISCONNECTED=Vi.disconnect;gt.prototype.DOCUMENT_POSITION_FOLLOWING=Vi.following;gt.prototype.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC=Vi.implementationSpecific;gt.prototype.DOCUMENT_POSITION_PRECEDING=Vi.preceding;var I1,D1,F1,_1,B1,U1,G1,H1,lp=class extends gt{constructor(){super(...arguments);s(this,H1,M.attributeNode);s(this,G1,null);s(this,U1,null);s(this,B1,null);s(this,_1,null);s(this,F1,null);s(this,D1,!0);s(this,I1,null)}get specified(){return this[xh]}get ownerElement(){return this[At]}get value(){return this[Z]}set value(t){this[Z]=t}get name(){return this[lt]||""}get localName(){return this[dt]||""}get prefix(){return this[Vt]}get textContent(){return this[Z]||""}get namespaceURI(){return this[rt]}[(H1=U,G1=rt,U1=lt,B1=dt,_1=Vt,F1=Z,D1=xh,I1=At,ct)](t=!1){let r=super[ct](t);return r[rt]=this[rt],r[lt]=this[lt],r[dt]=this[dt],r[Vt]=this[Vt],r[Z]=this[Z],r[xh]=this[xh],r}};var _l=class{static appendData(e,t){e.data+=t}static deleteData(e,t,r){e.data=e.data.substring(0,t)+e.data.substring(t+r)}static insertData(e,t,r){e.data=e.data.substring(0,t)+r+e.data.substring(t)}static replaceData(e,t,r,o){e.data=e.data.substring(0,t)+o+e.data.substring(t+r)}static substringData(e,t,r){return e.data.substring(t,t+r)}};var Bl=class{static previousElementSibling(e){let t=e.previousSibling;for(;t&&t[U]!==M.elementNode;)t=t.previousSibling;return t}static nextElementSibling(e){let t=e.nextSibling;for(;t&&t[U]!==M.elementNode;)t=t.nextSibling;return t}};var Ii=class{static remove(e){e[W]&&e[W].removeChild(e)}static replaceWith(e,...t){let r=e[W];if(!r)throw new Ht("This element has no parent node.");for(let o of t)o instanceof gt?r.insertBefore(o,e):r.insertBefore(r[T].createTextNode(String(o)),e);r.removeChild(e)}static before(e,...t){let r=e[W];if(r)for(let o of t)o instanceof gt?r.insertBefore(o,e):r.insertBefore(r[T].createTextNode(String(o)),e)}static after(e,...t){let r=e[W];if(!r)return;let o=e.nextSibling;for(let i of t){let n=i instanceof gt?i:r[T].createTextNode(String(i));o?r.insertBefore(n,o):r.appendChild(n)}}};var q1,Vs=class extends gt{constructor(t){super();s(this,q1,"");this[le]=t!==void 0?String(t):""}get length(){return this[le].length}get data(){return this[le]}set data(t){let r=this[le];this[le]=String(t),this[en](new Xo({target:this,type:ss.characterData,oldValue:r}))}get textContent(){return this[le]}set textContent(t){this.data=t}get nodeValue(){return this[le]}set nodeValue(t){this.textContent=t}get previousElementSibling(){return Bl.previousElementSibling(this)}get nextElementSibling(){return Bl.nextElementSibling(this)}appendData(t){_l.appendData(this,t)}deleteData(t,r){_l.deleteData(this,t,r)}insertData(t,r){_l.insertData(this,t,r)}replaceData(t,r,o){_l.replaceData(this,t,r,o)}substringData(t,r){return _l.substringData(this,t,r)}remove(){Ii.remove(this)}replaceWith(...t){Ii.replaceWith(this,...t)}before(...t){Ii.before(this,...t)}after(...t){Ii.after(this,...t)}[(q1=le,ct)](t=!1){let r=super[ct](t);return r[le]=this[le],r}};var $1,W1,j1,z1,Un=class extends gt{constructor(){super(...arguments);s(this,z1,M.documentTypeNode);s(this,j1,"");s(this,W1,"");s(this,$1,"")}get name(){return this[lt]}get publicId(){return this[pl]}get systemId(){return this[cl]}get nodeName(){return this.name}toString(){return"[object DocumentType]"}[(z1=U,j1=lt,W1=pl,$1=cl,ct)](t=!1){let r=super[ct](t);return r[lt]=this[lt],r[pl]=this[pl],r[cl]=this[cl],r}};var QP;(function(l){l.loading="loading",l.interactive="interactive",l.complete="complete"})(QP||(QP={}));var PS=QP;var hu,vb=class{constructor(e){x(this,hu);w(this,hu,new ts(e))}waitUntilComplete(){return y(this,hu).waitUntilComplete()}startTask(){return y(this,hu).startTask()}endTask(e){y(this,hu).endTask(e)}destroy(){return y(this,hu).destroy()}};hu=new WeakMap;var X1,Y1,K1,J1;J1=O,K1=V,Y1=_,X1=F;var t0=class t0{constructor(e,t,r,o){s(this,J1,0);s(this,K1,0);s(this,Y1,0);s(this,X1,0);this[O]=e!=null?Number(e):0,this[V]=t!=null?Number(t):0,this[_]=r!=null?Number(r):0,this[F]=o!=null?Number(o):0}get x(){return this[O]}get y(){return this[V]}get width(){return this[_]}get height(){return this[F]}get top(){return Math.min(this[V],this[V]+this[F])}get right(){return Math.max(this[O],this[O]+this[_])}get bottom(){return Math.max(this[V],this[V]+this[F])}get left(){return Math.min(this[O],this[O]+this[_])}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(e){return new t0(e.x,e.y,e.width,e.height)}},du=t0;var ns=class l extends du{set x(e){this[O]=e}get x(){return this[O]}set y(e){this[V]=e}get y(){return this[V]}set width(e){this[_]=e}get width(){return this[_]}set height(e){this[F]=e}get height(){return this[F]}static fromRect(e){return new l(e.x,e.y,e.width,e.height)}};var $I=/[\t\f\n\r ]+/,Z1,Q1,tE,eE,rE,bo=class l{constructor(e,t,r,o){s(this,rE);s(this,eE);s(this,tE,{items:[],attributeValue:""});s(this,Q1);s(this,Z1);if(e!==c)throw new TypeError("Illegal constructor");this[At]=t,this[bl]=r,this[uS]=o||[];let i=new xe(this,[l]),n=new Proxy(this,{get:(a,m)=>{if(m==="length")return a[Qr]().length;if(m in a||typeof m=="symbol")return i.bind(m),a[m];let p=Number(m);if(!isNaN(p))return a[Qr]()[p]},set(a,m,p){if(i.bind(m),typeof m=="symbol")return a[m]=p,!0;let b=Number(m);return isNaN(b)&&(a[m]=p),!0},deleteProperty(a,m){if(typeof m=="symbol")return delete a[m],!0;let p=Number(m);return isNaN(p)&&delete a[m],!0},ownKeys(a){return Object.keys(a[Qr]())},has(a,m){if(m in a)return!0;if(typeof m=="symbol")return!1;let p=Number(m);return!isNaN(p)&&p>=0&&p<a[Qr]().length},defineProperty(a,m,p){return i.preventBinding(m),m in a?(Object.defineProperty(a,m,p),!0):!1},getOwnPropertyDescriptor(a,m){if(m in a||typeof m=="symbol")return;let p=Number(m),b=a[Qr]();if(!isNaN(p)&&b[p])return{value:b[p],writable:!1,enumerable:!0,configurable:!0}}});return this[Ut]=n,n}get length(){return this[Qr]().length}set value(e){this[At].setAttribute(this[bl],e)}get value(){return this[At].getAttribute(this[bl])||""}[(rE=At,eE=bl,tE=q,Q1=uS,Z1=Ut,Symbol.iterator)](){return this[Qr]().values()}item(e){let t=this[Qr]();return typeof e=="number"||(e=Number(e),e=isNaN(e)?0:e),t[e]?t[e]:null}replace(e,t){let r=this[Qr]().slice(),o=r.indexOf(e);return o===-1?!1:(r[o]=t,this[At].setAttribute(this[bl],r.join(" ")),!0)}supports(e){return this[uS].includes(e)}values(){return this[Qr]().values()}entries(){return this[Qr]().entries()}forEach(e,t){let r=t??this[At][u],o=this[Qr](),i=this[Ut]??this;for(let n=0,a=o.length;n<a;n++)e.call(r,o[n],n,i)}keys(){return this[Qr]().keys()}add(...e){let t=this[Qr]().slice(),r=new Set(t);for(let o of e)r.has(o)||(r.add(o),t.push(o));this[At].setAttribute(this[bl],t.join(" "))}remove(...e){let t=this[Qr](),r=new Set(e),o=t.filter(i=>!r.has(i));this[At].setAttribute(this[bl],o.join(" "))}contains(e){return this[Qr]().includes(e)}toggle(e,t){let r;return t!==void 0?r=t:r=!this.contains(e),r?(this.add(e),!0):(this.remove(e),!1)}[Qr](){let e=this[At].getAttribute(this[bl])??"",t=this[q];if(t.attributeValue===e)return t.items;let r=[],o=e.trim();if(o)for(let i of o.split($I))r.includes(i)||r.push(i);return t.attributeValue=e,t.items=r,r}toString(){return this.value||""}};var ge={FILTER_ACCEPT:1,FILTER_REJECT:2,FILTER_SKIP:3,SHOW_ALL:-1,SHOW_ELEMENT:1,SHOW_ATTRIBUTE:2,SHOW_TEXT:4,SHOW_CDATA_SECTION:8,SHOW_ENTITY_REFERENCE:16,SHOW_ENTITY:32,SHOW_PROCESSING_INSTRUCTION:64,SHOW_COMMENT:128,SHOW_DOCUMENT:256,SHOW_DOCUMENT_TYPE:512,SHOW_DOCUMENT_FRAGMENT:1024,SHOW_NOTATION:2048};var oE={1:ge.SHOW_ELEMENT,2:ge.SHOW_ATTRIBUTE,3:ge.SHOW_TEXT,4:ge.SHOW_CDATA_SECTION,5:ge.SHOW_ENTITY_REFERENCE,6:ge.SHOW_PROCESSING_INSTRUCTION,7:ge.SHOW_PROCESSING_INSTRUCTION,8:ge.SHOW_COMMENT,9:ge.SHOW_DOCUMENT,10:ge.SHOW_DOCUMENT_TYPE,11:ge.SHOW_DOCUMENT_FRAGMENT,12:ge.SHOW_NOTATION};var Fm;(function(l){l.first="first",l.last="last"})(Fm||(Fm={}));var _m;(function(l){l.next="next",l.previous="previous"})(_m||(_m={}));var Dr,bu,e0,r0,Gn=class{constructor(e,t=-1,r=null){x(this,bu);s(this,"root");s(this,"whatToShow",-1);s(this,"filter",null);x(this,Dr,null);if(!(e instanceof gt))throw new Ht("Parameter 1 was not of type Node.");this.root=e,this.whatToShow=t,this.filter=r,w(this,Dr,e)}get currentNode(){return y(this,Dr)}set currentNode(e){if(!(e instanceof gt))throw new this.root[u].TypeError("Failed to set the 'currentNode' property on 'TreeWalker': Failed to convert value to 'Node'.");w(this,Dr,e)}parentNode(){let e=y(this,Dr);for(;e!==null&&e!==this.root;)if(e=e.parentNode,e!==null&&this[Li](e)===ge.FILTER_ACCEPT)return w(this,Dr,e),y(this,Dr);return null}firstChild(){return D(this,bu,e0).call(this,Fm.first)}lastChild(){return D(this,bu,e0).call(this,Fm.last)}nextSibling(){return D(this,bu,r0).call(this,_m.next)}previousSibling(){return D(this,bu,r0).call(this,_m.previous)}previousNode(){let e=y(this,Dr);for(;e!==this.root;){let t=e?.previousSibling||null;for(;t!==null;){let r=t,o=this[Li](r);for(;o!==ge.FILTER_REJECT&&r[$].length;)r=r.lastChild,o=this[Li](r);if(o===ge.FILTER_ACCEPT)return w(this,Dr,r),r;t=r.previousSibling}if(e===this.root||e.parentNode===null)return null;if(e=e.parentNode,this[Li](e)===ge.FILTER_ACCEPT)return w(this,Dr,e),e}return null}nextNode(){let e=y(this,Dr),t=ge.FILTER_ACCEPT;if(e===null)return null;for(;;){for(;t!==ge.FILTER_REJECT&&e[$].length;)if(e=e.firstChild,t=this[Li](e),t===ge.FILTER_ACCEPT)return w(this,Dr,e),e;for(;e!==null;){if(e===this.root)return null;let r=e.nextSibling;if(r!==null){e=r;break}e=e.parentNode}if(e===null)return null;if(t=this[Li](e),t===ge.FILTER_ACCEPT)return w(this,Dr,e),e}}[Li](e){let t=oE[e.nodeType];return t&&(this.whatToShow&t)==0?ge.FILTER_SKIP:typeof this.filter=="function"?this.filter(e):this.filter?this.filter.acceptNode(e):ge.FILTER_ACCEPT}};Dr=new WeakMap,bu=new WeakSet,e0=function(e){let t=y(this,Dr);if(!t)return null;for(t=e===Fm.first?t.firstChild:t.lastChild;t!==null;){let r=this[Li](t);if(r===ge.FILTER_ACCEPT)return w(this,Dr,t),t;if(r===ge.FILTER_SKIP){let o=e===Fm.first?t.firstChild:t.lastChild;if(o!==null){t=o;continue}}for(;t!==null;){let o=e===Fm.first?t.nextSibling:t.previousSibling;if(o!==null){t=o;break}let i=t.parentNode;if(i===null||i===this.root||i===y(this,Dr))return null;t=i}}return null},r0=function(e){let t=y(this,Dr);if(!t||t===this.root)return null;for(;;){let r=e===_m.next?t.nextSibling:t.previousSibling;for(;r!==null;){let o=r,i=this[Li](o);if(i===ge.FILTER_ACCEPT)return w(this,Dr,o),o;r=e===_m.next?o.firstChild:o.lastChild,(i===ge.FILTER_REJECT||r===null)&&(r=e===_m.next?o.nextSibling:o.previousSibling)}if(t=t.parentNode,t===null||t===this.root||this[Li](t)===ge.FILTER_ACCEPT)return null}};var Bm,Ab,Tb,fu,Nb,gu=class{constructor(e,t=-1,r=null){x(this,Bm);x(this,Ab,-1);x(this,Tb,null);x(this,fu);x(this,Nb,!0);w(this,Bm,e),w(this,Ab,t),w(this,Tb,r),w(this,fu,new Gn(e,t,r))}get root(){return y(this,Bm)}get whatToShow(){return y(this,Ab)}get filter(){return y(this,Tb)}nextNode(){return y(this,Nb)?(w(this,Nb,!1),y(this,fu)[Li](y(this,Bm))!==ge.FILTER_ACCEPT?y(this,fu).nextNode():y(this,Bm)):y(this,fu).nextNode()}previousNode(){return y(this,fu).previousNode()}};Bm=new WeakMap,Ab=new WeakMap,Tb=new WeakMap,fu=new WeakMap,Nb=new WeakMap;var Um,Lb=class{constructor(e){x(this,Um);w(this,Um,e)}createDocument(e,t,r){return new(y(this,Um))[u].HTMLDocument}createHTMLDocument(){return new(y(this,Um))[u].HTMLDocument}createDocumentType(e,t,r){let o=Fe.createNode(y(this,Um),Un);return o[lt]=e,o[pl]=t,o[cl]=r,o}};Um=new WeakMap;var iE,Ae=class l{constructor(e,t){s(this,iE);if(e!==c)throw new TypeError("Illegal constructor");this[nm]=t;let r=new xe(this,this.constructor!==l?[this.constructor,l]:[l]);return new Proxy(this,{get:(o,i)=>{if(i==="length")return t().length;if(i in o||typeof i=="symbol")return r.bind(i),o[i];let n=Number(i);return isNaN(n)?o.namedItem(i)||void 0:t()[n]},set(o,i,n){if(r.bind(i),typeof i=="symbol")return o[i]=n,!0;let a=Number(i);return isNaN(a)&&(o[i]=n),!0},deleteProperty(o,i){if(typeof i=="symbol")return delete o[i],!0;let n=Number(i);return isNaN(n)&&delete o[i],!0},ownKeys(){let o=[],i=t();for(let n=0;n<i.length;n++){let a=i[n],m=a.getAttribute("id")||a.getAttribute("name");o.push(String(n)),m&&o.push(m)}return o},has(o,i){if(i in o)return!0;let n=t(),a=Number(i);if(!isNaN(a)&&a>=0&&a<n.length)return!0;i=String(i);for(let m=0;m<n.length;m++){let p=n[m],b=p.getAttribute("id")||p.getAttribute("name");if(b&&b===i)return!0}return!1},defineProperty(o,i,n){return r.preventBinding(i),i in o?(Object.defineProperty(o,i,n),!0):!1},getOwnPropertyDescriptor(o,i){if(i in o||typeof i=="symbol")return;let n=t(),a=Number(i);if(!isNaN(a)&&a>=0&&a<n.length)return{value:n[a],writable:!1,enumerable:!0,configurable:!0};for(let m=0;m<n.length;m++){let p=n[m],b=p.getAttribute("id")||p.getAttribute("name");if(b&&b===i)return{value:p,writable:!1,enumerable:!0,configurable:!0}}}})}get length(){return this[nm]().length}get[(iE=nm,Symbol.toStringTag)](){return this.constructor.name}toLocaleString(){return`[object ${this.constructor.name}]`}toString(){return`[object ${this.constructor.name}]`}item(e){let t=this[nm]();return e>=0&&t[e]?t[e]:null}[Symbol.iterator](){return this[nm]()[Symbol.iterator]()}namedItem(e){let t=this[nm]();e=String(e);for(let r of t)if(r.getAttribute("id")===e||r.getAttribute("name")===e)return r;return null}};var Se=class{static compareBoundaryPointsPosition(e,t){if(e.node===t.node)return e.offset===t.offset?0:e.offset<t.offset?-1:1;if(wt.isFollowing(e.node,t.node))return this.compareBoundaryPointsPosition(t,e)===-1?1:-1;if(wt.isInclusiveAncestor(e.node,t.node)){let r=t.node;for(;r[W]!==e.node;)r=r[W];if(r[W][$].indexOf(r)<e.offset)return 1}return-1}static validateBoundaryPoint(e){if(e.node[U]===M.documentTypeNode)throw new Ht("DocumentType Node can't be used as boundary point.",A.invalidNodeTypeError);if(e.offset>wt.getNodeLength(e.node))throw new Ht("Offset out of bound.",A.indexSizeError)}static isContained(e,t){return this.compareBoundaryPointsPosition({node:e,offset:0},{node:t.startContainer,offset:t.startOffset})===1&&this.compareBoundaryPointsPosition({node:e,offset:wt.getNodeLength(e)},{node:t.endContainer,offset:t.endOffset})===-1}static isPartiallyContained(e,t){return wt.isInclusiveAncestor(e,t.startContainer)&&!wt.isInclusiveAncestor(e,t.endContainer)||!wt.isInclusiveAncestor(e,t.startContainer)&&wt.isInclusiveAncestor(e,t.endContainer)}};var o0;(function(l){l[l.forwards=1]="forwards",l[l.backwards=-1]="backwards",l[l.directionless=0]="directionless"})(o0||(o0={}));var Hn=o0;var Re,Pe,Su,ls,qn,Pu=class{constructor(e){x(this,ls);x(this,Re);x(this,Pe,null);x(this,Su,Hn.directionless);w(this,Re,e)}get rangeCount(){return y(this,Pe)?1:0}get isCollapsed(){return y(this,Pe)===null||y(this,Pe).collapsed}get type(){if(y(this,Pe)){if(y(this,Pe).collapsed)return"Caret"}else return"None";return"Range"}get anchorNode(){return y(this,Pe)?y(this,Su)===Hn.forwards?y(this,Pe).startContainer:y(this,Pe).endContainer:null}get anchorOffset(){return y(this,Pe)?y(this,Su)===Hn.forwards?y(this,Pe).startOffset:y(this,Pe).endOffset:0}get baseNode(){return this.anchorNode}get baseOffset(){return this.anchorOffset}get focusNode(){return this.anchorNode}get focusOffset(){return this.anchorOffset}get extentNode(){return this.focusNode}get extentOffset(){return this.focusOffset}addRange(e){if(!e)throw new(y(this,Re))[u].TypeError("Failed to execute addRange on Selection. Parameter 1 is not of type Range.");!y(this,Pe)&&e[T]===y(this,Re)&&D(this,ls,qn).call(this,e)}getRangeAt(e){if(!y(this,Pe)||e!==0)throw new(y(this,Re))[u].DOMException("Invalid range index.",A.indexSizeError);return y(this,Pe)}removeRange(e){if(y(this,Pe)!==e)throw new(y(this,Re))[u].DOMException("Invalid range.",A.notFoundError);D(this,ls,qn).call(this,null)}removeAllRanges(){D(this,ls,qn).call(this,null)}empty(){this.removeAllRanges()}collapse(e,t){if(e===null){this.removeAllRanges();return}if(e[U]===M.documentTypeNode)throw new(y(this,Re))[u].DOMException("DocumentType Node can't be used as boundary point.",A.invalidNodeTypeError);if(t>wt.getNodeLength(e))throw new(y(this,Re))[u].DOMException("Invalid range index.",A.indexSizeError);if(e[T]!==y(this,Re))return;let r=new(y(this,Re))[u].Range;r[G].node=e,r[G].offset=t,r[z].node=e,r[z].offset=t,D(this,ls,qn).call(this,r)}setPosition(e,t){this.collapse(e,t)}collapseToEnd(){if(y(this,Pe)===null)throw new(y(this,Re))[u].DOMException("There is no selection to collapse.",A.invalidStateError);let{node:e,offset:t}=y(this,Pe)[z],r=new(y(this,Re))[u].Range;r[G].node=e,r[G].offset=t,r[z].node=e,r[z].offset=t,D(this,ls,qn).call(this,r)}collapseToStart(){if(!y(this,Pe))throw new(y(this,Re))[u].DOMException("There is no selection to collapse.",A.invalidStateError);let{node:e,offset:t}=y(this,Pe)[G],r=new(y(this,Re))[u].Range;r[G].node=e,r[G].offset=t,r[z].node=e,r[z].offset=t,D(this,ls,qn).call(this,r)}containsNode(e,t=!1){if(!y(this,Pe)||e[T]!==y(this,Re))return!1;let r=Se.compareBoundaryPointsPosition(y(this,Pe)[G],{node:e,offset:0})===-1,o=Se.compareBoundaryPointsPosition(y(this,Pe)[z],{node:e,offset:wt.getNodeLength(e)})===1;return t?r||o:r&&o}deleteFromDocument(){y(this,Pe)&&y(this,Pe).deleteContents()}extend(e,t){if(e[T]!==y(this,Re))return;if(!y(this,Pe))throw new(y(this,Re))[u].DOMException("There is no selection to extend.",A.invalidStateError);let r=this.anchorNode,o=this.anchorOffset,i=new(y(this,Re))[u].Range;i[G].node=e,i[G].offset=0,i[z].node=e,i[z].offset=0,e[T]!==y(this,Pe)[T]?(i[G].offset=t,i[z].offset=t):Se.compareBoundaryPointsPosition({node:r,offset:o},{node:e,offset:t})<=0?(i[G].node=r,i[G].offset=o,i[z].node=e,i[z].offset=t):(i[G].node=e,i[G].offset=t,i[z].node=r,i[z].offset=o),D(this,ls,qn).call(this,i),w(this,Su,Se.compareBoundaryPointsPosition({node:e,offset:t},{node:r,offset:o})===-1?Hn.backwards:Hn.forwards)}selectAllChildren(e){if(e[U]===M.documentTypeNode)throw new(y(this,Re))[u].DOMException("DocumentType Node can't be used as boundary point.",A.invalidNodeTypeError);if(e[T]!==y(this,Re))return;let t=e[$].length,r=new(y(this,Re))[u].Range;r[G].node=e,r[G].offset=0,r[z].node=e,r[z].offset=t,D(this,ls,qn).call(this,r)}setBaseAndExtent(e,t,r,o){if(t>wt.getNodeLength(e)||o>wt.getNodeLength(r))throw new(y(this,Re))[u].DOMException("Invalid anchor or focus offset.",A.indexSizeError);if(e[T]!==y(this,Re)||r[T]!==y(this,Re))return;let i={node:e,offset:t},n={node:r,offset:o},a=new(y(this,Re))[u].Range;Se.compareBoundaryPointsPosition(i,n)===-1?(a[G]=i,a[z]=n):(a[G]=n,a[z]=i),D(this,ls,qn).call(this,a),w(this,Su,Se.compareBoundaryPointsPosition(n,i)===-1?Hn.backwards:Hn.forwards)}toString(){return y(this,Pe)?y(this,Pe).toString():""}};Re=new WeakMap,Pe=new WeakMap,Su=new WeakMap,ls=new WeakSet,qn=function(e){let t=y(this,Pe);w(this,Pe,e),w(this,Su,e===null?Hn.directionless:Hn.forwards),t!==y(this,Pe)&&y(this,Re).dispatchEvent(new R("selectionchange"))};var i0;(function(l){l.hidden="hidden",l.visible="visible",l.prerender="prerender"})(i0||(i0={}));var s0=i0;var n0;(function(l){l.rawText="rawText",l.noSelfDescendants="noSelfDescendants",l.noFirstLevelSelfDescendants="noFirstLevelSelfDescendants",l.noForbiddenFirstLevelDescendants="noForbiddenFirstLevelDescendants",l.noDescendants="noDescendants",l.permittedDescendants="permittedDescendants",l.textOrComments="textOrComments",l.anyDescendants="anyDescendants"})(n0||(n0={}));var H=n0;var hr={a:{className:"HTMLAnchorElement",contentModel:H.noSelfDescendants},abbr:{className:"HTMLElement",contentModel:H.anyDescendants},address:{className:"HTMLElement",contentModel:H.anyDescendants},area:{className:"HTMLAreaElement",contentModel:H.noDescendants},article:{className:"HTMLElement",contentModel:H.anyDescendants},aside:{className:"HTMLElement",contentModel:H.anyDescendants},audio:{className:"HTMLAudioElement",contentModel:H.anyDescendants},b:{className:"HTMLElement",contentModel:H.anyDescendants},base:{className:"HTMLBaseElement",contentModel:H.noDescendants},bdi:{className:"HTMLElement",contentModel:H.anyDescendants},bdo:{className:"HTMLElement",contentModel:H.anyDescendants},body:{className:"HTMLBodyElement",contentModel:H.anyDescendants},template:{className:"HTMLTemplateElement",contentModel:H.anyDescendants},form:{className:"HTMLFormElement",contentModel:H.anyDescendants},input:{className:"HTMLInputElement",contentModel:H.noDescendants},textarea:{className:"HTMLTextAreaElement",contentModel:H.anyDescendants},script:{className:"HTMLScriptElement",contentModel:H.rawText},img:{className:"HTMLImageElement",contentModel:H.noDescendants},link:{className:"HTMLLinkElement",contentModel:H.noDescendants},style:{className:"HTMLStyleElement",contentModel:H.rawText},label:{className:"HTMLLabelElement",contentModel:H.anyDescendants},slot:{className:"HTMLSlotElement",contentModel:H.anyDescendants},meta:{className:"HTMLMetaElement",contentModel:H.noDescendants},blockquote:{className:"HTMLQuoteElement",contentModel:H.anyDescendants},br:{className:"HTMLBRElement",contentModel:H.noDescendants},button:{className:"HTMLButtonElement",contentModel:H.anyDescendants},canvas:{className:"HTMLCanvasElement",contentModel:H.anyDescendants},caption:{className:"HTMLTableCaptionElement",contentModel:H.textOrComments},cite:{className:"HTMLElement",contentModel:H.anyDescendants},code:{className:"HTMLElement",contentModel:H.anyDescendants},col:{className:"HTMLTableColElement",contentModel:H.noDescendants,permittedParents:["colgroup"]},colgroup:{className:"HTMLTableColElement",contentModel:H.permittedDescendants,permittedDescendants:["col"]},data:{className:"HTMLDataElement",contentModel:H.anyDescendants},datalist:{className:"HTMLDataListElement",contentModel:H.anyDescendants},dd:{className:"HTMLElement",contentModel:H.noForbiddenFirstLevelDescendants,forbiddenDescendants:["dt","dd"]},del:{className:"HTMLModElement",contentModel:H.anyDescendants},details:{className:"HTMLDetailsElement",contentModel:H.anyDescendants},dfn:{className:"HTMLElement",contentModel:H.anyDescendants},dialog:{className:"HTMLDialogElement",contentModel:H.anyDescendants},div:{className:"HTMLDivElement",contentModel:H.anyDescendants},dl:{className:"HTMLDListElement",contentModel:H.anyDescendants},dt:{className:"HTMLElement",contentModel:H.noForbiddenFirstLevelDescendants,forbiddenDescendants:["dt","dd"]},em:{className:"HTMLElement",contentModel:H.anyDescendants},embed:{className:"HTMLEmbedElement",contentModel:H.noDescendants},fieldset:{className:"HTMLFieldSetElement",contentModel:H.anyDescendants},figcaption:{className:"HTMLElement",contentModel:H.anyDescendants},figure:{className:"HTMLElement",contentModel:H.anyDescendants},footer:{className:"HTMLElement",contentModel:H.anyDescendants},h1:{className:"HTMLHeadingElement",contentModel:H.noFirstLevelSelfDescendants},h2:{className:"HTMLHeadingElement",contentModel:H.noFirstLevelSelfDescendants},h3:{className:"HTMLHeadingElement",contentModel:H.noFirstLevelSelfDescendants},h4:{className:"HTMLHeadingElement",contentModel:H.noFirstLevelSelfDescendants},h5:{className:"HTMLHeadingElement",contentModel:H.noFirstLevelSelfDescendants},h6:{className:"HTMLHeadingElement",contentModel:H.noFirstLevelSelfDescendants},head:{className:"HTMLHeadElement",contentModel:H.anyDescendants},header:{className:"HTMLElement",contentModel:H.anyDescendants},hgroup:{className:"HTMLElement",contentModel:H.anyDescendants},hr:{className:"HTMLHRElement",contentModel:H.noDescendants},html:{className:"HTMLHtmlElement",contentModel:H.anyDescendants},i:{className:"HTMLElement",contentModel:H.anyDescendants},iframe:{className:"HTMLIFrameElement",contentModel:H.anyDescendants},ins:{className:"HTMLModElement",contentModel:H.anyDescendants},kbd:{className:"HTMLElement",contentModel:H.anyDescendants},legend:{className:"HTMLLegendElement",contentModel:H.anyDescendants},li:{className:"HTMLLIElement",contentModel:H.noFirstLevelSelfDescendants},main:{className:"HTMLElement",contentModel:H.anyDescendants},map:{className:"HTMLMapElement",contentModel:H.anyDescendants},mark:{className:"HTMLElement",contentModel:H.anyDescendants},menu:{className:"HTMLMenuElement",contentModel:H.anyDescendants},meter:{className:"HTMLMeterElement",contentModel:H.anyDescendants},nav:{className:"HTMLElement",contentModel:H.anyDescendants},noscript:{className:"HTMLElement",contentModel:H.anyDescendants},object:{className:"HTMLObjectElement",contentModel:H.anyDescendants},ol:{className:"HTMLOListElement",contentModel:H.anyDescendants},optgroup:{className:"HTMLOptGroupElement",contentModel:H.noFirstLevelSelfDescendants},option:{className:"HTMLOptionElement",contentModel:H.noForbiddenFirstLevelDescendants,forbiddenDescendants:["option","optgroup"]},output:{className:"HTMLOutputElement",contentModel:H.anyDescendants},p:{className:"HTMLParagraphElement",contentModel:H.noForbiddenFirstLevelDescendants,forbiddenDescendants:["address","article","aside","blockquote","details","dialog","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","menu","nav","ol","p","pre","section","table","ul"]},param:{className:"HTMLParamElement",contentModel:H.noDescendants},picture:{className:"HTMLPictureElement",contentModel:H.anyDescendants},pre:{className:"HTMLPreElement",contentModel:H.anyDescendants},progress:{className:"HTMLProgressElement",contentModel:H.anyDescendants},q:{className:"HTMLQuoteElement",contentModel:H.anyDescendants},rb:{className:"HTMLElement",contentModel:H.anyDescendants},rp:{className:"HTMLElement",contentModel:H.noForbiddenFirstLevelDescendants,forbiddenDescendants:["rp","rt"]},rt:{className:"HTMLElement",contentModel:H.noForbiddenFirstLevelDescendants,forbiddenDescendants:["rp","rt"]},rtc:{className:"HTMLElement",contentModel:H.anyDescendants},ruby:{className:"HTMLElement",contentModel:H.anyDescendants},s:{className:"HTMLElement",contentModel:H.anyDescendants},samp:{className:"HTMLElement",contentModel:H.anyDescendants},section:{className:"HTMLElement",contentModel:H.anyDescendants},select:{className:"HTMLSelectElement",contentModel:H.anyDescendants},small:{className:"HTMLElement",contentModel:H.anyDescendants},source:{className:"HTMLSourceElement",contentModel:H.noDescendants},span:{className:"HTMLSpanElement",contentModel:H.anyDescendants},strong:{className:"HTMLElement",contentModel:H.anyDescendants},sub:{className:"HTMLElement",contentModel:H.anyDescendants},summary:{className:"HTMLElement",contentModel:H.anyDescendants},sup:{className:"HTMLElement",contentModel:H.anyDescendants},table:{className:"HTMLTableElement",contentModel:H.permittedDescendants,permittedDescendants:["caption","colgroup","thead","tfoot","tbody"],moveForbiddenDescendant:{exclude:[]}},tbody:{className:"HTMLTableSectionElement",contentModel:H.permittedDescendants,permittedDescendants:["tr"],permittedParents:["table"],moveForbiddenDescendant:{exclude:["caption","colgroup","thead","tfoot","tbody"]}},td:{className:"HTMLTableCellElement",contentModel:H.noForbiddenFirstLevelDescendants,forbiddenDescendants:["td","th","tr","tbody","tfoot","thead"],permittedParents:["tr"]},tfoot:{className:"HTMLTableSectionElement",contentModel:H.permittedDescendants,permittedDescendants:["tr"],permittedParents:["table"],moveForbiddenDescendant:{exclude:["caption","colgroup","thead","tfoot","tbody"]}},th:{className:"HTMLTableCellElement",contentModel:H.noForbiddenFirstLevelDescendants,forbiddenDescendants:["td","th","tr","tbody","tfoot","thead"],permittedParents:["tr"]},thead:{className:"HTMLTableSectionElement",contentModel:H.permittedDescendants,permittedDescendants:["tr"],permittedParents:["table"],moveForbiddenDescendant:{exclude:["caption","colgroup","thead","tfoot","tbody"]}},time:{className:"HTMLTimeElement",contentModel:H.anyDescendants},title:{className:"HTMLTitleElement",contentModel:H.anyDescendants},tr:{className:"HTMLTableRowElement",contentModel:H.permittedDescendants,permittedDescendants:["td","th"],permittedParents:["tbody","tfoot","thead"],addPermittedParent:"tbody",moveForbiddenDescendant:{exclude:["caption","colgroup","thead","tfoot","tbody","tr"]}},track:{className:"HTMLTrackElement",contentModel:H.noDescendants},u:{className:"HTMLElement",contentModel:H.anyDescendants},ul:{className:"HTMLUListElement",contentModel:H.anyDescendants},var:{className:"HTMLElement",contentModel:H.anyDescendants},video:{className:"HTMLVideoElement",contentModel:H.anyDescendants},wbr:{className:"HTMLElement",contentModel:H.noDescendants}};var Cb={svg:{localName:"svg",className:"SVGSVGElement"},animate:{localName:"animate",className:"SVGAnimateElement"},animatemotion:{localName:"animateMotion",className:"SVGAnimateMotionElement"},animatetransform:{localName:"animateTransform",className:"SVGAnimateTransformElement"},circle:{localName:"circle",className:"SVGCircleElement"},clippath:{localName:"clipPath",className:"SVGClipPathElement"},defs:{localName:"defs",className:"SVGDefsElement"},desc:{localName:"desc",className:"SVGDescElement"},ellipse:{localName:"ellipse",className:"SVGEllipseElement"},feblend:{localName:"feBlend",className:"SVGFEBlendElement"},fecolormatrix:{localName:"feColorMatrix",className:"SVGFEColorMatrixElement"},fecomponenttransfer:{localName:"feComponentTransfer",className:"SVGFEComponentTransferElement"},fecomposite:{localName:"feComposite",className:"SVGFECompositeElement"},feconvolvematrix:{localName:"feConvolveMatrix",className:"SVGFEConvolveMatrixElement"},fediffuselighting:{localName:"feDiffuseLighting",className:"SVGFEDiffuseLightingElement"},fedisplacementmap:{localName:"feDisplacementMap",className:"SVGFEDisplacementMapElement"},fedistantlight:{localName:"feDistantLight",className:"SVGFEDistantLightElement"},fedropshadow:{localName:"feDropShadow",className:"SVGFEDropShadowElement"},feflood:{localName:"feFlood",className:"SVGFEFloodElement"},fefunca:{localName:"feFuncA",className:"SVGFEFuncAElement"},fefuncb:{localName:"feFuncB",className:"SVGFEFuncBElement"},fefuncg:{localName:"feFuncG",className:"SVGFEFuncGElement"},fefuncr:{localName:"feFuncR",className:"SVGFEFuncRElement"},fegaussianblur:{localName:"feGaussianBlur",className:"SVGFEGaussianBlurElement"},feimage:{localName:"feImage",className:"SVGFEImageElement"},femerge:{localName:"feMerge",className:"SVGFEMergeElement"},femergenode:{localName:"feMergeNode",className:"SVGFEMergeNodeElement"},femorphology:{localName:"feMorphology",className:"SVGFEMorphologyElement"},feoffset:{localName:"feOffset",className:"SVGFEOffsetElement"},fepointlight:{localName:"fePointLight",className:"SVGFEPointLightElement"},fespecularlighting:{localName:"feSpecularLighting",className:"SVGFESpecularLightingElement"},fespotlight:{localName:"feSpotLight",className:"SVGFESpotLightElement"},fetile:{localName:"feTile",className:"SVGFETileElement"},feturbulence:{localName:"feTurbulence",className:"SVGFETurbulenceElement"},filter:{localName:"filter",className:"SVGFilterElement"},foreignobject:{localName:"foreignObject",className:"SVGForeignObjectElement"},g:{localName:"g",className:"SVGGElement"},image:{localName:"image",className:"SVGImageElement"},line:{localName:"line",className:"SVGLineElement"},lineargradient:{localName:"linearGradient",className:"SVGLinearGradientElement"},marker:{localName:"marker",className:"SVGMarkerElement"},mask:{localName:"mask",className:"SVGMaskElement"},metadata:{localName:"metadata",className:"SVGMetadataElement"},mpath:{localName:"mpath",className:"SVGMPathElement"},path:{localName:"path",className:"SVGPathElement"},pattern:{localName:"pattern",className:"SVGPatternElement"},polygon:{localName:"polygon",className:"SVGPolygonElement"},polyline:{localName:"polyline",className:"SVGPolylineElement"},radialgradient:{localName:"radialGradient",className:"SVGRadialGradientElement"},rect:{localName:"rect",className:"SVGRectElement"},script:{localName:"script",className:"SVGScriptElement"},set:{localName:"set",className:"SVGSetElement"},stop:{localName:"stop",className:"SVGStopElement"},style:{localName:"style",className:"SVGStyleElement"},switch:{localName:"switch",className:"SVGSwitchElement"},symbol:{localName:"symbol",className:"SVGSymbolElement"},text:{localName:"text",className:"SVGTextElement"},textpath:{localName:"textPath",className:"SVGTextPathElement"},title:{localName:"title",className:"SVGTitleElement"},tspan:{localName:"tspan",className:"SVGTSpanElement"},use:{localName:"use",className:"SVGUseElement"},view:{localName:"view",className:"SVGViewElement"}};var sE=new Uint16Array('\u1D41<\xD5\u0131\u028A\u049D\u057B\u05D0\u0675\u06DE\u07A2\u07D6\u080F\u0A4A\u0A91\u0DA1\u0E6D\u0F09\u0F26\u10CA\u1228\u12E1\u1415\u149D\u14C3\u14DF\u1525\0\0\0\0\0\0\u156B\u16CD\u198D\u1C12\u1DDD\u1F7E\u2060\u21B0\u228D\u23C0\u23FB\u2442\u2824\u2912\u2D08\u2E48\u2FCE\u3016\u32BA\u3639\u37AC\u38FE\u3A28\u3A71\u3AE0\u3B2E\u0800EMabcfglmnoprstu\\bfms\x7F\x84\x8B\x90\x95\x98\xA6\xB3\xB9\xC8\xCFlig\u803B\xC6\u40C6P\u803B&\u4026cute\u803B\xC1\u40C1reve;\u4102\u0100iyx}rc\u803B\xC2\u40C2;\u4410r;\uC000\u{1D504}rave\u803B\xC0\u40C0pha;\u4391acr;\u4100d;\u6A53\u0100gp\x9D\xA1on;\u4104f;\uC000\u{1D538}plyFunction;\u6061ing\u803B\xC5\u40C5\u0100cs\xBE\xC3r;\uC000\u{1D49C}ign;\u6254ilde\u803B\xC3\u40C3ml\u803B\xC4\u40C4\u0400aceforsu\xE5\xFB\xFE\u0117\u011C\u0122\u0127\u012A\u0100cr\xEA\xF2kslash;\u6216\u0176\xF6\xF8;\u6AE7ed;\u6306y;\u4411\u0180crt\u0105\u010B\u0114ause;\u6235noullis;\u612Ca;\u4392r;\uC000\u{1D505}pf;\uC000\u{1D539}eve;\u42D8c\xF2\u0113mpeq;\u624E\u0700HOacdefhilorsu\u014D\u0151\u0156\u0180\u019E\u01A2\u01B5\u01B7\u01BA\u01DC\u0215\u0273\u0278\u027Ecy;\u4427PY\u803B\xA9\u40A9\u0180cpy\u015D\u0162\u017Aute;\u4106\u0100;i\u0167\u0168\u62D2talDifferentialD;\u6145leys;\u612D\u0200aeio\u0189\u018E\u0194\u0198ron;\u410Cdil\u803B\xC7\u40C7rc;\u4108nint;\u6230ot;\u410A\u0100dn\u01A7\u01ADilla;\u40B8terDot;\u40B7\xF2\u017Fi;\u43A7rcle\u0200DMPT\u01C7\u01CB\u01D1\u01D6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01E2\u01F8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020FoubleQuote;\u601Duote;\u6019\u0200lnpu\u021E\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6A74\u0180git\u022F\u0236\u023Aruent;\u6261nt;\u622FourIntegral;\u622E\u0100fr\u024C\u024E;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6A2Fcr;\uC000\u{1D49E}p\u0100;C\u0284\u0285\u62D3ap;\u624D\u0580DJSZacefios\u02A0\u02AC\u02B0\u02B4\u02B8\u02CB\u02D7\u02E1\u02E6\u0333\u048D\u0100;o\u0179\u02A5trahd;\u6911cy;\u4402cy;\u4405cy;\u440F\u0180grs\u02BF\u02C4\u02C7ger;\u6021r;\u61A1hv;\u6AE4\u0100ay\u02D0\u02D5ron;\u410E;\u4414l\u0100;t\u02DD\u02DE\u6207a;\u4394r;\uC000\u{1D507}\u0100af\u02EB\u0327\u0100cm\u02F0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031Ccute;\u40B4o\u0174\u030B\u030D;\u42D9bleAcute;\u42DDrave;\u4060ilde;\u42DCond;\u62C4ferentialD;\u6146\u0470\u033D\0\0\0\u0342\u0354\0\u0405f;\uC000\u{1D53B}\u0180;DE\u0348\u0349\u034D\u40A8ot;\u60DCqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03CF\u03E2\u03F8ontourIntegra\xEC\u0239o\u0274\u0379\0\0\u037B\xBB\u0349nArrow;\u61D3\u0100eo\u0387\u03A4ft\u0180ART\u0390\u0396\u03A1rrow;\u61D0ightArrow;\u61D4e\xE5\u02CAng\u0100LR\u03AB\u03C4eft\u0100AR\u03B3\u03B9rrow;\u67F8ightArrow;\u67FAightArrow;\u67F9ight\u0100AT\u03D8\u03DErrow;\u61D2ee;\u62A8p\u0241\u03E9\0\0\u03EFrrow;\u61D1ownArrow;\u61D5erticalBar;\u6225n\u0300ABLRTa\u0412\u042A\u0430\u045E\u047F\u037Crrow\u0180;BU\u041D\u041E\u0422\u6193ar;\u6913pArrow;\u61F5reve;\u4311eft\u02D2\u043A\0\u0446\0\u0450ightVector;\u6950eeVector;\u695Eector\u0100;B\u0459\u045A\u61BDar;\u6956ight\u01D4\u0467\0\u0471eeVector;\u695Fector\u0100;B\u047A\u047B\u61C1ar;\u6957ee\u0100;A\u0486\u0487\u62A4rrow;\u61A7\u0100ct\u0492\u0497r;\uC000\u{1D49F}rok;\u4110\u0800NTacdfglmopqstux\u04BD\u04C0\u04C4\u04CB\u04DE\u04E2\u04E7\u04EE\u04F5\u0521\u052F\u0536\u0552\u055D\u0560\u0565G;\u414AH\u803B\xD0\u40D0cute\u803B\xC9\u40C9\u0180aiy\u04D2\u04D7\u04DCron;\u411Arc\u803B\xCA\u40CA;\u442Dot;\u4116r;\uC000\u{1D508}rave\u803B\xC8\u40C8ement;\u6208\u0100ap\u04FA\u04FEcr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65FBerySmallSquare;\u65AB\u0100gp\u0526\u052Aon;\u4118f;\uC000\u{1D53C}silon;\u4395u\u0100ai\u053C\u0549l\u0100;T\u0542\u0543\u6A75ilde;\u6242librium;\u61CC\u0100ci\u0557\u055Ar;\u6130m;\u6A73a;\u4397ml\u803B\xCB\u40CB\u0100ip\u056A\u056Fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058D\u05B2\u05CCy;\u4424r;\uC000\u{1D509}lled\u0253\u0597\0\0\u05A3mallSquare;\u65FCerySmallSquare;\u65AA\u0370\u05BA\0\u05BF\0\0\u05C4f;\uC000\u{1D53D}All;\u6200riertrf;\u6131c\xF2\u05CB\u0600JTabcdfgorst\u05E8\u05EC\u05EF\u05FA\u0600\u0612\u0616\u061B\u061D\u0623\u066C\u0672cy;\u4403\u803B>\u403Emma\u0100;d\u05F7\u05F8\u4393;\u43DCreve;\u411E\u0180eiy\u0607\u060C\u0610dil;\u4122rc;\u411C;\u4413ot;\u4120r;\uC000\u{1D50A};\u62D9pf;\uC000\u{1D53E}eater\u0300EFGLST\u0635\u0644\u064E\u0656\u065B\u0666qual\u0100;L\u063E\u063F\u6265ess;\u62DBullEqual;\u6267reater;\u6AA2ess;\u6277lantEqual;\u6A7Eilde;\u6273cr;\uC000\u{1D4A2};\u626B\u0400Aacfiosu\u0685\u068B\u0696\u069B\u069E\u06AA\u06BE\u06CARDcy;\u442A\u0100ct\u0690\u0694ek;\u42C7;\u405Eirc;\u4124r;\u610ClbertSpace;\u610B\u01F0\u06AF\0\u06B2f;\u610DizontalLine;\u6500\u0100ct\u06C3\u06C5\xF2\u06A9rok;\u4126mp\u0144\u06D0\u06D8ownHum\xF0\u012Fqual;\u624F\u0700EJOacdfgmnostu\u06FA\u06FE\u0703\u0707\u070E\u071A\u071E\u0721\u0728\u0744\u0778\u078B\u078F\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803B\xCD\u40CD\u0100iy\u0713\u0718rc\u803B\xCE\u40CE;\u4418ot;\u4130r;\u6111rave\u803B\xCC\u40CC\u0180;ap\u0720\u072F\u073F\u0100cg\u0734\u0737r;\u412AinaryI;\u6148lie\xF3\u03DD\u01F4\u0749\0\u0762\u0100;e\u074D\u074E\u622C\u0100gr\u0753\u0758ral;\u622Bsection;\u62C2isible\u0100CT\u076C\u0772omma;\u6063imes;\u6062\u0180gpt\u077F\u0783\u0788on;\u412Ef;\uC000\u{1D540}a;\u4399cr;\u6110ilde;\u4128\u01EB\u079A\0\u079Ecy;\u4406l\u803B\xCF\u40CF\u0280cfosu\u07AC\u07B7\u07BC\u07C2\u07D0\u0100iy\u07B1\u07B5rc;\u4134;\u4419r;\uC000\u{1D50D}pf;\uC000\u{1D541}\u01E3\u07C7\0\u07CCr;\uC000\u{1D4A5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07E4\u07E8\u07EC\u07F1\u07FD\u0802\u0808cy;\u4425cy;\u440Cppa;\u439A\u0100ey\u07F6\u07FBdil;\u4136;\u441Ar;\uC000\u{1D50E}pf;\uC000\u{1D542}cr;\uC000\u{1D4A6}\u0580JTaceflmost\u0825\u0829\u082C\u0850\u0863\u09B3\u09B8\u09C7\u09CD\u0A37\u0A47cy;\u4409\u803B<\u403C\u0280cmnpr\u0837\u083C\u0841\u0844\u084Dute;\u4139bda;\u439Bg;\u67EAlacetrf;\u6112r;\u619E\u0180aey\u0857\u085C\u0861ron;\u413Ddil;\u413B;\u441B\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087E\u08A9\u08B1\u08E0\u08E6\u08FC\u092F\u095B\u0390\u096A\u0100nr\u0883\u088FgleBracket;\u67E8row\u0180;BR\u0899\u089A\u089E\u6190ar;\u61E4ightArrow;\u61C6eiling;\u6308o\u01F5\u08B7\0\u08C3bleBracket;\u67E6n\u01D4\u08C8\0\u08D2eeVector;\u6961ector\u0100;B\u08DB\u08DC\u61C3ar;\u6959loor;\u630Aight\u0100AV\u08EF\u08F5rrow;\u6194ector;\u694E\u0100er\u0901\u0917e\u0180;AV\u0909\u090A\u0910\u62A3rrow;\u61A4ector;\u695Aiangle\u0180;BE\u0924\u0925\u0929\u62B2ar;\u69CFqual;\u62B4p\u0180DTV\u0937\u0942\u094CownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61BFar;\u6958ector\u0100;B\u0965\u0966\u61BCar;\u6952ight\xE1\u039Cs\u0300EFGLST\u097E\u098B\u0995\u099D\u09A2\u09ADqualGreater;\u62DAullEqual;\u6266reater;\u6276ess;\u6AA1lantEqual;\u6A7Dilde;\u6272r;\uC000\u{1D50F}\u0100;e\u09BD\u09BE\u62D8ftarrow;\u61DAidot;\u413F\u0180npw\u09D4\u0A16\u0A1Bg\u0200LRlr\u09DE\u09F7\u0A02\u0A10eft\u0100AR\u09E6\u09ECrrow;\u67F5ightArrow;\u67F7ightArrow;\u67F6eft\u0100ar\u03B3\u0A0Aight\xE1\u03BFight\xE1\u03CAf;\uC000\u{1D543}er\u0100LR\u0A22\u0A2CeftArrow;\u6199ightArrow;\u6198\u0180cht\u0A3E\u0A40\u0A42\xF2\u084C;\u61B0rok;\u4141;\u626A\u0400acefiosu\u0A5A\u0A5D\u0A60\u0A77\u0A7C\u0A85\u0A8B\u0A8Ep;\u6905y;\u441C\u0100dl\u0A65\u0A6FiumSpace;\u605Flintrf;\u6133r;\uC000\u{1D510}nusPlus;\u6213pf;\uC000\u{1D544}c\xF2\u0A76;\u439C\u0480Jacefostu\u0AA3\u0AA7\u0AAD\u0AC0\u0B14\u0B19\u0D91\u0D97\u0D9Ecy;\u440Acute;\u4143\u0180aey\u0AB4\u0AB9\u0ABEron;\u4147dil;\u4145;\u441D\u0180gsw\u0AC7\u0AF0\u0B0Eative\u0180MTV\u0AD3\u0ADF\u0AE8ediumSpace;\u600Bhi\u0100cn\u0AE6\u0AD8\xEB\u0AD9eryThi\xEE\u0AD9ted\u0100GL\u0AF8\u0B06reaterGreate\xF2\u0673essLes\xF3\u0A48Line;\u400Ar;\uC000\u{1D511}\u0200Bnpt\u0B22\u0B28\u0B37\u0B3Areak;\u6060BreakingSpace;\u40A0f;\u6115\u0680;CDEGHLNPRSTV\u0B55\u0B56\u0B6A\u0B7C\u0BA1\u0BEB\u0C04\u0C5E\u0C84\u0CA6\u0CD8\u0D61\u0D85\u6AEC\u0100ou\u0B5B\u0B64ngruent;\u6262pCap;\u626DoubleVerticalBar;\u6226\u0180lqx\u0B83\u0B8A\u0B9Bement;\u6209ual\u0100;T\u0B92\u0B93\u6260ilde;\uC000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0BB6\u0BB7\u0BBD\u0BC9\u0BD3\u0BD8\u0BE5\u626Fqual;\u6271ullEqual;\uC000\u2267\u0338reater;\uC000\u226B\u0338ess;\u6279lantEqual;\uC000\u2A7E\u0338ilde;\u6275ump\u0144\u0BF2\u0BFDownHump;\uC000\u224E\u0338qual;\uC000\u224F\u0338e\u0100fs\u0C0A\u0C27tTriangle\u0180;BE\u0C1A\u0C1B\u0C21\u62EAar;\uC000\u29CF\u0338qual;\u62ECs\u0300;EGLST\u0C35\u0C36\u0C3C\u0C44\u0C4B\u0C58\u626Equal;\u6270reater;\u6278ess;\uC000\u226A\u0338lantEqual;\uC000\u2A7D\u0338ilde;\u6274ested\u0100GL\u0C68\u0C79reaterGreater;\uC000\u2AA2\u0338essLess;\uC000\u2AA1\u0338recedes\u0180;ES\u0C92\u0C93\u0C9B\u6280qual;\uC000\u2AAF\u0338lantEqual;\u62E0\u0100ei\u0CAB\u0CB9verseElement;\u620CghtTriangle\u0180;BE\u0CCB\u0CCC\u0CD2\u62EBar;\uC000\u29D0\u0338qual;\u62ED\u0100qu\u0CDD\u0D0CuareSu\u0100bp\u0CE8\u0CF9set\u0100;E\u0CF0\u0CF3\uC000\u228F\u0338qual;\u62E2erset\u0100;E\u0D03\u0D06\uC000\u2290\u0338qual;\u62E3\u0180bcp\u0D13\u0D24\u0D4Eset\u0100;E\u0D1B\u0D1E\uC000\u2282\u20D2qual;\u6288ceeds\u0200;EST\u0D32\u0D33\u0D3B\u0D46\u6281qual;\uC000\u2AB0\u0338lantEqual;\u62E1ilde;\uC000\u227F\u0338erset\u0100;E\u0D58\u0D5B\uC000\u2283\u20D2qual;\u6289ilde\u0200;EFT\u0D6E\u0D6F\u0D75\u0D7F\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uC000\u{1D4A9}ilde\u803B\xD1\u40D1;\u439D\u0700Eacdfgmoprstuv\u0DBD\u0DC2\u0DC9\u0DD5\u0DDB\u0DE0\u0DE7\u0DFC\u0E02\u0E20\u0E22\u0E32\u0E3F\u0E44lig;\u4152cute\u803B\xD3\u40D3\u0100iy\u0DCE\u0DD3rc\u803B\xD4\u40D4;\u441Eblac;\u4150r;\uC000\u{1D512}rave\u803B\xD2\u40D2\u0180aei\u0DEE\u0DF2\u0DF6cr;\u414Cga;\u43A9cron;\u439Fpf;\uC000\u{1D546}enCurly\u0100DQ\u0E0E\u0E1AoubleQuote;\u601Cuote;\u6018;\u6A54\u0100cl\u0E27\u0E2Cr;\uC000\u{1D4AA}ash\u803B\xD8\u40D8i\u016C\u0E37\u0E3Cde\u803B\xD5\u40D5es;\u6A37ml\u803B\xD6\u40D6er\u0100BP\u0E4B\u0E60\u0100ar\u0E50\u0E53r;\u603Eac\u0100ek\u0E5A\u0E5C;\u63DEet;\u63B4arenthesis;\u63DC\u0480acfhilors\u0E7F\u0E87\u0E8A\u0E8F\u0E92\u0E94\u0E9D\u0EB0\u0EFCrtialD;\u6202y;\u441Fr;\uC000\u{1D513}i;\u43A6;\u43A0usMinus;\u40B1\u0100ip\u0EA2\u0EADncareplan\xE5\u069Df;\u6119\u0200;eio\u0EB9\u0EBA\u0EE0\u0EE4\u6ABBcedes\u0200;EST\u0EC8\u0EC9\u0ECF\u0EDA\u627Aqual;\u6AAFlantEqual;\u627Cilde;\u627Eme;\u6033\u0100dp\u0EE9\u0EEEuct;\u620Fortion\u0100;a\u0225\u0EF9l;\u621D\u0100ci\u0F01\u0F06r;\uC000\u{1D4AB};\u43A8\u0200Ufos\u0F11\u0F16\u0F1B\u0F1FOT\u803B"\u4022r;\uC000\u{1D514}pf;\u611Acr;\uC000\u{1D4AC}\u0600BEacefhiorsu\u0F3E\u0F43\u0F47\u0F60\u0F73\u0FA7\u0FAA\u0FAD\u1096\u10A9\u10B4\u10BEarr;\u6910G\u803B\xAE\u40AE\u0180cnr\u0F4E\u0F53\u0F56ute;\u4154g;\u67EBr\u0100;t\u0F5C\u0F5D\u61A0l;\u6916\u0180aey\u0F67\u0F6C\u0F71ron;\u4158dil;\u4156;\u4420\u0100;v\u0F78\u0F79\u611Cerse\u0100EU\u0F82\u0F99\u0100lq\u0F87\u0F8Eement;\u620Builibrium;\u61CBpEquilibrium;\u696Fr\xBB\u0F79o;\u43A1ght\u0400ACDFTUVa\u0FC1\u0FEB\u0FF3\u1022\u1028\u105B\u1087\u03D8\u0100nr\u0FC6\u0FD2gleBracket;\u67E9row\u0180;BL\u0FDC\u0FDD\u0FE1\u6192ar;\u61E5eftArrow;\u61C4eiling;\u6309o\u01F5\u0FF9\0\u1005bleBracket;\u67E7n\u01D4\u100A\0\u1014eeVector;\u695Dector\u0100;B\u101D\u101E\u61C2ar;\u6955loor;\u630B\u0100er\u102D\u1043e\u0180;AV\u1035\u1036\u103C\u62A2rrow;\u61A6ector;\u695Biangle\u0180;BE\u1050\u1051\u1055\u62B3ar;\u69D0qual;\u62B5p\u0180DTV\u1063\u106E\u1078ownVector;\u694FeeVector;\u695Cector\u0100;B\u1082\u1083\u61BEar;\u6954ector\u0100;B\u1091\u1092\u61C0ar;\u6953\u0100pu\u109B\u109Ef;\u611DndImplies;\u6970ightarrow;\u61DB\u0100ch\u10B9\u10BCr;\u611B;\u61B1leDelayed;\u69F4\u0680HOacfhimoqstu\u10E4\u10F1\u10F7\u10FD\u1119\u111E\u1151\u1156\u1161\u1167\u11B5\u11BB\u11BF\u0100Cc\u10E9\u10EEHcy;\u4429y;\u4428FTcy;\u442Ccute;\u415A\u0280;aeiy\u1108\u1109\u110E\u1113\u1117\u6ABCron;\u4160dil;\u415Erc;\u415C;\u4421r;\uC000\u{1D516}ort\u0200DLRU\u112A\u1134\u113E\u1149ownArrow\xBB\u041EeftArrow\xBB\u089AightArrow\xBB\u0FDDpArrow;\u6191gma;\u43A3allCircle;\u6218pf;\uC000\u{1D54A}\u0272\u116D\0\0\u1170t;\u621Aare\u0200;ISU\u117B\u117C\u1189\u11AF\u65A1ntersection;\u6293u\u0100bp\u118F\u119Eset\u0100;E\u1197\u1198\u628Fqual;\u6291erset\u0100;E\u11A8\u11A9\u6290qual;\u6292nion;\u6294cr;\uC000\u{1D4AE}ar;\u62C6\u0200bcmp\u11C8\u11DB\u1209\u120B\u0100;s\u11CD\u11CE\u62D0et\u0100;E\u11CD\u11D5qual;\u6286\u0100ch\u11E0\u1205eeds\u0200;EST\u11ED\u11EE\u11F4\u11FF\u627Bqual;\u6AB0lantEqual;\u627Dilde;\u627FTh\xE1\u0F8C;\u6211\u0180;es\u1212\u1213\u1223\u62D1rset\u0100;E\u121C\u121D\u6283qual;\u6287et\xBB\u1213\u0580HRSacfhiors\u123E\u1244\u1249\u1255\u125E\u1271\u1276\u129F\u12C2\u12C8\u12D1ORN\u803B\xDE\u40DEADE;\u6122\u0100Hc\u124E\u1252cy;\u440By;\u4426\u0100bu\u125A\u125C;\u4009;\u43A4\u0180aey\u1265\u126A\u126Fron;\u4164dil;\u4162;\u4422r;\uC000\u{1D517}\u0100ei\u127B\u1289\u01F2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128E\u1298kSpace;\uC000\u205F\u200ASpace;\u6009lde\u0200;EFT\u12AB\u12AC\u12B2\u12BC\u623Cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uC000\u{1D54B}ipleDot;\u60DB\u0100ct\u12D6\u12DBr;\uC000\u{1D4AF}rok;\u4166\u0AE1\u12F7\u130E\u131A\u1326\0\u132C\u1331\0\0\0\0\0\u1338\u133D\u1377\u1385\0\u13FF\u1404\u140A\u1410\u0100cr\u12FB\u1301ute\u803B\xDA\u40DAr\u0100;o\u1307\u1308\u619Fcir;\u6949r\u01E3\u1313\0\u1316y;\u440Eve;\u416C\u0100iy\u131E\u1323rc\u803B\xDB\u40DB;\u4423blac;\u4170r;\uC000\u{1D518}rave\u803B\xD9\u40D9acr;\u416A\u0100di\u1341\u1369er\u0100BP\u1348\u135D\u0100ar\u134D\u1350r;\u405Fac\u0100ek\u1357\u1359;\u63DFet;\u63B5arenthesis;\u63DDon\u0100;P\u1370\u1371\u62C3lus;\u628E\u0100gp\u137B\u137Fon;\u4172f;\uC000\u{1D54C}\u0400ADETadps\u1395\u13AE\u13B8\u13C4\u03E8\u13D2\u13D7\u13F3rrow\u0180;BD\u1150\u13A0\u13A4ar;\u6912ownArrow;\u61C5ownArrow;\u6195quilibrium;\u696Eee\u0100;A\u13CB\u13CC\u62A5rrow;\u61A5own\xE1\u03F3er\u0100LR\u13DE\u13E8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13F9\u13FA\u43D2on;\u43A5ing;\u416Ecr;\uC000\u{1D4B0}ilde;\u4168ml\u803B\xDC\u40DC\u0480Dbcdefosv\u1427\u142C\u1430\u1433\u143E\u1485\u148A\u1490\u1496ash;\u62ABar;\u6AEBy;\u4412ash\u0100;l\u143B\u143C\u62A9;\u6AE6\u0100er\u1443\u1445;\u62C1\u0180bty\u144C\u1450\u147Aar;\u6016\u0100;i\u144F\u1455cal\u0200BLST\u1461\u1465\u146A\u1474ar;\u6223ine;\u407Ceparator;\u6758ilde;\u6240ThinSpace;\u600Ar;\uC000\u{1D519}pf;\uC000\u{1D54D}cr;\uC000\u{1D4B1}dash;\u62AA\u0280cefos\u14A7\u14AC\u14B1\u14B6\u14BCirc;\u4174dge;\u62C0r;\uC000\u{1D51A}pf;\uC000\u{1D54E}cr;\uC000\u{1D4B2}\u0200fios\u14CB\u14D0\u14D2\u14D8r;\uC000\u{1D51B};\u439Epf;\uC000\u{1D54F}cr;\uC000\u{1D4B3}\u0480AIUacfosu\u14F1\u14F5\u14F9\u14FD\u1504\u150F\u1514\u151A\u1520cy;\u442Fcy;\u4407cy;\u442Ecute\u803B\xDD\u40DD\u0100iy\u1509\u150Drc;\u4176;\u442Br;\uC000\u{1D51C}pf;\uC000\u{1D550}cr;\uC000\u{1D4B4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153F\u154B\u154F\u155D\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417D;\u4417ot;\u417B\u01F2\u1554\0\u155BoWidt\xE8\u0AD9a;\u4396r;\u6128pf;\u6124cr;\uC000\u{1D4B5}\u0BE1\u1583\u158A\u1590\0\u15B0\u15B6\u15BF\0\0\0\0\u15C6\u15DB\u15EB\u165F\u166D\0\u1695\u169B\u16B2\u16B9\0\u16BEcute\u803B\xE1\u40E1reve;\u4103\u0300;Ediuy\u159C\u159D\u15A1\u15A3\u15A8\u15AD\u623E;\uC000\u223E\u0333;\u623Frc\u803B\xE2\u40E2te\u80BB\xB4\u0306;\u4430lig\u803B\xE6\u40E6\u0100;r\xB2\u15BA;\uC000\u{1D51E}rave\u803B\xE0\u40E0\u0100ep\u15CA\u15D6\u0100fp\u15CF\u15D4sym;\u6135\xE8\u15D3ha;\u43B1\u0100ap\u15DFc\u0100cl\u15E4\u15E7r;\u4101g;\u6A3F\u0264\u15F0\0\0\u160A\u0280;adsv\u15FA\u15FB\u15FF\u1601\u1607\u6227nd;\u6A55;\u6A5Clope;\u6A58;\u6A5A\u0380;elmrsz\u1618\u1619\u161B\u161E\u163F\u164F\u1659\u6220;\u69A4e\xBB\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163A\u163C\u163E;\u69A8;\u69A9;\u69AA;\u69AB;\u69AC;\u69AD;\u69AE;\u69AFt\u0100;v\u1645\u1646\u621Fb\u0100;d\u164C\u164D\u62BE;\u699D\u0100pt\u1654\u1657h;\u6222\xBB\xB9arr;\u637C\u0100gp\u1663\u1667on;\u4105f;\uC000\u{1D552}\u0380;Eaeiop\u12C1\u167B\u167D\u1682\u1684\u1687\u168A;\u6A70cir;\u6A6F;\u624Ad;\u624Bs;\u4027rox\u0100;e\u12C1\u1692\xF1\u1683ing\u803B\xE5\u40E5\u0180cty\u16A1\u16A6\u16A8r;\uC000\u{1D4B6};\u402Amp\u0100;e\u12C1\u16AF\xF1\u0288ilde\u803B\xE3\u40E3ml\u803B\xE4\u40E4\u0100ci\u16C2\u16C8onin\xF4\u0272nt;\u6A11\u0800Nabcdefiklnoprsu\u16ED\u16F1\u1730\u173C\u1743\u1748\u1778\u177D\u17E0\u17E6\u1839\u1850\u170D\u193D\u1948\u1970ot;\u6AED\u0100cr\u16F6\u171Ek\u0200ceps\u1700\u1705\u170D\u1713ong;\u624Cpsilon;\u43F6rime;\u6035im\u0100;e\u171A\u171B\u623Dq;\u62CD\u0176\u1722\u1726ee;\u62BDed\u0100;g\u172C\u172D\u6305e\xBB\u172Drk\u0100;t\u135C\u1737brk;\u63B6\u0100oy\u1701\u1741;\u4431quo;\u601E\u0280cmprt\u1753\u175B\u1761\u1764\u1768aus\u0100;e\u010A\u0109ptyv;\u69B0s\xE9\u170Cno\xF5\u0113\u0180ahw\u176F\u1771\u1773;\u43B2;\u6136een;\u626Cr;\uC000\u{1D51F}g\u0380costuvw\u178D\u179D\u17B3\u17C1\u17D5\u17DB\u17DE\u0180aiu\u1794\u1796\u179A\xF0\u0760rc;\u65EFp\xBB\u1371\u0180dpt\u17A4\u17A8\u17ADot;\u6A00lus;\u6A01imes;\u6A02\u0271\u17B9\0\0\u17BEcup;\u6A06ar;\u6605riangle\u0100du\u17CD\u17D2own;\u65BDp;\u65B3plus;\u6A04e\xE5\u1444\xE5\u14ADarow;\u690D\u0180ako\u17ED\u1826\u1835\u0100cn\u17F2\u1823k\u0180lst\u17FA\u05AB\u1802ozenge;\u69EBriangle\u0200;dlr\u1812\u1813\u1818\u181D\u65B4own;\u65BEeft;\u65C2ight;\u65B8k;\u6423\u01B1\u182B\0\u1833\u01B2\u182F\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183E\u184D\u0100;q\u1843\u1846\uC000=\u20E5uiv;\uC000\u2261\u20E5t;\u6310\u0200ptwx\u1859\u185E\u1867\u186Cf;\uC000\u{1D553}\u0100;t\u13CB\u1863om\xBB\u13CCtie;\u62C8\u0600DHUVbdhmptuv\u1885\u1896\u18AA\u18BB\u18D7\u18DB\u18EC\u18FF\u1905\u190A\u1910\u1921\u0200LRlr\u188E\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18A1\u18A2\u18A4\u18A6\u18A8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18B3\u18B5\u18B7\u18B9;\u655D;\u655A;\u655C;\u6559\u0380;HLRhlr\u18CA\u18CB\u18CD\u18CF\u18D1\u18D3\u18D5\u6551;\u656C;\u6563;\u6560;\u656B;\u6562;\u655Fox;\u69C9\u0200LRlr\u18E4\u18E6\u18E8\u18EA;\u6555;\u6552;\u6510;\u650C\u0280;DUdu\u06BD\u18F7\u18F9\u18FB\u18FD;\u6565;\u6568;\u652C;\u6534inus;\u629Flus;\u629Eimes;\u62A0\u0200LRlr\u1919\u191B\u191D\u191F;\u655B;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193B\u6502;\u656A;\u6561;\u655E;\u653C;\u6524;\u651C\u0100ev\u0123\u1942bar\u803B\xA6\u40A6\u0200ceio\u1951\u1956\u195A\u1960r;\uC000\u{1D4B7}mi;\u604Fm\u0100;e\u171A\u171Cl\u0180;bh\u1968\u1969\u196B\u405C;\u69C5sub;\u67C8\u016C\u1974\u197El\u0100;e\u1979\u197A\u6022t\xBB\u197Ap\u0180;Ee\u012F\u1985\u1987;\u6AAE\u0100;q\u06DC\u06DB\u0CE1\u19A7\0\u19E8\u1A11\u1A15\u1A32\0\u1A37\u1A50\0\0\u1AB4\0\0\u1AC1\0\0\u1B21\u1B2E\u1B4D\u1B52\0\u1BFD\0\u1C0C\u0180cpr\u19AD\u19B2\u19DDute;\u4107\u0300;abcds\u19BF\u19C0\u19C4\u19CA\u19D5\u19D9\u6229nd;\u6A44rcup;\u6A49\u0100au\u19CF\u19D2p;\u6A4Bp;\u6A47ot;\u6A40;\uC000\u2229\uFE00\u0100eo\u19E2\u19E5t;\u6041\xEE\u0693\u0200aeiu\u19F0\u19FB\u1A01\u1A05\u01F0\u19F5\0\u19F8s;\u6A4Don;\u410Ddil\u803B\xE7\u40E7rc;\u4109ps\u0100;s\u1A0C\u1A0D\u6A4Cm;\u6A50ot;\u410B\u0180dmn\u1A1B\u1A20\u1A26il\u80BB\xB8\u01ADptyv;\u69B2t\u8100\xA2;e\u1A2D\u1A2E\u40A2r\xE4\u01B2r;\uC000\u{1D520}\u0180cei\u1A3D\u1A40\u1A4Dy;\u4447ck\u0100;m\u1A47\u1A48\u6713ark\xBB\u1A48;\u43C7r\u0380;Ecefms\u1A5F\u1A60\u1A62\u1A6B\u1AA4\u1AAA\u1AAE\u65CB;\u69C3\u0180;el\u1A69\u1A6A\u1A6D\u42C6q;\u6257e\u0261\u1A74\0\0\u1A88rrow\u0100lr\u1A7C\u1A81eft;\u61BAight;\u61BB\u0280RSacd\u1A92\u1A94\u1A96\u1A9A\u1A9F\xBB\u0F47;\u64C8st;\u629Birc;\u629Aash;\u629Dnint;\u6A10id;\u6AEFcir;\u69C2ubs\u0100;u\u1ABB\u1ABC\u6663it\xBB\u1ABC\u02EC\u1AC7\u1AD4\u1AFA\0\u1B0Aon\u0100;e\u1ACD\u1ACE\u403A\u0100;q\xC7\xC6\u026D\u1AD9\0\0\u1AE2a\u0100;t\u1ADE\u1ADF\u402C;\u4040\u0180;fl\u1AE8\u1AE9\u1AEB\u6201\xEE\u1160e\u0100mx\u1AF1\u1AF6ent\xBB\u1AE9e\xF3\u024D\u01E7\u1AFE\0\u1B07\u0100;d\u12BB\u1B02ot;\u6A6Dn\xF4\u0246\u0180fry\u1B10\u1B14\u1B17;\uC000\u{1D554}o\xE4\u0254\u8100\xA9;s\u0155\u1B1Dr;\u6117\u0100ao\u1B25\u1B29rr;\u61B5ss;\u6717\u0100cu\u1B32\u1B37r;\uC000\u{1D4B8}\u0100bp\u1B3C\u1B44\u0100;e\u1B41\u1B42\u6ACF;\u6AD1\u0100;e\u1B49\u1B4A\u6AD0;\u6AD2dot;\u62EF\u0380delprvw\u1B60\u1B6C\u1B77\u1B82\u1BAC\u1BD4\u1BF9arr\u0100lr\u1B68\u1B6A;\u6938;\u6935\u0270\u1B72\0\0\u1B75r;\u62DEc;\u62DFarr\u0100;p\u1B7F\u1B80\u61B6;\u693D\u0300;bcdos\u1B8F\u1B90\u1B96\u1BA1\u1BA5\u1BA8\u622Arcap;\u6A48\u0100au\u1B9B\u1B9Ep;\u6A46p;\u6A4Aot;\u628Dr;\u6A45;\uC000\u222A\uFE00\u0200alrv\u1BB5\u1BBF\u1BDE\u1BE3rr\u0100;m\u1BBC\u1BBD\u61B7;\u693Cy\u0180evw\u1BC7\u1BD4\u1BD8q\u0270\u1BCE\0\0\u1BD2re\xE3\u1B73u\xE3\u1B75ee;\u62CEedge;\u62CFen\u803B\xA4\u40A4earrow\u0100lr\u1BEE\u1BF3eft\xBB\u1B80ight\xBB\u1BBDe\xE4\u1BDD\u0100ci\u1C01\u1C07onin\xF4\u01F7nt;\u6231lcty;\u632D\u0980AHabcdefhijlorstuwz\u1C38\u1C3B\u1C3F\u1C5D\u1C69\u1C75\u1C8A\u1C9E\u1CAC\u1CB7\u1CFB\u1CFF\u1D0D\u1D7B\u1D91\u1DAB\u1DBB\u1DC6\u1DCDr\xF2\u0381ar;\u6965\u0200glrs\u1C48\u1C4D\u1C52\u1C54ger;\u6020eth;\u6138\xF2\u1133h\u0100;v\u1C5A\u1C5B\u6010\xBB\u090A\u016B\u1C61\u1C67arow;\u690Fa\xE3\u0315\u0100ay\u1C6E\u1C73ron;\u410F;\u4434\u0180;ao\u0332\u1C7C\u1C84\u0100gr\u02BF\u1C81r;\u61CAtseq;\u6A77\u0180glm\u1C91\u1C94\u1C98\u803B\xB0\u40B0ta;\u43B4ptyv;\u69B1\u0100ir\u1CA3\u1CA8sht;\u697F;\uC000\u{1D521}ar\u0100lr\u1CB3\u1CB5\xBB\u08DC\xBB\u101E\u0280aegsv\u1CC2\u0378\u1CD6\u1CDC\u1CE0m\u0180;os\u0326\u1CCA\u1CD4nd\u0100;s\u0326\u1CD1uit;\u6666amma;\u43DDin;\u62F2\u0180;io\u1CE7\u1CE8\u1CF8\u40F7de\u8100\xF7;o\u1CE7\u1CF0ntimes;\u62C7n\xF8\u1CF7cy;\u4452c\u026F\u1D06\0\0\u1D0Arn;\u631Eop;\u630D\u0280lptuw\u1D18\u1D1D\u1D22\u1D49\u1D55lar;\u4024f;\uC000\u{1D555}\u0280;emps\u030B\u1D2D\u1D37\u1D3D\u1D42q\u0100;d\u0352\u1D33ot;\u6251inus;\u6238lus;\u6214quare;\u62A1blebarwedg\xE5\xFAn\u0180adh\u112E\u1D5D\u1D67ownarrow\xF3\u1C83arpoon\u0100lr\u1D72\u1D76ef\xF4\u1CB4igh\xF4\u1CB6\u0162\u1D7F\u1D85karo\xF7\u0F42\u026F\u1D8A\0\0\u1D8Ern;\u631Fop;\u630C\u0180cot\u1D98\u1DA3\u1DA6\u0100ry\u1D9D\u1DA1;\uC000\u{1D4B9};\u4455l;\u69F6rok;\u4111\u0100dr\u1DB0\u1DB4ot;\u62F1i\u0100;f\u1DBA\u1816\u65BF\u0100ah\u1DC0\u1DC3r\xF2\u0429a\xF2\u0FA6angle;\u69A6\u0100ci\u1DD2\u1DD5y;\u445Fgrarr;\u67FF\u0900Dacdefglmnopqrstux\u1E01\u1E09\u1E19\u1E38\u0578\u1E3C\u1E49\u1E61\u1E7E\u1EA5\u1EAF\u1EBD\u1EE1\u1F2A\u1F37\u1F44\u1F4E\u1F5A\u0100Do\u1E06\u1D34o\xF4\u1C89\u0100cs\u1E0E\u1E14ute\u803B\xE9\u40E9ter;\u6A6E\u0200aioy\u1E22\u1E27\u1E31\u1E36ron;\u411Br\u0100;c\u1E2D\u1E2E\u6256\u803B\xEA\u40EAlon;\u6255;\u444Dot;\u4117\u0100Dr\u1E41\u1E45ot;\u6252;\uC000\u{1D522}\u0180;rs\u1E50\u1E51\u1E57\u6A9Aave\u803B\xE8\u40E8\u0100;d\u1E5C\u1E5D\u6A96ot;\u6A98\u0200;ils\u1E6A\u1E6B\u1E72\u1E74\u6A99nters;\u63E7;\u6113\u0100;d\u1E79\u1E7A\u6A95ot;\u6A97\u0180aps\u1E85\u1E89\u1E97cr;\u4113ty\u0180;sv\u1E92\u1E93\u1E95\u6205et\xBB\u1E93p\u01001;\u1E9D\u1EA4\u0133\u1EA1\u1EA3;\u6004;\u6005\u6003\u0100gs\u1EAA\u1EAC;\u414Bp;\u6002\u0100gp\u1EB4\u1EB8on;\u4119f;\uC000\u{1D556}\u0180als\u1EC4\u1ECE\u1ED2r\u0100;s\u1ECA\u1ECB\u62D5l;\u69E3us;\u6A71i\u0180;lv\u1EDA\u1EDB\u1EDF\u43B5on\xBB\u1EDB;\u43F5\u0200csuv\u1EEA\u1EF3\u1F0B\u1F23\u0100io\u1EEF\u1E31rc\xBB\u1E2E\u0269\u1EF9\0\0\u1EFB\xED\u0548ant\u0100gl\u1F02\u1F06tr\xBB\u1E5Dess\xBB\u1E7A\u0180aei\u1F12\u1F16\u1F1Als;\u403Dst;\u625Fv\u0100;D\u0235\u1F20D;\u6A78parsl;\u69E5\u0100Da\u1F2F\u1F33ot;\u6253rr;\u6971\u0180cdi\u1F3E\u1F41\u1EF8r;\u612Fo\xF4\u0352\u0100ah\u1F49\u1F4B;\u43B7\u803B\xF0\u40F0\u0100mr\u1F53\u1F57l\u803B\xEB\u40EBo;\u60AC\u0180cip\u1F61\u1F64\u1F67l;\u4021s\xF4\u056E\u0100eo\u1F6C\u1F74ctatio\xEE\u0559nential\xE5\u0579\u09E1\u1F92\0\u1F9E\0\u1FA1\u1FA7\0\0\u1FC6\u1FCC\0\u1FD3\0\u1FE6\u1FEA\u2000\0\u2008\u205Allingdotse\xF1\u1E44y;\u4444male;\u6640\u0180ilr\u1FAD\u1FB3\u1FC1lig;\u8000\uFB03\u0269\u1FB9\0\0\u1FBDg;\u8000\uFB00ig;\u8000\uFB04;\uC000\u{1D523}lig;\u8000\uFB01lig;\uC000fj\u0180alt\u1FD9\u1FDC\u1FE1t;\u666Dig;\u8000\uFB02ns;\u65B1of;\u4192\u01F0\u1FEE\0\u1FF3f;\uC000\u{1D557}\u0100ak\u05BF\u1FF7\u0100;v\u1FFC\u1FFD\u62D4;\u6AD9artint;\u6A0D\u0100ao\u200C\u2055\u0100cs\u2011\u2052\u03B1\u201A\u2030\u2038\u2045\u2048\0\u2050\u03B2\u2022\u2025\u2027\u202A\u202C\0\u202E\u803B\xBD\u40BD;\u6153\u803B\xBC\u40BC;\u6155;\u6159;\u615B\u01B3\u2034\0\u2036;\u6154;\u6156\u02B4\u203E\u2041\0\0\u2043\u803B\xBE\u40BE;\u6157;\u615C5;\u6158\u01B6\u204C\0\u204E;\u615A;\u615D8;\u615El;\u6044wn;\u6322cr;\uC000\u{1D4BB}\u0880Eabcdefgijlnorstv\u2082\u2089\u209F\u20A5\u20B0\u20B4\u20F0\u20F5\u20FA\u20FF\u2103\u2112\u2138\u0317\u213E\u2152\u219E\u0100;l\u064D\u2087;\u6A8C\u0180cmp\u2090\u2095\u209Dute;\u41F5ma\u0100;d\u209C\u1CDA\u43B3;\u6A86reve;\u411F\u0100iy\u20AA\u20AErc;\u411D;\u4433ot;\u4121\u0200;lqs\u063E\u0642\u20BD\u20C9\u0180;qs\u063E\u064C\u20C4lan\xF4\u0665\u0200;cdl\u0665\u20D2\u20D5\u20E5c;\u6AA9ot\u0100;o\u20DC\u20DD\u6A80\u0100;l\u20E2\u20E3\u6A82;\u6A84\u0100;e\u20EA\u20ED\uC000\u22DB\uFE00s;\u6A94r;\uC000\u{1D524}\u0100;g\u0673\u061Bmel;\u6137cy;\u4453\u0200;Eaj\u065A\u210C\u210E\u2110;\u6A92;\u6AA5;\u6AA4\u0200Eaes\u211B\u211D\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6A8Arox\xBB\u2124\u0100;q\u212E\u212F\u6A88\u0100;q\u212E\u211Bim;\u62E7pf;\uC000\u{1D558}\u0100ci\u2143\u2146r;\u610Am\u0180;el\u066B\u214E\u2150;\u6A8E;\u6A90\u8300>;cdlqr\u05EE\u2160\u216A\u216E\u2173\u2179\u0100ci\u2165\u2167;\u6AA7r;\u6A7Aot;\u62D7Par;\u6995uest;\u6A7C\u0280adels\u2184\u216A\u2190\u0656\u219B\u01F0\u2189\0\u218Epro\xF8\u209Er;\u6978q\u0100lq\u063F\u2196les\xF3\u2088i\xED\u066B\u0100en\u21A3\u21ADrtneqq;\uC000\u2269\uFE00\xC5\u21AA\u0500Aabcefkosy\u21C4\u21C7\u21F1\u21F5\u21FA\u2218\u221D\u222F\u2268\u227Dr\xF2\u03A0\u0200ilmr\u21D0\u21D4\u21D7\u21DBrs\xF0\u1484f\xBB\u2024il\xF4\u06A9\u0100dr\u21E0\u21E4cy;\u444A\u0180;cw\u08F4\u21EB\u21EFir;\u6948;\u61ADar;\u610Firc;\u4125\u0180alr\u2201\u220E\u2213rts\u0100;u\u2209\u220A\u6665it\xBB\u220Alip;\u6026con;\u62B9r;\uC000\u{1D525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223A\u223E\u2243\u225E\u2263rr;\u61FFtht;\u623Bk\u0100lr\u2249\u2253eftarrow;\u61A9ightarrow;\u61AAf;\uC000\u{1D559}bar;\u6015\u0180clt\u226F\u2274\u2278r;\uC000\u{1D4BD}as\xE8\u21F4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xBB\u1C5B\u0AE1\u22A3\0\u22AA\0\u22B8\u22C5\u22CE\0\u22D5\u22F3\0\0\u22F8\u2322\u2367\u2362\u237F\0\u2386\u23AA\u23B4cute\u803B\xED\u40ED\u0180;iy\u0771\u22B0\u22B5rc\u803B\xEE\u40EE;\u4438\u0100cx\u22BC\u22BFy;\u4435cl\u803B\xA1\u40A1\u0100fr\u039F\u22C9;\uC000\u{1D526}rave\u803B\xEC\u40EC\u0200;ino\u073E\u22DD\u22E9\u22EE\u0100in\u22E2\u22E6nt;\u6A0Ct;\u622Dfin;\u69DCta;\u6129lig;\u4133\u0180aop\u22FE\u231A\u231D\u0180cgt\u2305\u2308\u2317r;\u412B\u0180elp\u071F\u230F\u2313in\xE5\u078Ear\xF4\u0720h;\u4131f;\u62B7ed;\u41B5\u0280;cfot\u04F4\u232C\u2331\u233D\u2341are;\u6105in\u0100;t\u2338\u2339\u621Eie;\u69DDdo\xF4\u2319\u0280;celp\u0757\u234C\u2350\u235B\u2361al;\u62BA\u0100gr\u2355\u2359er\xF3\u1563\xE3\u234Darhk;\u6A17rod;\u6A3C\u0200cgpt\u236F\u2372\u2376\u237By;\u4451on;\u412Ff;\uC000\u{1D55A}a;\u43B9uest\u803B\xBF\u40BF\u0100ci\u238A\u238Fr;\uC000\u{1D4BE}n\u0280;Edsv\u04F4\u239B\u239D\u23A1\u04F3;\u62F9ot;\u62F5\u0100;v\u23A6\u23A7\u62F4;\u62F3\u0100;i\u0777\u23AElde;\u4129\u01EB\u23B8\0\u23BCcy;\u4456l\u803B\xEF\u40EF\u0300cfmosu\u23CC\u23D7\u23DC\u23E1\u23E7\u23F5\u0100iy\u23D1\u23D5rc;\u4135;\u4439r;\uC000\u{1D527}ath;\u4237pf;\uC000\u{1D55B}\u01E3\u23EC\0\u23F1r;\uC000\u{1D4BF}rcy;\u4458kcy;\u4454\u0400acfghjos\u240B\u2416\u2422\u2427\u242D\u2431\u2435\u243Bppa\u0100;v\u2413\u2414\u43BA;\u43F0\u0100ey\u241B\u2420dil;\u4137;\u443Ar;\uC000\u{1D528}reen;\u4138cy;\u4445cy;\u445Cpf;\uC000\u{1D55C}cr;\uC000\u{1D4C0}\u0B80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248D\u2491\u250E\u253D\u255A\u2580\u264E\u265E\u2665\u2679\u267D\u269A\u26B2\u26D8\u275D\u2768\u278B\u27C0\u2801\u2812\u0180art\u2477\u247A\u247Cr\xF2\u09C6\xF2\u0395ail;\u691Barr;\u690E\u0100;g\u0994\u248B;\u6A8Bar;\u6962\u0963\u24A5\0\u24AA\0\u24B1\0\0\0\0\0\u24B5\u24BA\0\u24C6\u24C8\u24CD\0\u24F9ute;\u413Amptyv;\u69B4ra\xEE\u084Cbda;\u43BBg\u0180;dl\u088E\u24C1\u24C3;\u6991\xE5\u088E;\u6A85uo\u803B\xAB\u40ABr\u0400;bfhlpst\u0899\u24DE\u24E6\u24E9\u24EB\u24EE\u24F1\u24F5\u0100;f\u089D\u24E3s;\u691Fs;\u691D\xEB\u2252p;\u61ABl;\u6939im;\u6973l;\u61A2\u0180;ae\u24FF\u2500\u2504\u6AABil;\u6919\u0100;s\u2509\u250A\u6AAD;\uC000\u2AAD\uFE00\u0180abr\u2515\u2519\u251Drr;\u690Crk;\u6772\u0100ak\u2522\u252Cc\u0100ek\u2528\u252A;\u407B;\u405B\u0100es\u2531\u2533;\u698Bl\u0100du\u2539\u253B;\u698F;\u698D\u0200aeuy\u2546\u254B\u2556\u2558ron;\u413E\u0100di\u2550\u2554il;\u413C\xEC\u08B0\xE2\u2529;\u443B\u0200cqrs\u2563\u2566\u256D\u257Da;\u6936uo\u0100;r\u0E19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694Bh;\u61B2\u0280;fgqs\u258B\u258C\u0989\u25F3\u25FF\u6264t\u0280ahlrt\u2598\u25A4\u25B7\u25C2\u25E8rrow\u0100;t\u0899\u25A1a\xE9\u24F6arpoon\u0100du\u25AF\u25B4own\xBB\u045Ap\xBB\u0966eftarrows;\u61C7ight\u0180ahs\u25CD\u25D6\u25DErrow\u0100;s\u08F4\u08A7arpoon\xF3\u0F98quigarro\xF7\u21F0hreetimes;\u62CB\u0180;qs\u258B\u0993\u25FAlan\xF4\u09AC\u0280;cdgs\u09AC\u260A\u260D\u261D\u2628c;\u6AA8ot\u0100;o\u2614\u2615\u6A7F\u0100;r\u261A\u261B\u6A81;\u6A83\u0100;e\u2622\u2625\uC000\u22DA\uFE00s;\u6A93\u0280adegs\u2633\u2639\u263D\u2649\u264Bppro\xF8\u24C6ot;\u62D6q\u0100gq\u2643\u2645\xF4\u0989gt\xF2\u248C\xF4\u099Bi\xED\u09B2\u0180ilr\u2655\u08E1\u265Asht;\u697C;\uC000\u{1D529}\u0100;E\u099C\u2663;\u6A91\u0161\u2669\u2676r\u0100du\u25B2\u266E\u0100;l\u0965\u2673;\u696Alk;\u6584cy;\u4459\u0280;acht\u0A48\u2688\u268B\u2691\u2696r\xF2\u25C1orne\xF2\u1D08ard;\u696Bri;\u65FA\u0100io\u269F\u26A4dot;\u4140ust\u0100;a\u26AC\u26AD\u63B0che\xBB\u26AD\u0200Eaes\u26BB\u26BD\u26C9\u26D4;\u6268p\u0100;p\u26C3\u26C4\u6A89rox\xBB\u26C4\u0100;q\u26CE\u26CF\u6A87\u0100;q\u26CE\u26BBim;\u62E6\u0400abnoptwz\u26E9\u26F4\u26F7\u271A\u272F\u2741\u2747\u2750\u0100nr\u26EE\u26F1g;\u67ECr;\u61FDr\xEB\u08C1g\u0180lmr\u26FF\u270D\u2714eft\u0100ar\u09E6\u2707ight\xE1\u09F2apsto;\u67FCight\xE1\u09FDparrow\u0100lr\u2725\u2729ef\xF4\u24EDight;\u61AC\u0180afl\u2736\u2739\u273Dr;\u6985;\uC000\u{1D55D}us;\u6A2Dimes;\u6A34\u0161\u274B\u274Fst;\u6217\xE1\u134E\u0180;ef\u2757\u2758\u1800\u65CAnge\xBB\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277C\u2785\u2787r\xF2\u08A8orne\xF2\u1D8Car\u0100;d\u0F98\u2783;\u696D;\u600Eri;\u62BF\u0300achiqt\u2798\u279D\u0A40\u27A2\u27AE\u27BBquo;\u6039r;\uC000\u{1D4C1}m\u0180;eg\u09B2\u27AA\u27AC;\u6A8D;\u6A8F\u0100bu\u252A\u27B3o\u0100;r\u0E1F\u27B9;\u601Arok;\u4142\u8400<;cdhilqr\u082B\u27D2\u2639\u27DC\u27E0\u27E5\u27EA\u27F0\u0100ci\u27D7\u27D9;\u6AA6r;\u6A79re\xE5\u25F2mes;\u62C9arr;\u6976uest;\u6A7B\u0100Pi\u27F5\u27F9ar;\u6996\u0180;ef\u2800\u092D\u181B\u65C3r\u0100du\u2807\u280Dshar;\u694Ahar;\u6966\u0100en\u2817\u2821rtneqq;\uC000\u2268\uFE00\xC5\u281E\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288E\u2893\u28A0\u28A5\u28A8\u28DA\u28E2\u28E4\u0A83\u28F3\u2902Dot;\u623A\u0200clpr\u284E\u2852\u2863\u287Dr\u803B\xAF\u40AF\u0100et\u2857\u2859;\u6642\u0100;e\u285E\u285F\u6720se\xBB\u285F\u0100;s\u103B\u2868to\u0200;dlu\u103B\u2873\u2877\u287Bow\xEE\u048Cef\xF4\u090F\xF0\u13D1ker;\u65AE\u0100oy\u2887\u288Cmma;\u6A29;\u443Cash;\u6014asuredangle\xBB\u1626r;\uC000\u{1D52A}o;\u6127\u0180cdn\u28AF\u28B4\u28C9ro\u803B\xB5\u40B5\u0200;acd\u1464\u28BD\u28C0\u28C4s\xF4\u16A7ir;\u6AF0ot\u80BB\xB7\u01B5us\u0180;bd\u28D2\u1903\u28D3\u6212\u0100;u\u1D3C\u28D8;\u6A2A\u0163\u28DE\u28E1p;\u6ADB\xF2\u2212\xF0\u0A81\u0100dp\u28E9\u28EEels;\u62A7f;\uC000\u{1D55E}\u0100ct\u28F8\u28FDr;\uC000\u{1D4C2}pos\xBB\u159D\u0180;lm\u2909\u290A\u290D\u43BCtimap;\u62B8\u0C00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297E\u2989\u2998\u29DA\u29E9\u2A15\u2A1A\u2A58\u2A5D\u2A83\u2A95\u2AA4\u2AA8\u2B04\u2B07\u2B44\u2B7F\u2BAE\u2C34\u2C67\u2C7C\u2CE9\u0100gt\u2947\u294B;\uC000\u22D9\u0338\u0100;v\u2950\u0BCF\uC000\u226B\u20D2\u0180elt\u295A\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61CDightarrow;\u61CE;\uC000\u22D8\u0338\u0100;v\u297B\u0C47\uC000\u226A\u20D2ightarrow;\u61CF\u0100Dd\u298E\u2993ash;\u62AFash;\u62AE\u0280bcnpt\u29A3\u29A7\u29AC\u29B1\u29CCla\xBB\u02DEute;\u4144g;\uC000\u2220\u20D2\u0280;Eiop\u0D84\u29BC\u29C0\u29C5\u29C8;\uC000\u2A70\u0338d;\uC000\u224B\u0338s;\u4149ro\xF8\u0D84ur\u0100;a\u29D3\u29D4\u666El\u0100;s\u29D3\u0B38\u01F3\u29DF\0\u29E3p\u80BB\xA0\u0B37mp\u0100;e\u0BF9\u0C00\u0280aeouy\u29F4\u29FE\u2A03\u2A10\u2A13\u01F0\u29F9\0\u29FB;\u6A43on;\u4148dil;\u4146ng\u0100;d\u0D7E\u2A0Aot;\uC000\u2A6D\u0338p;\u6A42;\u443Dash;\u6013\u0380;Aadqsx\u0B92\u2A29\u2A2D\u2A3B\u2A41\u2A45\u2A50rr;\u61D7r\u0100hr\u2A33\u2A36k;\u6924\u0100;o\u13F2\u13F0ot;\uC000\u2250\u0338ui\xF6\u0B63\u0100ei\u2A4A\u2A4Ear;\u6928\xED\u0B98ist\u0100;s\u0BA0\u0B9Fr;\uC000\u{1D52B}\u0200Eest\u0BC5\u2A66\u2A79\u2A7C\u0180;qs\u0BBC\u2A6D\u0BE1\u0180;qs\u0BBC\u0BC5\u2A74lan\xF4\u0BE2i\xED\u0BEA\u0100;r\u0BB6\u2A81\xBB\u0BB7\u0180Aap\u2A8A\u2A8D\u2A91r\xF2\u2971rr;\u61AEar;\u6AF2\u0180;sv\u0F8D\u2A9C\u0F8C\u0100;d\u2AA1\u2AA2\u62FC;\u62FAcy;\u445A\u0380AEadest\u2AB7\u2ABA\u2ABE\u2AC2\u2AC5\u2AF6\u2AF9r\xF2\u2966;\uC000\u2266\u0338rr;\u619Ar;\u6025\u0200;fqs\u0C3B\u2ACE\u2AE3\u2AEFt\u0100ar\u2AD4\u2AD9rro\xF7\u2AC1ightarro\xF7\u2A90\u0180;qs\u0C3B\u2ABA\u2AEAlan\xF4\u0C55\u0100;s\u0C55\u2AF4\xBB\u0C36i\xED\u0C5D\u0100;r\u0C35\u2AFEi\u0100;e\u0C1A\u0C25i\xE4\u0D90\u0100pt\u2B0C\u2B11f;\uC000\u{1D55F}\u8180\xAC;in\u2B19\u2B1A\u2B36\u40ACn\u0200;Edv\u0B89\u2B24\u2B28\u2B2E;\uC000\u22F9\u0338ot;\uC000\u22F5\u0338\u01E1\u0B89\u2B33\u2B35;\u62F7;\u62F6i\u0100;v\u0CB8\u2B3C\u01E1\u0CB8\u2B41\u2B43;\u62FE;\u62FD\u0180aor\u2B4B\u2B63\u2B69r\u0200;ast\u0B7B\u2B55\u2B5A\u2B5Flle\xEC\u0B7Bl;\uC000\u2AFD\u20E5;\uC000\u2202\u0338lint;\u6A14\u0180;ce\u0C92\u2B70\u2B73u\xE5\u0CA5\u0100;c\u0C98\u2B78\u0100;e\u0C92\u2B7D\xF1\u0C98\u0200Aait\u2B88\u2B8B\u2B9D\u2BA7r\xF2\u2988rr\u0180;cw\u2B94\u2B95\u2B99\u619B;\uC000\u2933\u0338;\uC000\u219D\u0338ghtarrow\xBB\u2B95ri\u0100;e\u0CCB\u0CD6\u0380chimpqu\u2BBD\u2BCD\u2BD9\u2B04\u0B78\u2BE4\u2BEF\u0200;cer\u0D32\u2BC6\u0D37\u2BC9u\xE5\u0D45;\uC000\u{1D4C3}ort\u026D\u2B05\0\0\u2BD6ar\xE1\u2B56m\u0100;e\u0D6E\u2BDF\u0100;q\u0D74\u0D73su\u0100bp\u2BEB\u2BED\xE5\u0CF8\xE5\u0D0B\u0180bcp\u2BF6\u2C11\u2C19\u0200;Ees\u2BFF\u2C00\u0D22\u2C04\u6284;\uC000\u2AC5\u0338et\u0100;e\u0D1B\u2C0Bq\u0100;q\u0D23\u2C00c\u0100;e\u0D32\u2C17\xF1\u0D38\u0200;Ees\u2C22\u2C23\u0D5F\u2C27\u6285;\uC000\u2AC6\u0338et\u0100;e\u0D58\u2C2Eq\u0100;q\u0D60\u2C23\u0200gilr\u2C3D\u2C3F\u2C45\u2C47\xEC\u0BD7lde\u803B\xF1\u40F1\xE7\u0C43iangle\u0100lr\u2C52\u2C5Ceft\u0100;e\u0C1A\u2C5A\xF1\u0C26ight\u0100;e\u0CCB\u2C65\xF1\u0CD7\u0100;m\u2C6C\u2C6D\u43BD\u0180;es\u2C74\u2C75\u2C79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2C8F\u2C94\u2C99\u2C9E\u2CA3\u2CB0\u2CB6\u2CD3\u2CE3ash;\u62ADarr;\u6904p;\uC000\u224D\u20D2ash;\u62AC\u0100et\u2CA8\u2CAC;\uC000\u2265\u20D2;\uC000>\u20D2nfin;\u69DE\u0180Aet\u2CBD\u2CC1\u2CC5rr;\u6902;\uC000\u2264\u20D2\u0100;r\u2CCA\u2CCD\uC000<\u20D2ie;\uC000\u22B4\u20D2\u0100At\u2CD8\u2CDCrr;\u6903rie;\uC000\u22B5\u20D2im;\uC000\u223C\u20D2\u0180Aan\u2CF0\u2CF4\u2D02rr;\u61D6r\u0100hr\u2CFA\u2CFDk;\u6923\u0100;o\u13E7\u13E5ear;\u6927\u1253\u1A95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2D2D\0\u2D38\u2D48\u2D60\u2D65\u2D72\u2D84\u1B07\0\0\u2D8D\u2DAB\0\u2DC8\u2DCE\0\u2DDC\u2E19\u2E2B\u2E3E\u2E43\u0100cs\u2D31\u1A97ute\u803B\xF3\u40F3\u0100iy\u2D3C\u2D45r\u0100;c\u1A9E\u2D42\u803B\xF4\u40F4;\u443E\u0280abios\u1AA0\u2D52\u2D57\u01C8\u2D5Alac;\u4151v;\u6A38old;\u69BClig;\u4153\u0100cr\u2D69\u2D6Dir;\u69BF;\uC000\u{1D52C}\u036F\u2D79\0\0\u2D7C\0\u2D82n;\u42DBave\u803B\xF2\u40F2;\u69C1\u0100bm\u2D88\u0DF4ar;\u69B5\u0200acit\u2D95\u2D98\u2DA5\u2DA8r\xF2\u1A80\u0100ir\u2D9D\u2DA0r;\u69BEoss;\u69BBn\xE5\u0E52;\u69C0\u0180aei\u2DB1\u2DB5\u2DB9cr;\u414Dga;\u43C9\u0180cdn\u2DC0\u2DC5\u01CDron;\u43BF;\u69B6pf;\uC000\u{1D560}\u0180ael\u2DD4\u2DD7\u01D2r;\u69B7rp;\u69B9\u0380;adiosv\u2DEA\u2DEB\u2DEE\u2E08\u2E0D\u2E10\u2E16\u6228r\xF2\u1A86\u0200;efm\u2DF7\u2DF8\u2E02\u2E05\u6A5Dr\u0100;o\u2DFE\u2DFF\u6134f\xBB\u2DFF\u803B\xAA\u40AA\u803B\xBA\u40BAgof;\u62B6r;\u6A56lope;\u6A57;\u6A5B\u0180clo\u2E1F\u2E21\u2E27\xF2\u2E01ash\u803B\xF8\u40F8l;\u6298i\u016C\u2E2F\u2E34de\u803B\xF5\u40F5es\u0100;a\u01DB\u2E3As;\u6A36ml\u803B\xF6\u40F6bar;\u633D\u0AE1\u2E5E\0\u2E7D\0\u2E80\u2E9D\0\u2EA2\u2EB9\0\0\u2ECB\u0E9C\0\u2F13\0\0\u2F2B\u2FBC\0\u2FC8r\u0200;ast\u0403\u2E67\u2E72\u0E85\u8100\xB6;l\u2E6D\u2E6E\u40B6le\xEC\u0403\u0269\u2E78\0\0\u2E7Bm;\u6AF3;\u6AFDy;\u443Fr\u0280cimpt\u2E8B\u2E8F\u2E93\u1865\u2E97nt;\u4025od;\u402Eil;\u6030enk;\u6031r;\uC000\u{1D52D}\u0180imo\u2EA8\u2EB0\u2EB4\u0100;v\u2EAD\u2EAE\u43C6;\u43D5ma\xF4\u0A76ne;\u660E\u0180;tv\u2EBF\u2EC0\u2EC8\u43C0chfork\xBB\u1FFD;\u43D6\u0100au\u2ECF\u2EDFn\u0100ck\u2ED5\u2EDDk\u0100;h\u21F4\u2EDB;\u610E\xF6\u21F4s\u0480;abcdemst\u2EF3\u2EF4\u1908\u2EF9\u2EFD\u2F04\u2F06\u2F0A\u2F0E\u402Bcir;\u6A23ir;\u6A22\u0100ou\u1D40\u2F02;\u6A25;\u6A72n\u80BB\xB1\u0E9Dim;\u6A26wo;\u6A27\u0180ipu\u2F19\u2F20\u2F25ntint;\u6A15f;\uC000\u{1D561}nd\u803B\xA3\u40A3\u0500;Eaceinosu\u0EC8\u2F3F\u2F41\u2F44\u2F47\u2F81\u2F89\u2F92\u2F7E\u2FB6;\u6AB3p;\u6AB7u\xE5\u0ED9\u0100;c\u0ECE\u2F4C\u0300;acens\u0EC8\u2F59\u2F5F\u2F66\u2F68\u2F7Eppro\xF8\u2F43urlye\xF1\u0ED9\xF1\u0ECE\u0180aes\u2F6F\u2F76\u2F7Approx;\u6AB9qq;\u6AB5im;\u62E8i\xED\u0EDFme\u0100;s\u2F88\u0EAE\u6032\u0180Eas\u2F78\u2F90\u2F7A\xF0\u2F75\u0180dfp\u0EEC\u2F99\u2FAF\u0180als\u2FA0\u2FA5\u2FAAlar;\u632Eine;\u6312urf;\u6313\u0100;t\u0EFB\u2FB4\xEF\u0EFBrel;\u62B0\u0100ci\u2FC0\u2FC5r;\uC000\u{1D4C5};\u43C8ncsp;\u6008\u0300fiopsu\u2FDA\u22E2\u2FDF\u2FE5\u2FEB\u2FF1r;\uC000\u{1D52E}pf;\uC000\u{1D562}rime;\u6057cr;\uC000\u{1D4C6}\u0180aeo\u2FF8\u3009\u3013t\u0100ei\u2FFE\u3005rnion\xF3\u06B0nt;\u6A16st\u0100;e\u3010\u3011\u403F\xF1\u1F19\xF4\u0F14\u0A80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30E0\u310E\u312B\u3147\u3162\u3172\u318E\u3206\u3215\u3224\u3229\u3258\u326E\u3272\u3290\u32B0\u32B7\u0180art\u3047\u304A\u304Cr\xF2\u10B3\xF2\u03DDail;\u691Car\xF2\u1C65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307F\u308F\u3094\u30CC\u0100eu\u306D\u3071;\uC000\u223D\u0331te;\u4155i\xE3\u116Emptyv;\u69B3g\u0200;del\u0FD1\u3089\u308B\u308D;\u6992;\u69A5\xE5\u0FD1uo\u803B\xBB\u40BBr\u0580;abcfhlpstw\u0FDC\u30AC\u30AF\u30B7\u30B9\u30BC\u30BE\u30C0\u30C3\u30C7\u30CAp;\u6975\u0100;f\u0FE0\u30B4s;\u6920;\u6933s;\u691E\xEB\u225D\xF0\u272El;\u6945im;\u6974l;\u61A3;\u619D\u0100ai\u30D1\u30D5il;\u691Ao\u0100;n\u30DB\u30DC\u6236al\xF3\u0F1E\u0180abr\u30E7\u30EA\u30EEr\xF2\u17E5rk;\u6773\u0100ak\u30F3\u30FDc\u0100ek\u30F9\u30FB;\u407D;\u405D\u0100es\u3102\u3104;\u698Cl\u0100du\u310A\u310C;\u698E;\u6990\u0200aeuy\u3117\u311C\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xEC\u0FF2\xE2\u30FA;\u4440\u0200clqs\u3134\u3137\u313D\u3144a;\u6937dhar;\u6969uo\u0100;r\u020E\u020Dh;\u61B3\u0180acg\u314E\u315F\u0F44l\u0200;ips\u0F78\u3158\u315B\u109Cn\xE5\u10BBar\xF4\u0FA9t;\u65AD\u0180ilr\u3169\u1023\u316Esht;\u697D;\uC000\u{1D52F}\u0100ao\u3177\u3186r\u0100du\u317D\u317F\xBB\u047B\u0100;l\u1091\u3184;\u696C\u0100;v\u318B\u318C\u43C1;\u43F1\u0180gns\u3195\u31F9\u31FCht\u0300ahlrst\u31A4\u31B0\u31C2\u31D8\u31E4\u31EErrow\u0100;t\u0FDC\u31ADa\xE9\u30C8arpoon\u0100du\u31BB\u31BFow\xEE\u317Ep\xBB\u1092eft\u0100ah\u31CA\u31D0rrow\xF3\u0FEAarpoon\xF3\u0551ightarrows;\u61C9quigarro\xF7\u30CBhreetimes;\u62CCg;\u42DAingdotse\xF1\u1F32\u0180ahm\u320D\u3210\u3213r\xF2\u0FEAa\xF2\u0551;\u600Foust\u0100;a\u321E\u321F\u63B1che\xBB\u321Fmid;\u6AEE\u0200abpt\u3232\u323D\u3240\u3252\u0100nr\u3237\u323Ag;\u67EDr;\u61FEr\xEB\u1003\u0180afl\u3247\u324A\u324Er;\u6986;\uC000\u{1D563}us;\u6A2Eimes;\u6A35\u0100ap\u325D\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6A12ar\xF2\u31E3\u0200achq\u327B\u3280\u10BC\u3285quo;\u603Ar;\uC000\u{1D4C7}\u0100bu\u30FB\u328Ao\u0100;r\u0214\u0213\u0180hir\u3297\u329B\u32A0re\xE5\u31F8mes;\u62CAi\u0200;efl\u32AA\u1059\u1821\u32AB\u65B9tri;\u69CEluhar;\u6968;\u611E\u0D61\u32D5\u32DB\u32DF\u332C\u3338\u3371\0\u337A\u33A4\0\0\u33EC\u33F0\0\u3428\u3448\u345A\u34AD\u34B1\u34CA\u34F1\0\u3616\0\0\u3633cute;\u415Bqu\xEF\u27BA\u0500;Eaceinpsy\u11ED\u32F3\u32F5\u32FF\u3302\u330B\u330F\u331F\u3326\u3329;\u6AB4\u01F0\u32FA\0\u32FC;\u6AB8on;\u4161u\xE5\u11FE\u0100;d\u11F3\u3307il;\u415Frc;\u415D\u0180Eas\u3316\u3318\u331B;\u6AB6p;\u6ABAim;\u62E9olint;\u6A13i\xED\u1204;\u4441ot\u0180;be\u3334\u1D47\u3335\u62C5;\u6A66\u0380Aacmstx\u3346\u334A\u3357\u335B\u335E\u3363\u336Drr;\u61D8r\u0100hr\u3350\u3352\xEB\u2228\u0100;o\u0A36\u0A34t\u803B\xA7\u40A7i;\u403Bwar;\u6929m\u0100in\u3369\xF0nu\xF3\xF1t;\u6736r\u0100;o\u3376\u2055\uC000\u{1D530}\u0200acoy\u3382\u3386\u3391\u33A0rp;\u666F\u0100hy\u338B\u338Fcy;\u4449;\u4448rt\u026D\u3399\0\0\u339Ci\xE4\u1464ara\xEC\u2E6F\u803B\xAD\u40AD\u0100gm\u33A8\u33B4ma\u0180;fv\u33B1\u33B2\u33B2\u43C3;\u43C2\u0400;deglnpr\u12AB\u33C5\u33C9\u33CE\u33D6\u33DE\u33E1\u33E6ot;\u6A6A\u0100;q\u12B1\u12B0\u0100;E\u33D3\u33D4\u6A9E;\u6AA0\u0100;E\u33DB\u33DC\u6A9D;\u6A9Fe;\u6246lus;\u6A24arr;\u6972ar\xF2\u113D\u0200aeit\u33F8\u3408\u340F\u3417\u0100ls\u33FD\u3404lsetm\xE9\u336Ahp;\u6A33parsl;\u69E4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341C\u341D\u6AAA\u0100;s\u3422\u3423\u6AAC;\uC000\u2AAC\uFE00\u0180flp\u342E\u3433\u3442tcy;\u444C\u0100;b\u3438\u3439\u402F\u0100;a\u343E\u343F\u69C4r;\u633Ff;\uC000\u{1D564}a\u0100dr\u344D\u0402es\u0100;u\u3454\u3455\u6660it\xBB\u3455\u0180csu\u3460\u3479\u349F\u0100au\u3465\u346Fp\u0100;s\u1188\u346B;\uC000\u2293\uFE00p\u0100;s\u11B4\u3475;\uC000\u2294\uFE00u\u0100bp\u347F\u348F\u0180;es\u1197\u119C\u3486et\u0100;e\u1197\u348D\xF1\u119D\u0180;es\u11A8\u11AD\u3496et\u0100;e\u11A8\u349D\xF1\u11AE\u0180;af\u117B\u34A6\u05B0r\u0165\u34AB\u05B1\xBB\u117Car\xF2\u1148\u0200cemt\u34B9\u34BE\u34C2\u34C5r;\uC000\u{1D4C8}tm\xEE\xF1i\xEC\u3415ar\xE6\u11BE\u0100ar\u34CE\u34D5r\u0100;f\u34D4\u17BF\u6606\u0100an\u34DA\u34EDight\u0100ep\u34E3\u34EApsilo\xEE\u1EE0h\xE9\u2EAFs\xBB\u2852\u0280bcmnp\u34FB\u355E\u1209\u358B\u358E\u0480;Edemnprs\u350E\u350F\u3511\u3515\u351E\u3523\u352C\u3531\u3536\u6282;\u6AC5ot;\u6ABD\u0100;d\u11DA\u351Aot;\u6AC3ult;\u6AC1\u0100Ee\u3528\u352A;\u6ACB;\u628Alus;\u6ABFarr;\u6979\u0180eiu\u353D\u3552\u3555t\u0180;en\u350E\u3545\u354Bq\u0100;q\u11DA\u350Feq\u0100;q\u352B\u3528m;\u6AC7\u0100bp\u355A\u355C;\u6AD5;\u6AD3c\u0300;acens\u11ED\u356C\u3572\u3579\u357B\u3326ppro\xF8\u32FAurlye\xF1\u11FE\xF1\u11F3\u0180aes\u3582\u3588\u331Bppro\xF8\u331Aq\xF1\u3317g;\u666A\u0680123;Edehlmnps\u35A9\u35AC\u35AF\u121C\u35B2\u35B4\u35C0\u35C9\u35D5\u35DA\u35DF\u35E8\u35ED\u803B\xB9\u40B9\u803B\xB2\u40B2\u803B\xB3\u40B3;\u6AC6\u0100os\u35B9\u35BCt;\u6ABEub;\u6AD8\u0100;d\u1222\u35C5ot;\u6AC4s\u0100ou\u35CF\u35D2l;\u67C9b;\u6AD7arr;\u697Bult;\u6AC2\u0100Ee\u35E4\u35E6;\u6ACC;\u628Blus;\u6AC0\u0180eiu\u35F4\u3609\u360Ct\u0180;en\u121C\u35FC\u3602q\u0100;q\u1222\u35B2eq\u0100;q\u35E7\u35E4m;\u6AC8\u0100bp\u3611\u3613;\u6AD4;\u6AD6\u0180Aan\u361C\u3620\u362Drr;\u61D9r\u0100hr\u3626\u3628\xEB\u222E\u0100;o\u0A2B\u0A29war;\u692Alig\u803B\xDF\u40DF\u0BE1\u3651\u365D\u3660\u12CE\u3673\u3679\0\u367E\u36C2\0\0\0\0\0\u36DB\u3703\0\u3709\u376C\0\0\0\u3787\u0272\u3656\0\0\u365Bget;\u6316;\u43C4r\xEB\u0E5F\u0180aey\u3666\u366B\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uC000\u{1D531}\u0200eiko\u3686\u369D\u36B5\u36BC\u01F2\u368B\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369B\u43B8ym;\u43D1\u0100cn\u36A2\u36B2k\u0100as\u36A8\u36AEppro\xF8\u12C1im\xBB\u12ACs\xF0\u129E\u0100as\u36BA\u36AE\xF0\u12C1rn\u803B\xFE\u40FE\u01EC\u031F\u36C6\u22E7es\u8180\xD7;bd\u36CF\u36D0\u36D8\u40D7\u0100;a\u190F\u36D5r;\u6A31;\u6A30\u0180eps\u36E1\u36E3\u3700\xE1\u2A4D\u0200;bcf\u0486\u36EC\u36F0\u36F4ot;\u6336ir;\u6AF1\u0100;o\u36F9\u36FC\uC000\u{1D565}rk;\u6ADA\xE1\u3362rime;\u6034\u0180aip\u370F\u3712\u3764d\xE5\u1248\u0380adempst\u3721\u374D\u3740\u3751\u3757\u375C\u375Fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65B5own\xBB\u1DBBeft\u0100;e\u2800\u373E\xF1\u092E;\u625Cight\u0100;e\u32AA\u374B\xF1\u105Aot;\u65ECinus;\u6A3Alus;\u6A39b;\u69CDime;\u6A3Bezium;\u63E2\u0180cht\u3772\u377D\u3781\u0100ry\u3777\u377B;\uC000\u{1D4C9};\u4446cy;\u445Brok;\u4167\u0100io\u378B\u378Ex\xF4\u1777head\u0100lr\u3797\u37A0eftarro\xF7\u084Fightarrow\xBB\u0F5D\u0900AHabcdfghlmoprstuw\u37D0\u37D3\u37D7\u37E4\u37F0\u37FC\u380E\u381C\u3823\u3834\u3851\u385D\u386B\u38A9\u38CC\u38D2\u38EA\u38F6r\xF2\u03EDar;\u6963\u0100cr\u37DC\u37E2ute\u803B\xFA\u40FA\xF2\u1150r\u01E3\u37EA\0\u37EDy;\u445Eve;\u416D\u0100iy\u37F5\u37FArc\u803B\xFB\u40FB;\u4443\u0180abh\u3803\u3806\u380Br\xF2\u13ADlac;\u4171a\xF2\u13C3\u0100ir\u3813\u3818sht;\u697E;\uC000\u{1D532}rave\u803B\xF9\u40F9\u0161\u3827\u3831r\u0100lr\u382C\u382E\xBB\u0957\xBB\u1083lk;\u6580\u0100ct\u3839\u384D\u026F\u383F\0\0\u384Arn\u0100;e\u3845\u3846\u631Cr\xBB\u3846op;\u630Fri;\u65F8\u0100al\u3856\u385Acr;\u416B\u80BB\xA8\u0349\u0100gp\u3862\u3866on;\u4173f;\uC000\u{1D566}\u0300adhlsu\u114B\u3878\u387D\u1372\u3891\u38A0own\xE1\u13B3arpoon\u0100lr\u3888\u388Cef\xF4\u382Digh\xF4\u382Fi\u0180;hl\u3899\u389A\u389C\u43C5\xBB\u13FAon\xBB\u389Aparrows;\u61C8\u0180cit\u38B0\u38C4\u38C8\u026F\u38B6\0\0\u38C1rn\u0100;e\u38BC\u38BD\u631Dr\xBB\u38BDop;\u630Eng;\u416Fri;\u65F9cr;\uC000\u{1D4CA}\u0180dir\u38D9\u38DD\u38E2ot;\u62F0lde;\u4169i\u0100;f\u3730\u38E8\xBB\u1813\u0100am\u38EF\u38F2r\xF2\u38A8l\u803B\xFC\u40FCangle;\u69A7\u0780ABDacdeflnoprsz\u391C\u391F\u3929\u392D\u39B5\u39B8\u39BD\u39DF\u39E4\u39E8\u39F3\u39F9\u39FD\u3A01\u3A20r\xF2\u03F7ar\u0100;v\u3926\u3927\u6AE8;\u6AE9as\xE8\u03E1\u0100nr\u3932\u3937grt;\u699C\u0380eknprst\u34E3\u3946\u394B\u3952\u395D\u3964\u3996app\xE1\u2415othin\xE7\u1E96\u0180hir\u34EB\u2EC8\u3959op\xF4\u2FB5\u0100;h\u13B7\u3962\xEF\u318D\u0100iu\u3969\u396Dgm\xE1\u33B3\u0100bp\u3972\u3984setneq\u0100;q\u397D\u3980\uC000\u228A\uFE00;\uC000\u2ACB\uFE00setneq\u0100;q\u398F\u3992\uC000\u228B\uFE00;\uC000\u2ACC\uFE00\u0100hr\u399B\u399Fet\xE1\u369Ciangle\u0100lr\u39AA\u39AFeft\xBB\u0925ight\xBB\u1051y;\u4432ash\xBB\u1036\u0180elr\u39C4\u39D2\u39D7\u0180;be\u2DEA\u39CB\u39CFar;\u62BBq;\u625Alip;\u62EE\u0100bt\u39DC\u1468a\xF2\u1469r;\uC000\u{1D533}tr\xE9\u39AEsu\u0100bp\u39EF\u39F1\xBB\u0D1C\xBB\u0D59pf;\uC000\u{1D567}ro\xF0\u0EFBtr\xE9\u39B4\u0100cu\u3A06\u3A0Br;\uC000\u{1D4CB}\u0100bp\u3A10\u3A18n\u0100Ee\u3980\u3A16\xBB\u397En\u0100Ee\u3992\u3A1E\xBB\u3990igzag;\u699A\u0380cefoprs\u3A36\u3A3B\u3A56\u3A5B\u3A54\u3A61\u3A6Airc;\u4175\u0100di\u3A40\u3A51\u0100bg\u3A45\u3A49ar;\u6A5Fe\u0100;q\u15FA\u3A4F;\u6259erp;\u6118r;\uC000\u{1D534}pf;\uC000\u{1D568}\u0100;e\u1479\u3A66at\xE8\u1479cr;\uC000\u{1D4CC}\u0AE3\u178E\u3A87\0\u3A8B\0\u3A90\u3A9B\0\0\u3A9D\u3AA8\u3AAB\u3AAF\0\0\u3AC3\u3ACE\0\u3AD8\u17DC\u17DFtr\xE9\u17D1r;\uC000\u{1D535}\u0100Aa\u3A94\u3A97r\xF2\u03C3r\xF2\u09F6;\u43BE\u0100Aa\u3AA1\u3AA4r\xF2\u03B8r\xF2\u09EBa\xF0\u2713is;\u62FB\u0180dpt\u17A4\u3AB5\u3ABE\u0100fl\u3ABA\u17A9;\uC000\u{1D569}im\xE5\u17B2\u0100Aa\u3AC7\u3ACAr\xF2\u03CEr\xF2\u0A01\u0100cq\u3AD2\u17B8r;\uC000\u{1D4CD}\u0100pt\u17D6\u3ADCr\xE9\u17D4\u0400acefiosu\u3AF0\u3AFD\u3B08\u3B0C\u3B11\u3B15\u3B1B\u3B21c\u0100uy\u3AF6\u3AFBte\u803B\xFD\u40FD;\u444F\u0100iy\u3B02\u3B06rc;\u4177;\u444Bn\u803B\xA5\u40A5r;\uC000\u{1D536}cy;\u4457pf;\uC000\u{1D56A}cr;\uC000\u{1D4CE}\u0100cm\u3B26\u3B29y;\u444El\u803B\xFF\u40FF\u0500acdefhiosw\u3B42\u3B48\u3B54\u3B58\u3B64\u3B69\u3B6D\u3B74\u3B7A\u3B80cute;\u417A\u0100ay\u3B4D\u3B52ron;\u417E;\u4437ot;\u417C\u0100et\u3B5D\u3B61tr\xE6\u155Fa;\u43B6r;\uC000\u{1D537}cy;\u4436grarr;\u61DDpf;\uC000\u{1D56B}cr;\uC000\u{1D4CF}\u0100jn\u3B85\u3B87;\u600Dj;\u600C'.split("").map(l=>l.charCodeAt(0)));var nE=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(l=>l.charCodeAt(0)));var l0,WI=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),a0=(l0=String.fromCodePoint)!==null&&l0!==void 0?l0:function(l){let e="";return l>65535&&(l-=65536,e+=String.fromCharCode(l>>>10&1023|55296),l=56320|l&1023),e+=String.fromCharCode(l),e};function u0(l){var e;return l>=55296&&l<=57343||l>1114111?65533:(e=WI.get(l))!==null&&e!==void 0?e:l}var io;(function(l){l[l.NUM=35]="NUM",l[l.SEMI=59]="SEMI",l[l.EQUALS=61]="EQUALS",l[l.ZERO=48]="ZERO",l[l.NINE=57]="NINE",l[l.LOWER_A=97]="LOWER_A",l[l.LOWER_F=102]="LOWER_F",l[l.LOWER_X=120]="LOWER_X",l[l.LOWER_Z=122]="LOWER_Z",l[l.UPPER_A=65]="UPPER_A",l[l.UPPER_F=70]="UPPER_F",l[l.UPPER_Z=90]="UPPER_Z"})(io||(io={}));var jI=32,wu;(function(l){l[l.VALUE_LENGTH=49152]="VALUE_LENGTH",l[l.BRANCH_LENGTH=16256]="BRANCH_LENGTH",l[l.JUMP_TABLE=127]="JUMP_TABLE"})(wu||(wu={}));function m0(l){return l>=io.ZERO&&l<=io.NINE}function zI(l){return l>=io.UPPER_A&&l<=io.UPPER_F||l>=io.LOWER_A&&l<=io.LOWER_F}function XI(l){return l>=io.UPPER_A&&l<=io.UPPER_Z||l>=io.LOWER_A&&l<=io.LOWER_Z||m0(l)}function YI(l){return l===io.EQUALS||XI(l)}var oo;(function(l){l[l.EntityStart=0]="EntityStart",l[l.NumericStart=1]="NumericStart",l[l.NumericDecimal=2]="NumericDecimal",l[l.NumericHex=3]="NumericHex",l[l.NamedEntity=4]="NamedEntity"})(oo||(oo={}));var $n;(function(l){l[l.Legacy=0]="Legacy",l[l.Strict=1]="Strict",l[l.Attribute=2]="Attribute"})($n||($n={}));var wS=class{constructor(e,t,r){this.decodeTree=e,this.emitCodePoint=t,this.errors=r,this.state=oo.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=$n.Strict}startEntity(e){this.decodeMode=e,this.state=oo.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case oo.EntityStart:return e.charCodeAt(t)===io.NUM?(this.state=oo.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=oo.NamedEntity,this.stateNamedEntity(e,t));case oo.NumericStart:return this.stateNumericStart(e,t);case oo.NumericDecimal:return this.stateNumericDecimal(e,t);case oo.NumericHex:return this.stateNumericHex(e,t);case oo.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|jI)===io.LOWER_X?(this.state=oo.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=oo.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,r,o){if(t!==r){let i=r-t;this.result=this.result*Math.pow(o,i)+parseInt(e.substr(t,i),o),this.consumed+=i}}stateNumericHex(e,t){let r=t;for(;t<e.length;){let o=e.charCodeAt(t);if(m0(o)||zI(o))t+=1;else return this.addToNumericResult(e,r,t,16),this.emitNumericEntity(o,3)}return this.addToNumericResult(e,r,t,16),-1}stateNumericDecimal(e,t){let r=t;for(;t<e.length;){let o=e.charCodeAt(t);if(m0(o))t+=1;else return this.addToNumericResult(e,r,t,10),this.emitNumericEntity(o,2)}return this.addToNumericResult(e,r,t,10),-1}emitNumericEntity(e,t){var r;if(this.consumed<=t)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===io.SEMI)this.consumed+=1;else if(this.decodeMode===$n.Strict)return 0;return this.emitCodePoint(u0(this.result),this.consumed),this.errors&&(e!==io.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:r}=this,o=r[this.treeIndex],i=(o&wu.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let n=e.charCodeAt(t);if(this.treeIndex=KI(r,o,this.treeIndex+Math.max(1,i),n),this.treeIndex<0)return this.result===0||this.decodeMode===$n.Attribute&&(i===0||YI(n))?0:this.emitNotTerminatedNamedEntity();if(o=r[this.treeIndex],i=(o&wu.VALUE_LENGTH)>>14,i!==0){if(n===io.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==$n.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:r}=this,o=(r[t]&wu.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,o,this.consumed),(e=this.errors)===null||e===void 0||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,r){let{decodeTree:o}=this;return this.emitCodePoint(t===1?o[e]&~wu.VALUE_LENGTH:o[e+1],r),t===3&&this.emitCodePoint(o[e+2],r),r}end(){var e;switch(this.state){case oo.NamedEntity:return this.result!==0&&(this.decodeMode!==$n.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case oo.NumericDecimal:return this.emitNumericEntity(0,2);case oo.NumericHex:return this.emitNumericEntity(0,3);case oo.NumericStart:return(e=this.errors)===null||e===void 0||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case oo.EntityStart:return 0}}};function lE(l){let e="",t=new wS(l,r=>e+=a0(r));return function(o,i){let n=0,a=0;for(;(a=o.indexOf("&",a))>=0;){e+=o.slice(n,a),t.startEntity(i);let p=t.write(o,a+1);if(p<0){n=a+t.end();break}n=a+p,a=p===0?n+1:n}let m=e+o.slice(n);return e="",m}}function KI(l,e,t,r){let o=(e&wu.BRANCH_LENGTH)>>7,i=e&wu.JUMP_TABLE;if(o===0)return i!==0&&r===i?t:-1;if(i){let m=r-i;return m<0||m>=o?-1:l[t+m]-1}let n=t,a=n+o-1;for(;n<=a;){let m=n+a>>>1,p=l[m];if(p<r)n=m+1;else if(p>r)a=m-1;else return l[m+o]}return-1}var JI=lE(sE),H$=lE(nE);function ap(l,e=$n.Legacy){return JI(l,e)}function xS(l){for(let e=1;e<l.length;e++)l[e][0]+=l[e-1][0]+1;return l}var ZI=new Map(xS([[9,"&Tab;"],[0,"&NewLine;"],[22,"&excl;"],[0,"&quot;"],[0,"&num;"],[0,"&dollar;"],[0,"&percnt;"],[0,"&amp;"],[0,"&apos;"],[0,"&lpar;"],[0,"&rpar;"],[0,"&ast;"],[0,"&plus;"],[0,"&comma;"],[1,"&period;"],[0,"&sol;"],[10,"&colon;"],[0,"&semi;"],[0,{v:"&lt;",n:8402,o:"&nvlt;"}],[0,{v:"&equals;",n:8421,o:"&bne;"}],[0,{v:"&gt;",n:8402,o:"&nvgt;"}],[0,"&quest;"],[0,"&commat;"],[26,"&lbrack;"],[0,"&bsol;"],[0,"&rbrack;"],[0,"&Hat;"],[0,"&lowbar;"],[0,"&DiacriticalGrave;"],[5,{n:106,o:"&fjlig;"}],[20,"&lbrace;"],[0,"&verbar;"],[0,"&rbrace;"],[34,"&nbsp;"],[0,"&iexcl;"],[0,"&cent;"],[0,"&pound;"],[0,"&curren;"],[0,"&yen;"],[0,"&brvbar;"],[0,"&sect;"],[0,"&die;"],[0,"&copy;"],[0,"&ordf;"],[0,"&laquo;"],[0,"&not;"],[0,"&shy;"],[0,"&circledR;"],[0,"&macr;"],[0,"&deg;"],[0,"&PlusMinus;"],[0,"&sup2;"],[0,"&sup3;"],[0,"&acute;"],[0,"&micro;"],[0,"&para;"],[0,"&centerdot;"],[0,"&cedil;"],[0,"&sup1;"],[0,"&ordm;"],[0,"&raquo;"],[0,"&frac14;"],[0,"&frac12;"],[0,"&frac34;"],[0,"&iquest;"],[0,"&Agrave;"],[0,"&Aacute;"],[0,"&Acirc;"],[0,"&Atilde;"],[0,"&Auml;"],[0,"&angst;"],[0,"&AElig;"],[0,"&Ccedil;"],[0,"&Egrave;"],[0,"&Eacute;"],[0,"&Ecirc;"],[0,"&Euml;"],[0,"&Igrave;"],[0,"&Iacute;"],[0,"&Icirc;"],[0,"&Iuml;"],[0,"&ETH;"],[0,"&Ntilde;"],[0,"&Ograve;"],[0,"&Oacute;"],[0,"&Ocirc;"],[0,"&Otilde;"],[0,"&Ouml;"],[0,"&times;"],[0,"&Oslash;"],[0,"&Ugrave;"],[0,"&Uacute;"],[0,"&Ucirc;"],[0,"&Uuml;"],[0,"&Yacute;"],[0,"&THORN;"],[0,"&szlig;"],[0,"&agrave;"],[0,"&aacute;"],[0,"&acirc;"],[0,"&atilde;"],[0,"&auml;"],[0,"&aring;"],[0,"&aelig;"],[0,"&ccedil;"],[0,"&egrave;"],[0,"&eacute;"],[0,"&ecirc;"],[0,"&euml;"],[0,"&igrave;"],[0,"&iacute;"],[0,"&icirc;"],[0,"&iuml;"],[0,"&eth;"],[0,"&ntilde;"],[0,"&ograve;"],[0,"&oacute;"],[0,"&ocirc;"],[0,"&otilde;"],[0,"&ouml;"],[0,"&div;"],[0,"&oslash;"],[0,"&ugrave;"],[0,"&uacute;"],[0,"&ucirc;"],[0,"&uuml;"],[0,"&yacute;"],[0,"&thorn;"],[0,"&yuml;"],[0,"&Amacr;"],[0,"&amacr;"],[0,"&Abreve;"],[0,"&abreve;"],[0,"&Aogon;"],[0,"&aogon;"],[0,"&Cacute;"],[0,"&cacute;"],[0,"&Ccirc;"],[0,"&ccirc;"],[0,"&Cdot;"],[0,"&cdot;"],[0,"&Ccaron;"],[0,"&ccaron;"],[0,"&Dcaron;"],[0,"&dcaron;"],[0,"&Dstrok;"],[0,"&dstrok;"],[0,"&Emacr;"],[0,"&emacr;"],[2,"&Edot;"],[0,"&edot;"],[0,"&Eogon;"],[0,"&eogon;"],[0,"&Ecaron;"],[0,"&ecaron;"],[0,"&Gcirc;"],[0,"&gcirc;"],[0,"&Gbreve;"],[0,"&gbreve;"],[0,"&Gdot;"],[0,"&gdot;"],[0,"&Gcedil;"],[1,"&Hcirc;"],[0,"&hcirc;"],[0,"&Hstrok;"],[0,"&hstrok;"],[0,"&Itilde;"],[0,"&itilde;"],[0,"&Imacr;"],[0,"&imacr;"],[2,"&Iogon;"],[0,"&iogon;"],[0,"&Idot;"],[0,"&imath;"],[0,"&IJlig;"],[0,"&ijlig;"],[0,"&Jcirc;"],[0,"&jcirc;"],[0,"&Kcedil;"],[0,"&kcedil;"],[0,"&kgreen;"],[0,"&Lacute;"],[0,"&lacute;"],[0,"&Lcedil;"],[0,"&lcedil;"],[0,"&Lcaron;"],[0,"&lcaron;"],[0,"&Lmidot;"],[0,"&lmidot;"],[0,"&Lstrok;"],[0,"&lstrok;"],[0,"&Nacute;"],[0,"&nacute;"],[0,"&Ncedil;"],[0,"&ncedil;"],[0,"&Ncaron;"],[0,"&ncaron;"],[0,"&napos;"],[0,"&ENG;"],[0,"&eng;"],[0,"&Omacr;"],[0,"&omacr;"],[2,"&Odblac;"],[0,"&odblac;"],[0,"&OElig;"],[0,"&oelig;"],[0,"&Racute;"],[0,"&racute;"],[0,"&Rcedil;"],[0,"&rcedil;"],[0,"&Rcaron;"],[0,"&rcaron;"],[0,"&Sacute;"],[0,"&sacute;"],[0,"&Scirc;"],[0,"&scirc;"],[0,"&Scedil;"],[0,"&scedil;"],[0,"&Scaron;"],[0,"&scaron;"],[0,"&Tcedil;"],[0,"&tcedil;"],[0,"&Tcaron;"],[0,"&tcaron;"],[0,"&Tstrok;"],[0,"&tstrok;"],[0,"&Utilde;"],[0,"&utilde;"],[0,"&Umacr;"],[0,"&umacr;"],[0,"&Ubreve;"],[0,"&ubreve;"],[0,"&Uring;"],[0,"&uring;"],[0,"&Udblac;"],[0,"&udblac;"],[0,"&Uogon;"],[0,"&uogon;"],[0,"&Wcirc;"],[0,"&wcirc;"],[0,"&Ycirc;"],[0,"&ycirc;"],[0,"&Yuml;"],[0,"&Zacute;"],[0,"&zacute;"],[0,"&Zdot;"],[0,"&zdot;"],[0,"&Zcaron;"],[0,"&zcaron;"],[19,"&fnof;"],[34,"&imped;"],[63,"&gacute;"],[65,"&jmath;"],[142,"&circ;"],[0,"&caron;"],[16,"&breve;"],[0,"&DiacriticalDot;"],[0,"&ring;"],[0,"&ogon;"],[0,"&DiacriticalTilde;"],[0,"&dblac;"],[51,"&DownBreve;"],[127,"&Alpha;"],[0,"&Beta;"],[0,"&Gamma;"],[0,"&Delta;"],[0,"&Epsilon;"],[0,"&Zeta;"],[0,"&Eta;"],[0,"&Theta;"],[0,"&Iota;"],[0,"&Kappa;"],[0,"&Lambda;"],[0,"&Mu;"],[0,"&Nu;"],[0,"&Xi;"],[0,"&Omicron;"],[0,"&Pi;"],[0,"&Rho;"],[1,"&Sigma;"],[0,"&Tau;"],[0,"&Upsilon;"],[0,"&Phi;"],[0,"&Chi;"],[0,"&Psi;"],[0,"&ohm;"],[7,"&alpha;"],[0,"&beta;"],[0,"&gamma;"],[0,"&delta;"],[0,"&epsi;"],[0,"&zeta;"],[0,"&eta;"],[0,"&theta;"],[0,"&iota;"],[0,"&kappa;"],[0,"&lambda;"],[0,"&mu;"],[0,"&nu;"],[0,"&xi;"],[0,"&omicron;"],[0,"&pi;"],[0,"&rho;"],[0,"&sigmaf;"],[0,"&sigma;"],[0,"&tau;"],[0,"&upsi;"],[0,"&phi;"],[0,"&chi;"],[0,"&psi;"],[0,"&omega;"],[7,"&thetasym;"],[0,"&Upsi;"],[2,"&phiv;"],[0,"&piv;"],[5,"&Gammad;"],[0,"&digamma;"],[18,"&kappav;"],[0,"&rhov;"],[3,"&epsiv;"],[0,"&backepsilon;"],[10,"&IOcy;"],[0,"&DJcy;"],[0,"&GJcy;"],[0,"&Jukcy;"],[0,"&DScy;"],[0,"&Iukcy;"],[0,"&YIcy;"],[0,"&Jsercy;"],[0,"&LJcy;"],[0,"&NJcy;"],[0,"&TSHcy;"],[0,"&KJcy;"],[1,"&Ubrcy;"],[0,"&DZcy;"],[0,"&Acy;"],[0,"&Bcy;"],[0,"&Vcy;"],[0,"&Gcy;"],[0,"&Dcy;"],[0,"&IEcy;"],[0,"&ZHcy;"],[0,"&Zcy;"],[0,"&Icy;"],[0,"&Jcy;"],[0,"&Kcy;"],[0,"&Lcy;"],[0,"&Mcy;"],[0,"&Ncy;"],[0,"&Ocy;"],[0,"&Pcy;"],[0,"&Rcy;"],[0,"&Scy;"],[0,"&Tcy;"],[0,"&Ucy;"],[0,"&Fcy;"],[0,"&KHcy;"],[0,"&TScy;"],[0,"&CHcy;"],[0,"&SHcy;"],[0,"&SHCHcy;"],[0,"&HARDcy;"],[0,"&Ycy;"],[0,"&SOFTcy;"],[0,"&Ecy;"],[0,"&YUcy;"],[0,"&YAcy;"],[0,"&acy;"],[0,"&bcy;"],[0,"&vcy;"],[0,"&gcy;"],[0,"&dcy;"],[0,"&iecy;"],[0,"&zhcy;"],[0,"&zcy;"],[0,"&icy;"],[0,"&jcy;"],[0,"&kcy;"],[0,"&lcy;"],[0,"&mcy;"],[0,"&ncy;"],[0,"&ocy;"],[0,"&pcy;"],[0,"&rcy;"],[0,"&scy;"],[0,"&tcy;"],[0,"&ucy;"],[0,"&fcy;"],[0,"&khcy;"],[0,"&tscy;"],[0,"&chcy;"],[0,"&shcy;"],[0,"&shchcy;"],[0,"&hardcy;"],[0,"&ycy;"],[0,"&softcy;"],[0,"&ecy;"],[0,"&yucy;"],[0,"&yacy;"],[1,"&iocy;"],[0,"&djcy;"],[0,"&gjcy;"],[0,"&jukcy;"],[0,"&dscy;"],[0,"&iukcy;"],[0,"&yicy;"],[0,"&jsercy;"],[0,"&ljcy;"],[0,"&njcy;"],[0,"&tshcy;"],[0,"&kjcy;"],[1,"&ubrcy;"],[0,"&dzcy;"],[7074,"&ensp;"],[0,"&emsp;"],[0,"&emsp13;"],[0,"&emsp14;"],[1,"&numsp;"],[0,"&puncsp;"],[0,"&ThinSpace;"],[0,"&hairsp;"],[0,"&NegativeMediumSpace;"],[0,"&zwnj;"],[0,"&zwj;"],[0,"&lrm;"],[0,"&rlm;"],[0,"&dash;"],[2,"&ndash;"],[0,"&mdash;"],[0,"&horbar;"],[0,"&Verbar;"],[1,"&lsquo;"],[0,"&CloseCurlyQuote;"],[0,"&lsquor;"],[1,"&ldquo;"],[0,"&CloseCurlyDoubleQuote;"],[0,"&bdquo;"],[1,"&dagger;"],[0,"&Dagger;"],[0,"&bull;"],[2,"&nldr;"],[0,"&hellip;"],[9,"&permil;"],[0,"&pertenk;"],[0,"&prime;"],[0,"&Prime;"],[0,"&tprime;"],[0,"&backprime;"],[3,"&lsaquo;"],[0,"&rsaquo;"],[3,"&oline;"],[2,"&caret;"],[1,"&hybull;"],[0,"&frasl;"],[10,"&bsemi;"],[7,"&qprime;"],[7,{v:"&MediumSpace;",n:8202,o:"&ThickSpace;"}],[0,"&NoBreak;"],[0,"&af;"],[0,"&InvisibleTimes;"],[0,"&ic;"],[72,"&euro;"],[46,"&tdot;"],[0,"&DotDot;"],[37,"&complexes;"],[2,"&incare;"],[4,"&gscr;"],[0,"&hamilt;"],[0,"&Hfr;"],[0,"&Hopf;"],[0,"&planckh;"],[0,"&hbar;"],[0,"&imagline;"],[0,"&Ifr;"],[0,"&lagran;"],[0,"&ell;"],[1,"&naturals;"],[0,"&numero;"],[0,"&copysr;"],[0,"&weierp;"],[0,"&Popf;"],[0,"&Qopf;"],[0,"&realine;"],[0,"&real;"],[0,"&reals;"],[0,"&rx;"],[3,"&trade;"],[1,"&integers;"],[2,"&mho;"],[0,"&zeetrf;"],[0,"&iiota;"],[2,"&bernou;"],[0,"&Cayleys;"],[1,"&escr;"],[0,"&Escr;"],[0,"&Fouriertrf;"],[1,"&Mellintrf;"],[0,"&order;"],[0,"&alefsym;"],[0,"&beth;"],[0,"&gimel;"],[0,"&daleth;"],[12,"&CapitalDifferentialD;"],[0,"&dd;"],[0,"&ee;"],[0,"&ii;"],[10,"&frac13;"],[0,"&frac23;"],[0,"&frac15;"],[0,"&frac25;"],[0,"&frac35;"],[0,"&frac45;"],[0,"&frac16;"],[0,"&frac56;"],[0,"&frac18;"],[0,"&frac38;"],[0,"&frac58;"],[0,"&frac78;"],[49,"&larr;"],[0,"&ShortUpArrow;"],[0,"&rarr;"],[0,"&darr;"],[0,"&harr;"],[0,"&updownarrow;"],[0,"&nwarr;"],[0,"&nearr;"],[0,"&LowerRightArrow;"],[0,"&LowerLeftArrow;"],[0,"&nlarr;"],[0,"&nrarr;"],[1,{v:"&rarrw;",n:824,o:"&nrarrw;"}],[0,"&Larr;"],[0,"&Uarr;"],[0,"&Rarr;"],[0,"&Darr;"],[0,"&larrtl;"],[0,"&rarrtl;"],[0,"&LeftTeeArrow;"],[0,"&mapstoup;"],[0,"&map;"],[0,"&DownTeeArrow;"],[1,"&hookleftarrow;"],[0,"&hookrightarrow;"],[0,"&larrlp;"],[0,"&looparrowright;"],[0,"&harrw;"],[0,"&nharr;"],[1,"&lsh;"],[0,"&rsh;"],[0,"&ldsh;"],[0,"&rdsh;"],[1,"&crarr;"],[0,"&cularr;"],[0,"&curarr;"],[2,"&circlearrowleft;"],[0,"&circlearrowright;"],[0,"&leftharpoonup;"],[0,"&DownLeftVector;"],[0,"&RightUpVector;"],[0,"&LeftUpVector;"],[0,"&rharu;"],[0,"&DownRightVector;"],[0,"&dharr;"],[0,"&dharl;"],[0,"&RightArrowLeftArrow;"],[0,"&udarr;"],[0,"&LeftArrowRightArrow;"],[0,"&leftleftarrows;"],[0,"&upuparrows;"],[0,"&rightrightarrows;"],[0,"&ddarr;"],[0,"&leftrightharpoons;"],[0,"&Equilibrium;"],[0,"&nlArr;"],[0,"&nhArr;"],[0,"&nrArr;"],[0,"&DoubleLeftArrow;"],[0,"&DoubleUpArrow;"],[0,"&DoubleRightArrow;"],[0,"&dArr;"],[0,"&DoubleLeftRightArrow;"],[0,"&DoubleUpDownArrow;"],[0,"&nwArr;"],[0,"&neArr;"],[0,"&seArr;"],[0,"&swArr;"],[0,"&lAarr;"],[0,"&rAarr;"],[1,"&zigrarr;"],[6,"&larrb;"],[0,"&rarrb;"],[15,"&DownArrowUpArrow;"],[7,"&loarr;"],[0,"&roarr;"],[0,"&hoarr;"],[0,"&forall;"],[0,"&comp;"],[0,{v:"&part;",n:824,o:"&npart;"}],[0,"&exist;"],[0,"&nexist;"],[0,"&empty;"],[1,"&Del;"],[0,"&Element;"],[0,"&NotElement;"],[1,"&ni;"],[0,"&notni;"],[2,"&prod;"],[0,"&coprod;"],[0,"&sum;"],[0,"&minus;"],[0,"&MinusPlus;"],[0,"&dotplus;"],[1,"&Backslash;"],[0,"&lowast;"],[0,"&compfn;"],[1,"&radic;"],[2,"&prop;"],[0,"&infin;"],[0,"&angrt;"],[0,{v:"&ang;",n:8402,o:"&nang;"}],[0,"&angmsd;"],[0,"&angsph;"],[0,"&mid;"],[0,"&nmid;"],[0,"&DoubleVerticalBar;"],[0,"&NotDoubleVerticalBar;"],[0,"&and;"],[0,"&or;"],[0,{v:"&cap;",n:65024,o:"&caps;"}],[0,{v:"&cup;",n:65024,o:"&cups;"}],[0,"&int;"],[0,"&Int;"],[0,"&iiint;"],[0,"&conint;"],[0,"&Conint;"],[0,"&Cconint;"],[0,"&cwint;"],[0,"&ClockwiseContourIntegral;"],[0,"&awconint;"],[0,"&there4;"],[0,"&becaus;"],[0,"&ratio;"],[0,"&Colon;"],[0,"&dotminus;"],[1,"&mDDot;"],[0,"&homtht;"],[0,{v:"&sim;",n:8402,o:"&nvsim;"}],[0,{v:"&backsim;",n:817,o:"&race;"}],[0,{v:"&ac;",n:819,o:"&acE;"}],[0,"&acd;"],[0,"&VerticalTilde;"],[0,"&NotTilde;"],[0,{v:"&eqsim;",n:824,o:"&nesim;"}],[0,"&sime;"],[0,"&NotTildeEqual;"],[0,"&cong;"],[0,"&simne;"],[0,"&ncong;"],[0,"&ap;"],[0,"&nap;"],[0,"&ape;"],[0,{v:"&apid;",n:824,o:"&napid;"}],[0,"&backcong;"],[0,{v:"&asympeq;",n:8402,o:"&nvap;"}],[0,{v:"&bump;",n:824,o:"&nbump;"}],[0,{v:"&bumpe;",n:824,o:"&nbumpe;"}],[0,{v:"&doteq;",n:824,o:"&nedot;"}],[0,"&doteqdot;"],[0,"&efDot;"],[0,"&erDot;"],[0,"&Assign;"],[0,"&ecolon;"],[0,"&ecir;"],[0,"&circeq;"],[1,"&wedgeq;"],[0,"&veeeq;"],[1,"&triangleq;"],[2,"&equest;"],[0,"&ne;"],[0,{v:"&Congruent;",n:8421,o:"&bnequiv;"}],[0,"&nequiv;"],[1,{v:"&le;",n:8402,o:"&nvle;"}],[0,{v:"&ge;",n:8402,o:"&nvge;"}],[0,{v:"&lE;",n:824,o:"&nlE;"}],[0,{v:"&gE;",n:824,o:"&ngE;"}],[0,{v:"&lnE;",n:65024,o:"&lvertneqq;"}],[0,{v:"&gnE;",n:65024,o:"&gvertneqq;"}],[0,{v:"&ll;",n:new Map(xS([[824,"&nLtv;"],[7577,"&nLt;"]]))}],[0,{v:"&gg;",n:new Map(xS([[824,"&nGtv;"],[7577,"&nGt;"]]))}],[0,"&between;"],[0,"&NotCupCap;"],[0,"&nless;"],[0,"&ngt;"],[0,"&nle;"],[0,"&nge;"],[0,"&lesssim;"],[0,"&GreaterTilde;"],[0,"&nlsim;"],[0,"&ngsim;"],[0,"&LessGreater;"],[0,"&gl;"],[0,"&NotLessGreater;"],[0,"&NotGreaterLess;"],[0,"&pr;"],[0,"&sc;"],[0,"&prcue;"],[0,"&sccue;"],[0,"&PrecedesTilde;"],[0,{v:"&scsim;",n:824,o:"&NotSucceedsTilde;"}],[0,"&NotPrecedes;"],[0,"&NotSucceeds;"],[0,{v:"&sub;",n:8402,o:"&NotSubset;"}],[0,{v:"&sup;",n:8402,o:"&NotSuperset;"}],[0,"&nsub;"],[0,"&nsup;"],[0,"&sube;"],[0,"&supe;"],[0,"&NotSubsetEqual;"],[0,"&NotSupersetEqual;"],[0,{v:"&subne;",n:65024,o:"&varsubsetneq;"}],[0,{v:"&supne;",n:65024,o:"&varsupsetneq;"}],[1,"&cupdot;"],[0,"&UnionPlus;"],[0,{v:"&sqsub;",n:824,o:"&NotSquareSubset;"}],[0,{v:"&sqsup;",n:824,o:"&NotSquareSuperset;"}],[0,"&sqsube;"],[0,"&sqsupe;"],[0,{v:"&sqcap;",n:65024,o:"&sqcaps;"}],[0,{v:"&sqcup;",n:65024,o:"&sqcups;"}],[0,"&CirclePlus;"],[0,"&CircleMinus;"],[0,"&CircleTimes;"],[0,"&osol;"],[0,"&CircleDot;"],[0,"&circledcirc;"],[0,"&circledast;"],[1,"&circleddash;"],[0,"&boxplus;"],[0,"&boxminus;"],[0,"&boxtimes;"],[0,"&dotsquare;"],[0,"&RightTee;"],[0,"&dashv;"],[0,"&DownTee;"],[0,"&bot;"],[1,"&models;"],[0,"&DoubleRightTee;"],[0,"&Vdash;"],[0,"&Vvdash;"],[0,"&VDash;"],[0,"&nvdash;"],[0,"&nvDash;"],[0,"&nVdash;"],[0,"&nVDash;"],[0,"&prurel;"],[1,"&LeftTriangle;"],[0,"&RightTriangle;"],[0,{v:"&LeftTriangleEqual;",n:8402,o:"&nvltrie;"}],[0,{v:"&RightTriangleEqual;",n:8402,o:"&nvrtrie;"}],[0,"&origof;"],[0,"&imof;"],[0,"&multimap;"],[0,"&hercon;"],[0,"&intcal;"],[0,"&veebar;"],[1,"&barvee;"],[0,"&angrtvb;"],[0,"&lrtri;"],[0,"&bigwedge;"],[0,"&bigvee;"],[0,"&bigcap;"],[0,"&bigcup;"],[0,"&diam;"],[0,"&sdot;"],[0,"&sstarf;"],[0,"&divideontimes;"],[0,"&bowtie;"],[0,"&ltimes;"],[0,"&rtimes;"],[0,"&leftthreetimes;"],[0,"&rightthreetimes;"],[0,"&backsimeq;"],[0,"&curlyvee;"],[0,"&curlywedge;"],[0,"&Sub;"],[0,"&Sup;"],[0,"&Cap;"],[0,"&Cup;"],[0,"&fork;"],[0,"&epar;"],[0,"&lessdot;"],[0,"&gtdot;"],[0,{v:"&Ll;",n:824,o:"&nLl;"}],[0,{v:"&Gg;",n:824,o:"&nGg;"}],[0,{v:"&leg;",n:65024,o:"&lesg;"}],[0,{v:"&gel;",n:65024,o:"&gesl;"}],[2,"&cuepr;"],[0,"&cuesc;"],[0,"&NotPrecedesSlantEqual;"],[0,"&NotSucceedsSlantEqual;"],[0,"&NotSquareSubsetEqual;"],[0,"&NotSquareSupersetEqual;"],[2,"&lnsim;"],[0,"&gnsim;"],[0,"&precnsim;"],[0,"&scnsim;"],[0,"&nltri;"],[0,"&NotRightTriangle;"],[0,"&nltrie;"],[0,"&NotRightTriangleEqual;"],[0,"&vellip;"],[0,"&ctdot;"],[0,"&utdot;"],[0,"&dtdot;"],[0,"&disin;"],[0,"&isinsv;"],[0,"&isins;"],[0,{v:"&isindot;",n:824,o:"&notindot;"}],[0,"&notinvc;"],[0,"&notinvb;"],[1,{v:"&isinE;",n:824,o:"&notinE;"}],[0,"&nisd;"],[0,"&xnis;"],[0,"&nis;"],[0,"&notnivc;"],[0,"&notnivb;"],[6,"&barwed;"],[0,"&Barwed;"],[1,"&lceil;"],[0,"&rceil;"],[0,"&LeftFloor;"],[0,"&rfloor;"],[0,"&drcrop;"],[0,"&dlcrop;"],[0,"&urcrop;"],[0,"&ulcrop;"],[0,"&bnot;"],[1,"&profline;"],[0,"&profsurf;"],[1,"&telrec;"],[0,"&target;"],[5,"&ulcorn;"],[0,"&urcorn;"],[0,"&dlcorn;"],[0,"&drcorn;"],[2,"&frown;"],[0,"&smile;"],[9,"&cylcty;"],[0,"&profalar;"],[7,"&topbot;"],[6,"&ovbar;"],[1,"&solbar;"],[60,"&angzarr;"],[51,"&lmoustache;"],[0,"&rmoustache;"],[2,"&OverBracket;"],[0,"&bbrk;"],[0,"&bbrktbrk;"],[37,"&OverParenthesis;"],[0,"&UnderParenthesis;"],[0,"&OverBrace;"],[0,"&UnderBrace;"],[2,"&trpezium;"],[4,"&elinters;"],[59,"&blank;"],[164,"&circledS;"],[55,"&boxh;"],[1,"&boxv;"],[9,"&boxdr;"],[3,"&boxdl;"],[3,"&boxur;"],[3,"&boxul;"],[3,"&boxvr;"],[7,"&boxvl;"],[7,"&boxhd;"],[7,"&boxhu;"],[7,"&boxvh;"],[19,"&boxH;"],[0,"&boxV;"],[0,"&boxdR;"],[0,"&boxDr;"],[0,"&boxDR;"],[0,"&boxdL;"],[0,"&boxDl;"],[0,"&boxDL;"],[0,"&boxuR;"],[0,"&boxUr;"],[0,"&boxUR;"],[0,"&boxuL;"],[0,"&boxUl;"],[0,"&boxUL;"],[0,"&boxvR;"],[0,"&boxVr;"],[0,"&boxVR;"],[0,"&boxvL;"],[0,"&boxVl;"],[0,"&boxVL;"],[0,"&boxHd;"],[0,"&boxhD;"],[0,"&boxHD;"],[0,"&boxHu;"],[0,"&boxhU;"],[0,"&boxHU;"],[0,"&boxvH;"],[0,"&boxVh;"],[0,"&boxVH;"],[19,"&uhblk;"],[3,"&lhblk;"],[3,"&block;"],[8,"&blk14;"],[0,"&blk12;"],[0,"&blk34;"],[13,"&square;"],[8,"&blacksquare;"],[0,"&EmptyVerySmallSquare;"],[1,"&rect;"],[0,"&marker;"],[2,"&fltns;"],[1,"&bigtriangleup;"],[0,"&blacktriangle;"],[0,"&triangle;"],[2,"&blacktriangleright;"],[0,"&rtri;"],[3,"&bigtriangledown;"],[0,"&blacktriangledown;"],[0,"&dtri;"],[2,"&blacktriangleleft;"],[0,"&ltri;"],[6,"&loz;"],[0,"&cir;"],[32,"&tridot;"],[2,"&bigcirc;"],[8,"&ultri;"],[0,"&urtri;"],[0,"&lltri;"],[0,"&EmptySmallSquare;"],[0,"&FilledSmallSquare;"],[8,"&bigstar;"],[0,"&star;"],[7,"&phone;"],[49,"&female;"],[1,"&male;"],[29,"&spades;"],[2,"&clubs;"],[1,"&hearts;"],[0,"&diamondsuit;"],[3,"&sung;"],[2,"&flat;"],[0,"&natural;"],[0,"&sharp;"],[163,"&check;"],[3,"&cross;"],[8,"&malt;"],[21,"&sext;"],[33,"&VerticalSeparator;"],[25,"&lbbrk;"],[0,"&rbbrk;"],[84,"&bsolhsub;"],[0,"&suphsol;"],[28,"&LeftDoubleBracket;"],[0,"&RightDoubleBracket;"],[0,"&lang;"],[0,"&rang;"],[0,"&Lang;"],[0,"&Rang;"],[0,"&loang;"],[0,"&roang;"],[7,"&longleftarrow;"],[0,"&longrightarrow;"],[0,"&longleftrightarrow;"],[0,"&DoubleLongLeftArrow;"],[0,"&DoubleLongRightArrow;"],[0,"&DoubleLongLeftRightArrow;"],[1,"&longmapsto;"],[2,"&dzigrarr;"],[258,"&nvlArr;"],[0,"&nvrArr;"],[0,"&nvHarr;"],[0,"&Map;"],[6,"&lbarr;"],[0,"&bkarow;"],[0,"&lBarr;"],[0,"&dbkarow;"],[0,"&drbkarow;"],[0,"&DDotrahd;"],[0,"&UpArrowBar;"],[0,"&DownArrowBar;"],[2,"&Rarrtl;"],[2,"&latail;"],[0,"&ratail;"],[0,"&lAtail;"],[0,"&rAtail;"],[0,"&larrfs;"],[0,"&rarrfs;"],[0,"&larrbfs;"],[0,"&rarrbfs;"],[2,"&nwarhk;"],[0,"&nearhk;"],[0,"&hksearow;"],[0,"&hkswarow;"],[0,"&nwnear;"],[0,"&nesear;"],[0,"&seswar;"],[0,"&swnwar;"],[8,{v:"&rarrc;",n:824,o:"&nrarrc;"}],[1,"&cudarrr;"],[0,"&ldca;"],[0,"&rdca;"],[0,"&cudarrl;"],[0,"&larrpl;"],[2,"&curarrm;"],[0,"&cularrp;"],[7,"&rarrpl;"],[2,"&harrcir;"],[0,"&Uarrocir;"],[0,"&lurdshar;"],[0,"&ldrushar;"],[2,"&LeftRightVector;"],[0,"&RightUpDownVector;"],[0,"&DownLeftRightVector;"],[0,"&LeftUpDownVector;"],[0,"&LeftVectorBar;"],[0,"&RightVectorBar;"],[0,"&RightUpVectorBar;"],[0,"&RightDownVectorBar;"],[0,"&DownLeftVectorBar;"],[0,"&DownRightVectorBar;"],[0,"&LeftUpVectorBar;"],[0,"&LeftDownVectorBar;"],[0,"&LeftTeeVector;"],[0,"&RightTeeVector;"],[0,"&RightUpTeeVector;"],[0,"&RightDownTeeVector;"],[0,"&DownLeftTeeVector;"],[0,"&DownRightTeeVector;"],[0,"&LeftUpTeeVector;"],[0,"&LeftDownTeeVector;"],[0,"&lHar;"],[0,"&uHar;"],[0,"&rHar;"],[0,"&dHar;"],[0,"&luruhar;"],[0,"&ldrdhar;"],[0,"&ruluhar;"],[0,"&rdldhar;"],[0,"&lharul;"],[0,"&llhard;"],[0,"&rharul;"],[0,"&lrhard;"],[0,"&udhar;"],[0,"&duhar;"],[0,"&RoundImplies;"],[0,"&erarr;"],[0,"&simrarr;"],[0,"&larrsim;"],[0,"&rarrsim;"],[0,"&rarrap;"],[0,"&ltlarr;"],[1,"&gtrarr;"],[0,"&subrarr;"],[1,"&suplarr;"],[0,"&lfisht;"],[0,"&rfisht;"],[0,"&ufisht;"],[0,"&dfisht;"],[5,"&lopar;"],[0,"&ropar;"],[4,"&lbrke;"],[0,"&rbrke;"],[0,"&lbrkslu;"],[0,"&rbrksld;"],[0,"&lbrksld;"],[0,"&rbrkslu;"],[0,"&langd;"],[0,"&rangd;"],[0,"&lparlt;"],[0,"&rpargt;"],[0,"&gtlPar;"],[0,"&ltrPar;"],[3,"&vzigzag;"],[1,"&vangrt;"],[0,"&angrtvbd;"],[6,"&ange;"],[0,"&range;"],[0,"&dwangle;"],[0,"&uwangle;"],[0,"&angmsdaa;"],[0,"&angmsdab;"],[0,"&angmsdac;"],[0,"&angmsdad;"],[0,"&angmsdae;"],[0,"&angmsdaf;"],[0,"&angmsdag;"],[0,"&angmsdah;"],[0,"&bemptyv;"],[0,"&demptyv;"],[0,"&cemptyv;"],[0,"&raemptyv;"],[0,"&laemptyv;"],[0,"&ohbar;"],[0,"&omid;"],[0,"&opar;"],[1,"&operp;"],[1,"&olcross;"],[0,"&odsold;"],[1,"&olcir;"],[0,"&ofcir;"],[0,"&olt;"],[0,"&ogt;"],[0,"&cirscir;"],[0,"&cirE;"],[0,"&solb;"],[0,"&bsolb;"],[3,"&boxbox;"],[3,"&trisb;"],[0,"&rtriltri;"],[0,{v:"&LeftTriangleBar;",n:824,o:"&NotLeftTriangleBar;"}],[0,{v:"&RightTriangleBar;",n:824,o:"&NotRightTriangleBar;"}],[11,"&iinfin;"],[0,"&infintie;"],[0,"&nvinfin;"],[4,"&eparsl;"],[0,"&smeparsl;"],[0,"&eqvparsl;"],[5,"&blacklozenge;"],[8,"&RuleDelayed;"],[1,"&dsol;"],[9,"&bigodot;"],[0,"&bigoplus;"],[0,"&bigotimes;"],[1,"&biguplus;"],[1,"&bigsqcup;"],[5,"&iiiint;"],[0,"&fpartint;"],[2,"&cirfnint;"],[0,"&awint;"],[0,"&rppolint;"],[0,"&scpolint;"],[0,"&npolint;"],[0,"&pointint;"],[0,"&quatint;"],[0,"&intlarhk;"],[10,"&pluscir;"],[0,"&plusacir;"],[0,"&simplus;"],[0,"&plusdu;"],[0,"&plussim;"],[0,"&plustwo;"],[1,"&mcomma;"],[0,"&minusdu;"],[2,"&loplus;"],[0,"&roplus;"],[0,"&Cross;"],[0,"&timesd;"],[0,"&timesbar;"],[1,"&smashp;"],[0,"&lotimes;"],[0,"&rotimes;"],[0,"&otimesas;"],[0,"&Otimes;"],[0,"&odiv;"],[0,"&triplus;"],[0,"&triminus;"],[0,"&tritime;"],[0,"&intprod;"],[2,"&amalg;"],[0,"&capdot;"],[1,"&ncup;"],[0,"&ncap;"],[0,"&capand;"],[0,"&cupor;"],[0,"&cupcap;"],[0,"&capcup;"],[0,"&cupbrcap;"],[0,"&capbrcup;"],[0,"&cupcup;"],[0,"&capcap;"],[0,"&ccups;"],[0,"&ccaps;"],[2,"&ccupssm;"],[2,"&And;"],[0,"&Or;"],[0,"&andand;"],[0,"&oror;"],[0,"&orslope;"],[0,"&andslope;"],[1,"&andv;"],[0,"&orv;"],[0,"&andd;"],[0,"&ord;"],[1,"&wedbar;"],[6,"&sdote;"],[3,"&simdot;"],[2,{v:"&congdot;",n:824,o:"&ncongdot;"}],[0,"&easter;"],[0,"&apacir;"],[0,{v:"&apE;",n:824,o:"&napE;"}],[0,"&eplus;"],[0,"&pluse;"],[0,"&Esim;"],[0,"&Colone;"],[0,"&Equal;"],[1,"&ddotseq;"],[0,"&equivDD;"],[0,"&ltcir;"],[0,"&gtcir;"],[0,"&ltquest;"],[0,"&gtquest;"],[0,{v:"&leqslant;",n:824,o:"&nleqslant;"}],[0,{v:"&geqslant;",n:824,o:"&ngeqslant;"}],[0,"&lesdot;"],[0,"&gesdot;"],[0,"&lesdoto;"],[0,"&gesdoto;"],[0,"&lesdotor;"],[0,"&gesdotol;"],[0,"&lap;"],[0,"&gap;"],[0,"&lne;"],[0,"&gne;"],[0,"&lnap;"],[0,"&gnap;"],[0,"&lEg;"],[0,"&gEl;"],[0,"&lsime;"],[0,"&gsime;"],[0,"&lsimg;"],[0,"&gsiml;"],[0,"&lgE;"],[0,"&glE;"],[0,"&lesges;"],[0,"&gesles;"],[0,"&els;"],[0,"&egs;"],[0,"&elsdot;"],[0,"&egsdot;"],[0,"&el;"],[0,"&eg;"],[2,"&siml;"],[0,"&simg;"],[0,"&simlE;"],[0,"&simgE;"],[0,{v:"&LessLess;",n:824,o:"&NotNestedLessLess;"}],[0,{v:"&GreaterGreater;",n:824,o:"&NotNestedGreaterGreater;"}],[1,"&glj;"],[0,"&gla;"],[0,"&ltcc;"],[0,"&gtcc;"],[0,"&lescc;"],[0,"&gescc;"],[0,"&smt;"],[0,"&lat;"],[0,{v:"&smte;",n:65024,o:"&smtes;"}],[0,{v:"&late;",n:65024,o:"&lates;"}],[0,"&bumpE;"],[0,{v:"&PrecedesEqual;",n:824,o:"&NotPrecedesEqual;"}],[0,{v:"&sce;",n:824,o:"&NotSucceedsEqual;"}],[2,"&prE;"],[0,"&scE;"],[0,"&precneqq;"],[0,"&scnE;"],[0,"&prap;"],[0,"&scap;"],[0,"&precnapprox;"],[0,"&scnap;"],[0,"&Pr;"],[0,"&Sc;"],[0,"&subdot;"],[0,"&supdot;"],[0,"&subplus;"],[0,"&supplus;"],[0,"&submult;"],[0,"&supmult;"],[0,"&subedot;"],[0,"&supedot;"],[0,{v:"&subE;",n:824,o:"&nsubE;"}],[0,{v:"&supE;",n:824,o:"&nsupE;"}],[0,"&subsim;"],[0,"&supsim;"],[2,{v:"&subnE;",n:65024,o:"&varsubsetneqq;"}],[0,{v:"&supnE;",n:65024,o:"&varsupsetneqq;"}],[2,"&csub;"],[0,"&csup;"],[0,"&csube;"],[0,"&csupe;"],[0,"&subsup;"],[0,"&supsub;"],[0,"&subsub;"],[0,"&supsup;"],[0,"&suphsub;"],[0,"&supdsub;"],[0,"&forkv;"],[0,"&topfork;"],[0,"&mlcp;"],[8,"&Dashv;"],[1,"&Vdashl;"],[0,"&Barv;"],[0,"&vBar;"],[0,"&vBarv;"],[1,"&Vbar;"],[0,"&Not;"],[0,"&bNot;"],[0,"&rnmid;"],[0,"&cirmid;"],[0,"&midcir;"],[0,"&topcir;"],[0,"&nhpar;"],[0,"&parsim;"],[9,{v:"&parsl;",n:8421,o:"&nparsl;"}],[44343,{n:new Map(xS([[56476,"&Ascr;"],[1,"&Cscr;"],[0,"&Dscr;"],[2,"&Gscr;"],[2,"&Jscr;"],[0,"&Kscr;"],[2,"&Nscr;"],[0,"&Oscr;"],[0,"&Pscr;"],[0,"&Qscr;"],[1,"&Sscr;"],[0,"&Tscr;"],[0,"&Uscr;"],[0,"&Vscr;"],[0,"&Wscr;"],[0,"&Xscr;"],[0,"&Yscr;"],[0,"&Zscr;"],[0,"&ascr;"],[0,"&bscr;"],[0,"&cscr;"],[0,"&dscr;"],[1,"&fscr;"],[1,"&hscr;"],[0,"&iscr;"],[0,"&jscr;"],[0,"&kscr;"],[0,"&lscr;"],[0,"&mscr;"],[0,"&nscr;"],[1,"&pscr;"],[0,"&qscr;"],[0,"&rscr;"],[0,"&sscr;"],[0,"&tscr;"],[0,"&uscr;"],[0,"&vscr;"],[0,"&wscr;"],[0,"&xscr;"],[0,"&yscr;"],[0,"&zscr;"],[52,"&Afr;"],[0,"&Bfr;"],[1,"&Dfr;"],[0,"&Efr;"],[0,"&Ffr;"],[0,"&Gfr;"],[2,"&Jfr;"],[0,"&Kfr;"],[0,"&Lfr;"],[0,"&Mfr;"],[0,"&Nfr;"],[0,"&Ofr;"],[0,"&Pfr;"],[0,"&Qfr;"],[1,"&Sfr;"],[0,"&Tfr;"],[0,"&Ufr;"],[0,"&Vfr;"],[0,"&Wfr;"],[0,"&Xfr;"],[0,"&Yfr;"],[1,"&afr;"],[0,"&bfr;"],[0,"&cfr;"],[0,"&dfr;"],[0,"&efr;"],[0,"&ffr;"],[0,"&gfr;"],[0,"&hfr;"],[0,"&ifr;"],[0,"&jfr;"],[0,"&kfr;"],[0,"&lfr;"],[0,"&mfr;"],[0,"&nfr;"],[0,"&ofr;"],[0,"&pfr;"],[0,"&qfr;"],[0,"&rfr;"],[0,"&sfr;"],[0,"&tfr;"],[0,"&ufr;"],[0,"&vfr;"],[0,"&wfr;"],[0,"&xfr;"],[0,"&yfr;"],[0,"&zfr;"],[0,"&Aopf;"],[0,"&Bopf;"],[1,"&Dopf;"],[0,"&Eopf;"],[0,"&Fopf;"],[0,"&Gopf;"],[1,"&Iopf;"],[0,"&Jopf;"],[0,"&Kopf;"],[0,"&Lopf;"],[0,"&Mopf;"],[1,"&Oopf;"],[3,"&Sopf;"],[0,"&Topf;"],[0,"&Uopf;"],[0,"&Vopf;"],[0,"&Wopf;"],[0,"&Xopf;"],[0,"&Yopf;"],[1,"&aopf;"],[0,"&bopf;"],[0,"&copf;"],[0,"&dopf;"],[0,"&eopf;"],[0,"&fopf;"],[0,"&gopf;"],[0,"&hopf;"],[0,"&iopf;"],[0,"&jopf;"],[0,"&kopf;"],[0,"&lopf;"],[0,"&mopf;"],[0,"&nopf;"],[0,"&oopf;"],[0,"&popf;"],[0,"&qopf;"],[0,"&ropf;"],[0,"&sopf;"],[0,"&topf;"],[0,"&uopf;"],[0,"&vopf;"],[0,"&wopf;"],[0,"&xopf;"],[0,"&yopf;"],[0,"&zopf;"]]))}],[8906,"&fflig;"],[0,"&filig;"],[0,"&fllig;"],[0,"&ffilig;"],[0,"&ffllig;"]]));var QI=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]),tD=String.prototype.codePointAt!=null?(l,e)=>l.codePointAt(e):(l,e)=>(l.charCodeAt(e)&64512)===55296?(l.charCodeAt(e)-55296)*1024+l.charCodeAt(e+1)-56320+65536:l.charCodeAt(e);function y0(l,e){return function(r){let o,i=0,n="";for(;o=l.exec(r);)i!==o.index&&(n+=r.substring(i,o.index)),n+=e.get(o[0].charCodeAt(0)),i=o.index+1;return n+r.substring(i)}}var aE=y0(/[&<>'"]/g,QI),uE=y0(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),mE=y0(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]));var yE;(function(l){l[l.XML=0]="XML",l[l.HTML=1]="HTML"})(yE||(yE={}));var pE;(function(l){l[l.UTF8=0]="UTF8",l[l.ASCII=1]="ASCII",l[l.Extensive=2]="Extensive",l[l.Attribute=3]="Attribute",l[l.Text=4]="Text"})(pE||(pE={}));var oD=/[&"<>\t\n\r]/g,iD=/[&"]/g,sD=/[&\xA0<>]/g,nD=/&(?:quot|lt|gt|amp|#x9|#xA|#xD);/g,lD=/&(?:quot|amp);/g,aD=/&(?:nbsp|lt|gt|amp);/g,uD=/&(?:lt|gt|quot|apos|#(\d+)|#x([A-Fa-f\d]+)|amp);/g,mD={"&":"&amp;",'"':"&quot;","<":"&lt;",">":"&gt;"," ":"&#x9;","\n":"&#xA;","\r":"&#xD;"},yD={"&":"&amp;",'"':"&quot;"},pD={"&":"&amp;","\xA0":"&nbsp;","<":"&lt;",">":"&gt;"},cD={"&quot;":'"',"&lt;":"<","&gt;":">","&#x9;":" ","&#xA;":`
94
+ `,"&#xD;":"\r","&amp;":"&"},hD={"&quot;":'"',"&amp;":"&"},dD={"&nbsp;":"\xA0","&lt;":"<","&gt;":">","&amp;":"&"},bD={"&lt;":"<","&gt;":">","&nbsp;":"\xA0","&quot;":'"',"&apos;":"'","&amp;":"&"},He=class{static encodeXMLAttributeValue(e){return e===null?"":e.replace(oD,t=>mD[t])}static decodeXMLAttributeValue(e){return e===null?"":e.replace(nD,t=>cD[t])}static encodeHTMLAttributeValue(e){return e===null?"":e.replace(iD,t=>yD[t])}static decodeHTMLAttributeValue(e){return e===null?"":e.replace(lD,t=>hD[t])}static encodeTextContent(e){return e===null?"":e.replace(sD,t=>pD[t])}static decodeTextContent(e){return e===null?"":e.replace(aD,t=>dD[t])}static decodeHTMLEntities(e){return e===null?"":ap(e)}static decodeXMLEntities(e){return e===null?"":e.replace(uD,(t,r,o)=>r!==void 0?String.fromCodePoint(parseInt(r,10)):o!==void 0?String.fromCodePoint(parseInt(o,16)):bD[t])}};var fD=/<([^\s/!>?]+)|<\/([^\s/!>?]+)\s*>|(<!--)|(-->|--!>)|(<!)|(<\?)|(\/>)|(>)/gm,gD=/\s*([a-zA-Z0-9-_:.$@?\\<\[\]]+)\s*=\s*([^"'=<>\\`\s]+)|\s*([a-zA-Z0-9-_:.$@?\\<\[\]]+)\s*=\s*"([^"]*)("{0,1})|\s*([a-zA-Z0-9-_:.$@?\\<\[\]]+)\s*=\s*'([^']*)('{0,1})|\s*([a-zA-Z0-9-_:.$@?\\<\[\]]+)/gm,SD=/"([^"]+)"/gm,PD=/\s+/,wD=/^\s+/,Je;(function(l){l.any="any",l.startTag="startTag",l.comment="comment",l.documentType="documentType",l.processingInstruction="processingInstruction",l.rawTextElement="rawTextElement"})(Je||(Je={}));var _e;(function(l){l[l.root=0]="root",l[l.doctype=1]="doctype",l[l.documentElement=2]="documentElement",l[l.head=3]="head",l[l.additionalHeadWithoutBody=4]="additionalHeadWithoutBody",l[l.body=5]="body",l[l.afterBody=6]="afterBody"})(_e||(_e={}));var qr=class{constructor(e,t){s(this,"window");s(this,"evaluateScripts",!1);s(this,"isTemplateDocumentFragment",!1);s(this,"rootNode",null);s(this,"rootDocument",null);s(this,"nodeStack",[]);s(this,"tagNameStack",[]);s(this,"documentStructure",null);s(this,"startTagIndex",0);s(this,"markupRegExp",null);s(this,"nextElement",null);s(this,"currentNode",null);s(this,"readState",Je.any);this.window=e,t?.evaluateScripts&&(this.evaluateScripts=!0),t?.isTemplateDocumentFragment&&(this.isTemplateDocumentFragment=!0)}parse(e,t){if(this.rootNode=t||this.window.document.createDocumentFragment(),this.rootDocument=this.rootNode instanceof Yo?this.rootNode:this.window.document,this.nodeStack=[this.rootNode],this.tagNameStack=[null],this.currentNode=this.rootNode,this.readState=Je.any,this.documentStructure=null,this.startTagIndex=0,this.markupRegExp=new RegExp(fD),this.rootNode instanceof Yo){let{doctype:i,documentElement:n,head:a,body:m}=this.rootNode;if(!n||!a||!m)throw new Error(`Failed to parse HTML: The root node must have "documentElement", "head" and "body".
95
+
96
+ We should not end up here and it is therefore a bug in Happy DOM. Please report this issue.`);this.documentStructure={nodes:{doctype:i||null,documentElement:n,head:a,body:m},level:_e.root}}if(this.rootNode instanceof this.window.HTMLHtmlElement){let i=this.rootDocument.createElement("head"),n=this.rootDocument.createElement("body");for(;this.rootNode[$].length>0;)this.rootNode[Rr](this.rootNode[$][this.rootNode[$].length-1]);this.rootNode[Et](i),this.rootNode[Et](n),this.documentStructure={nodes:{doctype:null,documentElement:this.rootNode,head:i,body:n},level:_e.documentElement}}let r,o=0;for(e=String(e);r=this.markupRegExp.exec(e);){switch(this.readState){case Je.any:r.index!==o&&(r[1]||r[2]||r[3]||r[4]||r[5]!==void 0||r[6])&&this.parsePlainText(e.substring(o,r.index)),r[1]?(this.nextElement=this.getStartTagElement(r[1]),this.startTagIndex=this.markupRegExp.lastIndex,this.readState=Je.startTag):r[2]?this.parseEndTag(r[2]):r[3]?(this.startTagIndex=this.markupRegExp.lastIndex,this.readState=Je.comment):r[5]!==void 0?(this.startTagIndex=this.markupRegExp.lastIndex,this.readState=Je.documentType):r[6]?(this.startTagIndex=this.markupRegExp.lastIndex,this.readState=Je.processingInstruction):this.parsePlainText(e.substring(o,this.markupRegExp.lastIndex));break;case Je.startTag:if(r[7]||r[8]||r[2])if(this.nextElement){let i=e.substring(this.startTagIndex,r[2]?this.markupRegExp.lastIndex-1:r.index),n=!!r[7];this.parseEndOfStartTag(i,n)}else this.readState=Je.any;break;case Je.comment:r[4]&&this.parseComment(e.substring(this.startTagIndex,r.index));break;case Je.documentType:(r[7]||r[8])&&this.parseDocumentType(e.substring(this.startTagIndex,r.index));break;case Je.processingInstruction:(r[7]||r[8])&&this.parseComment("?"+e.substring(this.startTagIndex,r.index));break;case Je.rawTextElement:r[2]&&this.parseRawTextElementContent(r[2],e.substring(this.startTagIndex,r.index));break}o=this.markupRegExp.lastIndex}return o!==e.length&&this.currentNode&&this.parsePlainText(e.substring(o)),this.rootNode}parsePlainText(e){if(this.documentStructure){let t=this.documentStructure.level,{documentElement:r,head:o,body:i}=this.documentStructure.nodes,n=(this.currentNode===this.rootNode||this.currentNode===r)&&t<_e.head&&i[ft].length===0?e.replace(wD,""):e;if(n){let a=this.rootDocument.createTextNode(He.decodeHTMLEntities(n));this.currentNode===o&&t===_e.additionalHeadWithoutBody?r[uo](a,i,!0):this.currentNode===this.rootNode||this.currentNode===r||this.currentNode===o&&t>=_e.body?t===_e.head?r[uo](a,i,!0):i.lastChild?.[U]===M.textNode?i.lastChild[le]+=e:i[Et](a,!0):this.currentNode[Et](a,!0)}}else{let t=this.rootDocument.createTextNode(He.decodeHTMLEntities(e));this.currentNode[Et](t,!0)}}parseEndOfStartTag(e,t){if(e&&(!this.documentStructure||this.nextElement!==this.documentStructure.nodes.head||this.documentStructure.level<_e.body)){let a=new RegExp(gD),m;for(;m=a.exec(e);)if(m[1]&&m[2]||m[3]&&m[5]==='"'||m[6]&&m[8]==="'"||m[9]){let p=m[1]||m[3]||m[6]||m[9]||"",b=m[2]||m[4]||m[7]||"",d=b?He.decodeHTMLAttributeValue(b):"",f=this.nextElement[St];if(this.nextElement[rt]===qt.svg){let v=p.split(":"),C=null;switch(v[0]){case"xmlns":C=!v[1]||v[1]==="xlink"?qt.xmlns:null;break;case"xlink":C=qt.xlink;break}if(!f.getNamedItemNS(C,v[1]??p)){let L=Fe.createNode(this.rootDocument,this.window.Attr);L[rt]=C,L[lt]=p,L[dt]=C&&v[1]?v[1]:p,L[Vt]=C&&v[1]?v[0]:null,L[Z]=d,f[Ki](L)}}else if(!f.getNamedItem(p)){let v=this.rootDocument.createAttribute(p);v[Z]=d,f[Ki](v)}this.startTagIndex+=m[0].length}else if(!m[1]&&(m[3]&&!m[5]||m[6]&&!m[8]))return}let r=this.nextElement[tt],o=r.toLowerCase(),i=hr[o],n=null;for(;n!==this.rootNode;){let a=this.currentNode[tt]?.toLowerCase(),m=a?hr[a]:null;if(n===this.currentNode)throw new Error("Failed to parse HTML: The parser is stuck in an infinite loop. Please report this issue.");if(n=this.currentNode,i?.contentModel===H.noFirstLevelSelfDescendants&&this.tagNameStack[this.tagNameStack.length-1]===r||m?.contentModel===H.textOrComments||m?.contentModel===H.noForbiddenFirstLevelDescendants&&m?.forbiddenDescendants?.includes(o)||m?.contentModel===H.permittedDescendants&&!m?.permittedDescendants?.includes(o)&&(!i||!i.addPermittedParent||hr[i.addPermittedParent].permittedParents&&!hr[i.addPermittedParent].permittedParents.includes(a)||hr[i.addPermittedParent].permittedDescendants&&!hr[i.addPermittedParent].permittedDescendants.includes(o))){if(m?.contentModel===H.permittedDescendants&&m.moveForbiddenDescendant&&!m.moveForbiddenDescendant.exclude.includes(o)){let p=this.currentNode;for(;p&&!(!p.parentNode||!hr[p.parentNode[dt]]?.permittedDescendants||hr[p.parentNode[dt]]?.permittedDescendants?.includes(o));)p=p.parentNode;p&&p.parentNode?p.parentNode.insertBefore(this.nextElement,p):p.appendChild(this.nextElement),this.startTagIndex=this.markupRegExp.lastIndex,this.readState=Je.any;return}this.nodeStack.pop(),this.tagNameStack.pop(),this.currentNode=this.nodeStack[this.nodeStack.length-1]||this.rootNode}else if(i?.contentModel===H.noSelfDescendants&&this.tagNameStack.includes(r))for(;this.currentNode!==this.rootNode;){if(this.currentNode[tt]===r){this.nodeStack.pop(),this.tagNameStack.pop(),this.currentNode=this.nodeStack[this.nodeStack.length-1]||this.rootNode;break}this.nodeStack.pop(),this.tagNameStack.pop(),this.currentNode=this.nodeStack[this.nodeStack.length-1]||this.rootNode}else if(!this.isTemplateDocumentFragment&&i?.permittedParents&&!i.permittedParents.includes(a)){if(!i.addPermittedParent||hr[i.addPermittedParent].permittedParents&&!hr[i.addPermittedParent].permittedParents.includes(a)||hr[i.addPermittedParent].permittedDescendants&&!hr[i.addPermittedParent].permittedDescendants.includes(o)){this.readState=Je.any,this.startTagIndex=this.markupRegExp.lastIndex;return}let p=this.rootDocument.createElement(i.addPermittedParent);this.currentNode[Et](p,!0),this.nodeStack.push(p),this.tagNameStack.push(p[tt]),this.currentNode=p}else break}if(this.documentStructure){let{documentElement:a,head:m,body:p}=this.documentStructure.nodes,b=this.documentStructure.level;(!i||i.contentModel!==H.rawText)&&this.nextElement!==a&&this.nextElement!==m&&this.nextElement!==p&&(a&&(this.currentNode===this.rootNode||this.currentNode===a||this.currentNode===m&&b>=_e.body)?(b<_e.body&&(this.documentStructure.level=_e.afterBody),p[Et](this.nextElement,!0)):this.currentNode[Et](this.nextElement,!0))}else this.currentNode[Et](this.nextElement,!0);!this.documentStructure||this.nextElement!==this.documentStructure.nodes.body||this.documentStructure.level<=_e.body?(this.currentNode=this.nextElement,this.nodeStack.push(this.currentNode),this.tagNameStack.push(r),this.documentStructure&&this.nextElement===this.documentStructure.nodes.body&&(this.documentStructure.level=_e.afterBody),i?.contentModel===H.noDescendants||t&&this.currentNode[rt]===qt.svg?(this.nodeStack.pop(),this.tagNameStack.pop(),this.currentNode=this.nodeStack[this.nodeStack.length-1]||this.rootNode,this.readState=Je.any):this.readState=i?.contentModel===H.rawText?Je.rawTextElement:Je.any):this.readState=Je.any,this.startTagIndex=this.markupRegExp.lastIndex}parseEndTag(e){let t=this.currentNode[rt]===qt.html?ro.asciiUpperCase(e):Cb[ro.asciiLowerCase(e)]?.localName||e,r=this.tagNameStack.lastIndexOf(t);r!==-1&&(this.nodeStack.splice(r,this.nodeStack.length-r),this.tagNameStack.splice(r,this.tagNameStack.length-r),this.currentNode=this.nodeStack[this.nodeStack.length-1]||this.rootNode)}parseComment(e){let t=this.rootDocument.createComment(He.decodeHTMLEntities(e));if(this.documentStructure){let r=this.documentStructure.level,{documentElement:o,head:i,body:n}=this.documentStructure.nodes,a=null;this.currentNode===this.rootNode&&r===_e.root?a=o:this.currentNode===o&&r===_e.documentElement?a=i:this.currentNode===o&&r===_e.head&&(a=n),this.currentNode[uo](t,a,!0)}else this.currentNode[Et](t,!0);this.readState=Je.any}parseDocumentType(e){let t=He.decodeHTMLEntities(e);if(this.documentStructure){let{doctype:r}=this.documentStructure.nodes,o=this.getDocumentType(t);o?this.currentNode===this.rootNode&&this.documentStructure.level===_e.root&&(r?(r[lt]=o.name,r[pl]=o.publicId,r[cl]=o.systemId):(r=this.rootNode.implementation.createDocumentType(o.name,o.publicId,o.systemId),this.rootNode.insertBefore(r,this.rootNode.documentElement)),this.documentStructure.level=_e.doctype):this.parseComment(t)}else this.getDocumentType(t)||this.parseComment(t);this.readState=Je.any}parseRawTextElementContent(e,t){let r=ro.asciiUpperCase(e);if(r!==this.currentNode[tt])return;r==="SCRIPT"?this.currentNode[Tl]=!this.evaluateScripts:r==="LINK"&&(this.currentNode[Tl]=!this.evaluateScripts),this.currentNode[Et](this.rootDocument.createTextNode(t),!0);let o=this.currentNode;if(this.nodeStack.pop(),this.tagNameStack.pop(),this.currentNode=this.nodeStack[this.nodeStack.length-1]||this.rootNode,this.readState=Je.any,this.documentStructure){let{documentElement:i,body:n}=this.documentStructure.nodes;i&&(this.currentNode===this.rootNode||this.currentNode===i)?n[Et](o,!0):this.currentNode[Et](o,!0)}else this.currentNode[Et](o,!0)}getStartTagElement(e){let t=ro.asciiLowerCase(e),r=this.currentNode[rt];if(t==="svg")return this.rootDocument.createElementNS(qt.svg,"svg");if(r===qt.svg)return this.rootDocument.createElementNS(qt.svg,Cb[t]?.localName||e);switch(t){case"html":return this.documentStructure?(this.documentStructure.level<_e.documentElement&&(this.documentStructure.level=_e.documentElement),this.documentStructure.nodes.documentElement??null):null;case"head":return this.documentStructure?(this.documentStructure.level<_e.head?this.documentStructure.level=_e.head:this.documentStructure.level===_e.head&&(this.documentStructure.level=_e.additionalHeadWithoutBody),this.documentStructure.nodes.head??null):null;case"body":return this.documentStructure?(this.documentStructure.level<_e.body&&(this.documentStructure.level=_e.body),this.documentStructure.nodes.body??null):null;default:return this.rootDocument.createElementNS(qt.html,t)}}getDocumentType(e){if(!e.toUpperCase().startsWith("DOCTYPE"))return null;let t=e.split(PD);if(t.length<=1)return null;let r=t.slice(1).join(" "),o=[],i=new RegExp(SD,"gm"),n=r.toUpperCase().includes("PUBLIC"),a;for(;a=i.exec(r);)o.push(a[1]);let m=n&&o[0]||"",p=n?o[1]||"":o[0]||"";return{name:t[1].toLowerCase(),publicId:m,systemId:p}}};var xD=/^[a-z][a-z0-9-]+$/,dE,bE,fE,gE,SE,PE,wE,xE,EE,vE,AE,TE,NE,LE,CE,kE,ME,RE,OE,VE,IE,DE,FE,_E,kb,c0,Yo=class extends(_E=gt,FE=Xr,DE=$e,IE=xa,VE=ji,OE=Ve,RE=Qs,ME=tn,kE=U,CE=nt,LE=Ta,NE=Hg,TE=Na,AE=Kr,vE=Po,EE=Ah,xE=xs,wE=T,PE=sn,SE=Oe,gE=hm,fE=xo,bE=h,dE=om,_E){constructor(){super(...arguments);x(this,kb);s(this,FE,null);s(this,DE,null);s(this,IE,null);s(this,VE,null);s(this,OE,this);s(this,RE,!0);s(this,ME,!1);s(this,kE,M.documentNode);s(this,CE,!0);s(this,LE,[]);s(this,NE,new Lb(this));s(this,TE,PS.interactive);s(this,AE,"");s(this,vE,null);s(this,EE,null);s(this,xE,[]);s(this,wE,null);s(this,PE,new Map);s(this,SE,"text/html");s(this,gE,null);s(this,fE,new Map);s(this,bE,new Map);s(this,dE,null)}get onreadystatechange(){return this[h].get("onreadystatechange")??null}set onreadystatechange(t){this[h].set("onreadystatechange",t)}get onpointerlockchange(){return this[h].get("onpointerlockchange")??null}set onpointerlockchange(t){this[h].set("onpointerlockchange",t)}get onpointerlockerror(){return this[h].get("onpointerlockerror")??null}set onpointerlockerror(t){this[h].set("onpointerlockerror",t)}get onbeforecopy(){return this[h].get("onbeforecopy")??null}set onbeforecopy(t){this[h].set("onbeforecopy",t)}get onbeforecut(){return this[h].get("onbeforecut")??null}set onbeforecut(t){this[h].set("onbeforecut",t)}get onbeforepaste(){return this[h].get("onbeforepaste")??null}set onbeforepaste(t){this[h].set("onbeforepaste",t)}get onfreeze(){return this[h].get("onfreeze")??null}set onfreeze(t){this[h].set("onfreeze",t)}get onprerenderingchange(){return this[h].get("onprerenderingchange")??null}set onprerenderingchange(t){this[h].set("onprerenderingchange",t)}get onresume(){return this[h].get("onresume")??null}set onresume(t){this[h].set("onresume",t)}get onsearch(){return this[h].get("onsearch")??null}set onsearch(t){this[h].set("onsearch",t)}get onvisibilitychange(){return this[h].get("onvisibilitychange")??null}set onvisibilitychange(t){this[h].set("onvisibilitychange",t)}get onfullscreenchange(){return this[h].get("onfullscreenchange")??null}set onfullscreenchange(t){this[h].set("onfullscreenchange",t)}get onfullscreenerror(){return this[h].get("onfullscreenerror")??null}set onfullscreenerror(t){this[h].set("onfullscreenerror",t)}get onwebkitfullscreenchange(){return this[h].get("onwebkitfullscreenchange")??null}set onwebkitfullscreenchange(t){this[h].set("onwebkitfullscreenchange",t)}get onwebkitfullscreenerror(){return this[h].get("onwebkitfullscreenerror")??null}set onwebkitfullscreenerror(t){this[h].set("onwebkitfullscreenerror",t)}get onbeforexrselect(){return this[h].get("onbeforexrselect")??null}set onbeforexrselect(t){this[h].set("onbeforexrselect",t)}get onabort(){return this[h].get("onabort")??null}set onabort(t){this[h].set("onabort",t)}get onbeforeinput(){return this[h].get("onbeforeinput")??null}set onbeforeinput(t){this[h].set("onbeforeinput",t)}get onbeforematch(){return this[h].get("onbeforematch")??null}set onbeforematch(t){this[h].set("onbeforematch",t)}get onbeforetoggle(){return this[h].get("onbeforetoggle")??null}set onbeforetoggle(t){this[h].set("onbeforetoggle",t)}get onblur(){return this[h].get("onblur")??null}set onblur(t){this[h].set("onblur",t)}get oncancel(){return this[h].get("oncancel")??null}set oncancel(t){this[h].set("oncancel",t)}get oncanplay(){return this[h].get("oncanplay")??null}set oncanplay(t){this[h].set("oncanplay",t)}get oncanplaythrough(){return this[h].get("oncanplaythrough")??null}set oncanplaythrough(t){this[h].set("oncanplaythrough",t)}get onchange(){return this[h].get("onchange")??null}set onchange(t){this[h].set("onchange",t)}get onclick(){return this[h].get("onclick")??null}set onclick(t){this[h].set("onclick",t)}get onclose(){return this[h].get("onclose")??null}set onclose(t){this[h].set("onclose",t)}get oncontentvisibilityautostatechange(){return this[h].get("oncontentvisibilityautostatechange")??null}set oncontentvisibilityautostatechange(t){this[h].set("oncontentvisibilityautostatechange",t)}get oncontextlost(){return this[h].get("oncontextlost")??null}set oncontextlost(t){this[h].set("oncontextlost",t)}get oncontextmenu(){return this[h].get("oncontextmenu")??null}set oncontextmenu(t){this[h].set("oncontextmenu",t)}get oncontextrestored(){return this[h].get("oncontextrestored")??null}set oncontextrestored(t){this[h].set("oncontextrestored",t)}get oncuechange(){return this[h].get("oncuechange")??null}set oncuechange(t){this[h].set("oncuechange",t)}get ondblclick(){return this[h].get("ondblclick")??null}set ondblclick(t){this[h].set("ondblclick",t)}get ondrag(){return this[h].get("ondrag")??null}set ondrag(t){this[h].set("ondrag",t)}get ondragend(){return this[h].get("ondragend")??null}set ondragend(t){this[h].set("ondragend",t)}get ondragenter(){return this[h].get("ondragenter")??null}set ondragenter(t){this[h].set("ondragenter",t)}get ondragleave(){return this[h].get("ondragleave")??null}set ondragleave(t){this[h].set("ondragleave",t)}get ondragover(){return this[h].get("ondragover")??null}set ondragover(t){this[h].set("ondragover",t)}get ondragstart(){return this[h].get("ondragstart")??null}set ondragstart(t){this[h].set("ondragstart",t)}get ondrop(){return this[h].get("ondrop")??null}set ondrop(t){this[h].set("ondrop",t)}get ondurationchange(){return this[h].get("ondurationchange")??null}set ondurationchange(t){this[h].set("ondurationchange",t)}get onemptied(){return this[h].get("onemptied")??null}set onemptied(t){this[h].set("onemptied",t)}get onended(){return this[h].get("onended")??null}set onended(t){this[h].set("onended",t)}get onerror(){return this[h].get("onerror")??null}set onerror(t){this[h].set("onerror",t)}get onfocus(){return this[h].get("onfocus")??null}set onfocus(t){this[h].set("onfocus",t)}get onformdata(){return this[h].get("onformdata")??null}set onformdata(t){this[h].set("onformdata",t)}get oninput(){return this[h].get("oninput")??null}set oninput(t){this[h].set("oninput",t)}get oninvalid(){return this[h].get("oninvalid")??null}set oninvalid(t){this[h].set("oninvalid",t)}get onkeydown(){return this[h].get("onkeydown")??null}set onkeydown(t){this[h].set("onkeydown",t)}get onkeypress(){return this[h].get("onkeypress")??null}set onkeypress(t){this[h].set("onkeypress",t)}get onkeyup(){return this[h].get("onkeyup")??null}set onkeyup(t){this[h].set("onkeyup",t)}get onload(){return this[h].get("onload")??null}set onload(t){this[h].set("onload",t)}get onloadeddata(){return this[h].get("onloadeddata")??null}set onloadeddata(t){this[h].set("onloadeddata",t)}get onloadedmetadata(){return this[h].get("onloadedmetadata")??null}set onloadedmetadata(t){this[h].set("onloadedmetadata",t)}get onloadstart(){return this[h].get("onloadstart")??null}set onloadstart(t){this[h].set("onloadstart",t)}get onmousedown(){return this[h].get("onmousedown")??null}set onmousedown(t){this[h].set("onmousedown",t)}get onmouseenter(){return this[h].get("onmouseenter")??null}set onmouseenter(t){this[h].set("onmouseenter",t)}get onmouseleave(){return this[h].get("onmouseleave")??null}set onmouseleave(t){this[h].set("onmouseleave",t)}get onmousemove(){return this[h].get("onmousemove")??null}set onmousemove(t){this[h].set("onmousemove",t)}get onmouseout(){return this[h].get("onmouseout")??null}set onmouseout(t){this[h].set("onmouseout",t)}get onmouseover(){return this[h].get("onmouseover")??null}set onmouseover(t){this[h].set("onmouseover",t)}get onmouseup(){return this[h].get("onmouseup")??null}set onmouseup(t){this[h].set("onmouseup",t)}get onmousewheel(){return this[h].get("onmousewheel")??null}set onmousewheel(t){this[h].set("onmousewheel",t)}get onpause(){return this[h].get("onpause")??null}set onpause(t){this[h].set("onpause",t)}get onplay(){return this[h].get("onplay")??null}set onplay(t){this[h].set("onplay",t)}get onplaying(){return this[h].get("onplaying")??null}set onplaying(t){this[h].set("onplaying",t)}get onprogress(){return this[h].get("onprogress")??null}set onprogress(t){this[h].set("onprogress",t)}get onratechange(){return this[h].get("onratechange")??null}set onratechange(t){this[h].set("onratechange",t)}get onreset(){return this[h].get("onreset")??null}set onreset(t){this[h].set("onreset",t)}get onresize(){return this[h].get("onresize")??null}set onresize(t){this[h].set("onresize",t)}get onscroll(){return this[h].get("onscroll")??null}set onscroll(t){this[h].set("onscroll",t)}get onsecuritypolicyviolation(){return this[h].get("onsecuritypolicyviolation")??null}set onsecuritypolicyviolation(t){this[h].set("onsecuritypolicyviolation",t)}get onseeked(){return this[h].get("onseeked")??null}set onseeked(t){this[h].set("onseeked",t)}get onseeking(){return this[h].get("onseeking")??null}set onseeking(t){this[h].set("onseeking",t)}get onselect(){return this[h].get("onselect")??null}set onselect(t){this[h].set("onselect",t)}get onslotchange(){return this[h].get("onslotchange")??null}set onslotchange(t){this[h].set("onslotchange",t)}get onstalled(){return this[h].get("onstalled")??null}set onstalled(t){this[h].set("onstalled",t)}get onsubmit(){return this[h].get("onsubmit")??null}set onsubmit(t){this[h].set("onsubmit",t)}get onsuspend(){return this[h].get("onsuspend")??null}set onsuspend(t){this[h].set("onsuspend",t)}get ontimeupdate(){return this[h].get("ontimeupdate")??null}set ontimeupdate(t){this[h].set("ontimeupdate",t)}get ontoggle(){return this[h].get("ontoggle")??null}set ontoggle(t){this[h].set("ontoggle",t)}get onvolumechange(){return this[h].get("onvolumechange")??null}set onvolumechange(t){this[h].set("onvolumechange",t)}get onwaiting(){return this[h].get("onwaiting")??null}set onwaiting(t){this[h].set("onwaiting",t)}get onwebkitanimationend(){return this[h].get("onwebkitanimationend")??null}set onwebkitanimationend(t){this[h].set("onwebkitanimationend",t)}get onwebkitanimationiteration(){return this[h].get("onwebkitanimationiteration")??null}set onwebkitanimationiteration(t){this[h].set("onwebkitanimationiteration",t)}get onwebkitanimationstart(){return this[h].get("onwebkitanimationstart")??null}set onwebkitanimationstart(t){this[h].set("onwebkitanimationstart",t)}get onwebkittransitionend(){return this[h].get("onwebkittransitionend")??null}set onwebkittransitionend(t){this[h].set("onwebkittransitionend",t)}get onwheel(){return this[h].get("onwheel")??null}set onwheel(t){this[h].set("onwheel",t)}get onauxclick(){return this[h].get("onauxclick")??null}set onauxclick(t){this[h].set("onauxclick",t)}get ongotpointercapture(){return this[h].get("ongotpointercapture")??null}set ongotpointercapture(t){this[h].set("ongotpointercapture",t)}get onlostpointercapture(){return this[h].get("onlostpointercapture")??null}set onlostpointercapture(t){this[h].set("onlostpointercapture",t)}get onpointerdown(){return this[h].get("onpointerdown")??null}set onpointerdown(t){this[h].set("onpointerdown",t)}get onpointermove(){return this[h].get("onpointermove")??null}set onpointermove(t){this[h].set("onpointermove",t)}get onpointerrawupdate(){return this[h].get("onpointerrawupdate")??null}set onpointerrawupdate(t){this[h].set("onpointerrawupdate",t)}get onpointerup(){return this[h].get("onpointerup")??null}set onpointerup(t){this[h].set("onpointerup",t)}get onpointercancel(){return this[h].get("onpointercancel")??null}set onpointercancel(t){this[h].set("onpointercancel",t)}get onpointerover(){return this[h].get("onpointerover")??null}set onpointerover(t){this[h].set("onpointerover",t)}get onpointerout(){return this[h].get("onpointerout")??null}set onpointerout(t){this[h].set("onpointerout",t)}get onpointerenter(){return this[h].get("onpointerenter")??null}set onpointerenter(t){this[h].set("onpointerenter",t)}get onpointerleave(){return this[h].get("onpointerleave")??null}set onpointerleave(t){this[h].set("onpointerleave",t)}get onselectstart(){return this[h].get("onselectstart")??null}set onselectstart(t){this[h].set("onselectstart",t)}get onselectionchange(){return this[h].get("onselectionchange")??null}set onselectionchange(t){this[h].set("onselectionchange",t)}get onanimationend(){return this[h].get("onanimationend")??null}set onanimationend(t){this[h].set("onanimationend",t)}get onanimationiteration(){return this[h].get("onanimationiteration")??null}set onanimationiteration(t){this[h].set("onanimationiteration",t)}get onanimationstart(){return this[h].get("onanimationstart")??null}set onanimationstart(t){this[h].set("onanimationstart",t)}get ontransitionrun(){return this[h].get("ontransitionrun")??null}set ontransitionrun(t){this[h].set("ontransitionrun",t)}get ontransitionstart(){return this[h].get("ontransitionstart")??null}set ontransitionstart(t){this[h].set("ontransitionstart",t)}get ontransitionend(){return this[h].get("ontransitionend")??null}set ontransitionend(t){this[h].set("ontransitionend",t)}get ontransitioncancel(){return this[h].get("ontransitioncancel")??null}set ontransitioncancel(t){this[h].set("ontransitioncancel",t)}get oncopy(){return this[h].get("oncopy")??null}set oncopy(t){this[h].set("oncopy",t)}get oncut(){return this[h].get("oncut")??null}set oncut(t){this[h].set("oncut",t)}get onpaste(){return this[h].get("onpaste")??null}set onpaste(t){this[h].set("onpaste",t)}get onscrollend(){return this[h].get("onscrollend")??null}set onscrollend(t){this[h].set("onscrollend",t)}get onscrollsnapchange(){return this[h].get("onscrollsnapchange")??null}set onscrollsnapchange(t){this[h].set("onscrollsnapchange",t)}get onscrollsnapchanging(){return this[h].get("onscrollsnapchanging")??null}set onscrollsnapchanging(t){this[h].set("onscrollsnapchanging",t)}get adoptedStyleSheets(){return this[Ta]}set adoptedStyleSheets(t){this[Ta]=t}get implementation(){return this[Hg]}get readyState(){return this[Na]}get referrer(){return this[Kr]}get defaultView(){return this[Po]}get children(){if(!this[Xr]){let t=this[ft];this[Xr]=new Ae(c,()=>t)}return this[Xr]}get charset(){return this.characterSet}get characterSet(){let t=ut.querySelector(this,"meta[charset]")?.getAttributeNS(null,"charset");return t||"UTF-8"}get title(){let t=ne.getElementByTagName(this,"title");return t?t.text.trim():""}set title(t){let r=ne.getElementByTagName(this,"title");if(r)r.textContent=t;else{let o=this.createElement("title");o.textContent=t,this.head.appendChild(o)}}get links(){return ut.querySelectorAll(this,"a[href],area[href]")}get forms(){return this[Ah]||(this[Ah]=ne.getElementsByTagName(this,"form")),this[Ah]}get childElementCount(){return this[ft].length}get firstElementChild(){return this[ft][0]??null}get lastElementChild(){let t=this[ft];return t[t.length-1]??null}get cookie(){let t=new it(this[u]).getBrowserFrame();return t?Oi.cookiesToString(t.page.context.cookieContainer.getCookies(this[u].location,!0)):""}set cookie(t){let r=new it(this[u]).getBrowserFrame();if(!r)return;let o=Oi.stringToCookie(this[u].location,t);o&&r.page.context.cookieContainer.addCookies([o])}get nodeName(){return"#document"}get documentElement(){return this[ft][0]??null}get doctype(){for(let t of this[$])if(t instanceof Un)return t;return null}get body(){let t=this.documentElement;return t?ne.getElementByTagName(t,"body"):null}get head(){let t=this.documentElement;return t?ne.getElementByTagName(t,"head"):null}get styleSheets(){let t=ut.querySelectorAll(this,'link[rel="stylesheet"][href],style'),r=[];for(let o of t){let i=o.sheet;i&&r.push(i)}return r}get activeElement(){if(this[$e]&&!this[$e][nt]&&(this[$e]=null),this[$e]&&this[$e]instanceof dr){let t=this[$e].getRootNode(),r=this[$e];for(;t!==this;)r=t.host,t=r?r.getRootNode():this;return r}return this[$e]||this.body||this.documentElement||null}get scrollingElement(){return this.documentElement}get location(){return this[u].location}get scripts(){return this.getElementsByTagName("script")}get baseURI(){let t=ne.getElementByTagName(this,"base");return t?t.href:this[u].location.href}get URL(){return this[u].location.href}get documentURI(){return this.URL}get domain(){return this[u].location.hostname}get visibilityState(){return this.defaultView?s0.visible:s0.hidden}get hidden(){return!this.defaultView}get currentScript(){return this[ji]}get contentType(){return this[Oe]}append(...t){ne.append(this,...t)}prepend(...t){ne.prepend(this,...t)}replaceChildren(...t){ne.replaceChildren(this,...t)}querySelectorAll(t){return ut.querySelectorAll(this,t)}querySelector(t){return ut.querySelector(this,t)}queryCommandSupported(t){if(!arguments.length)throw new this[u].TypeError("Failed to execute 'queryCommandSupported' on 'Document': 1 argument required, but only 0 present.");return!0}getElementsByClassName(t){return ne.getElementsByClassName(this,t)}getElementsByTagName(t){return ne.getElementsByTagName(this,t)}getElementsByTagNameNS(t,r){return ne.getElementsByTagNameNS(this,t,r)}getElementById(t){return ne.getElementById(this,t)}getElementsByName(t){return ut.querySelectorAll(this,`[name="${t}"]`)}write(t){if(this[Qs]||this[tn]){this[Qs]&&(this[tn]||this.open(),this[Qs]=!1);let{documentElement:r,head:o,body:i}=this;(!r||!o||!i)&&this.open(),this[Qs]=!1,this[tn]=!1,new qr(this[u],{evaluateScripts:!0}).parse(t,this)}else new qr(this[u],{evaluateScripts:!0}).parse(t,this.body)}open(){this[tn]=!0;for(let a of this[fe].bubbling.keys()){let m=this[fe].bubbling.get(a);if(m)for(let p of m)this.removeEventListener(a,p)}for(let a of this[fe].capturing.keys()){let m=this[fe].capturing.get(a);if(m)for(let p of m)this.removeEventListener(a,p)}let t=this[$];for(;t.length;)this.removeChild(t[0]);let r=this[Hg].createDocumentType("html","",""),o=this.createElement("html"),i=this.createElement("body"),n=this.createElement("head");return this.appendChild(r),this.appendChild(o),o.appendChild(n),o.appendChild(i),this}close(){}createElement(t,r){return this.createElementNS(qt.html,ro.asciiLowerCase(String(t)),r)}createElementNS(t,r,o){let i=this[u];if(r=String(r),!r)throw new i.DOMException("Failed to execute 'createElementNS' on 'Document': The qualified name provided is empty.");let n=r.split(":"),a=n[1]??n[0],m=n[1]?n[0]:null;switch(t){case qt.svg:let p=Cb[r.toLowerCase()],b=p&&p.localName===r?i[p.className]:i.SVGElement,d=Fe.createNode(this,b);return d[tt]=r,d[dt]=a,d[Vt]=m,d[rt]=t,d[Co]=o&&o.is?String(o.is):null,d;case qt.html:let f=i.customElements[Ss]?.get(o&&o.is?String(o.is):r);if(f){let et=new f.elementClass;return et[tt]=ro.asciiUpperCase(r),et[dt]=a,et[Vt]=m,et[rt]=t,et[Co]=o&&o.is?String(o.is):null,et}let v=hr[r]?i[hr[r].className]:null;if(v){let et=Fe.createNode(this,v);return et[tt]=ro.asciiUpperCase(r),et[dt]=a,et[Vt]=m,et[rt]=t,et[Co]=o&&o.is?String(o.is):null,et}let C=r.includes("-")?i.HTMLElement:i.HTMLUnknownElement,L=Fe.createNode(this,C);return L[tt]=ro.asciiUpperCase(r),L[dt]=a,L[Vt]=m,L[rt]=t,L[Co]=o&&o.is?String(o.is):null,L;default:let j=Fe.createNode(this,dr);return j[tt]=r,j[dt]=a,j[Vt]=m,j[rt]=t,j[Co]=o&&o.is?String(o.is):null,j}}createTextNode(t){if(arguments.length<1)throw new this[u].TypeError(`Failed to execute 'createTextNode' on 'Document': 1 argument required, but only ${arguments.length} present.`);return Fe.createNode(this,this[u].Text,String(t))}createComment(t){if(arguments.length<1)throw new this[u].TypeError(`Failed to execute 'createComment' on 'Document': 1 argument required, but only ${arguments.length} present.`);return Fe.createNode(this,this[u].Comment,String(t))}createDocumentFragment(){return Fe.createNode(this,this[u].DocumentFragment)}createNodeIterator(t,r=-1,o=null){return new gu(t,r,o)}createTreeWalker(t,r=-1,o=null){return new Gn(t,r,o)}createEvent(t){return typeof this[u][t]=="function"?new this[u][t]("init"):new R("init")}createAttribute(t){let r=Fe.createNode(this,this[u].Attr),o=ro.asciiLowerCase(t),i=o.split(":");return r[lt]=o,r[dt]=i[1]??o,r[Vt]=i[1]?i[0]:null,r}createAttributeNS(t,r){let o=Fe.createNode(this,this[u].Attr),i=r.split(":");if(o[rt]=t,o[lt]=r,o[dt]=i[1]??r,o[Vt]=i[1]?i[0]:null,!t&&o[Vt])throw new this[u].DOMException(`Failed to execute 'createAttributeNS' on 'Document': The namespace URI provided ('${t||""}') is not valid for the qualified name provided ('${r}').`,A.namespaceError);return o}importNode(t,r=!1){if(!(t instanceof gt))throw new this[u].DOMException("Parameter 1 was not of type Node.");let o=t.cloneNode(r);return D(this,kb,c0).call(this,o),o}createRange(){return new this[u].Range}adoptNode(t){if(!(t instanceof gt))throw new this[u].DOMException("Parameter 1 was not of type Node.");let r=t[W]?t[W].removeChild(t):t;return Object.defineProperty(r,"ownerDocument",{value:this}),r}getSelection(){return this[om]||(this[om]=new Pu(this)),this[om]}hasFocus(){return!!this.activeElement}createProcessingInstruction(t,r){if(arguments.length<2)throw new this[u].TypeError(`Failed to execute 'createProcessingInstruction' on 'Document': 2 arguments required, but only ${arguments.length} present.`);if(t=String(t),r=String(r),!t||!xD.test(t))throw new this[u].DOMException(`Failed to execute 'createProcessingInstruction' on 'Document': The target provided ('${t}') is not a valid name.`);if(r.includes("?>"))throw new this[u].DOMException("Failed to execute 'createProcessingInstruction' on 'Document': The data provided ('?>') contains '?>'");let o=Fe.createNode(this,this[u].ProcessingInstruction);return o[le]=r,o[Zr]=t,o}elementFromPoint(t,r){return null}};kb=new WeakSet,c0=function(t){t[T]=this;for(let r of t[$])D(this,kb,c0).call(this,r)};var ne=class{static append(e,...t){for(let r of t)r instanceof gt?e.appendChild(r):e.appendChild(e[T].createTextNode(String(r)))}static prepend(e,...t){let r=e.firstChild;for(let o of t)o instanceof gt?e.insertBefore(o,r):e.insertBefore(e[T].createTextNode(String(o)),r)}static replaceChildren(e,...t){let r=e[$];for(;r.length;)e.removeChild(r[0]);this.append(e,...t)}static getElementsByClassName(e,t){return new Ae(c,()=>ut.querySelectorAll(e,`.${t.replace(/\s+/gm,".")}`)[Y])}static getElementsByTagName(e,t){let r=t.toUpperCase(),o=t==="*",i=(a,m)=>{let p=[];for(let b of a[ft]){(o||b[tt].toUpperCase()===r)&&p.push(b),b[rr].push(m);for(let d of i(b,m))p.push(d)}return p},n=()=>{let a=e[q].elementsByTagName,m=a.get(t);if(m?.result){let d=m.result.deref();if(d)return d}let p={result:null},b=i(e,p);return p.result=new WeakRef(b),a.set(t,p),b};return new Ae(c,n)}static getElementsByTagNameNS(e,t,r){let o=t===qt.html&&e[T][Oe]==="text/html"?r.toUpperCase():r,i=r==="*",n=(m,p)=>{let b=[];for(let d of m[ft]){(i||d[tt]===o)&&d[rt]===t&&b.push(d),d[rr].push(p);for(let f of n(d,p))b.push(f)}return b},a=()=>{let m=e[q].elementsByTagNameNS,p=m.get(r);if(p?.result){let f=p.result.deref();if(f)return f}let b={result:null},d=n(e,b);return b.result=new WeakRef(d),m.set(r,b),d};return new Ae(c,a)}static getElementByTagName(e,t){let r=t.toUpperCase(),o=(p,b)=>{for(let d of p[ft]){if(d[rr].push(b),d[tt]===r)return d;let f=o(d,b);if(f)return f}return null},i=e[q].elementByTagName,n=i.get(t);if(n?.result){let p=n.result.deref();if(p)return p}let a={result:null},m=o(e,a);return a.result=m?new WeakRef(m):{deref:()=>null},i.set(t,a),m}static getElementById(e,t){if(t=String(t),e instanceof Yo){let m=e[sn].get(t);return m&&m.elements.length>0?m.elements[0]:null}let r=(m,p)=>{for(let b of m[ft]){if(b[rr].push(p),b.getAttribute("id")===t)return b;let d=r(b,p);if(d)return d}return null},o=e[q].elementById,i=o.get(t);if(i?.result){let m=i.result.deref();if(m)return m}let n={result:null},a=r(e,n);return n.result=a?new WeakRef(a):{deref:()=>null},o.set(t,n),a}};var Gm=class extends Array{constructor(e){if(super(),e!==1&&e!==c)throw new TypeError("Illegal constructor")}item(e){return this[e]??null}};var BE,UE,GE,Wn=class{constructor(e){s(this,GE,new Map);s(this,UE,new Map);s(this,BE,new Map);this[At]=e}get length(){return this[Y].size}get[(GE=dl,UE=si,BE=Y,Symbol.toStringTag)](){return"NamedNodeMap"}toString(){return"[object NamedNodeMap]"}[Symbol.iterator](){return this[Y].values()}item(e){let t=Array.from(this[Y].values());return e>=0&&t[e]?t[e]:null}getNamedItem(e){return e=String(e),this[At][rt]===qt.html&&this[At][T][Oe]==="text/html"?this[si].get(ro.asciiLowerCase(e))?.[0]||null:this[si].get(e)?.[0]||null}getNamedItemNS(e,t){let r=this[dl].get(`${e||""}:${t}`);return r&&(!r[Vt]||r[rt])?r:null}setNamedItem(e){return this[Ki](e)}setNamedItemNS(e){return this[Ki](e)}removeNamedItem(e){let t=this.getNamedItem(e);if(!t)throw new this[At][u].DOMException(`Failed to execute 'removeNamedItem' on 'NamedNodeMap': No item with name '${e}' was found.`,A.notFoundError);return this[hl](t),t}removeNamedItemNS(e,t){let r=this.getNamedItemNS(e,t);if(!r)throw new this[At][u].DOMException(`Failed to execute 'removeNamedItemNS' on 'NamedNodeMap': No item with name '${t}' in namespace '${e}' was found.`,A.notFoundError);return this[hl](r),r}[Ki](e,t=!1){if(e[At]!==null&&e[At]!==this[At])throw new this[At][u].DOMException("The attribute is in use.",A.inUseAttributeError);e[At]=this[At];let r=this.getNamedItemNS(e[rt],e[dt])||null,o=this[si].get(e[lt]);if(r===e)return e;if(this[dl].set(`${e[rt]||""}:${e[dt]}`,e),this[Y].set(`${e[rt]||""}:${e[lt]}`,e),!o?.length)this[si].set(e[lt],[e]);else{let i=o.indexOf(r);i!==-1&&o.splice(i,1),o.push(e)}return t||this[At][ze](e,r),r}[hl](e,t=!1){e[At]=null,this[dl].delete(`${e[rt]||""}:${e[dt]}`),this[Y].delete(`${e[rt]||""}:${e[lt]}`);let r=this[si].get(e[lt]);if(r?.length){let o=r.indexOf(e);o!==-1&&r.splice(o,1),r.length||this[si].delete(e[lt])}t||this[At][Ur](e)}};var Mb=class{static createProxy(e){let t=new xe(this,[Wn]);return new Proxy(e,{get:(r,o)=>{if(o==="length")return e[Y].size;if(o in r||typeof o=="symbol")return t.bind(o),r[o];let i=Number(o);return isNaN(i)?r.getNamedItem(o)||void 0:r.item(i)},set(r,o,i){if(t.bind(o),typeof o=="symbol")return r[o]=i,!0;let n=Number(o);return isNaN(n)&&(r[o]=i),!0},deleteProperty(r,o){if(typeof o=="symbol")return delete r[o],!0;let i=Number(o);return isNaN(i)&&delete r[o],!0},ownKeys(){let r=Array.from(e[Y].keys());for(let o=0,i=e[Y].size;o<i;o++)r.push(String(o));return r},has(r,o){if(typeof o=="symbol")return!1;if(o in r||e[Y].has(o))return!0;let i=Number(o);return!isNaN(i)&&i>=0&&i<e[Y].size},defineProperty(r,o,i){return t.preventBinding(o),o in r?(Object.defineProperty(r,o,i),!0):!1},getOwnPropertyDescriptor(r,o){if(o in r||typeof o=="symbol")return;let i=Number(o);if(!isNaN(i)){if(i>=0){let a=r.item(i);if(a)return{value:a,writable:!1,enumerable:!0,configurable:!0}}return}let n=e[Y].get(o);if(n)return{value:n,writable:!1,enumerable:!0,configurable:!0}}})}};var Di=class{constructor(e){s(this,"options",{serializableShadowRoots:!1,shadowRoots:null,allShadowRoots:!1,excludeShadowRootTags:null});e&&(e.serializableShadowRoots&&(this.options.serializableShadowRoots=e.serializableShadowRoots),e.shadowRoots&&(this.options.shadowRoots=e.shadowRoots),e.allShadowRoots&&(this.options.allShadowRoots=e.allShadowRoots),e.excludeShadowRootTags&&(this.options.excludeShadowRootTags=e.excludeShadowRootTags))}serializeToString(e){switch(e[U]){case M.elementNode:let t=e,r=t[Vt],o=t[dt],i=hr[t[dt]],n=r?`${r}:${o}`:o;if(i?.contentModel===H.noDescendants)return`<${n}${this.getAttributes(t)}>`;let a="";if(t.shadowRoot&&(this.options.allShadowRoots||this.options.serializableShadowRoots&&t.shadowRoot[nn]||this.options.shadowRoots?.includes(t.shadowRoot))&&(!this.options.excludeShadowRootTags||!this.options.excludeShadowRootTags.includes(n))){a+=`<template shadowrootmode="${t.shadowRoot[ke]}"${t.shadowRoot[nn]?' shadowrootserializable=""':""}>`;for(let L of t.shadowRoot[$])a+=this.serializeToString(L);a+="</template>"}let m=n==="template"?e.content[$]:e[$];for(let L of m)a+=this.serializeToString(L);return`<${n}${this.getAttributes(t)}>${a}</${n}>`;case gt.DOCUMENT_FRAGMENT_NODE:case gt.DOCUMENT_NODE:let p="";for(let L of e[$])p+=this.serializeToString(L);return p;case M.commentNode:return`<!--${e.textContent}-->`;case M.processingInstructionNode:return`<!--?${e.target} ${e.textContent}?-->`;case M.textNode:let b=e.parentElement;return b&&hr[b[dt]]?.contentModel===H.rawText?e.textContent:He.encodeTextContent(e.textContent);case M.documentTypeNode:let d=e,f=d.publicId?" PUBLIC":d.systemId?" SYSTEM":"",v=d.publicId?` "${d.publicId}"`:"",C=d.systemId?` "${d.systemId}"`:"";return`<!DOCTYPE ${d.name}${f}${v}${C}>`}return""}getAttributes(e){let t="",r=e[St][Y];!r.has(":is")&&e[Co]&&(t+=' is="'+He.encodeHTMLAttributeValue(e[Co])+'"');for(let o of r.values()){let i=He.encodeHTMLAttributeValue(o[Z]);t+=" "+o[lt]+'="'+i+'"'}return t}};var ED=/[\x00-\x1F\x7F\x80-\x9F "\'><=\/\uFDD0-\uFDEF\uFFFE\uFFFF\u1FFFE\u1FFFF\u2FFFE\u2FFFF\u3FFFE\u3FFFF\u4FFFE\u4FFFF\u5FFFE\u5FFFF\u6FFFE\u6FFFF\u7FFFE\u7FFFF\u8FFFE\u8FFFF\u9FFFE\u9FFFF\uAFFFE\uAFFFF\uBFFFE\uBFFFF\uCFFFE\uCFFFF\uDFFFE\uDFFFF\uEFFFE\uEFFFF\uFFFFE\uFFFFF\u10FFFE\u10FFFF]/,ES=class{static validateAttributeName(e,t,r){let{method:o,instance:i}=r;if(t==="text/html"){let n=String(e).toLowerCase();if(ED.test(n)||n.length===0||n[0]==="-")throw new Ht(`Uncaught InvalidCharacterError: Failed to execute '${o}' on '${i}': '${e}' is not a valid attribute name.`,A.invalidCharacterError)}}};var S=class{static getEventListener(e,t){let r=e[h].get(t);if(r)return r;let o=e[T][Po];if(!o)return null;let i=new it(o).getSettings();if(!i||!i.enableJavaScriptEvaluation)return null;let n=e.getAttribute(t);if(!n)return null;let a="(function anonymous($happy_dom, event) {";i&&!i.disableErrorCapturing&&i.errorCapture===me.tryAndCatch&&(a+=`try {
97
+ `),a+=n,i&&!i.disableErrorCapturing&&i.errorCapture===me.tryAndCatch&&(a+="} catch(e) { $happy_dom.dispatchError(e); }"),a+="})";let m=null;try{m=o[zi](a,{filename:o.location.href}).bind(e,{dispatchError:o[ce].bind(o)})}catch(p){let b=new o.SyntaxError(`Failed to read the '${t}' property from '${e.constructor.name}': ${p.message}`);if(i.disableErrorCapturing||i.errorCapture!==me.tryAndCatch)throw b;return o[ce](b),null}return m&&e[h].set(t,m),m}};var HE,qE,$E,WE,jE,zE,XE,YE,KE,JE,ZE,QE,tv,ev,rv,ov,iv,Pi,h0,vS,Rb,dr=class extends gt{constructor(){super();x(this,Pi);s(this,ev,null);s(this,tv,null);s(this,QE,M.elementNode);s(this,ZE,null);s(this,JE,null);s(this,KE,0);s(this,YE,0);s(this,XE,0);s(this,zE,0);s(this,jE,new Wn(this));s(this,WE,null);s(this,$E,null);s(this,qE,null);s(this,HE,new Map);this[tt]||(this[tt]=null),this[dt]||(this[dt]=null),this[rt]||(this[rt]=null)}get onfullscreenerror(){return S.getEventListener(this,"onfullscreenerror")}set onfullscreenerror(t){this[h].set("onfullscreenerror",t)}get onfullscreenchange(){return S.getEventListener(this,"onfullscreenchange")}set onfullscreenchange(t){this[h].set("onfullscreenchange",t)}get onbeforecopy(){return S.getEventListener(this,"onbeforecopy")}set onbeforecopy(t){this[h].set("onbeforecopy",t)}get onbeforecut(){return S.getEventListener(this,"onbeforecut")}set onbeforecut(t){this[h].set("onbeforecut",t)}get onbeforepaste(){return S.getEventListener(this,"onbeforepaste")}set onbeforepaste(t){this[h].set("onbeforepaste",t)}get onsearch(){return S.getEventListener(this,"onsearch")}set onsearch(t){this[h].set("onsearch",t)}get tagName(){return this[tt]}get prefix(){return this[Vt]}get shadowRoot(){let t=this[Le];return t&&t[ke]==="open"?t:null}get scrollHeight(){return this[eP]}get scrollWidth(){return this[rP]}get scrollTop(){return this[Ug]}set scrollTop(t){this[Ug]=t}get scrollLeft(){return this[Gg]}set scrollLeft(t){this[Gg]=t}get attributes(){return this[wh]||(this[wh]=Mb.createProxy(this[St])),this[wh]}get namespaceURI(){return this[rt]}get children(){if(!this[Xr]){let t=this[ft];this[Xr]=new Ae(c,()=>t)}return this[Xr]}get classList(){return this[Sh]||(this[Sh]=new bo(c,this,"class")),this[Sh]}set classList(t){this.setAttribute("class",t)}get id(){return this.getAttribute("id")||""}set id(t){this.setAttribute("id",t)}get className(){return this.getAttribute("class")||""}set className(t){this.setAttribute("class",t)}get nodeName(){return this[tt]}get localName(){return this[dt]}get role(){return this.getAttribute("role")||""}set role(t){this.setAttribute("role",t)}get previousElementSibling(){return Bl.previousElementSibling(this)}get nextElementSibling(){return Bl.nextElementSibling(this)}get textContent(){let t="";for(let r of this[$])(r[U]===M.elementNode||r[U]===M.textNode)&&(t+=r.textContent);return t}set textContent(t){let r=this[$];for(;r.length;)this.removeChild(r[0]);t&&this.appendChild(this[T].createTextNode(t))}get innerHTML(){return this.getHTML()}set innerHTML(t){let r=this[$];for(;r.length;)this.removeChild(r[0]);new qr(this[u]).parse(t,this)}get outerHTML(){return new Di().serializeToString(this)}set outerHTML(t){let r=new qr(this[u]).parse(t)[$];this.replaceWith(...r)}get childElementCount(){return this[ft].length}get firstElementChild(){return this[ft][0]??null}get lastElementChild(){let t=this[ft];return t[t.length-1]??null}get slot(){return this.getAttributeNS(null,"slot")||""}set slot(t){this.setAttribute("slot",t)}getInnerHTML(t){let r=new Di({allShadowRoots:!!t?.includeShadowRoots}),o="";for(let i of this[$])o+=r.serializeToString(i);return o}getHTML(t){let r=new Di({serializableShadowRoots:!!t?.serializableShadowRoots,shadowRoots:t?.shadowRoots??null}),o="";for(let i of this[$])o+=r.serializeToString(i);return o}[(iv=tt,ov=dt,rv=rt,ev=Sh,tv=Co,QE=U,ZE=Vt,JE=Le,KE=eP,YE=rP,XE=Ug,zE=Gg,jE=St,WE=wh,$E=Xr,qE=Cy,HE=h,ct)](t=!1){let r=super[ct](t);r[tt]=this[tt],r[dt]=this[dt],r[rt]=this[rt],this[Le]?.[Oa]&&(r[Le]=this[Le].cloneNode(t),r[Le][La]=r),r[St]=new Wn(r);for(let o of this[St][Y].values())r[St].setNamedItem(o.cloneNode(t));return r}remove(){Ii.remove(this)}replaceWith(...t){Ii.replaceWith(this,...t)}before(...t){Ii.before(this,...t)}after(...t){Ii.after(this,...t)}append(...t){ne.append(this,...t)}prepend(...t){ne.prepend(this,...t)}replaceChildren(...t){ne.replaceChildren(this,...t)}insertAdjacentElement(t,r){if(t==="beforebegin"){if(!this.parentElement)return null;this.parentElement.insertBefore(r,this)}else if(t==="afterbegin")this.insertBefore(r,this.firstChild);else if(t==="beforeend")this.appendChild(r);else if(t==="afterend"){if(!this.parentElement)return null;this.parentElement.insertBefore(r,this.nextSibling)}return r}insertAdjacentHTML(t,r){let o=new qr(this[u]).parse(r)[$];for(;o.length;)this.insertAdjacentElement(t,o[0])}insertAdjacentText(t,r){if(!r)return;let o=this[T].createTextNode(r);this.insertAdjacentElement(t,o)}setAttribute(t,r){if(ES.validateAttributeName(t,this[T][Oe],{method:"setAttribute",instance:"Element"}),t=String(t),this[rt]===qt.html){let i=this[T].createAttribute(t);i[Z]=String(r),this[St][Ki](i)}else{let i=t.split(":"),n=null;switch(i[0]){case"xmlns":n=!i[1]||i[1]==="xlink"?qt.xmlns:null;break;case"xlink":n=qt.xlink;break}let a=Fe.createNode(this[T],this[u].Attr);a[rt]=n,a[lt]=t,a[dt]=n&&i[1]?i[1]:t,a[Vt]=n&&i[1]?i[0]:null,a[Z]=String(r),this[St][Ki](a)}}setAttributeNS(t,r,o){let i=this[T].createAttributeNS(t,r);if(!t&&i[Vt])throw new this[u].DOMException("Failed to execute 'setAttributeNS' on 'Element': '' is an invalid namespace for attributes.",A.namespaceError);i[Z]=String(o),this[St].setNamedItemNS(i)}getAttributeNames(){let t=[];for(let r of this[St][Y].values())t.push(r[lt]);return t}getAttribute(t){let r=this[St].getNamedItem(t);return r?r[Z]:null}toggleAttribute(t,r){t=t.toLowerCase();let o=this[St].getNamedItem(t);return o?r===!0?!0:(this[St][hl](o),!1):r===!1?!1:(this.setAttribute(t,""),!0)}getAttributeNS(t,r){let o=this.getAttributeNodeNS(t,r);return o?o[Z]:null}hasAttribute(t){return!!this.getAttributeNode(t)}hasAttributeNS(t,r){return this[St].getNamedItemNS(t,r)!==null}hasAttributes(){return this[St][Y].size>0}removeAttribute(t){let r=this[St].getNamedItem(t);r&&this[St][hl](r)}removeAttributeNS(t,r){let o=this[St].getNamedItemNS(t,r);o&&this[St][hl](o)}attachShadow(t){let r=this[u];if(!t)throw new r.TypeError("Failed to execute 'attachShadow' on 'Element': 1 argument required, but only 0 present.");if(!t.mode)throw new r.TypeError("Failed to execute 'attachShadow' on 'Element': Failed to read the 'mode' property from 'ShadowRootInit': Required member is undefined.");if(t.mode!=="open"&&t.mode!=="closed")throw new r.TypeError(`Failed to execute 'attachShadow' on 'Element': Failed to read the 'mode' property from 'ShadowRootInit': The provided value '${t.mode}' is not a valid enum value of type ShadowRootMode.`);if(this[Le])throw new r.DOMException("Failed to execute 'attachShadow' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree.");let o=Fe.createNode(this[T],this[u].ShadowRoot);return this[Le]=o,o[La]=this,o[ke]=t.mode,o[Oa]=!!t.clonable,o[lm]=!!t.delegateFocus,o[nn]=!!t.serializable,o[Es]=t.slotAssignment==="manual"?"manual":"named",o[Lo](),this[Le]}toString(){return this.outerHTML}getBoundingClientRect(){return new ns}getClientRects(){let t=new Gm(c);return t.push(this.getBoundingClientRect()),t}matches(t){return!!ut.matches(this,t)}closest(t){let r=this;for(;r;){if(ut.matches(r,t))return r;r=r.parentElement}return null}querySelectorAll(t){return ut.querySelectorAll(this,t)}querySelector(t){return ut.querySelector(this,t)}getElementsByClassName(t){return ne.getElementsByClassName(this,t)}getElementsByTagName(t){return ne.getElementsByTagName(this,t)}getElementsByTagNameNS(t,r){return ne.getElementsByTagNameNS(this,t,r)}setAttributeNode(t){return this[St].setNamedItem(t)}setAttributeNodeNS(t){return this[St].setNamedItemNS(t)}getAttributeNode(t){return this[St].getNamedItem(t)}getAttributeNodeNS(t,r){return this[St].getNamedItemNS(t,r)}removeAttributeNode(t){if(t[At]!==this)throw new this[u].DOMException("Failed to execute 'removeAttributeNode' on 'Element': The node provided is owned by another element.");return this[St][hl](t),t}scroll(t,r){if(typeof t!="object"&&arguments.length===1)throw new this[u].TypeError("Failed to execute 'scroll' on 'Element': The provided value is not of type 'ScrollToOptions'.");let o=typeof t=="object"?t:{left:t,top:r};if(o.behavior==="smooth")this[u].setTimeout(()=>{if(o.top!==void 0){let i=Number(o.top);this.scrollTop=isNaN(i)?0:i}if(o.left!==void 0){let i=Number(o.left);this.scrollLeft=isNaN(i)?0:i}});else{if(o.top!==void 0){let i=Number(o.top);this.scrollTop=isNaN(i)?0:i}if(o.left!==void 0){let i=Number(o.left);this.scrollLeft=isNaN(i)?0:i}}}scrollTo(t,r){if(typeof t!="object"&&arguments.length===1)throw new this[u].TypeError("Failed to execute 'scrollTo' on 'Element': The provided value is not of type 'ScrollToOptions'.");this.scroll(t,r)}scrollBy(t,r){if(typeof t!="object"&&arguments.length===1)throw new this[u].TypeError("Failed to execute 'scrollBy' on 'Element': The provided value is not of type 'ScrollToOptions'.");let o=typeof t=="object"?t:{left:t,top:r};this.scroll({left:this.scrollLeft+(o.left??0),top:this.scrollTop+(o.top??0),behavior:o.behavior})}scrollIntoView(t){}[Et](t,r=!1){let o=super[Et](t,r);return D(this,Pi,Rb).call(this,t),o}[Rr](t){let r=super[Rr](t);return D(this,Pi,Rb).call(this,t),r}[uo](t,r,o=!1){let i=super[uo](t,r,o);return D(this,Pi,Rb).call(this,t),i}[ze](t,r){if(!t[lt])return;let o=r?r[Z]:null;if(t[lt]==="slot"&&this[W]&&this[W][Le]){let i=this[W][Le];if(i&&t[Z]!==o){if(o!==null&&r){let a=i.querySelector(`slot[name="${r[Z]}"]`);a&&a.dispatchEvent(new R("slotchange",{bubbles:!0}))}else{let a=i.querySelector("slot:not([name])");a&&a.dispatchEvent(new R("slotchange",{bubbles:!0}))}let n=i.querySelector(`slot[name="${t[Z]}"]`);n&&n.dispatchEvent(new R("slotchange",{bubbles:!0}))}}this[t[lt]]!==void 0&&t[lt][0]==="o"&&t[lt][1]==="n"&&this[h].delete(t[lt]),t[lt]==="id"&&this[nt]&&(r?.[Z]&&D(this,Pi,vS).call(this,r[Z]),D(this,Pi,h0).call(this,t[Z])),this[en](new Xo({type:ss.attributes,target:this,attributeName:t[lt],oldValue:o}))}[Ur](t){if(t[lt]==="slot"&&this[W]&&this[W][Le]){let r=this[W][Le],o=r.querySelector(`slot[name="${t[Z]}"]`),i=r.querySelector("slot:not([name])");o&&o.dispatchEvent(new R("slotchange",{bubbles:!0})),i&&i.dispatchEvent(new R("slotchange",{bubbles:!0}))}t[lt]==="id"&&this[nt]&&D(this,Pi,vS).call(this,t[Z]),this[en](new Xo({type:ss.attributes,target:this,attributeName:t[lt],oldValue:t[Z]}))}[kr](){let t=this.getAttribute("id");if(t&&D(this,Pi,h0).call(this,t),super[kr](),this[u][Da].enqueueReaction(this,"connectedCallback"),this[Le])for(let r of this[$])D(this,Pi,Rb).call(this,r)}[Mr](){super[Mr]();let t=this.getAttribute("id");t&&D(this,Pi,vS).call(this,t),this[u][Da].enqueueReaction(this,"disconnectedCallback")}};Pi=new WeakSet,h0=function(t){if(!t)return;let r=this[T],o=this[u];if(this[Ve]&&this[Ve]!==r)return;r[sn].has(t)||r[sn].set(t,{elements:[],htmlCollection:null});let i=r[sn].get(t);if(!i)return;let n=this[Ut]||this;i.elements.push(n),i.elements.length>1?(i.htmlCollection||(i.htmlCollection=new Ae(c,()=>i.elements)),(!(t in o)||o[t]===i.elements[0])&&(o[t]=i.htmlCollection)):(!(t in o)||i.htmlCollection!==null&&o[t]===i.htmlCollection)&&(o[t]=n)},vS=function(t){if(!t)return;let r=this[T],o=this[u];if(this[Ve]&&this[Ve]!==r)return;let i=r[sn].get(t);if(!i)return;let n=this[Ut]||this,a=i.elements.indexOf(n);a!==-1&&i.elements.splice(a,1),i.elements.length===1?(o[t]===i.htmlCollection&&(o[t]=i.elements[0]),i.htmlCollection=null):i.elements.length||(r[sn].delete(t),(o[t]===n||o[t]===i.htmlCollection)&&delete o[t])},Rb=function(t){let r=this[Le];if(!r||!this[nt])return;let o=t.getAttribute?t.getAttribute("slot"):null;if(o){let i=r.querySelector(`slot[name="${o}"]`);i&&i.dispatchEvent(new R("slotchange",{bubbles:!0}))}else if(t[U]!==M.commentNode){let i=r.querySelector("slot:not([name])");i&&i.dispatchEvent(new R("slotchange",{bubbles:!0}))}},s(dr,iv,null),s(dr,ov,null),s(dr,rv,null);var Ul=class{static blur(e){let t=e[Ut]||e,r=t[T];if(r[$e]!==t||!t[nt]||t.disabled)return;let o=r[xa]??null;r[$e]=null,r[mo](),t.dispatchEvent(new ks("blur",{relatedTarget:o,bubbles:!1,composed:!0,cancelable:!0})),t.dispatchEvent(new ks("focusout",{relatedTarget:o,bubbles:!0,composed:!0,cancelable:!0}))}static focus(e){let t=e[Ut]||e,r=t[T];if(r[$e]===t||!t[nt]||t.disabled)return;r[xa]=t;let o=r[$e];r[$e]!==null&&r[$e].blur(),r[xa]=null,r[$e]=t,r[mo](),t.dispatchEvent(new ks("focus",{relatedTarget:o,bubbles:!1,composed:!0})),t.dispatchEvent(new ks("focusin",{relatedTarget:o,bubbles:!0,composed:!0}))}};var Is=class{static kebabToCamelCase(e){let t=e.split("-");for(let r=0,o=t.length;r<o;r++)t[r]=r>0?t[r].charAt(0).toUpperCase()+t[r].slice(1):t[r];return t.join("")}static camelCaseToKebab(e){return e.toString().replace(/[A-Z]+(?![a-z])|[A-Z]/g,(t,r)=>(r?"-":"")+t.toLowerCase())}};var Hm=class{constructor(e,t){if(e!==c)throw new TypeError("Illegal constructor");return new Proxy(this,{get(r,o){let i=t.getAttribute("data-"+Is.camelCaseToKebab(o));if(i!==null)return i},set(r,o,i){return t.setAttribute("data-"+Is.camelCaseToKebab(o),i),!0},deleteProperty(r,o){return t.removeAttribute("data-"+Is.camelCaseToKebab(o)),!0},ownKeys(r){let o=[];for(let i of t[St][si].values())i[0][lt].startsWith("data-")&&o.push(Is.kebabToCamelCase(i[0][lt].replace("data-","")));return o},has(r,o){return t.hasAttribute("data-"+Is.camelCaseToKebab(o))},defineProperty(r,o,i){return i.value===void 0?!1:(t.setAttribute("data-"+Is.camelCaseToKebab(o),i.value),!0)},getOwnPropertyDescriptor(r,o){let i=t.getAttribute("data-"+Is.camelCaseToKebab(o));if(i)return{value:i,writable:!0,enumerable:!0,configurable:!0}}})}};var sv,nv,lv,av,uv,mv,yv,pv,cv,hv,dv,Ds,AS,bv,B=class extends dr{constructor(){super(...arguments);x(this,AS);s(this,dv,"");s(this,hv,0);s(this,cv,0);s(this,pv,0);s(this,yv,0);s(this,mv,0);s(this,uv,0);s(this,av,0);s(this,lv,0);s(this,nv,null);s(this,sv,null);x(this,Ds,null)}get oncancel(){return S.getEventListener(this,"oncancel")}set oncancel(t){this[h].set("oncancel",t)}get onerror(){return S.getEventListener(this,"onerror")}set onerror(t){this[h].set("onerror",t)}get onscroll(){return S.getEventListener(this,"onscroll")}set onscroll(t){this[h].set("onscroll",t)}get onselect(){return S.getEventListener(this,"onselect")}set onselect(t){this[h].set("onselect",t)}get onwheel(){return S.getEventListener(this,"onwheel")}set onwheel(t){this[h].set("onwheel",t)}get oncopy(){return S.getEventListener(this,"oncopy")}set oncopy(t){this[h].set("oncopy",t)}get oncut(){return S.getEventListener(this,"oncut")}set oncut(t){this[h].set("oncut",t)}get onpaste(){return S.getEventListener(this,"onpaste")}set onpaste(t){this[h].set("onpaste",t)}get oncompositionend(){return S.getEventListener(this,"oncompositionend")}set oncompositionend(t){this[h].set("oncompositionend",t)}get oncompositionstart(){return S.getEventListener(this,"oncompositionstart")}set oncompositionstart(t){this[h].set("oncompositionstart",t)}get oncompositionupdate(){return S.getEventListener(this,"oncompositionupdate")}set oncompositionupdate(t){this[h].set("oncompositionupdate",t)}get onblur(){return S.getEventListener(this,"onblur")}set onblur(t){this[h].set("onblur",t)}get onfocus(){return S.getEventListener(this,"onfocus")}set onfocus(t){this[h].set("onfocus",t)}get onfocusin(){return S.getEventListener(this,"onfocusin")}set onfocusin(t){this[h].set("onfocusin",t)}get onfocusout(){return S.getEventListener(this,"onfocusout")}set onfocusout(t){this[h].set("onfocusout",t)}get onkeydown(){return S.getEventListener(this,"onkeydown")}set onkeydown(t){this[h].set("onkeydown",t)}get onkeyup(){return S.getEventListener(this,"onkeyup")}set onkeyup(t){this[h].set("onkeyup",t)}get onauxclick(){return S.getEventListener(this,"onauxclick")}set onauxclick(t){this[h].set("onauxclick",t)}get onclick(){return S.getEventListener(this,"onclick")}set onclick(t){this[h].set("onclick",t)}get oncontextmenu(){return S.getEventListener(this,"oncontextmenu")}set oncontextmenu(t){this[h].set("oncontextmenu",t)}get ondblclick(){return S.getEventListener(this,"ondblclick")}set ondblclick(t){this[h].set("ondblclick",t)}get onmousedown(){return S.getEventListener(this,"onmousedown")}set onmousedown(t){this[h].set("onmousedown",t)}get onmouseenter(){return S.getEventListener(this,"onmouseenter")}set onmouseenter(t){this[h].set("onmouseenter",t)}get onmouseleave(){return S.getEventListener(this,"onmouseleave")}set onmouseleave(t){this[h].set("onmouseleave",t)}get onmousemove(){return S.getEventListener(this,"onmousemove")}set onmousemove(t){this[h].set("onmousemove",t)}get onmouseout(){return S.getEventListener(this,"onmouseout")}set onmouseout(t){this[h].set("onmouseout",t)}get onmouseover(){return S.getEventListener(this,"onmouseover")}set onmouseover(t){this[h].set("onmouseover",t)}get onmouseup(){return S.getEventListener(this,"onmouseup")}set onmouseup(t){this[h].set("onmouseup",t)}get ontouchcancel(){return S.getEventListener(this,"ontouchcancel")}set ontouchcancel(t){this[h].set("ontouchcancel",t)}get ontouchend(){return S.getEventListener(this,"ontouchend")}set ontouchend(t){this[h].set("ontouchend",t)}get ontouchmove(){return S.getEventListener(this,"ontouchmove")}set ontouchmove(t){this[h].set("ontouchmove",t)}get ontouchstart(){return S.getEventListener(this,"ontouchstart")}set ontouchstart(t){this[h].set("ontouchstart",t)}get oninvalid(){return S.getEventListener(this,"oninvalid")}set oninvalid(t){this[h].set("oninvalid",t)}get onanimationcancel(){return S.getEventListener(this,"onanimationcancel")}set onanimationcancel(t){this[h].set("onanimationcancel",t)}get onanimationend(){return S.getEventListener(this,"onanimationend")}set onanimationend(t){this[h].set("onanimationend",t)}get onanimationiteration(){return S.getEventListener(this,"onanimationiteration")}set onanimationiteration(t){this[h].set("onanimationiteration",t)}get onanimationstart(){return S.getEventListener(this,"onanimationstart")}set onanimationstart(t){this[h].set("onanimationstart",t)}get onbeforeinput(){return S.getEventListener(this,"onbeforeinput")}set onbeforeinput(t){this[h].set("onbeforeinput",t)}get oninput(){return S.getEventListener(this,"oninput")}set oninput(t){this[h].set("oninput",t)}get onchange(){return S.getEventListener(this,"onchange")}set onchange(t){this[h].set("onchange",t)}get ongotpointercapture(){return S.getEventListener(this,"ongotpointercapture")}set ongotpointercapture(t){this[h].set("ongotpointercapture",t)}get onlostpointercapture(){return S.getEventListener(this,"onlostpointercapture")}set onlostpointercapture(t){this[h].set("onlostpointercapture",t)}get onpointercancel(){return S.getEventListener(this,"onpointercancel")}set onpointercancel(t){this[h].set("onpointercancel",t)}get onpointerdown(){return S.getEventListener(this,"onpointerdown")}set onpointerdown(t){this[h].set("onpointerdown",t)}get onpointerenter(){return S.getEventListener(this,"onpointerenter")}set onpointerenter(t){this[h].set("onpointerenter",t)}get onpointerleave(){return S.getEventListener(this,"onpointerleave")}set onpointerleave(t){this[h].set("onpointerleave",t)}get onpointermove(){return S.getEventListener(this,"onpointermove")}set onpointermove(t){this[h].set("onpointermove",t)}get onpointerout(){return S.getEventListener(this,"onpointerout")}set onpointerout(t){this[h].set("onpointerout",t)}get onpointerover(){return S.getEventListener(this,"onpointerover")}set onpointerover(t){this[h].set("onpointerover",t)}get onpointerup(){return S.getEventListener(this,"onpointerup")}set onpointerup(t){this[h].set("onpointerup",t)}get ontransitioncancel(){return S.getEventListener(this,"ontransitioncancel")}set ontransitioncancel(t){this[h].set("ontransitioncancel",t)}get ontransitionend(){return S.getEventListener(this,"ontransitionend")}set ontransitionend(t){this[h].set("ontransitionend",t)}get ontransitionrun(){return S.getEventListener(this,"ontransitionrun")}set ontransitionrun(t){this[h].set("ontransitionrun",t)}get ontransitionstart(){return S.getEventListener(this,"ontransitionstart")}set ontransitionstart(t){this[h].set("ontransitionstart",t)}get accessKey(){return this[vy]}set accessKey(t){this[vy]=t}get contentEditable(){let t=String(this.getAttribute("contentEditable")).toLowerCase();switch(t){case"false":case"true":case"plaintext-only":return t;default:return"inherit"}}set contentEditable(t){switch(t=String(t).toLowerCase(),t){case"false":case"true":case"plaintext-only":case"inherit":this.setAttribute("contentEditable",t);break;default:throw new this[u].SyntaxError(`Failed to set the 'contentEditable' property on 'HTMLElement': The value provided ('${t}') is not one of 'true', 'false', 'plaintext-only', or 'inherit'.`)}}get isContentEditable(){let t=this.contentEditable;return t==="true"||t==="plaintext-only"?!0:t==="inherit"?this[W]?.isContentEditable??!1:!1}get offsetHeight(){return this[oP]}get offsetWidth(){return this[iP]}get offsetLeft(){return this[sP]}get offsetTop(){return this[nP]}get clientHeight(){return this[lP]}get clientWidth(){return this[aP]}get clientLeft(){return this[uP]}get clientTop(){return this[mP]}get tabIndex(){let t=this.getAttribute("tabindex");if(t!==null){let r=Number(t);return isNaN(r)?-1:r}return-1}set tabIndex(t){let r=Number(t);isNaN(r)?this.setAttribute("tabindex","0"):this.setAttribute("tabindex",String(r))}get innerText(){if(!this[nt])return this.textContent;let t="";for(let r of this[$])if(r[U]===M.elementNode){let o=r,i=this[u].getComputedStyle(o);if(o[tt]!=="SCRIPT"&&o[tt]!=="STYLE"&&o[tt]!=="svg"){let n=i.display;if(n!=="none"){let a=i.textTransform,m=o.innerText;(n==="block"||n==="flex")&&t&&m&&(t+=`
98
+ `);let p=m;switch(a){case"uppercase":p=p.toUpperCase();break;case"lowercase":p=p.toLowerCase();break;case"capitalize":p=p.replace(/(^|\s)\S/g,b=>b.toUpperCase());break}t+=p}}}else r[U]===M.textNode&&(t+=r.textContent.replace(/[\n\r]/,""));return t}set innerText(t){let r=this[$];for(;r.length;)this.removeChild(r[0]);let o=t.split(/[\n\r]/),i=this[T];for(let n=0,a=o.length;n<a;n++)n!==0&&this.appendChild(i.createElement("br")),this.appendChild(i.createTextNode(o[n]))}get outerText(){return this.innerText}set outerText(t){if(!this[W])throw new this[u].DOMException("Failed to set the 'outerHTML' property on 'Element': This element has no parent node.");let r=t.split(/[\n\r]/);for(let o=0,i=r.length;o<i;o++)o!==0&&this[W].insertBefore(this[T].createElement("br"),this),this[W].insertBefore(this[T].createTextNode(r[o]),this);this[W].removeChild(this)}get style(){return this[Ee]||(this[Ee]=new co(c,this[u],{element:this})),this[Ee]}set style(t){this.style.cssText=typeof t=="string"?t:""}get dataset(){var t;return this[t=wP]??(this[t]=new Hm(c,this))}get dir(){return this.getAttribute("dir")||""}set dir(t){this.setAttribute("dir",t)}get hidden(){return this.getAttribute("hidden")!==null}set hidden(t){t?this.setAttribute("hidden",""):this.removeAttribute("hidden")}get inert(){return this.getAttribute("inert")!==null}set inert(t){t?this.setAttribute("inert",""):this.removeAttribute("inert")}get lang(){return this.getAttribute("lang")||""}set lang(t){this.setAttribute("lang",t)}get title(){return this.getAttribute("title")||""}set title(t){this.setAttribute("title",t)}get popover(){switch(this.getAttribute("popover")){case null:return null;case"":case"auto":return"auto";case"manual":return"manual";default:return"manual"}}set popover(t){if(t===null){this.removeAttribute("popover");return}this.setAttribute("popover",t)}click(){this.dispatchEvent(new lu("click",{bubbles:!0,composed:!0,cancelable:!0}))}blur(){Ul.blur(this)}focus(){Ul.focus(this)}[(dv=vy,hv=oP,cv=iP,pv=sP,yv=nP,mv=lP,uv=aP,av=uP,lv=mP,nv=Ee,sv=wP,ct)](t=!1){let r=super[ct](t);return r[vy]=this[vy],r}[kr](){let t=this[u],r=this[dt],o=t.customElements[gs];if(this.constructor===t.HTMLElement&&r.includes("-")&&o&&!y(this,Ds)){let i=D(this,AS,bv).bind(this),n=o.get(r);n?n.unshift(i):o.set(r,[i]),w(this,Ds,i)}super[kr]()}[Mr](){let t=this[u],r=this[dt],o=t.customElements[gs];if(this.constructor===t.HTMLElement&&r.includes("-")&&o){let i=o.get(r);if(i&&y(this,Ds)){let n=i.indexOf(y(this,Ds));n!==-1&&i.splice(n,1),i.length||o.delete(r),w(this,Ds,null)}}super[Mr]()}[ze](t,r){super[ze](t,r),this[u][Da].enqueueReaction(this,"attributeChangedCallback",[t.name,r?.value??null,t.value])}[Ur](t){super[Ur](t),this[u][Da].enqueueReaction(this,"attributeChangedCallback",[t.name,t.value,null])}};Ds=new WeakMap,AS=new WeakSet,bv=function(){if(!this[W])return;let t=this[u],r=this[dt],o=this[T].createElement(r),i=o[q];o[$]=this[$],o[ft]=this[ft],o[ul]=null,o[Xr]=null,o[nt]=this[nt],o[Ve]=this[Ve],o[Bt]=this[Bt],o[W]=this[W],o[We]=this[We],o[Pr]=this[Pr],o[ni]=this[ni],o[Co]=this[Co],o[q]=this[q],o[rr]=this[rr],o[St][dl]=this[St][dl],o[St][si]=this[St][si],o[St][Y]=this[St][Y];for(let b of o[St][Y].values())b[At]=o;this[mo](),this[$]=[],this[ft]=[],this[ul]=null,this[Xr]=null,this[W]=null,this[Ve]=null,this[Bt]=null,this[We]=null,this[Pr]=null,this[ni]=[],this[Co]=null,this[q]=i,this[rr]=[],this[St][dl]=new Map,this[St][si]=new Map,this[St][Y]=new Map;for(let b of o[$])b[W]=o;let n=o[W][$],a=o[W][ft];n[n.indexOf(this)]=o,a[a.indexOf(this)]=o;let m=t.customElements[gs],p=m.get(r);if(p&&y(this,Ds)){let b=p.indexOf(y(this,Ds));b!==-1&&p.splice(b,1),p.length||m.delete(r),w(this,Ds,null)}o[nt]&&(o[Le]&&(o[Le][nt]=!0),o[kr]())},s(B,"observedAttributes");var qm=class{constructor(e){s(this,"element");this.element=e}getOrigin(){try{return new URL(this.getHref()).origin}catch{return""}}getHref(){if(!this.element.hasAttribute("href"))return"";try{return new URL(this.element.getAttribute("href"),this.element[T].location.href).href}catch{return this.element.getAttribute("href")}}setHref(e){this.element.setAttribute("href",e)}getProtocol(){try{return new URL(this.getHref()).protocol}catch{return""}}setProtocol(e){let t;try{t=new URL(this.getHref())}catch{return}t.protocol=e,this.element.setAttribute("href",t.href)}getUsername(){try{return new URL(this.getHref()).username}catch{return""}}setUsername(e){let t;try{t=new URL(this.getHref())}catch{return}t.username=e,this.element.setAttribute("href",t.href)}getPassword(){try{return new URL(this.getHref()).password}catch{return""}}setPassword(e){let t;try{t=new URL(this.getHref())}catch{return}t.password=e,this.element.setAttribute("href",t.href)}getHost(){try{return new URL(this.getHref()).host}catch{return""}}setHost(e){let t;try{t=new URL(this.getHref())}catch{return}t.host=e,this.element.setAttribute("href",t.href)}getHostname(){try{return new URL(this.getHref()).hostname}catch{return""}}setHostname(e){let t;try{t=new URL(this.getHref())}catch{return}t.hostname=e,this.element.setAttribute("href",t.href)}getPort(){try{return new URL(this.getHref()).port}catch{return""}}setPort(e){let t;try{t=new URL(this.getHref())}catch{return}t.port=e,this.element.setAttribute("href",t.href)}getPathname(){try{return new URL(this.getHref()).pathname}catch{return""}}setPathname(e){let t;try{t=new URL(this.getHref())}catch{return}t.pathname=e,this.element.setAttribute("href",t.href)}getSearch(){try{return new URL(this.getHref()).search}catch{return""}}setSearch(e){let t;try{t=new URL(this.getHref())}catch{return}t.search=e,this.element.setAttribute("href",t.href)}getHash(){let e=this.element.getAttribute("href");if(e?.[0]==="#")return e;let t;try{t=new URL(this.getHref())}catch{return""}return t.hash}setHash(e){let t;try{t=new URL(this.getHref())}catch{return}t.hash=e,this.element.setAttribute("href",t.href)}};var fv,gv,Ze,up=class extends(gv=B,fv=ko,gv){constructor(){super(...arguments);s(this,fv,null);x(this,Ze,new qm(this))}get download(){return this.getAttribute("download")||""}set download(t){this.setAttribute("download",t)}get hash(){return y(this,Ze).getHash()}set hash(t){y(this,Ze).setHash(t)}get href(){return y(this,Ze).getHref()}set href(t){y(this,Ze).setHref(t)}get hreflang(){return this.getAttribute("hreflang")||""}set hreflang(t){this.setAttribute("hreflang",t)}get origin(){return y(this,Ze).getOrigin()}get ping(){return this.getAttribute("ping")||""}set ping(t){this.setAttribute("ping",t)}get protocol(){return y(this,Ze).getProtocol()}set protocol(t){y(this,Ze).setProtocol(t)}get username(){return y(this,Ze).getUsername()}set username(t){y(this,Ze).setUsername(t)}get password(){return y(this,Ze).getPassword()}set password(t){y(this,Ze).setPassword(t)}get pathname(){return y(this,Ze).getPathname()}set pathname(t){y(this,Ze).setPathname(t)}get port(){return y(this,Ze).getPort()}set port(t){y(this,Ze).setPort(t)}get host(){return y(this,Ze).getHost()}set host(t){y(this,Ze).setHost(t)}get hostname(){return y(this,Ze).getHostname()}set hostname(t){y(this,Ze).setHostname(t)}get referrerPolicy(){return this.getAttribute("referrerPolicy")||""}set referrerPolicy(t){this.setAttribute("referrerPolicy",t)}get rel(){return this.getAttribute("rel")||""}set rel(t){this.setAttribute("rel",t)}get relList(){return this[ko]||(this[ko]=new bo(c,this,"rel")),this[ko]}set relList(t){this.setAttribute("rel",t)}get search(){return y(this,Ze).getSearch()}set search(t){y(this,Ze).setSearch(t)}get target(){return this.getAttribute("target")||""}set target(t){this.setAttribute("target",t)}get text(){return this.textContent}set text(t){this.textContent=t}get type(){return this.getAttribute("type")||""}set type(t){this.setAttribute("type",t)}get tabIndex(){let t=this.getAttribute("tabindex");if(t!==null){let r=Number(t);return isNaN(r)?0:r}return 0}set tabIndex(t){super.tabIndex=t}toString(){return this.href}dispatchEvent(t){let r=super.dispatchEvent(t);if(!t[Gr]&&t.type==="click"&&t instanceof sr&&(t.eventPhase===he.none||t.eventPhase===he.bubbling)){let o=this.href;if(o){let i=[];this.relList.contains("noreferrer")&&i.push("noreferrer"),this.relList.contains("noopener")&&i.push("noopener"),this[u].open(o,this.target||"_self",i.join(",")),this[u].closed&&t.stopImmediatePropagation()}}return r}};Ze=new WeakMap;var Sv,Pv,Qe,mp=class extends(Pv=B,Sv=ko,Pv){constructor(){super(...arguments);s(this,Sv,null);x(this,Qe,new qm(this))}get alt(){return this.getAttribute("alt")||""}set alt(t){this.setAttribute("alt",t)}get coords(){return this.getAttribute("coords")||""}set coords(t){this.setAttribute("coords",t)}get shape(){return this.getAttribute("shape")||""}set shape(t){this.setAttribute("shape",t)}get download(){return this.getAttribute("download")||""}set download(t){this.setAttribute("download",t)}get referrerPolicy(){return this.getAttribute("referrerPolicy")||""}set referrerPolicy(t){this.setAttribute("referrerPolicy",t)}get ping(){return this.getAttribute("ping")||""}set ping(t){this.setAttribute("ping",t)}get rel(){return this.getAttribute("rel")||""}set rel(t){this.setAttribute("rel",t)}get relList(){return this[ko]||(this[ko]=new bo(c,this,"rel")),this[ko]}set relList(t){this.setAttribute("rel",t)}get target(){return this.getAttribute("target")||""}set target(t){this.setAttribute("target",t)}get origin(){return y(this,Qe).getOrigin()}get href(){return y(this,Qe).getHref()}set href(t){y(this,Qe).setHref(t)}get protocol(){return y(this,Qe).getProtocol()}set protocol(t){y(this,Qe).setProtocol(t)}get username(){return y(this,Qe).getUsername()}set username(t){y(this,Qe).setUsername(t)}get password(){return y(this,Qe).getPassword()}set password(t){y(this,Qe).setPassword(t)}get host(){return y(this,Qe).getHost()}set host(t){y(this,Qe).setHost(t)}get hostname(){return y(this,Qe).getHostname()}set hostname(t){y(this,Qe).setHostname(t)}get port(){return y(this,Qe).getPort()}set port(t){y(this,Qe).setPort(t)}get pathname(){return y(this,Qe).getPathname()}set pathname(t){y(this,Qe).setPathname(t)}get search(){return y(this,Qe).getSearch()}set search(t){y(this,Qe).setSearch(t)}get hash(){return y(this,Qe).getHash()}set hash(t){y(this,Qe).setHash(t)}get tabIndex(){let t=this.getAttribute("tabindex");if(t!==null){let r=Number(t);return isNaN(r)?0:r}return 0}set tabIndex(t){super.tabIndex=t}toString(){return this.href}dispatchEvent(t){let r=super.dispatchEvent(t);if(!t[Gr]&&t[Xt]==="click"&&t[to]===he.none&&t instanceof sr){let o=this.href;o&&(this[u].open(o,this.target||"_self"),this[u].closed&&t.stopImmediatePropagation())}return r}};Qe=new WeakMap;var Gl=class{constructor(e){if(e!==c)throw new TypeError("Illegal constructor")}get length(){return 0}get[Symbol.toStringTag](){return"TimeRanges"}toLocaleString(){return"[object TimeRanges]"}toString(){return"[object TimeRanges]"}start(e){return 0}end(e){return 0}};import vD from"crypto";var yp=class extends R{constructor(t,r=null){super(t,r);s(this,"track");this.track=r?.track??null}};var wv,xv,xu=class l extends(xv=_t,wv=Ps,xv){constructor(t){super();s(this,"active",!0);s(this,"id",vD.randomUUID());s(this,"onaddtrack",null);s(this,"onremovetrack",null);s(this,wv,[]);if(!this[u])throw new TypeError(`Failed to construct '${this.constructor.name}': '${this.constructor.name}' was constructed outside a Window context.`);t!==void 0&&(this[Ps]=t instanceof l?t[Ps].slice():t)}addTrack(t){this[Ps].includes(t)||(this[Ps].push(t),this.dispatchEvent(new yp("addtrack",{track:t})))}clone(){return new this.constructor(this)}getAudioTracks(){return this[Ps].filter(t=>t.kind==="audio")}getTrackById(t){for(let r of this[Ps])if(r.id===t)return r;return null}getVideoTracks(){return this[Ps].filter(t=>t.kind==="video")}removeTrack(t){let r=this[Ps].indexOf(t);r!==-1&&(this[Ps].splice(r,1),this.dispatchEvent(new yp("removetrack",{track:t})))}};var d0;(function(l){l.subtitles="subtitles",l.captions="captions",l.descriptions="descriptions",l.chapters="chapters",l.metadata="metadata"})(d0||(d0={}));var jn=d0;var Ev,vv,Av,Tv,Nv,Lv,Cv,kv,Mv,Rv,Ov,Vv,Iv,Dv,Fv,_v,Bv,Uv,Gv,Hv,qv,$v,Wv,zn=class extends B{constructor(){super(...arguments);s(this,Wv,1);s(this,$v,!0);s(this,qv,0);s(this,Hv,1);s(this,Gv,1);s(this,Uv,!1);s(this,Bv,!1);s(this,_v,!0);s(this,Fv,new Gl(c));s(this,Dv,NaN);s(this,Iv,null);s(this,Vv,!1);s(this,Ov,0);s(this,Rv,0);s(this,Mv,!1);s(this,kv,new Gl(c));s(this,Cv,"");s(this,Lv,new Gl(c));s(this,Nv,new this[u].RemotePlayback);s(this,Tv,null);s(this,Av,null);s(this,vv,null);s(this,Ev,[])}get onabort(){return S.getEventListener(this,"onabort")}set onabort(t){this[h].set("onabort",t)}get oncanplay(){return S.getEventListener(this,"oncanplay")}set oncanplay(t){this[h].set("oncanplay",t)}get oncanplaythrough(){return S.getEventListener(this,"oncanplaythrough")}set oncanplaythrough(t){this[h].set("oncanplaythrough",t)}get ondurationchange(){return S.getEventListener(this,"ondurationchange")}set ondurationchange(t){this[h].set("ondurationchange",t)}get onemptied(){return S.getEventListener(this,"onemptied")}set onemptied(t){this[h].set("onemptied",t)}get onended(){return S.getEventListener(this,"onended")}set onended(t){this[h].set("onended",t)}get onloadeddata(){return S.getEventListener(this,"onloadeddata")}set onloadeddata(t){this[h].set("onloadeddata",t)}get onloadedmetadata(){return S.getEventListener(this,"onloadedmetadata")}set onloadedmetadata(t){this[h].set("onloadedmetadata",t)}get onloadstart(){return S.getEventListener(this,"onloadstart")}set onloadstart(t){this[h].set("onloadstart",t)}get onpause(){return S.getEventListener(this,"onpause")}set onpause(t){this[h].set("onpause",t)}get onplay(){return S.getEventListener(this,"onplay")}set onplay(t){this[h].set("onplay",t)}get onplaying(){return S.getEventListener(this,"onplaying")}set onplaying(t){this[h].set("onplaying",t)}get onprogress(){return S.getEventListener(this,"onprogress")}set onprogress(t){this[h].set("onprogress",t)}get onratechange(){return S.getEventListener(this,"onratechange")}set onratechange(t){this[h].set("onratechange",t)}get onresize(){return S.getEventListener(this,"onresize")}set onresize(t){this[h].set("onresize",t)}get onseeked(){return S.getEventListener(this,"onseeked")}set onseeked(t){this[h].set("onseeked",t)}get onseeking(){return S.getEventListener(this,"onseeking")}set onseeking(t){this[h].set("onseeking",t)}get onstalled(){return S.getEventListener(this,"onstalled")}set onstalled(t){this[h].set("onstalled",t)}get onsuspend(){return S.getEventListener(this,"onsuspend")}set onsuspend(t){this[h].set("onsuspend",t)}get ontimeupdate(){return S.getEventListener(this,"ontimeupdate")}set ontimeupdate(t){this[h].set("ontimeupdate",t)}get onvolumechange(){return S.getEventListener(this,"onvolumechange")}set onvolumechange(t){this[h].set("onvolumechange",t)}get onwaiting(){return S.getEventListener(this,"onwaiting")}set onwaiting(t){this[h].set("onwaiting",t)}get buffered(){return this[hP]}get duration(){return this[dP]}get error(){return this[pr]}get ended(){return this[bP]}get networkState(){return this[fP]}get readyState(){return this[Na]}get remote(){return this[xP]}get seeking(){return this[gP]}get seekable(){return this[SP]}get sinkId(){return this[rS]}get played(){return this[PP]}get autoplay(){return this.getAttribute("autoplay")!==null}set autoplay(t){t?this.setAttribute("autoplay",""):this.removeAttribute("autoplay")}get controls(){return this.getAttribute("controls")!==null}set controls(t){t?this.setAttribute("controls",""):this.removeAttribute("controls")}get loop(){return this.getAttribute("loop")!==null}set loop(t){t?this.setAttribute("loop",""):this.removeAttribute("loop")}get preload(){return this.getAttribute("preload")||"auto"}set preload(t){this.setAttribute("preload",t)}get src(){if(!this.hasAttribute("src"))return"";try{return new URL(this.getAttribute("src"),this[T].location.href).href}catch{return this.getAttribute("src")}}set src(t){this.setAttribute("src",t),t&&(this.dispatchEvent(new R("canplay",{bubbles:!1,cancelable:!1})),this.dispatchEvent(new R("durationchange",{bubbles:!1,cancelable:!1})))}get controlsList(){return this[Mh]===null&&(this[Mh]=new bo(c,this,"controlslist")),this[Mh]}set controlsList(t){this.setAttribute("controlslist",t)}get mediaKeys(){return this[eS]}get muted(){return this[Ay]?this[Ay]:this[sm]?!1:this.getAttribute("muted")!==null}set muted(t){this[Ay]=!!t,!t&&!this[sm]?this.removeAttribute("muted"):this.setAttribute("muted","")}get defaultMuted(){return this[sm]}set defaultMuted(t){this[sm]=!!t,!this[sm]&&!this[Ay]?this.removeAttribute("muted"):this.setAttribute("muted","")}get disableRemotePlayback(){return this.getAttribute("disableremoteplayback")!==null}set disableRemotePlayback(t){t?this.setAttribute("disableremoteplayback",""):this.removeAttribute("disableremoteplayback")}get srcObject(){return this[oS]}set srcObject(t){if(t!==null&&!(t instanceof xu))throw new this[u].TypeError("Failed to set the 'srcObject' property on 'HTMLMediaElement': The provided value is not of type 'MediaStream'.");this[oS]=t}get textTracks(){let t=[];for(let r of this[Yg])t.push(r);for(let r of this.querySelectorAll("track")[Y])t.push(r.track);return new this[u].TextTrackList(c,t)}get currentSrc(){let t=this.src;if(t)return t;let r=this.querySelector("source");return r?r.src:""}get volume(){return this[$g]}set volume(t){let r=Number(t);if(isNaN(r))throw new this[u].TypeError("Failed to set the 'volume' property on 'HTMLMediaElement': The provided double value is non-finite.");if(r<0||r>1)throw new this[u].DOMException(`Failed to set the 'volume' property on 'HTMLMediaElement': The volume provided (${r}) is outside the range [0, 1].`,A.indexSizeError);this[$g]=r}get crossOrigin(){let t=this.getAttribute("crossorigin");return t==="use-credentials"?"use-credentials":t!==null?"anonymous":null}set crossOrigin(t){this.setAttribute("crossorigin",t)}get currentTime(){return this[Wg]}set currentTime(t){let r=Number(t);if(isNaN(r))throw new this[u].TypeError("Failed to set the 'currentTime' property on 'HTMLMediaElement': The provided double value is non-finite.");this[Wg]=r}get playbackRate(){return this[jg]}set playbackRate(t){let r=Number(t);if(isNaN(r))throw new this[u].TypeError("Failed to set the 'playbackRate' property on 'HTMLMediaElement': The provided double value is non-finite.");this[jg]=r}get defaultPlaybackRate(){return this[zg]}set defaultPlaybackRate(t){let r=Number(t);if(isNaN(r))throw new this[u].TypeError("Failed to set the 'defaultPlaybackRate' property on 'HTMLMediaElement': The provided double value is non-finite.");this[zg]=r}get preservesPitch(){return this[Xg]}set preservesPitch(t){this[Xg]=!!t}get paused(){return this[im]}get tabIndex(){let t=this.getAttribute("tabindex");if(t!==null){let r=Number(t);return isNaN(r)?0:r}return 0}set tabIndex(t){super.tabIndex=t}addTextTrack(t,r,o){let i=this[u];if(arguments.length===0)throw new i.TypeError("Failed to execute 'addTextTrack' on 'HTMLMediaElement': 1 argument required, but only 0 present.");if(!jn[t])throw new i.TypeError(`Failed to execute 'addTextTrack' on 'HTMLMediaElement': The provided value '${t}' is not a valid enum value of type TextTrackKind.`);let n=new i.TextTrack(c);return n[ui]=t,n[fl]=r||"",n[um]=o||"",this[Yg].push(n),n}pause(){this[im]||(this[im]=!0,this.dispatchEvent(new R("pause",{bubbles:!1,cancelable:!1})))}async play(){this[im]&&(this[im]=!1,this.dispatchEvent(new R("play",{bubbles:!1,cancelable:!1})),this.dispatchEvent(new R("playing",{bubbles:!1,cancelable:!1})))}canPlayType(t){return""}fastSeek(t){}load(){this.dispatchEvent(new R("emptied",{bubbles:!1,cancelable:!1}))}async setMediaKeys(t){this[eS]=t}async setSinkId(t){this[rS]=t}captureStream(){return new this[u].MediaStream}[(Wv=$g,$v=im,qv=Wg,Hv=jg,Gv=zg,Uv=Ay,Bv=sm,_v=Xg,Fv=hP,Dv=dP,Iv=pr,Vv=bP,Ov=fP,Rv=Na,Mv=gP,kv=SP,Cv=rS,Lv=PP,Nv=xP,Tv=Mh,Av=eS,vv=oS,Ev=Yg,ct)](t=!1){return super[ct](t)}};var Eu=class extends zn{};var pp=class extends B{get href(){if(!this.hasAttribute("href"))return this[T].location.href;try{return new URL(this.getAttribute("href"),this[T].location.href).href}catch{return this.getAttribute("href")}}set href(e){this.setAttribute("href",e)}get target(){return this.getAttribute("target")||""}set target(e){this.setAttribute("target",e)}[ct](e=!1){return super[ct](e)}};var cp=class extends B{get onafterprint(){return S.getEventListener(this,"onafterprint")}set onafterprint(e){this[h].set("onafterprint",e)}get onbeforeprint(){return S.getEventListener(this,"onbeforeprint")}set onbeforeprint(e){this[h].set("onbeforeprint",e)}get onbeforeunload(){return S.getEventListener(this,"onbeforeunload")}set onbeforeunload(e){this[h].set("onbeforeunload",e)}get ongamepadconnected(){return S.getEventListener(this,"ongamepadconnected")}set ongamepadconnected(e){this[h].set("ongamepadconnected",e)}get ongamepaddisconnected(){return S.getEventListener(this,"ongamepaddisconnected")}set ongamepaddisconnected(e){this[h].set("ongamepaddisconnected",e)}get onhashchange(){return S.getEventListener(this,"onhashchange")}set onhashchange(e){this[h].set("onhashchange",e)}get onlanguagechange(){return S.getEventListener(this,"onlanguagechange")}set onlanguagechange(e){this[h].set("onlanguagechange",e)}get onmessage(){return S.getEventListener(this,"onmessage")}set onmessage(e){this[h].set("onmessage",e)}get onmessageerror(){return S.getEventListener(this,"onmessageerror")}set onmessageerror(e){this[h].set("onmessageerror",e)}get onoffline(){return S.getEventListener(this,"onoffline")}set onoffline(e){this[h].set("onoffline",e)}get ononline(){return S.getEventListener(this,"ononline")}set ononline(e){this[h].set("ononline",e)}get onpagehide(){return S.getEventListener(this,"onpagehide")}set onpagehide(e){this[h].set("onpagehide",e)}get onpageshow(){return S.getEventListener(this,"onpageshow")}set onpageshow(e){this[h].set("onpageshow",e)}get onpopstate(){return S.getEventListener(this,"onpopstate")}set onpopstate(e){this[h].set("onpopstate",e)}get onrejectionhandled(){return S.getEventListener(this,"onrejectionhandled")}set onrejectionhandled(e){this[h].set("onrejectionhandled",e)}get onstorage(){return S.getEventListener(this,"onstorage")}set onstorage(e){this[h].set("onstorage",e)}get onunhandledrejection(){return S.getEventListener(this,"onunhandledrejection")}set onunhandledrejection(e){this[h].set("onunhandledrejection",e)}get onunload(){return S.getEventListener(this,"onunload")}set onunload(e){this[h].set("onunload",e)}};var hp=class extends B{};var b0=/[\n\r]/gm,TS=l=>l.map(e=>parseInt(e,10)),dp=class{static sanitize(e,t){switch(e.type){case"password":case"search":case"tel":case"text":return t.replace(b0,"");case"color":return/^#[a-fA-F\d]{6}$/.test(t)?t.toLowerCase():"#000000";case"email":return e.multiple?t.split(",").map(r=>r.trim()).join(","):t.trim().replace(b0,"");case"number":return isNaN(Number.parseFloat(t))?"":t;case"range":{let r=Number.parseFloat(t),o=parseFloat(e.min)||0,i=parseFloat(e.max)||100;return isNaN(r)?i<o?String(o):String((o+i)/2):r<o?String(o):r>i?String(i):t}case"url":return t.trim().replace(b0,"");case"date":return this.sanitizeDate(t);case"datetime-local":{let r=t.match(/^(\d\d\d\d)-(\d\d)-(\d\d)[T ](\d\d):(\d\d)(?::(\d\d)(?:\.(\d{1,3}))?)?$/);if(!r)return"";let o=this.sanitizeDate(t.slice(0,10)),i=this.sanitizeTime(t.slice(11));return o&&i?(r[6]!==void 0&&(i.indexOf(".")!==-1&&(i=i.replace(/(?:\.0*|(\.\d+?)0+)$/,"$1")),i=i.replace(/(\d\d:\d\d)(:00)$/,"$1")),o+"T"+i):""}case"month":return t.match(/^(\d\d\d\d)-(\d\d)$/)&&this.parseMonthComponent(t)&&this.checkBoundaries(t,e.min,e.max)?t:"";case"time":return t=this.sanitizeTime(t),t&&this.checkBoundaries(t,e.min,e.max)?t:"";case"week":{let r=t.match(/^(\d\d\d\d)-W(\d\d)$/);if(!r)return"";let[o,i]=TS(r.slice(1,3));if(o<=0||i<1||i>53)return"";let n=this.lastIsoWeekOfYear(o);return i<1||i>52+n||!this.checkBoundaries(t,e.min,e.max)?"":t}}return t}static checkBoundaries(e,t,r){return t&&t>e?!1:!(r&&r<e)}static parseMonthComponent(e){let[t,r]=e.split("-"),[o,i]=TS([t,r]);return isNaN(o)||isNaN(i)||o<=0||i<1||i>12?"":e}static sanitizeDate(e){let t=e.match(/^(\d{4})-(\d{2})-(\d{2})$/);if(!t||!this.parseMonthComponent(e.slice(0,7)))return"";let[o,i,n]=TS(t.slice(1,4));if(n<1||n>31)return"";let a=new Date(o,i,0).getDate();return n>a?"":e}static sanitizeTime(e){let t=e.match(/^(\d{2}):(\d{2})(?::(\d{2}(?:\.(\d{1,3}))?))?$/);if(!t)return"";let[r,o]=TS(t.slice(1,3)),i=parseFloat(t[3]||"0")*1e3;return r>23||o>59||i>59999?"":i===0?`${t[1]}:${t[2]}`:`${t[1]}:${t[2]}${i>=1e4?`:${i/1e3}`:`:0${i/1e3}`}`}};s(dp,"lastIsoWeekOfYear",e=>{let t=new Date(+e,11,31),r=(t.getDay()+6)%7;t.setDate(t.getDate()-r+3);let o=t.getTime();return t.setMonth(0,1),t.getDay()!==4&&t.setMonth(0,1+(4-t.getDay()+7)%7),1+Math.ceil((o-t.getTime())/6048e5)});var f0;(function(l){l.preserve="preserve",l.select="select",l.start="start",l.end="end"})(f0||(f0={}));var Xn=f0;var g0;(function(l){l.none="none",l.forward="forward",l.backward="backward"})(g0||(g0={}));var Ko=g0;var bp=class{static step(e,t,r,o){switch(e){case"number":return String(Number(t)+(o!==void 0?o*r:r));case"date":case"month":case"week":case"time":case"datetime-local":case"range":return null;default:throw new Ht("This form element is not steppable.")}}};var Hl=class extends Array{constructor(){super(0)}get[Symbol.toStringTag](){return this.constructor.name}item(e){return this[e]||null}};var $m=class{static dateIsoWeek(e){e=typeof e=="number"?new Date(e):e,e=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())),e.setUTCDate(e.getUTCDate()+4-(e.getUTCDay()||7));let t=new Date(Date.UTC(e.getUTCFullYear(),0,1)),r=Math.ceil(((e-t)/864e5+1)/7);return`${e.getUTCFullYear()}-W${r<10?"0":""}${r}`}static isoWeekDate(e){let[,t,r]=e.match(/^(\d{4})-W(\d{2})$/)||[];if(!t||!r||Number(r)>53||Number(r)<1)return new Date("x");let o=new Date(`${t}-01-01T00:00Z`),n=(new Date(`${t}-01-04T00:00Z`).getUTCDay()+6)%7,a=1+(Number(r)-1)*7-n+3;return o.setUTCDate(a),o.getUTCFullYear()>Number(t)?new Date("x"):o}};var fo=class{static getAssociatedLabelElements(e){let t=e.id,r;t&&e[nt]?r=(e[Ve]||e[T]).querySelectorAll(`label[for="${t}"]`)[Y]:r=[];let o=e[W];for(;o;){if(o.tagName==="LABEL"){r.push(o);break}o=o[W]}return new ki(c,r)}};import{URL as AD}from"url";var jv,zv,Xv,Yv,Kv,Jv,Zv,Qv,tA,eA,Fi,wi,Fs,Ao,Yn,NS,To=class extends B{constructor(){super(...arguments);x(this,Ao);s(this,eA,null);s(this,tA,0);s(this,Qv,0);s(this,Zv,null);s(this,Jv,"");s(this,Kv,new go(this));s(this,Yv,new Hl);s(this,Xv,!1);s(this,zv,null);s(this,jv,null);x(this,Fi,null);x(this,wi,null);x(this,Fs,Ko.none)}get oninput(){return S.getEventListener(this,"oninput")}set oninput(t){this[h].set("oninput",t)}get oninvalid(){return S.getEventListener(this,"oninvalid")}set oninvalid(t){this[h].set("oninvalid",t)}get onselectionchange(){return S.getEventListener(this,"onselectionchange")}set onselectionchange(t){this[h].set("onselectionchange",t)}get defaultChecked(){return this.hasAttribute("checked")}set defaultChecked(t){t?this.setAttribute("checked",""):this.removeAttribute("checked")}get files(){return this[Yi]}set files(t){this[Yi]=t}get formAction(){if(!this.hasAttribute("formaction"))return this[T].location.href;try{return new AD(this.getAttribute("formaction"),this[T].location.href).href}catch{return""}}set formAction(t){this.setAttribute("formaction",t)}get formEnctype(){return this.getAttribute("formenctype")||""}set formEnctype(t){this.setAttribute("formenctype",t)}get formMethod(){return this.getAttribute("formmethod")||""}set formMethod(t){this.setAttribute("formmethod",t)}get formNoValidate(){return this.getAttribute("formnovalidate")!==null}set formNoValidate(t){t?this.setAttribute("formnovalidate",""):this.removeAttribute("formnovalidate")}get formTarget(){return this.getAttribute("formtarget")||""}set formTarget(t){this.setAttribute("formtarget",t)}get form(){if(this[Bt])return this[Bt];let t=this.getAttribute("form");return!t||!this[nt]?null:this[T].getElementById(t)}get validationMessage(){return this[Ue]}get validity(){return this[mr]}get height(){return this[F]}set height(t){this[F]=t,this.setAttribute("height",String(t))}get width(){return this[_]}set width(t){this[_]=t,this.setAttribute("width",String(t))}get size(){let t=this.getAttribute("size");return t!==null?parseInt(t):20}set size(t){this.setAttribute("size",String(t))}get minLength(){let t=this.getAttribute("minlength");return t!==null?parseInt(t):-1}set minLength(t){this.setAttribute("minlength",String(t))}get maxLength(){let t=this.getAttribute("maxlength");return t!==null?parseInt(t):-1}set maxLength(t){this.setAttribute("maxlength",String(t))}get type(){return this.getAttribute("type")||"text"}set type(t){this.setAttribute("type",t.toLowerCase())}get name(){return this.getAttribute("name")||""}set name(t){this.setAttribute("name",t)}get alt(){return this.getAttribute("alt")||""}set alt(t){this.setAttribute("alt",t)}get min(){return this.getAttribute("min")||""}set min(t){this.setAttribute("min",t)}get max(){return this.getAttribute("max")||""}set max(t){this.setAttribute("max",t)}get pattern(){return this.getAttribute("pattern")||""}set pattern(t){this.setAttribute("pattern",t)}get placeholder(){return this.getAttribute("placeholder")||""}set placeholder(t){this.setAttribute("placeholder",t)}get step(){return this.getAttribute("step")||""}set step(t){this.setAttribute("step",t)}get inputMode(){return this.getAttribute("inputmode")||""}set inputMode(t){this.setAttribute("inputmode",t)}get accept(){return this.getAttribute("accept")||""}set accept(t){this.setAttribute("accept",t)}get allowdirs(){return this.getAttribute("allowdirs")||""}set allowdirs(t){this.setAttribute("allowdirs",t)}get autocomplete(){return this.getAttribute("autocomplete")||""}set autocomplete(t){this.setAttribute("autocomplete",t)}get src(){return this.getAttribute("src")||""}set src(t){this.setAttribute("src",t)}get defaultValue(){return this.getAttribute("value")||""}set defaultValue(t){this.setAttribute("value",t)}get readOnly(){return this.getAttribute("readonly")!==null}set readOnly(t){t?this.setAttribute("readonly",""):this.removeAttribute("readonly")}get disabled(){return this.getAttribute("disabled")!==null}set disabled(t){t?this.setAttribute("disabled",""):this.removeAttribute("disabled")}get autofocus(){return this.getAttribute("autofocus")!==null}set autofocus(t){t?this.setAttribute("autofocus",""):this.removeAttribute("autofocus")}get required(){return this.getAttribute("required")!==null}set required(t){t?this.setAttribute("required",""):this.removeAttribute("required")}get indeterminate(){return this[wa]}set indeterminate(t){this[wa]=!!t}get multiple(){return this.getAttribute("multiple")!==null}set multiple(t){t?this.setAttribute("multiple",""):this.removeAttribute("multiple")}get checked(){return this[fa]!==null?this[fa]:this.getAttribute("checked")!==null}set checked(t){D(this,Ao,NS).call(this,t)}get value(){switch(this.type){case"hidden":case"submit":case"image":case"reset":case"button":return this.getAttribute("value")||"";case"checkbox":case"radio":let t=this.getAttribute("value");return t!==null?t:"on";case"file":return this[Yi].length>0?"/fake/path/"+this[Yi][0].name:""}return this[Z]===null?this.getAttribute("value")||"":this[Z]}set value(t){switch(t=t===null?"":String(t),this.type){case"hidden":case"submit":case"image":case"reset":case"button":case"checkbox":case"radio":this.setAttribute("value",t);break;case"file":if(t!==null&&t!=="")throw new this[u].DOMException('Input elements of type "file" may only programmatically set the value to empty string.',A.invalidStateError);this[Yi]=new Hl;break;default:let r=this.value;this[Z]=dp.sanitize(this,t),r!==this[Z]&&(w(this,Fi,this[Z].length),w(this,wi,this[Z].length),w(this,Fs,Ko.none));break}}get selectionStart(){return D(this,Ao,Yn).call(this)?y(this,Fi)===null?this.value.length:y(this,Fi):null}set selectionStart(t){if(!D(this,Ao,Yn).call(this))throw new this[u].DOMException(`The input element's type (${this.type}) does not support selection.`,A.invalidStateError);this.setSelectionRange(t,Math.max(t,this.selectionEnd),y(this,Fs))}get selectionEnd(){return D(this,Ao,Yn).call(this)?y(this,wi)===null?this.value.length:y(this,wi):null}set selectionEnd(t){if(!D(this,Ao,Yn).call(this))throw new this[u].DOMException(`The input element's type (${this.type}) does not support selection.`,A.invalidStateError);this.setSelectionRange(this.selectionStart,t,y(this,Fs))}get selectionDirection(){return D(this,Ao,Yn).call(this)?y(this,Fs):null}set selectionDirection(t){if(!D(this,Ao,Yn).call(this))throw new this[u].DOMException(`The input element's type (${this.type}) does not support selection.`,A.invalidStateError);this.setSelectionRange(y(this,Fi),y(this,wi),t)}get willValidate(){return this.type!=="hidden"&&this.type!=="reset"&&this.type!=="button"&&!this.disabled&&!this.readOnly}get valueAsDate(){switch(this.type){case"date":case"month":return isNaN(new Date(String(this.value)).getTime())?null:new Date(this.value);case"week":{let t=$m.isoWeekDate(this.value);return isNaN(t.getTime())?null:t}case"time":{let t=new Date(`1970-01-01T${this.value}Z`);return isNaN(t.getTime())?null:t}default:return null}}set valueAsDate(t){if(!["date","month","time","week"].includes(this.type))throw new this[u].DOMException("Failed to set the 'valueAsDate' property on 'HTMLInputElement': This input element does not support Date values.",A.invalidStateError);if(typeof t!="object")throw new this[u].TypeError("Failed to set the 'valueAsDate' property on 'HTMLInputElement': Failed to convert value to 'object'.");if(t&&!(t instanceof Date))throw new this[u].TypeError("Failed to set the 'valueAsDate' property on 'HTMLInputElement': The provided value is not a Date.");if(t===null||isNaN(t.getTime())){this.value="";return}switch(this.type){case"date":this.value=t.toISOString().split("T")[0];break;case"month":this.value=t.toISOString().split("T")[0].slice(0,-3);break;case"time":this.value=t.toISOString().split("T")[1].slice(0,5);break;case"week":this.value=$m.dateIsoWeek(t);break}}get valueAsNumber(){let t=this.value;if(!this.type.match(/^(range|number|date|datetime-local|month|time|week)$/)||!t)return NaN;switch(this.type){case"number":return parseFloat(t);case"range":{let r=parseFloat(t),o=parseFloat(this.min)||0,i=parseFloat(this.max)||100;return isNaN(r)?i<o?o:(o+i)/2:r<o?o:r>i?i:r}case"date":return new Date(t).getTime();case"datetime-local":return new Date(t).getTime()-new Date(t).getTimezoneOffset()*6e4;case"month":return(new Date(t).getUTCFullYear()-1970)*12+new Date(t).getUTCMonth();case"time":return new Date("1970-01-01T"+t).getTime()-new Date("1970-01-01T00:00:00").getTime();case"week":{let r=t.match(/^(\d{4})-W(\d{2})$/);if(!r)return NaN;let o=new Date(Date.UTC(parseInt(r[1],10),0)),i=o.getUTCDay(),n=((i===0?-6:1)-i)*864e5+parseInt(r[2],10)*6048e5;return o.getTime()+n}default:return NaN}}set valueAsNumber(t){switch(this.type){case"number":case"range":this.value=Number(t).toString();break;case"date":case"datetime-local":{let r=new Date(Number(t));if(isNaN(r.getTime())){this.value="";break}this.type=="date"?this.value=r.toISOString().slice(0,10):this.value=r.toISOString().slice(0,-1);break}case"month":!Number.isInteger(t)||t<0?this.value="":this.value=new Date(Date.UTC(1970,Number(t))).toISOString().slice(0,7);break;case"time":!Number.isInteger(t)||t<0?this.value="":this.value=new Date(Number(t)).toISOString().slice(11,-1);break;case"week":{let r=new Date(Number(t));this.value=isNaN(r.getTime())?"":$m.dateIsoWeek(r);break}default:throw new this[u].DOMException("Failed to set the 'valueAsNumber' property on 'HTMLInputElement': This input element does not support Number values.",A.invalidStateError)}}get labels(){return fo.getAssociatedLabelElements(this)}get list(){let t=this.getAttribute("list");return t?(this[Ve]||this[T]).querySelector(`datalist#${t}`):null}get popoverTargetElement(){return this[Va]}set popoverTargetElement(t){if(t!==null&&!(t instanceof B))throw new this[u].TypeError("Failed to set the 'popoverTargetElement' property on 'HTMLInputElement': Failed to convert value to 'Element'.");this[Va]=t}get popoverTargetAction(){let t=this.getAttribute("popovertargetaction");return t===null||t!=="hide"&&t!=="show"&&t!=="toggle"?"toggle":t}set popoverTargetAction(t){this.setAttribute("popovertargetaction",t)}get tabIndex(){let t=this.getAttribute("tabindex");if(t!==null){let r=Number(t);return isNaN(r)?0:r}return 0}set tabIndex(t){super.tabIndex=t}setCustomValidity(t){this[Ue]=String(t)}select(){D(this,Ao,Yn).call(this)&&(w(this,Fi,0),w(this,wi,this.value.length),w(this,Fs,Ko.none),this.dispatchEvent(new R("select",{bubbles:!0,cancelable:!1})))}setSelectionRange(t,r,o="none"){if(!D(this,Ao,Yn).call(this))throw new this[u].DOMException(`The input element's type (${this.type}) does not support selection.`,A.invalidStateError);w(this,wi,Math.min(r,this.value.length)),w(this,Fi,Math.min(t,y(this,wi))),w(this,Fs,o===Ko.forward||o===Ko.backward?o:Ko.none),this.dispatchEvent(new R("select",{bubbles:!0,cancelable:!1}))}setRangeText(t,r=null,o=null,i=Xn.preserve){if(!D(this,Ao,Yn).call(this))throw new this[u].DOMException(`The input element's type (${this.type}) does not support selection.`,A.invalidStateError);if(r===null&&(r=y(this,Fi)),o===null&&(o=y(this,wi)),r>o)throw new this[u].DOMException("The index is not in the allowed range.",A.invalidStateError);r=Math.min(r,this.value.length),o=Math.min(o,this.value.length);let n=this.value,a=y(this,Fi),m=y(this,wi);this.value=n.slice(0,r)+t+n.slice(o);let p=r+this.value.length;switch(i){case Xn.select:this.setSelectionRange(r,p);break;case Xn.start:this.setSelectionRange(r,r);break;case Xn.end:this.setSelectionRange(p,p);break;default:let b=t.length-(o-r);a>o?a+=b:a>r&&(a=r),m>o?m+=b:m>r&&(m=p),this.setSelectionRange(a,m);break}}checkValidity(){let t=this.disabled||this.readOnly||this.type==="hidden"||this.type==="reset"||this.type==="button"||this[mr].valid;return t||this.dispatchEvent(new R("invalid",{bubbles:!0,cancelable:!0})),t}reportValidity(){return this.checkValidity()}stepUp(t){let r=bp.step(this.type,this.value,1,t);r!==null&&(this.value=r)}stepDown(t){let r=bp.step(this.type,this.value,-1,t);r!==null&&(this.value=r)}[(eA=Z,tA=F,Qv=_,Zv=fa,Jv=Ue,Kv=mr,Yv=Yi,Xv=wa,zv=Bt,jv=Va,ct)](t=!1){let r=super[ct](t);return r[Z]=this[Z],r[F]=this[F],r[_]=this[_],r[Yi]=this[Yi].slice(),w(r,Fi,y(this,Fi)),w(r,wi,y(this,wi)),w(r,Fs,y(this,Fs)),r}dispatchEvent(t){if(t[Xt]!=="click"||t[to]!==he.none||!(t instanceof sr))return super.dispatchEvent(t);if(this.disabled)return!1;let r=null,o=this[wa],i=this.type;(i==="checkbox"||i==="radio")&&(r=this.checked,D(this,Ao,NS).call(this,i==="checkbox"?!r:!0),i==="checkbox"&&(o=this[wa],this[wa]=!1));let n=super.dispatchEvent(t);if(t[Xt]!=="click"||t[to]!==he.none||!(t instanceof sr))return n;if(t[Gr])r!==null&&(D(this,Ao,NS).call(this,r),this[wa]=o);else{let a=this.type;if(a==="checkbox"&&this[nt])this.dispatchEvent(new R("input",{bubbles:!0,cancelable:!0})),this.dispatchEvent(new R("change",{bubbles:!0,cancelable:!0}));else if(a==="radio"&&!r&&this[nt])this.dispatchEvent(new R("input",{bubbles:!0,cancelable:!0})),this.dispatchEvent(new R("change",{bubbles:!0,cancelable:!0}));else if(a==="submit"||a==="reset"){let m=this.form;m&&(a==="submit"&&this[nt]?m.requestSubmit(this):a==="reset"&&m.reset())}}return n}};Fi=new WeakMap,wi=new WeakMap,Fs=new WeakMap,Ao=new WeakSet,Yn=function(){let t=this.type;return t==="text"||t==="search"||t==="url"||t==="tel"||t==="password"},NS=function(t){if(this[fa]=t,this[mo](),t&&this.type==="radio"&&this.name){let o=(this[Bt]||this.getRootNode()).querySelectorAll(`input[type="radio"][name="${this.name}"]`);for(let i of o)i!==this&&(i[fa]=!1)}};var rA,oA,iA,sA,nA,Jo,Zo,as,ql=class extends B{constructor(){super(...arguments);s(this,"type","textarea");s(this,nA,"");s(this,sA,new go(this));s(this,iA,null);s(this,oA,this);s(this,rA,null);x(this,Jo,null);x(this,Zo,null);x(this,as,Ko.none)}get oninput(){return S.getEventListener(this,"oninput")}set oninput(t){this[h].set("oninput",t)}get onselectionchange(){return S.getEventListener(this,"onselectionchange")}set onselectionchange(t){this[h].set("onselectionchange",t)}get validationMessage(){return this[Ue]}get validity(){return this[mr]}get defaultValue(){return this.textContent}set defaultValue(t){this.textContent=t}get minLength(){let t=this.getAttribute("minlength");return t!==null?parseInt(t):-1}set minLength(t){this.setAttribute("minlength",String(t))}get maxLength(){let t=this.getAttribute("maxlength");return t!==null?parseInt(t):-1}set maxLength(t){this.setAttribute("maxlength",String(t))}get name(){return this.getAttribute("name")||""}set name(t){this.setAttribute("name",t)}get placeholder(){return this.getAttribute("placeholder")||""}set placeholder(t){this.setAttribute("placeholder",t)}get inputMode(){return this.getAttribute("inputmode")||""}set inputMode(t){this.setAttribute("inputmode",t)}get cols(){return this.getAttribute("cols")||""}set cols(t){this.setAttribute("cols",t)}get rows(){return this.getAttribute("rows")||""}set rows(t){this.setAttribute("rows",t)}get autocomplete(){return this.getAttribute("autocomplete")||""}set autocomplete(t){this.setAttribute("autocomplete",t)}get readOnly(){return this.getAttribute("readonly")!==null}set readOnly(t){t?this.setAttribute("readonly",""):this.removeAttribute("readonly")}get disabled(){return this.getAttribute("disabled")!==null}set disabled(t){t?this.setAttribute("disabled",""):this.removeAttribute("disabled")}get autofocus(){return this.getAttribute("autofocus")!==null}set autofocus(t){t?this.setAttribute("autofocus",""):this.removeAttribute("autofocus")}get required(){return this.getAttribute("required")!==null}set required(t){t?this.setAttribute("required",""):this.removeAttribute("required")}get value(){return this[Z]===null?this.textContent:this[Z]}set value(t){let r=this[Z];this[Z]=t,r!==this[Z]&&(w(this,Jo,this[Z].length),w(this,Zo,this[Z].length),w(this,as,Ko.none))}get selectionStart(){return y(this,Jo)===null?this.value.length:y(this,Jo)}set selectionStart(t){this.setSelectionRange(t,Math.max(t,this.selectionEnd),y(this,as))}get selectionEnd(){return y(this,Zo)===null?this.value.length:y(this,Zo)}set selectionEnd(t){this.setSelectionRange(this.selectionStart,t,y(this,as))}get selectionDirection(){return y(this,as)}set selectionDirection(t){this.setSelectionRange(this.selectionStart,this.selectionEnd,t)}get form(){if(this[Bt])return this[Bt];let t=this.getAttribute("form");return!t||!this[nt]?null:this[T].getElementById(t)}get textLength(){return this.value.length}get labels(){return fo.getAssociatedLabelElements(this)}get tabIndex(){let t=this.getAttribute("tabindex");if(t!==null){let r=Number(t);return isNaN(r)?0:r}return 0}set tabIndex(t){super.tabIndex=t}select(){w(this,Jo,0),w(this,Zo,this.value.length),w(this,as,Ko.none),this.dispatchEvent(new R("select",{bubbles:!0,cancelable:!1}))}setSelectionRange(t,r,o="none"){w(this,Zo,Math.min(r,this.value.length)),w(this,Jo,Math.min(t,this.selectionEnd)),w(this,as,o===Ko.forward||o===Ko.backward?o:Ko.none),this.dispatchEvent(new R("select",{bubbles:!0,cancelable:!1}))}setRangeText(t,r=null,o=null,i=Xn.preserve){if(r===null&&(r=y(this,Jo)!==null?y(this,Jo):0),o===null&&(o=y(this,Zo)!==null?y(this,Zo):this.value.length),r>o)throw new this[u].DOMException("The index is not in the allowed range.",A.invalidStateError);r=Math.min(r,this.value.length),o=Math.min(o,this.value.length);let n=this.value,a=y(this,Jo)!==null?y(this,Jo):0,m=y(this,Zo)!==null?y(this,Zo):this.value.length;this.value=n.slice(0,r)+t+n.slice(o);let p=r+this.value.length;switch(i){case Xn.select:this.setSelectionRange(r,p);break;case Xn.start:this.setSelectionRange(r,r);break;case Xn.end:this.setSelectionRange(p,p);break;default:let b=t.length-(o-r);a>o?a+=b:a>r&&(a=r),m>o?m+=b:m>r&&(m=p),this.setSelectionRange(a,m);break}}setCustomValidity(t){this[Ue]=String(t)}checkValidity(){let t=this.disabled||this.readOnly||this[mr].valid;return t||this.dispatchEvent(new R("invalid",{bubbles:!0,cancelable:!0})),t}reportValidity(){return this.checkValidity()}[(nA=Ue,sA=mr,iA=Z,oA=Pr,rA=Bt,ct)](t=!1){let r=super[ct](t);return r[Z]=this[Z],w(r,Jo,y(this,Jo)),w(r,Zo,y(this,Zo)),w(r,as,y(this,as)),r}[xy](){this[Z]===null&&(w(this,Jo,null),w(this,Zo,null),w(this,as,Ko.none))}};Jo=new WeakMap,Zo=new WeakMap,as=new WeakMap;var lA,aA,uA,mA,vu=class extends(mA=B,uA=Bt,aA=Ue,lA=mr,mA){constructor(){super(...arguments);s(this,uA,null);s(this,aA,"");s(this,lA,new go(this))}get contentDocument(){return null}get contentWindow(){return null}get data(){if(!this.hasAttribute("data"))return"";try{return new URL(this.getAttribute("data"),this[T].location.href).href}catch{return this.getAttribute("data")}}set data(t){this.setAttribute("data",t)}get form(){if(this[Bt])return this[Bt];let t=this.getAttribute("form");return!t||!this[nt]?null:this[T].getElementById(t)}get height(){return this.getAttribute("height")||""}set height(t){this.setAttribute("height",t)}get width(){return this.getAttribute("width")||""}set width(t){this.setAttribute("width",t)}get name(){return this.getAttribute("name")||""}set name(t){this.setAttribute("name",t)}get type(){return this.getAttribute("type")||""}set type(t){this.setAttribute("type",t)}get validationMessage(){return this[Ue]}get validity(){return this[mr]}get willValidate(){return!1}get tabIndex(){let t=this.getAttribute("tabindex");if(t!==null){let r=Number(t);return isNaN(r)?0:r}return 0}set tabIndex(t){super.tabIndex=t}checkValidity(){return!0}reportValidity(){return this.checkValidity()}setCustomValidity(t){this[Ue]=String(t)}};var yA,pA,cA,hA,dA,Au=class extends(dA=B,hA=Bt,cA=Ue,pA=mr,yA=Vo,dA){constructor(){super(...arguments);s(this,hA,null);s(this,cA,"");s(this,pA,new go(this));s(this,yA,"")}get defaultValue(){return this[Vo]}set defaultValue(t){this[Vo]=t}get form(){if(this[Bt])return this[Bt];let t=this.getAttribute("form");return!t||!this[nt]?null:this[T].getElementById(t)}get htmlFor(){return this.getAttribute("for")||""}set htmlFor(t){this.setAttribute("for",t)}get labels(){return fo.getAssociatedLabelElements(this)}get name(){return this.getAttribute("name")||""}set name(t){this.setAttribute("name",t)}get value(){return this.textContent||""}set value(t){this.textContent=t}get type(){return"output"}get validationMessage(){return this[Ue]}get validity(){return this[mr]}get willValidate(){return!1}checkValidity(){return!0}reportValidity(){return this.checkValidity()}setCustomValidity(t){this[Ue]=String(t)}};var TD=/^([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x22([^\x0d\x22\x5c\x80-\xff]|\x5c[\x00-\x7f])*\x22)(\x2e([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x22([^\x0d\x22\x5c\x80-\xff]|\x5c[\x00-\x7f])*\x22))*\x40([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x5b([^\x0d\x5b-\x5d\x80-\xff]|\x5c[\x00-\x7f])*\x5d)(\x2e([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x5b([^\x0d\x5b-\x5d\x80-\xff]|\x5c[\x00-\x7f])*\x5d))*$/,ND=/^(?:(?:https?|HTTPS?|ftp|FTP):\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-zA-Z\u00a1-\uffff0-9]-*)*[a-zA-Z\u00a1-\uffff0-9]+)(?:\.(?:[a-zA-Z\u00a1-\uffff0-9]-*)*[a-zA-Z\u00a1-\uffff0-9]+)*)(?::\d{2,5})?(?:[\/?#]\S*)?$/,go=class{constructor(e){s(this,"element");this.element=e}get badInput(){return this.element instanceof To&&(this.element.type==="number"||this.element.type==="range")&&this.element.value.length>0&&!/^[-+]?(?:\d+|\d*[.,]\d+)$/.test(this.element.value)}get customError(){return this.element[Ue].length>0}get patternMismatch(){return this.element instanceof To&&this.element.hasAttribute("pattern")&&this.element.value.length>0&&this.element.value.replace(new RegExp(this.element.getAttribute("pattern")),"").length>0}get rangeOverflow(){return this.element instanceof To&&this.element.hasAttribute("max")&&(this.element.type==="number"||this.element.type==="range")&&this.element.value.length>0&&Number(this.element.value)>Number(this.element.getAttribute("max"))}get rangeUnderflow(){return this.element instanceof To&&this.element.hasAttribute("min")&&(this.element.type==="number"||this.element.type==="range")&&this.element.value.length>0&&Number(this.element.value)<Number(this.element.getAttribute("min"))}get stepMismatch(){return this.element instanceof To&&(this.element.type==="number"||this.element.type==="range")&&(this.element.hasAttribute("step")&&this.element.getAttribute("step")!=="any"&&Number(this.element.value)%Number(this.element.getAttribute("step"))!==0||!this.element.hasAttribute("step")&&Number(this.element.value)%1!==0)}get tooLong(){return(this.element instanceof To||this.element instanceof ql)&&this.element.maxLength>0&&this.element.value.length>this.element.maxLength}get tooShort(){return(this.element instanceof To||this.element instanceof ql)&&this.element.minLength>0&&this.element.value.length>0&&this.element.value.length<this.element.minLength}get typeMismatch(){return this.element instanceof To&&this.element.value.length>0&&(this.element.type==="email"&&!TD.test(this.element.value)||this.element.type==="url"&&!ND.test(this.element.value))}get valueMissing(){if(!this.element.required||this.element instanceof vu||this.element instanceof Au)return!1;if(this.element instanceof To){if(this.element.type==="checkbox")return!this.element.checked;if(this.element.type==="radio"){if(this.element.checked)return!1;if(!this.element.name)return!0;let e=this.element[Bt]||this.element.getRootNode();return!e||!e.querySelector(`input[name="${this.element.name}"]:checked`)}}return this.element.value.length===0}get valid(){return!this.badInput&&!this.customError&&!this.patternMismatch&&!this.rangeOverflow&&!this.rangeUnderflow&&!this.stepMismatch&&!this.tooLong&&!this.tooShort&&!this.typeMismatch&&!this.valueMissing}};import{URL as LD}from"url";var CD=["submit","reset","button","menu"],bA,fA,gA,SA,PA,fp=class extends(PA=B,SA=Ue,gA=mr,fA=Bt,bA=Va,PA){constructor(){super(...arguments);s(this,SA,"");s(this,gA,new go(this));s(this,fA,null);s(this,bA,null)}get validationMessage(){return this[Ue]}get validity(){return this[mr]}get name(){return this.getAttribute("name")||""}set name(t){this.setAttribute("name",t)}get value(){return this.getAttribute("value")||""}set value(t){this.setAttribute("value",t)}get disabled(){return this.getAttribute("disabled")!==null}set disabled(t){t?this.setAttribute("disabled",""):this.removeAttribute("disabled")}get type(){let t=this.getAttribute("type");return t===null||!CD.includes(t)?"submit":t}set type(t){this.setAttribute("type",t)}get formAction(){if(!this.hasAttribute("formaction"))return this[T].location.href;try{return new LD(this.getAttribute("formaction"),this[T].location.href).href}catch{return""}}set formAction(t){this.setAttribute("formaction",t)}get formEnctype(){return this.getAttribute("formenctype")||""}set formEnctype(t){this.setAttribute("formenctype",t)}get formMethod(){return this.getAttribute("formmethod")||""}set formMethod(t){this.setAttribute("formmethod",t)}get formNoValidate(){return this.getAttribute("formnovalidate")!==null}set formNoValidate(t){t?this.setAttribute("formnovalidate",""):this.removeAttribute("formnovalidate")}get formTarget(){return this.getAttribute("formtarget")||""}set formTarget(t){this.setAttribute("formtarget",t)}get form(){if(this[Bt])return this[Bt];let t=this.getAttribute("form");return!t||!this[nt]?null:this[T].getElementById(t)}get labels(){return fo.getAssociatedLabelElements(this)}get popoverTargetElement(){return this[Va]}set popoverTargetElement(t){if(t!==null&&!(t instanceof B))throw new this[u].TypeError("Failed to set the 'popoverTargetElement' property on 'HTMLInputElement': Failed to convert value to 'Element'.");this[Va]=t}get popoverTargetAction(){let t=this.getAttribute("popovertargetaction");return t===null||t!=="hide"&&t!=="show"&&t!=="toggle"?"toggle":t}set popoverTargetAction(t){this.setAttribute("popovertargetaction",t)}get tabIndex(){let t=this.getAttribute("tabindex");if(t!==null){let r=Number(t);return isNaN(r)?0:r}return 0}set tabIndex(t){super.tabIndex=t}checkValidity(){let t=this.disabled||this.type==="reset"||this.type==="button"||this[mr].valid;return t||this.dispatchEvent(new R("invalid",{bubbles:!0,cancelable:!0})),t}reportValidity(){return this.checkValidity()}setCustomValidity(t){this[Ue]=String(t)}dispatchEvent(t){if(t.type==="click"&&t instanceof sr&&t.eventPhase===he.none&&this.disabled)return!1;let r=super.dispatchEvent(t);if(!t[Gr]&&t.type==="click"&&t.eventPhase===he.none&&t instanceof sr){let o=this.type;if(o==="submit"||o==="reset"){let i=this.form;i&&(o==="submit"&&this[nt]?i.requestSubmit(this):o==="reset"&&i.reset())}}return r}};var Ob=class{constructor(e,t){s(this,"height");s(this,"width");this.width=e,this.height=t}close(){}};var Vb=class{constructor(e,t){s(this,"width");s(this,"height");this.width=e,this.height=t}getContext(e,t){return null}async convertToBlob(e){return new de([])}transferToImageBitmap(){return new Ob(this.width,this.height)}};var wA="S3F/aBCdEfGHIjKlMnOpQRStUvWxYz1234567890+1AbC2DEf2GHi3jK34le+ab12C3+1aBCdEf==",gp=class extends B{get oncontextlost(){return S.getEventListener(this,"oncontextlost")}set oncontextlost(e){this[h].set("oncontextlost",e)}get oncontextrestored(){return S.getEventListener(this,"oncontextrestored")}set oncontextrestored(e){this[h].set("oncontextrestored",e)}get onwebglcontextcreationerror(){return S.getEventListener(this,"onwebglcontextcreationerror")}set onwebglcontextcreationerror(e){this[h].set("onwebglcontextcreationerror",e)}get onwebglcontextlost(){return S.getEventListener(this,"onwebglcontextlost")}set onwebglcontextlost(e){this[h].set("onwebglcontextlost",e)}get onwebglcontextrestored(){return S.getEventListener(this,"onwebglcontextrestored")}set onwebglcontextrestored(e){this[h].set("onwebglcontextrestored",e)}get width(){let e=this.getAttribute("width");return e!==null?Number(e):300}set width(e){this.setAttribute("width",String(e))}get height(){let e=this.getAttribute("height");return e!==null?Number(e):150}set height(e){this.setAttribute("height",String(e))}captureStream(e){let t=new this[u].MediaStream,r=new this[u].CanvasCaptureMediaStreamTrack(c,this);return r[ui]="video",r[ws].deviceId=wA,r[ws].aspectRatio.max=this.width,r[ws].height.max=this.height,r[ws].width.max=this.width,r[Ca].deviceId=wA,e!==void 0&&(r[ws].frameRate.max=e,r[Ca].frameRate=e),t.addTrack(r),t}getContext(e,t){return null}toDataURL(e,t){return""}toBlob(e,t,r){e(new de([]))}transferControlToOffscreen(){return new Vb(this.width,this.height)}};var Sp=class extends B{};var Pp=class extends B{get value(){return this.getAttribute("value")||""}set value(e){this.setAttribute("value",e)}};var xA,EA,wp=class extends(EA=B,xA=on,EA){constructor(){super(...arguments);s(this,xA,null)}get options(){return this[on]||(this[on]=ne.getElementsByTagName(this,"OPTION")),this[on]}};var xp=class extends B{get ontoggle(){return S.getEventListener(this,"ontoggle")}set ontoggle(e){this[h].set("ontoggle",e)}get open(){return this.getAttribute("open")!==null}set open(e){e?this.setAttribute("open",""):this.removeAttribute("open")}[ze](e,t){super[ze](e,t),e[lt]==="open"&&e[Z]!==t?.[Z]&&this.dispatchEvent(new R("toggle"))}[Ur](e){super[Ur](e),e&&e[lt]==="open"&&this.dispatchEvent(new R("toggle"))}dispatchEvent(e){let t=super.dispatchEvent(e);return!e[Gr]&&e[Zr]?.[dt]==="summary"&&e.type==="click"&&e.eventPhase===he.bubbling&&e instanceof sr&&(this.open=!this.open),t}};var vA,AA,Ep=class extends(AA=B,vA=qg,AA){constructor(){super(...arguments);s(this,vA,"")}get oncancel(){return S.getEventListener(this,"oncancel")}set oncancel(t){this[h].set("oncancel",t)}get onclose(){return S.getEventListener(this,"onclose")}set onclose(t){this[h].set("onclose",t)}get returnValue(){return this[qg]}set returnValue(t){this[qg]=String(t)}set open(t){t?this.setAttribute("open",""):this.removeAttribute("open")}get open(){return this.getAttribute("open")!==null}close(t){let r=this.open;this.removeAttribute("open"),this.returnValue=t!==void 0?String(t):"",r&&this.dispatchEvent(new R("close"))}showModal(){this.setAttribute("open","")}show(){this.setAttribute("open","")}};var vp=class extends B{};var Ap=class extends B{get height(){return this.getAttribute("height")||""}set height(e){this.setAttribute("height",e)}get width(){return this.getAttribute("width")||""}set width(e){this.setAttribute("width",e)}get src(){if(!this.hasAttribute("src"))return"";try{return new URL(this.getAttribute("src"),this[T].location.href).href}catch{return this.getAttribute("src")}}set src(e){this.setAttribute("src",e)}get type(){return this.getAttribute("type")||""}set type(e){this.setAttribute("type",e)}};var TA,NA,LA,Tu=class extends(LA=B,NA=rn,TA=Bt,LA){constructor(){super(...arguments);s(this,NA,null);s(this,TA,null)}get elements(){return this[rn]||(this[rn]=new Ae(c,()=>ut.querySelectorAll(this,"input,button,textarea,select")[Y])),this[rn]}get form(){if(this[Bt])return this[Bt];let t=this.getAttribute("form");return!t||!this[nt]?null:this[T].getElementById(t)}get name(){return this.getAttribute("name")||""}set name(t){this.setAttribute("name",t)}get type(){return"fieldset"}get validationMessage(){return""}get willValidate(){return!1}get disabled(){return this.getAttribute("disabled")!==null}set disabled(t){t?this.setAttribute("disabled",""):this.removeAttribute("disabled")}checkValidity(){return!0}reportValidity(){return!0}setCustomValidity(t){}};var Nu=class extends Ae{constructor(e,t){super(e,()=>t[Ro]()),this[At]=t}namedItem(e){return this[At][Th](e)}};var _s=class{static createChildFrame(e){let t=new e.constructor(e.page);return t.parentFrame=e,e.childFrames.push(t),t}static destroyFrame(e){let t=e.page.context.browser[_r];return e.closed?Promise.resolve():(e.closed=!0,new Promise((r,o)=>{if(!e.window){r();return}if(e.parentFrame){let i=e.parentFrame.childFrames.indexOf(e);i!==-1&&e.parentFrame.childFrames.splice(i,1)}if(!e.childFrames.length){e[bt].destroy().then(()=>{t&&e.window&&t.disconnect(e.window),e.window={closed:!0},e[wo]=null,e[Xi]=null,e[fe]&&(e[fe].navigation=[]),r()}).catch(i=>o(i)),e.window&&e.window[ue]();return}Promise.all(e.childFrames.slice().map(i=>this.destroyFrame(i))).then(()=>{e[bt].destroy().then(()=>{t&&e.window&&t.disconnect(e.window),e.window={closed:!0},e[wo]=null,e[Xi]=null,e[fe]&&(e[fe].navigation=[]),r()}).catch(i=>o(i)),e.window&&e.window[ue]()}).catch(i=>o(i))}))}};var S0;(function(l){l.anyOrigin="anyOrigin",l.sameOrigin="sameOrigin",l.strictOrigin="strictOrigin"})(S0||(S0={}));var Tp=S0;var Ib,Db,Wm,jm=class{constructor(e){s(this,"url");x(this,Ib);x(this,Db);x(this,Wm,null);w(this,Ib,e.window),this.url=e.url,w(this,Db,e.source)}async evaluate(){if(y(this,Wm))return y(this,Wm);let e=new(y(this,Ib)).CSSStyleSheet;return e.replaceSync(y(this,Db)),w(this,Wm,{default:e}),y(this,Wm)}async preload(){await this.evaluate()}};Ib=new WeakMap,Db=new WeakMap,Wm=new WeakMap;import{URL as GD}from"url";import{URL as LS}from"url";import Fb from"path";import CS from"fs";var kD=["module","main"],MD=[".js",".mjs"],Bs=class{static getURL(e,t,r){let o=typeof t=="string"?t:t.href,i=e[dm],n=this.resolveURL(e,o,r);if(!i)return new LS(n,o);if(i.scopes.length){for(let a of i.scopes)if(o.includes(a.scope)){for(let m of a.rules)if(n.startsWith(m.from))return new LS(m.to+n.replace(m.from,""),o)}}if(i.imports.length){for(let a of i.imports)if(n.startsWith(a.from))return new LS(a.to+n.replace(a.from,""),o)}return new LS(n,o)}static clearCache(){this.nodeModuleResolveCache.clear(),this.packageJsonCache.clear()}static resolveURL(e,t,r){let o=new it(e).getSettings();if(!o)return r;let i=r;return o.module.resolveNodeModules&&(i=this.resolveNodeModuleURL(o.module.resolveNodeModules,r)),o.module.urlResolver&&(i=o.module.urlResolver({url:i,parentURL:t,window:e})),i}static resolveNodeModuleURL(e,t){if(t[0]==="."||t[0]==="/"||t.startsWith("http://")||t.startsWith("https://"))return t;let r=e.url[e.url.length-1]==="/"?"":"/",o=`${e.url}${r}`,i=Fb.resolve(e.directory),n=t.split("/"),a=this.nodeModuleResolveCache.get(t);if(a)return a;let m=t[0]==="@"?`${n[0]}/${n[1]}`:n[0],p=this.packageJsonCache.get(m);if(!p)try{p=JSON.parse(CS.readFileSync(Fb.join(i,m,"package.json"),"utf-8")),this.packageJsonCache.set(m,p)}catch{return t}if(t[0]==="@"&&n.length===2||n.length===1){if(p.exports?.["."]?.import){let f=`${o}${m}/${p.exports["."].import.replace("./","")}`;return this.nodeModuleResolveCache.set(t,f),f}let d=e.mainFields||kD;for(let f of d)if(p[f]&&CS.existsSync(Fb.join(i,m,p[f]))){let v=`${o}${t}/${p[f]}`;return this.nodeModuleResolveCache.set(t,v),v}return t}let b=n.slice(t[0]==="@"?2:1).join("/");if(p.exports)for(let d of Object.keys(p.exports)){let f=Array.isArray(p.exports[d].import)?p.exports[d].import[0]:p.exports[d].import;if(f){let v=new RegExp(`^${d.replace("./","").replace(/\./g,"\\.").replace(/\*/g,"(.*)")}$`),C=b.match(v);if(C){let L=f.replace("./","").replace("*",C[1]),j=`${o}${m}/${L}`;return this.nodeModuleResolveCache.set(t,j),j}}}if(!t.endsWith(".js")&&!t.endsWith(".mjs")){for(let d of MD)if(CS.existsSync(Fb.join(i,`${t}${d}`))){let f=`${o}${t}${d}`;return this.nodeModuleResolveCache.set(t,f),f}}else if(CS.existsSync(Fb.join(i,t))){let d=`${o}${t}`;return this.nodeModuleResolveCache.set(t,d),d}return t}};s(Bs,"nodeModuleResolveCache",new Map),s(Bs,"packageJsonCache",new Map);var RD=/import\.meta\.([a-zA-Z]+)|import\s*["']([^"']+)["'];{0,1}|import\s*\(([^)]+)\)|(import[\s{])|[\s}]from\s*["']([^"']+)["'](\s+with\s*{\s*type\s*:\s*["']([^"']+)["']\s*}){0,1}([;\s]*)|export(\s+[a-zA-Z0-9-_$]+\s+|\s+\*\s+|\s+\*\s+as\s+["'a-zA-Z0-9-_$]+\s+|\s*{[^}]+}\s*)from\s*["']([^"']+)["']|export\s*(default\s+){0,1}(async\s+){0,1}(function\*{0,1}|class)\s*([^({\s]+)|(export\s*default\s*)|export\s*{([^}]+)}|export\s+(var|let|const)\s+([^=;]+)(=|;)/gm,OD=/(\/)|(\(|\))|({|})|(\[|\])|(\${)|(`)|(')|(")|(\n)/gm,VD=/{([^}]+)}|\*\s+as\s+([a-zA-Z0-9-_$]+)|([a-zA-Z0-9-_$]+)/gm,$l=/['"`(){}\s;=><\[\]+-,:&]/,ID=/['"`({};=><\[+-,:&]/,DD=/\/\*|\*\//gm,kS=/export\s*/,FD=/export\s*default\s*/,_D=/;\s*$/,_b=class{constructor(e){s(this,"window");s(this,"debug",!1);s(this,"count",{comment:0,singleLineComment:0,parentheses:0,curlyBraces:0,squareBrackets:0,regExp:0,regExpSquareBrackets:0,escapeTemplateString:0,simpleString:0,doubleString:0});s(this,"debugCount",{comment:[],singleLineComment:[],parentheses:[],curlyBraces:[],squareBrackets:[],regExp:[],regExpSquareBrackets:[],escapeTemplateString:[],simpleString:[],doubleString:[]});s(this,"templateString",[]);this.window=e}compile(e,t,r=null){let o=new it(this.window).getSettings();if(!o)return{imports:[],execute:async()=>{}};this.reset();let i=new RegExp(RD),n=[],a=[],m=this.count,p="",b="",d="",f=null,v,C,L=!0,j=0,et=-1;for(;f=i.exec(t);){if(v=t[f.index-1]||" ",C=t.substring(j,f.index),this.parseSyntax(C,j),et===-1&&(p+=C),L=m.comment===0&&m.singleLineComment===0&&m.parentheses===0&&m.curlyBraces===0&&m.squareBrackets===0&&m.regExp===0&&m.simpleString===0&&m.doubleString===0&&this.templateString.length===0,f[1]&&m.simpleString===0&&m.doubleString===0&&m.comment===0&&m.singleLineComment===0&&m.regExp===0&&(this.templateString.length===0||this.templateString[0]>0)&&$l.test(this.getNonSpacePrecedingToken(t,f.index)))p+=`$happy_dom.importMeta.${f[1]}`;else if(f[2]&&L&&$l.test(v))n.push({url:Bs.getURL(this.window,e,f[2]).href,type:"esm"});else if(f[3]&&m.simpleString===0&&m.doubleString===0&&m.comment===0&&m.singleLineComment===0&&m.regExp===0&&(this.templateString.length===0||this.templateString[0]>0)&&$l.test(v))p+=`$happy_dom.dynamicImport(${f[3]})`;else if(f[4]&&L&&$l.test(v)){if(et!==-1)throw new this.window.TypeError(`Failed to parse module: Unexpected import statement in "${e}"`);et=f.index+f[0].length-1}else if(f[5]&&L&&et!==-1){let J=Bs.getURL(this.window,e,f[5]).href,ht=t.substring(et,f.index+1),$t=new RegExp(VD),Nt=null;for(;Nt=$t.exec(ht);)if(Nt[1]){let te=this.removeMultilineComments(Nt[1]).split(/\s*,\s*/),Lt=[];for(let er of te){let Fr=er.trim().split(/\s+as\s+/),ds=(Fr[1]||Fr[0]).replace(/["']/g,""),qi=Fr[0].replace(/["']/g,"");ds&&qi&&(qi===ds?Lt.push({name:qi}):Lt.push({name:qi,alias:ds}))}(!f[7]||f[7]==="esm")&&a.push({url:J,properties:Lt}),b+=`let {${Lt.map(er=>er.alias?`"${er.name}": ${er.alias}`:er.name).join(", ")}} = $happy_dom.imports.get('${J}')${f[8]}`}else Nt[2]?b+=`const ${Nt[2]} = $happy_dom.imports.get('${J}')${f[8]}`:Nt[3]&&((!f[7]||f[7]==="esm")&&a.push({url:J,properties:[{name:"default",alias:Nt[3]}]}),b+=`let ${Nt[3]} = $happy_dom.imports.get('${J}').default${f[8]}`);et=-1,n.push({url:J,type:f[7]||"esm"})}else if(f[9]&&f[10]&&L&&$l.test(v)){let J=Bs.getURL(this.window,e,f[10]).href,ht=f[9].trim();if(ht==="*")p+=`Object.assign($happy_dom.exports, $happy_dom.imports.get('${J}'))`,n.push({url:J,type:"esm"});else if(ht[0]==="*"){let $t=ht.split(/\s+as\s+/);if($t.length===2){let Nt=$t[1].replace(/["']/g,"");p+=`$happy_dom.exports['${Nt}'] = $happy_dom.imports.get('${J}')`,n.push({url:J,type:"esm"})}}else if(ht[0]==="{"){let $t=this.removeMultilineComments(ht).slice(1,-1).split(/\s*,\s*/),Nt=[];for(let te of $t){let Lt=te.trim().split(/\s+as\s+/),er=(Lt[1]||Lt[0]).replace(/["']/g,""),Fr=Lt[0].replace(/["']/g,"");er&&Fr&&Nt.push(`$happy_dom.exports['${er}'] = $happy_dom.imports.get('${J}')['${Fr}']`)}p+=Nt.join(`;
99
+ `),n.push({url:J,type:"esm"})}}else if(f[13]&&f[14]&&L&&$l.test(v)){let J=f[14].replace("*","");if(J)f[11]?(p+=f[0].replace(FD,""),d+=`$happy_dom.exports.default = ${J};
100
+ `):(p+=f[0].replace(kS,""),d+=`$happy_dom.exports['${J}'] = ${J};
101
+ `);else if(f[11])p+=`$happy_dom.exports.default = ${f[12]||""}${f[13]}${J?" ":""}${f[14]}`;else throw new this.window.SyntaxError(`Failed to parse module: Missing function or class name in export statement in "${e}"`)}else if(f[15]&&L&&$l.test(v))p+="$happy_dom.exports.default = ";else if(f[16]&&L&&$l.test(v)){let J=this.removeMultilineComments(f[16]).split(/\s*,\s*/),ht=[];for(let $t of J){let Nt=$t.trim().split(/\s+as\s+/),te=(Nt[1]||Nt[0]).replace(/["']/g,""),Lt=Nt[0].replace(/["']/g,"");te&&Lt&&ht.push(`$happy_dom.exports['${te}'] = ${Lt}`)}p+=ht.join(`;
102
+ `)}else if(f[17]&&L&&$l.test(v))if(f[19]==="="){let J=this.removeMultilineComments(f[18]).trim();if(J[0]==="{"&&J[J.length-1]==="}"||J[0]==="["&&J[J.length-1]==="]"){let ht=J.slice(1,-1).split(/\s*,\s*/);for(let $t of ht){let Nt=$t.trim().split(/\s*:\s*/),te=(Nt[1]||Nt[0]).replace(/["']/g,"");te&&(d+=`$happy_dom.exports['${te}'] = ${te};
103
+ `)}p+=f[0].replace(kS,"")}else p+=f[0].replace(kS,""),d+=`$happy_dom.exports['${J}'] = ${J};
104
+ `}else{p+=f[0].replace(kS,"");let J=this.removeMultilineComments(f[18]).split(",");for(let ht of J){let $t=ht.trim();d+=`$happy_dom.exports['${$t}'] = ${$t};
105
+ `}}else if(et!==-1){let J=t.substring(et,f.index+1);p+=J,this.parseSyntax(J,et)}else p+=f[0],this.parseSyntax(f[0],f.index);j=i.lastIndex}if(this.debug)return{imports:n,execute:async()=>{}};if(b&&!_D.test(b)&&(b=`
106
+ ${b};`),!o.disableErrorCapturing&&o.errorCapture===me.tryAndCatch?b="(async function anonymous($happy_dom) { try {"+b:b="(async function anonymous($happy_dom) {"+b,p=b+p,j===0?p+=t:p+=t.substring(j),p+=`
107
+ `+d,a.length>0){p+=`$happy_dom.addCircularImportResolver(() => {
108
+ `;for(let J of a)for(let ht of J.properties)ht.alias?p+=`${ht.alias} = $happy_dom.imports.get('${J.url}')['${ht.name}'];
109
+ `:p+=`${ht.name} = $happy_dom.imports.get('${J.url}')['${ht.name}'];
110
+ `;p+="});"}!o.disableErrorCapturing&&o.errorCapture===me.tryAndCatch&&(p+="} catch(e) { $happy_dom.dispatchError(e); }"),p+="})";try{return{imports:n,execute:this.window[zi](p,{filename:r||e})}}catch(J){let ht=this.getError(e,t,r),$t=ht?new this.window.SyntaxError(`Failed to parse module in '${e}'. Execution error: ${J.message}. Compile error: ${ht}`):J;if(J.message=`Failed to parse module in '${r}': ${$t.message}`,o.disableErrorCapturing||o.errorCapture!==me.tryAndCatch)throw $t;return this.window[ce]($t),{imports:n,execute:async()=>{}}}}parseSyntax(e,t){let r=new RegExp(OD),o=this.count,i=this.debug,n=this.debugCount,a=null,m,p;for(t++;a=r.exec(e);)m=e[a.index-1]||" ",p=m==="\\"&&e[a.index-2]!=="\\",a[1]?o.simpleString===0&&o.doubleString===0&&o.singleLineComment===0&&o.regExpSquareBrackets===0&&(this.templateString.length===0||this.templateString[0]>0)&&(o.comment===1?m==="*"&&(o.comment=0,i&&(n.comment.length=0)):o.regExp===0?e[a.index+1]==="*"?(o.comment=1,i&&(n.comment=[t+a.index])):e[a.index+1]==="/"?(o.singleLineComment=1,i&&(n.singleLineComment=[t+a.index])):ID.test(this.getNonSpacePrecedingToken(e,a.index))&&(o.regExp=1,i&&(n.regExp=[t+a.index])):p||(o.regExp=0,i&&(n.regExp.length=0))):a[2]?o.simpleString===0&&o.doubleString===0&&o.regExp===0&&o.comment===0&&o.singleLineComment===0&&(this.templateString.length===0||this.templateString[0]>0)&&(a[2]==="("?(o.parentheses++,i&&n.parentheses.push(t+a.index)):a[2]===")"&&o.parentheses>0&&(o.parentheses--,i&&n.parentheses.pop())):a[3]?o.simpleString===0&&o.doubleString===0&&o.regExp===0&&o.comment===0&&o.singleLineComment===0&&(this.templateString.length===0||this.templateString[0]>0)&&(a[3]==="{"?(this.templateString.length&&this.templateString[0]++,o.curlyBraces++,i&&n.curlyBraces.push(t+a.index)):a[3]==="}"&&(this.templateString.length&&this.templateString[0]>0&&this.templateString[0]--,o.curlyBraces>0&&(o.curlyBraces--,i&&n.curlyBraces.pop()))):a[4]?o.simpleString===0&&o.doubleString===0&&o.comment===0&&o.singleLineComment===0&&(this.templateString.length===0||this.templateString[0]>0)&&(o.regExp===1?p||(a[4]==="["&&o.regExpSquareBrackets===0?(o.regExpSquareBrackets=1,i&&(n.regExpSquareBrackets=[t+a.index])):a[4]==="]"&&o.regExpSquareBrackets===1&&(o.regExpSquareBrackets=0,i&&(n.regExpSquareBrackets.length=0))):a[4]==="["?(o.squareBrackets++,i&&n.squareBrackets.push(t+a.index)):a[4]==="]"&&o.squareBrackets>0&&(o.squareBrackets--,i&&n.squareBrackets.pop())):a[5]?o.simpleString===0&&o.doubleString===0&&o.comment===0&&o.singleLineComment===0&&o.regExp===0&&!p&&this.templateString[0]===0&&(this.templateString[0]=1,o.curlyBraces++,i&&n.curlyBraces.push(t+a.index)):a[6]?o.simpleString===0&&o.doubleString===0&&o.comment===0&&o.singleLineComment===0&&o.regExp===0&&!p&&(this.templateString?.[0]===0?this.templateString.shift():this.templateString.unshift(0)):a[7]?o.doubleString===0&&o.comment===0&&o.singleLineComment===0&&o.regExp===0&&!p&&(this.templateString.length===0||this.templateString[0]>0)&&(o.simpleString===0?(o.simpleString=1,i&&(n.simpleString=[t+a.index])):(o.simpleString=0,i&&(n.simpleString.length=0))):a[8]?o.simpleString===0&&o.comment===0&&o.singleLineComment===0&&o.regExp===0&&!p&&(this.templateString.length===0||this.templateString[0]>0)&&(o.doubleString===0?(o.doubleString=1,i&&(n.doubleString=[t+a.index])):(o.doubleString=0,i&&(n.doubleString.length=0))):a[9]&&(o.singleLineComment=0,i&&(n.singleLineComment.length=0))}getError(e,t,r){if(this.count.comment===0&&this.count.singleLineComment===0&&this.count.parentheses===0&&this.count.curlyBraces===0&&this.count.squareBrackets===0&&this.count.regExp===0&&this.count.regExpSquareBrackets===0&&this.count.simpleString===0&&this.count.doubleString===0)return null;this.debug||(this.debug=!0,this.compile(e,t,r));let o=this.debugCount;if(o.comment.length>0){let{line:i,column:n}=this.getLineAndColumn(t,o.comment[0]);return`Missing end of comment on line ${i} and column ${n}`}else if(o.regExp.length>0){let{line:i,column:n}=this.getLineAndColumn(t,o.regExp[0]);return`Missing end of regular expression on line ${i} and column ${n}`}else if(o.regExpSquareBrackets.length>0){let{line:i,column:n}=this.getLineAndColumn(t,o.regExpSquareBrackets[0]);return`Missing end of regular expression square brackets on line ${i} and column ${n}`}else if(o.simpleString.length>0){let{line:i,column:n}=this.getLineAndColumn(t,o.simpleString[0]);return`Missing end of single quote string on line ${i} and column ${n}`}else if(o.doubleString.length>0){let{line:i,column:n}=this.getLineAndColumn(t,o.doubleString[0]);return`Missing end of double quote string on line ${i} and column ${n}`}else if(o.parentheses.length>0){let{line:i,column:n}=this.getLineAndColumn(t,o.parentheses[0]);return`Missing end of parentheses on line ${i} and column ${n}`}else if(o.curlyBraces.length>0){let{line:i,column:n}=this.getLineAndColumn(t,o.curlyBraces[0]);return`Missing end of curly braces on line ${i} and column ${n}`}else if(o.squareBrackets.length>0){let{line:i,column:n}=this.getLineAndColumn(t,o.squareBrackets[0]);return`Missing end of square brackets on line ${i} and column ${n}`}else if(o.escapeTemplateString.length>0){let{line:i,column:n}=this.getLineAndColumn(t,o.escapeTemplateString[0]);return`Missing end of escaped template string on line ${i} and column ${n}`}return null}getLineAndColumn(e,t){let r=e.substring(0,t).split(`
111
+ `),o=r.length,i=r[r.length-1].length;return{line:o,column:i}}getNonSpacePrecedingToken(e,t){t--;let r=e[t];for(;r===" "||r===`
112
+ `||r===" ";)t--,r=e[t];return r||";"}removeMultilineComments(e){let t=new RegExp(DD),r,o=0,i=0,n="";for(;r=t.exec(e);)o===0&&(n+=e.substring(i,r.index)),r[0]==="/*"?o++:r[0]==="*/"&&o>0&&o--,i=t.lastIndex;return n+=e.substring(i),n}reset(){this.count={comment:0,singleLineComment:0,parentheses:0,curlyBraces:0,squareBrackets:0,regExp:0,regExpSquareBrackets:0,escapeTemplateString:0,simpleString:0,doubleString:0},this.debugCount={comment:[],singleLineComment:[],parentheses:[],curlyBraces:[],squareBrackets:[],regExp:[],regExpSquareBrackets:[],escapeTemplateString:[],simpleString:[],doubleString:[]},this.templateString=[]}};var Bb,Ub,zm,Xm=class{constructor(e){s(this,"url");x(this,Bb);x(this,Ub);x(this,zm,null);w(this,Bb,e.window),this.url=e.url,w(this,Ub,e.source)}async evaluate(){if(y(this,zm))return y(this,zm);let e;try{e=JSON.parse(y(this,Ub))}catch(t){throw new(y(this,Bb)).TypeError(`Failed to parse module "${this.url.href}": ${t.message}`)}return w(this,zm,{default:e}),y(this,zm)}async preload(){await this.evaluate()}};Bb=new WeakMap,Ub=new WeakMap,zm=new WeakMap;var Np,Gb,Lp,Cp=class{constructor(e){s(this,"url");x(this,Np);x(this,Gb,[]);x(this,Lp,null);w(this,Np,e.window),this.url=e.url}async evaluate(){throw new(y(this,Np)).TypeError("Unresolved module. We should never end up here.")}async preload(){throw new(y(this,Np)).TypeError("Unresolved module. We should never end up here.")}addResolveListener(e,t){if(y(this,Lp)){t(y(this,Lp));return}y(this,Gb).push({resolve:e,reject:t})}resolve(e){e&&w(this,Lp,e);for(let t of y(this,Gb))e?t.reject(e):t.resolve(null)}};Np=new WeakMap,Gb=new WeakMap,Lp=new WeakMap;import CA from"fs";import BD from"path";import UD from"child_process";var Hb=class{static getScript(e){let t={},r=Object.keys(e.headers).sort();for(let o of r)t[o]=e.headers[o];return`
113
+ const sendRequest = require('http${e.url.protocol==="https:"?"s":""}').request;
114
+ const options = ${JSON.stringify({method:e.method,headers:t,agent:!1,rejectUnauthorized:!e.disableStrictSSL,key:e.url.protocol==="https:"?tp.key:void 0,cert:e.url.protocol==="https:"?tp.cert:void 0},null,4)};
115
+ const request = sendRequest(${JSON.stringify(e.url.href)}, options, (incomingMessage) => {
116
+ let data = Buffer.alloc(0);
117
+ incomingMessage.on('data', (chunk) => {
118
+ data = Buffer.concat([data, Buffer.from(chunk)]);
119
+ });
120
+ incomingMessage.on('end', () => {
121
+ console.log(JSON.stringify({
122
+ error: null,
123
+ incomingMessage: {
124
+ statusCode: incomingMessage.statusCode,
125
+ statusMessage: incomingMessage.statusMessage,
126
+ rawHeaders: incomingMessage.rawHeaders,
127
+ data: data.toString('base64')
128
+ }
129
+ }));
130
+ });
131
+ incomingMessage.on('error', (error) => {
132
+ console.log(JSON.stringify({ error: error.message, incomingMessage: null }));
133
+ });
134
+ });
135
+ request.write(Buffer.from('${e.body?e.body.toString("base64"):""}', 'base64'));
136
+ request.end();
137
+ `}};import qb from"zlib";var lr,Gt,Wb,$b=class $b{constructor(e){s(this,"request");s(this,"redirectCount",0);s(this,"disableCache");s(this,"disableSameOriginPolicy");s(this,"interceptor");s(this,"requestHeaders");x(this,lr);x(this,Gt);x(this,Wb,null);w(this,lr,e.browserFrame),w(this,Gt,e.window),w(this,Wb,e.unfilteredHeaders??null),this.request=typeof e.url=="string"||e.url instanceof Ie?new e.window.Request(e.url,e.init):e.url,e.contentType&&(this.request[Oe]=e.contentType),this.redirectCount=e.redirectCount??0,this.disableCache=e.disableCache??!1,this.disableSameOriginPolicy=e.disableSameOriginPolicy??y(this,lr).page.context.browser.settings.fetch.disableSameOriginPolicy??!1,this.interceptor=y(this,lr).page.context.browser.settings.fetch.interceptor,this.requestHeaders=y(this,lr).page.context.browser.settings.fetch.requestHeaders}send(){if(Ms.prepareRequest(new Ie(y(this,Gt).location.href),this.request),this.requestHeaders){for(let r of this.requestHeaders)if(!r.url||(typeof r.url=="string"?r.url.startsWith(this.request.url):this.request.url.match(r.url)))for(let[o,i]of Object.entries(r.headers))this.request.headers.set(o,i)}if(this.interceptor?.beforeSyncRequest){let r=this.interceptor.beforeSyncRequest({request:this.request,window:y(this,Gt)});if(typeof r=="object")return r}if(Ri.validateSchema(this.request),this.request.signal[we])throw this.request.signal[ci]!==void 0?this.request.signal[ci]:new(y(this,Gt)).DOMException("signal is aborted without reason",A.abortError);if(this.request[Ce].protocol==="data:"){let r=Nm.parse(this.request.url),o={status:200,statusText:"OK",ok:!0,url:this.request.url,redirected:!1,headers:new(y(this,Gt)).Headers({"Content-Type":r.type}),body:r.buffer,[Eo]:null},i=this.interceptor?.afterSyncResponse?this.interceptor.afterSyncResponse({window:y(this,Gt),response:o,request:this.request}):void 0;return typeof i=="object"?i:o}if(this.request[Ce].protocol==="http:"&&y(this,Gt).location.protocol==="https:")throw new(y(this,Gt)).DOMException(`Mixed Content: The page at '${y(this,Gt).location.href}' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint '${this.request.url}'. This request has been blocked; the content must be served over HTTPS.`,A.securityError);let e=this.getCachedResponse();if(e)return e;let t=this.getVirtualServerResponse();if(t)return t;if(!this.compliesWithCrossOriginPolicy())throw y(this,Gt).console.warn(`Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at "${this.request.url}".`),new(y(this,Gt)).DOMException(`Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at "${this.request.url}".`,A.networkError);return this.sendRequest()}getCachedResponse(){if(this.disableCache)return null;let e=y(this,lr).page.context.responseCache.get(this.request);if(!e||e.response.waitingForBody)return null;if(e.state===Ba.stale){let t=new(y(this,Gt)).Headers(e.request.headers);if(e.etag)t.set("If-None-Match",e.etag);else{if(!e.lastModified)return null;t.set("If-Modified-Since",new Date(e.lastModified).toUTCString())}if(e.etag||!e.staleWhileRevalidate){let o=new $b({browserFrame:y(this,lr),window:y(this,Gt),url:this.request.url,init:{headers:t,method:e.request.method},disableCache:!0,disableSameOriginPolicy:!0}).send(),i=o.status!==304?o.body:null;if(e=y(this,lr).page.context.responseCache.add(this.request,{...o,body:i,waitingForBody:!1}),o.status!==304)return o}else new zo({browserFrame:y(this,lr),window:y(this,Gt),url:this.request.url,init:{headers:t,method:e.request.method},disableCache:!0,disableSameOriginPolicy:!0}).send().then(o=>{o.buffer().then(i=>{y(this,lr).page.context.responseCache.add(this.request,{...o,body:i,waitingForBody:!1})})})}return!e||e.response.waitingForBody?null:{status:e.response.status,statusText:e.response.statusText,ok:!0,url:e.response.url,redirected:!1,headers:e.response.headers,body:e.response.body,[Eo]:e.response[Eo]||null}}getVirtualServerResponse(){let e=Os.getFilepath(y(this,Gt),this.request.url);if(!e)return null;if(this.request.method!=="GET"){y(this,lr).page.console.error(`${this.request.method} ${this.request.url} 404 (Not Found)`);let n=Os.getNotFoundSyncResponse(y(this,Gt),this.request.url),a=this.interceptor?.afterSyncResponse?this.interceptor.afterSyncResponse({window:y(this,Gt),response:n,request:this.request}):void 0;return typeof a=="object"?a:n}let t;try{e=CA.statSync(e).isDirectory()?BD.join(e,"index.html"):e,t=CA.readFileSync(e)}catch{y(this,lr).page.console.error(`${this.request.method} ${this.request.url} 404 (Not Found)`);let n=Os.getNotFoundSyncResponse(y(this,Gt),this.request.url),a=this.interceptor?.afterSyncResponse?this.interceptor.afterSyncResponse({window:y(this,Gt),response:n,request:this.request}):void 0;return typeof a=="object"?a:n}let r={status:200,statusText:"",ok:!0,url:this.request.url,redirected:!1,headers:new(y(this,Gt)).Headers,body:t,[Eo]:e},o=this.interceptor?.afterSyncResponse?this.interceptor.afterSyncResponse({window:y(this,Gt),response:r,request:this.request}):void 0,i=typeof o=="object"?o:r;return y(this,lr).page.context.responseCache.add(this.request,{...i,waitingForBody:!1,virtual:!0}),i}compliesWithCrossOriginPolicy(){if(this.disableSameOriginPolicy||!Mi.isCORS(y(this,Gt).location.href,this.request[Ce]))return!0;let e=y(this,lr).page.context.preflightResponseCache.get(this.request);if(e)return!(e.allowOrigin!=="*"&&e.allowOrigin!==y(this,Gt).location.origin||e.allowMethods.length!==0&&!e.allowMethods.includes(this.request.method));let t=[];for(let[m]of this.request.headers)t.push(m.toLowerCase());let r=new(y(this,Gt)).Headers({"Access-Control-Request-Method":this.request.method,Origin:y(this,Gt).location.origin});t.length>0&&r.set("Access-Control-Request-Headers",t.slice().sort().join(","));let i=new $b({browserFrame:y(this,lr),window:y(this,Gt),url:this.request.url,init:{method:"OPTIONS"},disableCache:!0,disableSameOriginPolicy:!0,unfilteredHeaders:r}).send();if(!i.ok)return!1;let n=i.headers.get("Access-Control-Allow-Origin");if(!n||n!=="*"&&n!==y(this,Gt).location.origin)return!1;let a=[];if(i.headers.has("Access-Control-Allow-Methods")){let m=i.headers.get("Access-Control-Allow-Methods");if(m!=="*")for(let p of m.split(","))a.push(p.trim().toUpperCase())}return!(a.length!==0&&!a.includes(this.request.method))}sendRequest(){if(!this.request[fs]&&this.request.body)throw new(y(this,Gt)).DOMException("Streams are not supported as request body for synchronous requests.",A.notSupportedError);let e=Hb.getScript({url:this.request[Ce],method:this.request.method,headers:Rs.getRequestHeaders({browserFrame:y(this,lr),window:y(this,Gt),request:this.request,baseHeaders:y(this,Wb)}),disableStrictSSL:y(this,lr).page.context.browser.settings.fetch.disableStrictSSL,body:this.request[fs]}),t=UD.execFileSync(process.argv[0],["-e",e],{encoding:"buffer",maxBuffer:1024*1024*1024});if(!t.length)throw new(y(this,Gt)).DOMException(`Synchronous fetch to "${this.request.url}" failed.`,A.networkError);let{error:r,incomingMessage:o}=JSON.parse(t.toString());if(r)throw new(y(this,Gt)).DOMException(`Synchronous fetch to "${this.request.url}" failed. Error: ${r}`,A.networkError);let i=km.parseResponseHeaders({browserFrame:y(this,lr),requestURL:this.request[Ce],rawHeaders:o.rawHeaders}),n={status:o.statusCode,statusText:o.statusMessage,ok:o.statusCode>=200&&o.statusCode<300,url:this.request.url,redirected:this.redirectCount>0,headers:i,body:this.parseIResponseBody({headers:i,status:o.statusCode,body:Buffer.from(o.data,"base64")})},a=this.handleRedirectResponse(n)||n;!this.disableCache&&!a.redirected&&y(this,lr).page.context.responseCache.add(this.request,{status:a.status,statusText:a.statusText,url:a.url,headers:a.headers,body:a.body,waitingForBody:!1});let m=this.interceptor?.afterSyncResponse?this.interceptor.afterSyncResponse({window:y(this,Gt),response:a,request:this.request}):void 0,p=typeof m=="object"?m:a;return p.ok||y(this,lr).page.console.error(`${this.request.method} ${this.request.url} ${p.status} (${p.statusText})`),p}parseIResponseBody(e){let t=e.headers.get("Content-Encoding");if(this.request.method==="HEAD"||t===null||e.status===204||e.status===304)return e.body;try{if(t==="gzip"||t==="x-gzip")return qb.gunzipSync(e.body,{flush:qb.constants.Z_SYNC_FLUSH,finishFlush:qb.constants.Z_SYNC_FLUSH});if(t==="deflate"||t==="x-deflate")return qb.inflateSync(e.body);if(t==="br")return qb.brotliDecompressSync(e.body)}catch(r){throw new(y(this,Gt)).DOMException(`Failed to read response body. Error: ${r.message}.`,A.encodingError)}return e.body}handleRedirectResponse(e){if(!Dl.isRedirect(e.status))return null;switch(this.request.redirect){case"error":throw new(y(this,Gt)).DOMException(`URI requested responds with a redirect, redirect mode is set to "error": ${this.request.url}`,A.abortError);case"manual":return null;case"follow":let t=e.headers.get("Location"),r=e.status===303||(e.status===301||e.status===302)&&this.request.method==="POST",o=null;if(t!==null)try{o=new Ie(t,this.request.url)}catch{throw new(y(this,Gt)).DOMException(`URI requested responds with an invalid redirect URL: ${t}`,A.uriMismatchError)}if(o===null)return null;if(Dl.isMaxRedirectsReached(this.redirectCount))throw new(y(this,Gt)).DOMException(`Maximum redirects reached at: ${this.request.url}`,A.networkError);let i=new(y(this,Gt)).Headers(this.request.headers),n={method:this.request.method,signal:this.request.signal,referrer:this.request.referrer,referrerPolicy:this.request.referrerPolicy,credentials:this.request.credentials,headers:i,body:this.request[fs]};(this.request.credentials==="omit"||this.request.credentials==="same-origin"&&Mi.isCORS(y(this,Gt).location.href,o))&&(i.delete("cookie"),i.delete("cookie2")),r&&(n.method="GET",n.body=void 0,i.delete("Content-Length"),i.delete("Content-Type"));let a=Ms.getReferrerPolicyFromHeader(i);return a&&(n.referrerPolicy=a),new $b({browserFrame:y(this,lr),window:y(this,Gt),url:o,init:n,redirectCount:this.redirectCount+1,contentType:r?null:this.request[Oe]}).send();default:throw new(y(this,Gt)).DOMException(`Redirect option '${this.request.redirect}' is not a valid value of IRequestRedirect`)}}};lr=new WeakMap,Gt=new WeakMap,Wb=new WeakMap;var Ym=$b;var Wl=class{constructor(e){s(this,"window");this.window=e}async fetch(e,t,r){let o=new it(this.window).getBrowserFrame();if(!o)return{content:"",virtualServerFile:null};if(t==="script"||t==="style"){let a=Bn.getKey({url:String(e),destination:t,mode:"cors",credentialsMode:r?.credentials||"same-origin"}),m=this.window.document[xo].get(a);if(m){this.window.document[xo].delete(a);let p=m.response||await m.onResponseAvailable();if(p&&!p.ok)throw new this.window.DOMException(`Failed to perform request to "${new Ie(e,this.window.location.href).href}". Status ${m.response?.status||"0"} ${m.response?.statusText||"Unknown"}.`);return{content:m.response?.[Ct]?.toString()||"",virtualServerFile:m.response?.[Eo]||null}}}let n=await new zo({browserFrame:o,window:this.window,url:e,disableSameOriginPolicy:t==="script"||t==="style",disablePreload:!0,init:{credentials:r?.credentials,referrerPolicy:r?.referrerPolicy}}).send();if(!n.ok)throw new this.window.DOMException(`Failed to perform request to "${new Ie(e,this.window.location.href).href}". Status ${n.status} ${n.statusText}.`);return{content:await n.text(),virtualServerFile:n[Eo]||null}}fetchSync(e,t,r){let o=new it(this.window).getBrowserFrame();if(!o)return{content:"",virtualServerFile:null};if(t==="script"||t==="style"){let a=Bn.getKey({url:String(e),destination:t,mode:"cors",credentialsMode:r?.credentials||"same-origin"}),m=this.window.document[xo].get(a);if(m&&m.response){if(this.window.document[xo].delete(a),!m.response.ok)throw new this.window.DOMException(`Failed to perform request to "${new Ie(e,this.window.location.href).href}". Status ${m.response.status} ${m.response.statusText}.`);return{content:m.response?.[Ct]?.toString()||"",virtualServerFile:m.response?.[Eo]||null}}}let n=new Ym({browserFrame:o,window:this.window,url:e,disableSameOriginPolicy:!0,init:{credentials:r?.credentials,referrerPolicy:r?.referrerPolicy}}).send();if(!n.ok)throw new this.window.DOMException(`Failed to perform request to "${new Ie(e,this.window.location.href).href}". Status ${n.status} ${n.statusText}.`);return{content:n.body?.toString()||"",virtualServerFile:n[Eo]||null}}};var xi=class{constructor(e,t){s(this,"window");s(this,"parentURL");this.window=e,this.parentURL=t}async getModule(e,t){let r=this.window,o=this.parentURL,i=Bs.getURL(r,o,e),n=i.href,a=t?.with?.type||"esm";if(a!=="esm"&&a!=="css"&&a!=="json")throw new r.TypeError(`Failed to import module "${i}" from "${o}": Unknown type "${a}"`);let m=r[Ln][a].get(n);if(m)return m instanceof Cp?(await new Promise((j,et)=>{m.addResolveListener(j,et)}),r[Ln][a].get(n)):m;if(!new it(r).getBrowserFrame())throw new r.TypeError(`Failed to import module "${i}" from "${o}": Window is closed and is no longer attached to a frame`);let b=new Cp({window:r,url:i}),d=r[li],f=d.startTask();r[Ln][a].set(n,b);let v=new Wl(r),C;try{C=await v.fetch(i,"module")}catch(j){throw d.endTask(f),b.resolve(j),j}d.endTask(f);let L;switch(a){case"json":L=new Xm({window:r,url:i,source:C.content});break;case"css":L=new jm({window:r,url:i,source:C.content});break;case"esm":L=new jl({window:r,url:i,source:C.content,sourceURL:C.virtualServerFile});break}return r[Ln][a].set(n,L),b.resolve(),L}async importModule(e,t){let r=new it(this.window).getBrowserFrame();if(!r)return{};let o=r[bt],i=o?.startTask(),a=await(await this.getModule(e,t)).evaluate();return o.endTask(i),a}};var HD={imports:[],execute:async()=>{}},kA,jb,zb,Xb,Lu,Km,zl,Yb,P0;kA=u;var w0=class w0{constructor(e){x(this,Yb);s(this,"url");s(this,kA);x(this,jb);x(this,zb);x(this,Xb,!1);x(this,Lu,null);x(this,Km,null);x(this,zl,null);this[u]=e.window,this.url=e.url,w(this,jb,e.source),w(this,zb,e.sourceURL||null)}async evaluate(e=[],t=null){if(y(this,zl))return e.includes(this.url.href)?(t&&y(this,zl).push(t),y(this,Km)):new Promise(C=>{y(this,zl).push(C)});if(y(this,Km))return y(this,Km);let r=D(this,Yb,P0).call(this),o=[],i=this[u],n=new it(i).getBrowserFrame(),a=new xi(i,this.url);if(!n)return{};let m={};w(this,Km,m),w(this,zl,[]);for(let C of r.imports)o.push(a.getModule(C.url,{with:{type:C.type}}));let p=new Map,b=null,d=()=>{b&&b()};if(o.length){let C=await Promise.all(o),L=[...e,this.url.href];for(let j of C)if(j instanceof w0){let et=await j.evaluate(L,d);p.set(j.url.href,et)}else{let et=await j.evaluate();p.set(j.url.href,et)}}let f=this.url.href;r.execute({dispatchError:i[ce].bind(i),dynamicImport:a.importModule.bind(a),importMeta:{url:f,resolve:C=>new GD(C,f).href},imports:p,exports:m,addCircularImportResolver:C=>b=C});let v=y(this,zl);w(this,zl,null);for(let C of v)C(m);return m}async preload(){if(y(this,Xb))return;w(this,Xb,!0);let e=D(this,Yb,P0).call(this),t=[],r=this[u],o=new it(r).getBrowserFrame(),i=new xi(r,this.url);if(!o)return;for(let m of e.imports)t.push(i.getModule(m.url,{with:{type:m.type}}));let n=await Promise.all(t),a=[];for(let m of n)a.push(m.preload());await Promise.all(a)}};jb=new WeakMap,zb=new WeakMap,Xb=new WeakMap,Lu=new WeakMap,Km=new WeakMap,zl=new WeakMap,Yb=new WeakSet,P0=function(){if(y(this,Lu))return y(this,Lu);w(this,Lu,HD);let e=new _b(this[u]);return w(this,Lu,e.compile(this.url.href,y(this,jb),y(this,zb))),y(this,Lu)};var jl=w0;import{Script as qD}from"vm";var Xl=class{static evaluate(e,t){if(!e.window)throw new Error('The frame has been destroyed, the "window" property is not set.');return t=typeof t=="string"?new qD(t):t,t.runInContext(e.window)}static async evaluateModule(e,t){if(!e.window)throw new Error('The frame has been destroyed, the "window" property is not set.');let r=e.window;if(t?.code){let o=t.url?new URL(t.url,r.location.href):r.location,i=t.code;switch(t?.type||"esm"){case"esm":return await new jl({window:r,url:o,source:i}).evaluate();case"json":return await new Xm({window:r,url:o,source:i}).evaluate();case"css":return await new jm({window:r,url:o,source:i}).evaluate()}}return t?.url?await(await new xi(r,r.location).getModule(t.url,{with:{type:t.type||"esm"}})).evaluate():{}}};var Jm=class{constructor(){s(this,"currentItem",{title:"",href:"about:blank",state:null,popState:!1,scrollRestoration:is.auto,method:"GET",formData:null});s(this,"items",[this.currentItem])}push(e){let t=this.items.indexOf(this.currentItem);t!==this.items.length-1&&(this.items.length=t+1),this.items.push(e),this.currentItem=e}replace(e){let t=this.items.indexOf(this.currentItem);if(t!==this.items.length-1&&(this.items.length=t+1),t===-1)throw new Error("Current history item not found");this.currentItem=e,this.items[t]=e}clear(){this.items.length=0,this.currentItem={title:"",href:"about:blank",state:null,popState:!1,scrollRestoration:is.auto,method:"GET",formData:null},this.items.push(this.currentItem)}};var MA,RA,OA,VA,IA,DA;DA=bt,IA=fe,VA=wo,OA=Xi,RA=yl,MA=je;var Cu=class{constructor(e){s(this,"childFrames",[]);s(this,"parentFrame",null);s(this,"page");s(this,"closed",!1);s(this,DA,new ts(this));s(this,IA,{navigation:[]});s(this,VA,null);s(this,OA,null);s(this,RA,!1);s(this,MA,new Jm);this.page=e,e.context.browser.contexts[0]?.pages[0]?.mainFrame&&(this.window=new this.page.context.browser.windowClass(this),e.context.browser[_r]&&e.context.browser[_r].observe(this.window))}get content(){if(!this.window)throw new Error('The frame has been destroyed, the "window" property is not set.');return this.window.document.documentElement.outerHTML}set content(e){if(!this.window)throw new Error('The frame has been destroyed, the "window" property is not set.');this.window.document[Qs]=!0,this.window.document[tn]=!1,this.window.document.open(),this.window.document.write(e)}get url(){if(!this.window)throw new Error('The frame has been destroyed, the "window" property is not set.');return this.window.location.href}set url(e){if(!this.window)throw new Error('The frame has been destroyed, the "window" property is not set.');this.window[ai][ao](this,vo.getRelativeURL(this,e).href)}get document(){return this.window?.document??null}async waitUntilComplete(){await Promise.all([this[bt].waitUntilComplete(),...this.childFrames.map(e=>e.waitUntilComplete())])}waitForNavigation(){return new Promise(e=>this[fe].navigation.push(e))}abort(){return this.childFrames.length?new Promise((e,t)=>{Promise.all(this.childFrames.map(r=>r.abort()).concat([this[bt].abort()])).then(()=>e()).catch(t)}):this[bt].abort()}evaluate(e){return Xl.evaluate(this,e)}evaluateModule(e){return Xl.evaluateModule(this,e)}goto(e,t){return so.navigate({windowClass:this.page.context.browser.windowClass,frame:this,url:e,goToOptions:t})}goBack(e){return so.navigateBack({windowClass:this.page.context.browser.windowClass,frame:this,goToOptions:e})}goForward(e){return so.navigateForward({windowClass:this.page.context.browser.windowClass,frame:this,goToOptions:e})}goSteps(e,t){return so.navigateSteps({windowClass:this.page.context.browser.windowClass,frame:this,steps:e,goToOptions:t})}reload(e){return so.reload({windowClass:this.page.context.browser.windowClass,frame:this,goToOptions:e})}};var kp=class{static validateCrossOriginPolicy(e,t){let r=e.page.context.browser.settings,o=e.page.mainFrame.window.location;return e[wo]?o=e[wo].window.location:e.parentFrame&&(o=e.parentFrame.window.location),!(r.navigation.crossOriginPolicy===Tp.sameOrigin&&o.protocol!=="about:"&&t.protocol!=="about:"&&t.protocol!=="javascript:"&&o.origin!==t.origin||r.navigation.crossOriginPolicy===Tp.strictOrigin&&o.protocol==="https:"&&t.protocol==="http:")}static validateFrameNavigation(e){let t=e.page.context.browser.settings;return!(e instanceof Cu&&e.page.context===e.page.context.browser.defaultContext&&e.page.context.pages[0]===e.page&&e.page.mainFrame===e||t.navigation.disableMainFrameNavigation&&e.page.mainFrame===e||t.navigation.disableChildFrameNavigation&&e.page.mainFrame!==e||t.navigation.disableChildPageNavigation&&e[wo])}};var so=class l{static async navigate(e){let{windowClass:t,frame:r,url:o,formData:i,method:n,goToOptions:a,disableHistory:m}=e,p=r.page.context.browser[_r],b=a?.referrer||r.window.location.origin,d=vo.getRelativeURL(r,o),f=new URL(d.href.split("#")[0]),v=new URL(r.url.split("#")[0]),C=()=>{let ur=r[fe].navigation;r[fe].navigation=[];for(let ii of ur)ii()};if(!r.window)throw new Error('The frame has been destroyed, the "window" property is not set.');if(f.href===v.href&&d.hash&&d.hash!==r.window?.location.hash){let ur=r[je];return m||(ur.currentItem.popState=!0,ur.push({title:"",href:d.href,state:null,popState:!0,scrollRestoration:is.manual,method:n||(i?"POST":"GET"),formData:i||null})),r.window.location[ao](r,d.href),null}if(d.protocol==="javascript:"){if(r&&r.page.context.browser.settings.enableJavaScriptEvaluation){let ur=r.window[li],ii=r[bt],ba=ur.startTask(),_g=d.href.replace("javascript:","");await new Promise(ee=>{r.window.requestAnimationFrame(()=>{let AV=setImmediate(()=>{ii.endTask(TV),ee(null)}),TV=ii.startTask(()=>()=>{clearImmediate(AV),ee(null)});r.window[zi](_g,{filename:r.url})})}),ur.endTask(ba),C()}return null}if(!kp.validateCrossOriginPolicy(r,d))return null;if(!kp.validateFrameNavigation(r))return r.page.context.browser.settings.navigation.disableFallbackToSetURL||r.window.location[ao](r,d.href),null;m||r[je].push({title:"",href:d.href,state:null,popState:!1,scrollRestoration:is.auto,method:n||(i?"POST":"GET"),formData:i||null});let L=r.window,j=r[bt],et=L.innerWidth,J=L.innerHeight,ht=L.devicePixelRatio,$t=r.parentFrame?r.parentFrame.window:r.page.mainFrame.window,Nt=r.page.mainFrame.window;r[bt]=new ts(r),r.window=new t(r,{url:d.href,width:et,height:J}),r.window[Oo]=$t,r.window[Ji]=Nt,r.window.devicePixelRatio=ht,p&&p.observe(r.window),b&&(r.window.document[Kr]=b);let te=r[bt].startTask(),Lt=()=>{j.destroy().then(()=>{p&&p.disconnect(L),r[bt].endTask(te)}),L[ue]()};if(r.childFrames.length?Promise.all(r.childFrames.map(ur=>_s.destroyFrame(ur))).then(Lt):Lt(),d.protocol==="about:")return a?.beforeContentCallback&&a.beforeContentCallback(r.window),r.page.context.browser.settings.navigation.beforeContentCallback&&r.page.context.browser.settings.navigation.beforeContentCallback(r.window),await new Promise(ur=>r.page.mainFrame.window.requestAnimationFrame(ur)),C(),null;let er=r.window[li],Fr=r[bt],ds=new r.window.AbortController,qi=setTimeout(()=>{Fr.endTimer(qi),ds.abort(new r.window.DOMException("The operation was aborted. Request timed out.",A.timeoutError))},a?.timeout??3e4);Fr.startTimer(qi);let Dg=er.startTask(),bh=()=>{clearTimeout(qi),Fr.endTimer(qi),er.endTask(Dg),C()},fh=new r.window.Headers(a?.headers),$i,gh;a?.hard&&fh.set("Cache-Control","no-cache");let Fg=new zo({browserFrame:r,window:r.window,url:d.href,disableSameOriginPolicy:!0,init:{referrer:b,referrerPolicy:a?.referrerPolicy||"origin",signal:ds.signal,method:n||(i?"POST":"GET"),headers:fh,body:i}});try{if($i=await Fg.send(),r.parentFrame){let ur=r.parentFrame.window.location,ii=$i.headers?.get("X-Frame-Options")?.toLowerCase(),ba=ur.origin===d.origin||d.origin==="null";if(ii==="deny"||ii==="sameorigin"&&!ba)throw new Error(`Refused to display '${o}' in a frame because it set 'X-Frame-Options' to '${ii}'.`)}gh=await $i.text()}catch(ur){throw bh(),ur}return r.window?($i.url&&r.window[ai][ao](r,$i.url),$i.ok||r.page.console.error(`GET ${d.href} ${$i.status} (${$i.statusText})`),a?.beforeContentCallback&&a.beforeContentCallback(r.window),r.page.context.browser.settings.navigation.beforeContentCallback&&r.page.context.browser.settings.navigation.beforeContentCallback(r.window),await new Promise(ur=>{r.window.requestAnimationFrame(()=>{let ii,ba=Fr.startTask(()=>()=>{clearImmediate(ii),ur(null)});ii=setImmediate(()=>{Fr.endTask(ba),ur(null)}),r.content=gh})}),bh(),$i):null}static navigateBack(e){let{windowClass:t,frame:r,goToOptions:o}=e,i=r[je],n=i.items[i.items.indexOf(i.currentItem)-1];if(!n)return new Promise(p=>{r.window.requestAnimationFrame(()=>{let b=r[fe].navigation;r[fe].navigation=[];for(let d of b)d();p(null)})});let a=new URL(i.currentItem.href).origin,m=new URL(n.href).origin;return i.currentItem=n,!n.popState||a!==m?l.navigate({windowClass:t,frame:r,goToOptions:{...o,referrer:r.url},url:n.href,method:n.method,formData:n.formData,disableHistory:!0}):(r.window.location[ao](r,n.href),r.window.dispatchEvent(new r.window.PopStateEvent("popstate",{state:n.state,hasUAVisualTransition:!1})),Promise.resolve(null))}static navigateForward(e){let{windowClass:t,frame:r,goToOptions:o}=e,i=r[je],n=i.items[i.items.indexOf(i.currentItem)+1];if(!n)return new Promise(p=>{r.window.requestAnimationFrame(()=>{let b=r[fe].navigation;r[fe].navigation=[];for(let d of b)d();p(null)})});let a=new URL(i.currentItem.href).origin,m=new URL(n.href).origin;return i.currentItem=n,!n.popState||a!==m?l.navigate({windowClass:t,frame:r,goToOptions:{...o,referrer:r.url},url:n.href,method:n.method,formData:n.formData,disableHistory:!0}):(r.window.location[ao](r,n.href),r.window.dispatchEvent(new r.window.PopStateEvent("popstate",{state:n.state,hasUAVisualTransition:!1})),Promise.resolve(null))}static navigateSteps(e){if(!e.steps)return this.reload(e);let{windowClass:t,frame:r,goToOptions:o,steps:i}=e,n=r[je],a=n.items.indexOf(n.currentItem),m=a+i,p=n.items[m];if(!p)return new Promise(f=>{r.window.requestAnimationFrame(()=>{let v=r[fe].navigation;r[fe].navigation=[];for(let C of v)C();f(null)})});let b=new URL(n.currentItem.href).origin,d=!0;if(i<0){for(let f=a;f>m;f--)if(!n.items[f].popState||b!==new URL(n.items[f].href).origin){d=!1;break}}else for(let f=a;f<m;f++)if(!n.items[f].popState||b!==new URL(n.items[f].href).origin){d=!1;break}return n.currentItem=p,d?(r.window.location[ao](r,p.href),r.window.dispatchEvent(new r.window.PopStateEvent("popstate",{state:p.state,hasUAVisualTransition:!1})),Promise.resolve(null)):l.navigate({windowClass:t,frame:r,goToOptions:{...o,referrer:r.url},url:p.href,method:p.method,formData:p.formData,disableHistory:!0})}static reload(e){let{windowClass:t,frame:r,goToOptions:o}=e,i=r[je];return l.navigate({windowClass:t,frame:r,goToOptions:{...o,referrer:r.url},url:i.currentItem.href,method:i.currentItem.method,formData:i.currentItem.formData,disableHistory:!0})}};var Zm=class extends ki{get value(){for(let e of this[Y])if(e.checked)return e.value;return null}};var FA,_A,Kb,x0,E0=class E0 extends B{constructor(){super();x(this,Kb);s(this,_A,null);s(this,FA);let t=new xe(this,[E0,B,dr,gt,_t]),r=new Proxy(this,{get:(o,i)=>{if(i==="length")return o[Ro]().length;if(i in o||typeof i=="symbol")return t.bind(i),o[i];let n=Number(i);return isNaN(n)?o[Th](i)||void 0:o[Ro]()[n]},set(o,i,n){if(t.bind(i),typeof i=="symbol")return o[i]=n,!0;let a=Number(i);return isNaN(a)&&(o[i]=n),!0},deleteProperty(o,i){if(typeof i=="symbol")return delete o[i],!0;let n=Number(i);return isNaN(n)&&delete o[i],!0},ownKeys(o){return Object.keys(o[Ro]())},has(o,i){if(i in o)return!0;if(typeof i=="symbol")return!1;let n=o[Ro](),a=Number(i);if(!isNaN(a)&&a>=0&&a<n.length)return!0;i=String(i);for(let m=0;m<n.length;m++){let p=n[m],b=p.getAttribute("id")||p.getAttribute("name");if(b&&b===i)return!0}return!1},defineProperty(o,i,n){if(t.preventBinding(i),!n.value)return Object.defineProperty(o,i,n),!0;let a=Number(n.value);return isNaN(a)?(Object.defineProperty(o,i,n),!0):!1},getOwnPropertyDescriptor(o,i){if(i in o)return Object.getOwnPropertyDescriptor(o,i);let n=o[Ro](),a=Number(i);if(!isNaN(a)&&a>=0&&a<n.length)return{value:n[a],writable:!1,enumerable:!0,configurable:!0};for(let m=0;m<n.length;m++){let p=n[m],b=p.getAttribute("id")||p.getAttribute("name");if(b&&b===i)return{value:p,writable:!1,enumerable:!0,configurable:!0}}}});return this[Ut]=r,this[Bt]=r,r}get onformdata(){return S.getEventListener(this,"onformdata")}set onformdata(t){this[h].set("onformdata",t)}get onreset(){return S.getEventListener(this,"onreset")}set onreset(t){this[h].set("onreset",t)}get onsubmit(){return S.getEventListener(this,"onsubmit")}set onsubmit(t){this[h].set("onsubmit",t)}get elements(){return this[rn]||(this[rn]=new Nu(c,this)),this[rn]}get length(){return this[Ro]().length}get name(){return this.getAttribute("name")||""}set name(t){this.setAttribute("name",t)}get method(){return this.getAttribute("method")||"get"}set method(t){this.setAttribute("method",t)}get target(){return this.getAttribute("target")||""}set target(t){this.setAttribute("target",t)}get action(){if(!this.hasAttribute("action"))return this[T].location.href;try{return new URL(this.getAttribute("action"),this[T].location.href).href}catch{return""}}set action(t){this.setAttribute("action",t)}get encoding(){return this.getAttribute("encoding")||""}set encoding(t){this.setAttribute("encoding",t)}get enctype(){return this.getAttribute("enctype")||""}set enctype(t){this.setAttribute("enctype",t)}get autocomplete(){return this.getAttribute("autocomplete")||""}set autocomplete(t){this.setAttribute("autocomplete",t)}get acceptCharset(){return this.getAttribute("acceptcharset")||""}set acceptCharset(t){this.setAttribute("acceptcharset",t)}get noValidate(){return this.getAttribute("novalidate")!==null}set noValidate(t){t?this.setAttribute("novalidate",""):this.removeAttribute("novalidate")}submit(){D(this,Kb,x0).call(this)}requestSubmit(t){if(t?.formNoValidate||this.noValidate||this.checkValidity()){let o=new au("submit",{bubbles:!0,cancelable:!0,submitter:t||this[Ut]});this.dispatchEvent(o),o.defaultPrevented||D(this,Kb,x0).call(this,t)}}reset(){for(let t of this[Ro]())switch(t[tt]){case"TEXTAREA":t[Z]=null;break;case"INPUT":t[Z]=null,t[fa]=null;break;case"OUTPUT":t.textContent=t[Vo];break;case"SELECT":let r=!1;for(let o of t.options)if(o.hasAttribute("selected")){r=!0,o.selected=!0;break}!r&&t.options.length>0&&(t.options[0].selected=!0);break}this.dispatchEvent(new R("reset",{bubbles:!0,cancelable:!0}))}checkValidity(){let t={},r=!0;for(let o of this[Ro]())o[tt]==="INPUT"&&o.type==="radio"&&o.name?t[o.name]||(t[o.name]=!0,o.checkValidity()||(r=!1)):o.checkValidity()||(r=!1);return r}reportValidity(){return this.checkValidity()}[(_A=rn,FA=Ut,ct)](t=!1){return super[ct](t)}[Ro](){let t=ut.querySelectorAll(this,"input,select,textarea,button,fieldset,object,output")[Y].slice();if(this[nt]){let r=this.getAttribute("id");if(r)for(let o of ut.querySelectorAll(this[T],`input[form="${r}"],select[form="${r}"],textarea[form="${r}"],button[form="${r}"],fieldset[form="${r}"],object[form="${r}"],output[form="${r}"]`)[Y])t.includes(o)||t.push(o)}return t}[Th](t){let r=this[Ro](),o=[];t=String(t);for(let i of r)(i.getAttribute("id")===t||i.getAttribute("name")===t)&&o.push(i);return o.length?o.length===1?o[0]:new Zm(c,o):null}};Kb=new WeakSet,x0=function(t){let r=t?.formMethod||this.method;if(r==="dialog"){let m=null,p=this;for(;p;){if(p[tt]==="DIALOG"){m=p;break}p=p.parentElement}if(m){m.close(t?.value);return}}let o=t?.hasAttribute("formaction")?t?.formAction||this.action:this.action,i=new it(this[u]).getBrowserFrame();if(!i)return;if(!o){this[T].location.hash="#blocked";return}let n=new this[u].FormData(this,t),a;switch(t?.formTarget||this.target){default:case"_self":a=i;break;case"_top":a=i.page.mainFrame;break;case"_parent":a=i.parentFrame??i;break;case"_blank":a=i.page.context.newPage().mainFrame,a[wo]=i;break}if(r==="get"){let m=new URL(o);m.search="";for(let[p,b]of n)typeof b=="string"&&m.searchParams.append(p,b);so.navigate({windowClass:this[T][Po]?.constructor,frame:a,url:m.href,goToOptions:{referrer:i.page.mainFrame.window.location.origin}});return}so.navigate({windowClass:this[T][Po]?.constructor,frame:a,method:r,url:o,formData:n,goToOptions:{referrer:i.page.mainFrame.window.location.origin}})};var Mp=E0;var Rp=class extends B{};var Op=class extends B{};var Vp=class extends B{};var Ip=class extends B{};var BA,UA,Kn,Yl=class extends(UA=_t,BA=Ra,UA){constructor(t,r){super();s(this,"window",this);s(this,"location");s(this,BA,this);x(this,Kn);this[Oo]=r??this,this[Ji]=r??this,this.location=new Proxy({},{get:()=>{throw new Ht(`Blocked a frame with origin "${this.parent.location.origin}" from accessing a cross-origin frame.`,A.securityError)},set:()=>{throw new Ht(`Blocked a frame with origin "${this.parent.location.origin}" from accessing a cross-origin frame.`,A.securityError)}}),w(this,Kn,t)}get self(){return this[Ra]}set self(t){this[Ra]=t}get top(){return this[Ji]}get parent(){return this[Oo]}set parent(t){this[Oo]=t}get opener(){return y(this,Kn).opener}get closed(){return y(this,Kn).closed}blur(){y(this,Kn).blur()}focus(){y(this,Kn).focus()}close(){y(this,Kn).close()}postMessage(t,r="*",o){y(this,Kn).postMessage(t,r,o)}};Kn=new WeakMap;var $D=["allow-downloads","allow-forms","allow-modals","allow-orientation-lock","allow-pointer-lock","allow-popups","allow-popups-to-escape-sandbox","allow-presentation","allow-same-origin","allow-scripts","allow-top-navigation","allow-top-navigation-by-user-activation","allow-top-navigation-to-custom-protocols"],GA,ku,br,Qm,Ei,HA,Jb,Zb,Dp=class extends B{constructor(){super(...arguments);x(this,Ei);s(this,GA,null);x(this,ku,{window:null});x(this,br,null);x(this,Qm,null)}get onload(){return S.getEventListener(this,"onload")}set onload(t){this[h].set("onload",t)}get onerror(){return S.getEventListener(this,"onerror")}set onerror(t){this[h].set("onerror",t)}get src(){if(!this.hasAttribute("src"))return"";try{return new URL(this.getAttribute("src"),this[T].location.href).href}catch{return this.getAttribute("src")}}set src(t){this.setAttribute("src",t)}get allow(){return this.getAttribute("allow")||""}set allow(t){this.setAttribute("allow",t)}get height(){return this.getAttribute("height")||""}set height(t){this.setAttribute("height",t)}get width(){return this.getAttribute("width")||""}set width(t){this.setAttribute("width",t)}get name(){return this.getAttribute("name")||""}set name(t){this.setAttribute("name",t)}get sandbox(){return this[vh]||(this[vh]=new bo(c,this,"sandbox")),this[vh]}set sandbox(t){this.setAttribute("sandbox",t)}get srcdoc(){return this.getAttribute("srcdoc")||""}set srcdoc(t){this.setAttribute("srcdoc",t)}get referrerPolicy(){return this.getAttribute("referrerpolicy")||""}set referrerPolicy(t){this.setAttribute("referrerpolicy",t)}get contentDocument(){return y(this,ku).window?.document??null}get contentWindow(){return y(this,ku).window}get tabIndex(){let t=this.getAttribute("tabindex");if(t!==null){let r=Number(t);return isNaN(r)?0:r}return 0}set tabIndex(t){super.tabIndex=t}[(GA=vh,kr)](){super[kr](),D(this,Ei,Jb).call(this)}[Mr](){super[Mr](),D(this,Ei,Zb).call(this)}[ct](t=!1){return super[ct](t)}[ze](t,r){super[ze](t,r),t[lt]==="srcdoc"&&D(this,Ei,Jb).call(this),t[lt]==="src"&&t[Z]&&!this.hasAttribute("srcdoc")&&t[Z]!==r?.[Z]&&D(this,Ei,Jb).call(this),t[lt]==="sandbox"&&D(this,Ei,HA).call(this)}[Ur](t){super[Ur](t),(t[lt]==="srcdoc"||t[lt]==="src")&&D(this,Ei,Jb).call(this)}};ku=new WeakMap,br=new WeakMap,Qm=new WeakMap,Ei=new WeakSet,HA=function(){let t=this[u],r=[];for(let o of this.sandbox)$D.includes(o)||r.push(o);r.length===1?t.console.error(`Error while parsing the 'sandbox' attribute: '${r[0]}' is an invalid sandbox flag.`):r.length>1&&t.console.error(`Error while parsing the 'sandbox' attribute: '${r.join("', '")}' are invalid sandbox flags.`)},Jb=function(){if(!this[nt]){D(this,Ei,Zb).call(this);return}let t=this.getAttribute("srcdoc"),r=this[u],o=new it(r).getBrowserFrame();if(!o)return;if(t!==null){if(y(this,Qm)===t)return;D(this,Ei,Zb).call(this),w(this,br,_s.createChildFrame(o)),y(this,br).url="about:srcdoc",y(this,ku).window=y(this,br).window,y(this,br).window[Ji]=o.window.top,y(this,br).window[Oo]=o.window,y(this,br).window.document.open(),y(this,br).window.document.write(t),w(this,Qm,t),this[u].requestAnimationFrame(()=>this.dispatchEvent(new R("load")));return}y(this,Qm)!==null&&D(this,Ei,Zb).call(this);let i=o.window.location,n=vo.getRelativeURL(o,this.src);if(y(this,br)&&y(this,br).window.location.href===n.href)return;if(o.page.context.browser.settings.disableIframePageLoading){let p=new r.DOMException(`Failed to load iframe page "${n.href}". Iframe page loading is disabled.`,A.notSupportedError);o.page.console.error(p),this.dispatchEvent(new R("error"));return}let a=i.origin===n.origin||n.origin==="null",m=a?r:new Yl(r);w(this,br,y(this,br)??_s.createChildFrame(o)),y(this,br).window[Ji]=m,y(this,br).window[Oo]=m,y(this,br).goto(n.href,{referrer:i.origin,referrerPolicy:this.referrerPolicy}).then(()=>this.dispatchEvent(new R("load"))).catch(p=>{o.page.console.error(p),this.dispatchEvent(new R("error"))}),y(this,ku).window=a?y(this,br).window:new Yl(y(this,br).window,r)},Zb=function(){y(this,br)&&(_s.destroyFrame(y(this,br)),w(this,br,null)),y(this,ku).window=null,w(this,Qm,null)};var qA,$A,WA,jA,zA,XA,YA,Mu=class extends B{constructor(){super(...arguments);s(this,YA,"IMG");s(this,XA,!1);s(this,zA,0);s(this,jA,0);s(this,WA,"auto");s(this,$A,0);s(this,qA,0)}get complete(){return this[yP]}get naturalHeight(){return this[pP]}get naturalWidth(){return this[cP]}get loading(){let t=this.getAttribute("loading");return t==="eager"||t==="lazy"?t:"auto"}set loading(t){this.setAttribute("loading",t)}get x(){return this[O]}get y(){return this[V]}get decoding(){return this.getAttribute("decoding")||"auto"}set decoding(t){this.setAttribute("decoding",t)}get crossOrigin(){return this.getAttribute("crossOrigin")}set crossOrigin(t){(t==="anonymous"||t==="use-credentials")&&this.setAttribute("crossOrigin",t)}get alt(){return this.getAttribute("alt")||""}set alt(t){this.setAttribute("alt",t)}get currentSrc(){return this.src}get width(){let t=this.getAttribute("width");return t!==null?Number(t):0}set width(t){this.setAttribute("width",String(t))}get height(){let t=this.getAttribute("height");return t!==null?Number(t):0}set height(t){this.setAttribute("height",String(t))}get isMap(){return this.getAttribute("ismap")!==null}set isMap(t){t?this.setAttribute("ismap",""):this.removeAttribute("ismap")}get referrerPolicy(){return this.getAttribute("referrerpolicy")||""}set referrerPolicy(t){this.setAttribute("referrerpolicy",t)}get sizes(){return this.getAttribute("sizes")||""}set sizes(t){this.setAttribute("sizes",t)}get src(){if(!this.hasAttribute("src"))return"";try{return new URL(this.getAttribute("src"),this[T].location.href).href}catch{return this.getAttribute("src")}}set src(t){this.setAttribute("src",t)}get srcset(){return this.getAttribute("srcset")||""}set srcset(t){this.setAttribute("srcset",t)}get useMap(){return this.getAttribute("usemap")||""}set useMap(t){this.setAttribute("usemap",t)}decode(){return Promise.resolve()}[(YA=tt,XA=yP,zA=pP,jA=cP,WA=ww,$A=O,qA=V,ct)](t=!1){return super[ct](t)}};var Fp=class extends B{get htmlFor(){let e=this.getAttribute("for");return e!==null||e!==null?e:""}set htmlFor(e){this.setAttribute("for",e)}get control(){let e=this.getAttribute("for");if(e!==null){if(!e||!this[nt])return null;let t=this[Ve].getElementById(e);if(t)switch(t[tt]){case"INPUT":return t.type!=="hidden"?t:null;case"BUTTON":case"METER":case"OUTPUT":case"PROGRESS":case"SELECT":case"TEXTAREA":return t;default:return null}}return this.querySelector('button,input:not([type="hidden"]),meter,output,progress,select,textarea')}get form(){return this.control?.form||null}[ct](e=!1){return super[ct](e)}dispatchEvent(e){let t=super.dispatchEvent(e);if(!e[Gr]&&e.type==="click"&&(e.eventPhase===he.atTarget||e.eventPhase===he.bubbling)&&e instanceof sr){let r=this.control;r&&e.target!==r&&r.dispatchEvent(new sr("click",{bubbles:!0,cancelable:!0}))}return t}};var _p=class extends B{get form(){let e=this;for(;e;){if(e instanceof Tu)return e.form;e=e.parentNode}return null}};var Bp=class extends B{get value(){if(!this.hasAttribute("value"))return 0;let e=Number(this.getAttribute("value"));return isNaN(e)?0:e}set value(e){let t=Number(e);this.setAttribute("value",isNaN(t)?"0":String(t))}};var Ru,Qb=class{constructor(){s(this,"integrityMetadata",null);s(this,"response",null);s(this,"error",null);x(this,Ru,null)}onResponseAvailable(){return new Promise((e,t)=>{w(this,Ru,{resolve:e,reject:t})})}responseAvailable(e,t){this.response=t,this.error=e,y(this,Ru)&&(e?y(this,Ru).reject(e):t?y(this,Ru).resolve(t):y(this,Ru).reject(new Error("Response is null")))}};Ru=new WeakMap;var KA,JA,ZA,tf,Us,v0,A0,T0,Up=class extends B{constructor(){super(...arguments);x(this,Us);s(this,ZA,null);s(this,JA,!1);s(this,KA,null);x(this,tf,null)}get onerror(){return S.getEventListener(this,"onerror")}set onerror(t){this[h].set("onerror",t)}get onload(){return S.getEventListener(this,"onload")}set onload(t){this[h].set("onload",t)}get sheet(){return this[yr]}get relList(){return this[ko]||(this[ko]=new bo(c,this,"rel",["stylesheet","modulepreload","preload"])),this[ko]}set relList(t){this.setAttribute("rel",t)}get as(){return this.getAttribute("as")||""}set as(t){this.setAttribute("as",t)}get crossOrigin(){return this.getAttribute("crossorigin")||""}set crossOrigin(t){this.setAttribute("crossorigin",t)}get href(){if(!this.hasAttribute("href"))return"";try{return new URL(this.getAttribute("href"),this[T].location.href).href}catch{return this.getAttribute("href")}}set href(t){this.setAttribute("href",t)}get hreflang(){return this.getAttribute("hreflang")||""}set hreflang(t){this.setAttribute("hreflang",t)}get media(){return this.getAttribute("media")||""}set media(t){this.setAttribute("media",t)}get referrerPolicy(){return this.getAttribute("referrerPolicy")||""}set referrerPolicy(t){this.setAttribute("referrerPolicy",t)}get rel(){return this.getAttribute("rel")||""}set rel(t){this.setAttribute("rel",t)}get type(){return this.getAttribute("type")||""}set type(t){this.setAttribute("type",t)}[(ZA=yr,JA=Tl,KA=ko,kr)](){super[kr]();let t=this.getAttribute("rel"),r=this.getAttribute("href");if(t&&r)switch(t){case"stylesheet":D(this,Us,T0).call(this,r);break;case"modulepreload":D(this,Us,v0).call(this,r);break;case"preload":D(this,Us,A0).call(this,r);break}}[ze](t,r){if(super[ze](t,r),t[lt]==="rel"||t[lt]==="href"){let o=this.getAttribute("rel"),i=this.getAttribute("href");if(o&&i)switch(o){case"stylesheet":D(this,Us,T0).call(this,i);break;case"modulepreload":D(this,Us,v0).call(this,i);break;case"preload":D(this,Us,A0).call(this,i);break}}}};tf=new WeakMap,Us=new WeakSet,v0=async function(t){let r=this[u],o=new it(r).getBrowserFrame(),i=new it(r).getSettings();if(!o||!i||!this[nt]||i.disableJavaScriptFileLoading||!i.enableJavaScriptEvaluation)return;let n=new xi(r,r.location);if(i.disableErrorCapturing||i.errorCapture!==me.tryAndCatch)await(await n.getModule(t)).preload();else try{await(await n.getModule(t)).preload()}catch(a){o.page.console.error(a),r[ce](a);return}},A0=async function(t){let r=this[u],o=new it(r).getBrowserFrame(),i=this.as;if(!o||!this[nt]||i!=="script"&&i!=="style"&&i!=="fetch")return;let n=o.page.context.browser.settings;if(i==="script"&&(n.disableJavaScriptFileLoading||!n.enableJavaScriptEvaluation)||i==="style"&&n.disableCSSFileLoading)return;let a=new URL(t,r.location.href).href,m=Bn.getKey({url:a,destination:i,mode:"cors",credentialsMode:this.crossOrigin==="use-credentials"?"include":"same-origin"});if(r.document[xo].has(m))return;let p=new Qb;r.document[xo].set(m,p);let b=new zo({browserFrame:o,window:r,url:a,disableSameOriginPolicy:i==="script"||i==="style",disablePreload:!0,init:{credentials:this.crossOrigin==="use-credentials"?"include":"same-origin"}});try{let d=await b.send();d[Ct]||await d.buffer(),p.responseAvailable(null,d)}catch(d){p.responseAvailable(d,null),r.document[xo].delete(m),o.page.console.error(`Failed to preload resource "${a}": ${d.message}`)}},T0=async function(t){let r=this[u],o=new it(r).getBrowserFrame();if(!o||t===null)return;let i=o.page.context.browser.settings;if(this[Tl]||!this[nt])return;let n;try{n=new URL(t,r.location.href).href}catch{return}if(y(this,tf)===n)return;if(i&&i.disableCSSFileLoading){if(i.handleDisabledFileLoadingAsSuccess)this.dispatchEvent(new R("load"));else{let f=new r.DOMException(`Failed to load external stylesheet "${n}". CSS file loading is disabled.`,A.notSupportedError);o.page.console.error(f),this.dispatchEvent(new R("error"))}return}let a=new Wl(r),m=r[li];w(this,tf,n);let p=m.startTask(),b=null,d=null;try{b=await a.fetch(n,"style",{credentials:this.crossOrigin==="use-credentials"?"include":"same-origin"})}catch(f){d=f}if(m.endTask(p),d)o.page.console.error(d),this.dispatchEvent(new R("error"));else{let f=new this[T][u].CSSStyleSheet;f.replaceSync(b.content),this[yr]=f;let v=this[T];if(v){for(let C of v[xs])C.result=null;v[xs]=[]}this.dispatchEvent(new R("load"))}};var QA,tT,Gp=class extends(tT=B,QA=Nh,tT){constructor(){super(...arguments);s(this,QA,null)}get areas(){return this[Nh]||(this[Nh]=ne.getElementsByTagName(this,"area")),this[Nh]}get name(){return this.getAttribute("name")||""}set name(t){this.setAttribute("name",t)}};var Kl=class extends Array{constructor(e){if(super(),e!==1&&e!==c)throw new TypeError("Illegal constructor")}getCueById(e){for(let t of this)if(t.id===e)return t;return null}};var Hp=class extends B{};var qp=class extends B{get content(){return this.getAttribute("content")||""}set content(e){this.setAttribute("content",e)}get httpEquiv(){return this.getAttribute("http-equiv")||""}set httpEquiv(e){this.setAttribute("http-equiv",e)}get name(){return this.getAttribute("name")||""}set name(e){this.setAttribute("name",e)}get scheme(){return this.getAttribute("scheme")||""}set scheme(e){this.setAttribute("scheme",e)}};var $p=class extends B{get high(){if(!this.hasAttribute("high"))return 1;let e=parseFloat(this.getAttribute("high")||"");return isNaN(e)||e>1?1:e<0?0:e}set high(e){if(e=typeof e!="number"?Number(e):e,isNaN(e))throw new this[u].TypeError("Failed to set the 'high' property on 'HTMLMeterElement': The provided double value is non-finite.");this.setAttribute("high",String(e))}get low(){if(!this.hasAttribute("low"))return 0;let e=parseFloat(this.getAttribute("low")||"");return isNaN(e)||e<0?0:e>1?1:e}set low(e){if(e=typeof e!="number"?Number(e):e,isNaN(e))throw new this[u].TypeError("Failed to set the 'low' property on 'HTMLMeterElement': The provided double value is non-finite.");this.setAttribute("low",String(e))}get max(){if(!this.hasAttribute("max"))return 1;let e=parseFloat(this.getAttribute("max")||"");return isNaN(e)||e>1?1:e<0?0:e}set max(e){if(e=typeof e!="number"?Number(e):e,isNaN(e))throw new this[u].TypeError("Failed to set the 'max' property on 'HTMLMeterElement': The provided double value is non-finite.");this.setAttribute("max",String(e))}get min(){if(!this.hasAttribute("min"))return 0;let e=parseFloat(this.getAttribute("min")||"");return isNaN(e)||e<0?0:e>1?1:e}set min(e){if(e=typeof e!="number"?Number(e):e,isNaN(e))throw new this[u].TypeError("Failed to set the 'min' property on 'HTMLMeterElement': The provided double value is non-finite.");this.setAttribute("min",String(e))}get optimum(){if(!this.hasAttribute("optimum"))return .5;let e=parseFloat(this.getAttribute("optimum")||"");return isNaN(e)?.5:e<0?0:e>1?1:e}set optimum(e){if(e=typeof e!="number"?Number(e):e,isNaN(e))throw new this[u].TypeError("Failed to set the 'optimum' property on 'HTMLMeterElement': The provided double value is non-finite.");this.setAttribute("optimum",String(e))}get value(){if(!this.hasAttribute("value"))return 0;let e=parseFloat(this.getAttribute("value")||"");return isNaN(e)||e<0?0:e>1?1:e}set value(e){if(e=typeof e!="number"?Number(e):e,isNaN(e))throw new this[u].TypeError("Failed to set the 'value' property on 'HTMLMeterElement': The provided double value is non-finite.");this.setAttribute("value",String(e))}get labels(){return fo.getAssociatedLabelElements(this)}};var Wp=class extends B{get cite(){if(!this.hasAttribute("cite"))return"";try{return new URL(this.getAttribute("cite"),this[T].location.href).href}catch{return this.getAttribute("cite")}}set cite(e){this.setAttribute("cite",e)}get dateTime(){return this.getAttribute("datetime")||""}set dateTime(e){this.setAttribute("datetime",e)}};var jp=class extends B{get reversed(){return this.getAttribute("reversed")!==null}set reversed(e){e?this.setAttribute("reversed",""):this.removeAttribute("reversed")}get start(){if(!this.hasAttribute("start"))return 1;let e=Number(this.getAttribute("start")||"");return isNaN(e)?1:e}set start(e){typeof e!="number"&&(e=Number(e)),isNaN(e)&&(e=0),this.setAttribute("start",String(e))}get type(){return this.getAttribute("type")||""}set type(e){this.setAttribute("type",e)}};var zp=class extends B{get label(){return this.getAttribute("label")||""}set label(e){e?this.setAttribute("label",e):this.removeAttribute("label")}get disabled(){return this.getAttribute("disabled")!==null}set disabled(e){e?this.setAttribute("disabled",""):this.removeAttribute("disabled")}};var eT,rT,oT,Jn=class extends B{constructor(){super(...arguments);s(this,oT,!1);s(this,rT,!1);s(this,eT,null)}get text(){return this.innerText}set text(t){this.innerText=t}get index(){return this[We]?ut.querySelectorAll(this[We],"option")[Y].indexOf(this):0}get form(){return this[We]?.form||null}get selected(){return this[Jr]}set selected(t){let r=this[We];this[ga]=!0,this[Jr]=!!t,r&&r[va](this[Jr]?this:null)}get disabled(){return this.getAttribute("disabled")!==null}set disabled(t){t?this.setAttribute("disabled",""):this.removeAttribute("disabled")}get value(){return this.getAttribute("value")??this.textContent}set value(t){this.setAttribute("value",t)}[(oT=Jr,rT=ga,eT=We,ze)](t,r){if(super[ze](t,r),!this[ga]&&t[lt]==="selected"&&r?.[Z]!==t[Z]){let o=this[We];this[Jr]=!0,o&&o[va](this)}}[Ur](t){if(super[Ur](t),t&&!this[ga]&&t[lt]==="selected"){let r=this[We];this[Jr]=!1,r&&r[va]()}}[Lo](){super[Lo](),this[We]&&this[We][va]()}[Zs](){this[We]&&this[We][va](),super[Zs]()}};var Xp=class extends B{};var Yp=class extends B{};var Kp=class extends B{};var Jp=class extends B{};var Zp=class extends B{get max(){if(!this.hasAttribute("max"))return 1;let e=parseFloat(this.getAttribute("max")||"");return isNaN(e)||e<0?1:e}set max(e){if(e=typeof e!="number"?Number(e):e,isNaN(e))throw new this[u].TypeError("Failed to set the 'max' property on 'HTMLProgressElement': The provided double value is non-finite.");this.setAttribute("max",e<0?"1":String(e))}get value(){if(!this.hasAttribute("value"))return 0;let e=parseFloat(this.getAttribute("value")||"");return isNaN(e)||e<0?0:e}set value(e){if(e=typeof e!="number"?Number(e):e,isNaN(e))throw new this[u].TypeError("Failed to set the 'value' property on 'HTMLProgressElement': The provided double value is non-finite.");this.setAttribute("value",e<0?"0":String(e))}get position(){return this.hasAttribute("value")?this.value/this.max:-1}get labels(){return fo.getAssociatedLabelElements(this)}};var Qp=class extends B{get cite(){if(!this.hasAttribute("cite"))return"";try{return new URL(this.getAttribute("cite"),this[T].location.href).href}catch{return this.getAttribute("cite")}}set cite(e){this.setAttribute("cite",e)}};var WD=/import\s*\(([^)]+)\)/gm,jD=/(\/)|(\(|\))|({|})|(\[|\])|(\${)|(`)|(')|(")|(\n)/gm,zD=/['"`(){}\s;=><\[\]+-,:&]/,XD=/['"`({};=><\[+-,:&]/,tc=class{constructor(e){s(this,"window");s(this,"count",{comment:0,singleLineComment:0,parentheses:0,curlyBraces:0,squareBrackets:0,regExp:0,regExpSquareBrackets:0,escapeTemplateString:0,simpleString:0,doubleString:0});s(this,"templateString",[]);this.window=e}compile(e,t){let r=new it(this.window).getSettings();if(!r)return{execute:()=>{}};let o=new RegExp(WD),i=this.count,n="(function anonymous($happy_dom) {",a=null,m,p,b=0,d=-1;for(!r.disableErrorCapturing&&r.errorCapture===me.tryAndCatch&&(n+="try {");a=o.exec(t);)m=t[a.index-1]||" ",p=t.substring(b,a.index),this.parseSyntax(p,b),d===-1&&(n+=p),a[1]&&i.simpleString===0&&i.doubleString===0&&i.comment===0&&i.singleLineComment===0&&i.regExp===0&&(this.templateString.length===0||this.templateString[0]>0)&&zD.test(m)?n+=`$happy_dom.dynamicImport(${a[1]})`:(n+=a[0],this.parseSyntax(a[0],a.index)),b=o.lastIndex;b===0?n+=t:n+=t.substring(b),!r.disableErrorCapturing&&r.errorCapture===me.tryAndCatch&&(n+="} catch (error) { $happy_dom.dispatchError(error); }"),n+="})";try{return{execute:this.window[zi](n,{filename:e})}}catch(f){if(f.message=`Failed to parse JavaScript in '${e}': ${f.message}`,r.disableErrorCapturing||r.errorCapture!==me.tryAndCatch)throw f;return this.window[ce](f),{execute:()=>{}}}}parseSyntax(e,t){let r=new RegExp(jD),o=this.count,i=null,n,a;for(t++;i=r.exec(e);)n=e[i.index-1]||" ",a=n==="\\"&&e[i.index-2]!=="\\",i[1]?o.simpleString===0&&o.doubleString===0&&o.singleLineComment===0&&o.regExpSquareBrackets===0&&(this.templateString.length===0||this.templateString[0]>0)&&(o.comment===1?n==="*"&&(o.comment=0):o.regExp===0?e[i.index+1]==="*"?o.comment=1:e[i.index+1]==="/"?o.singleLineComment=1:XD.test(this.getNonSpacePrecedingToken(e,i.index))&&(o.regExp=1):a||(o.regExp=0)):i[2]?o.simpleString===0&&o.doubleString===0&&o.regExp===0&&o.comment===0&&o.singleLineComment===0&&(this.templateString.length===0||this.templateString[0]>0)&&(i[2]==="("?o.parentheses++:i[2]===")"&&o.parentheses>0&&o.parentheses--):i[3]?o.simpleString===0&&o.doubleString===0&&o.regExp===0&&o.comment===0&&o.singleLineComment===0&&(this.templateString.length===0||this.templateString[0]>0)&&(i[3]==="{"?(this.templateString.length&&this.templateString[0]++,o.curlyBraces++):i[3]==="}"&&(this.templateString.length&&this.templateString[0]>0&&this.templateString[0]--,o.curlyBraces>0&&o.curlyBraces--)):i[4]?o.simpleString===0&&o.doubleString===0&&o.comment===0&&o.singleLineComment===0&&(this.templateString.length===0||this.templateString[0]>0)&&(o.regExp===1?a||(i[4]==="["&&o.regExpSquareBrackets===0?o.regExpSquareBrackets=1:i[4]==="]"&&o.regExpSquareBrackets===1&&(o.regExpSquareBrackets=0)):i[4]==="["?o.squareBrackets++:i[4]==="]"&&o.squareBrackets>0&&o.squareBrackets--):i[5]?o.simpleString===0&&o.doubleString===0&&o.comment===0&&o.singleLineComment===0&&o.regExp===0&&!a&&this.templateString[0]===0&&(this.templateString[0]=1,o.curlyBraces++):i[6]?o.simpleString===0&&o.doubleString===0&&o.comment===0&&o.singleLineComment===0&&o.regExp===0&&!a&&(this.templateString?.[0]===0?this.templateString.shift():this.templateString.unshift(0)):i[7]?o.doubleString===0&&o.comment===0&&o.singleLineComment===0&&o.regExp===0&&!a&&(this.templateString.length===0||this.templateString[0]>0)&&(o.simpleString===0?o.simpleString=1:o.simpleString=0):i[8]?o.simpleString===0&&o.comment===0&&o.singleLineComment===0&&o.regExp===0&&!a&&(this.templateString.length===0||this.templateString[0]>0)&&(o.doubleString===0?o.doubleString=1:o.doubleString=0):i[9]&&(o.singleLineComment=0)}getNonSpacePrecedingToken(e,t){t--;let r=e[t];for(;r===" "||r===`
138
+ `||r===" ";)t--,r=e[t];return r||";"}};var iT,sT,ef,vi,nT,lT,aT,N0,L0,ec=class extends B{constructor(){super(...arguments);x(this,vi);s(this,sT,!1);s(this,iT,null);x(this,ef,null)}get onerror(){return S.getEventListener(this,"onerror")}set onerror(t){this[h].set("onerror",t)}get onload(){return S.getEventListener(this,"onload")}set onload(t){this[h].set("onload",t)}get type(){return this.getAttribute("type")||""}set type(t){this.setAttribute("type",t)}get blocking(){return this[Kd]||(this[Kd]=new bo(c,this,"blocking")),this[Kd]}set blocking(t){this.setAttribute("blocking",t)}get crossOrigin(){return this.getAttribute("crossorigin")||""}set crossOrigin(t){this.setAttribute("crossorigin",t)}get fetchPriority(){let t=this.getAttribute("fetchpriority");switch(t){case"high":case"low":case"normal":return t;default:return"auto"}}set fetchPriority(t){this.setAttribute("fetchpriority",t)}get noModule(){return this.getAttribute("nomodule")!==null}set noModule(t){t?this.setAttribute("nomodule",""):this.removeAttribute("nomodule")}get integrity(){return this.getAttribute("integrity")||""}set integrity(t){this.setAttribute("integrity",t)}get referrerPolicy(){let t=this.getAttribute("referrerpolicy");switch(t){case"no-referrer":case"no-referrer-when-downgrade":case"same-origin":case"origin":case"strict-origin":case"origin-when-cross-origin":case"strict-origin-when-cross-origin":case"unsafe-url":return t;default:return""}}set referrerPolicy(t){this.setAttribute("referrerpolicy",t)}get src(){if(!this.hasAttribute("src"))return"";try{return new URL(this.getAttribute("src"),this[T].location.href).href}catch{return this.getAttribute("src")}}set src(t){this.setAttribute("src",t)}get charset(){return this.getAttribute("charset")||""}set charset(t){this.setAttribute("charset",t)}get lang(){return this.getAttribute("lang")||""}set lang(t){this.setAttribute("lang",t)}get async(){return this.getAttribute("async")!==null}set async(t){t?this.setAttribute("async",""):this.removeAttribute("async")}get defer(){return this.getAttribute("defer")!==null}set defer(t){t?this.setAttribute("defer",""):this.removeAttribute("defer")}get text(){return this.textContent}set text(t){this.textContent=t}[(sT=Tl,iT=Kd,ct)](t=!1){return super[ct](t)}[kr](){let t=new it(this[u]).getSettings();if(super[kr](),this[Tl])return;let r=this.getAttribute("src");if(r!==null)this.getAttribute("type")==="module"?D(this,vi,N0).call(this,r):D(this,vi,L0).call(this,r);else if(t&&t.enableJavaScriptEvaluation){let o=this.textContent,i=this.getAttribute("type");o&&(i==="module"?D(this,vi,nT).call(this,o):i==="importmap"?D(this,vi,lT).call(this,o):(i===null||i==="application/x-ecmascript"||i==="application/x-javascript"||i.startsWith("text/javascript"))&&D(this,vi,aT).call(this,o))}}[ze](t,r){super[ze](t,r),t[lt]==="src"&&t[Z]!==null&&this[nt]&&(this.getAttribute("type")==="module"?D(this,vi,N0).call(this,t[Z]):D(this,vi,L0).call(this,t[Z]))}static supports(t){switch(t){case"classic":case"module":case"importmap":return!0;default:return!1}}};ef=new WeakMap,vi=new WeakSet,nT=function(t){let r=this[T].location,o=this[u],i=new it(o).getSettings();if(!new it(o).getBrowserFrame()||!i||!i.enableJavaScriptEvaluation)return;this[T][ji]=this;let a=new jl({window:o,url:r,source:t});i.disableErrorCapturing||i.errorCapture!==me.tryAndCatch?a.evaluate():a.evaluate().catch(m=>{o[ce](m)}),this[T][ji]=null,this.dispatchEvent(new R("load"))},lT=async function(t){let r=this[u],o=new it(r).getSettings();if(!new it(r).getBrowserFrame()||!o||r[dm]||!o.enableJavaScriptEvaluation)return;let n;if(o.disableErrorCapturing||o.errorCapture!==me.tryAndCatch)n=JSON.parse(t);else try{n=JSON.parse(t)}catch(a){r[ce](a);return}if(n.imports||n.scopes){let a={imports:[],scopes:[]};if(n.imports)for(let m of Object.keys(n.imports))a.imports.push({from:m,to:n.imports[m]});if(n.scopes)for(let m of Object.keys(n.scopes)){let p={scope:m,rules:[]};for(let b of Object.keys(n.scopes[m])){let d=n.scopes[m][b];p.rules.push({from:b,to:d})}a.scopes.push(p)}r[dm]=a}},aT=function(t){let r=this[u];if(!new it(r).getSettings())return;this[T][ji]=this;let n=new tc(r).compile(r.location.href,t),a=new xi(r,r.location);n.execute({dynamicImport:a.importModule.bind(a),dispatchError:r[ce].bind(r)}),this[T][ji]=null},N0=async function(t){let r=this[u],o=new it(r).getBrowserFrame(),i=new it(r).getSettings();if(!o||!i||!t||!this[nt]||this.getAttribute("type")!=="module")return;if(i&&(i.disableJavaScriptFileLoading||!i.enableJavaScriptEvaluation)){if(i.handleDisabledFileLoadingAsSuccess)this.dispatchEvent(new R("load"));else{let a=new r.DOMException(`Failed to load module "${t}". JavaScript file loading is disabled.`,A.notSupportedError);o.page.console.error(a),this.dispatchEvent(new R("error"))}return}let n=new xi(r,r.location);if(i.disableErrorCapturing||i.errorCapture!==me.tryAndCatch)await(await n.getModule(t)).evaluate();else try{await(await n.getModule(t)).evaluate()}catch(a){o.page.console.error(a),this.dispatchEvent(new R("error"));return}this.dispatchEvent(new R("load"))},L0=async function(t){let r=this[u],o=new it(r).getBrowserFrame();if(!o)return;let i=o.page.context.browser.settings,n=this.getAttribute("type");if(!t||!this[nt]||n!==null&&n!=="application/x-ecmascript"&&n!=="application/x-javascript"&&!n.startsWith("text/javascript"))return;let a;try{a=new URL(t,r.location.href)}catch{return}let m=a.toString();if(y(this,ef)===m)return;if(i&&(i.disableJavaScriptFileLoading||!i.enableJavaScriptEvaluation)){if(i.handleDisabledFileLoadingAsSuccess)this.dispatchEvent(new R("load"));else{let L=new r.DOMException(`Failed to load script "${a}". JavaScript file loading is disabled.`,A.notSupportedError);o.page.console.error(L),this.dispatchEvent(new R("error"))}return}w(this,ef,m);let p=new Wl(r),b=this.getAttribute("async")!==null||this.getAttribute("defer")!==null,d=null;if(b){let L=r[li],j=L.startTask();try{d=await p.fetch(m,"script",{credentials:this.crossOrigin==="use-credentials"?"include":"same-origin",referrerPolicy:this.referrerPolicy})}catch(et){o.page.console.error(et),this.dispatchEvent(new R("error")),L.endTask(j);return}L.endTask(j)}else try{d=p.fetchSync(m,"script",{credentials:this.crossOrigin==="use-credentials"?"include":"same-origin",referrerPolicy:this.referrerPolicy})}catch(L){o.page.console.error(L),this.dispatchEvent(new R("error"));return}this[T][ji]=this;let v=new tc(r).compile(d.virtualServerFile||m,d.content),C=new xi(r,r.location);v.execute({dynamicImport:C.importModule.bind(C),dispatchError:r[ce].bind(r)}),this[T][ji]=null,this.dispatchEvent(new R("load"))};var ty=class extends Ae{constructor(e,t){super(e,()=>ut.querySelectorAll(t,"option")[Y]),this[At]=t}get selectedIndex(){return this[At].selectedIndex}set selectedIndex(e){this[At].selectedIndex=e}add(e,t){this[At].add(e,t)}remove(e){this[At].remove(e)}};var uT,mT,yT,pT,cT,hT,MS,dT,C0=class C0 extends B{constructor(){super();x(this,MS);s(this,hT,"");s(this,cT,new go(this));s(this,pT,null);s(this,yT,null);s(this,mT,-1);s(this,uT);let t=new xe(this,[C0,B,dr,gt,_t]),r=new Proxy(this,{get:(o,i)=>{if(i in o||typeof i=="symbol")return t.bind(i),o[i];let n=Number(i);if(!isNaN(n))return ut.querySelectorAll(o,"option")[Y][n]},set(o,i,n){if(t.bind(i),typeof i=="symbol")return o[i]=n,!0;let a=Number(i);if(isNaN(a))return o[i]=n,!0;if(!n||!(n instanceof Jn))throw new o[u].Error(`TypeError: Failed to set an indexed property [${a}] on 'HTMLSelectElement': parameter 2 is not of type 'HTMLOptionElement'.`);let m=ut.querySelectorAll(o,"option")[Y],p=o[$];for(;p.length;)o[Rr](p[0]);for(let b=0;b<=a;b++)b===a?o[Et](n):m[b]?o[Et](m[b]):o[Et](o[T].createElement("option"));return!0},deleteProperty(o,i){if(typeof i=="symbol")return delete o[i],!0;let n=Number(i);return isNaN(n)&&delete o[i],!0},ownKeys(o){return Object.keys(ut.querySelectorAll(o,"option")[Y])},has(o,i){if(i in o)return!0;if(typeof i=="symbol")return!1;let n=Number(i);return isNaN(n)?!1:!!ut.querySelectorAll(o,"option")[Y][n]},defineProperty(o,i,n){t.preventBinding(i);let a=Number(i);if(isNaN(a))return Object.defineProperty(o,i,n),!0;if(!n.value||!(n.value instanceof Jn))throw new o[u].Error(`TypeError: Failed to set an indexed property [${a}] on 'HTMLSelectElement': parameter 2 is not of type 'HTMLOptionElement'.`);let m=ut.querySelectorAll(o,"option")[Y],p=o[$];for(;p.length;)o[Rr](p[0]);for(let b=0;b<=a;b++)b===a?o[Et](n.value):m[b]?o[Et](m[b]):o[Et](o[T].createElement("option"));return!0},getOwnPropertyDescriptor(o,i){if(i in o)return Object.getOwnPropertyDescriptor(o,i);let n=Number(i);if(isNaN(n))return;let a=ut.querySelectorAll(o,"option")[Y];if(a[n])return{value:a[n],writable:!0,enumerable:!0,configurable:!0}}});return this[Ut]=r,this[We]=r,r}get onchange(){return S.getEventListener(this,"onchange")}set onchange(t){this[h].set("onchange",t)}get oninput(){return S.getEventListener(this,"oninput")}set oninput(t){this[h].set("oninput",t)}get length(){return ut.querySelectorAll(this,"option")[Y].length}get options(){return this[on]||(this[on]=new ty(c,this)),this[on]}get validationMessage(){return this[Ue]}get validity(){return this[mr]}get name(){return this.getAttribute("name")||""}set name(t){this.setAttribute("name",t)}get disabled(){return this.getAttribute("disabled")!==null}set disabled(t){t?this.setAttribute("disabled",""):this.removeAttribute("disabled")}get multiple(){return this.getAttribute("multiple")!==null}set multiple(t){t?this.setAttribute("multiple",""):this.removeAttribute("multiple")}get autofocus(){return this.getAttribute("autofocus")!==null}set autofocus(t){t?this.setAttribute("autofocus",""):this.removeAttribute("autofocus")}get required(){return this.getAttribute("required")!==null}set required(t){t?this.setAttribute("required",""):this.removeAttribute("required")}get type(){return this.hasAttributeNS(null,"multiple")?"select-multiple":"select-one"}get value(){let t=ut.querySelectorAll(this,"option")[Y];for(let r=0,o=t.length;r<o;r++){let i=t[r];if(i[Jr])return i.value}return""}set value(t){let r=ut.querySelectorAll(this,"option")[Y];this[Ni]=-1;for(let o=0,i=r.length;o<i;o++){let n=r[o];n.value===t?(n[Jr]=!0,n[ga]=!0,this[Ni]=o):n[Jr]=!1}}get selectedIndex(){return this[Ni]}set selectedIndex(t){if(t=Number(t),isNaN(t))return;let r=ut.querySelectorAll(this,"option")[Y];if(this[Ni]=-1,typeof t=="number"&&!isNaN(t)){for(let i=0,n=r.length;i<n;i++)r[i][Jr]=!1;let o=r[t];o&&(o[Jr]=!0,o[ga]=!0,this[Ni]=t)}}get selectedOptions(){return this[ka]||(this[ka]=new Ae(c,()=>{let t=ut.querySelectorAll(this,"option")[Y];if(t[ka])return t[ka];let r=[];for(let o=0,i=t.length;o<i;o++){let n=t[o];n[Jr]&&r.push(n)}return t[ka]=r,r})),this[ka]}get labels(){return fo.getAssociatedLabelElements(this)}get form(){if(this[Bt])return this[Bt];let t=this.getAttribute("form");return!t||!this[nt]?null:this[T].getElementById(t)}get willValidate(){return this.type!=="hidden"&&this.type!=="reset"&&this.type!=="button"&&!this.disabled}get tabIndex(){let t=this.getAttribute("tabindex");if(t!==null){let r=Number(t);return isNaN(r)?0:r}return 0}set tabIndex(t){super.tabIndex=t}item(t){return this.options.item(t)}add(t,r){let o=ut.querySelectorAll(this,"option")[Y];if(!r&&r!==0){let m=this[$];for(;m.length;)this[Rr](m[0]);for(let p of o)this[Et](p);this[Et](t);return}let i=this[u];if(typeof r!="number"){if(!(r instanceof Jn))throw new i.DOMException("Failed to execute 'add' on 'HTMLFormElement': The node before which the new node is to be inserted before is not an 'HTMLOptionElement'.");r=o.indexOf(r)}if(!o[r])throw new i.DOMException("Failed to execute 'add' on 'HTMLFormElement': The node before which the new node is to be inserted before is not a child of this node.");let a=this[$];for(;a.length;)this[Rr](a[0]);for(let m=0,p=o.length;m<p;m++)m===r&&this[Et](t),this[Et](o[m])}remove(t){if(typeof t=="number"){let r=ut.querySelectorAll(this,"option")[Y];if(!r[t])return;let o=this[$];for(;o.length;)this[Rr](o[0]);for(let i=0,n=r.length;i<n;i++)i!==t&&this[Et](r[i])}else super.remove()}setCustomValidity(t){this[Ue]=String(t)}checkValidity(){let t=this.disabled||this[mr].valid;return t||this.dispatchEvent(new R("invalid",{bubbles:!0,cancelable:!0})),t}reportValidity(){return this.checkValidity()}[(hT=Ue,cT=mr,pT=on,yT=ka,mT=Ni,uT=Ut,va)](t){let r=this.hasAttribute("multiple"),o=ut.querySelectorAll(this,"option")[Y],i=[];if(t&&(this[Ni]=-1),!r)for(let a=0,m=o.length;a<m;a++){let p=o[a];t&&(p[Jr]=p===t,p===t&&(this[Ni]=a)),p[Jr]&&i.push(p)}if(D(this,MS,dT).call(this)===1&&!i.length){this[Ni]=-1;for(let a=0,m=o.length;a<m;a++){let p=o[a],b=p[W],d=p.hasAttributeNS(null,"disabled");if(b&&b[U]===M.elementNode&&b[tt]==="OPTGROUP"&&b.hasAttributeNS(null,"disabled")&&(d=!0),!d){p[Jr]=!0,this[Ni]=a;break}}}else if(i.length>=2){this[Ni]=-1;for(let a=0,m=o.length;a<m;a++)o[a][Jr]=a===i.length-1,a===i.length-1&&(this[Ni]=a)}}};MS=new WeakSet,dT=function(){if(this.hasAttributeNS(null,"size")){let t=parseInt(this.getAttribute("size"));if(!isNaN(t)&&t>=0)return t}return this.hasAttributeNS(null,"multiple")?4:1};var rc=C0;var k0,bT,Jl,rf,fT,RS=class extends B{constructor(){super(...arguments);x(this,Jl);s(this,bT,[])}get onslotchange(){return S.getEventListener(this,"onslotchange")}set onslotchange(t){this[h].set("onslotchange",t)}get name(){return this.getAttribute("name")||""}set name(t){this.setAttribute("name",t)}assign(...t){let r=this.getRootNode();if(r?.[Es]!=="manual")return;let o=r.host;if(o){for(let i of t)if(i instanceof gt&&o[$].includes(i)&&i[U]!==M.commentNode){if(i[Zi]){let n=i[Zi][ln].indexOf(i);n!==-1&&i[Zi][ln].splice(n,1)}i[Zi]=this,this[ln].push(i)}}}assignedNodes(t){return D(this,Jl,rf).call(this,this.name,t)}assignedElements(t){return D(this,Jl,fT).call(this,this.name,t)}[(bT=ln,ct)](t=!1){return super[ct](t)}[ze](t,r){if(super[ze](t,r),t[lt]==="name"&&t[Z]!==r?.[Z]){let o=D(this,Jl,rf).call(this,r?.[Z]),i=D(this,Jl,rf).call(this,t.value);if(o.length!==i.length)this.dispatchEvent(new R("slotchange",{bubbles:!0}));else for(let n=0,a=i.length;n<a;n++)if(o[n]!==i[n]){this.dispatchEvent(new R("slotchange",{bubbles:!0}));break}}}[Ur](t){super[Ur](t),t[lt]==="name"&&t[Z]&&D(this,Jl,rf).call(this,t.value).length>0&&this.dispatchEvent(new R("slotchange",{bubbles:!0}))}};Jl=new WeakSet,rf=function(t,r){let o=this.getRootNode();if(!o?.host)return[];if(o[Es]==="manual")return this[ln];let i=o.host,n=!!r?.flatten,a=[];for(let m of i[$]){let p=m.slot;if(t&&p&&p===t||!t&&!p)if(n&&m instanceof k0)for(let b of m.assignedNodes(r))a.push(b);else a.push(m)}return a},fT=function(t,r){let o=this.getRootNode();if(!o?.host)return[];if(o[Es]==="manual"){let m=[];for(let p of this[ln])p instanceof dr&&m.push(p);return m}let i=o.host,n=!!r?.flatten,a=[];for(let m of i[ft]){let p=m.slot;if(t&&p===t||!t&&!p)if(n&&m instanceof k0)for(let b of m.assignedElements(r))a.push(b);else a.push(m)}return a};k0=RS;var M0=RS;var oc=class extends B{get height(){let e=Number(this.getAttribute("height"));return isNaN(e)||e<0?0:e}set height(e){let t=Number(e);this.setAttribute("height",isNaN(t)||t<0?"0":String(t))}get width(){let e=Number(this.getAttribute("width"));return isNaN(e)||e<0?0:e}set width(e){let t=Number(e);this.setAttribute("width",isNaN(t)||t<0?"0":String(t))}get media(){return this.getAttribute("media")||""}set media(e){this.setAttribute("media",e)}get sizes(){return this.getAttribute("sizes")||""}set sizes(e){this.setAttribute("sizes",e)}get src(){if(!this.hasAttribute("src"))return"";try{return new URL(this.getAttribute("src"),this[T].location.href).href}catch{return this.getAttribute("src")||""}}set src(e){this.setAttribute("src",e)}get srcset(){return this.getAttribute("srcset")||""}set srcset(e){this.setAttribute("srcset",e)}get type(){return this.getAttribute("type")||""}set type(e){this.setAttribute("type",e)}};var ic=class extends B{};var gT,ST,PT,sc=class extends B{constructor(){super(...arguments);s(this,PT,null);s(this,ST,this);s(this,gT,!1)}get media(){return this.getAttribute("media")||""}set media(t){this.setAttribute("media",t)}get type(){return this.getAttribute("type")||""}set type(t){this.setAttribute("type",t)}get disabled(){return this[Ia]}set disabled(t){this[Ia]=!!t}get sheet(){return this[nt]?(this[yr]||(this[yr]=new this[T][u].CSSStyleSheet,this[yr].replaceSync(this.textContent)),this[yr]):null}[(PT=yr,ST=Br,gT=Ia,Mr)](){super[Mr](),this[yr]=null}[Ma](){this[yr]&&this[yr].replaceSync(this.textContent)}};var Ou=class extends B{};var nc=class extends B{get abbr(){return this.getAttribute("abbr")||""}set abbr(e){this.setAttribute("abbr",e)}get cellIndex(){let e=this.parentNode;for(;e;){if(e[tt]==="TR")return ut.querySelectorAll(e,"td,th")[Y].indexOf(this);e=e.parentNode}return-1}get colSpan(){let e=Number(this.getAttribute("colspan"));return isNaN(e)||e<1?1:e}set colSpan(e){let t=Number(e);this.setAttribute("colspan",isNaN(t)||t<1?"1":String(t))}get headers(){return this.getAttribute("headers")||""}set headers(e){this.setAttribute("headers",String(e))}get rowSpan(){let e=Number(this.getAttribute("rowspan"));return isNaN(e)||e<1?1:e}set rowSpan(e){let t=Number(e);this.setAttribute("rowspan",isNaN(t)||t<1?"1":String(t))}get scope(){return this.getAttribute("scope")||""}set scope(e){this.setAttribute("scope",e)}};var lc=class extends B{};var Gs=class extends B{insertRow(e=-1){typeof e!="number"&&(e=-1);let t=ut.querySelectorAll(this,"tr")[Y];if(e<-1)throw new this[u].DOMException(`Failed to execute 'insertRow' on 'HTMLTableSectionElement': The index provided (${e}) is less than -1.`,A.indexSizeError);if(e>t.length)throw new this[u].DOMException(`Failed to execute 'insertRow' on 'HTMLTableSectionElement': The index provided (${e}) is greater than the number of rows (${t.length}).`,A.indexSizeError);let r=this[T].createElement("tr");return e===-1||e===t.length?this.appendChild(r):this.insertBefore(r,t[e]),r}deleteRow(e){if(arguments.length===0)throw new this[u].TypeError("Failed to execute 'deleteRow' on 'HTMLTableSectionElement': 1 argument required, but only 0 present.");if(typeof e!="number"&&(e=-1),e<-1)throw new this[u].DOMException(`Failed to execute 'deleteRow' on 'HTMLTableSectionElement': The index provided (${e}) is less than -1.`,A.indexSizeError);let t=ut.querySelectorAll(this,"tr")[Y];if(e>=t.length)throw new this[u].DOMException(`Failed to execute 'deleteRow' on 'HTMLTableSectionElement': The index provided (${e}) is greater than the number of rows in the table (${t.length}).`,A.indexSizeError);e===-1&&(e=t.length-1),t[e].remove()}};var wT,xT,ET,ac=class extends(ET=B,xT=Ch,wT=kh,ET){constructor(){super(...arguments);s(this,xT,null);s(this,wT,null)}get caption(){return ut.querySelector(this,"caption")}set caption(t){if(t){if(!(t instanceof Ou))throw new this[u].TypeError("Failed to set the 'caption' property on 'HTMLTableElement': Failed to convert value to 'HTMLTableCaptionElement'.");this.caption?.remove(),this.insertBefore(t,this.firstChild)}else this.caption?.remove()}get tHead(){return ut.querySelector(this,"thead")}set tHead(t){if(t){if(!(t instanceof Gs))throw new this[u].TypeError("Failed to set the 'tHead' property on 'HTMLTableElement': Failed to convert value to 'HTMLTableSectionElement'.");this.tHead?.remove();let r=!1;for(let o of this[ft])if(o[tt]!=="CAPTION"&&o[tt]!=="COLGROUP"){this.insertBefore(t,o),r=!0;break}r||this.appendChild(t)}else this.tHead?.remove()}get tFoot(){return ut.querySelector(this,"tfoot")}set tFoot(t){if(t){if(!(t instanceof Gs))throw new this[u].TypeError("Failed to set the 'tFoot' property on 'HTMLTableElement': Failed to convert value to 'HTMLTableSectionElement'.");this.tFoot?.remove();let r=!1;for(let o of this[ft])if(o[tt]!=="CAPTION"&&o[tt]!=="COLGROUP"&&o[tt]!=="THEAD"){this.insertBefore(t,o),r=!0;break}r||this.appendChild(t)}else this.tFoot?.remove()}get rows(){return this[Ch]||(this[Ch]=new Ae(c,()=>ut.querySelectorAll(this,"tr")[Y])),this[Ch]}get tBodies(){return this[kh]||(this[kh]=new Ae(c,()=>ut.querySelectorAll(this,"tbody")[Y])),this[kh]}createTHead(){let t=this.tHead;if(t)return t;let r=this[T].createElement("thead");return this.tHead=r,r}deleteTHead(){this.tHead=null}createTFoot(){let t=this.tFoot;if(t)return t;let r=this[T].createElement("tfoot");return this.tFoot=r,r}deleteTFoot(){this.tFoot=null}createTBody(){let t=ut.querySelectorAll(this,"tbody")[Y],r=this[T].createElement("tbody");if(t.length>0){let o=t[t.length-1];return o.parentNode?.insertBefore(r,o.nextSibling),r}return this.appendChild(r),r}createCaption(){let t=this.caption;if(t)return t;let r=this[T].createElement("caption");return this.caption=r,r}deleteCaption(){this.caption=null}insertRow(t=-1){typeof t!="number"&&(t=-1);let r=ut.querySelectorAll(this,"tr")[Y];if(t<-1)throw new this[u].DOMException(`Failed to execute 'insertRow' on 'HTMLTableElement': The index provided (${t}) is less than -1.`,A.indexSizeError);if(t>r.length)throw new this[u].DOMException(`Failed to execute 'insertRow' on 'HTMLTableElement': The index provided (${t}) is greater than the number of rows (${r.length}).`,A.indexSizeError);let o=this[T].createElement("tr");if(t===-1||t===r.length){let i=ut.querySelector(this,"tbody");if(i)i.appendChild(o);else{let n=this[T].createElement("tbody");n.appendChild(o),this.appendChild(n)}return o}return r[t].parentNode?.insertBefore(o,r[t]),o}deleteRow(t){if(arguments.length===0)throw new this[u].TypeError("Failed to execute 'deleteRow' on 'HTMLTableElement': 1 argument required, but only 0 present.");if(typeof t!="number"&&(t=-1),t<-1)throw new this[u].DOMException(`Failed to execute 'deleteRow' on 'HTMLTableElement': The index provided (${t}) is less than -1.`,A.indexSizeError);let r=ut.querySelectorAll(this,"tr")[Y];if(t>=r.length)throw new this[u].DOMException(`Failed to execute 'deleteRow' on 'HTMLTableElement': The index provided (${t}) is greater than the number of rows in the table (${r.length}).`,A.indexSizeError);t===-1&&(t=r.length-1),r[t].remove()}};var vT,AT,uc=class extends(AT=B,vT=Lh,AT){constructor(){super(...arguments);s(this,vT,null)}get cells(){return this[Lh]||(this[Lh]=new Ae(c,()=>ut.querySelectorAll(this,"td,th")[Y])),this[Lh]}get rowIndex(){let t=this.parentNode;for(;t;){if(t[tt]==="TABLE")return ut.querySelectorAll(t,"tr")[Y].indexOf(this);t=t.parentNode}return-1}get sectionRowIndex(){let t=this.parentNode;for(;t;){if(t instanceof Gs)return ut.querySelectorAll(t,"tr")[Y].indexOf(this);t=t.parentNode}return-1}insertCell(t=-1){typeof t!="number"&&(t=-1);let r=ut.querySelectorAll(this,"td,th")[Y];if(t<-1)throw new this[u].DOMException(`Failed to execute 'insertCell' on 'HTMLTableRowElement': The index provided (${t}) is less than -1.`,A.indexSizeError);if(t>r.length)throw new this[u].DOMException(`Failed to execute 'insertCell' on 'HTMLTableRowElement': The index provided (${t}) is greater than the number of cells (${r.length}).`,A.indexSizeError);let o=this[T].createElement("td");return t===-1||t===r.length?(this.appendChild(o),o):(r[t].parentNode?.insertBefore(o,r[t]),o)}deleteCell(t){if(arguments.length===0)throw new this[u].TypeError("Failed to execute 'deleteCell' on 'HTMLTableRowElement': 1 argument required, but only 0 present.");if(typeof t!="number"&&(t=-1),t<-1)throw new this[u].DOMException(`Failed to execute 'deleteCell' on 'HTMLTableRowElement': The index provided (${t}) is less than -1.`,A.indexSizeError);let r=ut.querySelectorAll(this,"td,th")[Y];if(t>=r.length)throw new this[u].DOMException(`Failed to execute 'deleteCell' on 'HTMLTableRowElement': The index provided (${t}) is greater than the number of cells in the row (${r.length}).`,A.indexSizeError);t===-1&&(t=r.length-1),r[t].remove()}};var TT,mc=class extends B{constructor(){super(...arguments);s(this,TT,this[T].createDocumentFragment())}get content(){return this[Mo]}get innerHTML(){return this.getHTML()}set innerHTML(t){let r=this[Mo],o=r[$];for(;o.length;)r.removeChild(o[0]);new qr(this[u],{isTemplateDocumentFragment:!0}).parse(t,this[Mo])}get firstChild(){return this[Mo].firstChild}get lastChild(){return this[Mo].lastChild}getInnerHTML(t){let r=new Di,o=this[Mo],i="";for(let n of o[$])i+=r.serializeToString(n);return i}getHTML(t){let r=new Di,o=this[Mo],i="";for(let n of o[$])i+=r.serializeToString(n);return i}[(TT=Mo,Et)](t,r=!1){return this[Mo][Et](t,r)}[Rr](t){return this[Mo][Rr](t)}[uo](t,r,o=!1){return this[Mo][uo](t,r,o)}[Ny](t,r){return this[Mo][Ny](t,r)}[ct](t=!1){let r=super[ct](t);return r[Mo]=this[Mo].cloneNode(t),r}};var yc=class extends B{get dateTime(){return this.getAttribute("dateTime")||""}set dateTime(e){this.setAttribute("dateTime",e)}};var pc=class extends B{get text(){let e="";for(let t of this[$])t[U]===M.textNode&&(e+=t.textContent);return e}set text(e){this.textContent=e}get innerHTML(){return this.getHTML()}set innerHTML(e){this.textContent=e}};var cc=class extends B{get oncuechange(){return S.getEventListener(this,"oncuechange")}set oncuechange(e){this[h].set("oncuechange",e)}get kind(){let e=this.getAttribute("kind");return e===null?jn.subtitles:jn[e]?e:jn.metadata}set kind(e){jn[e]||(e=jn.metadata),this.setAttribute("kind",e)}get src(){if(!this.hasAttribute("src"))return"";try{return new URL(this.getAttribute("src"),this[T].location.href).href}catch{return this.getAttribute("src")||""}}set src(e){this.setAttribute("src",e)}get srclang(){return this.getAttribute("srclang")||""}set srclang(e){this.setAttribute("srclang",e)}get label(){return this.getAttribute("label")||""}set label(e){this.setAttribute("label",e)}get default(){return this.hasAttribute("default")}set default(e){e?this.setAttribute("default",""):this.removeAttribute("default")}get readyState(){return 0}get track(){let e=new this[u].TextTrack(c);return e[ui]=this.kind,e[fl]=this.label,e[um]=this.srclang,e[ke]=this.default?"showing":"disabled",e[Rh]=this.id,e}};var hc=class extends B{};var dc=class extends B{};var bc=class extends zn{};var NT,LT,CT,fc=class extends(CT=Vs,LT=U,NT=Zr,CT){constructor(){super(...arguments);s(this,LT,M.processingInstructionNode);s(this,NT,"")}get target(){return this[Zr]}};var kT,MT,RT,OT,Vu=class extends(OT=gt,RT=Xr,MT=Ve,kT=U,OT){constructor(){super(...arguments);s(this,RT,null);s(this,MT,this);s(this,kT,M.documentFragmentNode)}get children(){if(!this[Xr]){let t=this[ft];this[Xr]=new Ae(c,()=>t)}return this[Xr]}get childElementCount(){return this[ft].length}get firstElementChild(){return this[ft][0]??null}get lastElementChild(){let t=this[ft];return t[t.length-1]??null}get textContent(){let t="";for(let r of this[$])(r[U]===M.elementNode||r[U]===M.textNode)&&(t+=r.textContent);return t}set textContent(t){let r=this[$];for(;r.length;)this.removeChild(r[0]);t&&this.appendChild(this[T].createTextNode(t))}append(...t){ne.append(this,...t)}prepend(...t){ne.prepend(this,...t)}replaceChildren(...t){ne.replaceChildren(this,...t)}querySelectorAll(t){return ut.querySelectorAll(this,t)}querySelector(t){return ut.querySelector(this,t)}getElementById(t){return ne.getElementById(this,t)}};var VT,IT,DT,FT,_T,BT,UT,GT,gc=class extends Vu{constructor(){super(...arguments);s(this,GT,[]);s(this,UT,"open");s(this,BT,null);s(this,_T,!1);s(this,FT,!1);s(this,DT,!1);s(this,IT,"named");s(this,VT,new Map)}get onslotchange(){return this[h].get("onslotchange")??null}set onslotchange(t){this[h].set("onslotchange",t)}get mode(){return this[ke]}get host(){return this[La]}get clonable(){return this[Oa]}get delegatesFocus(){return this[lm]}get serializable(){return this[nn]}get slotAssignment(){return this[Es]}get fullscreenElement(){return null}get pictureInPictureElement(){return null}get pointerLockElement(){return null}get innerHTML(){let t=new Di,r="";for(let o of this[$])r+=t.serializeToString(o);return r}set innerHTML(t){let r=this[$];for(;r.length;)this.removeChild(r[0]);new qr(this[u]).parse(t,this)}get adoptedStyleSheets(){return this[Ta]}set adoptedStyleSheets(t){this[Ta]=t}get activeElement(){let t=this[T][$e],r=t?.getRootNode();if(!r||r===this[T])return null;if(r===this)return t;for(;r&&r!==this;)t=r.host,r=t.getRootNode();return t}getAnimations(){return[]}setHTMLUnsafe(t){let r=this[$];for(;r.length;)this.removeChild(r[0]);new qr(this[u]).parse(t,this)}toString(){return this.innerHTML}[(GT=Ta,UT=ke,BT=La,_T=Oa,FT=lm,DT=nn,IT=Es,VT=h,ct)](t=!1){let r=super[ct](t);return r[ke]=this[ke],r[Oa]=this[Oa],r[lm]=this[lm],r[nn]=this[nn],r[Es]=this[Es],r}};var HT,qT,OS,st=class extends(qT=dr,HT=Ee,qT){constructor(){super(...arguments);s(this,HT,null);x(this,OS,null)}get onabort(){return S.getEventListener(this,"onabort")}set onabort(t){this[h].set("onabort",t)}get onanimationend(){return S.getEventListener(this,"onanimationend")}set onanimationend(t){this[h].set("onanimationend",t)}get onanimationiteration(){return S.getEventListener(this,"onanimationiteration")}set onanimationiteration(t){this[h].set("onanimationiteration",t)}get onanimationstart(){return S.getEventListener(this,"onanimationstart")}set onanimationstart(t){this[h].set("onanimationstart",t)}get onauxclick(){return S.getEventListener(this,"onauxclick")}set onauxclick(t){this[h].set("onauxclick",t)}get onblur(){return S.getEventListener(this,"onblur")}set onblur(t){this[h].set("onblur",t)}get oncancel(){return S.getEventListener(this,"oncancel")}set oncancel(t){this[h].set("oncancel",t)}get oncanplay(){return S.getEventListener(this,"oncanplay")}set oncanplay(t){this[h].set("oncanplay",t)}get oncanplaythrough(){return S.getEventListener(this,"oncanplaythrough")}set oncanplaythrough(t){this[h].set("oncanplaythrough",t)}get onchange(){return S.getEventListener(this,"onchange")}set onchange(t){this[h].set("onchange",t)}get onclick(){return S.getEventListener(this,"onclick")}set onclick(t){this[h].set("onclick",t)}get onclose(){return S.getEventListener(this,"onclose")}set onclose(t){this[h].set("onclose",t)}get oncontextmenu(){return S.getEventListener(this,"oncontextmenu")}set oncontextmenu(t){this[h].set("oncontextmenu",t)}get oncopy(){return S.getEventListener(this,"oncopy")}set oncopy(t){this[h].set("oncopy",t)}get oncuechange(){return S.getEventListener(this,"oncuechange")}set oncuechange(t){this[h].set("oncuechange",t)}get oncut(){return S.getEventListener(this,"oncut")}set oncut(t){this[h].set("oncut",t)}get ondblclick(){return S.getEventListener(this,"ondblclick")}set ondblclick(t){this[h].set("ondblclick",t)}get ondrag(){return S.getEventListener(this,"ondrag")}set ondrag(t){this[h].set("ondrag",t)}get ondragend(){return S.getEventListener(this,"ondragend")}set ondragend(t){this[h].set("ondragend",t)}get ondragenter(){return S.getEventListener(this,"ondragenter")}set ondragenter(t){this[h].set("ondragenter",t)}get ondragleave(){return S.getEventListener(this,"ondragleave")}set ondragleave(t){this[h].set("ondragleave",t)}get ondragover(){return S.getEventListener(this,"ondragover")}set ondragover(t){this[h].set("ondragover",t)}get ondragstart(){return S.getEventListener(this,"ondragstart")}set ondragstart(t){this[h].set("ondragstart",t)}get ondrop(){return S.getEventListener(this,"ondrop")}set ondrop(t){this[h].set("ondrop",t)}get ondurationchange(){return S.getEventListener(this,"ondurationchange")}set ondurationchange(t){this[h].set("ondurationchange",t)}get onemptied(){return S.getEventListener(this,"onemptied")}set onemptied(t){this[h].set("onemptied",t)}get onended(){return S.getEventListener(this,"onended")}set onended(t){this[h].set("onended",t)}get onerror(){return S.getEventListener(this,"onerror")}set onerror(t){this[h].set("onerror",t)}get onfocus(){return S.getEventListener(this,"onfocus")}set onfocus(t){this[h].set("onfocus",t)}get onformdata(){return S.getEventListener(this,"onformdata")}set onformdata(t){this[h].set("onformdata",t)}get ongotpointercapture(){return S.getEventListener(this,"ongotpointercapture")}set ongotpointercapture(t){this[h].set("ongotpointercapture",t)}get oninput(){return S.getEventListener(this,"oninput")}set oninput(t){this[h].set("oninput",t)}get oninvalid(){return S.getEventListener(this,"oninvalid")}set oninvalid(t){this[h].set("oninvalid",t)}get onkeydown(){return S.getEventListener(this,"onkeydown")}set onkeydown(t){this[h].set("onkeydown",t)}get onkeypress(){return S.getEventListener(this,"onkeypress")}set onkeypress(t){this[h].set("onkeypress",t)}get onkeyup(){return S.getEventListener(this,"onkeyup")}set onkeyup(t){this[h].set("onkeyup",t)}get onload(){return S.getEventListener(this,"onload")}set onload(t){this[h].set("onload",t)}get onloadeddata(){return S.getEventListener(this,"onloadeddata")}set onloadeddata(t){this[h].set("onloadeddata",t)}get onloadedmetadata(){return S.getEventListener(this,"onloadedmetadata")}set onloadedmetadata(t){this[h].set("onloadedmetadata",t)}get onloadstart(){return S.getEventListener(this,"onloadstart")}set onloadstart(t){this[h].set("onloadstart",t)}get onlostpointercapture(){return S.getEventListener(this,"onlostpointercapture")}set onlostpointercapture(t){this[h].set("onlostpointercapture",t)}get onmousedown(){return S.getEventListener(this,"onmousedown")}set onmousedown(t){this[h].set("onmousedown",t)}get onmouseenter(){return S.getEventListener(this,"onmouseenter")}set onmouseenter(t){this[h].set("onmouseenter",t)}get onmouseleave(){return S.getEventListener(this,"onmouseleave")}set onmouseleave(t){this[h].set("onmouseleave",t)}get onmousemove(){return S.getEventListener(this,"onmousemove")}set onmousemove(t){this[h].set("onmousemove",t)}get onmouseout(){return S.getEventListener(this,"onmouseout")}set onmouseout(t){this[h].set("onmouseout",t)}get onmouseover(){return S.getEventListener(this,"onmouseover")}set onmouseover(t){this[h].set("onmouseover",t)}get onmouseup(){return S.getEventListener(this,"onmouseup")}set onmouseup(t){this[h].set("onmouseup",t)}get onmousewheel(){return S.getEventListener(this,"onmousewheel")}set onmousewheel(t){this[h].set("onmousewheel",t)}get onpaste(){return S.getEventListener(this,"onpaste")}set onpaste(t){this[h].set("onpaste",t)}get onpause(){return S.getEventListener(this,"onpause")}set onpause(t){this[h].set("onpause",t)}get onplay(){return S.getEventListener(this,"onplay")}set onplay(t){this[h].set("onplay",t)}get onplaying(){return S.getEventListener(this,"onplaying")}set onplaying(t){this[h].set("onplaying",t)}get onpointercancel(){return S.getEventListener(this,"onpointercancel")}set onpointercancel(t){this[h].set("onpointercancel",t)}get onpointerdown(){return S.getEventListener(this,"onpointerdown")}set onpointerdown(t){this[h].set("onpointerdown",t)}get onpointerenter(){return S.getEventListener(this,"onpointerenter")}set onpointerenter(t){this[h].set("onpointerenter",t)}get onpointerleave(){return S.getEventListener(this,"onpointerleave")}set onpointerleave(t){this[h].set("onpointerleave",t)}get onpointermove(){return S.getEventListener(this,"onpointermove")}set onpointermove(t){this[h].set("onpointermove",t)}get onpointerout(){return S.getEventListener(this,"onpointerout")}set onpointerout(t){this[h].set("onpointerout",t)}get onpointerover(){return S.getEventListener(this,"onpointerover")}set onpointerover(t){this[h].set("onpointerover",t)}get onpointerrawupdate(){return S.getEventListener(this,"onpointerrawupdate")}set onpointerrawupdate(t){this[h].set("onpointerrawupdate",t)}get onpointerup(){return S.getEventListener(this,"onpointerup")}set onpointerup(t){this[h].set("onpointerup",t)}get onprogress(){return S.getEventListener(this,"onprogress")}set onprogress(t){this[h].set("onprogress",t)}get onratechange(){return S.getEventListener(this,"onratechange")}set onratechange(t){this[h].set("onratechange",t)}get onreset(){return S.getEventListener(this,"onreset")}set onreset(t){this[h].set("onreset",t)}get onresize(){return S.getEventListener(this,"onresize")}set onresize(t){this[h].set("onresize",t)}get onscroll(){return S.getEventListener(this,"onscroll")}set onscroll(t){this[h].set("onscroll",t)}get onscrollend(){return S.getEventListener(this,"onscrollend")}set onscrollend(t){this[h].set("onscrollend",t)}get onscrollsnapchange(){return S.getEventListener(this,"onscrollsnapchange")}set onscrollsnapchange(t){this[h].set("onscrollsnapchange",t)}get onscrollsnapchanging(){return S.getEventListener(this,"onscrollsnapchanging")}set onscrollsnapchanging(t){this[h].set("onscrollsnapchanging",t)}get onsecuritypolicyviolation(){return S.getEventListener(this,"onsecuritypolicyviolation")}set onsecuritypolicyviolation(t){this[h].set("onsecuritypolicyviolation",t)}get onseeked(){return S.getEventListener(this,"onseeked")}set onseeked(t){this[h].set("onseeked",t)}get onseeking(){return S.getEventListener(this,"onseeking")}set onseeking(t){this[h].set("onseeking",t)}get onselect(){return S.getEventListener(this,"onselect")}set onselect(t){this[h].set("onselect",t)}get onselectionchange(){return S.getEventListener(this,"onselectionchange")}set onselectionchange(t){this[h].set("onselectionchange",t)}get onselectstart(){return S.getEventListener(this,"onselectstart")}set onselectstart(t){this[h].set("onselectstart",t)}get onslotchange(){return S.getEventListener(this,"onslotchange")}set onslotchange(t){this[h].set("onslotchange",t)}get onstalled(){return S.getEventListener(this,"onstalled")}set onstalled(t){this[h].set("onstalled",t)}get onsubmit(){return S.getEventListener(this,"onsubmit")}set onsubmit(t){this[h].set("onsubmit",t)}get onsuspend(){return S.getEventListener(this,"onsuspend")}set onsuspend(t){this[h].set("onsuspend",t)}get ontimeupdate(){return S.getEventListener(this,"ontimeupdate")}set ontimeupdate(t){this[h].set("ontimeupdate",t)}get ontoggle(){return S.getEventListener(this,"ontoggle")}set ontoggle(t){this[h].set("ontoggle",t)}get ontransitioncancel(){return S.getEventListener(this,"ontransitioncancel")}set ontransitioncancel(t){this[h].set("ontransitioncancel",t)}get ontransitionend(){return S.getEventListener(this,"ontransitionend")}set ontransitionend(t){this[h].set("ontransitionend",t)}get ontransitionrun(){return S.getEventListener(this,"ontransitionrun")}set ontransitionrun(t){this[h].set("ontransitionrun",t)}get ontransitionstart(){return S.getEventListener(this,"ontransitionstart")}set ontransitionstart(t){this[h].set("ontransitionstart",t)}get onvolumechange(){return S.getEventListener(this,"onvolumechange")}set onvolumechange(t){this[h].set("onvolumechange",t)}get onwaiting(){return S.getEventListener(this,"onwaiting")}set onwaiting(t){this[h].set("onwaiting",t)}get onwheel(){return S.getEventListener(this,"onwheel")}set onwheel(t){this[h].set("onwheel",t)}get ownerSVGElement(){let t=this[W];for(;t;){if(t[dt]==="svg")return t;t=t[W]}return null}get viewportElement(){return this.ownerSVGElement}get dataset(){return y(this,OS)??w(this,OS,new Hm(c,this))}get style(){return this[Ee]||(this[Ee]=new co(c,this[u],{element:this})),this[Ee]}get tabIndex(){let t=this.getAttribute("tabindex");return t!==null?Number(t):-1}set tabIndex(t){t===-1?this.removeAttribute("tabindex"):this.setAttribute("tabindex",String(t))}blur(){Ul.blur(this)}focus(){Ul.focus(this)}};OS=new WeakMap;var Sc=class{observe(){}unobserve(){}disconnect(){}};var ey=class{constructor(){s(this,"width",1024);s(this,"height",768);s(this,"availWidth",1024);s(this,"availHeight",768);s(this,"colorDepth",24);s(this,"pixelDepth",24)}};var $T;$T=le;var R0=class R0{constructor(){s(this,$T,{});let e=this[le],t=new xe(this,[R0]);return new Proxy(this,{get:(r,o)=>{if(o in r||typeof o=="symbol")return t.bind(o),r[o];if(o in e)return e[o]},set(r,o,i){return t.bind(o),o in r||typeof o=="symbol"||(e[String(o)]=String(i)),!0},deleteProperty(r,o){return o in e?(delete e[String(o)],!0):!1},ownKeys(){return Object.keys(e)},has(r,o){return o in r||o in e},defineProperty(r,o,i){return t.preventBinding(o),o in r?(Object.defineProperty(r,o,i),!0):i.value!==void 0?(e[String(o)]=String(i.value),!0):!1},getOwnPropertyDescriptor(r,o){if(o in r)return;let i=e[String(o)];if(i!==void 0)return{value:i,writable:!0,enumerable:!0,configurable:!0}}})}get length(){return Object.keys(this[le]).length}key(e){let t=Object.keys(this[le])[e];return t!==void 0?t:null}setItem(e,t){this[le][e]=String(t)}getItem(e){return this[le][e]!==void 0?this[le][e]:null}removeItem(e){delete this[le][e]}clear(){let e=this[le];for(let t of Object.keys(e))delete e[t]}},Iu=R0;var _i,of,WT,jT,zT,Pc=class{constructor(){x(this,_i)}serializeToString(e){return D(this,_i,of).call(this,e)}};_i=new WeakSet,of=function(e,t=null,r=null){switch(e[U]){case M.elementNode:let o=e,i=o[dt],n="",a=D(this,_i,WT).call(this,o,r),m=o[rt]===qt.html?o[Vt]:D(this,_i,jT).call(this,o,a),p=`${m?m+":":""}${i}`,b=m?t:o[rt]||t,d=D(this,_i,zT).call(this,o,m,t,r),f=b===qt.html&&i==="template"?e.content[$]:e[$];for(let ht of f)n+=D(this,_i,of).call(this,ht,b,a);return!n&&b===qt.html&&hr[i.toLowerCase()]?.contentModel===H.noDescendants?`<${p}${d} />`:!n&&b!==qt.html?`<${p}${d}/>`:`<${p}${d}>${n}</${p}>`;case gt.DOCUMENT_FRAGMENT_NODE:case gt.DOCUMENT_NODE:let v="";e[hm]&&(v+=D(this,_i,of).call(this,e[hm],t,new Map(r)));for(let ht of e[$])v+=D(this,_i,of).call(this,ht,t,new Map(r));return v;case M.commentNode:return`<!--${e.textContent}-->`;case M.processingInstructionNode:return`<?${e.target} ${e.textContent}?>`;case M.textNode:let C=e.parentElement;return C&&hr[C[dt]]?.contentModel===H.rawText?e.textContent:He.encodeTextContent(e.textContent);case M.documentTypeNode:let L=e,j=L.publicId?" PUBLIC":L.systemId?" SYSTEM":"",et=L.publicId?` "${L.publicId}"`:"",J=L.systemId?` "${L.systemId}"`:"";return`<!DOCTYPE ${L.name}${j}${et}${J}>`}return""},WT=function(e,t){let r=new Map(t);for(let o of e[St][Y].values())o[rt]===qt.xmlns&&o[Vt]&&r.set(o[Z],o[dt]);return r},jT=function(e,t){if(e[Vt]&&!e[rt])throw new Error("Element has a prefix but no namespace.");if(!e[Vt]||!t)return null;let r=t.get(e[rt]);if(r)return r;let o=new Set(t.values());if(o.has(e[Vt])){let i=1;for(;o.has("n"+i);)i++;return t.set(e[rt],"n"+i),"n"+i}return t.set(e[rt],e[Vt]),e[Vt]},zT=function(e,t,r,o){let i="",n="",a=new Set;for(let m of e[St][Y].values())m[rt]===qt.xmlns?t&&m[dt]===t&&e[rt]?(n+=` xmlns:${t}="${He.encodeXMLAttributeValue(e[rt])}"`,a.add(e[rt])):!t&&m[lt]==="xmlns"&&e[rt]?(n+=` xmlns="${He.encodeXMLAttributeValue(e[rt])}"`,a.add(e[rt])):(n+=` ${m[lt]}="${He.encodeXMLAttributeValue(m[Z])}"`,a.add(m[Z])):i+=` ${m[lt]}="${He.encodeXMLAttributeValue(m[Z])}"`;return e[rt]&&r!==e[rt]&&!a.has(e[rt])&&(t&&!o?.has(e[rt])?n+=` xmlns:${t}="${He.encodeXMLAttributeValue(e[rt])}"`:!t&&r!==e[rt]&&(n+=` xmlns="${He.encodeXMLAttributeValue(e[rt])}"`)),n+i};import{Script as YD}from"vm";var XT=new YD(`
139
+ this.ArrayBuffer = globalThis.ArrayBuffer;
140
+ this.Boolean = globalThis.Boolean;
141
+ this.DataView = globalThis.DataView;
142
+ this.Date = globalThis.Date;
143
+ this.Error = globalThis.Error;
144
+ this.EvalError = globalThis.EvalError;
145
+ this.Float32Array = globalThis.Float32Array;
146
+ this.Float64Array = globalThis.Float64Array;
147
+ this.GLOBAL = globalThis.GLOBAL;
148
+ this.Infinity = globalThis.Infinity;
149
+ this.Int16Array = globalThis.Int16Array;
150
+ this.Int32Array = globalThis.Int32Array;
151
+ this.Int8Array = globalThis.Int8Array;
152
+ this.Intl = globalThis.Intl;
153
+ this.JSON = globalThis.JSON;
154
+ this.Map = globalThis.Map;
155
+ this.Math = globalThis.Math;
156
+ this.NaN = globalThis.NaN;
157
+ this.Number = globalThis.Number;
158
+ this.Promise = globalThis.Promise;
159
+ this.RangeError = globalThis.RangeError;
160
+ this.ReferenceError = globalThis.ReferenceError;
161
+ this.RegExp = globalThis.RegExp;
162
+ this.Reflect = globalThis.Reflect;
163
+ this.Set = globalThis.Set;
164
+ this.Symbol = globalThis.Symbol;
165
+ this.SyntaxError = globalThis.SyntaxError;
166
+ this.String = globalThis.String;
167
+ this.TypeError = globalThis.TypeError;
168
+ this.URIError = globalThis.URIError;
169
+ this.Uint16Array = globalThis.Uint16Array;
170
+ this.Uint32Array = globalThis.Uint32Array;
171
+ this.Uint8Array = globalThis.Uint8Array;
172
+ this.Uint8ClampedArray = globalThis.Uint8ClampedArray;
173
+ this.WeakMap = globalThis.WeakMap;
174
+ this.WeakSet = globalThis.WeakSet;
175
+ this.decodeURI = globalThis.decodeURI;
176
+ this.decodeURIComponent = globalThis.decodeURIComponent;
177
+ this.encodeURI = globalThis.encodeURI;
178
+ this.encodeURIComponent = globalThis.encodeURIComponent;
179
+ this.eval = globalThis.eval;
180
+ this.escape = globalThis.escape;
181
+ this.global = globalThis.global;
182
+ this.isFinite = globalThis.isFinite;
183
+ this.isNaN = globalThis.isNaN;
184
+ this.parseFloat = globalThis.parseFloat;
185
+ this.parseInt = globalThis.parseInt;
186
+ this.root = globalThis.root;
187
+ this.undefined = globalThis.undefined;
188
+ this.unescape = globalThis.unescape;
189
+ this.AbortController = globalThis.AbortController;
190
+ this.AbortSignal = globalThis.AbortSignal;
191
+ this.Array = globalThis.Array;
192
+ this.Object = globalThis.Object;
193
+ this.Function = globalThis.Function;
194
+ `);import{URL as KD}from"url";var sf=class{static openPage(e,t){let r=this.getWindowFeatures(t?.features||""),o=t?.target!==void 0?String(t.target):null,i=new KD(e.window.location.href),n=vo.getRelativeURL(e,t?.url),a=e.window,m;if(e.window!==a)return null;switch(o){case"_self":m=e;break;case"_top":m=e.page.mainFrame;break;case"_parent":m=e.parentFrame??e;break;default:m=e.page.context.newPage().mainFrame,m[wo]=e;break}if(m.goto(n.href,{referrer:r.noreferrer?void 0:e.window.location.origin,referrerPolicy:r.noreferrer?"no-referrer":void 0}).catch(b=>{m.page.console.error(b)}),n.protocol==="javascript:")return m.window;if(m===e&&e.window===a)return null;r.popup&&o!=="_self"&&o!=="_top"&&o!=="_parent"&&(m[yl]=!0,(r?.width||r?.height)&&m.page.setViewport({width:r?.width,height:r?.height}),r?.left&&(m.window.screenLeft=r.left,m.window.screenX=r.left),r?.top&&(m.window.screenTop=r.top,m.window.screenY=r.top)),o&&o!=="_self"&&o!=="_top"&&o!=="_parent"&&o!=="_blank"&&(m.window.name=o);let p=Mi.isCORS(i,m.url);return!r.noopener&&!r.noreferrer&&e.window&&m[wo]&&m.window!==e.window&&(m[Xi]=p?new Yl(e.window):e.window),r.noopener||r.noreferrer?null:p?new Yl(m.window,e.window):m.window}static getWindowFeatures(e){let t=e.split(","),r={popup:!1,width:0,height:0,left:0,top:0,noopener:!1,noreferrer:!1};for(let o of t){let[i,n]=o.split("=");switch(i){case"popup":r.popup=!n||n==="yes"||n==="1"||n==="true";break;case"width":case"innerWidth":r.width=parseInt(n,10);break;case"height":case"innerHeight":r.height=parseInt(n,10);break;case"left":case"screenX":r.left=parseInt(n,10);break;case"top":case"screenY":r.top=parseInt(n,10);break;case"noopener":r.noopener=!0;break;case"noreferrer":r.noreferrer=!0;break}}return r}};import{PerformanceObserver as i_,PerformanceEntry as s_}from"node:perf_hooks";var wc=class extends Yo{constructor(){super();let e=this.createElement("html"),t=this.createElement("body"),r=this.createElement("head");this.appendChild(e),e.appendChild(r),e.appendChild(t)}[Et](e,t=!1){if(e[U]===M.textNode)throw new this[u].Error("Failed to execute 'appendChild' on 'Node': Nodes of type '#text' may not be inserted inside nodes of type '#document'.");if(e[U]===M.documentFragmentNode)return e;if(e[U]===M.elementNode&&this[ft].length!==0)throw new this[u].Error("Failed to execute 'appendChild' on 'Node': Only one element on document allowed.");return super[Et](e,t)}[uo](e,t,r=!1){if(e[U]===M.textNode)throw new this[u].Error("Failed to execute 'insertBefore' on 'Node': Nodes of type '#text' may not be inserted inside nodes of type '#document'.");if(e[U]===M.documentFragmentNode)return e;if(e[U]===M.elementNode&&this[ft].length!==0)throw new this[u].Error("Failed to execute 'insertBefore' on 'Node': Only one element on document allowed.");return super[uo](e,t,r)}};var YT,KT,xc=class extends(KT=Yo,YT=Oe,KT){constructor(){super(...arguments);s(this,YT,"application/xml")}};var JT,ZT,QT,Ec=class extends Vs{constructor(){super(...arguments);s(this,QT,M.textNode);s(this,ZT,null);s(this,JT,null)}get nodeName(){return"#text"}get data(){return this[le]}set data(t){super.data=t,this[Pr]&&this[Pr][xy](),this[Br]&&this[Br][Ma]()}splitText(t){let r=this[le].length;if(t<0||t>r)throw new this[u].DOMException("The index is not in the allowed range.",A.indexSizeError);let o=r-t,i=this.substringData(t,o),n=this[T].createTextNode(i);return this[W]!==null&&this[W].insertBefore(n,this.nextSibling),this.replaceData(t,o,""),n}toString(){return"[object Text]"}[(QT=U,ZT=Pr,JT=Br,ct)](t=!1){return super[ct](t)}[Lo](){super[Lo](),this[Pr]&&this[Pr][xy](),this[Br]&&this[le]&&this[Br][Ma]()}[Zs](){this[Pr]&&this[Pr][xy](),this[Br]&&this[le]&&this[Br][Ma](),super[Zs]()}};var t2,vc=class extends Vs{constructor(){super(...arguments);s(this,t2,M.commentNode)}get nodeName(){return"#comment"}toString(){return"[object Comment]"}[(t2=U,ct)](t=!1){return super[ct](t)}};var e2,r2,o2,i2,Ac=class extends(i2=Mu,o2=tt,r2=dt,e2=rt,i2){constructor(t=null,r=null){super();s(this,o2,"IMG");s(this,r2,"img");s(this,e2,qt.html);t!==null&&(this.width=t),r!==null&&(this.height=r)}};var s2,n2,l2,a2,nf=class extends(a2=Eu,l2=tt,n2=dt,s2=rt,a2){constructor(t=null){super();s(this,l2,"AUDIO");s(this,n2,"audio");s(this,s2,qt.html);t!==null&&(this.src=t)}};var Tc,Nc,Lc,Zl,Du,Cc,lf=class{constructor(e){s(this,"target");s(this,"options");s(this,"mutationListener");x(this,Tc);x(this,Nc);x(this,Lc);x(this,Zl,[]);x(this,Du,!1);x(this,Cc,!1);this.options=e.options,this.target=e.target,this.mutationListener={options:e.options,callback:new WeakRef(t=>this.report(t))},w(this,Tc,e.window),w(this,Nc,e.observer),w(this,Lc,e.callback)}report(e){y(this,Du)||(y(this,Zl).push(e),!y(this,Cc)&&(y(this,Tc).queueMicrotask(()=>{if(y(this,Du))return;w(this,Cc,!1);let t=y(this,Zl);t?.length>0&&(w(this,Zl,[]),y(this,Lc).call(this,t,y(this,Nc)))}),w(this,Cc,!0)))}takeRecords(){if(y(this,Du))return[];let e=y(this,Zl);return w(this,Zl,[]),e}destroy(){y(this,Du)||(w(this,Du,!0),this.options=null,this.target=null,this.mutationListener=null,w(this,Tc,null),w(this,Nc,null),w(this,Lc,null),w(this,Zl,null))}};Tc=new WeakMap,Nc=new WeakMap,Lc=new WeakMap,Zl=new WeakMap,Du=new WeakMap,Cc=new WeakMap;var af,Ql,uf,kc=class{constructor(e){x(this,af);x(this,Ql,[]);x(this,uf,!1);if(!this[u])throw new TypeError(`Failed to construct '${this.constructor.name}': '${this.constructor.name}' was constructed outside a Window context.`);w(this,af,e)}observe(e,t){if(y(this,uf))return;if(!e)throw new this[u].TypeError(`Failed to execute 'observe' on 'MutationObserver': The first parameter "target" should be of type "Node".`);if(t&&(t.attributeFilter||t.attributeOldValue)){if(t.attributes===void 0&&(t=Object.assign({},t,{attributes:!0,attributeFilter:t.attributeFilter,attributeOldValue:t.attributeOldValue})),!t.attributes&&t.attributeOldValue)throw new this[u].TypeError("Failed to execute 'observe' on 'MutationObserver': The options object may only set 'attributeOldValue' to true when 'attributes' is true or not present.");if(!t.attributes&&t.attributeFilter)throw new this[u].TypeError("Failed to execute 'observe' on 'MutationObserver': The options object may only set 'attributeFilter' when 'attributes' is true or not present.")}if(t&&t.characterDataOldValue&&(t.characterData===void 0&&(t=Object.assign({},t,{characterData:!0,characterDataOldValue:t.characterDataOldValue})),!t.characterData&&t.characterDataOldValue))throw new this[u].TypeError("Failed to execute 'observe' on 'MutationObserver': The options object may only set 'characterDataOldValue' to true when 'characterData' is true or not present.");if(!t||!t.childList&&!t.attributes&&!t.characterData)throw new this[u].TypeError("Failed to execute 'observe' on 'MutationObserver': The options object must set at least one of 'attributes', 'characterData', or 'childList' to true.");t=Object.assign({},t,{attributeFilter:t.attributeFilter?t.attributeFilter.map(o=>o.toLowerCase()):null});for(let o of y(this,Ql))if(o.target===e){o.options=t;return}let r=new lf({window:this[u],options:t,callback:y(this,af).bind(this),observer:this,target:e});y(this,Ql).push(r),this[u][Aa].includes(this)||this[u][Aa].push(this),e[rm](r.mutationListener)}disconnect(){if(y(this,Ql).length===0)return;for(let r of y(this,Ql))r.target[Ey](r.mutationListener),r.destroy();w(this,Ql,[]);let e=this[u][Aa],t=e.indexOf(this);t!==-1&&e.splice(t,1)}takeRecords(){let e=[];for(let t of y(this,Ql))e=e.concat(t.takeRecords());return e}[ue](){w(this,uf,!0),this.disconnect()}};af=new WeakMap,Ql=new WeakMap,uf=new WeakMap;var mf=class extends _t{postMessage(e,t){}start(){}close(){}};var JD=/\/\*[\s\S]*?\*\//gm,yf,Mc=class{constructor(e){x(this,yf);w(this,yf,e)}parseFromString(e){let t=y(this,yf),r=t[u],o=e.replace(JD,""),i=[],n=/{|}/gm,a=[],m=null,p=0,b;for(;b=n.exec(o);){if(b[0]==="{"){let d=o.substring(p,b.index).trim();if(d[0]==="@"){let f=d.split(" "),v=f[0],C=f.slice(1).join(" ").trim();switch(v){case"@keyframes":case"@-webkit-keyframes":let L=new Za(c,r,this);L[po]=v==="@-webkit-keyframes"?"-webkit-":"",L[lt]=C,L[hi]=t,m?(m.type===pt.mediaRule||m.type===pt.containerRule||m.type===pt.supportsRule)&&m.cssRules.push(L):i.push(L),m=L;break;case"@media":let j=C.split(","),et=new tu(c,r,this);for(let Lt of j)et.media.appendMedium(Lt.trim());et[hi]=t,m?(m.type===pt.mediaRule||m.type===pt.containerRule||m.type===pt.supportsRule)&&m.cssRules.push(et):i.push(et),m=et;break;case"@container":case"@-webkit-container":let J=new Xa(c,r,this);J[po]=v==="@-webkit-container"?"-webkit-":"",J[Ho]=C,J[hi]=t,m?(m.type===pt.mediaRule||m.type===pt.containerRule||m.type===pt.supportsRule)&&m.cssRules.push(J):i.push(J),m=J;break;case"@supports":case"@-webkit-supports":let ht=new iu(c,r,this);ht[po]=v==="@-webkit-supports"?"-webkit-":"",ht[Ho]=C,ht[hi]=t,m?(m.type===pt.mediaRule||m.type===pt.containerRule||m.type===pt.supportsRule)&&m.cssRules.push(ht):i.push(ht),m=ht;break;case"@font-face":let $t=new Ka(c,r,this);$t[Yr]=C,$t[hi]=t,m?(m.type===pt.mediaRule||m.type===pt.containerRule||m.type===pt.supportsRule)&&m.cssRules.push($t):i.push($t),m=$t;break;case"@scope":case"@-webkit-scope":let Nt=new On(c,r,this);if(Nt[po]=v==="@-webkit-scope"?"-webkit-":"",Nt[hi]=t,C){let Lt=C.split(/\s+to\s+/);Lt[0]&&Lt[0][0]==="("&&Lt[0][Lt[0].length-1]===")"&&(Nt[G]=Lt[0].slice(1,-1)),Lt[1]&&Lt[1][0]==="("&&Lt[1][Lt[1].length-1]===")"&&(Nt[z]=Lt[1].slice(1,-1))}m?(m.type===pt.mediaRule||m.type===pt.containerRule||m.type===pt.supportsRule)&&m.cssRules.push(Nt):i.push(Nt),m=Nt;break;default:let te=new Dn(c,r,this);te[hi]=t,m=te;break}}else if(m&&m.type===pt.keyframesRule){let f=new In(c,r,this),v=d.trim();v==="from"?v="0%":v==="to"&&(v="100%"),f[Cn]=v,f[hi]=t,f[vl]=m,m.cssRules.push(f),m=f}else if(m&&(m.type===pt.mediaRule||m.type===pt.containerRule||m.type===pt.supportsRule)){if(this.validateSelectorText(d)){let f=new Dn(c,r,this);f[bm]=d,f[hi]=t,f[vl]=m,m.cssRules.push(f),m=f}}else if(this.validateSelectorText(d)){let f=new Dn(c,r,this);f[bm]=d,f[hi]=t,f[vl]=m,m||i.push(f),m=f}m&&a.push(m)}else{if(m){let d=o.substring(p,b.index).trim().replace(/([^;])$/,"$1;");switch(m.type){case pt.fontFaceRule:case pt.keyframeRule:case pt.styleRule:m[Yr]=d;break}}a.pop(),m=a[a.length-1]||null}p=b.index+1}return i}validateSelectorText(e){try{Cl.getSelectorGroups(e)}catch{return!1}return!0}};yf=new WeakMap;var pf,Rc=class{constructor(e){s(this,"cssRules",[]);s(this,"media");s(this,"title");s(this,"alternate");s(this,"disabled");x(this,pf,null);this.media=e&&e.media?e.media:"",this.title=e&&e.title?e.title:"",this.alternate=e&&e.alternate?e.alternate:!1,this.disabled=e&&e.disabled?e.disabled:!1}insertRule(e,t){if(arguments.length===0)throw new this[u].TypeError("Failed to execute 'insertRule' on 'CSSStyleSheet': 1 argument required, but only 0 present.");let o=new Mc(this).parseFromString(e);if(o.length===0||o.length>1)throw new this[u].DOMException(`Failed to execute 'insertRule' on 'CSSStyleSheet': Failed to parse the rule '${e}'.`,A.syntaxError);if(t!==void 0){if(t>this.cssRules.length)throw new this[u].DOMException(`Failed to execute 'insertRule' on 'CSSStyleSheet': The index provided (${t}) is larger than the maximum index (${this.cssRules.length-1}).`,A.indexSizeError);return this.cssRules.splice(t,0,o[0]),t}let i=this.cssRules.length;return this.cssRules.push(o[0]),i}deleteRule(e){if(arguments.length===0)throw new this[u].TypeError("Failed to execute 'deleteRule' on 'CSSStyleSheet': 1 argument required, but only 0 present.");this.cssRules.splice(e,1)}async replace(e){if(arguments.length===0)throw new this[u].TypeError("Failed to execute 'replace' on 'CSSStyleSheet': 1 argument required, but only 0 present.");this.replaceSync(e)}replaceSync(e){if(arguments.length===0)throw new this[u].TypeError("Failed to execute 'replaceSync' on 'CSSStyleSheet': 1 argument required, but only 0 present.");y(this,pf)!==e&&(w(this,pf,e),this.cssRules=new Mc(this).parseFromString(e))}};pf=new WeakMap;var u2,m2,ta=class extends(m2=_t,u2=h,m2){constructor(){super(...arguments);s(this,u2,new Map)}get onloadstart(){return this[h].get("onloadstart")??null}set onloadstart(t){this[h].set("onloadstart",t)}get onprogress(){return this[h].get("onprogress")??null}set onprogress(t){this[h].set("onprogress",t)}get onabort(){return this[h].get("onabort")??null}set onabort(t){this[h].set("onabort",t)}get onerror(){return this[h].get("onerror")??null}set onerror(t){this[h].set("onerror",t)}get onload(){return this[h].get("onload")??null}set onload(t){this[h].set("onload",t)}get ontimeout(){return this[h].get("ontimeout")??null}set ontimeout(t){this[h].set("ontimeout",t)}get onloadend(){return this[h].get("onloadend")??null}set onloadend(t){this[h].set("onloadend",t)}};var cf=class extends ta{};var Oc=class{constructor(){s(this,"signal",new this[u].AbortSignal)}abort(e){this.signal[bs](e)}};var y2,p2,Vc=class extends _t{constructor(){super();s(this,p2,!1);s(this,y2);s(this,"onabort",null);if(!this[u])throw new TypeError("Failed to construct 'AbortSignal': Illegal constructor")}get[(p2=we,y2=ci,Symbol.toStringTag)](){return"AbortSignal"}get aborted(){return this[we]}set aborted(t){}get reason(){return this[ci]}set reason(t){}[bs](t){this.aborted||(this[ci]=t!==void 0?t:new this[u].DOMException("signal is aborted without reason",A.abortError),this[we]=!0,this.dispatchEvent(new R("abort")))}throwIfAborted(){if(this.aborted)throw this.reason}static abort(t){let r=new this;return r[ci]=t!==void 0?t:new this[u].DOMException("signal is aborted without reason",A.abortError),r[we]=!0,r}static timeout(t){let r=this[u],o=new this;return r.setTimeout(()=>{o[bs](new r.DOMException("signal timed out",A.timeoutError))},t),o}static any(t){for(let n of t)if(n[we])return this.abort(n[ci]);let r=new this,o=new Map,i=()=>{for(let n of t)n.removeEventListener("abort",o.get(n))};for(let n of t){let a=()=>{i(),r[bs](n[ci])};o.set(n,a),n.addEventListener("abort",a)}return r}};var Ic=class extends _t{constructor(t="granted"){super();s(this,"state");s(this,"onchange",null);this.state=t}};var O0;(function(l){l[l.unsent=0]="unsent",l[l.opened=1]="opened",l[l.headersReceived=2]="headersReceived",l[l.loading=3]="loading",l[l.done=4]="done"})(O0||(O0={}));var qe=O0;var V0;(function(l){l.arraybuffer="arraybuffer",l.blob="blob",l.document="document",l.json="json",l.text="text"})(V0||(V0={}));var Zn=V0;var Dc=class{static parse(e){if(!e.data)return"";switch(e.responseType){case Zn.arraybuffer:let t=new ArrayBuffer(e.data.length),r=new Uint8Array(t);return r.set(e.data),r;case Zn.blob:try{return new e.window.Blob([new Uint8Array(e.data)],{type:e.contentType||""})}catch{}return null;case Zn.document:let o=e.window,i=new o.DOMParser;try{return i.parseFromString(e.data.toString(),"application/xml")}catch{}return null;case Zn.json:try{return JSON.parse(e.data.toString())}catch{}return null;case Zn.text:default:return e.data.toString()}}};var Fc,ea,Fu,vr,$r,ry,tl,ra,Qo,_c,Be,c2,h2,Er,Qn=class extends ta{constructor(){super();x(this,Be);s(this,"upload",new this[u].XMLHttpRequestUpload);s(this,"withCredentials",!1);x(this,Fc,!0);x(this,ea,null);x(this,Fu,!1);x(this,vr,null);x(this,$r,null);x(this,ry,"");x(this,tl,null);x(this,ra,Buffer.from([]));x(this,Qo,qe.unsent);x(this,_c,null);if(!this[u])throw new TypeError(`Failed to construct '${this.constructor.name}': '${this.constructor.name}' was constructed outside a Window context.`)}get status(){return y(this,$r)?.status||0}get statusText(){return y(this,$r)?.statusText||""}get response(){return y(this,$r)?y(this,tl):""}get responseText(){if(this.responseType!==Zn.text&&this.responseType!=="")throw new this[u].DOMException(`Failed to read the 'responseText' property from 'XMLHttpRequest': The value is only accessible if the object's 'responseType' is '' or 'text' (was '${this.responseType}').`,A.invalidStateError);return y(this,tl)!==null?y(this,tl):this.readyState===qe.headersReceived||this.readyState===qe.loading?y(this,ra).toString()??"":""}get responseXML(){if(this.responseType!==Zn.document&&this.responseType!=="")throw new this[u].DOMException(`Failed to read the 'responseXML' property from 'XMLHttpRequest': The value is only accessible if the object's 'responseType' is '' or 'document' (was '${this.responseType}').`,A.invalidStateError);return this.responseType===""?null:y(this,tl)}get responseURL(){return y(this,$r)?.url||""}get readyState(){return y(this,Qo)}set responseType(t){if(this.readyState!==qe.opened&&this.readyState!==qe.unsent)throw new this[u].DOMException("Failed to set the 'responseType' property on 'XMLHttpRequest': The object's state must be OPENED or UNSENT.",A.invalidStateError);if(!y(this,Fc))throw new this[u].DOMException("Failed to set the 'responseType' property on 'XMLHttpRequest': The response type cannot be changed for synchronous requests made from a document.",A.invalidStateError);w(this,ry,t)}get responseType(){return y(this,ry)}open(t,r,o=!0,i,n){let a=this[u];if(!o&&this.responseType&&this.responseType!==Zn.text)throw new a.DOMException("Failed to execute 'open' on 'XMLHttpRequest': Synchronous requests from a document must not set a response type.",A.invalidAccessError);let m=new this[u].Headers;if(i){let p=Buffer.from(`${i}:${n||""}`);m.set("Authorization","Basic "+p.toString("base64"))}w(this,Fc,o),w(this,Fu,!1),w(this,$r,null),w(this,tl,null),w(this,ra,Buffer.from([])),w(this,ea,new a.AbortController),w(this,vr,new a.Request(r,{method:t,headers:m,signal:y(this,ea).signal,credentials:this.withCredentials?"include":"same-origin"})),w(this,Qo,qe.opened)}setRequestHeader(t,r){if(this.readyState!==qe.opened)throw new this[u].DOMException("Failed to execute 'setRequestHeader' on 'XMLHttpRequest': The object's state must be OPENED.",A.invalidStateError);return Rs.isHeaderForbidden(t)?!1:(y(this,vr).headers.set(t,r),!0)}getResponseHeader(t){return y(this,$r)?.headers.get(t)??null}getAllResponseHeaders(){if(!y(this,$r))return"";let t=[];for(let[r,o]of y(this,$r)?.headers){let i=r.toLowerCase();i!=="set-cookie"&&i!=="set-cookie2"&&t.push(`${r}: ${o}`)}return t.join(`\r
195
+ `)}send(t){let r=this[u];if(this.readyState!=qe.opened)throw new this[u].DOMException("Failed to execute 'send' on 'XMLHttpRequest': Connection must be opened before send() is called.",A.invalidStateError);typeof t=="object"&&t!==null&&t[U]===M.documentNode&&(t=new r.XMLSerializer().serializeToString(t)),y(this,Fc)?D(this,Be,c2).call(this,t).catch(o=>{throw o}):D(this,Be,h2).call(this,t)}abort(){y(this,Fu)||(w(this,Fu,!0),y(this,ea).abort())}overrideMimeType(t){if(this.readyState===qe.loading||this.readyState===qe.done)throw new this[u].DOMException("Failed to execute 'overrideMimeType' on 'XMLHttpRequest': MIME type cannot be overridden when the request state is LOADING or DONE.",A.invalidStateError);w(this,_c,t)}};Fc=new WeakMap,ea=new WeakMap,Fu=new WeakMap,vr=new WeakMap,$r=new WeakMap,ry=new WeakMap,tl=new WeakMap,ra=new WeakMap,Qo=new WeakMap,_c=new WeakMap,Be=new WeakSet,c2=async function(t){let r=this[u],o=new it(r).getBrowserFrame();if(!o)return;let i=o[bt],n=i.startTask(()=>this.abort());w(this,Qo,qe.loading),D(this,Be,Er).call(this,new R("readystatechange")),D(this,Be,Er).call(this,new R("loadstart")),t&&w(this,vr,new r.Request(y(this,vr).url,{method:y(this,vr).method,headers:y(this,vr).headers,signal:y(this,ea).signal,credentials:y(this,vr).credentials,body:t})),y(this,ea).signal.addEventListener("abort",()=>{w(this,Fu,!0),w(this,Qo,qe.unsent),D(this,Be,Er).call(this,new R("abort")),D(this,Be,Er).call(this,new R("loadend")),D(this,Be,Er).call(this,new R("readystatechange")),i.endTask(n)});let a=f=>{if(f instanceof Ht&&f.name===A.abortError){if(y(this,Fu))return;w(this,Qo,qe.unsent),D(this,Be,Er).call(this,new R("abort"))}else w(this,Qo,qe.done),D(this,Be,Er).call(this,new Fn("error",{error:f,message:f.message}));D(this,Be,Er).call(this,new R("loadend")),D(this,Be,Er).call(this,new R("readystatechange")),i.endTask(n)},m=new zo({browserFrame:o,window:r,url:y(this,vr).url,init:y(this,vr)});try{w(this,$r,await m.send())}catch(f){a(f);return}w(this,Qo,qe.headersReceived),D(this,Be,Er).call(this,new R("readystatechange"));let p=y(this,$r).headers.get("Content-Length"),b=p!==null&&!isNaN(Number(p))?Number(p):null,d=0;if(y(this,$r).body){let f;try{for await(let v of y(this,$r).body){let C=typeof v=="string"?Buffer.from(v):v;w(this,ra,Buffer.concat([y(this,ra),C])),d+=v.length;try{D(this,Be,Er).call(this,new $o("progress",{lengthComputable:b!==null,loaded:d,total:b!==null?b:0}))}catch(L){throw f=L,L}}}catch(v){if(v===f)throw v;a(v);return}}w(this,tl,Dc.parse({window:r,responseType:y(this,ry),data:y(this,ra),contentType:y(this,_c)||y(this,$r).headers.get("Content-Type")||y(this,vr).headers.get("Content-Type")})),w(this,Qo,qe.done),w(this,ra,Buffer.from([])),i.endTask(n),D(this,Be,Er).call(this,new R("readystatechange")),D(this,Be,Er).call(this,new R("load")),D(this,Be,Er).call(this,new R("loadend"))},h2=function(t){let r=this[u],o=new it(r).getBrowserFrame();if(!o)return;t&&w(this,vr,new r.Request(y(this,vr).url,{method:y(this,vr).method,headers:y(this,vr).headers,signal:y(this,ea).signal,credentials:y(this,vr).credentials,body:t})),w(this,Qo,qe.loading);let i=new Ym({browserFrame:o,window:r,url:y(this,vr).url,init:y(this,vr)});try{w(this,$r,i.send())}catch(n){w(this,Qo,qe.done),D(this,Be,Er).call(this,new Fn("error",{error:n,message:n.message})),D(this,Be,Er).call(this,new R("loadend")),D(this,Be,Er).call(this,new R("readystatechange"));return}w(this,Qo,qe.headersReceived),w(this,tl,Dc.parse({window:r,responseType:y(this,ry),data:y(this,$r).body,contentType:y(this,_c)||y(this,$r).headers.get("Content-Type")||y(this,vr).headers.get("Content-Type")})),w(this,Qo,qe.done),D(this,Be,Er).call(this,new R("readystatechange")),D(this,Be,Er).call(this,new R("load")),D(this,Be,Er).call(this,new R("loadend"))},Er=function(t){let r=new it(this[u]).getBrowserFrame();if(!r?.page?.context?.browser?.settings?.errorCapture)return;let o=r.page.context.browser.settings,i=o.errorCapture;o.errorCapture=me.tryAndCatch,this.dispatchEvent(t),o.errorCapture=i},s(Qn,"UNSENT",qe.unsent),s(Qn,"OPENED",qe.opened),s(Qn,"HEADERS_RECEIVED",qe.headersReceived),s(Qn,"LOADING",qe.loading),s(Qn,"DONE",qe.done);var ZD=/<([^\s/!>?]+)|<\/([^\s/!>?]+)\s*>|(<!--)|(-->)|(<!)|(<\?)|(\/>)|(>)/gm,QD=/\s*([a-zA-Z0-9-_:]+)\s*=\s*"([^"]*)("{0,1})|\s*([a-zA-Z0-9-_:]+)\s*=\s*'([^']*)('{0,1})/gm,d2=/^\s*([a-zA-Z0-9-_:]+)$/,tF=/version="[^"]+"/,eF=/"([^"]+)"/gm,hf=/\s+/,rF=/\n/g,zt;(function(l){l.any="any",l.startTag="startTag",l.comment="comment",l.documentType="documentType",l.processingInstruction="processingInstruction",l.error="error"})(zt||(zt={}));var oF=Object.values(qt),Bc=class{constructor(e){s(this,"window");s(this,"rootNode",null);s(this,"nodeStack",[]);s(this,"tagNameStack",[]);s(this,"defaultNamespaceStack",null);s(this,"namespacePrefixStack",null);s(this,"startTagIndex",0);s(this,"markupRegExp",null);s(this,"lastIndex",0);s(this,"errorIndex",0);s(this,"nextElement",null);s(this,"nextTagName",null);s(this,"currentNode",null);s(this,"readState",zt.any);s(this,"errorMessage",null);this.window=e}parse(e){this.rootNode=new this.window.XMLDocument,this.nodeStack=[this.rootNode],this.tagNameStack=[null],this.currentNode=this.rootNode,this.readState=zt.any,this.defaultNamespaceStack=[null],this.namespacePrefixStack=[null],this.startTagIndex=0,this.errorIndex=0,this.errorMessage=null,this.markupRegExp=new RegExp(ZD,"gm"),this.lastIndex=0;let t;for(this.rootNode[Po]=this.window,e=String(e);t=this.markupRegExp.exec(e);){switch(this.readState){case zt.any:t.index!==this.lastIndex&&(t[1]||t[2]||t[3]||t[4]||t[5]!==void 0||t[6])&&this.parsePlainText(e.substring(this.lastIndex,t.index)),t[1]?this.parseStartTag(t[1]):t[2]?this.parseEndTag(t[2])||(this.errorMessage=`Opening and ending tag mismatch: ${this.tagNameStack[this.tagNameStack.length-1]} line ${e.substring(0,this.startTagIndex).split(`
196
+ `).length} and ${t[2]}
197
+ `,this.errorIndex=this.markupRegExp.lastIndex,this.readState=zt.error,this.removeOverflowingTextNodes()):t[3]?(this.startTagIndex=this.markupRegExp.lastIndex,this.readState=zt.comment):t[5]!==void 0?(this.startTagIndex=this.markupRegExp.lastIndex,this.readState=zt.documentType):t[6]?(this.startTagIndex=this.markupRegExp.lastIndex,this.readState=zt.processingInstruction):this.parsePlainText(e.substring(this.lastIndex,this.markupRegExp.lastIndex));break;case zt.startTag:if(t[7]||t[8]){let r=e.substring(this.startTagIndex,t[2]?this.markupRegExp.lastIndex-1:t.index),o=!!t[7];this.parseEndOfStartTag(r,o)}else this.errorMessage=t[2]&&this.lastIndex!==this.startTagIndex?`Unescaped '&lt;' not allowed in attributes values
198
+ `:`error parsing attribute name
199
+ `,this.errorIndex=t.index,this.readState=zt.error,this.removeOverflowingTextNodes();break;case zt.comment:t[4]&&this.parseComment(e.substring(this.startTagIndex,t.index));break;case zt.documentType:(t[7]||t[8])&&this.parseDocumentType(e.substring(this.startTagIndex,t.index));break;case zt.processingInstruction:(t[7]||t[8])&&this.parseProcessingInstruction(e.substring(this.startTagIndex,t.index));break;case zt.error:return this.parseError(e.slice(0,this.errorIndex),this.errorMessage),this.rootNode}this.lastIndex=this.markupRegExp.lastIndex}return this.readState===zt.error?(this.parseError(e.slice(0,this.errorIndex),this.errorMessage),this.rootNode):this.readState===zt.comment?(this.parseError(e,`Comment not terminated
200
+ `),this.removeOverflowingTextNodes(),this.rootNode):this.rootNode[ft].length===0?(this.parseError("","Start tag expected, '&lt;' not found"),this.rootNode):(this.lastIndex!==e.length&&this.currentNode&&this.parsePlainText(e.substring(this.lastIndex)),this.nodeStack.length!==1?(this.parseError(e,this.nextElement?`attributes construct error
201
+ `:`Premature end of data in tag article line 1
202
+ `),this.rootNode):this.rootNode)}parsePlainText(e){this.currentNode===this.rootNode?e.replace(hf,"")&&(this.errorMessage=`Extra content at the end of the document
203
+ `,this.errorIndex=this.lastIndex,this.readState=zt.error):e.includes("&nbsp;")?(this.errorMessage=`Entity 'nbsp' not defined
204
+ `,this.errorIndex=this.lastIndex+e.indexOf("&nbsp;")+6,this.readState=zt.error):this.currentNode[Et](this.rootNode.createTextNode(He.decodeXMLEntities(e)),!0)}parseProcessingInstruction(e){let t=this.markupRegExp,r=e.split(hf),o=e[e.length-1]==="?";if(r[0]==="xml")if(this.currentNode!==this.rootNode||this.rootNode[$].length!==0||r.length===1)this.errorMessage=`XML declaration allowed only at the start of the document
205
+ `,this.errorIndex=t.lastIndex-e.length+2,this.readState=zt.error,this.removeOverflowingTextNodes();else if(!tF.test(r[1]))this.errorMessage=`Malformed declaration expecting version
206
+ `,this.errorIndex=t.lastIndex-e.length+3,this.readState=zt.error;else if(!o)this.errorMessage=`Blank needed here
207
+ `,this.errorIndex=t.lastIndex-1,this.readState=zt.error;else{let i=r[0],n=r.slice(1).join(" ").slice(0,-1);this.rootNode[hm]=this.rootNode.createProcessingInstruction(i,n),this.readState=zt.any}else if(r.length===1&&!o)this.errorMessage=`ParsePI: PI processing-instruction space expected
208
+ `,this.errorIndex=t.lastIndex-1,this.readState=zt.error;else if(r.length>1&&!o)this.errorMessage=`ParsePI: PI processing-instruction never end ...
209
+ `,this.errorIndex=t.lastIndex-1,this.readState=zt.error;else{let i=r[0],n=r.slice(1).join(" ").slice(0,-1);this.currentNode[Et](this.rootNode.createProcessingInstruction(i,n),!0),this.readState=zt.any}}parseComment(e){this.currentNode!==this.rootNode&&this.currentNode[Et](this.rootNode.createComment(He.decodeXMLEntities(e)),!0),this.readState=zt.any}parseDocumentType(e){let t=this.markupRegExp;if(this.currentNode===this.rootNode&&this.rootNode[$].length===0){let r=this.getDocumentType(He.decodeXMLEntities(e));r?.name?(this.rootNode[Et](this.window.document.implementation.createDocumentType(r.name,r.publicId,r.systemId),!0),this.readState=zt.any):r?(this.errorMessage=`xmlParseDocTypeDecl : no DOCTYPE name
210
+ `,this.errorIndex=t.lastIndex-e.length-2,this.readState=zt.error):(this.errorMessage=`StartTag: invalid element name
211
+ `,this.errorIndex=t.lastIndex-e.length-2,this.readState=zt.error)}else this.currentNode===this.rootNode&&this.rootNode[ft].length===1?(this.errorMessage=`Extra content at the end of the document
212
+ `,this.errorIndex=t.lastIndex-e.length-2,this.readState=zt.error):(this.errorMessage=`StartTag: invalid element name
213
+ `,this.errorIndex=t.lastIndex-e.length-2,this.readState=zt.error)}parseStartTag(e){let t=e.split(":"),r=this.namespacePrefixStack,o=this.defaultNamespaceStack;t.length>1?this.nextElement=this.rootNode.createElementNS(r[r.length-1]?.get(t[0])||null,e):this.nextElement=this.rootNode.createElementNS(o[o.length-1]||null,e),r.push(new Map(r[r.length-1])),this.nextTagName=e,this.startTagIndex=this.markupRegExp.lastIndex,this.readState=zt.startTag}parseEndOfStartTag(e,t){let r=this.namespacePrefixStack[this.namespacePrefixStack.length-1];if(e){let o=new RegExp(QD,"gm"),i,n=0;for(;i=o.exec(e);){let m=e.substring(n,i.index).replace(hf,"");if(m.length){let p=m.match(d2);this.errorMessage=p?`Specification mandates value for attribute ${p[1]}
214
+ `:`attributes construct error
215
+ `,this.errorIndex=this.startTagIndex,this.readState=zt.error,this.removeOverflowingTextNodes();return}if(i[1]&&i[3]==='"'||i[4]&&i[6]==="'"){let p=i[1]??i[4],b=i[2]??i[5],d=b?He.decodeXMLAttributeValue(b.replace(rF," ")):"",f=this.nextElement[St],v=p.split(":");if(v.length>2||v.length===2&&(!v[0]||!v[1])){this.errorMessage=`Failed to parse QName '${p}'
216
+ `,this.errorIndex=this.startTagIndex+i.index+i[0].split("=")[0].length,this.readState=zt.error;return}let C=null;switch(v[0]){case"xmlns":C=qt.xmlns;break;case"xlink":C=qt.xlink;break}if(f.getNamedItemNS(C,v[1]??p))this.errorMessage=`Attribute ${p} redefined
217
+ `,this.errorIndex=this.startTagIndex,this.readState=zt.error;else{let L=Fe.createNode(this.rootNode,this.window.Attr);if(L[rt]=C,L[lt]=p,L[dt]=C&&v[1]?v[1]:p,L[Vt]=C&&v[1]?v[0]:null,L[Z]=d,f[Ki](L),L[Vt]==="xmlns")r.set(L[dt],d),this.nextElement[Vt]===L[dt]&&(this.nextElement[rt]=d);else if(p==="xmlns"&&!this.nextElement[Vt])if(oF.includes(d)){this.nextElement=this.rootNode.createElementNS(d,this.nextElement[tt]),this.nextElement[St]=f,f[At]=this.nextElement;for(let j of f[Y].values())j[At]=this.nextElement}else this.nextElement[rt]=d}this.startTagIndex+=i[0].length}else if(i[1]&&i[3]!=='"'||i[4]&&i[6]!=="'")return;n=o.lastIndex}let a=e.substring(n).replace(hf,"");if(a.length){let m=a.match(d2);m?(this.errorMessage=`Specification mandates value for attribute ${m[1]}
218
+ `,this.errorIndex=this.markupRegExp.lastIndex-2):(this.errorMessage=`attributes construct error
219
+ `,this.errorIndex=this.startTagIndex),this.readState=zt.error,this.removeOverflowingTextNodes();return}}if(this.nextElement[Vt]&&!this.nextElement[rt]){this.errorMessage=`Namespace prefix ${this.nextElement[Vt]} on name is not defined
220
+ `,this.errorIndex=this.lastIndex,this.readState=zt.error;return}if(this.currentNode===this.rootNode&&this.rootNode[ft].length!==0){this.errorMessage=`Extra content at the end of the document
221
+ `,this.errorIndex=this.lastIndex-this.nextElement[tt].length-1,this.readState=zt.error;return}this.currentNode[Et](this.nextElement,!0),t||(this.currentNode=this.nextElement,this.nodeStack.push(this.currentNode),this.tagNameStack.push(this.nextTagName),this.currentNode[rt]&&!this.currentNode[Vt]?this.defaultNamespaceStack.push(this.currentNode[rt]):this.defaultNamespaceStack.push(this.defaultNamespaceStack[this.defaultNamespaceStack.length-1])),this.nextElement=null,this.nextTagName=null,this.readState=zt.any,this.startTagIndex=this.markupRegExp.lastIndex}parseEndTag(e){return this.tagNameStack[this.tagNameStack.length-1]===e?(this.nodeStack.pop(),this.tagNameStack.pop(),this.namespacePrefixStack.pop(),this.defaultNamespaceStack.pop(),this.currentNode=this.nodeStack[this.nodeStack.length-1]||this.rootNode,!0):!1}parseError(e,t){let r=this.rootNode.documentElement;if(!r){let m=this.rootNode.createElementNS(qt.html,"html"),p=this.rootNode.createElementNS(qt.html,"body");m.appendChild(p),r=p,this.rootNode[Et](m,!0)}let o=e.split(`
222
+ `),i=o[o.length-1].length+1,n=`error on line ${o.length} at column ${i}: ${t||"Unknown error"}`,a=this.rootNode.createElementNS(qt.html,"parsererror");a.setAttribute("style","display: block; white-space: pre; border: 2px solid #c77; padding: 0 1em 0 1em; margin: 1em; background-color: #fdd; color: black"),a.innerHTML=`<h3>This page contains the following errors:</h3><div style="font-family:monospace;font-size:12px">${n}</div><h3>Below is a rendering of the page up to the first error.</h3>`,r.insertBefore(a,r.firstChild)}removeOverflowingTextNodes(){if(this.currentNode&&this.currentNode!==this.rootNode)for(;this.currentNode.lastChild?.[U]===gt.TEXT_NODE;)this.currentNode.removeChild(this.currentNode.lastChild)}getDocumentType(e){if(!e.toUpperCase().startsWith("DOCTYPE"))return null;let t=e.split(hf);if(t.length<=1)return null;let r=t.slice(1).join(" "),o=[],i=new RegExp(eF,"gm"),n=r.toUpperCase().includes("PUBLIC"),a;for(;a=i.exec(r);)o.push(a[1]);let m=n&&o[0]||"",p=n?o[1]||"":o[0]||"";return{name:t[1].toLowerCase(),publicId:m,systemId:p}}};var Uc=class{parseFromString(e,t){if(!t)throw new this[u].DOMException('Second parameter "mimeType" is mandatory.');let r=this[u];switch(t){case"text/html":let o=new r.HTMLDocument;return o[Po]=r,new qr(this[u]).parse(e,o);case"image/svg+xml":case"text/xml":case"application/xml":case"application/xhtml+xml":return new Bc(this[u]).parse(e);default:throw new r.DOMException(`Unknown mime type "${t}".`)}}};var I0;(function(l){l[l.endToEnd=2]="endToEnd",l[l.endToStart=3]="endToStart",l[l.startToEnd=1]="startToEnd",l[l.startToStart=0]="startToStart"})(I0||(I0={}));var Ar=I0;var b2,f2,g2;g2=G,f2=z,b2=T;var el=class{constructor(){s(this,"END_TO_END",Ar.endToEnd);s(this,"END_TO_START",Ar.endToStart);s(this,"START_TO_END",Ar.startToEnd);s(this,"START_TO_START",Ar.startToStart);s(this,g2);s(this,f2);s(this,b2);let e=this[u];if(!e)throw new TypeError(`Failed to construct '${this.constructor.name}': '${this.constructor.name}' was constructed outside a Window context.`);this[T]=e.document,this[G]={node:e.document,offset:0},this[z]={node:e.document,offset:0}}get startContainer(){return this[G].node}get endContainer(){return this[z].node}get startOffset(){if(this[G].offset>0){let e=wt.getNodeLength(this[G].node);this[G].offset>e&&(this[G].offset=e)}return this[G].offset}get endOffset(){if(this[z].offset>0){let e=wt.getNodeLength(this[z].node);this[z].offset>e&&(this[z].offset=e)}return this[z].offset}get collapsed(){return this[G].node===this[z].node&&this.startOffset===this.endOffset}get commonAncestorContainer(){let e=this[G].node;for(;e;){if(wt.isInclusiveAncestor(e,this[z].node))return e;e=e[W]}return null}collapse(e=!1){e?this[z]=Object.assign({},this[G]):this[G]=Object.assign({},this[z])}compareBoundaryPoints(e,t){if(e!==Ar.startToStart&&e!==Ar.startToEnd&&e!==Ar.endToEnd&&e!==Ar.endToStart)throw new this[u].DOMException(`The comparison method provided must be one of '${Ar.startToStart}', '${Ar.startToEnd}', '${Ar.endToEnd}' or '${Ar.endToStart}'.`,A.notSupportedError);if(this[T]!==t[T])throw new this[u].DOMException("The two Ranges are not in the same tree.",A.wrongDocumentError);let r={node:null,offset:0},o={node:null,offset:0};switch(e){case Ar.startToStart:r.node=this[G].node,r.offset=this.startOffset,o.node=t[G].node,o.offset=t.startOffset;break;case Ar.startToEnd:r.node=this[z].node,r.offset=this.endOffset,o.node=t[G].node,o.offset=t.startOffset;break;case Ar.endToEnd:r.node=this[z].node,r.offset=this.endOffset,o.node=t[z].node,o.offset=t.endOffset;break;case Ar.endToStart:r.node=this[G].node,r.offset=this.startOffset,o.node=t[z].node,o.offset=t.endOffset;break}return Se.compareBoundaryPointsPosition(r,o)}comparePoint(e,t){if(e[T]!==this[T])throw new this[u].DOMException("The two Ranges are not in the same tree.",A.wrongDocumentError);Se.validateBoundaryPoint({node:e,offset:t});let r={node:e,offset:t};return Se.compareBoundaryPointsPosition(r,{node:this[G].node,offset:this.startOffset})===-1?-1:Se.compareBoundaryPointsPosition(r,{node:this[z].node,offset:this.endOffset})===1?1:0}cloneContents(){let e=this[u],t=this[T].createDocumentFragment(),r=this.startOffset,o=this.endOffset;if(this.collapsed)return t;if(this[G].node===this[z].node&&(this[G].node[U]===M.textNode||this[G].node[U]===M.processingInstructionNode||this[G].node[U]===M.commentNode)){let p=this[G].node.cloneNode(!1);return p[le]=p.substringData(r,o-r),t.appendChild(p),t}let i=this[G].node;for(;!wt.isInclusiveAncestor(i,this[z].node);)i=i[W];let n=null;if(!wt.isInclusiveAncestor(this[G].node,this[z].node)){let p=i.firstChild;for(;!n;)Se.isPartiallyContained(p,this)&&(n=p),p=p.nextSibling}let a=null;if(!wt.isInclusiveAncestor(this[z].node,this[G].node)){let p=i.lastChild;for(;!a;)Se.isPartiallyContained(p,this)&&(a=p),p=p.previousSibling}let m=[];for(let p of i[$])if(Se.isContained(p,this)){if(p[U]===M.documentTypeNode)throw new e.DOMException("Invalid document type element.",A.hierarchyRequestError);m.push(p)}if(n!==null&&(n[U]===M.textNode||n[U]===M.processingInstructionNode||n[U]===M.commentNode)){let p=this[G].node.cloneNode(!1);p[le]=p.substringData(r,wt.getNodeLength(this[G].node)-r),t.appendChild(p)}else if(n!==null){let p=n.cloneNode();t.appendChild(p);let b=new e.Range;b[G].node=this[G].node,b[G].offset=r,b[z].node=n,b[z].offset=wt.getNodeLength(n);let d=b.cloneContents();p.appendChild(d)}for(let p of m){let b=p.cloneNode(!0);t.appendChild(b)}if(a!==null&&(a[U]===M.textNode||a[U]===M.processingInstructionNode||a[U]===M.commentNode)){let p=this[z].node.cloneNode(!1);p[le]=p.substringData(0,o),t.appendChild(p)}else if(a!==null){let p=a.cloneNode(!1);t.appendChild(p);let b=new e.Range;b[G].node=a,b[G].offset=0,b[z].node=this[z].node,b[z].offset=o;let d=b.cloneContents();p.appendChild(d)}return t}cloneRange(){let e=new this[u].Range;return e[G].node=this[G].node,e[G].offset=this[G].offset,e[z].node=this[z].node,e[z].offset=this[z].offset,e}createContextualFragment(e){return new qr(this[u]).parse(e)}deleteContents(){let e=this.startOffset,t=this.endOffset;if(this.collapsed)return;if(this[G].node===this[z].node&&(this[G].node[U]===M.textNode||this[G].node[U]===M.processingInstructionNode||this[G].node[U]===M.commentNode)){this[G].node.replaceData(e,t-e,"");return}let r=[],o=this[G].node,i=wt.nextDescendantNode(this[z].node);for(;o&&o!==i;)Se.isContained(o,this)&&!Se.isContained(o[W],this)&&r.push(o),o=wt.following(o);let n,a;if(wt.isInclusiveAncestor(this[G].node,this[z].node))n=this[G].node,a=e;else{let m=this[G].node;for(;m&&!wt.isInclusiveAncestor(m[W],this[z].node);)m=m[W];n=m[W],a=m[W][$].indexOf(m)+1}(this[G].node[U]===M.textNode||this[G].node[U]===M.processingInstructionNode||this[G].node[U]===M.commentNode)&&this[G].node.replaceData(this.startOffset,wt.getNodeLength(this[G].node)-this.startOffset,"");for(let m of r)m[W].removeChild(m);(this[z].node[U]===M.textNode||this[z].node[U]===M.processingInstructionNode||this[z].node[U]===M.commentNode)&&this[z].node.replaceData(0,t,""),this[G].node=n,this[G].offset=a,this[z].node=n,this[z].offset=a}detach(){}extractContents(){let e=this[u],t=this[T].createDocumentFragment(),r=this.startOffset,o=this.endOffset;if(this.collapsed)return t;if(this[G].node===this[z].node&&(this[G].node[U]===M.textNode||this[G].node[U]===M.processingInstructionNode||this[G].node[U]===M.commentNode)){let d=this[G].node.cloneNode(!1);return d[le]=d.substringData(r,o-r),t.appendChild(d),this[G].node.replaceData(r,o-r,""),t}let i=this[G].node;for(;!wt.isInclusiveAncestor(i,this[z].node);)i=i[W];let n=null;if(!wt.isInclusiveAncestor(this[G].node,this[z].node)){let d=i.firstChild;for(;!n;)Se.isPartiallyContained(d,this)&&(n=d),d=d.nextSibling}let a=null;if(!wt.isInclusiveAncestor(this[z].node,this[G].node)){let d=i.lastChild;for(;!a;)Se.isPartiallyContained(d,this)&&(a=d),d=d.previousSibling}let m=[];for(let d of i[$])if(Se.isContained(d,this)){if(d[U]===M.documentTypeNode)throw new this[u].DOMException("Invalid document type element.",A.hierarchyRequestError);m.push(d)}let p,b;if(wt.isInclusiveAncestor(this[G].node,this[z].node))p=this[G].node,b=r;else{let d=this[G].node;for(;d&&!wt.isInclusiveAncestor(d[W],this[z].node);)d=d[W];p=d[W],b=d[W][$].indexOf(d)+1}if(n!==null&&(n[U]===M.textNode||n[U]===M.processingInstructionNode||n[U]===M.commentNode)){let d=this[G].node.cloneNode(!1);d[le]=d.substringData(r,wt.getNodeLength(this[G].node)-r),t.appendChild(d),this[G].node.replaceData(r,wt.getNodeLength(this[G].node)-r,"")}else if(n!==null){let d=n.cloneNode(!1);t.appendChild(d);let f=new e.Range;f[G].node=this[G].node,f[G].offset=r,f[z].node=n,f[z].offset=wt.getNodeLength(n);let v=f.extractContents();d.appendChild(v)}for(let d of m)t.appendChild(d);if(a!==null&&(a[U]===M.textNode||a[U]===M.processingInstructionNode||a[U]===M.commentNode)){let d=this[z].node.cloneNode(!1);d[le]=d.substringData(0,o),t.appendChild(d),this[z].node.replaceData(0,o,"")}else if(a!==null){let d=a.cloneNode(!1);t.appendChild(d);let f=new e.Range;f[G].node=a,f[G].offset=0,f[z].node=this[z].node,f[z].offset=o;let v=f.extractContents();d.appendChild(v)}return this[G].node=p,this[G].offset=b,this[z].node=p,this[z].offset=b,t}getBoundingClientRect(){return new ns}getClientRects(){return new Gm(c)}isPointInRange(e,t=0){if(e[T]!==this[T])return!1;let r={node:e,offset:t};return Se.validateBoundaryPoint(r),!(Se.compareBoundaryPointsPosition(r,{node:this[G].node,offset:this.startOffset})===-1||Se.compareBoundaryPointsPosition(r,{node:this[z].node,offset:this.endOffset})===1)}insertNode(e){if(this[G].node[U]===M.processingInstructionNode||this[G].node[U]===M.commentNode||this[G].node[U]===M.textNode&&!this[G].node[W]||e===this[G].node)throw new this[u].DOMException("Invalid start node.",A.hierarchyRequestError);let t=this[G].node[U]===M.textNode?this[G].node:this[G].node[$][this.startOffset]||null,r=t?t[W]:this[G].node;this[G].node[U]===M.textNode&&(t=this[G].node.splitText(this.startOffset)),e===t&&(t=t.nextSibling);let o=e[W];o&&o.removeChild(e);let i=t?t[W][$].indexOf(t):wt.getNodeLength(r);i+=e[U]===M.documentFragmentNode?wt.getNodeLength(e):1,r.insertBefore(e,t),this.collapsed&&(this[z].node=r,this[z].offset=i)}intersectsNode(e){if(e[T]!==this[T])return!1;let t=e[W];if(!t)return!0;let r=t[$].indexOf(e);return Se.compareBoundaryPointsPosition({node:t,offset:r},{node:this[z].node,offset:this.endOffset})===-1&&Se.compareBoundaryPointsPosition({node:t,offset:r+1},{node:this[G].node,offset:this.startOffset})===1}selectNode(e){if(!e[W])throw new this[u].DOMException("The given Node has no parent.",A.invalidNodeTypeError);let t=e[W][$].indexOf(e);this[G].node=e[W],this[G].offset=t,this[z].node=e[W],this[z].offset=t+1}selectNodeContents(e){if(e[U]===M.documentTypeNode)throw new this[u].DOMException("DocumentType Node can't be used as boundary point.",A.invalidNodeTypeError);this[G].node=e,this[G].offset=0,this[z].node=e,this[z].offset=wt.getNodeLength(e)}setEnd(e,t=0){Se.validateBoundaryPoint({node:e,offset:t});let r={node:e,offset:t};(e[T]!==this[T]||Se.compareBoundaryPointsPosition(r,{node:this[G].node,offset:this.startOffset})===-1)&&(this[G].node=e,this[G].offset=t),this[z].node=e,this[z].offset=t}setStart(e,t=0){Se.validateBoundaryPoint({node:e,offset:t});let r={node:e,offset:t};(e[T]!==this[T]||Se.compareBoundaryPointsPosition(r,{node:this[z].node,offset:this.endOffset})===1)&&(this[z].node=e,this[z].offset=t),this[G].node=e,this[G].offset=t}setEndAfter(e){if(!e[W])throw new this[u].DOMException("The given Node has no parent.",A.invalidNodeTypeError);this.setEnd(e[W],e[W][$].indexOf(e)+1)}setEndBefore(e){if(!e[W])throw new this[u].DOMException("The given Node has no parent.",A.invalidNodeTypeError);this.setEnd(e[W],e[W][$].indexOf(e))}setStartAfter(e){if(!e[W])throw new this[u].DOMException("The given Node has no parent.",A.invalidNodeTypeError);this.setStart(e[W],e[W][$].indexOf(e)+1)}setStartBefore(e){if(!e[W])throw new this[u].DOMException("The given Node has no parent.",A.invalidNodeTypeError);this.setStart(e[W],e[W][$].indexOf(e))}surroundContents(e){let t=this.commonAncestorContainer;if(!t)return;let r=wt.nextDescendantNode(t);for(;t&&t!==r;){if(t[U]!==M.textNode&&Se.isPartiallyContained(t,this))throw new this[u].DOMException("The Range has partially contains a non-Text node.",A.invalidStateError);t=wt.following(t)}if(e[U]===M.documentNode||e[U]===M.documentTypeNode||e[U]===M.documentFragmentNode)throw new this[u].DOMException("Invalid element type.",A.invalidNodeTypeError);let o=this.extractContents();for(;e.firstChild;)e.removeChild(e.firstChild);this.insertNode(e),e.appendChild(o),this.selectNode(e)}toString(){let e=this.startOffset,t=this.endOffset,r="";if(this[G].node===this[z].node&&this[G].node[U]===M.textNode)return this[G].node.data.slice(e,t);this[G].node[U]===M.textNode&&(r+=this[G].node.data.slice(e));let o=wt.nextDescendantNode(this[z].node),i=this[G].node;for(;i&&i!==o;)i[U]===M.textNode&&Se.isContained(i,this)&&(r+=i.data),i=wt.following(i);return this[z].node[U]===M.textNode&&(r+=this[z].node.data.slice(0,t)),r}};s(el,"END_TO_END",Ar.endToEnd),s(el,"END_TO_START",Ar.endToStart),s(el,"START_TO_END",Ar.startToEnd),s(el,"START_TO_START",Ar.startToStart);var S2,P2,_u=class extends(P2=_t,S2=ky,P2){constructor(t){super();s(this,"id","");s(this,"startTime",0);s(this,"endTime",0);s(this,"pauseOnExit",!1);s(this,S2,null);s(this,"onenter",null);s(this,"onexit",null);if(t!==c)throw new TypeError("Illegal constructor");if(!this[u])throw new TypeError(`Failed to construct '${this.constructor.name}': '${this.constructor.name}' was constructed outside a Window context.`)}get track(){return this[ky]}};var Gc=class extends _u{constructor(t,r,o){super(c);s(this,"region",null);s(this,"vertical","");s(this,"snapToLines",!0);s(this,"line",0);s(this,"lineAlign","");s(this,"position","auto");s(this,"positionAlign","auto");s(this,"size",100);s(this,"align","");s(this,"text","");let i=this[u],n=0;if(t!==void 0&&n++,r!==void 0&&n++,o!==void 0&&n++,n<3)throw new i.TypeError(`Failed to construct 'VTTCue': 3 arguments required, but only ${n} present.`);if(t=Number(t),r=Number(r),isNaN(t)||isNaN(r))throw new i.TypeError("Failed to construct 'VTTCue': The provided double value is non-finite.");this.startTime=t,this.endTime=r,this.text=String(o)}getCueAsHTML(){let t=this[u],r=t.document.createDocumentFragment();return r.appendChild(t.document.createTextNode(this.text)),r}};var w2,x2,E2,v2,A2,T2,N2,L2,Hc=class extends(L2=_t,N2=ui,T2=fl,A2=um,v2=Rh,E2=ke,x2=am,w2=EP,L2){constructor(t){super();s(this,N2,jn.subtitles);s(this,T2,"");s(this,A2,"");s(this,v2,"");s(this,E2,"disabled");s(this,x2,new Kl(c));s(this,w2,new Kl(c));s(this,"oncuechange",null);if(t!==c)throw new TypeError("Illegal constructor");if(!this[u])throw new TypeError(`Failed to construct '${this.constructor.name}': '${this.constructor.name}' was constructed outside a Window context.`)}get kind(){return this[ui]}get label(){return this[fl]}get language(){return this[um]}get id(){return this[Rh]}get mode(){return this[ke]}set mode(t){t!=="disabled"&&t!=="showing"||(this[ke]=t)}get cues(){return this[ke]==="disabled"?null:this[am]}get activeCues(){return this[ke]==="disabled"?null:this[EP]}addCue(t){this[am].includes(t)||(t[ky]=this,this[am].push(t))}removeCue(t){let r=this[am].indexOf(t);r!==-1&&(t[ky]=null,this[am].splice(r,1))}};var C2,qc=class l extends _t{constructor(t,r){super();s(this,C2,[]);s(this,"onaddtrack",null);s(this,"onchange",null);s(this,"onremovetrack",null);if(t!==c)throw new TypeError("Illegal constructor");this[Y]=r;let o=new xe(this,[l,_t]);return new Proxy(this,{get:(i,n)=>{if(n==="length")return r.length;if(n in i||typeof n=="symbol")return o.bind(n),i[n];let a=Number(n);if(!isNaN(a))return r[a]},set(i,n,a){if(o.bind(n),typeof n=="symbol")return i[n]=a,!0;let m=Number(n);return isNaN(m)&&(i[n]=a),!0},deleteProperty(i,n){if(typeof n=="symbol")return delete i[n],!0;let a=Number(n);return isNaN(a)&&delete i[n],!0},ownKeys(){return Object.keys(r)},has(i,n){if(n in i)return!0;if(typeof n=="symbol")return!1;let a=Number(n);return!isNaN(a)&&a>=0&&a<r.length},defineProperty(i,n,a){return o.preventBinding(n),n in i?(Object.defineProperty(i,n,a),!0):!1},getOwnPropertyDescriptor(i,n){if(n in i||typeof n=="symbol")return;let a=Number(n);if(!isNaN(a)&&r[a])return{value:r[a],writable:!1,enumerable:!0,configurable:!0}}})}get length(){return this[Y].length}get[(C2=Y,Symbol.toStringTag)](){return"TextTrackList"}toLocaleString(){return"[object TextTrackList]"}toString(){return"[object TextTrackList]"}[Symbol.iterator](){return this[Y][Symbol.iterator]()}getTrackById(t){for(let r of this[Y])if(r.id===t)return r;return null}};var k2,M2,$c=class extends(M2=_t,k2=vP,M2){constructor(){super(...arguments);s(this,k2,"disconnected");s(this,"onconnecting",null);s(this,"onconnect",null);s(this,"ondisconnect",null)}get state(){return this[vP]}async watchAvailability(){}cancelWatchAvailability(){}prompt(){}};var q2=Py(H2(),1);var _0;(function(l){l[l.empty=0]="empty",l[l.loading=1]="loading",l[l.done=2]="done"})(_0||(_0={}));var oa=_0;var B0;(function(l){l.buffer="buffer",l.binaryString="binaryString",l.dataURL="dataURL",l.text="text"})(B0||(B0={}));var ia=B0;var U0;(function(l){l.abort="abort",l.error="error",l.load="load",l.loadstart="loadstart",l.loadend="loadend",l.progress="progress"})(U0||(U0={}));var oy=U0;import{Buffer as hF}from"buffer";var Uu,Wc,jc,iy,bf,zc=class extends _t{constructor(){super();x(this,iy);s(this,"error",null);s(this,"result",null);s(this,"readyState",oa.empty);s(this,"onabort",null);s(this,"onerror",null);s(this,"onload",null);s(this,"onloadstart",null);s(this,"onloadend",null);s(this,"onprogress",null);x(this,Uu,!1);x(this,Wc,null);x(this,jc,null);if(!this[u])throw new TypeError(`Failed to construct '${this.constructor.name}': '${this.constructor.name}' was constructed outside a Window context.`)}readAsArrayBuffer(t){if(!(t instanceof de))throw new this[u].TypeError("Failed to execute 'readAsArrayBuffer' on 'FileReader': parameter 1 is not of type 'Blob'.");D(this,iy,bf).call(this,t,ia.buffer)}readAsBinaryString(t){if(!(t instanceof de))throw new this[u].TypeError("Failed to execute 'readAsBinaryString' on 'FileReader': parameter 1 is not of type 'Blob'.");D(this,iy,bf).call(this,t,ia.binaryString)}readAsDataURL(t){if(!(t instanceof de))throw new this[u].TypeError("Failed to execute 'readAsDataURL' on 'FileReader': parameter 1 is not of type 'Blob'.");D(this,iy,bf).call(this,t,ia.dataURL)}readAsText(t,r=null){if(!(t instanceof de))throw new this[u].TypeError("Failed to execute 'readAsText' on 'FileReader': parameter 1 is not of type 'Blob'.");D(this,iy,bf).call(this,t,ia.text,r||"UTF-8")}abort(){let t=this[u];if(y(this,Wc)&&t.clearTimeout(y(this,Wc)),y(this,jc)&&t.clearTimeout(y(this,jc)),this.readyState===oa.empty||this.readyState===oa.done){this.result=null;return}this.readyState===oa.loading&&(this.readyState=oa.done,this.result=null),w(this,Uu,!0),this.dispatchEvent(new $o(oy.abort)),this.dispatchEvent(new $o(oy.loadend))}};Uu=new WeakMap,Wc=new WeakMap,jc=new WeakMap,iy=new WeakSet,bf=function(t,r,o=null){let i=this[u];if(this.readyState===oa.loading)throw new i.DOMException("The object is in an invalid state.",A.invalidStateError);this.readyState=oa.loading,w(this,Wc,i.setTimeout(()=>{if(y(this,Uu)){w(this,Uu,!1);return}this.dispatchEvent(new $o(oy.loadstart));let n=t[Ct];n||(n=hF.alloc(0)),this.dispatchEvent(new $o(oy.loadstart,{lengthComputable:!isNaN(t.size),total:t.size,loaded:n.length})),w(this,jc,i.setTimeout(()=>{if(y(this,Uu)){w(this,Uu,!1);return}switch(r){default:case ia.buffer:{this.result=new Uint8Array(n).buffer;break}case ia.binaryString:{this.result=n.toString("binary");break}case ia.dataURL:{let a=q2.default.parse(t.type)||"application/octet-stream";this.result=`data:${a};base64,${n.toString("base64")}`;break}case ia.text:{this.result=new TextDecoder(o||"UTF-8").decode(n);break}}this.readyState=oa.done,this.dispatchEvent(new $o(oy.load)),this.dispatchEvent(new $o(oy.loadend))}))}))};import dF from"crypto";var bF={aspectRatio:{max:300,min:.006666666666666667},deviceId:"",facingMode:[],frameRate:{max:60,min:0},height:{max:150,min:1},resizeMode:["none","crop-and-scale"],width:{max:300,min:1}},fF={deviceId:"",frameRate:60,resizeMode:"none"},$2,W2,j2,z2,X2,Y2,ff,G0,Gu=class extends(Y2=_t,X2=fl,z2=ui,j2=Ly,W2=ws,$2=Ca,Y2){constructor(t){super();x(this,ff);s(this,"contentHint","");s(this,"enabled",!0);s(this,"id",dF.randomUUID());s(this,"muted",!1);s(this,"readyState","live");s(this,"label","");s(this,X2,"");s(this,z2,"video");s(this,j2,{});s(this,W2,JSON.parse(JSON.stringify(bF)));s(this,$2,JSON.parse(JSON.stringify(fF)));s(this,"onended",null);s(this,"onmute",null);s(this,"onunmute",null);if(t!==c)throw new TypeError("Illegal constructor");if(!this[u])throw new TypeError(`Failed to construct '${this.constructor.name}': '${this.constructor.name}' was constructed outside a Window context.`)}get kind(){return this[ui]}async applyConstraints(t){D(this,ff,G0).call(this,this[Ly],t)}getConstraints(){return this[Ly]}getCapabilities(){return this[ws]}getSettings(){return this[Ca]}clone(){let t=new this.constructor(c);return t[ui]=this[ui],t[Ly]=this[Ly],t[ws]=this[ws],t[Ca]=this[Ca],t.contentHint=this.contentHint,t.enabled=this.enabled,t.label=this.label,t.muted=this.muted,t.readyState=this.readyState,t}stop(){this.readyState="ended"}};ff=new WeakSet,G0=function(t,r){for(let o in r)r[o]!==null&&typeof r[o]=="object"&&!Array.isArray(r[o])?(typeof t[o]!="object"&&(t[o]={}),D(this,ff,G0).call(this,t[o],r[o])):t[o]=r[o]};var K2,J2,gf=class extends(J2=Gu,K2=Oh,J2){constructor(t,r){super(t);s(this,K2);this[Oh]=r}get canvas(){return this[Oh]}requestFrame(){}clone(){let t=super.clone();return t[Oh]=this.canvas,t}};var H0;(function(l){l[l.connecting=0]="connecting",l[l.open=1]="open",l[l.closing=2]="closing",l[l.closed=3]="closed"})(H0||(H0={}));var ti=H0;var F8=Py(jN(),1),_8=Py(Q0(),1),B8=Py(rw(),1),r3=Py(jS(),1),U8=Py(e3(),1);var o3=r3.default;var G8=/^[!#$%&'*+\-.^_`|~\dA-Za-z]+$/,i3,qs,Nf,Lf,Cf,eh,lo,s3,mw,n3,l3,a3,yw,u3,ol=class extends _t{constructor(t,r){super();x(this,lo);x(this,qs,ti.closed);x(this,Nf,"");x(this,Lf,"blob");x(this,Cf,null);x(this,eh);s(this,i3,null);let o=this[u],i;try{i=new URL(t)}catch{throw new o.DOMException(`The URL '${t}' is invalid.`,A.syntaxError)}if(i.protocol!=="ws:"&&i.protocol!=="wss:")throw new o.DOMException(`The URL's protocol must be either 'ws' or 'wss'. '${i.protocol}' is not allowed.`,A.syntaxError);i.hash&&(i.hash="");let n=new Set,a=r!==void 0?Array.isArray(r)?r:[r]:[];for(let m of a){if(!D(this,lo,u3).call(this,m))throw new o.DOMException(`The subprotocol '${m}' is invalid.`,A.syntaxError);if(n.has(m))throw new o.DOMException(`The subprotocol '${m}' is duplicated.`,A.syntaxError);n.add(m)}w(this,eh,i),D(this,lo,s3).call(this,i,a)}get readyState(){return y(this,qs)}get extensions(){return y(this,Nf)}get binaryType(){return y(this,Lf)}set binaryType(t){t!=="blob"&&t!=="arraybuffer"||w(this,Lf,t)}get protocol(){return this[eo]?.protocol||""}get url(){return y(this,eh).href}close(t,r){let o=this[u];if(t!==void 0&&t!==1e3&&!(t>=3e3&&t<=4999))throw new o.DOMException(`The code must be either 1000, or between 3000 and 4999. ${t} is neither.`,A.invalidAccessError);if(r!==void 0&&Buffer.byteLength(r,"utf8")>123)throw new o.DOMException("The message must not be greater than 123 bytes.",A.syntaxError);D(this,lo,mw).call(this,t,r?Buffer.from(r):void 0)}send(t){let r=this[u];if(y(this,qs)===ti.connecting)throw new r.DOMException("Still in CONNECTING state.",A.invalidStateError);if(y(this,qs)!==ti.open)return;if(typeof t=="string"){this[eo]?.send(t,{binary:!1});return}let o;t instanceof ArrayBuffer?o=Buffer.from(new Uint8Array(t)):t instanceof de?o=t[Ct]:t instanceof Buffer?o=t:ArrayBuffer.isView(t)?o=Buffer.from(new Uint8Array(t.buffer,t.byteOffset,t.byteLength)):o=Buffer.from(String(t)),this[eo]?.send(o,{binary:!0})}[(i3=eo,ue)](){super[ue](),D(this,lo,mw).call(this,1001)}};qs=new WeakMap,Nf=new WeakMap,Lf=new WeakMap,Cf=new WeakMap,eh=new WeakMap,lo=new WeakSet,s3=function(t,r){let o=this[u],i=new it(o).getBrowserContext();if(!i)return;let n=new URL(o.location.href),a=i.cookieContainer.getCookies(n,!1);w(this,qs,ti.connecting),this[eo]=new o3(t,r,{headers:{"user-agent":o.navigator.userAgent,cookie:Oi.cookiesToString(a),origin:n.origin},rejectUnauthorized:!i.browser.settings.fetch.disableStrictSSL}),this[eo].once("open",()=>{D(this,lo,n3).call(this)}),this[eo].on("message",D(this,lo,a3).bind(this)),this[eo].once("close",(m,p)=>{D(this,lo,l3).call(this,m,p)}),this[eo].once("upgrade",({headers:m})=>{if(m["set-cookie"]!==void 0){let p=Array.isArray(m["set-cookie"])?m["set-cookie"]:[m["set-cookie"]];for(let b of p){let d=Oi.stringToCookie(n,b);d&&i.cookieContainer.addCookies([d])}}}),this[eo].once("error",m=>{w(this,Cf,m)}),o[_a].push(this)},mw=function(t,r){this.readyState===ti.connecting?this[eo]?this[eo].terminate():w(this,qs,ti.closing):this[eo]&&this.readyState===ti.open&&this[eo].close(t,r),this[eo]=null},n3=function(){this[eo]?.extensions&&w(this,Nf,Object.keys(this[eo].extensions).join(", ")),w(this,qs,ti.open),this.dispatchEvent(new this[u].Event("open"))},l3=function(t,r){let o=this[u],i=o[_a].indexOf(this);i!==-1&&o[_a].splice(i,1),w(this,qs,ti.closed),this.dispatchEvent(new this[u].CloseEvent("close",{wasClean:y(this,Cf)===null,code:t,reason:r.toString()}))},a3=function(t,r){if(y(this,qs)!==ti.open)return;let o=this[u],i;r?this.binaryType==="arraybuffer"?t instanceof o.ArrayBuffer?i=t:Array.isArray(t)?i=D(this,lo,yw).call(this,Buffer.concat(t)):i=D(this,lo,yw).call(this,t):(Array.isArray(t)||(t=[t]),i=new o.Blob(t)):i=String(t),this.dispatchEvent(new o.MessageEvent("message",{data:i,origin:y(this,eh).origin}))},yw=function(t){let r=this[u],o=new r.ArrayBuffer(t.byteLength);return new Uint8Array(o).set(t),o},u3=function(t){return G8.test(t)},s(ol,"CONNECTING",ti.connecting),s(ol,"OPEN",ti.open),s(ol,"CLOSING",ti.closing),s(ol,"CLOSED",ti.closed);var kf=class{static extendClasses(e){class t extends Yo{}t.prototype[u]=e,e.Document=t;class r extends wc{}r.prototype[u]=e,e.HTMLDocument=r;class o extends xc{}o.prototype[u]=e,e.XMLDocument=o;class i extends Vu{}i.prototype[u]=e,e.DocumentFragment=i;class n extends Ec{}n.prototype[u]=e,e.Text=n;class a extends vc{}a.prototype[u]=e,e.Comment=a;class m extends Ac{}m.prototype[u]=e,e.Image=m;class p extends nf{}p.prototype[u]=e,e.Audio=p;class b extends kc{}b.prototype[u]=e,e.MutationObserver=b;class d extends mf{}d.prototype[u]=e,e.MessagePort=d;class f extends Rc{}f.prototype[u]=e,e.CSSStyleSheet=f;class v extends Ht{}e.DOMException=v;class C extends As{}C.prototype[u]=e,e.Headers=C;class L extends yu{}L.prototype[u]=e,e.Request=L;class j extends jo{}j.prototype[u]=e,j[u]=e,e.Response=j;class et extends _t{}et.prototype[u]=e,e.EventTarget=et;class J extends cf{}J.prototype[u]=e,e.XMLHttpRequestUpload=J;class ht extends ta{}ht.prototype[u]=e,e.XMLHttpRequestEventTarget=ht;class $t extends Oc{}$t.prototype[u]=e,e.AbortController=$t;class Nt extends Vc{}Nt.prototype[u]=e,Nt[u]=e,e.AbortSignal=Nt;class te extends uu{}te.prototype[u]=e,e.FormData=te;class Lt extends Ic{}Lt.prototype[u]=e,e.PermissionStatus=Lt;class er extends Qn{}er.prototype[u]=e,e.XMLHttpRequest=er;class Fr extends Uc{}Fr.prototype[u]=e,e.DOMParser=Fr;class ds extends el{}ds.prototype[u]=e,e.Range=ds;class qi extends Gc{}qi.prototype[u]=e,e.VTTCue=qi;class Dg extends Hc{}Dg.prototype[u]=e,e.TextTrack=Dg;class bh extends qc{}bh.prototype[u]=e,e.TextTrackList=bh;class fh extends _u{}fh.prototype[u]=e,e.TextTrackCue=fh;class $i extends $c{}$i.prototype[u]=e,e.RemotePlayback=$i;class gh extends zc{}gh.prototype[u]=e,e.FileReader=gh;class Fg extends xu{}Fg.prototype[u]=e,e.MediaStream=Fg;class ur extends Gu{}ur.prototype[u]=e,e.MediaStreamTrack=ur;class ii extends gf{}ii.prototype[u]=e,e.CanvasCaptureMediaStreamTrack=ii;class ba extends Ie{}ba.prototype[u]=e,e.URL=ba;class _g extends ol{}_g.prototype[u]=e,e.WebSocket=_g}};var m3,y3,p3,c3;c3=O,p3=V,y3=yo,m3=mm;var Mf=class{constructor(e,t,r,o){s(this,c3,0);s(this,p3,0);s(this,y3,0);s(this,m3,1);this[O]=e!=null?Number(e):0,this[V]=t!=null?Number(t):0,this[yo]=r!=null?Number(r):0,this[mm]=o!=null?Number(o):1}get x(){return this[O]}get y(){return this[V]}get z(){return this[yo]}get w(){return this[mm]}toJSON(){return{x:this.x,y:this.y,z:this.z,w:this.w}}static fromPoint(e){return e?new this(e.x??null,e.y??null,e.z??null,e.w??null):new this}};var my=class extends Mf{set x(e){this[O]=e}get x(){return this[O]}set y(e){this[V]=e}get y(){return this[V]}set z(e){this[yo]=e}get z(){return this[yo]}set w(e){this[mm]=e}get w(){return this[mm]}};var rh={a:1,b:0,c:0,d:1,e:0,f:0,m11:1,m12:0,m13:0,m14:0,m21:0,m22:1,m23:0,m24:0,m31:0,m32:0,m33:1,m34:0,m41:0,m42:0,m43:0,m44:1,is2D:!0,isIdentity:!0},H8=/([a-zA-Z0-9]+)\(([^)]+)\)/gm,q8=/[\s,]+/,h3,d3,b3,f3,g3,S3,P3,w3,x3,E3,v3,A3,T3,N3,L3,C3,XS,k3,YS=class YS{constructor(e){x(this,XS);s(this,C3,1);s(this,L3,0);s(this,N3,0);s(this,T3,0);s(this,A3,0);s(this,v3,1);s(this,E3,0);s(this,x3,0);s(this,w3,0);s(this,P3,0);s(this,S3,1);s(this,g3,0);s(this,f3,0);s(this,b3,0);s(this,d3,0);s(this,h3,1);e&&this[My](e)}get a(){return this[Mt]}get b(){return this[It]}get c(){return this[Rt]}get d(){return this[Dt]}get e(){return this[Ot]}get f(){return this[Ft]}get m11(){return this[Mt]}get m12(){return this[It]}get m13(){return this[re]}get m14(){return this[oe]}get m21(){return this[Rt]}get m22(){return this[Dt]}get m23(){return this[ie]}get m24(){return this[se]}get m31(){return this[Wt]}get m32(){return this[Yt]}get m33(){return this[Kt]}get m34(){return this[jt]}get m41(){return this[Ot]}get m42(){return this[Ft]}get m43(){return this[Jt]}get m44(){return this[Zt]}get isIdentity(){return this[Mt]===1&&this[It]===0&&this[re]===0&&this[oe]===0&&this[Rt]===0&&this[Dt]===1&&this[ie]===0&&this[se]===0&&this[Wt]===0&&this[Yt]===0&&this[Kt]===1&&this[jt]===0&&this[Ot]===0&&this[Ft]===0&&this[Jt]===0&&this[Zt]===1}get is2D(){return this[Wt]===0&&this[Yt]===0&&this[Kt]===1&&this[jt]===0&&this[Jt]===0&&this[Zt]===1}toFloat32Array(e){return Float32Array.from(this[ad](e))}toFloat64Array(e){return Float64Array.from(this[ad](e))}toString(){let e=this.is2D,t=this[ad](e).join(", ");return`${e?"matrix":"matrix3d"}(${t})`}toJSON(){let{is2D:e,isIdentity:t}=this;return{m11:this[Mt],m12:this[It],m13:this[re],m14:this[oe],m21:this[Rt],m22:this[Dt],m23:this[ie],m24:this[se],m31:this[Wt],m32:this[Yt],m33:this[Kt],m34:this[jt],m41:this[Ot],m42:this[Ft],m43:this[Jt],m44:this[Zt],a:this[Mt],b:this[It],c:this[Rt],d:this[Dt],e:this[Ot],f:this[Ft],is2D:e,isIdentity:t}}multiply(e){let t=new this.constructor(this);return t[pi](e),t}translate(e=0,t=0,r=0){let o=new this.constructor(this);return o[yi](e,t,r),o}scale(e,t,r=1,o=0,i=0,n=0){let a=new this.constructor(this);return a[xn](e,t,r,o,i,n),a}scale3d(e=1,t=0,r=0,o=0){let i=new this.constructor(this);return i[ud](e,t,r,o),i}scaleNonUniform(e=1,t=1){let r=new this.constructor(this);return r[md](e,t),r}rotateAxisAngle(e=0,t=0,r=0,o=0){let i=new this.constructor(this);return i[Pl](e,t,r,o),i}rotate(e=0,t,r){let o=new this.constructor(this);return o[Sl](e,t,r),o}rotateFromVector(e=0,t=0){let r=new this.constructor(this);return r[Wd](e,t),r}skewX(e){let t=new this.constructor(this);return t[pm](e),t}skewY(e){let t=new this.constructor(this);return t[cm](e),t}flipX(){let e=new this.constructor(this);return e[jd](),e}flipY(){let e=new this.constructor(this);return e[zd](),e}inverse(){let e=new this.constructor(this);return e[Xd](),e}transformPoint(e){let t=e.x??0,r=e.y??0,o=e.z??0,i=e.w??1,n=this[Mt]*t+this[Rt]*r+this[Wt]*o+this[Ot]*i,a=this[It]*t+this[Dt]*r+this[Yt]*o+this[Ft]*i,m=this[re]*t+this[ie]*r+this[Kt]*o+this[Jt]*i,p=this[oe]*t+this[se]*r+this[jt]*o+this[Zt]*i;return new my(n,a,m,p)}[(C3=Mt,L3=It,N3=re,T3=oe,A3=Rt,v3=Dt,E3=ie,x3=se,w3=Wt,P3=Yt,S3=Kt,g3=jt,f3=Ot,b3=Ft,d3=Jt,h3=Zt,My)](e){let t=null;if(typeof e=="string"&&e.length&&e!=="none")t=this.constructor[ym](e);else if(Array.isArray(e)||e instanceof Float64Array||e instanceof Float32Array)t=this.constructor[mi](e);else if(typeof e=="object")t=this.constructor.fromMatrix(e);else return;this[Mt]=t[Mt],this[It]=t[It],this[re]=t[re],this[oe]=t[oe],this[Rt]=t[Rt],this[Dt]=t[Dt],this[ie]=t[ie],this[se]=t[se],this[Wt]=t[Wt],this[Yt]=t[Yt],this[Kt]=t[Kt],this[jt]=t[jt],this[Ot]=t[Ot],this[Ft]=t[Ft],this[Jt]=t[Jt],this[Zt]=t[Zt]}[pi](e){let t=e;t instanceof YS||(t?.m11===void 0&&t?.a!==void 0?(t=Object.assign({},rh,t),t.m11=t.a,t.m12=t.b,t.m21=t.c,t.m22=t.d,t.m41=t.e,t.m42=t.f):t=Object.assign({},rh,t));let r=this[Mt]*t.m11+this[Rt]*t.m12+this[Wt]*t.m13+this[Ot]*t.m14,o=this[Mt]*t.m21+this[Rt]*t.m22+this[Wt]*t.m23+this[Ot]*t.m24,i=this[Mt]*t.m31+this[Rt]*t.m32+this[Wt]*t.m33+this[Ot]*t.m34,n=this[Mt]*t.m41+this[Rt]*t.m42+this[Wt]*t.m43+this[Ot]*t.m44,a=this[It]*t.m11+this[Dt]*t.m12+this[Yt]*t.m13+this[Ft]*t.m14,m=this[It]*t.m21+this[Dt]*t.m22+this[Yt]*t.m23+this[Ft]*t.m24,p=this[It]*t.m31+this[Dt]*t.m32+this[Yt]*t.m33+this[Ft]*t.m34,b=this[It]*t.m41+this[Dt]*t.m42+this[Yt]*t.m43+this[Ft]*t.m44,d=this[re]*t.m11+this[ie]*t.m12+this[Kt]*t.m13+this[Jt]*t.m14,f=this[re]*t.m21+this[ie]*t.m22+this[Kt]*t.m23+this[Jt]*t.m24,v=this[re]*t.m31+this[ie]*t.m32+this[Kt]*t.m33+this[Jt]*t.m34,C=this[re]*t.m41+this[ie]*t.m42+this[Kt]*t.m43+this[Jt]*t.m44,L=this[oe]*t.m11+this[se]*t.m12+this[jt]*t.m13+this[Zt]*t.m14,j=this[oe]*t.m21+this[se]*t.m22+this[jt]*t.m23+this[Zt]*t.m24,et=this[oe]*t.m31+this[se]*t.m32+this[jt]*t.m33+this[Zt]*t.m34,J=this[oe]*t.m41+this[se]*t.m42+this[jt]*t.m43+this[Zt]*t.m44;this[Mt]=r,this[It]=a,this[re]=d,this[oe]=L,this[Rt]=o,this[Dt]=m,this[ie]=f,this[se]=j,this[Wt]=i,this[Yt]=p,this[Kt]=v,this[jt]=et,this[Ot]=n,this[Ft]=b,this[Jt]=C,this[Zt]=J}[yi](e=0,t=0,r=0){let o=this.constructor[mi]([1,0,0,0,0,1,0,0,0,0,1,0,e,t,r,1]);this[pi](o)}[xn](e,t,r=1,o=0,i=0,n=0){e=e===void 0?1:Number(e),t=t===void 0?e:Number(t),(o!==0||i!==0||n!==0)&&this[yi](o,i,n),(e!==1||t!==1||r!==1)&&this[pi](this.constructor[mi]([e,0,0,0,0,t,0,0,0,0,r,0,0,0,0,1])),(o!==0||i!==0||n!==0)&&this[yi](-o,-i,-n)}[ud](e=1,t=0,r=0,o=0){(t!==0||r!==0||o!==0)&&this[yi](t,r,o),e!==1&&this[pi](this.constructor[mi]([e,0,0,0,0,e,0,0,0,0,e,0,0,0,0,1])),(t!==0||r!==0||o!==0)&&this[yi](-t,-r,-o)}[md](e=1,t=1){e===1&&t===1||this[pi](this.constructor[mi]([e,0,0,0,0,t,0,0,0,0,1,0,0,0,0,1]))}[Pl](e=0,t=0,r=0,o=0){if(e=Number(e),t=Number(t),r=Number(r),o=Number(o),isNaN(e)||isNaN(t)||isNaN(r)||isNaN(o))throw new TypeError("Failed to execute 'rotateAxisAngleSelf' on 'DOMMatrix': The arguments must be numbers.");let i=Math.hypot(e,t,r);if(i===0)return;i!==1&&(e/=i,t/=i,r/=i);let n=-(o*Math.PI/360),a=D(this,XS,k3),m=Math.sin(n)*Math.cos(n),p=Math.sin(n)*Math.sin(n),b=a(1-2*(t*t+r*r)*p),d=a(2*(e*t*p+r*m)),f=a(2*(e*r*p-t*m)),v=a(2*(e*t*p-r*m)),C=a(1-2*(e*e+r*r)*p),L=a(2*(t*r*p+e*m)),j=a(2*(e*r*p+t*m)),et=a(2*(t*r*p-e*m)),J=a(1-2*(e*e+t*t)*p),ht=this.constructor[mi]([b,v,j,0,d,C,et,0,f,L,J,0,0,0,0,1]);this[pi](ht)}[Sl](e=0,t,r){if(t===void 0&&r===void 0&&(r=e,e=0,t=0),t===void 0&&(t=0),r===void 0&&(r=0),e=Number(e),t=Number(t),r=Number(r),isNaN(e)||isNaN(t)||isNaN(r))throw new TypeError("Failed to execute 'rotateSelf' on 'DOMMatrix': The arguments must be numbers.");r!==0&&this[Pl](0,0,1,r),t!==0&&this[Pl](0,1,0,t),e!==0&&this[Pl](1,0,0,e)}[Wd](e=0,t=0){e===0&&t===0||this[Sl](Math.atan2(t,e)*180/Math.PI)}[pm](e){let t=Object.assign({},rh),r=Math.tan(e*Math.PI/180);t.m21=r,t.c=r,this[pi](t)}[cm](e){let t=Object.assign({},rh),r=Math.tan(e*Math.PI/180);t.m12=r,t.b=r,this[pi](t)}[jd](){let e=this.constructor[mi]([-1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]);this[pi](e)}[zd](){let e=this.constructor[mi]([1,0,0,0,0,-1,0,0,0,0,1,0,0,0,0,1]);this[pi](e)}[Xd](){let e=this[Dt]*this[Kt]*this[Zt]-this[Dt]*this[jt]*this[Jt]-this[Yt]*this[ie]*this[Zt]+this[Yt]*this[se]*this[Jt]+this[Ft]*this[ie]*this[jt]-this[Ft]*this[se]*this[Kt],t=-this[It]*this[Kt]*this[Zt]+this[It]*this[jt]*this[Jt]+this[Yt]*this[re]*this[Zt]-this[Yt]*this[oe]*this[Jt]-this[Ft]*this[re]*this[jt]+this[Ft]*this[oe]*this[Kt],r=this[It]*this[ie]*this[Zt]-this[It]*this[se]*this[Jt]-this[Dt]*this[re]*this[Zt]+this[Dt]*this[oe]*this[Jt]+this[Ft]*this[re]*this[se]-this[Ft]*this[oe]*this[ie],o=-this[It]*this[ie]*this[jt]+this[It]*this[se]*this[Kt]+this[Dt]*this[re]*this[jt]-this[Dt]*this[oe]*this[Kt]-this[Yt]*this[re]*this[se]+this[Yt]*this[oe]*this[ie],i=this[Mt]*e+this[Rt]*t+this[Wt]*r+this[Ot]*o;if(i===0){this[Mt]=NaN,this[It]=NaN,this[re]=NaN,this[oe]=NaN,this[Rt]=NaN,this[Dt]=NaN,this[ie]=NaN,this[se]=NaN,this[Wt]=NaN,this[Yt]=NaN,this[Kt]=NaN,this[jt]=NaN,this[Ot]=NaN,this[Ft]=NaN,this[Jt]=NaN,this[Zt]=NaN;return}let n=-this[Rt]*this[Kt]*this[Zt]+this[Rt]*this[jt]*this[Jt]+this[Wt]*this[ie]*this[Zt]-this[Wt]*this[se]*this[Jt]-this[Ot]*this[ie]*this[jt]+this[Ot]*this[se]*this[Kt],a=this[Mt]*this[Kt]*this[Zt]-this[Mt]*this[jt]*this[Jt]-this[Wt]*this[re]*this[Zt]+this[Wt]*this[oe]*this[Jt]+this[Ot]*this[re]*this[jt]-this[Ot]*this[oe]*this[Kt],m=-this[Mt]*this[ie]*this[Zt]+this[Mt]*this[se]*this[Jt]+this[Rt]*this[re]*this[Zt]-this[Rt]*this[oe]*this[Jt]-this[Ot]*this[re]*this[se]+this[Ot]*this[oe]*this[ie],p=this[Mt]*this[ie]*this[jt]-this[Mt]*this[se]*this[Kt]-this[Rt]*this[re]*this[jt]+this[Rt]*this[oe]*this[Kt]+this[Wt]*this[re]*this[se]-this[Wt]*this[oe]*this[ie],b=this[Rt]*this[Yt]*this[Zt]-this[Rt]*this[jt]*this[Ft]-this[Wt]*this[Dt]*this[Zt]+this[Wt]*this[se]*this[Ft]+this[Ot]*this[Dt]*this[jt]-this[Ot]*this[se]*this[Yt],d=-this[Mt]*this[Yt]*this[Zt]+this[Mt]*this[jt]*this[Ft]+this[Wt]*this[It]*this[Zt]-this[Wt]*this[oe]*this[Ft]-this[Ot]*this[It]*this[jt]+this[Ot]*this[oe]*this[Yt],f=this[Mt]*this[Dt]*this[Zt]-this[Mt]*this[se]*this[Ft]-this[Rt]*this[It]*this[Zt]+this[Rt]*this[oe]*this[Ft]+this[Ot]*this[It]*this[se]-this[Ot]*this[oe]*this[Dt],v=-this[Mt]*this[Dt]*this[jt]+this[Mt]*this[se]*this[Yt]+this[Rt]*this[It]*this[jt]-this[Rt]*this[oe]*this[Yt]-this[Wt]*this[It]*this[se]+this[Wt]*this[oe]*this[Dt],C=-this[Rt]*this[Yt]*this[Jt]+this[Rt]*this[Kt]*this[Ft]+this[Wt]*this[Dt]*this[Jt]-this[Wt]*this[ie]*this[Ft]-this[Ot]*this[Dt]*this[Kt]+this[Ot]*this[ie]*this[Yt],L=this[Mt]*this[Yt]*this[Jt]-this[Mt]*this[Kt]*this[Ft]-this[Wt]*this[It]*this[Jt]+this[Wt]*this[re]*this[Ft]+this[Ot]*this[It]*this[Kt]-this[Ot]*this[re]*this[Yt],j=-this[Mt]*this[Dt]*this[Jt]+this[Mt]*this[ie]*this[Ft]+this[Rt]*this[It]*this[Jt]-this[Rt]*this[re]*this[Ft]-this[Ot]*this[It]*this[ie]+this[Ot]*this[re]*this[Dt],et=this[Mt]*this[Dt]*this[Kt]-this[Mt]*this[ie]*this[Yt]-this[Rt]*this[It]*this[Kt]+this[Rt]*this[re]*this[Yt]+this[Wt]*this[It]*this[ie]-this[Wt]*this[re]*this[Dt];this[Mt]=e/i||0,this[It]=t/i||0,this[re]=r/i||0,this[oe]=o/i||0,this[Rt]=n/i||0,this[Dt]=a/i||0,this[ie]=m/i||0,this[se]=p/i||0,this[Wt]=b/i||0,this[Yt]=d/i||0,this[Kt]=f/i||0,this[jt]=v/i||0,this[Ot]=C/i||0,this[Ft]=L/i||0,this[Jt]=j/i||0,this[Zt]=et/i||0}[ad](e=!1){return e?[this[Mt],this[It],this[Rt],this[Dt],this[Ot],this[Ft]]:[this[Mt],this[It],this[re],this[oe],this[Rt],this[Dt],this[ie],this[se],this[Wt],this[Yt],this[Kt],this[jt],this[Ot],this[Ft],this[Jt],this[Zt]]}static fromMatrix(e){return e instanceof YS||(e?.m11===void 0&&e?.a!==void 0?(e=Object.assign({},rh,e),e.m11=e.a,e.m12=e.b,e.m21=e.c,e.m22=e.d,e.m41=e.e,e.m42=e.f):e=Object.assign({},rh,e)),this[mi]([e.m11,e.m12,e.m13,e.m14,e.m21,e.m22,e.m23,e.m24,e.m31,e.m32,e.m33,e.m34,e.m41,e.m42,e.m43,e.m44])}static fromFloat32Array(e){return this[mi](e)}static fromFloat64Array(e){return this[mi](e)}static[mi](e){if(!(e instanceof Float64Array||e instanceof Float32Array||Array.isArray(e))||e.length!==6&&e.length!==16)throw TypeError(`Failed to execute 'fromArray' on '${this.name}': '${String(e)}' is not a compatible array.`);let t=new this;if(e.length===16){let[r,o,i,n,a,m,p,b,d,f,v,C,L,j,et,J]=e;t[Mt]=r,t[It]=o,t[re]=i,t[oe]=n,t[Rt]=a,t[Dt]=m,t[ie]=p,t[se]=b,t[Wt]=d,t[Yt]=f,t[Kt]=v,t[jt]=C,t[Ot]=L,t[Ft]=j,t[Jt]=et,t[Zt]=J}else if(e.length===6){let[r,o,i,n,a,m]=e;t[Mt]=r,t[It]=o,t[Rt]=i,t[Dt]=n,t[Ot]=a,t[Ft]=m}return t}static[ym](e){if(typeof e!="string")throw TypeError(`Failed to execute 'setMatrixValue' on '${this.name}': Expected '${String(e)}' to be a string.`);let t=new this,r=new RegExp(H8),o;for(;o=r.exec(e);){let i=o[1],n=o[2].split(q8);for(let d=0,f=n.length;d<f;d++)n[d]=this[TP](n[d]);let[a,m,p,b]=n;switch(i){case"perspective":!isNaN(a)&&a!==0&&m===void 0&&p===void 0&&(t[jt]=-1/a);break;case"translate":!isNaN(a)&&p===void 0&&t[yi](a,m||0,0);break;case"translate3d":!isNaN(a)&&!isNaN(m)&&!isNaN(p)&&t[yi](a,m,p);break;case"translateX":!isNaN(a)&&m===void 0&&p===void 0&&t[yi](a);break;case"translateY":!isNaN(a)&&m===void 0&&p===void 0&&t[yi](0,a);break;case"translateZ":!isNaN(a)&&m===void 0&&p===void 0&&t[yi](0,0,a);break;case"matrix":case"matrix3d":(n.length===6||n.length===16)&&t[My](this[mi](n));break;case"rotate":case"rotateZ":!isNaN(a)&&m===void 0&&p===void 0&&t[Sl](0,0,a);break;case"rotateX":!isNaN(a)&&m===void 0&&p===void 0&&t[Sl](a,0,0);break;case"rotateY":!isNaN(a)&&m===void 0&&p===void 0&&t[Sl](0,a,0);case"rotate3d":!isNaN(a)&&!isNaN(m)&&!isNaN(p)&&!isNaN(b)&&t[Pl](a,m,p,b);break;case"scale":!isNaN(a)&&a!==1&&p===void 0&&t[xn](a,isNaN(m)?a:m);break;case"scale3d":!isNaN(a)&&!isNaN(m)&&!isNaN(p)&&t[xn](a,m,p);break;case"scaleX":!isNaN(a)&&m===void 0&&p===void 0&&t[xn](a,1,1);break;case"scaleY":!isNaN(a)&&m===void 0&&p===void 0&&t[xn](1,a,1);break;case"scaleZ":!isNaN(a)&&m===void 0&&p===void 0&&t[xn](1,1,a);break;case"skew":isNaN(a)||t[pm](a),isNaN(m)||t[cm](m);break;case"skewX":!isNaN(a)&&m===void 0&&t[pm](a);break;case"skewY":!isNaN(a)&&m===void 0&&t[cm](a);break;default:throw TypeError(`Failed to execute 'setMatrixValue' on '${this.name}': Unknown transform function '${o[1]}'.`)}}return t}static[TP](e){let t=parseFloat(e);switch(e.replace(t.toString(),"")){case"rem":case"em":case"vw":case"vh":case"%":case"vmin":case"vmax":throw new SyntaxError(`Failed to construct '${this.name}': Lengths must be absolute, not relative`);case"rad":return t*(180/Math.PI);case"turn":return t*360;case"px":return t;case"cm":return t*37.7812;case"mm":return t*3.7781;case"in":return t*96;case"pt":return t*1.3281;case"pc":return t*16;case"Q":return t*.945;default:return t}}};XS=new WeakSet,k3=function(e,t=1e15){return Math.round(e*t)/t};var yy=YS;var No=class extends yy{get a(){return this[Mt]}set a(e){this[Mt]=e}get b(){return this[It]}set b(e){this[It]=e}get c(){return this[Rt]}set c(e){this[Rt]=e}get d(){return this[Dt]}set d(e){this[Dt]=e}get e(){return this[Ot]}set e(e){this[Ot]=e}get f(){return this[Ft]}set f(e){this[Ft]=e}get m11(){return this[Mt]}set m11(e){this[Mt]=e}get m12(){return this[It]}set m12(e){this[It]=e}get m13(){return this[re]}set m13(e){this[re]=e}get m14(){return this[oe]}set m14(e){this[oe]=e}get m21(){return this[Rt]}set m21(e){this[Rt]=e}get m22(){return this[Dt]}set m22(e){this[Dt]=e}get m23(){return this[ie]}set m23(e){this[ie]=e}get m24(){return this[se]}set m24(e){this[se]=e}get m31(){return this[Wt]}set m31(e){this[Wt]=e}get m32(){return this[Yt]}set m32(e){this[Yt]=e}get m33(){return this[Kt]}set m33(e){this[Kt]=e}get m34(){return this[jt]}set m34(e){this[jt]=e}get m41(){return this[Ot]}set m41(e){this[Ot]=e}get m42(){return this[Ft]}set m42(e){this[Ft]=e}get m43(){return this[Jt]}set m43(e){this[Jt]=e}get m44(){return this[Zt]}set m44(e){this[Zt]=e}setMatrixValue(e){return this[My](e),this}multiplySelf(e){return this[pi](e),this}translateSelf(e=0,t=0,r=0){return this[yi](e,t,r),this}scaleSelf(e,t,r=1,o=0,i=0,n=0){return this[xn](e,t,r,o,i,n),this}scale3dSelf(e=1,t=0,r=0,o=0){return this[ud](e,t,r,o),this}scaleNonUniformSelf(e=1,t=1){return this[md](e,t),this}rotateAxisAngleSelf(e=0,t=0,r=0,o=0){return this[Pl](e,t,r,o),this}rotateSelf(e=0,t,r){return this[Sl](e,t,r),this}rotateFromVectorSelf(e=0,t=0){return this[Wd](e,t),this}skewXSelf(e){return this[pm](e),this}skewYSelf(e){return this[cm](e),this}flipXSelf(){return this[jd](),this}flipYSelf(){return this[zd](),this}invertSelf(){return this[Xd](),this}};var $8=/[\t\f\n\r ,]+/,M3,R3,O3,V3,I3,$s=class l{constructor(e,t,r){s(this,I3);s(this,V3);s(this,O3);s(this,R3,!1);s(this,M3,{items:[],attributeValue:""});if(e!==c)throw new TypeError("Illegal constructor");if(this[u]=t,this[K]=!!r.readOnly,this[N]=r.getAttribute,this[E]=r.setAttribute,e!==c)throw new TypeError("Illegal constructor");let o=new xe(this,[l]);return new Proxy(this,{get:(i,n)=>{if(n==="length"||n==="numberOfItems")return i[X]().length;if(n in i||typeof n=="symbol")return o.bind(n),i[n];let a=Number(n);if(!isNaN(a))return i[X]()[a]},set(i,n,a){if(o.bind(n),typeof n=="symbol")return i[n]=a,!0;let m=Number(n);return isNaN(m)&&(i[n]=a),!0},deleteProperty(i,n){if(typeof n=="symbol")return delete i[n],!0;let a=Number(n);return isNaN(a)&&delete i[n],!0},ownKeys(i){return Object.keys(i[X]())},has(i,n){if(n in i)return!0;if(typeof n=="symbol")return!1;let a=Number(n);return!isNaN(a)&&a>=0&&a<i[X]().length},defineProperty(i,n,a){return o.preventBinding(n),n in i?(Object.defineProperty(i,n,a),!0):!1},getOwnPropertyDescriptor(i,n){if(n in i||typeof n=="symbol")return;let a=Number(n),m=i[X]();if(!isNaN(a)&&m[a])return{value:m[a],writable:!1,enumerable:!0,configurable:!0}}})}get length(){return this[X]().length}get numberOfItems(){return this[X]().length}[(I3=u,V3=N,O3=E,R3=K,M3=q,Symbol.iterator)](){return this[X]().values()}clear(){this[q].attributeValue="",this[q].items=[],this[E]("")}initialize(e){if(this[K])throw new this[u].TypeError("Failed to execute 'initialize' on 'SVGStringList': The object is read-only.");if(arguments.length<1)throw new this[u].TypeError(`Failed to execute 'initialize' on 'SVGStringList': 1 arguments required, but only ${arguments.length} present.`);if(e=String(e),!e){this.clear();return}return this[E](e),e}getItem(e){let t=this[X]();return typeof e=="number"||(e=Number(e),e=isNaN(e)?0:e),t[e]?t[e]:null}insertItemBefore(e,t){if(this[K])throw new this[u].TypeError("Failed to execute 'insertItemBefore' on 'SVGStringList': The object is read-only.");if(arguments.length<2)throw new this[u].TypeError(`Failed to execute 'insertItemBefore' on 'SVGStringList': 2 arguments required, but only ${arguments.length} present.`);if(e=String(e),!e)return e;let r=this[X](),o=r.indexOf(e);return o!==-1&&r.splice(o,1),t<0?t=0:t>r.length&&(t=r.length),r.splice(t,0,e),this[E](r.join(" ")),e}replaceItem(e,t){if(this[K])throw new this[u].TypeError("Failed to execute 'replaceItem' on 'SVGStringList': The object is read-only.");if(arguments.length<2)throw new this[u].TypeError(`Failed to execute 'replaceItem' on 'SVGStringList': 2 arguments required, but only ${arguments.length} present.`);if(e=String(e),!e)return this.removeItem(t);let r=this[X]();t<0?t=0:t>=r.length&&(t=r.length-1);let o=r[t];return r[t]=e,this[E](r.join(" ")),o}removeItem(e){if(this[K])throw new this[u].TypeError("Failed to execute 'removeItem' on 'SVGStringList': The object is read-only.");if(arguments.length<1)throw new this[u].TypeError(`Failed to execute 'removeItem' on 'SVGStringList': 1 argument required, but only ${arguments.length} present.`);let t=this[X]();if(e=Number(e),isNaN(e)&&(e=0),e>=t.length)throw new this[u].DOMException(`Failed to execute 'removeItem' on 'SVGStringList': The index provided (${e}) is greater than the maximum bound.`,A.indexSizeError);if(e<0)throw new this[u].DOMException(`Failed to execute 'removeItem' on 'SVGStringList': The index provided (${e}) is negative.`,A.indexSizeError);let r=t[e];return t.splice(e,1),this[E](t.join(" ")),r}appendItem(e){if(this[K])throw new this[u].TypeError("Failed to execute 'appendItem' on 'SVGStringList': The object is read-only.");if(arguments.length<1)throw new this[u].TypeError(`Failed to execute 'appendItem' on 'SVGStringList': 1 argument required, but only ${arguments.length} present.`);if(e=String(e),!e)return e;let t=this[X](),r=t.indexOf(e);return r!==-1&&t.splice(r,1),t.push(e),this[E](t.join(" ")),e}[X](){let e=this[N]()??"",t=this[q];if(t.attributeValue===e)return t.items;let r=[],o=e.trim();if(o)for(let i of o.split($8))r.includes(i)||r.push(i);return t.attributeValue=e,t.items=r,r}};var W8=/([a-zA-Z0-9]+)\(([^)]+)\)/,j8=/[\s,]+/,D3,F3,_3,B3,U3,il=class l{constructor(e,t,r){s(this,U3);s(this,B3,null);s(this,_3,null);s(this,F3,null);s(this,D3,!1);if(e!==c)throw new TypeError("Illegal constructor");this[u]=t,r&&(this[K]=!!r.readOnly,this[N]=r.getAttribute||null,this[E]=r.setAttribute||null)}get a(){return this[Ge]().a}set a(e){if(this[K])return;let t=this[Ge]();t.a=e,this[Hr](t)}get b(){return this[Ge]().b}set b(e){if(this[K])return;let t=this[Ge]();t.b=e,this[Hr](t)}get c(){return this[Ge]().c}set c(e){if(this[K])return;let t=this[Ge]();t.c=e,this[Hr](t)}get d(){return this[Ge]().d}set d(e){if(this[K])return;let t=this[Ge]();t.d=e,this[Hr](t)}get e(){return this[Ge]().e}set e(e){if(this[K])return;let t=this[Ge]();t.e=e,this[Hr](t)}get f(){return this[Ge]().f}set f(e){if(this[K])return;let t=this[Ge]();t.f=e,this[Hr](t)}multiply(e){if(!(e instanceof l))throw new this[u].TypeError("Failed to execute 'multiply' on 'SVGMatrix': parameter 1 is not of type 'SVGMatrix'.");let t=this[Ge](),r=new l(c,this[u]);return t.multiplySelf(e[Ge]()),r[Hr](t),r}translate(e=0,t=0){let r=this[Ge](),o=new l(c,this[u]);return r.translateSelf(e,t),o[Hr](r),o}scale(e){let t=this[Ge](),r=new l(c,this[u]);return t.scaleSelf(e),r[Hr](t),r}scaleNonUniform(e=1,t=1){let r=this[Ge](),o=new l(c,this[u]);return r.scaleNonUniformSelf(e,t),o[Hr](r),o}rotate(e){let t=this[Ge](),r=new l(c,this[u]);return t.rotateSelf(e),r[Hr](t),r}rotateFromVector(e=0,t=0){let r=this[Ge](),o=new l(c,this[u]);return r.rotateFromVectorSelf(e,t),o[Hr](r),o}skewX(e){let t=this[Ge](),r=new l(c,this[u]);return t.skewXSelf(e),r[Hr](t),r}skewY(e){let t=this[Ge](),r=new l(c,this[u]);return t.skewYSelf(e),r[Hr](t),r}flipX(){let e=this[Ge](),t=new l(c,this[u]);return e.flipXSelf(),t[Hr](e),t}flipY(){let e=this[Ge](),t=new l(c,this[u]);return e.flipYSelf(),t[Hr](e),t}inverse(){let e=this[Ge](),t=new l(c,this[u]);return e.invertSelf(),t[Hr](e),t}[(U3=u,B3=N,_3=E,F3=I,D3=K,Ge)](){let e=this[N]?this[N]():this[I];if(!e)return new No;let t=e.match(W8);if(!t)return new No;let r=[];for(let o of t[2].trim().split(j8)){let i=Number(o);if(isNaN(i))throw new this[u].TypeError(`Failed to parse transform attribute: Expected number, but got "${o}" in "${e}".`);r.push(i)}switch(t[1]){case"matrix":if(r.length!==6)throw new this[u].TypeError(`Failed to parse transform attribute: Expected 6 parameters in "${e}".`);return No[ym](e);case"scale":case"translate":if(r.length!==1&&r.length!==2)throw new this[u].TypeError(`Failed to parse transform attribute: Expected 1 or 2 parameters in "${e}".`);return No[ym](e);case"skewY":case"skewX":if(r.length!==1)throw new this[u].TypeError(`Failed to parse transform attribute: Expected 1 parameter in "${e}".`);return No[ym](e);case"rotate":let o=new No;if(r.length!==1&&r.length!==3)throw new this[u].TypeError(`Failed to parse transform attribute: Expected 1 or 3 parameters in "${e}".`);let[i,n,a]=r;(n||a)&&o.translateSelf(n,a);let m=i*Math.PI/180;return o.multiplySelf(new No([Math.cos(m),Math.sin(m),-Math.sin(m),Math.cos(m),0,0])),(n||a)&&o.translateSelf(-n,-a),o;default:throw new this[u].TypeError(`Failed to parse transform attribute: Unknown transformation "${e}".`)}}[Hr](e){this[I]=e.toString().replace(/, /g," "),this[E]&&this[E](this[I])}};var pw;(function(l){l[l.unknown=0]="unknown",l[l.matrix=1]="matrix",l[l.translate=2]="translate",l[l.scale=3]="scale",l[l.rotate=4]="rotate",l[l.skewX=5]="skewX",l[l.skewY=6]="skewY"})(pw||(pw={}));var ei=pw;var G3=/([a-zA-Z0-9]+)\(([^)]+)\)/,z8=/[\s,]+/,H3,q3,$3,W3,j3,z3;z3=u,j3=N,W3=E,$3=I,q3=K,H3=wl;var Tr=class{constructor(e,t,r){s(this,z3);s(this,j3,null);s(this,W3,null);s(this,$3,null);s(this,q3,!1);s(this,H3,null);if(e!==c)throw new TypeError("Illegal constructor");this[u]=t,r&&(this[K]=!!r.readOnly,this[N]=r.getAttribute||null,this[E]=r.setAttribute||null)}get type(){let t=(this[N]?this[N]():this[I])?.match(G3);if(!t)return ei.unknown;switch(t[1]){case"matrix":return ei.matrix;case"translate":return ei.translate;case"rotate":return ei.rotate;case"scale":return ei.scale;case"skewX":return ei.skewX;case"skewY":return ei.skewY}return 0}get angle(){let t=(this[N]?this[N]():this[I])?.match(G3);if(!t)return 0;let r=parseFloat(t[2].trim().split(z8)[0]);if(isNaN(r))return 0;switch(t[1]){case"rotate":case"skewX":case"skewY":return r}return 0}get matrix(){return this[wl]||(this[wl]=new il(c,this[u],{readOnly:this[K],getAttribute:()=>this[N]?this[N]():this[I],setAttribute:e=>{if(this[I]=e,this[E]){this[E](e);return}}})),this[wl]}setMatrix(e){if(!(e instanceof il))throw new TypeError('Failed to set the "matrix" property on "SVGTransform": The provided value is not of type "SVGMatrix".');this[K]||(this[wl]&&(this[wl][N]=null,this[wl][E]=null),e[N]=()=>this[N]?this[N]():this[I],e[E]=t=>{if(this[I]=t,this[E]){this[E](t);return}},this[wl]=e,e[I]!==this[I]&&(this[I]=e[I],this[E]&&this[E](this[I]||"")))}setTranslate(e,t){if(arguments.length<2)throw new TypeError(`Failed to execute 'setTranslate' on 'SVGTransform': 2 arguments required, but only ${arguments.length} present.`);if(e=Number(e),t=Number(t),isNaN(e)||isNaN(t))throw new TypeError("Failed to execute 'setTranslate' on 'SVGTransform': The provided float value is non-finite.");this[K]||(this[I]=`translate(${e} ${t})`,this[E]&&this[E](this[I]))}setScale(e,t){if(arguments.length<2)throw new TypeError(`Failed to execute 'setScale' on 'SVGTransform': 2 arguments required, but only ${arguments.length} present.`);if(e=Number(e),t=Number(t),isNaN(e)||isNaN(t))throw new TypeError("Failed to execute 'setScale' on 'SVGTransform': The provided float value is non-finite.");this[K]||(this[I]=`scale(${e} ${t})`,this[E]&&this[E](this[I]))}setRotate(e,t,r){if(arguments.length<3)throw new TypeError(`Failed to execute 'setRotate' on 'SVGTransform': 3 arguments required, but only ${arguments.length} present.`);if(e=Number(e),t=Number(t),r=Number(r),isNaN(e)||isNaN(t)||isNaN(r))throw new TypeError("Failed to execute 'setRotate' on 'SVGTransform': The provided float value is non-finite.");this[K]||(this[I]=`rotate(${e} ${t} ${r})`,this[E]&&this[E](this[I]))}setSkewX(e){if(arguments.length<1)throw new TypeError(`Failed to execute 'setSkewX' on 'SVGTransform': 1 arguments required, but only ${arguments.length} present.`);if(e=Number(e),isNaN(e))throw new TypeError("Failed to execute 'setSkewX' on 'SVGTransform': The provided float value is non-finite.");this[K]||(this[I]=`skewX(${e})`,this[E]&&this[E](this[I]))}setSkewY(e){if(arguments.length<1)throw new TypeError(`Failed to execute 'setSkewY' on 'SVGTransform': 1 arguments required, but only ${arguments.length} present.`);if(e=Number(e),isNaN(e))throw new TypeError("Failed to execute 'setSkewY' on 'SVGTransform': The provided float value is non-finite.");this[K]||(this[I]=`skewY(${e})`,this[E]&&this[E](this[I]))}};s(Tr,"SVG_TRANSFORM_UNKNOWN",ei.unknown),s(Tr,"SVG_TRANSFORM_MATRIX",ei.matrix),s(Tr,"SVG_TRANSFORM_TRANSLATE",ei.translate),s(Tr,"SVG_TRANSFORM_SCALE",ei.scale),s(Tr,"SVG_TRANSFORM_ROTATE",ei.rotate),s(Tr,"SVG_TRANSFORM_SKEWX",ei.skewX),s(Tr,"SVG_TRANSFORM_SKEWY",ei.skewY);var X8=/([a-zA-Z0-9]+)\(([^)]+)\)/gm,ua="matrix(1 0 0 1 0 0)",X3,Y3,K3,J3,Z3,$u=class l{constructor(e,t,r){s(this,Z3);s(this,J3);s(this,K3);s(this,Y3,!1);s(this,X3,{items:[],attributeValue:""});if(e!==c)throw new TypeError("Illegal constructor");this[u]=t,this[K]=!!r.readOnly,this[N]=r.getAttribute,this[E]=r.setAttribute;let o=new xe(this,[l]);return new Proxy(this,{get:(i,n)=>{if(n==="length"||n==="numberOfItems")return i[X]().length;if(n in i||typeof n=="symbol")return o.bind(n),i[n];let a=Number(n);if(!isNaN(a))return i[X]()[a]},set(i,n,a){if(o.bind(n),typeof n=="symbol")return i[n]=a,!0;let m=Number(n);return isNaN(m)&&(i[n]=a),!0},deleteProperty(i,n){if(typeof n=="symbol")return delete i[n],!0;let a=Number(n);return isNaN(a)&&delete i[n],!0},ownKeys(i){return Object.keys(i[X]())},has(i,n){if(n in i)return!0;if(typeof n=="symbol")return!1;let a=Number(n);return!isNaN(a)&&a>=0&&a<i[X]().length},defineProperty(i,n,a){return o.preventBinding(n),n in i?(Object.defineProperty(i,n,a),!0):!1},getOwnPropertyDescriptor(i,n){if(n in i||typeof n=="symbol")return;let a=Number(n),m=i[X]();if(!isNaN(a)&&m[a])return{value:m[a],writable:!1,enumerable:!0,configurable:!0}}})}get length(){return this[X]().length}get numberOfItems(){return this[X]().length}[(Z3=u,J3=N,K3=E,Y3=K,X3=q,Symbol.iterator)](){return this[X]().values()}clear(){if(this[K])throw new this[u].TypeError("Failed to execute 'clear' on 'SVGTransformList': The object is read-only.");for(let e of this[q].items)e[N]=null,e[E]=null;this[q].items=[],this[q].attributeValue="",this[E]("")}initialize(e){if(this[K])throw new this[u].TypeError("Failed to execute 'initialize' on 'SVGTransformList': The object is read-only.");if(arguments.length<1)throw new this[u].TypeError(`Failed to execute 'initialize' on 'SVGTransformList': 1 arguments required, but only ${arguments.length} present.`);if(!(e instanceof Tr))throw new this[u].TypeError("Failed to execute 'appendItem' on 'SVGTransformList': parameter 1 is not of type 'SVGTransform'.");for(let t of this[q].items)t[N]=null,t[E]=null;return e[N]=()=>e[I],e[E]=()=>{this[q].attributeValue=this[X]().map(t=>t[I]||ua).join(" "),this[E](this[q].attributeValue)},this[q].items=[e],this[q].attributeValue=e[I],this[E](e[I]||""),e}getItem(e){let t=this[X]();return typeof e=="number"||(e=Number(e),e=isNaN(e)?0:e),t[e]?t[e]:null}insertItemBefore(e,t){if(this[K])throw new this[u].TypeError("Failed to execute 'insertItemBefore' on 'SVGTransformList': The object is read-only.");if(arguments.length<2)throw new this[u].TypeError(`Failed to execute 'insertItemBefore' on 'SVGTransformList': 2 arguments required, but only ${arguments.length} present.`);if(!(e instanceof Tr))throw new this[u].TypeError("Failed to execute 'insertItemBefore' on 'SVGTransformList': parameter 1 is not of type 'SVGTransform'.");let r=this[X](),o=r.indexOf(e);return o!==-1&&r.splice(o,1),t<0?t=0:t>r.length&&(t=r.length),r.splice(t,0,e),e[N]=()=>e[I],e[E]=()=>{this[q].attributeValue=this[X]().map(i=>i[I]||ua).join(" "),this[E](this[q].attributeValue)},this[q].attributeValue=r.map(i=>i[I]||ua).join(" "),this[E](this[q].attributeValue),e}replaceItem(e,t){if(this[K])throw new this[u].TypeError("Failed to execute 'replaceItem' on 'SVGTransformList': The object is read-only.");if(arguments.length<2)throw new this[u].TypeError(`Failed to execute 'replaceItem' on 'SVGTransformList': 2 arguments required, but only ${arguments.length} present.`);if(!(e instanceof Tr))throw new this[u].TypeError("Failed to execute 'replaceItem' on 'SVGTransformList': parameter 1 is not of type 'SVGTransform'.");let r=this[X](),o=r.indexOf(e);if(o===t)return e;o!==-1&&r.splice(o,1),t<0?t=0:t>=r.length&&(t=r.length-1),r[t]&&(r[t][N]=null,r[t][E]=null);let i=r[t];return r[t]=e,e[N]=()=>e[I],e[E]=()=>{this[q].attributeValue=this[X]().map(n=>n[I]||ua).join(" "),this[E](this[q].attributeValue)},this[q].attributeValue=r.map(n=>n[I]||ua).join(" "),this[E](this[q].attributeValue),i}removeItem(e){if(this[K])throw new this[u].TypeError("Failed to execute 'removeItem' on 'SVGTransformList': The object is read-only.");if(arguments.length<1)throw new this[u].TypeError(`Failed to execute 'removeItem' on 'SVGTransformList': 1 argument required, but only ${arguments.length} present.`);let t=this[X]();if(e=Number(e),isNaN(e)&&(e=0),e>=t.length)throw new this[u].DOMException(`Failed to execute 'removeItem' on 'SVGTransformList': The index provided (${e}) is greater than the maximum bound.`,A.indexSizeError);if(e<0)throw new this[u].DOMException(`Failed to execute 'removeItem' on 'SVGTransformList': The index provided (${e}) is negative.`,A.indexSizeError);let r=t[e];return r&&(r[N]=null,r[E]=null),t.splice(e,1),this[q].attributeValue=t.map(o=>o[I]||ua).join(" "),this[E](this[q].attributeValue),r}appendItem(e){if(this[K])throw new this[u].TypeError("Failed to execute 'appendItem' on 'SVGTransformList': The object is read-only.");if(arguments.length<1)throw new this[u].TypeError(`Failed to execute 'appendItem' on 'SVGTransformList': 1 argument required, but only ${arguments.length} present.`);if(!(e instanceof Tr))throw new this[u].TypeError("Failed to execute 'appendItem' on 'SVGTransformList': parameter 1 is not of type 'SVGTransform'.");let t=this[X](),r=t.indexOf(e);return r!==-1&&t.splice(r,1),t.push(e),e[N]=()=>e[I],e[E]=()=>{this[q].attributeValue=this[X]().map(o=>o[I]||ua).join(" "),this[E](this[q].attributeValue)},this[q].attributeValue=t.map(o=>o[I]||ua).join(" "),this[E](this[q].attributeValue),e}[X](){let e=this[N]()??"",t=this[q];if(t.attributeValue===e)return t.items;if(t.items.length)for(let i of t.items)i[N]=null,i[E]=null;let r=[],o=e.trim();if(o){let i=new RegExp(X8),n;for(;n=i.exec(o);){let a=new Tr(c,this[u],{readOnly:this[K],getAttribute:()=>a[I],setAttribute:()=>{this[q].attributeValue=this[X]().map(m=>m[I]||ua).join(" "),this[E](this[q].attributeValue)}});a[I]=`${n[1]}(${n[2]})`,r.push(a)}}return t.attributeValue=e,t.items=r,r}};var Q3,tL,eL,rL,oL;oL=u,rL=N,eL=E,tL=ye,Q3=pe;var Ws=class{constructor(e,t,r){s(this,oL);s(this,rL);s(this,eL);s(this,tL,null);s(this,Q3,null);if(e!==c)throw new TypeError("Illegal constructor");this[u]=t,this[N]=r.getAttribute,this[E]=r.setAttribute}get animVal(){return this[pe]||(this[pe]=new $u(c,this[u],{readOnly:!0,getAttribute:this[N],setAttribute:()=>{}})),this[pe]}set animVal(e){}get baseVal(){return this[ye]||(this[ye]=new $u(c,this[u],{getAttribute:this[N],setAttribute:this[E]})),this[ye]}set baseVal(e){}};var iL,sL,nL,lL,Te=class extends(lL=st,nL=un,sL=mn,iL=_h,lL){constructor(){super(...arguments);s(this,nL,null);s(this,sL,null);s(this,iL,null)}get oncopy(){return S.getEventListener(this,"oncopy")}set oncopy(t){this[h].set("oncopy",t)}get oncut(){return S.getEventListener(this,"oncut")}set oncut(t){this[h].set("oncut",t)}get onpaste(){return S.getEventListener(this,"onpaste")}set onpaste(t){this[h].set("onpaste",t)}get requiredExtensions(){return this[un]||(this[un]=new $s(c,this[u],{getAttribute:()=>this.getAttribute("requiredExtensions"),setAttribute:t=>this.setAttribute("requiredExtensions",t)})),this[un]}get systemLanguage(){return this[mn]||(this[mn]=new $s(c,this[u],{getAttribute:()=>this.getAttribute("systemLanguage"),setAttribute:t=>this.setAttribute("systemLanguage",t)})),this[mn]}get transform(){return this[_h]||(this[_h]=new Ws(c,this[u],{getAttribute:()=>this.getAttribute("transform"),setAttribute:t=>this.setAttribute("transform",t)})),this[_h]}getBBox(){return new ns}getCTM(){return new No}getScreenCTM(){return new No}};var aL,uL,mL,yL,pL;pL=u,yL=N,mL=E,uL=I,aL=K;var ys=class{constructor(e,t,r){s(this,pL);s(this,yL,null);s(this,mL,null);s(this,uL,null);s(this,aL,!1);if(e!==c)throw new TypeError("Illegal constructor");this[u]=t,r&&(this[K]=!!r.readOnly,this[N]=r.getAttribute||null,this[E]=r.setAttribute||null)}get x(){let e=this[N]?this[N]():this[I];if(!e)return 0;let t=e.split(/\s+/),r=Number(t[0]);return isNaN(r)?0:r}set x(e){if(this[K])throw new this[u].TypeError("Failed to set the 'x' property on 'SVGRect': The object is read-only.");this[I]=`${String(typeof e=="number"?e:parseFloat(e))} ${this.y} ${this.width} ${this.height}`,this[E]&&this[E](this[I])}get y(){let e=this[N]?this[N]():this[I];if(!e)return 0;let t=e.split(/\s+/),r=Number(t[1]);return isNaN(r)?0:r}set y(e){if(this[K])throw new this[u].TypeError("Failed to set the 'y' property on 'SVGRect': The object is read-only.");this[I]=`${this.x} ${String(typeof e=="number"?e:parseFloat(e))} ${this.width} ${this.height}`,this[E]&&this[E](this[I])}get width(){let e=this[N]?this[N]():this[I];if(!e)return 0;let t=e.split(/\s+/),r=Number(t[2]);return isNaN(r)?0:r}set width(e){if(this[K])throw new this[u].TypeError("Failed to set the 'width' property on 'SVGRect': The object is read-only.");this[I]=`${this.x} ${this.y} ${String(typeof e=="number"?e:parseFloat(e))} ${this.height}`,this[E]&&this[E](this[I])}get height(){let e=this[N]?this[N]():this[I];if(!e)return 0;let t=e.split(/\s+/),r=Number(t[3]);return isNaN(r)?0:r}set height(e){if(this[K])throw new this[u].TypeError("Failed to set the 'height' property on 'SVGRect': The object is read-only.");this[I]=`${this.x} ${this.y} ${this.width} ${String(typeof e=="number"?e:parseFloat(e))}`,this[E]&&this[E](this[I])}};var cL=/[\t\f\n\r, ]+/,hL,dL,bL,fL,gL;gL=u,fL=N,bL=E,dL=I,hL=K;var Nr=class{constructor(e,t,r){s(this,gL);s(this,fL,null);s(this,bL,null);s(this,dL,null);s(this,hL,!1);if(e!==c)throw new TypeError("Illegal constructor");this[u]=t,r&&(this[K]=!!r.readOnly,this[N]=r.getAttribute||null,this[E]=r.setAttribute||null)}get x(){let t=((this[N]?this[N]():this[I])||"").split(cL);return t[0]?parseFloat(t[0]):0}set x(e){if(this[K])throw new this[u].TypeError("Failed to set the 'x' property on 'SVGPoint': The object is read-only.");this[I]=`${e} ${this.y}`,this[E]&&this[E](this[I])}get y(){let t=((this[N]?this[N]():this[I])||"").split(cL);return t[1]?parseFloat(t[1]):0}set y(e){if(this[K])throw new this[u].TypeError("Failed to set the 'y' property on 'SVGPoint': The object is read-only.");this[I]=`${this.x} ${e}`,this[E]&&this[E](this[I])}};var cw;(function(l){l[l.unknown=0]="unknown",l[l.number=1]="number",l[l.percentage=2]="percentage",l[l.ems=3]="ems",l[l.exs=4]="exs",l[l.px=5]="px",l[l.cm=6]="cm",l[l.mm=7]="mm",l[l.in=8]="in",l[l.pt=9]="pt",l[l.pc=10]="pc"})(cw||(cw={}));var xt=cw;var SL=/^(\d+|\d+\.\d+)(px|em|ex|cm|mm|in|pt|pc|%|)$/,PL,wL,xL,EL,vL;vL=u,EL=N,xL=E,wL=I,PL=K;var ar=class{constructor(e,t,r){s(this,vL);s(this,EL,null);s(this,xL,null);s(this,wL,null);s(this,PL,!1);if(e!==c)throw new TypeError("Illegal constructor");this[u]=t,r&&(this[K]=!!r.readOnly,this[N]=r.getAttribute||null,this[E]=r.setAttribute||null)}get unitType(){let t=(this[N]?this[N]()||"":this[I]||"").match(SL);if(!t)return xt.unknown;if(isNaN(parseFloat(t[1])))return xt.unknown;switch(t[2]){case"":return xt.number;case"px":return xt.px;case"cm":return xt.cm;case"mm":return xt.mm;case"in":return xt.in;case"pt":return xt.pt;case"pc":return xt.pc;case"em":case"ex":case"%":throw new this[u].TypeError("Failed to execute 'value' on 'SVGLength': Could not resolve relative length.");default:return xt.unknown}}get value(){let t=(this[N]?this[N]()||"":this[I]||"").match(SL);if(!t)return 0;let r=parseFloat(t[1]);if(isNaN(r))return 0;switch(t[2]){case"":return r;case"px":return r;case"cm":return r/2.54*96;case"mm":return r/25.4*96;case"in":return r*96;case"pt":return r*72;case"pc":return r*6;case"em":case"ex":case"%":throw new this[u].TypeError("Failed to execute 'value' on 'SVGLength': Could not resolve relative length.");default:return 0}}set value(e){if(this[K])throw new this[u].TypeError("Failed to set the 'value' property on 'SVGLength': The object is read-only.");if(e=typeof e!="number"?parseFloat(String(e)):e,isNaN(e))throw new this[u].TypeError("Failed to set the 'value' property on 'SVGLength': The provided float value is non-finite.");let t="",r=e;switch(this.unitType){case xt.number:r=e,t="";break;case xt.px:r=e,t="px";break;case xt.cm:r=e/96*2.54,t="cm";break;case xt.mm:r=e/96*25.4,t="mm";break;case xt.in:r=e/96,t="in";break;case xt.pt:r=e/72,t="pt";break;case xt.pc:r=e/6,t="pc";break;case xt.percentage:case xt.ems:case xt.exs:throw new this[u].TypeError("Failed to set the 'value' property on 'SVGLength': Could not resolve relative length.");default:break}this[I]=String(r)+t,this[E]&&this[E](this[I])}get valueAsString(){return this[N]?this[N]()||"0":this[I]||"0"}get valueInSpecifiedUnits(){let e=this.valueAsString;return parseFloat(e)||0}newValueSpecifiedUnits(e,t){if(this[K])throw new this[u].TypeError("Failed to execute 'newValueSpecifiedUnits' on 'SVGLength': The object is read-only.");if(typeof e!="number")throw new this[u].TypeError("Failed to execute 'newValueSpecifiedUnits' on 'SVGLength': parameter 1 ('unitType') is not of type 'number'.");if(t=typeof t!="number"?parseFloat(String(t)):t,isNaN(t))throw new this[u].TypeError("Failed to execute 'newValueSpecifiedUnits' on 'SVGLength': The provided float value is non-finite.");let r="";switch(e){case xt.number:r="";break;case xt.px:r="px";break;case xt.cm:r="cm";break;case xt.mm:r="mm";break;case xt.in:r="in";break;case xt.pt:r="pt";break;case xt.pc:r="pc";break;case xt.ems:case xt.exs:case xt.percentage:throw new this[u].TypeError("Failed to execute 'newValueSpecifiedUnits' on 'SVGLength': Could not resolve relative length.");default:break}this[I]=String(t)+r,this[E]&&this[E](this[I])}convertToSpecifiedUnits(e){if(this[K])throw new this[u].TypeError("Failed to execute 'convertToSpecifiedUnits' on 'SVGLength': The object is read-only.");if(typeof e!="number")throw new this[u].TypeError("Failed to execute 'convertToSpecifiedUnits' on 'SVGLength': parameter 1 ('unitType') is not of type 'number'.");let t=this.value,r="";switch(e){case xt.number:r="";break;case xt.px:r="px";break;case xt.cm:t=t/96*2.54,r="cm";break;case xt.mm:t=t/96*25.4,r="mm";break;case xt.in:t=t/96,r="in";break;case xt.pt:t=t/72,r="pt";break;case xt.pc:t=t/6,r="pc";break;case xt.percentage:case xt.ems:case xt.exs:throw new this[u].TypeError("Failed to execute 'convertToSpecifiedUnits' on 'SVGLength': Could not resolve relative length.");default:break}this[I]=String(t)+r,this[E]&&this[E](this[I])}};s(ar,"SVG_LENGTHTYPE_UNKNOWN",xt.unknown),s(ar,"SVG_LENGTHTYPE_NUMBER",xt.number),s(ar,"SVG_LENGTHTYPE_PERCENTAGE",xt.percentage),s(ar,"SVG_LENGTHTYPE_EMS",xt.ems),s(ar,"SVG_LENGTHTYPE_EXS",xt.exs),s(ar,"SVG_LENGTHTYPE_PX",xt.px),s(ar,"SVG_LENGTHTYPE_CM",xt.cm),s(ar,"SVG_LENGTHTYPE_MM",xt.mm),s(ar,"SVG_LENGTHTYPE_IN",xt.in),s(ar,"SVG_LENGTHTYPE_PT",xt.pt),s(ar,"SVG_LENGTHTYPE_PC",xt.pc);var hw;(function(l){l[l.unknown=0]="unknown",l[l.unspecified=1]="unspecified",l[l.deg=2]="deg",l[l.rad=3]="rad",l[l.grad=4]="grad"})(hw||(hw={}));var Ne=hw;var AL=/^(\d+|\d+\.\d+)(deg|rad|grad|turn|)$/,TL,NL,LL,CL,kL;kL=u,CL=N,LL=E,NL=I,TL=K;var ri=class{constructor(e,t,r){s(this,kL);s(this,CL,null);s(this,LL,null);s(this,NL,"");s(this,TL,!1);if(e!==c)throw new TypeError("Illegal constructor");this[u]=t,r&&(this[K]=!!r.readOnly,this[N]=r.getAttribute||null,this[E]=r.setAttribute||null)}get unitType(){let t=(this[N]?this[N]():this[I])?.match(AL);if(!t)return Ne.unknown;if(isNaN(parseFloat(t[1])))return Ne.unknown;switch(t[2]){case"":return Ne.unspecified;case"deg":return Ne.deg;case"rad":return Ne.rad;case"grad":return Ne.grad;case"turn":return Ne.unknown;default:return Ne.unspecified}}get value(){let t=(this[N]?this[N]():this[I])?.match(AL);if(!t)return 0;let r=parseFloat(t[1]);if(isNaN(r))return 0;switch(t[2]){case"":return r;case"deg":return r;case"rad":return r*(180/Math.PI);case"grad":return r*(180/200);case"turn":return r*360;default:return r}}set value(e){if(this[K])throw new this[u].TypeError("Failed to set the 'value' property on 'SVGAngle': The object is read-only.");if(e=typeof e!="number"?parseFloat(String(e)):e,isNaN(e))throw new this[u].TypeError("Failed to set the 'value' property on 'SVGAngle': The provided float value is non-finite.");let t="",r=e;switch(this.unitType){case Ne.unspecified:r=e,t="";break;case Ne.deg:r=e,t="deg";break;case Ne.rad:r=e/(180/Math.PI),t="rad";break;case Ne.grad:r=e/(180/200),t="grad";break;case Ne.unknown:r=e/360,t="turn";default:break}this[I]=String(r)+t,this[E]&&this[E](this[I])}get valueAsString(){return this[N]?this[N]()||"0":this[I]||"0"}get valueInSpecifiedUnits(){let e=this.valueAsString;return parseFloat(e)||0}newValueSpecifiedUnits(e,t){if(this[K])throw new this[u].TypeError("Failed to execute 'newValueSpecifiedUnits' on 'SVGAngle': The object is read-only.");if(typeof e!="number")throw new this[u].TypeError("Failed to execute 'newValueSpecifiedUnits' on 'SVGAngle': parameter 1 ('unitType') is not of type 'number'.");if(t=typeof t!="number"?parseFloat(t):t,isNaN(t))throw new this[u].TypeError("Failed to execute 'newValueSpecifiedUnits' on 'SVGAngle': The provided float value is non-finite.");let r="";switch(e){case Ne.unspecified:r="";break;case Ne.deg:r="deg";break;case Ne.rad:r="rad";break;case Ne.grad:r="grad";break;case Ne.unknown:r="turn";break;default:break}this[I]=String(t)+r,this[E]&&this[E](this[I])}convertToSpecifiedUnits(e){if(this[K])throw new this[u].TypeError("Failed to execute 'convertToSpecifiedUnits' on 'SVGAngle': The object is read-only.");if(typeof e!="number")throw new this[u].TypeError("Failed to execute 'convertToSpecifiedUnits' on 'SVGAngle': parameter 1 ('unitType') is not of type 'number'.");let t=this.value,r="";switch(e){case Ne.unspecified:r="";break;case Ne.deg:r="deg";break;case Ne.rad:r="rad",t=t/(180/Math.PI);break;case Ne.grad:r="grad",t=t/(180/200);break;case Ne.unknown:r="turn",t=t/360;break;default:break}this[I]=String(t)+r,this[E]&&this[E](this[I])}};s(ri,"SVG_ANGLETYPE_UNKNOWN",Ne.unknown),s(ri,"SVG_ANGLETYPE_UNSPECIFIED",Ne.unspecified),s(ri,"SVG_ANGLETYPE_DEG",Ne.deg),s(ri,"SVG_ANGLETYPE_RAD",Ne.rad),s(ri,"SVG_ANGLETYPE_GRAD",Ne.grad);var ML,RL,OL,VL,IL;IL=u,VL=N,OL=E,RL=I,ML=K;var ps=class{constructor(e,t,r){s(this,IL);s(this,VL,null);s(this,OL,null);s(this,RL,null);s(this,ML,!1);if(e!==c)throw new TypeError("Illegal constructor");this[u]=t,r&&(this[K]=!!r.readOnly,this[N]=r.getAttribute||null,this[E]=r.setAttribute||null)}get value(){let e=this[N]?this[N]():this[I];return parseFloat(e||"0")}set value(e){if(this[K])throw new TypeError("Failed to set the 'value' property on 'SVGNumber': The object is read-only.");let t=typeof e!="number"?parseFloat(String(e)):e;if(isNaN(t))throw new TypeError("Failed to set the 'value' property on 'SVGNumber': The provided value is not a number.");this[I]=String(e),this[E]&&this[E](this[I]||"")}};var DL,FL,_L,BL,UL;UL=u,BL=N,_L=E,FL=ye,DL=pe;var ma=class{constructor(e,t,r){s(this,UL);s(this,BL);s(this,_L);s(this,FL,null);s(this,DL,null);if(e!==c)throw new TypeError("Illegal constructor");this[u]=t,this[N]=r.getAttribute,this[E]=r.setAttribute}get animVal(){return this[pe]||(this[pe]=new ys(c,this[u],{readOnly:!0,getAttribute:this[N]})),this[pe]}set animVal(e){}get baseVal(){return this[ye]||(this[ye]=new ys(c,this[u],{getAttribute:this[N],setAttribute:this[E]})),this[ye]}set baseVal(e){}};var dw;(function(l){l[l.unknown=0]="unknown",l[l.meet=1]="meet",l[l.slice=2]="slice"})(dw||(dw={}));var ya=dw;var bw;(function(l){l[l.unknown=0]="unknown",l[l.none=1]="none",l[l.xMinYMin=2]="xMinYMin",l[l.xMidYMin=3]="xMidYMin",l[l.xMaxYMin=4]="xMaxYMin",l[l.xMinYMid=5]="xMinYMid",l[l.xMidYMid=6]="xMidYMid",l[l.xMaxYMid=7]="xMaxYMid",l[l.xMinYMax=8]="xMinYMax",l[l.xMidYMax=9]="xMidYMax",l[l.xMaxYMax=10]="xMaxYMax"})(bw||(bw={}));var So=bw;var Rf=Object.values(So);Rf.length=Rf.indexOf(0);var KS=Object.values(ya);KS.length=KS.indexOf(0);var GL,HL,qL,$L,WL;WL=u,$L=N,qL=E,HL=I,GL=K;var fr=class{constructor(e,t,r){s(this,WL);s(this,$L,null);s(this,qL,null);s(this,HL,null);s(this,GL,!1);if(e!==c)throw new TypeError("Illegal constructor");this[u]=t,r&&(this[K]=!!r.readOnly,this[N]=r.getAttribute||null,this[E]=r.setAttribute||null)}get align(){let e=this[N]?this[N]():this[I];if(!e)return So.xMidYMid;let t=e.split(/\s+/)[0];return So[t]===void 0?So.xMidYMid:So[t]}set align(e){if(this[K])throw new this[u].TypeError("Failed to set the 'align' property on 'SVGPreserveAspectRatio': The object is read-only.");let t=Number(e);if(isNaN(t)||t<1||t>Rf.length)throw new this[u].TypeError("Failed to set the 'align' property on 'SVGPreserveAspectRatio': The alignment provided is invalid.");this[I]=`${Rf[t]} ${KS[this.meetOrSlice]}`,this[E]&&this[E](this[I])}get meetOrSlice(){let e=this[N]?this[N]():this[I];if(!e)return ya.meet;let t=e.split(/\s+/)[1];return!t||ya[t]===void 0?ya.meet:ya[t]}set meetOrSlice(e){if(this[K])throw new this[u].TypeError("Failed to set the 'meetOrSlice' property on 'SVGPreserveAspectRatio': The object is read-only.");let t=Number(e);if(isNaN(t)||t<1||t>2)throw new this[u].TypeError("Failed to set the 'meetOrSlice' property on 'SVGPreserveAspectRatio': The meetOrSlice provided is invalid.");this[I]=`${Rf[this.align]} ${KS[t]}`,this[E]&&this[E](this[I])}};s(fr,"SVG_MEETORSLICE_UNKNOWN",ya.unknown),s(fr,"SVG_MEETORSLICE_MEET",ya.meet),s(fr,"SVG_MEETORSLICE_SLICE",ya.slice),s(fr,"SVG_PRESERVEASPECTRATIO_UNKNOWN",So.unknown),s(fr,"SVG_PRESERVEASPECTRATIO_NONE",So.none),s(fr,"SVG_PRESERVEASPECTRATIO_XMINYMIN",So.xMinYMin),s(fr,"SVG_PRESERVEASPECTRATIO_XMIDYMIN",So.xMidYMin),s(fr,"SVG_PRESERVEASPECTRATIO_XMAXYMIN",So.xMaxYMin),s(fr,"SVG_PRESERVEASPECTRATIO_XMINYMID",So.xMinYMid),s(fr,"SVG_PRESERVEASPECTRATIO_XMIDYMID",So.xMidYMid),s(fr,"SVG_PRESERVEASPECTRATIO_XMAXYMID",So.xMaxYMid),s(fr,"SVG_PRESERVEASPECTRATIO_XMINYMAX",So.xMinYMax),s(fr,"SVG_PRESERVEASPECTRATIO_XMIDYMAX",So.xMidYMax),s(fr,"SVG_PRESERVEASPECTRATIO_XMAXYMAX",So.xMaxYMax);var jL,zL,XL,YL,KL;KL=u,YL=N,XL=E,zL=ye,jL=pe;var Ui=class{constructor(e,t,r){s(this,KL);s(this,YL);s(this,XL);s(this,zL,null);s(this,jL,null);if(e!==c)throw new TypeError("Illegal constructor");this[u]=t,this[N]=r.getAttribute,this[E]=r.setAttribute}get animVal(){return this[pe]||(this[pe]=new fr(c,this[u],{readOnly:!0,getAttribute:this[N]})),this[pe]}set animVal(e){}get baseVal(){return this[ye]||(this[ye]=new fr(c,this[u],{getAttribute:this[N],setAttribute:this[E]})),this[ye]}set baseVal(e){}};var JL,ZL,QL,tC,eC;eC=u,tC=N,QL=E,ZL=ye,JL=pe;var k=class{constructor(e,t,r){s(this,eC);s(this,tC);s(this,QL);s(this,ZL,null);s(this,JL,null);if(e!==c)throw new TypeError("Illegal constructor");this[u]=t,this[N]=r.getAttribute,this[E]=r.setAttribute}get animVal(){return this[pe]||(this[pe]=new ar(c,this[u],{readOnly:!0,getAttribute:this[N]})),this[pe]}set animVal(e){}get baseVal(){return this[ye]||(this[ye]=new ar(c,this[u],{getAttribute:this[N],setAttribute:this[E]})),this[ye]}set baseVal(e){}};var rC,oC,iC,sC,nC,lC,aC,oh=class extends Te{constructor(){super(...arguments);s(this,aC,null);s(this,lC,null);s(this,nC,null);s(this,sC,null);s(this,iC,null);s(this,oC,1);s(this,rC,null)}get onafterprint(){return S.getEventListener(this,"onafterprint")}set onafterprint(t){this[h].set("onafterprint",t)}get onbeforeprint(){return S.getEventListener(this,"onbeforeprint")}set onbeforeprint(t){this[h].set("onbeforeprint",t)}get onbeforeunload(){return S.getEventListener(this,"onbeforeunload")}set onbeforeunload(t){this[h].set("onbeforeunload",t)}get ongamepadconnected(){return S.getEventListener(this,"ongamepadconnected")}set ongamepadconnected(t){this[h].set("ongamepadconnected",t)}get ongamepaddisconnected(){return S.getEventListener(this,"ongamepaddisconnected")}set ongamepaddisconnected(t){this[h].set("ongamepaddisconnected",t)}get onhashchange(){return S.getEventListener(this,"onhashchange")}set onhashchange(t){this[h].set("onhashchange",t)}get onlanguagechange(){return S.getEventListener(this,"onlanguagechange")}set onlanguagechange(t){this[h].set("onlanguagechange",t)}get onmessage(){return S.getEventListener(this,"onmessage")}set onmessage(t){this[h].set("onmessage",t)}get onmessageerror(){return S.getEventListener(this,"onmessageerror")}set onmessageerror(t){this[h].set("onmessageerror",t)}get onoffline(){return S.getEventListener(this,"onoffline")}set onoffline(t){this[h].set("onoffline",t)}get ononline(){return S.getEventListener(this,"ononline")}set ononline(t){this[h].set("ononline",t)}get onpagehide(){return S.getEventListener(this,"onpagehide")}set onpagehide(t){this[h].set("onpagehide",t)}get onpageshow(){return S.getEventListener(this,"onpageshow")}set onpageshow(t){this[h].set("onpageshow",t)}get onpopstate(){return S.getEventListener(this,"onpopstate")}set onpopstate(t){this[h].set("onpopstate",t)}get onrejectionhandled(){return S.getEventListener(this,"onrejectionhandled")}set onrejectionhandled(t){this[h].set("onrejectionhandled",t)}get onstorage(){return S.getEventListener(this,"onstorage")}set onstorage(t){this[h].set("onstorage",t)}get onunhandledrejection(){return S.getEventListener(this,"onunhandledrejection")}set onunhandledrejection(t){this[h].set("onunhandledrejection",t)}get onunload(){return S.getEventListener(this,"onunload")}set onunload(t){this[h].set("onunload",t)}get preserveAspectRatio(){return this[Or]||(this[Or]=new Ui(c,this[u],{getAttribute:()=>this.getAttribute("preserveAspectRatio"),setAttribute:t=>this.setAttribute("preserveAspectRatio",t)})),this[Or]}get height(){return this[F]||(this[F]=new k(c,this[u],{getAttribute:()=>this.getAttribute("height"),setAttribute:t=>this.setAttribute("height",t)})),this[F]}get width(){return this[_]||(this[_]=new k(c,this[u],{getAttribute:()=>this.getAttribute("width"),setAttribute:t=>this.setAttribute("width",t)})),this[_]}get x(){return this[O]||(this[O]=new k(c,this[u],{getAttribute:()=>this.getAttribute("x"),setAttribute:t=>this.setAttribute("x",t)})),this[O]}get y(){return this[V]||(this[V]=new k(c,this[u],{getAttribute:()=>this.getAttribute("y"),setAttribute:t=>this.setAttribute("y",t)})),this[V]}get currentScale(){return this[sS]}set currentScale(t){let r=typeof t!="number"?parseFloat(String(t)):t;if(isNaN(r))throw this[u].TypeError("Failed to set the 'currentScale' property on 'SVGSVGElement': The provided float value is non-finite.");r<1||(this[sS]=r)}get currentTranslate(){return new Nr(c,this[u])}get viewBox(){return this[yn]||(this[yn]=new ma(c,this[u],{getAttribute:()=>this.getAttribute("viewBox"),setAttribute:t=>this.setAttribute("viewBox",t)})),this[yn]}pauseAnimations(){}unpauseAnimations(){}animationsPaused(){return!1}getCurrentTime(){return 0}setCurrentTime(t){}getIntersectionList(t,r){return new ki(c,[])}getEnclosureList(t,r){return new ki(c,[])}checkIntersection(t,r){return!1}checkEnclosure(t,r){return!1}deselectAll(){}createSVGNumber(){return new ps(c,this[u])}createSVGLength(){return new ar(c,this[u])}createSVGAngle(){return new ri(c,this[u])}createSVGPoint(){return new Nr(c,this[u])}createSVGMatrix(){return new il(c,this[u])}createSVGRect(){return new ys(c,this[u])}createSVGTransform(){return new Tr(c,this[u])}createSVGTransformFromMatrix(t){let r=new Tr(c,this[u]);return r.setMatrix(t),r}getElementsByClassName(t){return ne.getElementsByClassName(this,t)}getElementsByTagName(t){return ne.getElementsByTagName(this,t)}getElementsByTagNameNS(t,r){return ne.getElementsByTagNameNS(this,t,r)}getElementById(t){return ne.getElementById(this,t)}[(aC=Or,lC=O,nC=V,sC=_,iC=F,oC=sS,rC=yn,ct)](t=!1){return super[ct](t)}};var uC,mC,yC,Gi=class extends(yC=st,mC=un,uC=mn,yC){constructor(){super(...arguments);s(this,mC,null);s(this,uC,null)}get onbegin(){return S.getEventListener(this,"onbegin")}set onbegin(t){this[h].set("onbegin",t)}get onend(){return S.getEventListener(this,"onend")}set onend(t){this[h].set("onend",t)}get onrepeat(){return S.getEventListener(this,"onrepeat")}set onrepeat(t){this[h].set("onrepeat",t)}get requiredExtensions(){return this[un]||(this[un]=new $s(c,this[u],{getAttribute:()=>this.getAttribute("requiredExtensions"),setAttribute:t=>this.setAttribute("requiredExtensions",t)})),this[un]}get systemLanguage(){return this[mn]||(this[mn]=new $s(c,this[u],{getAttribute:()=>this.getAttribute("systemLanguage"),setAttribute:t=>this.setAttribute("systemLanguage",t)})),this[mn]}get targetElement(){return null}};var Of=class extends Gi{};var Vf=class extends Gi{};var If=class extends Gi{};var pC,cC,hC,dC;dC=u,hC=N,cC=E,pC=Vo;var yt=class{constructor(e,t,r){s(this,dC);s(this,hC);s(this,cC);s(this,pC,0);if(e!==c)throw new TypeError("Illegal constructor");this[u]=t,this[N]=r.getAttribute,this[E]=r.setAttribute,this[Vo]=r.defaultValue||0}get animVal(){return this.baseVal}set animVal(e){}get baseVal(){let e=this[N]();if(!e)return this[Vo];let t=parseFloat(e);return isNaN(t)?this[Vo]:t}set baseVal(e){let t=typeof e!="number"?parseFloat(e):e;if(isNaN(t))throw new this[u].TypeError("TypeError: Failed to set the 'baseVal' property on 'SVGAnimatedNumber': The provided float value is non-finite.");this[E](String(t))}};var bC,fC,Wr=class extends(fC=Te,bC=Bh,fC){constructor(){super(...arguments);s(this,bC,null)}get pathLength(){return this[Bh]||(this[Bh]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("pathLength"),setAttribute:t=>this.setAttribute("pathLength",t)})),this[Bh]}isPointInFill(t){if(!(t instanceof Nr))throw new TypeError("Failed to execute 'isPointInFill' on 'SVGGeometryElement': parameter 1 is not of type 'SVGPoint'.");return!1}isPointInStroke(t){if(!(t instanceof Nr))throw new TypeError("Failed to execute 'isPointInFill' on 'SVGGeometryElement': parameter 1 is not of type 'SVGPoint'.");return!1}getTotalLength(){return 0}getPointAtLength(t){return new Nr(c,this[u])}};var gC,SC,PC,wC,Df=class extends(wC=Wr,PC=Io,SC=Do,gC=bn,wC){constructor(){super(...arguments);s(this,PC,null);s(this,SC,null);s(this,gC,null)}get cx(){return this[Io]||(this[Io]=new k(c,this[u],{getAttribute:()=>this.getAttribute("cx"),setAttribute:t=>this.setAttribute("cx",t)})),this[Io]}get cy(){return this[Do]||(this[Do]=new k(c,this[u],{getAttribute:()=>this.getAttribute("cy"),setAttribute:t=>this.setAttribute("cy",t)})),this[Do]}get r(){return this[bn]||(this[bn]=new k(c,this[u],{getAttribute:()=>this.getAttribute("r"),setAttribute:t=>this.setAttribute("r",t)})),this[bn]}};var xC,EC,vC,AC,TC;TC=u,AC=N,vC=E,EC=wr,xC=Vo;var Tt=class{constructor(e,t,r){s(this,TC);s(this,AC);s(this,vC);s(this,EC);s(this,xC);if(e!==c)throw new TypeError("Illegal constructor");this[u]=t,this[N]=r.getAttribute,this[E]=r.setAttribute,this[wr]=r.values,this[Vo]=r.defaultValue}get animVal(){return this.baseVal}set animVal(e){}get baseVal(){let e=this[N]();if(!e)return this[wr].indexOf(this[Vo])+1;let t=this[wr].indexOf(e);if(t===-1){let r=this[wr].indexOf(null);return r!==-1?r+1:0}return t+1}set baseVal(e){let t=Number(e);if(isNaN(t)&&(t=0),t<1)throw new TypeError(`Failed to set the 'baseVal' property on 'SVGAnimatedEnumeration': The enumeration value provided is ${t}, which is not settable.`);if(t>this[wr].length)throw new TypeError(`Failed to set the 'baseVal' property on 'SVGAnimatedEnumeration': The enumeration value provided (${t}) is larger than the largest allowed value (${this[wr].length}).`);let r=this[N](),o=this[wr][t-1]===null,i=o?"0":this[wr][t-1];(!r||o&&this[wr].includes(r)||!o&&r!==i)&&this[E](i||"")}};var NC,LC,Ff=class extends(LC=st,NC=zh,LC){constructor(){super(...arguments);s(this,NC,null)}get clipPathUnits(){return this[zh]||(this[zh]=new Tt(c,this[u],{getAttribute:()=>this.getAttribute("clipPathUnits"),setAttribute:t=>this.setAttribute("clipPathUnits",t),values:["userSpaceOnUse","objectBoundingBox"],defaultValue:"userSpaceOnUse"})),this[zh]}};var _f=class extends Te{};var Bf=class extends st{};var CC,kC,MC,RC,OC,Uf=class extends(OC=Wr,RC=Io,MC=Do,kC=hn,CC=dn,OC){constructor(){super(...arguments);s(this,RC,null);s(this,MC,null);s(this,kC,null);s(this,CC,null)}get cx(){return this[Io]||(this[Io]=new k(c,this[u],{getAttribute:()=>this.getAttribute("cx"),setAttribute:t=>this.setAttribute("cx",t)})),this[Io]}get cy(){return this[Do]||(this[Do]=new k(c,this[u],{getAttribute:()=>this.getAttribute("cy"),setAttribute:t=>this.setAttribute("cy",t)})),this[Do]}get rx(){return this[hn]||(this[hn]=new k(c,this[u],{getAttribute:()=>this.getAttribute("rx"),setAttribute:t=>this.setAttribute("rx",t)})),this[hn]}get ry(){return this[dn]||(this[dn]=new k(c,this[u],{getAttribute:()=>this.getAttribute("ry"),setAttribute:t=>this.setAttribute("ry",t)})),this[dn]}};var VC,IC,DC;DC=u,IC=N,VC=E;var at=class{constructor(e,t,r){s(this,DC);s(this,IC);s(this,VC);if(e!==c)throw new TypeError("Illegal constructor");this[u]=t,this[N]=r.getAttribute,this[E]=r.setAttribute}get animVal(){return this.baseVal}set animVal(e){}get baseVal(){let e=this[N]();return e||""}set baseVal(e){this[E](String(e))}};var FC,_C,BC,UC,GC,HC,qC,$C,gr=class extends($C=st,qC=F,HC=mt,GC=Fo,UC=ke,BC=O,_C=V,FC=_,$C){constructor(){super(...arguments);s(this,qC,null);s(this,HC,null);s(this,GC,null);s(this,UC,null);s(this,BC,null);s(this,_C,null);s(this,FC,null)}get height(){return this[F]||(this[F]=new k(c,this[u],{getAttribute:()=>this.getAttribute("height"),setAttribute:t=>this.setAttribute("height",t)})),this[F]}get in1(){return this[mt]||(this[mt]=new at(c,this[u],{getAttribute:()=>this.getAttribute("in"),setAttribute:t=>this.setAttribute("in",t)})),this[mt]}get in2(){return this[Fo]||(this[Fo]=new at(c,this[u],{getAttribute:()=>this.getAttribute("in2"),setAttribute:t=>this.setAttribute("in2",t)})),this[Fo]}get mode(){return this[ke]||(this[ke]=new Tt(c,this[u],{getAttribute:()=>this.getAttribute("mode"),setAttribute:t=>this.setAttribute("mode",t),values:["normal","multiply","screen","darken","lighten","overlay","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],defaultValue:"normal"})),this[ke]}get width(){return this[_]||(this[_]=new k(c,this[u],{getAttribute:()=>this.getAttribute("width"),setAttribute:t=>this.setAttribute("width",t)})),this[_]}get x(){return this[O]||(this[O]=new k(c,this[u],{getAttribute:()=>this.getAttribute("x"),setAttribute:t=>this.setAttribute("x",t)})),this[O]}get y(){return this[V]||(this[V]=new k(c,this[u],{getAttribute:()=>this.getAttribute("y"),setAttribute:t=>this.setAttribute("y",t)})),this[V]}};s(gr,"SVG_FEBLEND_MODE_UNKNOWN",0),s(gr,"SVG_FEBLEND_MODE_NORMAL",1),s(gr,"SVG_FEBLEND_MODE_MULTIPLY",2),s(gr,"SVG_FEBLEND_MODE_SCREEN",3),s(gr,"SVG_FEBLEND_MODE_DARKEN",4),s(gr,"SVG_FEBLEND_MODE_LIGHTEN",5),s(gr,"SVG_FEBLEND_MODE_OVERLAY",6),s(gr,"SVG_FEBLEND_MODE_COLOR_DODGE",7),s(gr,"SVG_FEBLEND_MODE_COLOR_BURN",8),s(gr,"SVG_FEBLEND_MODE_HARD_LIGHT",9),s(gr,"SVG_FEBLEND_MODE_SOFT_LIGHT",10),s(gr,"SVG_FEBLEND_MODE_DIFFERENCE",11),s(gr,"SVG_FEBLEND_MODE_EXCLUSION",12),s(gr,"SVG_FEBLEND_MODE_HUE",13),s(gr,"SVG_FEBLEND_MODE_SATURATION",14),s(gr,"SVG_FEBLEND_MODE_COLOR",15),s(gr,"SVG_FEBLEND_MODE_LUMINOSITY",16);var Y8=/[\t\f\n\r, ]+/,WC,jC,zC,XC,YC,Wu=class l{constructor(e,t,r){s(this,YC);s(this,XC);s(this,zC);s(this,jC,!1);s(this,WC,{items:[],attributeValue:""});if(e!==c)throw new TypeError("Illegal constructor");if(this[u]=t,this[K]=!!r.readOnly,this[N]=r.getAttribute,this[E]=r.setAttribute,e!==c)throw new TypeError("Illegal constructor");let o=new xe(this,[l]);return new Proxy(this,{get:(i,n)=>{if(n==="length"||n==="numberOfItems")return i[X]().length;if(n in i||typeof n=="symbol")return o.bind(n),i[n];let a=Number(n);if(!isNaN(a))return i[X]()[a]},set(i,n,a){if(o.bind(n),typeof n=="symbol")return i[n]=a,!0;let m=Number(n);return isNaN(m)&&(i[n]=a),!0},deleteProperty(i,n){if(typeof n=="symbol")return delete i[n],!0;let a=Number(n);return isNaN(a)&&delete i[n],!0},ownKeys(i){return Object.keys(i[X]())},has(i,n){if(n in i)return!0;if(typeof n=="symbol")return!1;let a=Number(n);return!isNaN(a)&&a>=0&&a<i[X]().length},defineProperty(i,n,a){return o.preventBinding(n),n in i?(Object.defineProperty(i,n,a),!0):!1},getOwnPropertyDescriptor(i,n){if(n in i||typeof n=="symbol")return;let a=Number(n),m=i[X]();if(!isNaN(a)&&m[a])return{value:m[a],writable:!1,enumerable:!0,configurable:!0}}})}get length(){return this[X]().length}get numberOfItems(){return this[X]().length}[(YC=u,XC=N,zC=E,jC=K,WC=q,Symbol.iterator)](){return this[X]().values()}clear(){if(this[K])throw new this[u].TypeError("Failed to execute 'clear' on 'SVGNumberList': The object is read-only.");for(let e of this[q].items)e[N]=null,e[E]=null;this[q].items=[],this[q].attributeValue="",this[E]("")}initialize(e){if(arguments.length<1)throw new this[u].TypeError(`Failed to execute 'initialize' on 'SVGNumberList': 1 arguments required, but only ${arguments.length} present.`);if(this[K])throw new this[u].TypeError("Failed to execute 'initialize' on 'SVGNumberList': The object is read-only.");for(let t of this[q].items)t[N]=null,t[E]=null;return e[N]=()=>e[I],e[E]=()=>{this[q].attributeValue=this[X]().map(t=>t[I]||"0").join(" "),this[E](this[q].attributeValue)},this[q].items=[e],this[q].attributeValue=e[I],this[E](e[I]||""),e}getItem(e){let t=this[X]();return typeof e=="number"||(e=Number(e),e=isNaN(e)?0:e),t[e]?t[e]:null}insertItemBefore(e,t){if(this[K])throw new this[u].TypeError("Failed to execute 'insertItemBefore' on 'SVGNumberList': The object is read-only.");if(arguments.length<2)throw new this[u].TypeError(`Failed to execute 'insertItemBefore' on 'SVGNumberList': 2 arguments required, but only ${arguments.length} present.`);if(!(e instanceof ps))throw new this[u].TypeError("Failed to execute 'insertItemBefore' on 'SVGNumberList': parameter 1 is not of type 'SVGNumber'.");let r=this[X](),o=r.indexOf(e);return o!==-1&&r.splice(o,1),t<0?t=0:t>r.length&&(t=r.length),r.splice(t,0,e),e[N]=()=>e[I],e[E]=()=>{this[q].attributeValue=this[X]().map(i=>i[I]||"0").join(" "),this[E](this[q].attributeValue)},this[q].attributeValue=r.map(i=>i[I]||"0").join(" "),this[E](this[q].attributeValue),e}replaceItem(e,t){if(this[K])throw new this[u].TypeError("Failed to execute 'replaceItem' on 'SVGNumberList': The object is read-only.");if(arguments.length<2)throw new this[u].TypeError(`Failed to execute 'replaceItem' on 'SVGNumberList': 2 arguments required, but only ${arguments.length} present.`);if(!(e instanceof ps))throw new this[u].TypeError("Failed to execute 'replaceItem' on 'SVGNumberList': parameter 1 is not of type 'SVGNumber'.");let r=this[X](),o=r.indexOf(e);if(o===t)return e;o!==-1&&r.splice(o,1),t<0?t=0:t>=r.length&&(t=r.length-1),r[t]&&(r[t][N]=null,r[t][E]=null);let i=r[t];return r[t]=e,e[N]=()=>e[I],e[E]=()=>{this[q].attributeValue=this[X]().map(n=>n[I]||"0").join(" "),this[E](this[q].attributeValue)},this[q].attributeValue=r.map(n=>n[I]||"0").join(" "),this[E](this[q].attributeValue),i}removeItem(e){if(this[K])throw new this[u].TypeError("Failed to execute 'removeItem' on 'SVGNumberList': The object is read-only.");if(arguments.length<1)throw new this[u].TypeError(`Failed to execute 'removeItem' on 'SVGNumberList': 1 argument required, but only ${arguments.length} present.`);let t=this[X]();if(e=Number(e),isNaN(e)&&(e=0),e>=t.length)throw new this[u].DOMException(`Failed to execute 'removeItem' on 'SVGNumberList': The index provided (${e}) is greater than the maximum bound.`,A.indexSizeError);if(e<0)throw new this[u].DOMException(`Failed to execute 'removeItem' on 'SVGNumberList': The index provided (${e}) is negative.`,A.indexSizeError);let r=t[e];return r&&(r[N]=null,r[E]=null),t.splice(e,1),this[E](t.map(o=>o[I]||"0").join(" ")),r}appendItem(e){if(this[K])throw new this[u].TypeError("Failed to execute 'appendItem' on 'SVGNumberList': The object is read-only.");if(arguments.length<1)throw new this[u].TypeError(`Failed to execute 'appendItem' on 'SVGNumberList': 1 argument required, but only ${arguments.length} present.`);if(!(e instanceof ps))throw new this[u].TypeError("Failed to execute 'appendItem' on 'SVGNumberList': parameter 1 is not of type 'SVGNumber'.");let t=this[X](),r=t.indexOf(e);return r!==-1&&t.splice(r,1),t.push(e),e[N]=()=>e[I],e[E]=()=>{this[q].attributeValue=this[X]().map(o=>o[I]||"0").join(" "),this[E](this[q].attributeValue)},this[q].attributeValue=t.map(o=>o[I]||"0").join(" "),this[E](this[q].attributeValue),e}[X](){let e=this[N]()??"",t=this[q];if(t.attributeValue===e)return t.items;if(t.items.length)for(let i of t.items)i[N]=null,i[E]=null;let r=[],o=e.trim();if(o){let i=o.split(Y8);for(let n=0,a=i.length;n<a;n++){let m=new ps(c,this[u],{readOnly:this[K],getAttribute:()=>m[I],setAttribute:()=>{this[q].attributeValue=this[X]().map(p=>p[I]||"0").join(" "),this[E](this[q].attributeValue)}});m[I]=String(parseFloat(i[n])),r.push(m)}}return t.attributeValue=e,t.items=r,r}};var KC,JC,ZC,QC,tk;tk=u,QC=N,ZC=E,JC=ye,KC=pe;var oi=class{constructor(e,t,r){s(this,tk);s(this,QC);s(this,ZC);s(this,JC,null);s(this,KC,null);if(e!==c)throw new TypeError("Illegal constructor");this[u]=t,this[N]=r.getAttribute,this[E]=r.setAttribute}get animVal(){return this[pe]||(this[pe]=new Wu(c,this[u],{readOnly:!0,getAttribute:this[N],setAttribute:()=>{}})),this[pe]}set animVal(e){}get baseVal(){return this[ye]||(this[ye]=new Wu(c,this[u],{getAttribute:this[N],setAttribute:this[E]})),this[ye]}set baseVal(e){}};var ek,rk,ok,ik,sk,nk,lk,ak,uk,mk,sl=class extends(mk=st,uk=F,ak=mt,lk=Fo,nk=ot,sk=Xt,ik=wr,ok=O,rk=V,ek=_,mk){constructor(){super(...arguments);s(this,uk,null);s(this,ak,null);s(this,lk,null);s(this,nk,null);s(this,sk,null);s(this,ik,null);s(this,ok,null);s(this,rk,null);s(this,ek,null)}get height(){return this[F]||(this[F]=new k(c,this[u],{getAttribute:()=>this.getAttribute("height"),setAttribute:t=>this.setAttribute("height",t)})),this[F]}get in1(){return this[mt]||(this[mt]=new at(c,this[u],{getAttribute:()=>this.getAttribute("in"),setAttribute:t=>this.setAttribute("in",t)})),this[mt]}get in2(){return this[Fo]||(this[Fo]=new at(c,this[u],{getAttribute:()=>this.getAttribute("in2"),setAttribute:t=>this.setAttribute("in2",t)})),this[Fo]}get result(){return this[ot]||(this[ot]=new at(c,this[u],{getAttribute:()=>this.getAttribute("result"),setAttribute:t=>this.setAttribute("result",t)})),this[ot]}get type(){return this[Xt]||(this[Xt]=new Tt(c,this[u],{getAttribute:()=>this.getAttribute("type"),setAttribute:t=>this.setAttribute("type",t),values:["matrix","saturate","huerotate","luminancetoalpha"],defaultValue:"matrix"})),this[Xt]}get values(){return this[wr]||(this[wr]=new oi(c,this[u],{getAttribute:()=>this.getAttribute("values"),setAttribute:t=>this.setAttribute("values",t)})),this[wr]}get width(){return this[_]||(this[_]=new k(c,this[u],{getAttribute:()=>this.getAttribute("width"),setAttribute:t=>this.setAttribute("width",t)})),this[_]}get x(){return this[O]||(this[O]=new k(c,this[u],{getAttribute:()=>this.getAttribute("x"),setAttribute:t=>this.setAttribute("x",t)})),this[O]}get y(){return this[V]||(this[V]=new k(c,this[u],{getAttribute:()=>this.getAttribute("y"),setAttribute:t=>this.setAttribute("y",t)})),this[V]}};s(sl,"SVG_FEBLEND_TYPE_UNKNOWN",0),s(sl,"SVG_FEBLEND_TYPE_MATRIX",1),s(sl,"SVG_FEBLEND_TYPE_SATURATE",2),s(sl,"SVG_FEBLEND_TYPE_HUEROTATE",3),s(sl,"SVG_FEBLEND_TYPE_LUMINANCETOALPHA",4);var yk,pk,ck,hk,dk,bk,fk,Gf=class extends(fk=st,bk=F,dk=mt,hk=ot,ck=O,pk=V,yk=_,fk){constructor(){super(...arguments);s(this,bk,null);s(this,dk,null);s(this,hk,null);s(this,ck,null);s(this,pk,null);s(this,yk,null)}get height(){return this[F]||(this[F]=new k(c,this[u],{getAttribute:()=>this.getAttribute("height"),setAttribute:t=>this.setAttribute("height",t)})),this[F]}get in1(){return this[mt]||(this[mt]=new at(c,this[u],{getAttribute:()=>this.getAttribute("in"),setAttribute:t=>this.setAttribute("in",t)})),this[mt]}get result(){return this[ot]||(this[ot]=new at(c,this[u],{getAttribute:()=>this.getAttribute("result"),setAttribute:t=>this.setAttribute("result",t)})),this[ot]}get width(){return this[_]||(this[_]=new k(c,this[u],{getAttribute:()=>this.getAttribute("width"),setAttribute:t=>this.setAttribute("width",t)})),this[_]}get x(){return this[O]||(this[O]=new k(c,this[u],{getAttribute:()=>this.getAttribute("x"),setAttribute:t=>this.setAttribute("x",t)})),this[O]}get y(){return this[V]||(this[V]=new k(c,this[u],{getAttribute:()=>this.getAttribute("y"),setAttribute:t=>this.setAttribute("y",t)})),this[V]}};var gk,Sk,Pk,wk,xk,Ek,vk,Ak,Tk,cs=class extends(Tk=st,Ak=F,vk=mt,Ek=ot,xk=Xt,wk=wr,Pk=O,Sk=V,gk=_,Tk){constructor(){super(...arguments);s(this,Ak,null);s(this,vk,null);s(this,Ek,null);s(this,xk,null);s(this,wk,null);s(this,Pk,null);s(this,Sk,null);s(this,gk,null)}get height(){return this[F]||(this[F]=new k(c,this[u],{getAttribute:()=>this.getAttribute("height"),setAttribute:t=>this.setAttribute("height",t)})),this[F]}get in1(){return this[mt]||(this[mt]=new at(c,this[u],{getAttribute:()=>this.getAttribute("in"),setAttribute:t=>this.setAttribute("in",t)})),this[mt]}get result(){return this[ot]||(this[ot]=new at(c,this[u],{getAttribute:()=>this.getAttribute("result"),setAttribute:t=>this.setAttribute("result",t)})),this[ot]}get type(){return this[Xt]||(this[Xt]=new Tt(c,this[u],{getAttribute:()=>this.getAttribute("type"),setAttribute:t=>this.setAttribute("type",t),values:["over","in","out","atop","xor","arithmetic"],defaultValue:"over"})),this[Xt]}get values(){return this[wr]||(this[wr]=new oi(c,this[u],{getAttribute:()=>this.getAttribute("values"),setAttribute:t=>this.setAttribute("values",t)})),this[wr]}get width(){return this[_]||(this[_]=new k(c,this[u],{getAttribute:()=>this.getAttribute("width"),setAttribute:t=>this.setAttribute("width",t)})),this[_]}get x(){return this[O]||(this[O]=new k(c,this[u],{getAttribute:()=>this.getAttribute("x"),setAttribute:t=>this.setAttribute("x",t)})),this[O]}get y(){return this[V]||(this[V]=new k(c,this[u],{getAttribute:()=>this.getAttribute("y"),setAttribute:t=>this.setAttribute("y",t)})),this[V]}};s(cs,"SVG_FECOMPOSITE_OPERATOR_UNKNOWN",0),s(cs,"SVG_FECOMPOSITE_OPERATOR_OVER",1),s(cs,"SVG_FECOMPOSITE_OPERATOR_IN",2),s(cs,"SVG_FECOMPOSITE_OPERATOR_OUT",3),s(cs,"SVG_FECOMPOSITE_OPERATOR_ATOP",4),s(cs,"SVG_FECOMPOSITE_OPERATOR_XOR",5),s(cs,"SVG_FECOMPOSITE_OPERATOR_ARITHMETIC",6);var Nk,Lk,Ck;Ck=u,Lk=N,Nk=E;var py=class{constructor(e,t,r){s(this,Ck);s(this,Lk);s(this,Nk);if(e!==c)throw new TypeError("Illegal constructor");this[u]=t,this[N]=r.getAttribute,this[E]=r.setAttribute}get animVal(){return this.baseVal}set animVal(e){}get baseVal(){return this[N]()==="true"}set baseVal(e){this[E](String(typeof e!="boolean"?!!e:e))}};var kk,Mk,Rk;Rk=u,Mk=N,kk=E;var hs=class{constructor(e,t,r){s(this,Rk);s(this,Mk);s(this,kk);if(e!==c)throw new TypeError("Illegal constructor");this[u]=t,this[N]=r.getAttribute,this[E]=r.setAttribute}get animVal(){return this.baseVal}set animVal(e){}get baseVal(){let e=this[N]();if(!e)return 0;let t=parseInt(e);return isNaN(t)?0:t}set baseVal(e){let t=parseInt(String(e));if(isNaN(t))throw new this[u].TypeError("TypeError: Failed to set the 'baseVal' property on 'SVGAnimatedInteger': The provided float value is non-finite.");this[E](String(t))}};var Ok,Vk,Ik,Dk,Fk,_k,Bk,Uk,Gk,Hk,qk,$k,Wk,jk,zk,Xk,Yk,Kk,pa=class extends(Kk=st,Yk=cd,Xk=hd,zk=En,jk=F,Wk=mt,$k=dd,qk=_o,Hk=Bo,Gk=bd,Uk=fd,Bk=gd,_k=ot,Fk=Sd,Dk=Pd,Ik=_,Vk=O,Ok=V,Kk){constructor(){super(...arguments);s(this,Yk,null);s(this,Xk,null);s(this,zk,null);s(this,jk,null);s(this,Wk,null);s(this,$k,null);s(this,qk,null);s(this,Hk,null);s(this,Gk,null);s(this,Uk,null);s(this,Bk,null);s(this,_k,null);s(this,Fk,null);s(this,Dk,null);s(this,Ik,null);s(this,Vk,null);s(this,Ok,null)}get bias(){return this[cd]||(this[cd]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("bias"),setAttribute:t=>this.setAttribute("bias",t)})),this[cd]}get divisor(){return this[hd]||(this[hd]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("divisor"),setAttribute:t=>this.setAttribute("divisor",t)})),this[hd]}get edgeMode(){return this[En]||(this[En]=new Tt(c,this[u],{getAttribute:()=>this.getAttribute("edgeMode"),setAttribute:t=>this.setAttribute("edgeMode",t),values:["duplicate","wrap","none"],defaultValue:"duplicate"})),this[En]}get height(){return this[F]||(this[F]=new k(c,this[u],{getAttribute:()=>this.getAttribute("height"),setAttribute:t=>this.setAttribute("height",t)})),this[F]}get in1(){return this[mt]||(this[mt]=new at(c,this[u],{getAttribute:()=>this.getAttribute("in"),setAttribute:t=>this.setAttribute("in",t)})),this[mt]}get kernelMatrix(){return this[dd]||(this[dd]=new oi(c,this[u],{getAttribute:()=>this.getAttribute("kernelMatrix"),setAttribute:t=>this.setAttribute("kernelMatrix",t)})),this[dd]}get kernelUnitLengthX(){return this[_o]||(this[_o]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("kernelUnitLengthX"),setAttribute:t=>this.setAttribute("kernelUnitLengthX",t)})),this[_o]}get kernelUnitLengthY(){return this[Bo]||(this[Bo]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("kernelUnitLengthY"),setAttribute:t=>this.setAttribute("kernelUnitLengthY",t)})),this[Bo]}get orderX(){return this[bd]||(this[bd]=new hs(c,this[u],{getAttribute:()=>this.getAttribute("orderX"),setAttribute:t=>this.setAttribute("orderX",t)})),this[bd]}get orderY(){return this[fd]||(this[fd]=new hs(c,this[u],{getAttribute:()=>this.getAttribute("orderY"),setAttribute:t=>this.setAttribute("orderY",t)})),this[fd]}get preserveAlpha(){return this[gd]||(this[gd]=new py(c,this[u],{getAttribute:()=>this.getAttribute("preserveAlpha"),setAttribute:t=>this.setAttribute("preserveAlpha",t)})),this[gd]}get result(){return this[ot]||(this[ot]=new at(c,this[u],{getAttribute:()=>this.getAttribute("result"),setAttribute:t=>this.setAttribute("result",t)})),this[ot]}get targetX(){return this[Sd]||(this[Sd]=new hs(c,this[u],{getAttribute:()=>this.getAttribute("targetX"),setAttribute:t=>this.setAttribute("targetX",t)})),this[Sd]}get targetY(){return this[Pd]||(this[Pd]=new hs(c,this[u],{getAttribute:()=>this.getAttribute("targetY"),setAttribute:t=>this.setAttribute("targetY",t)})),this[Pd]}get width(){return this[_]||(this[_]=new k(c,this[u],{getAttribute:()=>this.getAttribute("width"),setAttribute:t=>this.setAttribute("width",t)})),this[_]}get x(){return this[O]||(this[O]=new k(c,this[u],{getAttribute:()=>this.getAttribute("x"),setAttribute:t=>this.setAttribute("x",t)})),this[O]}get y(){return this[V]||(this[V]=new k(c,this[u],{getAttribute:()=>this.getAttribute("y"),setAttribute:t=>this.setAttribute("y",t)})),this[V]}};s(pa,"SVG_EDGEMODE_UNKNOWN",0),s(pa,"SVG_EDGEMODE_DUPLICATE",1),s(pa,"SVG_EDGEMODE_WRAP",2),s(pa,"SVG_EDGEMODE_NONE",3);var Jk,Zk,Qk,tM,eM,rM,oM,iM,sM,nM,lM,Hf=class extends(lM=st,nM=wd,sM=F,iM=mt,oM=_o,rM=Bo,eM=ot,tM=vn,Qk=_,Zk=O,Jk=V,lM){constructor(){super(...arguments);s(this,nM,null);s(this,sM,null);s(this,iM,null);s(this,oM,null);s(this,rM,null);s(this,eM,null);s(this,tM,null);s(this,Qk,null);s(this,Zk,null);s(this,Jk,null)}get diffuseConstant(){return this[wd]||(this[wd]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("diffuseConstant"),setAttribute:t=>this.setAttribute("diffuseConstant",t)})),this[wd]}get height(){return this[F]||(this[F]=new k(c,this[u],{getAttribute:()=>this.getAttribute("height"),setAttribute:t=>this.setAttribute("height",t)})),this[F]}get in1(){return this[mt]||(this[mt]=new at(c,this[u],{getAttribute:()=>this.getAttribute("in"),setAttribute:t=>this.setAttribute("in",t)})),this[mt]}get kernelUnitLengthX(){return this[_o]||(this[_o]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("kernelUnitLengthX"),setAttribute:t=>this.setAttribute("kernelUnitLengthX",t)})),this[_o]}get kernelUnitLengthY(){return this[Bo]||(this[Bo]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("kernelUnitLengthY"),setAttribute:t=>this.setAttribute("kernelUnitLengthY",t)})),this[Bo]}get result(){return this[ot]||(this[ot]=new at(c,this[u],{getAttribute:()=>this.getAttribute("result"),setAttribute:t=>this.setAttribute("result",t)})),this[ot]}get surfaceScale(){return this[vn]||(this[vn]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("surfaceScale"),setAttribute:t=>this.setAttribute("surfaceScale",t)})),this[vn]}get width(){return this[_]||(this[_]=new k(c,this[u],{getAttribute:()=>this.getAttribute("width"),setAttribute:t=>this.setAttribute("width",t)})),this[_]}get x(){return this[O]||(this[O]=new k(c,this[u],{getAttribute:()=>this.getAttribute("x"),setAttribute:t=>this.setAttribute("x",t)})),this[O]}get y(){return this[V]||(this[V]=new k(c,this[u],{getAttribute:()=>this.getAttribute("y"),setAttribute:t=>this.setAttribute("y",t)})),this[V]}};var aM,uM,mM,yM,pM,cM,hM,dM,bM,fM,gM,nl=class extends(gM=st,fM=F,bM=mt,dM=Fo,hM=ot,cM=xd,pM=_,yM=O,mM=Ed,uM=V,aM=vd,gM){constructor(){super(...arguments);s(this,fM,null);s(this,bM,null);s(this,dM,null);s(this,hM,null);s(this,cM,null);s(this,pM,null);s(this,yM,null);s(this,mM,null);s(this,uM,null);s(this,aM,null)}get height(){return this[F]||(this[F]=new k(c,this[u],{getAttribute:()=>this.getAttribute("height"),setAttribute:t=>this.setAttribute("height",t)})),this[F]}get in1(){return this[mt]||(this[mt]=new at(c,this[u],{getAttribute:()=>this.getAttribute("in"),setAttribute:t=>this.setAttribute("in",t)})),this[mt]}get in2(){return this[Fo]||(this[Fo]=new at(c,this[u],{getAttribute:()=>this.getAttribute("in2"),setAttribute:t=>this.setAttribute("in2",t)})),this[Fo]}get result(){return this[ot]||(this[ot]=new at(c,this[u],{getAttribute:()=>this.getAttribute("result"),setAttribute:t=>this.setAttribute("result",t)})),this[ot]}get scale(){return this[xd]||(this[xd]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("scale"),setAttribute:t=>this.setAttribute("scale",t)})),this[xd]}get width(){return this[_]||(this[_]=new k(c,this[u],{getAttribute:()=>this.getAttribute("width"),setAttribute:t=>this.setAttribute("width",t)})),this[_]}get x(){return this[O]||(this[O]=new k(c,this[u],{getAttribute:()=>this.getAttribute("x"),setAttribute:t=>this.setAttribute("x",t)})),this[O]}get xChannelSelector(){return this[Ed]||(this[Ed]=new Tt(c,this[u],{getAttribute:()=>this.getAttribute("xChannelSelector"),setAttribute:t=>this.setAttribute("xChannelSelector",t),values:["r","g","b","a"],defaultValue:"r"})),this[Ed]}get y(){return this[V]||(this[V]=new k(c,this[u],{getAttribute:()=>this.getAttribute("y"),setAttribute:t=>this.setAttribute("y",t)})),this[V]}get yChannelSelector(){return this[vd]||(this[vd]=new Tt(c,this[u],{getAttribute:()=>this.getAttribute("yChannelSelector"),setAttribute:t=>this.setAttribute("yChannelSelector",t),values:["r","g","b","a"],defaultValue:"r"})),this[vd]}};s(nl,"SVG_CHANNEL_UNKNOWN",0),s(nl,"SVG_CHANNEL_R",1),s(nl,"SVG_CHANNEL_G",2),s(nl,"SVG_CHANNEL_B",3),s(nl,"SVG_CHANNEL_A",4);var SM,PM,wM,qf=class extends(wM=st,PM=Ad,SM=Td,wM){constructor(){super(...arguments);s(this,PM,null);s(this,SM,null)}get azimuth(){return this[Ad]||(this[Ad]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("azimuth"),setAttribute:t=>this.setAttribute("azimuth",t)})),this[Ad]}get elevation(){return this[Td]||(this[Td]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("elevation"),setAttribute:t=>this.setAttribute("elevation",t)})),this[Td]}};var xM,EM,vM,AM,TM,NM,LM,CM,kM,MM,RM,$f=class extends(RM=st,MM=Uo,kM=Go,CM=F,LM=mt,NM=ot,TM=An,AM=Tn,vM=_,EM=O,xM=V,RM){constructor(){super(...arguments);s(this,MM,null);s(this,kM,null);s(this,CM,null);s(this,LM,null);s(this,NM,null);s(this,TM,null);s(this,AM,null);s(this,vM,null);s(this,EM,null);s(this,xM,null)}get dx(){return this[Uo]||(this[Uo]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("dx"),setAttribute:t=>this.setAttribute("dx",t)})),this[Uo]}get dy(){return this[Go]||(this[Go]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("dy"),setAttribute:t=>this.setAttribute("dy",t)})),this[Go]}get height(){return this[F]||(this[F]=new k(c,this[u],{getAttribute:()=>this.getAttribute("height"),setAttribute:t=>this.setAttribute("height",t)})),this[F]}get in1(){return this[mt]||(this[mt]=new at(c,this[u],{getAttribute:()=>this.getAttribute("in"),setAttribute:t=>this.setAttribute("in",t)})),this[mt]}get result(){return this[ot]||(this[ot]=new at(c,this[u],{getAttribute:()=>this.getAttribute("result"),setAttribute:t=>this.setAttribute("result",t)})),this[ot]}get stdDeviationX(){return this[An]||(this[An]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("stdDeviationX"),setAttribute:t=>this.setAttribute("stdDeviationX",t),defaultValue:2})),this[An]}get stdDeviationY(){return this[Tn]||(this[Tn]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("stdDeviationY"),setAttribute:t=>this.setAttribute("stdDeviationY",t),defaultValue:2})),this[Tn]}get width(){return this[_]||(this[_]=new k(c,this[u],{getAttribute:()=>this.getAttribute("width"),setAttribute:t=>this.setAttribute("width",t)})),this[_]}get x(){return this[O]||(this[O]=new k(c,this[u],{getAttribute:()=>this.getAttribute("x"),setAttribute:t=>this.setAttribute("x",t)})),this[O]}get y(){return this[V]||(this[V]=new k(c,this[u],{getAttribute:()=>this.getAttribute("y"),setAttribute:t=>this.setAttribute("y",t)})),this[V]}setStdDeviation(t,r){this.stdDeviationX.baseVal=t,this.stdDeviationY.baseVal=r}};var OM,VM,IM,DM,FM,_M,Wf=class extends(_M=st,FM=F,DM=ot,IM=_,VM=O,OM=V,_M){constructor(){super(...arguments);s(this,FM,null);s(this,DM,null);s(this,IM,null);s(this,VM,null);s(this,OM,null)}get height(){return this[F]||(this[F]=new k(c,this[u],{getAttribute:()=>this.getAttribute("height"),setAttribute:t=>this.setAttribute("height",t)})),this[F]}get result(){return this[ot]||(this[ot]=new at(c,this[u],{getAttribute:()=>this.getAttribute("result"),setAttribute:t=>this.setAttribute("result",t)})),this[ot]}get width(){return this[_]||(this[_]=new k(c,this[u],{getAttribute:()=>this.getAttribute("width"),setAttribute:t=>this.setAttribute("width",t)})),this[_]}get x(){return this[O]||(this[O]=new k(c,this[u],{getAttribute:()=>this.getAttribute("x"),setAttribute:t=>this.setAttribute("x",t)})),this[O]}get y(){return this[V]||(this[V]=new k(c,this[u],{getAttribute:()=>this.getAttribute("y"),setAttribute:t=>this.setAttribute("y",t)})),this[V]}};var BM,UM,GM,HM,qM,$M,WM,jM,jr=class extends(jM=st,WM=Xt,$M=Nd,qM=Ld,HM=Cd,GM=kd,UM=Md,BM=wn,jM){constructor(){super(...arguments);s(this,WM,null);s(this,$M,null);s(this,qM,null);s(this,HM,null);s(this,GM,null);s(this,UM,null);s(this,BM,null)}get type(){return this[Xt]||(this[Xt]=new Tt(c,this[u],{getAttribute:()=>this.getAttribute("type"),setAttribute:t=>this.setAttribute("type",t),values:["identity","table","discrete","linear","gamma"],defaultValue:"identity"})),this[Xt]}get tableValues(){return this[Nd]||(this[Nd]=new oi(c,this[u],{getAttribute:()=>this.getAttribute("tableValues"),setAttribute:t=>this.setAttribute("tableValues",t)})),this[Nd]}get slope(){return this[Ld]||(this[Ld]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("slope"),setAttribute:t=>this.setAttribute("slope",t),defaultValue:1})),this[Ld]}get intercept(){return this[Cd]||(this[Cd]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("intercept"),setAttribute:t=>this.setAttribute("intercept",t)})),this[Cd]}get amplitude(){return this[kd]||(this[kd]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("amplitude"),setAttribute:t=>this.setAttribute("amplitude",t),defaultValue:1})),this[kd]}get exponent(){return this[Md]||(this[Md]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("exponent"),setAttribute:t=>this.setAttribute("exponent",t),defaultValue:1})),this[Md]}get offset(){return this[wn]||(this[wn]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("offset"),setAttribute:t=>this.setAttribute("offset",t)})),this[wn]}};s(jr,"SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN",0),s(jr,"SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY",1),s(jr,"SVG_FECOMPONENTTRANSFER_TYPE_TABLE",2),s(jr,"SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE",3),s(jr,"SVG_FECOMPONENTTRANSFER_TYPE_LINEAR",4),s(jr,"SVG_FECOMPONENTTRANSFER_TYPE_GAMMA",5);var jf=class extends jr{};var zf=class extends jr{};var Xf=class extends jr{};var Yf=class extends jr{};var zM,XM,YM,KM,JM,ZM,QM,t4,e4,r4,ca=class extends(r4=st,e4=En,t4=F,QM=mt,ZM=ot,JM=An,KM=Tn,YM=_,XM=O,zM=V,r4){constructor(){super(...arguments);s(this,e4,null);s(this,t4,null);s(this,QM,null);s(this,ZM,null);s(this,JM,null);s(this,KM,null);s(this,YM,null);s(this,XM,null);s(this,zM,null)}get edgeMode(){return this[En]||(this[En]=new Tt(c,this[u],{getAttribute:()=>this.getAttribute("edgeMode"),setAttribute:t=>this.setAttribute("edgeMode",t),values:["duplicate","wrap","none"],defaultValue:"duplicate"})),this[En]}get height(){return this[F]||(this[F]=new k(c,this[u],{getAttribute:()=>this.getAttribute("height"),setAttribute:t=>this.setAttribute("height",t)})),this[F]}get in1(){return this[mt]||(this[mt]=new at(c,this[u],{getAttribute:()=>this.getAttribute("in"),setAttribute:t=>this.setAttribute("in",t)})),this[mt]}get result(){return this[ot]||(this[ot]=new at(c,this[u],{getAttribute:()=>this.getAttribute("result"),setAttribute:t=>this.setAttribute("result",t)})),this[ot]}get stdDeviationX(){return this[An]||(this[An]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("stdDeviationX")||"2",setAttribute:t=>this.setAttribute("stdDeviationX",t)})),this[An]}get stdDeviationY(){return this[Tn]||(this[Tn]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("stdDeviationY")||"2",setAttribute:t=>this.setAttribute("stdDeviationY",t)})),this[Tn]}get width(){return this[_]||(this[_]=new k(c,this[u],{getAttribute:()=>this.getAttribute("width"),setAttribute:t=>this.setAttribute("width",t)})),this[_]}get x(){return this[O]||(this[O]=new k(c,this[u],{getAttribute:()=>this.getAttribute("x"),setAttribute:t=>this.setAttribute("x",t)})),this[O]}get y(){return this[V]||(this[V]=new k(c,this[u],{getAttribute:()=>this.getAttribute("y"),setAttribute:t=>this.setAttribute("y",t)})),this[V]}setStdDeviation(t,r){this.stdDeviationX.baseVal=t,this.stdDeviationY.baseVal=r}};s(ca,"SVG_EDGEMODE_UNKNOWN",0),s(ca,"SVG_EDGEMODE_DUPLICATE",1),s(ca,"SVG_EDGEMODE_WRAP",2),s(ca,"SVG_EDGEMODE_NONE",3);var o4,i4,s4,n4,l4,a4,u4,m4,y4,Kf=class extends(y4=st,m4=xw,u4=F,a4=kt,l4=Or,n4=ot,s4=_,i4=O,o4=V,y4){constructor(){super(...arguments);s(this,m4,null);s(this,u4,null);s(this,a4,null);s(this,l4,null);s(this,n4,null);s(this,s4,null);s(this,i4,null);s(this,o4,null)}get crossOrigin(){return this.getAttribute("crossorigin")}set crossOrigin(t){this.setAttribute("crossorigin",t)}get height(){return this[F]||(this[F]=new k(c,this[u],{getAttribute:()=>this.getAttribute("height"),setAttribute:t=>this.setAttribute("height",t)})),this[F]}get href(){return this[kt]||(this[kt]=new at(c,this[u],{getAttribute:()=>this.getAttribute("href"),setAttribute:t=>this.setAttribute("href",t)})),this[kt]}get preserveAspectRatio(){return this[Or]||(this[Or]=new Ui(c,this[u],{getAttribute:()=>this.getAttribute("preserveAspectRatio"),setAttribute:t=>this.setAttribute("preserveAspectRatio",t)})),this[Or]}get result(){return this[ot]||(this[ot]=new at(c,this[u],{getAttribute:()=>this.getAttribute("result"),setAttribute:t=>this.setAttribute("result",t)})),this[ot]}get width(){return this[_]||(this[_]=new k(c,this[u],{getAttribute:()=>this.getAttribute("width"),setAttribute:t=>this.setAttribute("width",t)})),this[_]}get x(){return this[O]||(this[O]=new k(c,this[u],{getAttribute:()=>this.getAttribute("x"),setAttribute:t=>this.setAttribute("x",t)})),this[O]}get y(){return this[V]||(this[V]=new k(c,this[u],{getAttribute:()=>this.getAttribute("y"),setAttribute:t=>this.setAttribute("y",t)})),this[V]}};var p4,c4,h4,d4,b4,f4,Jf=class extends(f4=st,b4=F,d4=ot,h4=_,c4=O,p4=V,f4){constructor(){super(...arguments);s(this,b4,null);s(this,d4,null);s(this,h4,null);s(this,c4,null);s(this,p4,null)}get height(){return this[F]||(this[F]=new k(c,this[u],{getAttribute:()=>this.getAttribute("height"),setAttribute:t=>this.setAttribute("height",t)})),this[F]}get result(){return this[ot]||(this[ot]=new at(c,this[u],{getAttribute:()=>this.getAttribute("result"),setAttribute:t=>this.setAttribute("result",t)})),this[ot]}get width(){return this[_]||(this[_]=new k(c,this[u],{getAttribute:()=>this.getAttribute("width"),setAttribute:t=>this.setAttribute("width",t)})),this[_]}get x(){return this[O]||(this[O]=new k(c,this[u],{getAttribute:()=>this.getAttribute("x"),setAttribute:t=>this.setAttribute("x",t)})),this[O]}get y(){return this[V]||(this[V]=new k(c,this[u],{getAttribute:()=>this.getAttribute("y"),setAttribute:t=>this.setAttribute("y",t)})),this[V]}};var g4,S4,Zf=class extends(S4=st,g4=mt,S4){constructor(){super(...arguments);s(this,g4,null)}get in1(){return this[mt]||(this[mt]=new at(c,this[u],{getAttribute:()=>this.getAttribute("in"),setAttribute:t=>this.setAttribute("in",t)})),this[mt]}};var P4,w4,x4,E4,v4,A4,T4,N4,L4,C4,ju=class extends(C4=st,L4=F,N4=mt,T4=Rd,A4=Od,v4=Vd,E4=ot,x4=_,w4=O,P4=V,C4){constructor(){super(...arguments);s(this,L4,null);s(this,N4,null);s(this,T4,null);s(this,A4,null);s(this,v4,null);s(this,E4,null);s(this,x4,null);s(this,w4,null);s(this,P4,null)}get height(){return this[F]||(this[F]=new k(c,this[u],{getAttribute:()=>this.getAttribute("height"),setAttribute:t=>this.setAttribute("height",t)})),this[F]}get in1(){return this[mt]||(this[mt]=new at(c,this[u],{getAttribute:()=>this.getAttribute("in"),setAttribute:t=>this.setAttribute("in",t)})),this[mt]}get operator(){return this[Rd]||(this[Rd]=new Tt(c,this[u],{getAttribute:()=>this.getAttribute("operator"),setAttribute:t=>this.setAttribute("operator",t),values:["erode","dilate"],defaultValue:"erode"})),this[Rd]}get radiusX(){return this[Od]||(this[Od]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("radiusX"),setAttribute:t=>this.setAttribute("radiusX",t)})),this[Od]}get radiusY(){return this[Vd]||(this[Vd]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("radiusY"),setAttribute:t=>this.setAttribute("radiusY",t)})),this[Vd]}get result(){return this[ot]||(this[ot]=new at(c,this[u],{getAttribute:()=>this.getAttribute("result"),setAttribute:t=>this.setAttribute("result",t)})),this[ot]}get width(){return this[_]||(this[_]=new k(c,this[u],{getAttribute:()=>this.getAttribute("width"),setAttribute:t=>this.setAttribute("width",t)})),this[_]}get x(){return this[O]||(this[O]=new k(c,this[u],{getAttribute:()=>this.getAttribute("x"),setAttribute:t=>this.setAttribute("x",t)})),this[O]}get y(){return this[V]||(this[V]=new k(c,this[u],{getAttribute:()=>this.getAttribute("y"),setAttribute:t=>this.setAttribute("y",t)})),this[V]}};s(ju,"SVG_MORPHOLOGY_OPERATOR_UNKNOWN",0),s(ju,"SVG_MORPHOLOGY_OPERATOR_ERODE",1),s(ju,"SVG_MORPHOLOGY_OPERATOR_DILATE",2);var k4,M4,R4,O4,V4,I4,D4,F4,_4,Qf=class extends(_4=st,F4=F,D4=mt,I4=Uo,V4=Go,O4=ot,R4=_,M4=O,k4=V,_4){constructor(){super(...arguments);s(this,F4,null);s(this,D4,null);s(this,I4,null);s(this,V4,null);s(this,O4,null);s(this,R4,null);s(this,M4,null);s(this,k4,null)}get height(){return this[F]||(this[F]=new k(c,this[u],{getAttribute:()=>this.getAttribute("height"),setAttribute:t=>this.setAttribute("height",t)})),this[F]}get in1(){return this[mt]||(this[mt]=new at(c,this[u],{getAttribute:()=>this.getAttribute("in"),setAttribute:t=>this.setAttribute("in",t)})),this[mt]}get dx(){return this[Uo]||(this[Uo]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("dx"),setAttribute:t=>this.setAttribute("dx",t)})),this[Uo]}get dy(){return this[Go]||(this[Go]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("dy"),setAttribute:t=>this.setAttribute("dy",t)})),this[Go]}get result(){return this[ot]||(this[ot]=new at(c,this[u],{getAttribute:()=>this.getAttribute("result"),setAttribute:t=>this.setAttribute("result",t)})),this[ot]}get width(){return this[_]||(this[_]=new k(c,this[u],{getAttribute:()=>this.getAttribute("width"),setAttribute:t=>this.setAttribute("width",t)})),this[_]}get x(){return this[O]||(this[O]=new k(c,this[u],{getAttribute:()=>this.getAttribute("x"),setAttribute:t=>this.setAttribute("x",t)})),this[O]}get y(){return this[V]||(this[V]=new k(c,this[u],{getAttribute:()=>this.getAttribute("y"),setAttribute:t=>this.setAttribute("y",t)})),this[V]}};var B4,U4,G4,H4,tg=class extends(H4=st,G4=O,U4=V,B4=yo,H4){constructor(){super(...arguments);s(this,G4,null);s(this,U4,null);s(this,B4,null)}get x(){return this[O]||(this[O]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("x"),setAttribute:t=>this.setAttribute("x",t)})),this[O]}get y(){return this[V]||(this[V]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("y"),setAttribute:t=>this.setAttribute("y",t)})),this[V]}get z(){return this[yo]||(this[yo]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("z"),setAttribute:t=>this.setAttribute("z",t)})),this[yo]}};var q4,$4,W4,j4,z4,X4,Y4,K4,J4,Z4,Q4,tR,eg=class extends(tR=st,Q4=F,Z4=mt,J4=_o,K4=Bo,Y4=ot,X4=Id,z4=Nn,j4=vn,W4=_,$4=O,q4=V,tR){constructor(){super(...arguments);s(this,Q4,null);s(this,Z4,null);s(this,J4,null);s(this,K4,null);s(this,Y4,null);s(this,X4,null);s(this,z4,null);s(this,j4,null);s(this,W4,null);s(this,$4,null);s(this,q4,null)}get height(){return this[F]||(this[F]=new k(c,this[u],{getAttribute:()=>this.getAttribute("height"),setAttribute:t=>this.setAttribute("height",t)})),this[F]}get in1(){return this[mt]||(this[mt]=new at(c,this[u],{getAttribute:()=>this.getAttribute("in"),setAttribute:t=>this.setAttribute("in",t)})),this[mt]}get kernelUnitLengthX(){return this[_o]||(this[_o]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("kernelUnitLengthX"),setAttribute:t=>this.setAttribute("kernelUnitLengthX",t)})),this[_o]}get kernelUnitLengthY(){return this[Bo]||(this[Bo]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("kernelUnitLengthY"),setAttribute:t=>this.setAttribute("kernelUnitLengthY",t)})),this[Bo]}get result(){return this[ot]||(this[ot]=new at(c,this[u],{getAttribute:()=>this.getAttribute("result"),setAttribute:t=>this.setAttribute("result",t)})),this[ot]}get specularConstant(){return this[Id]||(this[Id]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("specularConstant"),setAttribute:t=>this.setAttribute("specularConstant",t),defaultValue:1})),this[Id]}get specularExponent(){return this[Nn]||(this[Nn]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("specularExponent"),setAttribute:t=>this.setAttribute("specularExponent",t),defaultValue:1})),this[Nn]}get surfaceScale(){return this[vn]||(this[vn]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("surfaceScale"),setAttribute:t=>this.setAttribute("surfaceScale",t),defaultValue:1})),this[vn]}get width(){return this[_]||(this[_]=new k(c,this[u],{getAttribute:()=>this.getAttribute("width"),setAttribute:t=>this.setAttribute("width",t)})),this[_]}get x(){return this[O]||(this[O]=new k(c,this[u],{getAttribute:()=>this.getAttribute("x"),setAttribute:t=>this.setAttribute("x",t)})),this[O]}get y(){return this[V]||(this[V]=new k(c,this[u],{getAttribute:()=>this.getAttribute("y"),setAttribute:t=>this.setAttribute("y",t)})),this[V]}};var eR,rR,oR,iR,sR,nR,lR,aR,uR,rg=class extends(uR=st,aR=O,lR=V,nR=yo,sR=Dd,iR=Fd,oR=_d,rR=Nn,eR=Bd,uR){constructor(){super(...arguments);s(this,aR,null);s(this,lR,null);s(this,nR,null);s(this,sR,null);s(this,iR,null);s(this,oR,null);s(this,rR,null);s(this,eR,null)}get x(){return this[O]||(this[O]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("x"),setAttribute:t=>this.setAttribute("x",t)})),this[O]}get y(){return this[V]||(this[V]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("y"),setAttribute:t=>this.setAttribute("y",t)})),this[V]}get z(){return this[yo]||(this[yo]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("z"),setAttribute:t=>this.setAttribute("z",t)})),this[yo]}get pointsAtX(){return this[Dd]||(this[Dd]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("pointsAtX"),setAttribute:t=>this.setAttribute("pointsAtX",t)})),this[Dd]}get pointsAtY(){return this[Fd]||(this[Fd]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("pointsAtY"),setAttribute:t=>this.setAttribute("pointsAtY",t)})),this[Fd]}get pointsAtZ(){return this[_d]||(this[_d]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("pointsAtZ"),setAttribute:t=>this.setAttribute("pointsAtZ",t)})),this[_d]}get specularExponent(){return this[Nn]||(this[Nn]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("specularExponent"),setAttribute:t=>this.setAttribute("specularExponent",t),defaultValue:1})),this[Nn]}get limitingConeAngle(){return this[Bd]||(this[Bd]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("limitingConeAngle"),setAttribute:t=>this.setAttribute("limitingConeAngle",t)})),this[Bd]}};var mR,yR,pR,cR,hR,dR,bR,og=class extends(bR=st,dR=F,hR=mt,cR=ot,pR=_,yR=O,mR=V,bR){constructor(){super(...arguments);s(this,dR,null);s(this,hR,null);s(this,cR,null);s(this,pR,null);s(this,yR,null);s(this,mR,null)}get height(){return this[F]||(this[F]=new k(c,this[u],{getAttribute:()=>this.getAttribute("height"),setAttribute:t=>this.setAttribute("height",t)})),this[F]}get in1(){return this[mt]||(this[mt]=new at(c,this[u],{getAttribute:()=>this.getAttribute("in"),setAttribute:t=>this.setAttribute("in",t)})),this[mt]}get result(){return this[ot]||(this[ot]=new at(c,this[u],{getAttribute:()=>this.getAttribute("result"),setAttribute:t=>this.setAttribute("result",t)})),this[ot]}get width(){return this[_]||(this[_]=new k(c,this[u],{getAttribute:()=>this.getAttribute("width"),setAttribute:t=>this.setAttribute("width",t)})),this[_]}get x(){return this[O]||(this[O]=new k(c,this[u],{getAttribute:()=>this.getAttribute("x"),setAttribute:t=>this.setAttribute("x",t)})),this[O]}get y(){return this[V]||(this[V]=new k(c,this[u],{getAttribute:()=>this.getAttribute("y"),setAttribute:t=>this.setAttribute("y",t)})),this[V]}};var fR,gR,SR,PR,wR,xR,ER,vR,AR,TR,NR,LR,js=class extends(LR=st,NR=Ud,TR=Gd,AR=F,vR=Hd,ER=ot,xR=qd,wR=$d,PR=Xt,SR=_,gR=O,fR=V,LR){constructor(){super(...arguments);s(this,NR,null);s(this,TR,null);s(this,AR,null);s(this,vR,null);s(this,ER,null);s(this,xR,null);s(this,wR,null);s(this,PR,null);s(this,SR,null);s(this,gR,null);s(this,fR,null)}get baseFrequencyX(){return this[Ud]||(this[Ud]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("baseFrequencyX"),setAttribute:t=>this.setAttribute("baseFrequencyX",t)})),this[Ud]}get baseFrequencyY(){return this[Gd]||(this[Gd]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("baseFrequencyY"),setAttribute:t=>this.setAttribute("baseFrequencyY",t)})),this[Gd]}get height(){return this[F]||(this[F]=new k(c,this[u],{getAttribute:()=>this.getAttribute("height"),setAttribute:t=>this.setAttribute("height",t)})),this[F]}get numOctaves(){return this[Hd]||(this[Hd]=new hs(c,this[u],{getAttribute:()=>this.getAttribute("numOctaves"),setAttribute:t=>this.setAttribute("numOctaves",t)})),this[Hd]}get result(){return this[ot]||(this[ot]=new at(c,this[u],{getAttribute:()=>this.getAttribute("result"),setAttribute:t=>this.setAttribute("result",t)})),this[ot]}get seed(){return this[qd]||(this[qd]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("seed"),setAttribute:t=>this.setAttribute("seed",t)})),this[qd]}get stitchTiles(){return this[$d]||(this[$d]=new Tt(c,this[u],{getAttribute:()=>this.getAttribute("stitchTiles"),setAttribute:t=>this.setAttribute("stitchTiles",t),values:["stitch","noStitch"],defaultValue:"stitch"})),this[$d]}get type(){return this[Xt]||(this[Xt]=new Tt(c,this[u],{getAttribute:()=>this.getAttribute("type"),setAttribute:t=>this.setAttribute("type",t),values:["fractalNoise","turbulence"],defaultValue:"turbulence"})),this[Xt]}get width(){return this[_]||(this[_]=new k(c,this[u],{getAttribute:()=>this.getAttribute("width"),setAttribute:t=>this.setAttribute("width",t)})),this[_]}get x(){return this[O]||(this[O]=new k(c,this[u],{getAttribute:()=>this.getAttribute("x"),setAttribute:t=>this.setAttribute("x",t)})),this[O]}get y(){return this[V]||(this[V]=new k(c,this[u],{getAttribute:()=>this.getAttribute("y"),setAttribute:t=>this.setAttribute("y",t)})),this[V]}};s(js,"SVG_TURBULENCE_TYPE_UNKNOWN",0),s(js,"SVG_TURBULENCE_TYPE_FRACTALNOISE",1),s(js,"SVG_TURBULENCE_TYPE_TURBULENCE",2),s(js,"SVG_STITCHTYPE_UNKNOWN",0),s(js,"SVG_STITCHTYPE_STITCH",1),s(js,"SVG_STITCHTYPE_NOSTITCH",2);var CR,kR,MR,RR,OR,VR,IR,DR,ig=class extends(DR=st,IR=kt,VR=Kh,OR=Jh,RR=O,MR=V,kR=_,CR=F,DR){constructor(){super(...arguments);s(this,IR,null);s(this,VR,null);s(this,OR,null);s(this,RR,null);s(this,MR,null);s(this,kR,null);s(this,CR,null)}get href(){return this[kt]||(this[kt]=new at(c,this[u],{getAttribute:()=>this.getAttribute("href"),setAttribute:t=>this.setAttribute("href",t)})),this[kt]}get filterUnits(){return this[Kh]||(this[Kh]=new Tt(c,this[u],{getAttribute:()=>this.getAttribute("filterUnits"),setAttribute:t=>this.setAttribute("filterUnits",t),values:["userSpaceOnUse","objectBoundingBox"],defaultValue:"userSpaceOnUse"})),this[Kh]}get primitiveUnits(){return this[Jh]||(this[Jh]=new Tt(c,this[u],{getAttribute:()=>this.getAttribute("primitiveUnits"),setAttribute:t=>this.setAttribute("primitiveUnits",t),values:["userSpaceOnUse","objectBoundingBox"],defaultValue:"userSpaceOnUse"})),this[Jh]}get height(){return this[F]||(this[F]=new k(c,this[u],{getAttribute:()=>this.getAttribute("height"),setAttribute:t=>this.setAttribute("height",t)})),this[F]}get width(){return this[_]||(this[_]=new k(c,this[u],{getAttribute:()=>this.getAttribute("width"),setAttribute:t=>this.setAttribute("width",t)})),this[_]}get x(){return this[O]||(this[O]=new k(c,this[u],{getAttribute:()=>this.getAttribute("x"),setAttribute:t=>this.setAttribute("x",t)})),this[O]}get y(){return this[V]||(this[V]=new k(c,this[u],{getAttribute:()=>this.getAttribute("y"),setAttribute:t=>this.setAttribute("y",t)})),this[V]}};var FR,_R,BR,UR,GR,sg=class extends(GR=Te,UR=O,BR=V,_R=_,FR=F,GR){constructor(){super(...arguments);s(this,UR,null);s(this,BR,null);s(this,_R,null);s(this,FR,null)}get height(){return this[F]||(this[F]=new k(c,this[u],{getAttribute:()=>this.getAttribute("height"),setAttribute:t=>this.setAttribute("height",t)})),this[F]}get width(){return this[_]||(this[_]=new k(c,this[u],{getAttribute:()=>this.getAttribute("width"),setAttribute:t=>this.setAttribute("width",t)})),this[_]}get x(){return this[O]||(this[O]=new k(c,this[u],{getAttribute:()=>this.getAttribute("x"),setAttribute:t=>this.setAttribute("x",t)})),this[O]}get y(){return this[V]||(this[V]=new k(c,this[u],{getAttribute:()=>this.getAttribute("y"),setAttribute:t=>this.setAttribute("y",t)})),this[V]}};var ng=class extends Te{};var HR,qR,$R,WR,jR,zR,XR,lg=class extends(XR=Te,zR=kt,jR=Or,WR=O,$R=V,qR=_,HR=F,XR){constructor(){super(...arguments);s(this,zR,null);s(this,jR,null);s(this,WR,null);s(this,$R,null);s(this,qR,null);s(this,HR,null)}get crossOrigin(){return this.getAttribute("crossorigin")}set crossOrigin(t){this.setAttribute("crossorigin",t)}get href(){return this[kt]||(this[kt]=new at(c,this[u],{getAttribute:()=>this.getAttribute("href"),setAttribute:t=>this.setAttribute("href",t)})),this[kt]}get decoding(){let t=this.getAttribute("decoding");switch(t){case"sync":case"async":case"auto":return t;default:return"auto"}}set decoding(t){this.setAttribute("decoding",t)}get preserveAspectRatio(){return this[Or]||(this[Or]=new Ui(c,this[u],{getAttribute:()=>this.getAttribute("preserveAspectRatio"),setAttribute:t=>this.setAttribute("preserveAspectRatio",t)})),this[Or]}get height(){return this[F]||(this[F]=new k(c,this[u],{getAttribute:()=>this.getAttribute("height"),setAttribute:t=>this.setAttribute("height",t)})),this[F]}get width(){return this[_]||(this[_]=new k(c,this[u],{getAttribute:()=>this.getAttribute("width"),setAttribute:t=>this.setAttribute("width",t)})),this[_]}get x(){return this[O]||(this[O]=new k(c,this[u],{getAttribute:()=>this.getAttribute("x"),setAttribute:t=>this.setAttribute("x",t)})),this[O]}get y(){return this[V]||(this[V]=new k(c,this[u],{getAttribute:()=>this.getAttribute("y"),setAttribute:t=>this.setAttribute("y",t)})),this[V]}decode(){return Promise.resolve()}};var YR,KR,JR,ZR,QR,ag=class extends(QR=Wr,ZR=fn,JR=gn,KR=Sn,YR=Pn,QR){constructor(){super(...arguments);s(this,ZR,null);s(this,JR,null);s(this,KR,null);s(this,YR,null)}get x1(){return this[fn]||(this[fn]=new k(c,this[u],{getAttribute:()=>this.getAttribute("x1"),setAttribute:t=>this.setAttribute("x1",t)})),this[fn]}get y1(){return this[gn]||(this[gn]=new k(c,this[u],{getAttribute:()=>this.getAttribute("y1"),setAttribute:t=>this.setAttribute("y1",t)})),this[gn]}get x2(){return this[Sn]||(this[Sn]=new k(c,this[u],{getAttribute:()=>this.getAttribute("x2"),setAttribute:t=>this.setAttribute("x2",t)})),this[Sn]}get y2(){return this[Pn]||(this[Pn]=new k(c,this[u],{getAttribute:()=>this.getAttribute("y2"),setAttribute:t=>this.setAttribute("y2",t)})),this[Pn]}};var t6,e6,r6,o6,i6,Hi=class extends(i6=Te,o6=kt,r6=Zh,e6=Qh,t6=td,i6){constructor(){super(...arguments);s(this,o6,null);s(this,r6,null);s(this,e6,null);s(this,t6,null)}get href(){return this[kt]||(this[kt]=new at(c,this[u],{getAttribute:()=>this.getAttribute("href"),setAttribute:t=>this.setAttribute("href",t)})),this[kt]}get gradientUnits(){return this[Zh]||(this[Zh]=new Tt(c,this[u],{getAttribute:()=>this.getAttribute("gradientUnits"),setAttribute:t=>this.setAttribute("gradientUnits",t),values:["userSpaceOnUse","objectBoundingBox"],defaultValue:"objectBoundingBox"})),this[Zh]}get gradientTransform(){return this[Qh]||(this[Qh]=new Ws(c,this[u],{getAttribute:()=>this.getAttribute("gradientTransform"),setAttribute:t=>this.setAttribute("gradientTransform",t)})),this[Qh]}get spreadMethod(){return this[td]||(this[td]=new Tt(c,this[u],{getAttribute:()=>this.getAttribute("spreadMethod"),setAttribute:t=>this.setAttribute("spreadMethod",t),values:["pad","reflect","repeat"],defaultValue:"pad"})),this[td]}};s(Hi,"SVG_SPREADMETHOD_UNKNOWN",0),s(Hi,"SVG_SPREADMETHOD_PAD",1),s(Hi,"SVG_SPREADMETHOD_REFLECT",2),s(Hi,"SVG_SPREADMETHOD_REPEAT",3);var s6,n6,l6,a6,u6,ug=class extends(u6=Hi,a6=fn,l6=gn,n6=Sn,s6=Pn,u6){constructor(){super(...arguments);s(this,a6,null);s(this,l6,null);s(this,n6,null);s(this,s6,null)}get x1(){return this[fn]||(this[fn]=new k(c,this[u],{getAttribute:()=>this.getAttribute("x1"),setAttribute:t=>this.setAttribute("x1",t)})),this[fn]}get y1(){return this[gn]||(this[gn]=new k(c,this[u],{getAttribute:()=>this.getAttribute("y1"),setAttribute:t=>this.setAttribute("y1",t)})),this[gn]}get x2(){return this[Sn]||(this[Sn]=new k(c,this[u],{getAttribute:()=>this.getAttribute("x2"),setAttribute:t=>this.setAttribute("x2",t)})),this[Sn]}get y2(){return this[Pn]||(this[Pn]=new k(c,this[u],{getAttribute:()=>this.getAttribute("y2"),setAttribute:t=>this.setAttribute("y2",t)})),this[Pn]}};var m6,y6,p6,c6,h6;h6=u,c6=N,p6=E,y6=ye,m6=pe;var cy=class{constructor(e,t,r){s(this,h6);s(this,c6);s(this,p6);s(this,y6,null);s(this,m6,null);if(e!==c)throw new TypeError("Illegal constructor");this[u]=t,this[N]=r.getAttribute,this[E]=r.setAttribute}get animVal(){return this[pe]||(this[pe]=new ri(c,this[u],{readOnly:!0,getAttribute:this[N]})),this[pe]}set animVal(e){}get baseVal(){return this[ye]||(this[ye]=new ri(c,this[u],{getAttribute:this[N],setAttribute:this[E]})),this[ye]}set baseVal(e){}};var d6,b6,f6,g6,S6,P6,w6,x6,E6,v6,zs=class extends(v6=st,E6=Uh,x6=Gh,w6=Hh,P6=qh,S6=$h,g6=Wh,f6=jh,b6=yn,d6=Or,v6){constructor(){super(...arguments);s(this,"SVG_MARKER_ORIENT_UNKNOWN",0);s(this,"SVG_MARKER_ORIENT_AUTO",1);s(this,"SVG_MARKER_ORIENT_ANGLE",2);s(this,E6,null);s(this,x6,null);s(this,w6,null);s(this,P6,null);s(this,S6,null);s(this,g6,null);s(this,f6,null);s(this,b6,null);s(this,d6,null)}get markerUnits(){return this[Uh]||(this[Uh]=new Tt(c,this[u],{getAttribute:()=>this.getAttribute("markerUnits"),setAttribute:t=>this.setAttribute("markerUnits",t),values:["userSpaceOnUse","strokeWidth"],defaultValue:"strokeWidth"})),this[Uh]}get markerWidth(){return this[Gh]||(this[Gh]=new k(c,this[u],{getAttribute:()=>this.getAttribute("markerWidth"),setAttribute:t=>this.setAttribute("markerWidth",t)})),this[Gh]}get markerHeight(){return this[Hh]||(this[Hh]=new k(c,this[u],{getAttribute:()=>this.getAttribute("markerHeight"),setAttribute:t=>this.setAttribute("markerHeight",t)})),this[Hh]}get orientType(){return this[qh]||(this[qh]=new Tt(c,this[u],{getAttribute:()=>this.getAttribute("orient"),setAttribute:t=>this.setAttribute("orient",t),values:["auto",null],defaultValue:"auto"})),this[qh]}get orientAngle(){return this[$h]||(this[$h]=new cy(c,this[u],{getAttribute:()=>this.getAttribute("orient"),setAttribute:t=>this.setAttribute("orient",t)})),this[$h]}get refX(){return this[Wh]||(this[Wh]=new k(c,this[u],{getAttribute:()=>this.getAttribute("refX"),setAttribute:t=>this.setAttribute("refX",t)})),this[Wh]}get refY(){return this[jh]||(this[jh]=new k(c,this[u],{getAttribute:()=>this.getAttribute("refY"),setAttribute:t=>this.setAttribute("refY",t)})),this[jh]}get viewBox(){return this[yn]||(this[yn]=new ma(c,this[u],{getAttribute:()=>this.getAttribute("viewBox"),setAttribute:t=>this.setAttribute("viewBox",t)})),this[yn]}get preserveAspectRatio(){return this[Or]||(this[Or]=new Ui(c,this[u],{getAttribute:()=>this.getAttribute("preserveAspectRatio"),setAttribute:t=>this.setAttribute("preserveAspectRatio",t)})),this[Or]}setOrientToAuto(){this.setAttribute("orient","auto")}setOrientToAngle(t){this.setAttribute("orient",t.valueAsString)}};s(zs,"SVG_MARKER_ORIENT_UNKNOWN",0),s(zs,"SVG_MARKER_ORIENT_AUTO",1),s(zs,"SVG_MARKER_ORIENT_ANGLE",2),s(zs,"SVG_MARKERUNITS_UNKNOWN",0),s(zs,"SVG_MARKERUNITS_USERSPACEONUSE",1),s(zs,"SVG_MARKERUNITS_STROKEWIDTH",2);var A6,T6,N6,L6,C6,k6,M6,mg=class extends(M6=st,k6=Xh,C6=Yh,L6=O,N6=V,T6=_,A6=F,M6){constructor(){super(...arguments);s(this,k6,null);s(this,C6,null);s(this,L6,null);s(this,N6,null);s(this,T6,null);s(this,A6,null)}get maskUnits(){return this[Xh]||(this[Xh]=new Tt(c,this[u],{getAttribute:()=>this.getAttribute("maskUnits"),setAttribute:t=>this.setAttribute("maskUnits",t),values:["userSpaceOnUse","objectBoundingBox"],defaultValue:"userSpaceOnUse"})),this[Xh]}get maskContentUnits(){return this[Yh]||(this[Yh]=new Tt(c,this[u],{getAttribute:()=>this.getAttribute("maskContentUnits"),setAttribute:t=>this.setAttribute("maskContentUnits",t),values:["userSpaceOnUse","objectBoundingBox"],defaultValue:"userSpaceOnUse"})),this[Yh]}get width(){return this[_]||(this[_]=new k(c,this[u],{getAttribute:()=>this.getAttribute("width"),setAttribute:t=>this.setAttribute("width",t)})),this[_]}get height(){return this[F]||(this[F]=new k(c,this[u],{getAttribute:()=>this.getAttribute("height"),setAttribute:t=>this.setAttribute("height",t)})),this[F]}get x(){return this[O]||(this[O]=new k(c,this[u],{getAttribute:()=>this.getAttribute("x"),setAttribute:t=>this.setAttribute("x",t)})),this[O]}get y(){return this[V]||(this[V]=new k(c,this[u],{getAttribute:()=>this.getAttribute("y"),setAttribute:t=>this.setAttribute("y",t)})),this[V]}};var yg=class extends st{};var R6,O6,pg=class extends(O6=st,R6=kt,O6){constructor(){super(...arguments);s(this,R6,null)}get href(){return this[kt]||(this[kt]=new at(c,this[u],{getAttribute:()=>this.getAttribute("href"),setAttribute:t=>this.setAttribute("href",t)})),this[kt]}};var cg=class extends Wr{};var V6,I6,D6,F6,_6,B6,U6,G6,H6,hg=class extends(H6=st,G6=kt,U6=ed,B6=rd,_6=od,F6=O,D6=V,I6=_,V6=F,H6){constructor(){super(...arguments);s(this,G6,null);s(this,U6,null);s(this,B6,null);s(this,_6,null);s(this,F6,null);s(this,D6,null);s(this,I6,null);s(this,V6,null)}get href(){return this[kt]||(this[kt]=new at(c,this[u],{getAttribute:()=>this.getAttribute("href"),setAttribute:t=>this.setAttribute("href",t)})),this[kt]}get patternUnits(){return this[ed]||(this[ed]=new Tt(c,this[u],{getAttribute:()=>this.getAttribute("patternUnits"),setAttribute:t=>this.setAttribute("patternUnits",t),values:["userSpaceOnUse","objectBoundingBox"],defaultValue:"objectBoundingBox"})),this[ed]}get patternContentUnits(){return this[rd]||(this[rd]=new Tt(c,this[u],{getAttribute:()=>this.getAttribute("patternContentUnits"),setAttribute:t=>this.setAttribute("patternContentUnits",t),values:["userSpaceOnUse","objectBoundingBox"],defaultValue:"userSpaceOnUse"})),this[rd]}get patternTransform(){return this[od]||(this[od]=new Ws(c,this[u],{getAttribute:()=>this.getAttribute("patternTransform"),setAttribute:t=>this.setAttribute("patternTransform",t)})),this[od]}get width(){return this[_]||(this[_]=new k(c,this[u],{getAttribute:()=>this.getAttribute("width"),setAttribute:t=>this.setAttribute("width",t)})),this[_]}get height(){return this[F]||(this[F]=new k(c,this[u],{getAttribute:()=>this.getAttribute("height"),setAttribute:t=>this.setAttribute("height",t)})),this[F]}get x(){return this[O]||(this[O]=new k(c,this[u],{getAttribute:()=>this.getAttribute("x"),setAttribute:t=>this.setAttribute("x",t)})),this[O]}get y(){return this[V]||(this[V]=new k(c,this[u],{getAttribute:()=>this.getAttribute("y"),setAttribute:t=>this.setAttribute("y",t)})),this[V]}};var K8=/[\t\f\n\r, ]+/,q6,$6,W6,j6,z6,Xs=class l{constructor(e,t,r){s(this,z6);s(this,j6);s(this,W6);s(this,$6,!1);s(this,q6,{items:[],attributeValue:""});if(e!==c)throw new TypeError("Illegal constructor");this[u]=t,this[K]=!!r.readOnly,this[N]=r.getAttribute,this[E]=r.setAttribute;let o=new xe(this,[l]);return new Proxy(this,{get:(i,n)=>{if(n==="length"||n==="numberOfItems")return i[X]().length;if(n in i||typeof n=="symbol")return o.bind(n),i[n];let a=Number(n);if(!isNaN(a))return i[X]()[a]},set(i,n,a){if(o.bind(n),typeof n=="symbol")return i[n]=a,!0;let m=Number(n);return isNaN(m)&&(i[n]=a),!0},deleteProperty(i,n){if(typeof n=="symbol")return delete i[n],!0;let a=Number(n);return isNaN(a)&&delete i[n],!0},ownKeys(i){return Object.keys(i[X]())},has(i,n){if(n in i)return!0;if(typeof n=="symbol")return!1;let a=Number(n);return!isNaN(a)&&a>=0&&a<i[X]().length},defineProperty(i,n,a){return o.preventBinding(n),n in i?(Object.defineProperty(i,n,a),!0):!1},getOwnPropertyDescriptor(i,n){if(n in i||typeof n=="symbol")return;let a=Number(n),m=i[X]();if(!isNaN(a)&&m[a])return{value:m[a],writable:!1,enumerable:!0,configurable:!0}}})}get length(){return this[X]().length}get numberOfItems(){return this[X]().length}[(z6=u,j6=N,W6=E,$6=K,q6=q,Symbol.iterator)](){return this[X]().values()}clear(){if(this[K])throw new this[u].TypeError("Failed to execute 'clear' on 'SVGPointList': The object is read-only.");for(let e of this[q].items)e[N]=null,e[E]=null;this[q].items=[],this[q].attributeValue="",this[E]("")}initialize(e){if(this[K])throw new this[u].TypeError("Failed to execute 'initialize' on 'SVGPointList': The object is read-only.");if(arguments.length<1)throw new this[u].TypeError(`Failed to execute 'initialize' on 'SVGPointList': 1 arguments required, but only ${arguments.length} present.`);if(!(e instanceof Nr))throw new this[u].TypeError("Failed to execute 'appendItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'.");for(let t of this[q].items)t[N]=null,t[E]=null;return e[N]=()=>e[I],e[E]=()=>{this[q].attributeValue=this[X]().map(t=>t[I]||"0 0").join(" "),this[E](this[q].attributeValue)},this[q].items=[e],this[q].attributeValue=e[I],this[E](e[I]||""),e}getItem(e){let t=this[X]();return typeof e=="number"||(e=Number(e),e=isNaN(e)?0:e),t[e]?t[e]:null}insertItemBefore(e,t){if(this[K])throw new this[u].TypeError("Failed to execute 'insertItemBefore' on 'SVGPointList': The object is read-only.");if(arguments.length<2)throw new this[u].TypeError(`Failed to execute 'insertItemBefore' on 'SVGPointList': 2 arguments required, but only ${arguments.length} present.`);if(!(e instanceof Nr))throw new this[u].TypeError("Failed to execute 'insertItemBefore' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'.");let r=this[X](),o=r.indexOf(e);return o!==-1&&r.splice(o,1),t<0?t=0:t>r.length&&(t=r.length),r.splice(t,0,e),e[N]=()=>e[I],e[E]=()=>{this[q].attributeValue=this[X]().map(i=>i[I]||"0 0").join(" "),this[E](this[q].attributeValue)},this[q].attributeValue=r.map(i=>i[I]||"0 0").join(" "),this[E](this[q].attributeValue),e}replaceItem(e,t){if(this[K])throw new this[u].TypeError("Failed to execute 'replaceItem' on 'SVGPointList': The object is read-only.");if(arguments.length<2)throw new this[u].TypeError(`Failed to execute 'replaceItem' on 'SVGPointList': 2 arguments required, but only ${arguments.length} present.`);if(!(e instanceof Nr))throw new this[u].TypeError("Failed to execute 'replaceItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'.");let r=this[X](),o=r.indexOf(e);if(o===t)return e;o!==-1&&r.splice(o,1),t<0?t=0:t>=r.length&&(t=r.length-1),r[t]&&(r[t][N]=null,r[t][E]=null);let i=r[t];return r[t]=e,e[N]=()=>e[I],e[E]=()=>{this[q].attributeValue=this[X]().map(n=>n[I]||"0 0").join(" "),this[E](this[q].attributeValue)},this[q].attributeValue=r.map(n=>n[I]||"0 0").join(" "),this[E](this[q].attributeValue),i}removeItem(e){if(this[K])throw new this[u].TypeError("Failed to execute 'removeItem' on 'SVGPointList': The object is read-only.");if(arguments.length<1)throw new this[u].TypeError(`Failed to execute 'removeItem' on 'SVGPointList': 1 argument required, but only ${arguments.length} present.`);let t=this[X]();if(e=Number(e),isNaN(e)&&(e=0),e>=t.length)throw new this[u].DOMException(`Failed to execute 'removeItem' on 'SVGPointList': The index provided (${e}) is greater than the maximum bound.`,A.indexSizeError);if(e<0)throw new this[u].DOMException(`Failed to execute 'removeItem' on 'SVGPointList': The index provided (${e}) is negative.`,A.indexSizeError);let r=t[e];return r&&(r[N]=null,r[E]=null),t.splice(e,1),this[E](t.map(o=>o[I]||"0 0").join(" ")),r}appendItem(e){if(this[K])throw new this[u].TypeError("Failed to execute 'appendItem' on 'SVGPointList': The object is read-only.");if(arguments.length<1)throw new this[u].TypeError(`Failed to execute 'appendItem' on 'SVGPointList': 1 argument required, but only ${arguments.length} present.`);if(!(e instanceof Nr))throw new this[u].TypeError("Failed to execute 'appendItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'.");let t=this[X](),r=t.indexOf(e);return r!==-1&&t.splice(r,1),t.push(e),e[N]=()=>e[I],e[E]=()=>{this[q].attributeValue=this[X]().map(o=>o[I]||"0 0").join(" "),this[E](this[q].attributeValue)},this[q].attributeValue=t.map(o=>o[I]||"0 0").join(" "),this[E](this[q].attributeValue),e}[X](){let e=this[N]()??"",t=this[q];if(t.attributeValue===e)return t.items;if(t.items.length)for(let i of t.items)i[N]=null,i[E]=null;let r=[],o=e.trim();if(o){let i=o.split(K8);for(let n=0,a=i.length;n<a;n+=2){let m=parseFloat(i[n]),p=i[n+1]!==void 0?" "+parseFloat(i[n+1]):"",b=new Nr(c,this[u],{readOnly:this[K],getAttribute:()=>b[I],setAttribute:()=>{this[q].attributeValue=this[X]().map(d=>d[I]||"0 0").join(" "),this[E](this[q].attributeValue)}});b[I]=`${m}${p}`,r.push(b)}}return t.attributeValue=e,t.items=r,r}};var X6,Y6,K6,dg=class extends(K6=Wr,Y6=pn,X6=cn,K6){constructor(){super(...arguments);s(this,Y6,null);s(this,X6,null)}get animatedPoints(){return this[pn]||(this[pn]=new Xs(c,this[u],{readOnly:!0,getAttribute:()=>this.getAttribute("points"),setAttribute:()=>{}})),this[pn]}get points(){return this[cn]||(this[cn]=new Xs(c,this[u],{getAttribute:()=>this.getAttribute("points"),setAttribute:t=>this.setAttribute("points",t)})),this[cn]}};var J6,Z6,Q6,bg=class extends(Q6=Wr,Z6=pn,J6=cn,Q6){constructor(){super(...arguments);s(this,Z6,null);s(this,J6,null)}get animatedPoints(){return this[pn]||(this[pn]=new Xs(c,this[u],{readOnly:!0,getAttribute:()=>this.getAttribute("points"),setAttribute:()=>{}})),this[pn]}get points(){return this[cn]||(this[cn]=new Xs(c,this[u],{getAttribute:()=>this.getAttribute("points"),setAttribute:t=>this.setAttribute("points",t)})),this[cn]}};var tO,eO,rO,oO,iO,sO,fg=class extends(sO=Hi,iO=Io,oO=Do,rO=bn,eO=id,tO=sd,sO){constructor(){super(...arguments);s(this,iO,null);s(this,oO,null);s(this,rO,null);s(this,eO,null);s(this,tO,null)}get cx(){return this[Io]||(this[Io]=new k(c,this[u],{getAttribute:()=>this.getAttribute("cx"),setAttribute:t=>this.setAttribute("cx",t)})),this[Io]}get cy(){return this[Do]||(this[Do]=new k(c,this[u],{getAttribute:()=>this.getAttribute("cy"),setAttribute:t=>this.setAttribute("cy",t)})),this[Do]}get r(){return this[bn]||(this[bn]=new k(c,this[u],{getAttribute:()=>this.getAttribute("r"),setAttribute:t=>this.setAttribute("r",t)})),this[bn]}get fx(){return this[id]||(this[id]=new k(c,this[u],{getAttribute:()=>this.getAttribute("fx"),setAttribute:t=>this.setAttribute("fx",t)})),this[id]}get fy(){return this[sd]||(this[sd]=new k(c,this[u],{getAttribute:()=>this.getAttribute("fy"),setAttribute:t=>this.setAttribute("fy",t)})),this[sd]}};var nO,lO,aO,uO,mO,yO,pO,gg=class extends(pO=Wr,yO=O,mO=V,uO=_,aO=F,lO=hn,nO=dn,pO){constructor(){super(...arguments);s(this,yO,null);s(this,mO,null);s(this,uO,null);s(this,aO,null);s(this,lO,null);s(this,nO,null)}get x(){return this[O]||(this[O]=new k(c,this[u],{getAttribute:()=>this.getAttribute("x"),setAttribute:t=>this.setAttribute("x",t)})),this[O]}get y(){return this[V]||(this[V]=new k(c,this[u],{getAttribute:()=>this.getAttribute("y"),setAttribute:t=>this.setAttribute("y",t)})),this[V]}get height(){return this[F]||(this[F]=new k(c,this[u],{getAttribute:()=>this.getAttribute("height"),setAttribute:t=>this.setAttribute("height",t)})),this[F]}get width(){return this[_]||(this[_]=new k(c,this[u],{getAttribute:()=>this.getAttribute("width"),setAttribute:t=>this.setAttribute("width",t)})),this[_]}get rx(){return this[hn]||(this[hn]=new k(c,this[u],{getAttribute:()=>this.getAttribute("rx"),setAttribute:t=>this.setAttribute("rx",t)})),this[hn]}get ry(){return this[dn]||(this[dn]=new k(c,this[u],{getAttribute:()=>this.getAttribute("ry"),setAttribute:t=>this.setAttribute("ry",t)})),this[dn]}};var cO,hO,Sg=class extends(hO=Te,cO=kt,hO){constructor(){super(...arguments);s(this,cO,null)}get href(){return this[kt]||(this[kt]=new at(c,this[u],{getAttribute:()=>this.getAttribute("href"),setAttribute:t=>this.setAttribute("href",t)})),this[kt]}get type(){return this.getAttribute("type")||""}set type(t){this.setAttribute("type",t)}};var Pg=class extends Gi{};var dO,bO,wg=class extends(bO=st,dO=wn,bO){constructor(){super(...arguments);s(this,dO,null)}get offset(){return this[wn]||(this[wn]=new yt(c,this[u],{getAttribute:()=>this.getAttribute("offset"),setAttribute:t=>this.setAttribute("offset",t)})),this[wn]}};var fO,gO,SO,xg=class extends st{constructor(){super(...arguments);s(this,SO,null);s(this,gO,this);s(this,fO,!1)}get media(){return this.getAttribute("media")||"all"}set media(t){this.setAttribute("media",t)}get type(){return this.getAttribute("type")||"text/css"}set type(t){this.setAttribute("type",t)}get title(){return this.getAttribute("title")||""}set title(t){this.setAttribute("title",t)}get disabled(){return this[Ia]}set disabled(t){this[Ia]=!!t}get sheet(){return this[nt]?(this[yr]||(this[yr]=new this[T][u].CSSStyleSheet,this[yr].replaceSync(this.textContent)),this[yr]):null}[(SO=yr,gO=Br,fO=Ia,Mr)](){super[Mr](),this[yr]=null}[Ma](){this[yr]&&this[yr].replaceSync(this.textContent)}};var Eg=class extends Te{};var vg=class extends Te{};var PO,wO,xO,ll=class extends(xO=Te,wO=nd,PO=ld,xO){constructor(){super(...arguments);s(this,wO,null);s(this,PO,null)}get textLength(){return this[nd]||(this[nd]=new k(c,this[u],{getAttribute:()=>this.getAttribute("textLength"),setAttribute:t=>this.setAttribute("textLength",t)})),this[nd]}get lengthAdjust(){return this[ld]||(this[ld]=new Tt(c,this[u],{getAttribute:()=>this.getAttribute("lengthAdjust"),setAttribute:t=>this.setAttribute("lengthAdjust",t),values:["spacing","spacingAndGlyphs"],defaultValue:"spacing"})),this[ld]}getNumberOfChars(){return 0}getComputedTextLength(){return 0}getSubStringLength(t,r){return 0}getStartPositionOfChar(t){return new Nr(c,this[u])}getEndPositionOfChar(t){return new Nr(c,this[u])}getExtentOfChar(t){return new ys(c,this[u])}getRotationOfChar(t){return 0}getCharNumAtPosition(t){return 0}};s(ll,"LENGTHADJUST_UNKNOWN",0),s(ll,"LENGTHADJUST_SPACING",1),s(ll,"LENGTHADJUST_SPACINGANDGLYPHS",2);var J8=/[\t\f\n\r, ]+/,EO,vO,AO,TO,NO,zu=class l{constructor(e,t,r){s(this,NO);s(this,TO);s(this,AO);s(this,vO,!1);s(this,EO,{items:[],attributeValue:""});if(e!==c)throw new TypeError("Illegal constructor");this[u]=t,this[K]=!!r.readOnly,this[N]=r.getAttribute,this[E]=r.setAttribute;let o=new xe(this,[l]);return new Proxy(this,{get:(i,n)=>{if(n==="length"||n==="numberOfItems")return i[X]().length;if(n in i||typeof n=="symbol")return o.bind(n),i[n];let a=Number(n);if(!isNaN(a))return i[X]()[a]},set(i,n,a){if(o.bind(n),typeof n=="symbol")return i[n]=a,!0;let m=Number(n);return isNaN(m)&&(i[n]=a),!0},deleteProperty(i,n){if(typeof n=="symbol")return delete i[n],!0;let a=Number(n);return isNaN(a)&&delete i[n],!0},ownKeys(i){return Object.keys(i[X]())},has(i,n){if(n in i)return!0;if(typeof n=="symbol")return!1;let a=Number(n);return!isNaN(a)&&a>=0&&a<i[X]().length},defineProperty(i,n,a){return o.preventBinding(n),n in i?(Object.defineProperty(i,n,a),!0):!1},getOwnPropertyDescriptor(i,n){if(n in i||typeof n=="symbol")return;let a=Number(n),m=i[X]();if(!isNaN(a)&&m[a])return{value:m[a],writable:!1,enumerable:!0,configurable:!0}}})}get length(){return this[X]().length}get numberOfItems(){return this[X]().length}[(NO=u,TO=N,AO=E,vO=K,EO=q,Symbol.iterator)](){return this[X]().values()}clear(){this[E]("")}initialize(e){if(this[K])throw new this[u].TypeError("Failed to execute 'initialize' on 'SVGLengthList': The object is read-only.");if(arguments.length<1)throw new this[u].TypeError(`Failed to execute 'initialize' on 'SVGLengthList': 1 arguments required, but only ${arguments.length} present.`);for(let t of this[q].items)t[N]=null,t[E]=null;return e[N]=()=>e[I],e[E]=()=>{this[q].attributeValue=this[X]().map(t=>t[I]??"0").join(" "),this[E](this[q].attributeValue)},this[q].items=[e],this[q].attributeValue=e[I],this[E](e[I]||""),e}getItem(e){let t=this[X]();return typeof e=="number"||(e=Number(e),e=isNaN(e)?0:e),t[e]?t[e]:null}insertItemBefore(e,t){if(this[K])throw new this[u].TypeError("Failed to execute 'insertItemBefore' on 'SVGLengthList': The object is read-only.");if(arguments.length<2)throw new this[u].TypeError(`Failed to execute 'insertItemBefore' on 'SVGLengthList': 2 arguments required, but only ${arguments.length} present.`);let r=this[X](),o=r.indexOf(e);return o!==-1&&r.splice(o,1),t<0?t=0:t>r.length&&(t=r.length),r.splice(t,0,e),e[N]=()=>e[I],e[E]=()=>{this[q].attributeValue=this[X]().map(i=>i[I]??"0").join(" "),this[E](this[q].attributeValue)},this[q].attributeValue=r.map(i=>i[I]??"0").join(" "),this[E](this[q].attributeValue),e}replaceItem(e,t){if(this[K])throw new this[u].TypeError("Failed to execute 'replaceItem' on 'SVGLengthList': The object is read-only.");if(arguments.length<2)throw new this[u].TypeError(`Failed to execute 'replaceItem' on 'SVGLengthList': 2 arguments required, but only ${arguments.length} present.`);let r=this[X](),o=r.indexOf(e);if(o===t)return e;o!==-1&&r.splice(o,1),t<0?t=0:t>=r.length&&(t=r.length-1),r[t]&&(r[t][N]=null,r[t][E]=null);let i=r[t];return r[t]=e,e[N]=()=>e[I],e[E]=()=>{this[q].attributeValue=this[X]().map(n=>n[I]??"0").join(" "),this[E](this[q].attributeValue)},this[q].attributeValue=r.map(n=>n[I]??"0").join(" "),this[E](this[q].attributeValue),i}removeItem(e){if(this[K])throw new this[u].TypeError("Failed to execute 'removeItem' on 'SVGLengthList': The object is read-only.");if(arguments.length<1)throw new this[u].TypeError(`Failed to execute 'removeItem' on 'SVGLengthList': 1 argument required, but only ${arguments.length} present.`);let t=this[X]();if(e=Number(e),isNaN(e)&&(e=0),e>=t.length)throw new this[u].DOMException(`Failed to execute 'removeItem' on 'SVGLengthList': The index provided (${e}) is greater than the maximum bound.`,A.indexSizeError);if(e<0)throw new this[u].DOMException(`Failed to execute 'removeItem' on 'SVGLengthList': The index provided (${e}) is negative.`,A.indexSizeError);let r=t[e];return r&&(r[N]=null,r[E]=null),t.splice(e,1),this[E](t.map(o=>o[I]??"0").join(" ")),r}appendItem(e){if(this[K])throw new this[u].TypeError("Failed to execute 'appendItem' on 'SVGLengthList': The object is read-only.");if(arguments.length<1)throw new this[u].TypeError(`Failed to execute 'appendItem' on 'SVGLengthList': 1 argument required, but only ${arguments.length} present.`);let t=this[X](),r=t.indexOf(e);return r!==-1&&t.splice(r,1),t.push(e),e[N]=()=>e[I],e[E]=()=>{this[q].attributeValue=this[X]().map(o=>o[I]??"0").join(" "),this[E](this[q].attributeValue)},this[q].attributeValue=t.map(o=>o[I]??"0").join(" "),this[E](this[q].attributeValue),e}[X](){let e=this[N]()??"",t=this[q];if(t.attributeValue===e)return t.items;if(t.items.length)for(let i of t.items)i[N]=null,i[E]=null;let r=[],o=e.trim();if(o){let i=o.split(J8);for(let n=0,a=i.length;n<a;n++){let m=new ar(c,this[u],{readOnly:this[K],getAttribute:()=>m[I],setAttribute:p=>{m[I]=p;let b=r.map(d=>d[I]??"0").join(" ");t.attributeValue=b,this[E](b)}});m[I]=i[n],r.push(m)}}return t.attributeValue=e,t.items=r,r}};var LO,CO,kO,MO,RO;RO=u,MO=N,kO=E,CO=ye,LO=pe;var al=class{constructor(e,t,r){s(this,RO);s(this,MO);s(this,kO);s(this,CO,null);s(this,LO,null);if(e!==c)throw new TypeError("Illegal constructor");this[u]=t,this[N]=r.getAttribute,this[E]=r.setAttribute}get animVal(){return this[pe]||(this[pe]=new zu(c,this[u],{readOnly:!0,getAttribute:this[N],setAttribute:this[E]})),this[pe]}set animVal(e){}get baseVal(){return this[ye]||(this[ye]=new zu(c,this[u],{getAttribute:this[N],setAttribute:this[E]})),this[ye]}set baseVal(e){}};var OO,VO,IO,DO,FO,_O,ha=class extends(_O=ll,FO=O,DO=V,IO=Uo,VO=Go,OO=Yd,_O){constructor(){super(...arguments);s(this,FO,null);s(this,DO,null);s(this,IO,null);s(this,VO,null);s(this,OO,null)}get x(){return this[O]||(this[O]=new al(c,this[u],{getAttribute:()=>this.getAttribute("x"),setAttribute:t=>this.setAttribute("x",t)})),this[O]}get y(){return this[V]||(this[V]=new al(c,this[u],{getAttribute:()=>this.getAttribute("y"),setAttribute:t=>this.setAttribute("y",t)})),this[V]}get dx(){return this[Uo]||(this[Uo]=new al(c,this[u],{getAttribute:()=>this.getAttribute("dx"),setAttribute:t=>this.setAttribute("dx",t)})),this[Uo]}get dy(){return this[Go]||(this[Go]=new al(c,this[u],{getAttribute:()=>this.getAttribute("dy"),setAttribute:t=>this.setAttribute("dy",t)})),this[Go]}get rotate(){return this[Yd]||(this[Yd]=new oi(c,this[u],{getAttribute:()=>this.getAttribute("rotate"),setAttribute:t=>this.setAttribute("rotate",t)})),this[Yd]}};var Ag=class extends ha{};var BO,UO,GO,HO,qO,Ys=class extends(qO=ll,HO=kt,GO=yd,UO=xl,BO=pd,qO){constructor(){super(...arguments);s(this,HO,null);s(this,GO,null);s(this,UO,null);s(this,BO,null)}get href(){return this[kt]||(this[kt]=new at(c,this[u],{getAttribute:()=>this.getAttribute("href"),setAttribute:t=>this.setAttribute("href",t)})),this[kt]}get startOffset(){return this[yd]||(this[yd]=new k(c,this[u],{getAttribute:()=>this.getAttribute("startOffset"),setAttribute:t=>this.setAttribute("startOffset",t)})),this[yd]}get method(){return this[xl]||(this[xl]=new Tt(c,this[u],{getAttribute:()=>this.getAttribute("method"),setAttribute:t=>this.setAttribute("method",t),values:["align","stretch"],defaultValue:"align"})),this[xl]}get spacing(){return this[pd]||(this[pd]=new Tt(c,this[u],{getAttribute:()=>this.getAttribute("spacing"),setAttribute:t=>this.setAttribute("spacing",t),values:["auto","exact"],defaultValue:"exact"})),this[pd]}};s(Ys,"TEXTPATH_METHODTYPE_UNKNOWN",0),s(Ys,"TEXTPATH_METHODTYPE_ALIGN",1),s(Ys,"TEXTPATH_METHODTYPE_STRETCH",2),s(Ys,"TEXTPATH_SPACINGTYPE_UNKNOWN",0),s(Ys,"TEXTPATH_SPACINGTYPE_AUTO",1),s(Ys,"TEXTPATH_SPACINGTYPE_EXACT",2);var Tg=class extends st{};var Ng=class extends ha{};var $O,WO,jO,zO,XO,YO,Lg=class extends(YO=Te,XO=kt,zO=O,jO=V,WO=_,$O=F,YO){constructor(){super(...arguments);s(this,XO,null);s(this,zO,null);s(this,jO,null);s(this,WO,null);s(this,$O,null)}get href(){return this[kt]||(this[kt]=new at(c,this[u],{getAttribute:()=>this.getAttribute("href"),setAttribute:t=>this.setAttribute("href",t)})),this[kt]}get x(){return this[O]||(this[O]=new k(c,this[u],{getAttribute:()=>this.getAttribute("x"),setAttribute:t=>this.setAttribute("x",t)})),this[O]}get y(){return this[V]||(this[V]=new k(c,this[u],{getAttribute:()=>this.getAttribute("y"),setAttribute:t=>this.setAttribute("y",t)})),this[V]}get width(){return this[_]||(this[_]=new k(c,this[u],{getAttribute:()=>this.getAttribute("width"),setAttribute:t=>this.setAttribute("width",t)})),this[_]}get height(){return this[F]||(this[F]=new k(c,this[u],{getAttribute:()=>this.getAttribute("height"),setAttribute:t=>this.setAttribute("height",t)})),this[F]}};var Cg=class extends st{};var Xu=class{constructor(e){s(this,"SVG_UNIT_TYPE_UNKNOWN",0);s(this,"SVG_UNIT_TYPE_USERSPACEONUSE",1);s(this,"SVG_UNIT_TYPE_OBJECTBOUNDINGBOX",2);if(e!==c)throw new TypeError("Illegal constructor")}};s(Xu,"SVG_UNIT_TYPE_UNKNOWN",0),s(Xu,"SVG_UNIT_TYPE_USERSPACEONUSE",1),s(Xu,"SVG_UNIT_TYPE_OBJECTBOUNDINGBOX",2);var kg=class{constructor(e){s(this,"window");this.window=e}enqueueReaction(e,t,r){let o=this.window.customElements[Ss]?.get(e.localName);if(o&&e[T]===this.window.document)switch(t){case"connectedCallback":if(o.livecycleCallbacks.connectedCallback){let i=o.livecycleCallbacks.connectedCallback?.call(e);if(i instanceof Promise){let n=new it(this.window).getAsyncTaskManager();if(n){let a=n.startTask();i.then(()=>n.endTask(a)).catch(()=>n.endTask(a))}}}break;case"disconnectedCallback":o.livecycleCallbacks.disconnectedCallback&&o.livecycleCallbacks.disconnectedCallback.call(e);break;case"attributeChangedCallback":o.livecycleCallbacks.attributeChangedCallback&&r?.length&&o.observedAttributes.has(r[0])&&o.livecycleCallbacks.attributeChangedCallback.apply(e,r);break}}};var ih=class extends R{constructor(t,r=null){super(t);s(this,"state");s(this,"hasUAVisualTransition");this.state=r?.state??null,this.hasUAVisualTransition=r?.hasUAVisualTransition??!1}};var Mg=class extends R{constructor(t,r=null){super(t,r);s(this,"code");s(this,"reason");s(this,"wasClean");this.code=r?.code??0,this.reason=r?.reason??"",this.wasClean=r?.wasClean??!1}};var Yu={setTimeout:globalThis.setTimeout.bind(globalThis),clearTimeout:globalThis.clearTimeout.bind(globalThis),setInterval:globalThis.setInterval.bind(globalThis),clearInterval:globalThis.clearInterval.bind(globalThis),queueMicrotask:globalThis.queueMicrotask.bind(globalThis),setImmediate:globalThis.setImmediate.bind(globalThis),clearImmediate:globalThis.clearImmediate.bind(globalThis)},gw=setTimeout.toString().includes("new Timeout"),n_=(()=>{try{return new Function("return true;")(),!0}catch{return!1}})(),l_=(()=>{try{return globalThis.Function.$UNFROZEN$=!0,delete globalThis.Function.$UNFROZEN$,!0}catch{return!1}})(),Sw=class{constructor(){throw new TypeError("Illegal constructor")}},JS=class{constructor(e){s(this,"callback");this.callback=e}},JO,ZO,QO,tV,eV,rV,oV,iV,sV,nV,lV,aV,uV,mV,yV,pV,cV,hV,vt,sh,nh,lh,ah,uh,Rg,Og,Vg,Pw=class Pw extends _t{constructor(t,r){super();s(this,"Node",gt);s(this,"Attr",lp);s(this,"ShadowRoot",gc);s(this,"ProcessingInstruction",fc);s(this,"Element",dr);s(this,"CharacterData",Vs);s(this,"DocumentType",Un);s(this,"HTMLAnchorElement",up);s(this,"HTMLButtonElement",fp);s(this,"HTMLOptGroupElement",zp);s(this,"HTMLOptionElement",Jn);s(this,"HTMLElement",B);s(this,"HTMLUnknownElement",dc);s(this,"HTMLTemplateElement",mc);s(this,"HTMLInputElement",To);s(this,"HTMLSelectElement",rc);s(this,"HTMLTextAreaElement",ql);s(this,"HTMLImageElement",Mu);s(this,"HTMLStyleElement",sc);s(this,"HTMLLabelElement",Fp);s(this,"HTMLSlotElement",M0);s(this,"HTMLMetaElement",qp);s(this,"HTMLMediaElement",zn);s(this,"HTMLAudioElement",Eu);s(this,"HTMLVideoElement",bc);s(this,"HTMLBaseElement",pp);s(this,"HTMLDialogElement",Ep);s(this,"HTMLScriptElement",ec);s(this,"HTMLLinkElement",Up);s(this,"HTMLIFrameElement",Dp);s(this,"HTMLFormElement",Mp);s(this,"HTMLUListElement",hc);s(this,"HTMLTrackElement",cc);s(this,"HTMLTableRowElement",uc);s(this,"HTMLTitleElement",pc);s(this,"HTMLTimeElement",yc);s(this,"HTMLTableSectionElement",Gs);s(this,"HTMLTableCellElement",nc);s(this,"HTMLTableElement",ac);s(this,"HTMLSpanElement",ic);s(this,"HTMLSourceElement",oc);s(this,"HTMLQuoteElement",Qp);s(this,"HTMLProgressElement",Zp);s(this,"HTMLPreElement",Jp);s(this,"HTMLPictureElement",Kp);s(this,"HTMLParamElement",Yp);s(this,"HTMLParagraphElement",Xp);s(this,"HTMLOutputElement",Au);s(this,"HTMLOListElement",jp);s(this,"HTMLObjectElement",vu);s(this,"HTMLMeterElement",$p);s(this,"HTMLMenuElement",Hp);s(this,"HTMLMapElement",Gp);s(this,"HTMLLIElement",Bp);s(this,"HTMLLegendElement",_p);s(this,"HTMLModElement",Wp);s(this,"HTMLHtmlElement",Ip);s(this,"HTMLHRElement",Vp);s(this,"HTMLHeadElement",Rp);s(this,"HTMLHeadingElement",Op);s(this,"HTMLFieldSetElement",Tu);s(this,"HTMLEmbedElement",Ap);s(this,"HTMLDListElement",Sp);s(this,"HTMLDivElement",vp);s(this,"HTMLDetailsElement",xp);s(this,"HTMLDataListElement",wp);s(this,"HTMLDataElement",Pp);s(this,"HTMLTableColElement",lc);s(this,"HTMLTableCaptionElement",Ou);s(this,"HTMLCanvasElement",gp);s(this,"HTMLBRElement",hp);s(this,"HTMLBodyElement",cp);s(this,"HTMLAreaElement",mp);s(this,"SVGSVGElement",oh);s(this,"SVGAnimateElement",Of);s(this,"SVGAnimateMotionElement",Vf);s(this,"SVGAnimateTransformElement",If);s(this,"SVGCircleElement",Df);s(this,"SVGClipPathElement",Ff);s(this,"SVGDefsElement",_f);s(this,"SVGDescElement",Bf);s(this,"SVGEllipseElement",Uf);s(this,"SVGFEBlendElement",gr);s(this,"SVGFEColorMatrixElement",sl);s(this,"SVGFEComponentTransferElement",Gf);s(this,"SVGFECompositeElement",cs);s(this,"SVGFEConvolveMatrixElement",pa);s(this,"SVGFEDiffuseLightingElement",Hf);s(this,"SVGFEDisplacementMapElement",nl);s(this,"SVGFEDistantLightElement",qf);s(this,"SVGFEDropShadowElement",$f);s(this,"SVGFEFloodElement",Wf);s(this,"SVGFEFuncAElement",jf);s(this,"SVGFEFuncBElement",zf);s(this,"SVGFEFuncGElement",Xf);s(this,"SVGFEFuncRElement",Yf);s(this,"SVGFEGaussianBlurElement",ca);s(this,"SVGFEImageElement",Kf);s(this,"SVGFEMergeElement",Jf);s(this,"SVGFEMergeNodeElement",Zf);s(this,"SVGFEMorphologyElement",ju);s(this,"SVGFEOffsetElement",Qf);s(this,"SVGFEPointLightElement",tg);s(this,"SVGFESpecularLightingElement",eg);s(this,"SVGFESpotLightElement",rg);s(this,"SVGFETileElement",og);s(this,"SVGFETurbulenceElement",js);s(this,"SVGFilterElement",ig);s(this,"SVGForeignObjectElement",sg);s(this,"SVGGElement",ng);s(this,"SVGImageElement",lg);s(this,"SVGLineElement",ag);s(this,"SVGLinearGradientElement",ug);s(this,"SVGMarkerElement",zs);s(this,"SVGMaskElement",mg);s(this,"SVGMetadataElement",yg);s(this,"SVGMPathElement",pg);s(this,"SVGPathElement",cg);s(this,"SVGPatternElement",hg);s(this,"SVGPolygonElement",dg);s(this,"SVGPolylineElement",bg);s(this,"SVGRadialGradientElement",fg);s(this,"SVGRectElement",gg);s(this,"SVGScriptElement",Sg);s(this,"SVGSetElement",Pg);s(this,"SVGStopElement",wg);s(this,"SVGStyleElement",xg);s(this,"SVGSwitchElement",Eg);s(this,"SVGSymbolElement",vg);s(this,"SVGTextElement",Ag);s(this,"SVGTextPathElement",Ys);s(this,"SVGTitleElement",Tg);s(this,"SVGTSpanElement",Ng);s(this,"SVGUseElement",Lg);s(this,"SVGViewElement",Cg);s(this,"SVGElement",st);s(this,"SVGAnimationElement",Gi);s(this,"SVGComponentTransferFunctionElement",jr);s(this,"SVGGeometryElement",Wr);s(this,"SVGGradientElement",Hi);s(this,"SVGTextPositioningElement",ha);s(this,"SVGGraphicsElement",Te);s(this,"Event",R);s(this,"UIEvent",Ke);s(this,"CustomEvent",Ky);s(this,"CloseEvent",Mg);s(this,"AnimationEvent",Xy);s(this,"KeyboardEvent",_n);s(this,"MessageEvent",Zy);s(this,"MouseEvent",sr);s(this,"PointerEvent",lu);s(this,"FocusEvent",ks);s(this,"WheelEvent",Vl);s(this,"InputEvent",Jy);s(this,"ErrorEvent",Fn);s(this,"StorageEvent",cb);s(this,"SubmitEvent",au);s(this,"ProgressEvent",$o);s(this,"MediaQueryListEvent",Wa);s(this,"HashChangeEvent",nu);s(this,"ClipboardEvent",Yy);s(this,"TouchEvent",Qy);s(this,"PopStateEvent",ih);s(this,"Touch",zy);s(this,"AudioProcessingEvent",R);s(this,"BeforeInputEvent",R);s(this,"BeforeUnloadEvent",R);s(this,"BlobEvent",R);s(this,"CompositionEvent",R);s(this,"CSSFontFaceLoadEvent",R);s(this,"DeviceLightEvent",R);s(this,"DeviceMotionEvent",R);s(this,"DeviceOrientationEvent",R);s(this,"DeviceProximityEvent",R);s(this,"DOMTransactionEvent",R);s(this,"DragEvent",R);s(this,"EditingBeforeInputEvent",R);s(this,"FetchEvent",R);s(this,"GamepadEvent",R);s(this,"IDBVersionChangeEvent",R);s(this,"MediaStreamEvent",R);s(this,"MutationEvent",R);s(this,"OfflineAudioCompletionEvent",R);s(this,"OverconstrainedError",R);s(this,"PageTransitionEvent",R);s(this,"PaymentRequestUpdateEvent",R);s(this,"RelatedEvent",R);s(this,"RTCDataChannelEvent",R);s(this,"RTCIdentityErrorEvent",R);s(this,"RTCIdentityEvent",R);s(this,"RTCPeerConnectionIceEvent",R);s(this,"SensorEvent",R);s(this,"SVGEvent",R);s(this,"SVGZoomEvent",R);s(this,"TimeEvent",R);s(this,"TrackEvent",R);s(this,"TransitionEvent",R);s(this,"UserProximityEvent",R);s(this,"WebGLContextEvent",R);s(this,"TextEvent",R);s(this,"Permissions",cu);s(this,"History",Mm);s(this,"Navigator",np);s(this,"Clipboard",qa);s(this,"TimeRanges",Gl);s(this,"TextTrackCueList",Kl);s(this,"ValidityState",go);s(this,"MutationRecord",Xo);s(this,"IntersectionObserver",op);s(this,"IntersectionObserverEntry",ip);s(this,"CSSStyleDeclaration",co);s(this,"CSSRule",Me);s(this,"CSSContainerRule",Xa);s(this,"CSSFontFaceRule",Ka);s(this,"CSSKeyframeRule",In);s(this,"CSSKeyframesRule",Za);s(this,"CSSMediaRule",tu);s(this,"CSSStyleRule",Dn);s(this,"CSSSupportsRule",iu);s(this,"CSSConditionRule",rs);s(this,"CSSGroupingRule",es);s(this,"CSSScopeRule",On);s(this,"DOMRect",ns);s(this,"DOMRectReadOnly",du);s(this,"Plugin",Eb);s(this,"PluginArray",Vm);s(this,"Location",Rm);s(this,"CustomElementRegistry",Tm);s(this,"ResizeObserver",Sc);s(this,"Blob",de);s(this,"File",qo);s(this,"Storage",Iu);s(this,"MimeType",Sb);s(this,"MimeTypeArray",Om);s(this,"NodeFilter",ge);s(this,"HTMLCollection",Ae);s(this,"HTMLFormControlCollection",Nu);s(this,"HTMLOptionsCollection",ty);s(this,"NodeList",ki);s(this,"RadioNodeList",Zm);s(this,"FileList",Hl);s(this,"Screen",ey);s(this,"DOMMatrixReadOnly",yy);s(this,"DOMMatrix",No);s(this,"NamedNodeMap",Wn);s(this,"TreeWalker",Gn);s(this,"NodeIterator",gu);s(this,"DataTransfer",jy);s(this,"DataTransferItem",Cs);s(this,"DataTransferItemList",su);s(this,"XMLSerializer",Pc);s(this,"ClipboardItem",Fy);s(this,"Selection",Pu);s(this,"CSSUnitValue",be);s(this,"SVGAngle",ri);s(this,"SVGAnimatedAngle",cy);s(this,"SVGAnimatedBoolean",py);s(this,"SVGAnimatedEnumeration",Tt);s(this,"SVGAnimatedInteger",hs);s(this,"SVGAnimatedLength",k);s(this,"SVGAnimatedNumber",yt);s(this,"SVGAnimatedNumberList",oi);s(this,"SVGAnimatedPreserveAspectRatio",Ui);s(this,"SVGAnimatedRect",ma);s(this,"SVGAnimatedString",at);s(this,"SVGAnimatedTransformList",Ws);s(this,"SVGLength",ar);s(this,"SVGLengthList",zu);s(this,"SVGMatrix",il);s(this,"SVGNumber",ps);s(this,"SVGNumberList",Wu);s(this,"SVGPoint",Nr);s(this,"SVGPointList",Xs);s(this,"SVGPreserveAspectRatio",fr);s(this,"SVGRect",ys);s(this,"SVGStringList",$s);s(this,"SVGTransform",Tr);s(this,"SVGTransformList",$u);s(this,"SVGAnimatedLengthList",al);s(this,"SVGUnitTypes",Xu);s(this,"DOMPoint",my);s(this,"StylePropertyMap",ru);s(this,"StylePropertyMapReadOnly",eu);s(this,"MediaList",Qa);s(this,"CSSKeywordValue",Rl);s(this,"CSSStyleValue",Ol);s(this,"Window",this.constructor);s(this,"URLSearchParams",o_);s(this,"WritableStream",KO.Writable);s(this,"ReadableStream",r_);s(this,"TransformStream",KO.Transform);s(this,"PerformanceObserver",i_);s(this,"PerformanceEntry",s_);s(this,"PerformanceObserverEntryList",Sw);s(this,"onload",null);s(this,"onerror",null);s(this,"document");s(this,"customElements",new Tm(this));s(this,"window",this);s(this,"globalThis",this);s(this,"performance",performance);s(this,"screenLeft",0);s(this,"screenTop",0);s(this,"screenX",0);s(this,"screenY",0);s(this,"crypto",Q8);s(this,"TextEncoder",t_);s(this,"TextDecoder",e_);s(this,"closed",!1);s(this,"console");s(this,"name","");s(this,"Buffer",Z8);s(this,hV,[]);s(this,cV);s(this,pV);s(this,yV);s(this,mV);s(this,uV);s(this,aV);s(this,lV);s(this,nV,this);s(this,sV,this);s(this,iV,this);s(this,oV,this);s(this,rV,this);s(this,eV,-1);s(this,tV,new kg(this));s(this,QO,{json:new Map,css:new Map,esm:new Map});s(this,ZO,null);s(this,JO,[]);x(this,vt);x(this,sh,null);x(this,nh,null);x(this,lh,null);x(this,ah,null);x(this,uh,null);x(this,Rg,{timeouts:null});x(this,Og,[]);x(this,Vg,[]);w(this,vt,t),this[kP](),this.console=t.page.console,this[li]=new vb(t),this[Kg]=new np(this),this[Jg]=new ey,this[Zg]=new Iu,this[Qg]=new Iu,this[ai]=new Rm(y(this,vt),r?.url??"about:blank"),this[je]=new Mm(y(this,vt),this),t[je].currentItem.href=r?.url??"about:blank",it.setWindowBrowserFrameRelation(this,y(this,vt)),this[Ph](),kf.extendClasses(this),this.document=new this.HTMLDocument,this.document[Po]=this;let o=t[bt].startTask(()=>this[li].destroy());this[li].waitUntilComplete().then(()=>{t[bt].endTask(o),this.document[Na]=PS.complete,this.document.dispatchEvent(new R("readystatechange"));let i=new R("load");i[Ti]=this,i[Zr]=this.document,i[to]=he.atTarget,this.dispatchEvent(i),i[Ti]=null,i[to]=he.none,i[Fa]=!1}),this[NP]()}get self(){return this[Ra]}set self(t){this[Ra]=t}get top(){return this[Ji]}get parent(){return this[Oo]}set parent(t){this[Oo]=t}get frames(){return this[CP]}set frames(t){this[Oo]=t}get location(){return this[ai]}set location(t){this[ai].href=t}get history(){return this[je]}get navigator(){return this[Kg]}get screen(){return this[Jg]}get sessionStorage(){return this[Zg]}get localStorage(){return this[Qg]}get opener(){return y(this,vt)[Xi]}get scrollX(){return this.document?.documentElement?.scrollLeft??0}get pageXOffset(){return this.scrollX}get scrollY(){return this.document?.documentElement?.scrollTop??0}get pageYOffset(){return this.scrollY}get CSS(){return new sb}get innerWidth(){return y(this,sh)===null?y(this,vt).page.viewport.width:y(this,sh)}set innerWidth(t){w(this,sh,t)}get innerHeight(){return y(this,nh)===null?y(this,vt).page.viewport.height:y(this,nh)}set innerHeight(t){w(this,nh,t)}get outerWidth(){return y(this,lh)===null?y(this,vt).page.viewport.width:y(this,lh)}set outerWidth(t){w(this,lh,t)}get outerHeight(){return y(this,ah)===null?y(this,vt).page.viewport.height:y(this,ah)}set outerHeight(t){w(this,ah,t)}get devicePixelRatio(){return y(this,uh)===null?y(this,vt).page.viewport.devicePixelRatio:y(this,uh)}set devicePixelRatio(t){w(this,uh,t)}getComputedStyle(t){return t[Cy]=t[Cy]||new co(c,this,{element:t,computed:!0}),t[Cy]}getSelection(){return this.document.getSelection()}scroll(t,r){if(typeof t!="object"&&arguments.length===1)throw new this.TypeError("Failed to execute 'scroll' on 'Window': The provided value is not of type 'ScrollToOptions'.");let o=typeof t=="object"?t:{left:t,top:r};if(o.behavior==="smooth")this.setTimeout(()=>{if(o.top!==void 0){let i=Number(o.top);this.document.documentElement.scrollTop=isNaN(i)?0:i}if(o.left!==void 0){let i=Number(o.left);this.document.documentElement.scrollLeft=isNaN(i)?0:i}});else{if(o.top!==void 0){let i=Number(o.top);this.document.documentElement.scrollTop=isNaN(i)?0:i}if(o.left!==void 0){let i=Number(o.left);this.document.documentElement.scrollLeft=isNaN(i)?0:i}}}scrollTo(t,r){if(typeof t!="object"&&arguments.length===1)throw new this.TypeError("Failed to execute 'scrollTo' on 'Window': The provided value is not of type 'ScrollToOptions'.");this.scroll(t,r)}scrollBy(t,r){if(typeof t!="object"&&arguments.length===1)throw new this.TypeError("Failed to execute 'scrollBy' on 'Window': The provided value is not of type 'ScrollToOptions'.");let o=typeof t=="object"?t:{left:t,top:r};this.scroll({left:this.document.documentElement.scrollLeft+(o.left??0),top:this.document.documentElement.scrollTop+(o.top??0),behavior:o.behavior})}blur(){}focus(){}open(t,r,o){return sf.openPage(y(this,vt),{url:t,target:r,features:o})}close(){y(this,vt).page.mainFrame===y(this,vt)&&y(this,vt)[Xi]&&(this[ue](),y(this,vt).page.close())}matchMedia(t){return new Am({window:this,media:t})}setTimeout(t,r=0,...o){if(this.closed)return{};let i=y(this,vt).page.context.browser.settings;if(i.timer.preventTimerLoops){let m=new Error().stack,p=y(this,Og),b=y(this,Vg),d=p.indexOf(m);if(d!==-1){if(b[d].timeout++,b[d].timeout>=(i.timer.preventTimerLoops===!0?1:i.timer.preventTimerLoops.timeout??1))return{}}else p.push(m),b.push({timeout:0,requestAnimationFrame:0})}if(!r){let m=y(this,Rg);if(!m.timeouts){let b=!i||!i.disableErrorCapturing&&i.errorCapture===me.tryAndCatch,d=Yu.setTimeout(()=>{y(this,vt)[bt].endTimer(d);let f=m.timeouts;m.timeouts=null;for(let v of f)if(b){let C;try{C=v.callback()}catch(L){this[ce](L)}C instanceof Promise&&C.catch(L=>this[ce](L))}else v.callback()},0);m.timeouts=[],y(this,vt)[bt].startTimer(d)}let p=new JS(()=>t(...o));return m.timeouts.push(p),p}let n=!i||!i.disableErrorCapturing&&i.errorCapture===me.tryAndCatch,a=Yu.setTimeout(()=>{if(y(this,vt)[bt].endTimer(a),n){let m;try{m=t(...o)}catch(p){this[ce](p)}m instanceof Promise&&m.catch(p=>this[ce](p))}else t(...o)},i?.timer.maxTimeout!==-1&&r&&r>i?.timer.maxTimeout?i?.timer.maxTimeout:r);return y(this,vt)[bt].startTimer(a),a}clearTimeout(t){if(t&&t instanceof JS){let r=y(this,Rg);if(!r.timeouts)return;let o=r.timeouts.indexOf(t);o!==-1&&r.timeouts.splice(o,1);return}gw&&(!t||t.constructor.name!=="Timeout")||(Yu.clearTimeout(t),y(this,vt)[bt].endTimer(t))}setInterval(t,r=0,...o){if(this.closed)return{};let i=y(this,vt).page.context.browser.settings,n=!i||!i.disableErrorCapturing&&i.errorCapture===me.tryAndCatch,a=0,m=Yu.setInterval(()=>{if(n){let p;try{p=t(...o)}catch(b){this.clearInterval(m),this[ce](b)}p instanceof Promise&&p.catch(b=>{this.clearInterval(m),this[ce](b)})}else t(...o);i?.timer.maxIntervalIterations!==-1&&(a>=i?.timer.maxIntervalIterations&&this.clearInterval(m),a++)},i?.timer.maxIntervalTime!==-1&&r&&r>i?.timer.maxIntervalTime?i?.timer.maxIntervalTime:r);return y(this,vt)[bt].startTimer(m),m}clearInterval(t){gw&&(!t||t.constructor.name!=="Timeout")||(Yu.clearInterval(t),y(this,vt)[bt].endTimer(t))}requestAnimationFrame(t){if(this.closed)return{};let r=y(this,vt).page.context.browser.settings;if(r.timer.preventTimerLoops){let n=new Error().stack,a=y(this,Og),m=y(this,Vg),p=a.indexOf(n);if(p!==-1){if(m[p].requestAnimationFrame++,m[p].requestAnimationFrame>=(r.timer.preventTimerLoops===!0?1:r.timer.preventTimerLoops.requestAnimationFrame??1))return{}}else a.push(n),m.push({timeout:0,requestAnimationFrame:0})}let o=!r||!r.disableErrorCapturing&&r.errorCapture===me.tryAndCatch,i=Yu.setImmediate(()=>{if(y(this,vt)[bt].endImmediate(i),o){let n;try{n=t(this.performance.now())}catch(a){this[ce](a)}n instanceof Promise&&n.catch(a=>this[ce](a))}else t(this.performance.now())});return y(this,vt)[bt].startImmediate(i),i}cancelAnimationFrame(t){gw&&(!t||t.constructor.name!=="Immediate")||(Yu.clearImmediate(t),y(this,vt)[bt].endImmediate(t))}queueMicrotask(t){if(this.closed)return;let r=!1,o=y(this,vt)[bt].startTask(()=>r=!0),i=y(this,vt).page.context.browser.settings,n=!i||!i.disableErrorCapturing&&i.errorCapture===me.tryAndCatch;Yu.queueMicrotask(()=>{if(!r)if(y(this,vt)[bt].endTask(o),n){let a;try{a=t()}catch(m){this[ce](m)}a instanceof Promise&&a.catch(m=>this[ce](m))}else t()})}async fetch(t,r){return this.closed?Promise.reject(new this.DOMException("Failed to execute 'fetch' on 'Window': The window is closed.",A.invalidStateError)):await new zo({browserFrame:y(this,vt),window:this,url:t,init:r}).send()}btoa(t){return Dy.btoa(t)}atob(t){return Dy.atob(t)}postMessage(t,r="*",o){if(!this.closed){if(r&&r!=="*"&&this.location.origin!==r)throw new this.DOMException(`Failed to execute 'postMessage' on 'Window': The target origin provided ('${r}') does not match the recipient window's origin ('${this.location.origin}').`,A.securityError);try{JSON.stringify(t)}catch{throw new this.DOMException("Failed to execute 'postMessage' on 'Window': The provided message cannot be serialized.",A.invalidStateError)}this.setTimeout(()=>this.dispatchEvent(new Zy("message",{data:t,origin:y(this,vt).parentFrame?y(this,vt).parentFrame.window.location.origin:y(this,vt).window.location.origin,source:y(this,vt).parentFrame?y(this,vt).parentFrame.window:y(this,vt).window,lastEventId:""})))}}resizeTo(t,r){if(!this.closed){if(!t||!r)throw new this.DOMException(`Failed to execute 'resizeTo' on 'Window': 2 arguments required, but only ${arguments.length} present.`);y(this,vt)[yl]&&y(this,vt).page.setViewport({width:t,height:r})}}resizeBy(t,r){if(!this.closed){if(!t||!r)throw new this.DOMException(`Failed to execute 'resizeBy' on 'Window': 2 arguments required, but only ${arguments.length} present.`);if(y(this,vt)[yl]){let o=y(this,vt).page.viewport;y(this,vt).page.setViewport({width:o.width+t,height:o.height+r})}}}[(hV=Aa,cV=li,pV=ai,yV=je,mV=Kg,uV=Jg,aV=Zg,lV=Qg,nV=Ra,sV=Ji,iV=Oo,oV=u,rV=CP,eV=Sa,tV=Da,QO=Ln,ZO=dm,JO=_a,ce)](t){y(this,vt).page.console.error(t),this.dispatchEvent(new Fn("error",{message:t.message,error:t}))}[zi](t,r){return new fw.Script(t,r).runInContext(this)}[Ph](){fw.isContext(this)||(fw.createContext(this),XT.runInContext(this))}[kP](){let t=y(this,vt);(n_||l_)&&t.page.context.browser.settings.enableJavaScriptEvaluation&&!t.page.context.browser.settings.suppressInsecureJavaScriptEnvironmentWarning&&!t.page.context.browser.settings.suppressCodeGenerationFromStringsWarning&&console.warn(`
223
+ Warning! Happy DOM has JavaScript evaluation enabled and is running in an insecure environment.
224
+
225
+ A VM Context is not an isolated environment, and if you run untrusted code you are at risk of RCE (Remote Code Execution) attacks. The attacker can escape the VM and run code at process level.
226
+
227
+ It is recommended to disable code generation and freeze all builtins at process level by running node with the flags "--disallow-code-generation-from-strings" and "--frozen-intrinsics". You can suppress this warning by setting "suppressInsecureJavaScriptEnvironmentWarning" to "true" at your own risk.
228
+
229
+ For more information, see https://github.com/capricorn86/happy-dom/wiki/JavaScript-Evaluation-Warning
230
+
231
+ `)}[ue](){if(this.closed)return;super[ue](),this.closed=!0;let t=this[Aa];for(let n of t)n[ue]&&n[ue]();this[Aa]=[];for(let n of this[_a])n[ue]();this[_a]=[],this.document[ue]();let r=this.document.createElement("html"),o=this.document.createElement("head"),i=this.document.createElement("body");r.appendChild(o),r.appendChild(i),this.document[Et](r),this.location[ue]&&this.location[ue](),this.customElements[ue]&&this.customElements[ue](),this.history[ue]&&this.history[ue](),this[Ln].json.clear(),this[Ln].css.clear(),this[Ln].esm.clear(),this.document[xo].clear(),this.document[$e]=null,this.document[xa]=null,this.document[ji]=null,this.document[om]=null,this[Oo]=null,this[Ji]=null,it.removeWindowBrowserFrameRelation(this)}[NP](){for(let t of[Pw,_t]){let r=Object.getOwnPropertyDescriptors(t.prototype),o=Object.keys(r);for(let i of o){let n=r[i];n.get||n.set?Object.defineProperty(this,i,{...n,get:n.get?.bind(this),set:n.set?.bind(this)}):i!=="constructor"&&typeof n.value=="function"&&!n.value.toString().startsWith("class ")&&Object.defineProperty(this,i,{...n,value:n.value.bind(this)})}}}};vt=new WeakMap,sh=new WeakMap,nh=new WeakMap,lh=new WeakMap,ah=new WeakMap,uh=new WeakMap,Rg=new WeakMap,Og=new WeakMap,Vg=new WeakMap;var Ai=Pw;var dV,bV,fV,gV,SV,PV;PV=bt,SV=fe,gV=wo,fV=Xi,bV=yl,dV=je;var mh=class{constructor(e){s(this,"childFrames",[]);s(this,"parentFrame",null);s(this,"page");s(this,"window");s(this,"closed",!1);s(this,PV,new ts(this));s(this,SV,{navigation:[]});s(this,gV,null);s(this,fV,null);s(this,bV,!1);s(this,dV,new Jm);this.page=e,this.window=new Ai(this),e.context.browser[_r]&&e.context.browser[_r].observe(this.window)}get content(){return this.window.document.documentElement.outerHTML}set content(e){this.window.document[Qs]=!0,this.window.document[tn]=!1,this.window.document.open(),this.window.document.write(e)}get url(){return this.window.location.href}set url(e){this.window[ai][ao](this,vo.getRelativeURL(this,e).href)}get document(){return this.window?.document??null}async waitUntilComplete(){await Promise.all([this[bt].waitUntilComplete(),...this.childFrames.map(e=>e.waitUntilComplete())])}waitForNavigation(){return new Promise(e=>this[fe].navigation.push(e))}abort(){return this.childFrames.length?new Promise((e,t)=>{Promise.all(this.childFrames.map(r=>r.abort()).concat([this[bt].abort()])).then(()=>e()).catch(t)}):this[bt].abort()}evaluate(e){return Xl.evaluate(this,e)}evaluateModule(e){return Xl.evaluateModule(this,e)}goto(e,t){return so.navigate({windowClass:Ai,frame:this,url:e,goToOptions:t})}goBack(e){return so.navigateBack({windowClass:Ai,frame:this,goToOptions:e})}goForward(e){return so.navigateForward({windowClass:Ai,frame:this,goToOptions:e})}goSteps(e,t){return so.navigateSteps({windowClass:Ai,frame:this,steps:e,goToOptions:t})}reload(e){return so.reload({windowClass:Ai,frame:this,goToOptions:e})}};var Lr,Ku,yh,hy,Qt,Ju=class{constructor(e){x(this,Lr);x(this,Ku,{});x(this,yh,{});x(this,hy,0);x(this,Qt,[]);w(this,Lr,e)}assert(e,t,...r){e||y(this,Lr).print({type:Xe.assert,level:Vr.error,message:["Assertion failed:",...t?[t,...r]:r],group:y(this,Qt)[y(this,Qt).length-1]||null})}clear(){y(this,Lr).clear()}count(e="default"){y(this,Ku)[e]||(y(this,Ku)[e]=0),y(this,Ku)[e]++,y(this,Lr).print({type:Xe.count,level:Vr.info,message:[`${e}: ${y(this,Ku)[e]}`],group:y(this,Qt)[y(this,Qt).length-1]||null})}countReset(e="default"){delete y(this,Ku)[e],y(this,Lr).print({type:Xe.countReset,level:Vr.warn,message:[`${e}: 0`],group:y(this,Qt)[y(this,Qt).length-1]||null})}debug(e,...t){y(this,Lr).print({type:Xe.debug,level:Vr.log,message:e?[e,...t]:t,group:y(this,Qt)[y(this,Qt).length-1]||null})}dir(e){y(this,Lr).print({type:Xe.dir,level:Vr.log,message:[e],group:y(this,Qt)[y(this,Qt).length-1]||null})}dirxml(e){y(this,Lr).print({type:Xe.dirxml,level:Vr.log,message:[e],group:y(this,Qt)[y(this,Qt).length-1]||null})}error(e,...t){y(this,Lr).print({type:Xe.error,level:Vr.error,message:e?[e,...t]:t,group:y(this,Qt)[y(this,Qt).length-1]||null})}exception(...e){this.error(...e)}group(e){tP(this,hy)._++;let t={id:y(this,hy),label:e||"default",collapsed:!1,parent:y(this,Qt)[y(this,Qt).length-1]||null};y(this,Qt).push(t),y(this,Lr).print({type:Xe.group,level:Vr.log,message:[e||"default"],group:t})}groupCollapsed(e){tP(this,hy)._++;let t={id:y(this,hy),label:e||"default",collapsed:!0,parent:y(this,Qt)[y(this,Qt).length-1]||null};y(this,Qt).push(t),y(this,Lr).print({type:Xe.groupCollapsed,level:Vr.log,message:[e||"default"],group:t})}groupEnd(){y(this,Qt).length!==0&&y(this,Qt).pop()}info(e,...t){y(this,Lr).print({type:Xe.info,level:Vr.info,message:e?[e,...t]:t,group:y(this,Qt)[y(this,Qt).length-1]||null})}log(e,...t){y(this,Lr).print({type:Xe.log,level:Vr.log,message:e?[e,...t]:t,group:y(this,Qt)[y(this,Qt).length-1]||null})}profile(){throw new Error("Method not implemented.")}profileEnd(){throw new Error("Method not implemented.")}table(e){y(this,Lr).print({type:Xe.table,level:Vr.log,message:[e],group:y(this,Qt)[y(this,Qt).length-1]||null})}time(e="default"){y(this,yh)[e]=performance.now()}timeEnd(e="default"){let t=y(this,yh)[e];if(t){let r=performance.now()-t;y(this,Lr).print({type:Xe.timeEnd,level:Vr.info,message:[`${e}: ${r}ms - timer ended`],group:y(this,Qt)[y(this,Qt).length-1]||null})}}timeLog(e="default",...t){let r=y(this,yh)[e];if(r){let o=performance.now()-r;y(this,Lr).print({type:Xe.timeLog,level:Vr.info,message:[`${e}: ${o}ms`,...t],group:y(this,Qt)[y(this,Qt).length-1]||null})}}timeStamp(){throw new Error("Method not implemented.")}trace(e,...t){y(this,Lr).print({type:Xe.trace,level:Vr.log,message:[...e?[e,...t]:t,new Error("stack").stack.replace("Error: stack","")],group:y(this,Qt)[y(this,Qt).length-1]||null})}warn(e,...t){y(this,Lr).print({type:Xe.warn,level:Vr.warn,message:e?[e,...t]:t,group:y(this,Qt)[y(this,Qt).length-1]||null})}};Lr=new WeakMap,Ku=new WeakMap,yh=new WeakMap,hy=new WeakMap,Qt=new WeakMap;var da=class{static getFrames(e){return this.findFrames(e.mainFrame)}static closePage(e){if(e.closed)return Promise.resolve();e.closed=!0;let t=e.context.pages.indexOf(e);return t!==-1&&e.context.pages.splice(t,1),e.virtualConsolePrinter.close(),_s.destroyFrame(e.mainFrame)}static findFrames(e){let t=[e];for(let r of e.childFrames)t=t.concat(this.findFrames(r));return t}};var ph=class{constructor(e){s(this,"virtualConsolePrinter",new Ga);s(this,"mainFrame");s(this,"context");s(this,"console");s(this,"viewport");s(this,"closed",!1);this.context=e,this.console=e.browser.console??new Ju(this.virtualConsolePrinter),this.mainFrame=new mh(this),this.viewport={width:e.browser.settings.viewport.width,height:e.browser.settings.viewport.height,devicePixelRatio:e.browser.settings.viewport.devicePixelRatio}}get frames(){return da.getFrames(this)}get content(){return this.mainFrame.content}set content(e){this.mainFrame.content=e}get url(){return this.mainFrame.url}set url(e){this.mainFrame.url=e}close(){return da.closePage(this)}waitUntilComplete(){return this.mainFrame.waitUntilComplete()}waitForNavigation(){return this.mainFrame.waitForNavigation()}abort(){return this.mainFrame.abort()}evaluate(e){return this.mainFrame.evaluate(e)}evaluateModule(e){return this.mainFrame.evaluateModule(e)}setViewport(e){let t=Object.assign({},this.viewport);Object.assign(this.viewport,e),(t.width!==this.viewport.width||t.height!==this.viewport.height||t.devicePixelRatio!==this.viewport.devicePixelRatio)&&this.mainFrame.window.dispatchEvent(new R("resize"))}goto(e,t){return this.mainFrame.goto(e,t)}goBack(e){return this.mainFrame.goBack(e)}goForward(e){return this.mainFrame.goForward(e)}goSteps(e,t){return this.mainFrame.goSteps(e,t)}reload(e){return this.mainFrame.reload(e)}};var Zu,dy=class{constructor(){x(this,Zu,new Map)}get(e){let t=y(this,Zu).get(e.url);return t?t.expires<Date.now()?(y(this,Zu).delete(e.url),null):t:null}add(e,t){if(y(this,Zu).delete(e.url),e.headers.get("Cache-Control")?.includes("no-cache")||t.status<200||t.status>=300)return null;let r=t.headers.get("Access-Control-Max-Age"),o=t.headers.get("Access-Control-Allow-Origin");if(!r||!o)return null;let i=[];if(t.headers.has("Access-Control-Allow-Methods")&&t.headers.get("Access-Control-Allow-Methods")!=="*")for(let m of t.headers.get("Access-Control-Allow-Methods").split(","))i.push(m.trim().toUpperCase());let n={allowOrigin:o,allowMethods:i,expires:Date.now()+parseInt(r)*1e3};return isNaN(n.expires)||n.expires<Date.now()?null:(y(this,Zu).set(e.url,n),n)}clear(){y(this,Zu).clear()}};Zu=new WeakMap;var by=class{constructor(e){s(this,"pages",[]);s(this,"browser");s(this,"cookieContainer",new gm);s(this,"responseCache",new Pm);s(this,"preflightResponseCache",new dy);s(this,"closed",!1);this.browser=e}async close(){if(this.closed)return;if(this.browser.contexts[0]===this)throw new Error("Cannot close the default context. Use `browser.close()` to close the browser instead.");this.closed=!0,await Promise.all(this.pages.slice().map(r=>r.close()));let e=this.browser,t=e.contexts.indexOf(this);t!==-1&&e.contexts.splice(t,1),this.pages=[],this.cookieContainer.clearCookies(),this.responseCache.clear(),this.preflightResponseCache.clear()}async waitUntilComplete(){await Promise.all(this.pages.map(e=>e.waitUntilComplete()))}abort(){return new Promise((e,t)=>{if(!this.pages.length){e();return}Promise.all(this.pages.slice().map(r=>r.abort())).then(()=>e()).catch(r=>t(r))})}newPage(){let e=new ph(this);return this.pages.push(e),e}};var wV={version:"20.3.4"};var Ks={disableJavaScriptEvaluation:!1,enableJavaScriptEvaluation:!1,disableJavaScriptFileLoading:!1,disableCSSFileLoading:!1,disableIframePageLoading:!1,disableComputedStyleRendering:!1,handleDisabledFileLoadingAsSuccess:!1,disableErrorCapturing:!1,errorCapture:me.tryAndCatch,enableFileSystemHttpRequests:!1,suppressCodeGenerationFromStringsWarning:!1,suppressInsecureJavaScriptEnvironmentWarning:!1,timer:{maxTimeout:-1,maxIntervalTime:-1,maxIntervalIterations:-1,preventTimerLoops:!1},fetch:{disableSameOriginPolicy:!1,disableStrictSSL:!1,interceptor:null,requestHeaders:null,virtualServers:null},module:{resolveNodeModules:null,urlResolver:null},navigation:{disableMainFrameNavigation:!1,disableChildFrameNavigation:!1,disableChildPageNavigation:!1,disableFallbackToSetURL:!1,crossOriginPolicy:Tp.anyOrigin,beforeContentCallback:null},navigator:{userAgent:`Mozilla/5.0 (X11; ${process.platform.charAt(0).toUpperCase()+process.platform.slice(1)+" "+process.arch}) AppleWebKit/537.36 (KHTML, like Gecko) HappyDOM/${wV.version}`,maxTouchPoints:0},device:{prefersColorScheme:"light",prefersReducedMotion:"no-preference",mediaType:"screen",forcedColors:"none"},debug:{traceWaitUntilComplete:-1},viewport:{width:1024,height:768,devicePixelRatio:1}};var fy=class{static createSettings(e){return e&&this.validate(Ks,e),{...Ks,...e,navigation:{...Ks.navigation,...e?.navigation},navigator:{...Ks.navigator,...e?.navigator},timer:{...Ks.timer,...e?.timer},fetch:{...Ks.fetch,...e?.fetch},module:{...Ks.module,...e?.module},device:{...Ks.device,...e?.device},debug:{...Ks.debug,...e?.debug},viewport:{...Ks.viewport,...e?.viewport}}}static validate(e,t,r){for(let o of Object.keys(t)){if(e[o]===void 0){let i=r?r+"."+o:o;throw new Error(`Unknown browser setting "${i}"`)}if(typeof e[o]=="object"&&!Array.isArray(e[o])&&e[o]!==null){let i=r?r+"."+o:o;if(typeof t[o]!="object"||Array.isArray(t[o])||t[o]===null)throw new Error(`Browser setting "${i}" cannot be null`);this.validate(e[o],t[o],i)}else if((typeof e[o]=="boolean"||typeof e[o]=="number"||typeof e[o]=="string")&&typeof t[o]!=typeof e[o]&&!(o==="preventTimerLoops"&&typeof t[o]=="object"&&t[o]!==null)){let n=r?r+"."+o:o;throw new Error(`Browser setting "${n}" must be of type "${typeof e[o]}"`)}}}};var Qu=class{constructor(){s(this,"observedWindows",[]);s(this,"uncaughtExceptionListener",null);s(this,"uncaughtRejectionListener",null)}observe(e){if(this.observedWindows.includes(e))throw new Error("Browser window is already being observed.");this.observedWindows.push(e),!this.uncaughtExceptionListener&&(this.uncaughtExceptionListener=(t,r)=>{if(r==="unhandledRejection")return;let o=null;for(let i of this.observedWindows)if(t instanceof i.Error||t instanceof i.DOMException){o=i;break}o?(o.console.error(t),o.dispatchEvent(new o.ErrorEvent("error",{error:t,message:t.message}))):process.listenerCount("uncaughtException")===this.constructor.listenerCount&&(console.error(t),process.exit(1))},this.uncaughtRejectionListener=t=>{let r=null;for(let o of this.observedWindows)if(t instanceof o.Error||t instanceof o.DOMException){r=o;break}r?(r.console.error(t),r.dispatchEvent(new r.ErrorEvent("error",{error:t,message:t.message}))):process.listenerCount("unhandledRejection")===this.constructor.listenerCount&&(console.error(t),process.exit(1))},this.constructor.listenerCount++,process.on("uncaughtException",this.uncaughtExceptionListener),process.on("unhandledRejection",this.uncaughtRejectionListener))}disconnect(e){let t=this.observedWindows.indexOf(e);t!==-1&&(this.observedWindows.splice(t,1),this.observedWindows.length===0&&this.uncaughtExceptionListener&&(this.constructor.listenerCount--,process.off("uncaughtException",this.uncaughtExceptionListener),this.uncaughtRejectionListener&&process.off("unhandledRejection",this.uncaughtRejectionListener),this.uncaughtExceptionListener=null,this.uncaughtRejectionListener=null))}};s(Qu,"listenerCount",0);var xV;xV=_r;var ZS=class{constructor(e){s(this,"contexts");s(this,"settings");s(this,"console");s(this,xV,null);this.console=e?.console||null,this.settings=fy.createSettings(e?.settings),this.settings.errorCapture===me.processLevel&&(this[_r]=new Qu),this.contexts=[new by(this)]}get closed(){return this.contexts.length===0}get defaultContext(){if(this.contexts.length===0)throw new Error("No default context. The browser has been closed.");return this.contexts[0]}async close(){if(this.contexts.length===0)return;let e=this.contexts;this.contexts=[],await Promise.all(e.map(t=>t.close()))}async waitUntilComplete(){if(this.contexts.length===0)throw new Error("No default context. The browser has been closed.");await Promise.all(this.contexts.map(e=>e.waitUntilComplete()))}abort(){return new Promise((e,t)=>{if(!this.contexts.length){e();return}Promise.all(this.contexts.slice().map(r=>r.abort())).then(()=>e()).catch(r=>t(r))})}newIncognitoContext(){if(this.contexts.length===0)throw new Error("No default context. The browser has been closed.");let e=new by(this);return this.contexts.push(e),e}newPage(){if(this.contexts.length===0)throw new Error("No default context. The browser has been closed.");return this.contexts[0].newPage()}};var gy=class{constructor(e){s(this,"virtualConsolePrinter",new Ga);s(this,"mainFrame");s(this,"context");s(this,"console");s(this,"viewport");s(this,"closed",!1);this.context=e,this.console=e.browser.console??new Ju(this.virtualConsolePrinter),this.mainFrame=new Cu(this),this.viewport={width:e.browser.settings.viewport.width,height:e.browser.settings.viewport.height,devicePixelRatio:e.browser.settings.viewport.devicePixelRatio}}get frames(){return da.getFrames(this)}get content(){return this.mainFrame.content}set content(e){this.mainFrame.content=e}get url(){return this.mainFrame.url}set url(e){this.mainFrame.url=e}close(){return new Promise((e,t)=>{let r=this.context;da.closePage(this).then(()=>{r.pages[0]===this?r.browser.close().then(e).catch(t):e()}).catch(t)})}waitUntilComplete(){return this.mainFrame.waitUntilComplete()}waitForNavigation(){return this.mainFrame.waitForNavigation()}abort(){return this.mainFrame.abort()}evaluate(e){return this.mainFrame.evaluate(e)}evaluateModule(e){return this.mainFrame.evaluateModule(e)}setViewport(e){let t=Object.assign({},this.viewport);Object.assign(this.viewport,e),(t.width!==this.viewport.width||t.height!==this.viewport.height||t.devicePixelRatio!==this.viewport.devicePixelRatio)&&this.mainFrame.window.dispatchEvent(new R("resize"))}goto(e,t){return this.mainFrame.goto(e,t)}goBack(e){return this.mainFrame.goBack(e)}goForward(e){return this.mainFrame.goForward(e)}goSteps(e,t){return this.mainFrame.goSteps(e,t)}reload(e){return this.mainFrame.reload(e)}};var ch=class{constructor(e){s(this,"pages");s(this,"browser");s(this,"cookieContainer",new gm);s(this,"responseCache",new Pm);s(this,"preflightResponseCache",new dy);s(this,"closed",!1);this.browser=e,this.pages=[],this.pages.push(new gy(this))}async close(){if(this.closed)return;if(this.browser.contexts[0]===this)throw new Error("Cannot close the default context. Use `browser.close()` to close the browser instead.");this.closed=!0,await Promise.all(this.pages.slice().map(r=>r.close()));let e=this.browser,t=e.contexts.indexOf(this);t!==-1&&e.contexts.splice(t,1),this.pages=[],this.cookieContainer.clearCookies(),this.responseCache.clear(),this.preflightResponseCache.clear()}async waitUntilComplete(){await Promise.all(this.pages.map(e=>e.waitUntilComplete()))}abort(){return new Promise((e,t)=>{if(!this.pages.length){e();return}Promise.all(this.pages.slice().map(r=>r.abort())).then(()=>e()).catch(r=>t(r))})}newPage(){let e=new gy(this);return this.pages.push(e),e}};var EV;EV=_r;var hh=class{constructor(e,t){s(this,"contexts");s(this,"settings");s(this,"console");s(this,"windowClass");s(this,EV,null);this.windowClass=e,this.console=t?.console||null,this.settings=fy.createSettings(t?.settings),this.settings.errorCapture===me.processLevel&&(this[_r]=new Qu),this.contexts=[],this.contexts.push(new ch(this))}get closed(){return this.contexts.length===0}get defaultContext(){if(this.contexts.length===0)throw new Error("No default context. The browser has been closed.");return this.contexts[0]}async close(){if(this.contexts.length===0)return;let e=this.contexts;this.contexts=[],await Promise.all(e.map(t=>t.close()))}async waitUntilComplete(){await Promise.all(this.contexts.map(e=>e.waitUntilComplete()))}abort(){return new Promise((e,t)=>{if(!this.contexts.length){e();return}Promise.all(this.contexts.slice().map(r=>r.abort())).then(()=>e()).catch(r=>t(r))})}newIncognitoContext(){throw new Error("Not possible to create a new context on a detached browser.")}newPage(){if(this.contexts.length===0)throw new Error("No default context. The browser has been closed.");return this.contexts[0].newPage()}};var Js,dh=class{constructor(e){x(this,Js);w(this,Js,e)}get settings(){return y(this,Js).page.context.browser.settings}get virtualConsolePrinter(){return y(this,Js).page.virtualConsolePrinter}waitUntilComplete(){return y(this,Js).waitUntilComplete()}whenAsyncComplete(){return this.waitUntilComplete()}abort(){return y(this,Js).abort()}cancelAsync(){return this.abort()}close(){return y(this,Js).page.close()}setURL(e){y(this,Js).url=e}setViewport(e){y(this,Js).page.setViewport(e)}setWindowSize(e){this.setViewport({width:e?.width,height:e?.height})}setInnerWidth(e){this.setViewport({width:e})}setInnerHeight(e){this.setViewport({height:e})}};Js=new WeakMap;var tm=class extends Ai{constructor(t){let o=new hh(Ai,{console:t?.console,settings:t?.settings}).defaultContext.pages[0],i=o.mainFrame;t&&(t.width||t.height||t.innerWidth||t.innerHeight)&&Object.assign(o.viewport,{width:t.width||t.innerWidth||o.viewport.width,height:t.height||t.innerHeight||o.viewport.height});super(i,{url:t?.url});s(this,"happyDOM");i.window=this,i.page.context.browser[_r]&&i.page.context.browser[_r].observe(this),this.happyDOM=new dh(i)}};import{Buffer as a_}from"buffer";var QS=class extends tm{constructor(){super(...arguments);s(this,"Array",globalThis.Array);s(this,"ArrayBuffer",globalThis.ArrayBuffer);s(this,"Boolean",globalThis.Boolean);s(this,"Buffer",a_);s(this,"DataView",globalThis.DataView);s(this,"Date",globalThis.Date);s(this,"Error",globalThis.Error);s(this,"EvalError",globalThis.EvalError);s(this,"Float32Array",globalThis.Float32Array);s(this,"Float64Array",globalThis.Float64Array);s(this,"Function",globalThis.Function);s(this,"Infinity",globalThis.Infinity);s(this,"Int16Array",globalThis.Int16Array);s(this,"Int32Array",globalThis.Int32Array);s(this,"Int8Array",globalThis.Int8Array);s(this,"Intl",globalThis.Intl);s(this,"JSON",globalThis.JSON);s(this,"Map",globalThis.Map);s(this,"Math",globalThis.Math);s(this,"NaN",globalThis.NaN);s(this,"Number",globalThis.Number);s(this,"Object",globalThis.Object);s(this,"Promise",globalThis.Promise);s(this,"RangeError",globalThis.RangeError);s(this,"ReferenceError",globalThis.ReferenceError);s(this,"RegExp",globalThis.RegExp);s(this,"Set",globalThis.Set);s(this,"String",globalThis.String);s(this,"Symbol",globalThis.Symbol);s(this,"SyntaxError",globalThis.SyntaxError);s(this,"TypeError",globalThis.TypeError);s(this,"URIError",globalThis.URIError);s(this,"Uint16Array",globalThis.Uint16Array);s(this,"Uint32Array",globalThis.Uint32Array);s(this,"Uint8Array",globalThis.Uint8Array);s(this,"Uint8ClampedArray",globalThis.Uint8ClampedArray);s(this,"WeakMap",globalThis.WeakMap);s(this,"WeakSet",globalThis.WeakSet);s(this,"decodeURI",globalThis.decodeURI);s(this,"decodeURIComponent",globalThis.decodeURIComponent);s(this,"encodeURI",globalThis.encodeURI);s(this,"encodeURIComponent",globalThis.encodeURIComponent);s(this,"eval",globalThis.eval);s(this,"escape",globalThis.escape);s(this,"global",globalThis);s(this,"isFinite",globalThis.isFinite);s(this,"isNaN",globalThis.isNaN);s(this,"parseFloat",globalThis.parseFloat);s(this,"parseInt",globalThis.parseInt);s(this,"undefined",globalThis.undefined);s(this,"unescape",globalThis.unescape)}[zi](t,r){return r?.filename?this.eval(`${t}
232
+ //# sourceURL=${r.filename}`):this.eval(t)}[Ph](){}};var vV=async({dir:l,pages:e},t)=>{let r=m_(l),o=t.build?.assets||"_astro",i=t.base==="/"?"":t.base,n=0;for(let a of e){let m=Ig.join(r,a.pathname,"index.html");if(!Sy.existsSync(m)){let J=Ig.join(r,a.pathname+".html");if(!Sy.existsSync(J))continue;m=J}let p=Sy.readFileSync(m,"utf-8"),d=new tm().document;d.write(p);let f=d.body.querySelectorAll("style[data-ssr-emotion]");if(!f.length)continue;let v=Array.from(f).map(J=>J.textContent).join(`
233
+ `).trim();if(!v)continue;let C=u_.randomBytes(4).toString("hex"),L=`${o}/ssremo.${C}.css`,j=Ig.join(r,L);Sy.existsSync(Ig.dirname(j))||Sy.mkdirSync(Ig.dirname(j),{recursive:!0}),Sy.writeFileSync(j,v),f.forEach(J=>J.remove());let et=d.createElement("link");et.rel="stylesheet",et.href=`${i}/${L}`,d.head.appendChild(et),console.log(`[SSR Emotion] ${et.href}`),n++,Sy.writeFileSync(m,`<!DOCTYPE html>
234
+ `+d.documentElement.outerHTML)}n&&console.log("")};function Jxt(){let l=null;return{name:"ssr-emotion-react",hooks:{"astro:config:setup":({addRenderer:e,updateConfig:t,injectScript:r,config:o,command:i})=>{e({name:"ssr-emotion-react",serverEntrypoint:"ssr-emotion-react/astro/render",clientEntrypoint:"ssr-emotion-react/astro/client"}),l=o;let n=o.vite?.plugins?.some(a=>a&&(a.name==="vite:react-babel"||a.name==="vite:react-jsx"))||o.integrations?.some(a=>a.name==="@astrojs/react");i==="dev"&&!n&&r("before-hydration",`
3
235
  window.$RefreshReg$ = window.$RefreshReg$ || (() => {});
4
236
  window.$RefreshSig$ = window.$RefreshSig$ || (() => (type) => type);
5
- `),o({vite:{plugins:r?[]:[a({fastRefresh:!1})],ssr:{external:["@emotion/css","@emotion/server"]}}})}}}}export{c as default};
237
+ `),t({vite:{plugins:n?[]:[y_()],ssr:{external:["@emotion/css","@emotion/server"]}}})},"astro:build:done":async e=>await vV(e,l)}}}export{Jxt as default};