lintroll 1.5.0 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -8,7 +8,7 @@ ${m}`),i?s.reset(m):m}function Xu(t,e,n,i={}){if(!Ra){Ra=!0;const l="Passing lin
|
|
|
8
8
|
`,l-1))s++;return{line:s,column:i}}function Fa(t,e,{oneBased:n=!1}={}){if(e<0||e>=t.length&&t.length>0)throw new RangeError("Index out of bounds");const i=zu(t,e);return n?{line:i.line+1,column:i.column+1}:i}const qu=t=>`\\u{${t.codePointAt(0).toString(16)}}`;class mo extends Error{name="JSONError";fileName;codeFrame;rawCodeFrame;#n;constructor(e){super(),this.#n=e,Error.captureStackTrace?.(this,mo)}get message(){const{fileName:e,codeFrame:n}=this;return`${this.#n}${e?` in ${e}`:""}${n?`
|
|
9
9
|
|
|
10
10
|
${n}
|
|
11
|
-
`:""}`}set message(e){this.#n=e}}const $a=(t,e,n=!0)=>Bu(t,{start:e},{highlightCode:n}),Ju=(t,e)=>{const n=e.match(/in JSON at position (?<index>\d+)(?: \(line (?<line>\d+) column (?<column>\d+)\))?$/);if(!n)return;let{index:i,line:s,column:l}=n.groups;if(s&&l)return{line:Number(s),column:Number(l)};if(i=Number(i),i===t.length){const{line:u,column:E}=Fa(t,t.length-1,{oneBased:!0});return{line:u,column:E+1}}return Fa(t,i,{oneBased:!0})},Qu=t=>t.replace(/(?<=^Unexpected token )(?<quote>')?(.)\k<quote>/,(e,n,i)=>`"${i}"(${qu(i)})`);function Zu(t,e,n){let i;try{return JSON.parse(t,e)}catch(u){i=u.message}let s;t?(s=Ju(t,i),i=Qu(i)):i+=" while parsing empty string";const l=new mo(i);throw l.fileName=n,s&&(l.codeFrame=$a(t,s),l.rawCodeFrame=$a(t,s,!1)),l}const ep=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};var ka=ep;const tp="2.0.0",Na=256,rp=Number.MAX_SAFE_INTEGER||9007199254740991,np=16,ip=Na-6,sp=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var Ba={MAX_LENGTH:Na,MAX_SAFE_COMPONENT_LENGTH:np,MAX_SAFE_BUILD_LENGTH:ip,MAX_SAFE_INTEGER:rp,RELEASE_TYPES:sp,SEMVER_SPEC_VERSION:tp,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},Bs={exports:{}};(function(t,e){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:i,MAX_LENGTH:s}=Ba,l=ka;e=t.exports={};const u=e.re=[],E=e.safeRe=[],a=e.src=[],c=e.t={};let f=0;const p="[a-zA-Z0-9-]",d=[["\\s",1],["\\d",s],[p,i]],y=h=>{for(const[g,S]of d)h=h.split(`${g}*`).join(`${g}{0,${S}}`).split(`${g}+`).join(`${g}{1,${S}}`);return h},m=(h,g,S)=>{const O=y(g),w=f++;l(h,w,g),c[h]=w,a[w]=g,u[w]=new RegExp(g,S?"g":void 0),E[w]=new RegExp(O,S?"g":void 0)};m("NUMERICIDENTIFIER","0|[1-9]\\d*"),m("NUMERICIDENTIFIERLOOSE","\\d+"),m("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${p}*`),m("MAINVERSION",`(${a[c.NUMERICIDENTIFIER]})\\.(${a[c.NUMERICIDENTIFIER]})\\.(${a[c.NUMERICIDENTIFIER]})`),m("MAINVERSIONLOOSE",`(${a[c.NUMERICIDENTIFIERLOOSE]})\\.(${a[c.NUMERICIDENTIFIERLOOSE]})\\.(${a[c.NUMERICIDENTIFIERLOOSE]})`),m("PRERELEASEIDENTIFIER",`(?:${a[c.NUMERICIDENTIFIER]}|${a[c.NONNUMERICIDENTIFIER]})`),m("PRERELEASEIDENTIFIERLOOSE",`(?:${a[c.NUMERICIDENTIFIERLOOSE]}|${a[c.NONNUMERICIDENTIFIER]})`),m("PRERELEASE",`(?:-(${a[c.PRERELEASEIDENTIFIER]}(?:\\.${a[c.PRERELEASEIDENTIFIER]})*))`),m("PRERELEASELOOSE",`(?:-?(${a[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${a[c.PRERELEASEIDENTIFIERLOOSE]})*))`),m("BUILDIDENTIFIER",`${p}+`),m("BUILD",`(?:\\+(${a[c.BUILDIDENTIFIER]}(?:\\.${a[c.BUILDIDENTIFIER]})*))`),m("FULLPLAIN",`v?${a[c.MAINVERSION]}${a[c.PRERELEASE]}?${a[c.BUILD]}?`),m("FULL",`^${a[c.FULLPLAIN]}$`),m("LOOSEPLAIN",`[v=\\s]*${a[c.MAINVERSIONLOOSE]}${a[c.PRERELEASELOOSE]}?${a[c.BUILD]}?`),m("LOOSE",`^${a[c.LOOSEPLAIN]}$`),m("GTLT","((?:<|>)?=?)"),m("XRANGEIDENTIFIERLOOSE",`${a[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),m("XRANGEIDENTIFIER",`${a[c.NUMERICIDENTIFIER]}|x|X|\\*`),m("XRANGEPLAIN",`[v=\\s]*(${a[c.XRANGEIDENTIFIER]})(?:\\.(${a[c.XRANGEIDENTIFIER]})(?:\\.(${a[c.XRANGEIDENTIFIER]})(?:${a[c.PRERELEASE]})?${a[c.BUILD]}?)?)?`),m("XRANGEPLAINLOOSE",`[v=\\s]*(${a[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[c.XRANGEIDENTIFIERLOOSE]})(?:${a[c.PRERELEASELOOSE]})?${a[c.BUILD]}?)?)?`),m("XRANGE",`^${a[c.GTLT]}\\s*${a[c.XRANGEPLAIN]}$`),m("XRANGELOOSE",`^${a[c.GTLT]}\\s*${a[c.XRANGEPLAINLOOSE]}$`),m("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),m("COERCE",`${a[c.COERCEPLAIN]}(?:$|[^\\d])`),m("COERCEFULL",a[c.COERCEPLAIN]+`(?:${a[c.PRERELEASE]})?(?:${a[c.BUILD]})?(?:$|[^\\d])`),m("COERCERTL",a[c.COERCE],!0),m("COERCERTLFULL",a[c.COERCEFULL],!0),m("LONETILDE","(?:~>?)"),m("TILDETRIM",`(\\s*)${a[c.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",m("TILDE",`^${a[c.LONETILDE]}${a[c.XRANGEPLAIN]}$`),m("TILDELOOSE",`^${a[c.LONETILDE]}${a[c.XRANGEPLAINLOOSE]}$`),m("LONECARET","(?:\\^)"),m("CARETTRIM",`(\\s*)${a[c.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",m("CARET",`^${a[c.LONECARET]}${a[c.XRANGEPLAIN]}$`),m("CARETLOOSE",`^${a[c.LONECARET]}${a[c.XRANGEPLAINLOOSE]}$`),m("COMPARATORLOOSE",`^${a[c.GTLT]}\\s*(${a[c.LOOSEPLAIN]})$|^$`),m("COMPARATOR",`^${a[c.GTLT]}\\s*(${a[c.FULLPLAIN]})$|^$`),m("COMPARATORTRIM",`(\\s*)${a[c.GTLT]}\\s*(${a[c.LOOSEPLAIN]}|${a[c.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",m("HYPHENRANGE",`^\\s*(${a[c.XRANGEPLAIN]})\\s+-\\s+(${a[c.XRANGEPLAIN]})\\s*$`),m("HYPHENRANGELOOSE",`^\\s*(${a[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${a[c.XRANGEPLAINLOOSE]})\\s*$`),m("STAR","(<|>)?=?\\s*\\*"),m("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),m("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(Bs,Bs.exports);var op=Bs.exports;const ap=Object.freeze({loose:!0}),lp=Object.freeze({}),cp=t=>t?typeof t!="object"?ap:t:lp;var up=cp;const ja=/^[0-9]+$/,Ga=(t,e)=>{const n=ja.test(t),i=ja.test(e);return n&&i&&(t=+t,e=+e),t===e?0:n&&!i?-1:i&&!n?1:t<e?-1:1},pp=(t,e)=>Ga(e,t);var fp={compareIdentifiers:Ga,rcompareIdentifiers:pp};const gn=ka,{MAX_LENGTH:Wa,MAX_SAFE_INTEGER:vn}=Ba,{safeRe:Ha,t:Ka}=op,Ep=up,{compareIdentifiers:yt}=fp;let dp=class De{constructor(e,n){if(n=Ep(n),e instanceof De){if(e.loose===!!n.loose&&e.includePrerelease===!!n.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>Wa)throw new TypeError(`version is longer than ${Wa} characters`);gn("SemVer",e,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;const i=e.trim().match(n.loose?Ha[Ka.LOOSE]:Ha[Ka.FULL]);if(!i)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+i[1],this.minor=+i[2],this.patch=+i[3],this.major>vn||this.major<0)throw new TypeError("Invalid major version");if(this.minor>vn||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>vn||this.patch<0)throw new TypeError("Invalid patch version");i[4]?this.prerelease=i[4].split(".").map(s=>{if(/^[0-9]+$/.test(s)){const l=+s;if(l>=0&&l<vn)return l}return s}):this.prerelease=[],this.build=i[5]?i[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(gn("SemVer.compare",this.version,this.options,e),!(e instanceof De)){if(typeof e=="string"&&e===this.version)return 0;e=new De(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof De||(e=new De(e,this.options)),yt(this.major,e.major)||yt(this.minor,e.minor)||yt(this.patch,e.patch)}comparePre(e){if(e instanceof De||(e=new De(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let n=0;do{const i=this.prerelease[n],s=e.prerelease[n];if(gn("prerelease compare",n,i,s),i===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(i===void 0)return-1;if(i===s)continue;return yt(i,s)}while(++n)}compareBuild(e){e instanceof De||(e=new De(e,this.options));let n=0;do{const i=this.build[n],s=e.build[n];if(gn("prerelease compare",n,i,s),i===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(i===void 0)return-1;if(i===s)continue;return yt(i,s)}while(++n)}inc(e,n,i){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",n,i);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",n,i);break;case"prepatch":this.prerelease.length=0,this.inc("patch",n,i),this.inc("pre",n,i);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",n,i),this.inc("pre",n,i);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const s=Number(i)?1:0;if(!n&&i===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[s];else{let l=this.prerelease.length;for(;--l>=0;)typeof this.prerelease[l]=="number"&&(this.prerelease[l]++,l=-2);if(l===-1){if(n===this.prerelease.join(".")&&i===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(s)}}if(n){let l=[n,s];i===!1&&(l=[n]),yt(this.prerelease[0],n)===0?isNaN(this.prerelease[1])&&(this.prerelease=l):this.prerelease=l}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};var Tp=dp;const Xa=Tp,Pp=(t,e,n=!1)=>{if(t instanceof Xa)return t;try{return new Xa(t,e)}catch(i){if(!n)return null;throw i}};var za=Pp;const mp=za,yp=(t,e)=>{const n=mp(t,e);return n?n.version:null};var hp=yp;const _p=za,bp=(t,e)=>{const n=_p(t.trim().replace(/^[=v]+/,""),e);return n?n.version:null};var gp=bp,qa=["0BSD","AAL","ADSL","AFL-1.1","AFL-1.2","AFL-2.0","AFL-2.1","AFL-3.0","AGPL-1.0-only","AGPL-1.0-or-later","AGPL-3.0-only","AGPL-3.0-or-later","AMDPLPA","AML","AML-glslang","AMPAS","ANTLR-PD","ANTLR-PD-fallback","APAFML","APL-1.0","APSL-1.0","APSL-1.1","APSL-1.2","APSL-2.0","ASWF-Digital-Assets-1.0","ASWF-Digital-Assets-1.1","Abstyles","AdaCore-doc","Adobe-2006","Adobe-Display-PostScript","Adobe-Glyph","Adobe-Utopia","Afmparse","Aladdin","Apache-1.0","Apache-1.1","Apache-2.0","App-s2p","Arphic-1999","Artistic-1.0","Artistic-1.0-Perl","Artistic-1.0-cl8","Artistic-2.0","BSD-1-Clause","BSD-2-Clause","BSD-2-Clause-Darwin","BSD-2-Clause-Patent","BSD-2-Clause-Views","BSD-3-Clause","BSD-3-Clause-Attribution","BSD-3-Clause-Clear","BSD-3-Clause-HP","BSD-3-Clause-LBNL","BSD-3-Clause-Modification","BSD-3-Clause-No-Military-License","BSD-3-Clause-No-Nuclear-License","BSD-3-Clause-No-Nuclear-License-2014","BSD-3-Clause-No-Nuclear-Warranty","BSD-3-Clause-Open-MPI","BSD-3-Clause-Sun","BSD-3-Clause-acpica","BSD-3-Clause-flex","BSD-4-Clause","BSD-4-Clause-Shortened","BSD-4-Clause-UC","BSD-4.3RENO","BSD-4.3TAHOE","BSD-Advertising-Acknowledgement","BSD-Attribution-HPND-disclaimer","BSD-Inferno-Nettverk","BSD-Protection","BSD-Source-Code","BSD-Source-beginning-file","BSD-Systemics","BSD-Systemics-W3Works","BSL-1.0","BUSL-1.1","Baekmuk","Bahyph","Barr","Beerware","BitTorrent-1.0","BitTorrent-1.1","Bitstream-Charter","Bitstream-Vera","BlueOak-1.0.0","Boehm-GC","Borceux","Brian-Gladman-2-Clause","Brian-Gladman-3-Clause","C-UDA-1.0","CAL-1.0","CAL-1.0-Combined-Work-Exception","CATOSL-1.1","CC-BY-1.0","CC-BY-2.0","CC-BY-2.5","CC-BY-2.5-AU","CC-BY-3.0","CC-BY-3.0-AT","CC-BY-3.0-AU","CC-BY-3.0-DE","CC-BY-3.0-IGO","CC-BY-3.0-NL","CC-BY-3.0-US","CC-BY-4.0","CC-BY-NC-1.0","CC-BY-NC-2.0","CC-BY-NC-2.5","CC-BY-NC-3.0","CC-BY-NC-3.0-DE","CC-BY-NC-4.0","CC-BY-NC-ND-1.0","CC-BY-NC-ND-2.0","CC-BY-NC-ND-2.5","CC-BY-NC-ND-3.0","CC-BY-NC-ND-3.0-DE","CC-BY-NC-ND-3.0-IGO","CC-BY-NC-ND-4.0","CC-BY-NC-SA-1.0","CC-BY-NC-SA-2.0","CC-BY-NC-SA-2.0-DE","CC-BY-NC-SA-2.0-FR","CC-BY-NC-SA-2.0-UK","CC-BY-NC-SA-2.5","CC-BY-NC-SA-3.0","CC-BY-NC-SA-3.0-DE","CC-BY-NC-SA-3.0-IGO","CC-BY-NC-SA-4.0","CC-BY-ND-1.0","CC-BY-ND-2.0","CC-BY-ND-2.5","CC-BY-ND-3.0","CC-BY-ND-3.0-DE","CC-BY-ND-4.0","CC-BY-SA-1.0","CC-BY-SA-2.0","CC-BY-SA-2.0-UK","CC-BY-SA-2.1-JP","CC-BY-SA-2.5","CC-BY-SA-3.0","CC-BY-SA-3.0-AT","CC-BY-SA-3.0-DE","CC-BY-SA-3.0-IGO","CC-BY-SA-4.0","CC-PDDC","CC0-1.0","CDDL-1.0","CDDL-1.1","CDL-1.0","CDLA-Permissive-1.0","CDLA-Permissive-2.0","CDLA-Sharing-1.0","CECILL-1.0","CECILL-1.1","CECILL-2.0","CECILL-2.1","CECILL-B","CECILL-C","CERN-OHL-1.1","CERN-OHL-1.2","CERN-OHL-P-2.0","CERN-OHL-S-2.0","CERN-OHL-W-2.0","CFITSIO","CMU-Mach","CMU-Mach-nodoc","CNRI-Jython","CNRI-Python","CNRI-Python-GPL-Compatible","COIL-1.0","CPAL-1.0","CPL-1.0","CPOL-1.02","CUA-OPL-1.0","Caldera","Caldera-no-preamble","ClArtistic","Clips","Community-Spec-1.0","Condor-1.1","Cornell-Lossless-JPEG","Cronyx","Crossword","CrystalStacker","Cube","D-FSL-1.0","DEC-3-Clause","DL-DE-BY-2.0","DL-DE-ZERO-2.0","DOC","DRL-1.0","DRL-1.1","DSDP","Dotseqn","ECL-1.0","ECL-2.0","EFL-1.0","EFL-2.0","EPICS","EPL-1.0","EPL-2.0","EUDatagrid","EUPL-1.0","EUPL-1.1","EUPL-1.2","Elastic-2.0","Entessa","ErlPL-1.1","Eurosym","FBM","FDK-AAC","FSFAP","FSFAP-no-warranty-disclaimer","FSFUL","FSFULLR","FSFULLRWD","FTL","Fair","Ferguson-Twofish","Frameworx-1.0","FreeBSD-DOC","FreeImage","Furuseth","GCR-docs","GD","GFDL-1.1-invariants-only","GFDL-1.1-invariants-or-later","GFDL-1.1-no-invariants-only","GFDL-1.1-no-invariants-or-later","GFDL-1.1-only","GFDL-1.1-or-later","GFDL-1.2-invariants-only","GFDL-1.2-invariants-or-later","GFDL-1.2-no-invariants-only","GFDL-1.2-no-invariants-or-later","GFDL-1.2-only","GFDL-1.2-or-later","GFDL-1.3-invariants-only","GFDL-1.3-invariants-or-later","GFDL-1.3-no-invariants-only","GFDL-1.3-no-invariants-or-later","GFDL-1.3-only","GFDL-1.3-or-later","GL2PS","GLWTPL","GPL-1.0-only","GPL-1.0-or-later","GPL-2.0-only","GPL-2.0-or-later","GPL-3.0-only","GPL-3.0-or-later","Giftware","Glide","Glulxe","Graphics-Gems","HP-1986","HP-1989","HPND","HPND-DEC","HPND-Fenneberg-Livingston","HPND-INRIA-IMAG","HPND-Kevlin-Henney","HPND-MIT-disclaimer","HPND-Markus-Kuhn","HPND-Pbmplus","HPND-UC","HPND-doc","HPND-doc-sell","HPND-export-US","HPND-export-US-modify","HPND-sell-MIT-disclaimer-xserver","HPND-sell-regexpr","HPND-sell-variant","HPND-sell-variant-MIT-disclaimer","HTMLTIDY","HaskellReport","Hippocratic-2.1","IBM-pibs","ICU","IEC-Code-Components-EULA","IJG","IJG-short","IPA","IPL-1.0","ISC","ISC-Veillard","ImageMagick","Imlib2","Info-ZIP","Inner-Net-2.0","Intel","Intel-ACPI","Interbase-1.0","JPL-image","JPNIC","JSON","Jam","JasPer-2.0","Kastrup","Kazlib","Knuth-CTAN","LAL-1.2","LAL-1.3","LGPL-2.0-only","LGPL-2.0-or-later","LGPL-2.1-only","LGPL-2.1-or-later","LGPL-3.0-only","LGPL-3.0-or-later","LGPLLR","LOOP","LPD-document","LPL-1.0","LPL-1.02","LPPL-1.0","LPPL-1.1","LPPL-1.2","LPPL-1.3a","LPPL-1.3c","LZMA-SDK-9.11-to-9.20","LZMA-SDK-9.22","Latex2e","Latex2e-translated-notice","Leptonica","LiLiQ-P-1.1","LiLiQ-R-1.1","LiLiQ-Rplus-1.1","Libpng","Linux-OpenIB","Linux-man-pages-1-para","Linux-man-pages-copyleft","Linux-man-pages-copyleft-2-para","Linux-man-pages-copyleft-var","Lucida-Bitmap-Fonts","MIT","MIT-0","MIT-CMU","MIT-Festival","MIT-Modern-Variant","MIT-Wu","MIT-advertising","MIT-enna","MIT-feh","MIT-open-group","MIT-testregex","MITNFA","MMIXware","MPEG-SSG","MPL-1.0","MPL-1.1","MPL-2.0","MPL-2.0-no-copyleft-exception","MS-LPL","MS-PL","MS-RL","MTLL","Mackerras-3-Clause","Mackerras-3-Clause-acknowledgment","MakeIndex","Martin-Birgmeier","McPhee-slideshow","Minpack","MirOS","Motosoto","MulanPSL-1.0","MulanPSL-2.0","Multics","Mup","NAIST-2003","NASA-1.3","NBPL-1.0","NCGL-UK-2.0","NCSA","NGPL","NICTA-1.0","NIST-PD","NIST-PD-fallback","NIST-Software","NLOD-1.0","NLOD-2.0","NLPL","NOSL","NPL-1.0","NPL-1.1","NPOSL-3.0","NRL","NTP","NTP-0","Naumen","Net-SNMP","NetCDF","Newsletr","Nokia","Noweb","O-UDA-1.0","OCCT-PL","OCLC-2.0","ODC-By-1.0","ODbL-1.0","OFFIS","OFL-1.0","OFL-1.0-RFN","OFL-1.0-no-RFN","OFL-1.1","OFL-1.1-RFN","OFL-1.1-no-RFN","OGC-1.0","OGDL-Taiwan-1.0","OGL-Canada-2.0","OGL-UK-1.0","OGL-UK-2.0","OGL-UK-3.0","OGTSL","OLDAP-1.1","OLDAP-1.2","OLDAP-1.3","OLDAP-1.4","OLDAP-2.0","OLDAP-2.0.1","OLDAP-2.1","OLDAP-2.2","OLDAP-2.2.1","OLDAP-2.2.2","OLDAP-2.3","OLDAP-2.4","OLDAP-2.5","OLDAP-2.6","OLDAP-2.7","OLDAP-2.8","OLFL-1.3","OML","OPL-1.0","OPL-UK-3.0","OPUBL-1.0","OSET-PL-2.1","OSL-1.0","OSL-1.1","OSL-2.0","OSL-2.1","OSL-3.0","OpenPBS-2.3","OpenSSL","OpenSSL-standalone","OpenVision","PADL","PDDL-1.0","PHP-3.0","PHP-3.01","PSF-2.0","Parity-6.0.0","Parity-7.0.0","Pixar","Plexus","PolyForm-Noncommercial-1.0.0","PolyForm-Small-Business-1.0.0","PostgreSQL","Python-2.0","Python-2.0.1","QPL-1.0","QPL-1.0-INRIA-2004","Qhull","RHeCos-1.1","RPL-1.1","RPL-1.5","RPSL-1.0","RSA-MD","RSCPL","Rdisc","Ruby","SAX-PD","SAX-PD-2.0","SCEA","SGI-B-1.0","SGI-B-1.1","SGI-B-2.0","SGI-OpenGL","SGP4","SHL-0.5","SHL-0.51","SISSL","SISSL-1.2","SL","SMLNJ","SMPPL","SNIA","SPL-1.0","SSH-OpenSSH","SSH-short","SSLeay-standalone","SSPL-1.0","SWL","Saxpath","SchemeReport","Sendmail","Sendmail-8.23","SimPL-2.0","Sleepycat","Soundex","Spencer-86","Spencer-94","Spencer-99","SugarCRM-1.1.3","Sun-PPP","SunPro","Symlinks","TAPR-OHL-1.0","TCL","TCP-wrappers","TGPPL-1.0","TMate","TORQUE-1.1","TOSL","TPDL","TPL-1.0","TTWL","TTYP0","TU-Berlin-1.0","TU-Berlin-2.0","TermReadKey","UCAR","UCL-1.0","UMich-Merit","UPL-1.0","URT-RLE","Unicode-3.0","Unicode-DFS-2015","Unicode-DFS-2016","Unicode-TOU","UnixCrypt","Unlicense","VOSTROM","VSL-1.0","Vim","W3C","W3C-19980720","W3C-20150513","WTFPL","Watcom-1.0","Widget-Workshop","Wsuipa","X11","X11-distribute-modifications-variant","XFree86-1.1","XSkat","Xdebug-1.03","Xerox","Xfig","Xnet","YPL-1.0","YPL-1.1","ZPL-1.1","ZPL-2.0","ZPL-2.1","Zed","Zeeff","Zend-2.0","Zimbra-1.3","Zimbra-1.4","Zlib","bcrypt-Solar-Designer","blessing","bzip2-1.0.6","check-cvs","checkmk","copyleft-next-0.3.0","copyleft-next-0.3.1","curl","diffmark","dtoa","dvipdfm","eGenix","etalab-2.0","fwlw","gSOAP-1.3b","gnuplot","gtkbook","hdparm","iMatix","libpng-2.0","libselinux-1.0","libtiff","libutil-David-Nugent","lsof","magaz","mailprio","metamail","mpi-permissive","mpich2","mplus","pnmstitch","psfrag","psutils","python-ldap","radvd","snprintf","softSurfer","ssh-keyscan","swrule","ulem","w3m","xinetd","xkeyboard-config-Zinoviev","xlock","xpp","zlib-acknowledgement"],vp=["AGPL-1.0","AGPL-3.0","BSD-2-Clause-FreeBSD","BSD-2-Clause-NetBSD","GFDL-1.1","GFDL-1.2","GFDL-1.3","GPL-1.0","GPL-1.0+","GPL-2.0","GPL-2.0+","GPL-2.0-with-GCC-exception","GPL-2.0-with-autoconf-exception","GPL-2.0-with-bison-exception","GPL-2.0-with-classpath-exception","GPL-2.0-with-font-exception","GPL-3.0","GPL-3.0+","GPL-3.0-with-GCC-exception","GPL-3.0-with-autoconf-exception","LGPL-2.0","LGPL-2.0+","LGPL-2.1","LGPL-2.1+","LGPL-3.0","LGPL-3.0+","Nunit","StandardML-NJ","bzip2-1.0.5","eCos-2.0","wxWindows"],Sp=["389-exception","Asterisk-exception","Autoconf-exception-2.0","Autoconf-exception-3.0","Autoconf-exception-generic","Autoconf-exception-generic-3.0","Autoconf-exception-macro","Bison-exception-1.24","Bison-exception-2.2","Bootloader-exception","Classpath-exception-2.0","CLISP-exception-2.0","cryptsetup-OpenSSL-exception","DigiRule-FOSS-exception","eCos-exception-2.0","Fawkes-Runtime-exception","FLTK-exception","fmt-exception","Font-exception-2.0","freertos-exception-2.0","GCC-exception-2.0","GCC-exception-2.0-note","GCC-exception-3.1","Gmsh-exception","GNAT-exception","GNOME-examples-exception","GNU-compiler-exception","gnu-javamail-exception","GPL-3.0-interface-exception","GPL-3.0-linking-exception","GPL-3.0-linking-source-exception","GPL-CC-1.0","GStreamer-exception-2005","GStreamer-exception-2008","i2p-gpl-java-exception","KiCad-libraries-exception","LGPL-3.0-linking-exception","libpri-OpenH323-exception","Libtool-exception","Linux-syscall-note","LLGPL","LLVM-exception","LZMA-exception","mif-exception","OCaml-LGPL-linking-exception","OCCT-exception-1.0","OpenJDK-assembly-exception-1.0","openvpn-openssl-exception","PS-or-PDF-font-exception-20170817","QPL-1.0-INRIA-2004-exception","Qt-GPL-exception-1.0","Qt-LGPL-exception-1.1","Qwt-exception-1.0","SANE-exception","SHL-2.0","SHL-2.1","stunnel-exception","SWI-exception","Swift-exception","Texinfo-exception","u-boot-exception-2.0","UBDL-exception","Universal-FOSS-exception-1.0","vsftpd-openssl-exception","WxWindows-exception-3.1","x11vnc-openssl-exception"],Yp=[].concat(qa).concat(vp),Lp=Sp,Ap=function(t){var e=0;function n(){return e<t.length}function i(m){if(m instanceof RegExp){var h=t.slice(e),g=h.match(m);if(g)return e+=g[0].length,g[0]}else if(t.indexOf(m,e)===e)return e+=m.length,m}function s(){i(/[ ]*/)}function l(){for(var m,h=["WITH","AND","OR","(",")",":","+"],g=0;g<h.length&&(m=i(h[g]),!m);g++);if(m==="+"&&e>1&&t[e-2]===" ")throw new Error("Space before `+`");return m&&{type:"OPERATOR",string:m}}function u(){return i(/[A-Za-z0-9-.]+/)}function E(){var m=u();if(!m)throw new Error("Expected idstring at offset "+e);return m}function a(){if(i("DocumentRef-")){var m=E();return{type:"DOCUMENTREF",string:m}}}function c(){if(i("LicenseRef-")){var m=E();return{type:"LICENSEREF",string:m}}}function f(){var m=e,h=u();if(Yp.indexOf(h)!==-1)return{type:"LICENSE",string:h};if(Lp.indexOf(h)!==-1)return{type:"EXCEPTION",string:h};e=m}function p(){return l()||a()||c()||f()}for(var d=[];n()&&(s(),!!n());){var y=p();if(!y)throw new Error("Unexpected `"+t[e]+"` at offset "+e);d.push(y)}return d},Cp=function(t){var e=0;function n(){return e<t.length}function i(){return n()?t[e]:null}function s(){if(!n())throw new Error;e++}function l(h){var g=i();if(g&&g.type==="OPERATOR"&&h===g.string)return s(),g.string}function u(){if(l("WITH")){var h=i();if(h&&h.type==="EXCEPTION")return s(),h.string;throw new Error("Expected exception after `WITH`")}}function E(){var h=e,g="",S=i();if(S.type==="DOCUMENTREF"&&(s(),g+="DocumentRef-"+S.string+":",!l(":")))throw new Error("Expected `:` after `DocumentRef-...`");if(S=i(),S.type==="LICENSEREF")return s(),g+="LicenseRef-"+S.string,{license:g};e=h}function a(){var h=i();if(h&&h.type==="LICENSE"){s();var g={license:h.string};l("+")&&(g.plus=!0);var S=u();return S&&(g.exception=S),g}}function c(){var h=l("(");if(h){var g=y();if(!l(")"))throw new Error("Expected `)`");return g}}function f(){return c()||E()||a()}function p(h,g){return function S(){var O=g();if(O){if(!l(h))return O;var w=S();if(!w)throw new Error("Expected expression");return{left:O,conjunction:h.toLowerCase(),right:w}}}}var d=p("AND",f),y=p("OR",d),m=y();if(!m||n())throw new Error("Syntax error");return m},wp=Ap,Vp=Cp,Ja=function(t){return Vp(wp(t))},Op=Ja,Mp=qa;function Sn(t){try{return Op(t),!0}catch{return!1}}function Qa(t,e){var n=e[0].length-t[0].length;return n!==0?n:t[0].toUpperCase().localeCompare(e[0].toUpperCase())}var Za=[["APGL","AGPL"],["Gpl","GPL"],["GLP","GPL"],["APL","Apache"],["ISD","ISC"],["GLP","GPL"],["IST","ISC"],["Claude","Clause"],[" or later","+"],[" International",""],["GNU","GPL"],["GUN","GPL"],["+",""],["GNU GPL","GPL"],["GNU LGPL","LGPL"],["GNU/GPL","GPL"],["GNU GLP","GPL"],["GNU LESSER GENERAL PUBLIC LICENSE","LGPL"],["GNU Lesser General Public License","LGPL"],["GNU LESSER GENERAL PUBLIC LICENSE","LGPL-2.1"],["GNU Lesser General Public License","LGPL-2.1"],["LESSER GENERAL PUBLIC LICENSE","LGPL"],["Lesser General Public License","LGPL"],["LESSER GENERAL PUBLIC LICENSE","LGPL-2.1"],["Lesser General Public License","LGPL-2.1"],["GNU General Public License","GPL"],["Gnu public license","GPL"],["GNU Public License","GPL"],["GNU GENERAL PUBLIC LICENSE","GPL"],["MTI","MIT"],["Mozilla Public License","MPL"],["Universal Permissive License","UPL"],["WTH","WTF"],["WTFGPL","WTFPL"],["-License",""]].sort(Qa),Up=0,Rp=1,el=[function(t){return t.toUpperCase()},function(t){return t.trim()},function(t){return t.replace(/\./g,"")},function(t){return t.replace(/\s+/g,"")},function(t){return t.replace(/\s+/g,"-")},function(t){return t.replace("v","-")},function(t){return t.replace(/,?\s*(\d)/,"-$1")},function(t){return t.replace(/,?\s*(\d)/,"-$1.0")},function(t){return t.replace(/,?\s*(V\.|v\.|V|v|Version|version)\s*(\d)/,"-$2")},function(t){return t.replace(/,?\s*(V\.|v\.|V|v|Version|version)\s*(\d)/,"-$2.0")},function(t){return t[0].toUpperCase()+t.slice(1)},function(t){return t.replace("/","-")},function(t){return t.replace(/\s*V\s*(\d)/,"-$1").replace(/(\d)$/,"$1.0")},function(t){return t.indexOf("3.0")!==-1?t+"-or-later":t+"-only"},function(t){return t+"only"},function(t){return t.replace(/(\d)$/,"-$1.0")},function(t){return t.replace(/(-| )?(\d)$/,"-$2-Clause")},function(t){return t.replace(/(-| )clause(-| )(\d)/,"-$3-Clause")},function(t){return t.replace(/\b(Modified|New|Revised)(-| )?BSD((-| )License)?/i,"BSD-3-Clause")},function(t){return t.replace(/\bSimplified(-| )?BSD((-| )License)?/i,"BSD-2-Clause")},function(t){return t.replace(/\b(Free|Net)(-| )?BSD((-| )License)?/i,"BSD-2-Clause-$1BSD")},function(t){return t.replace(/\bClear(-| )?BSD((-| )License)?/i,"BSD-3-Clause-Clear")},function(t){return t.replace(/\b(Old|Original)(-| )?BSD((-| )License)?/i,"BSD-4-Clause")},function(t){return"CC-"+t},function(t){return"CC-"+t+"-4.0"},function(t){return t.replace("Attribution","BY").replace("NonCommercial","NC").replace("NoDerivatives","ND").replace(/ (\d)/,"-$1").replace(/ ?International/,"")},function(t){return"CC-"+t.replace("Attribution","BY").replace("NonCommercial","NC").replace("NoDerivatives","ND").replace(/ (\d)/,"-$1").replace(/ ?International/,"")+"-4.0"}],js=Mp.map(function(t){var e=/^(.*)-\d+\.\d+$/.exec(t);return e?[e[0],e[1]]:[t,null]}).reduce(function(t,e){var n=e[1];return t[n]=t[n]||[],t[n].push(e[0]),t},{}),Ip=Object.keys(js).map(function(e){return[e,js[e]]}).filter(function(e){return e[1].length===1&&e[0]!==null&&e[0]!=="APL"}).map(function(e){return[e[0],e[1][0]]});js=void 0;var tl=[["UNLI","Unlicense"],["WTF","WTFPL"],["2 CLAUSE","BSD-2-Clause"],["2-CLAUSE","BSD-2-Clause"],["3 CLAUSE","BSD-3-Clause"],["3-CLAUSE","BSD-3-Clause"],["AFFERO","AGPL-3.0-or-later"],["AGPL","AGPL-3.0-or-later"],["APACHE","Apache-2.0"],["ARTISTIC","Artistic-2.0"],["Affero","AGPL-3.0-or-later"],["BEER","Beerware"],["BOOST","BSL-1.0"],["BSD","BSD-2-Clause"],["CDDL","CDDL-1.1"],["ECLIPSE","EPL-1.0"],["FUCK","WTFPL"],["GNU","GPL-3.0-or-later"],["LGPL","LGPL-3.0-or-later"],["GPLV1","GPL-1.0-only"],["GPL-1","GPL-1.0-only"],["GPLV2","GPL-2.0-only"],["GPL-2","GPL-2.0-only"],["GPL","GPL-3.0-or-later"],["MIT +NO-FALSE-ATTRIBS","MITNFA"],["MIT","MIT"],["MPL","MPL-2.0"],["X11","X11"],["ZLIB","Zlib"]].concat(Ip).sort(Qa),xp=0,Dp=1,rl=function(t){for(var e=0;e<el.length;e++){var n=el[e](t).trim();if(n!==t&&Sn(n))return n}return null},nl=function(t){for(var e=t.toUpperCase(),n=0;n<tl.length;n++){var i=tl[n];if(e.indexOf(i[xp])>-1)return i[Dp]}return null},il=function(t,e){for(var n=0;n<Za.length;n++){var i=Za[n],s=i[Up];if(t.indexOf(s)>-1){var l=t.replace(s,i[Rp]),u=e(l);if(u!==null)return u}}return null},Fp=function(t,e){e=e||{};var n=e.upgrade===void 0?!0:!!e.upgrade;function i(E){return n?$p(E):E}var s=typeof t=="string"&&t.trim().length!==0;if(!s)throw Error("Invalid argument. Expected non-empty string.");if(t=t.trim(),Sn(t))return i(t);var l=t.replace(/\+$/,"").trim();if(Sn(l))return i(l);var u=rl(t);return u!==null||(u=il(t,function(E){return Sn(E)?E:rl(E)}),u!==null)||(u=nl(t),u!==null)||(u=il(t,nl),u!==null)?i(u):null};function $p(t){return["GPL-1.0","LGPL-1.0","AGPL-1.0","GPL-2.0","LGPL-2.0","AGPL-2.0","LGPL-2.1"].indexOf(t)!==-1?t+"-only":["GPL-1.0+","GPL-2.0+","GPL-3.0+","LGPL-2.0+","LGPL-2.1+","LGPL-3.0+","AGPL-1.0+","AGPL-3.0+"].indexOf(t)!==-1?t.replace(/\+$/,"-or-later"):["GPL-3.0","LGPL-3.0","AGPL-3.0"].indexOf(t)!==-1?t+"-or-later":t}var kp=Ja,Np=Fp,sl='license should be a valid SPDX license expression (without "LicenseRef"), "UNLICENSED", or "SEE LICENSE IN <filename>"',Bp=/^SEE LICEN[CS]E IN (.+)$/;function ol(t,e){return e.slice(0,t.length)===t}function Gs(t){if(t.hasOwnProperty("license")){var e=t.license;return ol("LicenseRef",e)||ol("DocumentRef",e)}else return Gs(t.left)||Gs(t.right)}var jp=function(t){var e;try{e=kp(t)}catch{var n;if(t==="UNLICENSED"||t==="UNLICENCED")return{validForOldPackages:!0,validForNewPackages:!0,unlicensed:!0};if(n=Bp.exec(t))return{validForOldPackages:!0,validForNewPackages:!0,inFile:n[1]};var i={validForOldPackages:!1,validForNewPackages:!1,warnings:[sl]};if(t.trim().length!==0){var s=Np(t);s&&i.warnings.push('license is similar to the valid expression "'+s+'"')}return i}return Gs(e)?{validForNewPackages:!1,validForOldPackages:!1,spdx:!0,warnings:[sl]}:{validForNewPackages:!0,validForOldPackages:!0,spdx:!0}},Yn={};Object.defineProperty(Yn,"__esModule",{value:!0}),Yn.LRUCache=void 0;const ht=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,al=new Set,Ws=typeof process=="object"&&process?process:{},ll=(t,e,n,i)=>{typeof Ws.emitWarning=="function"?Ws.emitWarning(t,e,n,i):console.error(`[${n}] ${e}: ${t}`)};let Ln=globalThis.AbortController,cl=globalThis.AbortSignal;if(typeof Ln>"u"){cl=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(i,s){this._onabort.push(s)}},Ln=class{constructor(){e()}signal=new cl;abort(i){if(!this.signal.aborted){this.signal.reason=i,this.signal.aborted=!0;for(const s of this.signal._onabort)s(i);this.signal.onabort?.(i)}}};let t=Ws.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1";const e=()=>{t&&(t=!1,ll("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",e))}}const Gp=t=>!al.has(t),We=t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),ul=t=>We(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?An:null:null;class An extends Array{constructor(e){super(e),this.fill(0)}}class qt{heap;length;static#n=!1;static create(e){const n=ul(e);if(!n)return[];qt.#n=!0;const i=new qt(e,n);return qt.#n=!1,i}constructor(e,n){if(!qt.#n)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new n(e),this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}}let Wp=class Lc{#n;#c;#t;#P;#w;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#o;#m;#s;#i;#e;#p;#E;#u;#a;#y;#l;#h;#_;#d;#b;#Y;#f;static unsafeExposeInternals(e){return{starts:e.#_,ttls:e.#d,sizes:e.#h,keyMap:e.#s,keyList:e.#i,valList:e.#e,next:e.#p,prev:e.#E,get head(){return e.#u},get tail(){return e.#a},free:e.#y,isBackgroundFetch:n=>e.#r(n),backgroundFetch:(n,i,s,l)=>e.#M(n,i,s,l),moveToTail:n=>e.#C(n),indexes:n=>e.#g(n),rindexes:n=>e.#v(n),isStale:n=>e.#T(n)}}get max(){return this.#n}get maxSize(){return this.#c}get calculatedSize(){return this.#m}get size(){return this.#o}get fetchMethod(){return this.#w}get dispose(){return this.#t}get disposeAfter(){return this.#P}constructor(e){const{max:n=0,ttl:i,ttlResolution:s=1,ttlAutopurge:l,updateAgeOnGet:u,updateAgeOnHas:E,allowStale:a,dispose:c,disposeAfter:f,noDisposeOnSet:p,noUpdateTTL:d,maxSize:y=0,maxEntrySize:m=0,sizeCalculation:h,fetchMethod:g,noDeleteOnFetchRejection:S,noDeleteOnStaleGet:O,allowStaleOnFetchRejection:w,allowStaleOnFetchAbort:F,ignoreFetchAbort:se}=e;if(n!==0&&!We(n))throw new TypeError("max option must be a nonnegative integer");const ce=n?ul(n):Array;if(!ce)throw new Error("invalid max value: "+n);if(this.#n=n,this.#c=y,this.maxEntrySize=m||this.#c,this.sizeCalculation=h,this.sizeCalculation){if(!this.#c&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(g!==void 0&&typeof g!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#w=g,this.#Y=!!g,this.#s=new Map,this.#i=new Array(n).fill(void 0),this.#e=new Array(n).fill(void 0),this.#p=new ce(n),this.#E=new ce(n),this.#u=0,this.#a=0,this.#y=qt.create(n),this.#o=0,this.#m=0,typeof c=="function"&&(this.#t=c),typeof f=="function"?(this.#P=f,this.#l=[]):(this.#P=void 0,this.#l=void 0),this.#b=!!this.#t,this.#f=!!this.#P,this.noDisposeOnSet=!!p,this.noUpdateTTL=!!d,this.noDeleteOnFetchRejection=!!S,this.allowStaleOnFetchRejection=!!w,this.allowStaleOnFetchAbort=!!F,this.ignoreFetchAbort=!!se,this.maxEntrySize!==0){if(this.#c!==0&&!We(this.#c))throw new TypeError("maxSize must be a positive integer if specified");if(!We(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#F()}if(this.allowStale=!!a,this.noDeleteOnStaleGet=!!O,this.updateAgeOnGet=!!u,this.updateAgeOnHas=!!E,this.ttlResolution=We(s)||s===0?s:1,this.ttlAutopurge=!!l,this.ttl=i||0,this.ttl){if(!We(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#U()}if(this.#n===0&&this.ttl===0&&this.#c===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#n&&!this.#c){const Pe="LRU_CACHE_UNBOUNDED";Gp(Pe)&&(al.add(Pe),ll("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",Pe,Lc))}}getRemainingTTL(e){return this.#s.has(e)?1/0:0}#U(){const e=new An(this.#n),n=new An(this.#n);this.#d=e,this.#_=n,this.#R=(l,u,E=ht.now())=>{if(n[l]=u!==0?E:0,e[l]=u,u!==0&&this.ttlAutopurge){const a=setTimeout(()=>{this.#T(l)&&this.delete(this.#i[l])},u+1);a.unref&&a.unref()}},this.#L=l=>{n[l]=e[l]!==0?ht.now():0},this.#S=(l,u)=>{if(e[u]){const E=e[u],a=n[u];if(!E||!a)return;l.ttl=E,l.start=a,l.now=i||s();const c=l.now-a;l.remainingTTL=E-c}};let i=0;const s=()=>{const l=ht.now();if(this.ttlResolution>0){i=l;const u=setTimeout(()=>i=0,this.ttlResolution);u.unref&&u.unref()}return l};this.getRemainingTTL=l=>{const u=this.#s.get(l);if(u===void 0)return 0;const E=e[u],a=n[u];if(!E||!a)return 1/0;const c=(i||s())-a;return E-c},this.#T=l=>{const u=n[l],E=e[l];return!!E&&!!u&&(i||s())-u>E}}#L=()=>{};#S=()=>{};#R=()=>{};#T=()=>!1;#F(){const e=new An(this.#n);this.#m=0,this.#h=e,this.#A=n=>{this.#m-=e[n],e[n]=0},this.#I=(n,i,s,l)=>{if(this.#r(i))return 0;if(!We(s))if(l){if(typeof l!="function")throw new TypeError("sizeCalculation must be a function");if(s=l(i,n),!We(s))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return s},this.#V=(n,i,s)=>{if(e[n]=i,this.#c){const l=this.#c-e[n];for(;this.#m>l;)this.#O(!0)}this.#m+=e[n],s&&(s.entrySize=i,s.totalCalculatedSize=this.#m)}}#A=e=>{};#V=(e,n,i)=>{};#I=(e,n,i,s)=>{if(i||s)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#g({allowStale:e=this.allowStale}={}){if(this.#o)for(let n=this.#a;!(!this.#x(n)||((e||!this.#T(n))&&(yield n),n===this.#u));)n=this.#E[n]}*#v({allowStale:e=this.allowStale}={}){if(this.#o)for(let n=this.#u;!(!this.#x(n)||((e||!this.#T(n))&&(yield n),n===this.#a));)n=this.#p[n]}#x(e){return e!==void 0&&this.#s.get(this.#i[e])===e}*entries(){for(const e of this.#g())this.#e[e]!==void 0&&this.#i[e]!==void 0&&!this.#r(this.#e[e])&&(yield[this.#i[e],this.#e[e]])}*rentries(){for(const e of this.#v())this.#e[e]!==void 0&&this.#i[e]!==void 0&&!this.#r(this.#e[e])&&(yield[this.#i[e],this.#e[e]])}*keys(){for(const e of this.#g()){const n=this.#i[e];n!==void 0&&!this.#r(this.#e[e])&&(yield n)}}*rkeys(){for(const e of this.#v()){const n=this.#i[e];n!==void 0&&!this.#r(this.#e[e])&&(yield n)}}*values(){for(const e of this.#g())this.#e[e]!==void 0&&!this.#r(this.#e[e])&&(yield this.#e[e])}*rvalues(){for(const e of this.#v())this.#e[e]!==void 0&&!this.#r(this.#e[e])&&(yield this.#e[e])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(e,n={}){for(const i of this.#g()){const s=this.#e[i],l=this.#r(s)?s.__staleWhileFetching:s;if(l!==void 0&&e(l,this.#i[i],this))return this.get(this.#i[i],n)}}forEach(e,n=this){for(const i of this.#g()){const s=this.#e[i],l=this.#r(s)?s.__staleWhileFetching:s;l!==void 0&&e.call(n,l,this.#i[i],this)}}rforEach(e,n=this){for(const i of this.#v()){const s=this.#e[i],l=this.#r(s)?s.__staleWhileFetching:s;l!==void 0&&e.call(n,l,this.#i[i],this)}}purgeStale(){let e=!1;for(const n of this.#v({allowStale:!0}))this.#T(n)&&(this.delete(this.#i[n]),e=!0);return e}info(e){const n=this.#s.get(e);if(n===void 0)return;const i=this.#e[n],s=this.#r(i)?i.__staleWhileFetching:i;if(s===void 0)return;const l={value:s};if(this.#d&&this.#_){const u=this.#d[n],E=this.#_[n];if(u&&E){const a=u-(ht.now()-E);l.ttl=a,l.start=Date.now()}}return this.#h&&(l.size=this.#h[n]),l}dump(){const e=[];for(const n of this.#g({allowStale:!0})){const i=this.#i[n],s=this.#e[n],l=this.#r(s)?s.__staleWhileFetching:s;if(l===void 0||i===void 0)continue;const u={value:l};if(this.#d&&this.#_){u.ttl=this.#d[n];const E=ht.now()-this.#_[n];u.start=Math.floor(Date.now()-E)}this.#h&&(u.size=this.#h[n]),e.unshift([i,u])}return e}load(e){this.clear();for(const[n,i]of e){if(i.start){const s=Date.now()-i.start;i.start=ht.now()-s}this.set(n,i.value,i)}}set(e,n,i={}){if(n===void 0)return this.delete(e),this;const{ttl:s=this.ttl,start:l,noDisposeOnSet:u=this.noDisposeOnSet,sizeCalculation:E=this.sizeCalculation,status:a}=i;let{noUpdateTTL:c=this.noUpdateTTL}=i;const f=this.#I(e,n,i.size||0,E);if(this.maxEntrySize&&f>this.maxEntrySize)return a&&(a.set="miss",a.maxEntrySizeExceeded=!0),this.delete(e),this;let p=this.#o===0?void 0:this.#s.get(e);if(p===void 0)p=this.#o===0?this.#a:this.#y.length!==0?this.#y.pop():this.#o===this.#n?this.#O(!1):this.#o,this.#i[p]=e,this.#e[p]=n,this.#s.set(e,p),this.#p[this.#a]=p,this.#E[p]=this.#a,this.#a=p,this.#o++,this.#V(p,f,a),a&&(a.set="add"),c=!1;else{this.#C(p);const d=this.#e[p];if(n!==d){if(this.#Y&&this.#r(d)){d.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:y}=d;y!==void 0&&!u&&(this.#b&&this.#t?.(y,e,"set"),this.#f&&this.#l?.push([y,e,"set"]))}else u||(this.#b&&this.#t?.(d,e,"set"),this.#f&&this.#l?.push([d,e,"set"]));if(this.#A(p),this.#V(p,f,a),this.#e[p]=n,a){a.set="replace";const y=d&&this.#r(d)?d.__staleWhileFetching:d;y!==void 0&&(a.oldValue=y)}}else a&&(a.set="update")}if(s!==0&&!this.#d&&this.#U(),this.#d&&(c||this.#R(p,s,l),a&&this.#S(a,p)),!u&&this.#f&&this.#l){const d=this.#l;let y;for(;y=d?.shift();)this.#P?.(...y)}return this}pop(){try{for(;this.#o;){const e=this.#e[this.#u];if(this.#O(!0),this.#r(e)){if(e.__staleWhileFetching)return e.__staleWhileFetching}else if(e!==void 0)return e}}finally{if(this.#f&&this.#l){const e=this.#l;let n;for(;n=e?.shift();)this.#P?.(...n)}}}#O(e){const n=this.#u,i=this.#i[n],s=this.#e[n];return this.#Y&&this.#r(s)?s.__abortController.abort(new Error("evicted")):(this.#b||this.#f)&&(this.#b&&this.#t?.(s,i,"evict"),this.#f&&this.#l?.push([s,i,"evict"])),this.#A(n),e&&(this.#i[n]=void 0,this.#e[n]=void 0,this.#y.push(n)),this.#o===1?(this.#u=this.#a=0,this.#y.length=0):this.#u=this.#p[n],this.#s.delete(i),this.#o--,n}has(e,n={}){const{updateAgeOnHas:i=this.updateAgeOnHas,status:s}=n,l=this.#s.get(e);if(l!==void 0){const u=this.#e[l];if(this.#r(u)&&u.__staleWhileFetching===void 0)return!1;if(this.#T(l))s&&(s.has="stale",this.#S(s,l));else return i&&this.#L(l),s&&(s.has="hit",this.#S(s,l)),!0}else s&&(s.has="miss");return!1}peek(e,n={}){const{allowStale:i=this.allowStale}=n,s=this.#s.get(e);if(s===void 0||!i&&this.#T(s))return;const l=this.#e[s];return this.#r(l)?l.__staleWhileFetching:l}#M(e,n,i,s){const l=n===void 0?void 0:this.#e[n];if(this.#r(l))return l;const u=new Ln,{signal:E}=i;E?.addEventListener("abort",()=>u.abort(E.reason),{signal:u.signal});const a={signal:u.signal,options:i,context:s},c=(h,g=!1)=>{const{aborted:S}=u.signal,O=i.ignoreFetchAbort&&h!==void 0;if(i.status&&(S&&!g?(i.status.fetchAborted=!0,i.status.fetchError=u.signal.reason,O&&(i.status.fetchAbortIgnored=!0)):i.status.fetchResolved=!0),S&&!O&&!g)return p(u.signal.reason);const w=y;return this.#e[n]===y&&(h===void 0?w.__staleWhileFetching?this.#e[n]=w.__staleWhileFetching:this.delete(e):(i.status&&(i.status.fetchUpdated=!0),this.set(e,h,a.options))),h},f=h=>(i.status&&(i.status.fetchRejected=!0,i.status.fetchError=h),p(h)),p=h=>{const{aborted:g}=u.signal,S=g&&i.allowStaleOnFetchAbort,O=S||i.allowStaleOnFetchRejection,w=O||i.noDeleteOnFetchRejection,F=y;if(this.#e[n]===y&&(!w||F.__staleWhileFetching===void 0?this.delete(e):S||(this.#e[n]=F.__staleWhileFetching)),O)return i.status&&F.__staleWhileFetching!==void 0&&(i.status.returnedStale=!0),F.__staleWhileFetching;if(F.__returned===F)throw h},d=(h,g)=>{const S=this.#w?.(e,l,a);S&&S instanceof Promise&&S.then(O=>h(O===void 0?void 0:O),g),u.signal.addEventListener("abort",()=>{(!i.ignoreFetchAbort||i.allowStaleOnFetchAbort)&&(h(void 0),i.allowStaleOnFetchAbort&&(h=O=>c(O,!0)))})};i.status&&(i.status.fetchDispatched=!0);const y=new Promise(d).then(c,f),m=Object.assign(y,{__abortController:u,__staleWhileFetching:l,__returned:void 0});return n===void 0?(this.set(e,m,{...a.options,status:void 0}),n=this.#s.get(e)):this.#e[n]=m,m}#r(e){if(!this.#Y)return!1;const n=e;return!!n&&n instanceof Promise&&n.hasOwnProperty("__staleWhileFetching")&&n.__abortController instanceof Ln}async fetch(e,n={}){const{allowStale:i=this.allowStale,updateAgeOnGet:s=this.updateAgeOnGet,noDeleteOnStaleGet:l=this.noDeleteOnStaleGet,ttl:u=this.ttl,noDisposeOnSet:E=this.noDisposeOnSet,size:a=0,sizeCalculation:c=this.sizeCalculation,noUpdateTTL:f=this.noUpdateTTL,noDeleteOnFetchRejection:p=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:d=this.allowStaleOnFetchRejection,ignoreFetchAbort:y=this.ignoreFetchAbort,allowStaleOnFetchAbort:m=this.allowStaleOnFetchAbort,context:h,forceRefresh:g=!1,status:S,signal:O}=n;if(!this.#Y)return S&&(S.fetch="get"),this.get(e,{allowStale:i,updateAgeOnGet:s,noDeleteOnStaleGet:l,status:S});const w={allowStale:i,updateAgeOnGet:s,noDeleteOnStaleGet:l,ttl:u,noDisposeOnSet:E,size:a,sizeCalculation:c,noUpdateTTL:f,noDeleteOnFetchRejection:p,allowStaleOnFetchRejection:d,allowStaleOnFetchAbort:m,ignoreFetchAbort:y,status:S,signal:O};let F=this.#s.get(e);if(F===void 0){S&&(S.fetch="miss");const se=this.#M(e,F,w,h);return se.__returned=se}else{const se=this.#e[F];if(this.#r(se)){const Qt=i&&se.__staleWhileFetching!==void 0;return S&&(S.fetch="inflight",Qt&&(S.returnedStale=!0)),Qt?se.__staleWhileFetching:se.__returned=se}const ce=this.#T(F);if(!g&&!ce)return S&&(S.fetch="hit"),this.#C(F),s&&this.#L(F),S&&this.#S(S,F),se;const Pe=this.#M(e,F,w,h),Jt=Pe.__staleWhileFetching!==void 0&&i;return S&&(S.fetch=ce?"stale":"refresh",Jt&&ce&&(S.returnedStale=!0)),Jt?Pe.__staleWhileFetching:Pe.__returned=Pe}}get(e,n={}){const{allowStale:i=this.allowStale,updateAgeOnGet:s=this.updateAgeOnGet,noDeleteOnStaleGet:l=this.noDeleteOnStaleGet,status:u}=n,E=this.#s.get(e);if(E!==void 0){const a=this.#e[E],c=this.#r(a);return u&&this.#S(u,E),this.#T(E)?(u&&(u.get="stale"),c?(u&&i&&a.__staleWhileFetching!==void 0&&(u.returnedStale=!0),i?a.__staleWhileFetching:void 0):(l||this.delete(e),u&&i&&(u.returnedStale=!0),i?a:void 0)):(u&&(u.get="hit"),c?a.__staleWhileFetching:(this.#C(E),s&&this.#L(E),a))}else u&&(u.get="miss")}#D(e,n){this.#E[n]=e,this.#p[e]=n}#C(e){e!==this.#a&&(e===this.#u?this.#u=this.#p[e]:this.#D(this.#E[e],this.#p[e]),this.#D(this.#a,e),this.#a=e)}delete(e){let n=!1;if(this.#o!==0){const i=this.#s.get(e);if(i!==void 0)if(n=!0,this.#o===1)this.clear();else{this.#A(i);const s=this.#e[i];if(this.#r(s)?s.__abortController.abort(new Error("deleted")):(this.#b||this.#f)&&(this.#b&&this.#t?.(s,e,"delete"),this.#f&&this.#l?.push([s,e,"delete"])),this.#s.delete(e),this.#i[i]=void 0,this.#e[i]=void 0,i===this.#a)this.#a=this.#E[i];else if(i===this.#u)this.#u=this.#p[i];else{const l=this.#E[i];this.#p[l]=this.#p[i];const u=this.#p[i];this.#E[u]=this.#E[i]}this.#o--,this.#y.push(i)}}if(this.#f&&this.#l?.length){const i=this.#l;let s;for(;s=i?.shift();)this.#P?.(...s)}return n}clear(){for(const e of this.#v({allowStale:!0})){const n=this.#e[e];if(this.#r(n))n.__abortController.abort(new Error("deleted"));else{const i=this.#i[e];this.#b&&this.#t?.(n,i,"delete"),this.#f&&this.#l?.push([n,i,"delete"])}}if(this.#s.clear(),this.#e.fill(void 0),this.#i.fill(void 0),this.#d&&this.#_&&(this.#d.fill(0),this.#_.fill(0)),this.#h&&this.#h.fill(0),this.#u=0,this.#a=0,this.#y.length=0,this.#m=0,this.#o=0,this.#f&&this.#l){const e=this.#l;let n;for(;n=e?.shift();)this.#P?.(...n)}}};Yn.LRUCache=Wp;const k=(...t)=>t.every(e=>e)?t.join(""):"",Z=t=>t?encodeURIComponent(t):"",pl=t=>t.toLowerCase().replace(/^\W+|\/|\W+$/g,"").replace(/\W+/g,"-"),Hp={sshtemplate:({domain:t,user:e,project:n,committish:i})=>`git@${t}:${e}/${n}.git${k("#",i)}`,sshurltemplate:({domain:t,user:e,project:n,committish:i})=>`git+ssh://git@${t}/${e}/${n}.git${k("#",i)}`,edittemplate:({domain:t,user:e,project:n,committish:i,editpath:s,path:l})=>`https://${t}/${e}/${n}${k("/",s,"/",Z(i||"HEAD"),"/",l)}`,browsetemplate:({domain:t,user:e,project:n,committish:i,treepath:s})=>`https://${t}/${e}/${n}${k("/",s,"/",Z(i))}`,browsetreetemplate:({domain:t,user:e,project:n,committish:i,treepath:s,path:l,fragment:u,hashformat:E})=>`https://${t}/${e}/${n}/${s}/${Z(i||"HEAD")}/${l}${k("#",E(u||""))}`,browseblobtemplate:({domain:t,user:e,project:n,committish:i,blobpath:s,path:l,fragment:u,hashformat:E})=>`https://${t}/${e}/${n}/${s}/${Z(i||"HEAD")}/${l}${k("#",E(u||""))}`,docstemplate:({domain:t,user:e,project:n,treepath:i,committish:s})=>`https://${t}/${e}/${n}${k("/",i,"/",Z(s))}#readme`,httpstemplate:({auth:t,domain:e,user:n,project:i,committish:s})=>`git+https://${k(t,"@")}${e}/${n}/${i}.git${k("#",s)}`,filetemplate:({domain:t,user:e,project:n,committish:i,path:s})=>`https://${t}/${e}/${n}/raw/${Z(i||"HEAD")}/${s}`,shortcuttemplate:({type:t,user:e,project:n,committish:i})=>`${t}:${e}/${n}${k("#",i)}`,pathtemplate:({user:t,project:e,committish:n})=>`${t}/${e}${k("#",n)}`,bugstemplate:({domain:t,user:e,project:n})=>`https://${t}/${e}/${n}/issues`,hashformat:pl},He={};He.github={protocols:["git:","http:","git+ssh:","git+https:","ssh:","https:"],domain:"github.com",treepath:"tree",blobpath:"blob",editpath:"edit",filetemplate:({auth:t,user:e,project:n,committish:i,path:s})=>`https://${k(t,"@")}raw.githubusercontent.com/${e}/${n}/${Z(i||"HEAD")}/${s}`,gittemplate:({auth:t,domain:e,user:n,project:i,committish:s})=>`git://${k(t,"@")}${e}/${n}/${i}.git${k("#",s)}`,tarballtemplate:({domain:t,user:e,project:n,committish:i})=>`https://codeload.${t}/${e}/${n}/tar.gz/${Z(i||"HEAD")}`,extract:t=>{let[,e,n,i,s]=t.pathname.split("/",5);if(!(i&&i!=="tree")&&(i||(s=t.hash.slice(1)),n&&n.endsWith(".git")&&(n=n.slice(0,-4)),!(!e||!n)))return{user:e,project:n,committish:s}}},He.bitbucket={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"bitbucket.org",treepath:"src",blobpath:"src",editpath:"?mode=edit",edittemplate:({domain:t,user:e,project:n,committish:i,treepath:s,path:l,editpath:u})=>`https://${t}/${e}/${n}${k("/",s,"/",Z(i||"HEAD"),"/",l,u)}`,tarballtemplate:({domain:t,user:e,project:n,committish:i})=>`https://${t}/${e}/${n}/get/${Z(i||"HEAD")}.tar.gz`,extract:t=>{let[,e,n,i]=t.pathname.split("/",4);if(!["get"].includes(i)&&(n&&n.endsWith(".git")&&(n=n.slice(0,-4)),!(!e||!n)))return{user:e,project:n,committish:t.hash.slice(1)}}},He.gitlab={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"gitlab.com",treepath:"tree",blobpath:"tree",editpath:"-/edit",httpstemplate:({auth:t,domain:e,user:n,project:i,committish:s})=>`git+https://${k(t,"@")}${e}/${n}/${i}.git${k("#",s)}`,tarballtemplate:({domain:t,user:e,project:n,committish:i})=>`https://${t}/${e}/${n}/repository/archive.tar.gz?ref=${Z(i||"HEAD")}`,extract:t=>{const e=t.pathname.slice(1);if(e.includes("/-/")||e.includes("/archive.tar.gz"))return;const n=e.split("/");let i=n.pop();i.endsWith(".git")&&(i=i.slice(0,-4));const s=n.join("/");if(!(!s||!i))return{user:s,project:i,committish:t.hash.slice(1)}}},He.gist={protocols:["git:","git+ssh:","git+https:","ssh:","https:"],domain:"gist.github.com",editpath:"edit",sshtemplate:({domain:t,project:e,committish:n})=>`git@${t}:${e}.git${k("#",n)}`,sshurltemplate:({domain:t,project:e,committish:n})=>`git+ssh://git@${t}/${e}.git${k("#",n)}`,edittemplate:({domain:t,user:e,project:n,committish:i,editpath:s})=>`https://${t}/${e}/${n}${k("/",Z(i))}/${s}`,browsetemplate:({domain:t,project:e,committish:n})=>`https://${t}/${e}${k("/",Z(n))}`,browsetreetemplate:({domain:t,project:e,committish:n,path:i,hashformat:s})=>`https://${t}/${e}${k("/",Z(n))}${k("#",s(i))}`,browseblobtemplate:({domain:t,project:e,committish:n,path:i,hashformat:s})=>`https://${t}/${e}${k("/",Z(n))}${k("#",s(i))}`,docstemplate:({domain:t,project:e,committish:n})=>`https://${t}/${e}${k("/",Z(n))}`,httpstemplate:({domain:t,project:e,committish:n})=>`git+https://${t}/${e}.git${k("#",n)}`,filetemplate:({user:t,project:e,committish:n,path:i})=>`https://gist.githubusercontent.com/${t}/${e}/raw${k("/",Z(n))}/${i}`,shortcuttemplate:({type:t,project:e,committish:n})=>`${t}:${e}${k("#",n)}`,pathtemplate:({project:t,committish:e})=>`${t}${k("#",e)}`,bugstemplate:({domain:t,project:e})=>`https://${t}/${e}`,gittemplate:({domain:t,project:e,committish:n})=>`git://${t}/${e}.git${k("#",n)}`,tarballtemplate:({project:t,committish:e})=>`https://codeload.github.com/gist/${t}/tar.gz/${Z(e||"HEAD")}`,extract:t=>{let[,e,n,i]=t.pathname.split("/",4);if(i!=="raw"){if(!n){if(!e)return;n=e,e=null}return n.endsWith(".git")&&(n=n.slice(0,-4)),{user:e,project:n,committish:t.hash.slice(1)}}},hashformat:function(t){return t&&"file-"+pl(t)}},He.sourcehut={protocols:["git+ssh:","https:"],domain:"git.sr.ht",treepath:"tree",blobpath:"tree",filetemplate:({domain:t,user:e,project:n,committish:i,path:s})=>`https://${t}/${e}/${n}/blob/${Z(i)||"HEAD"}/${s}`,httpstemplate:({domain:t,user:e,project:n,committish:i})=>`https://${t}/${e}/${n}.git${k("#",i)}`,tarballtemplate:({domain:t,user:e,project:n,committish:i})=>`https://${t}/${e}/${n}/archive/${Z(i)||"HEAD"}.tar.gz`,bugstemplate:({user:t,project:e})=>null,extract:t=>{let[,e,n,i]=t.pathname.split("/",4);if(!["archive"].includes(i)&&(n&&n.endsWith(".git")&&(n=n.slice(0,-4)),!(!e||!n)))return{user:e,project:n,committish:t.hash.slice(1)}}};for(const[t,e]of Object.entries(He))He[t]=Object.assign({},Hp,e);var Kp=He;const Xp=$o,Hs=(t,e,n)=>{const i=t.indexOf(n);return t.lastIndexOf(e,i>-1?i:1/0)},fl=t=>{try{return new Xp.URL(t)}catch{}},zp=(t,e)=>{const n=t.indexOf(":"),i=t.slice(0,n+1);if(Object.prototype.hasOwnProperty.call(e,i))return t;const s=t.indexOf("@");return s>-1?s>n?`git+ssh://${t}`:t:t.indexOf("//")===n+1?t:`${t.slice(0,n+1)}//${t.slice(n+1)}`},qp=t=>{const e=Hs(t,"@","#"),n=Hs(t,":","#");return n>e&&(t=t.slice(0,n)+"/"+t.slice(n+1)),Hs(t,":","#")===-1&&t.indexOf("//")===-1&&(t=`git+ssh://${t}`),t};var El=(t,e)=>{const n=e?zp(t,e):t;return fl(n)||fl(qp(n))};const Jp=El,Qp=t=>{const e=t.indexOf("#"),n=t.indexOf("/"),i=t.indexOf("/",n+1),s=t.indexOf(":"),l=/\s/.exec(t),u=t.indexOf("@"),E=!l||e>-1&&l.index>e,a=u===-1||e>-1&&u>e,c=s===-1||e>-1&&s>e,f=i===-1||e>-1&&i>e,p=n>0,d=e>-1?t[e-1]!=="/":!t.endsWith("/"),y=!t.startsWith(".");return E&&p&&d&&y&&a&&c&&f};var Zp=(t,e,{gitHosts:n,protocols:i})=>{if(!t)return;const s=Qp(t)?`github:${t}`:t,l=Jp(s,i);if(!l)return;const u=n.byShortcut[l.protocol],E=n.byDomain[l.hostname.startsWith("www.")?l.hostname.slice(4):l.hostname],a=u||E;if(!a)return;const c=n[u||E];let f=null;i[l.protocol]?.auth&&(l.username||l.password)&&(f=`${l.username}${l.password?":"+l.password:""}`);let p=null,d=null,y=null,m=null;try{if(u){let h=l.pathname.startsWith("/")?l.pathname.slice(1):l.pathname;const g=h.indexOf("@");g>-1&&(h=h.slice(g+1));const S=h.lastIndexOf("/");S>-1?(d=decodeURIComponent(h.slice(0,S)),d||(d=null),y=decodeURIComponent(h.slice(S+1))):y=decodeURIComponent(h),y.endsWith(".git")&&(y=y.slice(0,-4)),l.hash&&(p=decodeURIComponent(l.hash.slice(1))),m="shortcut"}else{if(!c.protocols.includes(l.protocol))return;const h=c.extract(l);if(!h)return;d=h.user&&decodeURIComponent(h.user),y=decodeURIComponent(h.project),p=decodeURIComponent(h.committish),m=i[l.protocol]?.name||l.protocol.slice(0,-1)}}catch(h){if(h instanceof URIError)return;throw h}return[a,d,f,y,p,m,e]};const{LRUCache:ef}=Yn,tf=Kp,rf=Zp,nf=El,Ks=new ef({max:1e3});class we{constructor(e,n,i,s,l,u,E={}){Object.assign(this,we.#n[e],{type:e,user:n,auth:i,project:s,committish:l,default:u,opts:E})}static#n={byShortcut:{},byDomain:{}};static#c={"git+ssh:":{name:"sshurl"},"ssh:":{name:"sshurl"},"git+https:":{name:"https",auth:!0},"git:":{auth:!0},"http:":{auth:!0},"https:":{auth:!0},"git+http:":{auth:!0}};static addHost(e,n){we.#n[e]=n,we.#n.byDomain[n.domain]=e,we.#n.byShortcut[`${e}:`]=e,we.#c[`${e}:`]={name:e}}static fromUrl(e,n){if(typeof e!="string")return;const i=e+JSON.stringify(n||{});if(!Ks.has(i)){const s=rf(e,n,{gitHosts:we.#n,protocols:we.#c});Ks.set(i,s?new we(...s):void 0)}return Ks.get(i)}static parseUrl(e){return nf(e)}#t(e,n){if(typeof e!="function")return null;const i={...this,...this.opts,...n};i.path||(i.path=""),i.path.startsWith("/")&&(i.path=i.path.slice(1)),i.noCommittish&&(i.committish=null);const s=e(i);return i.noGitPlus&&s.startsWith("git+")?s.slice(4):s}hash(){return this.committish?`#${this.committish}`:""}ssh(e){return this.#t(this.sshtemplate,e)}sshurl(e){return this.#t(this.sshurltemplate,e)}browse(e,...n){return typeof e!="string"?this.#t(this.browsetemplate,e):typeof n[0]!="string"?this.#t(this.browsetreetemplate,{...n[0],path:e}):this.#t(this.browsetreetemplate,{...n[1],fragment:n[0],path:e})}browseFile(e,...n){return typeof n[0]!="string"?this.#t(this.browseblobtemplate,{...n[0],path:e}):this.#t(this.browseblobtemplate,{...n[1],fragment:n[0],path:e})}docs(e){return this.#t(this.docstemplate,e)}bugs(e){return this.#t(this.bugstemplate,e)}https(e){return this.#t(this.httpstemplate,e)}git(e){return this.#t(this.gittemplate,e)}shortcut(e){return this.#t(this.shortcuttemplate,e)}path(e){return this.#t(this.pathtemplate,e)}tarball(e){return this.#t(this.tarballtemplate,{...e,noCommittish:!1})}file(e,n){return this.#t(this.filetemplate,{...n,path:e})}edit(e,n){return this.#t(this.edittemplate,{...n,path:e})}getDefaultRepresentation(){return this.default}toString(e){return this.default&&typeof this[this.default]=="function"?this[this.default](e):this.sshurl(e)}}for(const[t,e]of Object.entries(tf))we.addHost(t,e);var sf=we,of="Function.prototype.bind called on incompatible ",af=Object.prototype.toString,lf=Math.max,cf="[object Function]",dl=function(e,n){for(var i=[],s=0;s<e.length;s+=1)i[s]=e[s];for(var l=0;l<n.length;l+=1)i[l+e.length]=n[l];return i},uf=function(e,n){for(var i=[],s=n,l=0;s<e.length;s+=1,l+=1)i[l]=e[s];return i},pf=function(t,e){for(var n="",i=0;i<t.length;i+=1)n+=t[i],i+1<t.length&&(n+=e);return n},ff=function(e){var n=this;if(typeof n!="function"||af.apply(n)!==cf)throw new TypeError(of+n);for(var i=uf(arguments,1),s,l=function(){if(this instanceof s){var f=n.apply(this,dl(i,arguments));return Object(f)===f?f:this}return n.apply(e,dl(i,arguments))},u=lf(0,n.length-i.length),E=[],a=0;a<u;a++)E[a]="$"+a;if(s=Function("binder","return function ("+pf(E,",")+"){ return binder.apply(this,arguments); }")(l),n.prototype){var c=function(){};c.prototype=n.prototype,s.prototype=new c,c.prototype=null}return s},Ef=ff,df=Function.prototype.bind||Ef,Tf=Function.prototype.call,Pf=Object.prototype.hasOwnProperty,mf=df,yf=mf.call(Tf,Pf),hf=!0,_f=">= 8",bf=">= 0.5 && < 0.9.7",gf=!0,vf=!0,Sf=">= 0.5",Yf=!0,Lf=!0,Af=!0,Cf=">= 1 && < 8",wf="< 8",Vf=!0,Of=[">= 14.17 && < 15",">= 15.1"],Mf=!0,Uf=">= 0.7.12",Rf=!0,If="< 6",xf=!0,Df=">= 0.11.1",Ff=">= 0.11.1",$f=">= 0.11.1",kf=">= 0.11.1",Nf=">= 0.11.1",Bf=">= 0.11.1",jf=!0,Gf=">= 8.8",Wf=!0,Hf=">= 8",Kf="< 8",Xf=!0,zf=!0,qf=!0,Jf=!0,Qf=">= 8.5",Zf=">= 1",eE=">= 0.5",tE=!0,rE=!0,nE=!0,iE=">= 0.11.5 && < 3",sE=">= 0.9.4",oE=">= 0.9.4",aE=">= 1.4.1",lE=">= 0.9.4",cE=">= 0.9.4",uE=">= 0.9.4",pE=!0,fE=!0,EE=[">= 0.4 && < 0.7",">= 0.8"],dE=!0,TE=">= 0.11.13",PE=">= 0.11.3 && < 10",mE=">= 0.11.3",yE=!0,hE=">= 10",_E=!0,bE=!0,gE=!0,vE=">= 1",SE=!0,YE=[">= 13.4 && < 13.5",">= 18.17 && < 19",">= 20"],LE=">= 11.7",AE=">= 0.5",CE={assert:hf,"node:assert":[">= 14.18 && < 15",">= 16"],"assert/strict":">= 15","node:assert/strict":">= 16",async_hooks:_f,"node:async_hooks":[">= 14.18 && < 15",">= 16"],buffer_ieee754:bf,buffer:gf,"node:buffer":[">= 14.18 && < 15",">= 16"],child_process:vf,"node:child_process":[">= 14.18 && < 15",">= 16"],cluster:Sf,"node:cluster":[">= 14.18 && < 15",">= 16"],console:Yf,"node:console":[">= 14.18 && < 15",">= 16"],constants:Lf,"node:constants":[">= 14.18 && < 15",">= 16"],crypto:Af,"node:crypto":[">= 14.18 && < 15",">= 16"],_debug_agent:Cf,_debugger:wf,dgram:Vf,"node:dgram":[">= 14.18 && < 15",">= 16"],diagnostics_channel:Of,"node:diagnostics_channel":[">= 14.18 && < 15",">= 16"],dns:Mf,"node:dns":[">= 14.18 && < 15",">= 16"],"dns/promises":">= 15","node:dns/promises":">= 16",domain:Uf,"node:domain":[">= 14.18 && < 15",">= 16"],events:Rf,"node:events":[">= 14.18 && < 15",">= 16"],freelist:If,fs:xf,"node:fs":[">= 14.18 && < 15",">= 16"],"fs/promises":[">= 10 && < 10.1",">= 14"],"node:fs/promises":[">= 14.18 && < 15",">= 16"],_http_agent:Df,"node:_http_agent":[">= 14.18 && < 15",">= 16"],_http_client:Ff,"node:_http_client":[">= 14.18 && < 15",">= 16"],_http_common:$f,"node:_http_common":[">= 14.18 && < 15",">= 16"],_http_incoming:kf,"node:_http_incoming":[">= 14.18 && < 15",">= 16"],_http_outgoing:Nf,"node:_http_outgoing":[">= 14.18 && < 15",">= 16"],_http_server:Bf,"node:_http_server":[">= 14.18 && < 15",">= 16"],http:jf,"node:http":[">= 14.18 && < 15",">= 16"],http2:Gf,"node:http2":[">= 14.18 && < 15",">= 16"],https:Wf,"node:https":[">= 14.18 && < 15",">= 16"],inspector:Hf,"node:inspector":[">= 14.18 && < 15",">= 16"],"inspector/promises":[">= 19"],"node:inspector/promises":[">= 19"],_linklist:Kf,module:Xf,"node:module":[">= 14.18 && < 15",">= 16"],net:zf,"node:net":[">= 14.18 && < 15",">= 16"],"node-inspect/lib/_inspect":">= 7.6 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6 && < 12",os:qf,"node:os":[">= 14.18 && < 15",">= 16"],path:Jf,"node:path":[">= 14.18 && < 15",">= 16"],"path/posix":">= 15.3","node:path/posix":">= 16","path/win32":">= 15.3","node:path/win32":">= 16",perf_hooks:Qf,"node:perf_hooks":[">= 14.18 && < 15",">= 16"],process:Zf,"node:process":[">= 14.18 && < 15",">= 16"],punycode:eE,"node:punycode":[">= 14.18 && < 15",">= 16"],querystring:tE,"node:querystring":[">= 14.18 && < 15",">= 16"],readline:rE,"node:readline":[">= 14.18 && < 15",">= 16"],"readline/promises":">= 17","node:readline/promises":">= 17",repl:nE,"node:repl":[">= 14.18 && < 15",">= 16"],smalloc:iE,_stream_duplex:sE,"node:_stream_duplex":[">= 14.18 && < 15",">= 16"],_stream_transform:oE,"node:_stream_transform":[">= 14.18 && < 15",">= 16"],_stream_wrap:aE,"node:_stream_wrap":[">= 14.18 && < 15",">= 16"],_stream_passthrough:lE,"node:_stream_passthrough":[">= 14.18 && < 15",">= 16"],_stream_readable:cE,"node:_stream_readable":[">= 14.18 && < 15",">= 16"],_stream_writable:uE,"node:_stream_writable":[">= 14.18 && < 15",">= 16"],stream:pE,"node:stream":[">= 14.18 && < 15",">= 16"],"stream/consumers":">= 16.7","node:stream/consumers":">= 16.7","stream/promises":">= 15","node:stream/promises":">= 16","stream/web":">= 16.5","node:stream/web":">= 16.5",string_decoder:fE,"node:string_decoder":[">= 14.18 && < 15",">= 16"],sys:EE,"node:sys":[">= 14.18 && < 15",">= 16"],"test/reporters":">= 19.9 && < 20.2","node:test/reporters":[">= 18.17 && < 19",">= 19.9",">= 20"],"node:test":[">= 16.17 && < 17",">= 18"],timers:dE,"node:timers":[">= 14.18 && < 15",">= 16"],"timers/promises":">= 15","node:timers/promises":">= 16",_tls_common:TE,"node:_tls_common":[">= 14.18 && < 15",">= 16"],_tls_legacy:PE,_tls_wrap:mE,"node:_tls_wrap":[">= 14.18 && < 15",">= 16"],tls:yE,"node:tls":[">= 14.18 && < 15",">= 16"],trace_events:hE,"node:trace_events":[">= 14.18 && < 15",">= 16"],tty:_E,"node:tty":[">= 14.18 && < 15",">= 16"],url:bE,"node:url":[">= 14.18 && < 15",">= 16"],util:gE,"node:util":[">= 14.18 && < 15",">= 16"],"util/types":">= 15.3","node:util/types":">= 16","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/consarray":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/csvparser":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/logreader":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/profile_view":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/splaytree":[">= 4.4 && < 5",">= 5.2 && < 12"],v8:vE,"node:v8":[">= 14.18 && < 15",">= 16"],vm:SE,"node:vm":[">= 14.18 && < 15",">= 16"],wasi:YE,"node:wasi":[">= 18.17 && < 19",">= 20"],worker_threads:LE,"node:worker_threads":[">= 14.18 && < 15",">= 16"],zlib:AE,"node:zlib":[">= 14.18 && < 15",">= 16"]},wE=yf;function VE(t,e){for(var n=t.split("."),i=e.split(" "),s=i.length>1?i[0]:"=",l=(i.length>1?i[1]:i[0]).split("."),u=0;u<3;++u){var E=parseInt(n[u]||0,10),a=parseInt(l[u]||0,10);if(E!==a)return s==="<"?E<a:s===">="?E>=a:!1}return s===">="}function Tl(t,e){var n=e.split(/ ?&& ?/);if(n.length===0)return!1;for(var i=0;i<n.length;++i)if(!VE(t,n[i]))return!1;return!0}function OE(t,e){if(typeof e=="boolean")return e;var n=typeof t>"u"?process.versions&&process.versions.node:t;if(typeof n!="string")throw new TypeError(typeof t>"u"?"Unable to determine current node version":"If provided, a valid node version is required");if(e&&typeof e=="object"){for(var i=0;i<e.length;++i)if(Tl(n,e[i]))return!0;return!1}return Tl(n,e)}var Pl=CE,ME=function(e,n){return wE(Pl,e)&&OE(n,Pl[e])},UE=RE;function RE(t){if(!t||t==="ERROR: No README data found!")return;t=t.trim().split(`
|
|
12
|
-
`);let e=0;for(;t[e]&&t[e].trim().match(/^(#|$)/);)e++;const n=t.length;let i=e+1;for(;i<n&&t[i].trim();)i++;return t.slice(e,i).join(" ").trim()}var IE={dependancies:"dependencies",dependecies:"dependencies",depdenencies:"dependencies",devEependencies:"devDependencies",depends:"dependencies","dev-dependencies":"devDependencies",devDependences:"devDependencies",devDepenencies:"devDependencies",devdependencies:"devDependencies",repostitory:"repository",repo:"repository",prefereGlobal:"preferGlobal",hompage:"homepage",hampage:"homepage",autohr:"author",autor:"author",contributers:"contributors",publicationConfig:"publishConfig",script:"scripts"},xE={web:"url",name:"url"},DE={server:"start",tests:"test"},FE={topLevel:IE,bugs:xE,script:DE},$E=hp,kE=gp,NE=jp,Cn=sf,BE=ME,jE=["dependencies","devDependencies","optionalDependencies"],GE=UE,Xs=$o,Ke=FE,ml=t=>t.includes("@")&&t.indexOf("@")<t.lastIndexOf("."),WE={warn:function(){},fixRepositoryField:function(t){if(t.repositories&&(this.warn("repositories"),t.repository=t.repositories[0]),!t.repository)return this.warn("missingRepository");typeof t.repository=="string"&&(t.repository={type:"git",url:t.repository});var e=t.repository.url||"";if(e){var n=Cn.fromUrl(e);n&&(e=t.repository.url=n.getDefaultRepresentation()==="shortcut"?n.https():n.toString())}e.match(/github.com\/[^/]+\/[^/]+\.git\.git$/)&&this.warn("brokenGitUrl",e)},fixTypos:function(t){Object.keys(Ke.topLevel).forEach(function(e){Object.prototype.hasOwnProperty.call(t,e)&&this.warn("typo",e,Ke.topLevel[e])},this)},fixScriptsField:function(t){if(t.scripts){if(typeof t.scripts!="object"){this.warn("nonObjectScripts"),delete t.scripts;return}Object.keys(t.scripts).forEach(function(e){typeof t.scripts[e]!="string"?(this.warn("nonStringScript"),delete t.scripts[e]):Ke.script[e]&&!t.scripts[Ke.script[e]]&&this.warn("typo",e,Ke.script[e],"scripts")},this)}},fixFilesField:function(t){var e=t.files;e&&!Array.isArray(e)?(this.warn("nonArrayFiles"),delete t.files):t.files&&(t.files=t.files.filter(function(n){return!n||typeof n!="string"?(this.warn("invalidFilename",n),!1):!0},this))},fixBinField:function(t){if(t.bin&&typeof t.bin=="string"){var e={},n;(n=t.name.match(/^@[^/]+[/](.*)$/))?e[n[1]]=t.bin:e[t.name]=t.bin,t.bin=e}},fixManField:function(t){t.man&&typeof t.man=="string"&&(t.man=[t.man])},fixBundleDependenciesField:function(t){var e="bundledDependencies",n="bundleDependencies";t[e]&&!t[n]&&(t[n]=t[e],delete t[e]),t[n]&&!Array.isArray(t[n])?(this.warn("nonArrayBundleDependencies"),delete t[n]):t[n]&&(t[n]=t[n].filter(function(i){return!i||typeof i!="string"?(this.warn("nonStringBundleDependency",i),!1):(t.dependencies||(t.dependencies={}),Object.prototype.hasOwnProperty.call(t.dependencies,i)||(this.warn("nonDependencyBundleDependency",i),t.dependencies[i]="*"),!0)},this))},fixDependencies:function(t,e){ZE(t,this.warn),JE(t,this.warn),this.fixBundleDependenciesField(t),["dependencies","devDependencies"].forEach(function(n){if(n in t){if(!t[n]||typeof t[n]!="object"){this.warn("nonObjectDependencies",n),delete t[n];return}Object.keys(t[n]).forEach(function(i){var s=t[n][i];typeof s!="string"&&(this.warn("nonStringDependency",i,JSON.stringify(s)),delete t[n][i]);var l=Cn.fromUrl(t[n][i]);l&&(t[n][i]=l.toString())},this)}},this)},fixModulesField:function(t){t.modules&&(this.warn("deprecatedModules"),delete t.modules)},fixKeywordsField:function(t){typeof t.keywords=="string"&&(t.keywords=t.keywords.split(/,\s+/)),t.keywords&&!Array.isArray(t.keywords)?(delete t.keywords,this.warn("nonArrayKeywords")):t.keywords&&(t.keywords=t.keywords.filter(function(e){return typeof e!="string"||!e?(this.warn("nonStringKeyword"),!1):!0},this))},fixVersionField:function(t,e){var n=!e;if(!t.version)return t.version="",!0;if(!$E(t.version,n))throw new Error('Invalid version: "'+t.version+'"');return t.version=kE(t.version,n),!0},fixPeople:function(t){yl(t,zE),yl(t,qE)},fixNameField:function(t,e){typeof e=="boolean"?e={strict:e}:typeof e>"u"&&(e={});var n=e.strict;if(!t.name&&!n){t.name="";return}if(typeof t.name!="string")throw new Error("name field must be a string.");n||(t.name=t.name.trim()),XE(t.name,n,e.allowLegacyCase),BE(t.name)&&this.warn("conflictingName",t.name)},fixDescriptionField:function(t){t.description&&typeof t.description!="string"&&(this.warn("nonStringDescription"),delete t.description),t.readme&&!t.description&&(t.description=GE(t.readme)),t.description===void 0&&delete t.description,t.description||this.warn("missingDescription")},fixReadmeField:function(t){t.readme||(this.warn("missingReadme"),t.readme="ERROR: No README data found!")},fixBugsField:function(t){if(!t.bugs&&t.repository&&t.repository.url){var e=Cn.fromUrl(t.repository.url);e&&e.bugs()&&(t.bugs={url:e.bugs()})}else if(t.bugs){if(typeof t.bugs=="string")ml(t.bugs)?t.bugs={email:t.bugs}:Xs.parse(t.bugs).protocol?t.bugs={url:t.bugs}:this.warn("nonEmailUrlBugsString");else{ed(t.bugs,this.warn);var n=t.bugs;t.bugs={},n.url&&(typeof n.url=="string"&&Xs.parse(n.url).protocol?t.bugs.url=n.url:this.warn("nonUrlBugsUrlField")),n.email&&(typeof n.email=="string"&&ml(n.email)?t.bugs.email=n.email:this.warn("nonEmailBugsEmailField"))}!t.bugs.email&&!t.bugs.url&&(delete t.bugs,this.warn("emptyNormalizedBugs"))}},fixHomepageField:function(t){if(!t.homepage&&t.repository&&t.repository.url){var e=Cn.fromUrl(t.repository.url);e&&e.docs()&&(t.homepage=e.docs())}if(t.homepage){if(typeof t.homepage!="string")return this.warn("nonUrlHomepage"),delete t.homepage;Xs.parse(t.homepage).protocol||(t.homepage="http://"+t.homepage)}},fixLicenseField:function(t){const e=t.license||t.licence;if(!e)return this.warn("missingLicense");if(typeof e!="string"||e.length<1||e.trim()==="")return this.warn("invalidLicense");if(!NE(e).validForNewPackages)return this.warn("invalidLicense")}};function HE(t){if(t.charAt(0)!=="@")return!1;var e=t.slice(1).split("/");return e.length!==2?!1:e[0]&&e[1]&&e[0]===encodeURIComponent(e[0])&&e[1]===encodeURIComponent(e[1])}function KE(t){return!t.match(/[/@\s+%:]/)&&t===encodeURIComponent(t)}function XE(t,e,n){if(t.charAt(0)==="."||!(HE(t)||KE(t))||e&&!n&&t!==t.toLowerCase()||t.toLowerCase()==="node_modules"||t.toLowerCase()==="favicon.ico")throw new Error("Invalid name: "+JSON.stringify(t))}function yl(t,e){return t.author&&(t.author=e(t.author)),["maintainers","contributors"].forEach(function(n){Array.isArray(t[n])&&(t[n]=t[n].map(e))}),t}function zE(t){if(typeof t=="string")return t;var e=t.name||"",n=t.url||t.web,i=n?" ("+n+")":"",s=t.email||t.mail,l=s?" <"+s+">":"";return e+l+i}function qE(t){if(typeof t!="string")return t;var e=t.match(/^([^(<]+)/),n=t.match(/\(([^()]+)\)/),i=t.match(/<([^<>]+)>/),s={};return e&&e[0].trim()&&(s.name=e[0].trim()),i&&(s.email=i[1]),n&&(s.url=n[1]),s}function JE(t,e){var n=t.optionalDependencies;if(n){var i=t.dependencies||{};Object.keys(n).forEach(function(s){i[s]=n[s]}),t.dependencies=i}}function QE(t,e,n){if(!t)return{};if(typeof t=="string"&&(t=t.trim().split(/[\n\r\s\t ,]+/)),!Array.isArray(t))return t;n("deprecatedArrayDependencies",e);var i={};return t.filter(function(s){return typeof s=="string"}).forEach(function(s){s=s.trim().split(/(:?[@\s><=])/);var l=s.shift(),u=s.join("");u=u.trim(),u=u.replace(/^@/,""),i[l]=u}),i}function ZE(t,e){jE.forEach(function(n){t[n]&&(t[n]=QE(t[n],n,e))})}function ed(t,e){t&&Object.keys(t).forEach(function(n){Ke.bugs[n]&&(e("typo",n,Ke.bugs[n],"bugs"),t[Ke.bugs[n]]=t[n],delete t[n])})}var td="'repositories' (plural) Not supported. Please pick one as the 'repository' field",rd="No repository field.",nd="Probably broken git url: %s",id="scripts must be an object",sd="script values must be string commands",od="Invalid 'files' member",ad="Invalid filename in 'files' list: %s",ld="Invalid 'bundleDependencies' list. Must be array of package names",cd="Invalid bundleDependencies member: %s",ud="Non-dependency in bundleDependencies: %s",pd="%s field must be an object",fd="Invalid dependency: %s %s",Ed="specifying %s as array is deprecated",dd="modules field is deprecated",Td="keywords should be an array of strings",Pd="keywords should be an array of strings",md="%s is also the name of a node core module.",yd="'description' field should be a string",hd="No description",_d="No README data",bd="No license field.",gd="Bug string field must be url, email, or {email,url}",vd="bugs.url field must be a string url. Deleted.",Sd="bugs.email field must be a string email. Deleted.",Yd="Normalized value of bugs field is an empty object. Deleted.",Ld="homepage field must be a string url. Deleted.",Ad="license should be a valid SPDX license expression",Cd="%s should probably be %s.",wd={repositories:td,missingRepository:rd,brokenGitUrl:nd,nonObjectScripts:id,nonStringScript:sd,nonArrayFiles:od,invalidFilename:ad,nonArrayBundleDependencies:ld,nonStringBundleDependency:cd,nonDependencyBundleDependency:ud,nonObjectDependencies:pd,nonStringDependency:fd,deprecatedArrayDependencies:Ed,deprecatedModules:dd,nonArrayKeywords:Td,nonStringKeyword:Pd,conflictingName:md,nonStringDescription:yd,missingDescription:hd,missingReadme:_d,missingLicense:bd,nonEmailUrlBugsString:gd,nonUrlBugsUrlField:vd,nonEmailBugsEmailField:Sd,emptyNormalizedBugs:Yd,nonUrlHomepage:Ld,invalidLicense:Ad,typo:Cd},hl=Qc,zs=wd,Vd=function(){var t=Array.prototype.slice.call(arguments,0),e=t.shift();if(e==="typo")return Od.apply(null,t);var n=zs[e]?zs[e]:e+": '%s'";return t.unshift(n),hl.format.apply(null,t)};function Od(t,e,n){return n&&(t=n+"['"+t+"']",e=n+"['"+e+"']"),hl.format(zs.typo,t,e)}var Md=_l,qs=WE;_l.fixer=qs;var Ud=Vd,Rd=["name","version","description","repository","modules","scripts","files","bin","man","bugs","keywords","readme","homepage","license"],Id=["dependencies","people","typos"],Js=Rd.map(function(t){return bl(t)+"Field"});Js=Js.concat(Id);function _l(t,e,n){e===!0&&(e=null,n=!0),n||(n=!1),(!e||t.private)&&(e=function(i){}),t.scripts&&t.scripts.install==="node-gyp rebuild"&&!t.scripts.preinstall&&(t.gypfile=!0),qs.warn=function(){e(Ud.apply(null,arguments))},Js.forEach(function(i){qs["fix"+bl(i)](t,n)}),t._id=t.name+"@"+t.version}function bl(t){return t.charAt(0).toUpperCase()+t.slice(1)}var xd=Eu(Md);function Dd(t){return t instanceof URL?Zc(t):t}const Fd=t=>jo.resolve(Dd(t)??".","package.json"),$d=(t,e)=>{const n=typeof t=="string"?Zu(t):t;return e&&xd(n),n};function kd({cwd:t,normalize:e=!0}={}){const n=No.readFileSync(Fd(t),"utf8");return $d(n,e)}function Nd(t){const e=Go("package.json",t);if(e)return{packageJson:kd({...t,cwd:jo.dirname(e)}),path:e}}const Qs="js,ts,mjs,cjs,mts,cts",Bd=()=>{const t=Go(".nvmrc");if(t){let e=No.readFileSync(t,"utf8");return e=e.trim(),e.startsWith("v")&&(e=e.slice(1)),e}return"18.19.0"},gl=Nd(),jd=gl&&"bin"in gl.packageJson,[wn,Zs,eo]=Bo.configs["flat/mixed-esm-and-cjs"],to={"n/no-missing-import":"off","n/no-missing-require":"off","n/no-extraneous-import":"off"},ro=D({...wn,files:[...wn.files,"**/*.ts"],languageOptions:{...wn.languageOptions,sourceType:"module"},rules:{...wn.rules,...to}}),Gd=D({...Zs,files:[...Zs.files,"**/*.mts"],rules:{...Zs.rules,...to}}),Wd=D({...eo,files:[...eo.files,"**/*.cts"],rules:{...eo.rules,...to}}),Hd=(t={})=>{const e=[D({plugins:{n:Bo},settings:{node:{version:`>=${Bd()}`}}}),Wd];return t?.node&&e.push(ro,Gd,D({files:t.node===!0?[`**/*.{${Qs}}`]:t.node,rules:{"n/global-require":"error","n/no-mixed-requires":["error",{allowCall:!0,grouping:!0}],"n/no-new-require":"error","n/no-path-concat":"error","n/prefer-global/buffer":["error","always"],"n/prefer-global/console":["error","always"],"n/prefer-global/process":["error","always"],"n/prefer-global/text-decoder":["error","always"],"n/prefer-global/text-encoder":["error","always"],"n/prefer-global/url":["error","always"],"n/prefer-global/url-search-params":["error","always"],"n/prefer-promises/dns":"error","n/prefer-promises/fs":"error","n/no-unsupported-features/node-builtins":"warn"}})),jd&&e.push(D({...ro,files:[`**/cli.{${Qs}}`,`**/cli/**/*.{${Qs}}`],rules:{...ro.rules,"n/no-process-exit":"off"}})),e},Kd=[D({plugins:{promise:Wo},rules:Wo.configs.recommended.rules}),D({rules:{"promise/always-return":"off","promise/catch-or-return":["error",{allowThen:!0}]}})],Xd=Ge("jest")?D({files:["**/{test,tests}/*"],languageOptions:{globals:yn.jest}}):void 0,{recommended:zd}=Ho.configs,qd=()=>[D({files:["**/*.md"],plugins:{markdown:Ho},processor:"markdown/markdown"}),D(zd[2]),D({files:["**/*.md/*.{js,jsx,ts,tsx,vue}"],rules:{"import-x/extensions":"off","import-x/no-extraneous-dependencies":"off","import-x/no-unresolved":"off","no-console":"off","no-new":"off","no-empty-function":"off","no-useless-constructor":"off","no-undef":"off","n/hashbang":"off","no-unused-expressions":"off","unicorn/filename-case":"off","unicorn/no-array-reduce":"off","unicorn/prefer-object-from-entries":"off","unicorn/no-anonymous-default-export":"off","unicorn/no-array-callback-reference":"off","@stylistic/indent":["error",4],"@stylistic/semi":["error","never"],"@stylistic/comma-dangle":["error","never"]}}),D({files:["**/*.md/*.{js,jsx,vue}"],rules:{"no-unused-vars":"warn"}}),D({files:["**/*.md/*.{jsx,tsx}"],rules:{"react/jsx-indent-props":["error",4],"react/jsx-no-undef":"off","react/react-in-jsx-scope":"off"}}),D({files:["**/*.md/*.vue"],rules:{"vue/html-indent":["error",4],"vue/no-undef-components":"warn","vue/require-v-for-key":"off"}}),D({files:["**/*.md/*.{ts,tsx}"],rules:{"@stylistic/member-delimiter-style":["error",{multiline:{delimiter:"none",requireLast:!1},multilineDetection:"brackets",singleline:{delimiter:"semi",requireLast:!1}}],"@typescript-eslint/no-unused-vars":"warn"}}),D({files:["**/*.md/*.{json,json5}"],rules:{"jsonc/indent":["error",4],"unicorn/filename-case":"off"}})],[Jd]=hn.configs.base.overrides,Qd=[D({files:["**/*.{json,json5,jsonc}"],plugins:{jsonc:hn},languageOptions:{parser:hn},rules:{...Jd.rules,"jsonc/indent":["error","tab"],"jsonc/key-spacing":["error",{afterColon:!0,beforeColon:!1,mode:"strict"}],"jsonc/object-property-newline":"error"}}),D({files:["**/package.json"],rules:{"jsonc/sort-keys":["error",{pathPattern:"^$",order:["name","version","description","keywords","license","repository","funding","author","private","publishConfig","files","type","bin","main","module","types","exports","imports","unpkg","scripts","husky","simple-git-hooks","lint-staged","engines","peerDependencies","peerDependenciesMeta","dependencies","optionalDependencies","devDependencies","bundledDependencies","bundleDependencies","overrides","eslintConfig"]},{pathPattern:"^(?:dev|peer|optional|bundled)?[Dd]ependencies(Meta)?$",order:{type:"asc"}}]}}),D({files:["**/tsconfig.json","**/tsconfig.*.json"],rules:{...hn.configs["recommended-with-jsonc"].rules,"jsonc/sort-keys":["error",{pathPattern:"^$",order:["extends","compilerOptions","references","files","include","exclude"]},{pathPattern:"^compilerOptions$",order:["incremental","composite","tsBuildInfoFile","disableSourceOfProjectReferenceRedirect","disableSolutionSearching","disableReferencedProjectLoad","target","jsx","jsxFactory","jsxFragmentFactory","jsxImportSource","lib","moduleDetection","noLib","reactNamespace","useDefineForClassFields","emitDecoratorMetadata","experimentalDecorators","baseUrl","rootDir","rootDirs","customConditions","module","moduleResolution","moduleSuffixes","noResolve","paths","resolveJsonModule","resolvePackageJsonExports","resolvePackageJsonImports","typeRoots","types","allowArbitraryExtensions","allowImportingTsExtensions","allowUmdGlobalAccess","allowJs","checkJs","maxNodeModuleJsDepth","strict","strictBindCallApply","strictFunctionTypes","strictNullChecks","strictPropertyInitialization","allowUnreachableCode","allowUnusedLabels","alwaysStrict","exactOptionalPropertyTypes","noFallthroughCasesInSwitch","noImplicitAny","noImplicitOverride","noImplicitReturns","noImplicitThis","noPropertyAccessFromIndexSignature","noUncheckedIndexedAccess","noUnusedLocals","noUnusedParameters","useUnknownInCatchVariables","declaration","declarationDir","declarationMap","downlevelIteration","emitBOM","emitDeclarationOnly","importHelpers","importsNotUsedAsValues","inlineSourceMap","inlineSources","mapRoot","newLine","noEmit","noEmitHelpers","noEmitOnError","outDir","outFile","preserveConstEnums","preserveValueImports","removeComments","sourceMap","sourceRoot","stripInternal","allowSyntheticDefaultImports","esModuleInterop","forceConsistentCasingInFileNames","isolatedModules","preserveSymlinks","verbatimModuleSyntax","skipDefaultLibCheck","skipLibCheck"]}]}})],Zd=D({files:["**/*.{yml,yaml}"],plugins:{yml:bs},languageOptions:{parser:eu},rules:{...bs.configs.base.rules,...bs.configs.standard.rules,"yml/no-empty-mapping-value":"off"}}),eT=[D({plugins:{"no-use-extend-native":Ko},rules:Ko.configs.recommended.rules})],tT=[D({plugins:{unicorn:Xo},rules:{...Xo.configs["flat/recommended"].rules,"unicorn/better-regex":"off","unicorn/consistent-function-scoping":"off","unicorn/no-array-for-each":"off","unicorn/no-for-loop":"off","unicorn/no-new-buffer":"off","unicorn/no-null":"off","unicorn/no-process-exit":"off","unicorn/prefer-export-from":["off",{ignoreUsedVariables:!0}],"unicorn/prefer-json-parse-buffer":"off","unicorn/prefer-module":"off","unicorn/prefer-node-protocol":"off","unicorn/prefer-spread":"off","unicorn/prefer-ternary":"off","unicorn/prefer-top-level-await":"off","unicorn/prevent-abbreviations":["error",{allowList:{i:!0,j:!0},replacements:{args:!1,dev:!1,dist:!1,env:!1,pkg:!1,prop:!1,props:!1,ref:!1,src:!1}}],"unicorn/template-indent":"off","unicorn/no-abusive-eslint-disable":"off"}})],rT=tu(),vl=rT?.config.compilerOptions?.jsx,Sl=vl==="react-jsx"||vl==="react-jsxdev",nT=D({files:["**/*.{jsx,tsx}"],plugins:{react:nr,"react-hooks":zo},languageOptions:{parserOptions:Sl?nr.configs["jsx-runtime"].parserOptions:nr.configs.recommended.parserOptions},settings:{react:{version:"detect"}},rules:{...nr.configs.recommended.rules,...Sl?nr.configs["jsx-runtime"].rules:{},...zo.configs.recommended.rules,"@stylistic/jsx-quotes":["error","prefer-double"],"react/jsx-indent-props":["error","tab"],"react/jsx-max-props-per-line":["error",{maximum:1}],"unicorn/filename-case":["error",{case:"pascalCase",ignore:["\\.spec\\.tsx$"]}]}}),iT={...et.configs.base.rules,...et.configs["vue3-essential"].rules,...et.configs["vue3-strongly-recommended"].rules,...et.configs["vue3-recommended"].rules},sT=()=>Ge("unplugin-auto-import")?Object.fromEntries(["vue","vue-router","@vueuse/core","@vueuse/head"].flatMap(t=>Ge(t)?iu(t).map(e=>[e,"readonly"]):[])):{},oT=()=>{const t=[];Ge("vitepress")&&t.push("content","client-only","outbound-link");const e="./src/components";if(Ge("unplugin-vue-components")&&qo.existsSync(e)){const i=qo.readdirSync(e).filter(s=>s.endsWith(".vue")).map(s=>s.replace(".vue",""));t.push(...i)}return Ge("unplugin-icons")&&t.push("icon-*"),t},aT=D({files:["**/*.vue"],processor:et.processors[".vue"],languageOptions:{globals:{...yn.browser,...et.environments["setup-compiler-macros"].globals,...sT()},parser:ru,parserOptions:{parser:{ts:"@typescript-eslint/parser"}}}}),lT=D({files:["**/*.vue"],plugins:{vue:et},rules:{...iT,"unicorn/filename-case":["error",{case:"pascalCase"}],"vue/html-indent":["error","tab"],"vue/multi-word-component-names":"off","vue/no-undef-components":["error",{ignorePatterns:["router-view","router-link",...oT()]}],"vue/comment-directive":["error",{reportUnusedDisableDirectives:!0}],"vue/component-tags-order":"off","vue/block-order":["error",{order:["script[setup]",["script","template"],"style"]}]}});var cT="lintroll",uT="1.5.0",Yl={},Ll={},Al={},ae={},_t={},rt={};Object.defineProperty(rt,"__esModule",{value:!0});const or={ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],AwaitExpression:["argument"],BinaryExpression:["left","right"],BlockStatement:["body"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],ExportAllDeclaration:["exported","source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportExpression:["source"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXClosingFragment:[],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXFragment:["openingFragment","children","closingFragment"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes"],JSXOpeningFragment:[],JSXSpreadAttribute:["argument"],JSXSpreadChild:["expression"],JSXText:[],LabeledStatement:["label","body"],Literal:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],StaticBlock:["body"],Super:[],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},pT=Object.keys(or);for(const t of pT)Object.freeze(or[t]);Object.freeze(or);const fT=new Set(["parent","leadingComments","trailingComments"]);function ET(t){return!fT.has(t)&&t[0]!=="_"}function dT(t){return Object.keys(t).filter(ET)}function TT(t){const e=Object.assign({},or);for(const n of Object.keys(t))if(Object.prototype.hasOwnProperty.call(e,n)){const i=new Set(t[n]);for(const s of e[n])i.add(s);e[n]=Object.freeze(Array.from(i))}else e[n]=Object.freeze(Array.from(t[n]));return Object.freeze(e)}rt.KEYS=or,rt.getKeys=dT,rt.unionWith=TT,function(t){Object.defineProperty(t,"__esModule",{value:!0});var e=rt;function n(P,_){const T=_.range[0];let b=P,L=!1;do{L=!1;for(const Y of b.childScopes){const M=Y.block.range;if(M[0]<=T&&T<M[1]){b=Y,L=!0;break}}}while(L);return b}function i(P,_){let T="",b=P;for(typeof _=="string"?T=_:(T=_.name,b=n(b,_));b!=null;){const L=b.set.get(T);if(L!=null)return L;b=b.upper}return null}function s(P){return!this(P)}function l(P){return s.bind(P)}function u(P,_){return P.type==="Punctuator"&&P.value===_}function E(P){return u(P,"=>")}function a(P){return u(P,",")}function c(P){return u(P,";")}function f(P){return u(P,":")}function p(P){return u(P,"(")}function d(P){return u(P,")")}function y(P){return u(P,"[")}function m(P){return u(P,"]")}function h(P){return u(P,"{")}function g(P){return u(P,"}")}function S(P){return["Block","Line","Shebang"].includes(P.type)}const O=l(E),w=l(a),F=l(c),se=l(f),ce=l(p),Pe=l(d),dt=l(y),Jt=l(m),Qt=l(h),go=l(g),vo=l(S);function So(P,_){return P.id?_.getTokenAfter(P.id,p):_.getFirstToken(P,p)}function Yo(P,_){const T=P.parent;let b=null,L=null;if(P.type==="ArrowFunctionExpression"){const Y=_.getTokenBefore(P.body,E);b=Y.loc.start,L=Y.loc.end}else T.type==="Property"||T.type==="MethodDefinition"||T.type==="PropertyDefinition"?(b=T.loc.start,L=So(P,_).loc.start):(b=P.loc.start,L=So(P,_).loc.start);return{start:{...b},end:{...L}}}const Lo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof v<"u"?v:{},Ac=Object.freeze(new Set(["Array","ArrayBuffer","BigInt","BigInt64Array","BigUint64Array","Boolean","DataView","Date","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","Float32Array","Float64Array","Function","Infinity","Int16Array","Int32Array","Int8Array","isFinite","isNaN","isPrototypeOf","JSON","Map","Math","NaN","Number","Object","parseFloat","parseInt","Promise","Proxy","Reflect","RegExp","Set","String","Symbol","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray","undefined","unescape","WeakMap","WeakSet"])),ms=new Set([Array.isArray,Array.of,Array.prototype.at,Array.prototype.concat,Array.prototype.entries,Array.prototype.every,Array.prototype.filter,Array.prototype.find,Array.prototype.findIndex,Array.prototype.flat,Array.prototype.includes,Array.prototype.indexOf,Array.prototype.join,Array.prototype.keys,Array.prototype.lastIndexOf,Array.prototype.slice,Array.prototype.some,Array.prototype.toString,Array.prototype.values,typeof BigInt=="function"?BigInt:void 0,Boolean,Date,Date.parse,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,escape,isFinite,isNaN,isPrototypeOf,Map,Map.prototype.entries,Map.prototype.get,Map.prototype.has,Map.prototype.keys,Map.prototype.values,...Object.getOwnPropertyNames(Math).filter(P=>P!=="random").map(P=>Math[P]).filter(P=>typeof P=="function"),Number,Number.isFinite,Number.isNaN,Number.parseFloat,Number.parseInt,Number.prototype.toExponential,Number.prototype.toFixed,Number.prototype.toPrecision,Number.prototype.toString,Object,Object.entries,Object.is,Object.isExtensible,Object.isFrozen,Object.isSealed,Object.keys,Object.values,parseFloat,parseInt,RegExp,Set,Set.prototype.entries,Set.prototype.has,Set.prototype.keys,Set.prototype.values,String,String.fromCharCode,String.fromCodePoint,String.raw,String.prototype.at,String.prototype.charAt,String.prototype.charCodeAt,String.prototype.codePointAt,String.prototype.concat,String.prototype.endsWith,String.prototype.includes,String.prototype.indexOf,String.prototype.lastIndexOf,String.prototype.normalize,String.prototype.padEnd,String.prototype.padStart,String.prototype.slice,String.prototype.startsWith,String.prototype.substr,String.prototype.substring,String.prototype.toLowerCase,String.prototype.toString,String.prototype.toUpperCase,String.prototype.trim,String.prototype.trimEnd,String.prototype.trimLeft,String.prototype.trimRight,String.prototype.trimStart,Symbol.for,Symbol.keyFor,unescape].filter(P=>typeof P=="function")),Ao=new Set([Object.freeze,Object.preventExtensions,Object.seal]),Cc=[[Map,new Set(["size"])],[RegExp,new Set(["dotAll","flags","global","hasIndices","ignoreCase","multiline","source","sticky","unicode"])],[Set,new Set(["size"])]];function wc(P,_){let T=P;for(;(typeof T=="object"||typeof T=="function")&&T!==null;){const b=Object.getOwnPropertyDescriptor(T,_);if(b)return b;T=Object.getPrototypeOf(T)}return null}function Vc(P,_){const T=wc(P,_);return T!=null&&T.get!=null}function Zt(P,_){const T=[];for(let b=0;b<P.length;++b){const L=P[b];if(L==null)T.length=b+1;else if(L.type==="SpreadElement"){const Y=W(L.argument,_);if(Y==null)return null;T.push(...Y.value)}else{const Y=W(L,_);if(Y==null)return null;T.push(Y.value)}}return T}function Oc(P){const _=P.references,T=_.filter(L=>L.init).length,b=_.filter(L=>L.isReadOnly()).length;return T===1&&b+T===_.length}const Co=Object.freeze({ArrayExpression(P,_){const T=Zt(P.elements,_);return T!=null?{value:T}:null},AssignmentExpression(P,_){return P.operator==="="?W(P.right,_):null},BinaryExpression(P,_){if(P.operator==="in"||P.operator==="instanceof")return null;const T=W(P.left,_),b=W(P.right,_);if(T!=null&&b!=null)switch(P.operator){case"==":return{value:T.value==b.value};case"!=":return{value:T.value!=b.value};case"===":return{value:T.value===b.value};case"!==":return{value:T.value!==b.value};case"<":return{value:T.value<b.value};case"<=":return{value:T.value<=b.value};case">":return{value:T.value>b.value};case">=":return{value:T.value>=b.value};case"<<":return{value:T.value<<b.value};case">>":return{value:T.value>>b.value};case">>>":return{value:T.value>>>b.value};case"+":return{value:T.value+b.value};case"-":return{value:T.value-b.value};case"*":return{value:T.value*b.value};case"/":return{value:T.value/b.value};case"%":return{value:T.value%b.value};case"**":return{value:T.value**b.value};case"|":return{value:T.value|b.value};case"^":return{value:T.value^b.value};case"&":return{value:T.value&b.value}}return null},CallExpression(P,_){const T=P.callee,b=Zt(P.arguments,_);if(b!=null)if(T.type==="MemberExpression"){if(T.property.type==="PrivateIdentifier")return null;const L=W(T.object,_);if(L!=null){if(L.value==null&&(L.optional||P.optional))return{value:void 0,optional:!0};const Y=ys(T,_);if(Y!=null){const M=L.value,N=Y.value;if(ms.has(M[N]))return{value:M[N](...b)};if(Ao.has(M[N]))return{value:b[0]}}}}else{const L=W(T,_);if(L!=null){if(L.value==null&&P.optional)return{value:void 0,optional:!0};const Y=L.value;if(ms.has(Y))return{value:Y(...b)};if(Ao.has(Y))return{value:b[0]}}}return null},ConditionalExpression(P,_){const T=W(P.test,_);return T!=null?T.value?W(P.consequent,_):W(P.alternate,_):null},ExpressionStatement(P,_){return W(P.expression,_)},Identifier(P,_){if(_!=null){const T=i(_,P);if(T!=null&&T.defs.length===0&&Ac.has(T.name)&&T.name in Lo)return{value:Lo[T.name]};if(T!=null&&T.defs.length===1){const b=T.defs[0];if(b.parent&&b.type==="Variable"&&(b.parent.kind==="const"||Oc(T))&&b.node.id.type==="Identifier")return W(b.node.init,_)}}return null},Literal(P){return(P.regex!=null||P.bigint!=null)&&P.value==null?null:{value:P.value}},LogicalExpression(P,_){const T=W(P.left,_);if(T!=null){if(P.operator==="||"&&T.value||P.operator==="&&"&&!T.value||P.operator==="??"&&T.value!=null)return T;const b=W(P.right,_);if(b!=null)return b}return null},MemberExpression(P,_){if(P.property.type==="PrivateIdentifier")return null;const T=W(P.object,_);if(T!=null){if(T.value==null&&(T.optional||P.optional))return{value:void 0,optional:!0};const b=ys(P,_);if(b!=null){if(!Vc(T.value,b.value))return{value:T.value[b.value]};for(const[L,Y]of Cc)if(T.value instanceof L&&Y.has(b.value))return{value:T.value[b.value]}}}return null},ChainExpression(P,_){const T=W(P.expression,_);return T!=null?{value:T.value}:null},NewExpression(P,_){const T=W(P.callee,_),b=Zt(P.arguments,_);if(T!=null&&b!=null){const L=T.value;if(ms.has(L))return{value:new L(...b)}}return null},ObjectExpression(P,_){const T={};for(const b of P.properties)if(b.type==="Property"){if(b.kind!=="init")return null;const L=ys(b,_),Y=W(b.value,_);if(L==null||Y==null)return null;T[L.value]=Y.value}else if(b.type==="SpreadElement"||b.type==="ExperimentalSpreadProperty"){const L=W(b.argument,_);if(L==null)return null;Object.assign(T,L.value)}else return null;return{value:T}},SequenceExpression(P,_){const T=P.expressions[P.expressions.length-1];return W(T,_)},TaggedTemplateExpression(P,_){const T=W(P.tag,_),b=Zt(P.quasi.expressions,_);if(T!=null&&b!=null){const L=T.value,Y=P.quasi.quasis.map(M=>M.value.cooked);if(Y.raw=P.quasi.quasis.map(M=>M.value.raw),L===String.raw)return{value:L(Y,...b)}}return null},TemplateLiteral(P,_){const T=Zt(P.expressions,_);if(T!=null){let b=P.quasis[0].value.cooked;for(let L=0;L<T.length;++L)b+=T[L],b+=P.quasis[L+1].value.cooked;return{value:b}}return null},UnaryExpression(P,_){if(P.operator==="delete")return null;if(P.operator==="void")return{value:void 0};const T=W(P.argument,_);if(T!=null)switch(P.operator){case"-":return{value:-T.value};case"+":return{value:+T.value};case"!":return{value:!T.value};case"~":return{value:~T.value};case"typeof":return{value:typeof T.value}}return null}});function W(P,_){return P!=null&&Object.hasOwnProperty.call(Co,P.type)?Co[P.type](P,_):null}function ys(P,_){const T=P.type==="Property"?P.key:P.property;return P.computed?W(T,_):T.type==="Identifier"?{value:T.name}:T.type==="Literal"?T.bigint?{value:T.bigint}:{value:String(T.value)}:null}function hs(P,_=null){try{return W(P,_)}catch{return null}}function er(P,_=null){if(P&&P.type==="Literal"&&P.value===null){if(P.regex)return`/${P.regex.pattern}/${P.regex.flags}`;if(P.bigint)return P.bigint}const T=hs(P,_);return T&&String(T.value)}function tr(P,_){switch(P.type){case"MemberExpression":return P.computed?er(P.property,_):P.property.type==="PrivateIdentifier"?null:P.property.name;case"Property":case"MethodDefinition":case"PropertyDefinition":return P.computed?er(P.key,_):P.key.type==="Literal"?String(P.key.value):P.key.type==="PrivateIdentifier"?null:P.key.name}return null}function wo(P,_){const T=P.parent,b=[],L=T.type==="Property"&&T.value===P,Y=T.type==="MethodDefinition"&&T.value===P,M=T.type==="PropertyDefinition"&&T.value===P;if((Y||M)&&(T.static&&b.push("static"),T.key.type==="PrivateIdentifier"&&b.push("private")),P.async&&b.push("async"),P.generator&&b.push("generator"),L||Y){if(T.kind==="constructor")return"constructor";T.kind==="get"?b.push("getter"):T.kind==="set"?b.push("setter"):b.push("method")}else M?b.push("method"):(P.type==="ArrowFunctionExpression"&&b.push("arrow"),b.push("function"));if(L||Y||M)if(T.key.type==="PrivateIdentifier")b.push(`#${T.key.name}`);else{const N=tr(T);if(N)b.push(`'${N}'`);else if(_){const Ye=_.getText(T.key);Ye.includes(`
|
|
11
|
+
`:""}`}set message(e){this.#n=e}}const $a=(t,e,n=!0)=>Bu(t,{start:e},{highlightCode:n}),Ju=(t,e)=>{const n=e.match(/in JSON at position (?<index>\d+)(?: \(line (?<line>\d+) column (?<column>\d+)\))?$/);if(!n)return;let{index:i,line:s,column:l}=n.groups;if(s&&l)return{line:Number(s),column:Number(l)};if(i=Number(i),i===t.length){const{line:u,column:E}=Fa(t,t.length-1,{oneBased:!0});return{line:u,column:E+1}}return Fa(t,i,{oneBased:!0})},Qu=t=>t.replace(/(?<=^Unexpected token )(?<quote>')?(.)\k<quote>/,(e,n,i)=>`"${i}"(${qu(i)})`);function Zu(t,e,n){let i;try{return JSON.parse(t,e)}catch(u){i=u.message}let s;t?(s=Ju(t,i),i=Qu(i)):i+=" while parsing empty string";const l=new mo(i);throw l.fileName=n,s&&(l.codeFrame=$a(t,s),l.rawCodeFrame=$a(t,s,!1)),l}const ep=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};var ka=ep;const tp="2.0.0",Na=256,rp=Number.MAX_SAFE_INTEGER||9007199254740991,np=16,ip=Na-6,sp=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var Ba={MAX_LENGTH:Na,MAX_SAFE_COMPONENT_LENGTH:np,MAX_SAFE_BUILD_LENGTH:ip,MAX_SAFE_INTEGER:rp,RELEASE_TYPES:sp,SEMVER_SPEC_VERSION:tp,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},Bs={exports:{}};(function(t,e){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:i,MAX_LENGTH:s}=Ba,l=ka;e=t.exports={};const u=e.re=[],E=e.safeRe=[],a=e.src=[],c=e.t={};let f=0;const p="[a-zA-Z0-9-]",d=[["\\s",1],["\\d",s],[p,i]],y=h=>{for(const[g,S]of d)h=h.split(`${g}*`).join(`${g}{0,${S}}`).split(`${g}+`).join(`${g}{1,${S}}`);return h},m=(h,g,S)=>{const O=y(g),w=f++;l(h,w,g),c[h]=w,a[w]=g,u[w]=new RegExp(g,S?"g":void 0),E[w]=new RegExp(O,S?"g":void 0)};m("NUMERICIDENTIFIER","0|[1-9]\\d*"),m("NUMERICIDENTIFIERLOOSE","\\d+"),m("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${p}*`),m("MAINVERSION",`(${a[c.NUMERICIDENTIFIER]})\\.(${a[c.NUMERICIDENTIFIER]})\\.(${a[c.NUMERICIDENTIFIER]})`),m("MAINVERSIONLOOSE",`(${a[c.NUMERICIDENTIFIERLOOSE]})\\.(${a[c.NUMERICIDENTIFIERLOOSE]})\\.(${a[c.NUMERICIDENTIFIERLOOSE]})`),m("PRERELEASEIDENTIFIER",`(?:${a[c.NUMERICIDENTIFIER]}|${a[c.NONNUMERICIDENTIFIER]})`),m("PRERELEASEIDENTIFIERLOOSE",`(?:${a[c.NUMERICIDENTIFIERLOOSE]}|${a[c.NONNUMERICIDENTIFIER]})`),m("PRERELEASE",`(?:-(${a[c.PRERELEASEIDENTIFIER]}(?:\\.${a[c.PRERELEASEIDENTIFIER]})*))`),m("PRERELEASELOOSE",`(?:-?(${a[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${a[c.PRERELEASEIDENTIFIERLOOSE]})*))`),m("BUILDIDENTIFIER",`${p}+`),m("BUILD",`(?:\\+(${a[c.BUILDIDENTIFIER]}(?:\\.${a[c.BUILDIDENTIFIER]})*))`),m("FULLPLAIN",`v?${a[c.MAINVERSION]}${a[c.PRERELEASE]}?${a[c.BUILD]}?`),m("FULL",`^${a[c.FULLPLAIN]}$`),m("LOOSEPLAIN",`[v=\\s]*${a[c.MAINVERSIONLOOSE]}${a[c.PRERELEASELOOSE]}?${a[c.BUILD]}?`),m("LOOSE",`^${a[c.LOOSEPLAIN]}$`),m("GTLT","((?:<|>)?=?)"),m("XRANGEIDENTIFIERLOOSE",`${a[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),m("XRANGEIDENTIFIER",`${a[c.NUMERICIDENTIFIER]}|x|X|\\*`),m("XRANGEPLAIN",`[v=\\s]*(${a[c.XRANGEIDENTIFIER]})(?:\\.(${a[c.XRANGEIDENTIFIER]})(?:\\.(${a[c.XRANGEIDENTIFIER]})(?:${a[c.PRERELEASE]})?${a[c.BUILD]}?)?)?`),m("XRANGEPLAINLOOSE",`[v=\\s]*(${a[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[c.XRANGEIDENTIFIERLOOSE]})(?:${a[c.PRERELEASELOOSE]})?${a[c.BUILD]}?)?)?`),m("XRANGE",`^${a[c.GTLT]}\\s*${a[c.XRANGEPLAIN]}$`),m("XRANGELOOSE",`^${a[c.GTLT]}\\s*${a[c.XRANGEPLAINLOOSE]}$`),m("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),m("COERCE",`${a[c.COERCEPLAIN]}(?:$|[^\\d])`),m("COERCEFULL",a[c.COERCEPLAIN]+`(?:${a[c.PRERELEASE]})?(?:${a[c.BUILD]})?(?:$|[^\\d])`),m("COERCERTL",a[c.COERCE],!0),m("COERCERTLFULL",a[c.COERCEFULL],!0),m("LONETILDE","(?:~>?)"),m("TILDETRIM",`(\\s*)${a[c.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",m("TILDE",`^${a[c.LONETILDE]}${a[c.XRANGEPLAIN]}$`),m("TILDELOOSE",`^${a[c.LONETILDE]}${a[c.XRANGEPLAINLOOSE]}$`),m("LONECARET","(?:\\^)"),m("CARETTRIM",`(\\s*)${a[c.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",m("CARET",`^${a[c.LONECARET]}${a[c.XRANGEPLAIN]}$`),m("CARETLOOSE",`^${a[c.LONECARET]}${a[c.XRANGEPLAINLOOSE]}$`),m("COMPARATORLOOSE",`^${a[c.GTLT]}\\s*(${a[c.LOOSEPLAIN]})$|^$`),m("COMPARATOR",`^${a[c.GTLT]}\\s*(${a[c.FULLPLAIN]})$|^$`),m("COMPARATORTRIM",`(\\s*)${a[c.GTLT]}\\s*(${a[c.LOOSEPLAIN]}|${a[c.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",m("HYPHENRANGE",`^\\s*(${a[c.XRANGEPLAIN]})\\s+-\\s+(${a[c.XRANGEPLAIN]})\\s*$`),m("HYPHENRANGELOOSE",`^\\s*(${a[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${a[c.XRANGEPLAINLOOSE]})\\s*$`),m("STAR","(<|>)?=?\\s*\\*"),m("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),m("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(Bs,Bs.exports);var op=Bs.exports;const ap=Object.freeze({loose:!0}),lp=Object.freeze({}),cp=t=>t?typeof t!="object"?ap:t:lp;var up=cp;const ja=/^[0-9]+$/,Ga=(t,e)=>{const n=ja.test(t),i=ja.test(e);return n&&i&&(t=+t,e=+e),t===e?0:n&&!i?-1:i&&!n?1:t<e?-1:1},pp=(t,e)=>Ga(e,t);var fp={compareIdentifiers:Ga,rcompareIdentifiers:pp};const gn=ka,{MAX_LENGTH:Wa,MAX_SAFE_INTEGER:vn}=Ba,{safeRe:Ha,t:Ka}=op,Ep=up,{compareIdentifiers:yt}=fp;let dp=class De{constructor(e,n){if(n=Ep(n),e instanceof De){if(e.loose===!!n.loose&&e.includePrerelease===!!n.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>Wa)throw new TypeError(`version is longer than ${Wa} characters`);gn("SemVer",e,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;const i=e.trim().match(n.loose?Ha[Ka.LOOSE]:Ha[Ka.FULL]);if(!i)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+i[1],this.minor=+i[2],this.patch=+i[3],this.major>vn||this.major<0)throw new TypeError("Invalid major version");if(this.minor>vn||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>vn||this.patch<0)throw new TypeError("Invalid patch version");i[4]?this.prerelease=i[4].split(".").map(s=>{if(/^[0-9]+$/.test(s)){const l=+s;if(l>=0&&l<vn)return l}return s}):this.prerelease=[],this.build=i[5]?i[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(gn("SemVer.compare",this.version,this.options,e),!(e instanceof De)){if(typeof e=="string"&&e===this.version)return 0;e=new De(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof De||(e=new De(e,this.options)),yt(this.major,e.major)||yt(this.minor,e.minor)||yt(this.patch,e.patch)}comparePre(e){if(e instanceof De||(e=new De(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let n=0;do{const i=this.prerelease[n],s=e.prerelease[n];if(gn("prerelease compare",n,i,s),i===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(i===void 0)return-1;if(i===s)continue;return yt(i,s)}while(++n)}compareBuild(e){e instanceof De||(e=new De(e,this.options));let n=0;do{const i=this.build[n],s=e.build[n];if(gn("build compare",n,i,s),i===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(i===void 0)return-1;if(i===s)continue;return yt(i,s)}while(++n)}inc(e,n,i){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",n,i);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",n,i);break;case"prepatch":this.prerelease.length=0,this.inc("patch",n,i),this.inc("pre",n,i);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",n,i),this.inc("pre",n,i);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const s=Number(i)?1:0;if(!n&&i===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[s];else{let l=this.prerelease.length;for(;--l>=0;)typeof this.prerelease[l]=="number"&&(this.prerelease[l]++,l=-2);if(l===-1){if(n===this.prerelease.join(".")&&i===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(s)}}if(n){let l=[n,s];i===!1&&(l=[n]),yt(this.prerelease[0],n)===0?isNaN(this.prerelease[1])&&(this.prerelease=l):this.prerelease=l}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};var Tp=dp;const Xa=Tp,Pp=(t,e,n=!1)=>{if(t instanceof Xa)return t;try{return new Xa(t,e)}catch(i){if(!n)return null;throw i}};var za=Pp;const mp=za,yp=(t,e)=>{const n=mp(t,e);return n?n.version:null};var hp=yp;const _p=za,bp=(t,e)=>{const n=_p(t.trim().replace(/^[=v]+/,""),e);return n?n.version:null};var gp=bp,qa=["0BSD","AAL","ADSL","AFL-1.1","AFL-1.2","AFL-2.0","AFL-2.1","AFL-3.0","AGPL-1.0-only","AGPL-1.0-or-later","AGPL-3.0-only","AGPL-3.0-or-later","AMDPLPA","AML","AML-glslang","AMPAS","ANTLR-PD","ANTLR-PD-fallback","APAFML","APL-1.0","APSL-1.0","APSL-1.1","APSL-1.2","APSL-2.0","ASWF-Digital-Assets-1.0","ASWF-Digital-Assets-1.1","Abstyles","AdaCore-doc","Adobe-2006","Adobe-Display-PostScript","Adobe-Glyph","Adobe-Utopia","Afmparse","Aladdin","Apache-1.0","Apache-1.1","Apache-2.0","App-s2p","Arphic-1999","Artistic-1.0","Artistic-1.0-Perl","Artistic-1.0-cl8","Artistic-2.0","BSD-1-Clause","BSD-2-Clause","BSD-2-Clause-Darwin","BSD-2-Clause-Patent","BSD-2-Clause-Views","BSD-3-Clause","BSD-3-Clause-Attribution","BSD-3-Clause-Clear","BSD-3-Clause-HP","BSD-3-Clause-LBNL","BSD-3-Clause-Modification","BSD-3-Clause-No-Military-License","BSD-3-Clause-No-Nuclear-License","BSD-3-Clause-No-Nuclear-License-2014","BSD-3-Clause-No-Nuclear-Warranty","BSD-3-Clause-Open-MPI","BSD-3-Clause-Sun","BSD-3-Clause-acpica","BSD-3-Clause-flex","BSD-4-Clause","BSD-4-Clause-Shortened","BSD-4-Clause-UC","BSD-4.3RENO","BSD-4.3TAHOE","BSD-Advertising-Acknowledgement","BSD-Attribution-HPND-disclaimer","BSD-Inferno-Nettverk","BSD-Protection","BSD-Source-Code","BSD-Source-beginning-file","BSD-Systemics","BSD-Systemics-W3Works","BSL-1.0","BUSL-1.1","Baekmuk","Bahyph","Barr","Beerware","BitTorrent-1.0","BitTorrent-1.1","Bitstream-Charter","Bitstream-Vera","BlueOak-1.0.0","Boehm-GC","Borceux","Brian-Gladman-2-Clause","Brian-Gladman-3-Clause","C-UDA-1.0","CAL-1.0","CAL-1.0-Combined-Work-Exception","CATOSL-1.1","CC-BY-1.0","CC-BY-2.0","CC-BY-2.5","CC-BY-2.5-AU","CC-BY-3.0","CC-BY-3.0-AT","CC-BY-3.0-AU","CC-BY-3.0-DE","CC-BY-3.0-IGO","CC-BY-3.0-NL","CC-BY-3.0-US","CC-BY-4.0","CC-BY-NC-1.0","CC-BY-NC-2.0","CC-BY-NC-2.5","CC-BY-NC-3.0","CC-BY-NC-3.0-DE","CC-BY-NC-4.0","CC-BY-NC-ND-1.0","CC-BY-NC-ND-2.0","CC-BY-NC-ND-2.5","CC-BY-NC-ND-3.0","CC-BY-NC-ND-3.0-DE","CC-BY-NC-ND-3.0-IGO","CC-BY-NC-ND-4.0","CC-BY-NC-SA-1.0","CC-BY-NC-SA-2.0","CC-BY-NC-SA-2.0-DE","CC-BY-NC-SA-2.0-FR","CC-BY-NC-SA-2.0-UK","CC-BY-NC-SA-2.5","CC-BY-NC-SA-3.0","CC-BY-NC-SA-3.0-DE","CC-BY-NC-SA-3.0-IGO","CC-BY-NC-SA-4.0","CC-BY-ND-1.0","CC-BY-ND-2.0","CC-BY-ND-2.5","CC-BY-ND-3.0","CC-BY-ND-3.0-DE","CC-BY-ND-4.0","CC-BY-SA-1.0","CC-BY-SA-2.0","CC-BY-SA-2.0-UK","CC-BY-SA-2.1-JP","CC-BY-SA-2.5","CC-BY-SA-3.0","CC-BY-SA-3.0-AT","CC-BY-SA-3.0-DE","CC-BY-SA-3.0-IGO","CC-BY-SA-4.0","CC-PDDC","CC0-1.0","CDDL-1.0","CDDL-1.1","CDL-1.0","CDLA-Permissive-1.0","CDLA-Permissive-2.0","CDLA-Sharing-1.0","CECILL-1.0","CECILL-1.1","CECILL-2.0","CECILL-2.1","CECILL-B","CECILL-C","CERN-OHL-1.1","CERN-OHL-1.2","CERN-OHL-P-2.0","CERN-OHL-S-2.0","CERN-OHL-W-2.0","CFITSIO","CMU-Mach","CMU-Mach-nodoc","CNRI-Jython","CNRI-Python","CNRI-Python-GPL-Compatible","COIL-1.0","CPAL-1.0","CPL-1.0","CPOL-1.02","CUA-OPL-1.0","Caldera","Caldera-no-preamble","ClArtistic","Clips","Community-Spec-1.0","Condor-1.1","Cornell-Lossless-JPEG","Cronyx","Crossword","CrystalStacker","Cube","D-FSL-1.0","DEC-3-Clause","DL-DE-BY-2.0","DL-DE-ZERO-2.0","DOC","DRL-1.0","DRL-1.1","DSDP","Dotseqn","ECL-1.0","ECL-2.0","EFL-1.0","EFL-2.0","EPICS","EPL-1.0","EPL-2.0","EUDatagrid","EUPL-1.0","EUPL-1.1","EUPL-1.2","Elastic-2.0","Entessa","ErlPL-1.1","Eurosym","FBM","FDK-AAC","FSFAP","FSFAP-no-warranty-disclaimer","FSFUL","FSFULLR","FSFULLRWD","FTL","Fair","Ferguson-Twofish","Frameworx-1.0","FreeBSD-DOC","FreeImage","Furuseth","GCR-docs","GD","GFDL-1.1-invariants-only","GFDL-1.1-invariants-or-later","GFDL-1.1-no-invariants-only","GFDL-1.1-no-invariants-or-later","GFDL-1.1-only","GFDL-1.1-or-later","GFDL-1.2-invariants-only","GFDL-1.2-invariants-or-later","GFDL-1.2-no-invariants-only","GFDL-1.2-no-invariants-or-later","GFDL-1.2-only","GFDL-1.2-or-later","GFDL-1.3-invariants-only","GFDL-1.3-invariants-or-later","GFDL-1.3-no-invariants-only","GFDL-1.3-no-invariants-or-later","GFDL-1.3-only","GFDL-1.3-or-later","GL2PS","GLWTPL","GPL-1.0-only","GPL-1.0-or-later","GPL-2.0-only","GPL-2.0-or-later","GPL-3.0-only","GPL-3.0-or-later","Giftware","Glide","Glulxe","Graphics-Gems","HP-1986","HP-1989","HPND","HPND-DEC","HPND-Fenneberg-Livingston","HPND-INRIA-IMAG","HPND-Kevlin-Henney","HPND-MIT-disclaimer","HPND-Markus-Kuhn","HPND-Pbmplus","HPND-UC","HPND-doc","HPND-doc-sell","HPND-export-US","HPND-export-US-modify","HPND-sell-MIT-disclaimer-xserver","HPND-sell-regexpr","HPND-sell-variant","HPND-sell-variant-MIT-disclaimer","HTMLTIDY","HaskellReport","Hippocratic-2.1","IBM-pibs","ICU","IEC-Code-Components-EULA","IJG","IJG-short","IPA","IPL-1.0","ISC","ISC-Veillard","ImageMagick","Imlib2","Info-ZIP","Inner-Net-2.0","Intel","Intel-ACPI","Interbase-1.0","JPL-image","JPNIC","JSON","Jam","JasPer-2.0","Kastrup","Kazlib","Knuth-CTAN","LAL-1.2","LAL-1.3","LGPL-2.0-only","LGPL-2.0-or-later","LGPL-2.1-only","LGPL-2.1-or-later","LGPL-3.0-only","LGPL-3.0-or-later","LGPLLR","LOOP","LPD-document","LPL-1.0","LPL-1.02","LPPL-1.0","LPPL-1.1","LPPL-1.2","LPPL-1.3a","LPPL-1.3c","LZMA-SDK-9.11-to-9.20","LZMA-SDK-9.22","Latex2e","Latex2e-translated-notice","Leptonica","LiLiQ-P-1.1","LiLiQ-R-1.1","LiLiQ-Rplus-1.1","Libpng","Linux-OpenIB","Linux-man-pages-1-para","Linux-man-pages-copyleft","Linux-man-pages-copyleft-2-para","Linux-man-pages-copyleft-var","Lucida-Bitmap-Fonts","MIT","MIT-0","MIT-CMU","MIT-Festival","MIT-Modern-Variant","MIT-Wu","MIT-advertising","MIT-enna","MIT-feh","MIT-open-group","MIT-testregex","MITNFA","MMIXware","MPEG-SSG","MPL-1.0","MPL-1.1","MPL-2.0","MPL-2.0-no-copyleft-exception","MS-LPL","MS-PL","MS-RL","MTLL","Mackerras-3-Clause","Mackerras-3-Clause-acknowledgment","MakeIndex","Martin-Birgmeier","McPhee-slideshow","Minpack","MirOS","Motosoto","MulanPSL-1.0","MulanPSL-2.0","Multics","Mup","NAIST-2003","NASA-1.3","NBPL-1.0","NCGL-UK-2.0","NCSA","NGPL","NICTA-1.0","NIST-PD","NIST-PD-fallback","NIST-Software","NLOD-1.0","NLOD-2.0","NLPL","NOSL","NPL-1.0","NPL-1.1","NPOSL-3.0","NRL","NTP","NTP-0","Naumen","Net-SNMP","NetCDF","Newsletr","Nokia","Noweb","O-UDA-1.0","OCCT-PL","OCLC-2.0","ODC-By-1.0","ODbL-1.0","OFFIS","OFL-1.0","OFL-1.0-RFN","OFL-1.0-no-RFN","OFL-1.1","OFL-1.1-RFN","OFL-1.1-no-RFN","OGC-1.0","OGDL-Taiwan-1.0","OGL-Canada-2.0","OGL-UK-1.0","OGL-UK-2.0","OGL-UK-3.0","OGTSL","OLDAP-1.1","OLDAP-1.2","OLDAP-1.3","OLDAP-1.4","OLDAP-2.0","OLDAP-2.0.1","OLDAP-2.1","OLDAP-2.2","OLDAP-2.2.1","OLDAP-2.2.2","OLDAP-2.3","OLDAP-2.4","OLDAP-2.5","OLDAP-2.6","OLDAP-2.7","OLDAP-2.8","OLFL-1.3","OML","OPL-1.0","OPL-UK-3.0","OPUBL-1.0","OSET-PL-2.1","OSL-1.0","OSL-1.1","OSL-2.0","OSL-2.1","OSL-3.0","OpenPBS-2.3","OpenSSL","OpenSSL-standalone","OpenVision","PADL","PDDL-1.0","PHP-3.0","PHP-3.01","PSF-2.0","Parity-6.0.0","Parity-7.0.0","Pixar","Plexus","PolyForm-Noncommercial-1.0.0","PolyForm-Small-Business-1.0.0","PostgreSQL","Python-2.0","Python-2.0.1","QPL-1.0","QPL-1.0-INRIA-2004","Qhull","RHeCos-1.1","RPL-1.1","RPL-1.5","RPSL-1.0","RSA-MD","RSCPL","Rdisc","Ruby","SAX-PD","SAX-PD-2.0","SCEA","SGI-B-1.0","SGI-B-1.1","SGI-B-2.0","SGI-OpenGL","SGP4","SHL-0.5","SHL-0.51","SISSL","SISSL-1.2","SL","SMLNJ","SMPPL","SNIA","SPL-1.0","SSH-OpenSSH","SSH-short","SSLeay-standalone","SSPL-1.0","SWL","Saxpath","SchemeReport","Sendmail","Sendmail-8.23","SimPL-2.0","Sleepycat","Soundex","Spencer-86","Spencer-94","Spencer-99","SugarCRM-1.1.3","Sun-PPP","SunPro","Symlinks","TAPR-OHL-1.0","TCL","TCP-wrappers","TGPPL-1.0","TMate","TORQUE-1.1","TOSL","TPDL","TPL-1.0","TTWL","TTYP0","TU-Berlin-1.0","TU-Berlin-2.0","TermReadKey","UCAR","UCL-1.0","UMich-Merit","UPL-1.0","URT-RLE","Unicode-3.0","Unicode-DFS-2015","Unicode-DFS-2016","Unicode-TOU","UnixCrypt","Unlicense","VOSTROM","VSL-1.0","Vim","W3C","W3C-19980720","W3C-20150513","WTFPL","Watcom-1.0","Widget-Workshop","Wsuipa","X11","X11-distribute-modifications-variant","XFree86-1.1","XSkat","Xdebug-1.03","Xerox","Xfig","Xnet","YPL-1.0","YPL-1.1","ZPL-1.1","ZPL-2.0","ZPL-2.1","Zed","Zeeff","Zend-2.0","Zimbra-1.3","Zimbra-1.4","Zlib","bcrypt-Solar-Designer","blessing","bzip2-1.0.6","check-cvs","checkmk","copyleft-next-0.3.0","copyleft-next-0.3.1","curl","diffmark","dtoa","dvipdfm","eGenix","etalab-2.0","fwlw","gSOAP-1.3b","gnuplot","gtkbook","hdparm","iMatix","libpng-2.0","libselinux-1.0","libtiff","libutil-David-Nugent","lsof","magaz","mailprio","metamail","mpi-permissive","mpich2","mplus","pnmstitch","psfrag","psutils","python-ldap","radvd","snprintf","softSurfer","ssh-keyscan","swrule","ulem","w3m","xinetd","xkeyboard-config-Zinoviev","xlock","xpp","zlib-acknowledgement"],vp=["AGPL-1.0","AGPL-3.0","BSD-2-Clause-FreeBSD","BSD-2-Clause-NetBSD","GFDL-1.1","GFDL-1.2","GFDL-1.3","GPL-1.0","GPL-1.0+","GPL-2.0","GPL-2.0+","GPL-2.0-with-GCC-exception","GPL-2.0-with-autoconf-exception","GPL-2.0-with-bison-exception","GPL-2.0-with-classpath-exception","GPL-2.0-with-font-exception","GPL-3.0","GPL-3.0+","GPL-3.0-with-GCC-exception","GPL-3.0-with-autoconf-exception","LGPL-2.0","LGPL-2.0+","LGPL-2.1","LGPL-2.1+","LGPL-3.0","LGPL-3.0+","Nunit","StandardML-NJ","bzip2-1.0.5","eCos-2.0","wxWindows"],Sp=["389-exception","Asterisk-exception","Autoconf-exception-2.0","Autoconf-exception-3.0","Autoconf-exception-generic","Autoconf-exception-generic-3.0","Autoconf-exception-macro","Bison-exception-1.24","Bison-exception-2.2","Bootloader-exception","Classpath-exception-2.0","CLISP-exception-2.0","cryptsetup-OpenSSL-exception","DigiRule-FOSS-exception","eCos-exception-2.0","Fawkes-Runtime-exception","FLTK-exception","fmt-exception","Font-exception-2.0","freertos-exception-2.0","GCC-exception-2.0","GCC-exception-2.0-note","GCC-exception-3.1","Gmsh-exception","GNAT-exception","GNOME-examples-exception","GNU-compiler-exception","gnu-javamail-exception","GPL-3.0-interface-exception","GPL-3.0-linking-exception","GPL-3.0-linking-source-exception","GPL-CC-1.0","GStreamer-exception-2005","GStreamer-exception-2008","i2p-gpl-java-exception","KiCad-libraries-exception","LGPL-3.0-linking-exception","libpri-OpenH323-exception","Libtool-exception","Linux-syscall-note","LLGPL","LLVM-exception","LZMA-exception","mif-exception","OCaml-LGPL-linking-exception","OCCT-exception-1.0","OpenJDK-assembly-exception-1.0","openvpn-openssl-exception","PS-or-PDF-font-exception-20170817","QPL-1.0-INRIA-2004-exception","Qt-GPL-exception-1.0","Qt-LGPL-exception-1.1","Qwt-exception-1.0","SANE-exception","SHL-2.0","SHL-2.1","stunnel-exception","SWI-exception","Swift-exception","Texinfo-exception","u-boot-exception-2.0","UBDL-exception","Universal-FOSS-exception-1.0","vsftpd-openssl-exception","WxWindows-exception-3.1","x11vnc-openssl-exception"],Yp=[].concat(qa).concat(vp),Lp=Sp,Ap=function(t){var e=0;function n(){return e<t.length}function i(m){if(m instanceof RegExp){var h=t.slice(e),g=h.match(m);if(g)return e+=g[0].length,g[0]}else if(t.indexOf(m,e)===e)return e+=m.length,m}function s(){i(/[ ]*/)}function l(){for(var m,h=["WITH","AND","OR","(",")",":","+"],g=0;g<h.length&&(m=i(h[g]),!m);g++);if(m==="+"&&e>1&&t[e-2]===" ")throw new Error("Space before `+`");return m&&{type:"OPERATOR",string:m}}function u(){return i(/[A-Za-z0-9-.]+/)}function E(){var m=u();if(!m)throw new Error("Expected idstring at offset "+e);return m}function a(){if(i("DocumentRef-")){var m=E();return{type:"DOCUMENTREF",string:m}}}function c(){if(i("LicenseRef-")){var m=E();return{type:"LICENSEREF",string:m}}}function f(){var m=e,h=u();if(Yp.indexOf(h)!==-1)return{type:"LICENSE",string:h};if(Lp.indexOf(h)!==-1)return{type:"EXCEPTION",string:h};e=m}function p(){return l()||a()||c()||f()}for(var d=[];n()&&(s(),!!n());){var y=p();if(!y)throw new Error("Unexpected `"+t[e]+"` at offset "+e);d.push(y)}return d},Cp=function(t){var e=0;function n(){return e<t.length}function i(){return n()?t[e]:null}function s(){if(!n())throw new Error;e++}function l(h){var g=i();if(g&&g.type==="OPERATOR"&&h===g.string)return s(),g.string}function u(){if(l("WITH")){var h=i();if(h&&h.type==="EXCEPTION")return s(),h.string;throw new Error("Expected exception after `WITH`")}}function E(){var h=e,g="",S=i();if(S.type==="DOCUMENTREF"&&(s(),g+="DocumentRef-"+S.string+":",!l(":")))throw new Error("Expected `:` after `DocumentRef-...`");if(S=i(),S.type==="LICENSEREF")return s(),g+="LicenseRef-"+S.string,{license:g};e=h}function a(){var h=i();if(h&&h.type==="LICENSE"){s();var g={license:h.string};l("+")&&(g.plus=!0);var S=u();return S&&(g.exception=S),g}}function c(){var h=l("(");if(h){var g=y();if(!l(")"))throw new Error("Expected `)`");return g}}function f(){return c()||E()||a()}function p(h,g){return function S(){var O=g();if(O){if(!l(h))return O;var w=S();if(!w)throw new Error("Expected expression");return{left:O,conjunction:h.toLowerCase(),right:w}}}}var d=p("AND",f),y=p("OR",d),m=y();if(!m||n())throw new Error("Syntax error");return m},wp=Ap,Vp=Cp,Ja=function(t){return Vp(wp(t))},Op=Ja,Mp=qa;function Sn(t){try{return Op(t),!0}catch{return!1}}function Qa(t,e){var n=e[0].length-t[0].length;return n!==0?n:t[0].toUpperCase().localeCompare(e[0].toUpperCase())}var Za=[["APGL","AGPL"],["Gpl","GPL"],["GLP","GPL"],["APL","Apache"],["ISD","ISC"],["GLP","GPL"],["IST","ISC"],["Claude","Clause"],[" or later","+"],[" International",""],["GNU","GPL"],["GUN","GPL"],["+",""],["GNU GPL","GPL"],["GNU LGPL","LGPL"],["GNU/GPL","GPL"],["GNU GLP","GPL"],["GNU LESSER GENERAL PUBLIC LICENSE","LGPL"],["GNU Lesser General Public License","LGPL"],["GNU LESSER GENERAL PUBLIC LICENSE","LGPL-2.1"],["GNU Lesser General Public License","LGPL-2.1"],["LESSER GENERAL PUBLIC LICENSE","LGPL"],["Lesser General Public License","LGPL"],["LESSER GENERAL PUBLIC LICENSE","LGPL-2.1"],["Lesser General Public License","LGPL-2.1"],["GNU General Public License","GPL"],["Gnu public license","GPL"],["GNU Public License","GPL"],["GNU GENERAL PUBLIC LICENSE","GPL"],["MTI","MIT"],["Mozilla Public License","MPL"],["Universal Permissive License","UPL"],["WTH","WTF"],["WTFGPL","WTFPL"],["-License",""]].sort(Qa),Up=0,Rp=1,el=[function(t){return t.toUpperCase()},function(t){return t.trim()},function(t){return t.replace(/\./g,"")},function(t){return t.replace(/\s+/g,"")},function(t){return t.replace(/\s+/g,"-")},function(t){return t.replace("v","-")},function(t){return t.replace(/,?\s*(\d)/,"-$1")},function(t){return t.replace(/,?\s*(\d)/,"-$1.0")},function(t){return t.replace(/,?\s*(V\.|v\.|V|v|Version|version)\s*(\d)/,"-$2")},function(t){return t.replace(/,?\s*(V\.|v\.|V|v|Version|version)\s*(\d)/,"-$2.0")},function(t){return t[0].toUpperCase()+t.slice(1)},function(t){return t.replace("/","-")},function(t){return t.replace(/\s*V\s*(\d)/,"-$1").replace(/(\d)$/,"$1.0")},function(t){return t.indexOf("3.0")!==-1?t+"-or-later":t+"-only"},function(t){return t+"only"},function(t){return t.replace(/(\d)$/,"-$1.0")},function(t){return t.replace(/(-| )?(\d)$/,"-$2-Clause")},function(t){return t.replace(/(-| )clause(-| )(\d)/,"-$3-Clause")},function(t){return t.replace(/\b(Modified|New|Revised)(-| )?BSD((-| )License)?/i,"BSD-3-Clause")},function(t){return t.replace(/\bSimplified(-| )?BSD((-| )License)?/i,"BSD-2-Clause")},function(t){return t.replace(/\b(Free|Net)(-| )?BSD((-| )License)?/i,"BSD-2-Clause-$1BSD")},function(t){return t.replace(/\bClear(-| )?BSD((-| )License)?/i,"BSD-3-Clause-Clear")},function(t){return t.replace(/\b(Old|Original)(-| )?BSD((-| )License)?/i,"BSD-4-Clause")},function(t){return"CC-"+t},function(t){return"CC-"+t+"-4.0"},function(t){return t.replace("Attribution","BY").replace("NonCommercial","NC").replace("NoDerivatives","ND").replace(/ (\d)/,"-$1").replace(/ ?International/,"")},function(t){return"CC-"+t.replace("Attribution","BY").replace("NonCommercial","NC").replace("NoDerivatives","ND").replace(/ (\d)/,"-$1").replace(/ ?International/,"")+"-4.0"}],js=Mp.map(function(t){var e=/^(.*)-\d+\.\d+$/.exec(t);return e?[e[0],e[1]]:[t,null]}).reduce(function(t,e){var n=e[1];return t[n]=t[n]||[],t[n].push(e[0]),t},{}),Ip=Object.keys(js).map(function(e){return[e,js[e]]}).filter(function(e){return e[1].length===1&&e[0]!==null&&e[0]!=="APL"}).map(function(e){return[e[0],e[1][0]]});js=void 0;var tl=[["UNLI","Unlicense"],["WTF","WTFPL"],["2 CLAUSE","BSD-2-Clause"],["2-CLAUSE","BSD-2-Clause"],["3 CLAUSE","BSD-3-Clause"],["3-CLAUSE","BSD-3-Clause"],["AFFERO","AGPL-3.0-or-later"],["AGPL","AGPL-3.0-or-later"],["APACHE","Apache-2.0"],["ARTISTIC","Artistic-2.0"],["Affero","AGPL-3.0-or-later"],["BEER","Beerware"],["BOOST","BSL-1.0"],["BSD","BSD-2-Clause"],["CDDL","CDDL-1.1"],["ECLIPSE","EPL-1.0"],["FUCK","WTFPL"],["GNU","GPL-3.0-or-later"],["LGPL","LGPL-3.0-or-later"],["GPLV1","GPL-1.0-only"],["GPL-1","GPL-1.0-only"],["GPLV2","GPL-2.0-only"],["GPL-2","GPL-2.0-only"],["GPL","GPL-3.0-or-later"],["MIT +NO-FALSE-ATTRIBS","MITNFA"],["MIT","MIT"],["MPL","MPL-2.0"],["X11","X11"],["ZLIB","Zlib"]].concat(Ip).sort(Qa),xp=0,Dp=1,rl=function(t){for(var e=0;e<el.length;e++){var n=el[e](t).trim();if(n!==t&&Sn(n))return n}return null},nl=function(t){for(var e=t.toUpperCase(),n=0;n<tl.length;n++){var i=tl[n];if(e.indexOf(i[xp])>-1)return i[Dp]}return null},il=function(t,e){for(var n=0;n<Za.length;n++){var i=Za[n],s=i[Up];if(t.indexOf(s)>-1){var l=t.replace(s,i[Rp]),u=e(l);if(u!==null)return u}}return null},Fp=function(t,e){e=e||{};var n=e.upgrade===void 0?!0:!!e.upgrade;function i(E){return n?$p(E):E}var s=typeof t=="string"&&t.trim().length!==0;if(!s)throw Error("Invalid argument. Expected non-empty string.");if(t=t.trim(),Sn(t))return i(t);var l=t.replace(/\+$/,"").trim();if(Sn(l))return i(l);var u=rl(t);return u!==null||(u=il(t,function(E){return Sn(E)?E:rl(E)}),u!==null)||(u=nl(t),u!==null)||(u=il(t,nl),u!==null)?i(u):null};function $p(t){return["GPL-1.0","LGPL-1.0","AGPL-1.0","GPL-2.0","LGPL-2.0","AGPL-2.0","LGPL-2.1"].indexOf(t)!==-1?t+"-only":["GPL-1.0+","GPL-2.0+","GPL-3.0+","LGPL-2.0+","LGPL-2.1+","LGPL-3.0+","AGPL-1.0+","AGPL-3.0+"].indexOf(t)!==-1?t.replace(/\+$/,"-or-later"):["GPL-3.0","LGPL-3.0","AGPL-3.0"].indexOf(t)!==-1?t+"-or-later":t}var kp=Ja,Np=Fp,sl='license should be a valid SPDX license expression (without "LicenseRef"), "UNLICENSED", or "SEE LICENSE IN <filename>"',Bp=/^SEE LICEN[CS]E IN (.+)$/;function ol(t,e){return e.slice(0,t.length)===t}function Gs(t){if(t.hasOwnProperty("license")){var e=t.license;return ol("LicenseRef",e)||ol("DocumentRef",e)}else return Gs(t.left)||Gs(t.right)}var jp=function(t){var e;try{e=kp(t)}catch{var n;if(t==="UNLICENSED"||t==="UNLICENCED")return{validForOldPackages:!0,validForNewPackages:!0,unlicensed:!0};if(n=Bp.exec(t))return{validForOldPackages:!0,validForNewPackages:!0,inFile:n[1]};var i={validForOldPackages:!1,validForNewPackages:!1,warnings:[sl]};if(t.trim().length!==0){var s=Np(t);s&&i.warnings.push('license is similar to the valid expression "'+s+'"')}return i}return Gs(e)?{validForNewPackages:!1,validForOldPackages:!1,spdx:!0,warnings:[sl]}:{validForNewPackages:!0,validForOldPackages:!0,spdx:!0}},Yn={};Object.defineProperty(Yn,"__esModule",{value:!0}),Yn.LRUCache=void 0;const ht=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,al=new Set,Ws=typeof process=="object"&&process?process:{},ll=(t,e,n,i)=>{typeof Ws.emitWarning=="function"?Ws.emitWarning(t,e,n,i):console.error(`[${n}] ${e}: ${t}`)};let Ln=globalThis.AbortController,cl=globalThis.AbortSignal;if(typeof Ln>"u"){cl=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(i,s){this._onabort.push(s)}},Ln=class{constructor(){e()}signal=new cl;abort(i){if(!this.signal.aborted){this.signal.reason=i,this.signal.aborted=!0;for(const s of this.signal._onabort)s(i);this.signal.onabort?.(i)}}};let t=Ws.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1";const e=()=>{t&&(t=!1,ll("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",e))}}const Gp=t=>!al.has(t),We=t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),ul=t=>We(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?An:null:null;class An extends Array{constructor(e){super(e),this.fill(0)}}class qt{heap;length;static#n=!1;static create(e){const n=ul(e);if(!n)return[];qt.#n=!0;const i=new qt(e,n);return qt.#n=!1,i}constructor(e,n){if(!qt.#n)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new n(e),this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}}let Wp=class Lc{#n;#c;#t;#P;#w;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#o;#m;#s;#i;#e;#p;#E;#u;#a;#y;#l;#h;#_;#d;#b;#Y;#f;static unsafeExposeInternals(e){return{starts:e.#_,ttls:e.#d,sizes:e.#h,keyMap:e.#s,keyList:e.#i,valList:e.#e,next:e.#p,prev:e.#E,get head(){return e.#u},get tail(){return e.#a},free:e.#y,isBackgroundFetch:n=>e.#r(n),backgroundFetch:(n,i,s,l)=>e.#M(n,i,s,l),moveToTail:n=>e.#C(n),indexes:n=>e.#g(n),rindexes:n=>e.#v(n),isStale:n=>e.#T(n)}}get max(){return this.#n}get maxSize(){return this.#c}get calculatedSize(){return this.#m}get size(){return this.#o}get fetchMethod(){return this.#w}get dispose(){return this.#t}get disposeAfter(){return this.#P}constructor(e){const{max:n=0,ttl:i,ttlResolution:s=1,ttlAutopurge:l,updateAgeOnGet:u,updateAgeOnHas:E,allowStale:a,dispose:c,disposeAfter:f,noDisposeOnSet:p,noUpdateTTL:d,maxSize:y=0,maxEntrySize:m=0,sizeCalculation:h,fetchMethod:g,noDeleteOnFetchRejection:S,noDeleteOnStaleGet:O,allowStaleOnFetchRejection:w,allowStaleOnFetchAbort:F,ignoreFetchAbort:se}=e;if(n!==0&&!We(n))throw new TypeError("max option must be a nonnegative integer");const ce=n?ul(n):Array;if(!ce)throw new Error("invalid max value: "+n);if(this.#n=n,this.#c=y,this.maxEntrySize=m||this.#c,this.sizeCalculation=h,this.sizeCalculation){if(!this.#c&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(g!==void 0&&typeof g!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#w=g,this.#Y=!!g,this.#s=new Map,this.#i=new Array(n).fill(void 0),this.#e=new Array(n).fill(void 0),this.#p=new ce(n),this.#E=new ce(n),this.#u=0,this.#a=0,this.#y=qt.create(n),this.#o=0,this.#m=0,typeof c=="function"&&(this.#t=c),typeof f=="function"?(this.#P=f,this.#l=[]):(this.#P=void 0,this.#l=void 0),this.#b=!!this.#t,this.#f=!!this.#P,this.noDisposeOnSet=!!p,this.noUpdateTTL=!!d,this.noDeleteOnFetchRejection=!!S,this.allowStaleOnFetchRejection=!!w,this.allowStaleOnFetchAbort=!!F,this.ignoreFetchAbort=!!se,this.maxEntrySize!==0){if(this.#c!==0&&!We(this.#c))throw new TypeError("maxSize must be a positive integer if specified");if(!We(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#F()}if(this.allowStale=!!a,this.noDeleteOnStaleGet=!!O,this.updateAgeOnGet=!!u,this.updateAgeOnHas=!!E,this.ttlResolution=We(s)||s===0?s:1,this.ttlAutopurge=!!l,this.ttl=i||0,this.ttl){if(!We(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#U()}if(this.#n===0&&this.ttl===0&&this.#c===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#n&&!this.#c){const Pe="LRU_CACHE_UNBOUNDED";Gp(Pe)&&(al.add(Pe),ll("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",Pe,Lc))}}getRemainingTTL(e){return this.#s.has(e)?1/0:0}#U(){const e=new An(this.#n),n=new An(this.#n);this.#d=e,this.#_=n,this.#R=(l,u,E=ht.now())=>{if(n[l]=u!==0?E:0,e[l]=u,u!==0&&this.ttlAutopurge){const a=setTimeout(()=>{this.#T(l)&&this.delete(this.#i[l])},u+1);a.unref&&a.unref()}},this.#L=l=>{n[l]=e[l]!==0?ht.now():0},this.#S=(l,u)=>{if(e[u]){const E=e[u],a=n[u];if(!E||!a)return;l.ttl=E,l.start=a,l.now=i||s();const c=l.now-a;l.remainingTTL=E-c}};let i=0;const s=()=>{const l=ht.now();if(this.ttlResolution>0){i=l;const u=setTimeout(()=>i=0,this.ttlResolution);u.unref&&u.unref()}return l};this.getRemainingTTL=l=>{const u=this.#s.get(l);if(u===void 0)return 0;const E=e[u],a=n[u];if(!E||!a)return 1/0;const c=(i||s())-a;return E-c},this.#T=l=>{const u=n[l],E=e[l];return!!E&&!!u&&(i||s())-u>E}}#L=()=>{};#S=()=>{};#R=()=>{};#T=()=>!1;#F(){const e=new An(this.#n);this.#m=0,this.#h=e,this.#A=n=>{this.#m-=e[n],e[n]=0},this.#I=(n,i,s,l)=>{if(this.#r(i))return 0;if(!We(s))if(l){if(typeof l!="function")throw new TypeError("sizeCalculation must be a function");if(s=l(i,n),!We(s))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return s},this.#V=(n,i,s)=>{if(e[n]=i,this.#c){const l=this.#c-e[n];for(;this.#m>l;)this.#O(!0)}this.#m+=e[n],s&&(s.entrySize=i,s.totalCalculatedSize=this.#m)}}#A=e=>{};#V=(e,n,i)=>{};#I=(e,n,i,s)=>{if(i||s)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#g({allowStale:e=this.allowStale}={}){if(this.#o)for(let n=this.#a;!(!this.#x(n)||((e||!this.#T(n))&&(yield n),n===this.#u));)n=this.#E[n]}*#v({allowStale:e=this.allowStale}={}){if(this.#o)for(let n=this.#u;!(!this.#x(n)||((e||!this.#T(n))&&(yield n),n===this.#a));)n=this.#p[n]}#x(e){return e!==void 0&&this.#s.get(this.#i[e])===e}*entries(){for(const e of this.#g())this.#e[e]!==void 0&&this.#i[e]!==void 0&&!this.#r(this.#e[e])&&(yield[this.#i[e],this.#e[e]])}*rentries(){for(const e of this.#v())this.#e[e]!==void 0&&this.#i[e]!==void 0&&!this.#r(this.#e[e])&&(yield[this.#i[e],this.#e[e]])}*keys(){for(const e of this.#g()){const n=this.#i[e];n!==void 0&&!this.#r(this.#e[e])&&(yield n)}}*rkeys(){for(const e of this.#v()){const n=this.#i[e];n!==void 0&&!this.#r(this.#e[e])&&(yield n)}}*values(){for(const e of this.#g())this.#e[e]!==void 0&&!this.#r(this.#e[e])&&(yield this.#e[e])}*rvalues(){for(const e of this.#v())this.#e[e]!==void 0&&!this.#r(this.#e[e])&&(yield this.#e[e])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(e,n={}){for(const i of this.#g()){const s=this.#e[i],l=this.#r(s)?s.__staleWhileFetching:s;if(l!==void 0&&e(l,this.#i[i],this))return this.get(this.#i[i],n)}}forEach(e,n=this){for(const i of this.#g()){const s=this.#e[i],l=this.#r(s)?s.__staleWhileFetching:s;l!==void 0&&e.call(n,l,this.#i[i],this)}}rforEach(e,n=this){for(const i of this.#v()){const s=this.#e[i],l=this.#r(s)?s.__staleWhileFetching:s;l!==void 0&&e.call(n,l,this.#i[i],this)}}purgeStale(){let e=!1;for(const n of this.#v({allowStale:!0}))this.#T(n)&&(this.delete(this.#i[n]),e=!0);return e}info(e){const n=this.#s.get(e);if(n===void 0)return;const i=this.#e[n],s=this.#r(i)?i.__staleWhileFetching:i;if(s===void 0)return;const l={value:s};if(this.#d&&this.#_){const u=this.#d[n],E=this.#_[n];if(u&&E){const a=u-(ht.now()-E);l.ttl=a,l.start=Date.now()}}return this.#h&&(l.size=this.#h[n]),l}dump(){const e=[];for(const n of this.#g({allowStale:!0})){const i=this.#i[n],s=this.#e[n],l=this.#r(s)?s.__staleWhileFetching:s;if(l===void 0||i===void 0)continue;const u={value:l};if(this.#d&&this.#_){u.ttl=this.#d[n];const E=ht.now()-this.#_[n];u.start=Math.floor(Date.now()-E)}this.#h&&(u.size=this.#h[n]),e.unshift([i,u])}return e}load(e){this.clear();for(const[n,i]of e){if(i.start){const s=Date.now()-i.start;i.start=ht.now()-s}this.set(n,i.value,i)}}set(e,n,i={}){if(n===void 0)return this.delete(e),this;const{ttl:s=this.ttl,start:l,noDisposeOnSet:u=this.noDisposeOnSet,sizeCalculation:E=this.sizeCalculation,status:a}=i;let{noUpdateTTL:c=this.noUpdateTTL}=i;const f=this.#I(e,n,i.size||0,E);if(this.maxEntrySize&&f>this.maxEntrySize)return a&&(a.set="miss",a.maxEntrySizeExceeded=!0),this.delete(e),this;let p=this.#o===0?void 0:this.#s.get(e);if(p===void 0)p=this.#o===0?this.#a:this.#y.length!==0?this.#y.pop():this.#o===this.#n?this.#O(!1):this.#o,this.#i[p]=e,this.#e[p]=n,this.#s.set(e,p),this.#p[this.#a]=p,this.#E[p]=this.#a,this.#a=p,this.#o++,this.#V(p,f,a),a&&(a.set="add"),c=!1;else{this.#C(p);const d=this.#e[p];if(n!==d){if(this.#Y&&this.#r(d)){d.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:y}=d;y!==void 0&&!u&&(this.#b&&this.#t?.(y,e,"set"),this.#f&&this.#l?.push([y,e,"set"]))}else u||(this.#b&&this.#t?.(d,e,"set"),this.#f&&this.#l?.push([d,e,"set"]));if(this.#A(p),this.#V(p,f,a),this.#e[p]=n,a){a.set="replace";const y=d&&this.#r(d)?d.__staleWhileFetching:d;y!==void 0&&(a.oldValue=y)}}else a&&(a.set="update")}if(s!==0&&!this.#d&&this.#U(),this.#d&&(c||this.#R(p,s,l),a&&this.#S(a,p)),!u&&this.#f&&this.#l){const d=this.#l;let y;for(;y=d?.shift();)this.#P?.(...y)}return this}pop(){try{for(;this.#o;){const e=this.#e[this.#u];if(this.#O(!0),this.#r(e)){if(e.__staleWhileFetching)return e.__staleWhileFetching}else if(e!==void 0)return e}}finally{if(this.#f&&this.#l){const e=this.#l;let n;for(;n=e?.shift();)this.#P?.(...n)}}}#O(e){const n=this.#u,i=this.#i[n],s=this.#e[n];return this.#Y&&this.#r(s)?s.__abortController.abort(new Error("evicted")):(this.#b||this.#f)&&(this.#b&&this.#t?.(s,i,"evict"),this.#f&&this.#l?.push([s,i,"evict"])),this.#A(n),e&&(this.#i[n]=void 0,this.#e[n]=void 0,this.#y.push(n)),this.#o===1?(this.#u=this.#a=0,this.#y.length=0):this.#u=this.#p[n],this.#s.delete(i),this.#o--,n}has(e,n={}){const{updateAgeOnHas:i=this.updateAgeOnHas,status:s}=n,l=this.#s.get(e);if(l!==void 0){const u=this.#e[l];if(this.#r(u)&&u.__staleWhileFetching===void 0)return!1;if(this.#T(l))s&&(s.has="stale",this.#S(s,l));else return i&&this.#L(l),s&&(s.has="hit",this.#S(s,l)),!0}else s&&(s.has="miss");return!1}peek(e,n={}){const{allowStale:i=this.allowStale}=n,s=this.#s.get(e);if(s===void 0||!i&&this.#T(s))return;const l=this.#e[s];return this.#r(l)?l.__staleWhileFetching:l}#M(e,n,i,s){const l=n===void 0?void 0:this.#e[n];if(this.#r(l))return l;const u=new Ln,{signal:E}=i;E?.addEventListener("abort",()=>u.abort(E.reason),{signal:u.signal});const a={signal:u.signal,options:i,context:s},c=(h,g=!1)=>{const{aborted:S}=u.signal,O=i.ignoreFetchAbort&&h!==void 0;if(i.status&&(S&&!g?(i.status.fetchAborted=!0,i.status.fetchError=u.signal.reason,O&&(i.status.fetchAbortIgnored=!0)):i.status.fetchResolved=!0),S&&!O&&!g)return p(u.signal.reason);const w=y;return this.#e[n]===y&&(h===void 0?w.__staleWhileFetching?this.#e[n]=w.__staleWhileFetching:this.delete(e):(i.status&&(i.status.fetchUpdated=!0),this.set(e,h,a.options))),h},f=h=>(i.status&&(i.status.fetchRejected=!0,i.status.fetchError=h),p(h)),p=h=>{const{aborted:g}=u.signal,S=g&&i.allowStaleOnFetchAbort,O=S||i.allowStaleOnFetchRejection,w=O||i.noDeleteOnFetchRejection,F=y;if(this.#e[n]===y&&(!w||F.__staleWhileFetching===void 0?this.delete(e):S||(this.#e[n]=F.__staleWhileFetching)),O)return i.status&&F.__staleWhileFetching!==void 0&&(i.status.returnedStale=!0),F.__staleWhileFetching;if(F.__returned===F)throw h},d=(h,g)=>{const S=this.#w?.(e,l,a);S&&S instanceof Promise&&S.then(O=>h(O===void 0?void 0:O),g),u.signal.addEventListener("abort",()=>{(!i.ignoreFetchAbort||i.allowStaleOnFetchAbort)&&(h(void 0),i.allowStaleOnFetchAbort&&(h=O=>c(O,!0)))})};i.status&&(i.status.fetchDispatched=!0);const y=new Promise(d).then(c,f),m=Object.assign(y,{__abortController:u,__staleWhileFetching:l,__returned:void 0});return n===void 0?(this.set(e,m,{...a.options,status:void 0}),n=this.#s.get(e)):this.#e[n]=m,m}#r(e){if(!this.#Y)return!1;const n=e;return!!n&&n instanceof Promise&&n.hasOwnProperty("__staleWhileFetching")&&n.__abortController instanceof Ln}async fetch(e,n={}){const{allowStale:i=this.allowStale,updateAgeOnGet:s=this.updateAgeOnGet,noDeleteOnStaleGet:l=this.noDeleteOnStaleGet,ttl:u=this.ttl,noDisposeOnSet:E=this.noDisposeOnSet,size:a=0,sizeCalculation:c=this.sizeCalculation,noUpdateTTL:f=this.noUpdateTTL,noDeleteOnFetchRejection:p=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:d=this.allowStaleOnFetchRejection,ignoreFetchAbort:y=this.ignoreFetchAbort,allowStaleOnFetchAbort:m=this.allowStaleOnFetchAbort,context:h,forceRefresh:g=!1,status:S,signal:O}=n;if(!this.#Y)return S&&(S.fetch="get"),this.get(e,{allowStale:i,updateAgeOnGet:s,noDeleteOnStaleGet:l,status:S});const w={allowStale:i,updateAgeOnGet:s,noDeleteOnStaleGet:l,ttl:u,noDisposeOnSet:E,size:a,sizeCalculation:c,noUpdateTTL:f,noDeleteOnFetchRejection:p,allowStaleOnFetchRejection:d,allowStaleOnFetchAbort:m,ignoreFetchAbort:y,status:S,signal:O};let F=this.#s.get(e);if(F===void 0){S&&(S.fetch="miss");const se=this.#M(e,F,w,h);return se.__returned=se}else{const se=this.#e[F];if(this.#r(se)){const Qt=i&&se.__staleWhileFetching!==void 0;return S&&(S.fetch="inflight",Qt&&(S.returnedStale=!0)),Qt?se.__staleWhileFetching:se.__returned=se}const ce=this.#T(F);if(!g&&!ce)return S&&(S.fetch="hit"),this.#C(F),s&&this.#L(F),S&&this.#S(S,F),se;const Pe=this.#M(e,F,w,h),Jt=Pe.__staleWhileFetching!==void 0&&i;return S&&(S.fetch=ce?"stale":"refresh",Jt&&ce&&(S.returnedStale=!0)),Jt?Pe.__staleWhileFetching:Pe.__returned=Pe}}get(e,n={}){const{allowStale:i=this.allowStale,updateAgeOnGet:s=this.updateAgeOnGet,noDeleteOnStaleGet:l=this.noDeleteOnStaleGet,status:u}=n,E=this.#s.get(e);if(E!==void 0){const a=this.#e[E],c=this.#r(a);return u&&this.#S(u,E),this.#T(E)?(u&&(u.get="stale"),c?(u&&i&&a.__staleWhileFetching!==void 0&&(u.returnedStale=!0),i?a.__staleWhileFetching:void 0):(l||this.delete(e),u&&i&&(u.returnedStale=!0),i?a:void 0)):(u&&(u.get="hit"),c?a.__staleWhileFetching:(this.#C(E),s&&this.#L(E),a))}else u&&(u.get="miss")}#D(e,n){this.#E[n]=e,this.#p[e]=n}#C(e){e!==this.#a&&(e===this.#u?this.#u=this.#p[e]:this.#D(this.#E[e],this.#p[e]),this.#D(this.#a,e),this.#a=e)}delete(e){let n=!1;if(this.#o!==0){const i=this.#s.get(e);if(i!==void 0)if(n=!0,this.#o===1)this.clear();else{this.#A(i);const s=this.#e[i];if(this.#r(s)?s.__abortController.abort(new Error("deleted")):(this.#b||this.#f)&&(this.#b&&this.#t?.(s,e,"delete"),this.#f&&this.#l?.push([s,e,"delete"])),this.#s.delete(e),this.#i[i]=void 0,this.#e[i]=void 0,i===this.#a)this.#a=this.#E[i];else if(i===this.#u)this.#u=this.#p[i];else{const l=this.#E[i];this.#p[l]=this.#p[i];const u=this.#p[i];this.#E[u]=this.#E[i]}this.#o--,this.#y.push(i)}}if(this.#f&&this.#l?.length){const i=this.#l;let s;for(;s=i?.shift();)this.#P?.(...s)}return n}clear(){for(const e of this.#v({allowStale:!0})){const n=this.#e[e];if(this.#r(n))n.__abortController.abort(new Error("deleted"));else{const i=this.#i[e];this.#b&&this.#t?.(n,i,"delete"),this.#f&&this.#l?.push([n,i,"delete"])}}if(this.#s.clear(),this.#e.fill(void 0),this.#i.fill(void 0),this.#d&&this.#_&&(this.#d.fill(0),this.#_.fill(0)),this.#h&&this.#h.fill(0),this.#u=0,this.#a=0,this.#y.length=0,this.#m=0,this.#o=0,this.#f&&this.#l){const e=this.#l;let n;for(;n=e?.shift();)this.#P?.(...n)}}};Yn.LRUCache=Wp;const k=(...t)=>t.every(e=>e)?t.join(""):"",Z=t=>t?encodeURIComponent(t):"",pl=t=>t.toLowerCase().replace(/^\W+|\/|\W+$/g,"").replace(/\W+/g,"-"),Hp={sshtemplate:({domain:t,user:e,project:n,committish:i})=>`git@${t}:${e}/${n}.git${k("#",i)}`,sshurltemplate:({domain:t,user:e,project:n,committish:i})=>`git+ssh://git@${t}/${e}/${n}.git${k("#",i)}`,edittemplate:({domain:t,user:e,project:n,committish:i,editpath:s,path:l})=>`https://${t}/${e}/${n}${k("/",s,"/",Z(i||"HEAD"),"/",l)}`,browsetemplate:({domain:t,user:e,project:n,committish:i,treepath:s})=>`https://${t}/${e}/${n}${k("/",s,"/",Z(i))}`,browsetreetemplate:({domain:t,user:e,project:n,committish:i,treepath:s,path:l,fragment:u,hashformat:E})=>`https://${t}/${e}/${n}/${s}/${Z(i||"HEAD")}/${l}${k("#",E(u||""))}`,browseblobtemplate:({domain:t,user:e,project:n,committish:i,blobpath:s,path:l,fragment:u,hashformat:E})=>`https://${t}/${e}/${n}/${s}/${Z(i||"HEAD")}/${l}${k("#",E(u||""))}`,docstemplate:({domain:t,user:e,project:n,treepath:i,committish:s})=>`https://${t}/${e}/${n}${k("/",i,"/",Z(s))}#readme`,httpstemplate:({auth:t,domain:e,user:n,project:i,committish:s})=>`git+https://${k(t,"@")}${e}/${n}/${i}.git${k("#",s)}`,filetemplate:({domain:t,user:e,project:n,committish:i,path:s})=>`https://${t}/${e}/${n}/raw/${Z(i||"HEAD")}/${s}`,shortcuttemplate:({type:t,user:e,project:n,committish:i})=>`${t}:${e}/${n}${k("#",i)}`,pathtemplate:({user:t,project:e,committish:n})=>`${t}/${e}${k("#",n)}`,bugstemplate:({domain:t,user:e,project:n})=>`https://${t}/${e}/${n}/issues`,hashformat:pl},He={};He.github={protocols:["git:","http:","git+ssh:","git+https:","ssh:","https:"],domain:"github.com",treepath:"tree",blobpath:"blob",editpath:"edit",filetemplate:({auth:t,user:e,project:n,committish:i,path:s})=>`https://${k(t,"@")}raw.githubusercontent.com/${e}/${n}/${Z(i||"HEAD")}/${s}`,gittemplate:({auth:t,domain:e,user:n,project:i,committish:s})=>`git://${k(t,"@")}${e}/${n}/${i}.git${k("#",s)}`,tarballtemplate:({domain:t,user:e,project:n,committish:i})=>`https://codeload.${t}/${e}/${n}/tar.gz/${Z(i||"HEAD")}`,extract:t=>{let[,e,n,i,s]=t.pathname.split("/",5);if(!(i&&i!=="tree")&&(i||(s=t.hash.slice(1)),n&&n.endsWith(".git")&&(n=n.slice(0,-4)),!(!e||!n)))return{user:e,project:n,committish:s}}},He.bitbucket={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"bitbucket.org",treepath:"src",blobpath:"src",editpath:"?mode=edit",edittemplate:({domain:t,user:e,project:n,committish:i,treepath:s,path:l,editpath:u})=>`https://${t}/${e}/${n}${k("/",s,"/",Z(i||"HEAD"),"/",l,u)}`,tarballtemplate:({domain:t,user:e,project:n,committish:i})=>`https://${t}/${e}/${n}/get/${Z(i||"HEAD")}.tar.gz`,extract:t=>{let[,e,n,i]=t.pathname.split("/",4);if(!["get"].includes(i)&&(n&&n.endsWith(".git")&&(n=n.slice(0,-4)),!(!e||!n)))return{user:e,project:n,committish:t.hash.slice(1)}}},He.gitlab={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"gitlab.com",treepath:"tree",blobpath:"tree",editpath:"-/edit",httpstemplate:({auth:t,domain:e,user:n,project:i,committish:s})=>`git+https://${k(t,"@")}${e}/${n}/${i}.git${k("#",s)}`,tarballtemplate:({domain:t,user:e,project:n,committish:i})=>`https://${t}/${e}/${n}/repository/archive.tar.gz?ref=${Z(i||"HEAD")}`,extract:t=>{const e=t.pathname.slice(1);if(e.includes("/-/")||e.includes("/archive.tar.gz"))return;const n=e.split("/");let i=n.pop();i.endsWith(".git")&&(i=i.slice(0,-4));const s=n.join("/");if(!(!s||!i))return{user:s,project:i,committish:t.hash.slice(1)}}},He.gist={protocols:["git:","git+ssh:","git+https:","ssh:","https:"],domain:"gist.github.com",editpath:"edit",sshtemplate:({domain:t,project:e,committish:n})=>`git@${t}:${e}.git${k("#",n)}`,sshurltemplate:({domain:t,project:e,committish:n})=>`git+ssh://git@${t}/${e}.git${k("#",n)}`,edittemplate:({domain:t,user:e,project:n,committish:i,editpath:s})=>`https://${t}/${e}/${n}${k("/",Z(i))}/${s}`,browsetemplate:({domain:t,project:e,committish:n})=>`https://${t}/${e}${k("/",Z(n))}`,browsetreetemplate:({domain:t,project:e,committish:n,path:i,hashformat:s})=>`https://${t}/${e}${k("/",Z(n))}${k("#",s(i))}`,browseblobtemplate:({domain:t,project:e,committish:n,path:i,hashformat:s})=>`https://${t}/${e}${k("/",Z(n))}${k("#",s(i))}`,docstemplate:({domain:t,project:e,committish:n})=>`https://${t}/${e}${k("/",Z(n))}`,httpstemplate:({domain:t,project:e,committish:n})=>`git+https://${t}/${e}.git${k("#",n)}`,filetemplate:({user:t,project:e,committish:n,path:i})=>`https://gist.githubusercontent.com/${t}/${e}/raw${k("/",Z(n))}/${i}`,shortcuttemplate:({type:t,project:e,committish:n})=>`${t}:${e}${k("#",n)}`,pathtemplate:({project:t,committish:e})=>`${t}${k("#",e)}`,bugstemplate:({domain:t,project:e})=>`https://${t}/${e}`,gittemplate:({domain:t,project:e,committish:n})=>`git://${t}/${e}.git${k("#",n)}`,tarballtemplate:({project:t,committish:e})=>`https://codeload.github.com/gist/${t}/tar.gz/${Z(e||"HEAD")}`,extract:t=>{let[,e,n,i]=t.pathname.split("/",4);if(i!=="raw"){if(!n){if(!e)return;n=e,e=null}return n.endsWith(".git")&&(n=n.slice(0,-4)),{user:e,project:n,committish:t.hash.slice(1)}}},hashformat:function(t){return t&&"file-"+pl(t)}},He.sourcehut={protocols:["git+ssh:","https:"],domain:"git.sr.ht",treepath:"tree",blobpath:"tree",filetemplate:({domain:t,user:e,project:n,committish:i,path:s})=>`https://${t}/${e}/${n}/blob/${Z(i)||"HEAD"}/${s}`,httpstemplate:({domain:t,user:e,project:n,committish:i})=>`https://${t}/${e}/${n}.git${k("#",i)}`,tarballtemplate:({domain:t,user:e,project:n,committish:i})=>`https://${t}/${e}/${n}/archive/${Z(i)||"HEAD"}.tar.gz`,bugstemplate:()=>null,extract:t=>{let[,e,n,i]=t.pathname.split("/",4);if(!["archive"].includes(i)&&(n&&n.endsWith(".git")&&(n=n.slice(0,-4)),!(!e||!n)))return{user:e,project:n,committish:t.hash.slice(1)}}};for(const[t,e]of Object.entries(He))He[t]=Object.assign({},Hp,e);var Kp=He;const Xp=$o,Hs=(t,e,n)=>{const i=t.indexOf(n);return t.lastIndexOf(e,i>-1?i:1/0)},fl=t=>{try{return new Xp.URL(t)}catch{}},zp=(t,e)=>{const n=t.indexOf(":"),i=t.slice(0,n+1);if(Object.prototype.hasOwnProperty.call(e,i))return t;const s=t.indexOf("@");return s>-1?s>n?`git+ssh://${t}`:t:t.indexOf("//")===n+1?t:`${t.slice(0,n+1)}//${t.slice(n+1)}`},qp=t=>{const e=Hs(t,"@","#"),n=Hs(t,":","#");return n>e&&(t=t.slice(0,n)+"/"+t.slice(n+1)),Hs(t,":","#")===-1&&t.indexOf("//")===-1&&(t=`git+ssh://${t}`),t};var El=(t,e)=>{const n=e?zp(t,e):t;return fl(n)||fl(qp(n))};const Jp=El,Qp=t=>{const e=t.indexOf("#"),n=t.indexOf("/"),i=t.indexOf("/",n+1),s=t.indexOf(":"),l=/\s/.exec(t),u=t.indexOf("@"),E=!l||e>-1&&l.index>e,a=u===-1||e>-1&&u>e,c=s===-1||e>-1&&s>e,f=i===-1||e>-1&&i>e,p=n>0,d=e>-1?t[e-1]!=="/":!t.endsWith("/"),y=!t.startsWith(".");return E&&p&&d&&y&&a&&c&&f};var Zp=(t,e,{gitHosts:n,protocols:i})=>{if(!t)return;const s=Qp(t)?`github:${t}`:t,l=Jp(s,i);if(!l)return;const u=n.byShortcut[l.protocol],E=n.byDomain[l.hostname.startsWith("www.")?l.hostname.slice(4):l.hostname],a=u||E;if(!a)return;const c=n[u||E];let f=null;i[l.protocol]?.auth&&(l.username||l.password)&&(f=`${l.username}${l.password?":"+l.password:""}`);let p=null,d=null,y=null,m=null;try{if(u){let h=l.pathname.startsWith("/")?l.pathname.slice(1):l.pathname;const g=h.indexOf("@");g>-1&&(h=h.slice(g+1));const S=h.lastIndexOf("/");S>-1?(d=decodeURIComponent(h.slice(0,S)),d||(d=null),y=decodeURIComponent(h.slice(S+1))):y=decodeURIComponent(h),y.endsWith(".git")&&(y=y.slice(0,-4)),l.hash&&(p=decodeURIComponent(l.hash.slice(1))),m="shortcut"}else{if(!c.protocols.includes(l.protocol))return;const h=c.extract(l);if(!h)return;d=h.user&&decodeURIComponent(h.user),y=decodeURIComponent(h.project),p=decodeURIComponent(h.committish),m=i[l.protocol]?.name||l.protocol.slice(0,-1)}}catch(h){if(h instanceof URIError)return;throw h}return[a,d,f,y,p,m,e]};const{LRUCache:ef}=Yn,tf=Kp,rf=Zp,nf=El,Ks=new ef({max:1e3});class we{constructor(e,n,i,s,l,u,E={}){Object.assign(this,we.#n[e],{type:e,user:n,auth:i,project:s,committish:l,default:u,opts:E})}static#n={byShortcut:{},byDomain:{}};static#c={"git+ssh:":{name:"sshurl"},"ssh:":{name:"sshurl"},"git+https:":{name:"https",auth:!0},"git:":{auth:!0},"http:":{auth:!0},"https:":{auth:!0},"git+http:":{auth:!0}};static addHost(e,n){we.#n[e]=n,we.#n.byDomain[n.domain]=e,we.#n.byShortcut[`${e}:`]=e,we.#c[`${e}:`]={name:e}}static fromUrl(e,n){if(typeof e!="string")return;const i=e+JSON.stringify(n||{});if(!Ks.has(i)){const s=rf(e,n,{gitHosts:we.#n,protocols:we.#c});Ks.set(i,s?new we(...s):void 0)}return Ks.get(i)}static parseUrl(e){return nf(e)}#t(e,n){if(typeof e!="function")return null;const i={...this,...this.opts,...n};i.path||(i.path=""),i.path.startsWith("/")&&(i.path=i.path.slice(1)),i.noCommittish&&(i.committish=null);const s=e(i);return i.noGitPlus&&s.startsWith("git+")?s.slice(4):s}hash(){return this.committish?`#${this.committish}`:""}ssh(e){return this.#t(this.sshtemplate,e)}sshurl(e){return this.#t(this.sshurltemplate,e)}browse(e,...n){return typeof e!="string"?this.#t(this.browsetemplate,e):typeof n[0]!="string"?this.#t(this.browsetreetemplate,{...n[0],path:e}):this.#t(this.browsetreetemplate,{...n[1],fragment:n[0],path:e})}browseFile(e,...n){return typeof n[0]!="string"?this.#t(this.browseblobtemplate,{...n[0],path:e}):this.#t(this.browseblobtemplate,{...n[1],fragment:n[0],path:e})}docs(e){return this.#t(this.docstemplate,e)}bugs(e){return this.#t(this.bugstemplate,e)}https(e){return this.#t(this.httpstemplate,e)}git(e){return this.#t(this.gittemplate,e)}shortcut(e){return this.#t(this.shortcuttemplate,e)}path(e){return this.#t(this.pathtemplate,e)}tarball(e){return this.#t(this.tarballtemplate,{...e,noCommittish:!1})}file(e,n){return this.#t(this.filetemplate,{...n,path:e})}edit(e,n){return this.#t(this.edittemplate,{...n,path:e})}getDefaultRepresentation(){return this.default}toString(e){return this.default&&typeof this[this.default]=="function"?this[this.default](e):this.sshurl(e)}}for(const[t,e]of Object.entries(tf))we.addHost(t,e);var sf=we,of="Function.prototype.bind called on incompatible ",af=Object.prototype.toString,lf=Math.max,cf="[object Function]",dl=function(e,n){for(var i=[],s=0;s<e.length;s+=1)i[s]=e[s];for(var l=0;l<n.length;l+=1)i[l+e.length]=n[l];return i},uf=function(e,n){for(var i=[],s=n,l=0;s<e.length;s+=1,l+=1)i[l]=e[s];return i},pf=function(t,e){for(var n="",i=0;i<t.length;i+=1)n+=t[i],i+1<t.length&&(n+=e);return n},ff=function(e){var n=this;if(typeof n!="function"||af.apply(n)!==cf)throw new TypeError(of+n);for(var i=uf(arguments,1),s,l=function(){if(this instanceof s){var f=n.apply(this,dl(i,arguments));return Object(f)===f?f:this}return n.apply(e,dl(i,arguments))},u=lf(0,n.length-i.length),E=[],a=0;a<u;a++)E[a]="$"+a;if(s=Function("binder","return function ("+pf(E,",")+"){ return binder.apply(this,arguments); }")(l),n.prototype){var c=function(){};c.prototype=n.prototype,s.prototype=new c,c.prototype=null}return s},Ef=ff,df=Function.prototype.bind||Ef,Tf=Function.prototype.call,Pf=Object.prototype.hasOwnProperty,mf=df,yf=mf.call(Tf,Pf),hf=!0,_f=">= 8",bf=">= 0.5 && < 0.9.7",gf=!0,vf=!0,Sf=">= 0.5",Yf=!0,Lf=!0,Af=!0,Cf=">= 1 && < 8",wf="< 8",Vf=!0,Of=[">= 14.17 && < 15",">= 15.1"],Mf=!0,Uf=">= 0.7.12",Rf=!0,If="< 6",xf=!0,Df=">= 0.11.1",Ff=">= 0.11.1",$f=">= 0.11.1",kf=">= 0.11.1",Nf=">= 0.11.1",Bf=">= 0.11.1",jf=!0,Gf=">= 8.8",Wf=!0,Hf=">= 8",Kf="< 8",Xf=!0,zf=!0,qf=!0,Jf=!0,Qf=">= 8.5",Zf=">= 1",eE=">= 0.5",tE=!0,rE=!0,nE=!0,iE=">= 0.11.5 && < 3",sE=">= 0.9.4",oE=">= 0.9.4",aE=">= 1.4.1",lE=">= 0.9.4",cE=">= 0.9.4",uE=">= 0.9.4",pE=!0,fE=!0,EE=[">= 0.4 && < 0.7",">= 0.8"],dE=!0,TE=">= 0.11.13",PE=">= 0.11.3 && < 10",mE=">= 0.11.3",yE=!0,hE=">= 10",_E=!0,bE=!0,gE=!0,vE=">= 1",SE=!0,YE=[">= 13.4 && < 13.5",">= 18.17 && < 19",">= 20"],LE=">= 11.7",AE=">= 0.5",CE={assert:hf,"node:assert":[">= 14.18 && < 15",">= 16"],"assert/strict":">= 15","node:assert/strict":">= 16",async_hooks:_f,"node:async_hooks":[">= 14.18 && < 15",">= 16"],buffer_ieee754:bf,buffer:gf,"node:buffer":[">= 14.18 && < 15",">= 16"],child_process:vf,"node:child_process":[">= 14.18 && < 15",">= 16"],cluster:Sf,"node:cluster":[">= 14.18 && < 15",">= 16"],console:Yf,"node:console":[">= 14.18 && < 15",">= 16"],constants:Lf,"node:constants":[">= 14.18 && < 15",">= 16"],crypto:Af,"node:crypto":[">= 14.18 && < 15",">= 16"],_debug_agent:Cf,_debugger:wf,dgram:Vf,"node:dgram":[">= 14.18 && < 15",">= 16"],diagnostics_channel:Of,"node:diagnostics_channel":[">= 14.18 && < 15",">= 16"],dns:Mf,"node:dns":[">= 14.18 && < 15",">= 16"],"dns/promises":">= 15","node:dns/promises":">= 16",domain:Uf,"node:domain":[">= 14.18 && < 15",">= 16"],events:Rf,"node:events":[">= 14.18 && < 15",">= 16"],freelist:If,fs:xf,"node:fs":[">= 14.18 && < 15",">= 16"],"fs/promises":[">= 10 && < 10.1",">= 14"],"node:fs/promises":[">= 14.18 && < 15",">= 16"],_http_agent:Df,"node:_http_agent":[">= 14.18 && < 15",">= 16"],_http_client:Ff,"node:_http_client":[">= 14.18 && < 15",">= 16"],_http_common:$f,"node:_http_common":[">= 14.18 && < 15",">= 16"],_http_incoming:kf,"node:_http_incoming":[">= 14.18 && < 15",">= 16"],_http_outgoing:Nf,"node:_http_outgoing":[">= 14.18 && < 15",">= 16"],_http_server:Bf,"node:_http_server":[">= 14.18 && < 15",">= 16"],http:jf,"node:http":[">= 14.18 && < 15",">= 16"],http2:Gf,"node:http2":[">= 14.18 && < 15",">= 16"],https:Wf,"node:https":[">= 14.18 && < 15",">= 16"],inspector:Hf,"node:inspector":[">= 14.18 && < 15",">= 16"],"inspector/promises":[">= 19"],"node:inspector/promises":[">= 19"],_linklist:Kf,module:Xf,"node:module":[">= 14.18 && < 15",">= 16"],net:zf,"node:net":[">= 14.18 && < 15",">= 16"],"node-inspect/lib/_inspect":">= 7.6 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6 && < 12",os:qf,"node:os":[">= 14.18 && < 15",">= 16"],path:Jf,"node:path":[">= 14.18 && < 15",">= 16"],"path/posix":">= 15.3","node:path/posix":">= 16","path/win32":">= 15.3","node:path/win32":">= 16",perf_hooks:Qf,"node:perf_hooks":[">= 14.18 && < 15",">= 16"],process:Zf,"node:process":[">= 14.18 && < 15",">= 16"],punycode:eE,"node:punycode":[">= 14.18 && < 15",">= 16"],querystring:tE,"node:querystring":[">= 14.18 && < 15",">= 16"],readline:rE,"node:readline":[">= 14.18 && < 15",">= 16"],"readline/promises":">= 17","node:readline/promises":">= 17",repl:nE,"node:repl":[">= 14.18 && < 15",">= 16"],smalloc:iE,_stream_duplex:sE,"node:_stream_duplex":[">= 14.18 && < 15",">= 16"],_stream_transform:oE,"node:_stream_transform":[">= 14.18 && < 15",">= 16"],_stream_wrap:aE,"node:_stream_wrap":[">= 14.18 && < 15",">= 16"],_stream_passthrough:lE,"node:_stream_passthrough":[">= 14.18 && < 15",">= 16"],_stream_readable:cE,"node:_stream_readable":[">= 14.18 && < 15",">= 16"],_stream_writable:uE,"node:_stream_writable":[">= 14.18 && < 15",">= 16"],stream:pE,"node:stream":[">= 14.18 && < 15",">= 16"],"stream/consumers":">= 16.7","node:stream/consumers":">= 16.7","stream/promises":">= 15","node:stream/promises":">= 16","stream/web":">= 16.5","node:stream/web":">= 16.5",string_decoder:fE,"node:string_decoder":[">= 14.18 && < 15",">= 16"],sys:EE,"node:sys":[">= 14.18 && < 15",">= 16"],"test/reporters":">= 19.9 && < 20.2","node:test/reporters":[">= 18.17 && < 19",">= 19.9",">= 20"],"node:test":[">= 16.17 && < 17",">= 18"],timers:dE,"node:timers":[">= 14.18 && < 15",">= 16"],"timers/promises":">= 15","node:timers/promises":">= 16",_tls_common:TE,"node:_tls_common":[">= 14.18 && < 15",">= 16"],_tls_legacy:PE,_tls_wrap:mE,"node:_tls_wrap":[">= 14.18 && < 15",">= 16"],tls:yE,"node:tls":[">= 14.18 && < 15",">= 16"],trace_events:hE,"node:trace_events":[">= 14.18 && < 15",">= 16"],tty:_E,"node:tty":[">= 14.18 && < 15",">= 16"],url:bE,"node:url":[">= 14.18 && < 15",">= 16"],util:gE,"node:util":[">= 14.18 && < 15",">= 16"],"util/types":">= 15.3","node:util/types":">= 16","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/consarray":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/csvparser":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/logreader":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/profile_view":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/splaytree":[">= 4.4 && < 5",">= 5.2 && < 12"],v8:vE,"node:v8":[">= 14.18 && < 15",">= 16"],vm:SE,"node:vm":[">= 14.18 && < 15",">= 16"],wasi:YE,"node:wasi":[">= 18.17 && < 19",">= 20"],worker_threads:LE,"node:worker_threads":[">= 14.18 && < 15",">= 16"],zlib:AE,"node:zlib":[">= 14.18 && < 15",">= 16"]},wE=yf;function VE(t,e){for(var n=t.split("."),i=e.split(" "),s=i.length>1?i[0]:"=",l=(i.length>1?i[1]:i[0]).split("."),u=0;u<3;++u){var E=parseInt(n[u]||0,10),a=parseInt(l[u]||0,10);if(E!==a)return s==="<"?E<a:s===">="?E>=a:!1}return s===">="}function Tl(t,e){var n=e.split(/ ?&& ?/);if(n.length===0)return!1;for(var i=0;i<n.length;++i)if(!VE(t,n[i]))return!1;return!0}function OE(t,e){if(typeof e=="boolean")return e;var n=typeof t>"u"?process.versions&&process.versions.node:t;if(typeof n!="string")throw new TypeError(typeof t>"u"?"Unable to determine current node version":"If provided, a valid node version is required");if(e&&typeof e=="object"){for(var i=0;i<e.length;++i)if(Tl(n,e[i]))return!0;return!1}return Tl(n,e)}var Pl=CE,ME=function(e,n){return wE(Pl,e)&&OE(n,Pl[e])},UE=RE;function RE(t){if(!t||t==="ERROR: No README data found!")return;t=t.trim().split(`
|
|
12
|
+
`);let e=0;for(;t[e]&&t[e].trim().match(/^(#|$)/);)e++;const n=t.length;let i=e+1;for(;i<n&&t[i].trim();)i++;return t.slice(e,i).join(" ").trim()}var IE={dependancies:"dependencies",dependecies:"dependencies",depdenencies:"dependencies",devEependencies:"devDependencies",depends:"dependencies","dev-dependencies":"devDependencies",devDependences:"devDependencies",devDepenencies:"devDependencies",devdependencies:"devDependencies",repostitory:"repository",repo:"repository",prefereGlobal:"preferGlobal",hompage:"homepage",hampage:"homepage",autohr:"author",autor:"author",contributers:"contributors",publicationConfig:"publishConfig",script:"scripts"},xE={web:"url",name:"url"},DE={server:"start",tests:"test"},FE={topLevel:IE,bugs:xE,script:DE},$E=hp,kE=gp,NE=jp,Cn=sf,BE=ME,jE=["dependencies","devDependencies","optionalDependencies"],GE=UE,Xs=$o,Ke=FE,ml=t=>t.includes("@")&&t.indexOf("@")<t.lastIndexOf("."),WE={warn:function(){},fixRepositoryField:function(t){if(t.repositories&&(this.warn("repositories"),t.repository=t.repositories[0]),!t.repository)return this.warn("missingRepository");typeof t.repository=="string"&&(t.repository={type:"git",url:t.repository});var e=t.repository.url||"";if(e){var n=Cn.fromUrl(e);n&&(e=t.repository.url=n.getDefaultRepresentation()==="shortcut"?n.https():n.toString())}e.match(/github.com\/[^/]+\/[^/]+\.git\.git$/)&&this.warn("brokenGitUrl",e)},fixTypos:function(t){Object.keys(Ke.topLevel).forEach(function(e){Object.prototype.hasOwnProperty.call(t,e)&&this.warn("typo",e,Ke.topLevel[e])},this)},fixScriptsField:function(t){if(t.scripts){if(typeof t.scripts!="object"){this.warn("nonObjectScripts"),delete t.scripts;return}Object.keys(t.scripts).forEach(function(e){typeof t.scripts[e]!="string"?(this.warn("nonStringScript"),delete t.scripts[e]):Ke.script[e]&&!t.scripts[Ke.script[e]]&&this.warn("typo",e,Ke.script[e],"scripts")},this)}},fixFilesField:function(t){var e=t.files;e&&!Array.isArray(e)?(this.warn("nonArrayFiles"),delete t.files):t.files&&(t.files=t.files.filter(function(n){return!n||typeof n!="string"?(this.warn("invalidFilename",n),!1):!0},this))},fixBinField:function(t){if(t.bin&&typeof t.bin=="string"){var e={},n;(n=t.name.match(/^@[^/]+[/](.*)$/))?e[n[1]]=t.bin:e[t.name]=t.bin,t.bin=e}},fixManField:function(t){t.man&&typeof t.man=="string"&&(t.man=[t.man])},fixBundleDependenciesField:function(t){var e="bundledDependencies",n="bundleDependencies";t[e]&&!t[n]&&(t[n]=t[e],delete t[e]),t[n]&&!Array.isArray(t[n])?(this.warn("nonArrayBundleDependencies"),delete t[n]):t[n]&&(t[n]=t[n].filter(function(i){return!i||typeof i!="string"?(this.warn("nonStringBundleDependency",i),!1):(t.dependencies||(t.dependencies={}),Object.prototype.hasOwnProperty.call(t.dependencies,i)||(this.warn("nonDependencyBundleDependency",i),t.dependencies[i]="*"),!0)},this))},fixDependencies:function(t){ZE(t,this.warn),JE(t,this.warn),this.fixBundleDependenciesField(t),["dependencies","devDependencies"].forEach(function(e){if(e in t){if(!t[e]||typeof t[e]!="object"){this.warn("nonObjectDependencies",e),delete t[e];return}Object.keys(t[e]).forEach(function(n){var i=t[e][n];typeof i!="string"&&(this.warn("nonStringDependency",n,JSON.stringify(i)),delete t[e][n]);var s=Cn.fromUrl(t[e][n]);s&&(t[e][n]=s.toString())},this)}},this)},fixModulesField:function(t){t.modules&&(this.warn("deprecatedModules"),delete t.modules)},fixKeywordsField:function(t){typeof t.keywords=="string"&&(t.keywords=t.keywords.split(/,\s+/)),t.keywords&&!Array.isArray(t.keywords)?(delete t.keywords,this.warn("nonArrayKeywords")):t.keywords&&(t.keywords=t.keywords.filter(function(e){return typeof e!="string"||!e?(this.warn("nonStringKeyword"),!1):!0},this))},fixVersionField:function(t,e){var n=!e;if(!t.version)return t.version="",!0;if(!$E(t.version,n))throw new Error('Invalid version: "'+t.version+'"');return t.version=kE(t.version,n),!0},fixPeople:function(t){yl(t,zE),yl(t,qE)},fixNameField:function(t,e){typeof e=="boolean"?e={strict:e}:typeof e>"u"&&(e={});var n=e.strict;if(!t.name&&!n){t.name="";return}if(typeof t.name!="string")throw new Error("name field must be a string.");n||(t.name=t.name.trim()),XE(t.name,n,e.allowLegacyCase),BE(t.name)&&this.warn("conflictingName",t.name)},fixDescriptionField:function(t){t.description&&typeof t.description!="string"&&(this.warn("nonStringDescription"),delete t.description),t.readme&&!t.description&&(t.description=GE(t.readme)),t.description===void 0&&delete t.description,t.description||this.warn("missingDescription")},fixReadmeField:function(t){t.readme||(this.warn("missingReadme"),t.readme="ERROR: No README data found!")},fixBugsField:function(t){if(!t.bugs&&t.repository&&t.repository.url){var e=Cn.fromUrl(t.repository.url);e&&e.bugs()&&(t.bugs={url:e.bugs()})}else if(t.bugs){if(typeof t.bugs=="string")ml(t.bugs)?t.bugs={email:t.bugs}:Xs.parse(t.bugs).protocol?t.bugs={url:t.bugs}:this.warn("nonEmailUrlBugsString");else{ed(t.bugs,this.warn);var n=t.bugs;t.bugs={},n.url&&(typeof n.url=="string"&&Xs.parse(n.url).protocol?t.bugs.url=n.url:this.warn("nonUrlBugsUrlField")),n.email&&(typeof n.email=="string"&&ml(n.email)?t.bugs.email=n.email:this.warn("nonEmailBugsEmailField"))}!t.bugs.email&&!t.bugs.url&&(delete t.bugs,this.warn("emptyNormalizedBugs"))}},fixHomepageField:function(t){if(!t.homepage&&t.repository&&t.repository.url){var e=Cn.fromUrl(t.repository.url);e&&e.docs()&&(t.homepage=e.docs())}if(t.homepage){if(typeof t.homepage!="string")return this.warn("nonUrlHomepage"),delete t.homepage;Xs.parse(t.homepage).protocol||(t.homepage="http://"+t.homepage)}},fixLicenseField:function(t){const e=t.license||t.licence;if(!e)return this.warn("missingLicense");if(typeof e!="string"||e.length<1||e.trim()==="")return this.warn("invalidLicense");if(!NE(e).validForNewPackages)return this.warn("invalidLicense")}};function HE(t){if(t.charAt(0)!=="@")return!1;var e=t.slice(1).split("/");return e.length!==2?!1:e[0]&&e[1]&&e[0]===encodeURIComponent(e[0])&&e[1]===encodeURIComponent(e[1])}function KE(t){return!t.match(/[/@\s+%:]/)&&t===encodeURIComponent(t)}function XE(t,e,n){if(t.charAt(0)==="."||!(HE(t)||KE(t))||e&&!n&&t!==t.toLowerCase()||t.toLowerCase()==="node_modules"||t.toLowerCase()==="favicon.ico")throw new Error("Invalid name: "+JSON.stringify(t))}function yl(t,e){return t.author&&(t.author=e(t.author)),["maintainers","contributors"].forEach(function(n){Array.isArray(t[n])&&(t[n]=t[n].map(e))}),t}function zE(t){if(typeof t=="string")return t;var e=t.name||"",n=t.url||t.web,i=n?" ("+n+")":"",s=t.email||t.mail,l=s?" <"+s+">":"";return e+l+i}function qE(t){if(typeof t!="string")return t;var e=t.match(/^([^(<]+)/),n=t.match(/\(([^()]+)\)/),i=t.match(/<([^<>]+)>/),s={};return e&&e[0].trim()&&(s.name=e[0].trim()),i&&(s.email=i[1]),n&&(s.url=n[1]),s}function JE(t){var e=t.optionalDependencies;if(e){var n=t.dependencies||{};Object.keys(e).forEach(function(i){n[i]=e[i]}),t.dependencies=n}}function QE(t,e,n){if(!t)return{};if(typeof t=="string"&&(t=t.trim().split(/[\n\r\s\t ,]+/)),!Array.isArray(t))return t;n("deprecatedArrayDependencies",e);var i={};return t.filter(function(s){return typeof s=="string"}).forEach(function(s){s=s.trim().split(/(:?[@\s><=])/);var l=s.shift(),u=s.join("");u=u.trim(),u=u.replace(/^@/,""),i[l]=u}),i}function ZE(t,e){jE.forEach(function(n){t[n]&&(t[n]=QE(t[n],n,e))})}function ed(t,e){t&&Object.keys(t).forEach(function(n){Ke.bugs[n]&&(e("typo",n,Ke.bugs[n],"bugs"),t[Ke.bugs[n]]=t[n],delete t[n])})}var td="'repositories' (plural) Not supported. Please pick one as the 'repository' field",rd="No repository field.",nd="Probably broken git url: %s",id="scripts must be an object",sd="script values must be string commands",od="Invalid 'files' member",ad="Invalid filename in 'files' list: %s",ld="Invalid 'bundleDependencies' list. Must be array of package names",cd="Invalid bundleDependencies member: %s",ud="Non-dependency in bundleDependencies: %s",pd="%s field must be an object",fd="Invalid dependency: %s %s",Ed="specifying %s as array is deprecated",dd="modules field is deprecated",Td="keywords should be an array of strings",Pd="keywords should be an array of strings",md="%s is also the name of a node core module.",yd="'description' field should be a string",hd="No description",_d="No README data",bd="No license field.",gd="Bug string field must be url, email, or {email,url}",vd="bugs.url field must be a string url. Deleted.",Sd="bugs.email field must be a string email. Deleted.",Yd="Normalized value of bugs field is an empty object. Deleted.",Ld="homepage field must be a string url. Deleted.",Ad="license should be a valid SPDX license expression",Cd="%s should probably be %s.",wd={repositories:td,missingRepository:rd,brokenGitUrl:nd,nonObjectScripts:id,nonStringScript:sd,nonArrayFiles:od,invalidFilename:ad,nonArrayBundleDependencies:ld,nonStringBundleDependency:cd,nonDependencyBundleDependency:ud,nonObjectDependencies:pd,nonStringDependency:fd,deprecatedArrayDependencies:Ed,deprecatedModules:dd,nonArrayKeywords:Td,nonStringKeyword:Pd,conflictingName:md,nonStringDescription:yd,missingDescription:hd,missingReadme:_d,missingLicense:bd,nonEmailUrlBugsString:gd,nonUrlBugsUrlField:vd,nonEmailBugsEmailField:Sd,emptyNormalizedBugs:Yd,nonUrlHomepage:Ld,invalidLicense:Ad,typo:Cd},hl=Qc,zs=wd,Vd=function(){var t=Array.prototype.slice.call(arguments,0),e=t.shift();if(e==="typo")return Od.apply(null,t);var n=zs[e]?zs[e]:e+": '%s'";return t.unshift(n),hl.format.apply(null,t)};function Od(t,e,n){return n&&(t=n+"['"+t+"']",e=n+"['"+e+"']"),hl.format(zs.typo,t,e)}var Md=_l,qs=WE;_l.fixer=qs;var Ud=Vd,Rd=["name","version","description","repository","modules","scripts","files","bin","man","bugs","keywords","readme","homepage","license"],Id=["dependencies","people","typos"],Js=Rd.map(function(t){return bl(t)+"Field"});Js=Js.concat(Id);function _l(t,e,n){e===!0&&(e=null,n=!0),n||(n=!1),(!e||t.private)&&(e=function(){}),t.scripts&&t.scripts.install==="node-gyp rebuild"&&!t.scripts.preinstall&&(t.gypfile=!0),qs.warn=function(){e(Ud.apply(null,arguments))},Js.forEach(function(i){qs["fix"+bl(i)](t,n)}),t._id=t.name+"@"+t.version}function bl(t){return t.charAt(0).toUpperCase()+t.slice(1)}var xd=Eu(Md);function Dd(t){return t instanceof URL?Zc(t):t}const Fd=t=>jo.resolve(Dd(t)??".","package.json"),$d=(t,e)=>{const n=typeof t=="string"?Zu(t):t;return e&&xd(n),n};function kd({cwd:t,normalize:e=!0}={}){const n=No.readFileSync(Fd(t),"utf8");return $d(n,e)}function Nd(t){const e=Go("package.json",t);if(e)return{packageJson:kd({...t,cwd:jo.dirname(e)}),path:e}}const Qs="js,ts,mjs,cjs,mts,cts",Bd=()=>{const t=Go(".nvmrc");if(t){let e=No.readFileSync(t,"utf8");return e=e.trim(),e.startsWith("v")&&(e=e.slice(1)),e}return"18.19.0"},gl=Nd(),jd=gl&&"bin"in gl.packageJson,[wn,Zs,eo]=Bo.configs["flat/mixed-esm-and-cjs"],to={"n/no-missing-import":"off","n/no-missing-require":"off","n/no-extraneous-import":"off"},ro=D({...wn,files:[...wn.files,"**/*.ts"],languageOptions:{...wn.languageOptions,sourceType:"module"},rules:{...wn.rules,...to}}),Gd=D({...Zs,files:[...Zs.files,"**/*.mts"],rules:{...Zs.rules,...to}}),Wd=D({...eo,files:[...eo.files,"**/*.cts"],rules:{...eo.rules,...to}}),Hd=(t={})=>{const e=[D({plugins:{n:Bo},settings:{node:{version:`>=${Bd()}`}}}),Wd];return t?.node&&e.push(ro,Gd,D({files:t.node===!0?[`**/*.{${Qs}}`]:t.node,rules:{"n/global-require":"error","n/no-mixed-requires":["error",{allowCall:!0,grouping:!0}],"n/no-new-require":"error","n/no-path-concat":"error","n/prefer-global/buffer":["error","always"],"n/prefer-global/console":["error","always"],"n/prefer-global/process":["error","always"],"n/prefer-global/text-decoder":["error","always"],"n/prefer-global/text-encoder":["error","always"],"n/prefer-global/url":["error","always"],"n/prefer-global/url-search-params":["error","always"],"n/prefer-promises/dns":"error","n/prefer-promises/fs":"error","n/no-unsupported-features/node-builtins":"warn"}})),jd&&e.push(D({...ro,files:[`**/cli.{${Qs}}`,`**/cli/**/*.{${Qs}}`],rules:{...ro.rules,"n/no-process-exit":"off"}})),e},Kd=[D({plugins:{promise:Wo},rules:Wo.configs.recommended.rules}),D({rules:{"promise/always-return":"off","promise/catch-or-return":["error",{allowThen:!0}]}})],Xd=Ge("jest")?D({files:["**/{test,tests}/*"],languageOptions:{globals:yn.jest}}):void 0,{recommended:zd}=Ho.configs,qd=()=>[D({files:["**/*.md"],plugins:{markdown:Ho},processor:"markdown/markdown"}),D(zd[2]),D({files:["**/*.md/*.{js,jsx,ts,tsx,vue}"],rules:{"import-x/extensions":"off","import-x/no-extraneous-dependencies":"off","import-x/no-unresolved":"off","no-console":"off","no-new":"off","no-empty-function":"off","no-useless-constructor":"off","no-undef":"off","n/hashbang":"off","n/global-require":"off","no-unused-expressions":"off","unicorn/filename-case":"off","unicorn/no-array-reduce":"off","unicorn/prefer-object-from-entries":"off","unicorn/no-anonymous-default-export":"off","unicorn/no-array-callback-reference":"off","@stylistic/indent":["error",4],"@stylistic/semi":["error","never"],"@stylistic/comma-dangle":["error","never"]}}),D({files:["**/*.md/*.{js,jsx,vue}"],rules:{"no-unused-vars":"warn"}}),D({files:["**/*.md/*.{jsx,tsx}"],rules:{"react/jsx-indent-props":["error",4],"react/jsx-no-undef":"off","react/react-in-jsx-scope":"off"}}),D({files:["**/*.md/*.vue"],rules:{"vue/html-indent":["error",4],"vue/no-undef-components":"warn","vue/require-v-for-key":"off"}}),D({files:["**/*.md/*.{ts,tsx}"],rules:{"@stylistic/member-delimiter-style":["error",{multiline:{delimiter:"none",requireLast:!1},multilineDetection:"brackets",singleline:{delimiter:"semi",requireLast:!1}}],"@typescript-eslint/no-unused-vars":"warn"}}),D({files:["**/*.md/*.{json,json5}"],rules:{"jsonc/indent":["error",4],"unicorn/filename-case":"off"}})],[Jd]=hn.configs.base.overrides,Qd=[D({files:["**/*.{json,json5,jsonc}"],plugins:{jsonc:hn},languageOptions:{parser:hn},rules:{...Jd.rules,"jsonc/indent":["error","tab"],"jsonc/key-spacing":["error",{afterColon:!0,beforeColon:!1,mode:"strict"}],"jsonc/object-property-newline":"error"}}),D({files:["**/package.json"],rules:{"jsonc/sort-keys":["error",{pathPattern:"^$",order:["name","version","description","keywords","license","repository","funding","author","private","publishConfig","files","type","bin","main","module","types","exports","imports","unpkg","scripts","husky","simple-git-hooks","lint-staged","engines","peerDependencies","peerDependenciesMeta","dependencies","optionalDependencies","devDependencies","bundledDependencies","bundleDependencies","overrides","eslintConfig"]},{pathPattern:"^(?:dev|peer|optional|bundled)?[Dd]ependencies(Meta)?$",order:{type:"asc"}}]}}),D({files:["**/tsconfig.json","**/tsconfig.*.json"],rules:{...hn.configs["recommended-with-jsonc"].rules,"jsonc/sort-keys":["error",{pathPattern:"^$",order:["extends","compilerOptions","references","files","include","exclude"]},{pathPattern:"^compilerOptions$",order:["incremental","composite","tsBuildInfoFile","disableSourceOfProjectReferenceRedirect","disableSolutionSearching","disableReferencedProjectLoad","target","jsx","jsxFactory","jsxFragmentFactory","jsxImportSource","lib","moduleDetection","noLib","reactNamespace","useDefineForClassFields","emitDecoratorMetadata","experimentalDecorators","baseUrl","rootDir","rootDirs","customConditions","module","moduleResolution","moduleSuffixes","noResolve","paths","resolveJsonModule","resolvePackageJsonExports","resolvePackageJsonImports","typeRoots","types","allowArbitraryExtensions","allowImportingTsExtensions","allowUmdGlobalAccess","allowJs","checkJs","maxNodeModuleJsDepth","strict","strictBindCallApply","strictFunctionTypes","strictNullChecks","strictPropertyInitialization","allowUnreachableCode","allowUnusedLabels","alwaysStrict","exactOptionalPropertyTypes","noFallthroughCasesInSwitch","noImplicitAny","noImplicitOverride","noImplicitReturns","noImplicitThis","noPropertyAccessFromIndexSignature","noUncheckedIndexedAccess","noUnusedLocals","noUnusedParameters","useUnknownInCatchVariables","declaration","declarationDir","declarationMap","downlevelIteration","emitBOM","emitDeclarationOnly","importHelpers","importsNotUsedAsValues","inlineSourceMap","inlineSources","mapRoot","newLine","noEmit","noEmitHelpers","noEmitOnError","outDir","outFile","preserveConstEnums","preserveValueImports","removeComments","sourceMap","sourceRoot","stripInternal","allowSyntheticDefaultImports","esModuleInterop","forceConsistentCasingInFileNames","isolatedModules","preserveSymlinks","verbatimModuleSyntax","skipDefaultLibCheck","skipLibCheck"]}]}})],Zd=D({files:["**/*.{yml,yaml}"],plugins:{yml:bs},languageOptions:{parser:eu},rules:{...bs.configs.base.rules,...bs.configs.standard.rules,"yml/no-empty-mapping-value":"off"}}),eT=[D({plugins:{"no-use-extend-native":Ko},rules:Ko.configs.recommended.rules})],tT=[D({plugins:{unicorn:Xo},rules:{...Xo.configs["flat/recommended"].rules,"unicorn/better-regex":"off","unicorn/consistent-function-scoping":"off","unicorn/no-array-for-each":"off","unicorn/no-for-loop":"off","unicorn/no-new-buffer":"off","unicorn/no-null":"off","unicorn/no-process-exit":"off","unicorn/prefer-export-from":["off",{ignoreUsedVariables:!0}],"unicorn/prefer-json-parse-buffer":"off","unicorn/prefer-module":"off","unicorn/prefer-node-protocol":"off","unicorn/prefer-spread":"off","unicorn/prefer-ternary":"off","unicorn/prefer-top-level-await":"off","unicorn/prevent-abbreviations":["error",{allowList:{i:!0,j:!0},replacements:{args:!1,dev:!1,dist:!1,env:!1,pkg:!1,prop:!1,props:!1,ref:!1,src:!1}}],"unicorn/template-indent":"off","unicorn/no-abusive-eslint-disable":"off"}}),D({files:["FUNDING.json"],rules:{"unicorn/filename-case":"off"}})],rT=tu(),vl=rT?.config.compilerOptions?.jsx,Sl=vl==="react-jsx"||vl==="react-jsxdev",nT=D({files:["**/*.{jsx,tsx}"],plugins:{react:nr,"react-hooks":zo},languageOptions:{parserOptions:Sl?nr.configs["jsx-runtime"].parserOptions:nr.configs.recommended.parserOptions},settings:{react:{version:"detect"}},rules:{...nr.configs.recommended.rules,...Sl?nr.configs["jsx-runtime"].rules:{},...zo.configs.recommended.rules,"@stylistic/jsx-quotes":["error","prefer-double"],"react/jsx-indent-props":["error","tab"],"react/jsx-max-props-per-line":["error",{maximum:1}],"unicorn/filename-case":["error",{case:"pascalCase",ignore:["\\.spec\\.tsx$"]}]}}),iT={...et.configs.base.rules,...et.configs["vue3-essential"].rules,...et.configs["vue3-strongly-recommended"].rules,...et.configs["vue3-recommended"].rules},sT=()=>Ge("unplugin-auto-import")?Object.fromEntries(["vue","vue-router","@vueuse/core","@vueuse/head"].flatMap(t=>Ge(t)?iu(t).map(e=>[e,"readonly"]):[])):{},oT=()=>{const t=[];Ge("vitepress")&&t.push("content","client-only","outbound-link");const e="./src/components";if(Ge("unplugin-vue-components")&&qo.existsSync(e)){const i=qo.readdirSync(e).filter(s=>s.endsWith(".vue")).map(s=>s.replace(".vue",""));t.push(...i)}return Ge("unplugin-icons")&&t.push("icon-*"),t},aT=D({files:["**/*.vue"],processor:et.processors[".vue"],languageOptions:{globals:{...yn.browser,...et.environments["setup-compiler-macros"].globals,...sT()},parser:ru,parserOptions:{parser:{ts:"@typescript-eslint/parser"}}}}),lT=D({files:["**/*.vue"],plugins:{vue:et},rules:{...iT,"unicorn/filename-case":["error",{case:"pascalCase"}],"vue/html-indent":["error","tab"],"vue/multi-word-component-names":"off","vue/no-undef-components":["error",{ignorePatterns:["router-view","router-link",...oT()]}],"vue/comment-directive":["error",{reportUnusedDisableDirectives:!0}],"vue/component-tags-order":"off","vue/block-order":["error",{order:["script[setup]",["script","template"],"style"]}]}});var cT="lintroll",uT="1.5.2",Yl={},Ll={},Al={},ae={},_t={},rt={};Object.defineProperty(rt,"__esModule",{value:!0});const or={ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],AwaitExpression:["argument"],BinaryExpression:["left","right"],BlockStatement:["body"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],ExportAllDeclaration:["exported","source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportExpression:["source"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXClosingFragment:[],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXFragment:["openingFragment","children","closingFragment"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes"],JSXOpeningFragment:[],JSXSpreadAttribute:["argument"],JSXSpreadChild:["expression"],JSXText:[],LabeledStatement:["label","body"],Literal:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],StaticBlock:["body"],Super:[],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},pT=Object.keys(or);for(const t of pT)Object.freeze(or[t]);Object.freeze(or);const fT=new Set(["parent","leadingComments","trailingComments"]);function ET(t){return!fT.has(t)&&t[0]!=="_"}function dT(t){return Object.keys(t).filter(ET)}function TT(t){const e=Object.assign({},or);for(const n of Object.keys(t))if(Object.prototype.hasOwnProperty.call(e,n)){const i=new Set(t[n]);for(const s of e[n])i.add(s);e[n]=Object.freeze(Array.from(i))}else e[n]=Object.freeze(Array.from(t[n]));return Object.freeze(e)}rt.KEYS=or,rt.getKeys=dT,rt.unionWith=TT,function(t){Object.defineProperty(t,"__esModule",{value:!0});var e=rt;function n(P,_){const T=_.range[0];let b=P,L=!1;do{L=!1;for(const Y of b.childScopes){const M=Y.block.range;if(M[0]<=T&&T<M[1]){b=Y,L=!0;break}}}while(L);return b}function i(P,_){let T="",b=P;for(typeof _=="string"?T=_:(T=_.name,b=n(b,_));b!=null;){const L=b.set.get(T);if(L!=null)return L;b=b.upper}return null}function s(P){return!this(P)}function l(P){return s.bind(P)}function u(P,_){return P.type==="Punctuator"&&P.value===_}function E(P){return u(P,"=>")}function a(P){return u(P,",")}function c(P){return u(P,";")}function f(P){return u(P,":")}function p(P){return u(P,"(")}function d(P){return u(P,")")}function y(P){return u(P,"[")}function m(P){return u(P,"]")}function h(P){return u(P,"{")}function g(P){return u(P,"}")}function S(P){return["Block","Line","Shebang"].includes(P.type)}const O=l(E),w=l(a),F=l(c),se=l(f),ce=l(p),Pe=l(d),dt=l(y),Jt=l(m),Qt=l(h),go=l(g),vo=l(S);function So(P,_){return P.id?_.getTokenAfter(P.id,p):_.getFirstToken(P,p)}function Yo(P,_){const T=P.parent;let b=null,L=null;if(P.type==="ArrowFunctionExpression"){const Y=_.getTokenBefore(P.body,E);b=Y.loc.start,L=Y.loc.end}else T.type==="Property"||T.type==="MethodDefinition"||T.type==="PropertyDefinition"?(b=T.loc.start,L=So(P,_).loc.start):(b=P.loc.start,L=So(P,_).loc.start);return{start:{...b},end:{...L}}}const Lo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof v<"u"?v:{},Ac=Object.freeze(new Set(["Array","ArrayBuffer","BigInt","BigInt64Array","BigUint64Array","Boolean","DataView","Date","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","Float32Array","Float64Array","Function","Infinity","Int16Array","Int32Array","Int8Array","isFinite","isNaN","isPrototypeOf","JSON","Map","Math","NaN","Number","Object","parseFloat","parseInt","Promise","Proxy","Reflect","RegExp","Set","String","Symbol","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray","undefined","unescape","WeakMap","WeakSet"])),ms=new Set([Array.isArray,Array.of,Array.prototype.at,Array.prototype.concat,Array.prototype.entries,Array.prototype.every,Array.prototype.filter,Array.prototype.find,Array.prototype.findIndex,Array.prototype.flat,Array.prototype.includes,Array.prototype.indexOf,Array.prototype.join,Array.prototype.keys,Array.prototype.lastIndexOf,Array.prototype.slice,Array.prototype.some,Array.prototype.toString,Array.prototype.values,typeof BigInt=="function"?BigInt:void 0,Boolean,Date,Date.parse,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,escape,isFinite,isNaN,isPrototypeOf,Map,Map.prototype.entries,Map.prototype.get,Map.prototype.has,Map.prototype.keys,Map.prototype.values,...Object.getOwnPropertyNames(Math).filter(P=>P!=="random").map(P=>Math[P]).filter(P=>typeof P=="function"),Number,Number.isFinite,Number.isNaN,Number.parseFloat,Number.parseInt,Number.prototype.toExponential,Number.prototype.toFixed,Number.prototype.toPrecision,Number.prototype.toString,Object,Object.entries,Object.is,Object.isExtensible,Object.isFrozen,Object.isSealed,Object.keys,Object.values,parseFloat,parseInt,RegExp,Set,Set.prototype.entries,Set.prototype.has,Set.prototype.keys,Set.prototype.values,String,String.fromCharCode,String.fromCodePoint,String.raw,String.prototype.at,String.prototype.charAt,String.prototype.charCodeAt,String.prototype.codePointAt,String.prototype.concat,String.prototype.endsWith,String.prototype.includes,String.prototype.indexOf,String.prototype.lastIndexOf,String.prototype.normalize,String.prototype.padEnd,String.prototype.padStart,String.prototype.slice,String.prototype.startsWith,String.prototype.substr,String.prototype.substring,String.prototype.toLowerCase,String.prototype.toString,String.prototype.toUpperCase,String.prototype.trim,String.prototype.trimEnd,String.prototype.trimLeft,String.prototype.trimRight,String.prototype.trimStart,Symbol.for,Symbol.keyFor,unescape].filter(P=>typeof P=="function")),Ao=new Set([Object.freeze,Object.preventExtensions,Object.seal]),Cc=[[Map,new Set(["size"])],[RegExp,new Set(["dotAll","flags","global","hasIndices","ignoreCase","multiline","source","sticky","unicode"])],[Set,new Set(["size"])]];function wc(P,_){let T=P;for(;(typeof T=="object"||typeof T=="function")&&T!==null;){const b=Object.getOwnPropertyDescriptor(T,_);if(b)return b;T=Object.getPrototypeOf(T)}return null}function Vc(P,_){const T=wc(P,_);return T!=null&&T.get!=null}function Zt(P,_){const T=[];for(let b=0;b<P.length;++b){const L=P[b];if(L==null)T.length=b+1;else if(L.type==="SpreadElement"){const Y=W(L.argument,_);if(Y==null)return null;T.push(...Y.value)}else{const Y=W(L,_);if(Y==null)return null;T.push(Y.value)}}return T}function Oc(P){const _=P.references,T=_.filter(L=>L.init).length,b=_.filter(L=>L.isReadOnly()).length;return T===1&&b+T===_.length}const Co=Object.freeze({ArrayExpression(P,_){const T=Zt(P.elements,_);return T!=null?{value:T}:null},AssignmentExpression(P,_){return P.operator==="="?W(P.right,_):null},BinaryExpression(P,_){if(P.operator==="in"||P.operator==="instanceof")return null;const T=W(P.left,_),b=W(P.right,_);if(T!=null&&b!=null)switch(P.operator){case"==":return{value:T.value==b.value};case"!=":return{value:T.value!=b.value};case"===":return{value:T.value===b.value};case"!==":return{value:T.value!==b.value};case"<":return{value:T.value<b.value};case"<=":return{value:T.value<=b.value};case">":return{value:T.value>b.value};case">=":return{value:T.value>=b.value};case"<<":return{value:T.value<<b.value};case">>":return{value:T.value>>b.value};case">>>":return{value:T.value>>>b.value};case"+":return{value:T.value+b.value};case"-":return{value:T.value-b.value};case"*":return{value:T.value*b.value};case"/":return{value:T.value/b.value};case"%":return{value:T.value%b.value};case"**":return{value:T.value**b.value};case"|":return{value:T.value|b.value};case"^":return{value:T.value^b.value};case"&":return{value:T.value&b.value}}return null},CallExpression(P,_){const T=P.callee,b=Zt(P.arguments,_);if(b!=null)if(T.type==="MemberExpression"){if(T.property.type==="PrivateIdentifier")return null;const L=W(T.object,_);if(L!=null){if(L.value==null&&(L.optional||P.optional))return{value:void 0,optional:!0};const Y=ys(T,_);if(Y!=null){const M=L.value,N=Y.value;if(ms.has(M[N]))return{value:M[N](...b)};if(Ao.has(M[N]))return{value:b[0]}}}}else{const L=W(T,_);if(L!=null){if(L.value==null&&P.optional)return{value:void 0,optional:!0};const Y=L.value;if(ms.has(Y))return{value:Y(...b)};if(Ao.has(Y))return{value:b[0]}}}return null},ConditionalExpression(P,_){const T=W(P.test,_);return T!=null?T.value?W(P.consequent,_):W(P.alternate,_):null},ExpressionStatement(P,_){return W(P.expression,_)},Identifier(P,_){if(_!=null){const T=i(_,P);if(T!=null&&T.defs.length===0&&Ac.has(T.name)&&T.name in Lo)return{value:Lo[T.name]};if(T!=null&&T.defs.length===1){const b=T.defs[0];if(b.parent&&b.type==="Variable"&&(b.parent.kind==="const"||Oc(T))&&b.node.id.type==="Identifier")return W(b.node.init,_)}}return null},Literal(P){return(P.regex!=null||P.bigint!=null)&&P.value==null?null:{value:P.value}},LogicalExpression(P,_){const T=W(P.left,_);if(T!=null){if(P.operator==="||"&&T.value||P.operator==="&&"&&!T.value||P.operator==="??"&&T.value!=null)return T;const b=W(P.right,_);if(b!=null)return b}return null},MemberExpression(P,_){if(P.property.type==="PrivateIdentifier")return null;const T=W(P.object,_);if(T!=null){if(T.value==null&&(T.optional||P.optional))return{value:void 0,optional:!0};const b=ys(P,_);if(b!=null){if(!Vc(T.value,b.value))return{value:T.value[b.value]};for(const[L,Y]of Cc)if(T.value instanceof L&&Y.has(b.value))return{value:T.value[b.value]}}}return null},ChainExpression(P,_){const T=W(P.expression,_);return T!=null?{value:T.value}:null},NewExpression(P,_){const T=W(P.callee,_),b=Zt(P.arguments,_);if(T!=null&&b!=null){const L=T.value;if(ms.has(L))return{value:new L(...b)}}return null},ObjectExpression(P,_){const T={};for(const b of P.properties)if(b.type==="Property"){if(b.kind!=="init")return null;const L=ys(b,_),Y=W(b.value,_);if(L==null||Y==null)return null;T[L.value]=Y.value}else if(b.type==="SpreadElement"||b.type==="ExperimentalSpreadProperty"){const L=W(b.argument,_);if(L==null)return null;Object.assign(T,L.value)}else return null;return{value:T}},SequenceExpression(P,_){const T=P.expressions[P.expressions.length-1];return W(T,_)},TaggedTemplateExpression(P,_){const T=W(P.tag,_),b=Zt(P.quasi.expressions,_);if(T!=null&&b!=null){const L=T.value,Y=P.quasi.quasis.map(M=>M.value.cooked);if(Y.raw=P.quasi.quasis.map(M=>M.value.raw),L===String.raw)return{value:L(Y,...b)}}return null},TemplateLiteral(P,_){const T=Zt(P.expressions,_);if(T!=null){let b=P.quasis[0].value.cooked;for(let L=0;L<T.length;++L)b+=T[L],b+=P.quasis[L+1].value.cooked;return{value:b}}return null},UnaryExpression(P,_){if(P.operator==="delete")return null;if(P.operator==="void")return{value:void 0};const T=W(P.argument,_);if(T!=null)switch(P.operator){case"-":return{value:-T.value};case"+":return{value:+T.value};case"!":return{value:!T.value};case"~":return{value:~T.value};case"typeof":return{value:typeof T.value}}return null}});function W(P,_){return P!=null&&Object.hasOwnProperty.call(Co,P.type)?Co[P.type](P,_):null}function ys(P,_){const T=P.type==="Property"?P.key:P.property;return P.computed?W(T,_):T.type==="Identifier"?{value:T.name}:T.type==="Literal"?T.bigint?{value:T.bigint}:{value:String(T.value)}:null}function hs(P,_=null){try{return W(P,_)}catch{return null}}function er(P,_=null){if(P&&P.type==="Literal"&&P.value===null){if(P.regex)return`/${P.regex.pattern}/${P.regex.flags}`;if(P.bigint)return P.bigint}const T=hs(P,_);return T&&String(T.value)}function tr(P,_){switch(P.type){case"MemberExpression":return P.computed?er(P.property,_):P.property.type==="PrivateIdentifier"?null:P.property.name;case"Property":case"MethodDefinition":case"PropertyDefinition":return P.computed?er(P.key,_):P.key.type==="Literal"?String(P.key.value):P.key.type==="PrivateIdentifier"?null:P.key.name}return null}function wo(P,_){const T=P.parent,b=[],L=T.type==="Property"&&T.value===P,Y=T.type==="MethodDefinition"&&T.value===P,M=T.type==="PropertyDefinition"&&T.value===P;if((Y||M)&&(T.static&&b.push("static"),T.key.type==="PrivateIdentifier"&&b.push("private")),P.async&&b.push("async"),P.generator&&b.push("generator"),L||Y){if(T.kind==="constructor")return"constructor";T.kind==="get"?b.push("getter"):T.kind==="set"?b.push("setter"):b.push("method")}else M?b.push("method"):(P.type==="ArrowFunctionExpression"&&b.push("arrow"),b.push("function"));if(L||Y||M)if(T.key.type==="PrivateIdentifier")b.push(`#${T.key.name}`);else{const N=tr(T);if(N)b.push(`'${N}'`);else if(_){const Ye=_.getText(T.key);Ye.includes(`
|
|
13
13
|
`)||b.push(`[${Ye}]`)}}else P.id?b.push(`'${P.id.name}'`):T.type==="VariableDeclarator"&&T.id&&T.id.type==="Identifier"?b.push(`'${T.id.name}'`):(T.type==="AssignmentExpression"||T.type==="AssignmentPattern")&&T.left&&T.left.type==="Identifier"?b.push(`'${T.left.name}'`):T.type==="ExportDefaultDeclaration"&&T.declaration===P&&b.push("'default'");return b.join(" ")}const Mc=Object.freeze(new Set(["==","!=","<","<=",">",">=","<<",">>",">>>","+","-","*","/","%","|","^","&","in"])),Uc=Object.freeze(new Set(["-","+","!","~"]));function Vo(P){return P!==null&&typeof P=="object"&&typeof P.type=="string"}const Rc=Object.freeze(Object.assign(Object.create(null),{$visit(P,_,T){const{type:b}=P;return typeof this[b]=="function"?this[b](P,_,T):this.$visitChildren(P,_,T)},$visitChildren(P,_,T){const{type:b}=P;for(const L of T[b]||e.getKeys(P)){const Y=P[L];if(Array.isArray(Y)){for(const M of Y)if(Vo(M)&&this.$visit(M,_,T))return!0}else if(Vo(Y)&&this.$visit(Y,_,T))return!0}return!1},ArrowFunctionExpression(){return!1},AssignmentExpression(){return!0},AwaitExpression(){return!0},BinaryExpression(P,_,T){return _.considerImplicitTypeConversion&&Mc.has(P.operator)&&(P.left.type!=="Literal"||P.right.type!=="Literal")?!0:this.$visitChildren(P,_,T)},CallExpression(){return!0},FunctionExpression(){return!1},ImportExpression(){return!0},MemberExpression(P,_,T){return _.considerGetters||_.considerImplicitTypeConversion&&P.computed&&P.property.type!=="Literal"?!0:this.$visitChildren(P,_,T)},MethodDefinition(P,_,T){return _.considerImplicitTypeConversion&&P.computed&&P.key.type!=="Literal"?!0:this.$visitChildren(P,_,T)},NewExpression(){return!0},Property(P,_,T){return _.considerImplicitTypeConversion&&P.computed&&P.key.type!=="Literal"?!0:this.$visitChildren(P,_,T)},PropertyDefinition(P,_,T){return _.considerImplicitTypeConversion&&P.computed&&P.key.type!=="Literal"?!0:this.$visitChildren(P,_,T)},UnaryExpression(P,_,T){return P.operator==="delete"||_.considerImplicitTypeConversion&&Uc.has(P.operator)&&P.argument.type!=="Literal"?!0:this.$visitChildren(P,_,T)},UpdateExpression(){return!0},YieldExpression(){return!0}}));function Oo(P,_,{considerGetters:T=!1,considerImplicitTypeConversion:b=!1}={}){return Rc.$visit(P,{considerGetters:T,considerImplicitTypeConversion:b},_.visitorKeys||e.KEYS)}function Ic(P,_){const T=P.parent;switch(T.type){case"CallExpression":case"NewExpression":return T.arguments.length===1&&T.arguments[0]===P?_.getTokenAfter(T.callee,p):null;case"DoWhileStatement":return T.test===P?_.getTokenAfter(T.body,p):null;case"IfStatement":case"WhileStatement":return T.test===P?_.getFirstToken(T,1):null;case"ImportExpression":return T.source===P?_.getFirstToken(T,1):null;case"SwitchStatement":return T.discriminant===P?_.getFirstToken(T,1):null;case"WithStatement":return T.object===P?_.getFirstToken(T,1):null;default:return null}}function Mo(P,_,T){let b,L,Y,M,N;if(typeof P=="number"){if(b=P|0,L=_,Y=T,!(b>=1))throw new TypeError("'times' should be a positive integer.")}else b=1,L=P,Y=_;if(L==null||L.parent==null||L.parent.type==="CatchClause"&&L.parent.param===L)return!1;M=N=L;do M=Y.getTokenBefore(M),N=Y.getTokenAfter(N);while(M!=null&&N!=null&&p(M)&&d(N)&&M!==Ic(L,Y)&&--b>0);return b===0}const xc=/\$(?:[$&`']|[1-9][0-9]?)/gu,Uo=new WeakMap;function Dc(P,_){let T=!1;for(let b=_-1;b>=0&&P.charCodeAt(b)===92;--b)T=!T;return T}function Fc(P,_,T){const b=[];let L=0,Y=null;function M(N){switch(N){case"$$":return"$";case"$&":return Y[0];case"$`":return _.slice(0,Y.index);case"$'":return _.slice(Y.index+Y[0].length);default:{const Ye=N.slice(1);return Ye in Y?Y[Ye]:N}}}for(Y of P.execAll(_))b.push(_.slice(L,Y.index)),b.push(T.replace(xc,M)),L=Y.index+Y[0].length;return b.push(_.slice(L)),b.join("")}function $c(P,_,T){const b=[];let L=0;for(const Y of P.execAll(_))b.push(_.slice(L,Y.index)),b.push(String(T(...Y,Y.index,Y.input))),L=Y.index+Y[0].length;return b.push(_.slice(L)),b.join("")}class Ro{constructor(_,{escaped:T=!1}={}){if(!(_ instanceof RegExp))throw new TypeError("'pattern' should be a RegExp instance.");if(!_.flags.includes("g"))throw new Error("'pattern' should contains 'g' flag.");Uo.set(this,{pattern:new RegExp(_.source,_.flags),escaped:!!T})}*execAll(_){const{pattern:T,escaped:b}=Uo.get(this);let L=null,Y=0;for(T.lastIndex=0;(L=T.exec(_))!=null;)(b||!Dc(_,L.index))&&(Y=T.lastIndex,yield L,T.lastIndex=Y)}test(_){return!this.execAll(_).next().done}[Symbol.replace](_,T){return typeof T=="function"?$c(this,String(_),T):Fc(this,String(_),String(T))}}const kc=/^(?:Import|Export(?:All|Default|Named))Declaration$/u,Qe=Function.call.bind(Object.hasOwnProperty),B=Symbol("read"),Ze=Symbol("call"),Tt=Symbol("construct"),mn=Symbol("esm"),Nc={require:{[Ze]:!0}};function Io(P){return P==null||P.defs.length!==0||P.references.some(_=>_.isWrite())}function Bc(P){const _=P.parent;switch(_&&_.type){case"ConditionalExpression":return _.consequent===P||_.alternate===P;case"LogicalExpression":return!0;case"SequenceExpression":return _.expressions[_.expressions.length-1]===P;case"ChainExpression":return!0;default:return!1}}class Pt{constructor(_,{mode:T="strict",globalObjectNames:b=["global","globalThis","self","window"]}={}){this.variableStack=[],this.globalScope=_,this.mode=T,this.globalObjectNames=b.slice(0)}*iterateGlobalReferences(_){for(const T of Object.keys(_)){const b=_[T],L=[T],Y=this.globalScope.set.get(T);Io(Y)||(yield*this._iterateVariableReferences(Y,L,b,!0))}for(const T of this.globalObjectNames){const b=[],L=this.globalScope.set.get(T);Io(L)||(yield*this._iterateVariableReferences(L,b,_,!1))}}*iterateCjsReferences(_){for(const{node:T}of this.iterateGlobalReferences(Nc)){const b=er(T.arguments[0]);if(b==null||!Qe(_,b))continue;const L=_[b],Y=[b];L[B]&&(yield{node:T,path:Y,type:B,info:L[B]}),yield*this._iteratePropertyReferences(T,Y,L)}}*iterateEsmReferences(_){const T=this.globalScope.block;for(const b of T.body){if(!kc.test(b.type)||b.source==null)continue;const L=b.source.value;if(!Qe(_,L))continue;const Y=_[L],M=[L];if(Y[B]&&(yield{node:b,path:M,type:B,info:Y[B]}),b.type==="ExportAllDeclaration")for(const N of Object.keys(Y)){const Ye=Y[N];Ye[B]&&(yield{node:b,path:M.concat(N),type:B,info:Ye[B]})}else for(const N of b.specifiers){const Ye=Qe(Y,mn),xo=this._iterateImportReferences(N,M,Ye?Y:this.mode==="legacy"?{default:Y,...Y}:{default:Y});if(Ye)yield*xo;else for(const rr of xo)rr.path=rr.path.filter(jc),(rr.path.length>=2||rr.type!==B)&&(yield rr)}}}*_iterateVariableReferences(_,T,b,L){if(!this.variableStack.includes(_)){this.variableStack.push(_);try{for(const Y of _.references){if(!Y.isRead())continue;const M=Y.identifier;L&&b[B]&&(yield{node:M,path:T,type:B,info:b[B]}),yield*this._iteratePropertyReferences(M,T,b)}}finally{this.variableStack.pop()}}}*_iteratePropertyReferences(_,T,b){let L=_;for(;Bc(L);)L=L.parent;const Y=L.parent;if(Y.type==="MemberExpression"){if(Y.object===L){const M=tr(Y);if(M==null||!Qe(b,M))return;T=T.concat(M);const N=b[M];N[B]&&(yield{node:Y,path:T,type:B,info:N[B]}),yield*this._iteratePropertyReferences(Y,T,N)}return}if(Y.type==="CallExpression"){Y.callee===L&&b[Ze]&&(yield{node:Y,path:T,type:Ze,info:b[Ze]});return}if(Y.type==="NewExpression"){Y.callee===L&&b[Tt]&&(yield{node:Y,path:T,type:Tt,info:b[Tt]});return}if(Y.type==="AssignmentExpression"){Y.right===L&&(yield*this._iterateLhsReferences(Y.left,T,b),yield*this._iteratePropertyReferences(Y,T,b));return}if(Y.type==="AssignmentPattern"){Y.right===L&&(yield*this._iterateLhsReferences(Y.left,T,b));return}Y.type==="VariableDeclarator"&&Y.init===L&&(yield*this._iterateLhsReferences(Y.id,T,b))}*_iterateLhsReferences(_,T,b){if(_.type==="Identifier"){const L=i(this.globalScope,_);L!=null&&(yield*this._iterateVariableReferences(L,T,b,!1));return}if(_.type==="ObjectPattern"){for(const L of _.properties){const Y=tr(L);if(Y==null||!Qe(b,Y))continue;const M=T.concat(Y),N=b[Y];N[B]&&(yield{node:L,path:M,type:B,info:N[B]}),yield*this._iterateLhsReferences(L.value,M,N)}return}_.type==="AssignmentPattern"&&(yield*this._iterateLhsReferences(_.left,T,b))}*_iterateImportReferences(_,T,b){const L=_.type;if(L==="ImportSpecifier"||L==="ImportDefaultSpecifier"){const Y=L==="ImportDefaultSpecifier"?"default":_.imported.name;if(!Qe(b,Y))return;T=T.concat(Y);const M=b[Y];M[B]&&(yield{node:_,path:T,type:B,info:M[B]}),yield*this._iterateVariableReferences(i(this.globalScope,_.local),T,M,!1);return}if(L==="ImportNamespaceSpecifier"){yield*this._iterateVariableReferences(i(this.globalScope,_.local),T,b,!1);return}if(L==="ExportSpecifier"){const Y=_.local.name;if(!Qe(b,Y))return;T=T.concat(Y);const M=b[Y];M[B]&&(yield{node:_,path:T,type:B,info:M[B]})}}}Pt.READ=B,Pt.CALL=Ze,Pt.CONSTRUCT=Tt,Pt.ESM=mn;function jc(P,_){return!(_===1&&P==="default")}var Gc={CALL:Ze,CONSTRUCT:Tt,ESM:mn,findVariable:i,getFunctionHeadLocation:Yo,getFunctionNameWithKind:wo,getInnermostScope:n,getPropertyName:tr,getStaticValue:hs,getStringIfConstant:er,hasSideEffect:Oo,isArrowToken:E,isClosingBraceToken:g,isClosingBracketToken:m,isClosingParenToken:d,isColonToken:f,isCommaToken:a,isCommentToken:S,isNotArrowToken:O,isNotClosingBraceToken:go,isNotClosingBracketToken:Jt,isNotClosingParenToken:Pe,isNotColonToken:se,isNotCommaToken:w,isNotCommentToken:vo,isNotOpeningBraceToken:Qt,isNotOpeningBracketToken:dt,isNotOpeningParenToken:ce,isNotSemicolonToken:F,isOpeningBraceToken:h,isOpeningBracketToken:y,isOpeningParenToken:p,isParenthesized:Mo,isSemicolonToken:c,PatternMatcher:Ro,READ:B,ReferenceTracker:Pt};t.CALL=Ze,t.CONSTRUCT=Tt,t.ESM=mn,t.PatternMatcher=Ro,t.READ=B,t.ReferenceTracker=Pt,t.default=Gc,t.findVariable=i,t.getFunctionHeadLocation=Yo,t.getFunctionNameWithKind=wo,t.getInnermostScope=n,t.getPropertyName=tr,t.getStaticValue=hs,t.getStringIfConstant=er,t.hasSideEffect=Oo,t.isArrowToken=E,t.isClosingBraceToken=g,t.isClosingBracketToken=m,t.isClosingParenToken=d,t.isColonToken=f,t.isCommaToken=a,t.isCommentToken=S,t.isNotArrowToken=O,t.isNotClosingBraceToken=go,t.isNotClosingBracketToken=Jt,t.isNotClosingParenToken=Pe,t.isNotColonToken=se,t.isNotCommaToken=w,t.isNotCommentToken=vo,t.isNotOpeningBraceToken=Qt,t.isNotOpeningBracketToken=dt,t.isNotOpeningParenToken=ce,t.isNotSemicolonToken=F,t.isOpeningBraceToken=h,t.isOpeningBracketToken=y,t.isOpeningParenToken=p,t.isParenthesized=Mo,t.isSemicolonToken=c}(_t);var PT=v&&v.__createBinding||(Object.create?function(t,e,n,i){i===void 0&&(i=n);var s=Object.getOwnPropertyDescriptor(e,n);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,i,s)}:function(t,e,n,i){i===void 0&&(i=n),t[i]=e[n]}),mT=v&&v.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),yT=v&&v.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)n!=="default"&&Object.prototype.hasOwnProperty.call(t,n)&&PT(e,t,n);return mT(e,t),e};Object.defineProperty(ae,"__esModule",{value:!0}),ae.isParenthesized=ae.hasSideEffect=ae.getStringIfConstant=ae.getStaticValue=ae.getPropertyName=ae.getFunctionNameWithKind=ae.getFunctionHeadLocation=void 0;const nt=yT(_t),hT=nt.getFunctionHeadLocation;ae.getFunctionHeadLocation=hT;const _T=nt.getFunctionNameWithKind;ae.getFunctionNameWithKind=_T;const bT=nt.getPropertyName;ae.getPropertyName=bT;const gT=nt.getStaticValue;ae.getStaticValue=gT;const vT=nt.getStringIfConstant;ae.getStringIfConstant=vT;const ST=nt.hasSideEffect;ae.hasSideEffect=ST;const YT=nt.isParenthesized;ae.isParenthesized=YT;var Vn={},LT=v&&v.__createBinding||(Object.create?function(t,e,n,i){i===void 0&&(i=n);var s=Object.getOwnPropertyDescriptor(e,n);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,i,s)}:function(t,e,n,i){i===void 0&&(i=n),t[i]=e[n]}),AT=v&&v.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),CT=v&&v.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)n!=="default"&&Object.prototype.hasOwnProperty.call(t,n)&<(e,t,n);return AT(e,t),e};Object.defineProperty(Vn,"__esModule",{value:!0}),Vn.PatternMatcher=void 0;const wT=CT(_t),VT=wT.PatternMatcher;Vn.PatternMatcher=VT;var U={},OT=v&&v.__createBinding||(Object.create?function(t,e,n,i){i===void 0&&(i=n);var s=Object.getOwnPropertyDescriptor(e,n);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,i,s)}:function(t,e,n,i){i===void 0&&(i=n),t[i]=e[n]}),MT=v&&v.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),UT=v&&v.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)n!=="default"&&Object.prototype.hasOwnProperty.call(t,n)&&OT(e,t,n);return MT(e,t),e};Object.defineProperty(U,"__esModule",{value:!0}),U.isSemicolonToken=U.isOpeningParenToken=U.isOpeningBracketToken=U.isOpeningBraceToken=U.isNotSemicolonToken=U.isNotOpeningParenToken=U.isNotOpeningBracketToken=U.isNotOpeningBraceToken=U.isNotCommentToken=U.isNotCommaToken=U.isNotColonToken=U.isNotClosingParenToken=U.isNotClosingBracketToken=U.isNotClosingBraceToken=U.isNotArrowToken=U.isCommentToken=U.isCommaToken=U.isColonToken=U.isClosingParenToken=U.isClosingBracketToken=U.isClosingBraceToken=U.isArrowToken=void 0;const z=UT(_t),RT=z.isArrowToken;U.isArrowToken=RT;const IT=z.isNotArrowToken;U.isNotArrowToken=IT;const xT=z.isClosingBraceToken;U.isClosingBraceToken=xT;const DT=z.isNotClosingBraceToken;U.isNotClosingBraceToken=DT;const FT=z.isClosingBracketToken;U.isClosingBracketToken=FT;const $T=z.isNotClosingBracketToken;U.isNotClosingBracketToken=$T;const kT=z.isClosingParenToken;U.isClosingParenToken=kT;const NT=z.isNotClosingParenToken;U.isNotClosingParenToken=NT;const BT=z.isColonToken;U.isColonToken=BT;const jT=z.isNotColonToken;U.isNotColonToken=jT;const GT=z.isCommaToken;U.isCommaToken=GT;const WT=z.isNotCommaToken;U.isNotCommaToken=WT;const HT=z.isCommentToken;U.isCommentToken=HT;const KT=z.isNotCommentToken;U.isNotCommentToken=KT;const XT=z.isOpeningBraceToken;U.isOpeningBraceToken=XT;const zT=z.isNotOpeningBraceToken;U.isNotOpeningBraceToken=zT;const qT=z.isOpeningBracketToken;U.isOpeningBracketToken=qT;const JT=z.isNotOpeningBracketToken;U.isNotOpeningBracketToken=JT;const QT=z.isOpeningParenToken;U.isOpeningParenToken=QT;const ZT=z.isNotOpeningParenToken;U.isNotOpeningParenToken=ZT;const eP=z.isSemicolonToken;U.isSemicolonToken=eP;const tP=z.isNotSemicolonToken;U.isNotSemicolonToken=tP;var On={},rP=v&&v.__createBinding||(Object.create?function(t,e,n,i){i===void 0&&(i=n);var s=Object.getOwnPropertyDescriptor(e,n);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,i,s)}:function(t,e,n,i){i===void 0&&(i=n),t[i]=e[n]}),nP=v&&v.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),iP=v&&v.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)n!=="default"&&Object.prototype.hasOwnProperty.call(t,n)&&rP(e,t,n);return nP(e,t),e};Object.defineProperty(On,"__esModule",{value:!0}),On.ReferenceTracker=void 0;const ar=iP(_t);ar.ReferenceTracker.READ,ar.ReferenceTracker.CALL,ar.ReferenceTracker.CONSTRUCT,ar.ReferenceTracker.ESM;const sP=ar.ReferenceTracker;On.ReferenceTracker=sP;var bt={},oP=v&&v.__createBinding||(Object.create?function(t,e,n,i){i===void 0&&(i=n);var s=Object.getOwnPropertyDescriptor(e,n);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,i,s)}:function(t,e,n,i){i===void 0&&(i=n),t[i]=e[n]}),aP=v&&v.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),lP=v&&v.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)n!=="default"&&Object.prototype.hasOwnProperty.call(t,n)&&oP(e,t,n);return aP(e,t),e};Object.defineProperty(bt,"__esModule",{value:!0}),bt.getInnermostScope=bt.findVariable=void 0;const Cl=lP(_t),cP=Cl.findVariable;bt.findVariable=cP;const uP=Cl.getInnermostScope;bt.getInnermostScope=uP,function(t){var e=v&&v.__createBinding||(Object.create?function(i,s,l,u){u===void 0&&(u=l);var E=Object.getOwnPropertyDescriptor(s,l);(!E||("get"in E?!s.__esModule:E.writable||E.configurable))&&(E={enumerable:!0,get:function(){return s[l]}}),Object.defineProperty(i,u,E)}:function(i,s,l,u){u===void 0&&(u=l),i[u]=s[l]}),n=v&&v.__exportStar||function(i,s){for(var l in i)l!=="default"&&!Object.prototype.hasOwnProperty.call(s,l)&&e(s,i,l)};Object.defineProperty(t,"__esModule",{value:!0}),n(ae,t),n(Vn,t),n(U,t),n(On,t),n(bt,t)}(Al);var no={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.isNotTokenOfTypeWithConditions=t.isTokenOfTypeWithConditions=t.isNodeOfTypeWithConditions=t.isNodeOfTypes=t.isNodeOfType=void 0;const e=u=>E=>E?.type===u;t.isNodeOfType=e;const n=u=>E=>!!E&&u.includes(E.type);t.isNodeOfTypes=n;const i=(u,E)=>{const a=Object.entries(E);return c=>c?.type===u&&a.every(([f,p])=>c[f]===p)};t.isNodeOfTypeWithConditions=i;const s=(u,E)=>{const a=Object.entries(E);return c=>c?.type===u&&a.every(([f,p])=>c[f]===p)};t.isTokenOfTypeWithConditions=s;const l=(u,E)=>a=>!(0,t.isTokenOfTypeWithConditions)(u,E)(a);t.isNotTokenOfTypeWithConditions=l})(no);var gt={};Object.defineProperty(gt,"__esModule",{value:!0}),gt.LINEBREAK_MATCHER=gt.isTokenOnSameLine=void 0;const pP=/\r\n|[\r\n\u2028\u2029]/;gt.LINEBREAK_MATCHER=pP;function fP(t,e){return t.loc.end.line===e.loc.start.line}gt.isTokenOnSameLine=fP;var R={},io={},Ve={},it={};Object.defineProperty(it,"__esModule",{value:!0}),it.AST_TOKEN_TYPES=it.AST_NODE_TYPES=void 0;var wl;(function(t){t.AccessorProperty="AccessorProperty",t.ArrayExpression="ArrayExpression",t.ArrayPattern="ArrayPattern",t.ArrowFunctionExpression="ArrowFunctionExpression",t.AssignmentExpression="AssignmentExpression",t.AssignmentPattern="AssignmentPattern",t.AwaitExpression="AwaitExpression",t.BinaryExpression="BinaryExpression",t.BlockStatement="BlockStatement",t.BreakStatement="BreakStatement",t.CallExpression="CallExpression",t.CatchClause="CatchClause",t.ChainExpression="ChainExpression",t.ClassBody="ClassBody",t.ClassDeclaration="ClassDeclaration",t.ClassExpression="ClassExpression",t.ConditionalExpression="ConditionalExpression",t.ContinueStatement="ContinueStatement",t.DebuggerStatement="DebuggerStatement",t.Decorator="Decorator",t.DoWhileStatement="DoWhileStatement",t.EmptyStatement="EmptyStatement",t.ExportAllDeclaration="ExportAllDeclaration",t.ExportDefaultDeclaration="ExportDefaultDeclaration",t.ExportNamedDeclaration="ExportNamedDeclaration",t.ExportSpecifier="ExportSpecifier",t.ExpressionStatement="ExpressionStatement",t.ForInStatement="ForInStatement",t.ForOfStatement="ForOfStatement",t.ForStatement="ForStatement",t.FunctionDeclaration="FunctionDeclaration",t.FunctionExpression="FunctionExpression",t.Identifier="Identifier",t.IfStatement="IfStatement",t.ImportAttribute="ImportAttribute",t.ImportDeclaration="ImportDeclaration",t.ImportDefaultSpecifier="ImportDefaultSpecifier",t.ImportExpression="ImportExpression",t.ImportNamespaceSpecifier="ImportNamespaceSpecifier",t.ImportSpecifier="ImportSpecifier",t.JSXAttribute="JSXAttribute",t.JSXClosingElement="JSXClosingElement",t.JSXClosingFragment="JSXClosingFragment",t.JSXElement="JSXElement",t.JSXEmptyExpression="JSXEmptyExpression",t.JSXExpressionContainer="JSXExpressionContainer",t.JSXFragment="JSXFragment",t.JSXIdentifier="JSXIdentifier",t.JSXMemberExpression="JSXMemberExpression",t.JSXNamespacedName="JSXNamespacedName",t.JSXOpeningElement="JSXOpeningElement",t.JSXOpeningFragment="JSXOpeningFragment",t.JSXSpreadAttribute="JSXSpreadAttribute",t.JSXSpreadChild="JSXSpreadChild",t.JSXText="JSXText",t.LabeledStatement="LabeledStatement",t.Literal="Literal",t.LogicalExpression="LogicalExpression",t.MemberExpression="MemberExpression",t.MetaProperty="MetaProperty",t.MethodDefinition="MethodDefinition",t.NewExpression="NewExpression",t.ObjectExpression="ObjectExpression",t.ObjectPattern="ObjectPattern",t.PrivateIdentifier="PrivateIdentifier",t.Program="Program",t.Property="Property",t.PropertyDefinition="PropertyDefinition",t.RestElement="RestElement",t.ReturnStatement="ReturnStatement",t.SequenceExpression="SequenceExpression",t.SpreadElement="SpreadElement",t.StaticBlock="StaticBlock",t.Super="Super",t.SwitchCase="SwitchCase",t.SwitchStatement="SwitchStatement",t.TaggedTemplateExpression="TaggedTemplateExpression",t.TemplateElement="TemplateElement",t.TemplateLiteral="TemplateLiteral",t.ThisExpression="ThisExpression",t.ThrowStatement="ThrowStatement",t.TryStatement="TryStatement",t.UnaryExpression="UnaryExpression",t.UpdateExpression="UpdateExpression",t.VariableDeclaration="VariableDeclaration",t.VariableDeclarator="VariableDeclarator",t.WhileStatement="WhileStatement",t.WithStatement="WithStatement",t.YieldExpression="YieldExpression",t.TSAbstractAccessorProperty="TSAbstractAccessorProperty",t.TSAbstractKeyword="TSAbstractKeyword",t.TSAbstractMethodDefinition="TSAbstractMethodDefinition",t.TSAbstractPropertyDefinition="TSAbstractPropertyDefinition",t.TSAnyKeyword="TSAnyKeyword",t.TSArrayType="TSArrayType",t.TSAsExpression="TSAsExpression",t.TSAsyncKeyword="TSAsyncKeyword",t.TSBigIntKeyword="TSBigIntKeyword",t.TSBooleanKeyword="TSBooleanKeyword",t.TSCallSignatureDeclaration="TSCallSignatureDeclaration",t.TSClassImplements="TSClassImplements",t.TSConditionalType="TSConditionalType",t.TSConstructorType="TSConstructorType",t.TSConstructSignatureDeclaration="TSConstructSignatureDeclaration",t.TSDeclareFunction="TSDeclareFunction",t.TSDeclareKeyword="TSDeclareKeyword",t.TSEmptyBodyFunctionExpression="TSEmptyBodyFunctionExpression",t.TSEnumDeclaration="TSEnumDeclaration",t.TSEnumMember="TSEnumMember",t.TSExportAssignment="TSExportAssignment",t.TSExportKeyword="TSExportKeyword",t.TSExternalModuleReference="TSExternalModuleReference",t.TSFunctionType="TSFunctionType",t.TSInstantiationExpression="TSInstantiationExpression",t.TSImportEqualsDeclaration="TSImportEqualsDeclaration",t.TSImportType="TSImportType",t.TSIndexedAccessType="TSIndexedAccessType",t.TSIndexSignature="TSIndexSignature",t.TSInferType="TSInferType",t.TSInterfaceBody="TSInterfaceBody",t.TSInterfaceDeclaration="TSInterfaceDeclaration",t.TSInterfaceHeritage="TSInterfaceHeritage",t.TSIntersectionType="TSIntersectionType",t.TSIntrinsicKeyword="TSIntrinsicKeyword",t.TSLiteralType="TSLiteralType",t.TSMappedType="TSMappedType",t.TSMethodSignature="TSMethodSignature",t.TSModuleBlock="TSModuleBlock",t.TSModuleDeclaration="TSModuleDeclaration",t.TSNamedTupleMember="TSNamedTupleMember",t.TSNamespaceExportDeclaration="TSNamespaceExportDeclaration",t.TSNeverKeyword="TSNeverKeyword",t.TSNonNullExpression="TSNonNullExpression",t.TSNullKeyword="TSNullKeyword",t.TSNumberKeyword="TSNumberKeyword",t.TSObjectKeyword="TSObjectKeyword",t.TSOptionalType="TSOptionalType",t.TSParameterProperty="TSParameterProperty",t.TSPrivateKeyword="TSPrivateKeyword",t.TSPropertySignature="TSPropertySignature",t.TSProtectedKeyword="TSProtectedKeyword",t.TSPublicKeyword="TSPublicKeyword",t.TSQualifiedName="TSQualifiedName",t.TSReadonlyKeyword="TSReadonlyKeyword",t.TSRestType="TSRestType",t.TSSatisfiesExpression="TSSatisfiesExpression",t.TSStaticKeyword="TSStaticKeyword",t.TSStringKeyword="TSStringKeyword",t.TSSymbolKeyword="TSSymbolKeyword",t.TSTemplateLiteralType="TSTemplateLiteralType",t.TSThisType="TSThisType",t.TSTupleType="TSTupleType",t.TSTypeAliasDeclaration="TSTypeAliasDeclaration",t.TSTypeAnnotation="TSTypeAnnotation",t.TSTypeAssertion="TSTypeAssertion",t.TSTypeLiteral="TSTypeLiteral",t.TSTypeOperator="TSTypeOperator",t.TSTypeParameter="TSTypeParameter",t.TSTypeParameterDeclaration="TSTypeParameterDeclaration",t.TSTypeParameterInstantiation="TSTypeParameterInstantiation",t.TSTypePredicate="TSTypePredicate",t.TSTypeQuery="TSTypeQuery",t.TSTypeReference="TSTypeReference",t.TSUndefinedKeyword="TSUndefinedKeyword",t.TSUnionType="TSUnionType",t.TSUnknownKeyword="TSUnknownKeyword",t.TSVoidKeyword="TSVoidKeyword"})(wl||(it.AST_NODE_TYPES=wl={}));var Vl;(function(t){t.Boolean="Boolean",t.Identifier="Identifier",t.JSXIdentifier="JSXIdentifier",t.JSXText="JSXText",t.Keyword="Keyword",t.Null="Null",t.Numeric="Numeric",t.Punctuator="Punctuator",t.RegularExpression="RegularExpression",t.String="String",t.Template="Template",t.Block="Block",t.Line="Line"})(Vl||(it.AST_TOKEN_TYPES=Vl={}));var Ol={};Object.defineProperty(Ol,"__esModule",{value:!0});var Ml={};Object.defineProperty(Ml,"__esModule",{value:!0});var Mn={},EP=v&&v.__createBinding||(Object.create?function(t,e,n,i){i===void 0&&(i=n);var s=Object.getOwnPropertyDescriptor(e,n);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,i,s)}:function(t,e,n,i){i===void 0&&(i=n),t[i]=e[n]}),dP=v&&v.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),TP=v&&v.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)n!=="default"&&Object.prototype.hasOwnProperty.call(t,n)&&EP(e,t,n);return dP(e,t),e};Object.defineProperty(Mn,"__esModule",{value:!0}),Mn.TSESTree=void 0,Mn.TSESTree=TP(it),function(t){var e=v&&v.__createBinding||(Object.create?function(s,l,u,E){E===void 0&&(E=u);var a=Object.getOwnPropertyDescriptor(l,u);(!a||("get"in a?!l.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return l[u]}}),Object.defineProperty(s,E,a)}:function(s,l,u,E){E===void 0&&(E=u),s[E]=l[u]}),n=v&&v.__exportStar||function(s,l){for(var u in s)u!=="default"&&!Object.prototype.hasOwnProperty.call(l,u)&&e(l,s,u)};Object.defineProperty(t,"__esModule",{value:!0}),t.AST_TOKEN_TYPES=t.AST_NODE_TYPES=void 0;var i=it;Object.defineProperty(t,"AST_NODE_TYPES",{enumerable:!0,get:function(){return i.AST_NODE_TYPES}}),Object.defineProperty(t,"AST_TOKEN_TYPES",{enumerable:!0,get:function(){return i.AST_TOKEN_TYPES}}),n(Ol,t),n(Ml,t),n(Mn,t)}(Ve),function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.TSESTree=t.AST_TOKEN_TYPES=t.AST_NODE_TYPES=void 0;var e=Ve;Object.defineProperty(t,"AST_NODE_TYPES",{enumerable:!0,get:function(){return e.AST_NODE_TYPES}}),Object.defineProperty(t,"AST_TOKEN_TYPES",{enumerable:!0,get:function(){return e.AST_TOKEN_TYPES}}),Object.defineProperty(t,"TSESTree",{enumerable:!0,get:function(){return e.TSESTree}})}(io),Object.defineProperty(R,"__esModule",{value:!0}),R.isVariableDeclarator=R.isTypeKeyword=R.isTypeAssertion=R.isTSFunctionType=R.isTSConstructorType=R.isSetter=R.isOptionalCallExpression=R.isOptionalChainPunctuator=R.isNotOptionalChainPunctuator=R.isNotNonNullAssertionPunctuator=R.isNonNullAssertionPunctuator=R.isLogicalOrOperator=R.isLoop=R.isImportKeyword=R.isIdentifier=R.isFunctionType=R.isFunctionOrFunctionType=R.isFunction=R.isClassOrTypeElement=R.isConstructor=R.isAwaitKeyword=R.isAwaitExpression=void 0;const I=io,J=no,PP=(0,J.isTokenOfTypeWithConditions)(I.AST_TOKEN_TYPES.Punctuator,{value:"?."});R.isOptionalChainPunctuator=PP;const mP=(0,J.isNotTokenOfTypeWithConditions)(I.AST_TOKEN_TYPES.Punctuator,{value:"?."});R.isNotOptionalChainPunctuator=mP;const yP=(0,J.isTokenOfTypeWithConditions)(I.AST_TOKEN_TYPES.Punctuator,{value:"!"});R.isNonNullAssertionPunctuator=yP;const hP=(0,J.isNotTokenOfTypeWithConditions)(I.AST_TOKEN_TYPES.Punctuator,{value:"!"});R.isNotNonNullAssertionPunctuator=hP;const _P=(0,J.isNodeOfTypeWithConditions)(I.AST_NODE_TYPES.CallExpression,{optional:!0});R.isOptionalCallExpression=_P;const bP=(0,J.isNodeOfTypeWithConditions)(I.AST_NODE_TYPES.LogicalExpression,{operator:"||"});R.isLogicalOrOperator=bP;const gP=(0,J.isNodeOfTypes)([I.AST_NODE_TYPES.TSAsExpression,I.AST_NODE_TYPES.TSTypeAssertion]);R.isTypeAssertion=gP;const vP=(0,J.isNodeOfType)(I.AST_NODE_TYPES.VariableDeclarator);R.isVariableDeclarator=vP;const Ul=[I.AST_NODE_TYPES.ArrowFunctionExpression,I.AST_NODE_TYPES.FunctionDeclaration,I.AST_NODE_TYPES.FunctionExpression],SP=(0,J.isNodeOfTypes)(Ul);R.isFunction=SP;const Rl=[I.AST_NODE_TYPES.TSCallSignatureDeclaration,I.AST_NODE_TYPES.TSConstructorType,I.AST_NODE_TYPES.TSConstructSignatureDeclaration,I.AST_NODE_TYPES.TSEmptyBodyFunctionExpression,I.AST_NODE_TYPES.TSFunctionType,I.AST_NODE_TYPES.TSMethodSignature],YP=(0,J.isNodeOfTypes)(Rl);R.isFunctionType=YP;const LP=(0,J.isNodeOfTypes)([...Ul,...Rl]);R.isFunctionOrFunctionType=LP;const AP=(0,J.isNodeOfType)(I.AST_NODE_TYPES.TSFunctionType);R.isTSFunctionType=AP;const CP=(0,J.isNodeOfType)(I.AST_NODE_TYPES.TSConstructorType);R.isTSConstructorType=CP;const wP=(0,J.isNodeOfTypes)([I.AST_NODE_TYPES.PropertyDefinition,I.AST_NODE_TYPES.FunctionExpression,I.AST_NODE_TYPES.MethodDefinition,I.AST_NODE_TYPES.TSAbstractPropertyDefinition,I.AST_NODE_TYPES.TSAbstractMethodDefinition,I.AST_NODE_TYPES.TSEmptyBodyFunctionExpression,I.AST_NODE_TYPES.TSIndexSignature,I.AST_NODE_TYPES.TSCallSignatureDeclaration,I.AST_NODE_TYPES.TSConstructSignatureDeclaration,I.AST_NODE_TYPES.TSMethodSignature,I.AST_NODE_TYPES.TSPropertySignature]);R.isClassOrTypeElement=wP;const VP=(0,J.isNodeOfTypeWithConditions)(I.AST_NODE_TYPES.MethodDefinition,{kind:"constructor"});R.isConstructor=VP;function OP(t){return!!t&&(t.type===I.AST_NODE_TYPES.MethodDefinition||t.type===I.AST_NODE_TYPES.Property)&&t.kind==="set"}R.isSetter=OP;const MP=(0,J.isNodeOfType)(I.AST_NODE_TYPES.Identifier);R.isIdentifier=MP;const UP=(0,J.isNodeOfType)(I.AST_NODE_TYPES.AwaitExpression);R.isAwaitExpression=UP;const RP=(0,J.isTokenOfTypeWithConditions)(I.AST_TOKEN_TYPES.Identifier,{value:"await"});R.isAwaitKeyword=RP;const IP=(0,J.isTokenOfTypeWithConditions)(I.AST_TOKEN_TYPES.Identifier,{value:"type"});R.isTypeKeyword=IP;const xP=(0,J.isTokenOfTypeWithConditions)(I.AST_TOKEN_TYPES.Keyword,{value:"import"});R.isImportKeyword=xP;const DP=(0,J.isNodeOfTypes)([I.AST_NODE_TYPES.DoWhileStatement,I.AST_NODE_TYPES.ForStatement,I.AST_NODE_TYPES.ForInStatement,I.AST_NODE_TYPES.ForOfStatement,I.AST_NODE_TYPES.WhileStatement]);R.isLoop=DP,function(t){var e=v&&v.__createBinding||(Object.create?function(i,s,l,u){u===void 0&&(u=l);var E=Object.getOwnPropertyDescriptor(s,l);(!E||("get"in E?!s.__esModule:E.writable||E.configurable))&&(E={enumerable:!0,get:function(){return s[l]}}),Object.defineProperty(i,u,E)}:function(i,s,l,u){u===void 0&&(u=l),i[u]=s[l]}),n=v&&v.__exportStar||function(i,s){for(var l in i)l!=="default"&&!Object.prototype.hasOwnProperty.call(s,l)&&e(s,i,l)};Object.defineProperty(t,"__esModule",{value:!0}),n(Al,t),n(no,t),n(gt,t),n(R,t)}(Ll);var Il={},lr={},st={};Object.defineProperty(st,"__esModule",{value:!0}),st.isObjectNotArray=st.deepMerge=void 0;function so(t){return typeof t=="object"&&t!=null&&!Array.isArray(t)}st.isObjectNotArray=so;function xl(t={},e={}){const n=new Set(Object.keys(t).concat(Object.keys(e)));return Array.from(n).reduce((i,s)=>{const l=s in t,u=s in e,E=t[s],a=e[s];return l&&u?so(E)&&so(a)?i[s]=xl(E,a):i[s]=a:l?i[s]=E:i[s]=a,i},{})}st.deepMerge=xl,Object.defineProperty(lr,"__esModule",{value:!0}),lr.applyDefault=void 0;const oo=st;function FP(t,e){const n=JSON.parse(JSON.stringify(t));return e==null||n.forEach((i,s)=>{if(e[s]!==void 0){const l=e[s];(0,oo.isObjectNotArray)(l)&&(0,oo.isObjectNotArray)(i)?n[s]=(0,oo.deepMerge)(i,l):n[s]=l}}),n}lr.applyDefault=FP;var ue={};Object.defineProperty(ue,"__esModule",{value:!0}),ue.getSourceCode=ue.getScope=ue.getFilename=ue.getDeclaredVariables=ue.getCwd=ue.getAncestors=void 0;function $P(t){return t.getAncestors()}ue.getAncestors=$P;function kP(t){return t.getCwd()}ue.getCwd=kP;function NP(t,e){return t.sourceCode.getDeclaredVariables(e)}ue.getDeclaredVariables=NP;function BP(t){return t.filename}ue.getFilename=BP;function jP(t){return t.getScope()}ue.getScope=jP;function GP(t){return t.sourceCode}ue.getSourceCode=GP;var Un={},Rn={};Object.defineProperty(Rn,"__esModule",{value:!0}),Rn.parserPathSeemsToBeTSESLint=void 0;function WP(t){return/(?:typescript-eslint|\.\.)[\w/\\]*parser/.test(t)}Rn.parserPathSeemsToBeTSESLint=WP,Object.defineProperty(Un,"__esModule",{value:!0}),Un.getParserServices=void 0;const HP=Rn,KP='You have used a rule which requires parserServices to be generated. You must therefore provide a value for the "parserOptions.project" property for @typescript-eslint/parser.',XP='Note: detected a parser other than @typescript-eslint/parser. Make sure the parser is configured to forward "parserOptions.project" to @typescript-eslint/parser.';function zP(t,e=!1){return(t.sourceCode.parserServices?.esTreeNodeToTSNodeMap==null||t.sourceCode.parserServices.tsNodeToESTreeNodeMap==null)&&Dl(t.parserPath),t.sourceCode.parserServices.program==null&&!e&&Dl(t.parserPath),t.sourceCode.parserServices}Un.getParserServices=zP;function Dl(t){const e=[KP,`Parser: ${t}`];throw(0,HP.parserPathSeemsToBeTSESLint)(t)||e.push(XP),new Error(e.join(`
|
|
14
14
|
`))}var Fl={};Object.defineProperty(Fl,"__esModule",{value:!0});var In={};Object.defineProperty(In,"__esModule",{value:!0}),In.RuleCreator=void 0;const qP=lr;function $l(t){return function({name:n,meta:i,...s}){return kl({meta:{...i,docs:{...i.docs,url:t(n)}},...s})}}In.RuleCreator=$l;function kl({create:t,defaultOptions:e,meta:n}){return{create(i){const s=(0,qP.applyDefault)(e,i.options);return t(i,s)},defaultOptions:e,meta:n}}$l.withoutDocs=kl;var vt={};Object.defineProperty(vt,"__esModule",{value:!0}),vt.NullThrowsReasons=vt.nullThrows=void 0;const JP={MissingParent:"Expected node to have a parent.",MissingToken:(t,e)=>`Expected to find a ${t} for the ${e}.`};vt.NullThrowsReasons=JP;function QP(t,e){if(t==null)throw new Error(`Non-null Assertion Failed: ${e}`);return t}vt.nullThrows=QP,function(t){var e=v&&v.__createBinding||(Object.create?function(i,s,l,u){u===void 0&&(u=l);var E=Object.getOwnPropertyDescriptor(s,l);(!E||("get"in E?!s.__esModule:E.writable||E.configurable))&&(E={enumerable:!0,get:function(){return s[l]}}),Object.defineProperty(i,u,E)}:function(i,s,l,u){u===void 0&&(u=l),i[u]=s[l]}),n=v&&v.__exportStar||function(i,s){for(var l in i)l!=="default"&&!Object.prototype.hasOwnProperty.call(s,l)&&e(s,i,l)};Object.defineProperty(t,"__esModule",{value:!0}),n(lr,t),n(ue,t),n(Un,t),n(Fl,t),n(In,t),n(st,t),n(vt,t)}(Il);var Nl={};Object.defineProperty(Nl,"__esModule",{value:!0});var Bl={},jl={};Object.defineProperty(jl,"__esModule",{value:!0});var Gl={};Object.defineProperty(Gl,"__esModule",{value:!0});var Wl={},cr={};Object.defineProperty(cr,"__esModule",{value:!0}),cr.LegacyESLint=void 0;const ZP=Jo;class em extends ZP.LegacyESLint{}cr.LegacyESLint=em;var xn={};Object.defineProperty(xn,"__esModule",{value:!0}),xn.FlatESLint=void 0;const tm=Jo;class rm extends tm.FlatESLint{}xn.FlatESLint=rm,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.LegacyESLint=t.FlatESLint=t.ESLint=void 0;var e=cr;Object.defineProperty(t,"ESLint",{enumerable:!0,get:function(){return e.LegacyESLint}});var n=xn;Object.defineProperty(t,"FlatESLint",{enumerable:!0,get:function(){return n.FlatESLint}});var i=cr;Object.defineProperty(t,"LegacyESLint",{enumerable:!0,get:function(){return i.LegacyESLint}})}(Wl);var Dn={};Object.defineProperty(Dn,"__esModule",{value:!0}),Dn.Linter=void 0;const nm=gs;class im extends nm.Linter{}Dn.Linter=im;var Hl={};Object.defineProperty(Hl,"__esModule",{value:!0});var Kl={};Object.defineProperty(Kl,"__esModule",{value:!0});var Xl={};Object.defineProperty(Xl,"__esModule",{value:!0});var zl={};Object.defineProperty(zl,"__esModule",{value:!0});var Fn={};Object.defineProperty(Fn,"__esModule",{value:!0}),Fn.RuleTester=void 0;const sm=gs;class om extends sm.RuleTester{}Fn.RuleTester=om;var $n={},ql={},kn={},ao={},Nn={};Object.defineProperty(Nn,"__esModule",{value:!0}),Nn.getKeys=void 0;const am=rt,lm=am.getKeys;Nn.getKeys=lm;var Bn={},cm=v&&v.__createBinding||(Object.create?function(t,e,n,i){i===void 0&&(i=n);var s=Object.getOwnPropertyDescriptor(e,n);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,i,s)}:function(t,e,n,i){i===void 0&&(i=n),t[i]=e[n]}),um=v&&v.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),pm=v&&v.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)n!=="default"&&Object.prototype.hasOwnProperty.call(t,n)&&cm(e,t,n);return um(e,t),e};Object.defineProperty(Bn,"__esModule",{value:!0}),Bn.visitorKeys=void 0;const fm=pm(rt),oe=(()=>{const t=["typeParameters","params","returnType"],e=[...t,"body"],n=["decorators","key","typeAnnotation"];return{AnonymousFunction:e,Function:["id",...e],FunctionType:t,ClassDeclaration:["decorators","id","typeParameters","superClass","superTypeArguments","implements","body"],AbstractPropertyDefinition:["decorators","key","typeAnnotation"],PropertyDefinition:[...n,"value"],TypeAssertion:["expression","typeAnnotation"]}})(),Em={AccessorProperty:oe.PropertyDefinition,ArrayPattern:["decorators","elements","typeAnnotation"],ArrowFunctionExpression:oe.AnonymousFunction,AssignmentPattern:["decorators","left","right","typeAnnotation"],CallExpression:["callee","typeArguments","arguments"],ClassDeclaration:oe.ClassDeclaration,ClassExpression:oe.ClassDeclaration,Decorator:["expression"],ExportAllDeclaration:["exported","source","assertions"],ExportNamedDeclaration:["declaration","specifiers","source","assertions"],FunctionDeclaration:oe.Function,FunctionExpression:oe.Function,Identifier:["decorators","typeAnnotation"],ImportAttribute:["key","value"],ImportDeclaration:["specifiers","source","assertions"],ImportExpression:["source","attributes"],JSXClosingFragment:[],JSXOpeningElement:["name","typeArguments","attributes"],JSXOpeningFragment:[],JSXSpreadChild:["expression"],MethodDefinition:["decorators","key","value"],NewExpression:["callee","typeArguments","arguments"],ObjectPattern:["decorators","properties","typeAnnotation"],PropertyDefinition:oe.PropertyDefinition,RestElement:["decorators","argument","typeAnnotation"],StaticBlock:["body"],TaggedTemplateExpression:["tag","typeArguments","quasi"],TSAbstractAccessorProperty:oe.AbstractPropertyDefinition,TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:oe.AbstractPropertyDefinition,TSAnyKeyword:[],TSArrayType:["elementType"],TSAsExpression:oe.TypeAssertion,TSAsyncKeyword:[],TSBigIntKeyword:[],TSBooleanKeyword:[],TSCallSignatureDeclaration:oe.FunctionType,TSClassImplements:["expression","typeArguments"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSConstructorType:oe.FunctionType,TSConstructSignatureDeclaration:oe.FunctionType,TSDeclareFunction:oe.Function,TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id",...oe.FunctionType],TSEnumDeclaration:["id","members"],TSEnumMember:["id","initializer"],TSExportAssignment:["expression"],TSExportKeyword:[],TSExternalModuleReference:["expression"],TSFunctionType:oe.FunctionType,TSImportEqualsDeclaration:["id","moduleReference"],TSImportType:["argument","qualifier","typeArguments"],TSIndexedAccessType:["indexType","objectType"],TSIndexSignature:["parameters","typeAnnotation"],TSInferType:["typeParameter"],TSInstantiationExpression:["expression","typeArguments"],TSInterfaceBody:["body"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceHeritage:["expression","typeArguments"],TSIntersectionType:["types"],TSIntrinsicKeyword:[],TSLiteralType:["literal"],TSMappedType:["nameType","typeParameter","typeAnnotation"],TSMethodSignature:["typeParameters","key","params","returnType"],TSModuleBlock:["body"],TSModuleDeclaration:["id","body"],TSNamedTupleMember:["label","elementType"],TSNamespaceExportDeclaration:["id"],TSNeverKeyword:[],TSNonNullExpression:["expression"],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSOptionalType:["typeAnnotation"],TSParameterProperty:["decorators","parameter"],TSPrivateKeyword:[],TSPropertySignature:["typeAnnotation","key"],TSProtectedKeyword:[],TSPublicKeyword:[],TSQualifiedName:["left","right"],TSReadonlyKeyword:[],TSRestType:["typeAnnotation"],TSSatisfiesExpression:["typeAnnotation","expression"],TSStaticKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSTemplateLiteralType:["quasis","types"],TSThisType:[],TSTupleType:["elementTypes"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSTypeAnnotation:["typeAnnotation"],TSTypeAssertion:oe.TypeAssertion,TSTypeLiteral:["members"],TSTypeOperator:["typeAnnotation"],TSTypeParameter:["name","constraint","default"],TSTypeParameterDeclaration:["params"],TSTypeParameterInstantiation:["params"],TSTypePredicate:["typeAnnotation","parameterName"],TSTypeQuery:["exprName","typeArguments"],TSTypeReference:["typeName","typeArguments"],TSUndefinedKeyword:[],TSUnionType:["types"],TSUnknownKeyword:[],TSVoidKeyword:[]},dm=fm.unionWith(Em);Bn.visitorKeys=dm,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.visitorKeys=t.getKeys=void 0;var e=Nn;Object.defineProperty(t,"getKeys",{enumerable:!0,get:function(){return e.getKeys}});var n=Bn;Object.defineProperty(t,"visitorKeys",{enumerable:!0,get:function(){return n.visitorKeys}})}(ao);var Jl={},jn={},Xe={};Object.defineProperty(Xe,"__esModule",{value:!0}),Xe.assert=void 0;function Tm(t,e){if(t==null)throw new Error(e)}Xe.assert=Tm;var ze={},Gn={},pe={},Fe={};Object.defineProperty(Fe,"__esModule",{value:!0}),Fe.resetIds=Fe.createIdGenerator=void 0;const Wn=new Map;let Pm=0;function mm(){const t=Pm+=1;return Wn.set(t,0),()=>{const n=(Wn.get(t)??0)+1;return Wn.set(t,n),n}}Fe.createIdGenerator=mm;function ym(){Wn.clear()}Fe.resetIds=ym,Object.defineProperty(pe,"__esModule",{value:!0}),pe.DefinitionBase=void 0;const hm=Fe,_m=(0,hm.createIdGenerator)();class bm{constructor(e,n,i,s){this.$id=_m(),this.type=e,this.name=n,this.node=i,this.parent=s}}pe.DefinitionBase=bm;var le={};Object.defineProperty(le,"__esModule",{value:!0}),le.DefinitionType=void 0;var Ql;(function(t){t.CatchClause="CatchClause",t.ClassName="ClassName",t.FunctionName="FunctionName",t.ImplicitGlobalVariable="ImplicitGlobalVariable",t.ImportBinding="ImportBinding",t.Parameter="Parameter",t.TSEnumName="TSEnumName",t.TSEnumMember="TSEnumMemberName",t.TSModuleName="TSModuleName",t.Type="Type",t.Variable="Variable"})(Ql||(le.DefinitionType=Ql={})),Object.defineProperty(Gn,"__esModule",{value:!0}),Gn.CatchClauseDefinition=void 0;const gm=pe,vm=le;class Sm extends gm.DefinitionBase{constructor(e,n){super(vm.DefinitionType.CatchClause,e,n,null),this.isTypeDefinition=!1,this.isVariableDefinition=!0}}Gn.CatchClauseDefinition=Sm;var Hn={};Object.defineProperty(Hn,"__esModule",{value:!0}),Hn.ClassNameDefinition=void 0;const Ym=pe,Lm=le;class Am extends Ym.DefinitionBase{constructor(e,n){super(Lm.DefinitionType.ClassName,e,n,null),this.isTypeDefinition=!0,this.isVariableDefinition=!0}}Hn.ClassNameDefinition=Am;var Zl={};Object.defineProperty(Zl,"__esModule",{value:!0});var Kn={};Object.defineProperty(Kn,"__esModule",{value:!0}),Kn.FunctionNameDefinition=void 0;const Cm=pe,wm=le;class Vm extends Cm.DefinitionBase{constructor(e,n){super(wm.DefinitionType.FunctionName,e,n,null),this.isTypeDefinition=!1,this.isVariableDefinition=!0}}Kn.FunctionNameDefinition=Vm;var ur={};Object.defineProperty(ur,"__esModule",{value:!0}),ur.ImplicitGlobalVariableDefinition=void 0;const Om=pe,Mm=le;class Um extends Om.DefinitionBase{constructor(e,n){super(Mm.DefinitionType.ImplicitGlobalVariable,e,n,null),this.isTypeDefinition=!1,this.isVariableDefinition=!0}}ur.ImplicitGlobalVariableDefinition=Um;var Xn={};Object.defineProperty(Xn,"__esModule",{value:!0}),Xn.ImportBindingDefinition=void 0;const Rm=pe,Im=le;class xm extends Rm.DefinitionBase{constructor(e,n,i){super(Im.DefinitionType.ImportBinding,e,n,i),this.isTypeDefinition=!0,this.isVariableDefinition=!0}}Xn.ImportBindingDefinition=xm;var zn={};Object.defineProperty(zn,"__esModule",{value:!0}),zn.ParameterDefinition=void 0;const Dm=pe,Fm=le;class $m extends Dm.DefinitionBase{constructor(e,n,i){super(Fm.DefinitionType.Parameter,e,n,null),this.isTypeDefinition=!1,this.isVariableDefinition=!0,this.rest=i}}zn.ParameterDefinition=$m;var qn={};Object.defineProperty(qn,"__esModule",{value:!0}),qn.TSEnumMemberDefinition=void 0;const km=pe,Nm=le;class Bm extends km.DefinitionBase{constructor(e,n){super(Nm.DefinitionType.TSEnumMember,e,n,null),this.isTypeDefinition=!0,this.isVariableDefinition=!0}}qn.TSEnumMemberDefinition=Bm;var Jn={};Object.defineProperty(Jn,"__esModule",{value:!0}),Jn.TSEnumNameDefinition=void 0;const jm=pe,Gm=le;class Wm extends jm.DefinitionBase{constructor(e,n){super(Gm.DefinitionType.TSEnumName,e,n,null),this.isTypeDefinition=!0,this.isVariableDefinition=!0}}Jn.TSEnumNameDefinition=Wm;var Qn={};Object.defineProperty(Qn,"__esModule",{value:!0}),Qn.TSModuleNameDefinition=void 0;const Hm=pe,Km=le;class Xm extends Hm.DefinitionBase{constructor(e,n){super(Km.DefinitionType.TSModuleName,e,n,null),this.isTypeDefinition=!0,this.isVariableDefinition=!0}}Qn.TSModuleNameDefinition=Xm;var Zn={};Object.defineProperty(Zn,"__esModule",{value:!0}),Zn.TypeDefinition=void 0;const zm=pe,qm=le;class Jm extends zm.DefinitionBase{constructor(e,n){super(qm.DefinitionType.Type,e,n,null),this.isTypeDefinition=!0,this.isVariableDefinition=!1}}Zn.TypeDefinition=Jm;var ei={};Object.defineProperty(ei,"__esModule",{value:!0}),ei.VariableDefinition=void 0;const Qm=pe,Zm=le;class ey extends Qm.DefinitionBase{constructor(e,n,i){super(Zm.DefinitionType.Variable,e,n,i),this.isTypeDefinition=!1,this.isVariableDefinition=!0}}ei.VariableDefinition=ey,function(t){var e=v&&v.__createBinding||(Object.create?function(i,s,l,u){u===void 0&&(u=l);var E=Object.getOwnPropertyDescriptor(s,l);(!E||("get"in E?!s.__esModule:E.writable||E.configurable))&&(E={enumerable:!0,get:function(){return s[l]}}),Object.defineProperty(i,u,E)}:function(i,s,l,u){u===void 0&&(u=l),i[u]=s[l]}),n=v&&v.__exportStar||function(i,s){for(var l in i)l!=="default"&&!Object.prototype.hasOwnProperty.call(s,l)&&e(s,i,l)};Object.defineProperty(t,"__esModule",{value:!0}),n(Gn,t),n(Hn,t),n(Zl,t),n(le,t),n(Kn,t),n(ur,t),n(Xn,t),n(zn,t),n(qn,t),n(Jn,t),n(Qn,t),n(Zn,t),n(ei,t)}(ze);var ti={},St={},C={};Object.defineProperty(C,"__esModule",{value:!0}),C.TYPE_VALUE=C.VALUE=C.TYPE=void 0,C.TYPE=Object.freeze({eslintImplicitGlobalSetting:"readonly",isTypeVariable:!0,isValueVariable:!1}),C.VALUE=Object.freeze({eslintImplicitGlobalSetting:"readonly",isTypeVariable:!1,isValueVariable:!0}),C.TYPE_VALUE=Object.freeze({eslintImplicitGlobalSetting:"readonly",isTypeVariable:!0,isValueVariable:!0}),Object.defineProperty(St,"__esModule",{value:!0}),St.decorators=void 0;const ge=C;St.decorators={ClassMemberDecoratorContext:ge.TYPE,DecoratorContext:ge.TYPE,DecoratorMetadataObject:ge.TYPE,DecoratorMetadata:ge.TYPE,ClassDecoratorContext:ge.TYPE,ClassMethodDecoratorContext:ge.TYPE,ClassGetterDecoratorContext:ge.TYPE,ClassSetterDecoratorContext:ge.TYPE,ClassAccessorDecoratorContext:ge.TYPE,ClassAccessorDecoratorTarget:ge.TYPE,ClassAccessorDecoratorResult:ge.TYPE,ClassFieldDecoratorContext:ge.TYPE};var pr={};Object.defineProperty(pr,"__esModule",{value:!0}),pr.decorators_legacy=void 0;const ri=C;pr.decorators_legacy={ClassDecorator:ri.TYPE,PropertyDecorator:ri.TYPE,MethodDecorator:ri.TYPE,ParameterDecorator:ri.TYPE};var fe={};Object.defineProperty(fe,"__esModule",{value:!0}),fe.dom=void 0;const r=C;fe.dom={AddEventListenerOptions:r.TYPE,AesCbcParams:r.TYPE,AesCtrParams:r.TYPE,AesDerivedKeyParams:r.TYPE,AesGcmParams:r.TYPE,AesKeyAlgorithm:r.TYPE,AesKeyGenParams:r.TYPE,Algorithm:r.TYPE,AnalyserOptions:r.TYPE,AnimationEventInit:r.TYPE,AnimationPlaybackEventInit:r.TYPE,AssignedNodesOptions:r.TYPE,AudioBufferOptions:r.TYPE,AudioBufferSourceOptions:r.TYPE,AudioConfiguration:r.TYPE,AudioContextOptions:r.TYPE,AudioNodeOptions:r.TYPE,AudioProcessingEventInit:r.TYPE,AudioTimestamp:r.TYPE,AudioWorkletNodeOptions:r.TYPE,AuthenticationExtensionsClientInputs:r.TYPE,AuthenticationExtensionsClientOutputs:r.TYPE,AuthenticatorSelectionCriteria:r.TYPE,AvcEncoderConfig:r.TYPE,BiquadFilterOptions:r.TYPE,BlobEventInit:r.TYPE,BlobPropertyBag:r.TYPE,CSSMatrixComponentOptions:r.TYPE,CSSNumericType:r.TYPE,CSSStyleSheetInit:r.TYPE,CacheQueryOptions:r.TYPE,CanvasRenderingContext2DSettings:r.TYPE,ChannelMergerOptions:r.TYPE,ChannelSplitterOptions:r.TYPE,CheckVisibilityOptions:r.TYPE,ClientQueryOptions:r.TYPE,ClipboardEventInit:r.TYPE,ClipboardItemOptions:r.TYPE,CloseEventInit:r.TYPE,CompositionEventInit:r.TYPE,ComputedEffectTiming:r.TYPE,ComputedKeyframe:r.TYPE,ConstantSourceOptions:r.TYPE,ConstrainBooleanParameters:r.TYPE,ConstrainDOMStringParameters:r.TYPE,ConstrainDoubleRange:r.TYPE,ConstrainULongRange:r.TYPE,ConvolverOptions:r.TYPE,CredentialCreationOptions:r.TYPE,CredentialPropertiesOutput:r.TYPE,CredentialRequestOptions:r.TYPE,CryptoKeyPair:r.TYPE,CustomEventInit:r.TYPE,DOMMatrix2DInit:r.TYPE,DOMMatrixInit:r.TYPE,DOMPointInit:r.TYPE,DOMQuadInit:r.TYPE,DOMRectInit:r.TYPE,DelayOptions:r.TYPE,DeviceMotionEventAccelerationInit:r.TYPE,DeviceMotionEventInit:r.TYPE,DeviceMotionEventRotationRateInit:r.TYPE,DeviceOrientationEventInit:r.TYPE,DisplayMediaStreamOptions:r.TYPE,DocumentTimelineOptions:r.TYPE,DoubleRange:r.TYPE,DragEventInit:r.TYPE,DynamicsCompressorOptions:r.TYPE,EcKeyAlgorithm:r.TYPE,EcKeyGenParams:r.TYPE,EcKeyImportParams:r.TYPE,EcdhKeyDeriveParams:r.TYPE,EcdsaParams:r.TYPE,EffectTiming:r.TYPE,ElementCreationOptions:r.TYPE,ElementDefinitionOptions:r.TYPE,EncodedVideoChunkInit:r.TYPE,EncodedVideoChunkMetadata:r.TYPE,ErrorEventInit:r.TYPE,EventInit:r.TYPE,EventListenerOptions:r.TYPE,EventModifierInit:r.TYPE,EventSourceInit:r.TYPE,FilePropertyBag:r.TYPE,FileSystemCreateWritableOptions:r.TYPE,FileSystemFlags:r.TYPE,FileSystemGetDirectoryOptions:r.TYPE,FileSystemGetFileOptions:r.TYPE,FileSystemRemoveOptions:r.TYPE,FocusEventInit:r.TYPE,FocusOptions:r.TYPE,FontFaceDescriptors:r.TYPE,FontFaceSetLoadEventInit:r.TYPE,FormDataEventInit:r.TYPE,FullscreenOptions:r.TYPE,GainOptions:r.TYPE,GamepadEffectParameters:r.TYPE,GamepadEventInit:r.TYPE,GetAnimationsOptions:r.TYPE,GetNotificationOptions:r.TYPE,GetRootNodeOptions:r.TYPE,HashChangeEventInit:r.TYPE,HkdfParams:r.TYPE,HmacImportParams:r.TYPE,HmacKeyAlgorithm:r.TYPE,HmacKeyGenParams:r.TYPE,IDBDatabaseInfo:r.TYPE,IDBIndexParameters:r.TYPE,IDBObjectStoreParameters:r.TYPE,IDBTransactionOptions:r.TYPE,IDBVersionChangeEventInit:r.TYPE,IIRFilterOptions:r.TYPE,IdleRequestOptions:r.TYPE,ImageBitmapOptions:r.TYPE,ImageBitmapRenderingContextSettings:r.TYPE,ImageDataSettings:r.TYPE,ImageEncodeOptions:r.TYPE,ImportMeta:r.TYPE,InputEventInit:r.TYPE,IntersectionObserverEntryInit:r.TYPE,IntersectionObserverInit:r.TYPE,JsonWebKey:r.TYPE,KeyAlgorithm:r.TYPE,KeyboardEventInit:r.TYPE,Keyframe:r.TYPE,KeyframeAnimationOptions:r.TYPE,KeyframeEffectOptions:r.TYPE,LockInfo:r.TYPE,LockManagerSnapshot:r.TYPE,LockOptions:r.TYPE,MIDIConnectionEventInit:r.TYPE,MIDIMessageEventInit:r.TYPE,MIDIOptions:r.TYPE,MediaCapabilitiesDecodingInfo:r.TYPE,MediaCapabilitiesEncodingInfo:r.TYPE,MediaCapabilitiesInfo:r.TYPE,MediaConfiguration:r.TYPE,MediaDecodingConfiguration:r.TYPE,MediaElementAudioSourceOptions:r.TYPE,MediaEncodingConfiguration:r.TYPE,MediaEncryptedEventInit:r.TYPE,MediaImage:r.TYPE,MediaKeyMessageEventInit:r.TYPE,MediaKeySystemConfiguration:r.TYPE,MediaKeySystemMediaCapability:r.TYPE,MediaMetadataInit:r.TYPE,MediaPositionState:r.TYPE,MediaQueryListEventInit:r.TYPE,MediaRecorderOptions:r.TYPE,MediaSessionActionDetails:r.TYPE,MediaStreamAudioSourceOptions:r.TYPE,MediaStreamConstraints:r.TYPE,MediaStreamTrackEventInit:r.TYPE,MediaTrackCapabilities:r.TYPE,MediaTrackConstraintSet:r.TYPE,MediaTrackConstraints:r.TYPE,MediaTrackSettings:r.TYPE,MediaTrackSupportedConstraints:r.TYPE,MessageEventInit:r.TYPE,MouseEventInit:r.TYPE,MultiCacheQueryOptions:r.TYPE,MutationObserverInit:r.TYPE,NavigationPreloadState:r.TYPE,NotificationOptions:r.TYPE,OfflineAudioCompletionEventInit:r.TYPE,OfflineAudioContextOptions:r.TYPE,OptionalEffectTiming:r.TYPE,OscillatorOptions:r.TYPE,PageTransitionEventInit:r.TYPE,PannerOptions:r.TYPE,PaymentCurrencyAmount:r.TYPE,PaymentDetailsBase:r.TYPE,PaymentDetailsInit:r.TYPE,PaymentDetailsModifier:r.TYPE,PaymentDetailsUpdate:r.TYPE,PaymentItem:r.TYPE,PaymentMethodChangeEventInit:r.TYPE,PaymentMethodData:r.TYPE,PaymentRequestUpdateEventInit:r.TYPE,PaymentValidationErrors:r.TYPE,Pbkdf2Params:r.TYPE,PerformanceMarkOptions:r.TYPE,PerformanceMeasureOptions:r.TYPE,PerformanceObserverInit:r.TYPE,PeriodicWaveConstraints:r.TYPE,PeriodicWaveOptions:r.TYPE,PermissionDescriptor:r.TYPE,PictureInPictureEventInit:r.TYPE,PlaneLayout:r.TYPE,PointerEventInit:r.TYPE,PopStateEventInit:r.TYPE,PositionOptions:r.TYPE,ProgressEventInit:r.TYPE,PromiseRejectionEventInit:r.TYPE,PropertyDefinition:r.TYPE,PropertyIndexedKeyframes:r.TYPE,PublicKeyCredentialCreationOptions:r.TYPE,PublicKeyCredentialDescriptor:r.TYPE,PublicKeyCredentialEntity:r.TYPE,PublicKeyCredentialParameters:r.TYPE,PublicKeyCredentialRequestOptions:r.TYPE,PublicKeyCredentialRpEntity:r.TYPE,PublicKeyCredentialUserEntity:r.TYPE,PushSubscriptionJSON:r.TYPE,PushSubscriptionOptionsInit:r.TYPE,QueuingStrategy:r.TYPE,QueuingStrategyInit:r.TYPE,RTCAnswerOptions:r.TYPE,RTCCertificateExpiration:r.TYPE,RTCConfiguration:r.TYPE,RTCDTMFToneChangeEventInit:r.TYPE,RTCDataChannelEventInit:r.TYPE,RTCDataChannelInit:r.TYPE,RTCDtlsFingerprint:r.TYPE,RTCEncodedAudioFrameMetadata:r.TYPE,RTCEncodedVideoFrameMetadata:r.TYPE,RTCErrorEventInit:r.TYPE,RTCErrorInit:r.TYPE,RTCIceCandidateInit:r.TYPE,RTCIceCandidatePair:r.TYPE,RTCIceCandidatePairStats:r.TYPE,RTCIceServer:r.TYPE,RTCInboundRtpStreamStats:r.TYPE,RTCLocalSessionDescriptionInit:r.TYPE,RTCOfferAnswerOptions:r.TYPE,RTCOfferOptions:r.TYPE,RTCOutboundRtpStreamStats:r.TYPE,RTCPeerConnectionIceErrorEventInit:r.TYPE,RTCPeerConnectionIceEventInit:r.TYPE,RTCReceivedRtpStreamStats:r.TYPE,RTCRtcpParameters:r.TYPE,RTCRtpCapabilities:r.TYPE,RTCRtpCodec:r.TYPE,RTCRtpCodecCapability:r.TYPE,RTCRtpCodecParameters:r.TYPE,RTCRtpCodingParameters:r.TYPE,RTCRtpContributingSource:r.TYPE,RTCRtpEncodingParameters:r.TYPE,RTCRtpHeaderExtensionCapability:r.TYPE,RTCRtpHeaderExtensionParameters:r.TYPE,RTCRtpParameters:r.TYPE,RTCRtpReceiveParameters:r.TYPE,RTCRtpSendParameters:r.TYPE,RTCRtpStreamStats:r.TYPE,RTCRtpSynchronizationSource:r.TYPE,RTCRtpTransceiverInit:r.TYPE,RTCSentRtpStreamStats:r.TYPE,RTCSessionDescriptionInit:r.TYPE,RTCSetParameterOptions:r.TYPE,RTCStats:r.TYPE,RTCTrackEventInit:r.TYPE,RTCTransportStats:r.TYPE,ReadableStreamGetReaderOptions:r.TYPE,ReadableStreamReadDoneResult:r.TYPE,ReadableStreamReadValueResult:r.TYPE,ReadableWritablePair:r.TYPE,RegistrationOptions:r.TYPE,ReportingObserverOptions:r.TYPE,RequestInit:r.TYPE,ResizeObserverOptions:r.TYPE,ResponseInit:r.TYPE,RsaHashedImportParams:r.TYPE,RsaHashedKeyAlgorithm:r.TYPE,RsaHashedKeyGenParams:r.TYPE,RsaKeyAlgorithm:r.TYPE,RsaKeyGenParams:r.TYPE,RsaOaepParams:r.TYPE,RsaOtherPrimesInfo:r.TYPE,RsaPssParams:r.TYPE,SVGBoundingBoxOptions:r.TYPE,ScrollIntoViewOptions:r.TYPE,ScrollOptions:r.TYPE,ScrollToOptions:r.TYPE,SecurityPolicyViolationEventInit:r.TYPE,ShadowRootInit:r.TYPE,ShareData:r.TYPE,SpeechSynthesisErrorEventInit:r.TYPE,SpeechSynthesisEventInit:r.TYPE,StaticRangeInit:r.TYPE,StereoPannerOptions:r.TYPE,StorageEstimate:r.TYPE,StorageEventInit:r.TYPE,StreamPipeOptions:r.TYPE,StructuredSerializeOptions:r.TYPE,SubmitEventInit:r.TYPE,TextDecodeOptions:r.TYPE,TextDecoderOptions:r.TYPE,TextEncoderEncodeIntoResult:r.TYPE,ToggleEventInit:r.TYPE,TouchEventInit:r.TYPE,TouchInit:r.TYPE,TrackEventInit:r.TYPE,Transformer:r.TYPE,TransitionEventInit:r.TYPE,UIEventInit:r.TYPE,ULongRange:r.TYPE,UnderlyingByteSource:r.TYPE,UnderlyingDefaultSource:r.TYPE,UnderlyingSink:r.TYPE,UnderlyingSource:r.TYPE,ValidityStateFlags:r.TYPE,VideoColorSpaceInit:r.TYPE,VideoConfiguration:r.TYPE,VideoDecoderConfig:r.TYPE,VideoDecoderInit:r.TYPE,VideoDecoderSupport:r.TYPE,VideoEncoderConfig:r.TYPE,VideoEncoderEncodeOptions:r.TYPE,VideoEncoderInit:r.TYPE,VideoEncoderSupport:r.TYPE,VideoFrameBufferInit:r.TYPE,VideoFrameCallbackMetadata:r.TYPE,VideoFrameCopyToOptions:r.TYPE,VideoFrameInit:r.TYPE,WaveShaperOptions:r.TYPE,WebGLContextAttributes:r.TYPE,WebGLContextEventInit:r.TYPE,WebTransportCloseInfo:r.TYPE,WebTransportErrorOptions:r.TYPE,WebTransportHash:r.TYPE,WebTransportOptions:r.TYPE,WebTransportSendStreamOptions:r.TYPE,WheelEventInit:r.TYPE,WindowPostMessageOptions:r.TYPE,WorkerOptions:r.TYPE,WorkletOptions:r.TYPE,WriteParams:r.TYPE,NodeFilter:r.TYPE_VALUE,XPathNSResolver:r.TYPE,ANGLE_instanced_arrays:r.TYPE,ARIAMixin:r.TYPE,AbortController:r.TYPE_VALUE,AbortSignalEventMap:r.TYPE,AbortSignal:r.TYPE_VALUE,AbstractRange:r.TYPE_VALUE,AbstractWorkerEventMap:r.TYPE,AbstractWorker:r.TYPE,AnalyserNode:r.TYPE_VALUE,Animatable:r.TYPE,AnimationEventMap:r.TYPE,Animation:r.TYPE_VALUE,AnimationEffect:r.TYPE_VALUE,AnimationEvent:r.TYPE_VALUE,AnimationFrameProvider:r.TYPE,AnimationPlaybackEvent:r.TYPE_VALUE,AnimationTimeline:r.TYPE_VALUE,Attr:r.TYPE_VALUE,AudioBuffer:r.TYPE_VALUE,AudioBufferSourceNode:r.TYPE_VALUE,AudioContext:r.TYPE_VALUE,AudioDestinationNode:r.TYPE_VALUE,AudioListener:r.TYPE_VALUE,AudioNode:r.TYPE_VALUE,AudioParam:r.TYPE_VALUE,AudioParamMap:r.TYPE_VALUE,AudioProcessingEvent:r.TYPE_VALUE,AudioScheduledSourceNodeEventMap:r.TYPE,AudioScheduledSourceNode:r.TYPE_VALUE,AudioWorklet:r.TYPE_VALUE,AudioWorkletNodeEventMap:r.TYPE,AudioWorkletNode:r.TYPE_VALUE,AuthenticatorAssertionResponse:r.TYPE_VALUE,AuthenticatorAttestationResponse:r.TYPE_VALUE,AuthenticatorResponse:r.TYPE_VALUE,BarProp:r.TYPE_VALUE,BaseAudioContextEventMap:r.TYPE,BaseAudioContext:r.TYPE_VALUE,BeforeUnloadEvent:r.TYPE_VALUE,BiquadFilterNode:r.TYPE_VALUE,Blob:r.TYPE_VALUE,BlobEvent:r.TYPE_VALUE,Body:r.TYPE,BroadcastChannelEventMap:r.TYPE,BroadcastChannel:r.TYPE_VALUE,ByteLengthQueuingStrategy:r.TYPE_VALUE,CDATASection:r.TYPE_VALUE,CSSAnimation:r.TYPE_VALUE,CSSConditionRule:r.TYPE_VALUE,CSSContainerRule:r.TYPE_VALUE,CSSCounterStyleRule:r.TYPE_VALUE,CSSFontFaceRule:r.TYPE_VALUE,CSSFontFeatureValuesRule:r.TYPE_VALUE,CSSFontPaletteValuesRule:r.TYPE_VALUE,CSSGroupingRule:r.TYPE_VALUE,CSSImageValue:r.TYPE_VALUE,CSSImportRule:r.TYPE_VALUE,CSSKeyframeRule:r.TYPE_VALUE,CSSKeyframesRule:r.TYPE_VALUE,CSSKeywordValue:r.TYPE_VALUE,CSSLayerBlockRule:r.TYPE_VALUE,CSSLayerStatementRule:r.TYPE_VALUE,CSSMathClamp:r.TYPE_VALUE,CSSMathInvert:r.TYPE_VALUE,CSSMathMax:r.TYPE_VALUE,CSSMathMin:r.TYPE_VALUE,CSSMathNegate:r.TYPE_VALUE,CSSMathProduct:r.TYPE_VALUE,CSSMathSum:r.TYPE_VALUE,CSSMathValue:r.TYPE_VALUE,CSSMatrixComponent:r.TYPE_VALUE,CSSMediaRule:r.TYPE_VALUE,CSSNamespaceRule:r.TYPE_VALUE,CSSNumericArray:r.TYPE_VALUE,CSSNumericValue:r.TYPE_VALUE,CSSPageRule:r.TYPE_VALUE,CSSPerspective:r.TYPE_VALUE,CSSPropertyRule:r.TYPE_VALUE,CSSRotate:r.TYPE_VALUE,CSSRule:r.TYPE_VALUE,CSSRuleList:r.TYPE_VALUE,CSSScale:r.TYPE_VALUE,CSSSkew:r.TYPE_VALUE,CSSSkewX:r.TYPE_VALUE,CSSSkewY:r.TYPE_VALUE,CSSStyleDeclaration:r.TYPE_VALUE,CSSStyleRule:r.TYPE_VALUE,CSSStyleSheet:r.TYPE_VALUE,CSSStyleValue:r.TYPE_VALUE,CSSSupportsRule:r.TYPE_VALUE,CSSTransformComponent:r.TYPE_VALUE,CSSTransformValue:r.TYPE_VALUE,CSSTransition:r.TYPE_VALUE,CSSTranslate:r.TYPE_VALUE,CSSUnitValue:r.TYPE_VALUE,CSSUnparsedValue:r.TYPE_VALUE,CSSVariableReferenceValue:r.TYPE_VALUE,Cache:r.TYPE_VALUE,CacheStorage:r.TYPE_VALUE,CanvasCaptureMediaStreamTrack:r.TYPE_VALUE,CanvasCompositing:r.TYPE,CanvasDrawImage:r.TYPE,CanvasDrawPath:r.TYPE,CanvasFillStrokeStyles:r.TYPE,CanvasFilters:r.TYPE,CanvasGradient:r.TYPE_VALUE,CanvasImageData:r.TYPE,CanvasImageSmoothing:r.TYPE,CanvasPath:r.TYPE,CanvasPathDrawingStyles:r.TYPE,CanvasPattern:r.TYPE_VALUE,CanvasRect:r.TYPE,CanvasRenderingContext2D:r.TYPE_VALUE,CanvasShadowStyles:r.TYPE,CanvasState:r.TYPE,CanvasText:r.TYPE,CanvasTextDrawingStyles:r.TYPE,CanvasTransform:r.TYPE,CanvasUserInterface:r.TYPE,ChannelMergerNode:r.TYPE_VALUE,ChannelSplitterNode:r.TYPE_VALUE,CharacterData:r.TYPE_VALUE,ChildNode:r.TYPE,ClientRect:r.TYPE,Clipboard:r.TYPE_VALUE,ClipboardEvent:r.TYPE_VALUE,ClipboardItem:r.TYPE_VALUE,CloseEvent:r.TYPE_VALUE,Comment:r.TYPE_VALUE,CompositionEvent:r.TYPE_VALUE,CompressionStream:r.TYPE_VALUE,ConstantSourceNode:r.TYPE_VALUE,ConvolverNode:r.TYPE_VALUE,CountQueuingStrategy:r.TYPE_VALUE,Credential:r.TYPE_VALUE,CredentialsContainer:r.TYPE_VALUE,Crypto:r.TYPE_VALUE,CryptoKey:r.TYPE_VALUE,CustomElementRegistry:r.TYPE_VALUE,CustomEvent:r.TYPE_VALUE,DOMException:r.TYPE_VALUE,DOMImplementation:r.TYPE_VALUE,DOMMatrix:r.TYPE_VALUE,SVGMatrix:r.TYPE_VALUE,WebKitCSSMatrix:r.TYPE_VALUE,DOMMatrixReadOnly:r.TYPE_VALUE,DOMParser:r.TYPE_VALUE,DOMPoint:r.TYPE_VALUE,SVGPoint:r.TYPE_VALUE,DOMPointReadOnly:r.TYPE_VALUE,DOMQuad:r.TYPE_VALUE,DOMRect:r.TYPE_VALUE,SVGRect:r.TYPE_VALUE,DOMRectList:r.TYPE_VALUE,DOMRectReadOnly:r.TYPE_VALUE,DOMStringList:r.TYPE_VALUE,DOMStringMap:r.TYPE_VALUE,DOMTokenList:r.TYPE_VALUE,DataTransfer:r.TYPE_VALUE,DataTransferItem:r.TYPE_VALUE,DataTransferItemList:r.TYPE_VALUE,DecompressionStream:r.TYPE_VALUE,DelayNode:r.TYPE_VALUE,DeviceMotionEvent:r.TYPE_VALUE,DeviceMotionEventAcceleration:r.TYPE,DeviceMotionEventRotationRate:r.TYPE,DeviceOrientationEvent:r.TYPE_VALUE,DocumentEventMap:r.TYPE,Document:r.TYPE_VALUE,DocumentFragment:r.TYPE_VALUE,DocumentOrShadowRoot:r.TYPE,DocumentTimeline:r.TYPE_VALUE,DocumentType:r.TYPE_VALUE,DragEvent:r.TYPE_VALUE,DynamicsCompressorNode:r.TYPE_VALUE,EXT_blend_minmax:r.TYPE,EXT_color_buffer_float:r.TYPE,EXT_color_buffer_half_float:r.TYPE,EXT_float_blend:r.TYPE,EXT_frag_depth:r.TYPE,EXT_sRGB:r.TYPE,EXT_shader_texture_lod:r.TYPE,EXT_texture_compression_bptc:r.TYPE,EXT_texture_compression_rgtc:r.TYPE,EXT_texture_filter_anisotropic:r.TYPE,EXT_texture_norm16:r.TYPE,ElementEventMap:r.TYPE,Element:r.TYPE_VALUE,ElementCSSInlineStyle:r.TYPE,ElementContentEditable:r.TYPE,ElementInternals:r.TYPE_VALUE,EncodedVideoChunk:r.TYPE_VALUE,ErrorEvent:r.TYPE_VALUE,Event:r.TYPE_VALUE,EventCounts:r.TYPE_VALUE,EventListener:r.TYPE,EventListenerObject:r.TYPE,EventSourceEventMap:r.TYPE,EventSource:r.TYPE_VALUE,EventTarget:r.TYPE_VALUE,External:r.TYPE_VALUE,File:r.TYPE_VALUE,FileList:r.TYPE_VALUE,FileReaderEventMap:r.TYPE,FileReader:r.TYPE_VALUE,FileSystem:r.TYPE_VALUE,FileSystemDirectoryEntry:r.TYPE_VALUE,FileSystemDirectoryHandle:r.TYPE_VALUE,FileSystemDirectoryReader:r.TYPE_VALUE,FileSystemEntry:r.TYPE_VALUE,FileSystemFileEntry:r.TYPE_VALUE,FileSystemFileHandle:r.TYPE_VALUE,FileSystemHandle:r.TYPE_VALUE,FileSystemWritableFileStream:r.TYPE_VALUE,FocusEvent:r.TYPE_VALUE,FontFace:r.TYPE_VALUE,FontFaceSetEventMap:r.TYPE,FontFaceSet:r.TYPE_VALUE,FontFaceSetLoadEvent:r.TYPE_VALUE,FontFaceSource:r.TYPE,FormData:r.TYPE_VALUE,FormDataEvent:r.TYPE_VALUE,GainNode:r.TYPE_VALUE,Gamepad:r.TYPE_VALUE,GamepadButton:r.TYPE_VALUE,GamepadEvent:r.TYPE_VALUE,GamepadHapticActuator:r.TYPE_VALUE,GenericTransformStream:r.TYPE,Geolocation:r.TYPE_VALUE,GeolocationCoordinates:r.TYPE_VALUE,GeolocationPosition:r.TYPE_VALUE,GeolocationPositionError:r.TYPE_VALUE,GlobalEventHandlersEventMap:r.TYPE,GlobalEventHandlers:r.TYPE,HTMLAllCollection:r.TYPE_VALUE,HTMLAnchorElement:r.TYPE_VALUE,HTMLAreaElement:r.TYPE_VALUE,HTMLAudioElement:r.TYPE_VALUE,HTMLBRElement:r.TYPE_VALUE,HTMLBaseElement:r.TYPE_VALUE,HTMLBodyElementEventMap:r.TYPE,HTMLBodyElement:r.TYPE_VALUE,HTMLButtonElement:r.TYPE_VALUE,HTMLCanvasElement:r.TYPE_VALUE,HTMLCollectionBase:r.TYPE,HTMLCollection:r.TYPE_VALUE,HTMLCollectionOf:r.TYPE,HTMLDListElement:r.TYPE_VALUE,HTMLDataElement:r.TYPE_VALUE,HTMLDataListElement:r.TYPE_VALUE,HTMLDetailsElement:r.TYPE_VALUE,HTMLDialogElement:r.TYPE_VALUE,HTMLDirectoryElement:r.TYPE_VALUE,HTMLDivElement:r.TYPE_VALUE,HTMLDocument:r.TYPE_VALUE,HTMLElementEventMap:r.TYPE,HTMLElement:r.TYPE_VALUE,HTMLEmbedElement:r.TYPE_VALUE,HTMLFieldSetElement:r.TYPE_VALUE,HTMLFontElement:r.TYPE_VALUE,HTMLFormControlsCollection:r.TYPE_VALUE,HTMLFormElement:r.TYPE_VALUE,HTMLFrameElement:r.TYPE_VALUE,HTMLFrameSetElementEventMap:r.TYPE,HTMLFrameSetElement:r.TYPE_VALUE,HTMLHRElement:r.TYPE_VALUE,HTMLHeadElement:r.TYPE_VALUE,HTMLHeadingElement:r.TYPE_VALUE,HTMLHtmlElement:r.TYPE_VALUE,HTMLHyperlinkElementUtils:r.TYPE,HTMLIFrameElement:r.TYPE_VALUE,HTMLImageElement:r.TYPE_VALUE,HTMLInputElement:r.TYPE_VALUE,HTMLLIElement:r.TYPE_VALUE,HTMLLabelElement:r.TYPE_VALUE,HTMLLegendElement:r.TYPE_VALUE,HTMLLinkElement:r.TYPE_VALUE,HTMLMapElement:r.TYPE_VALUE,HTMLMarqueeElement:r.TYPE_VALUE,HTMLMediaElementEventMap:r.TYPE,HTMLMediaElement:r.TYPE_VALUE,HTMLMenuElement:r.TYPE_VALUE,HTMLMetaElement:r.TYPE_VALUE,HTMLMeterElement:r.TYPE_VALUE,HTMLModElement:r.TYPE_VALUE,HTMLOListElement:r.TYPE_VALUE,HTMLObjectElement:r.TYPE_VALUE,HTMLOptGroupElement:r.TYPE_VALUE,HTMLOptionElement:r.TYPE_VALUE,HTMLOptionsCollection:r.TYPE_VALUE,HTMLOrSVGElement:r.TYPE,HTMLOutputElement:r.TYPE_VALUE,HTMLParagraphElement:r.TYPE_VALUE,HTMLParamElement:r.TYPE_VALUE,HTMLPictureElement:r.TYPE_VALUE,HTMLPreElement:r.TYPE_VALUE,HTMLProgressElement:r.TYPE_VALUE,HTMLQuoteElement:r.TYPE_VALUE,HTMLScriptElement:r.TYPE_VALUE,HTMLSelectElement:r.TYPE_VALUE,HTMLSlotElement:r.TYPE_VALUE,HTMLSourceElement:r.TYPE_VALUE,HTMLSpanElement:r.TYPE_VALUE,HTMLStyleElement:r.TYPE_VALUE,HTMLTableCaptionElement:r.TYPE_VALUE,HTMLTableCellElement:r.TYPE_VALUE,HTMLTableColElement:r.TYPE_VALUE,HTMLTableDataCellElement:r.TYPE,HTMLTableElement:r.TYPE_VALUE,HTMLTableHeaderCellElement:r.TYPE,HTMLTableRowElement:r.TYPE_VALUE,HTMLTableSectionElement:r.TYPE_VALUE,HTMLTemplateElement:r.TYPE_VALUE,HTMLTextAreaElement:r.TYPE_VALUE,HTMLTimeElement:r.TYPE_VALUE,HTMLTitleElement:r.TYPE_VALUE,HTMLTrackElement:r.TYPE_VALUE,HTMLUListElement:r.TYPE_VALUE,HTMLUnknownElement:r.TYPE_VALUE,HTMLVideoElementEventMap:r.TYPE,HTMLVideoElement:r.TYPE_VALUE,HashChangeEvent:r.TYPE_VALUE,Headers:r.TYPE_VALUE,Highlight:r.TYPE_VALUE,HighlightRegistry:r.TYPE_VALUE,History:r.TYPE_VALUE,IDBCursor:r.TYPE_VALUE,IDBCursorWithValue:r.TYPE_VALUE,IDBDatabaseEventMap:r.TYPE,IDBDatabase:r.TYPE_VALUE,IDBFactory:r.TYPE_VALUE,IDBIndex:r.TYPE_VALUE,IDBKeyRange:r.TYPE_VALUE,IDBObjectStore:r.TYPE_VALUE,IDBOpenDBRequestEventMap:r.TYPE,IDBOpenDBRequest:r.TYPE_VALUE,IDBRequestEventMap:r.TYPE,IDBRequest:r.TYPE_VALUE,IDBTransactionEventMap:r.TYPE,IDBTransaction:r.TYPE_VALUE,IDBVersionChangeEvent:r.TYPE_VALUE,IIRFilterNode:r.TYPE_VALUE,IdleDeadline:r.TYPE_VALUE,ImageBitmap:r.TYPE_VALUE,ImageBitmapRenderingContext:r.TYPE_VALUE,ImageData:r.TYPE_VALUE,InnerHTML:r.TYPE,InputDeviceInfo:r.TYPE_VALUE,InputEvent:r.TYPE_VALUE,IntersectionObserver:r.TYPE_VALUE,IntersectionObserverEntry:r.TYPE_VALUE,KHR_parallel_shader_compile:r.TYPE,KeyboardEvent:r.TYPE_VALUE,KeyframeEffect:r.TYPE_VALUE,LinkStyle:r.TYPE,Location:r.TYPE_VALUE,Lock:r.TYPE_VALUE,LockManager:r.TYPE_VALUE,MIDIAccessEventMap:r.TYPE,MIDIAccess:r.TYPE_VALUE,MIDIConnectionEvent:r.TYPE_VALUE,MIDIInputEventMap:r.TYPE,MIDIInput:r.TYPE_VALUE,MIDIInputMap:r.TYPE_VALUE,MIDIMessageEvent:r.TYPE_VALUE,MIDIOutput:r.TYPE_VALUE,MIDIOutputMap:r.TYPE_VALUE,MIDIPortEventMap:r.TYPE,MIDIPort:r.TYPE_VALUE,MathMLElementEventMap:r.TYPE,MathMLElement:r.TYPE_VALUE,MediaCapabilities:r.TYPE_VALUE,MediaDeviceInfo:r.TYPE_VALUE,MediaDevicesEventMap:r.TYPE,MediaDevices:r.TYPE_VALUE,MediaElementAudioSourceNode:r.TYPE_VALUE,MediaEncryptedEvent:r.TYPE_VALUE,MediaError:r.TYPE_VALUE,MediaKeyMessageEvent:r.TYPE_VALUE,MediaKeySessionEventMap:r.TYPE,MediaKeySession:r.TYPE_VALUE,MediaKeyStatusMap:r.TYPE_VALUE,MediaKeySystemAccess:r.TYPE_VALUE,MediaKeys:r.TYPE_VALUE,MediaList:r.TYPE_VALUE,MediaMetadata:r.TYPE_VALUE,MediaQueryListEventMap:r.TYPE,MediaQueryList:r.TYPE_VALUE,MediaQueryListEvent:r.TYPE_VALUE,MediaRecorderEventMap:r.TYPE,MediaRecorder:r.TYPE_VALUE,MediaSession:r.TYPE_VALUE,MediaSourceEventMap:r.TYPE,MediaSource:r.TYPE_VALUE,MediaStreamEventMap:r.TYPE,MediaStream:r.TYPE_VALUE,MediaStreamAudioDestinationNode:r.TYPE_VALUE,MediaStreamAudioSourceNode:r.TYPE_VALUE,MediaStreamTrackEventMap:r.TYPE,MediaStreamTrack:r.TYPE_VALUE,MediaStreamTrackEvent:r.TYPE_VALUE,MessageChannel:r.TYPE_VALUE,MessageEvent:r.TYPE_VALUE,MessagePortEventMap:r.TYPE,MessagePort:r.TYPE_VALUE,MimeType:r.TYPE_VALUE,MimeTypeArray:r.TYPE_VALUE,MouseEvent:r.TYPE_VALUE,MutationEvent:r.TYPE_VALUE,MutationObserver:r.TYPE_VALUE,MutationRecord:r.TYPE_VALUE,NamedNodeMap:r.TYPE_VALUE,NavigationPreloadManager:r.TYPE_VALUE,Navigator:r.TYPE_VALUE,NavigatorAutomationInformation:r.TYPE,NavigatorBadge:r.TYPE,NavigatorConcurrentHardware:r.TYPE,NavigatorContentUtils:r.TYPE,NavigatorCookies:r.TYPE,NavigatorID:r.TYPE,NavigatorLanguage:r.TYPE,NavigatorLocks:r.TYPE,NavigatorOnLine:r.TYPE,NavigatorPlugins:r.TYPE,NavigatorStorage:r.TYPE,Node:r.TYPE_VALUE,NodeIterator:r.TYPE_VALUE,NodeList:r.TYPE_VALUE,NodeListOf:r.TYPE,NonDocumentTypeChildNode:r.TYPE,NonElementParentNode:r.TYPE,NotificationEventMap:r.TYPE,Notification:r.TYPE_VALUE,OES_draw_buffers_indexed:r.TYPE,OES_element_index_uint:r.TYPE,OES_fbo_render_mipmap:r.TYPE,OES_standard_derivatives:r.TYPE,OES_texture_float:r.TYPE,OES_texture_float_linear:r.TYPE,OES_texture_half_float:r.TYPE,OES_texture_half_float_linear:r.TYPE,OES_vertex_array_object:r.TYPE,OVR_multiview2:r.TYPE,OfflineAudioCompletionEvent:r.TYPE_VALUE,OfflineAudioContextEventMap:r.TYPE,OfflineAudioContext:r.TYPE_VALUE,OffscreenCanvasEventMap:r.TYPE,OffscreenCanvas:r.TYPE_VALUE,OffscreenCanvasRenderingContext2D:r.TYPE_VALUE,OscillatorNode:r.TYPE_VALUE,OverconstrainedError:r.TYPE_VALUE,PageTransitionEvent:r.TYPE_VALUE,PannerNode:r.TYPE_VALUE,ParentNode:r.TYPE,Path2D:r.TYPE_VALUE,PaymentMethodChangeEvent:r.TYPE_VALUE,PaymentRequestEventMap:r.TYPE,PaymentRequest:r.TYPE_VALUE,PaymentRequestUpdateEvent:r.TYPE_VALUE,PaymentResponse:r.TYPE_VALUE,PerformanceEventMap:r.TYPE,Performance:r.TYPE_VALUE,PerformanceEntry:r.TYPE_VALUE,PerformanceEventTiming:r.TYPE_VALUE,PerformanceMark:r.TYPE_VALUE,PerformanceMeasure:r.TYPE_VALUE,PerformanceNavigation:r.TYPE_VALUE,PerformanceNavigationTiming:r.TYPE_VALUE,PerformanceObserver:r.TYPE_VALUE,PerformanceObserverEntryList:r.TYPE_VALUE,PerformancePaintTiming:r.TYPE_VALUE,PerformanceResourceTiming:r.TYPE_VALUE,PerformanceServerTiming:r.TYPE_VALUE,PerformanceTiming:r.TYPE_VALUE,PeriodicWave:r.TYPE_VALUE,PermissionStatusEventMap:r.TYPE,PermissionStatus:r.TYPE_VALUE,Permissions:r.TYPE_VALUE,PictureInPictureEvent:r.TYPE_VALUE,PictureInPictureWindowEventMap:r.TYPE,PictureInPictureWindow:r.TYPE_VALUE,Plugin:r.TYPE_VALUE,PluginArray:r.TYPE_VALUE,PointerEvent:r.TYPE_VALUE,PopStateEvent:r.TYPE_VALUE,PopoverInvokerElement:r.TYPE,ProcessingInstruction:r.TYPE_VALUE,ProgressEvent:r.TYPE_VALUE,PromiseRejectionEvent:r.TYPE_VALUE,PublicKeyCredential:r.TYPE_VALUE,PushManager:r.TYPE_VALUE,PushSubscription:r.TYPE_VALUE,PushSubscriptionOptions:r.TYPE_VALUE,RTCCertificate:r.TYPE_VALUE,RTCDTMFSenderEventMap:r.TYPE,RTCDTMFSender:r.TYPE_VALUE,RTCDTMFToneChangeEvent:r.TYPE_VALUE,RTCDataChannelEventMap:r.TYPE,RTCDataChannel:r.TYPE_VALUE,RTCDataChannelEvent:r.TYPE_VALUE,RTCDtlsTransportEventMap:r.TYPE,RTCDtlsTransport:r.TYPE_VALUE,RTCEncodedAudioFrame:r.TYPE_VALUE,RTCEncodedVideoFrame:r.TYPE_VALUE,RTCError:r.TYPE_VALUE,RTCErrorEvent:r.TYPE_VALUE,RTCIceCandidate:r.TYPE_VALUE,RTCIceTransportEventMap:r.TYPE,RTCIceTransport:r.TYPE_VALUE,RTCPeerConnectionEventMap:r.TYPE,RTCPeerConnection:r.TYPE_VALUE,RTCPeerConnectionIceErrorEvent:r.TYPE_VALUE,RTCPeerConnectionIceEvent:r.TYPE_VALUE,RTCRtpReceiver:r.TYPE_VALUE,RTCRtpScriptTransform:r.TYPE_VALUE,RTCRtpSender:r.TYPE_VALUE,RTCRtpTransceiver:r.TYPE_VALUE,RTCSctpTransportEventMap:r.TYPE,RTCSctpTransport:r.TYPE_VALUE,RTCSessionDescription:r.TYPE_VALUE,RTCStatsReport:r.TYPE_VALUE,RTCTrackEvent:r.TYPE_VALUE,RadioNodeList:r.TYPE_VALUE,Range:r.TYPE_VALUE,ReadableByteStreamController:r.TYPE_VALUE,ReadableStream:r.TYPE_VALUE,ReadableStreamBYOBReader:r.TYPE_VALUE,ReadableStreamBYOBRequest:r.TYPE_VALUE,ReadableStreamDefaultController:r.TYPE_VALUE,ReadableStreamDefaultReader:r.TYPE_VALUE,ReadableStreamGenericReader:r.TYPE,RemotePlaybackEventMap:r.TYPE,RemotePlayback:r.TYPE_VALUE,Report:r.TYPE_VALUE,ReportBody:r.TYPE_VALUE,ReportingObserver:r.TYPE_VALUE,Request:r.TYPE_VALUE,ResizeObserver:r.TYPE_VALUE,ResizeObserverEntry:r.TYPE_VALUE,ResizeObserverSize:r.TYPE_VALUE,Response:r.TYPE_VALUE,SVGAElement:r.TYPE_VALUE,SVGAngle:r.TYPE_VALUE,SVGAnimateElement:r.TYPE_VALUE,SVGAnimateMotionElement:r.TYPE_VALUE,SVGAnimateTransformElement:r.TYPE_VALUE,SVGAnimatedAngle:r.TYPE_VALUE,SVGAnimatedBoolean:r.TYPE_VALUE,SVGAnimatedEnumeration:r.TYPE_VALUE,SVGAnimatedInteger:r.TYPE_VALUE,SVGAnimatedLength:r.TYPE_VALUE,SVGAnimatedLengthList:r.TYPE_VALUE,SVGAnimatedNumber:r.TYPE_VALUE,SVGAnimatedNumberList:r.TYPE_VALUE,SVGAnimatedPoints:r.TYPE,SVGAnimatedPreserveAspectRatio:r.TYPE_VALUE,SVGAnimatedRect:r.TYPE_VALUE,SVGAnimatedString:r.TYPE_VALUE,SVGAnimatedTransformList:r.TYPE_VALUE,SVGAnimationElement:r.TYPE_VALUE,SVGCircleElement:r.TYPE_VALUE,SVGClipPathElement:r.TYPE_VALUE,SVGComponentTransferFunctionElement:r.TYPE_VALUE,SVGDefsElement:r.TYPE_VALUE,SVGDescElement:r.TYPE_VALUE,SVGElementEventMap:r.TYPE,SVGElement:r.TYPE_VALUE,SVGEllipseElement:r.TYPE_VALUE,SVGFEBlendElement:r.TYPE_VALUE,SVGFEColorMatrixElement:r.TYPE_VALUE,SVGFEComponentTransferElement:r.TYPE_VALUE,SVGFECompositeElement:r.TYPE_VALUE,SVGFEConvolveMatrixElement:r.TYPE_VALUE,SVGFEDiffuseLightingElement:r.TYPE_VALUE,SVGFEDisplacementMapElement:r.TYPE_VALUE,SVGFEDistantLightElement:r.TYPE_VALUE,SVGFEDropShadowElement:r.TYPE_VALUE,SVGFEFloodElement:r.TYPE_VALUE,SVGFEFuncAElement:r.TYPE_VALUE,SVGFEFuncBElement:r.TYPE_VALUE,SVGFEFuncGElement:r.TYPE_VALUE,SVGFEFuncRElement:r.TYPE_VALUE,SVGFEGaussianBlurElement:r.TYPE_VALUE,SVGFEImageElement:r.TYPE_VALUE,SVGFEMergeElement:r.TYPE_VALUE,SVGFEMergeNodeElement:r.TYPE_VALUE,SVGFEMorphologyElement:r.TYPE_VALUE,SVGFEOffsetElement:r.TYPE_VALUE,SVGFEPointLightElement:r.TYPE_VALUE,SVGFESpecularLightingElement:r.TYPE_VALUE,SVGFESpotLightElement:r.TYPE_VALUE,SVGFETileElement:r.TYPE_VALUE,SVGFETurbulenceElement:r.TYPE_VALUE,SVGFilterElement:r.TYPE_VALUE,SVGFilterPrimitiveStandardAttributes:r.TYPE,SVGFitToViewBox:r.TYPE,SVGForeignObjectElement:r.TYPE_VALUE,SVGGElement:r.TYPE_VALUE,SVGGeometryElement:r.TYPE_VALUE,SVGGradientElement:r.TYPE_VALUE,SVGGraphicsElement:r.TYPE_VALUE,SVGImageElement:r.TYPE_VALUE,SVGLength:r.TYPE_VALUE,SVGLengthList:r.TYPE_VALUE,SVGLineElement:r.TYPE_VALUE,SVGLinearGradientElement:r.TYPE_VALUE,SVGMPathElement:r.TYPE_VALUE,SVGMarkerElement:r.TYPE_VALUE,SVGMaskElement:r.TYPE_VALUE,SVGMetadataElement:r.TYPE_VALUE,SVGNumber:r.TYPE_VALUE,SVGNumberList:r.TYPE_VALUE,SVGPathElement:r.TYPE_VALUE,SVGPatternElement:r.TYPE_VALUE,SVGPointList:r.TYPE_VALUE,SVGPolygonElement:r.TYPE_VALUE,SVGPolylineElement:r.TYPE_VALUE,SVGPreserveAspectRatio:r.TYPE_VALUE,SVGRadialGradientElement:r.TYPE_VALUE,SVGRectElement:r.TYPE_VALUE,SVGSVGElementEventMap:r.TYPE,SVGSVGElement:r.TYPE_VALUE,SVGScriptElement:r.TYPE_VALUE,SVGSetElement:r.TYPE_VALUE,SVGStopElement:r.TYPE_VALUE,SVGStringList:r.TYPE_VALUE,SVGStyleElement:r.TYPE_VALUE,SVGSwitchElement:r.TYPE_VALUE,SVGSymbolElement:r.TYPE_VALUE,SVGTSpanElement:r.TYPE_VALUE,SVGTests:r.TYPE,SVGTextContentElement:r.TYPE_VALUE,SVGTextElement:r.TYPE_VALUE,SVGTextPathElement:r.TYPE_VALUE,SVGTextPositioningElement:r.TYPE_VALUE,SVGTitleElement:r.TYPE_VALUE,SVGTransform:r.TYPE_VALUE,SVGTransformList:r.TYPE_VALUE,SVGURIReference:r.TYPE,SVGUnitTypes:r.TYPE_VALUE,SVGUseElement:r.TYPE_VALUE,SVGViewElement:r.TYPE_VALUE,Screen:r.TYPE_VALUE,ScreenOrientationEventMap:r.TYPE,ScreenOrientation:r.TYPE_VALUE,ScriptProcessorNodeEventMap:r.TYPE,ScriptProcessorNode:r.TYPE_VALUE,SecurityPolicyViolationEvent:r.TYPE_VALUE,Selection:r.TYPE_VALUE,ServiceWorkerEventMap:r.TYPE,ServiceWorker:r.TYPE_VALUE,ServiceWorkerContainerEventMap:r.TYPE,ServiceWorkerContainer:r.TYPE_VALUE,ServiceWorkerRegistrationEventMap:r.TYPE,ServiceWorkerRegistration:r.TYPE_VALUE,ShadowRootEventMap:r.TYPE,ShadowRoot:r.TYPE_VALUE,SharedWorker:r.TYPE_VALUE,Slottable:r.TYPE,SourceBufferEventMap:r.TYPE,SourceBuffer:r.TYPE_VALUE,SourceBufferListEventMap:r.TYPE,SourceBufferList:r.TYPE_VALUE,SpeechRecognitionAlternative:r.TYPE_VALUE,SpeechRecognitionResult:r.TYPE_VALUE,SpeechRecognitionResultList:r.TYPE_VALUE,SpeechSynthesisEventMap:r.TYPE,SpeechSynthesis:r.TYPE_VALUE,SpeechSynthesisErrorEvent:r.TYPE_VALUE,SpeechSynthesisEvent:r.TYPE_VALUE,SpeechSynthesisUtteranceEventMap:r.TYPE,SpeechSynthesisUtterance:r.TYPE_VALUE,SpeechSynthesisVoice:r.TYPE_VALUE,StaticRange:r.TYPE_VALUE,StereoPannerNode:r.TYPE_VALUE,Storage:r.TYPE_VALUE,StorageEvent:r.TYPE_VALUE,StorageManager:r.TYPE_VALUE,StyleMedia:r.TYPE,StylePropertyMap:r.TYPE_VALUE,StylePropertyMapReadOnly:r.TYPE_VALUE,StyleSheet:r.TYPE_VALUE,StyleSheetList:r.TYPE_VALUE,SubmitEvent:r.TYPE_VALUE,SubtleCrypto:r.TYPE_VALUE,Text:r.TYPE_VALUE,TextDecoder:r.TYPE_VALUE,TextDecoderCommon:r.TYPE,TextDecoderStream:r.TYPE_VALUE,TextEncoder:r.TYPE_VALUE,TextEncoderCommon:r.TYPE,TextEncoderStream:r.TYPE_VALUE,TextMetrics:r.TYPE_VALUE,TextTrackEventMap:r.TYPE,TextTrack:r.TYPE_VALUE,TextTrackCueEventMap:r.TYPE,TextTrackCue:r.TYPE_VALUE,TextTrackCueList:r.TYPE_VALUE,TextTrackListEventMap:r.TYPE,TextTrackList:r.TYPE_VALUE,TimeRanges:r.TYPE_VALUE,ToggleEvent:r.TYPE_VALUE,Touch:r.TYPE_VALUE,TouchEvent:r.TYPE_VALUE,TouchList:r.TYPE_VALUE,TrackEvent:r.TYPE_VALUE,TransformStream:r.TYPE_VALUE,TransformStreamDefaultController:r.TYPE_VALUE,TransitionEvent:r.TYPE_VALUE,TreeWalker:r.TYPE_VALUE,UIEvent:r.TYPE_VALUE,URL:r.TYPE_VALUE,webkitURL:r.TYPE_VALUE,URLSearchParams:r.TYPE_VALUE,UserActivation:r.TYPE_VALUE,VTTCue:r.TYPE_VALUE,VTTRegion:r.TYPE_VALUE,ValidityState:r.TYPE_VALUE,VideoColorSpace:r.TYPE_VALUE,VideoDecoderEventMap:r.TYPE,VideoDecoder:r.TYPE_VALUE,VideoEncoderEventMap:r.TYPE,VideoEncoder:r.TYPE_VALUE,VideoFrame:r.TYPE_VALUE,VideoPlaybackQuality:r.TYPE_VALUE,VisualViewportEventMap:r.TYPE,VisualViewport:r.TYPE_VALUE,WEBGL_color_buffer_float:r.TYPE,WEBGL_compressed_texture_astc:r.TYPE,WEBGL_compressed_texture_etc:r.TYPE,WEBGL_compressed_texture_etc1:r.TYPE,WEBGL_compressed_texture_pvrtc:r.TYPE,WEBGL_compressed_texture_s3tc:r.TYPE,WEBGL_compressed_texture_s3tc_srgb:r.TYPE,WEBGL_debug_renderer_info:r.TYPE,WEBGL_debug_shaders:r.TYPE,WEBGL_depth_texture:r.TYPE,WEBGL_draw_buffers:r.TYPE,WEBGL_lose_context:r.TYPE,WEBGL_multi_draw:r.TYPE,WakeLock:r.TYPE_VALUE,WakeLockSentinelEventMap:r.TYPE,WakeLockSentinel:r.TYPE_VALUE,WaveShaperNode:r.TYPE_VALUE,WebGL2RenderingContext:r.TYPE_VALUE,WebGL2RenderingContextBase:r.TYPE,WebGL2RenderingContextOverloads:r.TYPE,WebGLActiveInfo:r.TYPE_VALUE,WebGLBuffer:r.TYPE_VALUE,WebGLContextEvent:r.TYPE_VALUE,WebGLFramebuffer:r.TYPE_VALUE,WebGLProgram:r.TYPE_VALUE,WebGLQuery:r.TYPE_VALUE,WebGLRenderbuffer:r.TYPE_VALUE,WebGLRenderingContext:r.TYPE_VALUE,WebGLRenderingContextBase:r.TYPE,WebGLRenderingContextOverloads:r.TYPE,WebGLSampler:r.TYPE_VALUE,WebGLShader:r.TYPE_VALUE,WebGLShaderPrecisionFormat:r.TYPE_VALUE,WebGLSync:r.TYPE_VALUE,WebGLTexture:r.TYPE_VALUE,WebGLTransformFeedback:r.TYPE_VALUE,WebGLUniformLocation:r.TYPE_VALUE,WebGLVertexArrayObject:r.TYPE_VALUE,WebGLVertexArrayObjectOES:r.TYPE,WebSocketEventMap:r.TYPE,WebSocket:r.TYPE_VALUE,WebTransport:r.TYPE_VALUE,WebTransportBidirectionalStream:r.TYPE_VALUE,WebTransportDatagramDuplexStream:r.TYPE_VALUE,WebTransportError:r.TYPE_VALUE,WheelEvent:r.TYPE_VALUE,WindowEventMap:r.TYPE,Window:r.TYPE_VALUE,WindowEventHandlersEventMap:r.TYPE,WindowEventHandlers:r.TYPE,WindowLocalStorage:r.TYPE,WindowOrWorkerGlobalScope:r.TYPE,WindowSessionStorage:r.TYPE,WorkerEventMap:r.TYPE,Worker:r.TYPE_VALUE,Worklet:r.TYPE_VALUE,WritableStream:r.TYPE_VALUE,WritableStreamDefaultController:r.TYPE_VALUE,WritableStreamDefaultWriter:r.TYPE_VALUE,XMLDocument:r.TYPE_VALUE,XMLHttpRequestEventMap:r.TYPE,XMLHttpRequest:r.TYPE_VALUE,XMLHttpRequestEventTargetEventMap:r.TYPE,XMLHttpRequestEventTarget:r.TYPE_VALUE,XMLHttpRequestUpload:r.TYPE_VALUE,XMLSerializer:r.TYPE_VALUE,XPathEvaluator:r.TYPE_VALUE,XPathEvaluatorBase:r.TYPE,XPathExpression:r.TYPE_VALUE,XPathResult:r.TYPE_VALUE,XSLTProcessor:r.TYPE_VALUE,Console:r.TYPE,CSS:r.TYPE_VALUE,WebAssembly:r.TYPE_VALUE,BlobCallback:r.TYPE,CustomElementConstructor:r.TYPE,DecodeErrorCallback:r.TYPE,DecodeSuccessCallback:r.TYPE,EncodedVideoChunkOutputCallback:r.TYPE,ErrorCallback:r.TYPE,FileCallback:r.TYPE,FileSystemEntriesCallback:r.TYPE,FileSystemEntryCallback:r.TYPE,FrameRequestCallback:r.TYPE,FunctionStringCallback:r.TYPE,IdleRequestCallback:r.TYPE,IntersectionObserverCallback:r.TYPE,LockGrantedCallback:r.TYPE,MediaSessionActionHandler:r.TYPE,MutationCallback:r.TYPE,NotificationPermissionCallback:r.TYPE,OnBeforeUnloadEventHandlerNonNull:r.TYPE,OnErrorEventHandlerNonNull:r.TYPE,PerformanceObserverCallback:r.TYPE,PositionCallback:r.TYPE,PositionErrorCallback:r.TYPE,QueuingStrategySize:r.TYPE,RTCPeerConnectionErrorCallback:r.TYPE,RTCSessionDescriptionCallback:r.TYPE,RemotePlaybackAvailabilityCallback:r.TYPE,ReportingObserverCallback:r.TYPE,ResizeObserverCallback:r.TYPE,TransformerFlushCallback:r.TYPE,TransformerStartCallback:r.TYPE,TransformerTransformCallback:r.TYPE,UnderlyingSinkAbortCallback:r.TYPE,UnderlyingSinkCloseCallback:r.TYPE,UnderlyingSinkStartCallback:r.TYPE,UnderlyingSinkWriteCallback:r.TYPE,UnderlyingSourceCancelCallback:r.TYPE,UnderlyingSourcePullCallback:r.TYPE,UnderlyingSourceStartCallback:r.TYPE,VideoFrameOutputCallback:r.TYPE,VideoFrameRequestCallback:r.TYPE,VoidFunction:r.TYPE,WebCodecsErrorCallback:r.TYPE,HTMLElementTagNameMap:r.TYPE,HTMLElementDeprecatedTagNameMap:r.TYPE,SVGElementTagNameMap:r.TYPE,MathMLElementTagNameMap:r.TYPE,ElementTagNameMap:r.TYPE,AlgorithmIdentifier:r.TYPE,AllowSharedBufferSource:r.TYPE,AutoFill:r.TYPE,AutoFillField:r.TYPE,AutoFillSection:r.TYPE,BigInteger:r.TYPE,BinaryData:r.TYPE,BlobPart:r.TYPE,BodyInit:r.TYPE,BufferSource:r.TYPE,COSEAlgorithmIdentifier:r.TYPE,CSSKeywordish:r.TYPE,CSSNumberish:r.TYPE,CSSPerspectiveValue:r.TYPE,CSSUnparsedSegment:r.TYPE,CanvasImageSource:r.TYPE,ClipboardItemData:r.TYPE,ClipboardItems:r.TYPE,ConstrainBoolean:r.TYPE,ConstrainDOMString:r.TYPE,ConstrainDouble:r.TYPE,ConstrainULong:r.TYPE,DOMHighResTimeStamp:r.TYPE,EpochTimeStamp:r.TYPE,EventListenerOrEventListenerObject:r.TYPE,FileSystemWriteChunkType:r.TYPE,Float32List:r.TYPE,FormDataEntryValue:r.TYPE,GLbitfield:r.TYPE,GLboolean:r.TYPE,GLclampf:r.TYPE,GLenum:r.TYPE,GLfloat:r.TYPE,GLint:r.TYPE,GLint64:r.TYPE,GLintptr:r.TYPE,GLsizei:r.TYPE,GLsizeiptr:r.TYPE,GLuint:r.TYPE,GLuint64:r.TYPE,HTMLOrSVGImageElement:r.TYPE,HTMLOrSVGScriptElement:r.TYPE,HashAlgorithmIdentifier:r.TYPE,HeadersInit:r.TYPE,IDBValidKey:r.TYPE,ImageBitmapSource:r.TYPE,Int32List:r.TYPE,LineAndPositionSetting:r.TYPE,MediaProvider:r.TYPE,MessageEventSource:r.TYPE,MutationRecordType:r.TYPE,NamedCurve:r.TYPE,OffscreenRenderingContext:r.TYPE,OnBeforeUnloadEventHandler:r.TYPE,OnErrorEventHandler:r.TYPE,OptionalPostfixToken:r.TYPE,OptionalPrefixToken:r.TYPE,PerformanceEntryList:r.TYPE,RTCRtpTransform:r.TYPE,ReadableStreamController:r.TYPE,ReadableStreamReadResult:r.TYPE,ReadableStreamReader:r.TYPE,RenderingContext:r.TYPE,ReportList:r.TYPE,RequestInfo:r.TYPE,TexImageSource:r.TYPE,TimerHandler:r.TYPE,Transferable:r.TYPE,Uint32List:r.TYPE,VibratePattern:r.TYPE,WindowProxy:r.TYPE,XMLHttpRequestBodyInit:r.TYPE,AlignSetting:r.TYPE,AlphaOption:r.TYPE,AnimationPlayState:r.TYPE,AnimationReplaceState:r.TYPE,AppendMode:r.TYPE,AttestationConveyancePreference:r.TYPE,AudioContextLatencyCategory:r.TYPE,AudioContextState:r.TYPE,AuthenticatorAttachment:r.TYPE,AuthenticatorTransport:r.TYPE,AutoFillAddressKind:r.TYPE,AutoFillBase:r.TYPE,AutoFillContactField:r.TYPE,AutoFillContactKind:r.TYPE,AutoFillCredentialField:r.TYPE,AutoFillNormalField:r.TYPE,AutoKeyword:r.TYPE,AutomationRate:r.TYPE,AvcBitstreamFormat:r.TYPE,BinaryType:r.TYPE,BiquadFilterType:r.TYPE,CSSMathOperator:r.TYPE,CSSNumericBaseType:r.TYPE,CanPlayTypeResult:r.TYPE,CanvasDirection:r.TYPE,CanvasFillRule:r.TYPE,CanvasFontKerning:r.TYPE,CanvasFontStretch:r.TYPE,CanvasFontVariantCaps:r.TYPE,CanvasLineCap:r.TYPE,CanvasLineJoin:r.TYPE,CanvasTextAlign:r.TYPE,CanvasTextBaseline:r.TYPE,CanvasTextRendering:r.TYPE,ChannelCountMode:r.TYPE,ChannelInterpretation:r.TYPE,ClientTypes:r.TYPE,CodecState:r.TYPE,ColorGamut:r.TYPE,ColorSpaceConversion:r.TYPE,CompositeOperation:r.TYPE,CompositeOperationOrAuto:r.TYPE,CompressionFormat:r.TYPE,CredentialMediationRequirement:r.TYPE,DOMParserSupportedType:r.TYPE,DirectionSetting:r.TYPE,DisplayCaptureSurfaceType:r.TYPE,DistanceModelType:r.TYPE,DocumentReadyState:r.TYPE,DocumentVisibilityState:r.TYPE,EncodedVideoChunkType:r.TYPE,EndOfStreamError:r.TYPE,EndingType:r.TYPE,FileSystemHandleKind:r.TYPE,FillMode:r.TYPE,FontDisplay:r.TYPE,FontFaceLoadStatus:r.TYPE,FontFaceSetLoadStatus:r.TYPE,FullscreenNavigationUI:r.TYPE,GamepadHapticActuatorType:r.TYPE,GamepadHapticEffectType:r.TYPE,GamepadHapticsResult:r.TYPE,GamepadMappingType:r.TYPE,GlobalCompositeOperation:r.TYPE,HardwareAcceleration:r.TYPE,HdrMetadataType:r.TYPE,HighlightType:r.TYPE,IDBCursorDirection:r.TYPE,IDBRequestReadyState:r.TYPE,IDBTransactionDurability:r.TYPE,IDBTransactionMode:r.TYPE,ImageOrientation:r.TYPE,ImageSmoothingQuality:r.TYPE,InsertPosition:r.TYPE,IterationCompositeOperation:r.TYPE,KeyFormat:r.TYPE,KeyType:r.TYPE,KeyUsage:r.TYPE,LatencyMode:r.TYPE,LineAlignSetting:r.TYPE,LockMode:r.TYPE,MIDIPortConnectionState:r.TYPE,MIDIPortDeviceState:r.TYPE,MIDIPortType:r.TYPE,MediaDecodingType:r.TYPE,MediaDeviceKind:r.TYPE,MediaEncodingType:r.TYPE,MediaKeyMessageType:r.TYPE,MediaKeySessionClosedReason:r.TYPE,MediaKeySessionType:r.TYPE,MediaKeyStatus:r.TYPE,MediaKeysRequirement:r.TYPE,MediaSessionAction:r.TYPE,MediaSessionPlaybackState:r.TYPE,MediaStreamTrackState:r.TYPE,NavigationTimingType:r.TYPE,NotificationDirection:r.TYPE,NotificationPermission:r.TYPE,OffscreenRenderingContextId:r.TYPE,OrientationType:r.TYPE,OscillatorType:r.TYPE,OverSampleType:r.TYPE,PanningModelType:r.TYPE,PaymentComplete:r.TYPE,PermissionName:r.TYPE,PermissionState:r.TYPE,PlaybackDirection:r.TYPE,PositionAlignSetting:r.TYPE,PredefinedColorSpace:r.TYPE,PremultiplyAlpha:r.TYPE,PresentationStyle:r.TYPE,PublicKeyCredentialType:r.TYPE,PushEncryptionKeyName:r.TYPE,RTCBundlePolicy:r.TYPE,RTCDataChannelState:r.TYPE,RTCDegradationPreference:r.TYPE,RTCDtlsTransportState:r.TYPE,RTCEncodedVideoFrameType:r.TYPE,RTCErrorDetailType:r.TYPE,RTCIceCandidateType:r.TYPE,RTCIceComponent:r.TYPE,RTCIceConnectionState:r.TYPE,RTCIceGathererState:r.TYPE,RTCIceGatheringState:r.TYPE,RTCIceProtocol:r.TYPE,RTCIceTcpCandidateType:r.TYPE,RTCIceTransportPolicy:r.TYPE,RTCIceTransportState:r.TYPE,RTCPeerConnectionState:r.TYPE,RTCPriorityType:r.TYPE,RTCRtcpMuxPolicy:r.TYPE,RTCRtpTransceiverDirection:r.TYPE,RTCSctpTransportState:r.TYPE,RTCSdpType:r.TYPE,RTCSignalingState:r.TYPE,RTCStatsIceCandidatePairState:r.TYPE,RTCStatsType:r.TYPE,ReadableStreamReaderMode:r.TYPE,ReadableStreamType:r.TYPE,ReadyState:r.TYPE,RecordingState:r.TYPE,ReferrerPolicy:r.TYPE,RemotePlaybackState:r.TYPE,RequestCache:r.TYPE,RequestCredentials:r.TYPE,RequestDestination:r.TYPE,RequestMode:r.TYPE,RequestPriority:r.TYPE,RequestRedirect:r.TYPE,ResidentKeyRequirement:r.TYPE,ResizeObserverBoxOptions:r.TYPE,ResizeQuality:r.TYPE,ResponseType:r.TYPE,ScrollBehavior:r.TYPE,ScrollLogicalPosition:r.TYPE,ScrollRestoration:r.TYPE,ScrollSetting:r.TYPE,SecurityPolicyViolationEventDisposition:r.TYPE,SelectionMode:r.TYPE,ServiceWorkerState:r.TYPE,ServiceWorkerUpdateViaCache:r.TYPE,ShadowRootMode:r.TYPE,SlotAssignmentMode:r.TYPE,SpeechSynthesisErrorCode:r.TYPE,TextTrackKind:r.TYPE,TextTrackMode:r.TYPE,TouchType:r.TYPE,TransferFunction:r.TYPE,UserVerificationRequirement:r.TYPE,VideoColorPrimaries:r.TYPE,VideoEncoderBitrateMode:r.TYPE,VideoFacingModeEnum:r.TYPE,VideoMatrixCoefficients:r.TYPE,VideoPixelFormat:r.TYPE,VideoTransferCharacteristics:r.TYPE,WakeLockType:r.TYPE,WebGLPowerPreference:r.TYPE,WebTransportCongestionControl:r.TYPE,WebTransportErrorSource:r.TYPE,WorkerType:r.TYPE,WriteCommandType:r.TYPE,XMLHttpRequestResponseType:r.TYPE};var Le={};Object.defineProperty(Le,"__esModule",{value:!0}),Le.dom_asynciterable=void 0;const ty=C;Le.dom_asynciterable={FileSystemDirectoryHandle:ty.TYPE};var me={};Object.defineProperty(me,"__esModule",{value:!0}),me.dom_iterable=void 0;const V=C;me.dom_iterable={AudioParam:V.TYPE,AudioParamMap:V.TYPE,BaseAudioContext:V.TYPE,CSSKeyframesRule:V.TYPE,CSSNumericArray:V.TYPE,CSSRuleList:V.TYPE,CSSStyleDeclaration:V.TYPE,CSSTransformValue:V.TYPE,CSSUnparsedValue:V.TYPE,Cache:V.TYPE,CanvasPath:V.TYPE,CanvasPathDrawingStyles:V.TYPE,DOMRectList:V.TYPE,DOMStringList:V.TYPE,DOMTokenList:V.TYPE,DataTransferItemList:V.TYPE,EventCounts:V.TYPE,FileList:V.TYPE,FontFaceSet:V.TYPE,FormData:V.TYPE,HTMLAllCollection:V.TYPE,HTMLCollectionBase:V.TYPE,HTMLCollectionOf:V.TYPE,HTMLFormElement:V.TYPE,HTMLSelectElement:V.TYPE,Headers:V.TYPE,Highlight:V.TYPE,HighlightRegistry:V.TYPE,IDBDatabase:V.TYPE,IDBObjectStore:V.TYPE,MIDIInputMap:V.TYPE,MIDIOutput:V.TYPE,MIDIOutputMap:V.TYPE,MediaKeyStatusMap:V.TYPE,MediaList:V.TYPE,MessageEvent:V.TYPE,MimeTypeArray:V.TYPE,NamedNodeMap:V.TYPE,Navigator:V.TYPE,NodeList:V.TYPE,NodeListOf:V.TYPE,Plugin:V.TYPE,PluginArray:V.TYPE,RTCRtpTransceiver:V.TYPE,RTCStatsReport:V.TYPE,SVGLengthList:V.TYPE,SVGNumberList:V.TYPE,SVGPointList:V.TYPE,SVGStringList:V.TYPE,SVGTransformList:V.TYPE,SourceBufferList:V.TYPE,SpeechRecognitionResult:V.TYPE,SpeechRecognitionResultList:V.TYPE,StylePropertyMapReadOnly:V.TYPE,StyleSheetList:V.TYPE,SubtleCrypto:V.TYPE,TextTrackCueList:V.TYPE,TextTrackList:V.TYPE,TouchList:V.TYPE,URLSearchParams:V.TYPE,WEBGL_draw_buffers:V.TYPE,WEBGL_multi_draw:V.TYPE,WebGL2RenderingContextBase:V.TYPE,WebGL2RenderingContextOverloads:V.TYPE,WebGLRenderingContextBase:V.TYPE,WebGLRenderingContextOverloads:V.TYPE};var ot={};Object.defineProperty(ot,"__esModule",{value:!0}),ot.es5=void 0;const A=C,ry=St,ny=pr;ot.es5={...ry.decorators,...ny.decorators_legacy,Symbol:A.TYPE,PropertyKey:A.TYPE,PropertyDescriptor:A.TYPE,PropertyDescriptorMap:A.TYPE,Object:A.TYPE_VALUE,ObjectConstructor:A.TYPE,Function:A.TYPE_VALUE,FunctionConstructor:A.TYPE,ThisParameterType:A.TYPE,OmitThisParameter:A.TYPE,CallableFunction:A.TYPE,NewableFunction:A.TYPE,IArguments:A.TYPE,String:A.TYPE_VALUE,StringConstructor:A.TYPE,Boolean:A.TYPE_VALUE,BooleanConstructor:A.TYPE,Number:A.TYPE_VALUE,NumberConstructor:A.TYPE,TemplateStringsArray:A.TYPE,ImportMeta:A.TYPE,ImportCallOptions:A.TYPE,ImportAssertions:A.TYPE,ImportAttributes:A.TYPE,Math:A.TYPE_VALUE,Date:A.TYPE_VALUE,DateConstructor:A.TYPE,RegExpMatchArray:A.TYPE,RegExpExecArray:A.TYPE,RegExp:A.TYPE_VALUE,RegExpConstructor:A.TYPE,Error:A.TYPE_VALUE,ErrorConstructor:A.TYPE,EvalError:A.TYPE_VALUE,EvalErrorConstructor:A.TYPE,RangeError:A.TYPE_VALUE,RangeErrorConstructor:A.TYPE,ReferenceError:A.TYPE_VALUE,ReferenceErrorConstructor:A.TYPE,SyntaxError:A.TYPE_VALUE,SyntaxErrorConstructor:A.TYPE,TypeError:A.TYPE_VALUE,TypeErrorConstructor:A.TYPE,URIError:A.TYPE_VALUE,URIErrorConstructor:A.TYPE,JSON:A.TYPE_VALUE,ReadonlyArray:A.TYPE,ConcatArray:A.TYPE,Array:A.TYPE_VALUE,ArrayConstructor:A.TYPE,TypedPropertyDescriptor:A.TYPE,PromiseConstructorLike:A.TYPE,PromiseLike:A.TYPE,Promise:A.TYPE,Awaited:A.TYPE,ArrayLike:A.TYPE,Partial:A.TYPE,Required:A.TYPE,Readonly:A.TYPE,Pick:A.TYPE,Record:A.TYPE,Exclude:A.TYPE,Extract:A.TYPE,Omit:A.TYPE,NonNullable:A.TYPE,Parameters:A.TYPE,ConstructorParameters:A.TYPE,ReturnType:A.TYPE,InstanceType:A.TYPE,Uppercase:A.TYPE,Lowercase:A.TYPE,Capitalize:A.TYPE,Uncapitalize:A.TYPE,NoInfer:A.TYPE,ThisType:A.TYPE,WeakKeyTypes:A.TYPE,WeakKey:A.TYPE,ArrayBuffer:A.TYPE_VALUE,ArrayBufferTypes:A.TYPE,ArrayBufferLike:A.TYPE,ArrayBufferConstructor:A.TYPE,ArrayBufferView:A.TYPE,DataView:A.TYPE_VALUE,DataViewConstructor:A.TYPE,Int8Array:A.TYPE_VALUE,Int8ArrayConstructor:A.TYPE,Uint8Array:A.TYPE_VALUE,Uint8ArrayConstructor:A.TYPE,Uint8ClampedArray:A.TYPE_VALUE,Uint8ClampedArrayConstructor:A.TYPE,Int16Array:A.TYPE_VALUE,Int16ArrayConstructor:A.TYPE,Uint16Array:A.TYPE_VALUE,Uint16ArrayConstructor:A.TYPE,Int32Array:A.TYPE_VALUE,Int32ArrayConstructor:A.TYPE,Uint32Array:A.TYPE_VALUE,Uint32ArrayConstructor:A.TYPE,Float32Array:A.TYPE_VALUE,Float32ArrayConstructor:A.TYPE,Float64Array:A.TYPE_VALUE,Float64ArrayConstructor:A.TYPE,Intl:A.TYPE_VALUE};var ni={},Yt={};Object.defineProperty(Yt,"__esModule",{value:!0}),Yt.es2015_collection=void 0;const Oe=C;Yt.es2015_collection={Map:Oe.TYPE_VALUE,MapConstructor:Oe.TYPE,ReadonlyMap:Oe.TYPE,WeakMap:Oe.TYPE_VALUE,WeakMapConstructor:Oe.TYPE,Set:Oe.TYPE_VALUE,SetConstructor:Oe.TYPE,ReadonlySet:Oe.TYPE,WeakSet:Oe.TYPE_VALUE,WeakSetConstructor:Oe.TYPE};var Lt={};Object.defineProperty(Lt,"__esModule",{value:!0}),Lt.es2015_core=void 0;const ve=C;Lt.es2015_core={Array:ve.TYPE,ArrayConstructor:ve.TYPE,DateConstructor:ve.TYPE,Function:ve.TYPE,Math:ve.TYPE,NumberConstructor:ve.TYPE,ObjectConstructor:ve.TYPE,ReadonlyArray:ve.TYPE,RegExp:ve.TYPE,RegExpConstructor:ve.TYPE,String:ve.TYPE,StringConstructor:ve.TYPE};var At={},Se={},Ee={};Object.defineProperty(Ee,"__esModule",{value:!0}),Ee.es2015_symbol=void 0;const iy=C;Ee.es2015_symbol={SymbolConstructor:iy.TYPE},Object.defineProperty(Se,"__esModule",{value:!0}),Se.es2015_iterable=void 0;const x=C,sy=Ee;Se.es2015_iterable={...sy.es2015_symbol,SymbolConstructor:x.TYPE,IteratorYieldResult:x.TYPE,IteratorReturnResult:x.TYPE,IteratorResult:x.TYPE,Iterator:x.TYPE,Iterable:x.TYPE,IterableIterator:x.TYPE,Array:x.TYPE,ArrayConstructor:x.TYPE,ReadonlyArray:x.TYPE,IArguments:x.TYPE,Map:x.TYPE,ReadonlyMap:x.TYPE,MapConstructor:x.TYPE,WeakMap:x.TYPE,WeakMapConstructor:x.TYPE,Set:x.TYPE,ReadonlySet:x.TYPE,SetConstructor:x.TYPE,WeakSet:x.TYPE,WeakSetConstructor:x.TYPE,Promise:x.TYPE,PromiseConstructor:x.TYPE,String:x.TYPE,Int8Array:x.TYPE,Int8ArrayConstructor:x.TYPE,Uint8Array:x.TYPE,Uint8ArrayConstructor:x.TYPE,Uint8ClampedArray:x.TYPE,Uint8ClampedArrayConstructor:x.TYPE,Int16Array:x.TYPE,Int16ArrayConstructor:x.TYPE,Uint16Array:x.TYPE,Uint16ArrayConstructor:x.TYPE,Int32Array:x.TYPE,Int32ArrayConstructor:x.TYPE,Uint32Array:x.TYPE,Uint32ArrayConstructor:x.TYPE,Float32Array:x.TYPE,Float32ArrayConstructor:x.TYPE,Float64Array:x.TYPE,Float64ArrayConstructor:x.TYPE},Object.defineProperty(At,"__esModule",{value:!0}),At.es2015_generator=void 0;const lo=C,oy=Se;At.es2015_generator={...oy.es2015_iterable,Generator:lo.TYPE,GeneratorFunction:lo.TYPE,GeneratorFunctionConstructor:lo.TYPE};var Ct={};Object.defineProperty(Ct,"__esModule",{value:!0}),Ct.es2015_promise=void 0;const ay=C;Ct.es2015_promise={PromiseConstructor:ay.TYPE};var wt={};Object.defineProperty(wt,"__esModule",{value:!0}),wt.es2015_proxy=void 0;const ec=C;wt.es2015_proxy={ProxyHandler:ec.TYPE,ProxyConstructor:ec.TYPE};var Vt={};Object.defineProperty(Vt,"__esModule",{value:!0}),Vt.es2015_reflect=void 0;const ly=C;Vt.es2015_reflect={Reflect:ly.TYPE_VALUE};var at={};Object.defineProperty(at,"__esModule",{value:!0}),at.es2015_symbol_wellknown=void 0;const $=C,cy=Ee;at.es2015_symbol_wellknown={...cy.es2015_symbol,SymbolConstructor:$.TYPE,Symbol:$.TYPE,Array:$.TYPE,ReadonlyArray:$.TYPE,Date:$.TYPE,Map:$.TYPE,WeakMap:$.TYPE,Set:$.TYPE,WeakSet:$.TYPE,JSON:$.TYPE,Function:$.TYPE,GeneratorFunction:$.TYPE,Math:$.TYPE,Promise:$.TYPE,PromiseConstructor:$.TYPE,RegExp:$.TYPE,RegExpConstructor:$.TYPE,String:$.TYPE,ArrayBuffer:$.TYPE,DataView:$.TYPE,Int8Array:$.TYPE,Uint8Array:$.TYPE,Uint8ClampedArray:$.TYPE,Int16Array:$.TYPE,Uint16Array:$.TYPE,Int32Array:$.TYPE,Uint32Array:$.TYPE,Float32Array:$.TYPE,Float64Array:$.TYPE,ArrayConstructor:$.TYPE,MapConstructor:$.TYPE,SetConstructor:$.TYPE,ArrayBufferConstructor:$.TYPE},Object.defineProperty(ni,"__esModule",{value:!0}),ni.es6=void 0;const uy=ot,py=Yt,fy=Lt,Ey=At,dy=Se,Ty=Ct,Py=wt,my=Vt,yy=Ee,hy=at;ni.es6={...uy.es5,...fy.es2015_core,...py.es2015_collection,...dy.es2015_iterable,...Ey.es2015_generator,...Ty.es2015_promise,...Py.es2015_proxy,...my.es2015_reflect,...yy.es2015_symbol,...hy.es2015_symbol_wellknown};var ii={},Ot={};Object.defineProperty(Ot,"__esModule",{value:!0}),Ot.es2015=void 0;const _y=ot,by=Yt,gy=Lt,vy=At,Sy=Se,Yy=Ct,Ly=wt,Ay=Vt,Cy=Ee,wy=at;Ot.es2015={..._y.es5,...gy.es2015_core,...by.es2015_collection,...Sy.es2015_iterable,...vy.es2015_generator,...Yy.es2015_promise,...Ly.es2015_proxy,...Ay.es2015_reflect,...Cy.es2015_symbol,...wy.es2015_symbol_wellknown};var Mt={};Object.defineProperty(Mt,"__esModule",{value:!0}),Mt.es2016_array_include=void 0;const Ae=C;Mt.es2016_array_include={Array:Ae.TYPE,ReadonlyArray:Ae.TYPE,Int8Array:Ae.TYPE,Uint8Array:Ae.TYPE,Uint8ClampedArray:Ae.TYPE,Int16Array:Ae.TYPE,Uint16Array:Ae.TYPE,Int32Array:Ae.TYPE,Uint32Array:Ae.TYPE,Float32Array:Ae.TYPE,Float64Array:Ae.TYPE};var Ut={};Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.es2016_intl=void 0;const Vy=C;Ut.es2016_intl={Intl:Vy.TYPE_VALUE},Object.defineProperty(ii,"__esModule",{value:!0}),ii.es7=void 0;const Oy=Ot,My=Mt,Uy=Ut;ii.es7={...Oy.es2015,...My.es2016_array_include,...Uy.es2016_intl};var Rt={};Object.defineProperty(Rt,"__esModule",{value:!0}),Rt.es2016=void 0;const Ry=Ot,Iy=Mt,xy=Ut;Rt.es2016={...Ry.es2015,...Iy.es2016_array_include,...xy.es2016_intl};var si={},de={};Object.defineProperty(de,"__esModule",{value:!0}),de.scripthost=void 0;const ye=C;de.scripthost={ActiveXObject:ye.TYPE_VALUE,ITextWriter:ye.TYPE,TextStreamBase:ye.TYPE,TextStreamWriter:ye.TYPE,TextStreamReader:ye.TYPE,SafeArray:ye.TYPE_VALUE,Enumerator:ye.TYPE_VALUE,EnumeratorConstructor:ye.TYPE,VBArray:ye.TYPE_VALUE,VBArrayConstructor:ye.TYPE,VarDate:ye.TYPE_VALUE,DateConstructor:ye.TYPE,Date:ye.TYPE};var Te={};Object.defineProperty(Te,"__esModule",{value:!0}),Te.webworker_importscripts=void 0,Te.webworker_importscripts={},Object.defineProperty(si,"__esModule",{value:!0}),si.es2016_full=void 0;const Dy=fe,Fy=me,$y=Rt,ky=de,Ny=Te;si.es2016_full={...$y.es2016,...Dy.dom,...Ny.webworker_importscripts,...ky.scripthost,...Fy.dom_iterable};var It={},fr={};Object.defineProperty(fr,"__esModule",{value:!0}),fr.es2017_date=void 0;const By=C;fr.es2017_date={DateConstructor:By.TYPE};var Er={};Object.defineProperty(Er,"__esModule",{value:!0}),Er.es2017_intl=void 0;const jy=C;Er.es2017_intl={Intl:jy.TYPE_VALUE};var dr={};Object.defineProperty(dr,"__esModule",{value:!0}),dr.es2017_object=void 0;const Gy=C;dr.es2017_object={ObjectConstructor:Gy.TYPE};var Tr={};Object.defineProperty(Tr,"__esModule",{value:!0}),Tr.es2017_sharedmemory=void 0;const oi=C,Wy=Ee,Hy=at;Tr.es2017_sharedmemory={...Wy.es2015_symbol,...Hy.es2015_symbol_wellknown,SharedArrayBuffer:oi.TYPE_VALUE,SharedArrayBufferConstructor:oi.TYPE,ArrayBufferTypes:oi.TYPE,Atomics:oi.TYPE_VALUE};var Pr={};Object.defineProperty(Pr,"__esModule",{value:!0}),Pr.es2017_string=void 0;const Ky=C;Pr.es2017_string={String:Ky.TYPE};var mr={};Object.defineProperty(mr,"__esModule",{value:!0}),mr.es2017_typedarrays=void 0;const $e=C;mr.es2017_typedarrays={Int8ArrayConstructor:$e.TYPE,Uint8ArrayConstructor:$e.TYPE,Uint8ClampedArrayConstructor:$e.TYPE,Int16ArrayConstructor:$e.TYPE,Uint16ArrayConstructor:$e.TYPE,Int32ArrayConstructor:$e.TYPE,Uint32ArrayConstructor:$e.TYPE,Float32ArrayConstructor:$e.TYPE,Float64ArrayConstructor:$e.TYPE},Object.defineProperty(It,"__esModule",{value:!0}),It.es2017=void 0;const Xy=Rt,zy=fr,qy=Er,Jy=dr,Qy=Tr,Zy=Pr,eh=mr;It.es2017={...Xy.es2016,...Jy.es2017_object,...Qy.es2017_sharedmemory,...Zy.es2017_string,...qy.es2017_intl,...eh.es2017_typedarrays,...zy.es2017_date};var ai={};Object.defineProperty(ai,"__esModule",{value:!0}),ai.es2017_full=void 0;const th=fe,rh=me,nh=It,ih=de,sh=Te;ai.es2017_full={...nh.es2017,...th.dom,...sh.webworker_importscripts,...ih.scripthost,...rh.dom_iterable};var xt={},yr={},Dt={};Object.defineProperty(Dt,"__esModule",{value:!0}),Dt.es2018_asynciterable=void 0;const li=C,oh=Se,ah=Ee;Dt.es2018_asynciterable={...ah.es2015_symbol,...oh.es2015_iterable,SymbolConstructor:li.TYPE,AsyncIterator:li.TYPE,AsyncIterable:li.TYPE,AsyncIterableIterator:li.TYPE},Object.defineProperty(yr,"__esModule",{value:!0}),yr.es2018_asyncgenerator=void 0;const co=C,lh=Dt;yr.es2018_asyncgenerator={...lh.es2018_asynciterable,AsyncGenerator:co.TYPE,AsyncGeneratorFunction:co.TYPE,AsyncGeneratorFunctionConstructor:co.TYPE};var Ft={};Object.defineProperty(Ft,"__esModule",{value:!0}),Ft.es2018_intl=void 0;const ch=C;Ft.es2018_intl={Intl:ch.TYPE_VALUE};var hr={};Object.defineProperty(hr,"__esModule",{value:!0}),hr.es2018_promise=void 0;const uh=C;hr.es2018_promise={Promise:uh.TYPE};var _r={};Object.defineProperty(_r,"__esModule",{value:!0}),_r.es2018_regexp=void 0;const uo=C;_r.es2018_regexp={RegExpMatchArray:uo.TYPE,RegExpExecArray:uo.TYPE,RegExp:uo.TYPE},Object.defineProperty(xt,"__esModule",{value:!0}),xt.es2018=void 0;const ph=It,fh=yr,Eh=Dt,dh=Ft,Th=hr,Ph=_r;xt.es2018={...ph.es2017,...Eh.es2018_asynciterable,...fh.es2018_asyncgenerator,...Th.es2018_promise,...Ph.es2018_regexp,...dh.es2018_intl};var ci={};Object.defineProperty(ci,"__esModule",{value:!0}),ci.es2018_full=void 0;const mh=fe,yh=Le,hh=me,_h=xt,bh=de,gh=Te;ci.es2018_full={..._h.es2018,...mh.dom,...gh.webworker_importscripts,...bh.scripthost,...hh.dom_iterable,...yh.dom_asynciterable};var $t={},br={};Object.defineProperty(br,"__esModule",{value:!0}),br.es2019_array=void 0;const po=C;br.es2019_array={FlatArray:po.TYPE,ReadonlyArray:po.TYPE,Array:po.TYPE};var gr={};Object.defineProperty(gr,"__esModule",{value:!0}),gr.es2019_intl=void 0;const vh=C;gr.es2019_intl={Intl:vh.TYPE_VALUE};var vr={};Object.defineProperty(vr,"__esModule",{value:!0}),vr.es2019_object=void 0;const Sh=C,Yh=Se;vr.es2019_object={...Yh.es2015_iterable,ObjectConstructor:Sh.TYPE};var Sr={};Object.defineProperty(Sr,"__esModule",{value:!0}),Sr.es2019_string=void 0;const Lh=C;Sr.es2019_string={String:Lh.TYPE};var Yr={};Object.defineProperty(Yr,"__esModule",{value:!0}),Yr.es2019_symbol=void 0;const Ah=C;Yr.es2019_symbol={Symbol:Ah.TYPE},Object.defineProperty($t,"__esModule",{value:!0}),$t.es2019=void 0;const Ch=xt,wh=br,Vh=gr,Oh=vr,Mh=Sr,Uh=Yr;$t.es2019={...Ch.es2018,...wh.es2019_array,...Oh.es2019_object,...Mh.es2019_string,...Uh.es2019_symbol,...Vh.es2019_intl};var ui={};Object.defineProperty(ui,"__esModule",{value:!0}),ui.es2019_full=void 0;const Rh=fe,Ih=Le,xh=me,Dh=$t,Fh=de,$h=Te;ui.es2019_full={...Dh.es2019,...Rh.dom,...$h.webworker_importscripts,...Fh.scripthost,...xh.dom_iterable,...Ih.dom_asynciterable};var kt={},Lr={},ke={};Object.defineProperty(ke,"__esModule",{value:!0}),ke.es2020_intl=void 0;const kh=C,Nh=Ft;ke.es2020_intl={...Nh.es2018_intl,Intl:kh.TYPE_VALUE},Object.defineProperty(Lr,"__esModule",{value:!0}),Lr.es2020_bigint=void 0;const Ne=C,Bh=ke;Lr.es2020_bigint={...Bh.es2020_intl,BigIntToLocaleStringOptions:Ne.TYPE,BigInt:Ne.TYPE_VALUE,BigIntConstructor:Ne.TYPE,BigInt64Array:Ne.TYPE_VALUE,BigInt64ArrayConstructor:Ne.TYPE,BigUint64Array:Ne.TYPE_VALUE,BigUint64ArrayConstructor:Ne.TYPE,DataView:Ne.TYPE,Intl:Ne.TYPE_VALUE};var Ar={};Object.defineProperty(Ar,"__esModule",{value:!0}),Ar.es2020_date=void 0;const jh=C,Gh=ke;Ar.es2020_date={...Gh.es2020_intl,Date:jh.TYPE};var Cr={};Object.defineProperty(Cr,"__esModule",{value:!0}),Cr.es2020_number=void 0;const Wh=C,Hh=ke;Cr.es2020_number={...Hh.es2020_intl,Number:Wh.TYPE};var wr={};Object.defineProperty(wr,"__esModule",{value:!0}),wr.es2020_promise=void 0;const pi=C;wr.es2020_promise={PromiseFulfilledResult:pi.TYPE,PromiseRejectedResult:pi.TYPE,PromiseSettledResult:pi.TYPE,PromiseConstructor:pi.TYPE};var Vr={};Object.defineProperty(Vr,"__esModule",{value:!0}),Vr.es2020_sharedmemory=void 0;const Kh=C;Vr.es2020_sharedmemory={Atomics:Kh.TYPE};var Or={};Object.defineProperty(Or,"__esModule",{value:!0}),Or.es2020_string=void 0;const Xh=C,zh=Se;Or.es2020_string={...zh.es2015_iterable,String:Xh.TYPE};var Mr={};Object.defineProperty(Mr,"__esModule",{value:!0}),Mr.es2020_symbol_wellknown=void 0;const tc=C,qh=Se,Jh=Ee;Mr.es2020_symbol_wellknown={...qh.es2015_iterable,...Jh.es2015_symbol,SymbolConstructor:tc.TYPE,RegExp:tc.TYPE},Object.defineProperty(kt,"__esModule",{value:!0}),kt.es2020=void 0;const Qh=$t,Zh=Lr,e_=Ar,t_=ke,r_=Cr,n_=wr,i_=Vr,s_=Or,o_=Mr;kt.es2020={...Qh.es2019,...Zh.es2020_bigint,...e_.es2020_date,...r_.es2020_number,...n_.es2020_promise,...i_.es2020_sharedmemory,...s_.es2020_string,...o_.es2020_symbol_wellknown,...t_.es2020_intl};var fi={};Object.defineProperty(fi,"__esModule",{value:!0}),fi.es2020_full=void 0;const a_=fe,l_=Le,c_=me,u_=kt,p_=de,f_=Te;fi.es2020_full={...u_.es2020,...a_.dom,...f_.webworker_importscripts,...p_.scripthost,...c_.dom_iterable,...l_.dom_asynciterable};var Nt={},Ur={};Object.defineProperty(Ur,"__esModule",{value:!0}),Ur.es2021_intl=void 0;const E_=C;Ur.es2021_intl={Intl:E_.TYPE_VALUE};var Rr={};Object.defineProperty(Rr,"__esModule",{value:!0}),Rr.es2021_promise=void 0;const fo=C;Rr.es2021_promise={AggregateError:fo.TYPE_VALUE,AggregateErrorConstructor:fo.TYPE,PromiseConstructor:fo.TYPE};var Ir={};Object.defineProperty(Ir,"__esModule",{value:!0}),Ir.es2021_string=void 0;const d_=C;Ir.es2021_string={String:d_.TYPE};var xr={};Object.defineProperty(xr,"__esModule",{value:!0}),xr.es2021_weakref=void 0;const Ei=C;xr.es2021_weakref={WeakRef:Ei.TYPE_VALUE,WeakRefConstructor:Ei.TYPE,FinalizationRegistry:Ei.TYPE_VALUE,FinalizationRegistryConstructor:Ei.TYPE},Object.defineProperty(Nt,"__esModule",{value:!0}),Nt.es2021=void 0;const T_=kt,P_=Ur,m_=Rr,y_=Ir,h_=xr;Nt.es2021={...T_.es2020,...m_.es2021_promise,...y_.es2021_string,...h_.es2021_weakref,...P_.es2021_intl};var di={};Object.defineProperty(di,"__esModule",{value:!0}),di.es2021_full=void 0;const __=fe,b_=Le,g_=me,v_=Nt,S_=de,Y_=Te;di.es2021_full={...v_.es2021,...__.dom,...Y_.webworker_importscripts,...S_.scripthost,...g_.dom_iterable,...b_.dom_asynciterable};var Bt={},Dr={};Object.defineProperty(Dr,"__esModule",{value:!0}),Dr.es2022_array=void 0;const he=C;Dr.es2022_array={Array:he.TYPE,ReadonlyArray:he.TYPE,Int8Array:he.TYPE,Uint8Array:he.TYPE,Uint8ClampedArray:he.TYPE,Int16Array:he.TYPE,Uint16Array:he.TYPE,Int32Array:he.TYPE,Uint32Array:he.TYPE,Float32Array:he.TYPE,Float64Array:he.TYPE,BigInt64Array:he.TYPE,BigUint64Array:he.TYPE};var Fr={};Object.defineProperty(Fr,"__esModule",{value:!0}),Fr.es2022_error=void 0;const Me=C;Fr.es2022_error={ErrorOptions:Me.TYPE,Error:Me.TYPE,ErrorConstructor:Me.TYPE,EvalErrorConstructor:Me.TYPE,RangeErrorConstructor:Me.TYPE,ReferenceErrorConstructor:Me.TYPE,SyntaxErrorConstructor:Me.TYPE,TypeErrorConstructor:Me.TYPE,URIErrorConstructor:Me.TYPE,AggregateErrorConstructor:Me.TYPE};var $r={};Object.defineProperty($r,"__esModule",{value:!0}),$r.es2022_intl=void 0;const L_=C;$r.es2022_intl={Intl:L_.TYPE_VALUE};var kr={};Object.defineProperty(kr,"__esModule",{value:!0}),kr.es2022_object=void 0;const A_=C;kr.es2022_object={ObjectConstructor:A_.TYPE};var Nr={};Object.defineProperty(Nr,"__esModule",{value:!0}),Nr.es2022_regexp=void 0;const Ti=C;Nr.es2022_regexp={RegExpMatchArray:Ti.TYPE,RegExpExecArray:Ti.TYPE,RegExpIndicesArray:Ti.TYPE,RegExp:Ti.TYPE};var Br={};Object.defineProperty(Br,"__esModule",{value:!0}),Br.es2022_sharedmemory=void 0;const C_=C;Br.es2022_sharedmemory={Atomics:C_.TYPE};var jr={};Object.defineProperty(jr,"__esModule",{value:!0}),jr.es2022_string=void 0;const w_=C;jr.es2022_string={String:w_.TYPE},Object.defineProperty(Bt,"__esModule",{value:!0}),Bt.es2022=void 0;const V_=Nt,O_=Dr,M_=Fr,U_=$r,R_=kr,I_=Nr,x_=Br,D_=jr;Bt.es2022={...V_.es2021,...O_.es2022_array,...M_.es2022_error,...U_.es2022_intl,...R_.es2022_object,...x_.es2022_sharedmemory,...D_.es2022_string,...I_.es2022_regexp};var Pi={};Object.defineProperty(Pi,"__esModule",{value:!0}),Pi.es2022_full=void 0;const F_=fe,$_=Le,k_=me,N_=Bt,B_=de,j_=Te;Pi.es2022_full={...N_.es2022,...F_.dom,...j_.webworker_importscripts,...B_.scripthost,...k_.dom_iterable,...$_.dom_asynciterable};var jt={},Gr={};Object.defineProperty(Gr,"__esModule",{value:!0}),Gr.es2023_array=void 0;const _e=C;Gr.es2023_array={Array:_e.TYPE,ReadonlyArray:_e.TYPE,Int8Array:_e.TYPE,Uint8Array:_e.TYPE,Uint8ClampedArray:_e.TYPE,Int16Array:_e.TYPE,Uint16Array:_e.TYPE,Int32Array:_e.TYPE,Uint32Array:_e.TYPE,Float32Array:_e.TYPE,Float64Array:_e.TYPE,BigInt64Array:_e.TYPE,BigUint64Array:_e.TYPE};var Wr={};Object.defineProperty(Wr,"__esModule",{value:!0}),Wr.es2023_collection=void 0;const G_=C;Wr.es2023_collection={WeakKeyTypes:G_.TYPE},Object.defineProperty(jt,"__esModule",{value:!0}),jt.es2023=void 0;const W_=Bt,H_=Gr,K_=Wr;jt.es2023={...W_.es2022,...H_.es2023_array,...K_.es2023_collection};var mi={};Object.defineProperty(mi,"__esModule",{value:!0}),mi.es2023_full=void 0;const X_=fe,z_=Le,q_=me,J_=jt,Q_=de,Z_=Te;mi.es2023_full={...J_.es2023,...X_.dom,...Z_.webworker_importscripts,...Q_.scripthost,...q_.dom_iterable,...z_.dom_asynciterable};var Hr={},Kr={};Object.defineProperty(Kr,"__esModule",{value:!0}),Kr.esnext_collection=void 0;const e1=C;Kr.esnext_collection={MapConstructor:e1.TYPE};var Xr={};Object.defineProperty(Xr,"__esModule",{value:!0}),Xr.esnext_decorators=void 0;const rc=C,t1=St,r1=Ee;Xr.esnext_decorators={...r1.es2015_symbol,...t1.decorators,SymbolConstructor:rc.TYPE,Function:rc.TYPE};var zr={};Object.defineProperty(zr,"__esModule",{value:!0}),zr.esnext_disposable=void 0;const Be=C,n1=Ee;zr.esnext_disposable={...n1.es2015_symbol,SymbolConstructor:Be.TYPE,Disposable:Be.TYPE,AsyncDisposable:Be.TYPE,SuppressedError:Be.TYPE_VALUE,SuppressedErrorConstructor:Be.TYPE,DisposableStack:Be.TYPE_VALUE,DisposableStackConstructor:Be.TYPE,AsyncDisposableStack:Be.TYPE_VALUE,AsyncDisposableStackConstructor:Be.TYPE};var qr={};Object.defineProperty(qr,"__esModule",{value:!0}),qr.esnext_intl=void 0;const i1=C;qr.esnext_intl={Intl:i1.TYPE_VALUE};var Jr={};Object.defineProperty(Jr,"__esModule",{value:!0}),Jr.esnext_object=void 0;const s1=C;Jr.esnext_object={ObjectConstructor:s1.TYPE};var Qr={};Object.defineProperty(Qr,"__esModule",{value:!0}),Qr.esnext_promise=void 0;const nc=C;Qr.esnext_promise={PromiseWithResolvers:nc.TYPE,PromiseConstructor:nc.TYPE},Object.defineProperty(Hr,"__esModule",{value:!0}),Hr.esnext=void 0;const o1=jt,a1=Kr,l1=Xr,c1=zr,u1=qr,p1=Jr,f1=Qr;Hr.esnext={...o1.es2023,...u1.esnext_intl,...l1.esnext_decorators,...c1.esnext_disposable,...f1.esnext_promise,...p1.esnext_object,...a1.esnext_collection};var yi={};Object.defineProperty(yi,"__esModule",{value:!0}),yi.esnext_array=void 0;const be=C;yi.esnext_array={Array:be.TYPE,ReadonlyArray:be.TYPE,Int8Array:be.TYPE,Uint8Array:be.TYPE,Uint8ClampedArray:be.TYPE,Int16Array:be.TYPE,Uint16Array:be.TYPE,Int32Array:be.TYPE,Uint32Array:be.TYPE,Float32Array:be.TYPE,Float64Array:be.TYPE,BigInt64Array:be.TYPE,BigUint64Array:be.TYPE};var hi={};Object.defineProperty(hi,"__esModule",{value:!0}),hi.esnext_asynciterable=void 0;const _i=C,E1=Se,d1=Ee;hi.esnext_asynciterable={...d1.es2015_symbol,...E1.es2015_iterable,SymbolConstructor:_i.TYPE,AsyncIterator:_i.TYPE,AsyncIterable:_i.TYPE,AsyncIterableIterator:_i.TYPE};var bi={};Object.defineProperty(bi,"__esModule",{value:!0}),bi.esnext_bigint=void 0;const je=C,T1=ke;bi.esnext_bigint={...T1.es2020_intl,BigIntToLocaleStringOptions:je.TYPE,BigInt:je.TYPE_VALUE,BigIntConstructor:je.TYPE,BigInt64Array:je.TYPE_VALUE,BigInt64ArrayConstructor:je.TYPE,BigUint64Array:je.TYPE_VALUE,BigUint64ArrayConstructor:je.TYPE,DataView:je.TYPE,Intl:je.TYPE_VALUE};var gi={};Object.defineProperty(gi,"__esModule",{value:!0}),gi.esnext_full=void 0;const P1=fe,m1=Le,y1=me,h1=Hr,_1=de,b1=Te;gi.esnext_full={...h1.esnext,...P1.dom,...b1.webworker_importscripts,..._1.scripthost,...y1.dom_iterable,...m1.dom_asynciterable};var vi={};Object.defineProperty(vi,"__esModule",{value:!0}),vi.esnext_string=void 0;const g1=C;vi.esnext_string={String:g1.TYPE};var Si={};Object.defineProperty(Si,"__esModule",{value:!0}),Si.esnext_symbol=void 0;const v1=C;Si.esnext_symbol={Symbol:v1.TYPE};var Yi={};Object.defineProperty(Yi,"__esModule",{value:!0}),Yi.esnext_weakref=void 0;const Li=C;Yi.esnext_weakref={WeakRef:Li.TYPE_VALUE,WeakRefConstructor:Li.TYPE,FinalizationRegistry:Li.TYPE_VALUE,FinalizationRegistryConstructor:Li.TYPE};var Ai={};Object.defineProperty(Ai,"__esModule",{value:!0}),Ai.lib=void 0;const S1=fe,Y1=ot,L1=de,A1=Te;Ai.lib={...Y1.es5,...S1.dom,...A1.webworker_importscripts,...L1.scripthost};var Ci={};Object.defineProperty(Ci,"__esModule",{value:!0}),Ci.webworker=void 0;const o=C;Ci.webworker={AddEventListenerOptions:o.TYPE,AesCbcParams:o.TYPE,AesCtrParams:o.TYPE,AesDerivedKeyParams:o.TYPE,AesGcmParams:o.TYPE,AesKeyAlgorithm:o.TYPE,AesKeyGenParams:o.TYPE,Algorithm:o.TYPE,AudioConfiguration:o.TYPE,AvcEncoderConfig:o.TYPE,BlobPropertyBag:o.TYPE,CSSMatrixComponentOptions:o.TYPE,CSSNumericType:o.TYPE,CacheQueryOptions:o.TYPE,ClientQueryOptions:o.TYPE,CloseEventInit:o.TYPE,CryptoKeyPair:o.TYPE,CustomEventInit:o.TYPE,DOMMatrix2DInit:o.TYPE,DOMMatrixInit:o.TYPE,DOMPointInit:o.TYPE,DOMQuadInit:o.TYPE,DOMRectInit:o.TYPE,EcKeyGenParams:o.TYPE,EcKeyImportParams:o.TYPE,EcdhKeyDeriveParams:o.TYPE,EcdsaParams:o.TYPE,EncodedVideoChunkInit:o.TYPE,EncodedVideoChunkMetadata:o.TYPE,ErrorEventInit:o.TYPE,EventInit:o.TYPE,EventListenerOptions:o.TYPE,EventSourceInit:o.TYPE,ExtendableEventInit:o.TYPE,ExtendableMessageEventInit:o.TYPE,FetchEventInit:o.TYPE,FilePropertyBag:o.TYPE,FileSystemCreateWritableOptions:o.TYPE,FileSystemGetDirectoryOptions:o.TYPE,FileSystemGetFileOptions:o.TYPE,FileSystemReadWriteOptions:o.TYPE,FileSystemRemoveOptions:o.TYPE,FontFaceDescriptors:o.TYPE,FontFaceSetLoadEventInit:o.TYPE,GetNotificationOptions:o.TYPE,HkdfParams:o.TYPE,HmacImportParams:o.TYPE,HmacKeyGenParams:o.TYPE,IDBDatabaseInfo:o.TYPE,IDBIndexParameters:o.TYPE,IDBObjectStoreParameters:o.TYPE,IDBTransactionOptions:o.TYPE,IDBVersionChangeEventInit:o.TYPE,ImageBitmapOptions:o.TYPE,ImageBitmapRenderingContextSettings:o.TYPE,ImageDataSettings:o.TYPE,ImageEncodeOptions:o.TYPE,ImportMeta:o.TYPE,JsonWebKey:o.TYPE,KeyAlgorithm:o.TYPE,LockInfo:o.TYPE,LockManagerSnapshot:o.TYPE,LockOptions:o.TYPE,MediaCapabilitiesDecodingInfo:o.TYPE,MediaCapabilitiesEncodingInfo:o.TYPE,MediaCapabilitiesInfo:o.TYPE,MediaConfiguration:o.TYPE,MediaDecodingConfiguration:o.TYPE,MediaEncodingConfiguration:o.TYPE,MessageEventInit:o.TYPE,MultiCacheQueryOptions:o.TYPE,NavigationPreloadState:o.TYPE,NotificationEventInit:o.TYPE,NotificationOptions:o.TYPE,Pbkdf2Params:o.TYPE,PerformanceMarkOptions:o.TYPE,PerformanceMeasureOptions:o.TYPE,PerformanceObserverInit:o.TYPE,PermissionDescriptor:o.TYPE,PlaneLayout:o.TYPE,ProgressEventInit:o.TYPE,PromiseRejectionEventInit:o.TYPE,PushEventInit:o.TYPE,PushSubscriptionJSON:o.TYPE,PushSubscriptionOptionsInit:o.TYPE,QueuingStrategy:o.TYPE,QueuingStrategyInit:o.TYPE,RTCEncodedAudioFrameMetadata:o.TYPE,RTCEncodedVideoFrameMetadata:o.TYPE,ReadableStreamGetReaderOptions:o.TYPE,ReadableStreamReadDoneResult:o.TYPE,ReadableStreamReadValueResult:o.TYPE,ReadableWritablePair:o.TYPE,RegistrationOptions:o.TYPE,ReportingObserverOptions:o.TYPE,RequestInit:o.TYPE,ResponseInit:o.TYPE,RsaHashedImportParams:o.TYPE,RsaHashedKeyGenParams:o.TYPE,RsaKeyGenParams:o.TYPE,RsaOaepParams:o.TYPE,RsaOtherPrimesInfo:o.TYPE,RsaPssParams:o.TYPE,SecurityPolicyViolationEventInit:o.TYPE,StorageEstimate:o.TYPE,StreamPipeOptions:o.TYPE,StructuredSerializeOptions:o.TYPE,TextDecodeOptions:o.TYPE,TextDecoderOptions:o.TYPE,TextEncoderEncodeIntoResult:o.TYPE,Transformer:o.TYPE,UnderlyingByteSource:o.TYPE,UnderlyingDefaultSource:o.TYPE,UnderlyingSink:o.TYPE,UnderlyingSource:o.TYPE,VideoColorSpaceInit:o.TYPE,VideoConfiguration:o.TYPE,VideoDecoderConfig:o.TYPE,VideoDecoderInit:o.TYPE,VideoDecoderSupport:o.TYPE,VideoEncoderConfig:o.TYPE,VideoEncoderEncodeOptions:o.TYPE,VideoEncoderInit:o.TYPE,VideoEncoderSupport:o.TYPE,VideoFrameBufferInit:o.TYPE,VideoFrameCopyToOptions:o.TYPE,VideoFrameInit:o.TYPE,WebGLContextAttributes:o.TYPE,WebGLContextEventInit:o.TYPE,WebTransportCloseInfo:o.TYPE,WebTransportErrorOptions:o.TYPE,WebTransportHash:o.TYPE,WebTransportOptions:o.TYPE,WebTransportSendStreamOptions:o.TYPE,WorkerOptions:o.TYPE,WriteParams:o.TYPE,ANGLE_instanced_arrays:o.TYPE,AbortController:o.TYPE_VALUE,AbortSignalEventMap:o.TYPE,AbortSignal:o.TYPE_VALUE,AbstractWorkerEventMap:o.TYPE,AbstractWorker:o.TYPE,AnimationFrameProvider:o.TYPE,Blob:o.TYPE_VALUE,Body:o.TYPE,BroadcastChannelEventMap:o.TYPE,BroadcastChannel:o.TYPE_VALUE,ByteLengthQueuingStrategy:o.TYPE_VALUE,CSSImageValue:o.TYPE_VALUE,CSSKeywordValue:o.TYPE_VALUE,CSSMathClamp:o.TYPE_VALUE,CSSMathInvert:o.TYPE_VALUE,CSSMathMax:o.TYPE_VALUE,CSSMathMin:o.TYPE_VALUE,CSSMathNegate:o.TYPE_VALUE,CSSMathProduct:o.TYPE_VALUE,CSSMathSum:o.TYPE_VALUE,CSSMathValue:o.TYPE_VALUE,CSSMatrixComponent:o.TYPE_VALUE,CSSNumericArray:o.TYPE_VALUE,CSSNumericValue:o.TYPE_VALUE,CSSPerspective:o.TYPE_VALUE,CSSRotate:o.TYPE_VALUE,CSSScale:o.TYPE_VALUE,CSSSkew:o.TYPE_VALUE,CSSSkewX:o.TYPE_VALUE,CSSSkewY:o.TYPE_VALUE,CSSStyleValue:o.TYPE_VALUE,CSSTransformComponent:o.TYPE_VALUE,CSSTransformValue:o.TYPE_VALUE,CSSTranslate:o.TYPE_VALUE,CSSUnitValue:o.TYPE_VALUE,CSSUnparsedValue:o.TYPE_VALUE,CSSVariableReferenceValue:o.TYPE_VALUE,Cache:o.TYPE_VALUE,CacheStorage:o.TYPE_VALUE,CanvasCompositing:o.TYPE,CanvasDrawImage:o.TYPE,CanvasDrawPath:o.TYPE,CanvasFillStrokeStyles:o.TYPE,CanvasFilters:o.TYPE,CanvasGradient:o.TYPE_VALUE,CanvasImageData:o.TYPE,CanvasImageSmoothing:o.TYPE,CanvasPath:o.TYPE,CanvasPathDrawingStyles:o.TYPE,CanvasPattern:o.TYPE_VALUE,CanvasRect:o.TYPE,CanvasShadowStyles:o.TYPE,CanvasState:o.TYPE,CanvasText:o.TYPE,CanvasTextDrawingStyles:o.TYPE,CanvasTransform:o.TYPE,Client:o.TYPE_VALUE,Clients:o.TYPE_VALUE,CloseEvent:o.TYPE_VALUE,CompressionStream:o.TYPE_VALUE,CountQueuingStrategy:o.TYPE_VALUE,Crypto:o.TYPE_VALUE,CryptoKey:o.TYPE_VALUE,CustomEvent:o.TYPE_VALUE,DOMException:o.TYPE_VALUE,DOMMatrix:o.TYPE_VALUE,DOMMatrixReadOnly:o.TYPE_VALUE,DOMPoint:o.TYPE_VALUE,DOMPointReadOnly:o.TYPE_VALUE,DOMQuad:o.TYPE_VALUE,DOMRect:o.TYPE_VALUE,DOMRectReadOnly:o.TYPE_VALUE,DOMStringList:o.TYPE_VALUE,DecompressionStream:o.TYPE_VALUE,DedicatedWorkerGlobalScopeEventMap:o.TYPE,DedicatedWorkerGlobalScope:o.TYPE_VALUE,EXT_blend_minmax:o.TYPE,EXT_color_buffer_float:o.TYPE,EXT_color_buffer_half_float:o.TYPE,EXT_float_blend:o.TYPE,EXT_frag_depth:o.TYPE,EXT_sRGB:o.TYPE,EXT_shader_texture_lod:o.TYPE,EXT_texture_compression_bptc:o.TYPE,EXT_texture_compression_rgtc:o.TYPE,EXT_texture_filter_anisotropic:o.TYPE,EXT_texture_norm16:o.TYPE,EncodedVideoChunk:o.TYPE_VALUE,ErrorEvent:o.TYPE_VALUE,Event:o.TYPE_VALUE,EventListener:o.TYPE,EventListenerObject:o.TYPE,EventSourceEventMap:o.TYPE,EventSource:o.TYPE_VALUE,EventTarget:o.TYPE_VALUE,ExtendableEvent:o.TYPE_VALUE,ExtendableMessageEvent:o.TYPE_VALUE,FetchEvent:o.TYPE_VALUE,File:o.TYPE_VALUE,FileList:o.TYPE_VALUE,FileReaderEventMap:o.TYPE,FileReader:o.TYPE_VALUE,FileReaderSync:o.TYPE_VALUE,FileSystemDirectoryHandle:o.TYPE_VALUE,FileSystemFileHandle:o.TYPE_VALUE,FileSystemHandle:o.TYPE_VALUE,FileSystemSyncAccessHandle:o.TYPE_VALUE,FileSystemWritableFileStream:o.TYPE_VALUE,FontFace:o.TYPE_VALUE,FontFaceSetEventMap:o.TYPE,FontFaceSet:o.TYPE_VALUE,FontFaceSetLoadEvent:o.TYPE_VALUE,FontFaceSource:o.TYPE,FormData:o.TYPE_VALUE,GenericTransformStream:o.TYPE,Headers:o.TYPE_VALUE,IDBCursor:o.TYPE_VALUE,IDBCursorWithValue:o.TYPE_VALUE,IDBDatabaseEventMap:o.TYPE,IDBDatabase:o.TYPE_VALUE,IDBFactory:o.TYPE_VALUE,IDBIndex:o.TYPE_VALUE,IDBKeyRange:o.TYPE_VALUE,IDBObjectStore:o.TYPE_VALUE,IDBOpenDBRequestEventMap:o.TYPE,IDBOpenDBRequest:o.TYPE_VALUE,IDBRequestEventMap:o.TYPE,IDBRequest:o.TYPE_VALUE,IDBTransactionEventMap:o.TYPE,IDBTransaction:o.TYPE_VALUE,IDBVersionChangeEvent:o.TYPE_VALUE,ImageBitmap:o.TYPE_VALUE,ImageBitmapRenderingContext:o.TYPE_VALUE,ImageData:o.TYPE_VALUE,KHR_parallel_shader_compile:o.TYPE,Lock:o.TYPE_VALUE,LockManager:o.TYPE_VALUE,MediaCapabilities:o.TYPE_VALUE,MessageChannel:o.TYPE_VALUE,MessageEvent:o.TYPE_VALUE,MessagePortEventMap:o.TYPE,MessagePort:o.TYPE_VALUE,NavigationPreloadManager:o.TYPE_VALUE,NavigatorBadge:o.TYPE,NavigatorConcurrentHardware:o.TYPE,NavigatorID:o.TYPE,NavigatorLanguage:o.TYPE,NavigatorLocks:o.TYPE,NavigatorOnLine:o.TYPE,NavigatorStorage:o.TYPE,NotificationEventMap:o.TYPE,Notification:o.TYPE_VALUE,NotificationEvent:o.TYPE_VALUE,OES_draw_buffers_indexed:o.TYPE,OES_element_index_uint:o.TYPE,OES_fbo_render_mipmap:o.TYPE,OES_standard_derivatives:o.TYPE,OES_texture_float:o.TYPE,OES_texture_float_linear:o.TYPE,OES_texture_half_float:o.TYPE,OES_texture_half_float_linear:o.TYPE,OES_vertex_array_object:o.TYPE,OVR_multiview2:o.TYPE,OffscreenCanvasEventMap:o.TYPE,OffscreenCanvas:o.TYPE_VALUE,OffscreenCanvasRenderingContext2D:o.TYPE_VALUE,Path2D:o.TYPE_VALUE,PerformanceEventMap:o.TYPE,Performance:o.TYPE_VALUE,PerformanceEntry:o.TYPE_VALUE,PerformanceMark:o.TYPE_VALUE,PerformanceMeasure:o.TYPE_VALUE,PerformanceObserver:o.TYPE_VALUE,PerformanceObserverEntryList:o.TYPE_VALUE,PerformanceResourceTiming:o.TYPE_VALUE,PerformanceServerTiming:o.TYPE_VALUE,PermissionStatusEventMap:o.TYPE,PermissionStatus:o.TYPE_VALUE,Permissions:o.TYPE_VALUE,ProgressEvent:o.TYPE_VALUE,PromiseRejectionEvent:o.TYPE_VALUE,PushEvent:o.TYPE_VALUE,PushManager:o.TYPE_VALUE,PushMessageData:o.TYPE_VALUE,PushSubscription:o.TYPE_VALUE,PushSubscriptionOptions:o.TYPE_VALUE,RTCEncodedAudioFrame:o.TYPE_VALUE,RTCEncodedVideoFrame:o.TYPE_VALUE,RTCRtpScriptTransformer:o.TYPE_VALUE,RTCTransformEvent:o.TYPE_VALUE,ReadableByteStreamController:o.TYPE_VALUE,ReadableStream:o.TYPE_VALUE,ReadableStreamBYOBReader:o.TYPE_VALUE,ReadableStreamBYOBRequest:o.TYPE_VALUE,ReadableStreamDefaultController:o.TYPE_VALUE,ReadableStreamDefaultReader:o.TYPE_VALUE,ReadableStreamGenericReader:o.TYPE,Report:o.TYPE_VALUE,ReportBody:o.TYPE_VALUE,ReportingObserver:o.TYPE_VALUE,Request:o.TYPE_VALUE,Response:o.TYPE_VALUE,SecurityPolicyViolationEvent:o.TYPE_VALUE,ServiceWorkerEventMap:o.TYPE,ServiceWorker:o.TYPE_VALUE,ServiceWorkerContainerEventMap:o.TYPE,ServiceWorkerContainer:o.TYPE_VALUE,ServiceWorkerGlobalScopeEventMap:o.TYPE,ServiceWorkerGlobalScope:o.TYPE_VALUE,ServiceWorkerRegistrationEventMap:o.TYPE,ServiceWorkerRegistration:o.TYPE_VALUE,SharedWorkerGlobalScopeEventMap:o.TYPE,SharedWorkerGlobalScope:o.TYPE_VALUE,StorageManager:o.TYPE_VALUE,StylePropertyMapReadOnly:o.TYPE_VALUE,SubtleCrypto:o.TYPE_VALUE,TextDecoder:o.TYPE_VALUE,TextDecoderCommon:o.TYPE,TextDecoderStream:o.TYPE_VALUE,TextEncoder:o.TYPE_VALUE,TextEncoderCommon:o.TYPE,TextEncoderStream:o.TYPE_VALUE,TextMetrics:o.TYPE_VALUE,TransformStream:o.TYPE_VALUE,TransformStreamDefaultController:o.TYPE_VALUE,URL:o.TYPE_VALUE,URLSearchParams:o.TYPE_VALUE,VideoColorSpace:o.TYPE_VALUE,VideoDecoderEventMap:o.TYPE,VideoDecoder:o.TYPE_VALUE,VideoEncoderEventMap:o.TYPE,VideoEncoder:o.TYPE_VALUE,VideoFrame:o.TYPE_VALUE,WEBGL_color_buffer_float:o.TYPE,WEBGL_compressed_texture_astc:o.TYPE,WEBGL_compressed_texture_etc:o.TYPE,WEBGL_compressed_texture_etc1:o.TYPE,WEBGL_compressed_texture_pvrtc:o.TYPE,WEBGL_compressed_texture_s3tc:o.TYPE,WEBGL_compressed_texture_s3tc_srgb:o.TYPE,WEBGL_debug_renderer_info:o.TYPE,WEBGL_debug_shaders:o.TYPE,WEBGL_depth_texture:o.TYPE,WEBGL_draw_buffers:o.TYPE,WEBGL_lose_context:o.TYPE,WEBGL_multi_draw:o.TYPE,WebGL2RenderingContext:o.TYPE_VALUE,WebGL2RenderingContextBase:o.TYPE,WebGL2RenderingContextOverloads:o.TYPE,WebGLActiveInfo:o.TYPE_VALUE,WebGLBuffer:o.TYPE_VALUE,WebGLContextEvent:o.TYPE_VALUE,WebGLFramebuffer:o.TYPE_VALUE,WebGLProgram:o.TYPE_VALUE,WebGLQuery:o.TYPE_VALUE,WebGLRenderbuffer:o.TYPE_VALUE,WebGLRenderingContext:o.TYPE_VALUE,WebGLRenderingContextBase:o.TYPE,WebGLRenderingContextOverloads:o.TYPE,WebGLSampler:o.TYPE_VALUE,WebGLShader:o.TYPE_VALUE,WebGLShaderPrecisionFormat:o.TYPE_VALUE,WebGLSync:o.TYPE_VALUE,WebGLTexture:o.TYPE_VALUE,WebGLTransformFeedback:o.TYPE_VALUE,WebGLUniformLocation:o.TYPE_VALUE,WebGLVertexArrayObject:o.TYPE_VALUE,WebGLVertexArrayObjectOES:o.TYPE,WebSocketEventMap:o.TYPE,WebSocket:o.TYPE_VALUE,WebTransport:o.TYPE_VALUE,WebTransportBidirectionalStream:o.TYPE_VALUE,WebTransportDatagramDuplexStream:o.TYPE_VALUE,WebTransportError:o.TYPE_VALUE,WindowClient:o.TYPE_VALUE,WindowOrWorkerGlobalScope:o.TYPE,WorkerEventMap:o.TYPE,Worker:o.TYPE_VALUE,WorkerGlobalScopeEventMap:o.TYPE,WorkerGlobalScope:o.TYPE_VALUE,WorkerLocation:o.TYPE_VALUE,WorkerNavigator:o.TYPE_VALUE,WritableStream:o.TYPE_VALUE,WritableStreamDefaultController:o.TYPE_VALUE,WritableStreamDefaultWriter:o.TYPE_VALUE,XMLHttpRequestEventMap:o.TYPE,XMLHttpRequest:o.TYPE_VALUE,XMLHttpRequestEventTargetEventMap:o.TYPE,XMLHttpRequestEventTarget:o.TYPE_VALUE,XMLHttpRequestUpload:o.TYPE_VALUE,Console:o.TYPE,WebAssembly:o.TYPE_VALUE,EncodedVideoChunkOutputCallback:o.TYPE,FrameRequestCallback:o.TYPE,LockGrantedCallback:o.TYPE,OnErrorEventHandlerNonNull:o.TYPE,PerformanceObserverCallback:o.TYPE,QueuingStrategySize:o.TYPE,ReportingObserverCallback:o.TYPE,TransformerFlushCallback:o.TYPE,TransformerStartCallback:o.TYPE,TransformerTransformCallback:o.TYPE,UnderlyingSinkAbortCallback:o.TYPE,UnderlyingSinkCloseCallback:o.TYPE,UnderlyingSinkStartCallback:o.TYPE,UnderlyingSinkWriteCallback:o.TYPE,UnderlyingSourceCancelCallback:o.TYPE,UnderlyingSourcePullCallback:o.TYPE,UnderlyingSourceStartCallback:o.TYPE,VideoFrameOutputCallback:o.TYPE,VoidFunction:o.TYPE,WebCodecsErrorCallback:o.TYPE,AlgorithmIdentifier:o.TYPE,AllowSharedBufferSource:o.TYPE,BigInteger:o.TYPE,BinaryData:o.TYPE,BlobPart:o.TYPE,BodyInit:o.TYPE,BufferSource:o.TYPE,CSSKeywordish:o.TYPE,CSSNumberish:o.TYPE,CSSPerspectiveValue:o.TYPE,CSSUnparsedSegment:o.TYPE,CanvasImageSource:o.TYPE,DOMHighResTimeStamp:o.TYPE,EpochTimeStamp:o.TYPE,EventListenerOrEventListenerObject:o.TYPE,FileSystemWriteChunkType:o.TYPE,Float32List:o.TYPE,FormDataEntryValue:o.TYPE,GLbitfield:o.TYPE,GLboolean:o.TYPE,GLclampf:o.TYPE,GLenum:o.TYPE,GLfloat:o.TYPE,GLint:o.TYPE,GLint64:o.TYPE,GLintptr:o.TYPE,GLsizei:o.TYPE,GLsizeiptr:o.TYPE,GLuint:o.TYPE,GLuint64:o.TYPE,HashAlgorithmIdentifier:o.TYPE,HeadersInit:o.TYPE,IDBValidKey:o.TYPE,ImageBitmapSource:o.TYPE,Int32List:o.TYPE,MessageEventSource:o.TYPE,NamedCurve:o.TYPE,OffscreenRenderingContext:o.TYPE,OnErrorEventHandler:o.TYPE,PerformanceEntryList:o.TYPE,PushMessageDataInit:o.TYPE,ReadableStreamController:o.TYPE,ReadableStreamReadResult:o.TYPE,ReadableStreamReader:o.TYPE,ReportList:o.TYPE,RequestInfo:o.TYPE,TexImageSource:o.TYPE,TimerHandler:o.TYPE,Transferable:o.TYPE,Uint32List:o.TYPE,XMLHttpRequestBodyInit:o.TYPE,AlphaOption:o.TYPE,AvcBitstreamFormat:o.TYPE,BinaryType:o.TYPE,CSSMathOperator:o.TYPE,CSSNumericBaseType:o.TYPE,CanvasDirection:o.TYPE,CanvasFillRule:o.TYPE,CanvasFontKerning:o.TYPE,CanvasFontStretch:o.TYPE,CanvasFontVariantCaps:o.TYPE,CanvasLineCap:o.TYPE,CanvasLineJoin:o.TYPE,CanvasTextAlign:o.TYPE,CanvasTextBaseline:o.TYPE,CanvasTextRendering:o.TYPE,ClientTypes:o.TYPE,CodecState:o.TYPE,ColorGamut:o.TYPE,ColorSpaceConversion:o.TYPE,CompressionFormat:o.TYPE,DocumentVisibilityState:o.TYPE,EncodedVideoChunkType:o.TYPE,EndingType:o.TYPE,FileSystemHandleKind:o.TYPE,FontDisplay:o.TYPE,FontFaceLoadStatus:o.TYPE,FontFaceSetLoadStatus:o.TYPE,FrameType:o.TYPE,GlobalCompositeOperation:o.TYPE,HardwareAcceleration:o.TYPE,HdrMetadataType:o.TYPE,IDBCursorDirection:o.TYPE,IDBRequestReadyState:o.TYPE,IDBTransactionDurability:o.TYPE,IDBTransactionMode:o.TYPE,ImageOrientation:o.TYPE,ImageSmoothingQuality:o.TYPE,KeyFormat:o.TYPE,KeyType:o.TYPE,KeyUsage:o.TYPE,LatencyMode:o.TYPE,LockMode:o.TYPE,MediaDecodingType:o.TYPE,MediaEncodingType:o.TYPE,NotificationDirection:o.TYPE,NotificationPermission:o.TYPE,OffscreenRenderingContextId:o.TYPE,PermissionName:o.TYPE,PermissionState:o.TYPE,PredefinedColorSpace:o.TYPE,PremultiplyAlpha:o.TYPE,PushEncryptionKeyName:o.TYPE,RTCEncodedVideoFrameType:o.TYPE,ReadableStreamReaderMode:o.TYPE,ReadableStreamType:o.TYPE,ReferrerPolicy:o.TYPE,RequestCache:o.TYPE,RequestCredentials:o.TYPE,RequestDestination:o.TYPE,RequestMode:o.TYPE,RequestPriority:o.TYPE,RequestRedirect:o.TYPE,ResizeQuality:o.TYPE,ResponseType:o.TYPE,SecurityPolicyViolationEventDisposition:o.TYPE,ServiceWorkerState:o.TYPE,ServiceWorkerUpdateViaCache:o.TYPE,TransferFunction:o.TYPE,VideoColorPrimaries:o.TYPE,VideoEncoderBitrateMode:o.TYPE,VideoMatrixCoefficients:o.TYPE,VideoPixelFormat:o.TYPE,VideoTransferCharacteristics:o.TYPE,WebGLPowerPreference:o.TYPE,WebTransportCongestionControl:o.TYPE,WebTransportErrorSource:o.TYPE,WorkerType:o.TYPE,WriteCommandType:o.TYPE,XMLHttpRequestResponseType:o.TYPE};var wi={};Object.defineProperty(wi,"__esModule",{value:!0}),wi.webworker_asynciterable=void 0;const C1=C;wi.webworker_asynciterable={FileSystemDirectoryHandle:C1.TYPE};var Vi={};Object.defineProperty(Vi,"__esModule",{value:!0}),Vi.webworker_iterable=void 0;const K=C;Vi.webworker_iterable={CSSNumericArray:K.TYPE,CSSTransformValue:K.TYPE,CSSUnparsedValue:K.TYPE,Cache:K.TYPE,CanvasPath:K.TYPE,CanvasPathDrawingStyles:K.TYPE,DOMStringList:K.TYPE,FileList:K.TYPE,FontFaceSet:K.TYPE,FormData:K.TYPE,Headers:K.TYPE,IDBDatabase:K.TYPE,IDBObjectStore:K.TYPE,MessageEvent:K.TYPE,StylePropertyMapReadOnly:K.TYPE,SubtleCrypto:K.TYPE,URLSearchParams:K.TYPE,WEBGL_draw_buffers:K.TYPE,WEBGL_multi_draw:K.TYPE,WebGL2RenderingContextBase:K.TYPE,WebGL2RenderingContextOverloads:K.TYPE,WebGLRenderingContextBase:K.TYPE,WebGLRenderingContextOverloads:K.TYPE},Object.defineProperty(ti,"__esModule",{value:!0}),ti.lib=void 0;const w1=St,V1=pr,O1=fe,M1=Le,U1=me,R1=ot,I1=ni,x1=ii,D1=Ot,F1=Yt,$1=Lt,k1=At,N1=Se,B1=Ct,j1=wt,G1=Vt,W1=Ee,H1=at,K1=Rt,X1=Mt,z1=si,q1=Ut,J1=It,Q1=fr,Z1=ai,e0=Er,t0=dr,r0=Tr,n0=Pr,i0=mr,s0=xt,o0=yr,a0=Dt,l0=ci,c0=Ft,u0=hr,p0=_r,f0=$t,E0=br,d0=ui,T0=gr,P0=vr,m0=Sr,y0=Yr,h0=kt,_0=Lr,b0=Ar,g0=fi,v0=ke,S0=Cr,Y0=wr,L0=Vr,A0=Or,C0=Mr,w0=Nt,V0=di,O0=Ur,M0=Rr,U0=Ir,R0=xr,I0=Bt,x0=Dr,D0=Fr,F0=Pi,$0=$r,k0=kr,N0=Nr,B0=Br,j0=jr,G0=jt,W0=Gr,H0=Wr,K0=mi,X0=Hr,z0=yi,q0=hi,J0=bi,Q0=Kr,Z0=Xr,eb=zr,tb=gi,rb=qr,nb=Jr,ib=Qr,sb=vi,ob=Si,ab=Yi,lb=Ai,cb=de,ub=Ci,pb=wi,fb=Te,Eb=Vi,db={es5:R1.es5,es6:I1.es6,es2015:D1.es2015,es7:x1.es7,es2016:K1.es2016,es2017:J1.es2017,es2018:s0.es2018,es2019:f0.es2019,es2020:h0.es2020,es2021:w0.es2021,es2022:I0.es2022,es2023:G0.es2023,esnext:X0.esnext,dom:O1.dom,"dom.iterable":U1.dom_iterable,"dom.asynciterable":M1.dom_asynciterable,webworker:ub.webworker,"webworker.importscripts":fb.webworker_importscripts,"webworker.iterable":Eb.webworker_iterable,"webworker.asynciterable":pb.webworker_asynciterable,scripthost:cb.scripthost,"es2015.core":$1.es2015_core,"es2015.collection":F1.es2015_collection,"es2015.generator":k1.es2015_generator,"es2015.iterable":N1.es2015_iterable,"es2015.promise":B1.es2015_promise,"es2015.proxy":j1.es2015_proxy,"es2015.reflect":G1.es2015_reflect,"es2015.symbol":W1.es2015_symbol,"es2015.symbol.wellknown":H1.es2015_symbol_wellknown,"es2016.array.include":X1.es2016_array_include,"es2016.intl":q1.es2016_intl,"es2017.date":Q1.es2017_date,"es2017.object":t0.es2017_object,"es2017.sharedmemory":r0.es2017_sharedmemory,"es2017.string":n0.es2017_string,"es2017.intl":e0.es2017_intl,"es2017.typedarrays":i0.es2017_typedarrays,"es2018.asyncgenerator":o0.es2018_asyncgenerator,"es2018.asynciterable":a0.es2018_asynciterable,"es2018.intl":c0.es2018_intl,"es2018.promise":u0.es2018_promise,"es2018.regexp":p0.es2018_regexp,"es2019.array":E0.es2019_array,"es2019.object":P0.es2019_object,"es2019.string":m0.es2019_string,"es2019.symbol":y0.es2019_symbol,"es2019.intl":T0.es2019_intl,"es2020.bigint":_0.es2020_bigint,"es2020.date":b0.es2020_date,"es2020.promise":Y0.es2020_promise,"es2020.sharedmemory":L0.es2020_sharedmemory,"es2020.string":A0.es2020_string,"es2020.symbol.wellknown":C0.es2020_symbol_wellknown,"es2020.intl":v0.es2020_intl,"es2020.number":S0.es2020_number,"es2021.promise":M0.es2021_promise,"es2021.string":U0.es2021_string,"es2021.weakref":R0.es2021_weakref,"es2021.intl":O0.es2021_intl,"es2022.array":x0.es2022_array,"es2022.error":D0.es2022_error,"es2022.intl":$0.es2022_intl,"es2022.object":k0.es2022_object,"es2022.sharedmemory":B0.es2022_sharedmemory,"es2022.string":j0.es2022_string,"es2022.regexp":N0.es2022_regexp,"es2023.array":W0.es2023_array,"es2023.collection":H0.es2023_collection,"esnext.array":z0.esnext_array,"esnext.collection":Q0.esnext_collection,"esnext.symbol":ob.esnext_symbol,"esnext.asynciterable":q0.esnext_asynciterable,"esnext.intl":rb.esnext_intl,"esnext.disposable":eb.esnext_disposable,"esnext.bigint":J0.esnext_bigint,"esnext.string":sb.esnext_string,"esnext.promise":ib.esnext_promise,"esnext.weakref":ab.esnext_weakref,"esnext.decorators":Z0.esnext_decorators,"esnext.object":nb.esnext_object,decorators:w1.decorators,"decorators.legacy":V1.decorators_legacy,"es2016.full":z1.es2016_full,"es2017.full":Z1.es2017_full,"es2018.full":l0.es2018_full,"es2019.full":d0.es2019_full,"es2020.full":g0.es2020_full,"es2021.full":V0.es2021_full,"es2022.full":F0.es2022_full,"es2023.full":K0.es2023_full,"esnext.full":tb.esnext_full,lib:lb.lib};ti.lib=db;var Oi={},Zr={},Mi={},Ui={},Q={},Ue={},lt=v&&v.__classPrivateFieldGet||function(t,e,n,i){if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!i:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?i:n==="a"?i.call(t):i?i.value:e.get(t)},ic=v&&v.__classPrivateFieldSet||function(t,e,n,i,s){if(i==="m")throw new TypeError("Private method is not writable");if(i==="a"&&!s)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!s:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return i==="a"?s.call(t,n):s?s.value=n:e.set(t,n),n},qe,en;Object.defineProperty(Ue,"__esModule",{value:!0}),Ue.ReferenceTypeFlag=Ue.ReferenceFlag=Ue.Reference=void 0;const Tb=Fe;var ct;(function(t){t[t.Read=1]="Read",t[t.Write=2]="Write",t[t.ReadWrite=3]="ReadWrite"})(ct||(Ue.ReferenceFlag=ct={}));const Pb=(0,Tb.createIdGenerator)();var tn;(function(t){t[t.Value=1]="Value",t[t.Type=2]="Type"})(tn||(Ue.ReferenceTypeFlag=tn={}));class mb{get isTypeReference(){return(lt(this,en,"f")&tn.Type)!==0}get isValueReference(){return(lt(this,en,"f")&tn.Value)!==0}constructor(e,n,i,s,l,u,E=tn.Value){this.$id=Pb(),qe.set(this,void 0),en.set(this,void 0),this.identifier=e,this.from=n,this.resolved=null,ic(this,qe,i,"f"),this.isWrite()&&(this.writeExpr=s,this.init=u),this.maybeImplicitGlobal=l,ic(this,en,E,"f")}isWrite(){return!!(lt(this,qe,"f")&ct.Write)}isRead(){return!!(lt(this,qe,"f")&ct.Read)}isReadOnly(){return lt(this,qe,"f")===ct.Read}isWriteOnly(){return lt(this,qe,"f")===ct.Write}isReadWrite(){return lt(this,qe,"f")===ct.ReadWrite}}Ue.Reference=mb,qe=new WeakMap,en=new WeakMap;var Ri={},rn={},nn={};Object.defineProperty(nn,"__esModule",{value:!0}),nn.VariableBase=void 0;const yb=Fe,hb=(0,yb.createIdGenerator)();class _b{constructor(e,n){this.$id=hb(),this.defs=[],this.eslintUsed=!1,this.identifiers=[],this.references=[],this.name=e,this.scope=n}}nn.VariableBase=_b,Object.defineProperty(rn,"__esModule",{value:!0}),rn.ESLintScopeVariable=void 0;const bb=nn;class gb extends bb.VariableBase{}rn.ESLintScopeVariable=gb;var Ii={};Object.defineProperty(Ii,"__esModule",{value:!0}),Ii.ImplicitLibVariable=void 0;const vb=rn;class Sb extends vb.ESLintScopeVariable{constructor(e,n,{isTypeVariable:i,isValueVariable:s,writeable:l,eslintImplicitGlobalSetting:u}){super(n,e),this.isTypeVariable=i??!1,this.isValueVariable=s??!1,this.writeable=l??!1,this.eslintImplicitGlobalSetting=u??"readonly"}}Ii.ImplicitLibVariable=Sb;var xi={};Object.defineProperty(xi,"__esModule",{value:!0}),xi.Variable=void 0;const Yb=nn;class Lb extends Yb.VariableBase{get isTypeVariable(){return this.defs.length===0?!0:this.defs.some(e=>e.isTypeDefinition)}get isValueVariable(){return this.defs.length===0?!0:this.defs.some(e=>e.isVariableDefinition)}}xi.Variable=Lb,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.Variable=t.ImplicitLibVariable=t.ESLintScopeVariable=void 0;var e=rn;Object.defineProperty(t,"ESLintScopeVariable",{enumerable:!0,get:function(){return e.ESLintScopeVariable}});var n=Ii;Object.defineProperty(t,"ImplicitLibVariable",{enumerable:!0,get:function(){return n.ImplicitLibVariable}});var i=xi;Object.defineProperty(t,"Variable",{enumerable:!0,get:function(){return i.Variable}})}(Ri);var X={};Object.defineProperty(X,"__esModule",{value:!0}),X.ScopeType=void 0;var sc;(function(t){t.block="block",t.catch="catch",t.class="class",t.classFieldInitializer="class-field-initializer",t.classStaticBlock="class-static-block",t.conditionalType="conditionalType",t.for="for",t.function="function",t.functionExpressionName="function-expression-name",t.functionType="functionType",t.global="global",t.mappedType="mappedType",t.module="module",t.switch="switch",t.tsEnum="tsEnum",t.tsModule="tsModule",t.type="type",t.with="with"})(sc||(X.ScopeType=sc={}));var oc=v&&v.__classPrivateFieldSet||function(t,e,n,i,s){if(i==="m")throw new TypeError("Private method is not writable");if(i==="a"&&!s)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!s:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return i==="a"?s.call(t,n):s?s.value=n:e.set(t,n),n},Je=v&&v.__classPrivateFieldGet||function(t,e,n,i){if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!i:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?i:n==="a"?i.call(t):i?i.value:e.get(t)},sn,Di,Fi,$i,Eo;Object.defineProperty(Q,"__esModule",{value:!0}),Q.ScopeBase=void 0;const on=Ve,Ab=Xe,Cb=ze,wb=Fe,Re=Ue,Vb=Ri,ee=X;function Ob(t,e,n){let i;if(t.upper?.isStrict||n||t.type===ee.ScopeType.class||t.type===ee.ScopeType.conditionalType||t.type===ee.ScopeType.functionType||t.type===ee.ScopeType.mappedType||t.type===ee.ScopeType.module||t.type===ee.ScopeType.tsEnum||t.type===ee.ScopeType.tsModule||t.type===ee.ScopeType.type)return!0;if(t.type===ee.ScopeType.block||t.type===ee.ScopeType.switch)return!1;if(t.type===ee.ScopeType.function){const s=e;switch(s.type){case on.AST_NODE_TYPES.ArrowFunctionExpression:if(s.body.type!==on.AST_NODE_TYPES.BlockStatement)return!1;i=s.body;break;case on.AST_NODE_TYPES.Program:i=s;break;default:i=s.body}if(!i)return!1}else if(t.type===ee.ScopeType.global)i=e;else return!1;for(const s of i.body){if(s.type!==on.AST_NODE_TYPES.ExpressionStatement)break;if(s.directive==="use strict")return!0;const l=s.expression;if(l.type!==on.AST_NODE_TYPES.Literal)break;if(l.raw==='"use strict"'||l.raw==="'use strict'"||l.value==="use strict")return!0}return!1}function Mb(t,e){t.scopes.push(e);const n=t.nodeToScope.get(e.block);n?n.push(e):t.nodeToScope.set(e.block,[e])}const Ub=(0,wb.createIdGenerator)(),Rb=new Set([ee.ScopeType.classFieldInitializer,ee.ScopeType.classStaticBlock,ee.ScopeType.function,ee.ScopeType.global,ee.ScopeType.module,ee.ScopeType.tsModule]);class Ib{constructor(e,n,i,s,l){this.$id=Ub(),this.childScopes=[],sn.set(this,void 0),Di.set(this,void 0),this.functionExpressionScope=!1,this.leftToResolve=[],this.references=[],this.set=new Map,this.through=[],this.variables=[],Fi.set(this,E=>{(()=>{const c=E.identifier.name,f=this.set.get(c);if(!f||!this.isValidResolution(E,f))return!1;const p=E.isTypeReference&&f.isTypeVariable,d=E.isValueReference&&f.isValueVariable;return!p&&!d?!1:(f.references.push(E),E.resolved=f,!0)})()||this.delegateToUpperScope(E)}),$i.set(this,E=>{let a=this;do a.through.push(E),a=a.upper;while(a)}),Eo.set(this,(E,a)=>{this.shouldStaticallyCloseForGlobal(E,a)?Je(this,Fi,"f").call(this,E):Je(this,$i,"f").call(this,E)});const u=i;this.type=n,oc(this,Di,this.type===ee.ScopeType.global||this.type===ee.ScopeType.with,"f"),this.block=s,this.variableScope=this.isVariableScope()?this:u.variableScope,this.upper=i,this.isStrict=Ob(this,s,l),u?.childScopes.push(this),oc(this,sn,e.declaredVariables,"f"),Mb(e,this)}isVariableScope(){return Rb.has(this.type)}shouldStaticallyClose(){return!Je(this,Di,"f")}shouldStaticallyCloseForGlobal(e,n){const i=e.identifier.name,s=this.set.get(i);if(!s)return!1;if(n.isModule())return!0;const l=s.defs;return l.length>0&&l.every(u=>!(u.type===Cb.DefinitionType.Variable&&u.parent.kind==="var"))}close(e){let n;return this.shouldStaticallyClose()?n=Je(this,Fi,"f"):this.type!=="global"?n=Je(this,$i,"f"):n=Je(this,Eo,"f"),(0,Ab.assert)(this.leftToResolve),this.leftToResolve.forEach(i=>n(i,e)),this.leftToResolve=null,this.upper}isValidResolution(e,n){return!0}delegateToUpperScope(e){this.upper?.leftToResolve?.push(e),this.through.push(e)}addDeclaredVariablesOfNode(e,n){if(n==null)return;let i=Je(this,sn,"f").get(n);i==null&&(i=[],Je(this,sn,"f").set(n,i)),i.includes(e)||i.push(e)}defineVariable(e,n,i,s,l){const u=typeof e=="string"?e:e.name;let E=n.get(u);E||(E=typeof e=="string"?new Vb.Variable(u,this):e,n.set(u,E),i.push(E)),l&&(E.defs.push(l),this.addDeclaredVariablesOfNode(E,l.node),this.addDeclaredVariablesOfNode(E,l.parent)),s&&E.identifiers.push(s)}defineIdentifier(e,n){this.defineVariable(e.name,this.set,this.variables,e,n)}defineLiteralIdentifier(e,n){this.defineVariable(e.value,this.set,this.variables,null,n)}referenceValue(e,n=Re.ReferenceFlag.Read,i,s,l=!1){const u=new Re.Reference(e,this,n,i,s,l,Re.ReferenceTypeFlag.Value);this.references.push(u),this.leftToResolve?.push(u)}referenceType(e){const n=new Re.Reference(e,this,Re.ReferenceFlag.Read,null,null,!1,Re.ReferenceTypeFlag.Type);this.references.push(n),this.leftToResolve?.push(n)}referenceDualValueType(e){const n=new Re.Reference(e,this,Re.ReferenceFlag.Read,null,null,!1,Re.ReferenceTypeFlag.Type|Re.ReferenceTypeFlag.Value);this.references.push(n),this.leftToResolve?.push(n)}}Q.ScopeBase=Ib,sn=new WeakMap,Di=new WeakMap,Fi=new WeakMap,$i=new WeakMap,Eo=new WeakMap,Object.defineProperty(Ui,"__esModule",{value:!0}),Ui.BlockScope=void 0;const xb=Q,Db=X;class Fb extends xb.ScopeBase{constructor(e,n,i){super(e,Db.ScopeType.block,n,i,!1)}}Ui.BlockScope=Fb;var ki={};Object.defineProperty(ki,"__esModule",{value:!0}),ki.CatchScope=void 0;const $b=Q,kb=X;class Nb extends $b.ScopeBase{constructor(e,n,i){super(e,kb.ScopeType.catch,n,i,!1)}}ki.CatchScope=Nb;var an={};Object.defineProperty(an,"__esModule",{value:!0}),an.ClassFieldInitializerScope=void 0;const Bb=Q,jb=X;class Gb extends Bb.ScopeBase{constructor(e,n,i){super(e,jb.ScopeType.classFieldInitializer,n,i,!1)}}an.ClassFieldInitializerScope=Gb;var Ni={};Object.defineProperty(Ni,"__esModule",{value:!0}),Ni.ClassScope=void 0;const Wb=Q,Hb=X;class Kb extends Wb.ScopeBase{constructor(e,n,i){super(e,Hb.ScopeType.class,n,i,!1)}}Ni.ClassScope=Kb;var Bi={};Object.defineProperty(Bi,"__esModule",{value:!0}),Bi.ConditionalTypeScope=void 0;const Xb=Q,zb=X;class qb extends Xb.ScopeBase{constructor(e,n,i){super(e,zb.ScopeType.conditionalType,n,i,!1)}}Bi.ConditionalTypeScope=qb;var ji={};Object.defineProperty(ji,"__esModule",{value:!0}),ji.ForScope=void 0;const Jb=Q,Qb=X;class Zb extends Jb.ScopeBase{constructor(e,n,i){super(e,Qb.ScopeType.for,n,i,!1)}}ji.ForScope=Zb;var Gi={};Object.defineProperty(Gi,"__esModule",{value:!0}),Gi.FunctionExpressionNameScope=void 0;const eg=ze,tg=Q,rg=X;class ng extends tg.ScopeBase{constructor(e,n,i){super(e,rg.ScopeType.functionExpressionName,n,i,!1),i.id&&this.defineIdentifier(i.id,new eg.FunctionNameDefinition(i.id,i)),this.functionExpressionScope=!0}}Gi.FunctionExpressionNameScope=ng;var Wi={};Object.defineProperty(Wi,"__esModule",{value:!0}),Wi.FunctionScope=void 0;const ac=Ve,ig=Q,sg=X;class og extends ig.ScopeBase{constructor(e,n,i,s){super(e,sg.ScopeType.function,n,i,s),this.block.type!==ac.AST_NODE_TYPES.ArrowFunctionExpression&&this.defineVariable("arguments",this.set,this.variables,null,null)}isValidResolution(e,n){if(this.block.type===ac.AST_NODE_TYPES.Program)return!0;const i=this.block.body?.range[0]??-1;return!(n.scope===this&&e.identifier.range[0]<i&&n.defs.every(s=>s.name.range[0]>=i))}}Wi.FunctionScope=og;var Hi={};Object.defineProperty(Hi,"__esModule",{value:!0}),Hi.FunctionTypeScope=void 0;const ag=Q,lg=X;class cg extends ag.ScopeBase{constructor(e,n,i){super(e,lg.ScopeType.functionType,n,i,!1)}}Hi.FunctionTypeScope=cg;var Ki={};Object.defineProperty(Ki,"__esModule",{value:!0}),Ki.GlobalScope=void 0;const ug=Ve,pg=Xe,fg=ur,Eg=Ri,dg=Q,Tg=X;class Pg extends dg.ScopeBase{constructor(e,n){super(e,Tg.ScopeType.global,null,n,!1),this.implicit={set:new Map,variables:[],leftToBeResolved:[]}}defineImplicitVariable(e,n){this.defineVariable(new Eg.ImplicitLibVariable(this,e,n),this.set,this.variables,null,null)}close(e){(0,pg.assert)(this.leftToResolve);for(const n of this.leftToResolve)if(n.maybeImplicitGlobal&&!this.set.has(n.identifier.name)){const i=n.maybeImplicitGlobal,s=i.pattern;s.type===ug.AST_NODE_TYPES.Identifier&&this.defineVariable(s.name,this.implicit.set,this.implicit.variables,s,new fg.ImplicitGlobalVariableDefinition(i.pattern,i.node))}return this.implicit.leftToBeResolved=this.leftToResolve,super.close(e)}}Ki.GlobalScope=Pg;var Xi={};Object.defineProperty(Xi,"__esModule",{value:!0}),Xi.MappedTypeScope=void 0;const mg=Q,yg=X;class hg extends mg.ScopeBase{constructor(e,n,i){super(e,yg.ScopeType.mappedType,n,i,!1)}}Xi.MappedTypeScope=hg;var zi={};Object.defineProperty(zi,"__esModule",{value:!0}),zi.ModuleScope=void 0;const _g=Q,bg=X;class gg extends _g.ScopeBase{constructor(e,n,i){super(e,bg.ScopeType.module,n,i,!1)}}zi.ModuleScope=gg;var lc={};Object.defineProperty(lc,"__esModule",{value:!0});var qi={};Object.defineProperty(qi,"__esModule",{value:!0}),qi.SwitchScope=void 0;const vg=Q,Sg=X;class Yg extends vg.ScopeBase{constructor(e,n,i){super(e,Sg.ScopeType.switch,n,i,!1)}}qi.SwitchScope=Yg;var Ji={};Object.defineProperty(Ji,"__esModule",{value:!0}),Ji.TSEnumScope=void 0;const Lg=Q,Ag=X;class Cg extends Lg.ScopeBase{constructor(e,n,i){super(e,Ag.ScopeType.tsEnum,n,i,!1)}}Ji.TSEnumScope=Cg;var Qi={};Object.defineProperty(Qi,"__esModule",{value:!0}),Qi.TSModuleScope=void 0;const wg=Q,Vg=X;class Og extends wg.ScopeBase{constructor(e,n,i){super(e,Vg.ScopeType.tsModule,n,i,!1)}}Qi.TSModuleScope=Og;var Zi={};Object.defineProperty(Zi,"__esModule",{value:!0}),Zi.TypeScope=void 0;const Mg=Q,Ug=X;class Rg extends Mg.ScopeBase{constructor(e,n,i){super(e,Ug.ScopeType.type,n,i,!1)}}Zi.TypeScope=Rg;var es={};Object.defineProperty(es,"__esModule",{value:!0}),es.WithScope=void 0;const Ig=Xe,xg=Q,Dg=X;class Fg extends xg.ScopeBase{constructor(e,n,i){super(e,Dg.ScopeType.with,n,i,!1)}close(e){return this.shouldStaticallyClose()?super.close(e):((0,Ig.assert)(this.leftToResolve),this.leftToResolve.forEach(n=>this.delegateToUpperScope(n)),this.leftToResolve=null,this.upper)}}es.WithScope=Fg,function(t){var e=v&&v.__createBinding||(Object.create?function(i,s,l,u){u===void 0&&(u=l);var E=Object.getOwnPropertyDescriptor(s,l);(!E||("get"in E?!s.__esModule:E.writable||E.configurable))&&(E={enumerable:!0,get:function(){return s[l]}}),Object.defineProperty(i,u,E)}:function(i,s,l,u){u===void 0&&(u=l),i[u]=s[l]}),n=v&&v.__exportStar||function(i,s){for(var l in i)l!=="default"&&!Object.prototype.hasOwnProperty.call(s,l)&&e(s,i,l)};Object.defineProperty(t,"__esModule",{value:!0}),n(Ui,t),n(ki,t),n(an,t),n(Ni,t),n(Bi,t),n(ji,t),n(Gi,t),n(Wi,t),n(Hi,t),n(Ki,t),n(Xi,t),n(zi,t),n(lc,t),n(X,t),n(qi,t),n(Ji,t),n(Qi,t),n(Zi,t),n(es,t)}(Mi);var ut={},Gt={},ln={},cc=v&&v.__classPrivateFieldSet||function(t,e,n,i,s){if(i==="m")throw new TypeError("Private method is not writable");if(i==="a"&&!s)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!s:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return i==="a"?s.call(t,n):s?s.value=n:e.set(t,n),n},uc=v&&v.__classPrivateFieldGet||function(t,e,n,i){if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!i:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?i:n==="a"?i.call(t):i?i.value:e.get(t)},ts,rs;Object.defineProperty(ln,"__esModule",{value:!0}),ln.VisitorBase=void 0;const $g=ao;function kg(t){return typeof t=="object"&&t!=null}function pc(t){return kg(t)&&typeof t.type=="string"}class Ng{constructor(e){ts.set(this,void 0),rs.set(this,void 0),cc(this,ts,e.childVisitorKeys??$g.visitorKeys,"f"),cc(this,rs,e.visitChildrenEvenIfSelectorExists??!1,"f")}visitChildren(e,n=[]){if(e?.type==null)return;const i=new Set([...n,"parent"]),s=uc(this,ts,"f")[e.type]??Object.keys(e);for(const l of s){if(i.has(l))continue;const u=e[l];if(u)if(Array.isArray(u))for(const E of u)pc(E)&&this.visit(E);else pc(u)&&this.visit(u)}}visit(e){if(e?.type==null)return;const n=this[e.type];n&&(n.call(this,e),!uc(this,rs,"f"))||this.visitChildren(e)}}ln.VisitorBase=Ng,ts=new WeakMap,rs=new WeakMap;var fc=v&&v.__classPrivateFieldSet||function(t,e,n,i,s){if(i==="m")throw new TypeError("Private method is not writable");if(i==="a"&&!s)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!s:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return i==="a"?s.call(t,n):s?s.value=n:e.set(t,n),n},Ie=v&&v.__classPrivateFieldGet||function(t,e,n,i){if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!i:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?i:n==="a"?i.call(t):i?i.value:e.get(t)},ns,is,pt,cn;Object.defineProperty(Gt,"__esModule",{value:!0}),Gt.PatternVisitor=void 0;const Wt=Ve,Bg=ln;class jg extends Bg.VisitorBase{static isPattern(e){const n=e.type;return n===Wt.AST_NODE_TYPES.Identifier||n===Wt.AST_NODE_TYPES.ObjectPattern||n===Wt.AST_NODE_TYPES.ArrayPattern||n===Wt.AST_NODE_TYPES.SpreadElement||n===Wt.AST_NODE_TYPES.RestElement||n===Wt.AST_NODE_TYPES.AssignmentPattern}constructor(e,n,i){super(e),ns.set(this,void 0),is.set(this,void 0),pt.set(this,[]),this.rightHandNodes=[],cn.set(this,[]),fc(this,ns,n,"f"),fc(this,is,i,"f")}ArrayExpression(e){e.elements.forEach(this.visit,this)}ArrayPattern(e){for(const n of e.elements)this.visit(n)}AssignmentExpression(e){Ie(this,pt,"f").push(e),this.visit(e.left),this.rightHandNodes.push(e.right),Ie(this,pt,"f").pop()}AssignmentPattern(e){Ie(this,pt,"f").push(e),this.visit(e.left),this.rightHandNodes.push(e.right),Ie(this,pt,"f").pop()}CallExpression(e){e.arguments.forEach(n=>{this.rightHandNodes.push(n)}),this.visit(e.callee)}Decorator(){}Identifier(e){const n=Ie(this,cn,"f").at(-1);Ie(this,is,"f").call(this,e,{topLevel:e===Ie(this,ns,"f"),rest:n?.argument===e,assignments:Ie(this,pt,"f")})}MemberExpression(e){e.computed&&this.rightHandNodes.push(e.property),this.rightHandNodes.push(e.object)}Property(e){e.computed&&this.rightHandNodes.push(e.key),this.visit(e.value)}RestElement(e){Ie(this,cn,"f").push(e),this.visit(e.argument),Ie(this,cn,"f").pop()}SpreadElement(e){this.visit(e.argument)}TSTypeAnnotation(){}}Gt.PatternVisitor=jg,ns=new WeakMap,is=new WeakMap,pt=new WeakMap,cn=new WeakMap,function(t){var e=v&&v.__classPrivateFieldGet||function(E,a,c,f){if(c==="a"&&!f)throw new TypeError("Private accessor was defined without a getter");if(typeof a=="function"?E!==a||!f:!a.has(E))throw new TypeError("Cannot read private member from an object whose class did not declare it");return c==="m"?f:c==="a"?f.call(E):f?f.value:a.get(E)},n=v&&v.__classPrivateFieldSet||function(E,a,c,f,p){if(f==="m")throw new TypeError("Private method is not writable");if(f==="a"&&!p)throw new TypeError("Private accessor was defined without a setter");if(typeof a=="function"?E!==a||!p:!a.has(E))throw new TypeError("Cannot write private member to an object whose class did not declare it");return f==="a"?p.call(E,c):p?p.value=c:a.set(E,c),c},i;Object.defineProperty(t,"__esModule",{value:!0}),t.VisitorBase=t.Visitor=void 0;const s=Gt,l=ln;Object.defineProperty(t,"VisitorBase",{enumerable:!0,get:function(){return l.VisitorBase}});class u extends l.VisitorBase{constructor(a){super(a instanceof u?e(a,i,"f"):a),i.set(this,void 0),n(this,i,a instanceof u?e(a,i,"f"):a,"f")}visitPattern(a,c,f={processRightHandNodes:!1}){const p=new s.PatternVisitor(e(this,i,"f"),a,c);p.visit(a),f.processRightHandNodes&&p.rightHandNodes.forEach(this.visit,this)}}t.Visitor=u,i=new WeakMap}(ut);var Gg=v&&v.__classPrivateFieldSet||function(t,e,n,i,s){if(i==="m")throw new TypeError("Private method is not writable");if(i==="a"&&!s)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!s:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return i==="a"?s.call(t,n):s?s.value=n:e.set(t,n),n},te=v&&v.__classPrivateFieldGet||function(t,e,n,i){if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!i:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?i:n==="a"?i.call(t):i?i.value:e.get(t)},q;Object.defineProperty(Zr,"__esModule",{value:!0}),Zr.TypeVisitor=void 0;const Ht=Ve,un=ze,pn=Mi,Wg=ut;class yo extends Wg.Visitor{constructor(e){super(e),q.set(this,void 0),Gg(this,q,e,"f")}static visit(e,n){new yo(e).visit(n)}visitFunctionType(e){te(this,q,"f").scopeManager.nestFunctionTypeScope(e),this.visit(e.typeParameters);for(const n of e.params){let i=!1;this.visitPattern(n,(s,l)=>{te(this,q,"f").currentScope().defineIdentifier(s,new un.ParameterDefinition(s,e,l.rest)),s.typeAnnotation&&(this.visit(s.typeAnnotation),i=!0)}),!i&&"typeAnnotation"in n&&this.visit(n.typeAnnotation)}this.visit(e.returnType),te(this,q,"f").close(e)}visitPropertyKey(e){e.computed&&te(this,q,"f").visit(e.key)}Identifier(e){te(this,q,"f").currentScope().referenceType(e)}MemberExpression(e){this.visit(e.object)}TSCallSignatureDeclaration(e){this.visitFunctionType(e)}TSConditionalType(e){te(this,q,"f").scopeManager.nestConditionalTypeScope(e),this.visitChildren(e,["falseType"]),te(this,q,"f").close(e),this.visit(e.falseType)}TSConstructorType(e){this.visitFunctionType(e)}TSConstructSignatureDeclaration(e){this.visitFunctionType(e)}TSFunctionType(e){this.visitFunctionType(e)}TSImportType(e){this.visit(e.typeArguments)}TSIndexSignature(e){for(const n of e.parameters)n.type===Ht.AST_NODE_TYPES.Identifier&&this.visit(n.typeAnnotation);this.visit(e.typeAnnotation)}TSInferType(e){const n=e.typeParameter;let i=te(this,q,"f").currentScope();if(i.type===pn.ScopeType.functionType||i.type===pn.ScopeType.mappedType){let s=i.upper;for(;s;){if(s.type===pn.ScopeType.functionType||s.type===pn.ScopeType.mappedType){s=s.upper;continue}if(s.type===pn.ScopeType.conditionalType){i=s;break}break}}i.defineIdentifier(n.name,new un.TypeDefinition(n.name,n)),this.visit(n.constraint)}TSInterfaceDeclaration(e){te(this,q,"f").currentScope().defineIdentifier(e.id,new un.TypeDefinition(e.id,e)),e.typeParameters&&(te(this,q,"f").scopeManager.nestTypeScope(e),this.visit(e.typeParameters)),e.extends.forEach(this.visit,this),this.visit(e.body),e.typeParameters&&te(this,q,"f").close(e)}TSMappedType(e){te(this,q,"f").scopeManager.nestMappedTypeScope(e),this.visitChildren(e),te(this,q,"f").close(e)}TSMethodSignature(e){this.visitPropertyKey(e),this.visitFunctionType(e)}TSNamedTupleMember(e){this.visit(e.elementType)}TSPropertySignature(e){this.visitPropertyKey(e),this.visit(e.typeAnnotation)}TSQualifiedName(e){this.visit(e.left)}TSTypeAliasDeclaration(e){te(this,q,"f").currentScope().defineIdentifier(e.id,new un.TypeDefinition(e.id,e)),e.typeParameters&&(te(this,q,"f").scopeManager.nestTypeScope(e),this.visit(e.typeParameters)),this.visit(e.typeAnnotation),e.typeParameters&&te(this,q,"f").close(e)}TSTypeParameter(e){te(this,q,"f").currentScope().defineIdentifier(e.name,new un.TypeDefinition(e.name,e)),this.visit(e.constraint),this.visit(e.default)}TSTypePredicate(e){e.parameterName.type!==Ht.AST_NODE_TYPES.TSThisType&&te(this,q,"f").currentScope().referenceValue(e.parameterName),this.visit(e.typeAnnotation)}TSTypeQuery(e){let n;if(e.exprName.type===Ht.AST_NODE_TYPES.TSQualifiedName){let i=e.exprName;for(;i.left.type===Ht.AST_NODE_TYPES.TSQualifiedName;)i=i.left;n=i.left}else n=e.exprName,e.exprName.type===Ht.AST_NODE_TYPES.TSImportType&&this.visit(e.exprName);n.type===Ht.AST_NODE_TYPES.Identifier&&te(this,q,"f").currentScope().referenceValue(n),this.visit(e.typeArguments)}TSTypeAnnotation(e){this.visitChildren(e)}}Zr.TypeVisitor=yo,q=new WeakMap;var Ec=v&&v.__classPrivateFieldSet||function(t,e,n,i,s){if(i==="m")throw new TypeError("Private method is not writable");if(i==="a"&&!s)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!s:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return i==="a"?s.call(t,n):s?s.value=n:e.set(t,n),n},G=v&&v.__classPrivateFieldGet||function(t,e,n,i){if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!i:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?i:n==="a"?i.call(t):i?i.value:e.get(t)},fn,j;Object.defineProperty(Oi,"__esModule",{value:!0}),Oi.ClassVisitor=void 0;const Ce=Ve,To=ze,Hg=Zr,Kg=ut;class ho extends Kg.Visitor{constructor(e,n){super(e),fn.set(this,void 0),j.set(this,void 0),Ec(this,j,e,"f"),Ec(this,fn,n,"f")}static visit(e,n){new ho(e,n).visitClass(n)}visit(e){e&&e.type in this?super.visit(e):G(this,j,"f").visit(e)}visitClass(e){e.type===Ce.AST_NODE_TYPES.ClassDeclaration&&e.id&&G(this,j,"f").currentScope().defineIdentifier(e.id,new To.ClassNameDefinition(e.id,e)),e.decorators.forEach(n=>G(this,j,"f").visit(n)),G(this,j,"f").scopeManager.nestClassScope(e),e.id&&G(this,j,"f").currentScope().defineIdentifier(e.id,new To.ClassNameDefinition(e.id,e)),G(this,j,"f").visit(e.superClass),this.visitType(e.typeParameters),this.visitType(e.superTypeArguments),e.implements.forEach(n=>this.visitType(n)),this.visit(e.body),G(this,j,"f").close(e)}visitPropertyDefinition(e){this.visitPropertyBase(e),this.visitType(e.typeAnnotation)}visitFunctionParameterTypeAnnotation(e){switch(e.type){case Ce.AST_NODE_TYPES.AssignmentPattern:this.visitType(e.left.typeAnnotation);break;case Ce.AST_NODE_TYPES.TSParameterProperty:this.visitFunctionParameterTypeAnnotation(e.parameter);break;default:this.visitType(e.typeAnnotation)}}visitMethodFunction(e,n){e.id&&G(this,j,"f").scopeManager.nestFunctionExpressionNameScope(e),G(this,j,"f").scopeManager.nestFunctionScope(e,!0);let i=!!n.decorators.length;if(i||=n.kind!=="set"&&e.params.some(s=>s.decorators.length),!i&&n.kind==="set"){const s=dc(n);s!=null&&G(this,fn,"f").body.body.find(l=>l!==n&&l.type===Ce.AST_NODE_TYPES.MethodDefinition&&l.static===n.static&&dc(l)===s)?.decorators.length&&(i=!0)}!i&&n.kind==="constructor"&&G(this,fn,"f").decorators.length&&(i=!0);for(const s of e.params)this.visitPattern(s,(l,u)=>{G(this,j,"f").currentScope().defineIdentifier(l,new To.ParameterDefinition(l,e,u.rest)),G(this,j,"f").referencingDefaultValue(l,u.assignments,null,!0)},{processRightHandNodes:!0}),this.visitFunctionParameterTypeAnnotation(s),s.decorators.forEach(l=>this.visit(l));this.visitType(e.returnType),this.visitType(e.typeParameters),G(this,j,"f").visitChildren(e.body),G(this,j,"f").close(e)}visitPropertyBase(e){e.computed&&G(this,j,"f").visit(e.key),e.value&&((e.type===Ce.AST_NODE_TYPES.PropertyDefinition||e.type===Ce.AST_NODE_TYPES.AccessorProperty)&&G(this,j,"f").scopeManager.nestClassFieldInitializerScope(e.value),G(this,j,"f").visit(e.value),(e.type===Ce.AST_NODE_TYPES.PropertyDefinition||e.type===Ce.AST_NODE_TYPES.AccessorProperty)&&G(this,j,"f").close(e.value)),e.decorators.forEach(n=>G(this,j,"f").visit(n))}visitMethod(e){e.computed&&G(this,j,"f").visit(e.key),e.value.type===Ce.AST_NODE_TYPES.FunctionExpression?this.visitMethodFunction(e.value,e):G(this,j,"f").visit(e.value),e.decorators.forEach(n=>G(this,j,"f").visit(n))}visitType(e){e&&Hg.TypeVisitor.visit(G(this,j,"f"),e)}AccessorProperty(e){this.visitPropertyDefinition(e)}ClassBody(e){this.visitChildren(e)}PropertyDefinition(e){this.visitPropertyDefinition(e)}MethodDefinition(e){this.visitMethod(e)}TSAbstractAccessorProperty(e){this.visitPropertyDefinition(e)}TSAbstractPropertyDefinition(e){this.visitPropertyDefinition(e)}TSAbstractMethodDefinition(e){this.visitPropertyBase(e)}Identifier(e){G(this,j,"f").visit(e)}PrivateIdentifier(){}StaticBlock(e){G(this,j,"f").scopeManager.nestClassStaticBlockScope(e),e.body.forEach(n=>this.visit(n)),G(this,j,"f").close(e)}}Oi.ClassVisitor=ho,fn=new WeakMap,j=new WeakMap;function dc(t){if(t.computed&&t.key.type===Ce.AST_NODE_TYPES.Literal){if(typeof t.key.value=="string"||typeof t.key.value=="number")return t.key.value}else if(!t.computed&&t.key.type===Ce.AST_NODE_TYPES.Identifier)return t.key.name;return null}var ss={},Tc=v&&v.__classPrivateFieldSet||function(t,e,n,i,s){if(i==="m")throw new TypeError("Private method is not writable");if(i==="a"&&!s)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!s:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return i==="a"?s.call(t,n):s?s.value=n:e.set(t,n),n},os=v&&v.__classPrivateFieldGet||function(t,e,n,i){if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!i:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?i:n==="a"?i.call(t):i?i.value:e.get(t)},Kt,as;Object.defineProperty(ss,"__esModule",{value:!0}),ss.ExportVisitor=void 0;const Xg=Ve,zg=ut;class _o extends zg.Visitor{constructor(e,n){super(n),Kt.set(this,void 0),as.set(this,void 0),Tc(this,as,e,"f"),Tc(this,Kt,n,"f")}static visit(e,n){new _o(n,e).visit(n)}Identifier(e){os(this,as,"f").exportKind==="type"?os(this,Kt,"f").currentScope().referenceType(e):os(this,Kt,"f").currentScope().referenceDualValueType(e)}ExportDefaultDeclaration(e){e.declaration.type===Xg.AST_NODE_TYPES.Identifier&&this.visit(e.declaration)}ExportNamedDeclaration(e){e.source||e.declaration||this.visitChildren(e)}ExportSpecifier(e){e.exportKind==="type"?os(this,Kt,"f").currentScope().referenceType(e.local):this.visit(e.local)}}ss.ExportVisitor=_o,Kt=new WeakMap,as=new WeakMap;var ls={},Pc=v&&v.__classPrivateFieldSet||function(t,e,n,i,s){if(i==="m")throw new TypeError("Private method is not writable");if(i==="a"&&!s)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!s:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return i==="a"?s.call(t,n):s?s.value=n:e.set(t,n),n},mc=v&&v.__classPrivateFieldGet||function(t,e,n,i){if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!i:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?i:n==="a"?i.call(t):i?i.value:e.get(t)},cs,us;Object.defineProperty(ls,"__esModule",{value:!0}),ls.ImportVisitor=void 0;const qg=ze,Jg=ut;class bo extends Jg.Visitor{constructor(e,n){super(n),cs.set(this,void 0),us.set(this,void 0),Pc(this,cs,e,"f"),Pc(this,us,n,"f")}static visit(e,n){new bo(n,e).visit(n)}visitImport(e,n){mc(this,us,"f").currentScope().defineIdentifier(e,new qg.ImportBindingDefinition(e,n,mc(this,cs,"f")))}ImportNamespaceSpecifier(e){const n=e.local;this.visitImport(n,e)}ImportDefaultSpecifier(e){const n=e.local;this.visitImport(n,e)}ImportSpecifier(e){const n=e.local;this.visitImport(n,e)}}ls.ImportVisitor=bo,cs=new WeakMap,us=new WeakMap;var En=v&&v.__classPrivateFieldSet||function(t,e,n,i,s){if(i==="m")throw new TypeError("Private method is not writable");if(i==="a"&&!s)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!s:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return i==="a"?s.call(t,n):s?s.value=n:e.set(t,n),n},ft=v&&v.__classPrivateFieldGet||function(t,e,n,i){if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!i:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?i:n==="a"?i.call(t):i?i.value:e.get(t)},dn,Tn,ps,fs,Es;Object.defineProperty(jn,"__esModule",{value:!0}),jn.Referencer=void 0;const re=Ve,yc=Xe,xe=ze,Qg=ti,Zg=Oi,hc=ss,ev=ls,_c=Gt,Et=Ue,tv=Zr,rv=ut;class nv extends rv.Visitor{constructor(e,n){super(e),dn.set(this,void 0),Tn.set(this,void 0),ps.set(this,!1),fs.set(this,!1),Es.set(this,void 0),this.scopeManager=n,En(this,dn,e.jsxPragma,"f"),En(this,Tn,e.jsxFragmentName,"f"),En(this,Es,e.lib,"f")}currentScope(e){return e||(0,yc.assert)(this.scopeManager.currentScope,"aaa"),this.scopeManager.currentScope}close(e){for(;this.currentScope(!0)&&e===this.currentScope().block;)this.scopeManager.currentScope=this.currentScope().close(this.scopeManager)}referencingDefaultValue(e,n,i,s){n.forEach(l=>{this.currentScope().referenceValue(e,Et.ReferenceFlag.Write,l.right,i,s)})}populateGlobalsFromLib(e){for(const n of ft(this,Es,"f")){const i=Qg.lib[n];if(!i)throw new Error(`Invalid value for lib provided: ${n}`);for(const[s,l]of Object.entries(i))e.defineImplicitVariable(s,l)}e.defineImplicitVariable("const",{eslintImplicitGlobalSetting:"readonly",isTypeVariable:!0,isValueVariable:!1})}referenceInSomeUpperScope(e){let n=this.scopeManager.currentScope;for(;n;){const i=n.set.get(e);if(!i){n=n.upper;continue}return n.referenceValue(i.identifiers[0]),!0}return!1}referenceJsxPragma(){ft(this,dn,"f")==null||ft(this,ps,"f")||En(this,ps,this.referenceInSomeUpperScope(ft(this,dn,"f")),"f")}referenceJsxFragment(){ft(this,Tn,"f")==null||ft(this,fs,"f")||En(this,fs,this.referenceInSomeUpperScope(ft(this,Tn,"f")),"f")}visitClass(e){Zg.ClassVisitor.visit(this,e)}visitForIn(e){e.left.type===re.AST_NODE_TYPES.VariableDeclaration&&e.left.kind!=="var"&&this.scopeManager.nestForScope(e),e.left.type===re.AST_NODE_TYPES.VariableDeclaration?(this.visit(e.left),this.visitPattern(e.left.declarations[0].id,n=>{this.currentScope().referenceValue(n,Et.ReferenceFlag.Write,e.right,null,!0)})):this.visitPattern(e.left,(n,i)=>{const s=this.currentScope().isStrict?null:{pattern:n,node:e};this.referencingDefaultValue(n,i.assignments,s,!1),this.currentScope().referenceValue(n,Et.ReferenceFlag.Write,e.right,s,!1)},{processRightHandNodes:!0}),this.visit(e.right),this.visit(e.body),this.close(e)}visitFunctionParameterTypeAnnotation(e){switch(e.type){case re.AST_NODE_TYPES.AssignmentPattern:this.visitType(e.left.typeAnnotation);break;case re.AST_NODE_TYPES.TSParameterProperty:this.visitFunctionParameterTypeAnnotation(e.parameter);break;default:this.visitType(e.typeAnnotation);break}}visitFunction(e){e.type===re.AST_NODE_TYPES.FunctionExpression?e.id&&this.scopeManager.nestFunctionExpressionNameScope(e):e.id&&this.currentScope().defineIdentifier(e.id,new xe.FunctionNameDefinition(e.id,e)),this.scopeManager.nestFunctionScope(e,!1);for(const n of e.params)this.visitPattern(n,(i,s)=>{this.currentScope().defineIdentifier(i,new xe.ParameterDefinition(i,e,s.rest)),this.referencingDefaultValue(i,s.assignments,null,!0)},{processRightHandNodes:!0}),this.visitFunctionParameterTypeAnnotation(n),n.decorators.forEach(i=>this.visit(i));this.visitType(e.returnType),this.visitType(e.typeParameters),e.body&&(e.body.type===re.AST_NODE_TYPES.BlockStatement?this.visitChildren(e.body):this.visit(e.body)),this.close(e)}visitProperty(e){e.computed&&this.visit(e.key),this.visit(e.value)}visitType(e){e&&tv.TypeVisitor.visit(this,e)}visitTypeAssertion(e){this.visit(e.expression),this.visitType(e.typeAnnotation)}ArrowFunctionExpression(e){this.visitFunction(e)}AssignmentExpression(e){let n=e.left;switch(n.type){case re.AST_NODE_TYPES.TSAsExpression:case re.AST_NODE_TYPES.TSTypeAssertion:this.visitType(n.typeAnnotation);case re.AST_NODE_TYPES.TSNonNullExpression:n=n.expression}_c.PatternVisitor.isPattern(n)?e.operator==="="?this.visitPattern(n,(i,s)=>{const l=this.currentScope().isStrict?null:{pattern:i,node:e};this.referencingDefaultValue(i,s.assignments,l,!1),this.currentScope().referenceValue(i,Et.ReferenceFlag.Write,e.right,l,!1)},{processRightHandNodes:!0}):n.type===re.AST_NODE_TYPES.Identifier&&this.currentScope().referenceValue(n,Et.ReferenceFlag.ReadWrite,e.right):this.visit(n),this.visit(e.right)}BlockStatement(e){this.scopeManager.nestBlockScope(e),this.visitChildren(e),this.close(e)}BreakStatement(){}CallExpression(e){this.visitChildren(e,["typeArguments"]),this.visitType(e.typeArguments)}CatchClause(e){if(this.scopeManager.nestCatchScope(e),e.param){const n=e.param;this.visitPattern(n,(i,s)=>{this.currentScope().defineIdentifier(i,new xe.CatchClauseDefinition(n,e)),this.referencingDefaultValue(i,s.assignments,null,!0)},{processRightHandNodes:!0})}this.visit(e.body),this.close(e)}ClassExpression(e){this.visitClass(e)}ClassDeclaration(e){this.visitClass(e)}ContinueStatement(){}ExportAllDeclaration(){}ExportDefaultDeclaration(e){e.declaration.type===re.AST_NODE_TYPES.Identifier?hc.ExportVisitor.visit(this,e):this.visit(e.declaration)}TSExportAssignment(e){e.expression.type===re.AST_NODE_TYPES.Identifier?this.currentScope().referenceDualValueType(e.expression):this.visit(e.expression)}ExportNamedDeclaration(e){e.declaration?this.visit(e.declaration):hc.ExportVisitor.visit(this,e)}ForInStatement(e){this.visitForIn(e)}ForOfStatement(e){this.visitForIn(e)}ForStatement(e){e.init&&e.init.type===re.AST_NODE_TYPES.VariableDeclaration&&e.init.kind!=="var"&&this.scopeManager.nestForScope(e),this.visitChildren(e),this.close(e)}FunctionDeclaration(e){this.visitFunction(e)}FunctionExpression(e){this.visitFunction(e)}Identifier(e){this.currentScope().referenceValue(e),this.visitType(e.typeAnnotation)}ImportDeclaration(e){(0,yc.assert)(this.scopeManager.isModule(),"ImportDeclaration should appear when the mode is ES6 and in the module context."),ev.ImportVisitor.visit(this,e)}JSXAttribute(e){this.visit(e.value)}JSXClosingElement(){}JSXFragment(e){this.referenceJsxPragma(),this.referenceJsxFragment(),this.visitChildren(e)}JSXIdentifier(e){this.currentScope().referenceValue(e)}JSXMemberExpression(e){e.object.type!==re.AST_NODE_TYPES.JSXIdentifier?this.visit(e.object):e.object.name!=="this"&&this.visit(e.object)}JSXOpeningElement(e){this.referenceJsxPragma(),e.name.type===re.AST_NODE_TYPES.JSXIdentifier?(e.name.name[0].toUpperCase()===e.name.name[0]||e.name.name==="this")&&this.visit(e.name):this.visit(e.name),this.visitType(e.typeArguments);for(const n of e.attributes)this.visit(n)}LabeledStatement(e){this.visit(e.body)}MemberExpression(e){this.visit(e.object),e.computed&&this.visit(e.property)}MetaProperty(){}NewExpression(e){this.visitChildren(e,["typeArguments"]),this.visitType(e.typeArguments)}PrivateIdentifier(){}Program(e){const n=this.scopeManager.nestGlobalScope(e);this.populateGlobalsFromLib(n),this.scopeManager.isGlobalReturn()&&(this.currentScope().isStrict=!1,this.scopeManager.nestFunctionScope(e,!1)),this.scopeManager.isModule()&&this.scopeManager.nestModuleScope(e),this.scopeManager.isImpliedStrict()&&(this.currentScope().isStrict=!0),this.visitChildren(e),this.close(e)}Property(e){this.visitProperty(e)}SwitchStatement(e){this.visit(e.discriminant),this.scopeManager.nestSwitchScope(e);for(const n of e.cases)this.visit(n);this.close(e)}TaggedTemplateExpression(e){this.visit(e.tag),this.visit(e.quasi),this.visitType(e.typeArguments)}TSAsExpression(e){this.visitTypeAssertion(e)}TSDeclareFunction(e){this.visitFunction(e)}TSImportEqualsDeclaration(e){this.currentScope().defineIdentifier(e.id,new xe.ImportBindingDefinition(e.id,e,e)),e.moduleReference.type===re.AST_NODE_TYPES.TSQualifiedName?this.visit(e.moduleReference.left):this.visit(e.moduleReference)}TSEmptyBodyFunctionExpression(e){this.visitFunction(e)}TSEnumDeclaration(e){this.currentScope().defineIdentifier(e.id,new xe.TSEnumNameDefinition(e.id,e)),this.scopeManager.nestTSEnumScope(e),this.currentScope().defineIdentifier(e.id,new xe.TSEnumNameDefinition(e.id,e));for(const n of e.members){if(n.id.type===re.AST_NODE_TYPES.Literal&&typeof n.id.value=="string"){const i=n.id;this.currentScope().defineLiteralIdentifier(i,new xe.TSEnumMemberDefinition(i,n))}else!n.computed&&n.id.type===re.AST_NODE_TYPES.Identifier&&this.currentScope().defineIdentifier(n.id,new xe.TSEnumMemberDefinition(n.id,n));this.visit(n.initializer)}this.close(e)}TSInstantiationExpression(e){this.visitChildren(e,["typeArguments"]),this.visitType(e.typeArguments)}TSInterfaceDeclaration(e){this.visitType(e)}TSModuleDeclaration(e){e.id.type===re.AST_NODE_TYPES.Identifier&&!e.global&&this.currentScope().defineIdentifier(e.id,new xe.TSModuleNameDefinition(e.id,e)),this.scopeManager.nestTSModuleScope(e),this.visit(e.body),this.close(e)}TSSatisfiesExpression(e){this.visitTypeAssertion(e)}TSTypeAliasDeclaration(e){this.visitType(e)}TSTypeAssertion(e){this.visitTypeAssertion(e)}UpdateExpression(e){_c.PatternVisitor.isPattern(e.argument)?this.visitPattern(e.argument,n=>{this.currentScope().referenceValue(n,Et.ReferenceFlag.ReadWrite,null)}):this.visitChildren(e)}VariableDeclaration(e){const n=e.kind==="var"?this.currentScope().variableScope:this.currentScope();for(const i of e.declarations){const s=i.init;this.visitPattern(i.id,(l,u)=>{n.defineIdentifier(l,new xe.VariableDefinition(l,i,e)),this.referencingDefaultValue(l,u.assignments,null,!0),s&&this.currentScope().referenceValue(l,Et.ReferenceFlag.Write,s,null,!0)},{processRightHandNodes:!0}),this.visit(i.init),this.visitType(i.id.typeAnnotation)}}WithStatement(e){this.visit(e.object),this.scopeManager.nestWithScope(e),this.visit(e.body),this.close(e)}ImportAttribute(){}}jn.Referencer=nv,dn=new WeakMap,Tn=new WeakMap,ps=new WeakMap,fs=new WeakMap,Es=new WeakMap,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.Referencer=void 0;var e=jn;Object.defineProperty(t,"Referencer",{enumerable:!0,get:function(){return e.Referencer}})}(Jl);var Pn={},ds={};Object.defineProperty(ds,"__esModule",{value:!0}),ds.ClassStaticBlockScope=void 0;const iv=Q,sv=X;class ov extends iv.ScopeBase{constructor(e,n,i){super(e,sv.ScopeType.classStaticBlock,n,i,!1)}}ds.ClassStaticBlockScope=ov;var av=v&&v.__classPrivateFieldSet||function(t,e,n,i,s){if(i==="m")throw new TypeError("Private method is not writable");if(i==="a"&&!s)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!s:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return i==="a"?s.call(t,n):s?s.value=n:e.set(t,n),n},Po=v&&v.__classPrivateFieldGet||function(t,e,n,i){if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!i:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?i:n==="a"?i.call(t):i?i.value:e.get(t)},Xt;Object.defineProperty(Pn,"__esModule",{value:!0}),Pn.ScopeManager=void 0;const ne=Xe,ie=Mi,lv=an,cv=ds;class uv{get variables(){const e=new Set;function n(i){i.variables.forEach(s=>e.add(s)),i.childScopes.forEach(n)}return this.scopes.forEach(n),Array.from(e).sort((i,s)=>i.$id-s.$id)}constructor(e){Xt.set(this,void 0),this.scopes=[],this.globalScope=null,this.nodeToScope=new WeakMap,this.currentScope=null,av(this,Xt,e,"f"),this.declaredVariables=new WeakMap}isGlobalReturn(){return Po(this,Xt,"f").globalReturn===!0}isModule(){return Po(this,Xt,"f").sourceType==="module"}isImpliedStrict(){return Po(this,Xt,"f").impliedStrict===!0}isStrictModeSupported(){return!0}isES6(){return!0}getDeclaredVariables(e){return this.declaredVariables.get(e)??[]}acquire(e,n=!1){function i(l){return!(l.type===ie.ScopeType.function&&l.functionExpressionScope)}const s=this.nodeToScope.get(e);if(!s||s.length===0)return null;if(s.length===1)return s[0];if(n){for(let l=s.length-1;l>=0;--l){const u=s[l];if(i(u))return u}return null}return s.find(i)??null}nestScope(e){return e instanceof ie.GlobalScope&&((0,ne.assert)(this.currentScope==null),this.globalScope=e),this.currentScope=e,e}nestBlockScope(e){return(0,ne.assert)(this.currentScope),this.nestScope(new ie.BlockScope(this,this.currentScope,e))}nestCatchScope(e){return(0,ne.assert)(this.currentScope),this.nestScope(new ie.CatchScope(this,this.currentScope,e))}nestClassScope(e){return(0,ne.assert)(this.currentScope),this.nestScope(new ie.ClassScope(this,this.currentScope,e))}nestClassFieldInitializerScope(e){return(0,ne.assert)(this.currentScope),this.nestScope(new lv.ClassFieldInitializerScope(this,this.currentScope,e))}nestClassStaticBlockScope(e){return(0,ne.assert)(this.currentScope),this.nestScope(new cv.ClassStaticBlockScope(this,this.currentScope,e))}nestConditionalTypeScope(e){return(0,ne.assert)(this.currentScope),this.nestScope(new ie.ConditionalTypeScope(this,this.currentScope,e))}nestForScope(e){return(0,ne.assert)(this.currentScope),this.nestScope(new ie.ForScope(this,this.currentScope,e))}nestFunctionExpressionNameScope(e){return(0,ne.assert)(this.currentScope),this.nestScope(new ie.FunctionExpressionNameScope(this,this.currentScope,e))}nestFunctionScope(e,n){return(0,ne.assert)(this.currentScope),this.nestScope(new ie.FunctionScope(this,this.currentScope,e,n))}nestFunctionTypeScope(e){return(0,ne.assert)(this.currentScope),this.nestScope(new ie.FunctionTypeScope(this,this.currentScope,e))}nestGlobalScope(e){return this.nestScope(new ie.GlobalScope(this,e))}nestMappedTypeScope(e){return(0,ne.assert)(this.currentScope),this.nestScope(new ie.MappedTypeScope(this,this.currentScope,e))}nestModuleScope(e){return(0,ne.assert)(this.currentScope),this.nestScope(new ie.ModuleScope(this,this.currentScope,e))}nestSwitchScope(e){return(0,ne.assert)(this.currentScope),this.nestScope(new ie.SwitchScope(this,this.currentScope,e))}nestTSEnumScope(e){return(0,ne.assert)(this.currentScope),this.nestScope(new ie.TSEnumScope(this,this.currentScope,e))}nestTSModuleScope(e){return(0,ne.assert)(this.currentScope),this.nestScope(new ie.TSModuleScope(this,this.currentScope,e))}nestTypeScope(e){return(0,ne.assert)(this.currentScope),this.nestScope(new ie.TypeScope(this,this.currentScope,e))}nestWithScope(e){return(0,ne.assert)(this.currentScope),this.nestScope(new ie.WithScope(this,this.currentScope,e))}}Pn.ScopeManager=uv,Xt=new WeakMap,Object.defineProperty(kn,"__esModule",{value:!0}),kn.analyze=void 0;const pv=ao,fv=Jl,Ev=Pn,zt={childVisitorKeys:pv.visitorKeys,globalReturn:!1,impliedStrict:!1,jsxPragma:"React",jsxFragmentName:null,lib:["es2018"],sourceType:"script",emitDecoratorMetadata:!1};function dv(t,e){const n={childVisitorKeys:e?.childVisitorKeys??zt.childVisitorKeys,globalReturn:e?.globalReturn??zt.globalReturn,impliedStrict:e?.impliedStrict??zt.impliedStrict,jsxPragma:e?.jsxPragma===void 0?zt.jsxPragma:e.jsxPragma,jsxFragmentName:e?.jsxFragmentName??zt.jsxFragmentName,sourceType:e?.sourceType??zt.sourceType,lib:e?.lib??["esnext"],emitDecoratorMetadata:!1};n.lib=n.lib.map(l=>l.toLowerCase());const i=new Ev.ScopeManager(n);return new fv.Referencer(n,i).visit(t),i}kn.analyze=dv,function(t){var e=v&&v.__createBinding||(Object.create?function(a,c,f,p){p===void 0&&(p=f);var d=Object.getOwnPropertyDescriptor(c,f);(!d||("get"in d?!c.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:function(){return c[f]}}),Object.defineProperty(a,p,d)}:function(a,c,f,p){p===void 0&&(p=f),a[p]=c[f]}),n=v&&v.__exportStar||function(a,c){for(var f in a)f!=="default"&&!Object.prototype.hasOwnProperty.call(c,f)&&e(c,a,f)};Object.defineProperty(t,"__esModule",{value:!0}),t.ScopeManager=t.PatternVisitor=t.Visitor=t.Reference=t.analyze=void 0;var i=kn;Object.defineProperty(t,"analyze",{enumerable:!0,get:function(){return i.analyze}}),n(ze,t);var s=Ue;Object.defineProperty(t,"Reference",{enumerable:!0,get:function(){return s.Reference}});var l=ut;Object.defineProperty(t,"Visitor",{enumerable:!0,get:function(){return l.Visitor}});var u=Gt;Object.defineProperty(t,"PatternVisitor",{enumerable:!0,get:function(){return u.PatternVisitor}}),n(Mi,t);var E=Pn;Object.defineProperty(t,"ScopeManager",{enumerable:!0,get:function(){return E.ScopeManager}}),n(Ri,t)}(ql);var Tv=v&&v.__createBinding||(Object.create?function(t,e,n,i){i===void 0&&(i=n);var s=Object.getOwnPropertyDescriptor(e,n);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,i,s)}:function(t,e,n,i){i===void 0&&(i=n),t[i]=e[n]}),Pv=v&&v.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),mv=v&&v.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)n!=="default"&&Object.prototype.hasOwnProperty.call(t,n)&&Tv(e,t,n);return Pv(e,t),e};Object.defineProperty($n,"__esModule",{value:!0}),$n.Scope=void 0;const bc=mv(ql);var gc;(function(t){t.ScopeType=bc.ScopeType,t.DefinitionType=bc.DefinitionType})(gc||($n.Scope=gc={}));var Ts={};Object.defineProperty(Ts,"__esModule",{value:!0}),Ts.SourceCode=void 0;const yv=gs;class hv extends yv.SourceCode{}Ts.SourceCode=hv,function(t){var e=v&&v.__createBinding||(Object.create?function(i,s,l,u){u===void 0&&(u=l);var E=Object.getOwnPropertyDescriptor(s,l);(!E||("get"in E?!s.__esModule:E.writable||E.configurable))&&(E={enumerable:!0,get:function(){return s[l]}}),Object.defineProperty(i,u,E)}:function(i,s,l,u){u===void 0&&(u=l),i[u]=s[l]}),n=v&&v.__exportStar||function(i,s){for(var l in i)l!=="default"&&!Object.prototype.hasOwnProperty.call(s,l)&&e(s,i,l)};Object.defineProperty(t,"__esModule",{value:!0}),n(jl,t),n(Gl,t),n(Wl,t),n(Dn,t),n(Hl,t),n(Kl,t),n(Xl,t),n(zl,t),n(Fn,t),n($n,t),n(Ts,t)}(Bl);var vc={},Ps={};Object.defineProperty(Ps,"__esModule",{value:!0}),Ps.isArray=void 0;function _v(t){return Array.isArray(t)}Ps.isArray=_v,function(t){var e=v&&v.__createBinding||(Object.create?function(i,s,l,u){u===void 0&&(u=l);var E=Object.getOwnPropertyDescriptor(s,l);(!E||("get"in E?!s.__esModule:E.writable||E.configurable))&&(E={enumerable:!0,get:function(){return s[l]}}),Object.defineProperty(i,u,E)}:function(i,s,l,u){u===void 0&&(u=l),i[u]=s[l]}),n=v&&v.__exportStar||function(i,s){for(var l in i)l!=="default"&&!Object.prototype.hasOwnProperty.call(s,l)&&e(s,i,l)};Object.defineProperty(t,"__esModule",{value:!0}),n(Ps,t)}(vc),function(t){var e=v&&v.__createBinding||(Object.create?function(f,p,d,y){y===void 0&&(y=d);var m=Object.getOwnPropertyDescriptor(p,d);(!m||("get"in m?!p.__esModule:m.writable||m.configurable))&&(m={enumerable:!0,get:function(){return p[d]}}),Object.defineProperty(f,y,m)}:function(f,p,d,y){y===void 0&&(y=d),f[y]=p[d]}),n=v&&v.__setModuleDefault||(Object.create?function(f,p){Object.defineProperty(f,"default",{enumerable:!0,value:p})}:function(f,p){f.default=p}),i=v&&v.__importStar||function(f){if(f&&f.__esModule)return f;var p={};if(f!=null)for(var d in f)d!=="default"&&Object.prototype.hasOwnProperty.call(f,d)&&e(p,f,d);return n(p,f),p},s=v&&v.__exportStar||function(f,p){for(var d in f)d!=="default"&&!Object.prototype.hasOwnProperty.call(p,d)&&e(p,f,d)};Object.defineProperty(t,"__esModule",{value:!0}),t.TSUtils=t.TSESLint=t.JSONSchema=t.ESLintUtils=t.ASTUtils=void 0;const l=i(Ll);t.ASTUtils=l;const u=i(Il);t.ESLintUtils=u;const E=i(Nl);t.JSONSchema=E;const a=i(Bl);t.TSESLint=a;const c=i(vc);t.TSUtils=c,s(io,t)}(Yl);const bv=Yl.ESLintUtils.RuleCreator(t=>t),gv={preferArrowFunction:"Prefer arrow function"},vv=bv({name:"prefer-arrow-functions",meta:{type:"suggestion",docs:{description:"Prefer arrow functions when possible"},fixable:"code",schema:[],messages:gv},defaultOptions:[],create:t=>{const e=new Set,n=["prototype","name","length"],i=c=>{if(c.generator||e.has(c))return!1;const{parent:f}=c;if((f.type==="Property"||f.type==="MethodDefinition")&&(f.kind==="set"||f.kind==="get"||f.kind==="constructor")||t.sourceCode.getScope(c).set.get("arguments").references.length>0)return!1;let y=[];if(c.type==="FunctionDeclaration"&&c.id){const[m]=t.sourceCode.getDeclaredVariables(c),[h]=m.references;if(h&&c.range[0]>h.identifier.range[0])return!1;y=m.references}else if(c.type==="FunctionExpression"){const[m]=t.sourceCode.getDeclaredVariables(c);if(m&&y.push(...m.references),c.parent.type==="VariableDeclarator"){const[h]=t.sourceCode.getDeclaredVariables(c.parent);y.push(...h.references.slice(1))}}for(const{identifier:m}of y)if(m.parent.type==="MemberExpression"&&m.parent.property.type==="Identifier"&&n.includes(m.parent.property.name))return!1;return!0},s=c=>{let f=t.sourceCode.getScope(c);for(;f&&f.block.type!=="FunctionDeclaration"&&f.block.type!=="FunctionExpression";)f=f.upper;return f?.block},l=(c,f)=>{const p=t.sourceCode.getFirstToken(c,{filter:d=>d.type==="Keyword"&&d.value==="function"});return p?[f.remove(p)]:[]},u=(c,f)=>{const p=t.sourceCode.getTokenBefore(c.body);return[f.insertTextAfter(p,"=>")]},E=(c,f)=>{const p=t.sourceCode.getFirstToken(c.parent,{filter:y=>y.type==="Identifier"&&y.value==="async"}),d=t.sourceCode.getTokenAfter(p,{includeComments:!0});return[f.removeRange([p.range[0],d.range[0]]),f.insertTextBefore(c,"async")]},a=(c,f)=>[f.insertTextBefore(c,"("),f.insertTextAfter(c,")")];return{ThisExpression:c=>{e.add(s(c))},Super:c=>{e.add(s(c))},MetaProperty:c=>{c.meta.name==="new"&&c.property.name==="target"&&e.add(s(c))},"FunctionExpression:exit":c=>{i(c)&&t.report({node:c,messageId:"preferArrowFunction",fix:f=>{const p=[...u(c,f)],{parent:d}=c;if(d.type==="Property"&&d.method||d.type==="MethodDefinition"&&d.kind==="method")p.push(f.insertTextBefore(c,d.type==="Property"?":":"=")),c.async&&p.push(...E(c,f));else if(p.push(...l(c,f)),c.id&&p.push(f.remove(c.id)),d.type==="LogicalExpression"){const m=t.sourceCode.getTokenBefore(c),h=t.sourceCode.getTokenAfter(c);m?.value==="("&&h?.value===")"||p.push(...a(c,f))}return p}})},"FunctionDeclaration:exit":c=>{i(c)&&t.report({node:c,messageId:"preferArrowFunction",fix:f=>{const p=[...u(c,f),...l(c,f)];if(c.id){const h=t.sourceCode.getText(c.id);p.push(f.remove(c.id),f.insertTextBefore(c,`const ${h}=`))}const{parent:d}=c;if(d.type==="ExportDefaultDeclaration"&&c.id){const h=t.sourceCode.getFirstToken(d,{filter:w=>w.type==="Keyword"&&w.value==="export"}),g=t.sourceCode.getTokenAfter(h,{filter:w=>w.type==="Keyword"&&w.value==="default"}),S=[h.range[0],g.range[1]],O=t.sourceCode.text.slice(...S);p.push(f.removeRange(S),f.insertTextAfter(c,`;${O} ${c.id.name}`))}const y=t.sourceCode.getTokenAfter(c,{includeComments:!0});return y&&!t.sourceCode.isSpaceBetween(c,y)&&p.push(f.insertTextAfter(c,";")),p}})}}}}),Sc={meta:{name:"pvtnbr/custom-rules",version:uT},rules:{"prefer-arrow-functions":vv},configs:{base:{rules:{"pvtnbr/prefer-arrow-functions":"error"}}}},Sv=D({plugins:{pvtnbr:Sc},rules:Sc.configs.base.rules}),Yc=t=>[D({ignores:["**/package-lock.json","**/pnpm-lock.yaml","{tmp,temp}/**","**/*.min.js","**/dist/**","**/node_modules/**","**/vendor/**","**/.vitepress"]}),D({linterOptions:{reportUnusedDisableDirectives:!0},languageOptions:{ecmaVersion:"latest",sourceType:"module"}}),aT,uu,vs,su,ou,...cu,...tT,pu,au,...fu,...Kd,...Hd(t),...eT,...Qd,Zd,lT,nT,...qd(),Xd,Sv].filter(Boolean);var Yv=Yc();export{D as d,Yv as i,cT as n,Yc as p};
|