@sarj/eslint-plugin 19.0.0 → 19.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/effects.js +2 -0
- package/dist/jsdoc-js.js +66 -0
- package/dist/node-test.js +8 -0
- package/dist/playwright.js +5 -0
- package/dist/query.js +5 -0
- package/dist/react-correctness.js +124 -0
- package/dist/react-js.js +9 -0
- package/dist/regexp.js +38 -0
- package/dist/security.js +8 -0
- package/dist/testing-library.js +12 -0
- package/dist/unicorn-js.js +2230 -0
- package/package.json +46 -18
package/dist/react-js.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import {createRequire as sarjCreateRequire} from "node:module";const require=sarjCreateRequire(import.meta.url);
|
|
2
|
+
var Lg=Object.create;var Ko=Object.defineProperty;var _g=Object.getOwnPropertyDescriptor;var Dg=Object.getOwnPropertyNames;var Fg=Object.getPrototypeOf,$g=Object.prototype.hasOwnProperty;var De=(r=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(r,{get:(e,t)=>(typeof require<"u"?require:e)[t]}):r)(function(r){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+r+'" is not supported')});var s=(r,e)=>()=>{try{return e||r((e={exports:{}}).exports,e),e.exports}catch(t){throw e=0,t}};var jg=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Dg(e))!$g.call(r,i)&&i!==t&&Ko(r,i,{get:()=>e[i],enumerable:!(n=_g(e,i))||n.enumerable});return r};var zo=(r,e,t)=>(t=r!=null?Lg(Fg(r)):{},jg(e||!r||!r.__esModule?Ko(t,"default",{value:r,enumerable:!0}):t,r));var Nr=s((ZN,Jo)=>{"use strict";Jo.exports=Object});var pr=s((QN,Yo)=>{"use strict";Yo.exports=Error});var Qo=s((eC,Zo)=>{"use strict";Zo.exports=EvalError});var rt=s((rC,es)=>{"use strict";es.exports=RangeError});var ts=s((tC,rs)=>{"use strict";rs.exports=ReferenceError});var vr=s((nC,ns)=>{"use strict";ns.exports=SyntaxError});var S=s((iC,is)=>{"use strict";is.exports=TypeError});var os=s((aC,as)=>{"use strict";as.exports=URIError});var ei=s((oC,ss)=>{"use strict";ss.exports=Math.abs});var tt=s((sC,us)=>{"use strict";us.exports=Math.floor});var fs=s((uC,ls)=>{"use strict";ls.exports=Math.max});var ps=s((lC,cs)=>{"use strict";cs.exports=Math.min});var ys=s((fC,vs)=>{"use strict";vs.exports=Math.pow});var ds=s((cC,hs)=>{"use strict";hs.exports=Math.round});var or=s((pC,ms)=>{"use strict";ms.exports=Number.isNaN||function(e){return e!==e}});var Es=s((vC,gs)=>{"use strict";var Mg=or();gs.exports=function(e){return Mg(e)||e===0?e:e<0?-1:1}});var Is=s((yC,Ss)=>{"use strict";Ss.exports=Object.getOwnPropertyDescriptor});var Fe=s((hC,ws)=>{"use strict";var Jt=Is();if(Jt)try{Jt([],"length")}catch{Jt=null}ws.exports=Jt});var Cr=s((dC,bs)=>{"use strict";var Yt=Object.defineProperty||!1;if(Yt)try{Yt({},"a",{value:1})}catch{Yt=!1}bs.exports=Yt});var ri=s((mC,As)=>{"use strict";As.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),n=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;e[t]=i;for(var a in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var o=Object.getOwnPropertySymbols(e);if(o.length!==1||o[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(e,t);if(u.value!==i||u.enumerable!==!0)return!1}return!0}});var We=s((gC,Ts)=>{"use strict";var Rs=typeof Symbol<"u"&&Symbol,Gg=ri();Ts.exports=function(){return typeof Rs!="function"||typeof Symbol!="function"||typeof Rs("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Gg()}});var ti=s((EC,qs)=>{"use strict";qs.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var ni=s((SC,Os)=>{"use strict";var kg=Nr();Os.exports=kg.getPrototypeOf||null});var Ns=s((IC,Ps)=>{"use strict";var Vg="Function.prototype.bind called on incompatible ",Ug=Object.prototype.toString,Bg=Math.max,Wg="[object Function]",xs=function(e,t){for(var n=[],i=0;i<e.length;i+=1)n[i]=e[i];for(var a=0;a<t.length;a+=1)n[a+e.length]=t[a];return n},Xg=function(e,t){for(var n=[],i=t||0,a=0;i<e.length;i+=1,a+=1)n[a]=e[i];return n},Hg=function(r,e){for(var t="",n=0;n<r.length;n+=1)t+=r[n],n+1<r.length&&(t+=e);return t};Ps.exports=function(e){var t=this;if(typeof t!="function"||Ug.apply(t)!==Wg)throw new TypeError(Vg+t);for(var n=Xg(arguments,1),i,a=function(){if(this instanceof i){var h=t.apply(this,xs(n,arguments));return Object(h)===h?h:this}return t.apply(e,xs(n,arguments))},o=Bg(0,t.length-n.length),u=[],l=0;l<o;l++)u[l]="$"+l;if(i=Function("binder","return function ("+Hg(u,",")+"){ return binder.apply(this,arguments); }")(a),t.prototype){var p=function(){};p.prototype=t.prototype,i.prototype=new p,p.prototype=null}return i}});var Lr=s((wC,Cs)=>{"use strict";var Kg=Ns();Cs.exports=Function.prototype.bind||Kg});var Zt=s((bC,Ls)=>{"use strict";Ls.exports=Function.prototype.call});var Qt=s((AC,_s)=>{"use strict";_s.exports=Function.prototype.apply});var Fs=s((RC,Ds)=>{"use strict";Ds.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var ii=s((TC,$s)=>{"use strict";var zg=Lr(),Jg=Qt(),Yg=Zt(),Zg=Fs();$s.exports=Zg||zg.call(Yg,Jg)});var nt=s((qC,js)=>{"use strict";var Qg=Lr(),eE=S(),rE=Zt(),tE=ii();js.exports=function(e){if(e.length<1||typeof e[0]!="function")throw new eE("a function is required");return tE(Qg,rE,e)}});var Bs=s((OC,Us)=>{"use strict";var nE=nt(),Ms=Fe(),ks;try{ks=[].__proto__===Array.prototype}catch(r){if(!r||typeof r!="object"||!("code"in r)||r.code!=="ERR_PROTO_ACCESS")throw r}var ai=!!ks&&Ms&&Ms(Object.prototype,"__proto__"),Vs=Object,Gs=Vs.getPrototypeOf;Us.exports=ai&&typeof ai.get=="function"?nE([ai.get]):typeof Gs=="function"?function(e){return Gs(e==null?e:Vs(e))}:!1});var en=s((xC,Ks)=>{"use strict";var Ws=ti(),Xs=ni(),Hs=Bs();Ks.exports=Ws?function(e){return Ws(e)}:Xs?function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return Xs(e)}:Hs?function(e){return Hs(e)}:null});var Ne=s((PC,zs)=>{"use strict";var iE=Function.prototype.call,aE=Object.prototype.hasOwnProperty,oE=Lr();zs.exports=oE.call(iE,aE)});var Z=s((NC,ru)=>{"use strict";var X,sE=Nr(),uE=pr(),lE=Qo(),fE=rt(),cE=ts(),$r=vr(),Fr=S(),pE=os(),vE=ei(),yE=tt(),hE=fs(),dE=ps(),mE=ys(),gE=ds(),EE=Es(),Qs=Function,oi=function(r){try{return Qs('"use strict"; return ('+r+").constructor;")()}catch{}},it=Fe(),SE=Cr(),si=function(){throw new Fr},IE=it?(function(){try{return arguments.callee,si}catch{try{return it(arguments,"callee").get}catch{return si}}})():si,_r=We()(),Ie=en(),wE=ni(),bE=ti(),eu=Qt(),at=Zt(),Dr={},AE=typeof Uint8Array>"u"||!Ie?X:Ie(Uint8Array),yr={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?X:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?X:ArrayBuffer,"%ArrayIteratorPrototype%":_r&&Ie?Ie([][Symbol.iterator]()):X,"%AsyncFromSyncIteratorPrototype%":X,"%AsyncFunction%":Dr,"%AsyncGenerator%":Dr,"%AsyncGeneratorFunction%":Dr,"%AsyncIteratorPrototype%":Dr,"%Atomics%":typeof Atomics>"u"?X:Atomics,"%BigInt%":typeof BigInt>"u"?X:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?X:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?X:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?X:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":uE,"%eval%":eval,"%EvalError%":lE,"%Float16Array%":typeof Float16Array>"u"?X:Float16Array,"%Float32Array%":typeof Float32Array>"u"?X:Float32Array,"%Float64Array%":typeof Float64Array>"u"?X:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?X:FinalizationRegistry,"%Function%":Qs,"%GeneratorFunction%":Dr,"%Int8Array%":typeof Int8Array>"u"?X:Int8Array,"%Int16Array%":typeof Int16Array>"u"?X:Int16Array,"%Int32Array%":typeof Int32Array>"u"?X:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":_r&&Ie?Ie(Ie([][Symbol.iterator]())):X,"%JSON%":typeof JSON=="object"?JSON:X,"%Map%":typeof Map>"u"?X:Map,"%MapIteratorPrototype%":typeof Map>"u"||!_r||!Ie?X:Ie(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":sE,"%Object.getOwnPropertyDescriptor%":it,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?X:Promise,"%Proxy%":typeof Proxy>"u"?X:Proxy,"%RangeError%":fE,"%ReferenceError%":cE,"%Reflect%":typeof Reflect>"u"?X:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?X:Set,"%SetIteratorPrototype%":typeof Set>"u"||!_r||!Ie?X:Ie(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?X:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":_r&&Ie?Ie(""[Symbol.iterator]()):X,"%Symbol%":_r?Symbol:X,"%SyntaxError%":$r,"%ThrowTypeError%":IE,"%TypedArray%":AE,"%TypeError%":Fr,"%Uint8Array%":typeof Uint8Array>"u"?X:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?X:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?X:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?X:Uint32Array,"%URIError%":pE,"%WeakMap%":typeof WeakMap>"u"?X:WeakMap,"%WeakRef%":typeof WeakRef>"u"?X:WeakRef,"%WeakSet%":typeof WeakSet>"u"?X:WeakSet,"%Function.prototype.call%":at,"%Function.prototype.apply%":eu,"%Object.defineProperty%":SE,"%Object.getPrototypeOf%":wE,"%Math.abs%":vE,"%Math.floor%":yE,"%Math.max%":hE,"%Math.min%":dE,"%Math.pow%":mE,"%Math.round%":gE,"%Math.sign%":EE,"%Reflect.getPrototypeOf%":bE};if(Ie)try{null.error}catch(r){Js=Ie(Ie(r)),yr["%Error.prototype%"]=Js}var Js,RE=function r(e){var t;if(e==="%AsyncFunction%")t=oi("async function () {}");else if(e==="%GeneratorFunction%")t=oi("function* () {}");else if(e==="%AsyncGeneratorFunction%")t=oi("async function* () {}");else if(e==="%AsyncGenerator%"){var n=r("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var i=r("%AsyncGenerator%");i&&Ie&&(t=Ie(i.prototype))}return yr[e]=t,t},Ys={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ot=Lr(),rn=Ne(),TE=ot.call(at,Array.prototype.concat),qE=ot.call(eu,Array.prototype.splice),Zs=ot.call(at,String.prototype.replace),tn=ot.call(at,String.prototype.slice),OE=ot.call(at,RegExp.prototype.exec),xE=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,PE=/\\(\\)?/g,NE=function(e){var t=tn(e,0,1),n=tn(e,-1);if(t==="%"&&n!=="%")throw new $r("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new $r("invalid intrinsic syntax, expected opening `%`");var i=[];return Zs(e,xE,function(a,o,u,l){i[i.length]=u?Zs(l,PE,"$1"):o||a}),i},CE=function(e,t){var n=e,i;if(rn(Ys,n)&&(i=Ys[n],n="%"+i[0]+"%"),rn(yr,n)){var a=yr[n];if(a===Dr&&(a=RE(n)),typeof a>"u"&&!t)throw new Fr("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:a}}throw new $r("intrinsic "+e+" does not exist!")};ru.exports=function(e,t){if(typeof e!="string"||e.length===0)throw new Fr("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new Fr('"allowMissing" argument must be a boolean');if(OE(/^%?[^%]*%?$/,e)===null)throw new $r("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=NE(e),i=n.length>0?n[0]:"",a=CE("%"+i+"%",t),o=a.name,u=a.value,l=!1,p=a.alias;p&&(i=p[0],qE(n,TE([0,1],p)));for(var h=1,E=!0;h<n.length;h+=1){var d=n[h],L=tn(d,0,1),Q=tn(d,-1);if((L==='"'||L==="'"||L==="`"||Q==='"'||Q==="'"||Q==="`")&&L!==Q)throw new $r("property names with quotes must have matching quotes");if((d==="constructor"||!E)&&(l=!0),i+="."+d,o="%"+i+"%",rn(yr,o))u=yr[o];else if(u!=null){if(!(d in u)){if(!t)throw new Fr("base intrinsic for "+e+" exists, but the property is not available.");return}if(it&&h+1>=n.length){var ce=it(u,d);E=!!ce,E&&"get"in ce&&!("originalValue"in ce.get)?u=ce.get:u=u[d]}else E=rn(u,d),u=u[d];E&&!l&&(yr[o]=u)}}return u}});var Mr=s((CC,iu)=>{"use strict";var tu=Cr(),LE=vr(),jr=S(),nu=Fe();iu.exports=function(e,t,n){if(!e||typeof e!="object"&&typeof e!="function")throw new jr("`obj` must be an object or a function`");if(typeof t!="string"&&typeof t!="symbol")throw new jr("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new jr("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new jr("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new jr("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new jr("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,a=arguments.length>4?arguments[4]:null,o=arguments.length>5?arguments[5]:null,u=arguments.length>6?arguments[6]:!1,l=!!nu&&nu(e,t);if(tu)tu(e,t,{configurable:o===null&&l?l.configurable:!o,enumerable:i===null&&l?l.enumerable:!i,value:n,writable:a===null&&l?l.writable:!a});else if(u||!i&&!a&&!o)e[t]=n;else throw new LE("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var hr=s((LC,ou)=>{"use strict";var ui=Cr(),au=function(){return!!ui};au.hasArrayLengthDefineBug=function(){if(!ui)return null;try{return ui([],"length",{value:1}).length!==1}catch{return!0}};ou.exports=au});var cu=s((_C,fu)=>{"use strict";var _E=Z(),su=Mr(),DE=hr()(),uu=Fe(),lu=S(),FE=_E("%Math.floor%");fu.exports=function(e,t){if(typeof e!="function")throw new lu("`fn` is not a function");if(typeof t!="number"||t<0||t>4294967295||FE(t)!==t)throw new lu("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,a=!0;if("length"in e&&uu){var o=uu(e,"length");o&&!o.configurable&&(i=!1),o&&!o.writable&&(a=!1)}return(i||a||!n)&&(DE?su(e,"length",t,!0,!0):su(e,"length",t)),e}});var vu=s((DC,pu)=>{"use strict";var $E=Lr(),jE=Qt(),ME=ii();pu.exports=function(){return ME($E,jE,arguments)}});var Xe=s((FC,nn)=>{"use strict";var GE=cu(),yu=Cr(),kE=nt(),hu=vu();nn.exports=function(e){var t=kE(arguments),n=1+e.length-(arguments.length-1);return GE(t,n>0?n:0,!0)};yu?yu(nn.exports,"apply",{value:hu}):nn.exports.apply=hu});var he=s(($C,gu)=>{"use strict";var du=Z(),mu=nt(),VE=mu([du("%String.prototype.indexOf%")]);gu.exports=function(e,t){var n=du(e,!!t);return typeof n=="function"&&VE(e,".prototype.")>-1?mu([n]):n}});var st=s((jC,Su)=>{"use strict";var UE=Z(),Eu=UE("%Array%"),BE=!Eu.isArray&&he()("Object.prototype.toString");Su.exports=Eu.isArray||function(e){return BE(e)==="[object Array]"}});var an=s((MC,Iu)=>{"use strict";Iu.exports=st()});var sr=s((GC,wu)=>{"use strict";var WE=Z(),XE=he(),HE=S(),KE=an(),zE=WE("%Reflect.apply%",!0)||XE("Function.prototype.apply");wu.exports=function(e,t){var n=arguments.length>2?arguments[2]:[];if(!KE(n))throw new HE("Assertion failed: optional `argumentsList`, if provided, must be a List");return zE(e,t,n)}});var Y=s((kC,bu)=>{"use strict";bu.exports=function(e){return!!e&&(typeof e=="function"||typeof e=="object")}});var Ru=s((VC,Au)=>{Au.exports=De("util").inspect});var Ve=s((UC,Wu)=>{var gi=typeof Map=="function"&&Map.prototype,li=Object.getOwnPropertyDescriptor&&gi?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,sn=gi&&li&&typeof li.get=="function"?li.get:null,Tu=gi&&Map.prototype.forEach,Ei=typeof Set=="function"&&Set.prototype,fi=Object.getOwnPropertyDescriptor&&Ei?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,un=Ei&&fi&&typeof fi.get=="function"?fi.get:null,qu=Ei&&Set.prototype.forEach,JE=typeof WeakMap=="function"&&WeakMap.prototype,lt=JE?WeakMap.prototype.has:null,YE=typeof WeakSet=="function"&&WeakSet.prototype,ft=YE?WeakSet.prototype.has:null,ZE=typeof WeakRef=="function"&&WeakRef.prototype,Ou=ZE?WeakRef.prototype.deref:null,QE=Boolean.prototype.valueOf,eS=Object.prototype.toString,rS=Function.prototype.toString,tS=String.prototype.match,Si=String.prototype.slice,ur=String.prototype.replace,nS=String.prototype.toUpperCase,xu=String.prototype.toLowerCase,ju=RegExp.prototype.test,Pu=Array.prototype.concat,He=Array.prototype.join,iS=Array.prototype.slice,Nu=Math.floor,vi=typeof BigInt=="function"?BigInt.prototype.valueOf:null,ci=Object.getOwnPropertySymbols,yi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Gr=typeof Symbol=="function"&&typeof Symbol.iterator=="object",ct=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Gr||!0)?Symbol.toStringTag:null,Mu=Object.prototype.propertyIsEnumerable,Cu=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(r){return r.__proto__}:null);function Lu(r,e){if(r===1/0||r===-1/0||r!==r||r&&r>-1e3&&r<1e3||ju.call(/e/,e))return e;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof r=="number"){var n=r<0?-Nu(-r):Nu(r);if(n!==r){var i=String(n),a=Si.call(e,i.length+1);return ur.call(i,t,"$&_")+"."+ur.call(ur.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return ur.call(e,t,"$&_")}var hi=Ru(),_u=hi.custom,Du=Vu(_u)?_u:null,Gu={__proto__:null,double:'"',single:"'"},aS={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};Wu.exports=function r(e,t,n,i){var a=t||{};if(er(a,"quoteStyle")&&!er(Gu,a.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(er(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var o=er(a,"customInspect")?a.customInspect:!0;if(typeof o!="boolean"&&o!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(er(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(er(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var u=a.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return Bu(e,a);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var l=String(e);return u?Lu(e,l):l}if(typeof e=="bigint"){var p=String(e)+"n";return u?Lu(e,p):p}var h=typeof a.depth>"u"?5:a.depth;if(typeof n>"u"&&(n=0),n>=h&&h>0&&typeof e=="object")return di(e)?"[Array]":"[Object]";var E=bS(a,n);if(typeof i>"u")i=[];else if(Uu(i,e)>=0)return"[Circular]";function d(x,ae,J){if(ae&&(i=iS.call(i),i.push(ae)),J){var T={depth:a.depth};return er(a,"quoteStyle")&&(T.quoteStyle=a.quoteStyle),r(x,T,n+1,i)}return r(x,a,n+1,i)}if(typeof e=="function"&&!Fu(e)){var L=yS(e),Q=on(e,d);return"[Function"+(L?": "+L:" (anonymous)")+"]"+(Q.length>0?" { "+He.call(Q,", ")+" }":"")}if(Vu(e)){var ce=Gr?ur.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):yi.call(e);return typeof e=="object"&&!Gr?ut(ce):ce}if(SS(e)){for(var ge="<"+xu.call(String(e.nodeName)),Re=e.attributes||[],de=0;de<Re.length;de++)ge+=" "+Re[de].name+"="+ku(oS(Re[de].value),"double",a);return ge+=">",e.childNodes&&e.childNodes.length&&(ge+="..."),ge+="</"+xu.call(String(e.nodeName))+">",ge}if(di(e)){if(e.length===0)return"[]";var me=on(e,d);return E&&!wS(me)?"["+mi(me,E)+"]":"[ "+He.call(me,", ")+" ]"}if(uS(e)){var w=on(e,d);return!("cause"in Error.prototype)&&"cause"in e&&!Mu.call(e,"cause")?"{ ["+String(e)+"] "+He.call(Pu.call("[cause]: "+d(e.cause),w),", ")+" }":w.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+He.call(w,", ")+" }"}if(typeof e=="object"&&o){if(Du&&typeof e[Du]=="function"&&hi)return hi(e,{depth:h-n});if(o!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(hS(e)){var b=[];return Tu&&Tu.call(e,function(x,ae){b.push(d(ae,e,!0)+" => "+d(x,e))}),$u("Map",sn.call(e),b,E)}if(gS(e)){var O=[];return qu&&qu.call(e,function(x){O.push(d(x,e))}),$u("Set",un.call(e),O,E)}if(dS(e))return pi("WeakMap");if(ES(e))return pi("WeakSet");if(mS(e))return pi("WeakRef");if(fS(e))return ut(d(Number(e)));if(pS(e))return ut(d(vi.call(e)));if(cS(e))return ut(QE.call(e));if(lS(e))return ut(d(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(typeof globalThis<"u"&&e===globalThis||typeof global<"u"&&e===global)return"{ [object globalThis] }";if(!sS(e)&&!Fu(e)){var A=on(e,d),U=Cu?Cu(e)===Object.prototype:e instanceof Object||e.constructor===Object,M=e instanceof Object?"":"null prototype",z=!U&&ct&&Object(e)===e&&ct in e?Si.call(lr(e),8,-1):M?"Object":"",q=U||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",P=q+(z||M?"["+He.call(Pu.call([],z||[],M||[]),": ")+"] ":"");return A.length===0?P+"{}":E?P+"{"+mi(A,E)+"}":P+"{ "+He.call(A,", ")+" }"}return String(e)};function ku(r,e,t){var n=t.quoteStyle||e,i=Gu[n];return i+r+i}function oS(r){return ur.call(String(r),/"/g,""")}function dr(r){return!ct||!(typeof r=="object"&&(ct in r||typeof r[ct]<"u"))}function di(r){return lr(r)==="[object Array]"&&dr(r)}function sS(r){return lr(r)==="[object Date]"&&dr(r)}function Fu(r){return lr(r)==="[object RegExp]"&&dr(r)}function uS(r){return lr(r)==="[object Error]"&&dr(r)}function lS(r){return lr(r)==="[object String]"&&dr(r)}function fS(r){return lr(r)==="[object Number]"&&dr(r)}function cS(r){return lr(r)==="[object Boolean]"&&dr(r)}function Vu(r){if(Gr)return r&&typeof r=="object"&&r instanceof Symbol;if(typeof r=="symbol")return!0;if(!r||typeof r!="object"||!yi)return!1;try{return yi.call(r),!0}catch{}return!1}function pS(r){if(!r||typeof r!="object"||!vi)return!1;try{return vi.call(r),!0}catch{}return!1}var vS=Object.prototype.hasOwnProperty||function(r){return r in this};function er(r,e){return vS.call(r,e)}function lr(r){return eS.call(r)}function yS(r){if(r.name)return r.name;var e=tS.call(rS.call(r),/^function\s*([\w$]+)/);return e?e[1]:null}function Uu(r,e){if(r.indexOf)return r.indexOf(e);for(var t=0,n=r.length;t<n;t++)if(r[t]===e)return t;return-1}function hS(r){if(!sn||!r||typeof r!="object")return!1;try{sn.call(r);try{un.call(r)}catch{return!0}return r instanceof Map}catch{}return!1}function dS(r){if(!lt||!r||typeof r!="object")return!1;try{lt.call(r,lt);try{ft.call(r,ft)}catch{return!0}return r instanceof WeakMap}catch{}return!1}function mS(r){if(!Ou||!r||typeof r!="object")return!1;try{return Ou.call(r),!0}catch{}return!1}function gS(r){if(!un||!r||typeof r!="object")return!1;try{un.call(r);try{sn.call(r)}catch{return!0}return r instanceof Set}catch{}return!1}function ES(r){if(!ft||!r||typeof r!="object")return!1;try{ft.call(r,ft);try{lt.call(r,lt)}catch{return!0}return r instanceof WeakSet}catch{}return!1}function SS(r){return!r||typeof r!="object"?!1:typeof HTMLElement<"u"&&r instanceof HTMLElement?!0:typeof r.nodeName=="string"&&typeof r.getAttribute=="function"}function Bu(r,e){if(r.length>e.maxStringLength){var t=r.length-e.maxStringLength,n="... "+t+" more character"+(t>1?"s":"");return Bu(Si.call(r,0,e.maxStringLength),e)+n}var i=aS[e.quoteStyle||"single"];i.lastIndex=0;var a=ur.call(ur.call(r,i,"\\$1"),/[\x00-\x1f]/g,IS);return ku(a,"single",e)}function IS(r){var e=r.charCodeAt(0),t={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return t?"\\"+t:"\\x"+(e<16?"0":"")+nS.call(e.toString(16))}function ut(r){return"Object("+r+")"}function pi(r){return r+" { ? }"}function $u(r,e,t,n){var i=n?mi(t,n):He.call(t,", ");return r+" ("+e+") {"+i+"}"}function wS(r){for(var e=0;e<r.length;e++)if(Uu(r[e],`
|
|
3
|
+
`)>=0)return!1;return!0}function bS(r,e){var t;if(r.indent===" ")t=" ";else if(typeof r.indent=="number"&&r.indent>0)t=He.call(Array(r.indent+1)," ");else return null;return{base:t,prev:He.call(Array(e+1),t)}}function mi(r,e){if(r.length===0)return"";var t=`
|
|
4
|
+
`+e.prev+e.base;return t+He.call(r,","+t)+`
|
|
5
|
+
`+e.prev}function on(r,e){var t=di(r),n=[];if(t){n.length=r.length;for(var i=0;i<r.length;i++)n[i]=er(r,i)?e(r[i],r):""}var a=typeof ci=="function"?ci(r):[],o;if(Gr){o={};for(var u=0;u<a.length;u++)o["$"+a[u]]=a[u]}for(var l in r)er(r,l)&&(t&&String(Number(l))===l&&l<r.length||Gr&&o["$"+l]instanceof Symbol||(ju.call(/[^\w$]/,l)?n.push(e(l,r)+": "+e(r[l],r)):n.push(l+": "+e(r[l],r))));if(typeof ci=="function")for(var p=0;p<a.length;p++)Mu.call(r,a[p])&&n.push("["+e(a[p])+"]: "+e(r[a[p]],r));return n}});var Ce=s((BC,Xu)=>{"use strict";Xu.exports=function(e){return typeof e=="string"||typeof e=="symbol"}});var rr=s((WC,Ku)=>{"use strict";var Hu=S(),AS=Ve(),RS=Ce(),TS=Y();Ku.exports=function(e,t){if(!TS(e))throw new Hu("Assertion failed: Type(O) is not Object");if(!RS(t))throw new Hu("Assertion failed: P is not a Property Key, got "+AS(t));return e[t]}});var Ii=s((XC,zu)=>{"use strict";var qS=S(),OS=Y(),xS=rr();zu.exports=function(e){if(!OS(e))throw new qS("Assertion failed: `obj` must be an Object");var t=xS(e,"next"),n={"[[Iterator]]":e,"[[NextMethod]]":t,"[[Done]]":!1};return n}});var Yu=s((HC,Ju)=>{"use strict";var PS=Ve(),NS=S(),ln=function(r,e,t){for(var n=r,i;(i=n.next)!=null;n=i)if(i.key===e)return n.next=i.next,t||(i.next=r.next,r.next=i),i},CS=function(r,e){if(r){var t=ln(r,e);return t&&t.value}},LS=function(r,e,t){var n=ln(r,e);n?n.value=t:r.next={key:e,next:r.next,value:t}},_S=function(r,e){return r?!!ln(r,e):!1},DS=function(r,e){if(r)return ln(r,e,!0)};Ju.exports=function(){var e,t={assert:function(n){if(!t.has(n))throw new NS("Side channel does not contain "+PS(n))},delete:function(n){var i=DS(e,n);return i&&e&&!e.next&&(e=void 0),!!i},get:function(n){return CS(e,n)},has:function(n){return _S(e,n)},set:function(n,i){e||(e={next:void 0}),LS(e,n,i)}};return t}});var wi=s((KC,Qu)=>{"use strict";var FS=Z(),pt=he(),$S=Ve(),jS=S(),Zu=FS("%Map%",!0),MS=pt("Map.prototype.get",!0),GS=pt("Map.prototype.set",!0),kS=pt("Map.prototype.has",!0),VS=pt("Map.prototype.delete",!0),US=pt("Map.prototype.size",!0);Qu.exports=!!Zu&&function(){var e,t={assert:function(n){if(!t.has(n))throw new jS("Side channel does not contain "+$S(n))},delete:function(n){if(e){var i=VS(e,n);return US(e)===0&&(e=void 0),i}return!1},get:function(n){if(e)return MS(e,n)},has:function(n){return e?kS(e,n):!1},set:function(n,i){e||(e=new Zu),GS(e,n,i)}};return t}});var rl=s((zC,el)=>{"use strict";var BS=Z(),cn=he(),WS=Ve(),fn=wi(),XS=S(),kr=BS("%WeakMap%",!0),HS=cn("WeakMap.prototype.get",!0),KS=cn("WeakMap.prototype.set",!0),zS=cn("WeakMap.prototype.has",!0),JS=cn("WeakMap.prototype.delete",!0);el.exports=kr?function(){var e,t,n={assert:function(i){if(!n.has(i))throw new XS("Side channel does not contain "+WS(i))},delete:function(i){if(kr&&i&&(typeof i=="object"||typeof i=="function")){if(e)return JS(e,i)}else if(fn&&t)return t.delete(i);return!1},get:function(i){return kr&&i&&(typeof i=="object"||typeof i=="function")&&e?HS(e,i):t&&t.get(i)},has:function(i){return kr&&i&&(typeof i=="object"||typeof i=="function")&&e?zS(e,i):!!t&&t.has(i)},set:function(i,a){kr&&i&&(typeof i=="object"||typeof i=="function")?(e||(e=new kr),KS(e,i,a)):fn&&(t||(t=fn()),t.set(i,a))}};return n}:fn});var nl=s((JC,tl)=>{"use strict";var YS=S(),ZS=Ve(),QS=Yu(),eI=wi(),rI=rl(),tI=rI||eI||QS;tl.exports=function(){var e,t={assert:function(n){if(!t.has(n)){var i=n&&Object(n)===n?"the given object key":ZS(n);throw new YS("Side channel does not contain "+i)}},delete:function(n){return!!e&&e.delete(n)},get:function(n){return e&&e.get(n)},has:function(n){return!!e&&e.has(n)},set:function(n,i){e||(e=tI()),e.set(n,i)}};return t}});var Vr=s((YC,il)=>{"use strict";var nI=Ne(),vt=nl()(),tr=S(),bi={assert:function(r,e){if(!r||typeof r!="object"&&typeof r!="function")throw new tr("`O` is not an object");if(typeof e!="string")throw new tr("`slot` must be a string");if(vt.assert(r),!bi.has(r,e))throw new tr("`"+e+"` is not present on `O`")},get:function(r,e){if(!r||typeof r!="object"&&typeof r!="function")throw new tr("`O` is not an object");if(typeof e!="string")throw new tr("`slot` must be a string");var t=vt.get(r);return t&&t["$"+e]},has:function(r,e){if(!r||typeof r!="object"&&typeof r!="function")throw new tr("`O` is not an object");if(typeof e!="string")throw new tr("`slot` must be a string");var t=vt.get(r);return!!t&&nI(t,"$"+e)},set:function(r,e,t){if(!r||typeof r!="object"&&typeof r!="function")throw new tr("`O` is not an object");if(typeof e!="string")throw new tr("`slot` must be a string");var n=vt.get(r);n||(n={},vt.set(r,n)),n["$"+e]=t}};Object.freeze&&Object.freeze(bi);il.exports=bi});var ht=s((ZC,ol)=>{"use strict";var al=vr(),fr=Vr(),yt=function r(e,t){if(!(this instanceof r))return new r(e,t);if(e!=="normal"&&e!=="break"&&e!=="continue"&&e!=="return"&&e!=="throw")throw new al('Assertion failed: `type` must be one of "normal", "break", "continue", "return", or "throw"');fr.set(this,"[[Type]]",e),fr.set(this,"[[Value]]",t)};yt.prototype.type=function(){return fr.get(this,"[[Type]]")};yt.prototype.value=function(){return fr.get(this,"[[Value]]")};yt.prototype["?"]=function(){var e=fr.get(this,"[[Type]]"),t=fr.get(this,"[[Value]]");if(e==="throw")throw t;return t};yt.prototype["!"]=function(){var e=fr.get(this,"[[Type]]");if(e!=="normal")throw new al('Assertion failed: Completion Record is not of type "normal"');return fr.get(this,"[[Value]]")};ol.exports=yt});var ul=s((QC,sl)=>{"use strict";var iI=S(),aI=Ve(),oI=Ce();sl.exports=function(e,t){if(!oI(t))throw new iI("Assertion failed: P is not a Property Key, got "+aI(t));return e[t]}});var dt=s((eL,cl)=>{"use strict";var fl=Function.prototype.toString,Ur=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,Ri,pn;if(typeof Ur=="function"&&typeof Object.defineProperty=="function")try{Ri=Object.defineProperty({},"length",{get:function(){throw pn}}),pn={},Ur(function(){throw 42},null,Ri)}catch(r){r!==pn&&(Ur=null)}else Ur=null;var sI=/^\s*class\b/,Ti=function(e){try{var t=fl.call(e);return sI.test(t)}catch{return!1}},Ai=function(e){try{return Ti(e)?!1:(fl.call(e),!0)}catch{return!1}},vn=Object.prototype.toString,uI="[object Object]",lI="[object Function]",fI="[object GeneratorFunction]",cI="[object HTMLAllCollection]",pI="[object HTML document.all class]",vI="[object HTMLCollection]",yI=typeof Symbol=="function"&&!!Symbol.toStringTag,hI=!(0 in[,]),qi=function(){return!1};typeof document=="object"&&(ll=document.all,vn.call(ll)===vn.call(document.all)&&(qi=function(e){if((hI||!e)&&(typeof e>"u"||typeof e=="object"))try{var t=vn.call(e);return(t===cI||t===pI||t===vI||t===uI)&&e("")==null}catch{}return!1}));var ll;cl.exports=Ur?function(e){if(qi(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{Ur(e,null,Ri)}catch(t){if(t!==pn)return!1}return!Ti(e)&&Ai(e)}:function(e){if(qi(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(yI)return Ai(e);if(Ti(e))return!1;var t=vn.call(e);return t!==lI&&t!==fI&&!/^\[object HTML/.test(t)?!1:Ai(e)}});var mr=s((rL,pl)=>{"use strict";pl.exports=dt()});var mt=s((tL,hl)=>{"use strict";var vl=S(),dI=ul(),mI=mr(),gI=Ce(),yl=Ve();hl.exports=function(e,t){if(!gI(t))throw new vl("Assertion failed: P is not a Property Key");var n=dI(e,t);if(n!=null){if(!mI(n))throw new vl(yl(t)+" is not a function: "+yl(n));return n}}});var gt=s((nL,dl)=>{"use strict";var Oi=Ne();dl.exports=function(e){return!!e&&typeof e=="object"&&Oi(e,"[[Iterator]]")&&Oi(e,"[[NextMethod]]")&&Oi(e,"[[Done]]")&&typeof e["[[Done]]"]=="boolean"}});var xi=s((iL,El)=>{"use strict";var yn=S(),ml=Y(),EI=sr(),gl=ht(),SI=mt(),II=mr(),wI=gt();El.exports=function(e,t){if(!wI(e))throw new yn("Assertion failed: `iteratorRecord` must be an Iterator Record");if(!ml(e["[[Iterator]]"]))throw new yn("Assertion failed: iteratorRecord.[[Iterator]] must be an Object");if(!II(t)&&!(t instanceof gl))throw new yn("Assertion failed: completion is not a thunk representing a Completion Record, nor a Completion Record instance");var n=t instanceof gl?function(){return t["?"]()}:t,i=e["[[Iterator]]"],a;try{a=SI(i,"return")}catch(l){throw n(),n=null,l}if(typeof a>"u")return n();var o;try{o=EI(a,i,[])}catch(l){throw n(),n=null,l}var u=n();if(n=null,!ml(o))throw new yn("iterator .return must return an object");return u}});var Il=s((aL,Sl)=>{"use strict";var bI=S(),AI=ht(),RI=xi();Sl.exports=function(e,t){if(!(e instanceof AI))throw new bI("Assertion failed: `value` must be a Completion Record");return e.type()!=="normal"?RI(t,e):e["!"]()}});var Et=s((oL,wl)=>{"use strict";wl.exports=function(e){return!!e}});var Al=s((sL,bl)=>{"use strict";var TI=S(),qI=Y(),OI=rr(),xI=Et();bl.exports=function(e){if(!qI(e))throw new TI("Assertion failed: Type(iterResult) is not Object");return xI(OI(e,"done"))}});var Ol=s((uL,ql)=>{"use strict";var Rl=S(),PI=Y(),Tl=sr(),NI=gt();ql.exports=function(e){if(!NI(e))throw new Rl("Assertion failed: `iteratorRecord` must be an Iterator Record");var t;try{arguments.length<2?t=Tl(e["[[NextMethod]]"],e["[[Iterator]]"]):t=Tl(e["[[NextMethod]]"],e["[[Iterator]]"],[arguments[1]])}catch(n){throw e["[[Done]]"]=!0,n}if(!PI(t))throw e["[[Done]]"]=!0,new Rl("iterator next must return an object");return t}});var Pl=s((lL,xl)=>{"use strict";var CI=S(),LI=Al(),_I=Ol(),DI=gt();xl.exports=function(e){if(!DI(e))throw new CI("Assertion failed: `iteratorRecord` must be an Iterator Record");var t=_I(e);try{var n=LI(t)}catch(i){throw e["[[Done]]"]=!0,i}return n?(e["[[Done]]"]=!0,!1):t}});var Cl=s((fL,Nl)=>{"use strict";var FI=S(),$I=Y(),jI=rr();Nl.exports=function(e){if(!$I(e))throw new FI("Assertion failed: Type(iterResult) is not Object");return jI(e,"value")}});var _l=s((cL,Ll)=>{"use strict";var MI=S(),GI=Pl(),kI=Cl(),VI=gt();Ll.exports=function(e){if(!VI(e))throw new MI("Assertion failed: `iteratorRecord` must be an Iterator Record");var t=GI(e);if(!t||t==="DONE")return t;var n;try{n=kI(t)}catch(i){throw e["[[Done]]"]=!0,i}return n}});var Fl=s((pL,Dl)=>{"use strict";var UI=ht();Dl.exports=function(e){return new UI("normal",e)}});var jl=s((vL,$l)=>{"use strict";var BI=ht();$l.exports=function(e){return new BI("throw",e)}});var Pi=s((yL,Ml)=>{"use strict";Ml.exports=Y()});var Ul=s((hL,Vl)=>{"use strict";var Ni=S(),WI=sr(),XI=Ii(),HI=Il(),KI=mr(),Gl=xi(),zI=_l(),JI=Fl(),kl=jl(),YI=Et(),ZI=Pi();Vl.exports=function r(e){if(this instanceof r)throw new Ni("`find` is not a constructor");var t=this;if(!ZI(t))throw new Ni("`this` value must be an Object");var n={"[[Iterator]]":t,"[[NextMethod]]":void 0,"[[Done]]":!1};if(!KI(e)){var i=kl(new Ni("`predicate` must be a function"));return Gl(n,i)}n=XI(t);for(var a=0;;){var o=zI(n);if(n["[[Done]]"])return;var u;try{u=WI(e,void 0,[o,a])}catch(l){return HI(kl(l),n)}if(YI(u))return Gl(n,JI(o));a+=1}}});var Wl=s((dL,Bl)=>{"use strict";var QI=Ul();Bl.exports=function(){if(typeof Iterator=="function"&&typeof Iterator.prototype.find=="function"){var e=0;try{Iterator.prototype.find.call({next:function(){},return:function(){return e+=1,{}}},null)}catch{}if(e>0)return Iterator.prototype.find}return QI}});var Hl=s((mL,Xl)=>{"use strict";var ew=Xe(),rw=Wl(),tw=ew(rw());Xl.exports=tw});var Ci=s((gL,Kl)=>{"use strict";Kl.exports=function(e){return typeof e=="number"&&e>=55296&&e<=56319}});var Li=s((EL,zl)=>{"use strict";zl.exports=function(e){return typeof e=="number"&&e>=56320&&e<=57343}});var Zl=s((SL,Yl)=>{"use strict";var nw=Z(),iw=S(),Jl=nw("%String.fromCharCode%"),aw=Ci(),ow=Li();Yl.exports=function(e,t){if(!aw(e)||!ow(t))throw new iw("Assertion failed: `lead` must be a leading surrogate char code, and `trail` must be a trailing surrogate char code");return Jl(e)+Jl(t)}});var af=s((IL,nf)=>{"use strict";var Ql=S(),tf=he(),sw=Ci(),ef=Li(),uw=Zl(),lw=tf("String.prototype.charAt"),rf=tf("String.prototype.charCodeAt");nf.exports=function(e,t){if(typeof e!="string")throw new Ql("Assertion failed: `string` must be a String");var n=e.length;if(t<0||t>=n)throw new Ql("Assertion failed: `position` must be >= 0, and < the length of `string`");var i=rf(e,t),a=lw(e,t),o=sw(i),u=ef(i);if(!o&&!u)return{"[[CodePoint]]":a,"[[CodeUnitCount]]":1,"[[IsUnpairedSurrogate]]":!1};if(u||t+1===n)return{"[[CodePoint]]":a,"[[CodeUnitCount]]":1,"[[IsUnpairedSurrogate]]":!0};var l=rf(e,t+1);return ef(l)?{"[[CodePoint]]":uw(i,l),"[[CodeUnitCount]]":2,"[[IsUnpairedSurrogate]]":!1}:{"[[CodePoint]]":a,"[[CodeUnitCount]]":1,"[[IsUnpairedSurrogate]]":!0}}});var hn=s((wL,of)=>{"use strict";var fw=or();of.exports=function(e){return(typeof e=="number"||typeof e=="bigint")&&!fw(e)&&e!==1/0&&e!==-1/0}});var dn=s((bL,sf)=>{"use strict";var cw=ei(),pw=tt(),vw=or(),yw=hn();sf.exports=function(e){if(typeof e!="number"||vw(e)||!yw(e))return!1;var t=cw(e);return pw(t)===t}});var St=s((AL,uf)=>{"use strict";uf.exports=Number.MAX_SAFE_INTEGER||9007199254740991});var Di=s((RL,lf)=>{"use strict";var hw=af(),_i=S(),dw=dn(),mw=St();lf.exports=function(e,t,n){if(typeof e!="string")throw new _i("Assertion failed: `S` must be a String");if(!dw(t)||t<0||t>mw)throw new _i("Assertion failed: `length` must be an integer >= 0 and <= 2**53");if(typeof n!="boolean")throw new _i("Assertion failed: `unicode` must be a Boolean");if(!n)return t+1;var i=e.length;if(t+1>=i)return t+1;var a=hw(e,t);return t+a["[[CodeUnitCount]]"]}});var It=s((TL,ff)=>{"use strict";var gw=ri();ff.exports=function(){return gw()&&!!Symbol.toStringTag}});var vf=s((qL,pf)=>{"use strict";var cf=he(),Ew=cf("String.prototype.valueOf"),Sw=function(e){try{return Ew(e),!0}catch{return!1}},Iw=cf("Object.prototype.toString"),ww="[object String]",bw=It()();pf.exports=function(e){return typeof e=="string"?!0:!e||typeof e!="object"?!1:bw?Sw(e):Iw(e)===ww}});var df=s((OL,hf)=>{"use strict";var Aw=We()(),yf=Z(),Rw=he(),Tw=vf(),qw=yf("%Symbol.iterator%",!0),Ow=Rw("String.prototype.slice"),xw=yf("%String%"),Pw=st();hf.exports=function(e,t){var n;return Aw?n=e.GetMethod(t,qw):Pw(t)?n=function(){var i=-1,a=this;return{next:function(){return i+=1,{done:i>=a.length,value:a[i]}}}}:Tw(t)&&(n=function(){var i=0;return{next:function(){var a=e.AdvanceStringIndex(xw(t),i,!0),o=Ow(t,i,a);i=a;var u=a>t.length;return{done:u,value:u?void 0:o}}}}),n}});var Ef=s((xL,gf)=>{"use strict";var Fi=S(),mf=Y(),Nw=Di(),Cw=sr(),Lw=Ii(),_w=mt(),Dw=an(),Fw=df();gf.exports=function(e,t){if(t!=="REJECT-PRIMITIVES"&&t!=="ITERATE-STRING-PRIMITIVES")throw new Fi('Assertion failed: `stringHandling` must be "REJECT-PRIMITIVES" or "ITERATE-STRING-PRIMITIVES"');if(!mf(e)&&(t==="REJECT-PRIMITIVES"||typeof e!="string"))throw new Fi("obj must be an Object");var n=Fw({AdvanceStringIndex:Nw,GetMethod:_w,IsArray:Dw},e),i;if(typeof n>"u"?i=e:i=Cw(n,e),!mf(i))throw new Fi("iterator must be an Object");return Lw(i)}});var wf=s((PL,If)=>{"use strict";var $w=S(),Sf=Y(),jw=rr(),Mw=mr();If.exports=function(e,t){if(!Mw(e)||!Sf(t))return!1;var n=jw(e,"prototype");if(!Sf(n))throw new $w("OrdinaryHasInstance called on an object with an invalid prototype property.");return t instanceof e}});var Af=s((NL,bf)=>{"use strict";bf.exports=function(e,t){for(var n=0;n<e.length;n+=1)t(e[n],n,e)}});var Tf=s((CL,Rf)=>{"use strict";var $i={__proto__:null,foo:{}},Gw={__proto__:$i}.foo===$i.foo&&!($i instanceof Object);Rf.exports=function(){return Gw}});var ji=s((LL,xf)=>{"use strict";var kw=Z(),qf=kw("%Object.create%",!0),Of=S(),Vw=vr(),Uw=Y(),Bw=an(),Ww=Af(),Xw=Vr(),Hw=Tf()();xf.exports=function(e){if(e!==null&&!Uw(e))throw new Of("Assertion failed: `proto` must be null or an object");var t=arguments.length<2?[]:arguments[1];if(!Bw(t))throw new Of("Assertion failed: `additionalInternalSlotsList` must be an Array");var n;if(Hw)n={__proto__:e};else if(qf)n=qf(e);else{if(e===null)throw new Vw("native Object.create support is required to create null objects");var i=function(){};i.prototype=e,n=new i}return t.length>0&&Ww(t,function(a){Xw.set(n,a,void 0)}),n}});var Mi=s((_L,Nf)=>{"use strict";var Pf=Object.prototype.toString;Nf.exports=function(e){var t=Pf.call(e),n=t==="[object Arguments]";return n||(n=t!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&Pf.call(e.callee)==="[object Function]"),n}});var Gf=s((DL,Mf)=>{"use strict";var jf;Object.keys||(wt=Object.prototype.hasOwnProperty,Gi=Object.prototype.toString,Cf=Mi(),ki=Object.prototype.propertyIsEnumerable,Lf=!ki.call({toString:null},"toString"),_f=ki.call(function(){},"prototype"),bt=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],mn=function(r){var e=r.constructor;return e&&e.prototype===r},Df={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},Ff=(function(){if(typeof window>"u")return!1;for(var r in window)try{if(!Df["$"+r]&&wt.call(window,r)&&window[r]!==null&&typeof window[r]=="object")try{mn(window[r])}catch{return!0}}catch{return!0}return!1})(),$f=function(r){if(typeof window>"u"||!Ff)return mn(r);try{return mn(r)}catch{return!1}},jf=function(e){var t=e!==null&&typeof e=="object",n=Gi.call(e)==="[object Function]",i=Cf(e),a=t&&Gi.call(e)==="[object String]",o=[];if(!t&&!n&&!i)throw new TypeError("Object.keys called on a non-object");var u=_f&&n;if(a&&e.length>0&&!wt.call(e,0))for(var l=0;l<e.length;++l)o.push(String(l));if(i&&e.length>0)for(var p=0;p<e.length;++p)o.push(String(p));else for(var h in e)!(u&&h==="prototype")&&wt.call(e,h)&&o.push(String(h));if(Lf)for(var E=$f(e),d=0;d<bt.length;++d)!(E&&bt[d]==="constructor")&&wt.call(e,bt[d])&&o.push(bt[d]);return o});var wt,Gi,Cf,ki,Lf,_f,bt,mn,Df,Ff,$f;Mf.exports=jf});var Vi=s((FL,Uf)=>{"use strict";var Kw=Array.prototype.slice,zw=Mi(),kf=Object.keys,gn=kf?function(e){return kf(e)}:Gf(),Vf=Object.keys;gn.shim=function(){if(Object.keys){var e=(function(){var t=Object.keys(arguments);return t&&t.length===arguments.length})(1,2);e||(Object.keys=function(n){return zw(n)?Vf(Kw.call(n)):Vf(n)})}else Object.keys=gn;return Object.keys||gn};Uf.exports=gn});var Le=s(($L,Hf)=>{"use strict";var Jw=Vi(),Yw=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",Zw=Object.prototype.toString,Qw=Array.prototype.concat,Bf=Mr(),eb=function(r){return typeof r=="function"&&Zw.call(r)==="[object Function]"},Wf=hr()(),rb=function(r,e,t,n){if(e in r){if(n===!0){if(r[e]===t)return}else if(!eb(n)||!n())return}Wf?Bf(r,e,t,!0):Bf(r,e,t)},Xf=function(r,e){var t=arguments.length>2?arguments[2]:{},n=Jw(e);Yw&&(n=Qw.call(n,Object.getOwnPropertySymbols(e)));for(var i=0;i<n.length;i+=1)rb(r,n[i],e[n[i]],t[n[i]])};Xf.supportsDescriptors=!!Wf;Hf.exports=Xf});var Ui=s((jL,Kf)=>{"use strict";Kf.exports=global});var Bi=s((ML,zf)=>{"use strict";var tb=Ui();zf.exports=function(){return typeof global!="object"||!global||global.Math!==Math||global.Array!==Array?tb:global}});var Yf=s((GL,Jf)=>{"use strict";var nb=Le(),ib=Fe(),ab=Bi();Jf.exports=function(){var e=ab();if(nb.supportsDescriptors){var t=ib(e,"globalThis");(!t||t.configurable&&(t.enumerable||!t.writable||globalThis!==e))&&Object.defineProperty(e,"globalThis",{configurable:!0,enumerable:!1,value:e,writable:!0})}else(typeof globalThis!="object"||globalThis!==e)&&(e.globalThis=e);return e}});var rc=s((kL,ec)=>{"use strict";var ob=Le(),sb=Ui(),Zf=Bi(),ub=Yf(),lb=Zf(),Qf=function(){return lb};ob(Qf,{getPolyfill:Zf,implementation:sb,shim:ub});ec.exports=Qf});var nc=s((VL,tc)=>{"use strict";var Rt=function(){return typeof function(){}.name=="string"},At=Object.getOwnPropertyDescriptor;if(At)try{At([],"length")}catch{At=null}Rt.functionsHaveConfigurableNames=function(){if(!Rt()||!At)return!1;var e=At(function(){},"name");return!!e&&!!e.configurable};var fb=Function.prototype.bind;Rt.boundFunctionsHaveNames=function(){return Rt()&&typeof fb=="function"&&function(){}.bind().name!==""};tc.exports=Rt});var Tt=s((UL,ac)=>{"use strict";var ic=Mr(),cb=hr()(),pb=nc().functionsHaveConfigurableNames(),vb=S();ac.exports=function(e,t){if(typeof e!="function")throw new vb("`fn` is not a function");var n=arguments.length>2&&!!arguments[2];return(!n||pb)&&(cb?ic(e,"name",t,!0,!0):ic(e,"name",t)),e}});var Xi=s((BL,lc)=>{"use strict";var yb=Z(),hb=en(),db=We(),mb=Tt(),gb=Mr(),Eb=Nr(),oc=yb("%ArrayIteratorPrototype%",!0),sc=oc&&hb(oc),Wi=sc!==Eb.prototype&&sc||{};db()&&(Symbol.iterator in Wi||(uc=mb(function(){return this},"[Symbol.iterator]",!0),gb(Wi,Symbol.iterator,uc,!0)));var uc;lc.exports=Wi});var pc=s((WL,cc)=>{"use strict";var Sb=Z(),Ib=hr()(),wb=S(),bb=Ib&&Sb("%Object.defineProperty%",!0),fc=Xi(),Ab=he(),Rb=Ab("Object.prototype.isPrototypeOf"),En=typeof Iterator=="function"?Iterator:function r(){if(!(this instanceof r)||this.constructor===r||!Rb(r,this.constructor))throw new wb("`Iterator` can not be called or constructed directly")};En.prototype!==fc&&(En.prototype=fc);bb(En,"prototype",{writable:!1});cc.exports=En});var Hi=s((XL,yc)=>{"use strict";var vc=rc()(),Tb=pc();yc.exports=function(){return typeof vc.Iterator=="function"?vc.Iterator:Tb}});var Ki=s((HL,hc)=>{"use strict";var qb=S();hc.exports=function(e,t){if(typeof t!="boolean")throw new qb("Assertion failed: Type(done) is not Boolean");return{value:e,done:t}}});var mc=s((KL,dc)=>{"use strict";dc.exports=Xi()});var Sc=s((zL,Ec)=>{"use strict";var Ob=S(),gc=sr(),xb=Ki(),Pb=mt(),Nb=Pi(),Sn=Vr(),Cb=mc();Ec.exports={__proto__:Cb,next:function(){var e=this;Sn.assert(e,"[[Iterated]]");var t=Sn.get(e,"[[Iterated]]");return gc(t["[[NextMethod]]"],t["[[Iterator]]"])},return:function(){var r=this;Sn.assert(r,"[[Iterated]]");var e=Sn.get(r,"[[Iterated]]")["[[Iterator]]"];if(!Nb(e))throw new Ob("iterator must be an Object");var t=Pb(e,"return");return typeof t>"u"?xb(void 0,!0):gc(t,e)}}});var wc=s((JL,Ic)=>{"use strict";var Lb=S(),_b=Ef(),Db=wf(),Fb=ji(),$b=Hi()(),jb=Sc(),Mb=Vr();Ic.exports=function r(e){if(this instanceof r)throw new Lb("`Iterator.from` is not a constructor");var t=_b(e,"ITERATE-STRING-PRIMITIVES"),n=Db($b,t["[[Iterator]]"]);if(n)return t["[[Iterator]]"];var i=Fb(jb);return Mb.set(i,"[[Iterated]]",t),i}});var Ac=s((YL,bc)=>{"use strict";var Gb=Xe(),kb=Hi(),Vb=Gb(kb());bc.exports=Vb});var qc=s((ZL,Tc)=>{"use strict";var Ub=wc(),Rc=Ac();Tc.exports=function(){return typeof Rc.from=="function"?Rc.from:Ub}});var xc=s((QL,Oc)=>{"use strict";var Bb=Xe(),Wb=qc(),Xb=Bb(Wb(),null);Oc.exports=Xb});var In=s((e_,Pc)=>{"use strict";function Br(r){return r.getSourceCode?r.getSourceCode():r.sourceCode}function Hb(r,e){let t=Br(r);return t.getAncestors?t.getAncestors(e):r.getAncestors()}function Kb(r,e){let t=Br(r);return t.getScope?t.getScope(e):r.getScope()}function zb(r,e,t){let n=Br(t);return n.markVariableAsUsed?n.markVariableAsUsed(r,e):t.markVariableAsUsed(r)}function Jb(r,e,t){let n=Br(r);return n.getFirstTokens?n.getFirstTokens(e,t):r.getFirstTokens(e,t)}function Yb(r){let e=Br(r),t=Array.prototype.slice.call(arguments,1);return e.getText?e.getText.apply(e,t):r.getSource.apply(r,t)}Pc.exports={getAncestors:Hb,getFirstTokens:Jb,getScope:Kb,getSourceCode:Br,getText:Yb,markVariableAsUsed:zb}});var zi=s((r_,Nc)=>{"use strict";function Zb(r){return`https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/${r}.md`}Nc.exports=Zb});var Lc=s((t_,Cc)=>{Cc.exports=(r,e)=>r?{messageId:r}:{message:e}});var Ji=s((n_,_c)=>{"use strict";var Qb=Lc();_c.exports=function(e,t,n,i){e.report(Object.assign(Qb(n,t),i))}});var $c=s((i_,Fc)=>{"use strict";var e0=In().getScope;function r0(r,e){return r.some(t=>t.name===e)}function wn(r,e){return r.find(t=>t.name===e)}function Dc(r,e,t){let n=e0(r,e);for(;n;){let i=wn(n.variables,t);if(!i&&n.childScopes.length&&(i=wn(n.childScopes[0].variables,t),!i&&n.childScopes[0].childScopes.length&&(i=wn(n.childScopes[0].childScopes[0].variables,t))),i)return i;n=n.upper}}function t0(r,e,t){let n=Dc(r,e,t);return!n||!n.defs[0]||!n.defs[0].node?null:n.defs[0].node.type==="TypeAlias"?n.defs[0].node.right:n.defs[0].type==="ImportBinding"?n.defs[0].node:n.defs[0].node.init}function n0(r){return r.defs[r.defs.length-1]}Fc.exports={findVariable:r0,findVariableByName:t0,getVariable:wn,getVariableFromContext:Dc,getLatestVariableDefinition:n0}});var Yi=s((a_,jc)=>{"use strict";var i0=De("os");jc.exports=i0.homedir||function(){var e=process.env.HOME,t=process.env.LOGNAME||process.env.USER||process.env.LNAME||process.env.USERNAME;return process.platform==="win32"?process.env.USERPROFILE||process.env.HOMEDRIVE&&process.env.HOMEPATH&&process.env.HOMEDRIVE+process.env.HOMEPATH||e||null:process.platform==="darwin"?e||(t?"/Users/"+t:null):process.platform==="linux"?e||(process.getuid()===0?"/root":t?"/home/"+t:null):e||null}});var Zi=s((o_,Mc)=>{"use strict";var bn=pr();Mc.exports=function(){var r=bn.prepareStackTrace;bn.prepareStackTrace=function(t,n){return n};var e=new bn().stack;return bn.prepareStackTrace=r,e[2].getFileName()}});var Gc=s((s_,qt)=>{"use strict";var a0=process.platform==="win32",o0=/^(((?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?[\\\/]?)(?:[^\\\/]*[\\\/])*)((\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))[\\\/]*$/,Qi={};function s0(r){return o0.exec(r).slice(1)}Qi.parse=function(r){if(typeof r!="string")throw new TypeError("Parameter 'pathString' must be a string, not "+typeof r);var e=s0(r);if(!e||e.length!==5)throw new TypeError("Invalid path '"+r+"'");return{root:e[1],dir:e[0]===e[1]?e[0]:e[0].slice(0,-1),base:e[2],ext:e[4],name:e[3]}};var u0=/^((\/?)(?:[^\/]*\/)*)((\.{1,2}|[^\/]+?|)(\.[^.\/]*|))[\/]*$/,ea={};function l0(r){return u0.exec(r).slice(1)}ea.parse=function(r){if(typeof r!="string")throw new TypeError("Parameter 'pathString' must be a string, not "+typeof r);var e=l0(r);if(!e||e.length!==5)throw new TypeError("Invalid path '"+r+"'");return{root:e[1],dir:e[0].slice(0,-1),base:e[2],ext:e[4],name:e[3]}};a0?qt.exports=Qi.parse:qt.exports=ea.parse;qt.exports.posix=ea.parse;qt.exports.win32=Qi.parse});var ra=s((u_,Bc)=>{var Uc=De("path"),kc=Uc.parse||Gc(),f0=/^([A-Za-z]:)/,c0=/^\\\\/;function Vc(r,e){var t="/";f0.test(r)?t="":c0.test(r)&&(t="\\\\");for(var n=[r],i=kc(r);i.dir!==n[n.length-1];)n.push(i.dir),i=kc(i.dir);return n.reduce(function(a,o){return a.concat(e.map(function(u){return Uc.resolve(t,o,u)}))},[])}Bc.exports=function(e,t,n){var i=t&&t.moduleDirectory?[].concat(t.moduleDirectory):["node_modules"];if(t&&typeof t.paths=="function")return t.paths(n,e,function(){return Vc(e,i)},t);var a=Vc(e,i);return t&&t.paths?a.concat(t.paths):a}});var ta=s((l_,Wc)=>{Wc.exports=function(r,e){return e||{}}});var Xc=s((f_,p0)=>{p0.exports={assert:!0,"node:assert":[">= 14.18 && < 15",">= 16"],"assert/strict":">= 15","node:assert/strict":">= 16",async_hooks:">= 8","node:async_hooks":[">= 14.18 && < 15",">= 16"],buffer_ieee754:">= 0.5 && < 0.9.7",buffer:!0,"node:buffer":[">= 14.18 && < 15",">= 16"],child_process:!0,"node:child_process":[">= 14.18 && < 15",">= 16"],cluster:">= 0.5","node:cluster":[">= 14.18 && < 15",">= 16"],console:!0,"node:console":[">= 14.18 && < 15",">= 16"],constants:!0,"node:constants":[">= 14.18 && < 15",">= 16"],crypto:!0,"node:crypto":[">= 14.18 && < 15",">= 16"],_debug_agent:">= 1 && < 8",_debugger:"< 8",dgram:!0,"node:dgram":[">= 14.18 && < 15",">= 16"],diagnostics_channel:[">= 14.17 && < 15",">= 15.1"],"node:diagnostics_channel":[">= 14.18 && < 15",">= 16"],dns:!0,"node:dns":[">= 14.18 && < 15",">= 16"],"dns/promises":">= 15","node:dns/promises":">= 16",domain:">= 0.7.12","node:domain":[">= 14.18 && < 15",">= 16"],events:!0,"node:events":[">= 14.18 && < 15",">= 16"],"node:ffi":">= 26.9",freelist:"< 6",fs:!0,"node:fs":[">= 14.18 && < 15",">= 16"],"fs/promises":[">= 10 && < 10.1",">= 14"],"node:fs/promises":[">= 14.18 && < 15",">= 16"],_http_agent:">= 0.11.1","node:_http_agent":[">= 14.18 && < 15",">= 16"],_http_client:">= 0.11.1","node:_http_client":[">= 14.18 && < 15",">= 16"],_http_common:">= 0.11.1","node:_http_common":[">= 14.18 && < 15",">= 16"],_http_incoming:">= 0.11.1","node:_http_incoming":[">= 14.18 && < 15",">= 16"],_http_outgoing:">= 0.11.1","node:_http_outgoing":[">= 14.18 && < 15",">= 16"],_http_server:">= 0.11.1","node:_http_server":[">= 14.18 && < 15",">= 16"],http:!0,"node:http":[">= 14.18 && < 15",">= 16"],http2:">= 8.8","node:http2":[">= 14.18 && < 15",">= 16"],https:!0,"node:https":[">= 14.18 && < 15",">= 16"],inspector:">= 8","node:inspector":[">= 14.18 && < 15",">= 16"],"inspector/promises":[">= 19"],"node:inspector/promises":[">= 19"],_linklist:"< 8",module:!0,"node:module":[">= 14.18 && < 15",">= 16"],net:!0,"net/promises":">= 27","node:net/promises":">= 27","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:!0,"node:os":[">= 14.18 && < 15",">= 16"],path:!0,"node:path":[">= 14.18 && < 15",">= 16"],"path/posix":">= 15.3","node:path/posix":">= 16","path/win32":">= 15.3","node:path/win32":">= 16",perf_hooks:">= 8.5","node:perf_hooks":[">= 14.18 && < 15",">= 16"],process:">= 1","node:process":[">= 14.18 && < 15",">= 16"],punycode:">= 0.5","node:punycode":[">= 14.18 && < 15",">= 16"],querystring:!0,"node:querystring":[">= 14.18 && < 15",">= 16"],readline:!0,"node:readline":[">= 14.18 && < 15",">= 16"],"readline/promises":">= 17","node:readline/promises":">= 17",repl:!0,"node:repl":[">= 14.18 && < 15",">= 16"],"node:sea":[">= 20.12 && < 21",">= 21.7"],smalloc:">= 0.11.5 && < 3","node:sqlite":[">= 22.13 && < 23",">= 23.4"],_stream_duplex:">= 0.9.4 && < 26","node:_stream_duplex":[">= 14.18 && < 15",">= 16 && < 26"],_stream_transform:">= 0.9.4 && < 26","node:_stream_transform":[">= 14.18 && < 15",">= 16 && < 26"],_stream_wrap:">= 1.4.1 && < 26","node:_stream_wrap":[">= 14.18 && < 15",">= 16 && < 26"],_stream_passthrough:">= 0.9.4 && < 26","node:_stream_passthrough":[">= 14.18 && < 15",">= 16 && < 26"],_stream_readable:">= 0.9.4 && < 26","node:_stream_readable":[">= 14.18 && < 15",">= 16 && < 26"],_stream_writable:">= 0.9.4 && < 26","node:_stream_writable":[">= 14.18 && < 15",">= 16 && < 26"],stream:!0,"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:!0,"node:string_decoder":[">= 14.18 && < 15",">= 16"],sys:[">= 0.4 && < 0.7",">= 0.8"],"node:sys":[">= 14.18 && < 15",">= 16"],"test/reporters":">= 19.9 && < 20.2","node:test/reporters":[">= 18.17 && < 19",">= 19.9",">= 20"],"test/mock_loader":">= 22.3 && < 22.7","node:test/mock_loader":">= 22.3 && < 22.7","node:test":[">= 16.17 && < 17",">= 18"],timers:!0,"node:timers":[">= 14.18 && < 15",">= 16"],"timers/promises":">= 15","node:timers/promises":">= 16",_tls_common:">= 0.11.13 && < 27","node:_tls_common":[">= 14.18 && < 15",">= 16 && < 27"],_tls_legacy:">= 0.11.3 && < 10",_tls_wrap:">= 0.11.3 && < 27","node:_tls_wrap":[">= 14.18 && < 15",">= 16 && < 27"],tls:!0,"node:tls":[">= 14.18 && < 15",">= 16"],trace_events:">= 10","node:trace_events":[">= 14.18 && < 15",">= 16"],tty:!0,"node:tty":[">= 14.18 && < 15",">= 16"],url:!0,"node:url":[">= 14.18 && < 15",">= 16"],util:!0,"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:">= 1","node:v8":[">= 14.18 && < 15",">= 16"],"node:vfs":">= 27",vm:!0,"node:vm":[">= 14.18 && < 15",">= 16"],wasi:[">= 13.4 && < 13.5",">= 18.17 && < 19",">= 20"],"node:wasi":[">= 18.17 && < 19",">= 20"],worker_threads:">= 11.7","node:worker_threads":[">= 14.18 && < 15",">= 16"],zlib:">= 0.5","node:zlib":[">= 14.18 && < 15",">= 16"]}});var na=s((c_,zc)=>{"use strict";var v0=Ne();function y0(r,e){for(var t=r.split("."),n=e.split(" "),i=n.length>1?n[0]:"=",a=(n.length>1?n[1]:n[0]).split("."),o=0;o<3;++o){var u=parseInt(t[o]||"0",10),l=parseInt(a[o]||"0",10);if(u!==l)return i==="<"?u<l:i===">="?u>=l:!1}return i===">="}function Hc(r,e){var t=e.split(/ ?&& ?/);if(t.length===0)return!1;for(var n=0;n<t.length;++n)if(!y0(r,t[n]))return!1;return!0}function h0(r,e){if(typeof e=="boolean")return e;var t=typeof r>"u"?process.versions&&process.versions.node:r;if(typeof t!="string")throw new TypeError(typeof r>"u"?"Unable to determine current node version":"If provided, a valid node version is required");if(e&&typeof e=="object"){for(var n=0;n<e.length;++n)if(Hc(t,e[n]))return!0;return!1}return Hc(t,e)}var Kc=Xc();zc.exports=function(e,t){return v0(Kc,e)&&h0(t,Kc[e])}});var Wr=s((p_,Jc)=>{"use strict";var d0=S();Jc.exports=function(e){if(e==null)throw new d0(arguments.length>0&&arguments[1]||"Cannot call method on "+e);return e}});var ia=s((v_,Zc)=>{"use strict";var m0=Wr(),Yc=he(),g0=Yc("Object.prototype.propertyIsEnumerable"),E0=Yc("Array.prototype.push");Zc.exports=function(e){var t=m0(e),n=[];for(var i in t)g0(t,i)&&E0(n,[i,t[i]]);return n}});var aa=s((y_,Qc)=>{"use strict";var S0=ia();Qc.exports=function(){return typeof Object.entries=="function"?Object.entries:S0}});var rp=s((h_,ep)=>{"use strict";var I0=aa(),w0=Le();ep.exports=function(){var e=I0();return w0(Object,{entries:e},{entries:function(){return Object.entries!==e}}),e}});var oa=s((d_,ip)=>{"use strict";var b0=Le(),A0=Xe(),R0=ia(),tp=aa(),T0=rp(),np=A0(tp(),Object);b0(np,{getPolyfill:tp,implementation:R0,shim:T0});ip.exports=np});var sa=s((m_,ap)=>{"use strict";ap.exports={__proto__:null,"^24.14 || >= 25.4":"subpath-imports-slash","23.6 - 24.13 || 25 - 25.3 || ^22.18":"strips-types","23 - 23.5 || 22.12 - 22.17 || ^20.19":"require-esm","17.1 - 19 || 20 - 20.18 || ^21 || 22 - 22.11":"pattern-trailers-no-dir-slash+json-imports","17.0":"pattern-trailers-no-dir-slash","^16.14":"pattern-trailers+json-imports","^14.19 || 16.10 - 16.13":"pattern-trailers","16.9.x":"pattern-trailers-no-node-addons","^12.20 || 14.13 - 14.18 || 15.x || 16.0 - 16.8":"patterns","12.17 - 12.19 || ^13.13 || 14.0 - 14.12":"broken-dir-slash-conditions","13.7 - 13.12":"conditions","13.3 - 13.6":"experimental","13.0 - 13.2":"broken","< 12.17":"pre-exports"}});var sp=s((g_,op)=>{"use strict";var q0=oa(),O0=sa();op.exports=function(){return q0(O0)}});var An=s((E_,up)=>{"use strict";var x0=sp();up.exports=function(e){for(var t=x0(),n=0;n<t.length;n++)if(t[n][1]===e)return!0;return!1}});var fp=s((S_,lp)=>{"use strict";var P0=rt(),N0=An(),C0={__proto__:null,patterns:!0,"pattern-trailers":!0,"pattern-trailers-no-node-addons":!0,"pattern-trailers+json-imports":!0,"pattern-trailers-no-dir-slash":!0,"pattern-trailers-no-dir-slash+json-imports":!0,"require-esm":!0,"strips-types":!0,"subpath-imports-slash":!0},L0={__proto__:null,"pattern-trailers":!0,"pattern-trailers-no-node-addons":!0,"pattern-trailers+json-imports":!0,"pattern-trailers-no-dir-slash":!0,"pattern-trailers-no-dir-slash+json-imports":!0,"require-esm":!0,"strips-types":!0,"subpath-imports-slash":!0},_0={__proto__:null,"broken-dir-slash-conditions":!0,patterns:!0,"pattern-trailers":!0,"pattern-trailers-no-node-addons":!0,"pattern-trailers+json-imports":!0};lp.exports=function(e){if(!N0(e))throw new P0("invalid category "+e);return{patterns:!!C0[e],patternTrailers:!!L0[e],dirSlash:!!_0[e]}}});var pp=s((I_,cp)=>{"use strict";var D0=rt(),F0=S(),$0=An(),j0=["import","node","require","default"],M0=["import","node","default"],G0=["node","require","default"],k0=["import","node-addons","node","require","default"],V0=["import","node-addons","node","default"],U0=["node-addons","node","require","default"],B0=["import","node-addons","node","require","module-sync","default"],W0=["import","node-addons","node","module-sync","default"],X0=["node-addons","node","require","module-sync","default"],H0={__proto__:null,"pattern-trailers":!0,"pattern-trailers+json-imports":!0,"pattern-trailers-no-dir-slash":!0,"pattern-trailers-no-dir-slash+json-imports":!0,"require-esm":!0,"strips-types":!0,"subpath-imports-slash":!0},K0={__proto__:null,"require-esm":!0,"strips-types":!0,"subpath-imports-slash":!0};cp.exports=function(e){if(!$0(e))throw new D0("invalid category "+e);var t=arguments.length>1?arguments[1]:null;if(arguments.length>1&&t!=="import"&&t!=="require")throw new F0("invalid moduleSystem: must be `'require'` or `'import'` if provided, got"+t);if(e==="experimental")return["default"];if(e==="broken"||e==="pre-exports")return null;var n=!!H0[e],i=!!K0[e];return n&&i?t==="import"?W0:t==="require"?X0:B0:n?t==="import"?V0:t==="require"?U0:k0:t==="import"?M0:t==="require"?G0:j0}});var ua=s((w_,vp)=>{"use strict";var z0=fp(),J0=pp();vp.exports=function(e,t){var n=J0(e,t||"require"),i=z0(e);return{conditions:n,flags:i}}});var hp=s((b_,yp)=>{"use strict";yp.exports=4294967295});var mp=s((A_,dp)=>{"use strict";dp.exports=typeof Reflect<"u"&&Reflect.setPrototypeOf||null});var Ep=s((R_,gp)=>{"use strict";var Y0=Nr();gp.exports=Y0.setPrototypeOf||null});var bp=s((T_,wp)=>{"use strict";var Z0=nt(),Sp=Fe(),Q0=S(),Ip={};try{Ip.__proto__=null}catch(r){if(!r||typeof r!="object"||!("code"in r)||r.code!=="ERR_PROTO_ACCESS")throw r}var eA=!("toString"in Ip),la=Sp&&Sp(Object.prototype,"__proto__");wp.exports=eA&&(!!la&&typeof la.set=="function"&&Z0([la.set])||function(e,t){if(e==null)throw new Q0("set Object.prototype.__proto__ called on null or undefined");return e.__proto__=t,t})});var qp=s((q_,Tp)=>{"use strict";var Ap=mp(),rA=Ep(),Rp=bp(),tA=S();Tp.exports=Ap?function(e,t){if(Ap(e,t))return e;throw new tA("Reflect.setPrototypeOf: failed to set [[Prototype]]")}:rA||(Rp?function(e,t){return Rp(e,t),e}:null)});var Np=s((O_,Pp)=>{"use strict";var nA=Z(),Op=nA("%Array.prototype%"),iA=rt(),aA=vr(),oA=S(),sA=dn(),uA=hp(),xp=qp();Pp.exports=function(e){if(!sA(e)||e<0)throw new oA("Assertion failed: `length` must be an integer Number >= 0");if(e>uA)throw new iA("length is greater than (2**32 - 1)");var t=arguments.length>1?arguments[1]:Op,n=[];if(t!==Op){if(!xp)throw new aA("ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]");xp(n,t)}return e!==0&&(n.length=e),n}});var Ot=s((x_,Lp)=>{"use strict";var Cp=S(),lA=Ve(),fA=Ce(),cA=Y();Lp.exports=function(e,t){if(!cA(e))throw new Cp("Assertion failed: Type(O) is not Object");if(!fA(t))throw new Cp("Assertion failed: P is not a Property Key, got "+lA(t));return e[t]}});var Rn=s((P_,_p)=>{"use strict";_p.exports=st()});var fa=s((N_,Dp)=>{"use strict";Dp.exports=Z()});var $e=s((C_,Fp)=>{"use strict";var pA=S(),xt=Ne(),vA={__proto__:null,"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};Fp.exports=function(e){if(!e||typeof e!="object")return!1;for(var t in e)if(xt(e,t)&&!vA[t])return!1;var n=xt(e,"[[Value]]")||xt(e,"[[Writable]]"),i=xt(e,"[[Get]]")||xt(e,"[[Set]]");if(n&&i)throw new pA("Property Descriptors may not be both accessor and data descriptors");return!0}});var Tn=s((L_,Mp)=>{"use strict";var yA=hr(),$p=Cr(),jp=yA.hasArrayLengthDefineBug(),hA=jp&&st(),dA=he(),mA=dA("Object.prototype.propertyIsEnumerable");Mp.exports=function(e,t,n,i,a,o){if(!$p){if(!e(o)||!o["[[Configurable]]"]||!o["[[Writable]]"]||a in i&&mA(i,a)!==!!o["[[Enumerable]]"])return!1;var u=o["[[Value]]"];return i[a]=u,t(i[a],u)}return jp&&a==="length"&&"[[Value]]"in o&&hA(i)&&i.length!==o["[[Value]]"]?(i.length=o["[[Value]]"],i.length===o["[[Value]]"]):($p(i,a,n(o)),!0)}});var ca=s((__,Gp)=>{"use strict";Gp.exports=function(e){if(typeof e>"u")return e;var t={};return"[[Value]]"in e&&(t.value=e["[[Value]]"]),"[[Writable]]"in e&&(t.writable=!!e["[[Writable]]"]),"[[Get]]"in e&&(t.get=e["[[Get]]"]),"[[Set]]"in e&&(t.set=e["[[Set]]"]),"[[Enumerable]]"in e&&(t.enumerable=!!e["[[Enumerable]]"]),"[[Configurable]]"in e&&(t.configurable=!!e["[[Configurable]]"]),t}});var pa=s((D_,kp)=>{"use strict";var gA=S(),EA=$e(),SA=ca();kp.exports=function(e){if(typeof e<"u"&&!EA(e))throw new gA("Assertion failed: `Desc` must be a Property Descriptor");return SA(e)}});var qn=s((F_,Up)=>{"use strict";var IA=S(),Vp=Ne(),wA=$e();Up.exports=function(e){if(typeof e>"u")return!1;if(!wA(e))throw new IA("Assertion failed: `Desc` must be a Property Descriptor");return!(!Vp(e,"[[Value]]")&&!Vp(e,"[[Writable]]"))}});var On=s(($_,Wp)=>{"use strict";var Bp=or();Wp.exports=function(e,t){return e===t?e===0?1/e===1/t:!0:Bp(e)&&Bp(t)}});var va=s((j_,Xp)=>{"use strict";Xp.exports=dt()});var Kp=s((M_,Hp)=>{"use strict";Hp.exports=function(e){return!!e}});var ha=s((G_,Jp)=>{"use strict";var Ke=Ne(),xn=S(),bA=Y(),zp=va(),ya=Kp();Jp.exports=function(e){if(!bA(e))throw new xn("ToPropertyDescriptor requires an object");var t={};if(Ke(e,"enumerable")&&(t["[[Enumerable]]"]=ya(e.enumerable)),Ke(e,"configurable")&&(t["[[Configurable]]"]=ya(e.configurable)),Ke(e,"value")&&(t["[[Value]]"]=e.value),Ke(e,"writable")&&(t["[[Writable]]"]=ya(e.writable)),Ke(e,"get")){var n=e.get;if(typeof n<"u"&&!zp(n))throw new xn("getter must be a function");t["[[Get]]"]=n}if(Ke(e,"set")){var i=e.set;if(typeof i<"u"&&!zp(i))throw new xn("setter must be a function");t["[[Set]]"]=i}if((Ke(t,"[[Get]]")||Ke(t,"[[Set]]"))&&(Ke(t,"[[Value]]")||Ke(t,"[[Writable]]")))throw new xn("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return t}});var Qp=s((k_,Zp)=>{"use strict";var da=S(),AA=Y(),Yp=$e(),RA=Tn(),TA=pa(),qA=qn(),OA=Ce(),xA=On(),PA=ha();Zp.exports=function(e,t,n){if(!AA(e))throw new da("Assertion failed: Type(O) is not Object");if(!OA(t))throw new da("Assertion failed: P is not a Property Key");var i=Yp(n)?n:PA(n);if(!Yp(i))throw new da("Assertion failed: Desc is not a valid Property Descriptor");return RA(qA,xA,TA,e,t,i)}});var rv=s((V_,Ea)=>{"use strict";var NA=fa(),ev=NA("%Reflect.construct%",!0),Pn=Qp();try{Pn({},"",{"[[Get]]":function(){}})}catch{Pn=null}Pn&&ev?(ma={},ga={},Pn(ga,"length",{"[[Get]]":function(){throw ma},"[[Enumerable]]":!0}),Ea.exports=function(e){try{ev(e,ga)}catch(t){return t===ma}}):Ea.exports=function(e){return typeof e=="function"&&!!e.prototype};var ma,ga});var sv=s((U_,ov)=>{"use strict";var CA=Z(),tv=CA("%Symbol.species%",!0),nv=S(),LA=dn(),_A=Y(),iv=Np(),av=Ot(),DA=Rn(),FA=rv();ov.exports=function(e,t){if(!LA(t)||t<0)throw new nv("Assertion failed: length must be an integer >= 0");var n=DA(e);if(!n)return iv(t);var i=av(e,"constructor");if(tv&&_A(i)&&(i=av(i,tv),i===null&&(i=void 0)),typeof i>"u")return iv(t);if(!FA(i))throw new nv("C must be a constructor");return new i(t)}});var lv=s((B_,uv)=>{"use strict";var $A=Z(),jA=he(),MA=S(),GA=Rn(),kA=$A("%Reflect.apply%",!0)||jA("Function.prototype.apply");uv.exports=function(e,t){var n=arguments.length>2?arguments[2]:[];if(!GA(n))throw new MA("Assertion failed: optional `argumentsList`, if provided, must be a List");return kA(e,t,n)}});var Nn=s((W_,cv)=>{"use strict";var VA=S(),fv=Ne(),UA=$e();cv.exports=function(e){if(typeof e>"u")return!1;if(!UA(e))throw new VA("Assertion failed: `Desc` must be a Property Descriptor");return!(!fv(e,"[[Get]]")&&!fv(e,"[[Set]]"))}});var Pt=s((X_,pv)=>{"use strict";pv.exports=function(e){return e===null||typeof e!="function"&&typeof e!="object"}});var dv=s((H_,hv)=>{"use strict";var yv=Z(),BA=yv("%Object.preventExtensions%",!0),WA=yv("%Object.isExtensible%",!0),vv=Pt();hv.exports=BA?function(e){return!vv(e)&&WA(e)}:function(e){return!vv(e)}});var gv=s((K_,mv)=>{"use strict";var XA=$e();mv.exports=function(e,t){return XA(t)&&"[[Enumerable]]"in t&&"[[Configurable]]"in t&&(e.IsAccessorDescriptor(t)||e.IsDataDescriptor(t))}});var Sv=s((z_,Ev)=>{"use strict";var HA=S(),KA=Nn(),zA=qn(),JA=$e();Ev.exports=function(e){if(typeof e>"u")return!1;if(!JA(e))throw new HA("Assertion failed: `Desc` must be a Property Descriptor");return!KA(e)&&!zA(e)}});var bv=s((J_,wv)=>{"use strict";var Xr=S(),YA=Y(),Nt=Tn(),ZA=gv(),Iv=$e(),Ct=pa(),gr=Nn(),cr=qn(),QA=Sv(),eR=Ce(),ze=On();wv.exports=function(e,t,n,i,a){if(typeof e<"u"&&!YA(e))throw new Xr("Assertion failed: O must be undefined or an Object");if(!eR(t))throw new Xr("Assertion failed: P must be a Property Key");if(typeof n!="boolean")throw new Xr("Assertion failed: extensible must be a Boolean");if(!Iv(i))throw new Xr("Assertion failed: Desc must be a Property Descriptor");if(typeof a<"u"&&!Iv(a))throw new Xr("Assertion failed: current must be a Property Descriptor, or undefined");if(typeof a>"u")return n?typeof e>"u"?!0:gr(i)?Nt(cr,ze,Ct,e,t,i):Nt(cr,ze,Ct,e,t,{"[[Configurable]]":!!i["[[Configurable]]"],"[[Enumerable]]":!!i["[[Enumerable]]"],"[[Value]]":i["[[Value]]"],"[[Writable]]":!!i["[[Writable]]"]}):!1;if(!ZA({IsAccessorDescriptor:gr,IsDataDescriptor:cr},a))throw new Xr("`current`, when present, must be a fully populated and valid Property Descriptor");if(!a["[[Configurable]]"]){if("[[Configurable]]"in i&&i["[[Configurable]]"]||"[[Enumerable]]"in i&&!ze(i["[[Enumerable]]"],a["[[Enumerable]]"])||!QA(i)&&!ze(gr(i),gr(a)))return!1;if(gr(a)){if("[[Get]]"in i&&!ze(i["[[Get]]"],a["[[Get]]"])||"[[Set]]"in i&&!ze(i["[[Set]]"],a["[[Set]]"]))return!1}else if(!a["[[Writable]]"]&&("[[Writable]]"in i&&i["[[Writable]]"]||"[[Value]]"in i&&!ze(i["[[Value]]"],a["[[Value]]"])))return!1}if(typeof e<"u"){var o,u;return cr(a)&&gr(i)?(o=("[[Configurable]]"in i?i:a)["[[Configurable]]"],u=("[[Enumerable]]"in i?i:a)["[[Enumerable]]"],Nt(cr,ze,Ct,e,t,{"[[Configurable]]":!!o,"[[Enumerable]]":!!u,"[[Get]]":("[[Get]]"in i?i:a)["[[Get]]"],"[[Set]]":("[[Set]]"in i?i:a)["[[Set]]"]})):gr(a)&&cr(i)?(o=("[[Configurable]]"in i?i:a)["[[Configurable]]"],u=("[[Enumerable]]"in i?i:a)["[[Enumerable]]"],Nt(cr,ze,Ct,e,t,{"[[Configurable]]":!!o,"[[Enumerable]]":!!u,"[[Value]]":("[[Value]]"in i?i:a)["[[Value]]"],"[[Writable]]":!!("[[Writable]]"in i?i:a)["[[Writable]]"]})):Nt(cr,ze,Ct,e,t,i)}return!0}});var qv=s((Y_,Tv)=>{"use strict";var Av=Fe(),Rv=vr(),Sa=S(),rR=Y(),tR=$e(),nR=Nn(),iR=dv(),aR=Ce(),oR=ha(),sR=On(),uR=bv();Tv.exports=function(e,t,n){if(!rR(e))throw new Sa("Assertion failed: O must be an Object");if(!aR(t))throw new Sa("Assertion failed: P must be a Property Key");if(!tR(n))throw new Sa("Assertion failed: Desc must be a Property Descriptor");if(!Av){if(nR(n))throw new Rv("This environment does not support accessor property descriptors.");var i=!(t in e)&&n["[[Writable]]"]&&n["[[Enumerable]]"]&&n["[[Configurable]]"]&&"[[Value]]"in n,a=t in e&&(!("[[Configurable]]"in n)||n["[[Configurable]]"])&&(!("[[Enumerable]]"in n)||n["[[Enumerable]]"])&&(!("[[Writable]]"in n)||n["[[Writable]]"])&&"[[Value]]"in n;if(i||a)return e[t]=n["[[Value]]"],sR(e[t],n["[[Value]]"]);throw new Rv("This environment does not support defining non-writable, non-enumerable, or non-configurable properties")}var o=Av(e,t),u=o&&oR(o),l=iR(e);return uR(e,t,l,n,u)}});var Pv=s((Z_,xv)=>{"use strict";var Ov=S(),lR=Y(),fR=Ce(),cR=qv();xv.exports=function(e,t,n){if(!lR(e))throw new Ov("Assertion failed: Type(O) is not Object");if(!fR(t))throw new Ov("Assertion failed: P is not a Property Key");var i={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":n,"[[Writable]]":!0};return cR(e,t,i)}});var Cv=s((Q_,Nv)=>{"use strict";var Ia=S(),pR=Y(),vR=Pv(),yR=Ce();Nv.exports=function(e,t,n){if(!pR(e))throw new Ia("Assertion failed: Type(O) is not Object");if(!yR(t))throw new Ia("Assertion failed: P is not a Property Key");var i=vR(e,t,n);if(!i)throw new Ia("unable to create data property")}});var Dv=s((eD,_v)=>{"use strict";var Lv=S(),hR=Y(),dR=Ce();_v.exports=function(e,t){if(!hR(e))throw new Lv("Assertion failed: `O` must be an Object");if(!dR(t))throw new Lv("Assertion failed: `P` must be a Property Key");return t in e}});var jv=s((rD,$v)=>{"use strict";var Fv=he(),mR=Fv("Date.prototype.getDay"),gR=function(e){try{return mR(e),!0}catch{return!1}},ER=Fv("Object.prototype.toString"),SR="[object Date]",IR=It()();$v.exports=function(e){return typeof e!="object"||e===null?!1:IR?gR(e):ER(e)===SR}});var Ra=s((tD,Uv)=>{"use strict";var Mv=he(),wR=It()(),bR=Ne(),AR=Fe(),Aa;wR?(Gv=Mv("RegExp.prototype.exec"),wa={},Cn=function(){throw wa},ba={toString:Cn,valueOf:Cn},typeof Symbol.toPrimitive=="symbol"&&(ba[Symbol.toPrimitive]=Cn),Aa=function(e){if(!e||typeof e!="object")return!1;var t=AR(e,"lastIndex"),n=t&&bR(t,"value");if(!n)return!1;try{Gv(e,ba)}catch(i){return i===wa}}):(kv=Mv("Object.prototype.toString"),Vv="[object RegExp]",Aa=function(e){return!e||typeof e!="object"&&typeof e!="function"?!1:kv(e)===Vv});var Gv,wa,Cn,ba,kv,Vv;Uv.exports=Aa});var Lt=s((nD,Bv)=>{"use strict";var RR=he(),TR=Ra(),qR=RR("RegExp.prototype.exec"),OR=S();Bv.exports=function(e){if(!TR(e))throw new OR("`regex` must be a RegExp");return function(n){return qR(e,n)!==null}}});var zv=s((iD,Ta)=>{"use strict";var Kv=he(),xR=Kv("Object.prototype.toString"),PR=We()(),NR=Lt();PR?(Wv=Kv("Symbol.prototype.toString"),Xv=NR(/^Symbol\(.*\)$/),Hv=function(e){return typeof e.valueOf()!="symbol"?!1:Xv(Wv(e))},Ta.exports=function(e){if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||xR(e)!=="[object Symbol]")return!1;try{return Hv(e)}catch{return!1}}):Ta.exports=function(e){return!1};var Wv,Xv,Hv});var Yv=s((aD,Jv)=>{"use strict";Jv.exports=function(e){return e===null||typeof e!="function"&&typeof e!="object"}});var qa=s((oD,Zv)=>{"use strict";Zv.exports=function(e){return typeof e=="string"||typeof e=="symbol"}});var ey=s((sD,Qv)=>{"use strict";var CR=S(),LR=Ve(),_R=qa();Qv.exports=function(e,t){if(!_R(t))throw new CR("Assertion failed: P is not a Property Key, got "+LR(t));return e[t]}});var iy=s((uD,ny)=>{"use strict";var ry=S(),DR=dt(),ty=Ve(),FR=ey(),$R=qa();ny.exports=function(e,t){if(!$R(t))throw new ry("Assertion failed: P is not a Property Key");var n=FR(e,t);if(n!=null){if(!DR(n))throw new ry(ty(t)+" is not a function: "+ty(n));return n}}});var xa=s((lD,oy)=>{"use strict";var jR=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol",MR=dt(),GR=jv(),ay=zv(),Ln=S(),Oa=Yv();function kR(r,e){if(typeof r>"u"||r===null)throw new Ln("Cannot call method on "+r);if(typeof e!="string"||e!=="number"&&e!=="string")throw new Ln('hint must be "string" or "number"');var t=e==="string"?["toString","valueOf"]:["valueOf","toString"],n,i,a;for(a=0;a<t.length;++a)if(n=r[t[a]],MR(n)&&(i=n.call(r),Oa(i)))return i;throw new Ln("No default value")}var VR=iy();oy.exports=function(e){if(Oa(e))return e;var t="default";arguments.length>1&&(arguments[1]===String?t="string":arguments[1]===Number&&(t="number"));var n;if(jR&&(Symbol.toPrimitive?n=VR(e,Symbol.toPrimitive):ay(e)&&(n=Symbol.prototype.valueOf)),typeof n<"u"){var i=n.call(e,t);if(Oa(i))return i;throw new Ln("unable to convert exotic object to primitive")}return t==="default"&&(GR(e)||ay(e))&&(t="string"),kR(e,t==="default"?"number":t)}});var ly=s((fD,uy)=>{"use strict";var sy=xa();uy.exports=function(e){return arguments.length>1?sy(e,arguments[1]):sy(e)}});var Hr=s((cD,fy)=>{"use strict";var UR=Z(),BR=UR("%String%"),WR=S();fy.exports=function(e){if(typeof e=="symbol")throw new WR("Cannot convert a Symbol value to a string");return BR(e)}});var Na=s((pD,py)=>{"use strict";var XR=Wr(),HR=Hr(),Pa=he(),KR=Lt(),zR=Pa("String.prototype.replace"),JR=Pa("String.prototype.charAt"),YR=Pa("String.prototype.slice"),cy=/^\s$/.test("\u180E"),ZR=cy?/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/:/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/,QR=KR(cy?/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]$/:/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]$/);py.exports=function(){for(var e=zR(HR(XR(this)),ZR,""),t=e.length;t>0&&QR(JR(e,t-1));)t-=1;return YR(e,0,t)}});var Ca=s((vD,yy)=>{"use strict";var eT=Na(),vy="\u200B",Kr="\u180E";yy.exports=function(){return String.prototype.trim&&vy.trim()===vy&&Kr.trim()===Kr&&("_"+Kr).trim()==="_"+Kr&&(Kr+"_").trim()===Kr+"_"?String.prototype.trim:eT}});var my=s((yD,dy)=>{"use strict";var rT=hr()(),hy=Mr(),tT=Ca();dy.exports=function(){var e=tT();return String.prototype.trim!==e&&(rT?hy(String.prototype,"trim",e,!0):hy(String.prototype,"trim",e)),e}});var La=s((hD,Sy)=>{"use strict";var nT=Xe(),iT=Le(),aT=Wr(),oT=Na(),gy=Ca(),sT=my(),uT=nT(gy()),Ey=function(e){return aT(e),uT(e)};iT(Ey,{getPolyfill:gy,implementation:oT,shim:sT});Sy.exports=Ey});var Ry=s((dD,Ay)=>{"use strict";var by=Z(),lT=by("%RegExp%"),fT=S(),Iy=by("%parseInt%"),cT=he(),_n=Lt(),wy=cT("String.prototype.slice"),pT=_n(/^0b[01]+$/i),vT=_n(/^0o[0-7]+$/i),yT=_n(/^[-+]0x[0-9a-f]+$/i),hT=["\x85","\u200B","\uFFFE"].join(""),dT=new lT("["+hT+"]","g"),mT=_n(dT),gT=La();Ay.exports=function r(e){if(typeof e!="string")throw new fT("Assertion failed: `argument` is not a String");if(pT(e))return+Iy(wy(e,2),2);if(vT(e))return+Iy(wy(e,2),8);if(mT(e)||yT(e))return NaN;var t=gT(e);return t!==e?r(t):+e}});var Oy=s((mD,qy)=>{"use strict";var ET=Z(),Ty=S(),ST=ET("%Number%"),IT=Pt(),wT=ly(),bT=Ry();qy.exports=function(e){var t=IT(e)?e:wT(e,ST);if(typeof t=="symbol")throw new Ty("Cannot convert a Symbol value to a number");if(typeof t=="bigint")throw new Ty("Conversion from 'BigInt' to 'number' is not allowed.");return typeof t=="string"?bT(t):+t}});var Py=s((gD,xy)=>{"use strict";var AT=tt();xy.exports=function(e){return typeof e=="bigint"?e:AT(e)}});var Ly=s((ED,Cy)=>{"use strict";var Ny=Py(),RT=S();Cy.exports=function(e){if(typeof e!="number"&&typeof e!="bigint")throw new RT("argument must be a Number or a BigInt");var t=e<0?-Ny(-e):Ny(e);return t===0?0:t}});var Dy=s((SD,_y)=>{"use strict";var TT=Oy(),qT=Ly(),OT=or(),xT=hn();_y.exports=function(e){var t=TT(e);return OT(t)||t===0?0:xT(t)?qT(t):t}});var _a=s((ID,$y)=>{"use strict";var Fy=St(),PT=Dy();$y.exports=function(e){var t=PT(e);return t<=0?0:t>Fy?Fy:t}});var My=s((wD,jy)=>{"use strict";var NT=S(),CT=Y(),LT=Ot(),_T=_a();jy.exports=function(e){if(!CT(e))throw new NT("Assertion failed: `obj` must be an Object");return _T(LT(e,"length"))}});var ky=s((bD,Gy)=>{"use strict";var DT=Z(),FT=DT("%String%"),$T=S();Gy.exports=function(e){if(typeof e=="symbol")throw new $T("Cannot convert a Symbol value to a string");return FT(e)}});var Wy=s((AD,By)=>{"use strict";var Vy=S(),jT=St(),MT=lv(),GT=Cv(),kT=Ot(),VT=Dv(),UT=Rn(),BT=My(),Uy=ky();By.exports=function r(e,t,n,i,a){var o;arguments.length>5&&(o=arguments[5]);for(var u=i,l=0;l<n;){var p=Uy(l),h=VT(t,p);if(h===!0){var E=kT(t,p);if(typeof o<"u"){if(arguments.length<=6)throw new Vy("Assertion failed: thisArg is required when mapperFunction is provided");E=MT(o,arguments[6],[E,l,t])}var d=!1;if(a>0&&(d=UT(E)),d){var L=BT(E);u=r(e,E,L,u,a-1)}else{if(u>=jT)throw new Vy("index too large");GT(e,Uy(u),E),u+=1}}l+=1}return u}});var Hy=s((RD,Xy)=>{"use strict";var WT=Nr(),XT=Wr();Xy.exports=function(e){return XT(e),WT(e)}});var zy=s((TD,Ky)=>{"use strict";Ky.exports=Hy()});var Da=s((qD,Jy)=>{"use strict";var HT=sv(),KT=Wy(),zT=Ot(),JT=va(),YT=_a(),ZT=zy();Jy.exports=function(e){var t=ZT(this),n=YT(zT(t,"length"));if(!JT(e))throw new TypeError("mapperFunction must be a function");var i;arguments.length>1&&(i=arguments[1]);var a=HT(t,0);return KT(a,t,n,0,1,e,i),a}});var Fa=s((OD,Yy)=>{"use strict";var QT=Da();Yy.exports=function(){return Array.prototype.flatMap||QT}});var th=s((xD,rh)=>{"use strict";var eq=Ne(),eh=typeof Symbol=="function"&&typeof Symbol.unscopables=="symbol",Zy=eh&&Array.prototype[Symbol.unscopables],Qy=TypeError;rh.exports=function(e){if(typeof e!="string"||!e)throw new Qy("method must be a non-empty string");if(!eq(Array.prototype,e))throw new Qy("method must be on Array.prototype");eh&&Zy&&(Zy[e]=!0)}});var ih=s((PD,nh)=>{"use strict";var rq=Le(),tq=th(),nq=Fa();nh.exports=function(){var e=nq();return rq(Array.prototype,{flatMap:e},{flatMap:function(){return Array.prototype.flatMap!==e}}),tq("flatMap"),e}});var uh=s((ND,sh)=>{"use strict";var iq=Le(),aq=Xe(),oq=Da(),ah=Fa(),sq=ah(),uq=ih(),oh=aq(sq);iq(oh,{getPolyfill:ah,implementation:oq,shim:uq});sh.exports=oh});var Sh=s((F,Eh)=>{F=Eh.exports=k;var ee;typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?ee=function(){var r=Array.prototype.slice.call(arguments,0);r.unshift("SEMVER"),console.log.apply(console,r)}:ee=function(){};F.SEMVER_SPEC_VERSION="2.0.0";var Sr=256,Dn=Number.MAX_SAFE_INTEGER||9007199254740991,$a=16,Va=Sr-6,zr=F.re=[],ne=F.safeRe=[],v=F.src=[],f=F.tokens={},vh=0;function B(r){f[r]=vh++}var Ua="[a-zA-Z0-9-]",ja=[["\\s",1],["\\d",Sr],[Ua,Va]];function Dt(r){for(var e=0;e<ja.length;e++){var t=ja[e][0],n=ja[e][1];r=r.split(t+"*").join(t+"{0,"+n+"}").split(t+"+").join(t+"{1,"+n+"}")}return r}B("NUMERICIDENTIFIER");v[f.NUMERICIDENTIFIER]="0|[1-9]\\d*";B("NUMERICIDENTIFIERLOOSE");v[f.NUMERICIDENTIFIERLOOSE]="\\d+";B("NONNUMERICIDENTIFIER");v[f.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+Ua+"*";B("MAINVERSION");v[f.MAINVERSION]="("+v[f.NUMERICIDENTIFIER]+")\\.("+v[f.NUMERICIDENTIFIER]+")\\.("+v[f.NUMERICIDENTIFIER]+")";B("MAINVERSIONLOOSE");v[f.MAINVERSIONLOOSE]="("+v[f.NUMERICIDENTIFIERLOOSE]+")\\.("+v[f.NUMERICIDENTIFIERLOOSE]+")\\.("+v[f.NUMERICIDENTIFIERLOOSE]+")";B("PRERELEASEIDENTIFIER");v[f.PRERELEASEIDENTIFIER]="(?:"+v[f.NUMERICIDENTIFIER]+"|"+v[f.NONNUMERICIDENTIFIER]+")";B("PRERELEASEIDENTIFIERLOOSE");v[f.PRERELEASEIDENTIFIERLOOSE]="(?:"+v[f.NUMERICIDENTIFIERLOOSE]+"|"+v[f.NONNUMERICIDENTIFIER]+")";B("PRERELEASE");v[f.PRERELEASE]="(?:-("+v[f.PRERELEASEIDENTIFIER]+"(?:\\."+v[f.PRERELEASEIDENTIFIER]+")*))";B("PRERELEASELOOSE");v[f.PRERELEASELOOSE]="(?:-?("+v[f.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+v[f.PRERELEASEIDENTIFIERLOOSE]+")*))";B("BUILDIDENTIFIER");v[f.BUILDIDENTIFIER]=Ua+"+";B("BUILD");v[f.BUILD]="(?:\\+("+v[f.BUILDIDENTIFIER]+"(?:\\."+v[f.BUILDIDENTIFIER]+")*))";B("FULL");B("FULLPLAIN");v[f.FULLPLAIN]="v?"+v[f.MAINVERSION]+v[f.PRERELEASE]+"?"+v[f.BUILD]+"?";v[f.FULL]="^"+v[f.FULLPLAIN]+"$";B("LOOSEPLAIN");v[f.LOOSEPLAIN]="[v=\\s]*"+v[f.MAINVERSIONLOOSE]+v[f.PRERELEASELOOSE]+"?"+v[f.BUILD]+"?";B("LOOSE");v[f.LOOSE]="^"+v[f.LOOSEPLAIN]+"$";B("GTLT");v[f.GTLT]="((?:<|>)?=?)";B("XRANGEIDENTIFIERLOOSE");v[f.XRANGEIDENTIFIERLOOSE]=v[f.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";B("XRANGEIDENTIFIER");v[f.XRANGEIDENTIFIER]=v[f.NUMERICIDENTIFIER]+"|x|X|\\*";B("XRANGEPLAIN");v[f.XRANGEPLAIN]="[v=\\s]*("+v[f.XRANGEIDENTIFIER]+")(?:\\.("+v[f.XRANGEIDENTIFIER]+")(?:\\.("+v[f.XRANGEIDENTIFIER]+")(?:"+v[f.PRERELEASE]+")?"+v[f.BUILD]+"?)?)?";B("XRANGEPLAINLOOSE");v[f.XRANGEPLAINLOOSE]="[v=\\s]*("+v[f.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+v[f.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+v[f.XRANGEIDENTIFIERLOOSE]+")(?:"+v[f.PRERELEASELOOSE]+")?"+v[f.BUILD]+"?)?)?";B("XRANGE");v[f.XRANGE]="^"+v[f.GTLT]+"\\s*"+v[f.XRANGEPLAIN]+"$";B("XRANGELOOSE");v[f.XRANGELOOSE]="^"+v[f.GTLT]+"\\s*"+v[f.XRANGEPLAINLOOSE]+"$";B("COERCE");v[f.COERCE]="(^|[^\\d])(\\d{1,"+$a+"})(?:\\.(\\d{1,"+$a+"}))?(?:\\.(\\d{1,"+$a+"}))?(?:$|[^\\d])";B("COERCERTL");zr[f.COERCERTL]=new RegExp(v[f.COERCE],"g");ne[f.COERCERTL]=new RegExp(Dt(v[f.COERCE]),"g");B("LONETILDE");v[f.LONETILDE]="(?:~>?)";B("TILDETRIM");v[f.TILDETRIM]="(\\s*)"+v[f.LONETILDE]+"\\s+";zr[f.TILDETRIM]=new RegExp(v[f.TILDETRIM],"g");ne[f.TILDETRIM]=new RegExp(Dt(v[f.TILDETRIM]),"g");var lq="$1~";B("TILDE");v[f.TILDE]="^"+v[f.LONETILDE]+v[f.XRANGEPLAIN]+"$";B("TILDELOOSE");v[f.TILDELOOSE]="^"+v[f.LONETILDE]+v[f.XRANGEPLAINLOOSE]+"$";B("LONECARET");v[f.LONECARET]="(?:\\^)";B("CARETTRIM");v[f.CARETTRIM]="(\\s*)"+v[f.LONECARET]+"\\s+";zr[f.CARETTRIM]=new RegExp(v[f.CARETTRIM],"g");ne[f.CARETTRIM]=new RegExp(Dt(v[f.CARETTRIM]),"g");var fq="$1^";B("CARET");v[f.CARET]="^"+v[f.LONECARET]+v[f.XRANGEPLAIN]+"$";B("CARETLOOSE");v[f.CARETLOOSE]="^"+v[f.LONECARET]+v[f.XRANGEPLAINLOOSE]+"$";B("COMPARATORLOOSE");v[f.COMPARATORLOOSE]="^"+v[f.GTLT]+"\\s*("+v[f.LOOSEPLAIN]+")$|^$";B("COMPARATOR");v[f.COMPARATOR]="^"+v[f.GTLT]+"\\s*("+v[f.FULLPLAIN]+")$|^$";B("COMPARATORTRIM");v[f.COMPARATORTRIM]="(\\s*)"+v[f.GTLT]+"\\s*("+v[f.LOOSEPLAIN]+"|"+v[f.XRANGEPLAIN]+")";zr[f.COMPARATORTRIM]=new RegExp(v[f.COMPARATORTRIM],"g");ne[f.COMPARATORTRIM]=new RegExp(Dt(v[f.COMPARATORTRIM]),"g");B("HYPHENRANGE");v[f.HYPHENRANGE]="^\\s*("+v[f.XRANGEPLAIN]+")\\s+-\\s+("+v[f.XRANGEPLAIN]+")\\s*$";B("HYPHENRANGELOOSE");v[f.HYPHENRANGELOOSE]="^\\s*("+v[f.XRANGEPLAINLOOSE]+")\\s+-\\s+("+v[f.XRANGEPLAINLOOSE]+")\\s*$";B("STAR");v[f.STAR]="(<|>)?=?\\s*\\*";for(Je=0;Je<vh;Je++)ee(Je,v[Je]),zr[Je]||(zr[Je]=new RegExp(v[Je]),ne[Je]=new RegExp(Dt(v[Je])));var Je;F.parse=Ir;function Ir(r,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),r instanceof k)return r;if(typeof r!="string"||r.length>Sr)return null;var t=e.loose?ne[f.LOOSE]:ne[f.FULL];if(!t.test(r))return null;try{return new k(r,e)}catch{return null}}F.valid=cq;function cq(r,e){var t=Ir(r,e);return t?t.version:null}F.clean=pq;function pq(r,e){var t=Ir(r.trim().replace(/^[=v]+/,""),e);return t?t.version:null}F.SemVer=k;function k(r,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),r instanceof k){if(r.loose===e.loose)return r;r=r.version}else if(typeof r!="string")throw new TypeError("Invalid Version: "+r);if(r.length>Sr)throw new TypeError("version is longer than "+Sr+" characters");if(!(this instanceof k))return new k(r,e);ee("SemVer",r,e),this.options=e,this.loose=!!e.loose;var t=r.trim().match(e.loose?ne[f.LOOSE]:ne[f.FULL]);if(!t)throw new TypeError("Invalid Version: "+r);if(this.raw=r,this.major=+t[1],this.minor=+t[2],this.patch=+t[3],this.major>Dn||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Dn||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Dn||this.patch<0)throw new TypeError("Invalid patch version");t[4]?this.prerelease=t[4].split(".").map(function(n){if(/^[0-9]+$/.test(n)){var i=+n;if(i>=0&&i<Dn)return i}return n}):this.prerelease=[],this.build=t[5]?t[5].split("."):[],this.format()}k.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version};k.prototype.toString=function(){return this.version};k.prototype.compare=function(r){return ee("SemVer.compare",this.version,this.options,r),r instanceof k||(r=new k(r,this.options)),this.compareMain(r)||this.comparePre(r)};k.prototype.compareMain=function(r){return r instanceof k||(r=new k(r,this.options)),Er(this.major,r.major)||Er(this.minor,r.minor)||Er(this.patch,r.patch)};k.prototype.comparePre=function(r){if(r instanceof k||(r=new k(r,this.options)),this.prerelease.length&&!r.prerelease.length)return-1;if(!this.prerelease.length&&r.prerelease.length)return 1;if(!this.prerelease.length&&!r.prerelease.length)return 0;var e=0;do{var t=this.prerelease[e],n=r.prerelease[e];if(ee("prerelease compare",e,t,n),t===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(t===void 0)return-1;if(t===n)continue;return Er(t,n)}while(++e)};k.prototype.compareBuild=function(r){r instanceof k||(r=new k(r,this.options));var e=0;do{var t=this.build[e],n=r.build[e];if(ee("prerelease compare",e,t,n),t===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(t===void 0)return-1;if(t===n)continue;return Er(t,n)}while(++e)};k.prototype.inc=function(r,e){switch(r){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",e);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",e);break;case"prepatch":this.prerelease.length=0,this.inc("patch",e),this.inc("pre",e);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",e),this.inc("pre",e);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":if(this.prerelease.length===0)this.prerelease=[0];else{for(var t=this.prerelease.length;--t>=0;)typeof this.prerelease[t]=="number"&&(this.prerelease[t]++,t=-2);t===-1&&this.prerelease.push(0)}e&&(this.prerelease[0]===e?isNaN(this.prerelease[1])&&(this.prerelease=[e,0]):this.prerelease=[e,0]);break;default:throw new Error("invalid increment argument: "+r)}return this.format(),this.raw=this.version,this};F.inc=vq;function vq(r,e,t,n){typeof t=="string"&&(n=t,t=void 0);try{return new k(r,t).inc(e,n).version}catch{return null}}F.diff=yq;function yq(r,e){if(Ba(r,e))return null;var t=Ir(r),n=Ir(e),i="";if(t.prerelease.length||n.prerelease.length){i="pre";var a="prerelease"}for(var o in t)if((o==="major"||o==="minor"||o==="patch")&&t[o]!==n[o])return i+o;return a}F.compareIdentifiers=Er;var lh=/^[0-9]+$/;function Er(r,e){var t=lh.test(r),n=lh.test(e);return t&&n&&(r=+r,e=+e),r===e?0:t&&!n?-1:n&&!t?1:r<e?-1:1}F.rcompareIdentifiers=hq;function hq(r,e){return Er(e,r)}F.major=dq;function dq(r,e){return new k(r,e).major}F.minor=mq;function mq(r,e){return new k(r,e).minor}F.patch=gq;function gq(r,e){return new k(r,e).patch}F.compare=nr;function nr(r,e,t){return new k(r,t).compare(new k(e,t))}F.compareLoose=Eq;function Eq(r,e){return nr(r,e,!0)}F.compareBuild=Sq;function Sq(r,e,t){var n=new k(r,t),i=new k(e,t);return n.compare(i)||n.compareBuild(i)}F.rcompare=Iq;function Iq(r,e,t){return nr(e,r,t)}F.sort=wq;function wq(r,e){return r.sort(function(t,n){return F.compareBuild(t,n,e)})}F.rsort=bq;function bq(r,e){return r.sort(function(t,n){return F.compareBuild(n,t,e)})}F.gt=_t;function _t(r,e,t){return nr(r,e,t)>0}F.lt=Fn;function Fn(r,e,t){return nr(r,e,t)<0}F.eq=Ba;function Ba(r,e,t){return nr(r,e,t)===0}F.neq=yh;function yh(r,e,t){return nr(r,e,t)!==0}F.gte=Wa;function Wa(r,e,t){return nr(r,e,t)>=0}F.lte=Xa;function Xa(r,e,t){return nr(r,e,t)<=0}F.cmp=$n;function $n(r,e,t,n){switch(e){case"===":return typeof r=="object"&&(r=r.version),typeof t=="object"&&(t=t.version),r===t;case"!==":return typeof r=="object"&&(r=r.version),typeof t=="object"&&(t=t.version),r!==t;case"":case"=":case"==":return Ba(r,t,n);case"!=":return yh(r,t,n);case">":return _t(r,t,n);case">=":return Wa(r,t,n);case"<":return Fn(r,t,n);case"<=":return Xa(r,t,n);default:throw new TypeError("Invalid operator: "+e)}}F.Comparator=je;function je(r,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),r instanceof je){if(r.loose===!!e.loose)return r;r=r.value}if(!(this instanceof je))return new je(r,e);r=r.trim().split(/\s+/).join(" "),ee("comparator",r,e),this.options=e,this.loose=!!e.loose,this.parse(r),this.semver===Jr?this.value="":this.value=this.operator+this.semver.version,ee("comp",this)}var Jr={};je.prototype.parse=function(r){var e=this.options.loose?ne[f.COMPARATORLOOSE]:ne[f.COMPARATOR],t=r.match(e);if(!t)throw new TypeError("Invalid comparator: "+r);this.operator=t[1]!==void 0?t[1]:"",this.operator==="="&&(this.operator=""),t[2]?this.semver=new k(t[2],this.options.loose):this.semver=Jr};je.prototype.toString=function(){return this.value};je.prototype.test=function(r){if(ee("Comparator.test",r,this.options.loose),this.semver===Jr||r===Jr)return!0;if(typeof r=="string")try{r=new k(r,this.options)}catch{return!1}return $n(r,this.operator,this.semver,this.options)};je.prototype.intersects=function(r,e){if(!(r instanceof je))throw new TypeError("a Comparator is required");(!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1});var t;if(this.operator==="")return this.value===""?!0:(t=new pe(r.value,e),jn(this.value,t,e));if(r.operator==="")return r.value===""?!0:(t=new pe(this.value,e),jn(r.semver,t,e));var n=(this.operator===">="||this.operator===">")&&(r.operator===">="||r.operator===">"),i=(this.operator==="<="||this.operator==="<")&&(r.operator==="<="||r.operator==="<"),a=this.semver.version===r.semver.version,o=(this.operator===">="||this.operator==="<=")&&(r.operator===">="||r.operator==="<="),u=$n(this.semver,"<",r.semver,e)&&(this.operator===">="||this.operator===">")&&(r.operator==="<="||r.operator==="<"),l=$n(this.semver,">",r.semver,e)&&(this.operator==="<="||this.operator==="<")&&(r.operator===">="||r.operator===">");return n||i||a&&o||u||l};F.Range=pe;function pe(r,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),r instanceof pe)return r.loose===!!e.loose&&r.includePrerelease===!!e.includePrerelease?r:new pe(r.raw,e);if(r instanceof je)return new pe(r.value,e);if(!(this instanceof pe))return new pe(r,e);if(this.options=e,this.loose=!!e.loose,this.includePrerelease=!!e.includePrerelease,this.raw=r.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(t){return this.parseRange(t.trim())},this).filter(function(t){return t.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);this.format()}pe.prototype.format=function(){return this.range=this.set.map(function(r){return r.join(" ").trim()}).join("||").trim(),this.range};pe.prototype.toString=function(){return this.range};function Ga(r){var e=r&&r.charCodeAt(0);return e>=9&&e<=13||e===32||e===160||e===5760||e>=8192&&e<=8202||e===8232||e===8233||e===8239||e===8287||e===12288||e===65279}function fh(r){return r==="v"||r==="="||Ga(r)}function Yr(r){return r!==void 0&&r>="0"&&r<="9"}function hh(r){return r!==void 0&&(r>="a"&&r<="z"||r>="A"&&r<="Z")}function dh(r){return Yr(r)||hh(r)||r==="-"}function ka(r){return Yr(r)||r==="x"||r==="X"||r==="*"}function Aq(r,e,t,n){if(!Yr(r[e]))return e;if(e>=n.start&&e<n.end)return Math.min(e+t,n.end);if(e>=n.previousStart&&e<n.previousEnd)return Math.min(e+t,n.previousEnd);for(var i=e+1;Yr(r[i]);)i++;return n.previousStart=n.start,n.previousEnd=n.end,n.start=e,n.end=i,Math.min(e+t,i)}function Ha(r,e,t,n){return!t&&r[e]==="0"?e+1:Aq(r,e,t?Sr:Sr+1,n)}function Ma(r,e,t,n){if(Yr(r[e]))return Ha(r,e,t,n);if(!hh(r[e])&&r[e]!=="-")return e;for(var i=e+1,a=i+Va;i<a&&dh(r[i]);)i++;return i}function mh(r,e,t,n){var i=r[e]==="-";if(!t&&!i)return e;var a=e+(i?1:0),o=Ma(r,a,t,n);if(o===a){if(!t||!i)return e;o=Ma(r,e,t,n)}for(;r[o]===".";){var u=Ma(r,o+1,t,n);if(u===o+1)break;o=u}return o}function gh(r,e){if(r[e]!=="+")return e;var t=e+1;do{for(var n=t;t-n<Va&&dh(r[t]);)t++;if(t===n)return n===e+1?e:t-1;if(r[t]!==".")return t;t++}while(!0)}function Rq(r,e,t){for(var n=e,i=0;i<3;i++){var a=Ha(r,n,!0,t);if(a===n)return e;if(n=a,i<2){if(r[n]!==".")return e;n++}}return gh(r,mh(r,n,!0,t))}function ch(r,e,t){return Yr(r[e])?Ha(r,e,!1,t):ka(r[e])?e+1:e}function Tq(r,e,t){var n=Rq(r,e,t);if(n!==e)return n;n=ch(r,e,t);for(var i=0;i<2;i++){if(r[n]!==".")return n;var a=ch(r,n+1,t);if(a===n+1)return n;n=a}return gh(r,mh(r,n,!1,t))}function qq(r,e){return Ga(r[e])&&e++,(r[e]==="<"||r[e]===">")&&e++,r[e]==="="&&e++,Ga(r[e])?e:-1}function Oq(r){for(var e="",t=0,n=0,i={start:-1,end:-1,previousStart:-1,previousEnd:-1};n<r.length;){var a=n;if(r[n]==="<"||r[n]===">")n++;else if(!fh(r[n])&&!ka(r[n])){n++;continue}for(;n<r.length&&fh(r[n]);)n++;if(ka(r[n])){var o=qq(r,a);o!==-1&&(e+=r.slice(t,o),t=o+1),n=Tq(r,n,i)}}return e+r.slice(t)}pe.prototype.parseRange=function(r){var e=this.options.loose,t=e?ne[f.HYPHENRANGELOOSE]:ne[f.HYPHENRANGE];r=r.replace(t,jq),ee("hyphen replace",r),r=Oq(r),ee("comparator trim",r),r=r.replace(ne[f.TILDETRIM],lq),r=r.replace(ne[f.CARETTRIM],fq),r=r.split(/\s+/).join(" ");var n=e?ne[f.COMPARATORLOOSE]:ne[f.COMPARATOR],i=r.split(" ").map(function(a){return Pq(a,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(i=i.filter(function(a){return!!a.match(n)})),i=i.map(function(a){return new je(a,this.options)},this),i};pe.prototype.intersects=function(r,e){if(!(r instanceof pe))throw new TypeError("a Range is required");return this.set.some(function(t){return ph(t,e)&&r.set.some(function(n){return ph(n,e)&&t.every(function(i){return n.every(function(a){return i.intersects(a,e)})})})})};function ph(r,e){for(var t=!0,n=r.slice(),i=n.pop();t&&n.length;)t=n.every(function(a){return i.intersects(a,e)}),i=n.pop();return t}F.toComparators=xq;function xq(r,e){return new pe(r,e).set.map(function(t){return t.map(function(n){return n.value}).join(" ").trim().split(" ")})}function Pq(r,e){return ee("comp",r,e),r=Lq(r,e),ee("caret",r),r=Nq(r,e),ee("tildes",r),r=Dq(r,e),ee("xrange",r),r=$q(r,e),ee("stars",r),r}function Oe(r){return!r||r.toLowerCase()==="x"||r==="*"}function Nq(r,e){return r.trim().split(/\s+/).map(function(t){return Cq(t,e)}).join(" ")}function Cq(r,e){var t=e.loose?ne[f.TILDELOOSE]:ne[f.TILDE];return r.replace(t,function(n,i,a,o,u){ee("tilde",r,n,i,a,o,u);var l;return Oe(i)?l="":Oe(a)?l=">="+i+".0.0 <"+(+i+1)+".0.0":Oe(o)?l=">="+i+"."+a+".0 <"+i+"."+(+a+1)+".0":u?(ee("replaceTilde pr",u),l=">="+i+"."+a+"."+o+"-"+u+" <"+i+"."+(+a+1)+".0"):l=">="+i+"."+a+"."+o+" <"+i+"."+(+a+1)+".0",ee("tilde return",l),l})}function Lq(r,e){return r.trim().split(/\s+/).map(function(t){return _q(t,e)}).join(" ")}function _q(r,e){ee("caret",r,e);var t=e.loose?ne[f.CARETLOOSE]:ne[f.CARET];return r.replace(t,function(n,i,a,o,u){ee("caret",r,n,i,a,o,u);var l;return Oe(i)?l="":Oe(a)?l=">="+i+".0.0 <"+(+i+1)+".0.0":Oe(o)?i==="0"?l=">="+i+"."+a+".0 <"+i+"."+(+a+1)+".0":l=">="+i+"."+a+".0 <"+(+i+1)+".0.0":u?(ee("replaceCaret pr",u),i==="0"?a==="0"?l=">="+i+"."+a+"."+o+"-"+u+" <"+i+"."+a+"."+(+o+1):l=">="+i+"."+a+"."+o+"-"+u+" <"+i+"."+(+a+1)+".0":l=">="+i+"."+a+"."+o+"-"+u+" <"+(+i+1)+".0.0"):(ee("no pr"),i==="0"?a==="0"?l=">="+i+"."+a+"."+o+" <"+i+"."+a+"."+(+o+1):l=">="+i+"."+a+"."+o+" <"+i+"."+(+a+1)+".0":l=">="+i+"."+a+"."+o+" <"+(+i+1)+".0.0"),ee("caret return",l),l})}function Dq(r,e){return ee("replaceXRanges",r,e),r.split(/\s+/).map(function(t){return Fq(t,e)}).join(" ")}function Fq(r,e){r=r.trim();var t=e.loose?ne[f.XRANGELOOSE]:ne[f.XRANGE];return r.replace(t,function(n,i,a,o,u,l){ee("xRange",r,n,i,a,o,u,l);var p=Oe(a),h=p||Oe(o),E=h||Oe(u),d=E;return i==="="&&d&&(i=""),l=e.includePrerelease?"-0":"",p?i===">"||i==="<"?n="<0.0.0-0":n="*":i&&d?(h&&(o=0),u=0,i===">"?(i=">=",h?(a=+a+1,o=0,u=0):(o=+o+1,u=0)):i==="<="&&(i="<",h?a=+a+1:o=+o+1),n=i+a+"."+o+"."+u+l):h?n=">="+a+".0.0"+l+" <"+(+a+1)+".0.0"+l:E&&(n=">="+a+"."+o+".0"+l+" <"+a+"."+(+o+1)+".0"+l),ee("xRange return",n),n})}function $q(r,e){return ee("replaceStars",r,e),r.trim().replace(ne[f.STAR],"")}function jq(r,e,t,n,i,a,o,u,l,p,h,E,d){return Oe(t)?e="":Oe(n)?e=">="+t+".0.0":Oe(i)?e=">="+t+"."+n+".0":e=">="+e,Oe(l)?u="":Oe(p)?u="<"+(+l+1)+".0.0":Oe(h)?u="<"+l+"."+(+p+1)+".0":E?u="<="+l+"."+p+"."+h+"-"+E:u="<="+u,(e+" "+u).trim()}pe.prototype.test=function(r){if(!r)return!1;if(typeof r=="string")try{r=new k(r,this.options)}catch{return!1}for(var e=0;e<this.set.length;e++)if(Mq(this.set[e],r,this.options))return!0;return!1};function Mq(r,e,t){for(var n=0;n<r.length;n++)if(!r[n].test(e))return!1;if(e.prerelease.length&&!t.includePrerelease){for(n=0;n<r.length;n++)if(ee(r[n].semver),r[n].semver!==Jr&&r[n].semver.prerelease.length>0){var i=r[n].semver;if(i.major===e.major&&i.minor===e.minor&&i.patch===e.patch)return!0}return!1}return!0}F.satisfies=jn;function jn(r,e,t){try{e=new pe(e,t)}catch{return!1}return e.test(r)}F.maxSatisfying=Gq;function Gq(r,e,t){var n=null,i=null;try{var a=new pe(e,t)}catch{return null}return r.forEach(function(o){a.test(o)&&(!n||i.compare(o)===-1)&&(n=o,i=new k(n,t))}),n}F.minSatisfying=kq;function kq(r,e,t){var n=null,i=null;try{var a=new pe(e,t)}catch{return null}return r.forEach(function(o){a.test(o)&&(!n||i.compare(o)===1)&&(n=o,i=new k(n,t))}),n}F.minVersion=Vq;function Vq(r,e){r=new pe(r,e);var t=new k("0.0.0");if(r.test(t)||(t=new k("0.0.0-0"),r.test(t)))return t;t=null;for(var n=0;n<r.set.length;++n){var i=r.set[n];i.forEach(function(a){var o=new k(a.semver.version);switch(a.operator){case">":o.prerelease.length===0?o.patch++:o.prerelease.push(0),o.raw=o.format();case"":case">=":(!t||_t(t,o))&&(t=o);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+a.operator)}})}return t&&r.test(t)?t:null}F.validRange=Uq;function Uq(r,e){try{return new pe(r,e).range||"*"}catch{return null}}F.ltr=Bq;function Bq(r,e,t){return Ka(r,e,"<",t)}F.gtr=Wq;function Wq(r,e,t){return Ka(r,e,">",t)}F.outside=Ka;function Ka(r,e,t,n){r=new k(r,n),e=new pe(e,n);var i,a,o,u,l;switch(t){case">":i=_t,a=Xa,o=Fn,u=">",l=">=";break;case"<":i=Fn,a=Wa,o=_t,u="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(jn(r,e,n))return!1;for(var p=0;p<e.set.length;++p){var h=e.set[p],E=null,d=null;if(h.forEach(function(L){L.semver===Jr&&(L=new je(">=0.0.0")),E=E||L,d=d||L,i(L.semver,E.semver,n)?E=L:o(L.semver,d.semver,n)&&(d=L)}),E.operator===u||E.operator===l||(!d.operator||d.operator===u)&&a(r,d.semver))return!1;if(d.operator===l&&o(r,d.semver))return!1}return!0}F.prerelease=Xq;function Xq(r,e){var t=Ir(r,e);return t&&t.prerelease.length?t.prerelease:null}F.intersects=Hq;function Hq(r,e,t){return r=new pe(r,t),e=new pe(e,t),r.intersects(e)}F.coerce=Kq;function Kq(r,e){if(r instanceof k)return r;if(typeof r=="number"&&(r=String(r)),typeof r!="string")return null;e=e||{};var t=null;if(!e.rtl)t=r.match(ne[f.COERCE]);else{for(var n;(n=ne[f.COERCERTL].exec(r))&&(!t||t.index+t[0].length!==r.length);)(!t||n.index+n[0].length!==t.index+t[0].length)&&(t=n),ne[f.COERCERTL].lastIndex=n.index+n[1].length+n[2].length;ne[f.COERCERTL].lastIndex=-1}return t===null?null:Ir(t[2]+"."+(t[3]||"0")+"."+(t[4]||"0"),e)}});var Mn=s((CD,Ih)=>{"use strict";var zq=uh(),Jq=oa(),Yq=Sh().intersects,Zq=sa();Ih.exports=function(e){return zq(Jq(Zq),function(t){var n=t[0],i=t[1];return Yq(e,n)?[i]:[]})}});var Ya=s((LD,wh)=>{"use strict";var jt=Vi(),Ft=pr();function Qq(r){return r.length>0&&r.charAt(0)==="."}function e1(r){if(typeof r=="string")return{__proto__:null,".":r};if(Array.isArray(r))return{__proto__:null,".":r};if(typeof r=="object"&&r!==null){var e=jt(r);if(e.length===0)return{__proto__:null};for(var t=!1,n=0;!t&&n<e.length;n++)Qq(e[n])&&(t=!0);for(var i={__proto__:null},a=0;a<e.length;a++)i[e[a]]=r[e[a]];return t?i:{__proto__:null,".":i}}return null}function $t(r,e){if(typeof r=="string")return r;if(r===null)return null;if(Array.isArray(r)){for(var t=0;t<r.length;t++){var n=$t(r[t],e);if(n!==null&&typeof n<"u")return n}return null}if(typeof r=="object"){if(e===null)return null;for(var i=jt(r),a=0;a<i.length;a++)for(var o=i[a],u=0;u<e.length;u++)if(o===e[u]){var l=$t(r[o],e);if(l!=null)return l}return null}return null}function za(r){if(typeof r!="string"||r.slice(0,2)!=="./"||r.indexOf("/node_modules/")!==-1)return!1;for(var e=r.split("/"),t=0;t<e.length;t++)if(e[t]==="..")return!1;return!0}function r1(r,e,t){for(var n=jt(e),i=null,a=-1,o="",u=0;u<n.length;u++){var l=n[u],p=l.indexOf("*");if(p!==-1&&l.indexOf("*",p+1)===-1){var h=l.slice(0,p),E=l.slice(p+1);(E.length===0||t)&&r.length>=h.length+E.length&&r.slice(0,h.length)===h&&(E.length===0||r.slice(r.length-E.length)===E)&&h.length>a&&(a=h.length,i=l,o=r.slice(h.length,r.length-E.length))}}return i!==null?{__proto__:null,key:i,match:o}:null}function t1(r,e){for(var t=jt(e),n=null,i=-1,a=0;a<t.length;a++){var o=t[a];o.charAt(o.length-1)==="/"&&r.slice(0,o.length)===o&&o.length>i&&(i=o.length,n=o)}return n!==null?{__proto__:null,key:n,remainder:r.slice(n.length)}:null}function Ja(r,e){if(typeof r=="string")return r.split("*").join(e);if(Array.isArray(r)){for(var t=[],n=0;n<r.length;n++)t.push(Ja(r[n],e));return t}if(typeof r=="object"&&r!==null){for(var i={__proto__:null},a=jt(r),o=0;o<a.length;o++)i[a[o]]=Ja(r[a[o]],e);return i}return r}wh.exports=function(e,t,n,i){if(typeof e>"u")return null;var a=e1(e);if(!a)return null;var o=i&&i.patterns,u=i&&i.patternTrailers,l=i&&i.dirSlash;if(typeof a[t]<"u"){var p=$t(a[t],n);if(p!==null&&typeof p<"u"){if(!za(p)){var h=new Ft('Invalid "exports" target "'+p+'" for subpath "'+t+'"');throw h.code="ERR_INVALID_PACKAGE_CONFIG",h}return p}var E=new Ft('Package subpath "'+t+'" is not defined by "exports"');throw E.code="ERR_PACKAGE_PATH_NOT_EXPORTED",E}if(o){var d=r1(t,a,u);if(d){var L=Ja(a[d.key],d.match),Q=$t(L,n);if(Q!==null&&typeof Q<"u"){if(!za(Q)){var ce=new Ft('Invalid "exports" target "'+Q+'" for subpath "'+t+'"');throw ce.code="ERR_INVALID_PACKAGE_CONFIG",ce}return Q}}}if(l){var ge=t1(t,a);if(ge){var Re=$t(a[ge.key],n);if(Re!==null&&typeof Re<"u"&&typeof Re=="string"){var de=Re+ge.remainder;if(!za(de)){var me=new Ft('Invalid "exports" target "'+de+'" for subpath "'+t+'"');throw me.code="ERR_INVALID_PACKAGE_CONFIG",me}return de}}}var w=new Ft('Package subpath "'+t+'" is not defined by "exports"');throw w.code="ERR_PACKAGE_PATH_NOT_EXPORTED",w}});var Za=s((_D,bh)=>{"use strict";bh.exports=function(e){if(e.charAt(0)==="@"){var t=e.indexOf("/");if(t===-1)return{__proto__:null,name:e,subpath:"."};var n=e.indexOf("/",t+1);return n===-1?{__proto__:null,name:e,subpath:"."}:{__proto__:null,name:e.slice(0,n),subpath:"."+e.slice(n)}}var i=e.indexOf("/");return i===-1?{__proto__:null,name:e,subpath:"."}:{__proto__:null,name:e.slice(0,i),subpath:"."+e.slice(i)}}});var Gn=s((DD,Ah)=>{"use strict";var n1={__proto__:null,"pre-exports":0,broken:1,experimental:2,conditions:3,"broken-dir-slash-conditions":4,patterns:5,"pattern-trailers":6,"pattern-trailers+json-imports":7,"pattern-trailers-no-dir-slash":8,"pattern-trailers-no-dir-slash+json-imports":9,"require-esm":10,"strips-types":11,"subpath-imports-slash":12};Ah.exports=function(e){if(!e||e.length===0)return null;for(var t=null,n=1/0,i=0;i<e.length;i++){var a=e[i],o=n1[a];typeof o=="number"&&o<n&&(n=o,t=a)}return t}});var eo=s((FD,Rh)=>{"use strict";var i1=An(),a1=Mn(),Qa=S(),o1=Gn();Rh.exports=function(e){if(!e)return null;var t=typeof e.exportsCategory<"u",n=e.engines,i=typeof n<"u"&&n!==!1;if(t&&i)throw new Qa("`exportsCategory` and `engines` are mutually exclusive.");if(t){if(!i1(e.exportsCategory)){var a=new Qa('Invalid exports category: "'+e.exportsCategory+'"');throw a.code="INVALID_EXPORTS_CATEGORY",a}return e.exportsCategory}if(i){if(n===!0)return"engines";if(typeof n!="string"||n==="")throw new Qa("`engines` must be `true`, `false`, or a non-empty string semver range.");var o=a1(n);return o1(o)}return null}});var _h=s(($D,Lh)=>{var br=De("fs"),s1=Yi(),H=De("path"),u1=Zi(),l1=ra(),f1=ta(),c1=na(),Mt=pr(),Gt=S(),Th=ua(),p1=Mn(),qh=Ya(),Oh=Za(),v1=eo(),y1=Gn(),h1=process.platform!=="win32"&&br.realpath&&typeof br.realpath.native=="function"?br.realpath.native:br.realpath,d1=/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/,m1=/^\w:[/\\]*$/,Ph=/[/\\]node_modules[/\\]*$/,ro=s1();function g1(){return ro?[H.join(ro,".node_modules"),H.join(ro,".node_libraries")]:[]}var E1=function(e,t){br.stat(e,function(n,i){return n?n.code==="ENOENT"||n.code==="ENOTDIR"?t(null,!1):t(n):t(null,i.isFile()||i.isFIFO())})},S1=function(e,t){br.stat(e,function(n,i){return n?n.code==="ENOENT"||n.code==="ENOTDIR"?t(null,!1):t(n):t(null,i.isDirectory())})},I1=function(e,t){h1(e,function(n,i){n&&n.code!=="ENOENT"?t(n):t(null,n?e:i)})};function wr(r,e,t,n){!t||!t.preserveSymlinks?r(e,n):n(null,e)}function w1(r,e,t){r(e,function(n,i){if(n)t(n);else try{var a=JSON.parse(i);t(null,a)}catch(o){t(o)}})}function xh(r,e,t){for(var n=l1(e,t,r),i=0;i<n.length;i++)n[i]=H.join(n[i],r);return n}function Nh(r,e,t,n,i){var a=H.join(r,"package.json");e(a,function(o,u){if(o)return i(o);if(u)t(n,a,function(p,h){if(p&&!(p instanceof SyntaxError))return i(p);i(null,h||null)});else{var l=H.dirname(r);if(l===r)return i(null,null);Nh(l,e,t,n,i)}})}function b1(r,e,t,n,i){var a=H.resolve(r);Nh(a,e,t,n,i)}function Ch(r,e,t,n,i){if(Ph.test(r))return i(null,null);var a=H.join(r,"package.json");e(a,function(o,u){if(o)return i(o);if(u)t(n,a,function(p,h){if(p&&!(p instanceof SyntaxError))return i(p);i(null,h?{__proto__:null,pkg:h,dir:r}:null)});else{var l=H.dirname(r);if(l===r)return i(null,null);Ch(l,e,t,n,i)}})}Lh.exports=function(e,t,n){var i=n,a=t;if(typeof t=="function"&&(i=a,a={}),typeof e!="string"){var o=new Gt("Path must be a string.");return process.nextTick(function(){i(o)})}a=f1(e,a);var u=a.isFile||E1,l=a.isDirectory||S1,p=a.readFile||br.readFile,h=a.realpath||I1,E=a.readPackage||w1;if(a.readFile&&a.readPackage){var d=new Gt("`readFile` and `readPackage` are mutually exclusive.");return process.nextTick(function(){i(d)})}var L=a.packageIterator;if(typeof a.moduleSystem<"u"&&a.moduleSystem!=="require"&&a.moduleSystem!=="import"){var Q=new Gt("`moduleSystem` must be `'require'` or `'import'`.");return process.nextTick(function(){i(Q)})}var ce=a.extensions||[".js"],ge=a.includeCoreModules!==!1,Re=a.basedir||H.dirname(u1()),de=a.filename||Re;a.paths=a.paths||g1();var me,w;try{me=v1(a)}catch(g){w=g}if(w)return process.nextTick(function(){i(w)});var b=H.resolve(Re);wr(h,b,a,function(g,R){g?i(g):me==="engines"?b1(R,u,E,p,function(m,I){if(m)return i(m);if(I&&I.engines&&I.engines.node){var C=p1(I.engines.node);me=y1(C)}else me=null;U(R)}):U(R)});function O(g,R){var m=H.resolve(g);Ch(m,u,E,p,R)}function A(g,R,m){var I=Oh(g);O(R,function(C,D){if(C)return m(C);if(!D||!D.pkg||D.pkg.name!==I.name)return m(null,null);var N=D.pkg,j=D.dir;if(a.packageFilter&&(N=a.packageFilter(N,H.join(j,"package.json"),j)),typeof N.exports<"u"){var K=Th(me,a.moduleSystem||"require"),oe=a.conditions||K.conditions,ue;try{ue=qh(N.exports,I.subpath,oe,K.flags)}catch(Ee){return m(Ee)}if(ue){var se=H.resolve(j,ue);u(se,function(Ee,ye){if(Ee)return m(Ee);if(ye)return m(null,se,N);m(null,void 0)});return}return m(null,void 0)}if(I.subpath===".")J(j,N,function(Ee,ye,Te){m(Ee,ye,Te)});else{var le=H.join(j,I.subpath.slice(1));x(le,N,function(Ee,ye,Te){if(Ee)return m(Ee);if(ye)return m(null,ye,Te);J(le,N,function(qe,_e,Se){m(qe,_e,Se)})})}})}function U(g){if(a.basedir){var R=new Gt('Provided basedir "'+g+'" is not a directory'+(a.preserveSymlinks?"":", or a symlink to a directory"));R.code="INVALID_BASEDIR",l(g,function(m,I){if(m)return i(m);if(!I)return i(R);q(g)})}else q(g)}var M=!1,z;function q(g){if(M=me!==null&&me!=="pre-exports",d1.test(e))z=H.resolve(g,e),(e==="."||e===".."||e.slice(-1)==="/")&&(z+="/"),e.slice(-1)==="/"&&z===g?J(z,a.package,P):x(z,a.package,P);else{if(ge&&c1(e))return i(null,e);M?A(e,g,function(R,m,I){if(R)return i(R);if(m)return wr(h,m,a,function(D,N){D?i(D):i(null,N,I)});if(m===void 0){var C=new Mt("Cannot find module '"+e+"' from '"+de+"'");return C.code="MODULE_NOT_FOUND",i(C)}_(e,g,function(D,N,j){if(D)i(D);else{if(N)return wr(h,N,a,function(oe,ue){oe?i(oe):i(null,ue,j)});var K=new Mt("Cannot find module '"+e+"' from '"+de+"'");K.code="MODULE_NOT_FOUND",i(K)}})}):G(e,g,function(R,m,I){if(R)i(R);else{if(m)return wr(h,m,a,function(D,N){D?i(D):i(null,N,I)});var C=new Mt("Cannot find module '"+e+"' from '"+de+"'");C.code="MODULE_NOT_FOUND",i(C)}})}}function P(g,R,m){g?i(g):R?i(null,R,m):J(z,function(I,C,D){if(I)i(I);else if(C)wr(h,C,a,function(j,K){j?i(j):i(null,K,D)});else{var N=new Mt("Cannot find module '"+e+"' from '"+de+"'");N.code="MODULE_NOT_FOUND",i(N)}})}function x(g,R,m){var I=R,C=m;typeof I=="function"&&(C=I,I=void 0);var D=[""].concat(ce);N(D,g,I);function N(j,K,oe){if(j.length===0)return C(null,void 0,oe);var ue=K+j[0],se=oe;se?le(null,se):ae(H.dirname(ue),le);function le(ye,Te,qe){if(se=Te,ye)return C(ye);if(qe&&se&&a.pathFilter){var _e=H.relative(qe,ue),Se=_e.slice(0,_e.length-j[0].length),fe=a.pathFilter(se,K,Se);if(fe)return N([""].concat(ce),H.resolve(qe,fe),se)}u(ue,Ee)}function Ee(ye,Te){if(ye)return C(ye);if(Te)return C(null,ue,se);N(j.slice(1),K,se)}}}function ae(g,R){if(g===""||g==="/"||process.platform==="win32"&&m1.test(g)||Ph.test(g))return R(null);wr(h,g,a,function(m,I){if(m)return ae(H.dirname(g),R);var C=H.join(I,"package.json");u(C,function(D,N){if(!N)return ae(H.dirname(g),R);E(p,C,function(j,K){if(j&&!(j instanceof SyntaxError))return R(j);var oe=K;oe&&a.packageFilter&&(oe=a.packageFilter(oe,C,g)),R(null,oe,g)})})})}function J(g,R,m){var I=m,C=R;typeof C=="function"&&(I=C,C=a.package),wr(h,g,a,function(D,N){if(D)return J(H.dirname(g),C,I);var j=H.join(N,"package.json");u(j,function(K,oe){if(K)return I(K);if(!oe)return x(H.join(g,"index"),C,I);E(p,j,function(ue,se){if(ue)return I(ue);var le=se;if(le&&a.packageFilter&&(le=a.packageFilter(le,j,N)),le&&le.main){if(typeof le.main!="string"){var Ee=new Gt("package \u201C"+le.name+"\u201D `main` must be a string");return Ee.code="INVALID_PACKAGE_MAIN",I(Ee)}(le.main==="."||le.main==="./")&&(le.main="index"),x(H.resolve(g,le.main),le,function(ye,Te,qe){if(ye)return I(ye);if(Te)return I(null,Te,qe);if(!qe)return x(H.join(g,"index"),qe,I);var _e=H.resolve(g,qe.main);J(_e,qe,function(Se,fe,Ue){if(Se)return I(Se);if(fe)return I(null,fe,Ue);x(H.join(g,"index"),Ue,function(Ge,ke,we){if(Ge)return I(Ge);if(ke)return I(null,ke,we);var Be=new Mt("Cannot find module '"+H.resolve(g,we.main)+`'. Please verify that the package.json has a valid "main" entry`);return Be.code="INCORRECT_PACKAGE_MAIN",I(Be)})})});return}x(H.join(g,"/index"),le,I)})})})}function T(g,R){if(R.length===0)return g(null,void 0);var m=R[0];l(H.dirname(m),I);function I(N,j){if(N)return g(N);if(!j)return T(g,R.slice(1));x(m,a.package,C)}function C(N,j,K){if(N)return g(N);if(j)return g(null,j,K);J(m,a.package,D)}function D(N,j,K){if(N)return g(N);if(j)return g(null,j,K);T(g,R.slice(1))}}function G(g,R,m){var I=function(){return xh(g,R,a)};T(m,L?L(g,R,I,a):I())}function _(g,R,m){var I=Oh(g),C=Th(me,a.moduleSystem||"require"),D=a.conditions||C.conditions,N=function(){return xh(I.name,R,a)},j=L?L(I.name,R,N,a):N();K(j,0);function K(oe,ue){if(ue>=oe.length)return m(null,void 0);var se=oe[ue];l(se,function(le,Ee){if(le)return m(le);if(!Ee)return K(oe,ue+1);var ye=H.join(se,"package.json");u(ye,function(Te,qe){if(Te)return m(Te);if(!qe){if(I.subpath===".")x(se,a.package,function(Se,fe,Ue){if(Se)return m(Se);if(fe)return m(null,fe,Ue);J(se,a.package,function(Ge,ke,we){if(Ge)return m(Ge);if(ke)return m(null,ke,we);K(oe,ue+1)})});else{var _e=H.join(se,I.subpath.slice(1));x(_e,a.package,function(Se,fe,Ue){if(Se)return m(Se);if(fe)return m(null,fe,Ue);J(_e,a.package,function(Ge,ke,we){if(Ge)return m(Ge);if(ke)return m(null,ke,we);K(oe,ue+1)})})}return}E(p,ye,function(Se,fe){if(Se)return Se instanceof SyntaxError?K(oe,ue+1):m(Se);if(fe&&a.packageFilter&&(fe=a.packageFilter(fe,ye,se)),fe&&typeof fe.exports<"u"){var Ue;try{Ue=qh(fe.exports,I.subpath,D,C.flags)}catch(we){return m(we)}if(Ue){var Ge=H.resolve(se,Ue);u(Ge,function(we,Be){if(we)return m(we);if(Be)return m(null,Ge,fe);m(null,void 0)});return}return m(null,void 0)}if(I.subpath===".")J(se,fe,function(we,Be,Qn){if(we)return m(we);if(Be)return m(null,Be,Qn);K(oe,ue+1)});else{var ke=H.join(se,I.subpath.slice(1));x(ke,fe,function(we,Be,Qn){if(we)return m(we);if(Be)return m(null,Be,Qn);J(ke,fe,function(Xo,Ho,Cg){if(Xo)return m(Xo);if(Ho)return m(null,Ho,Cg);K(oe,ue+1)})})}})})})}}}});var Vh=s((jD,kh)=>{var A1=na(),Rr=De("fs"),re=De("path"),Dh=pr(),kt=S(),R1=Yi(),T1=Zi(),q1=ra(),O1=ta(),Fh=Ya(),$h=Za(),x1=eo(),jh=ua(),P1=Mn(),N1=Gn(),C1=process.platform!=="win32"&&Rr.realpathSync&&typeof Rr.realpathSync.native=="function"?Rr.realpathSync.native:Rr.realpathSync,L1=/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/,_1=/^\w:[/\\]*$/,Gh=/[/\\]node_modules[/\\]*$/,to=R1();function D1(){return to?[re.join(to,".node_modules"),re.join(to,".node_libraries")]:[]}var F1=function(e){try{var t=Rr.statSync(e,{throwIfNoEntry:!1})}catch(n){if(n&&(n.code==="ENOENT"||n.code==="ENOTDIR"))return!1;throw n}return!!t&&(t.isFile()||t.isFIFO())},$1=function(e){try{var t=Rr.statSync(e,{throwIfNoEntry:!1})}catch(n){if(n&&(n.code==="ENOENT"||n.code==="ENOTDIR"))return!1;throw n}return!!t&&t.isDirectory()},j1=function(e){try{return C1(e)}catch(t){if(t.code!=="ENOENT")throw t}return e};function Ar(r,e,t){return!t||!t.preserveSymlinks?r(e):e}function M1(r,e){return JSON.parse(r(e))}function Mh(r,e,t){for(var n=q1(e,t,r),i=0;i<n.length;i++)n[i]=re.join(n[i],r);return n}function G1(r,e,t,n){for(var i=re.resolve(r);;){var a=re.join(i,"package.json");if(e(a))try{return t(n,a)}catch(u){if(!(u instanceof SyntaxError))throw u}var o=re.dirname(i);if(o===i)return null;i=o}}function k1(r,e,t,n){for(var i=re.resolve(r);;){if(Gh.test(i))return null;var a=re.join(i,"package.json");if(e(a))try{var o=t(n,a);return{__proto__:null,pkg:o,dir:i}}catch(l){if(!(l instanceof SyntaxError))throw l}var u=re.dirname(i);if(u===i)return null;i=u}}kh.exports=function(e,t){if(typeof e!="string")throw new kt("Path must be a string.");var n=O1(e,t),i=n.isFile||F1,a=n.isDirectory||$1,o=n.readFileSync||Rr.readFileSync,u=n.realpathSync||j1,l=n.readPackageSync||M1;if(n.readFileSync&&n.readPackageSync)throw new kt("`readFileSync` and `readPackageSync` are mutually exclusive.");var p=n.packageIterator;if(typeof n.moduleSystem<"u"&&n.moduleSystem!=="require"&&n.moduleSystem!=="import")throw new kt("`moduleSystem` must be `'require'` or `'import'`.");var h=n.extensions||[".js"],E=n.includeCoreModules!==!1,d=n.basedir||re.dirname(T1()),L=n.filename||d;n.paths=n.paths||D1();var Q=x1(n);if(Q==="engines"){var ce=G1(d,i,l,o);if(ce&&ce.engines&&ce.engines.node){var ge=P1(ce.engines.node);Q=N1(ge)}else Q=null}var Re=Q!==null&&Q!=="pre-exports",de=Ar(u,re.resolve(d),n);if(n.basedir&&!a(de)){var me=new kt('Provided basedir "'+n.basedir+'" is not a directory'+(n.preserveSymlinks?"":", or a symlink to a directory"));throw me.code="INVALID_BASEDIR",me}if(L1.test(e)){var w=re.resolve(de,e);(e==="."||e===".."||e.slice(-1)==="/")&&(w+="/");var b=q(w)||x(w);if(b)return Ar(u,b,n)}else{if(E&&A1(e))return e;if(Re){var O=z(e,de);if(O)return Ar(u,O,n);var A=J(e,de);if(A)return Ar(u,A,n)}else{var U=ae(e,de);if(U)return Ar(u,U,n)}}var M=new Dh("Cannot find module '"+e+"' from '"+L+"'");throw M.code="MODULE_NOT_FOUND",M;function z(T,G){var _=$h(T),g=k1(G,i,l,o);if(!g||!g.pkg||g.pkg.name!==_.name)return null;var R=g.pkg,m=g.dir;if(n.packageFilter&&(R=n.packageFilter(R,re.join(m,"package.json"),m)),typeof R.exports<"u"){var I=jh(Q,n.moduleSystem||"require"),C=n.conditions||I.conditions,D=Fh(R.exports,_.subpath,C,I.flags);if(D){var N=re.resolve(m,D);if(i(N))return N}return}if(_.subpath===".")return x(m);var j=re.join(m,_.subpath.slice(1)),K=q(j);return K||x(j)}function q(T){var G=P(re.dirname(T));if(G&&G.dir&&G.pkg&&n.pathFilter){var _=re.relative(G.dir,T),g=n.pathFilter(G.pkg,T,_);g&&(T=re.resolve(G.dir,g))}if(i(T))return T;for(var R=0;R<h.length;R++){var m=T+h[R];if(i(m))return m}}function P(T){if(!(T===""||T==="/")&&!(process.platform==="win32"&&_1.test(T))&&!Gh.test(T)){var G=re.join(a(T)?Ar(u,T,n):T,"package.json");if(!i(G))return P(re.dirname(T));var _;try{_=l(o,G)}catch(g){if(!(g instanceof SyntaxError))throw g}return _&&n.packageFilter&&(_=n.packageFilter(_,G,T)),{pkg:_,dir:T}}}function x(T){var G=re.join(a(T)?Ar(u,T,n):T,"/package.json");if(i(G)){try{var _=l(o,G)}catch{}if(_&&n.packageFilter&&(_=n.packageFilter(_,G,T)),_&&_.main){if(typeof _.main!="string"){var g=new kt("package \u201C"+_.name+"\u201D `main` must be a string");throw g.code="INVALID_PACKAGE_MAIN",g}(_.main==="."||_.main==="./")&&(_.main="index");try{var R=re.resolve(T,_.main),m=q(R);if(m)return m;var I=x(R);if(I)return I;var C=q(re.resolve(T,"index"));if(C)return C}catch{}var D=new Dh("Cannot find module '"+re.resolve(T,_.main)+`'. Please verify that the package.json has a valid "main" entry`);throw D.code="INCORRECT_PACKAGE_MAIN",D}}return q(re.join(T,"/index"))}function ae(T,G){for(var _=function(){return Mh(T,G,n)},g=p?p(T,G,_,n):_(),R=0;R<g.length;R++){var m=g[R];if(a(re.dirname(m))){var I=q(m);if(I)return I;var C=x(m);if(C)return C}}}function J(T,G){for(var _=$h(T),g=jh(Q,n.moduleSystem||"require"),R=n.conditions||g.conditions,m=function(){return Mh(_.name,G,n)},I=p?p(_.name,G,m,n):m(),C=0;C<I.length;C++){var D=I[C];if(a(D)){var N=re.join(D,"package.json");if(i(N)){var j;try{j=l(o,N)}catch(fe){if(!(fe instanceof SyntaxError))throw fe;j=null}if(j){if(n.packageFilter&&(j=n.packageFilter(j,N,D)),typeof j.exports<"u"){var K=Fh(j.exports,_.subpath,R,g.flags);if(K){var oe=re.resolve(D,K);if(i(oe))return oe}return}if(_.subpath==="."){var ue=x(D);if(ue)return ue}else{var se=re.join(D,_.subpath.slice(1)),le=q(se);if(le)return le;var Ee=x(se);if(Ee)return Ee}}}else if(_.subpath==="."){var ye=q(D);if(ye)return ye;var Te=x(D);if(Te)return Te}else{var qe=re.join(D,_.subpath.slice(1)),_e=q(qe);if(_e)return _e;var Se=x(qe);if(Se)return Se}}}}}});var Wh=s((MD,Bh)=>{var Uh=_h();Uh.sync=Vh();Bh.exports=Uh});var nd=s(($,td)=>{$=td.exports=V;var te;typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?te=function(){var r=Array.prototype.slice.call(arguments,0);r.unshift("SEMVER"),console.log.apply(console,r)}:te=function(){};$.SEMVER_SPEC_VERSION="2.0.0";var qr=256,kn=Number.MAX_SAFE_INTEGER||9007199254740991,no=16,uo=qr-6,Zr=$.re=[],ie=$.safeRe=[],y=$.src=[],c=$.tokens={},Jh=0;function W(r){c[r]=Jh++}var lo="[a-zA-Z0-9-]",io=[["\\s",1],["\\d",qr],[lo,uo]];function Ut(r){for(var e=0;e<io.length;e++){var t=io[e][0],n=io[e][1];r=r.split(t+"*").join(t+"{0,"+n+"}").split(t+"+").join(t+"{1,"+n+"}")}return r}W("NUMERICIDENTIFIER");y[c.NUMERICIDENTIFIER]="0|[1-9]\\d*";W("NUMERICIDENTIFIERLOOSE");y[c.NUMERICIDENTIFIERLOOSE]="\\d+";W("NONNUMERICIDENTIFIER");y[c.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+lo+"*";W("MAINVERSION");y[c.MAINVERSION]="("+y[c.NUMERICIDENTIFIER]+")\\.("+y[c.NUMERICIDENTIFIER]+")\\.("+y[c.NUMERICIDENTIFIER]+")";W("MAINVERSIONLOOSE");y[c.MAINVERSIONLOOSE]="("+y[c.NUMERICIDENTIFIERLOOSE]+")\\.("+y[c.NUMERICIDENTIFIERLOOSE]+")\\.("+y[c.NUMERICIDENTIFIERLOOSE]+")";W("PRERELEASEIDENTIFIER");y[c.PRERELEASEIDENTIFIER]="(?:"+y[c.NUMERICIDENTIFIER]+"|"+y[c.NONNUMERICIDENTIFIER]+")";W("PRERELEASEIDENTIFIERLOOSE");y[c.PRERELEASEIDENTIFIERLOOSE]="(?:"+y[c.NUMERICIDENTIFIERLOOSE]+"|"+y[c.NONNUMERICIDENTIFIER]+")";W("PRERELEASE");y[c.PRERELEASE]="(?:-("+y[c.PRERELEASEIDENTIFIER]+"(?:\\."+y[c.PRERELEASEIDENTIFIER]+")*))";W("PRERELEASELOOSE");y[c.PRERELEASELOOSE]="(?:-?("+y[c.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+y[c.PRERELEASEIDENTIFIERLOOSE]+")*))";W("BUILDIDENTIFIER");y[c.BUILDIDENTIFIER]=lo+"+";W("BUILD");y[c.BUILD]="(?:\\+("+y[c.BUILDIDENTIFIER]+"(?:\\."+y[c.BUILDIDENTIFIER]+")*))";W("FULL");W("FULLPLAIN");y[c.FULLPLAIN]="v?"+y[c.MAINVERSION]+y[c.PRERELEASE]+"?"+y[c.BUILD]+"?";y[c.FULL]="^"+y[c.FULLPLAIN]+"$";W("LOOSEPLAIN");y[c.LOOSEPLAIN]="[v=\\s]*"+y[c.MAINVERSIONLOOSE]+y[c.PRERELEASELOOSE]+"?"+y[c.BUILD]+"?";W("LOOSE");y[c.LOOSE]="^"+y[c.LOOSEPLAIN]+"$";W("GTLT");y[c.GTLT]="((?:<|>)?=?)";W("XRANGEIDENTIFIERLOOSE");y[c.XRANGEIDENTIFIERLOOSE]=y[c.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";W("XRANGEIDENTIFIER");y[c.XRANGEIDENTIFIER]=y[c.NUMERICIDENTIFIER]+"|x|X|\\*";W("XRANGEPLAIN");y[c.XRANGEPLAIN]="[v=\\s]*("+y[c.XRANGEIDENTIFIER]+")(?:\\.("+y[c.XRANGEIDENTIFIER]+")(?:\\.("+y[c.XRANGEIDENTIFIER]+")(?:"+y[c.PRERELEASE]+")?"+y[c.BUILD]+"?)?)?";W("XRANGEPLAINLOOSE");y[c.XRANGEPLAINLOOSE]="[v=\\s]*("+y[c.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+y[c.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+y[c.XRANGEIDENTIFIERLOOSE]+")(?:"+y[c.PRERELEASELOOSE]+")?"+y[c.BUILD]+"?)?)?";W("XRANGE");y[c.XRANGE]="^"+y[c.GTLT]+"\\s*"+y[c.XRANGEPLAIN]+"$";W("XRANGELOOSE");y[c.XRANGELOOSE]="^"+y[c.GTLT]+"\\s*"+y[c.XRANGEPLAINLOOSE]+"$";W("COERCE");y[c.COERCE]="(^|[^\\d])(\\d{1,"+no+"})(?:\\.(\\d{1,"+no+"}))?(?:\\.(\\d{1,"+no+"}))?(?:$|[^\\d])";W("COERCERTL");Zr[c.COERCERTL]=new RegExp(y[c.COERCE],"g");ie[c.COERCERTL]=new RegExp(Ut(y[c.COERCE]),"g");W("LONETILDE");y[c.LONETILDE]="(?:~>?)";W("TILDETRIM");y[c.TILDETRIM]="(\\s*)"+y[c.LONETILDE]+"\\s+";Zr[c.TILDETRIM]=new RegExp(y[c.TILDETRIM],"g");ie[c.TILDETRIM]=new RegExp(Ut(y[c.TILDETRIM]),"g");var V1="$1~";W("TILDE");y[c.TILDE]="^"+y[c.LONETILDE]+y[c.XRANGEPLAIN]+"$";W("TILDELOOSE");y[c.TILDELOOSE]="^"+y[c.LONETILDE]+y[c.XRANGEPLAINLOOSE]+"$";W("LONECARET");y[c.LONECARET]="(?:\\^)";W("CARETTRIM");y[c.CARETTRIM]="(\\s*)"+y[c.LONECARET]+"\\s+";Zr[c.CARETTRIM]=new RegExp(y[c.CARETTRIM],"g");ie[c.CARETTRIM]=new RegExp(Ut(y[c.CARETTRIM]),"g");var U1="$1^";W("CARET");y[c.CARET]="^"+y[c.LONECARET]+y[c.XRANGEPLAIN]+"$";W("CARETLOOSE");y[c.CARETLOOSE]="^"+y[c.LONECARET]+y[c.XRANGEPLAINLOOSE]+"$";W("COMPARATORLOOSE");y[c.COMPARATORLOOSE]="^"+y[c.GTLT]+"\\s*("+y[c.LOOSEPLAIN]+")$|^$";W("COMPARATOR");y[c.COMPARATOR]="^"+y[c.GTLT]+"\\s*("+y[c.FULLPLAIN]+")$|^$";W("COMPARATORTRIM");y[c.COMPARATORTRIM]="(\\s*)"+y[c.GTLT]+"\\s*("+y[c.LOOSEPLAIN]+"|"+y[c.XRANGEPLAIN]+")";Zr[c.COMPARATORTRIM]=new RegExp(y[c.COMPARATORTRIM],"g");ie[c.COMPARATORTRIM]=new RegExp(Ut(y[c.COMPARATORTRIM]),"g");W("HYPHENRANGE");y[c.HYPHENRANGE]="^\\s*("+y[c.XRANGEPLAIN]+")\\s+-\\s+("+y[c.XRANGEPLAIN]+")\\s*$";W("HYPHENRANGELOOSE");y[c.HYPHENRANGELOOSE]="^\\s*("+y[c.XRANGEPLAINLOOSE]+")\\s+-\\s+("+y[c.XRANGEPLAINLOOSE]+")\\s*$";W("STAR");y[c.STAR]="(<|>)?=?\\s*\\*";for(Ye=0;Ye<Jh;Ye++)te(Ye,y[Ye]),Zr[Ye]||(Zr[Ye]=new RegExp(y[Ye]),ie[Ye]=new RegExp(Ut(y[Ye])));var Ye;$.parse=Or;function Or(r,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),r instanceof V)return r;if(typeof r!="string"||r.length>qr)return null;var t=e.loose?ie[c.LOOSE]:ie[c.FULL];if(!t.test(r))return null;try{return new V(r,e)}catch{return null}}$.valid=B1;function B1(r,e){var t=Or(r,e);return t?t.version:null}$.clean=W1;function W1(r,e){var t=Or(r.trim().replace(/^[=v]+/,""),e);return t?t.version:null}$.SemVer=V;function V(r,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),r instanceof V){if(r.loose===e.loose)return r;r=r.version}else if(typeof r!="string")throw new TypeError("Invalid Version: "+r);if(r.length>qr)throw new TypeError("version is longer than "+qr+" characters");if(!(this instanceof V))return new V(r,e);te("SemVer",r,e),this.options=e,this.loose=!!e.loose;var t=r.trim().match(e.loose?ie[c.LOOSE]:ie[c.FULL]);if(!t)throw new TypeError("Invalid Version: "+r);if(this.raw=r,this.major=+t[1],this.minor=+t[2],this.patch=+t[3],this.major>kn||this.major<0)throw new TypeError("Invalid major version");if(this.minor>kn||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>kn||this.patch<0)throw new TypeError("Invalid patch version");t[4]?this.prerelease=t[4].split(".").map(function(n){if(/^[0-9]+$/.test(n)){var i=+n;if(i>=0&&i<kn)return i}return n}):this.prerelease=[],this.build=t[5]?t[5].split("."):[],this.format()}V.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version};V.prototype.toString=function(){return this.version};V.prototype.compare=function(r){return te("SemVer.compare",this.version,this.options,r),r instanceof V||(r=new V(r,this.options)),this.compareMain(r)||this.comparePre(r)};V.prototype.compareMain=function(r){return r instanceof V||(r=new V(r,this.options)),Tr(this.major,r.major)||Tr(this.minor,r.minor)||Tr(this.patch,r.patch)};V.prototype.comparePre=function(r){if(r instanceof V||(r=new V(r,this.options)),this.prerelease.length&&!r.prerelease.length)return-1;if(!this.prerelease.length&&r.prerelease.length)return 1;if(!this.prerelease.length&&!r.prerelease.length)return 0;var e=0;do{var t=this.prerelease[e],n=r.prerelease[e];if(te("prerelease compare",e,t,n),t===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(t===void 0)return-1;if(t===n)continue;return Tr(t,n)}while(++e)};V.prototype.compareBuild=function(r){r instanceof V||(r=new V(r,this.options));var e=0;do{var t=this.build[e],n=r.build[e];if(te("prerelease compare",e,t,n),t===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(t===void 0)return-1;if(t===n)continue;return Tr(t,n)}while(++e)};V.prototype.inc=function(r,e){switch(r){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",e);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",e);break;case"prepatch":this.prerelease.length=0,this.inc("patch",e),this.inc("pre",e);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",e),this.inc("pre",e);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":if(this.prerelease.length===0)this.prerelease=[0];else{for(var t=this.prerelease.length;--t>=0;)typeof this.prerelease[t]=="number"&&(this.prerelease[t]++,t=-2);t===-1&&this.prerelease.push(0)}e&&(this.prerelease[0]===e?isNaN(this.prerelease[1])&&(this.prerelease=[e,0]):this.prerelease=[e,0]);break;default:throw new Error("invalid increment argument: "+r)}return this.format(),this.raw=this.version,this};$.inc=X1;function X1(r,e,t,n){typeof t=="string"&&(n=t,t=void 0);try{return new V(r,t).inc(e,n).version}catch{return null}}$.diff=H1;function H1(r,e){if(fo(r,e))return null;var t=Or(r),n=Or(e),i="";if(t.prerelease.length||n.prerelease.length){i="pre";var a="prerelease"}for(var o in t)if((o==="major"||o==="minor"||o==="patch")&&t[o]!==n[o])return i+o;return a}$.compareIdentifiers=Tr;var Xh=/^[0-9]+$/;function Tr(r,e){var t=Xh.test(r),n=Xh.test(e);return t&&n&&(r=+r,e=+e),r===e?0:t&&!n?-1:n&&!t?1:r<e?-1:1}$.rcompareIdentifiers=K1;function K1(r,e){return Tr(e,r)}$.major=z1;function z1(r,e){return new V(r,e).major}$.minor=J1;function J1(r,e){return new V(r,e).minor}$.patch=Y1;function Y1(r,e){return new V(r,e).patch}$.compare=ir;function ir(r,e,t){return new V(r,t).compare(new V(e,t))}$.compareLoose=Z1;function Z1(r,e){return ir(r,e,!0)}$.compareBuild=Q1;function Q1(r,e,t){var n=new V(r,t),i=new V(e,t);return n.compare(i)||n.compareBuild(i)}$.rcompare=eO;function eO(r,e,t){return ir(e,r,t)}$.sort=rO;function rO(r,e){return r.sort(function(t,n){return $.compareBuild(t,n,e)})}$.rsort=tO;function tO(r,e){return r.sort(function(t,n){return $.compareBuild(n,t,e)})}$.gt=Vt;function Vt(r,e,t){return ir(r,e,t)>0}$.lt=Vn;function Vn(r,e,t){return ir(r,e,t)<0}$.eq=fo;function fo(r,e,t){return ir(r,e,t)===0}$.neq=Yh;function Yh(r,e,t){return ir(r,e,t)!==0}$.gte=co;function co(r,e,t){return ir(r,e,t)>=0}$.lte=po;function po(r,e,t){return ir(r,e,t)<=0}$.cmp=Un;function Un(r,e,t,n){switch(e){case"===":return typeof r=="object"&&(r=r.version),typeof t=="object"&&(t=t.version),r===t;case"!==":return typeof r=="object"&&(r=r.version),typeof t=="object"&&(t=t.version),r!==t;case"":case"=":case"==":return fo(r,t,n);case"!=":return Yh(r,t,n);case">":return Vt(r,t,n);case">=":return co(r,t,n);case"<":return Vn(r,t,n);case"<=":return po(r,t,n);default:throw new TypeError("Invalid operator: "+e)}}$.Comparator=Me;function Me(r,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),r instanceof Me){if(r.loose===!!e.loose)return r;r=r.value}if(!(this instanceof Me))return new Me(r,e);r=r.trim().split(/\s+/).join(" "),te("comparator",r,e),this.options=e,this.loose=!!e.loose,this.parse(r),this.semver===Qr?this.value="":this.value=this.operator+this.semver.version,te("comp",this)}var Qr={};Me.prototype.parse=function(r){var e=this.options.loose?ie[c.COMPARATORLOOSE]:ie[c.COMPARATOR],t=r.match(e);if(!t)throw new TypeError("Invalid comparator: "+r);this.operator=t[1]!==void 0?t[1]:"",this.operator==="="&&(this.operator=""),t[2]?this.semver=new V(t[2],this.options.loose):this.semver=Qr};Me.prototype.toString=function(){return this.value};Me.prototype.test=function(r){if(te("Comparator.test",r,this.options.loose),this.semver===Qr||r===Qr)return!0;if(typeof r=="string")try{r=new V(r,this.options)}catch{return!1}return Un(r,this.operator,this.semver,this.options)};Me.prototype.intersects=function(r,e){if(!(r instanceof Me))throw new TypeError("a Comparator is required");(!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1});var t;if(this.operator==="")return this.value===""?!0:(t=new ve(r.value,e),Bn(this.value,t,e));if(r.operator==="")return r.value===""?!0:(t=new ve(this.value,e),Bn(r.semver,t,e));var n=(this.operator===">="||this.operator===">")&&(r.operator===">="||r.operator===">"),i=(this.operator==="<="||this.operator==="<")&&(r.operator==="<="||r.operator==="<"),a=this.semver.version===r.semver.version,o=(this.operator===">="||this.operator==="<=")&&(r.operator===">="||r.operator==="<="),u=Un(this.semver,"<",r.semver,e)&&(this.operator===">="||this.operator===">")&&(r.operator==="<="||r.operator==="<"),l=Un(this.semver,">",r.semver,e)&&(this.operator==="<="||this.operator==="<")&&(r.operator===">="||r.operator===">");return n||i||a&&o||u||l};$.Range=ve;function ve(r,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),r instanceof ve)return r.loose===!!e.loose&&r.includePrerelease===!!e.includePrerelease?r:new ve(r.raw,e);if(r instanceof Me)return new ve(r.value,e);if(!(this instanceof ve))return new ve(r,e);if(this.options=e,this.loose=!!e.loose,this.includePrerelease=!!e.includePrerelease,this.raw=r.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(t){return this.parseRange(t.trim())},this).filter(function(t){return t.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);this.format()}ve.prototype.format=function(){return this.range=this.set.map(function(r){return r.join(" ").trim()}).join("||").trim(),this.range};ve.prototype.toString=function(){return this.range};function oo(r){var e=r&&r.charCodeAt(0);return e>=9&&e<=13||e===32||e===160||e===5760||e>=8192&&e<=8202||e===8232||e===8233||e===8239||e===8287||e===12288||e===65279}function Hh(r){return r==="v"||r==="="||oo(r)}function et(r){return r!==void 0&&r>="0"&&r<="9"}function Zh(r){return r!==void 0&&(r>="a"&&r<="z"||r>="A"&&r<="Z")}function Qh(r){return et(r)||Zh(r)||r==="-"}function so(r){return et(r)||r==="x"||r==="X"||r==="*"}function nO(r,e,t,n){if(!et(r[e]))return e;if(e>=n.start&&e<n.end)return Math.min(e+t,n.end);if(e>=n.previousStart&&e<n.previousEnd)return Math.min(e+t,n.previousEnd);for(var i=e+1;et(r[i]);)i++;return n.previousStart=n.start,n.previousEnd=n.end,n.start=e,n.end=i,Math.min(e+t,i)}function vo(r,e,t,n){return!t&&r[e]==="0"?e+1:nO(r,e,t?qr:qr+1,n)}function ao(r,e,t,n){if(et(r[e]))return vo(r,e,t,n);if(!Zh(r[e])&&r[e]!=="-")return e;for(var i=e+1,a=i+uo;i<a&&Qh(r[i]);)i++;return i}function ed(r,e,t,n){var i=r[e]==="-";if(!t&&!i)return e;var a=e+(i?1:0),o=ao(r,a,t,n);if(o===a){if(!t||!i)return e;o=ao(r,e,t,n)}for(;r[o]===".";){var u=ao(r,o+1,t,n);if(u===o+1)break;o=u}return o}function rd(r,e){if(r[e]!=="+")return e;var t=e+1;do{for(var n=t;t-n<uo&&Qh(r[t]);)t++;if(t===n)return n===e+1?e:t-1;if(r[t]!==".")return t;t++}while(!0)}function iO(r,e,t){for(var n=e,i=0;i<3;i++){var a=vo(r,n,!0,t);if(a===n)return e;if(n=a,i<2){if(r[n]!==".")return e;n++}}return rd(r,ed(r,n,!0,t))}function Kh(r,e,t){return et(r[e])?vo(r,e,!1,t):so(r[e])?e+1:e}function aO(r,e,t){var n=iO(r,e,t);if(n!==e)return n;n=Kh(r,e,t);for(var i=0;i<2;i++){if(r[n]!==".")return n;var a=Kh(r,n+1,t);if(a===n+1)return n;n=a}return rd(r,ed(r,n,!1,t))}function oO(r,e){return oo(r[e])&&e++,(r[e]==="<"||r[e]===">")&&e++,r[e]==="="&&e++,oo(r[e])?e:-1}function sO(r){for(var e="",t=0,n=0,i={start:-1,end:-1,previousStart:-1,previousEnd:-1};n<r.length;){var a=n;if(r[n]==="<"||r[n]===">")n++;else if(!Hh(r[n])&&!so(r[n])){n++;continue}for(;n<r.length&&Hh(r[n]);)n++;if(so(r[n])){var o=oO(r,a);o!==-1&&(e+=r.slice(t,o),t=o+1),n=aO(r,n,i)}}return e+r.slice(t)}ve.prototype.parseRange=function(r){var e=this.options.loose,t=e?ie[c.HYPHENRANGELOOSE]:ie[c.HYPHENRANGE];r=r.replace(t,mO),te("hyphen replace",r),r=sO(r),te("comparator trim",r),r=r.replace(ie[c.TILDETRIM],V1),r=r.replace(ie[c.CARETTRIM],U1),r=r.split(/\s+/).join(" ");var n=e?ie[c.COMPARATORLOOSE]:ie[c.COMPARATOR],i=r.split(" ").map(function(a){return lO(a,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(i=i.filter(function(a){return!!a.match(n)})),i=i.map(function(a){return new Me(a,this.options)},this),i};ve.prototype.intersects=function(r,e){if(!(r instanceof ve))throw new TypeError("a Range is required");return this.set.some(function(t){return zh(t,e)&&r.set.some(function(n){return zh(n,e)&&t.every(function(i){return n.every(function(a){return i.intersects(a,e)})})})})};function zh(r,e){for(var t=!0,n=r.slice(),i=n.pop();t&&n.length;)t=n.every(function(a){return i.intersects(a,e)}),i=n.pop();return t}$.toComparators=uO;function uO(r,e){return new ve(r,e).set.map(function(t){return t.map(function(n){return n.value}).join(" ").trim().split(" ")})}function lO(r,e){return te("comp",r,e),r=pO(r,e),te("caret",r),r=fO(r,e),te("tildes",r),r=yO(r,e),te("xrange",r),r=dO(r,e),te("stars",r),r}function xe(r){return!r||r.toLowerCase()==="x"||r==="*"}function fO(r,e){return r.trim().split(/\s+/).map(function(t){return cO(t,e)}).join(" ")}function cO(r,e){var t=e.loose?ie[c.TILDELOOSE]:ie[c.TILDE];return r.replace(t,function(n,i,a,o,u){te("tilde",r,n,i,a,o,u);var l;return xe(i)?l="":xe(a)?l=">="+i+".0.0 <"+(+i+1)+".0.0":xe(o)?l=">="+i+"."+a+".0 <"+i+"."+(+a+1)+".0":u?(te("replaceTilde pr",u),l=">="+i+"."+a+"."+o+"-"+u+" <"+i+"."+(+a+1)+".0"):l=">="+i+"."+a+"."+o+" <"+i+"."+(+a+1)+".0",te("tilde return",l),l})}function pO(r,e){return r.trim().split(/\s+/).map(function(t){return vO(t,e)}).join(" ")}function vO(r,e){te("caret",r,e);var t=e.loose?ie[c.CARETLOOSE]:ie[c.CARET];return r.replace(t,function(n,i,a,o,u){te("caret",r,n,i,a,o,u);var l;return xe(i)?l="":xe(a)?l=">="+i+".0.0 <"+(+i+1)+".0.0":xe(o)?i==="0"?l=">="+i+"."+a+".0 <"+i+"."+(+a+1)+".0":l=">="+i+"."+a+".0 <"+(+i+1)+".0.0":u?(te("replaceCaret pr",u),i==="0"?a==="0"?l=">="+i+"."+a+"."+o+"-"+u+" <"+i+"."+a+"."+(+o+1):l=">="+i+"."+a+"."+o+"-"+u+" <"+i+"."+(+a+1)+".0":l=">="+i+"."+a+"."+o+"-"+u+" <"+(+i+1)+".0.0"):(te("no pr"),i==="0"?a==="0"?l=">="+i+"."+a+"."+o+" <"+i+"."+a+"."+(+o+1):l=">="+i+"."+a+"."+o+" <"+i+"."+(+a+1)+".0":l=">="+i+"."+a+"."+o+" <"+(+i+1)+".0.0"),te("caret return",l),l})}function yO(r,e){return te("replaceXRanges",r,e),r.split(/\s+/).map(function(t){return hO(t,e)}).join(" ")}function hO(r,e){r=r.trim();var t=e.loose?ie[c.XRANGELOOSE]:ie[c.XRANGE];return r.replace(t,function(n,i,a,o,u,l){te("xRange",r,n,i,a,o,u,l);var p=xe(a),h=p||xe(o),E=h||xe(u),d=E;return i==="="&&d&&(i=""),l=e.includePrerelease?"-0":"",p?i===">"||i==="<"?n="<0.0.0-0":n="*":i&&d?(h&&(o=0),u=0,i===">"?(i=">=",h?(a=+a+1,o=0,u=0):(o=+o+1,u=0)):i==="<="&&(i="<",h?a=+a+1:o=+o+1),n=i+a+"."+o+"."+u+l):h?n=">="+a+".0.0"+l+" <"+(+a+1)+".0.0"+l:E&&(n=">="+a+"."+o+".0"+l+" <"+a+"."+(+o+1)+".0"+l),te("xRange return",n),n})}function dO(r,e){return te("replaceStars",r,e),r.trim().replace(ie[c.STAR],"")}function mO(r,e,t,n,i,a,o,u,l,p,h,E,d){return xe(t)?e="":xe(n)?e=">="+t+".0.0":xe(i)?e=">="+t+"."+n+".0":e=">="+e,xe(l)?u="":xe(p)?u="<"+(+l+1)+".0.0":xe(h)?u="<"+l+"."+(+p+1)+".0":E?u="<="+l+"."+p+"."+h+"-"+E:u="<="+u,(e+" "+u).trim()}ve.prototype.test=function(r){if(!r)return!1;if(typeof r=="string")try{r=new V(r,this.options)}catch{return!1}for(var e=0;e<this.set.length;e++)if(gO(this.set[e],r,this.options))return!0;return!1};function gO(r,e,t){for(var n=0;n<r.length;n++)if(!r[n].test(e))return!1;if(e.prerelease.length&&!t.includePrerelease){for(n=0;n<r.length;n++)if(te(r[n].semver),r[n].semver!==Qr&&r[n].semver.prerelease.length>0){var i=r[n].semver;if(i.major===e.major&&i.minor===e.minor&&i.patch===e.patch)return!0}return!1}return!0}$.satisfies=Bn;function Bn(r,e,t){try{e=new ve(e,t)}catch{return!1}return e.test(r)}$.maxSatisfying=EO;function EO(r,e,t){var n=null,i=null;try{var a=new ve(e,t)}catch{return null}return r.forEach(function(o){a.test(o)&&(!n||i.compare(o)===-1)&&(n=o,i=new V(n,t))}),n}$.minSatisfying=SO;function SO(r,e,t){var n=null,i=null;try{var a=new ve(e,t)}catch{return null}return r.forEach(function(o){a.test(o)&&(!n||i.compare(o)===1)&&(n=o,i=new V(n,t))}),n}$.minVersion=IO;function IO(r,e){r=new ve(r,e);var t=new V("0.0.0");if(r.test(t)||(t=new V("0.0.0-0"),r.test(t)))return t;t=null;for(var n=0;n<r.set.length;++n){var i=r.set[n];i.forEach(function(a){var o=new V(a.semver.version);switch(a.operator){case">":o.prerelease.length===0?o.patch++:o.prerelease.push(0),o.raw=o.format();case"":case">=":(!t||Vt(t,o))&&(t=o);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+a.operator)}})}return t&&r.test(t)?t:null}$.validRange=wO;function wO(r,e){try{return new ve(r,e).range||"*"}catch{return null}}$.ltr=bO;function bO(r,e,t){return yo(r,e,"<",t)}$.gtr=AO;function AO(r,e,t){return yo(r,e,">",t)}$.outside=yo;function yo(r,e,t,n){r=new V(r,n),e=new ve(e,n);var i,a,o,u,l;switch(t){case">":i=Vt,a=po,o=Vn,u=">",l=">=";break;case"<":i=Vn,a=co,o=Vt,u="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Bn(r,e,n))return!1;for(var p=0;p<e.set.length;++p){var h=e.set[p],E=null,d=null;if(h.forEach(function(L){L.semver===Qr&&(L=new Me(">=0.0.0")),E=E||L,d=d||L,i(L.semver,E.semver,n)?E=L:o(L.semver,d.semver,n)&&(d=L)}),E.operator===u||E.operator===l||(!d.operator||d.operator===u)&&a(r,d.semver))return!1;if(d.operator===l&&o(r,d.semver))return!1}return!0}$.prerelease=RO;function RO(r,e){var t=Or(r,e);return t&&t.prerelease.length?t.prerelease:null}$.intersects=TO;function TO(r,e,t){return r=new ve(r,t),e=new ve(e,t),r.intersects(e)}$.coerce=qO;function qO(r,e){if(r instanceof V)return r;if(typeof r=="number"&&(r=String(r)),typeof r!="string")return null;e=e||{};var t=null;if(!e.rtl)t=r.match(ie[c.COERCE]);else{for(var n;(n=ie[c.COERCERTL].exec(r))&&(!t||t.index+t[0].length!==r.length);)(!t||n.index+n[0].length!==t.index+t[0].length)&&(t=n),ie[c.COERCERTL].lastIndex=n.index+n[1].length+n[2].length;ie[c.COERCERTL].lastIndex=-1}return t===null?null:Or(t[2]+"."+(t[3]||"0")+"."+(t[4]||"0"),e)}});var ad=s((GD,id)=>{"use strict";function OO(r){/=-(f|-format)=/.test(process.argv.join("="))||console.error(r)}id.exports=OO});var fd=s((kD,ld)=>{"use strict";var xO=De("fs"),PO=De("path"),od=Wh(),sd=nd(),ar=ad(),Wt="999.999.999",Bt=!1;function NO(){Bt=!1}var xr;function CO(){xr=void 0}function ho(r){if(r){let e=typeof r=="string"?r:r.getFilename(),t=PO.dirname(e);try{if(xO.statSync(e).isFile())return t}catch(n){if(n.code==="ENOTDIR")return ho(t)}}return process.cwd()}function mo(r){let e=/^[0-9]+\.[0-9]+$/.test(r)?`${r}.0`:r;return sd.coerce(e.split(".").map(t=>Number(t)).join("."))}var Ze=Wt;function LO(){Ze=Wt}function _O(r){if(r.settings&&r.settings.react&&r.settings.react.defaultVersion){let e=r.settings.react.defaultVersion;typeof e!="string"&&ar(`Warning: default React version specified in eslint-pluigin-react-settings must be a string; got "${typeof e}"`),e=String(e);let t=mo(e);t?Ze=t.version:ar(`Warning: React version specified in eslint-plugin-react-settings must be a valid semver version, or "detect"; got \u201C${e}\u201D. Falling back to latest version as default.`)}else Ze=Wt}function DO(r){if(xr)return xr;let e=ho(r);try{let t=od.sync("react",{basedir:e});return xr=De(t).version,xr}catch(t){if(t.code==="MODULE_NOT_FOUND"){if(!Bt){let n="Assuming latest React version for linting.";Ze!==Wt&&(n=`Assuming default React version for linting: "${Ze}".`),ar(`Warning: React version was set to "detect" in eslint-plugin-react settings, but the "react" package is not installed. ${n}`),Bt=!0}return xr=Ze,xr}throw t}}function FO(r){_O(r);let e=Ze;if(r.settings&&r.settings.react&&r.settings.react.version){let n=r.settings.react.version;n==="detect"&&(n=DO(r)),typeof n!="string"&&ar(`Warning: React version specified in eslint-plugin-react-settings must be a string; got \u201C${typeof n}\u201D`),e=String(n)}else Bt||(ar("Warning: React version not specified in eslint-plugin-react settings. See https://github.com/jsx-eslint/eslint-plugin-react#configuration ."),Bt=!0);let t=mo(e);return t||ar(`Warning: React version specified in eslint-plugin-react-settings must be a valid semver version, or "detect"; got \u201C${e}\u201D`),t?t.version:Ze}function $O(r){let e=ho(r);try{let t=od.sync("flow-bin/package.json",{basedir:e});return De(t).version}catch(t){if(t.code==="MODULE_NOT_FOUND")return ar('Warning: Flow version was set to "detect" in eslint-plugin-react settings, but the "flow-bin" package is not installed. Assuming latest Flow version for linting.'),Wt;throw t}}function jO(r){let e=Ze;if(r.settings.react&&r.settings.react.flowVersion){let n=r.settings.react.flowVersion;n==="detect"&&(n=$O(r)),typeof n!="string"&&ar(`Warning: Flow version specified in eslint-plugin-react-settings must be a string; got \u201C${typeof n}\u201D`),e=String(n)}else throw"Could not retrieve flowVersion from settings";let t=mo(e);return t||ar(`Warning: Flow version specified in eslint-plugin-react-settings must be a valid semver version, or "detect"; got \u201C${e}\u201D`),t?t.version:Ze}function ud(r,e){return sd.satisfies(e,r)}function MO(r,e){return ud(e,FO(r))}function GO(r,e){return ud(e,jO(r))}ld.exports={testReactVersion:MO,testFlowVersion:GO,resetWarningFlag:NO,resetDetectedVersion:CO,resetDefaultVersion:LO}});var pd=s(cd=>{(function r(e){"use strict";var t,n,i,a,o,u;function l(w){var b={},O,A;for(O in w)w.hasOwnProperty(O)&&(A=w[O],typeof A=="object"&&A!==null?b[O]=l(A):b[O]=A);return b}function p(w,b){var O,A,U,M;for(A=w.length,U=0;A;)O=A>>>1,M=U+O,b(w[M])?A=O:(U=M+1,A-=O+1);return U}t={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},i={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],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"]},a={},o={},u={},n={Break:a,Skip:o,Remove:u};function h(w,b){this.parent=w,this.key=b}h.prototype.replace=function(b){this.parent[this.key]=b},h.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)};function E(w,b,O,A){this.node=w,this.path=b,this.wrap=O,this.ref=A}function d(){}d.prototype.path=function(){var b,O,A,U,M,z;function q(P,x){if(Array.isArray(x))for(A=0,U=x.length;A<U;++A)P.push(x[A]);else P.push(x)}if(!this.__current.path)return null;for(M=[],b=2,O=this.__leavelist.length;b<O;++b)z=this.__leavelist[b],q(M,z.path);return q(M,this.__current.path),M},d.prototype.type=function(){var w=this.current();return w.type||this.__current.wrap},d.prototype.parents=function(){var b,O,A;for(A=[],b=1,O=this.__leavelist.length;b<O;++b)A.push(this.__leavelist[b].node);return A},d.prototype.current=function(){return this.__current.node},d.prototype.__execute=function(b,O){var A,U;return U=void 0,A=this.__current,this.__current=O,this.__state=null,b&&(U=b.call(this,O.node,this.__leavelist[this.__leavelist.length-1].node)),this.__current=A,U},d.prototype.notify=function(b){this.__state=b},d.prototype.skip=function(){this.notify(o)},d.prototype.break=function(){this.notify(a)},d.prototype.remove=function(){this.notify(u)},d.prototype.__initialize=function(w,b){this.visitor=b,this.root=w,this.__worklist=[],this.__leavelist=[],this.__current=null,this.__state=null,this.__fallback=null,b.fallback==="iteration"?this.__fallback=Object.keys:typeof b.fallback=="function"&&(this.__fallback=b.fallback),this.__keys=i,b.keys&&(this.__keys=Object.assign(Object.create(this.__keys),b.keys))};function L(w){return w==null?!1:typeof w=="object"&&typeof w.type=="string"}function Q(w,b){return(w===t.ObjectExpression||w===t.ObjectPattern)&&b==="properties"}function ce(w,b){for(var O=w.length-1;O>=0;--O)if(w[O].node===b)return!0;return!1}d.prototype.traverse=function(b,O){var A,U,M,z,q,P,x,ae,J,T,G,_;for(this.__initialize(b,O),_={},A=this.__worklist,U=this.__leavelist,A.push(new E(b,null,null,null)),U.push(new E(null,null,null,null));A.length;){if(M=A.pop(),M===_){if(M=U.pop(),P=this.__execute(O.leave,M),this.__state===a||P===a)return;continue}if(M.node){if(P=this.__execute(O.enter,M),this.__state===a||P===a)return;if(A.push(_),U.push(M),this.__state===o||P===o)continue;if(z=M.node,q=z.type||M.wrap,T=this.__keys[q],!T)if(this.__fallback)T=this.__fallback(z);else throw new Error("Unknown node type "+q+".");for(ae=T.length;(ae-=1)>=0;)if(x=T[ae],G=z[x],!!G){if(Array.isArray(G)){for(J=G.length;(J-=1)>=0;)if(G[J]&&!ce(U,G[J])){if(Q(q,T[ae]))M=new E(G[J],[x,J],"Property",null);else if(L(G[J]))M=new E(G[J],[x,J],null,null);else continue;A.push(M)}}else if(L(G)){if(ce(U,G))continue;A.push(new E(G,x,null,null))}}}}},d.prototype.replace=function(b,O){var A,U,M,z,q,P,x,ae,J,T,G,_,g;function R(m){var I,C,D,N;if(m.ref.remove()){for(C=m.ref.key,N=m.ref.parent,I=A.length;I--;)if(D=A[I],D.ref&&D.ref.parent===N){if(D.ref.key<C)break;--D.ref.key}}}for(this.__initialize(b,O),G={},A=this.__worklist,U=this.__leavelist,_={root:b},P=new E(b,null,null,new h(_,"root")),A.push(P),U.push(P);A.length;){if(P=A.pop(),P===G){if(P=U.pop(),q=this.__execute(O.leave,P),q!==void 0&&q!==a&&q!==o&&q!==u&&P.ref.replace(q),(this.__state===u||q===u)&&R(P),this.__state===a||q===a)return _.root;continue}if(q=this.__execute(O.enter,P),q!==void 0&&q!==a&&q!==o&&q!==u&&(P.ref.replace(q),P.node=q),(this.__state===u||q===u)&&(R(P),P.node=null),this.__state===a||q===a)return _.root;if(M=P.node,!!M&&(A.push(G),U.push(P),!(this.__state===o||q===o))){if(z=M.type||P.wrap,J=this.__keys[z],!J)if(this.__fallback)J=this.__fallback(M);else throw new Error("Unknown node type "+z+".");for(x=J.length;(x-=1)>=0;)if(g=J[x],T=M[g],!!T)if(Array.isArray(T)){for(ae=T.length;(ae-=1)>=0;)if(T[ae]){if(Q(z,J[x]))P=new E(T[ae],[g,ae],"Property",new h(T,ae));else if(L(T[ae]))P=new E(T[ae],[g,ae],null,new h(T,ae));else continue;A.push(P)}}else L(T)&&A.push(new E(T,g,null,new h(M,g)))}}return _.root};function ge(w,b){var O=new d;return O.traverse(w,b)}function Re(w,b){var O=new d;return O.replace(w,b)}function de(w,b){var O;return O=p(b,function(U){return U.range[0]>w.range[0]}),w.extendedRange=[w.range[0],w.range[1]],O!==b.length&&(w.extendedRange[1]=b[O].range[0]),O-=1,O>=0&&(w.extendedRange[0]=b[O].range[1]),w}function me(w,b,O){var A=[],U,M,z,q;if(!w.range)throw new Error("attachComments needs range information");if(!O.length){if(b.length){for(z=0,M=b.length;z<M;z+=1)U=l(b[z]),U.extendedRange=[0,w.range[0]],A.push(U);w.leadingComments=A}return w}for(z=0,M=b.length;z<M;z+=1)A.push(de(l(b[z]),O));return q=0,ge(w,{enter:function(P){for(var x;q<A.length&&(x=A[q],!(x.extendedRange[1]>P.range[0]));)x.extendedRange[1]===P.range[0]?(P.leadingComments||(P.leadingComments=[]),P.leadingComments.push(x),A.splice(q,1)):q+=1;if(q===A.length)return n.Break;if(A[q].extendedRange[0]>P.range[1])return n.Skip}}),q=0,ge(w,{leave:function(P){for(var x;q<A.length&&(x=A[q],!(P.range[1]<x.extendedRange[0]));)P.range[1]===x.extendedRange[0]?(P.trailingComments||(P.trailingComments=[]),P.trailingComments.push(x),A.splice(q,1)):q+=1;if(q===A.length)return n.Break;if(A[q].extendedRange[0]>P.range[1])return n.Skip}}),w}return e.Syntax=t,e.traverse=ge,e.replace=Re,e.attachComments=me,e.VisitorKeys=i,e.VisitorOption=n,e.Controller=d,e.cloneEnvironment=function(){return r({})},e})(cd)});var Id=s((BD,Sd)=>{"use strict";var kO=pd(),go=In(),VO=go.getFirstTokens,UO=go.getScope,vd=go.getSourceCode;function yd(r,e){let t=Object.assign({},{fallback(n){return Object.keys(n).filter(i=>i==="children"||i==="argument")}},e);t.keys=Object.assign({},e.keys,{JSXElement:["children"],JSXFragment:["children"]}),kO.traverse(r,t)}function hd(r){for(let e=r.length-1;e>=0;e--){if(r[e].type==="ReturnStatement")return r[e];if(r[e].type==="SwitchStatement"){let t=r[e].cases.length-1;if(t>=0)return hd(r[e].cases[t].consequent)}}return!1}function BO(r){if((!r.value||!r.value.body||!r.value.body.body)&&(!r.body||!r.body.body))return!1;let e=r.value?r.value.body.body:r.body.body;return hd(e)}function WO(r,e,t){let n=r.type;if(n==="ReturnStatement"){t(r.argument,()=>{});return}if(n==="ArrowFunctionExpression"&&r.expression){t(r.body,()=>{});return}n!=="FunctionExpression"&&n!=="FunctionDeclaration"&&n!=="ArrowFunctionExpression"&&n!=="MethodDefinition"||yd(r.body,{enter(i){let a=()=>{this.break()};switch(i.type){case"ReturnStatement":this.skip(),t(i.argument,a);return;case"BlockStatement":case"IfStatement":case"ForStatement":case"WhileStatement":case"SwitchStatement":case"SwitchCase":return;default:this.skip()}}})}function dd(r){return r.key||r.type==="MethodDefinition"||r.type==="Property"?r.key:r.type==="MemberExpression"?r.property:null}function XO(r){let e=dd(r);return e?e.name:""}function HO(r){switch(r.type){case"ClassDeclaration":case"ClassExpression":return r.body.body;case"ObjectExpression":return r.properties;default:return[]}}function md(r,e){let t=vd(r),n=e,i;do n=t.getTokenBefore(n),i=n.type==="JSXText"?n.value.split(`
|
|
6
|
+
`):null;while(n.type==="JSXText"&&/^\s*$/.test(i[i.length-1]));return n}function KO(r,e){let t=md(r,e),n=e.loc.start.line,i=t?t.loc.end.line:-1;return n!==i}function gd(r){return r.type==="FunctionExpression"||r.type==="ArrowFunctionExpression"}function zO(r){return r.type==="FunctionExpression"||r.type==="FunctionDeclaration"}function JO(r){return r.type==="FunctionDeclaration"||gd(r)}function YO(r){return r.type==="ClassDeclaration"||r.type==="ClassExpression"}function ZO(r,e){let t=UO(r,e);for(;t;){if(t.block&&t.block.parent&&t.block.parent.kind==="constructor")return!0;t=t.upper}return!1}function QO(r){return r.replace(/^'|'$/g,"")}function ex(r,e){if(e.type==="ObjectTypeProperty"){let n=VO(r,e,2);return n[0].value==="+"||n[0].value==="-"?n[1].value:QO(n[0].value)}if(e.type==="GenericTypeAnnotation")return e.id.name;if(e.type==="ObjectTypeAnnotation")return;let t=e.key||e.argument;if(t)return t.type==="Identifier"?t.name:t.value}function rx(r,e){let t=vd(r),n=t.getTokenBefore(e),i=t.getTokenAfter(e);return!!n&&!!i&&n.value==="("&&n.range[1]<=e.range[0]&&i.value===")"&&i.range[0]>=e.range[1]}function tx(r){return r.parent&&r.parent.type==="AssignmentExpression"&&r.parent.left===r}function Ed(r){return r&&r.type==="TSAsExpression"}function nx(r){return r&&r.type==="CallExpression"}function ix(r){return Ed(r)?r.expression:r}function ax(r){return r?r.type==="TSTypeReference":!1}function ox(r){return r?r.type==="TSTypeAnnotation":!1}function sx(r){return r?r.type==="TSTypeLiteral":!1}function ux(r){return r?r.type==="TSIntersectionType":!1}function lx(r){return r?r.type==="TSInterfaceHeritage":!1}function fx(r){return r?(r.type==="ExportNamedDeclaration"&&r.declaration?r.declaration.type:r.type)==="TSInterfaceDeclaration":!1}function cx(r){if(!r)return!1;let e=r.type==="ExportNamedDeclaration"&&r.declaration?r.declaration:r;return e.type==="VariableDeclaration"&&e.kind==="type"}function px(r){return r?r.type==="ExportNamedDeclaration"&&r.declaration?r.declaration.type==="TSTypeAliasDeclaration"&&r.exportKind==="type":r.type==="TSTypeAliasDeclaration":!1}function vx(r){return r?r.type==="TSTypeAliasDeclaration":!1}function yx(r){return r?r.type==="TSFunctionType":!1}function hx(r){return r?r.type==="TSTypeQuery":!1}function dx(r){return r?r.type==="TSTypeParameterInstantiation":!1}Sd.exports={findReturnStatement:BO,getComponentProperties:HO,getFirstNodeInLine:md,getKeyValue:ex,getPropertyName:XO,getPropertyNameNode:dd,inConstructor:ZO,isAssignmentLHS:tx,isCallExpression:nx,isClass:YO,isFunction:zO,isFunctionLike:JO,isFunctionLikeExpression:gd,isNodeFirstInLine:KO,isParenthesized:rx,isTSAsExpression:Ed,isTSFunctionType:yx,isTSInterfaceDeclaration:fx,isTSInterfaceHeritage:lx,isTSIntersectionType:ux,isTSParenthesizedType:vx,isTSTypeAliasDeclaration:px,isTSTypeAnnotation:ox,isTSTypeDeclaration:cx,isTSTypeLiteral:sx,isTSTypeParameterInstantiation:dx,isTSTypeQuery:hx,isTSTypeReference:ax,traverse:yd,traverseReturns:WO,unwrapTSAsExpression:ix}});var xd=s((WD,Od)=>{"use strict";var mx=Hl(),gx=xc(),Eo=In().getText,Ex=zi(),wd=Ji(),Sx=$c(),Ix=fd().testReactVersion,bd=Id().isParenthesized,So={noPotentialLeakedRender:"Potential leaked value that might cause unintentionally rendered values or rendering crashes"},Wn="coerce",Xn="ternary",Ad=[Xn,Wn],Td=["UnaryExpression","BinaryExpression","CallExpression"],wx=[void 0,null,!1];function qd(r){return r.type==="UnaryExpression"&&r.argument.type==="UnaryExpression"?qd(r.argument.argument):r}function Xt(r){return r.type==="LogicalExpression"?Xt(r.left)&&Xt(r.right):Td.some(e=>e===r.type)}function Io(r){return r.type!=="LogicalExpression"?[r]:r.operator!=="&&"?[r]:[].concat(Io(r.left),Io(r.right))}function Rd(r,e,t,n,i,a){let o=Eo(r,a);if(e===Wn){let l=Io(i).map(p=>{let h=Eo(r,p);return bd(r,p)&&(h=`(${h})`),p.parent&&p.parent.type==="ConditionalExpression"&&p.parent.consequent.value===!1?`${Xt(p)?"":"!"}${h}`:`${Xt(p)?"":"!!"}${h}`}).join(" && ");if(a.parent&&a.parent.type==="ConditionalExpression"&&a.parent.consequent.value===!1){let p=a.parent.consequent.raw||a.parent.consequent.name,h=a.parent.alternate.raw||a.parent.alternate.name;return a.parent.test&&a.parent.test.type==="LogicalExpression"?t.replaceText(n,`${l} ? ${p} : ${h}`):t.replaceText(n,`${l} && ${h}`)}if(a.type==="ConditionalExpression"||a.type==="LogicalExpression")return t.replaceText(n,`${l} && (${o})`);if(a.type==="JSXElement"){let p=o.split(`
|
|
7
|
+
`);if(p.length>1){let h=p[p.length-1],E=" ".repeat(h.search(/\S/)),d=" ".repeat(h.search(/\S/)-2);return t.replaceText(n,`${l} && (
|
|
8
|
+
${E}${o}
|
|
9
|
+
${d})`)}}return a.type==="Literal"?null:t.replaceText(n,`${l} && ${o}`)}if(e===Xn){let u=Eo(r,qd(i));return bd(r,i)&&(u=`(${u})`),t.replaceText(n,`${u} ? ${o} : null`)}throw new TypeError('Invalid value for "validStrategies" option')}Od.exports={meta:{docs:{description:"Disallow problematic leaked values from being rendered",category:"Possible Errors",recommended:!1,url:Ex("jsx-no-leaked-render")},messages:So,fixable:"code",schema:[{type:"object",properties:{validStrategies:{type:"array",items:{enum:[Xn,Wn]},uniqueItems:!0,default:Ad}},additionalProperties:!1}]},create(r){let e=r.options[0]||{},t=new Set(e.validStrategies||Ad),n=mx(gx(t),()=>!0);return{'JSXExpressionContainer > LogicalExpression[operator="&&"]'(i){let a=i.left,o=Td.some(u=>u===a.type);if(t.has(Wn)){if(o||Xt(a))return;let u=Sx.getVariableFromContext(r,i,a.name);if(u&&typeof(u.defs&&u.defs.length&&u.defs[0].node.init&&u.defs[0].node.init.value)=="boolean")return}Ix(r,">= 18")&&a.type==="Literal"&&a.value===""||wd(r,So.noPotentialLeakedRender,"noPotentialLeakedRender",{node:i,fix(u){return Rd(r,n,u,i,a,i.right)}})},"JSXExpressionContainer > ConditionalExpression"(i){if(t.has(Xn))return;let a=wx.indexOf(i.alternate.value)===-1,o=i.alternate.type==="JSXElement";a||o||wd(r,So.noPotentialLeakedRender,"noPotentialLeakedRender",{node:i,fix(u){return Rd(r,n,u,i,i.test,i.consequent)}})}}}}});var Cd=s((XD,Nd)=>{"use strict";var bx=Z(),Pd=bx("%Symbol.match%",!0),Ax=Ra(),Rx=Y(),Tx=Et();Nd.exports=function(e){if(!Rx(e))return!1;if(Pd){var t=e[Pd];if(typeof t<"u")return Tx(t)}return Ax(e)}});var Dd=s((HD,_d)=>{"use strict";var qx=Z(),Ox=qx("%RegExp%"),Ld=Hr();_d.exports=function(e,t){var n=typeof e>"u"?"":Ld(e),i=typeof t>"u"?"":Ld(t);return new Ox(n,i)}});var wo=s((KD,Fd)=>{"use strict";var xx=Tt(),Px=S(),Nx=Object;Fd.exports=xx(function(){if(this==null||this!==Nx(this))throw new Px("RegExp.prototype.flags getter called on non-object");var e="";return this.hasIndices&&(e+="d"),this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.unicodeSets&&(e+="v"),this.sticky&&(e+="y"),e},"get flags",!0)});var bo=s((zD,$d)=>{"use strict";var Cx=wo(),Lx=Le().supportsDescriptors,_x=Object.getOwnPropertyDescriptor;$d.exports=function(){if(Lx&&/a/mig.flags==="gim"){var e=_x(RegExp.prototype,"flags");if(e&&typeof e.get=="function"&&"dotAll"in RegExp.prototype&&"hasIndices"in RegExp.prototype){var t="",n={};if(Object.defineProperty(n,"hasIndices",{get:function(){t+="d"}}),Object.defineProperty(n,"sticky",{get:function(){t+="y"}}),e.get.call(n),t==="dy")return e.get}}return Cx}});var Gd=s((JD,Md)=>{"use strict";var Dx=Le().supportsDescriptors,Fx=bo(),$x=Fe(),jx=Object.defineProperty,Mx=pr(),jd=en(),Gx=/a/;Md.exports=function(){if(!Dx||!jd)throw new Mx("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=Fx(),t=jd(Gx),n=$x(t,"flags");return(!n||n.get!==e)&&jx(t,"flags",{configurable:!0,enumerable:!1,get:e}),e}});var Ao=s((YD,Ud)=>{"use strict";var kx=Le(),Vx=Xe(),Ux=wo(),kd=bo(),Bx=Gd(),Vd=Vx(kd());kx(Vd,{getPolyfill:kd,implementation:Ux,shim:Bx});Ud.exports=Vd});var Wd=s((ZD,Bd)=>{"use strict";var Wx=S(),Xx=$e(),Hx=ca();Bd.exports=function(e){if(typeof e<"u"&&!Xx(e))throw new Wx("Assertion failed: `Desc` must be a Property Descriptor");return Hx(e)}});var Kd=s((QD,Hd)=>{"use strict";var Kx=S(),Xd=Ne(),zx=$e();Hd.exports=function(e){if(typeof e>"u")return!1;if(!zx(e))throw new Kx("Assertion failed: `Desc` must be a Property Descriptor");return!(!Xd(e,"[[Value]]")&&!Xd(e,"[[Writable]]"))}});var Ro=s((eF,Jd)=>{"use strict";var zd=or();Jd.exports=function(e,t){return e===t?e===0?1/e===1/t:!0:zd(e)&&zd(t)}});var Qd=s((rF,Zd)=>{"use strict";var Qe=Ne(),Hn=S(),Jx=Y(),Yd=mr(),To=Et();Zd.exports=function(e){if(!Jx(e))throw new Hn("ToPropertyDescriptor requires an object");var t={};if(Qe(e,"enumerable")&&(t["[[Enumerable]]"]=To(e.enumerable)),Qe(e,"configurable")&&(t["[[Configurable]]"]=To(e.configurable)),Qe(e,"value")&&(t["[[Value]]"]=e.value),Qe(e,"writable")&&(t["[[Writable]]"]=To(e.writable)),Qe(e,"get")){var n=e.get;if(typeof n<"u"&&!Yd(n))throw new Hn("getter must be a function");t["[[Get]]"]=n}if(Qe(e,"set")){var i=e.set;if(typeof i<"u"&&!Yd(i))throw new Hn("setter must be a function");t["[[Set]]"]=i}if((Qe(t,"[[Get]]")||Qe(t,"[[Set]]"))&&(Qe(t,"[[Value]]")||Qe(t,"[[Writable]]")))throw new Hn("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return t}});var Oo=s((tF,rm)=>{"use strict";var qo=S(),Yx=Y(),em=$e(),Zx=Tn(),Qx=Wd(),eP=Kd(),rP=Ce(),tP=Ro(),nP=Qd();rm.exports=function(e,t,n){if(!Yx(e))throw new qo("Assertion failed: Type(O) is not Object");if(!rP(t))throw new qo("Assertion failed: P is not a Property Key");var i=em(n)?n:nP(n);if(!em(i))throw new qo("Assertion failed: Desc is not a valid Property Descriptor");return Zx(eP,tP,Qx,e,t,i)}});var am=s((nF,im)=>{"use strict";var nm=Z(),iP=nm("%Object.preventExtensions%",!0),aP=nm("%Object.isExtensible%",!0),tm=Pt();im.exports=iP?function(e){return!tm(e)&&aP(e)}:function(e){return!tm(e)}});var sm=s((iF,om)=>{"use strict";var Ht=S(),oP=Y(),sP=Oo(),uP=am(),lP=Ce();om.exports=function(e,t,n,i){if(!oP(e))throw new Ht("Assertion failed: `homeObject` is not an Object");if(!lP(t))throw new Ht("Assertion failed: `key` is not a Property Key or a Private Name");if(typeof n!="function")throw new Ht("Assertion failed: `closure` is not a function");if(typeof i!="boolean")throw new Ht("Assertion failed: `enumerable` is not a Boolean");if(!uP(e))throw new Ht("Assertion failed: `homeObject` is not an ordinary, extensible object, with no non-configurable properties");var a={"[[Value]]":n,"[[Writable]]":!0,"[[Enumerable]]":i,"[[Configurable]]":!0};sP(e,t,a)}});var fm=s((aF,lm)=>{"use strict";var xo=S(),um=Y(),fP=he()("RegExp.prototype.exec"),cP=sr(),pP=rr(),vP=mr();lm.exports=function(e,t){if(!um(e))throw new xo("Assertion failed: `R` must be an Object");if(typeof t!="string")throw new xo("Assertion failed: `S` must be a String");var n=pP(e,"exec");if(vP(n)){var i=cP(n,e,[t]);if(i===null||um(i))return i;throw new xo('"exec" method must return `null` or an Object')}return fP(e,t)}});var Po=s((oF,vm)=>{"use strict";var Kn=S(),yP=Y(),hP=Ce(),cm=Ro(),pm=(function(){try{return delete[].length,!0}catch{return!1}})();vm.exports=function(e,t,n,i){if(!yP(e))throw new Kn("Assertion failed: `O` must be an Object");if(!hP(t))throw new Kn("Assertion failed: `P` must be a Property Key");if(typeof i!="boolean")throw new Kn("Assertion failed: `Throw` must be a Boolean");if(i){if(e[t]=n,pm&&!cm(e[t],n))throw new Kn("Attempted to assign to readonly property.");return!0}try{return e[t]=n,pm?cm(e[t],n):!0}catch{return!1}}});var dm=s((sF,hm)=>{"use strict";var ym=xa();hm.exports=function(e){return arguments.length>1?ym(e,arguments[1]):ym(e)}});var Im=s((uF,Sm)=>{"use strict";var Em=Z(),dP=Em("%RegExp%"),mP=S(),mm=Em("%parseInt%"),gP=he(),zn=Lt(),gm=gP("String.prototype.slice"),EP=zn(/^0b[01]+$/i),SP=zn(/^0o[0-7]+$/i),IP=zn(/^[-+]0x[0-9a-f]+$/i),wP=["\x85","\u200B","\uFFFE"].join(""),bP=new dP("["+wP+"]","g"),AP=zn(bP),RP=La();Sm.exports=function r(e){if(typeof e!="string")throw new mP("Assertion failed: `argument` is not a String");if(EP(e))return+mm(gm(e,2),2);if(SP(e))return+mm(gm(e,2),8);if(AP(e)||IP(e))return NaN;var t=RP(e);return t!==e?r(t):+e}});var Am=s((lF,bm)=>{"use strict";var TP=Z(),wm=S(),qP=TP("%Number%"),OP=Pt(),xP=dm(),PP=Im();bm.exports=function(e){var t=OP(e)?e:xP(e,qP);if(typeof t=="symbol")throw new wm("Cannot convert a Symbol value to a number");if(typeof t=="bigint")throw new wm("Conversion from 'BigInt' to 'number' is not allowed.");return typeof t=="string"?PP(t):+t}});var Tm=s((fF,Rm)=>{"use strict";var NP=tt();Rm.exports=function(e){return typeof e=="bigint"?e:NP(e)}});var xm=s((cF,Om)=>{"use strict";var qm=Tm(),CP=S();Om.exports=function(e){if(typeof e!="number"&&typeof e!="bigint")throw new CP("argument must be a Number or a BigInt");var t=e<0?-qm(-e):qm(e);return t===0?0:t}});var Nm=s((pF,Pm)=>{"use strict";var LP=Am(),_P=xm(),DP=or(),FP=hn();Pm.exports=function(e){var t=LP(e);return DP(t)||t===0?0:FP(t)?_P(t):t}});var No=s((vF,Lm)=>{"use strict";var Cm=St(),$P=Nm();Lm.exports=function(e){var t=$P(e);return t<=0?0:t>Cm?Cm:t}});var Fm=s((yF,Dm)=>{"use strict";var jP=Z(),_m=jP("%Object.defineProperty%",!0),MP=It()(),GP=Ne(),kP=S(),Jn=MP?Symbol.toStringTag:null;Dm.exports=function(e,t){var n=arguments.length>2&&!!arguments[2]&&arguments[2].force,i=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(typeof n<"u"&&typeof n!="boolean"||typeof i<"u"&&typeof i!="boolean")throw new kP("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");Jn&&(n||!GP(e,Jn))&&(_m?_m(e,Jn,{configurable:!i,enumerable:!1,value:t,writable:!1}):e[Jn]=t)}});var Vm=s((hF,km)=>{"use strict";var VP=Z(),UP=We()(),Kt=S(),BP=Y(),$m=VP("%IteratorPrototype%",!0),WP=Di(),Yn=Ki(),Gm=sm(),jm=rr(),XP=ji(),HP=fm(),KP=Po(),zP=No(),JP=Hr(),be=Vr(),YP=Fm(),Pr=function(e,t,n,i){if(typeof t!="string")throw new Kt("`S` must be a string");if(typeof n!="boolean")throw new Kt("`global` must be a boolean");if(typeof i!="boolean")throw new Kt("`fullUnicode` must be a boolean");be.set(this,"[[IteratingRegExp]]",e),be.set(this,"[[IteratedString]]",t),be.set(this,"[[Global]]",n),be.set(this,"[[Unicode]]",i),be.set(this,"[[Done]]",!1)};$m&&(Pr.prototype=XP($m));var ZP=function(){var e=this;if(!BP(e))throw new Kt("receiver must be an object");if(!(e instanceof Pr)||!be.has(e,"[[IteratingRegExp]]")||!be.has(e,"[[IteratedString]]")||!be.has(e,"[[Global]]")||!be.has(e,"[[Unicode]]")||!be.has(e,"[[Done]]"))throw new Kt('"this" value must be a RegExpStringIterator instance');if(be.get(e,"[[Done]]"))return Yn(void 0,!0);var t=be.get(e,"[[IteratingRegExp]]"),n=be.get(e,"[[IteratedString]]"),i=be.get(e,"[[Global]]"),a=be.get(e,"[[Unicode]]"),o=HP(t,n);if(o===null)return be.set(e,"[[Done]]",!0),Yn(void 0,!0);if(i){var u=JP(jm(o,"0"));if(u===""){var l=zP(jm(t,"lastIndex")),p=WP(n,l,a);KP(t,"lastIndex",p,!0)}return Yn(o,!1)}return be.set(e,"[[Done]]",!0),Yn(o,!1)};Gm(Pr.prototype,"next",ZP,!1);UP&&(YP(Pr.prototype,"RegExp String Iterator"),Symbol.iterator&&typeof Pr.prototype[Symbol.iterator]!="function"&&(Mm=function(){return this},Gm(Pr.prototype,Symbol.iterator,Mm,!1)));var Mm;km.exports=function(e,t,n,i){return new Pr(e,t,n,i)}});var Bm=s((dF,_o)=>{"use strict";var QP=fa(),Um=QP("%Reflect.construct%",!0),Zn=Oo();try{Zn({},"",{"[[Get]]":function(){}})}catch{Zn=null}Zn&&Um?(Co={},Lo={},Zn(Lo,"length",{"[[Get]]":function(){throw Co},"[[Enumerable]]":!0}),_o.exports=function(e){try{Um(e,Lo)}catch(t){return t===Co}}):_o.exports=function(e){return typeof e=="function"&&!!e.prototype};var Co,Lo});var Km=s((mF,Hm)=>{"use strict";var eN=Z(),Wm=eN("%Symbol.species%",!0),Do=S(),Xm=Y(),rN=Bm();Hm.exports=function(e,t){if(!Xm(e))throw new Do("Assertion failed: Type(O) is not Object");var n=e.constructor;if(typeof n>"u")return t;if(!Xm(n))throw new Do("O.constructor is not an Object");var i=Wm?n[Wm]:void 0;if(i==null)return t;if(rN(i))return i;throw new Do("no constructor found")}});var Qm=s((gF,Zm)=>{"use strict";var tN=Vm(),zm=rr(),nN=Po(),iN=Km(),aN=No(),Jm=Hr(),oN=Ao(),sN=Tt(),Ym=he(),uN=Z(),lN=S(),fN=Y(),Fo=Ym("String.prototype.indexOf"),cN=Ym("Object.prototype.hasOwnProperty"),jo=uN("%RegExp%"),$o="flags"in jo.prototype,pN=$o&&/a/mig.flags==="gim";function vN(r,e){var t,n=pN||($o?cN(e,"flags"):"flags"in e),i=Jm(n?zm(e,"flags"):oN(e));return $o?t=new r(e,i):r===jo?t=new r(e.source,i):t=new r(e,i),{flags:i,matcher:t}}var yN=sN(function(e){var t=this;if(!fN(t))throw new lN('"this" value must be an Object');var n=Jm(e),i=iN(t,jo),a=vN(i,t),o=a.flags,u=a.matcher,l=aN(zm(t,"lastIndex"));nN(u,"lastIndex",l,!0);var p=Fo(o,"g")>-1,h=Fo(o,"u")>-1||Fo(o,"v")>-1;return tN(u,n,p,h)},"[Symbol.matchAll]",!0);Zm.exports=yN});var Mo=s((EF,eg)=>{"use strict";var hN=We()(),dN=Qm();eg.exports=function(){return!hN||typeof Symbol.matchAll!="symbol"||typeof RegExp.prototype[Symbol.matchAll]!="function"?dN:RegExp.prototype[Symbol.matchAll]}});var Go=s((SF,lg)=>{"use strict";var rg=sr(),mN=rr(),gN=mt(),EN=Y(),ag=Cd(),SN=Dd(),tg=Hr(),ng=Wr(),og=he(),IN=We()(),wN=Ao(),bN=Z(),AN=S(),sg=bN("%RegExp%"),RN=og("String.prototype.indexOf"),TN=og("Object.prototype.hasOwnProperty"),ug="flags"in sg.prototype,qN=ug&&/a/mig.flags==="gim",ON=Mo();function ig(r){var e=ON();if(IN&&typeof Symbol.matchAll=="symbol"){var t=gN(r,Symbol.matchAll);return typeof t<"u"&&t===sg.prototype[Symbol.matchAll]&&t!==e?e:t}if(ag(r))return e}lg.exports=function(e){var t=ng(this);if(EN(e)){var n=ag(e);if(n){var i=qN||(ug?TN(e,"flags"):"flags"in e),a=i?mN(e,"flags"):wN(e);if(ng(a),RN(tg(a),"g")<0)throw new AN("matchAll requires a global regular expression")}var o=ig(e);if(typeof o<"u")return rg(o,e,[t])}var u=tg(t),l=SN(e,"g");return rg(ig(l),l,[u])}});var Uo=s((IF,yg)=>{"use strict";var xN=We()(),fg=Fe(),PN=Y(),NN=Tt(),Vo=Xe(),vg=Go(),CN=Vo(vg),ko=Object.defineProperty;function LN(r){if(!xN||typeof Symbol.matchAll!="symbol"||!fg||!ko)return!1;var e=!1,t=fg(Boolean.prototype,Symbol.matchAll);try{ko(Boolean.prototype,Symbol.matchAll,{configurable:!0,enumerable:!1,value:function(){return e=!0,[]},writable:!0})}catch{return!1}try{Vo(r)("",!0)}catch{}try{t?ko(Boolean.prototype,Symbol.matchAll,t):delete Boolean.prototype[Symbol.matchAll]}catch{}return e}var cg,pg;function _N(r){if(pg!==r){pg=r;var e=Vo(r);cg=NN(function(n){return PN(n)?e(this,n):CN(this,n)},"matchAll",!0)}return cg}yg.exports=function(){if(String.prototype.matchAll)try{"".matchAll(RegExp.prototype)}catch{return LN(String.prototype.matchAll)?_N(String.prototype.matchAll):String.prototype.matchAll}return vg}});var gg=s((wF,mg)=>{"use strict";var Bo=Le(),DN=We()(),hg=Fe(),FN=Uo(),$N=Mo(),dg=Object.defineProperty;mg.exports=function(){var e=FN();if(Bo(String.prototype,{matchAll:e},{matchAll:function(){return String.prototype.matchAll!==e}}),DN){var t=Symbol.matchAll||(Symbol.for?Symbol.for("Symbol.matchAll"):Symbol("Symbol.matchAll"));if(Bo(Symbol,{matchAll:t},{matchAll:function(){return Symbol.matchAll!==t}}),dg&&hg){var n=hg(Symbol,t);(!n||n.configurable)&&dg(Symbol,t,{configurable:!1,enumerable:!1,value:t,writable:!1})}var i=$N(),a={};a[t]=i;var o={};o[t]=function(){return RegExp.prototype[t]!==i},Bo(RegExp.prototype,a,o)}return e}});var wg=s((bF,Ig)=>{"use strict";var jN=Xe(),MN=Le(),Eg=Go(),GN=Uo(),kN=gg(),Sg=jN(Eg);MN(Sg,{getPolyfill:GN,implementation:Eg,shim:kN});Ig.exports=Sg});var xg=s((AF,Og)=>{"use strict";var VN=wg(),UN=zi(),Pe=Ji(),BN=new Map([["alternate",new Set(["link","area","a"])],["apple-touch-icon",new Set(["link"])],["apple-touch-startup-image",new Set(["link"])],["author",new Set(["link","area","a"])],["bookmark",new Set(["area","a"])],["canonical",new Set(["link"])],["dns-prefetch",new Set(["link"])],["external",new Set(["area","a","form"])],["help",new Set(["link","area","a","form"])],["icon",new Set(["link"])],["license",new Set(["link","area","a","form"])],["manifest",new Set(["link"])],["mask-icon",new Set(["link"])],["modulepreload",new Set(["link"])],["next",new Set(["link","area","a","form"])],["nofollow",new Set(["area","a","form"])],["noopener",new Set(["area","a","form"])],["noreferrer",new Set(["area","a","form"])],["opener",new Set(["area","a","form"])],["pingback",new Set(["link"])],["preconnect",new Set(["link"])],["prefetch",new Set(["link"])],["preload",new Set(["link"])],["prerender",new Set(["link"])],["prev",new Set(["link","area","a","form"])],["search",new Set(["link","area","a","form"])],["shortcut",new Set(["link"])],["shortcut icon",new Set(["link"])],["stylesheet",new Set(["link"])],["tag",new Set(["area","a"])]]),WN=new Map([["shortcut",new Set(["icon"])]]),qg=new Map([["rel",BN]]),XN=new Map([["rel",WN]]),bg=new Set(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","math","menu","menuitem","meta","meter","nav","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","portal","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]),zt=new Map([["rel",new Set(["link","a","area","form"])]]),Ae={emptyIsMeaningless:"An empty \u201C{{attributeName}}\u201D attribute is meaningless.",neverValid:"\u201C{{reportingValue}}\u201D is never a valid \u201C{{attributeName}}\u201D attribute value.",noEmpty:"An empty \u201C{{attributeName}}\u201D attribute is meaningless.",noMethod:"The \u201D{{attributeName}}\u201C attribute cannot be a method.",notAlone:"\u201C{{reportingValue}}\u201D must be directly followed by \u201C{{missingValue}}\u201D.",notPaired:"\u201C{{reportingValue}}\u201D can not be directly followed by \u201C{{secondValue}}\u201D without \u201C{{missingValue}}\u201D.",notValidFor:"\u201C{{reportingValue}}\u201D is not a valid \u201C{{attributeName}}\u201D attribute value for <{{elementName}}>.",onlyMeaningfulFor:"The \u201D{{attributeName}}\u201C attribute only has meaning on the tags: {{tagNames}}",onlyStrings:"\u201C{{attributeName}}\u201D attribute only supports strings.",spaceDelimited:"\u201D{{attributeName}}\u201C attribute values should be space delimited.",suggestRemoveDefault:'"remove {{attributeName}}"',suggestRemoveEmpty:'"remove empty attribute {{attributeName}}"',suggestRemoveInvalid:"\u201Cremove invalid attribute {{reportingValue}}\u201D",suggestRemoveWhitespaces:"remove whitespaces in \u201C{{attributeName}}\u201D",suggestRemoveNonString:"remove non-string value in \u201C{{attributeName}}\u201D"};function Wo(r,e){let t=r.range[0]+1;return Array.from(VN(r.value,e),n=>{let i=n.index+t,a=i+n[0].length;return{reportingValue:`${n[1]}`,value:n[1],range:[i,a]}})}function Ag(r,e,t,n,i){if(typeof t.value!="string"){let l={attributeName:e,reportingValue:t.value};Pe(r,Ae.onlyStrings,"onlyStrings",{node:t,data:l,suggest:[{messageId:"suggestRemoveNonString",data:l,fix(p){return p.remove(n)}}]});return}if(!t.value.trim()){let l={attributeName:e,reportingValue:t.value};Pe(r,Ae.noEmpty,"noEmpty",{node:t,data:l,suggest:[{messageId:"suggestRemoveEmpty",data:l,fix(p){return p.remove(t.parent)}}]});return}Wo(t,/(\S+)/g).forEach(l=>{let p=qg.get(e).get(l.value),h=l.reportingValue;if(p){if(!p.has(i)){let E={attributeName:e,reportingValue:h,elementName:i},d=[{messageId:"suggestRemoveInvalid",data:E,fix(L){return L.removeRange(l.range)}}];Pe(r,Ae.notValidFor,"notValidFor",{node:t,data:E,suggest:d})}}else{let E={attributeName:e,reportingValue:h},d=[{messageId:"suggestRemoveInvalid",data:E,fix(L){return L.removeRange(l.range)}}];Pe(r,Ae.neverValid,"neverValid",{node:t,data:E,suggest:d})}});let o=XN.get(e);o&&Wo(t,/(?=(\b\S+\s*\S+))/g).forEach(p=>{o.forEach((h,E)=>{let d=p.reportingValue.split(" "),L=d[0],Q=d[1];if(L===E){let ce=d[d.length-1];if(!h.has(ce)){let ge=Q?Ae.notPaired:Ae.notAlone;Pe(r,ge,Q?"notPaired":"notAlone",{node:t,data:{reportingValue:L,secondValue:Q,missingValue:Array.from(h).join(", ")},suggest:!1})}}})}),Wo(t,/(\s+)/g).forEach(l=>{let p={attributeName:e};l.range[0]===t.range[0]+1||l.range[1]===t.range[1]-1?Pe(r,Ae.spaceDelimited,"spaceDelimited",{node:t,data:p,suggest:[{messageId:"suggestRemoveWhitespaces",data:p,fix(h){return h.removeRange(l.range)}}]}):l.value!==" "&&Pe(r,Ae.spaceDelimited,"spaceDelimited",{node:t,data:p,suggest:[{messageId:"suggestRemoveWhitespaces",data:p,fix(h){return h.replaceTextRange(l.range," ")}}]})})}var Rg=["rel"];function HN(r,e){let t=e.name.name,n=e.parent.name.name;if(!zt.has(t)||!zt.get(t).has(n)){let a=Array.from(zt.get(t).values(),u=>`"<${u}>"`).join(", "),o={attributeName:t,tagNames:a};Pe(r,Ae.onlyMeaningfulFor,"onlyMeaningfulFor",{node:e.name,data:o,suggest:[{messageId:"suggestRemoveDefault",data:o,fix(u){return u.remove(e)}}]});return}function i(a){return a.remove(e)}if(!e.value){let a={attributeName:t};Pe(r,Ae.emptyIsMeaningless,"emptyIsMeaningless",{node:e.name,data:a,suggest:[{messageId:"suggestRemoveEmpty",data:a,fix:i}]});return}if(e.value.type==="Literal")return Ag(r,t,e.value,e,n);if(e.value.expression.type==="Literal")return Ag(r,t,e.value.expression,e,n);if(e.value.type==="JSXExpressionContainer"){if(e.value.expression.type==="ObjectExpression"){let a={attributeName:t};Pe(r,Ae.onlyStrings,"onlyStrings",{node:e.value,data:a,suggest:[{messageId:"suggestRemoveDefault",data:a,fix:i}]})}else if(e.value.expression.type==="Identifier"&&e.value.expression.name==="undefined"){let a={attributeName:t};Pe(r,Ae.onlyStrings,"onlyStrings",{node:e.value,data:a,suggest:[{messageId:"suggestRemoveDefault",data:a,fix:i}]})}}}function KN(r){return r.callee&&r.callee.type==="MemberExpression"&&r.callee.object.name==="React"&&r.callee.property.name==="createElement"&&r.arguments.length>0}function Tg(r,e,t,n){let i=qg.get(n);if(t.type!=="Literal")return;let a=i.get(t.value);if(a)a.has(e.arguments[0].value)||Pe(r,Ae.notValidFor,"notValidFor",{node:t,data:{attributeName:n,reportingValue:t.raw,elementName:e.arguments[0].value},suggest:!1});else{let o={attributeName:n,reportingValue:t.value};Pe(r,Ae.neverValid,"neverValid",{node:t,data:o,suggest:[{messageId:"suggestRemoveInvalid",data:o,fix(u){return u.replaceText(t,t.raw.replace(t.value,""))}}]})}}function zN(r,e,t){let n=e.arguments[1];if(!(!n||n.type!=="ObjectExpression")){for(let i of n.properties)if(!(!i.key||i.key.type!=="Identifier")&&i.key.name===t){if(!zt.get(t).has(e.arguments[0].value)){let a=Array.from(zt.get(t).values(),o=>`"<${o}>"`).join(", ");Pe(r,Ae.onlyMeaningfulFor,"onlyMeaningfulFor",{node:i.key,data:{attributeName:t,tagNames:a},suggest:!1});continue}if(i.method){Pe(r,Ae.noMethod,"noMethod",{node:i,data:{attributeName:t},suggest:!1});continue}if(!(i.shorthand||i.computed)){if(i.value.type==="ArrayExpression"){i.value.elements.forEach(a=>{Tg(r,e,a,t)});continue}Tg(r,e,i.value,t)}}}}Og.exports={meta:{docs:{description:"Disallow usage of invalid attributes",category:"Possible Errors",url:UN("no-invalid-html-attribute")},messages:Ae,schema:[{type:"array",uniqueItems:!0,items:{enum:["rel"]}}],type:"suggestion",hasSuggestions:!0},create(r){return{JSXAttribute(e){new Set(r.options[0]||Rg).has(e.name.name)&&bg.has(e.parent.name.name)&&HN(r,e)},CallExpression(e){if(!KN(e))return;let t=e.arguments[0];if(!t||t.type!=="Literal"||typeof t.value=="string"&&!bg.has(t.value))return;new Set(r.options[0]||Rg).forEach(i=>{zN(r,e,i)})}}}}});var Pg=zo(xd()),Ng=zo(xg()),JN={"jsx-no-leaked-render":Pg.default,"no-invalid-html-attribute":Ng.default},RF={meta:{name:"eslint-plugin-react",version:"7.37.5"},rules:JN};export{RF as default};
|