eslint-plugin-qwik 1.19.2 → 1.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +33 -35
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use strict";var kp=Object.create;var De=Object.defineProperty;var Fp=Object.getOwnPropertyDescriptor;var Np=Object.getOwnPropertyNames;var Rp=Object.getPrototypeOf,jp=Object.prototype.hasOwnProperty;var s=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),Lp=(r,e)=>{for(var t in e)De(r,t,{get:e[t],enumerable:!0})},Rn=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of Np(e))!jp.call(r,o)&&o!==t&&De(r,o,{get:()=>e[o],enumerable:!(n=Fp(e,o))||n.enumerable});return r};var ye=(r,e,t)=>(t=r!=null?kp(Rp(r)):{},Rn(e||!r||!r.__esModule?De(t,"default",{value:r,enumerable:!0}):t,r)),Mp=r=>Rn(De({},"__esModule",{value:!0}),r);var Ve=s(wr=>{"use strict";Object.defineProperty(wr,"__esModule",{value:!0});wr.default=Vp;function Vp(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!r.type||r.type!=="JSXAttribute")throw new Error("The prop must be a JSXAttribute collected by the AST parser.");return r.name.type==="JSXNamespacedName"?r.name.namespace.name+":"+r.name.name.name:r.name.name}});var Dn=s(me=>{"use strict";Object.defineProperty(me,"__esModule",{value:!0});me.default=Pr;me.hasAnyProp=Jp;me.hasEveryProp=Wp;var Up=Ve(),Mn=Bp(Up);function Bp(r){return r&&r.__esModule?r:{default:r}}var qr={spreadStrict:!0,ignoreCase:!0};function Pr(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:qr,n=t.ignoreCase?e.toUpperCase():e;return r.some(function(o){if(o.type==="JSXSpreadAttribute")return!t.spreadStrict;var i=t.ignoreCase?(0,Mn.default)(o).toUpperCase():(0,Mn.default)(o);return n===i})}function Jp(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:qr,n=typeof e=="string"?e.split(" "):e;return n.some(function(o){return Pr(r,o,t)})}function Wp(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:qr,n=typeof e=="string"?e.split(" "):e;return n.every(function(o){return Pr(r,o,t)})}});var Un=s(Ar=>{"use strict";Object.defineProperty(Ar,"__esModule",{value:!0});Ar.default=Hp;function Vn(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return r.type==="JSXMemberExpression"?Vn(r.object,r.property)+"."+e.name:r.name+"."+e.name}function Hp(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=r.name;if(r.type==="JSXOpeningFragment")return"<>";if(!e)throw new Error("The argument provided is not a JSXElement node.");if(e.type==="JSXMemberExpression"){var t=e.object,n=t===void 0?{}:t,o=e.property,i=o===void 0?{}:o;return Vn(n,i)}return e.type==="JSXNamespacedName"?e.namespace.name+":"+e.name.name:r.name.name}});var Tr=s((Sb,Jn)=>{"use strict";var Bn=Object.prototype.toString;Jn.exports=function(e){var t=Bn.call(e),n=t==="[object Arguments]";return n||(n=t!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&Bn.call(e.callee)==="[object Function]"),n}});var Zn=s((Eb,Yn)=>{"use strict";var Qn;Object.keys||(ge=Object.prototype.hasOwnProperty,Or=Object.prototype.toString,Wn=Tr(),$r=Object.prototype.propertyIsEnumerable,Hn=!$r.call({toString:null},"toString"),Xn=$r.call(function(){},"prototype"),ve=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],Ue=function(r){var e=r.constructor;return e&&e.prototype===r},Gn={$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},Kn=(function(){if(typeof window>"u")return!1;for(var r in window)try{if(!Gn["$"+r]&&ge.call(window,r)&&window[r]!==null&&typeof window[r]=="object")try{Ue(window[r])}catch{return!0}}catch{return!0}return!1})(),zn=function(r){if(typeof window>"u"||!Kn)return Ue(r);try{return Ue(r)}catch{return!1}},Qn=function(e){var t=e!==null&&typeof e=="object",n=Or.call(e)==="[object Function]",o=Wn(e),i=t&&Or.call(e)==="[object String]",a=[];if(!t&&!n&&!o)throw new TypeError("Object.keys called on a non-object");var u=Xn&&n;if(i&&e.length>0&&!ge.call(e,0))for(var p=0;p<e.length;++p)a.push(String(p));if(o&&e.length>0)for(var m=0;m<e.length;++m)a.push(String(m));else for(var y in e)!(u&&y==="prototype")&&ge.call(e,y)&&a.push(String(y));if(Hn)for(var f=zn(e),c=0;c<ve.length;++c)!(f&&ve[c]==="constructor")&&ge.call(e,ve[c])&&a.push(ve[c]);return a});var ge,Or,Wn,$r,Hn,Xn,ve,Ue,Gn,Kn,zn;Yn.exports=Qn});var _r=s((wb,to)=>{"use strict";var Xp=Array.prototype.slice,Gp=Tr(),eo=Object.keys,Be=eo?function(e){return eo(e)}:Zn(),ro=Object.keys;Be.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 Gp(n)?ro(Xp.call(n)):ro(n)})}else Object.keys=Be;return Object.keys||Be};to.exports=Be});var Y=s((qb,no)=>{"use strict";var Je=Object.defineProperty||!1;if(Je)try{Je({},"a",{value:1})}catch{Je=!1}no.exports=Je});var he=s((Pb,oo)=>{"use strict";oo.exports=SyntaxError});var b=s((Ab,io)=>{"use strict";io.exports=TypeError});var so=s((Tb,ao)=>{"use strict";ao.exports=Object.getOwnPropertyDescriptor});var L=s((Ob,uo)=>{"use strict";var We=so();if(We)try{We([],"length")}catch{We=null}uo.exports=We});var He=s(($b,co)=>{"use strict";var lo=Y(),Kp=he(),Z=b(),po=L();co.exports=function(e,t,n){if(!e||typeof e!="object"&&typeof e!="function")throw new Z("`obj` must be an object or a function`");if(typeof t!="string"&&typeof t!="symbol")throw new Z("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Z("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Z("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Z("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Z("`loose`, if provided, must be a boolean");var o=arguments.length>3?arguments[3]:null,i=arguments.length>4?arguments[4]:null,a=arguments.length>5?arguments[5]:null,u=arguments.length>6?arguments[6]:!1,p=!!po&&po(e,t);if(lo)lo(e,t,{configurable:a===null&&p?p.configurable:!a,enumerable:o===null&&p?p.enumerable:!o,value:n,writable:i===null&&p?p.writable:!i});else if(u||!o&&!i&&!a)e[t]=n;else throw new Kp("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var be=s((_b,yo)=>{"use strict";var Ir=Y(),fo=function(){return!!Ir};fo.hasArrayLengthDefineBug=function(){if(!Ir)return null;try{return Ir([],"length",{value:1}).length!==1}catch{return!0}};yo.exports=fo});var M=s((Ib,ho)=>{"use strict";var zp=_r(),Qp=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",Yp=Object.prototype.toString,Zp=Array.prototype.concat,mo=He(),ec=function(r){return typeof r=="function"&&Yp.call(r)==="[object Function]"},go=be()(),rc=function(r,e,t,n){if(e in r){if(n===!0){if(r[e]===t)return}else if(!ec(n)||!n())return}go?mo(r,e,t,!0):mo(r,e,t)},vo=function(r,e){var t=arguments.length>2?arguments[2]:{},n=zp(e);Qp&&(n=Zp.call(n,Object.getOwnPropertySymbols(e)));for(var o=0;o<n.length;o+=1)rc(r,n[o],e[n[o]],t[n[o]])};vo.supportsDescriptors=!!go;ho.exports=vo});var ee=s((Cb,bo)=>{"use strict";bo.exports=Object});var So=s((kb,xo)=>{"use strict";xo.exports=Error});var wo=s((Fb,Eo)=>{"use strict";Eo.exports=EvalError});var Cr=s((Nb,qo)=>{"use strict";qo.exports=RangeError});var Ao=s((Rb,Po)=>{"use strict";Po.exports=ReferenceError});var Oo=s((jb,To)=>{"use strict";To.exports=URIError});var kr=s((Lb,$o)=>{"use strict";$o.exports=Math.abs});var Xe=s((Mb,_o)=>{"use strict";_o.exports=Math.floor});var Co=s((Db,Io)=>{"use strict";Io.exports=Math.max});var Fo=s((Vb,ko)=>{"use strict";ko.exports=Math.min});var Ro=s((Ub,No)=>{"use strict";No.exports=Math.pow});var Lo=s((Bb,jo)=>{"use strict";jo.exports=Math.round});var re=s((Jb,Mo)=>{"use strict";Mo.exports=Number.isNaN||function(e){return e!==e}});var Vo=s((Wb,Do)=>{"use strict";var tc=re();Do.exports=function(e){return tc(e)||e===0?e:e<0?-1:1}});var Ge=s((Hb,Uo)=>{"use strict";Uo.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 o=42;e[t]=o;for(var i 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 a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(e,t);if(u.value!==o||u.enumerable!==!0)return!1}return!0}});var Fr=s((Xb,Jo)=>{"use strict";var Bo=typeof Symbol<"u"&&Symbol,nc=Ge();Jo.exports=function(){return typeof Bo!="function"||typeof Symbol!="function"||typeof Bo("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:nc()}});var Nr=s((Gb,Wo)=>{"use strict";Wo.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var Rr=s((Kb,Ho)=>{"use strict";var oc=ee();Ho.exports=oc.getPrototypeOf||null});var Ko=s((zb,Go)=>{"use strict";var ic="Function.prototype.bind called on incompatible ",ac=Object.prototype.toString,sc=Math.max,uc="[object Function]",Xo=function(e,t){for(var n=[],o=0;o<e.length;o+=1)n[o]=e[o];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n},lc=function(e,t){for(var n=[],o=t||0,i=0;o<e.length;o+=1,i+=1)n[i]=e[o];return n},pc=function(r,e){for(var t="",n=0;n<r.length;n+=1)t+=r[n],n+1<r.length&&(t+=e);return t};Go.exports=function(e){var t=this;if(typeof t!="function"||ac.apply(t)!==uc)throw new TypeError(ic+t);for(var n=lc(arguments,1),o,i=function(){if(this instanceof o){var y=t.apply(this,Xo(n,arguments));return Object(y)===y?y:this}return t.apply(e,Xo(n,arguments))},a=sc(0,t.length-n.length),u=[],p=0;p<a;p++)u[p]="$"+p;if(o=Function("binder","return function ("+pc(u,",")+"){ return binder.apply(this,arguments); }")(i),t.prototype){var m=function(){};m.prototype=t.prototype,o.prototype=new m,m.prototype=null}return o}});var te=s((Qb,zo)=>{"use strict";var cc=Ko();zo.exports=Function.prototype.bind||cc});var Ke=s((Yb,Qo)=>{"use strict";Qo.exports=Function.prototype.call});var ze=s((Zb,Yo)=>{"use strict";Yo.exports=Function.prototype.apply});var ei=s((ex,Zo)=>{"use strict";Zo.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var jr=s((rx,ri)=>{"use strict";var fc=te(),dc=ze(),yc=Ke(),mc=ei();ri.exports=mc||fc.call(yc,dc)});var xe=s((tx,ti)=>{"use strict";var gc=te(),vc=b(),hc=Ke(),bc=jr();ti.exports=function(e){if(e.length<1||typeof e[0]!="function")throw new vc("a function is required");return bc(gc,hc,e)}});var ui=s((nx,si)=>{"use strict";var xc=xe(),ni=L(),ii;try{ii=[].__proto__===Array.prototype}catch(r){if(!r||typeof r!="object"||!("code"in r)||r.code!=="ERR_PROTO_ACCESS")throw r}var Lr=!!ii&&ni&&ni(Object.prototype,"__proto__"),ai=Object,oi=ai.getPrototypeOf;si.exports=Lr&&typeof Lr.get=="function"?xc([Lr.get]):typeof oi=="function"?function(e){return oi(e==null?e:ai(e))}:!1});var di=s((ox,fi)=>{"use strict";var li=Nr(),pi=Rr(),ci=ui();fi.exports=li?function(e){return li(e)}:pi?function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return pi(e)}:ci?function(e){return ci(e)}:null});var D=s((ix,yi)=>{"use strict";var Sc=Function.prototype.call,Ec=Object.prototype.hasOwnProperty,wc=te();yi.exports=wc.call(Sc,Ec)});var T=s((ax,xi)=>{"use strict";var v,qc=ee(),Pc=So(),Ac=wo(),Tc=Cr(),Oc=Ao(),ae=he(),ie=b(),$c=Oo(),_c=kr(),Ic=Xe(),Cc=Co(),kc=Fo(),Fc=Ro(),Nc=Lo(),Rc=Vo(),hi=Function,Mr=function(r){try{return hi('"use strict"; return ('+r+").constructor;")()}catch{}},Se=L(),jc=Y(),Dr=function(){throw new ie},Lc=Se?(function(){try{return arguments.callee,Dr}catch{try{return Se(arguments,"callee").get}catch{return Dr}}})():Dr,ne=Fr()(),P=di(),Mc=Rr(),Dc=Nr(),bi=ze(),Ee=Ke(),oe={},Vc=typeof Uint8Array>"u"||!P?v:P(Uint8Array),G={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?v:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?v:ArrayBuffer,"%ArrayIteratorPrototype%":ne&&P?P([][Symbol.iterator]()):v,"%AsyncFromSyncIteratorPrototype%":v,"%AsyncFunction%":oe,"%AsyncGenerator%":oe,"%AsyncGeneratorFunction%":oe,"%AsyncIteratorPrototype%":oe,"%Atomics%":typeof Atomics>"u"?v:Atomics,"%BigInt%":typeof BigInt>"u"?v:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?v:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?v:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?v:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Pc,"%eval%":eval,"%EvalError%":Ac,"%Float16Array%":typeof Float16Array>"u"?v:Float16Array,"%Float32Array%":typeof Float32Array>"u"?v:Float32Array,"%Float64Array%":typeof Float64Array>"u"?v:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?v:FinalizationRegistry,"%Function%":hi,"%GeneratorFunction%":oe,"%Int8Array%":typeof Int8Array>"u"?v:Int8Array,"%Int16Array%":typeof Int16Array>"u"?v:Int16Array,"%Int32Array%":typeof Int32Array>"u"?v:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ne&&P?P(P([][Symbol.iterator]())):v,"%JSON%":typeof JSON=="object"?JSON:v,"%Map%":typeof Map>"u"?v:Map,"%MapIteratorPrototype%":typeof Map>"u"||!ne||!P?v:P(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":qc,"%Object.getOwnPropertyDescriptor%":Se,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?v:Promise,"%Proxy%":typeof Proxy>"u"?v:Proxy,"%RangeError%":Tc,"%ReferenceError%":Oc,"%Reflect%":typeof Reflect>"u"?v:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?v:Set,"%SetIteratorPrototype%":typeof Set>"u"||!ne||!P?v:P(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?v:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ne&&P?P(""[Symbol.iterator]()):v,"%Symbol%":ne?Symbol:v,"%SyntaxError%":ae,"%ThrowTypeError%":Lc,"%TypedArray%":Vc,"%TypeError%":ie,"%Uint8Array%":typeof Uint8Array>"u"?v:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?v:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?v:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?v:Uint32Array,"%URIError%":$c,"%WeakMap%":typeof WeakMap>"u"?v:WeakMap,"%WeakRef%":typeof WeakRef>"u"?v:WeakRef,"%WeakSet%":typeof WeakSet>"u"?v:WeakSet,"%Function.prototype.call%":Ee,"%Function.prototype.apply%":bi,"%Object.defineProperty%":jc,"%Object.getPrototypeOf%":Mc,"%Math.abs%":_c,"%Math.floor%":Ic,"%Math.max%":Cc,"%Math.min%":kc,"%Math.pow%":Fc,"%Math.round%":Nc,"%Math.sign%":Rc,"%Reflect.getPrototypeOf%":Dc};if(P)try{null.error}catch(r){mi=P(P(r)),G["%Error.prototype%"]=mi}var mi,Uc=function r(e){var t;if(e==="%AsyncFunction%")t=Mr("async function () {}");else if(e==="%GeneratorFunction%")t=Mr("function* () {}");else if(e==="%AsyncGeneratorFunction%")t=Mr("async function* () {}");else if(e==="%AsyncGenerator%"){var n=r("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var o=r("%AsyncGenerator%");o&&P&&(t=P(o.prototype))}return G[e]=t,t},gi={__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"]},we=te(),Qe=D(),Bc=we.call(Ee,Array.prototype.concat),Jc=we.call(bi,Array.prototype.splice),vi=we.call(Ee,String.prototype.replace),Ye=we.call(Ee,String.prototype.slice),Wc=we.call(Ee,RegExp.prototype.exec),Hc=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Xc=/\\(\\)?/g,Gc=function(e){var t=Ye(e,0,1),n=Ye(e,-1);if(t==="%"&&n!=="%")throw new ae("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new ae("invalid intrinsic syntax, expected opening `%`");var o=[];return vi(e,Hc,function(i,a,u,p){o[o.length]=u?vi(p,Xc,"$1"):a||i}),o},Kc=function(e,t){var n=e,o;if(Qe(gi,n)&&(o=gi[n],n="%"+o[0]+"%"),Qe(G,n)){var i=G[n];if(i===oe&&(i=Uc(n)),typeof i>"u"&&!t)throw new ie("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:i}}throw new ae("intrinsic "+e+" does not exist!")};xi.exports=function(e,t){if(typeof e!="string"||e.length===0)throw new ie("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new ie('"allowMissing" argument must be a boolean');if(Wc(/^%?[^%]*%?$/,e)===null)throw new ae("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Gc(e),o=n.length>0?n[0]:"",i=Kc("%"+o+"%",t),a=i.name,u=i.value,p=!1,m=i.alias;m&&(o=m[0],Jc(n,Bc([0,1],m)));for(var y=1,f=!0;y<n.length;y+=1){var c=n[y],h=Ye(c,0,1),S=Ye(c,-1);if((h==='"'||h==="'"||h==="`"||S==='"'||S==="'"||S==="`")&&h!==S)throw new ae("property names with quotes must have matching quotes");if((c==="constructor"||!f)&&(p=!0),o+="."+c,a="%"+o+"%",Qe(G,a))u=G[a];else if(u!=null){if(!(c in u)){if(!t)throw new ie("base intrinsic for "+e+" exists, but the property is not available.");return}if(Se&&y+1>=n.length){var l=Se(u,c);f=!!l,f&&"get"in l&&!("originalValue"in l.get)?u=l.get:u=u[c]}else f=Qe(u,c),u=u[c];f&&!p&&(G[a]=u)}}return u}});var Pi=s((sx,qi)=>{"use strict";var zc=T(),Si=He(),Qc=be()(),Ei=L(),wi=b(),Yc=zc("%Math.floor%");qi.exports=function(e,t){if(typeof e!="function")throw new wi("`fn` is not a function");if(typeof t!="number"||t<0||t>4294967295||Yc(t)!==t)throw new wi("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],o=!0,i=!0;if("length"in e&&Ei){var a=Ei(e,"length");a&&!a.configurable&&(o=!1),a&&!a.writable&&(i=!1)}return(o||i||!n)&&(Qc?Si(e,"length",t,!0,!0):Si(e,"length",t)),e}});var Ti=s((ux,Ai)=>{"use strict";var Zc=te(),ef=ze(),rf=jr();Ai.exports=function(){return rf(Zc,ef,arguments)}});var qe=s((lx,Ze)=>{"use strict";var tf=Pi(),Oi=Y(),nf=xe(),$i=Ti();Ze.exports=function(e){var t=nf(arguments),n=e.length-(arguments.length-1);return tf(t,1+(n>0?n:0),!0)};Oi?Oi(Ze.exports,"apply",{value:$i}):Ze.exports.apply=$i});var Vr=s((px,_i)=>{"use strict";var of=re();_i.exports=function(e){return(typeof e=="number"||typeof e=="bigint")&&!of(e)&&e!==1/0&&e!==-1/0}});var Ur=s((cx,Ii)=>{"use strict";var af=kr(),sf=Xe(),uf=re(),lf=Vr();Ii.exports=function(e){if(typeof e!="number"||uf(e)||!lf(e))return!1;var t=af(e);return sf(t)===t}});var _=s((fx,Ci)=>{"use strict";Ci.exports=function(e){return!!e&&(typeof e=="function"||typeof e=="object")}});var Fi=s((dx,ki)=>{"use strict";ki.exports=4294967295});var Ri=s((yx,Ni)=>{"use strict";Ni.exports=typeof Reflect<"u"&&Reflect.setPrototypeOf||null});var Li=s((mx,ji)=>{"use strict";var pf=ee();ji.exports=pf.setPrototypeOf||null});var Ui=s((gx,Vi)=>{"use strict";var cf=xe(),Mi=L(),ff=b(),Di={};try{Di.__proto__=null}catch(r){if(!r||typeof r!="object"||!("code"in r)||r.code!=="ERR_PROTO_ACCESS")throw r}var df=!("toString"in Di),Br=Mi&&Mi(Object.prototype,"__proto__");Vi.exports=df&&(!!Br&&typeof Br.set=="function"&&cf([Br.set])||function(e,t){if(e==null)throw new ff("set Object.prototype.__proto__ called on null or undefined");return e.__proto__=t,t})});var Hi=s((vx,Wi)=>{"use strict";var Bi=Ri(),yf=Li(),Ji=Ui(),mf=b();Wi.exports=Bi?function(e,t){if(Bi(e,t))return e;throw new mf("Reflect.setPrototypeOf: failed to set [[Prototype]]")}:yf||(Ji?function(e,t){return Ji(e,t),e}:null)});var zi=s((hx,Ki)=>{"use strict";var gf=T(),Xi=gf("%Array.prototype%"),vf=Cr(),hf=he(),bf=b(),xf=Ur(),Sf=Fi(),Gi=Hi();Ki.exports=function(e){if(!xf(e)||e<0)throw new bf("Assertion failed: `length` must be an integer Number >= 0");if(e>Sf)throw new vf("length is greater than (2**32 - 1)");var t=arguments.length>1?arguments[1]:Xi,n=[];if(t!==Xi){if(!Gi)throw new hf("ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]");Gi(n,t)}return e!==0&&(n.length=e),n}});var Yi=s((bx,Qi)=>{Qi.exports=require("util").inspect});var ba=s((xx,ha)=>{var Zr=typeof Map=="function"&&Map.prototype,Jr=Object.getOwnPropertyDescriptor&&Zr?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,rr=Zr&&Jr&&typeof Jr.get=="function"?Jr.get:null,Zi=Zr&&Map.prototype.forEach,et=typeof Set=="function"&&Set.prototype,Wr=Object.getOwnPropertyDescriptor&&et?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,tr=et&&Wr&&typeof Wr.get=="function"?Wr.get:null,ea=et&&Set.prototype.forEach,Ef=typeof WeakMap=="function"&&WeakMap.prototype,Ae=Ef?WeakMap.prototype.has:null,wf=typeof WeakSet=="function"&&WeakSet.prototype,Te=wf?WeakSet.prototype.has:null,qf=typeof WeakRef=="function"&&WeakRef.prototype,ra=qf?WeakRef.prototype.deref:null,Pf=Boolean.prototype.valueOf,Af=Object.prototype.toString,Tf=Function.prototype.toString,Of=String.prototype.match,rt=String.prototype.slice,V=String.prototype.replace,$f=String.prototype.toUpperCase,ta=String.prototype.toLowerCase,ca=RegExp.prototype.test,na=Array.prototype.concat,C=Array.prototype.join,_f=Array.prototype.slice,oa=Math.floor,Gr=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Hr=Object.getOwnPropertySymbols,Kr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,se=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Oe=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===se||!0)?Symbol.toStringTag:null,fa=Object.prototype.propertyIsEnumerable,ia=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(r){return r.__proto__}:null);function aa(r,e){if(r===1/0||r===-1/0||r!==r||r&&r>-1e3&&r<1e3||ca.call(/e/,e))return e;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof r=="number"){var n=r<0?-oa(-r):oa(r);if(n!==r){var o=String(n),i=rt.call(e,o.length+1);return V.call(o,t,"$&_")+"."+V.call(V.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return V.call(e,t,"$&_")}var zr=Yi(),sa=zr.custom,ua=ma(sa)?sa:null,da={__proto__:null,double:'"',single:"'"},If={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};ha.exports=function r(e,t,n,o){var i=t||{};if(R(i,"quoteStyle")&&!R(da,i.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(R(i,"maxStringLength")&&(typeof i.maxStringLength=="number"?i.maxStringLength<0&&i.maxStringLength!==1/0:i.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=R(i,"customInspect")?i.customInspect:!0;if(typeof a!="boolean"&&a!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(R(i,"indent")&&i.indent!==null&&i.indent!==" "&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(R(i,"numericSeparator")&&typeof i.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var u=i.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 va(e,i);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var p=String(e);return u?aa(e,p):p}if(typeof e=="bigint"){var m=String(e)+"n";return u?aa(e,m):m}var y=typeof i.depth>"u"?5:i.depth;if(typeof n>"u"&&(n=0),n>=y&&y>0&&typeof e=="object")return Qr(e)?"[Array]":"[Object]";var f=Kf(i,n);if(typeof o>"u")o=[];else if(ga(o,e)>=0)return"[Circular]";function c(Q,Me,Cp){if(Me&&(o=_f.call(o),o.push(Me)),Cp){var Nn={depth:i.depth};return R(i,"quoteStyle")&&(Nn.quoteStyle=i.quoteStyle),r(Q,Nn,n+1,o)}return r(Q,i,n+1,o)}if(typeof e=="function"&&!la(e)){var h=Df(e),S=er(e,c);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(S.length>0?" { "+C.call(S,", ")+" }":"")}if(ma(e)){var l=se?V.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):Kr.call(e);return typeof e=="object"&&!se?Pe(l):l}if(Hf(e)){for(var d="<"+ta.call(String(e.nodeName)),E=e.attributes||[],g=0;g<E.length;g++)d+=" "+E[g].name+"="+ya(Cf(E[g].value),"double",i);return d+=">",e.childNodes&&e.childNodes.length&&(d+="..."),d+="</"+ta.call(String(e.nodeName))+">",d}if(Qr(e)){if(e.length===0)return"[]";var w=er(e,c);return f&&!Gf(w)?"["+Yr(w,f)+"]":"[ "+C.call(w,", ")+" ]"}if(Ff(e)){var I=er(e,c);return!("cause"in Error.prototype)&&"cause"in e&&!fa.call(e,"cause")?"{ ["+String(e)+"] "+C.call(na.call("[cause]: "+c(e.cause),I),", ")+" }":I.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+C.call(I,", ")+" }"}if(typeof e=="object"&&a){if(ua&&typeof e[ua]=="function"&&zr)return zr(e,{depth:y-n});if(a!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(Vf(e)){var $=[];return Zi&&Zi.call(e,function(Q,Me){$.push(c(Me,e,!0)+" => "+c(Q,e))}),pa("Map",rr.call(e),$,f)}if(Jf(e)){var Le=[];return ea&&ea.call(e,function(Q){Le.push(c(Q,e))}),pa("Set",tr.call(e),Le,f)}if(Uf(e))return Xr("WeakMap");if(Wf(e))return Xr("WeakSet");if(Bf(e))return Xr("WeakRef");if(Rf(e))return Pe(c(Number(e)));if(Lf(e))return Pe(c(Gr.call(e)));if(jf(e))return Pe(Pf.call(e));if(Nf(e))return Pe(c(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(!kf(e)&&!la(e)){var N=er(e,c),de=ia?ia(e)===Object.prototype:e instanceof Object||e.constructor===Object,Sr=e instanceof Object?"":"null prototype",Fn=!de&&Oe&&Object(e)===e&&Oe in e?rt.call(U(e),8,-1):Sr?"Object":"",Ip=de||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",Er=Ip+(Fn||Sr?"["+C.call(na.call([],Fn||[],Sr||[]),": ")+"] ":"");return N.length===0?Er+"{}":f?Er+"{"+Yr(N,f)+"}":Er+"{ "+C.call(N,", ")+" }"}return String(e)};function ya(r,e,t){var n=t.quoteStyle||e,o=da[n];return o+r+o}function Cf(r){return V.call(String(r),/"/g,""")}function K(r){return!Oe||!(typeof r=="object"&&(Oe in r||typeof r[Oe]<"u"))}function Qr(r){return U(r)==="[object Array]"&&K(r)}function kf(r){return U(r)==="[object Date]"&&K(r)}function la(r){return U(r)==="[object RegExp]"&&K(r)}function Ff(r){return U(r)==="[object Error]"&&K(r)}function Nf(r){return U(r)==="[object String]"&&K(r)}function Rf(r){return U(r)==="[object Number]"&&K(r)}function jf(r){return U(r)==="[object Boolean]"&&K(r)}function ma(r){if(se)return r&&typeof r=="object"&&r instanceof Symbol;if(typeof r=="symbol")return!0;if(!r||typeof r!="object"||!Kr)return!1;try{return Kr.call(r),!0}catch{}return!1}function Lf(r){if(!r||typeof r!="object"||!Gr)return!1;try{return Gr.call(r),!0}catch{}return!1}var Mf=Object.prototype.hasOwnProperty||function(r){return r in this};function R(r,e){return Mf.call(r,e)}function U(r){return Af.call(r)}function Df(r){if(r.name)return r.name;var e=Of.call(Tf.call(r),/^function\s*([\w$]+)/);return e?e[1]:null}function ga(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 Vf(r){if(!rr||!r||typeof r!="object")return!1;try{rr.call(r);try{tr.call(r)}catch{return!0}return r instanceof Map}catch{}return!1}function Uf(r){if(!Ae||!r||typeof r!="object")return!1;try{Ae.call(r,Ae);try{Te.call(r,Te)}catch{return!0}return r instanceof WeakMap}catch{}return!1}function Bf(r){if(!ra||!r||typeof r!="object")return!1;try{return ra.call(r),!0}catch{}return!1}function Jf(r){if(!tr||!r||typeof r!="object")return!1;try{tr.call(r);try{rr.call(r)}catch{return!0}return r instanceof Set}catch{}return!1}function Wf(r){if(!Te||!r||typeof r!="object")return!1;try{Te.call(r,Te);try{Ae.call(r,Ae)}catch{return!0}return r instanceof WeakSet}catch{}return!1}function Hf(r){return!r||typeof r!="object"?!1:typeof HTMLElement<"u"&&r instanceof HTMLElement?!0:typeof r.nodeName=="string"&&typeof r.getAttribute=="function"}function va(r,e){if(r.length>e.maxStringLength){var t=r.length-e.maxStringLength,n="... "+t+" more character"+(t>1?"s":"");return va(rt.call(r,0,e.maxStringLength),e)+n}var o=If[e.quoteStyle||"single"];o.lastIndex=0;var i=V.call(V.call(r,o,"\\$1"),/[\x00-\x1f]/g,Xf);return ya(i,"single",e)}function Xf(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":"")+$f.call(e.toString(16))}function Pe(r){return"Object("+r+")"}function Xr(r){return r+" { ? }"}function pa(r,e,t,n){var o=n?Yr(t,n):C.call(t,", ");return r+" ("+e+") {"+o+"}"}function Gf(r){for(var e=0;e<r.length;e++)if(ga(r[e],`
|
|
1
|
+
"use strict";var kp=Object.create;var De=Object.defineProperty;var Fp=Object.getOwnPropertyDescriptor;var Np=Object.getOwnPropertyNames;var Rp=Object.getPrototypeOf,jp=Object.prototype.hasOwnProperty;var s=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),Lp=(r,e)=>{for(var t in e)De(r,t,{get:e[t],enumerable:!0})},Rn=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of Np(e))!jp.call(r,o)&&o!==t&&De(r,o,{get:()=>e[o],enumerable:!(n=Fp(e,o))||n.enumerable});return r};var me=(r,e,t)=>(t=r!=null?kp(Rp(r)):{},Rn(e||!r||!r.__esModule?De(t,"default",{value:r,enumerable:!0}):t,r)),Mp=r=>Rn(De({},"__esModule",{value:!0}),r);var Ve=s(wr=>{"use strict";Object.defineProperty(wr,"__esModule",{value:!0});wr.default=Vp;function Vp(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!r.type||r.type!=="JSXAttribute")throw new Error("The prop must be a JSXAttribute collected by the AST parser.");return r.name.type==="JSXNamespacedName"?r.name.namespace.name+":"+r.name.name.name:r.name.name}});var Dn=s(ye=>{"use strict";Object.defineProperty(ye,"__esModule",{value:!0});ye.default=Pr;ye.hasAnyProp=Jp;ye.hasEveryProp=Wp;var Up=Ve(),Mn=Bp(Up);function Bp(r){return r&&r.__esModule?r:{default:r}}var qr={spreadStrict:!0,ignoreCase:!0};function Pr(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:qr,n=t.ignoreCase?e.toUpperCase():e;return r.some(function(o){if(o.type==="JSXSpreadAttribute")return!t.spreadStrict;var i=t.ignoreCase?(0,Mn.default)(o).toUpperCase():(0,Mn.default)(o);return n===i})}function Jp(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:qr,n=typeof e=="string"?e.split(" "):e;return n.some(function(o){return Pr(r,o,t)})}function Wp(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:qr,n=typeof e=="string"?e.split(" "):e;return n.every(function(o){return Pr(r,o,t)})}});var Un=s(Ar=>{"use strict";Object.defineProperty(Ar,"__esModule",{value:!0});Ar.default=Hp;function Vn(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return r.type==="JSXMemberExpression"?Vn(r.object,r.property)+"."+e.name:r.name+"."+e.name}function Hp(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=r.name;if(r.type==="JSXOpeningFragment")return"<>";if(!e)throw new Error("The argument provided is not a JSXElement node.");if(e.type==="JSXMemberExpression"){var t=e.object,n=t===void 0?{}:t,o=e.property,i=o===void 0?{}:o;return Vn(n,i)}return e.type==="JSXNamespacedName"?e.namespace.name+":"+e.name.name:r.name.name}});var Tr=s((Sb,Jn)=>{"use strict";var Bn=Object.prototype.toString;Jn.exports=function(e){var t=Bn.call(e),n=t==="[object Arguments]";return n||(n=t!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&Bn.call(e.callee)==="[object Function]"),n}});var Zn=s((Eb,Yn)=>{"use strict";var Qn;Object.keys||(ge=Object.prototype.hasOwnProperty,Or=Object.prototype.toString,Wn=Tr(),$r=Object.prototype.propertyIsEnumerable,Hn=!$r.call({toString:null},"toString"),Xn=$r.call(function(){},"prototype"),ve=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],Ue=function(r){var e=r.constructor;return e&&e.prototype===r},Gn={$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},Kn=(function(){if(typeof window>"u")return!1;for(var r in window)try{if(!Gn["$"+r]&&ge.call(window,r)&&window[r]!==null&&typeof window[r]=="object")try{Ue(window[r])}catch{return!0}}catch{return!0}return!1})(),zn=function(r){if(typeof window>"u"||!Kn)return Ue(r);try{return Ue(r)}catch{return!1}},Qn=function(e){var t=e!==null&&typeof e=="object",n=Or.call(e)==="[object Function]",o=Wn(e),i=t&&Or.call(e)==="[object String]",a=[];if(!t&&!n&&!o)throw new TypeError("Object.keys called on a non-object");var u=Xn&&n;if(i&&e.length>0&&!ge.call(e,0))for(var p=0;p<e.length;++p)a.push(String(p));if(o&&e.length>0)for(var y=0;y<e.length;++y)a.push(String(y));else for(var m in e)!(u&&m==="prototype")&&ge.call(e,m)&&a.push(String(m));if(Hn)for(var f=zn(e),c=0;c<ve.length;++c)!(f&&ve[c]==="constructor")&&ge.call(e,ve[c])&&a.push(ve[c]);return a});var ge,Or,Wn,$r,Hn,Xn,ve,Ue,Gn,Kn,zn;Yn.exports=Qn});var _r=s((wb,to)=>{"use strict";var Xp=Array.prototype.slice,Gp=Tr(),eo=Object.keys,Be=eo?function(e){return eo(e)}:Zn(),ro=Object.keys;Be.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 Gp(n)?ro(Xp.call(n)):ro(n)})}else Object.keys=Be;return Object.keys||Be};to.exports=Be});var Y=s((qb,no)=>{"use strict";var Je=Object.defineProperty||!1;if(Je)try{Je({},"a",{value:1})}catch{Je=!1}no.exports=Je});var he=s((Pb,oo)=>{"use strict";oo.exports=SyntaxError});var b=s((Ab,io)=>{"use strict";io.exports=TypeError});var so=s((Tb,ao)=>{"use strict";ao.exports=Object.getOwnPropertyDescriptor});var L=s((Ob,uo)=>{"use strict";var We=so();if(We)try{We([],"length")}catch{We=null}uo.exports=We});var He=s(($b,co)=>{"use strict";var lo=Y(),Kp=he(),Z=b(),po=L();co.exports=function(e,t,n){if(!e||typeof e!="object"&&typeof e!="function")throw new Z("`obj` must be an object or a function`");if(typeof t!="string"&&typeof t!="symbol")throw new Z("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Z("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Z("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Z("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Z("`loose`, if provided, must be a boolean");var o=arguments.length>3?arguments[3]:null,i=arguments.length>4?arguments[4]:null,a=arguments.length>5?arguments[5]:null,u=arguments.length>6?arguments[6]:!1,p=!!po&&po(e,t);if(lo)lo(e,t,{configurable:a===null&&p?p.configurable:!a,enumerable:o===null&&p?p.enumerable:!o,value:n,writable:i===null&&p?p.writable:!i});else if(u||!o&&!i&&!a)e[t]=n;else throw new Kp("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var be=s((_b,mo)=>{"use strict";var Ir=Y(),fo=function(){return!!Ir};fo.hasArrayLengthDefineBug=function(){if(!Ir)return null;try{return Ir([],"length",{value:1}).length!==1}catch{return!0}};mo.exports=fo});var M=s((Ib,ho)=>{"use strict";var zp=_r(),Qp=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",Yp=Object.prototype.toString,Zp=Array.prototype.concat,yo=He(),ec=function(r){return typeof r=="function"&&Yp.call(r)==="[object Function]"},go=be()(),rc=function(r,e,t,n){if(e in r){if(n===!0){if(r[e]===t)return}else if(!ec(n)||!n())return}go?yo(r,e,t,!0):yo(r,e,t)},vo=function(r,e){var t=arguments.length>2?arguments[2]:{},n=zp(e);Qp&&(n=Zp.call(n,Object.getOwnPropertySymbols(e)));for(var o=0;o<n.length;o+=1)rc(r,n[o],e[n[o]],t[n[o]])};vo.supportsDescriptors=!!go;ho.exports=vo});var ee=s((Cb,bo)=>{"use strict";bo.exports=Object});var So=s((kb,xo)=>{"use strict";xo.exports=Error});var wo=s((Fb,Eo)=>{"use strict";Eo.exports=EvalError});var Cr=s((Nb,qo)=>{"use strict";qo.exports=RangeError});var Ao=s((Rb,Po)=>{"use strict";Po.exports=ReferenceError});var Oo=s((jb,To)=>{"use strict";To.exports=URIError});var kr=s((Lb,$o)=>{"use strict";$o.exports=Math.abs});var Xe=s((Mb,_o)=>{"use strict";_o.exports=Math.floor});var Co=s((Db,Io)=>{"use strict";Io.exports=Math.max});var Fo=s((Vb,ko)=>{"use strict";ko.exports=Math.min});var Ro=s((Ub,No)=>{"use strict";No.exports=Math.pow});var Lo=s((Bb,jo)=>{"use strict";jo.exports=Math.round});var re=s((Jb,Mo)=>{"use strict";Mo.exports=Number.isNaN||function(e){return e!==e}});var Vo=s((Wb,Do)=>{"use strict";var tc=re();Do.exports=function(e){return tc(e)||e===0?e:e<0?-1:1}});var Ge=s((Hb,Uo)=>{"use strict";Uo.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 o=42;e[t]=o;for(var i 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 a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(e,t);if(u.value!==o||u.enumerable!==!0)return!1}return!0}});var Fr=s((Xb,Jo)=>{"use strict";var Bo=typeof Symbol<"u"&&Symbol,nc=Ge();Jo.exports=function(){return typeof Bo!="function"||typeof Symbol!="function"||typeof Bo("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:nc()}});var Nr=s((Gb,Wo)=>{"use strict";Wo.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var Rr=s((Kb,Ho)=>{"use strict";var oc=ee();Ho.exports=oc.getPrototypeOf||null});var Ko=s((zb,Go)=>{"use strict";var ic="Function.prototype.bind called on incompatible ",ac=Object.prototype.toString,sc=Math.max,uc="[object Function]",Xo=function(e,t){for(var n=[],o=0;o<e.length;o+=1)n[o]=e[o];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n},lc=function(e,t){for(var n=[],o=t||0,i=0;o<e.length;o+=1,i+=1)n[i]=e[o];return n},pc=function(r,e){for(var t="",n=0;n<r.length;n+=1)t+=r[n],n+1<r.length&&(t+=e);return t};Go.exports=function(e){var t=this;if(typeof t!="function"||ac.apply(t)!==uc)throw new TypeError(ic+t);for(var n=lc(arguments,1),o,i=function(){if(this instanceof o){var m=t.apply(this,Xo(n,arguments));return Object(m)===m?m:this}return t.apply(e,Xo(n,arguments))},a=sc(0,t.length-n.length),u=[],p=0;p<a;p++)u[p]="$"+p;if(o=Function("binder","return function ("+pc(u,",")+"){ return binder.apply(this,arguments); }")(i),t.prototype){var y=function(){};y.prototype=t.prototype,o.prototype=new y,y.prototype=null}return o}});var te=s((Qb,zo)=>{"use strict";var cc=Ko();zo.exports=Function.prototype.bind||cc});var Ke=s((Yb,Qo)=>{"use strict";Qo.exports=Function.prototype.call});var ze=s((Zb,Yo)=>{"use strict";Yo.exports=Function.prototype.apply});var ei=s((ex,Zo)=>{"use strict";Zo.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var jr=s((rx,ri)=>{"use strict";var fc=te(),dc=ze(),mc=Ke(),yc=ei();ri.exports=yc||fc.call(mc,dc)});var xe=s((tx,ti)=>{"use strict";var gc=te(),vc=b(),hc=Ke(),bc=jr();ti.exports=function(e){if(e.length<1||typeof e[0]!="function")throw new vc("a function is required");return bc(gc,hc,e)}});var ui=s((nx,si)=>{"use strict";var xc=xe(),ni=L(),ii;try{ii=[].__proto__===Array.prototype}catch(r){if(!r||typeof r!="object"||!("code"in r)||r.code!=="ERR_PROTO_ACCESS")throw r}var Lr=!!ii&&ni&&ni(Object.prototype,"__proto__"),ai=Object,oi=ai.getPrototypeOf;si.exports=Lr&&typeof Lr.get=="function"?xc([Lr.get]):typeof oi=="function"?function(e){return oi(e==null?e:ai(e))}:!1});var di=s((ox,fi)=>{"use strict";var li=Nr(),pi=Rr(),ci=ui();fi.exports=li?function(e){return li(e)}:pi?function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return pi(e)}:ci?function(e){return ci(e)}:null});var D=s((ix,mi)=>{"use strict";var Sc=Function.prototype.call,Ec=Object.prototype.hasOwnProperty,wc=te();mi.exports=wc.call(Sc,Ec)});var T=s((ax,xi)=>{"use strict";var v,qc=ee(),Pc=So(),Ac=wo(),Tc=Cr(),Oc=Ao(),ae=he(),ie=b(),$c=Oo(),_c=kr(),Ic=Xe(),Cc=Co(),kc=Fo(),Fc=Ro(),Nc=Lo(),Rc=Vo(),hi=Function,Mr=function(r){try{return hi('"use strict"; return ('+r+").constructor;")()}catch{}},Se=L(),jc=Y(),Dr=function(){throw new ie},Lc=Se?(function(){try{return arguments.callee,Dr}catch{try{return Se(arguments,"callee").get}catch{return Dr}}})():Dr,ne=Fr()(),P=di(),Mc=Rr(),Dc=Nr(),bi=ze(),Ee=Ke(),oe={},Vc=typeof Uint8Array>"u"||!P?v:P(Uint8Array),G={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?v:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?v:ArrayBuffer,"%ArrayIteratorPrototype%":ne&&P?P([][Symbol.iterator]()):v,"%AsyncFromSyncIteratorPrototype%":v,"%AsyncFunction%":oe,"%AsyncGenerator%":oe,"%AsyncGeneratorFunction%":oe,"%AsyncIteratorPrototype%":oe,"%Atomics%":typeof Atomics>"u"?v:Atomics,"%BigInt%":typeof BigInt>"u"?v:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?v:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?v:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?v:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Pc,"%eval%":eval,"%EvalError%":Ac,"%Float16Array%":typeof Float16Array>"u"?v:Float16Array,"%Float32Array%":typeof Float32Array>"u"?v:Float32Array,"%Float64Array%":typeof Float64Array>"u"?v:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?v:FinalizationRegistry,"%Function%":hi,"%GeneratorFunction%":oe,"%Int8Array%":typeof Int8Array>"u"?v:Int8Array,"%Int16Array%":typeof Int16Array>"u"?v:Int16Array,"%Int32Array%":typeof Int32Array>"u"?v:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ne&&P?P(P([][Symbol.iterator]())):v,"%JSON%":typeof JSON=="object"?JSON:v,"%Map%":typeof Map>"u"?v:Map,"%MapIteratorPrototype%":typeof Map>"u"||!ne||!P?v:P(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":qc,"%Object.getOwnPropertyDescriptor%":Se,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?v:Promise,"%Proxy%":typeof Proxy>"u"?v:Proxy,"%RangeError%":Tc,"%ReferenceError%":Oc,"%Reflect%":typeof Reflect>"u"?v:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?v:Set,"%SetIteratorPrototype%":typeof Set>"u"||!ne||!P?v:P(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?v:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ne&&P?P(""[Symbol.iterator]()):v,"%Symbol%":ne?Symbol:v,"%SyntaxError%":ae,"%ThrowTypeError%":Lc,"%TypedArray%":Vc,"%TypeError%":ie,"%Uint8Array%":typeof Uint8Array>"u"?v:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?v:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?v:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?v:Uint32Array,"%URIError%":$c,"%WeakMap%":typeof WeakMap>"u"?v:WeakMap,"%WeakRef%":typeof WeakRef>"u"?v:WeakRef,"%WeakSet%":typeof WeakSet>"u"?v:WeakSet,"%Function.prototype.call%":Ee,"%Function.prototype.apply%":bi,"%Object.defineProperty%":jc,"%Object.getPrototypeOf%":Mc,"%Math.abs%":_c,"%Math.floor%":Ic,"%Math.max%":Cc,"%Math.min%":kc,"%Math.pow%":Fc,"%Math.round%":Nc,"%Math.sign%":Rc,"%Reflect.getPrototypeOf%":Dc};if(P)try{null.error}catch(r){yi=P(P(r)),G["%Error.prototype%"]=yi}var yi,Uc=function r(e){var t;if(e==="%AsyncFunction%")t=Mr("async function () {}");else if(e==="%GeneratorFunction%")t=Mr("function* () {}");else if(e==="%AsyncGeneratorFunction%")t=Mr("async function* () {}");else if(e==="%AsyncGenerator%"){var n=r("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var o=r("%AsyncGenerator%");o&&P&&(t=P(o.prototype))}return G[e]=t,t},gi={__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"]},we=te(),Qe=D(),Bc=we.call(Ee,Array.prototype.concat),Jc=we.call(bi,Array.prototype.splice),vi=we.call(Ee,String.prototype.replace),Ye=we.call(Ee,String.prototype.slice),Wc=we.call(Ee,RegExp.prototype.exec),Hc=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Xc=/\\(\\)?/g,Gc=function(e){var t=Ye(e,0,1),n=Ye(e,-1);if(t==="%"&&n!=="%")throw new ae("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new ae("invalid intrinsic syntax, expected opening `%`");var o=[];return vi(e,Hc,function(i,a,u,p){o[o.length]=u?vi(p,Xc,"$1"):a||i}),o},Kc=function(e,t){var n=e,o;if(Qe(gi,n)&&(o=gi[n],n="%"+o[0]+"%"),Qe(G,n)){var i=G[n];if(i===oe&&(i=Uc(n)),typeof i>"u"&&!t)throw new ie("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:i}}throw new ae("intrinsic "+e+" does not exist!")};xi.exports=function(e,t){if(typeof e!="string"||e.length===0)throw new ie("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new ie('"allowMissing" argument must be a boolean');if(Wc(/^%?[^%]*%?$/,e)===null)throw new ae("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Gc(e),o=n.length>0?n[0]:"",i=Kc("%"+o+"%",t),a=i.name,u=i.value,p=!1,y=i.alias;y&&(o=y[0],Jc(n,Bc([0,1],y)));for(var m=1,f=!0;m<n.length;m+=1){var c=n[m],h=Ye(c,0,1),S=Ye(c,-1);if((h==='"'||h==="'"||h==="`"||S==='"'||S==="'"||S==="`")&&h!==S)throw new ae("property names with quotes must have matching quotes");if((c==="constructor"||!f)&&(p=!0),o+="."+c,a="%"+o+"%",Qe(G,a))u=G[a];else if(u!=null){if(!(c in u)){if(!t)throw new ie("base intrinsic for "+e+" exists, but the property is not available.");return}if(Se&&m+1>=n.length){var l=Se(u,c);f=!!l,f&&"get"in l&&!("originalValue"in l.get)?u=l.get:u=u[c]}else f=Qe(u,c),u=u[c];f&&!p&&(G[a]=u)}}return u}});var Pi=s((sx,qi)=>{"use strict";var zc=T(),Si=He(),Qc=be()(),Ei=L(),wi=b(),Yc=zc("%Math.floor%");qi.exports=function(e,t){if(typeof e!="function")throw new wi("`fn` is not a function");if(typeof t!="number"||t<0||t>4294967295||Yc(t)!==t)throw new wi("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],o=!0,i=!0;if("length"in e&&Ei){var a=Ei(e,"length");a&&!a.configurable&&(o=!1),a&&!a.writable&&(i=!1)}return(o||i||!n)&&(Qc?Si(e,"length",t,!0,!0):Si(e,"length",t)),e}});var Ti=s((ux,Ai)=>{"use strict";var Zc=te(),ef=ze(),rf=jr();Ai.exports=function(){return rf(Zc,ef,arguments)}});var qe=s((lx,Ze)=>{"use strict";var tf=Pi(),Oi=Y(),nf=xe(),$i=Ti();Ze.exports=function(e){var t=nf(arguments),n=e.length-(arguments.length-1);return tf(t,1+(n>0?n:0),!0)};Oi?Oi(Ze.exports,"apply",{value:$i}):Ze.exports.apply=$i});var Vr=s((px,_i)=>{"use strict";var of=re();_i.exports=function(e){return(typeof e=="number"||typeof e=="bigint")&&!of(e)&&e!==1/0&&e!==-1/0}});var Ur=s((cx,Ii)=>{"use strict";var af=kr(),sf=Xe(),uf=re(),lf=Vr();Ii.exports=function(e){if(typeof e!="number"||uf(e)||!lf(e))return!1;var t=af(e);return sf(t)===t}});var _=s((fx,Ci)=>{"use strict";Ci.exports=function(e){return!!e&&(typeof e=="function"||typeof e=="object")}});var Fi=s((dx,ki)=>{"use strict";ki.exports=4294967295});var Ri=s((mx,Ni)=>{"use strict";Ni.exports=typeof Reflect<"u"&&Reflect.setPrototypeOf||null});var Li=s((yx,ji)=>{"use strict";var pf=ee();ji.exports=pf.setPrototypeOf||null});var Ui=s((gx,Vi)=>{"use strict";var cf=xe(),Mi=L(),ff=b(),Di={};try{Di.__proto__=null}catch(r){if(!r||typeof r!="object"||!("code"in r)||r.code!=="ERR_PROTO_ACCESS")throw r}var df=!("toString"in Di),Br=Mi&&Mi(Object.prototype,"__proto__");Vi.exports=df&&(!!Br&&typeof Br.set=="function"&&cf([Br.set])||function(e,t){if(e==null)throw new ff("set Object.prototype.__proto__ called on null or undefined");return e.__proto__=t,t})});var Hi=s((vx,Wi)=>{"use strict";var Bi=Ri(),mf=Li(),Ji=Ui(),yf=b();Wi.exports=Bi?function(e,t){if(Bi(e,t))return e;throw new yf("Reflect.setPrototypeOf: failed to set [[Prototype]]")}:mf||(Ji?function(e,t){return Ji(e,t),e}:null)});var zi=s((hx,Ki)=>{"use strict";var gf=T(),Xi=gf("%Array.prototype%"),vf=Cr(),hf=he(),bf=b(),xf=Ur(),Sf=Fi(),Gi=Hi();Ki.exports=function(e){if(!xf(e)||e<0)throw new bf("Assertion failed: `length` must be an integer Number >= 0");if(e>Sf)throw new vf("length is greater than (2**32 - 1)");var t=arguments.length>1?arguments[1]:Xi,n=[];if(t!==Xi){if(!Gi)throw new hf("ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]");Gi(n,t)}return e!==0&&(n.length=e),n}});var Yi=s((bx,Qi)=>{Qi.exports=require("util").inspect});var ba=s((xx,ha)=>{var Zr=typeof Map=="function"&&Map.prototype,Jr=Object.getOwnPropertyDescriptor&&Zr?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,rr=Zr&&Jr&&typeof Jr.get=="function"?Jr.get:null,Zi=Zr&&Map.prototype.forEach,et=typeof Set=="function"&&Set.prototype,Wr=Object.getOwnPropertyDescriptor&&et?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,tr=et&&Wr&&typeof Wr.get=="function"?Wr.get:null,ea=et&&Set.prototype.forEach,Ef=typeof WeakMap=="function"&&WeakMap.prototype,Ae=Ef?WeakMap.prototype.has:null,wf=typeof WeakSet=="function"&&WeakSet.prototype,Te=wf?WeakSet.prototype.has:null,qf=typeof WeakRef=="function"&&WeakRef.prototype,ra=qf?WeakRef.prototype.deref:null,Pf=Boolean.prototype.valueOf,Af=Object.prototype.toString,Tf=Function.prototype.toString,Of=String.prototype.match,rt=String.prototype.slice,V=String.prototype.replace,$f=String.prototype.toUpperCase,ta=String.prototype.toLowerCase,ca=RegExp.prototype.test,na=Array.prototype.concat,C=Array.prototype.join,_f=Array.prototype.slice,oa=Math.floor,Gr=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Hr=Object.getOwnPropertySymbols,Kr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,se=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Oe=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===se||!0)?Symbol.toStringTag:null,fa=Object.prototype.propertyIsEnumerable,ia=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(r){return r.__proto__}:null);function aa(r,e){if(r===1/0||r===-1/0||r!==r||r&&r>-1e3&&r<1e3||ca.call(/e/,e))return e;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof r=="number"){var n=r<0?-oa(-r):oa(r);if(n!==r){var o=String(n),i=rt.call(e,o.length+1);return V.call(o,t,"$&_")+"."+V.call(V.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return V.call(e,t,"$&_")}var zr=Yi(),sa=zr.custom,ua=ya(sa)?sa:null,da={__proto__:null,double:'"',single:"'"},If={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};ha.exports=function r(e,t,n,o){var i=t||{};if(R(i,"quoteStyle")&&!R(da,i.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(R(i,"maxStringLength")&&(typeof i.maxStringLength=="number"?i.maxStringLength<0&&i.maxStringLength!==1/0:i.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=R(i,"customInspect")?i.customInspect:!0;if(typeof a!="boolean"&&a!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(R(i,"indent")&&i.indent!==null&&i.indent!==" "&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(R(i,"numericSeparator")&&typeof i.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var u=i.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 va(e,i);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var p=String(e);return u?aa(e,p):p}if(typeof e=="bigint"){var y=String(e)+"n";return u?aa(e,y):y}var m=typeof i.depth>"u"?5:i.depth;if(typeof n>"u"&&(n=0),n>=m&&m>0&&typeof e=="object")return Qr(e)?"[Array]":"[Object]";var f=Kf(i,n);if(typeof o>"u")o=[];else if(ga(o,e)>=0)return"[Circular]";function c(Q,Me,Cp){if(Me&&(o=_f.call(o),o.push(Me)),Cp){var Nn={depth:i.depth};return R(i,"quoteStyle")&&(Nn.quoteStyle=i.quoteStyle),r(Q,Nn,n+1,o)}return r(Q,i,n+1,o)}if(typeof e=="function"&&!la(e)){var h=Df(e),S=er(e,c);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(S.length>0?" { "+C.call(S,", ")+" }":"")}if(ya(e)){var l=se?V.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):Kr.call(e);return typeof e=="object"&&!se?Pe(l):l}if(Hf(e)){for(var d="<"+ta.call(String(e.nodeName)),E=e.attributes||[],g=0;g<E.length;g++)d+=" "+E[g].name+"="+ma(Cf(E[g].value),"double",i);return d+=">",e.childNodes&&e.childNodes.length&&(d+="..."),d+="</"+ta.call(String(e.nodeName))+">",d}if(Qr(e)){if(e.length===0)return"[]";var w=er(e,c);return f&&!Gf(w)?"["+Yr(w,f)+"]":"[ "+C.call(w,", ")+" ]"}if(Ff(e)){var I=er(e,c);return!("cause"in Error.prototype)&&"cause"in e&&!fa.call(e,"cause")?"{ ["+String(e)+"] "+C.call(na.call("[cause]: "+c(e.cause),I),", ")+" }":I.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+C.call(I,", ")+" }"}if(typeof e=="object"&&a){if(ua&&typeof e[ua]=="function"&&zr)return zr(e,{depth:m-n});if(a!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(Vf(e)){var $=[];return Zi&&Zi.call(e,function(Q,Me){$.push(c(Me,e,!0)+" => "+c(Q,e))}),pa("Map",rr.call(e),$,f)}if(Jf(e)){var Le=[];return ea&&ea.call(e,function(Q){Le.push(c(Q,e))}),pa("Set",tr.call(e),Le,f)}if(Uf(e))return Xr("WeakMap");if(Wf(e))return Xr("WeakSet");if(Bf(e))return Xr("WeakRef");if(Rf(e))return Pe(c(Number(e)));if(Lf(e))return Pe(c(Gr.call(e)));if(jf(e))return Pe(Pf.call(e));if(Nf(e))return Pe(c(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(!kf(e)&&!la(e)){var N=er(e,c),de=ia?ia(e)===Object.prototype:e instanceof Object||e.constructor===Object,Sr=e instanceof Object?"":"null prototype",Fn=!de&&Oe&&Object(e)===e&&Oe in e?rt.call(U(e),8,-1):Sr?"Object":"",Ip=de||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",Er=Ip+(Fn||Sr?"["+C.call(na.call([],Fn||[],Sr||[]),": ")+"] ":"");return N.length===0?Er+"{}":f?Er+"{"+Yr(N,f)+"}":Er+"{ "+C.call(N,", ")+" }"}return String(e)};function ma(r,e,t){var n=t.quoteStyle||e,o=da[n];return o+r+o}function Cf(r){return V.call(String(r),/"/g,""")}function K(r){return!Oe||!(typeof r=="object"&&(Oe in r||typeof r[Oe]<"u"))}function Qr(r){return U(r)==="[object Array]"&&K(r)}function kf(r){return U(r)==="[object Date]"&&K(r)}function la(r){return U(r)==="[object RegExp]"&&K(r)}function Ff(r){return U(r)==="[object Error]"&&K(r)}function Nf(r){return U(r)==="[object String]"&&K(r)}function Rf(r){return U(r)==="[object Number]"&&K(r)}function jf(r){return U(r)==="[object Boolean]"&&K(r)}function ya(r){if(se)return r&&typeof r=="object"&&r instanceof Symbol;if(typeof r=="symbol")return!0;if(!r||typeof r!="object"||!Kr)return!1;try{return Kr.call(r),!0}catch{}return!1}function Lf(r){if(!r||typeof r!="object"||!Gr)return!1;try{return Gr.call(r),!0}catch{}return!1}var Mf=Object.prototype.hasOwnProperty||function(r){return r in this};function R(r,e){return Mf.call(r,e)}function U(r){return Af.call(r)}function Df(r){if(r.name)return r.name;var e=Of.call(Tf.call(r),/^function\s*([\w$]+)/);return e?e[1]:null}function ga(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 Vf(r){if(!rr||!r||typeof r!="object")return!1;try{rr.call(r);try{tr.call(r)}catch{return!0}return r instanceof Map}catch{}return!1}function Uf(r){if(!Ae||!r||typeof r!="object")return!1;try{Ae.call(r,Ae);try{Te.call(r,Te)}catch{return!0}return r instanceof WeakMap}catch{}return!1}function Bf(r){if(!ra||!r||typeof r!="object")return!1;try{return ra.call(r),!0}catch{}return!1}function Jf(r){if(!tr||!r||typeof r!="object")return!1;try{tr.call(r);try{rr.call(r)}catch{return!0}return r instanceof Set}catch{}return!1}function Wf(r){if(!Te||!r||typeof r!="object")return!1;try{Te.call(r,Te);try{Ae.call(r,Ae)}catch{return!0}return r instanceof WeakSet}catch{}return!1}function Hf(r){return!r||typeof r!="object"?!1:typeof HTMLElement<"u"&&r instanceof HTMLElement?!0:typeof r.nodeName=="string"&&typeof r.getAttribute=="function"}function va(r,e){if(r.length>e.maxStringLength){var t=r.length-e.maxStringLength,n="... "+t+" more character"+(t>1?"s":"");return va(rt.call(r,0,e.maxStringLength),e)+n}var o=If[e.quoteStyle||"single"];o.lastIndex=0;var i=V.call(V.call(r,o,"\\$1"),/[\x00-\x1f]/g,Xf);return ma(i,"single",e)}function Xf(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":"")+$f.call(e.toString(16))}function Pe(r){return"Object("+r+")"}function Xr(r){return r+" { ? }"}function pa(r,e,t,n){var o=n?Yr(t,n):C.call(t,", ");return r+" ("+e+") {"+o+"}"}function Gf(r){for(var e=0;e<r.length;e++)if(ga(r[e],`
|
|
2
2
|
`)>=0)return!1;return!0}function Kf(r,e){var t;if(r.indent===" ")t=" ";else if(typeof r.indent=="number"&&r.indent>0)t=C.call(Array(r.indent+1)," ");else return null;return{base:t,prev:C.call(Array(e+1),t)}}function Yr(r,e){if(r.length===0)return"";var t=`
|
|
3
3
|
`+e.prev+e.base;return t+C.call(r,","+t)+`
|
|
4
|
-
`+e.prev}function er(r,e){var t=Qr(r),n=[];if(t){n.length=r.length;for(var o=0;o<r.length;o++)n[o]=R(r,o)?e(r[o],r):""}var i=typeof Hr=="function"?Hr(r):[],a;if(se){a={};for(var u=0;u<i.length;u++)a["$"+i[u]]=i[u]}for(var p in r)R(r,p)&&(t&&String(Number(p))===p&&p<r.length||se&&a["$"+p]instanceof Symbol||(ca.call(/[^\w$]/,p)?n.push(e(p,r)+": "+e(r[p],r)):n.push(p+": "+e(r[p],r))));if(typeof Hr=="function")for(var m=0;m<i.length;m++)fa.call(r,i[m])&&n.push("["+e(i[m])+"]: "+e(r[i[m]],r));return n}});var B=s((Sx,xa)=>{"use strict";xa.exports=function(e){return typeof e=="string"||typeof e=="symbol"}});var $e=s((Ex,Ea)=>{"use strict";var Sa=b(),zf=ba(),Qf=B(),Yf=_();Ea.exports=function(e,t){if(!Yf(e))throw new Sa("Assertion failed: Type(O) is not Object");if(!Qf(t))throw new Sa("Assertion failed: P is not a Property Key, got "+zf(t));return e[t]}});var O=s((wx,Pa)=>{"use strict";var wa=T(),qa=xe(),Zf=qa([wa("%String.prototype.indexOf%")]);Pa.exports=function(e,t){var n=wa(e,!!t);return typeof n=="function"&&Zf(e,".prototype.")>-1?qa([n]):n}});var tt=s((qx,Ta)=>{"use strict";var ed=T(),Aa=ed("%Array%"),rd=!Aa.isArray&&O()("Object.prototype.toString");Ta.exports=Aa.isArray||function(e){return rd(e)==="[object Array]"}});var nr=s((Px,Oa)=>{"use strict";Oa.exports=tt()});var _a=s((Ax,$a)=>{"use strict";$a.exports=T()});var j=s((Tx,Ia)=>{"use strict";var td=b(),_e=D(),nd={__proto__:null,"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};Ia.exports=function(e){if(!e||typeof e!="object")return!1;for(var t in e)if(_e(e,t)&&!nd[t])return!1;var n=_e(e,"[[Value]]")||_e(e,"[[Writable]]"),o=_e(e,"[[Get]]")||_e(e,"[[Set]]");if(n&&o)throw new td("Property Descriptors may not be both accessor and data descriptors");return!0}});var nt=s((Ox,Fa)=>{"use strict";var od=be(),Ca=Y(),ka=od.hasArrayLengthDefineBug(),id=ka&&tt(),ad=O(),sd=ad("Object.prototype.propertyIsEnumerable");Fa.exports=function(e,t,n,o,i,a){if(!Ca){if(!e(a)||!a["[[Configurable]]"]||!a["[[Writable]]"]||i in o&&sd(o,i)!==!!a["[[Enumerable]]"])return!1;var u=a["[[Value]]"];return o[i]=u,t(o[i],u)}return ka&&i==="length"&&"[[Value]]"in a&&id(o)&&o.length!==a["[[Value]]"]?(o.length=a["[[Value]]"],o.length===a["[[Value]]"]):(Ca(o,i,n(a)),!0)}});var Ra=s(($x,Na)=>{"use strict";Na.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 ot=s((_x,ja)=>{"use strict";var ud=b(),ld=j(),pd=Ra();ja.exports=function(e){if(typeof e<"u"&&!ld(e))throw new ud("Assertion failed: `Desc` must be a Property Descriptor");return pd(e)}});var or=s((Ix,Ma)=>{"use strict";var cd=b(),La=D(),fd=j();Ma.exports=function(e){if(typeof e>"u")return!1;if(!fd(e))throw new cd("Assertion failed: `Desc` must be a Property Descriptor");return!(!La(e,"[[Value]]")&&!La(e,"[[Writable]]"))}});var ir=s((Cx,Va)=>{"use strict";var Da=re();Va.exports=function(e,t){return e===t?e===0?1/e===1/t:!0:Da(e)&&Da(t)}});var lt=s((kx,Ja)=>{"use strict";var Ba=Function.prototype.toString,ue=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,at,ar;if(typeof ue=="function"&&typeof Object.defineProperty=="function")try{at=Object.defineProperty({},"length",{get:function(){throw ar}}),ar={},ue(function(){throw 42},null,at)}catch(r){r!==ar&&(ue=null)}else ue=null;var dd=/^\s*class\b/,st=function(e){try{var t=Ba.call(e);return dd.test(t)}catch{return!1}},it=function(e){try{return st(e)?!1:(Ba.call(e),!0)}catch{return!1}},sr=Object.prototype.toString,yd="[object Object]",md="[object Function]",gd="[object GeneratorFunction]",vd="[object HTMLAllCollection]",hd="[object HTML document.all class]",bd="[object HTMLCollection]",xd=typeof Symbol=="function"&&!!Symbol.toStringTag,Sd=!(0 in[,]),ut=function(){return!1};typeof document=="object"&&(Ua=document.all,sr.call(Ua)===sr.call(document.all)&&(ut=function(e){if((Sd||!e)&&(typeof e>"u"||typeof e=="object"))try{var t=sr.call(e);return(t===vd||t===hd||t===bd||t===yd)&&e("")==null}catch{}return!1}));var Ua;Ja.exports=ue?function(e){if(ut(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{ue(e,null,at)}catch(t){if(t!==ar)return!1}return!st(e)&&it(e)}:function(e){if(ut(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(xd)return it(e);if(st(e))return!1;var t=sr.call(e);return t!==md&&t!==gd&&!/^\[object HTML/.test(t)?!1:it(e)}});var Ha=s((Fx,Wa)=>{"use strict";Wa.exports=lt()});var Ga=s((Nx,Xa)=>{"use strict";Xa.exports=function(e){return!!e}});var ct=s((Rx,za)=>{"use strict";var k=D(),ur=b(),Ed=_(),Ka=Ha(),pt=Ga();za.exports=function(e){if(!Ed(e))throw new ur("ToPropertyDescriptor requires an object");var t={};if(k(e,"enumerable")&&(t["[[Enumerable]]"]=pt(e.enumerable)),k(e,"configurable")&&(t["[[Configurable]]"]=pt(e.configurable)),k(e,"value")&&(t["[[Value]]"]=e.value),k(e,"writable")&&(t["[[Writable]]"]=pt(e.writable)),k(e,"get")){var n=e.get;if(typeof n<"u"&&!Ka(n))throw new ur("getter must be a function");t["[[Get]]"]=n}if(k(e,"set")){var o=e.set;if(typeof o<"u"&&!Ka(o))throw new ur("setter must be a function");t["[[Set]]"]=o}if((k(t,"[[Get]]")||k(t,"[[Set]]"))&&(k(t,"[[Value]]")||k(t,"[[Writable]]")))throw new ur("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return t}});var Za=s((jx,Ya)=>{"use strict";var ft=b(),wd=_(),Qa=j(),qd=nt(),Pd=ot(),Ad=or(),Td=B(),Od=ir(),$d=ct();Ya.exports=function(e,t,n){if(!wd(e))throw new ft("Assertion failed: Type(O) is not Object");if(!Td(t))throw new ft("Assertion failed: P is not a Property Key");var o=Qa(n)?n:$d(n);if(!Qa(o))throw new ft("Assertion failed: Desc is not a valid Property Descriptor");return qd(Ad,Od,Pd,e,t,o)}});var rs=s((Lx,mt)=>{"use strict";var _d=_a(),es=_d("%Reflect.construct%",!0),lr=Za();try{lr({},"",{"[[Get]]":function(){}})}catch{lr=null}lr&&es?(dt={},yt={},lr(yt,"length",{"[[Get]]":function(){throw dt},"[[Enumerable]]":!0}),mt.exports=function(e){try{es(e,yt)}catch(t){return t===dt}}):mt.exports=function(e){return typeof e=="function"&&!!e.prototype};var dt,yt});var ss=s((Mx,as)=>{"use strict";var Id=T(),ts=Id("%Symbol.species%",!0),ns=b(),Cd=Ur(),kd=_(),os=zi(),is=$e(),Fd=nr(),Nd=rs();as.exports=function(e,t){if(!Cd(t)||t<0)throw new ns("Assertion failed: length must be an integer >= 0");var n=Fd(e);if(!n)return os(t);var o=is(e,"constructor");if(ts&&kd(o)&&(o=is(o,ts),o===null&&(o=void 0)),typeof o>"u")return os(t);if(!Nd(o))throw new ns("C must be a constructor");return new o(t)}});var gt=s((Dx,us)=>{"use strict";us.exports=Number.MAX_SAFE_INTEGER||9007199254740991});var ps=s((Vx,ls)=>{"use strict";var Rd=T(),jd=O(),Ld=b(),Md=nr(),Dd=Rd("%Reflect.apply%",!0)||jd("Function.prototype.apply");ls.exports=function(e,t){var n=arguments.length>2?arguments[2]:[];if(!Md(n))throw new Ld("Assertion failed: optional `argumentsList`, if provided, must be a List");return Dd(e,t,n)}});var pr=s((Ux,fs)=>{"use strict";var Vd=b(),cs=D(),Ud=j();fs.exports=function(e){if(typeof e>"u")return!1;if(!Ud(e))throw new Vd("Assertion failed: `Desc` must be a Property Descriptor");return!(!cs(e,"[[Get]]")&&!cs(e,"[[Set]]"))}});var vt=s((Bx,ds)=>{"use strict";ds.exports=function(e){return e===null||typeof e!="function"&&typeof e!="object"}});var vs=s((Jx,gs)=>{"use strict";var ms=T(),Bd=ms("%Object.preventExtensions%",!0),Jd=ms("%Object.isExtensible%",!0),ys=vt();gs.exports=Bd?function(e){return!ys(e)&&Jd(e)}:function(e){return!ys(e)}});var bs=s((Wx,hs)=>{"use strict";var Wd=j();hs.exports=function(e,t){return Wd(t)&&"[[Enumerable]]"in t&&"[[Configurable]]"in t&&(e.IsAccessorDescriptor(t)||e.IsDataDescriptor(t))}});var Ss=s((Hx,xs)=>{"use strict";var Hd=b(),Xd=pr(),Gd=or(),Kd=j();xs.exports=function(e){if(typeof e>"u")return!1;if(!Kd(e))throw new Hd("Assertion failed: `Desc` must be a Property Descriptor");return!Xd(e)&&!Gd(e)}});var qs=s((Xx,ws)=>{"use strict";var le=b(),zd=_(),Ie=nt(),Qd=bs(),Es=j(),Ce=ot(),z=pr(),J=or(),Yd=Ss(),Zd=B(),F=ir();ws.exports=function(e,t,n,o,i){if(typeof e<"u"&&!zd(e))throw new le("Assertion failed: O must be undefined or an Object");if(!Zd(t))throw new le("Assertion failed: P must be a Property Key");if(typeof n!="boolean")throw new le("Assertion failed: extensible must be a Boolean");if(!Es(o))throw new le("Assertion failed: Desc must be a Property Descriptor");if(typeof i<"u"&&!Es(i))throw new le("Assertion failed: current must be a Property Descriptor, or undefined");if(typeof i>"u")return n?typeof e>"u"?!0:z(o)?Ie(J,F,Ce,e,t,o):Ie(J,F,Ce,e,t,{"[[Configurable]]":!!o["[[Configurable]]"],"[[Enumerable]]":!!o["[[Enumerable]]"],"[[Value]]":o["[[Value]]"],"[[Writable]]":!!o["[[Writable]]"]}):!1;if(!Qd({IsAccessorDescriptor:z,IsDataDescriptor:J},i))throw new le("`current`, when present, must be a fully populated and valid Property Descriptor");if(!i["[[Configurable]]"]){if("[[Configurable]]"in o&&o["[[Configurable]]"]||"[[Enumerable]]"in o&&!F(o["[[Enumerable]]"],i["[[Enumerable]]"])||!Yd(o)&&!F(z(o),z(i)))return!1;if(z(i)){if("[[Get]]"in o&&!F(o["[[Get]]"],i["[[Get]]"])||"[[Set]]"in o&&!F(o["[[Set]]"],i["[[Set]]"]))return!1}else if(!i["[[Writable]]"]&&("[[Writable]]"in o&&o["[[Writable]]"]||"[[Value]]"in o&&!F(o["[[Value]]"],i["[[Value]]"])))return!1}if(typeof e<"u"){var a,u;return J(i)&&z(o)?(a=("[[Configurable]]"in o?o:i)["[[Configurable]]"],u=("[[Enumerable]]"in o?o:i)["[[Enumerable]]"],Ie(J,F,Ce,e,t,{"[[Configurable]]":!!a,"[[Enumerable]]":!!u,"[[Get]]":("[[Get]]"in o?o:i)["[[Get]]"],"[[Set]]":("[[Set]]"in o?o:i)["[[Set]]"]})):z(i)&&J(o)?(a=("[[Configurable]]"in o?o:i)["[[Configurable]]"],u=("[[Enumerable]]"in o?o:i)["[[Enumerable]]"],Ie(J,F,Ce,e,t,{"[[Configurable]]":!!a,"[[Enumerable]]":!!u,"[[Value]]":("[[Value]]"in o?o:i)["[[Value]]"],"[[Writable]]":!!("[[Writable]]"in o?o:i)["[[Writable]]"]})):Ie(J,F,Ce,e,t,o)}return!0}});var Os=s((Gx,Ts)=>{"use strict";var Ps=L(),As=he(),ht=b(),ey=_(),ry=j(),ty=pr(),ny=vs(),oy=B(),iy=ct(),ay=ir(),sy=qs();Ts.exports=function(e,t,n){if(!ey(e))throw new ht("Assertion failed: O must be an Object");if(!oy(t))throw new ht("Assertion failed: P must be a Property Key");if(!ry(n))throw new ht("Assertion failed: Desc must be a Property Descriptor");if(!Ps){if(ty(n))throw new As("This environment does not support accessor property descriptors.");var o=!(t in e)&&n["[[Writable]]"]&&n["[[Enumerable]]"]&&n["[[Configurable]]"]&&"[[Value]]"in n,i=t in e&&(!("[[Configurable]]"in n)||n["[[Configurable]]"])&&(!("[[Enumerable]]"in n)||n["[[Enumerable]]"])&&(!("[[Writable]]"in n)||n["[[Writable]]"])&&"[[Value]]"in n;if(o||i)return e[t]=n["[[Value]]"],ay(e[t],n["[[Value]]"]);throw new As("This environment does not support defining non-writable, non-enumerable, or non-configurable properties")}var a=Ps(e,t),u=a&&iy(a),p=ny(e);return sy(e,t,p,n,u)}});var Is=s((Kx,_s)=>{"use strict";var $s=b(),uy=_(),ly=B(),py=Os();_s.exports=function(e,t,n){if(!uy(e))throw new $s("Assertion failed: Type(O) is not Object");if(!ly(t))throw new $s("Assertion failed: P is not a Property Key");var o={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":n,"[[Writable]]":!0};return py(e,t,o)}});var ks=s((zx,Cs)=>{"use strict";var bt=b(),cy=_(),fy=Is(),dy=B();Cs.exports=function(e,t,n){if(!cy(e))throw new bt("Assertion failed: Type(O) is not Object");if(!dy(t))throw new bt("Assertion failed: P is not a Property Key");var o=fy(e,t,n);if(!o)throw new bt("unable to create data property")}});var Rs=s((Qx,Ns)=>{"use strict";var Fs=b(),yy=_(),my=B();Ns.exports=function(e,t){if(!yy(e))throw new Fs("Assertion failed: `O` must be an Object");if(!my(t))throw new Fs("Assertion failed: `P` must be a Property Key");return t in e}});var Ls=s((Yx,js)=>{"use strict";js.exports=function(e){return e===null||typeof e!="function"&&typeof e!="object"}});var xt=s((Zx,Ms)=>{"use strict";var gy=Ge();Ms.exports=function(){return gy()&&!!Symbol.toStringTag}});var Us=s((eS,Vs)=>{"use strict";var Ds=O(),vy=Ds("Date.prototype.getDay"),hy=function(e){try{return vy(e),!0}catch{return!1}},by=Ds("Object.prototype.toString"),xy="[object Date]",Sy=xt()();Vs.exports=function(e){return typeof e!="object"||e===null?!1:Sy?hy(e):by(e)===xy}});var Gs=s((rS,Xs)=>{"use strict";var Bs=O(),Ey=xt()(),wy=D(),qy=L(),wt;Ey?(Js=Bs("RegExp.prototype.exec"),St={},cr=function(){throw St},Et={toString:cr,valueOf:cr},typeof Symbol.toPrimitive=="symbol"&&(Et[Symbol.toPrimitive]=cr),wt=function(e){if(!e||typeof e!="object")return!1;var t=qy(e,"lastIndex"),n=t&&wy(t,"value");if(!n)return!1;try{Js(e,Et)}catch(o){return o===St}}):(Ws=Bs("Object.prototype.toString"),Hs="[object RegExp]",wt=function(e){return!e||typeof e!="object"&&typeof e!="function"?!1:Ws(e)===Hs});var Js,St,cr,Et,Ws,Hs;Xs.exports=wt});var qt=s((tS,Ks)=>{"use strict";var Py=O(),Ay=Gs(),Ty=Py("RegExp.prototype.exec"),Oy=b();Ks.exports=function(e){if(!Ay(e))throw new Oy("`regex` must be a RegExp");return function(n){return Ty(e,n)!==null}}});var eu=s((nS,Pt)=>{"use strict";var Zs=O(),$y=Zs("Object.prototype.toString"),_y=Fr()(),Iy=qt();_y?(zs=Zs("Symbol.prototype.toString"),Qs=Iy(/^Symbol\(.*\)$/),Ys=function(e){return typeof e.valueOf()!="symbol"?!1:Qs(zs(e))},Pt.exports=function(e){if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||$y(e)!=="[object Symbol]")return!1;try{return Ys(e)}catch{return!1}}):Pt.exports=function(e){return!1};var zs,Qs,Ys});var ou=s((oS,nu)=>{"use strict";var Cy=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol",At=Ls(),tu=lt(),ky=Us(),ru=eu(),Fy=function(e,t){if(typeof e>"u"||e===null)throw new TypeError("Cannot call method on "+e);if(typeof t!="string"||t!=="number"&&t!=="string")throw new TypeError('hint must be "string" or "number"');var n=t==="string"?["toString","valueOf"]:["valueOf","toString"],o,i,a;for(a=0;a<n.length;++a)if(o=e[n[a]],tu(o)&&(i=o.call(e),At(i)))return i;throw new TypeError("No default value")},Ny=function(e,t){var n=e[t];if(n!==null&&typeof n<"u"){if(!tu(n))throw new TypeError(n+" returned for property "+String(t)+" of object "+e+" is not a function");return n}};nu.exports=function(e){if(At(e))return e;var t="default";arguments.length>1&&(arguments[1]===String?t="string":arguments[1]===Number&&(t="number"));var n;if(Cy&&(Symbol.toPrimitive?n=Ny(e,Symbol.toPrimitive):ru(e)&&(n=Symbol.prototype.valueOf)),typeof n<"u"){var o=n.call(e,t);if(At(o))return o;throw new TypeError("unable to convert exotic object to primitive")}return t==="default"&&(ky(e)||ru(e))&&(t="string"),Fy(e,t==="default"?"number":t)}});var su=s((iS,au)=>{"use strict";var iu=ou();au.exports=function(e){return arguments.length>1?iu(e,arguments[1]):iu(e)}});var ke=s((aS,uu)=>{"use strict";var Ry=b();uu.exports=function(e){if(e==null)throw new Ry(arguments.length>0&&arguments[1]||"Cannot call method on "+e);return e}});var Tt=s((sS,lu)=>{"use strict";var jy=T(),Ly=jy("%String%"),My=b();lu.exports=function(e){if(typeof e=="symbol")throw new My("Cannot convert a Symbol value to a string");return Ly(e)}});var Ot=s((uS,fu)=>{"use strict";var Dy=ke(),Vy=Tt(),Uy=O(),pu=Uy("String.prototype.replace"),cu=/^\s$/.test("\u180E"),By=cu?/^[\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]+/,Jy=cu?/[\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]+$/;fu.exports=function(){var e=Vy(Dy(this));return pu(pu(e,By,""),Jy,"")}});var $t=s((lS,yu)=>{"use strict";var Wy=Ot(),du="\u200B",pe="\u180E";yu.exports=function(){return String.prototype.trim&&du.trim()===du&&pe.trim()===pe&&("_"+pe).trim()==="_"+pe&&(pe+"_").trim()===pe+"_"?String.prototype.trim:Wy}});var vu=s((pS,gu)=>{"use strict";var Hy=be()(),mu=He(),Xy=$t();gu.exports=function(){var e=Xy();return String.prototype.trim!==e&&(Hy?mu(String.prototype,"trim",e,!0):mu(String.prototype,"trim",e)),e}});var Su=s((cS,xu)=>{"use strict";var Gy=qe(),Ky=M(),zy=ke(),Qy=Ot(),hu=$t(),Yy=vu(),Zy=Gy(hu()),bu=function(e){return zy(e),Zy(e)};Ky(bu,{getPolyfill:hu,implementation:Qy,shim:Yy});xu.exports=bu});var Au=s((fS,Pu)=>{"use strict";var qu=T(),em=qu("%RegExp%"),rm=b(),Eu=qu("%parseInt%"),tm=O(),fr=qt(),wu=tm("String.prototype.slice"),nm=fr(/^0b[01]+$/i),om=fr(/^0o[0-7]+$/i),im=fr(/^[-+]0x[0-9a-f]+$/i),am=["\x85","\u200B","\uFFFE"].join(""),sm=new em("["+am+"]","g"),um=fr(sm),lm=Su();Pu.exports=function r(e){if(typeof e!="string")throw new rm("Assertion failed: `argument` is not a String");if(nm(e))return+Eu(wu(e,2),2);if(om(e))return+Eu(wu(e,2),8);if(um(e)||im(e))return NaN;var t=lm(e);return t!==e?r(t):+e}});var $u=s((dS,Ou)=>{"use strict";var pm=T(),Tu=b(),cm=pm("%Number%"),fm=vt(),dm=su(),ym=Au();Ou.exports=function(e){var t=fm(e)?e:dm(e,cm);if(typeof t=="symbol")throw new Tu("Cannot convert a Symbol value to a number");if(typeof t=="bigint")throw new Tu("Conversion from 'BigInt' to 'number' is not allowed.");return typeof t=="string"?ym(t):+t}});var Iu=s((yS,_u)=>{"use strict";var mm=Xe();_u.exports=function(e){return typeof e=="bigint"?e:mm(e)}});var Fu=s((mS,ku)=>{"use strict";var Cu=Iu(),gm=b();ku.exports=function(e){if(typeof e!="number"&&typeof e!="bigint")throw new gm("argument must be a Number or a BigInt");var t=e<0?-Cu(-e):Cu(e);return t===0?0:t}});var _t=s((gS,Nu)=>{"use strict";var vm=$u(),hm=Fu(),bm=re(),xm=Vr();Nu.exports=function(e){var t=vm(e);return bm(t)||t===0?0:xm(t)?hm(t):t}});var It=s((vS,ju)=>{"use strict";var Ru=gt(),Sm=_t();ju.exports=function(e){var t=Sm(e);return t<=0?0:t>Ru?Ru:t}});var Mu=s((hS,Lu)=>{"use strict";var Em=b(),wm=_(),qm=$e(),Pm=It();Lu.exports=function(e){if(!wm(e))throw new Em("Assertion failed: `obj` must be an Object");return Pm(qm(e,"length"))}});var Bu=s((bS,Uu)=>{"use strict";var Du=b(),Am=gt(),Tm=ps(),Om=ks(),$m=$e(),_m=Rs(),Im=nr(),Cm=Mu(),Vu=Tt();Uu.exports=function r(e,t,n,o,i){var a;arguments.length>5&&(a=arguments[5]);for(var u=o,p=0;p<n;){var m=Vu(p),y=_m(t,m);if(y===!0){var f=$m(t,m);if(typeof a<"u"){if(arguments.length<=6)throw new Du("Assertion failed: thisArg is required when mapperFunction is provided");f=Tm(a,arguments[6],[f,p,t])}var c=!1;if(i>0&&(c=Im(f)),c){var h=Cm(f);u=r(e,f,h,u,i-1)}else{if(u>=Am)throw new Du("index too large");Om(e,Vu(u),f),u+=1}}p+=1}return u}});var Wu=s((xS,Ju)=>{"use strict";var km=ee(),Fm=ke();Ju.exports=function(e){return Fm(e),km(e)}});var Xu=s((SS,Hu)=>{"use strict";Hu.exports=Wu()});var Ct=s((ES,Gu)=>{"use strict";var Nm=ss(),Rm=Bu(),jm=$e(),Lm=_t(),Mm=It(),Dm=Xu();Gu.exports=function(){var e=Dm(this),t=Mm(jm(e,"length")),n=1;arguments.length>0&&typeof arguments[0]<"u"&&(n=Lm(arguments[0]));var o=Nm(e,0);return Rm(o,e,t,0,n),o}});var kt=s((wS,Ku)=>{"use strict";var Vm=Ct();Ku.exports=function(){return Array.prototype.flat||Vm}});var el=s((qS,Zu)=>{"use strict";var Um=D(),Yu=typeof Symbol=="function"&&typeof Symbol.unscopables=="symbol",zu=Yu&&Array.prototype[Symbol.unscopables],Qu=TypeError;Zu.exports=function(e){if(typeof e!="string"||!e)throw new Qu("method must be a non-empty string");if(!Um(Array.prototype,e))throw new Qu("method must be on Array.prototype");Yu&&zu&&(zu[e]=!0)}});var tl=s((PS,rl)=>{"use strict";var Bm=M(),Jm=el(),Wm=kt();rl.exports=function(){var e=Wm();return Bm(Array.prototype,{flat:e},{flat:function(){return Array.prototype.flat!==e}}),Jm("flat"),e}});var al=s((AS,il)=>{"use strict";var Hm=M(),Xm=qe(),Gm=Ct(),nl=kt(),Km=nl(),zm=tl(),ol=Xm(Km);Hm(ol,{getPolyfill:nl,implementation:Gm,shim:zm});il.exports=ol});var Ft=s((TS,sl)=>{"use strict";var Qm=ke(),Ym=O(),Zm=Ym("Object.prototype.propertyIsEnumerable");sl.exports=function(e){var t=Qm(e),n=[];for(var o in t)Zm(t,o)&&(n[n.length]=t[o]);return n}});var Nt=s((OS,ul)=>{"use strict";var eg=Ft();ul.exports=function(){return typeof Object.values=="function"?Object.values:eg}});var pl=s(($S,ll)=>{"use strict";var rg=Nt(),tg=M();ll.exports=function(){var e=rg();return tg(Object,{values:e},{values:function(){return Object.values!==e}}),e}});var yl=s((_S,dl)=>{"use strict";var ng=M(),og=qe(),ig=Ft(),cl=Nt(),ag=pl(),fl=og(cl(),Object);ng(fl,{getPolyfill:cl,implementation:ig,shim:ag});dl.exports=fl});var vl=s(Fe=>{"use strict";Object.defineProperty(Fe,"__esModule",{value:!0});Fe.eventHandlersByType=void 0;var sg=al(),ug=ml(sg),lg=yl(),pg=ml(lg);function ml(r){return r&&r.__esModule?r:{default:r}}var gl={clipboard:["onCopy","onCut","onPaste"],composition:["onCompositionEnd","onCompositionStart","onCompositionUpdate"],keyboard:["onKeyDown","onKeyPress","onKeyUp"],focus:["onFocus","onBlur"],form:["onChange","onInput","onSubmit"],mouse:["onClick","onContextMenu","onDblClick","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp"],selection:["onSelect"],touch:["onTouchCancel","onTouchEnd","onTouchMove","onTouchStart"],ui:["onScroll"],wheel:["onWheel"],media:["onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting"],image:["onLoad","onError"],animation:["onAnimationStart","onAnimationEnd","onAnimationIteration"],transition:["onTransitionEnd"]};Fe.default=(0,ug.default)((0,pg.default)(gl));Fe.eventHandlersByType=gl});var bl=s(jt=>{"use strict";Object.defineProperty(jt,"__esModule",{value:!0});var cg=(function(){function r(e,t){var n=[],o=!0,i=!1,a=void 0;try{for(var u=e[Symbol.iterator](),p;!(o=(p=u.next()).done)&&(n.push(p.value),!(t&&n.length===t));o=!0);}catch(m){i=!0,a=m}finally{try{!o&&u.return&&u.return()}finally{if(i)throw a}}return n}return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return r(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})(),ce=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r};jt.default=gg;var fg=Ve(),dg=yg(fg);function yg(r){return r&&r.__esModule?r:{default:r}}function hl(r,e){var t={};for(var n in r)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n]);return t}var mg={ignoreCase:!0};function gg(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:mg;function n(u){return t.ignoreCase?u.toUpperCase():u}var o=n(e);function i(u){return u.type==="Property"&&u.key.type==="Identifier"&&o===n(u.key.name)}var a=r.find(function(u){return u.type==="JSXSpreadAttribute"?u.argument.type==="ObjectExpression"&&o!==n("key")&&u.argument.properties.some(i):o===n((0,dg.default)(u))});return a&&a.type==="JSXSpreadAttribute"?vg(a.argument.properties.find(i)):a}function vg(r){var e=r.key,t=r.value;return ce({type:"JSXAttribute",name:ce({type:"JSXIdentifier",name:e.name},Rt(e)),value:t.type==="Literal"?Ne(t):ce({type:"JSXExpressionContainer",expression:hg(t)},Rt(t))},Rt(r))}function Ne(r){var e=r.range||[r.start,r.end],t=cg(e,2),n=t[0],o=t[1];return ce({},r,{end:void 0,range:[n,o],start:void 0})}function hg(r){var e=r.expressions,t=r.quasis,n=hl(r,["expressions","quasis"]);return ce({},Ne(n),e?{expressions:e.map(Ne)}:{},t?{quasis:t.map(Ne)}:{})}function Rt(r){var e=r.loc,t=hl(r,["loc"]),n=Ne(t),o=n.range;return{loc:bg(e),range:o}}function bg(r){var e=r.start,t=r.end,n=r.source,o=r.filename;return ce({start:e,end:t},n!==void 0?{source:n}:{},o!==void 0?{filename:o}:{})}});var Mt=s(Lt=>{"use strict";Object.defineProperty(Lt,"__esModule",{value:!0});Lt.default=xg;function xg(r){var e=r.value,t=typeof e=="string"&&e.toLowerCase();return t==="true"?!0:t==="false"?!1:e}});var Vt=s(Dt=>{"use strict";Object.defineProperty(Dt,"__esModule",{value:!0});Dt.default=Sg;function Sg(r){var e=dr().default,t=r.openingElement.name.name;return r.openingElement.selfClosing?"<"+t+" />":"<"+t+">"+[].concat(r.children).map(function(n){return e(n)}).join("")+"</"+t+">"}});var Bt=s(Ut=>{"use strict";Object.defineProperty(Ut,"__esModule",{value:!0});Ut.default=Eg;function Eg(r){return r.raw}});var Wt=s(Jt=>{"use strict";Object.defineProperty(Jt,"__esModule",{value:!0});Jt.default=wg;function wg(r){var e=dr().default;return r.children.length===0?"<></>":"<>"+[].concat(r.children).map(function(t){return e(t)}).join("")+"</>"}});var Sl=s(Ht=>{"use strict";Object.defineProperty(Ht,"__esModule",{value:!0});Ht.default=qg;var xl={Array,Date,Infinity:1/0,Math,Number,Object,String,undefined:void 0};function qg(r){var e=r.name;return Object.hasOwnProperty.call(xl,e)?xl[e]:e}});var Gt=s(Xt=>{"use strict";Object.defineProperty(Xt,"__esModule",{value:!0});Xt.default=Ag;function Pg(r,e){return(r.range?r.range[0]:r.start)-(e.range?e.range[0]:e.start)}function Ag(r){var e=r.quasis,t=r.expressions,n=e.concat(t);return n.sort(Pg).map(function(o){var i=o.type,a=o.value;a=a===void 0?{}:a;var u=a.raw,p=o.name;return i==="TemplateElement"?u:i==="Identifier"?p==="undefined"?p:"{"+p+"}":i.indexOf("Expression")>-1?"{"+i+"}":""}).join("")}});var El=s(Kt=>{"use strict";Object.defineProperty(Kt,"__esModule",{value:!0});Kt.default=_g;var Tg=Gt(),Og=$g(Tg);function $g(r){return r&&r.__esModule?r:{default:r}}function _g(r){return(0,Og.default)(r.quasi)}});var wl=s(zt=>{"use strict";Object.defineProperty(zt,"__esModule",{value:!0});zt.default=Ig;function Ig(r){return function(){return r}}});var ql=s(Qt=>{"use strict";Object.defineProperty(Qt,"__esModule",{value:!0});Qt.default=Cg;function Cg(r){var e=A().default,t=r.operator,n=r.left,o=r.right,i=e(n),a=e(o);return t==="&&"?i&&a:t==="??"?i===null||typeof i>"u"?a:i:i||a}});var Pl=s(Yt=>{"use strict";Object.defineProperty(Yt,"__esModule",{value:!0});Yt.default=kg;function kg(r){var e=A().default;return""+e(r.object)+(r.optional?"?.":".")+e(r.property)}});var Al=s(Zt=>{"use strict";Object.defineProperty(Zt,"__esModule",{value:!0});Zt.default=Fg;function Fg(r){var e=A().default;return e(r.expression||r)}});var Tl=s(en=>{"use strict";Object.defineProperty(en,"__esModule",{value:!0});en.default=Ng;function Ng(r){var e=A().default;return e(r.callee)+"?.("+r.arguments.map(function(t){return e(t)}).join(", ")+")"}});var Ol=s(rn=>{"use strict";Object.defineProperty(rn,"__esModule",{value:!0});rn.default=Rg;function Rg(r){var e=A().default;return e(r.object)+"?."+e(r.property)}});var nn=s(tn=>{"use strict";Object.defineProperty(tn,"__esModule",{value:!0});tn.default=jg;function jg(r){var e=A().default,t=Array.isArray(r.arguments)?r.arguments.map(function(n){return e(n)}).join(", "):"";return""+e(r.callee)+(r.optional?"?.":"")+"("+t+")"}});var $l=s(on=>{"use strict";Object.defineProperty(on,"__esModule",{value:!0});on.default=Lg;function Lg(r){var e=A().default,t=r.operator,n=r.argument;switch(t){case"-":return-e(n);case"+":return+e(n);case"!":return!e(n);case"~":return~e(n);case"delete":return!0;case"typeof":case"void":default:return}}});var sn=s(an=>{"use strict";Object.defineProperty(an,"__esModule",{value:!0});an.default=Mg;function Mg(){return"this"}});var _l=s(un=>{"use strict";Object.defineProperty(un,"__esModule",{value:!0});un.default=Dg;function Dg(r){var e=A().default,t=r.test,n=r.alternate,o=r.consequent;return e(t)?e(o):e(n)}});var Il=s(ln=>{"use strict";Object.defineProperty(ln,"__esModule",{value:!0});ln.default=Vg;function Vg(r){var e=A().default,t=r.operator,n=r.left,o=r.right,i=e(n),a=e(o);switch(t){case"==":return i==a;case"!=":return i!=a;case"===":return i===a;case"!==":return i!==a;case"<":return i<a;case"<=":return i<=a;case">":return i>a;case">=":return i>=a;case"<<":return i<<a;case">>":return i>>a;case">>>":return i>>>a;case"+":return i+a;case"-":return i-a;case"*":return i*a;case"/":return i/a;case"%":return i%a;case"|":return i|a;case"^":return i^a;case"&":return i&a;case"in":try{return i in a}catch{return!1}case"instanceof":return typeof a!="function"?!1:i instanceof a;default:return}}});var pn=s((QS,Nl)=>{"use strict";var Ug=_r(),kl=Ge()(),Fl=O(),yr=ee(),Bg=Fl("Array.prototype.push"),Cl=Fl("Object.prototype.propertyIsEnumerable"),Jg=kl?yr.getOwnPropertySymbols:null;Nl.exports=function(e,t){if(e==null)throw new TypeError("target must be an object");var n=yr(e);if(arguments.length===1)return n;for(var o=1;o<arguments.length;++o){var i=yr(arguments[o]),a=Ug(i),u=kl&&(yr.getOwnPropertySymbols||Jg);if(u)for(var p=u(i),m=0;m<p.length;++m){var y=p[m];Cl(i,y)&&Bg(a,y)}for(var f=0;f<a.length;++f){var c=a[f];if(Cl(i,c)){var h=i[c];n[c]=h}}}return n}});var fn=s((YS,Rl)=>{"use strict";var cn=pn(),Wg=function(){if(!Object.assign)return!1;for(var r="abcdefghijklmnopqrst",e=r.split(""),t={},n=0;n<e.length;++n)t[e[n]]=e[n];var o=Object.assign({},t),i="";for(var a in o)i+=a;return r!==i},Hg=function(){if(!Object.assign||!Object.preventExtensions)return!1;var r=Object.preventExtensions({1:2});try{Object.assign(r,"xy")}catch{return r[1]==="y"}return!1};Rl.exports=function(){return!Object.assign||Wg()||Hg()?cn:Object.assign}});var Ll=s((ZS,jl)=>{"use strict";var Xg=M(),Gg=fn();jl.exports=function(){var e=Gg();return Xg(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e}});var Ul=s((eE,Vl)=>{"use strict";var Kg=M(),zg=qe(),Qg=pn(),Ml=fn(),Yg=Ll(),Zg=zg.apply(Ml()),Dl=function(e,t){return Zg(Object,arguments)};Kg(Dl,{getPolyfill:Ml,implementation:Qg,shim:Yg});Vl.exports=Dl});var Wl=s(dn=>{"use strict";Object.defineProperty(dn,"__esModule",{value:!0});dn.default=Jl;var ev=Ul(),Bl=rv(ev);function rv(r){return r&&r.__esModule?r:{default:r}}function tv(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function Jl(r){var e=A().default;return r.properties.reduce(function(t,n){if(/^(?:Experimental)?Spread(?:Property|Element)$/.test(n.type)){if(n.argument.type==="ObjectExpression")return(0,Bl.default)({},t,Jl(n.argument))}else return(0,Bl.default)({},t,tv({},e(n.key),e(n.value)));return t},{})}});var Hl=s(yn=>{"use strict";Object.defineProperty(yn,"__esModule",{value:!0});yn.default=nv;function nv(){return new Object}});var Xl=s(mn=>{"use strict";Object.defineProperty(mn,"__esModule",{value:!0});mn.default=ov;function ov(r){var e=A().default,t=r.operator,n=r.argument,o=r.prefix,i=e(n);switch(t){case"++":return o?++i:i++;case"--":return o?--i:i--;default:return}}});var Gl=s(gn=>{"use strict";Object.defineProperty(gn,"__esModule",{value:!0});gn.default=iv;function iv(r){var e=A().default;return r.elements.map(function(t){if(t!==null)return e(t)})}});var Kl=s(vn=>{"use strict";Object.defineProperty(vn,"__esModule",{value:!0});vn.default=av;function av(r){var e=A().default,t=e(r.callee),n=r.object===null?e(r.callee.object):e(r.object);return r.object&&r.object.property?n+"."+t+".bind("+n+")":t+".bind("+n+")"}});var zl=s(hn=>{"use strict";Object.defineProperty(hn,"__esModule",{value:!0});hn.default=sv;function sv(){}});var Ql=s(bn=>{"use strict";Object.defineProperty(bn,"__esModule",{value:!0});bn.default=uv;function uv(r){var e=A().default;return e(r.expression)}});var Yl=s(xn=>{"use strict";Object.defineProperty(xn,"__esModule",{value:!0});xn.default=lv;function lv(r){var e=A().default;return r.expressions.map(function(t){return e(t)})}});var ep=s(Sn=>{"use strict";Object.defineProperty(Sn,"__esModule",{value:!0});Sn.default=W;var pv=sn().default,cv=nn().default;function Zl(r,e,t){return t.computed?t.optional?r+"?.["+e+"]":r+"["+e+"]":t.optional?r+"?."+e:r+"."+e}function W(r){var e="The prop value with an expression type of TSNonNullExpression could not be resolved. Please file an issue ( https://github.com/jsx-eslint/jsx-ast-utils/issues/new ) to get this fixed immediately.";if(r.type==="Identifier"){var t=r.name;return t}if(r.type==="Literal")return r.value;if(r.type==="TSAsExpression")return W(r.expression);if(r.type==="CallExpression")return cv(r);if(r.type==="ThisExpression")return pv();if(r.type==="TSNonNullExpression"&&(!r.extra||r.extra.parenthesized===!1)){var n=r.expression;return W(n)+"!"}if(r.type==="TSNonNullExpression"&&r.extra&&r.extra.parenthesized===!0){var o=r.expression;return"("+W(o)+"!)"}if(r.type==="MemberExpression"){if(!r.extra||r.extra.parenthesized===!1)return Zl(W(r.object),W(r.property),r);if(r.extra&&r.extra.parenthesized===!0){var i=Zl(W(r.object),W(r.property),r);return"("+i+")"}}if(r.expression)for(var a=r.expression;a;){if(a.type==="Identifier")return console.error(e),a.name;var u=a;a=u.expression}return console.error(e),""}});var rp=s(En=>{"use strict";Object.defineProperty(En,"__esModule",{value:!0});En.default=fv;function fv(r){var e=A().default;return e(r.left)+" "+r.operator+" "+e(r.right)}});var A=s(mr=>{"use strict";Object.defineProperty(mr,"__esModule",{value:!0});var dv=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r};mr.default=mh;mr.extractLiteral=gh;var yv=Mt(),mv=x(yv),gv=Vt(),vv=x(gv),hv=Wt(),bv=x(hv),xv=Bt(),Sv=x(xv),Ev=Sl(),wv=x(Ev),qv=El(),Pv=x(qv),Av=Gt(),Tv=x(Av),Ov=wl(),tp=x(Ov),$v=ql(),_v=x($v),Iv=Pl(),Cv=x(Iv),kv=Al(),Fv=x(kv),Nv=Tl(),Rv=x(Nv),jv=Ol(),Lv=x(jv),Mv=nn(),Dv=x(Mv),Vv=$l(),Uv=x(Vv),Bv=sn(),Jv=x(Bv),Wv=_l(),Hv=x(Wv),Xv=Il(),Gv=x(Xv),Kv=Wl(),zv=x(Kv),Qv=Hl(),Yv=x(Qv),Zv=Xl(),eh=x(Zv),rh=Gl(),th=x(rh),nh=Kl(),oh=x(nh),ih=zl(),ah=x(ih),sh=Ql(),uh=x(sh),lh=Yl(),ph=x(lh),ch=ep(),fh=x(ch),dh=rp(),yh=x(dh);function x(r){return r&&r.__esModule?r:{default:r}}var H={Identifier:wv.default,Literal:mv.default,JSXElement:vv.default,JSXFragment:bv.default,JSXText:Sv.default,TaggedTemplateExpression:Pv.default,TemplateLiteral:Tv.default,ArrowFunctionExpression:tp.default,FunctionExpression:tp.default,LogicalExpression:_v.default,MemberExpression:Cv.default,ChainExpression:Fv.default,OptionalCallExpression:Rv.default,OptionalMemberExpression:Lv.default,CallExpression:Dv.default,UnaryExpression:Uv.default,ThisExpression:Jv.default,ConditionalExpression:Hv.default,BinaryExpression:Gv.default,ObjectExpression:zv.default,NewExpression:Yv.default,UpdateExpression:eh.default,ArrayExpression:th.default,BindExpression:oh.default,SpreadElement:ah.default,TypeCastExpression:uh.default,SequenceExpression:ph.default,TSNonNullExpression:fh.default,AssignmentExpression:yh.default},q=function(){return null},op=function(e){return"The prop value with an expression type of "+e+" could not be resolved. Please file an issue ( https://github.com/jsx-eslint/jsx-ast-utils/issues/new ) to get this fixed immediately."};function mh(r){var e=void 0;typeof r.expression!="boolean"&&r.expression?e=r.expression:e=r;var t=e,n=t.type;for(e.object&&e.object.type==="TSNonNullExpression"&&(n="TSNonNullExpression");n==="TSAsExpression";){var o=e;if(n=o.type,e.expression){var i=e;e=i.expression}}return H[n]===void 0?(console.error(op(n)),null):H[n](e)}var np=dv({},H,{Literal:function(e){var t=H.Literal.call(void 0,e),n=t===null;return n?"null":t},Identifier:function(e){var t=H.Identifier.call(void 0,e)===void 0;return t?void 0:null},JSXElement:q,JSXFragment:q,JSXText:q,ArrowFunctionExpression:q,FunctionExpression:q,LogicalExpression:q,MemberExpression:q,OptionalCallExpression:q,OptionalMemberExpression:q,CallExpression:q,UnaryExpression:function(e){var t=H.UnaryExpression.call(void 0,e);return t===void 0?null:t},UpdateExpression:function(e){var t=H.UpdateExpression.call(void 0,e);return t===void 0?null:t},ThisExpression:q,ConditionalExpression:q,BinaryExpression:q,ObjectExpression:q,NewExpression:q,ArrayExpression:function(e){var t=H.ArrayExpression.call(void 0,e);return t.filter(function(n){return n!==null})},BindExpression:q,SpreadElement:q,TSNonNullExpression:q,TSAsExpression:q,TypeCastExpression:q,SequenceExpression:q,ChainExpression:q});function gh(r){var e=r.expression||r,t=e.type;return np[t]===void 0?(console.error(op(t)),null):np[t](e)}});var dr=s(gr=>{"use strict";Object.defineProperty(gr,"__esModule",{value:!0});var vh=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r};gr.default=Oh;gr.getLiteralValue=$h;var hh=Mt(),bh=Re(hh),xh=Vt(),Sh=Re(xh),Eh=Bt(),wh=Re(Eh),qh=Wt(),Ph=Re(qh),ip=A(),Ah=Re(ip);function Re(r){return r&&r.__esModule?r:{default:r}}var wn={Literal:bh.default,JSXElement:Sh.default,JSXExpressionContainer:Ah.default,JSXText:wh.default,JSXFragment:Ph.default},Th=vh({},wn,{JSXElement:function(){return null},JSXExpressionContainer:ip.extractLiteral});function Oh(r){return wn[r.type]||console.log(r.type),wn[r.type](r)}function $h(r){return Th[r.type](r)}});var up=s(vr=>{"use strict";Object.defineProperty(vr,"__esModule",{value:!0});vr.default=Ch;vr.getLiteralPropValue=kh;var ap=dr(),_h=Ih(ap);function Ih(r){return r&&r.__esModule?r:{default:r}}var sp=function(e,t){if(e&&e.type==="JSXAttribute")return e.value===null?!0:t(e.value)};function Ch(r){return sp(r,_h.default)}function kh(r){return sp(r,ap.getLiteralValue)}});var hr=s((yE,cp)=>{"use strict";var qn=Dn(),Fh=fe(qn),Nh=Un(),Rh=fe(Nh),lp=vl(),jh=fe(lp),Lh=bl(),Mh=fe(Lh),pp=up(),Dh=fe(pp),Vh=Ve(),Uh=fe(Vh);function fe(r){return r&&r.__esModule?r:{default:r}}cp.exports={hasProp:Fh.default,hasAnyProp:qn.hasAnyProp,hasEveryProp:qn.hasEveryProp,elementType:Rh.default,eventHandlers:jh.default,eventHandlersByType:lp.eventHandlersByType,getProp:Mh.default,getPropValue:Dh.default,getLiteralPropValue:pp.getLiteralPropValue,propName:Uh.default}});var yb={};Lp(yb,{configs:()=>cb,qwikEslint9Plugin:()=>kn,rules:()=>Op});module.exports=Mp(yb);var jn=require("@typescript-eslint/utils"),Dp=jn.ESLintUtils.RuleCreator(()=>"https://qwik.dev/docs/advanced/dollar/"),Ln=Dp({defaultOptions:[],name:"jsx-a-tag",meta:{type:"problem",docs:{description:"For a perfect SEO score, always provide href attribute for <a> elements.",recommended:"warn"},fixable:"code",schema:[],messages:{noHref:"For a perfect SEO score, always provide href attribute for <a> elements."}},create(r){return{JSXElement(e){e.openingElement.name.type==="JSXIdentifier"&&e.openingElement.name.name==="a"&&(e.openingElement.attributes.some(n=>n.type==="JSXSpreadAttribute")||e.openingElement.attributes.some(o=>o.type==="JSXAttribute"&&o.name.type==="JSXIdentifier"&&o.name.name==="href")||r.report({node:e,messageId:"noHref"}))}}}});var qp=require("@typescript-eslint/utils");var An=ye(hr());function Pn(r){return r.type==="FunctionExpression"||r.type==="ArrowFunctionExpression"}var br={checkFragmentShorthand:!1,checkKeyMustBeforeSpread:!1,warnOnDuplicates:!1},Bh={missingIterKey:'Missing "key" prop for element in iterator.',missingIterKeyUsePrag:'Missing "key" prop for element in iterator. The key prop allows for improved rendering performance. Shorthand fragment syntax does not support providing keys. Use <Fragment> instead',missingArrayKey:'Missing "key" prop for element in array. The key prop allows for improved rendering performance.',missingArrayKeyUsePrag:'Missing "key" prop for element in array. The key prop allows for improved rendering performance. Shorthand fragment syntax does not support providing keys. Use <Fragment> instead',nonUniqueKeys:"`key` prop must be unique"},fp={meta:{docs:{description:"Disallow missing `key` props in iterators/collection literals",category:"Possible Errors",recommended:!0,url:"https://qwik.dev/docs/advanced/eslint/#jsx-key"},messages:Bh,schema:[{type:"object",properties:{checkFragmentShorthand:{type:"boolean",default:br.checkFragmentShorthand},checkKeyMustBeforeSpread:{type:"boolean",default:br.checkKeyMustBeforeSpread},warnOnDuplicates:{type:"boolean",default:br.warnOnDuplicates}},additionalProperties:!1}]},create(r){if((r.sourceCode??r.getSourceCode()).getAllComments().some(l=>l.value.includes("@jsxImportSource")))return{};let n=Object.assign({},br,r.options[0]),o=n.checkFragmentShorthand,i=n.checkKeyMustBeforeSpread,a=n.warnOnDuplicates;function u(l){l.type==="JSXElement"&&!An.default.hasProp(l.openingElement.attributes,"key")?r.report({node:l,messageId:"missingIterKey"}):o&&l.type==="JSXFragment"&&r.report({node:l,messageId:"missingIterKeyUsePrag"})}function p(l,d=[]){return l.type==="IfStatement"?(l.consequent&&p(l.consequent,d),l.alternate&&p(l.alternate,d)):Array.isArray(l.body)&&l.body.forEach(E=>{E.type==="IfStatement"&&p(E,d),E.type==="ReturnStatement"&&d.push(E)}),d}function m(l){let d=!1;return l.some(E=>E.type==="JSXSpreadAttribute"?(d=!0,!1):E.type!=="JSXAttribute"?!1:d&&An.default.propName(E)==="key")}function y(l){Pn(l)&&l.body.type==="BlockStatement"&&p(l.body).filter(d=>d&&d.argument).forEach(d=>{u(d.argument)})}function f(l){let d=l&&l.type==="ArrowFunctionExpression",E=g=>g&&(g.type==="JSXElement"||g.type==="JSXFragment");d&&E(l.body)&&u(l.body),l.body.type==="ConditionalExpression"?(E(l.body.consequent)&&u(l.body.consequent),E(l.body.alternate)&&u(l.body.alternate)):l.body.type==="LogicalExpression"&&E(l.body.right)&&u(l.body.right)}let c=`:matches(
|
|
4
|
+
`+e.prev}function er(r,e){var t=Qr(r),n=[];if(t){n.length=r.length;for(var o=0;o<r.length;o++)n[o]=R(r,o)?e(r[o],r):""}var i=typeof Hr=="function"?Hr(r):[],a;if(se){a={};for(var u=0;u<i.length;u++)a["$"+i[u]]=i[u]}for(var p in r)R(r,p)&&(t&&String(Number(p))===p&&p<r.length||se&&a["$"+p]instanceof Symbol||(ca.call(/[^\w$]/,p)?n.push(e(p,r)+": "+e(r[p],r)):n.push(p+": "+e(r[p],r))));if(typeof Hr=="function")for(var y=0;y<i.length;y++)fa.call(r,i[y])&&n.push("["+e(i[y])+"]: "+e(r[i[y]],r));return n}});var B=s((Sx,xa)=>{"use strict";xa.exports=function(e){return typeof e=="string"||typeof e=="symbol"}});var $e=s((Ex,Ea)=>{"use strict";var Sa=b(),zf=ba(),Qf=B(),Yf=_();Ea.exports=function(e,t){if(!Yf(e))throw new Sa("Assertion failed: Type(O) is not Object");if(!Qf(t))throw new Sa("Assertion failed: P is not a Property Key, got "+zf(t));return e[t]}});var O=s((wx,Pa)=>{"use strict";var wa=T(),qa=xe(),Zf=qa([wa("%String.prototype.indexOf%")]);Pa.exports=function(e,t){var n=wa(e,!!t);return typeof n=="function"&&Zf(e,".prototype.")>-1?qa([n]):n}});var tt=s((qx,Ta)=>{"use strict";var ed=T(),Aa=ed("%Array%"),rd=!Aa.isArray&&O()("Object.prototype.toString");Ta.exports=Aa.isArray||function(e){return rd(e)==="[object Array]"}});var nr=s((Px,Oa)=>{"use strict";Oa.exports=tt()});var _a=s((Ax,$a)=>{"use strict";$a.exports=T()});var j=s((Tx,Ia)=>{"use strict";var td=b(),_e=D(),nd={__proto__:null,"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};Ia.exports=function(e){if(!e||typeof e!="object")return!1;for(var t in e)if(_e(e,t)&&!nd[t])return!1;var n=_e(e,"[[Value]]")||_e(e,"[[Writable]]"),o=_e(e,"[[Get]]")||_e(e,"[[Set]]");if(n&&o)throw new td("Property Descriptors may not be both accessor and data descriptors");return!0}});var nt=s((Ox,Fa)=>{"use strict";var od=be(),Ca=Y(),ka=od.hasArrayLengthDefineBug(),id=ka&&tt(),ad=O(),sd=ad("Object.prototype.propertyIsEnumerable");Fa.exports=function(e,t,n,o,i,a){if(!Ca){if(!e(a)||!a["[[Configurable]]"]||!a["[[Writable]]"]||i in o&&sd(o,i)!==!!a["[[Enumerable]]"])return!1;var u=a["[[Value]]"];return o[i]=u,t(o[i],u)}return ka&&i==="length"&&"[[Value]]"in a&&id(o)&&o.length!==a["[[Value]]"]?(o.length=a["[[Value]]"],o.length===a["[[Value]]"]):(Ca(o,i,n(a)),!0)}});var Ra=s(($x,Na)=>{"use strict";Na.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 ot=s((_x,ja)=>{"use strict";var ud=b(),ld=j(),pd=Ra();ja.exports=function(e){if(typeof e<"u"&&!ld(e))throw new ud("Assertion failed: `Desc` must be a Property Descriptor");return pd(e)}});var or=s((Ix,Ma)=>{"use strict";var cd=b(),La=D(),fd=j();Ma.exports=function(e){if(typeof e>"u")return!1;if(!fd(e))throw new cd("Assertion failed: `Desc` must be a Property Descriptor");return!(!La(e,"[[Value]]")&&!La(e,"[[Writable]]"))}});var ir=s((Cx,Va)=>{"use strict";var Da=re();Va.exports=function(e,t){return e===t?e===0?1/e===1/t:!0:Da(e)&&Da(t)}});var lt=s((kx,Ja)=>{"use strict";var Ba=Function.prototype.toString,ue=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,at,ar;if(typeof ue=="function"&&typeof Object.defineProperty=="function")try{at=Object.defineProperty({},"length",{get:function(){throw ar}}),ar={},ue(function(){throw 42},null,at)}catch(r){r!==ar&&(ue=null)}else ue=null;var dd=/^\s*class\b/,st=function(e){try{var t=Ba.call(e);return dd.test(t)}catch{return!1}},it=function(e){try{return st(e)?!1:(Ba.call(e),!0)}catch{return!1}},sr=Object.prototype.toString,md="[object Object]",yd="[object Function]",gd="[object GeneratorFunction]",vd="[object HTMLAllCollection]",hd="[object HTML document.all class]",bd="[object HTMLCollection]",xd=typeof Symbol=="function"&&!!Symbol.toStringTag,Sd=!(0 in[,]),ut=function(){return!1};typeof document=="object"&&(Ua=document.all,sr.call(Ua)===sr.call(document.all)&&(ut=function(e){if((Sd||!e)&&(typeof e>"u"||typeof e=="object"))try{var t=sr.call(e);return(t===vd||t===hd||t===bd||t===md)&&e("")==null}catch{}return!1}));var Ua;Ja.exports=ue?function(e){if(ut(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{ue(e,null,at)}catch(t){if(t!==ar)return!1}return!st(e)&&it(e)}:function(e){if(ut(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(xd)return it(e);if(st(e))return!1;var t=sr.call(e);return t!==yd&&t!==gd&&!/^\[object HTML/.test(t)?!1:it(e)}});var Ha=s((Fx,Wa)=>{"use strict";Wa.exports=lt()});var Ga=s((Nx,Xa)=>{"use strict";Xa.exports=function(e){return!!e}});var ct=s((Rx,za)=>{"use strict";var k=D(),ur=b(),Ed=_(),Ka=Ha(),pt=Ga();za.exports=function(e){if(!Ed(e))throw new ur("ToPropertyDescriptor requires an object");var t={};if(k(e,"enumerable")&&(t["[[Enumerable]]"]=pt(e.enumerable)),k(e,"configurable")&&(t["[[Configurable]]"]=pt(e.configurable)),k(e,"value")&&(t["[[Value]]"]=e.value),k(e,"writable")&&(t["[[Writable]]"]=pt(e.writable)),k(e,"get")){var n=e.get;if(typeof n<"u"&&!Ka(n))throw new ur("getter must be a function");t["[[Get]]"]=n}if(k(e,"set")){var o=e.set;if(typeof o<"u"&&!Ka(o))throw new ur("setter must be a function");t["[[Set]]"]=o}if((k(t,"[[Get]]")||k(t,"[[Set]]"))&&(k(t,"[[Value]]")||k(t,"[[Writable]]")))throw new ur("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return t}});var Za=s((jx,Ya)=>{"use strict";var ft=b(),wd=_(),Qa=j(),qd=nt(),Pd=ot(),Ad=or(),Td=B(),Od=ir(),$d=ct();Ya.exports=function(e,t,n){if(!wd(e))throw new ft("Assertion failed: Type(O) is not Object");if(!Td(t))throw new ft("Assertion failed: P is not a Property Key");var o=Qa(n)?n:$d(n);if(!Qa(o))throw new ft("Assertion failed: Desc is not a valid Property Descriptor");return qd(Ad,Od,Pd,e,t,o)}});var rs=s((Lx,yt)=>{"use strict";var _d=_a(),es=_d("%Reflect.construct%",!0),lr=Za();try{lr({},"",{"[[Get]]":function(){}})}catch{lr=null}lr&&es?(dt={},mt={},lr(mt,"length",{"[[Get]]":function(){throw dt},"[[Enumerable]]":!0}),yt.exports=function(e){try{es(e,mt)}catch(t){return t===dt}}):yt.exports=function(e){return typeof e=="function"&&!!e.prototype};var dt,mt});var ss=s((Mx,as)=>{"use strict";var Id=T(),ts=Id("%Symbol.species%",!0),ns=b(),Cd=Ur(),kd=_(),os=zi(),is=$e(),Fd=nr(),Nd=rs();as.exports=function(e,t){if(!Cd(t)||t<0)throw new ns("Assertion failed: length must be an integer >= 0");var n=Fd(e);if(!n)return os(t);var o=is(e,"constructor");if(ts&&kd(o)&&(o=is(o,ts),o===null&&(o=void 0)),typeof o>"u")return os(t);if(!Nd(o))throw new ns("C must be a constructor");return new o(t)}});var gt=s((Dx,us)=>{"use strict";us.exports=Number.MAX_SAFE_INTEGER||9007199254740991});var ps=s((Vx,ls)=>{"use strict";var Rd=T(),jd=O(),Ld=b(),Md=nr(),Dd=Rd("%Reflect.apply%",!0)||jd("Function.prototype.apply");ls.exports=function(e,t){var n=arguments.length>2?arguments[2]:[];if(!Md(n))throw new Ld("Assertion failed: optional `argumentsList`, if provided, must be a List");return Dd(e,t,n)}});var pr=s((Ux,fs)=>{"use strict";var Vd=b(),cs=D(),Ud=j();fs.exports=function(e){if(typeof e>"u")return!1;if(!Ud(e))throw new Vd("Assertion failed: `Desc` must be a Property Descriptor");return!(!cs(e,"[[Get]]")&&!cs(e,"[[Set]]"))}});var vt=s((Bx,ds)=>{"use strict";ds.exports=function(e){return e===null||typeof e!="function"&&typeof e!="object"}});var vs=s((Jx,gs)=>{"use strict";var ys=T(),Bd=ys("%Object.preventExtensions%",!0),Jd=ys("%Object.isExtensible%",!0),ms=vt();gs.exports=Bd?function(e){return!ms(e)&&Jd(e)}:function(e){return!ms(e)}});var bs=s((Wx,hs)=>{"use strict";var Wd=j();hs.exports=function(e,t){return Wd(t)&&"[[Enumerable]]"in t&&"[[Configurable]]"in t&&(e.IsAccessorDescriptor(t)||e.IsDataDescriptor(t))}});var Ss=s((Hx,xs)=>{"use strict";var Hd=b(),Xd=pr(),Gd=or(),Kd=j();xs.exports=function(e){if(typeof e>"u")return!1;if(!Kd(e))throw new Hd("Assertion failed: `Desc` must be a Property Descriptor");return!Xd(e)&&!Gd(e)}});var qs=s((Xx,ws)=>{"use strict";var le=b(),zd=_(),Ie=nt(),Qd=bs(),Es=j(),Ce=ot(),z=pr(),J=or(),Yd=Ss(),Zd=B(),F=ir();ws.exports=function(e,t,n,o,i){if(typeof e<"u"&&!zd(e))throw new le("Assertion failed: O must be undefined or an Object");if(!Zd(t))throw new le("Assertion failed: P must be a Property Key");if(typeof n!="boolean")throw new le("Assertion failed: extensible must be a Boolean");if(!Es(o))throw new le("Assertion failed: Desc must be a Property Descriptor");if(typeof i<"u"&&!Es(i))throw new le("Assertion failed: current must be a Property Descriptor, or undefined");if(typeof i>"u")return n?typeof e>"u"?!0:z(o)?Ie(J,F,Ce,e,t,o):Ie(J,F,Ce,e,t,{"[[Configurable]]":!!o["[[Configurable]]"],"[[Enumerable]]":!!o["[[Enumerable]]"],"[[Value]]":o["[[Value]]"],"[[Writable]]":!!o["[[Writable]]"]}):!1;if(!Qd({IsAccessorDescriptor:z,IsDataDescriptor:J},i))throw new le("`current`, when present, must be a fully populated and valid Property Descriptor");if(!i["[[Configurable]]"]){if("[[Configurable]]"in o&&o["[[Configurable]]"]||"[[Enumerable]]"in o&&!F(o["[[Enumerable]]"],i["[[Enumerable]]"])||!Yd(o)&&!F(z(o),z(i)))return!1;if(z(i)){if("[[Get]]"in o&&!F(o["[[Get]]"],i["[[Get]]"])||"[[Set]]"in o&&!F(o["[[Set]]"],i["[[Set]]"]))return!1}else if(!i["[[Writable]]"]&&("[[Writable]]"in o&&o["[[Writable]]"]||"[[Value]]"in o&&!F(o["[[Value]]"],i["[[Value]]"])))return!1}if(typeof e<"u"){var a,u;return J(i)&&z(o)?(a=("[[Configurable]]"in o?o:i)["[[Configurable]]"],u=("[[Enumerable]]"in o?o:i)["[[Enumerable]]"],Ie(J,F,Ce,e,t,{"[[Configurable]]":!!a,"[[Enumerable]]":!!u,"[[Get]]":("[[Get]]"in o?o:i)["[[Get]]"],"[[Set]]":("[[Set]]"in o?o:i)["[[Set]]"]})):z(i)&&J(o)?(a=("[[Configurable]]"in o?o:i)["[[Configurable]]"],u=("[[Enumerable]]"in o?o:i)["[[Enumerable]]"],Ie(J,F,Ce,e,t,{"[[Configurable]]":!!a,"[[Enumerable]]":!!u,"[[Value]]":("[[Value]]"in o?o:i)["[[Value]]"],"[[Writable]]":!!("[[Writable]]"in o?o:i)["[[Writable]]"]})):Ie(J,F,Ce,e,t,o)}return!0}});var Os=s((Gx,Ts)=>{"use strict";var Ps=L(),As=he(),ht=b(),em=_(),rm=j(),tm=pr(),nm=vs(),om=B(),im=ct(),am=ir(),sm=qs();Ts.exports=function(e,t,n){if(!em(e))throw new ht("Assertion failed: O must be an Object");if(!om(t))throw new ht("Assertion failed: P must be a Property Key");if(!rm(n))throw new ht("Assertion failed: Desc must be a Property Descriptor");if(!Ps){if(tm(n))throw new As("This environment does not support accessor property descriptors.");var o=!(t in e)&&n["[[Writable]]"]&&n["[[Enumerable]]"]&&n["[[Configurable]]"]&&"[[Value]]"in n,i=t in e&&(!("[[Configurable]]"in n)||n["[[Configurable]]"])&&(!("[[Enumerable]]"in n)||n["[[Enumerable]]"])&&(!("[[Writable]]"in n)||n["[[Writable]]"])&&"[[Value]]"in n;if(o||i)return e[t]=n["[[Value]]"],am(e[t],n["[[Value]]"]);throw new As("This environment does not support defining non-writable, non-enumerable, or non-configurable properties")}var a=Ps(e,t),u=a&&im(a),p=nm(e);return sm(e,t,p,n,u)}});var Is=s((Kx,_s)=>{"use strict";var $s=b(),um=_(),lm=B(),pm=Os();_s.exports=function(e,t,n){if(!um(e))throw new $s("Assertion failed: Type(O) is not Object");if(!lm(t))throw new $s("Assertion failed: P is not a Property Key");var o={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":n,"[[Writable]]":!0};return pm(e,t,o)}});var ks=s((zx,Cs)=>{"use strict";var bt=b(),cm=_(),fm=Is(),dm=B();Cs.exports=function(e,t,n){if(!cm(e))throw new bt("Assertion failed: Type(O) is not Object");if(!dm(t))throw new bt("Assertion failed: P is not a Property Key");var o=fm(e,t,n);if(!o)throw new bt("unable to create data property")}});var Rs=s((Qx,Ns)=>{"use strict";var Fs=b(),mm=_(),ym=B();Ns.exports=function(e,t){if(!mm(e))throw new Fs("Assertion failed: `O` must be an Object");if(!ym(t))throw new Fs("Assertion failed: `P` must be a Property Key");return t in e}});var Ls=s((Yx,js)=>{"use strict";js.exports=function(e){return e===null||typeof e!="function"&&typeof e!="object"}});var xt=s((Zx,Ms)=>{"use strict";var gm=Ge();Ms.exports=function(){return gm()&&!!Symbol.toStringTag}});var Us=s((eS,Vs)=>{"use strict";var Ds=O(),vm=Ds("Date.prototype.getDay"),hm=function(e){try{return vm(e),!0}catch{return!1}},bm=Ds("Object.prototype.toString"),xm="[object Date]",Sm=xt()();Vs.exports=function(e){return typeof e!="object"||e===null?!1:Sm?hm(e):bm(e)===xm}});var Gs=s((rS,Xs)=>{"use strict";var Bs=O(),Em=xt()(),wm=D(),qm=L(),wt;Em?(Js=Bs("RegExp.prototype.exec"),St={},cr=function(){throw St},Et={toString:cr,valueOf:cr},typeof Symbol.toPrimitive=="symbol"&&(Et[Symbol.toPrimitive]=cr),wt=function(e){if(!e||typeof e!="object")return!1;var t=qm(e,"lastIndex"),n=t&&wm(t,"value");if(!n)return!1;try{Js(e,Et)}catch(o){return o===St}}):(Ws=Bs("Object.prototype.toString"),Hs="[object RegExp]",wt=function(e){return!e||typeof e!="object"&&typeof e!="function"?!1:Ws(e)===Hs});var Js,St,cr,Et,Ws,Hs;Xs.exports=wt});var qt=s((tS,Ks)=>{"use strict";var Pm=O(),Am=Gs(),Tm=Pm("RegExp.prototype.exec"),Om=b();Ks.exports=function(e){if(!Am(e))throw new Om("`regex` must be a RegExp");return function(n){return Tm(e,n)!==null}}});var eu=s((nS,Pt)=>{"use strict";var Zs=O(),$m=Zs("Object.prototype.toString"),_m=Fr()(),Im=qt();_m?(zs=Zs("Symbol.prototype.toString"),Qs=Im(/^Symbol\(.*\)$/),Ys=function(e){return typeof e.valueOf()!="symbol"?!1:Qs(zs(e))},Pt.exports=function(e){if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||$m(e)!=="[object Symbol]")return!1;try{return Ys(e)}catch{return!1}}):Pt.exports=function(e){return!1};var zs,Qs,Ys});var ou=s((oS,nu)=>{"use strict";var Cm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol",At=Ls(),tu=lt(),km=Us(),ru=eu(),Fm=function(e,t){if(typeof e>"u"||e===null)throw new TypeError("Cannot call method on "+e);if(typeof t!="string"||t!=="number"&&t!=="string")throw new TypeError('hint must be "string" or "number"');var n=t==="string"?["toString","valueOf"]:["valueOf","toString"],o,i,a;for(a=0;a<n.length;++a)if(o=e[n[a]],tu(o)&&(i=o.call(e),At(i)))return i;throw new TypeError("No default value")},Nm=function(e,t){var n=e[t];if(n!==null&&typeof n<"u"){if(!tu(n))throw new TypeError(n+" returned for property "+String(t)+" of object "+e+" is not a function");return n}};nu.exports=function(e){if(At(e))return e;var t="default";arguments.length>1&&(arguments[1]===String?t="string":arguments[1]===Number&&(t="number"));var n;if(Cm&&(Symbol.toPrimitive?n=Nm(e,Symbol.toPrimitive):ru(e)&&(n=Symbol.prototype.valueOf)),typeof n<"u"){var o=n.call(e,t);if(At(o))return o;throw new TypeError("unable to convert exotic object to primitive")}return t==="default"&&(km(e)||ru(e))&&(t="string"),Fm(e,t==="default"?"number":t)}});var su=s((iS,au)=>{"use strict";var iu=ou();au.exports=function(e){return arguments.length>1?iu(e,arguments[1]):iu(e)}});var ke=s((aS,uu)=>{"use strict";var Rm=b();uu.exports=function(e){if(e==null)throw new Rm(arguments.length>0&&arguments[1]||"Cannot call method on "+e);return e}});var Tt=s((sS,lu)=>{"use strict";var jm=T(),Lm=jm("%String%"),Mm=b();lu.exports=function(e){if(typeof e=="symbol")throw new Mm("Cannot convert a Symbol value to a string");return Lm(e)}});var Ot=s((uS,fu)=>{"use strict";var Dm=ke(),Vm=Tt(),Um=O(),pu=Um("String.prototype.replace"),cu=/^\s$/.test("\u180E"),Bm=cu?/^[\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]+/,Jm=cu?/[\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]+$/;fu.exports=function(){var e=Vm(Dm(this));return pu(pu(e,Bm,""),Jm,"")}});var $t=s((lS,mu)=>{"use strict";var Wm=Ot(),du="\u200B",pe="\u180E";mu.exports=function(){return String.prototype.trim&&du.trim()===du&&pe.trim()===pe&&("_"+pe).trim()==="_"+pe&&(pe+"_").trim()===pe+"_"?String.prototype.trim:Wm}});var vu=s((pS,gu)=>{"use strict";var Hm=be()(),yu=He(),Xm=$t();gu.exports=function(){var e=Xm();return String.prototype.trim!==e&&(Hm?yu(String.prototype,"trim",e,!0):yu(String.prototype,"trim",e)),e}});var Su=s((cS,xu)=>{"use strict";var Gm=qe(),Km=M(),zm=ke(),Qm=Ot(),hu=$t(),Ym=vu(),Zm=Gm(hu()),bu=function(e){return zm(e),Zm(e)};Km(bu,{getPolyfill:hu,implementation:Qm,shim:Ym});xu.exports=bu});var Au=s((fS,Pu)=>{"use strict";var qu=T(),ey=qu("%RegExp%"),ry=b(),Eu=qu("%parseInt%"),ty=O(),fr=qt(),wu=ty("String.prototype.slice"),ny=fr(/^0b[01]+$/i),oy=fr(/^0o[0-7]+$/i),iy=fr(/^[-+]0x[0-9a-f]+$/i),ay=["\x85","\u200B","\uFFFE"].join(""),sy=new ey("["+ay+"]","g"),uy=fr(sy),ly=Su();Pu.exports=function r(e){if(typeof e!="string")throw new ry("Assertion failed: `argument` is not a String");if(ny(e))return+Eu(wu(e,2),2);if(oy(e))return+Eu(wu(e,2),8);if(uy(e)||iy(e))return NaN;var t=ly(e);return t!==e?r(t):+e}});var $u=s((dS,Ou)=>{"use strict";var py=T(),Tu=b(),cy=py("%Number%"),fy=vt(),dy=su(),my=Au();Ou.exports=function(e){var t=fy(e)?e:dy(e,cy);if(typeof t=="symbol")throw new Tu("Cannot convert a Symbol value to a number");if(typeof t=="bigint")throw new Tu("Conversion from 'BigInt' to 'number' is not allowed.");return typeof t=="string"?my(t):+t}});var Iu=s((mS,_u)=>{"use strict";var yy=Xe();_u.exports=function(e){return typeof e=="bigint"?e:yy(e)}});var Fu=s((yS,ku)=>{"use strict";var Cu=Iu(),gy=b();ku.exports=function(e){if(typeof e!="number"&&typeof e!="bigint")throw new gy("argument must be a Number or a BigInt");var t=e<0?-Cu(-e):Cu(e);return t===0?0:t}});var _t=s((gS,Nu)=>{"use strict";var vy=$u(),hy=Fu(),by=re(),xy=Vr();Nu.exports=function(e){var t=vy(e);return by(t)||t===0?0:xy(t)?hy(t):t}});var It=s((vS,ju)=>{"use strict";var Ru=gt(),Sy=_t();ju.exports=function(e){var t=Sy(e);return t<=0?0:t>Ru?Ru:t}});var Mu=s((hS,Lu)=>{"use strict";var Ey=b(),wy=_(),qy=$e(),Py=It();Lu.exports=function(e){if(!wy(e))throw new Ey("Assertion failed: `obj` must be an Object");return Py(qy(e,"length"))}});var Bu=s((bS,Uu)=>{"use strict";var Du=b(),Ay=gt(),Ty=ps(),Oy=ks(),$y=$e(),_y=Rs(),Iy=nr(),Cy=Mu(),Vu=Tt();Uu.exports=function r(e,t,n,o,i){var a;arguments.length>5&&(a=arguments[5]);for(var u=o,p=0;p<n;){var y=Vu(p),m=_y(t,y);if(m===!0){var f=$y(t,y);if(typeof a<"u"){if(arguments.length<=6)throw new Du("Assertion failed: thisArg is required when mapperFunction is provided");f=Ty(a,arguments[6],[f,p,t])}var c=!1;if(i>0&&(c=Iy(f)),c){var h=Cy(f);u=r(e,f,h,u,i-1)}else{if(u>=Ay)throw new Du("index too large");Oy(e,Vu(u),f),u+=1}}p+=1}return u}});var Wu=s((xS,Ju)=>{"use strict";var ky=ee(),Fy=ke();Ju.exports=function(e){return Fy(e),ky(e)}});var Xu=s((SS,Hu)=>{"use strict";Hu.exports=Wu()});var Ct=s((ES,Gu)=>{"use strict";var Ny=ss(),Ry=Bu(),jy=$e(),Ly=_t(),My=It(),Dy=Xu();Gu.exports=function(){var e=Dy(this),t=My(jy(e,"length")),n=1;arguments.length>0&&typeof arguments[0]<"u"&&(n=Ly(arguments[0]));var o=Ny(e,0);return Ry(o,e,t,0,n),o}});var kt=s((wS,Ku)=>{"use strict";var Vy=Ct();Ku.exports=function(){return Array.prototype.flat||Vy}});var el=s((qS,Zu)=>{"use strict";var Uy=D(),Yu=typeof Symbol=="function"&&typeof Symbol.unscopables=="symbol",zu=Yu&&Array.prototype[Symbol.unscopables],Qu=TypeError;Zu.exports=function(e){if(typeof e!="string"||!e)throw new Qu("method must be a non-empty string");if(!Uy(Array.prototype,e))throw new Qu("method must be on Array.prototype");Yu&&zu&&(zu[e]=!0)}});var tl=s((PS,rl)=>{"use strict";var By=M(),Jy=el(),Wy=kt();rl.exports=function(){var e=Wy();return By(Array.prototype,{flat:e},{flat:function(){return Array.prototype.flat!==e}}),Jy("flat"),e}});var al=s((AS,il)=>{"use strict";var Hy=M(),Xy=qe(),Gy=Ct(),nl=kt(),Ky=nl(),zy=tl(),ol=Xy(Ky);Hy(ol,{getPolyfill:nl,implementation:Gy,shim:zy});il.exports=ol});var Ft=s((TS,sl)=>{"use strict";var Qy=ke(),Yy=O(),Zy=Yy("Object.prototype.propertyIsEnumerable");sl.exports=function(e){var t=Qy(e),n=[];for(var o in t)Zy(t,o)&&(n[n.length]=t[o]);return n}});var Nt=s((OS,ul)=>{"use strict";var eg=Ft();ul.exports=function(){return typeof Object.values=="function"?Object.values:eg}});var pl=s(($S,ll)=>{"use strict";var rg=Nt(),tg=M();ll.exports=function(){var e=rg();return tg(Object,{values:e},{values:function(){return Object.values!==e}}),e}});var ml=s((_S,dl)=>{"use strict";var ng=M(),og=qe(),ig=Ft(),cl=Nt(),ag=pl(),fl=og(cl(),Object);ng(fl,{getPolyfill:cl,implementation:ig,shim:ag});dl.exports=fl});var vl=s(Fe=>{"use strict";Object.defineProperty(Fe,"__esModule",{value:!0});Fe.eventHandlersByType=void 0;var sg=al(),ug=yl(sg),lg=ml(),pg=yl(lg);function yl(r){return r&&r.__esModule?r:{default:r}}var gl={clipboard:["onCopy","onCut","onPaste"],composition:["onCompositionEnd","onCompositionStart","onCompositionUpdate"],keyboard:["onKeyDown","onKeyPress","onKeyUp"],focus:["onFocus","onBlur"],form:["onChange","onInput","onSubmit"],mouse:["onClick","onContextMenu","onDblClick","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp"],selection:["onSelect"],touch:["onTouchCancel","onTouchEnd","onTouchMove","onTouchStart"],ui:["onScroll"],wheel:["onWheel"],media:["onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting"],image:["onLoad","onError"],animation:["onAnimationStart","onAnimationEnd","onAnimationIteration"],transition:["onTransitionEnd"]};Fe.default=(0,ug.default)((0,pg.default)(gl));Fe.eventHandlersByType=gl});var bl=s(jt=>{"use strict";Object.defineProperty(jt,"__esModule",{value:!0});var cg=(function(){function r(e,t){var n=[],o=!0,i=!1,a=void 0;try{for(var u=e[Symbol.iterator](),p;!(o=(p=u.next()).done)&&(n.push(p.value),!(t&&n.length===t));o=!0);}catch(y){i=!0,a=y}finally{try{!o&&u.return&&u.return()}finally{if(i)throw a}}return n}return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return r(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})(),ce=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r};jt.default=gg;var fg=Ve(),dg=mg(fg);function mg(r){return r&&r.__esModule?r:{default:r}}function hl(r,e){var t={};for(var n in r)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n]);return t}var yg={ignoreCase:!0};function gg(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:yg;function n(u){return t.ignoreCase?u.toUpperCase():u}var o=n(e);function i(u){return u.type==="Property"&&u.key.type==="Identifier"&&o===n(u.key.name)}var a=r.find(function(u){return u.type==="JSXSpreadAttribute"?u.argument.type==="ObjectExpression"&&o!==n("key")&&u.argument.properties.some(i):o===n((0,dg.default)(u))});return a&&a.type==="JSXSpreadAttribute"?vg(a.argument.properties.find(i)):a}function vg(r){var e=r.key,t=r.value;return ce({type:"JSXAttribute",name:ce({type:"JSXIdentifier",name:e.name},Rt(e)),value:t.type==="Literal"?Ne(t):ce({type:"JSXExpressionContainer",expression:hg(t)},Rt(t))},Rt(r))}function Ne(r){var e=r.range||[r.start,r.end],t=cg(e,2),n=t[0],o=t[1];return ce({},r,{end:void 0,range:[n,o],start:void 0})}function hg(r){var e=r.expressions,t=r.quasis,n=hl(r,["expressions","quasis"]);return ce({},Ne(n),e?{expressions:e.map(Ne)}:{},t?{quasis:t.map(Ne)}:{})}function Rt(r){var e=r.loc,t=hl(r,["loc"]),n=Ne(t),o=n.range;return{loc:bg(e),range:o}}function bg(r){var e=r.start,t=r.end,n=r.source,o=r.filename;return ce({start:e,end:t},n!==void 0?{source:n}:{},o!==void 0?{filename:o}:{})}});var Mt=s(Lt=>{"use strict";Object.defineProperty(Lt,"__esModule",{value:!0});Lt.default=xg;function xg(r){var e=r.value,t=typeof e=="string"&&e.toLowerCase();return t==="true"?!0:t==="false"?!1:e}});var Vt=s(Dt=>{"use strict";Object.defineProperty(Dt,"__esModule",{value:!0});Dt.default=Sg;function Sg(r){var e=dr().default,t=r.openingElement.name.name;return r.openingElement.selfClosing?"<"+t+" />":"<"+t+">"+[].concat(r.children).map(function(n){return e(n)}).join("")+"</"+t+">"}});var Bt=s(Ut=>{"use strict";Object.defineProperty(Ut,"__esModule",{value:!0});Ut.default=Eg;function Eg(r){return r.raw}});var Wt=s(Jt=>{"use strict";Object.defineProperty(Jt,"__esModule",{value:!0});Jt.default=wg;function wg(r){var e=dr().default;return r.children.length===0?"<></>":"<>"+[].concat(r.children).map(function(t){return e(t)}).join("")+"</>"}});var Sl=s(Ht=>{"use strict";Object.defineProperty(Ht,"__esModule",{value:!0});Ht.default=qg;var xl={Array,Date,Infinity:1/0,Math,Number,Object,String,undefined:void 0};function qg(r){var e=r.name;return Object.hasOwnProperty.call(xl,e)?xl[e]:e}});var Gt=s(Xt=>{"use strict";Object.defineProperty(Xt,"__esModule",{value:!0});Xt.default=Ag;function Pg(r,e){return(r.range?r.range[0]:r.start)-(e.range?e.range[0]:e.start)}function Ag(r){var e=r.quasis,t=r.expressions,n=e.concat(t);return n.sort(Pg).map(function(o){var i=o.type,a=o.value;a=a===void 0?{}:a;var u=a.raw,p=o.name;return i==="TemplateElement"?u:i==="Identifier"?p==="undefined"?p:"{"+p+"}":i.indexOf("Expression")>-1?"{"+i+"}":""}).join("")}});var El=s(Kt=>{"use strict";Object.defineProperty(Kt,"__esModule",{value:!0});Kt.default=_g;var Tg=Gt(),Og=$g(Tg);function $g(r){return r&&r.__esModule?r:{default:r}}function _g(r){return(0,Og.default)(r.quasi)}});var wl=s(zt=>{"use strict";Object.defineProperty(zt,"__esModule",{value:!0});zt.default=Ig;function Ig(r){return function(){return r}}});var ql=s(Qt=>{"use strict";Object.defineProperty(Qt,"__esModule",{value:!0});Qt.default=Cg;function Cg(r){var e=A().default,t=r.operator,n=r.left,o=r.right,i=e(n),a=e(o);return t==="&&"?i&&a:t==="??"?i===null||typeof i>"u"?a:i:i||a}});var Pl=s(Yt=>{"use strict";Object.defineProperty(Yt,"__esModule",{value:!0});Yt.default=kg;function kg(r){var e=A().default;return""+e(r.object)+(r.optional?"?.":".")+e(r.property)}});var Al=s(Zt=>{"use strict";Object.defineProperty(Zt,"__esModule",{value:!0});Zt.default=Fg;function Fg(r){var e=A().default;return e(r.expression||r)}});var Tl=s(en=>{"use strict";Object.defineProperty(en,"__esModule",{value:!0});en.default=Ng;function Ng(r){var e=A().default;return e(r.callee)+"?.("+r.arguments.map(function(t){return e(t)}).join(", ")+")"}});var Ol=s(rn=>{"use strict";Object.defineProperty(rn,"__esModule",{value:!0});rn.default=Rg;function Rg(r){var e=A().default;return e(r.object)+"?."+e(r.property)}});var nn=s(tn=>{"use strict";Object.defineProperty(tn,"__esModule",{value:!0});tn.default=jg;function jg(r){var e=A().default,t=Array.isArray(r.arguments)?r.arguments.map(function(n){return e(n)}).join(", "):"";return""+e(r.callee)+(r.optional?"?.":"")+"("+t+")"}});var $l=s(on=>{"use strict";Object.defineProperty(on,"__esModule",{value:!0});on.default=Lg;function Lg(r){var e=A().default,t=r.operator,n=r.argument;switch(t){case"-":return-e(n);case"+":return+e(n);case"!":return!e(n);case"~":return~e(n);case"delete":return!0;case"typeof":case"void":default:return}}});var sn=s(an=>{"use strict";Object.defineProperty(an,"__esModule",{value:!0});an.default=Mg;function Mg(){return"this"}});var _l=s(un=>{"use strict";Object.defineProperty(un,"__esModule",{value:!0});un.default=Dg;function Dg(r){var e=A().default,t=r.test,n=r.alternate,o=r.consequent;return e(t)?e(o):e(n)}});var Il=s(ln=>{"use strict";Object.defineProperty(ln,"__esModule",{value:!0});ln.default=Vg;function Vg(r){var e=A().default,t=r.operator,n=r.left,o=r.right,i=e(n),a=e(o);switch(t){case"==":return i==a;case"!=":return i!=a;case"===":return i===a;case"!==":return i!==a;case"<":return i<a;case"<=":return i<=a;case">":return i>a;case">=":return i>=a;case"<<":return i<<a;case">>":return i>>a;case">>>":return i>>>a;case"+":return i+a;case"-":return i-a;case"*":return i*a;case"/":return i/a;case"%":return i%a;case"|":return i|a;case"^":return i^a;case"&":return i&a;case"in":try{return i in a}catch{return!1}case"instanceof":return typeof a!="function"?!1:i instanceof a;default:return}}});var pn=s((QS,Nl)=>{"use strict";var Ug=_r(),kl=Ge()(),Fl=O(),mr=ee(),Bg=Fl("Array.prototype.push"),Cl=Fl("Object.prototype.propertyIsEnumerable"),Jg=kl?mr.getOwnPropertySymbols:null;Nl.exports=function(e,t){if(e==null)throw new TypeError("target must be an object");var n=mr(e);if(arguments.length===1)return n;for(var o=1;o<arguments.length;++o){var i=mr(arguments[o]),a=Ug(i),u=kl&&(mr.getOwnPropertySymbols||Jg);if(u)for(var p=u(i),y=0;y<p.length;++y){var m=p[y];Cl(i,m)&&Bg(a,m)}for(var f=0;f<a.length;++f){var c=a[f];if(Cl(i,c)){var h=i[c];n[c]=h}}}return n}});var fn=s((YS,Rl)=>{"use strict";var cn=pn(),Wg=function(){if(!Object.assign)return!1;for(var r="abcdefghijklmnopqrst",e=r.split(""),t={},n=0;n<e.length;++n)t[e[n]]=e[n];var o=Object.assign({},t),i="";for(var a in o)i+=a;return r!==i},Hg=function(){if(!Object.assign||!Object.preventExtensions)return!1;var r=Object.preventExtensions({1:2});try{Object.assign(r,"xy")}catch{return r[1]==="y"}return!1};Rl.exports=function(){return!Object.assign||Wg()||Hg()?cn:Object.assign}});var Ll=s((ZS,jl)=>{"use strict";var Xg=M(),Gg=fn();jl.exports=function(){var e=Gg();return Xg(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e}});var Ul=s((eE,Vl)=>{"use strict";var Kg=M(),zg=qe(),Qg=pn(),Ml=fn(),Yg=Ll(),Zg=zg.apply(Ml()),Dl=function(e,t){return Zg(Object,arguments)};Kg(Dl,{getPolyfill:Ml,implementation:Qg,shim:Yg});Vl.exports=Dl});var Wl=s(dn=>{"use strict";Object.defineProperty(dn,"__esModule",{value:!0});dn.default=Jl;var ev=Ul(),Bl=rv(ev);function rv(r){return r&&r.__esModule?r:{default:r}}function tv(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function Jl(r){var e=A().default;return r.properties.reduce(function(t,n){if(/^(?:Experimental)?Spread(?:Property|Element)$/.test(n.type)){if(n.argument.type==="ObjectExpression")return(0,Bl.default)({},t,Jl(n.argument))}else return(0,Bl.default)({},t,tv({},e(n.key),e(n.value)));return t},{})}});var Hl=s(mn=>{"use strict";Object.defineProperty(mn,"__esModule",{value:!0});mn.default=nv;function nv(){return new Object}});var Xl=s(yn=>{"use strict";Object.defineProperty(yn,"__esModule",{value:!0});yn.default=ov;function ov(r){var e=A().default,t=r.operator,n=r.argument,o=r.prefix,i=e(n);switch(t){case"++":return o?++i:i++;case"--":return o?--i:i--;default:return}}});var Gl=s(gn=>{"use strict";Object.defineProperty(gn,"__esModule",{value:!0});gn.default=iv;function iv(r){var e=A().default;return r.elements.map(function(t){if(t!==null)return e(t)})}});var Kl=s(vn=>{"use strict";Object.defineProperty(vn,"__esModule",{value:!0});vn.default=av;function av(r){var e=A().default,t=e(r.callee),n=r.object===null?e(r.callee.object):e(r.object);return r.object&&r.object.property?n+"."+t+".bind("+n+")":t+".bind("+n+")"}});var zl=s(hn=>{"use strict";Object.defineProperty(hn,"__esModule",{value:!0});hn.default=sv;function sv(){}});var Ql=s(bn=>{"use strict";Object.defineProperty(bn,"__esModule",{value:!0});bn.default=uv;function uv(r){var e=A().default;return e(r.expression)}});var Yl=s(xn=>{"use strict";Object.defineProperty(xn,"__esModule",{value:!0});xn.default=lv;function lv(r){var e=A().default;return r.expressions.map(function(t){return e(t)})}});var ep=s(Sn=>{"use strict";Object.defineProperty(Sn,"__esModule",{value:!0});Sn.default=W;var pv=sn().default,cv=nn().default;function Zl(r,e,t){return t.computed?t.optional?r+"?.["+e+"]":r+"["+e+"]":t.optional?r+"?."+e:r+"."+e}function W(r){var e="The prop value with an expression type of TSNonNullExpression could not be resolved. Please file an issue ( https://github.com/jsx-eslint/jsx-ast-utils/issues/new ) to get this fixed immediately.";if(r.type==="Identifier"){var t=r.name;return t}if(r.type==="Literal")return r.value;if(r.type==="TSAsExpression")return W(r.expression);if(r.type==="CallExpression")return cv(r);if(r.type==="ThisExpression")return pv();if(r.type==="TSNonNullExpression"&&(!r.extra||r.extra.parenthesized===!1)){var n=r.expression;return W(n)+"!"}if(r.type==="TSNonNullExpression"&&r.extra&&r.extra.parenthesized===!0){var o=r.expression;return"("+W(o)+"!)"}if(r.type==="MemberExpression"){if(!r.extra||r.extra.parenthesized===!1)return Zl(W(r.object),W(r.property),r);if(r.extra&&r.extra.parenthesized===!0){var i=Zl(W(r.object),W(r.property),r);return"("+i+")"}}if(r.expression)for(var a=r.expression;a;){if(a.type==="Identifier")return console.error(e),a.name;var u=a;a=u.expression}return console.error(e),""}});var rp=s(En=>{"use strict";Object.defineProperty(En,"__esModule",{value:!0});En.default=fv;function fv(r){var e=A().default;return e(r.left)+" "+r.operator+" "+e(r.right)}});var A=s(yr=>{"use strict";Object.defineProperty(yr,"__esModule",{value:!0});var dv=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r};yr.default=yh;yr.extractLiteral=gh;var mv=Mt(),yv=x(mv),gv=Vt(),vv=x(gv),hv=Wt(),bv=x(hv),xv=Bt(),Sv=x(xv),Ev=Sl(),wv=x(Ev),qv=El(),Pv=x(qv),Av=Gt(),Tv=x(Av),Ov=wl(),tp=x(Ov),$v=ql(),_v=x($v),Iv=Pl(),Cv=x(Iv),kv=Al(),Fv=x(kv),Nv=Tl(),Rv=x(Nv),jv=Ol(),Lv=x(jv),Mv=nn(),Dv=x(Mv),Vv=$l(),Uv=x(Vv),Bv=sn(),Jv=x(Bv),Wv=_l(),Hv=x(Wv),Xv=Il(),Gv=x(Xv),Kv=Wl(),zv=x(Kv),Qv=Hl(),Yv=x(Qv),Zv=Xl(),eh=x(Zv),rh=Gl(),th=x(rh),nh=Kl(),oh=x(nh),ih=zl(),ah=x(ih),sh=Ql(),uh=x(sh),lh=Yl(),ph=x(lh),ch=ep(),fh=x(ch),dh=rp(),mh=x(dh);function x(r){return r&&r.__esModule?r:{default:r}}var H={Identifier:wv.default,Literal:yv.default,JSXElement:vv.default,JSXFragment:bv.default,JSXText:Sv.default,TaggedTemplateExpression:Pv.default,TemplateLiteral:Tv.default,ArrowFunctionExpression:tp.default,FunctionExpression:tp.default,LogicalExpression:_v.default,MemberExpression:Cv.default,ChainExpression:Fv.default,OptionalCallExpression:Rv.default,OptionalMemberExpression:Lv.default,CallExpression:Dv.default,UnaryExpression:Uv.default,ThisExpression:Jv.default,ConditionalExpression:Hv.default,BinaryExpression:Gv.default,ObjectExpression:zv.default,NewExpression:Yv.default,UpdateExpression:eh.default,ArrayExpression:th.default,BindExpression:oh.default,SpreadElement:ah.default,TypeCastExpression:uh.default,SequenceExpression:ph.default,TSNonNullExpression:fh.default,AssignmentExpression:mh.default},q=function(){return null},op=function(e){return"The prop value with an expression type of "+e+" could not be resolved. Please file an issue ( https://github.com/jsx-eslint/jsx-ast-utils/issues/new ) to get this fixed immediately."};function yh(r){var e=void 0;typeof r.expression!="boolean"&&r.expression?e=r.expression:e=r;var t=e,n=t.type;for(e.object&&e.object.type==="TSNonNullExpression"&&(n="TSNonNullExpression");n==="TSAsExpression";){var o=e;if(n=o.type,e.expression){var i=e;e=i.expression}}return H[n]===void 0?(console.error(op(n)),null):H[n](e)}var np=dv({},H,{Literal:function(e){var t=H.Literal.call(void 0,e),n=t===null;return n?"null":t},Identifier:function(e){var t=H.Identifier.call(void 0,e)===void 0;return t?void 0:null},JSXElement:q,JSXFragment:q,JSXText:q,ArrowFunctionExpression:q,FunctionExpression:q,LogicalExpression:q,MemberExpression:q,OptionalCallExpression:q,OptionalMemberExpression:q,CallExpression:q,UnaryExpression:function(e){var t=H.UnaryExpression.call(void 0,e);return t===void 0?null:t},UpdateExpression:function(e){var t=H.UpdateExpression.call(void 0,e);return t===void 0?null:t},ThisExpression:q,ConditionalExpression:q,BinaryExpression:q,ObjectExpression:q,NewExpression:q,ArrayExpression:function(e){var t=H.ArrayExpression.call(void 0,e);return t.filter(function(n){return n!==null})},BindExpression:q,SpreadElement:q,TSNonNullExpression:q,TSAsExpression:q,TypeCastExpression:q,SequenceExpression:q,ChainExpression:q});function gh(r){var e=r.expression||r,t=e.type;return np[t]===void 0?(console.error(op(t)),null):np[t](e)}});var dr=s(gr=>{"use strict";Object.defineProperty(gr,"__esModule",{value:!0});var vh=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r};gr.default=Oh;gr.getLiteralValue=$h;var hh=Mt(),bh=Re(hh),xh=Vt(),Sh=Re(xh),Eh=Bt(),wh=Re(Eh),qh=Wt(),Ph=Re(qh),ip=A(),Ah=Re(ip);function Re(r){return r&&r.__esModule?r:{default:r}}var wn={Literal:bh.default,JSXElement:Sh.default,JSXExpressionContainer:Ah.default,JSXText:wh.default,JSXFragment:Ph.default},Th=vh({},wn,{JSXElement:function(){return null},JSXExpressionContainer:ip.extractLiteral});function Oh(r){return wn[r.type]||console.log(r.type),wn[r.type](r)}function $h(r){return Th[r.type](r)}});var up=s(vr=>{"use strict";Object.defineProperty(vr,"__esModule",{value:!0});vr.default=Ch;vr.getLiteralPropValue=kh;var ap=dr(),_h=Ih(ap);function Ih(r){return r&&r.__esModule?r:{default:r}}var sp=function(e,t){if(e&&e.type==="JSXAttribute")return e.value===null?!0:t(e.value)};function Ch(r){return sp(r,_h.default)}function kh(r){return sp(r,ap.getLiteralValue)}});var hr=s((mE,cp)=>{"use strict";var qn=Dn(),Fh=fe(qn),Nh=Un(),Rh=fe(Nh),lp=vl(),jh=fe(lp),Lh=bl(),Mh=fe(Lh),pp=up(),Dh=fe(pp),Vh=Ve(),Uh=fe(Vh);function fe(r){return r&&r.__esModule?r:{default:r}}cp.exports={hasProp:Fh.default,hasAnyProp:qn.hasAnyProp,hasEveryProp:qn.hasEveryProp,elementType:Rh.default,eventHandlers:jh.default,eventHandlersByType:lp.eventHandlersByType,getProp:Mh.default,getPropValue:Dh.default,getLiteralPropValue:pp.getLiteralPropValue,propName:Uh.default}});var mb={};Lp(mb,{configs:()=>cb,qwikEslint9Plugin:()=>kn,rules:()=>Op});module.exports=Mp(mb);var jn=require("@typescript-eslint/utils"),Dp=jn.ESLintUtils.RuleCreator(()=>"https://qwik.dev/docs/advanced/dollar/"),Ln=Dp({defaultOptions:[],name:"jsx-a-tag",meta:{type:"problem",docs:{description:"For a perfect SEO score, always provide href attribute for <a> elements.",recommended:"warn"},fixable:"code",schema:[],messages:{noHref:"For a perfect SEO score, always provide href attribute for <a> elements."}},create(r){return{JSXElement(e){e.openingElement.name.type==="JSXIdentifier"&&e.openingElement.name.name==="a"&&(e.openingElement.attributes.some(n=>n.type==="JSXSpreadAttribute")||e.openingElement.attributes.some(o=>o.type==="JSXAttribute"&&o.name.type==="JSXIdentifier"&&o.name.name==="href")||r.report({node:e,messageId:"noHref"}))}}}});var qp=require("@typescript-eslint/utils");var An=me(hr());function Pn(r){return r.type==="FunctionExpression"||r.type==="ArrowFunctionExpression"}var br={checkFragmentShorthand:!1,checkKeyMustBeforeSpread:!1,warnOnDuplicates:!1},Bh={missingIterKey:'Missing "key" prop for element in iterator.',missingIterKeyUsePrag:'Missing "key" prop for element in iterator. The key prop allows for improved rendering performance. Shorthand fragment syntax does not support providing keys. Use <Fragment> instead',missingArrayKey:'Missing "key" prop for element in array. The key prop allows for improved rendering performance.',missingArrayKeyUsePrag:'Missing "key" prop for element in array. The key prop allows for improved rendering performance. Shorthand fragment syntax does not support providing keys. Use <Fragment> instead',nonUniqueKeys:"`key` prop must be unique"},fp={meta:{docs:{description:"Disallow missing `key` props in iterators/collection literals",category:"Possible Errors",recommended:!0,url:"https://qwik.dev/docs/advanced/eslint/#jsx-key"},messages:Bh,schema:[{type:"object",properties:{checkFragmentShorthand:{type:"boolean",default:br.checkFragmentShorthand},checkKeyMustBeforeSpread:{type:"boolean",default:br.checkKeyMustBeforeSpread},warnOnDuplicates:{type:"boolean",default:br.warnOnDuplicates}},additionalProperties:!1}]},create(r){if((r.sourceCode??r.getSourceCode()).getAllComments().some(l=>l.value.includes("@jsxImportSource")))return{};let n=Object.assign({},br,r.options[0]),o=n.checkFragmentShorthand,i=n.checkKeyMustBeforeSpread,a=n.warnOnDuplicates;function u(l){l.type==="JSXElement"&&!An.default.hasProp(l.openingElement.attributes,"key")?r.report({node:l,messageId:"missingIterKey"}):o&&l.type==="JSXFragment"&&r.report({node:l,messageId:"missingIterKeyUsePrag"})}function p(l,d=[]){return l.type==="IfStatement"?(l.consequent&&p(l.consequent,d),l.alternate&&p(l.alternate,d)):Array.isArray(l.body)&&l.body.forEach(E=>{E.type==="IfStatement"&&p(E,d),E.type==="ReturnStatement"&&d.push(E)}),d}function y(l){let d=!1;return l.some(E=>E.type==="JSXSpreadAttribute"?(d=!0,!1):E.type!=="JSXAttribute"?!1:d&&An.default.propName(E)==="key")}function m(l){Pn(l)&&l.body.type==="BlockStatement"&&p(l.body).filter(d=>d&&d.argument).forEach(d=>{u(d.argument)})}function f(l){let d=l&&l.type==="ArrowFunctionExpression",E=g=>g&&(g.type==="JSXElement"||g.type==="JSXFragment");d&&E(l.body)&&u(l.body),l.body.type==="ConditionalExpression"?(E(l.body.consequent)&&u(l.body.consequent),E(l.body.alternate)&&u(l.body.alternate)):l.body.type==="LogicalExpression"&&E(l.body.right)&&u(l.body.right)}let c=`:matches(
|
|
5
5
|
CallExpression
|
|
6
6
|
[callee.object.object.name=Fragment]
|
|
7
7
|
[callee.object.property.name=Children]
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
CallExpression
|
|
10
10
|
[callee.object.name=Children]
|
|
11
11
|
[callee.property.name=toArray]
|
|
12
|
-
)`.replace(/\s/g,""),h=!1,S=new WeakSet;return{[c](){h=!0},[`${c}:exit`](){h=!1},"ArrayExpression, JSXElement > JSXElement"(l){if(h)return;let d=(l.type==="ArrayExpression"?l.elements:l.parent.children).filter(g=>g&&g.type==="JSXElement");if(d.length===0)return;let E={};d.forEach(g=>{g.openingElement.attributes.filter($=>$.name&&$.name.name==="key").length===0&&l.type==="ArrayExpression"&&r.report({node:g,messageId:"missingArrayKey"})}),a&&Object.values(E).filter(g=>g.length>1).forEach(g=>{g.forEach(w=>{S.has(w)||(S.add(w),r.report({node:w,messageId:"nonUniqueKeys"}))})})},JSXFragment(l){!o||h||l.parent.type==="ArrayExpression"&&r.report({node:l,messageId:"missingArrayKeyUsePrag"})},'CallExpression[callee.type="MemberExpression"][callee.property.name="map"], CallExpression[callee.type="OptionalMemberExpression"][callee.property.name="map"], OptionalCallExpression[callee.type="MemberExpression"][callee.property.name="map"], OptionalCallExpression[callee.type="OptionalMemberExpression"][callee.property.name="map"]'(l){if(h)return;let d=l.arguments.length>0&&l.arguments[0];!d||!Pn(d)||(f(d),
|
|
12
|
+
)`.replace(/\s/g,""),h=!1,S=new WeakSet;return{[c](){h=!0},[`${c}:exit`](){h=!1},"ArrayExpression, JSXElement > JSXElement"(l){if(h)return;let d=(l.type==="ArrayExpression"?l.elements:l.parent.children).filter(g=>g&&g.type==="JSXElement");if(d.length===0)return;let E={};d.forEach(g=>{g.openingElement.attributes.filter($=>$.name&&$.name.name==="key").length===0&&l.type==="ArrayExpression"&&r.report({node:g,messageId:"missingArrayKey"})}),a&&Object.values(E).filter(g=>g.length>1).forEach(g=>{g.forEach(w=>{S.has(w)||(S.add(w),r.report({node:w,messageId:"nonUniqueKeys"}))})})},JSXFragment(l){!o||h||l.parent.type==="ArrayExpression"&&r.report({node:l,messageId:"missingArrayKeyUsePrag"})},'CallExpression[callee.type="MemberExpression"][callee.property.name="map"], CallExpression[callee.type="OptionalMemberExpression"][callee.property.name="map"], OptionalCallExpression[callee.type="MemberExpression"][callee.property.name="map"], OptionalCallExpression[callee.type="OptionalMemberExpression"][callee.property.name="map"]'(l){if(h)return;let d=l.arguments.length>0&&l.arguments[0];!d||!Pn(d)||(f(d),m(d))},'CallExpression[callee.type="MemberExpression"][callee.property.name="from"]'(l){if(h)return;let d=l.arguments.length>1&&l.arguments[1];Pn(d)&&(f(d),m(d))}}}},vE=`
|
|
13
13
|
import { component$ } from '@builder.io/qwik';
|
|
14
14
|
|
|
15
15
|
export const Person = component$(() => {
|
|
@@ -150,9 +150,9 @@ export const ColorList = component$(() => {
|
|
|
150
150
|
))}
|
|
151
151
|
</ul>
|
|
152
152
|
);
|
|
153
|
-
});`.trim();var dp=require("@typescript-eslint/utils");var{getStaticValue:Jh}=dp.ASTUtils,Wh=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,
|
|
153
|
+
});`.trim();var dp=require("@typescript-eslint/utils");var{getStaticValue:Jh}=dp.ASTUtils,Wh=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,mp={meta:{type:"problem",docs:{recommended:"error",description:"Disallow javascript: URLs.",url:"https://qwik.dev/docs/advanced/eslint/#jsx-no-script-url"},schema:[],messages:{noJSURL:"For security, don't use javascript: URLs. Use event handlers instead if you can."}},create(r){let e=r.sourceCode??r.getSourceCode();return{JSXAttribute(t){if(t.name.type==="JSXIdentifier"&&t.value){let n=Jh(t.value.type==="JSXExpressionContainer"?t.value.expression:t.value,e.getScope?e.getScope(t):r.getScope());n&&typeof n.value=="string"&&Wh.test(n.value)&&r.report({node:t.value,messageId:"noJSURL"})}}}}},$E=`
|
|
154
154
|
<button onClick$={() => alert('open the door please')}>ring</button>`.trim(),_E=`
|
|
155
|
-
<button onClick$="javascript:alert('open the door please')">ring</button>`.trim();var
|
|
155
|
+
<button onClick$="javascript:alert('open the door please')">ring</button>`.trim();var yp={loader$:!0,routeLoader$:!0,routeAction$:!0,routeHandler$:!0},Hh={...yp,action$:!0,globalAction$:!0},gp={meta:{type:"problem",docs:{description:"Detect declaration location of loader$.",recommended:!0,url:"https://qwik.dev/docs/advanced/eslint/#loader-location"},schema:[{type:"object",properties:{routesDir:{type:"string",default:"src/routes"}},additionalProperties:!1}],messages:{invalidLoaderLocation:`'{{fnName}}() are typically declared in route boundary files such as layout.tsx, index.tsx and plugin.tsx inside the {{routesDir}} directory
|
|
156
156
|
(docs: https://qwik.dev/docs/route-loader/).
|
|
157
157
|
|
|
158
158
|
This {{fnName}}() is declared outside of the route boundaries. This may be useful when you want to create reusable logic or a library. In such a case, it is essential that this function is re-exported from within the router boundary otherwise it will not run.
|
|
@@ -160,7 +160,7 @@ This {{fnName}}() is declared outside of the route boundaries. This may be usefu
|
|
|
160
160
|
|
|
161
161
|
If you understand this, you can disable this warning with:
|
|
162
162
|
// eslint-disable-next-line qwik/loader-location
|
|
163
|
-
`,missingExport:"The return of `{{fnName}}()` needs to be exported in the same module, like this\n```\nexport const {{id}} = {{fnName}}(() => { ... });\n```",wrongName:"The named export of `{{fnName}}()` needs to follow the `use*` naming convention. It must start with `use`, like this:\n```\nexport const {{fixed}} = {{fnName}}(() => { ... });\n```\nInstead it was named:\n```\nexport const {{id}} = ...\n```",recommendedValue:"For `{{fnName}}()` it is recommended to inline the arrow function. Instead of:\n```\nexport const {{id}} = {{fnName}}({{arg}});\n```\nDo this:\n```\nexport const {{id}} = {{fnName}}(() => { ...logic here... });\n```\nThis will help the optimizer make sure that no server code is leaked to the client build."}},create(r){var p,
|
|
163
|
+
`,missingExport:"The return of `{{fnName}}()` needs to be exported in the same module, like this\n```\nexport const {{id}} = {{fnName}}(() => { ... });\n```",wrongName:"The named export of `{{fnName}}()` needs to follow the `use*` naming convention. It must start with `use`, like this:\n```\nexport const {{fixed}} = {{fnName}}(() => { ... });\n```\nInstead it was named:\n```\nexport const {{id}} = ...\n```",recommendedValue:"For `{{fnName}}()` it is recommended to inline the arrow function. Instead of:\n```\nexport const {{id}} = {{fnName}}({{arg}});\n```\nDo this:\n```\nexport const {{id}} = {{fnName}}(() => { ...logic here... });\n```\nThis will help the optimizer make sure that no server code is leaked to the client build."}},create(r){var p,y;let e=((y=(p=r.options)==null?void 0:p[0])==null?void 0:y.routesDir)??"src/routes",t=Xh(r.filename??r.getFilename()),n=/\/layout(|!|-.+)\.(j|t)sx?$/.test(t),o=/\/index(|!|@.+)\.(j|t)sx?$/.test(t),i=/\/plugin(|@.+)\.(j|t)sx?$/.test(t),u=new RegExp(`/${e}/`).test(t)&&(o||n||i);return{CallExpression(m){if(m.callee.type!=="Identifier")return;let f=m.callee.name;if(!Hh[f])return;if(!u&&yp[f]){r.report({node:m.callee,messageId:"invalidLoaderLocation",data:{routesDir:e,fnName:f,path:t}});return}let c=m.parent;if(c.type!=="VariableDeclarator"){r.report({node:m.callee,messageId:"missingExport",data:{fnName:f,id:"useStuff"}});return}if(c.id.type!=="Identifier"){r.report({node:m.callee,messageId:"missingExport",data:{fnName:f,id:"useStuff"}});return}if(!/^use/.test(c.id.name)){let h="use"+c.id.name[0].toUpperCase()+c.id.name.slice(1);r.report({node:c.id,messageId:"wrongName",data:{fnName:f,id:c.id.name,fixed:h}});return}if(!Gh(c)){r.report({node:c.id,messageId:"missingExport",data:{fnName:f,id:c.id.name}});return}if(m.arguments.length>0&&m.arguments[0].type==="Identifier"){r.report({node:m.arguments[0],messageId:"recommendedValue",data:{fnName:f,id:c.id.name,arg:m.arguments[0].name}});return}}}}};function Xh(r){let e=/^\\\\\?\\/.test(r),t=/[^\u0000-\u0080]+/.test(r);return e||t||(r=r.replace(/\\/g,"/"),r.endsWith("/")&&(r=r.slice(0,r.length-1))),r}var FE=`
|
|
164
164
|
import { routeLoader$ } from '@builder.io/qwik-city';
|
|
165
165
|
|
|
166
166
|
export const useProductDetails = routeLoader$(async (requestEvent) => {
|
|
@@ -191,9 +191,9 @@ async function fetcher() {
|
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
export const useProductDetails = routeLoader$(fetcher);
|
|
194
|
-
`.trim();function Gh(r){if(r.parent.parent.type==="ExportNamedDeclaration")return!0;if(r.type==="VariableDeclarator"){let e=r.id;if("name"in e){let t=e.name,n=Kh(r);for(let o=0;o<n.length;o++){let i=n[o];if(i.type=="ExportNamedDeclaration"){let a=i.specifiers;for(let u=0;u<a.length;u++){let p=a[u];if(p.type=="ExportSpecifier"&&p.exported.type=="Identifier"&&p.exported.name===t)return!0}}}}}return!1}function Kh(r){let e=r;for(;e.type!=="Program";)e=e.parent;return e.body}var Tn=
|
|
194
|
+
`.trim();function Gh(r){if(r.parent.parent.type==="ExportNamedDeclaration")return!0;if(r.type==="VariableDeclarator"){let e=r.id;if("name"in e){let t=e.name,n=Kh(r);for(let o=0;o<n.length;o++){let i=n[o];if(i.type=="ExportNamedDeclaration"){let a=i.specifiers;for(let u=0;u<a.length;u++){let p=a[u];if(p.type=="ExportSpecifier"&&p.exported.type=="Identifier"&&p.exported.name===t)return!0}}}}}return!1}function Kh(r){let e=r;for(;e.type!=="Program";)e=e.parent;return e.body}var Tn=me(hr());var zh=[{from:"className",to:"class"},{from:"htmlFor",to:"for"}];var vp={meta:{type:"problem",docs:{recommended:"warn",description:"Disallow usage of React-specific `className`/`htmlFor` props.",url:"https://qwik.dev/docs/advanced/eslint/#no-react-props"},fixable:"code",schema:[],messages:{prefer:"Prefer the `{{ to }}` prop over the deprecated `{{ from }}` prop."}},create(r){return r.sourceCode.getAllComments().some(t=>t.value.includes("@jsxImportSource"))?{}:{JSXOpeningElement(t){for(let{from:n,to:o}of zh){let i=Tn.default.getProp(t.attributes,n);if(i){let a=Tn.default.hasProp(t.attributes,o,{ignoreCase:!1})?void 0:u=>u.replaceText(i.name,o);r.report({node:i,messageId:"prefer",data:{from:n,to:o},fix:a})}}}}}},VE=`
|
|
195
195
|
<MyReactComponent class="foo" for="#password" />;`.trim(),UE=`
|
|
196
|
-
<MyReactComponent className="foo" htmlFor="#password" />;`.trim();var On=
|
|
196
|
+
<MyReactComponent className="foo" htmlFor="#password" />;`.trim();var On=me(hr());var hp={meta:{type:"problem",docs:{recommended:!1,description:"Enforce using the classlist prop over importing a classnames helper. The classlist prop accepts an object `{ [class: string]: boolean }` just like classnames.",url:"https://qwik.dev/docs/advanced/eslint/#prefer-classlist"},fixable:"code",schema:[{type:"object",properties:{classnames:{type:"array",description:"An array of names to treat as `classnames` functions",default:["cn","clsx","classnames"],items:{type:"string",minItems:1,uniqueItems:!0}}},additionalProperties:!1}],messages:{preferClasslist:"The classlist prop should be used instead of {{ classnames }} to efficiently set classes based on an object."}},create(r){var n;if(r.sourceCode.getAllComments().some(o=>o.value.includes("@jsxImportSource")))return{};let t=((n=r.options[0])==null?void 0:n.classnames)??["cn","clsx","classnames"];return{JSXAttribute(o){var i,a;if(!(["class","className"].indexOf(On.default.propName(o))===-1||On.default.hasProp((i=o.parent)==null?void 0:i.attributes,"classlist",{ignoreCase:!1}))&&((a=o.value)==null?void 0:a.type)==="JSXExpressionContainer"){let u=o.value.expression;u.type==="CallExpression"&&u.callee.type==="Identifier"&&t.indexOf(u.callee.name)!==-1&&u.arguments.length===1&&u.arguments[0].type==="ObjectExpression"&&r.report({node:o,messageId:"preferClasslist",data:{classnames:u.callee.name},fix:p=>{let y=o.range,m=u.arguments[0].range;return[p.replaceTextRange([y[0],m[0]],"classlist={"),p.replaceTextRange([m[1],y[1]],"}")]}})}}}}},HE=`
|
|
197
197
|
import { component$ } from '@builder.io/qwik';
|
|
198
198
|
import styles from './MyComponent.module.css';
|
|
199
199
|
|
|
@@ -239,16 +239,15 @@ const serverGreeter = server$((firstName: string, lastName: string) => {
|
|
|
239
239
|
});
|
|
240
240
|
|
|
241
241
|
export default component$(() => (
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
);`.trim(),YE=`
|
|
242
|
+
<button
|
|
243
|
+
onClick$={async () => {
|
|
244
|
+
const greeting = await serverGreeter('John', 'Doe');
|
|
245
|
+
alert(greeting);
|
|
246
|
+
}}
|
|
247
|
+
>
|
|
248
|
+
greet
|
|
249
|
+
</button>
|
|
250
|
+
));`.trim(),YE=`
|
|
252
251
|
import { component$ } from '@builder.io/qwik';
|
|
253
252
|
import { server$ } from '@builder.io/qwik-city';
|
|
254
253
|
|
|
@@ -258,16 +257,15 @@ const serverGreeter = server$((firstName: string, lastName: string) => {
|
|
|
258
257
|
});
|
|
259
258
|
|
|
260
259
|
export default component$(() => (
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
);`.trim();var xp={meta:{type:"problem",docs:{description:"Detect invalid use of use hooks.",category:"Variables",recommended:!0,url:"https://qwik.dev/docs/advanced/eslint/#use-method-usage"},messages:{useWrongFunction:"Calling use* methods in wrong function."}},create(r){return(r.sourceCode??r.getSourceCode()).getAllComments().some(n=>n.value.includes("@jsxImportSource"))?{}:{"CallExpression[callee.name=/^use[A-Z]/]"(n){var i,a;let o=n;for(;o=o.parent;)switch(o.type){case"VariableDeclarator":case"VariableDeclaration":case"ExpressionStatement":case"MemberExpression":case"BinaryExpression":case"UnaryExpression":case"ReturnStatement":case"BlockStatement":case"ChainExpression":case"Property":case"ObjectExpression":case"CallExpression":case"TSAsExpression":break;case"ArrowFunctionExpression":case"FunctionExpression":if(o.parent.type==="VariableDeclarator"&&((i=o.parent.id)==null?void 0:i.type)==="Identifier"&&o.parent.id.name.startsWith("use")||o.parent.type==="CallExpression"&&o.parent.callee.type==="Identifier"&&o.parent.callee.name==="component$")return;r.report({node:n,messageId:"useWrongFunction"});return;case"FunctionDeclaration":(a=o.id)!=null&&a.name.startsWith("use")||r.report({node:n,messageId:"useWrongFunction"});return;default:r.report({node:n,messageId:"useWrongFunction"});return}}}}},ew=`
|
|
260
|
+
<button
|
|
261
|
+
onClick$={async () => {
|
|
262
|
+
const greeting = 'not using the server$ function';
|
|
263
|
+
alert(greeting);
|
|
264
|
+
}}
|
|
265
|
+
>
|
|
266
|
+
greet
|
|
267
|
+
</button>
|
|
268
|
+
));`.trim();var xp={meta:{type:"problem",docs:{description:"Detect invalid use of use hooks.",category:"Variables",recommended:!0,url:"https://qwik.dev/docs/advanced/eslint/#use-method-usage"},messages:{useWrongFunction:"Calling use* methods in wrong function."}},create(r){return(r.sourceCode??r.getSourceCode()).getAllComments().some(n=>n.value.includes("@jsxImportSource"))?{}:{"CallExpression[callee.name=/^use[A-Z]/]"(n){var i,a;let o=n;for(;o=o.parent;)switch(o.type){case"VariableDeclarator":case"VariableDeclaration":case"ExpressionStatement":case"MemberExpression":case"BinaryExpression":case"UnaryExpression":case"ReturnStatement":case"BlockStatement":case"ChainExpression":case"Property":case"ObjectExpression":case"CallExpression":case"TSAsExpression":break;case"ArrowFunctionExpression":case"FunctionExpression":if(o.parent.type==="VariableDeclarator"&&((i=o.parent.id)==null?void 0:i.type)==="Identifier"&&o.parent.id.name.startsWith("use")||o.parent.type==="CallExpression"&&o.parent.callee.type==="Identifier"&&(o.parent.callee.name==="component$"||o.parent.callee.name==="renderHook"))return;r.report({node:n,messageId:"useWrongFunction"});return;case"FunctionDeclaration":(a=o.id)!=null&&a.name.startsWith("use")||r.report({node:n,messageId:"useWrongFunction"});return;default:r.report({node:n,messageId:"useWrongFunction"});return}}}}},ew=`
|
|
271
269
|
export const Counter = component$(() => {
|
|
272
270
|
const count = useSignal(0);
|
|
273
271
|
});
|
|
@@ -280,16 +278,16 @@ export const useCounter = () => {
|
|
|
280
278
|
export const Counter = (() => {
|
|
281
279
|
const count = useSignal(0);
|
|
282
280
|
});
|
|
283
|
-
`.trim();var xr=
|
|
281
|
+
`.trim();var xr=me(require("@typescript-eslint/utils/eslint-utils")),X=me(require("typescript"));function $n(r){let e=r.match(/^[ \t]*(?=\S)/gm);if(!e)return r;let t=Number.POSITIVE_INFINITY;for(let n of e)t=Math.min(t,n.length);return t===0||t===Number.POSITIVE_INFINITY?r:r.replace(new RegExp(`^[ \\t]{${t}}`,"gm"),"")}function _n(r,e=1,t={}){let{indent:n=" ",includeEmptyLines:o=!1}=t;if(typeof r!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof r}\``);if(typeof e!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof e}\``);if(e<0)throw new RangeError(`Expected \`count\` to be at least 0, got \`${e}\``);if(typeof n!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof n}\``);if(e===0)return r;let i=o?/^/gm:/^(?!\s*$)/gm;return r.replace(i,n.repeat(e))}function In(r,e=0,t={}){return _n($n(r),e,t)}var Qh=xr.RuleCreator(r=>`https://qwik.dev/docs/advanced/eslint/#${r}`),Sp=Qh({name:"valid-lexical-scope",defaultOptions:[{allowAny:!0}],meta:{type:"problem",docs:{description:"Used the tsc typechecker to detect the capture of unserializable data in dollar ($) scopes.",recommended:"recommended"},schema:[{type:"object",properties:{allowAny:{type:"boolean"}},additionalProperties:!1,default:{allowAny:!0}}],messages:{referencesOutside:`When referencing "{{varName}}" inside a different scope ({{dollarName}}), Qwik needs to serialize the value, however {{reason}}.
|
|
284
282
|
Check out https://qwik.dev/docs/advanced/dollar/ for more details.`,invalidJsxDollar:`Using "{{varName}}" as an event handler, however functions are not serializable.
|
|
285
283
|
Did you mean to wrap it in \`$()\`?
|
|
286
284
|
|
|
287
285
|
{{solution}}
|
|
288
286
|
Check out https://qwik.dev/docs/advanced/dollar/ for more details.`,mutableIdentifier:`Mutating let "{{varName}}" within the ({{dollarName}}) closure is not allowed, instead create an object/store/signal and mutate one of its properties.
|
|
289
|
-
Check out https://qwik.dev/docs/advanced/dollar/ for more details.`}},create(r){var
|
|
287
|
+
Check out https://qwik.dev/docs/advanced/dollar/ for more details.`}},create(r){var m;let t={allowAny:((m=r.options[0])==null?void 0:m.allowAny)??!0},n=r.sourceCode.scopeManager,o=xr.getParserServices(r),i=o.esTreeNodeToTSNodeMap,a=o.program.getTypeChecker(),u=new Map,p=[];function y(f){f.references.forEach(c=>{var l,d;let h=c.resolved,S=(l=c.resolved)==null?void 0:l.scope;if(h&&S){let E=(d=h.defs.at(0))==null?void 0:d.type;if(E==="Type"||E==="ImportBinding"||ob(h,r))return;let g=c.from,w;for(;g&&(w=u.get(g),!w);)g=g.upper;if(g&&w){let I=S.type;if(I==="global"||I==="module")return;let $=c.identifier,Le=i.get($),N=S;for(;N&&!u.has(N);)N=N.upper;if(N!==g){$.parent&&$.parent.type==="AssignmentExpression"&&$.parent.left===$&&r.report({messageId:"mutableIdentifier",node:c.identifier,data:{varName:c.identifier.name,dollarName:w}});let de=Yh(r,a,Le,c.identifier,t);de&&r.report({messageId:"referencesOutside",node:c.identifier,data:{varName:c.identifier.name,dollarName:w,reason:Zh(de)}})}}}}),f.childScopes.forEach(y)}return{CallExpression(f){if(f.callee.type==="Identifier"&&f.callee.name.endsWith("$")){let c=f.arguments.at(0);if(c&&c.type==="ArrowFunctionExpression"){let h=n.acquire(c);h&&u.set(h,f.callee.name)}}},JSXAttribute(f){var S;let c=f.name,h=c.type==="JSXIdentifier"?c.name:c.name.name;if(h.endsWith("$")){let l=f.value;if(l&&l.type==="JSXExpressionContainer"){let d=n.acquire(l.expression);if(d)u.set(d,h);else if(l.expression.type==="Identifier"){let E=i.get(l.expression),g=a.getTypeAtLocation(E).getNonNullableType();if(!Ep(g))if(g.isUnionOrIntersection())g.types.every(w=>w.symbol?w.symbol.name==="Component"||w.symbol.name==="PropFnInterface":!1)||r.report({messageId:"invalidJsxDollar",node:l.expression,data:{varName:l.expression.name,solution:`Fix the type of ${l.expression.name} to be QRL`}});else{if(((S=g.symbol)==null?void 0:S.name)==="PropFnInterface")return;r.report({messageId:"invalidJsxDollar",node:l.expression,data:{varName:l.expression.name,solution:`const ${l.expression.name} = $(
|
|
290
288
|
${wp(g.symbol,r.sourceCode.text)}
|
|
291
289
|
);
|
|
292
|
-
`}})}}}}},Program(f){let c=i.get(f),h=a.getSymbolAtLocation(c);h&&(p=a.getExportsOfModule(h))},"Program:exit"(){
|
|
290
|
+
`}})}}}}},Program(f){let c=i.get(f),h=a.getSymbolAtLocation(c);h&&(p=a.getExportsOfModule(h))},"Program:exit"(){y(n.globalScope)}}}});function Yh(r,e,t,n,o){let i=e.getTypeAtLocation(t);return eb(r,e,i,t,n,o,new Set)}function Zh(r){let e="";return r.location?e+=`"${r.location}" `:e+="it ",e+=`${r.reason}`,e}function eb(r,e,t,n,o,i,a){let u=je(r,e,t,n,i,0,a);if(u){let p=u.location;return p&&(u.location=`${o.name}.${p}`),u}return u}function je(r,e,t,n,o,i,a){var h;if(a.has(t)||(a.add(t),t.getProperty("__no_serialize__")||t.getProperty("__qwik_serializable__")))return;if(t.flags&X.default.TypeFlags.Unknown)return{type:t,typeStr:e.typeToString(t),reason:"is unknown, which could be serializable or not, please make the type more specific"};let p=t.flags&X.default.TypeFlags.Any;if(!o.allowAny&&p)return{type:t,typeStr:e.typeToString(t),reason:"is any, which is not serializable"};if(t.flags&X.default.TypeFlags.ESSymbolLike)return{type:t,typeStr:e.typeToString(t),reason:"is Symbol, which is not serializable"};if(t.flags&X.default.TypeFlags.Enum)return{type:t,typeStr:e.typeToString(t),reason:"is an enum, use an string or a number instead"};if(Ep(t)||((h=t.symbol)==null?void 0:h.name)==="JSXNode")return;if(t.getCallSignatures().length>0){let S=t.symbol.name;if(S==="PropFnInterface"||S==="RefFnInterface"||S==="bivarianceHack"||S==="FunctionComponent")return;let l="is a function, which is not serializable";if(i===0&&X.default.isIdentifier(n)){let d=`const ${n.text} = $(
|
|
293
291
|
${wp(t.symbol,r.sourceCode.text)}
|
|
294
292
|
);`;l+=`.
|
|
295
293
|
Did you mean to wrap it in \`$()\`?
|
|
@@ -321,7 +319,7 @@ export const HelloWorld = component$(() => {
|
|
|
321
319
|
});
|
|
322
320
|
|
|
323
321
|
return <h1>Hello</h1>;
|
|
324
|
-
});`.trim(),
|
|
322
|
+
});`.trim(),mw=`
|
|
325
323
|
import { component$, $ } from '@builder.io/qwik';
|
|
326
324
|
|
|
327
325
|
export const HelloWorld = component$(() => {
|
|
@@ -329,7 +327,7 @@ export const HelloWorld = component$(() => {
|
|
|
329
327
|
return (
|
|
330
328
|
<button onClick$={click}>log it</button>
|
|
331
329
|
);
|
|
332
|
-
});`.trim(),
|
|
330
|
+
});`.trim(),yw=`
|
|
333
331
|
import { component$ } from '@builder.io/qwik';
|
|
334
332
|
|
|
335
333
|
export const HelloWorld = component$(() => {
|
|
@@ -369,10 +367,10 @@ export const HelloWorld = component$(() => {
|
|
|
369
367
|
<{{importName}} />
|
|
370
368
|
|
|
371
369
|
See https://qwik.dev/docs/integrations/image-optimization/#responsive-images`,noWidthHeight:`Missing "width" or "height" attribute.
|
|
372
|
-
For performance reasons, always provide width and height attributes for <img> elements, it will prevent layout shifts, boosting performance and UX.`}},create(r){return{JSXElement(e){if(e.openingElement.name.type==="JSXIdentifier"&&e.openingElement.name.name==="img"&&!e.openingElement.attributes.some(n=>n.type==="JSXSpreadAttribute")){let n=e.openingElement.attributes.find(a=>a.type==="JSXAttribute"&&a.name.type==="JSXIdentifier"&&a.name.name==="src");if(n&&n.value){let a=n.value.type==="Literal"?n.value:n.value.type==="JSXExpressionContainer"&&n.value.expression.type==="Literal"?n.value.expression:void 0;if(a&&typeof a.value=="string"&&a.value.startsWith("/")){let p=`~/media${a.value}?jsx`,
|
|
370
|
+
For performance reasons, always provide width and height attributes for <img> elements, it will prevent layout shifts, boosting performance and UX.`}},create(r){return{JSXElement(e){if(e.openingElement.name.type==="JSXIdentifier"&&e.openingElement.name.name==="img"&&!e.openingElement.attributes.some(n=>n.type==="JSXSpreadAttribute")){let n=e.openingElement.attributes.find(a=>a.type==="JSXAttribute"&&a.name.type==="JSXIdentifier"&&a.name.name==="src");if(n&&n.value){let a=n.value.type==="Literal"?n.value:n.value.type==="JSXExpressionContainer"&&n.value.expression.type==="Literal"?n.value.expression:void 0;if(a&&typeof a.value=="string"&&a.value.startsWith("/")){let p=`~/media${a.value}?jsx`,y=ub(a.value);r.report({node:n,messageId:"noLocalSrc",data:{importSrc:p,importName:y}});return}}let o=e.openingElement.attributes.some(a=>a.type==="JSXAttribute"&&a.name.type==="JSXIdentifier"&&a.name.name==="width"),i=e.openingElement.attributes.some(a=>a.type==="JSXAttribute"&&a.name.type==="JSXIdentifier"&&a.name.name==="height");(!o||!i)&&r.report({node:e,messageId:"noWidthHeight"})}}}}}),Vw=`
|
|
373
371
|
import Image from '~/media/image.png';
|
|
374
372
|
<Image />`.trim(),Uw=`
|
|
375
373
|
<img src="/image.png">`.trim(),Bw=`
|
|
376
374
|
<img width="200" height="600" src="/static/images/portrait-01.webp">`.trim(),Jw=`
|
|
377
375
|
<img src="/static/images/portrait-01.webp">`.trim();function ub(r){let e=r.lastIndexOf("."),t=r.lastIndexOf("/");return r=r.substring(t+1,e),`Img${lb(r)}`}function lb(r){return`${r}`.toLowerCase().replace(new RegExp(/[-_]+/,"g")," ").replace(new RegExp(/[^\w\s]/,"g"),"").replace(new RegExp(/\s+(.)(\w*)/,"g"),(e,t,n)=>`${t.toUpperCase()+n}`).replace(new RegExp(/\w/),e=>e.toUpperCase())}var Ap={meta:{type:"suggestion",docs:{description:"Detect useVisibleTask$() functions.",recommended:!0,url:"https://qwik.dev/docs/guides/best-practices/#use-usevisibletask-as-a-last-resort"},messages:{noUseVisibleTask:"useVisibleTask$() runs eagerly and blocks the main thread, preventing user interaction until the task is finished. Consider using useTask$(), useOn(), useOnDocument(), or useOnWindow() instead. If you have to use a useVisibleTask$(), you can disable the warning with a '// eslint-disable-next-line qwik/no-use-visible-task' comment."}},create(r){return{CallExpression(e){if(e.callee.type!=="Identifier")return;e.callee.name==="useVisibleTask$"&&r.report({node:e.callee,messageId:"noUseVisibleTask"})}}}};var Tp={meta:{type:"suggestion",docs:{description:"Detect preventDefault in $(()=>{}) Async Functions.",recommended:!0,url:"https://qwik.dev/docs/components/events/#preventdefault--stoppropagation"},messages:{noAsyncPreventDefault:`This is an asynchronous function and does not support preventDefault.
|
|
378
|
-
Use preventDefault attributes instead`}},create(r){return{"CallExpression[callee.property.name='preventDefault']"(e){let t=e.parent;for(;t;){if(t.type==="CallExpression"&&t.callee&&t.callee.type==="Identifier"&&t.callee.name==="$"){r.report({node:e,messageId:"noAsyncPreventDefault"});break}t=t.parent}}}}};var Cn={name:"eslint-plugin-qwik",description:"An Open-Source sub-framework designed with a focus on server-side-rendering, lazy-loading, and styling/animation.",version:"1.
|
|
376
|
+
Use preventDefault attributes instead`}},create(r){return{"CallExpression[callee.property.name='preventDefault']"(e){let t=e.parent;for(;t;){if(t.type==="CallExpression"&&t.callee&&t.callee.type==="Identifier"&&t.callee.name==="$"){r.report({node:e,messageId:"noAsyncPreventDefault"});break}t=t.parent}}}}};var Cn={name:"eslint-plugin-qwik",description:"An Open-Source sub-framework designed with a focus on server-side-rendering, lazy-loading, and styling/animation.",version:"1.20.0",author:"Builder Team",bugs:"https://github.com/QwikDev/qwik/issues",dependencies:{"@typescript-eslint/utils":"^8.56.1","jsx-ast-utils":"^3.3.5"},devDependencies:{"@builder.io/qwik":"workspace:^","@builder.io/qwik-city":"workspace:^","@types/estree":"1.0.8","@typescript-eslint/rule-tester":"8.56.1",redent:"4.0.0"},engines:{node:">=16.8.0 <18.0.0 || >=18.11"},files:["README.md","dist"],homepage:"https://github.com/QwikDev/qwik#readme",keywords:["builder.io","eslint","qwik"],license:"MIT",main:"dist/index.js",peerDependencies:{eslint:"^8.57.0 || ^9.0.0 || ^10.0.0"},repository:{type:"git",url:"https://github.com/QwikDev/qwik.git",directory:"packages/eslint-rules"},scripts:{test:"cd ../..; ./node_modules/.bin/vitest packages/eslint-plugin-qwik/qwik.unit.ts"}};var Op={"valid-lexical-scope":Sp,"use-method-usage":xp,"no-react-props":vp,"loader-location":gp,"prefer-classlist":hp,"jsx-no-script-url":mp,"jsx-key":fp,"unused-server":bp,"jsx-img":Pp,"jsx-a":Ln,"no-use-visible-task":Ap,"no-async-prevent-default":Tp},$p={"qwik/valid-lexical-scope":"error","qwik/use-method-usage":"error","qwik/no-react-props":"error","qwik/loader-location":"warn","qwik/prefer-classlist":"warn","qwik/jsx-no-script-url":"warn","qwik/jsx-key":"warn","qwik/unused-server":"error","qwik/jsx-img":"warn","qwik/jsx-a":"warn","qwik/no-use-visible-task":"warn","qwik/no-async-prevent-default":"warn"},_p={"qwik/valid-lexical-scope":"error","qwik/use-method-usage":"error","qwik/no-react-props":"error","qwik/loader-location":"error","qwik/prefer-classlist":"error","qwik/jsx-no-script-url":"error","qwik/jsx-key":"error","qwik/unused-server":"error","qwik/jsx-img":"error","qwik/jsx-a":"error","qwik/no-use-visible-task":"warn","qwik/no-async-prevent-default":"warn"},cb={recommended:{plugins:["qwik"],rules:$p},strict:{plugins:["qwik"],rules:_p}},kn={configs:{get recommended(){return fb},get strict(){return db}},meta:{name:Cn.name,version:Cn.version},rules:Op},fb=[{plugins:{qwik:kn},rules:$p}],db=[{plugins:{qwik:kn},rules:_p}];0&&(module.exports={configs,qwikEslint9Plugin,rules});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-qwik",
|
|
3
3
|
"description": "An Open-Source sub-framework designed with a focus on server-side-rendering, lazy-loading, and styling/animation.",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.20.0",
|
|
5
5
|
"author": "Builder Team",
|
|
6
6
|
"bugs": "https://github.com/QwikDev/qwik/issues",
|
|
7
7
|
"dependencies": {
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"@types/estree": "1.0.8",
|
|
13
13
|
"@typescript-eslint/rule-tester": "8.56.1",
|
|
14
14
|
"redent": "4.0.0",
|
|
15
|
-
"@builder.io/qwik": "^1.
|
|
16
|
-
"@builder.io/qwik
|
|
15
|
+
"@builder.io/qwik-city": "^1.20.0",
|
|
16
|
+
"@builder.io/qwik": "^1.20.0"
|
|
17
17
|
},
|
|
18
18
|
"engines": {
|
|
19
19
|
"node": ">=16.8.0 <18.0.0 || >=18.11"
|