eslint-plugin-qwik 2.0.0-beta.35 → 2.0.0-beta.37

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.
Files changed (2) hide show
  1. package/dist/index.js +52 -52
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -1,18 +1,18 @@
1
- "use strict";var Xp=Object.create;var Ve=Object.defineProperty;var zp=Object.getOwnPropertyDescriptor;var Kp=Object.getOwnPropertyNames;var Qp=Object.getPrototypeOf,Yp=Object.prototype.hasOwnProperty;var s=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),Zp=(r,e)=>{for(var t in e)Ve(r,t,{get:e[t],enumerable:!0})},Bn=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of Kp(e))!Yp.call(r,o)&&o!==t&&Ve(r,o,{get:()=>e[o],enumerable:!(n=zp(e,o))||n.enumerable});return r};var ee=(r,e,t)=>(t=r!=null?Xp(Qp(r)):{},Bn(e||!r||!r.__esModule?Ve(t,"default",{value:r,enumerable:!0}):t,r)),ec=r=>Bn(Ve({},"__esModule",{value:!0}),r);var Ue=s(Tr=>{"use strict";Object.defineProperty(Tr,"__esModule",{value:!0});Tr.default=ic;function ic(){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 zn=s(ge=>{"use strict";Object.defineProperty(ge,"__esModule",{value:!0});ge.default=Pr;ge.hasAnyProp=uc;ge.hasEveryProp=lc;var ac=Ue(),Xn=sc(ac);function sc(r){return r&&r.__esModule?r:{default:r}}var Ar={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]:Ar,n=t.ignoreCase?e.toUpperCase():e;return r.some(function(o){if(o.type==="JSXSpreadAttribute")return!t.spreadStrict;var i=t.ignoreCase?(0,Xn.default)(o).toUpperCase():(0,Xn.default)(o);return n===i})}function uc(){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]:Ar,n=typeof e=="string"?e.split(" "):e;return n.some(function(o){return Pr(r,o,t)})}function lc(){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]:Ar,n=typeof e=="string"?e.split(" "):e;return n.every(function(o){return Pr(r,o,t)})}});var Qn=s(kr=>{"use strict";Object.defineProperty(kr,"__esModule",{value:!0});kr.default=pc;function Kn(){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"?Kn(r.object,r.property)+"."+e.name:r.name+"."+e.name}function pc(){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 Kn(n,i)}return e.type==="JSXNamespacedName"?e.namespace.name+":"+e.name.name:r.name.name}});var Ir=s((nS,Zn)=>{"use strict";var Yn=Object.prototype.toString;Zn.exports=function(e){var t=Yn.call(e),n=t==="[object Arguments]";return n||(n=t!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&Yn.call(e.callee)==="[object Function]"),n}});var uo=s((oS,so)=>{"use strict";var ao;Object.keys||(ve=Object.prototype.hasOwnProperty,Or=Object.prototype.toString,eo=Ir(),Cr=Object.prototype.propertyIsEnumerable,ro=!Cr.call({toString:null},"toString"),to=Cr.call(function(){},"prototype"),he=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],Be=function(r){var e=r.constructor;return e&&e.prototype===r},no={$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},oo=(function(){if(typeof window>"u")return!1;for(var r in window)try{if(!no["$"+r]&&ve.call(window,r)&&window[r]!==null&&typeof window[r]=="object")try{Be(window[r])}catch{return!0}}catch{return!0}return!1})(),io=function(r){if(typeof window>"u"||!oo)return Be(r);try{return Be(r)}catch{return!1}},ao=function(e){var t=e!==null&&typeof e=="object",n=Or.call(e)==="[object Function]",o=eo(e),i=t&&Or.call(e)==="[object String]",a=[];if(!t&&!n&&!o)throw new TypeError("Object.keys called on a non-object");var l=to&&n;if(i&&e.length>0&&!ve.call(e,0))for(var p=0;p<e.length;++p)a.push(String(p));if(o&&e.length>0)for(var u=0;u<e.length;++u)a.push(String(u));else for(var f in e)!(l&&f==="prototype")&&ve.call(e,f)&&a.push(String(f));if(ro)for(var m=io(e),y=0;y<he.length;++y)!(m&&he[y]==="constructor")&&ve.call(e,he[y])&&a.push(he[y]);return a});var ve,Or,eo,Cr,ro,to,he,Be,no,oo,io;so.exports=ao});var $r=s((iS,co)=>{"use strict";var cc=Array.prototype.slice,fc=Ir(),lo=Object.keys,Je=lo?function(e){return lo(e)}:uo(),po=Object.keys;Je.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 fc(n)?po(cc.call(n)):po(n)})}else Object.keys=Je;return Object.keys||Je};co.exports=Je});var re=s((aS,fo)=>{"use strict";var We=Object.defineProperty||!1;if(We)try{We({},"a",{value:1})}catch{We=!1}fo.exports=We});var be=s((sS,yo)=>{"use strict";yo.exports=SyntaxError});var S=s((uS,mo)=>{"use strict";mo.exports=TypeError});var vo=s((lS,go)=>{"use strict";go.exports=Object.getOwnPropertyDescriptor});var D=s((pS,ho)=>{"use strict";var Ge=vo();if(Ge)try{Ge([],"length")}catch{Ge=null}ho.exports=Ge});var He=s((cS,xo)=>{"use strict";var bo=re(),dc=be(),te=S(),So=D();xo.exports=function(e,t,n){if(!e||typeof e!="object"&&typeof e!="function")throw new te("`obj` must be an object or a function`");if(typeof t!="string"&&typeof t!="symbol")throw new te("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new te("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new te("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new te("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new te("`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,l=arguments.length>6?arguments[6]:!1,p=!!So&&So(e,t);if(bo)bo(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(l||!o&&!i&&!a)e[t]=n;else throw new dc("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var Se=s((fS,wo)=>{"use strict";var _r=re(),Eo=function(){return!!_r};Eo.hasArrayLengthDefineBug=function(){if(!_r)return null;try{return _r([],"length",{value:1}).length!==1}catch{return!0}};wo.exports=Eo});var V=s((dS,Po)=>{"use strict";var yc=$r(),mc=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",gc=Object.prototype.toString,vc=Array.prototype.concat,qo=He(),hc=function(r){return typeof r=="function"&&gc.call(r)==="[object Function]"},To=Se()(),bc=function(r,e,t,n){if(e in r){if(n===!0){if(r[e]===t)return}else if(!hc(n)||!n())return}To?qo(r,e,t,!0):qo(r,e,t)},Ao=function(r,e){var t=arguments.length>2?arguments[2]:{},n=yc(e);mc&&(n=vc.call(n,Object.getOwnPropertySymbols(e)));for(var o=0;o<n.length;o+=1)bc(r,n[o],e[n[o]],t[n[o]])};Ao.supportsDescriptors=!!To;Po.exports=Ao});var ne=s((yS,ko)=>{"use strict";ko.exports=Object});var Oo=s((mS,Io)=>{"use strict";Io.exports=Error});var $o=s((gS,Co)=>{"use strict";Co.exports=EvalError});var Fr=s((vS,_o)=>{"use strict";_o.exports=RangeError});var No=s((hS,Fo)=>{"use strict";Fo.exports=ReferenceError});var jo=s((bS,Ro)=>{"use strict";Ro.exports=URIError});var Nr=s((SS,Mo)=>{"use strict";Mo.exports=Math.abs});var Xe=s((xS,Lo)=>{"use strict";Lo.exports=Math.floor});var Vo=s((ES,Do)=>{"use strict";Do.exports=Math.max});var Bo=s((wS,Uo)=>{"use strict";Uo.exports=Math.min});var Wo=s((qS,Jo)=>{"use strict";Jo.exports=Math.pow});var Ho=s((TS,Go)=>{"use strict";Go.exports=Math.round});var oe=s((AS,Xo)=>{"use strict";Xo.exports=Number.isNaN||function(e){return e!==e}});var Ko=s((PS,zo)=>{"use strict";var Sc=oe();zo.exports=function(e){return Sc(e)||e===0?e:e<0?-1:1}});var ze=s((kS,Qo)=>{"use strict";Qo.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 l=Object.getOwnPropertyDescriptor(e,t);if(l.value!==o||l.enumerable!==!0)return!1}return!0}});var Rr=s((IS,Zo)=>{"use strict";var Yo=typeof Symbol<"u"&&Symbol,xc=ze();Zo.exports=function(){return typeof Yo!="function"||typeof Symbol!="function"||typeof Yo("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:xc()}});var jr=s((OS,ei)=>{"use strict";ei.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var Mr=s((CS,ri)=>{"use strict";var Ec=ne();ri.exports=Ec.getPrototypeOf||null});var oi=s(($S,ni)=>{"use strict";var wc="Function.prototype.bind called on incompatible ",qc=Object.prototype.toString,Tc=Math.max,Ac="[object Function]",ti=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},Pc=function(e,t){for(var n=[],o=t||0,i=0;o<e.length;o+=1,i+=1)n[i]=e[o];return n},kc=function(r,e){for(var t="",n=0;n<r.length;n+=1)t+=r[n],n+1<r.length&&(t+=e);return t};ni.exports=function(e){var t=this;if(typeof t!="function"||qc.apply(t)!==Ac)throw new TypeError(wc+t);for(var n=Pc(arguments,1),o,i=function(){if(this instanceof o){var f=t.apply(this,ti(n,arguments));return Object(f)===f?f:this}return t.apply(e,ti(n,arguments))},a=Tc(0,t.length-n.length),l=[],p=0;p<a;p++)l[p]="$"+p;if(o=Function("binder","return function ("+kc(l,",")+"){ return binder.apply(this,arguments); }")(i),t.prototype){var u=function(){};u.prototype=t.prototype,o.prototype=new u,u.prototype=null}return o}});var ie=s((_S,ii)=>{"use strict";var Ic=oi();ii.exports=Function.prototype.bind||Ic});var Ke=s((FS,ai)=>{"use strict";ai.exports=Function.prototype.call});var Qe=s((NS,si)=>{"use strict";si.exports=Function.prototype.apply});var li=s((RS,ui)=>{"use strict";ui.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var Lr=s((jS,pi)=>{"use strict";var Oc=ie(),Cc=Qe(),$c=Ke(),_c=li();pi.exports=_c||Oc.call($c,Cc)});var xe=s((MS,ci)=>{"use strict";var Fc=ie(),Nc=S(),Rc=Ke(),jc=Lr();ci.exports=function(e){if(e.length<1||typeof e[0]!="function")throw new Nc("a function is required");return jc(Fc,Rc,e)}});var vi=s((LS,gi)=>{"use strict";var Mc=xe(),fi=D(),yi;try{yi=[].__proto__===Array.prototype}catch(r){if(!r||typeof r!="object"||!("code"in r)||r.code!=="ERR_PROTO_ACCESS")throw r}var Dr=!!yi&&fi&&fi(Object.prototype,"__proto__"),mi=Object,di=mi.getPrototypeOf;gi.exports=Dr&&typeof Dr.get=="function"?Mc([Dr.get]):typeof di=="function"?function(e){return di(e==null?e:mi(e))}:!1});var Ei=s((DS,xi)=>{"use strict";var hi=jr(),bi=Mr(),Si=vi();xi.exports=hi?function(e){return hi(e)}:bi?function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return bi(e)}:Si?function(e){return Si(e)}:null});var U=s((VS,wi)=>{"use strict";var Lc=Function.prototype.call,Dc=Object.prototype.hasOwnProperty,Vc=ie();wi.exports=Vc.call(Lc,Dc)});var O=s((US,Ii)=>{"use strict";var h,Uc=ne(),Bc=Oo(),Jc=$o(),Wc=Fr(),Gc=No(),le=be(),ue=S(),Hc=jo(),Xc=Nr(),zc=Xe(),Kc=Vo(),Qc=Bo(),Yc=Wo(),Zc=Ho(),ef=Ko(),Pi=Function,Vr=function(r){try{return Pi('"use strict"; return ('+r+").constructor;")()}catch{}},Ee=D(),rf=re(),Ur=function(){throw new ue},tf=Ee?(function(){try{return arguments.callee,Ur}catch{try{return Ee(arguments,"callee").get}catch{return Ur}}})():Ur,ae=Rr()(),P=Ei(),nf=Mr(),of=jr(),ki=Qe(),we=Ke(),se={},af=typeof Uint8Array>"u"||!P?h:P(Uint8Array),K={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?h:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?h:ArrayBuffer,"%ArrayIteratorPrototype%":ae&&P?P([][Symbol.iterator]()):h,"%AsyncFromSyncIteratorPrototype%":h,"%AsyncFunction%":se,"%AsyncGenerator%":se,"%AsyncGeneratorFunction%":se,"%AsyncIteratorPrototype%":se,"%Atomics%":typeof Atomics>"u"?h:Atomics,"%BigInt%":typeof BigInt>"u"?h:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?h:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?h:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?h:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Bc,"%eval%":eval,"%EvalError%":Jc,"%Float16Array%":typeof Float16Array>"u"?h:Float16Array,"%Float32Array%":typeof Float32Array>"u"?h:Float32Array,"%Float64Array%":typeof Float64Array>"u"?h:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?h:FinalizationRegistry,"%Function%":Pi,"%GeneratorFunction%":se,"%Int8Array%":typeof Int8Array>"u"?h:Int8Array,"%Int16Array%":typeof Int16Array>"u"?h:Int16Array,"%Int32Array%":typeof Int32Array>"u"?h:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ae&&P?P(P([][Symbol.iterator]())):h,"%JSON%":typeof JSON=="object"?JSON:h,"%Map%":typeof Map>"u"?h:Map,"%MapIteratorPrototype%":typeof Map>"u"||!ae||!P?h:P(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Uc,"%Object.getOwnPropertyDescriptor%":Ee,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?h:Promise,"%Proxy%":typeof Proxy>"u"?h:Proxy,"%RangeError%":Wc,"%ReferenceError%":Gc,"%Reflect%":typeof Reflect>"u"?h:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?h:Set,"%SetIteratorPrototype%":typeof Set>"u"||!ae||!P?h:P(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?h:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ae&&P?P(""[Symbol.iterator]()):h,"%Symbol%":ae?Symbol:h,"%SyntaxError%":le,"%ThrowTypeError%":tf,"%TypedArray%":af,"%TypeError%":ue,"%Uint8Array%":typeof Uint8Array>"u"?h:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?h:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?h:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?h:Uint32Array,"%URIError%":Hc,"%WeakMap%":typeof WeakMap>"u"?h:WeakMap,"%WeakRef%":typeof WeakRef>"u"?h:WeakRef,"%WeakSet%":typeof WeakSet>"u"?h:WeakSet,"%Function.prototype.call%":we,"%Function.prototype.apply%":ki,"%Object.defineProperty%":rf,"%Object.getPrototypeOf%":nf,"%Math.abs%":Xc,"%Math.floor%":zc,"%Math.max%":Kc,"%Math.min%":Qc,"%Math.pow%":Yc,"%Math.round%":Zc,"%Math.sign%":ef,"%Reflect.getPrototypeOf%":of};if(P)try{null.error}catch(r){qi=P(P(r)),K["%Error.prototype%"]=qi}var qi,sf=function r(e){var t;if(e==="%AsyncFunction%")t=Vr("async function () {}");else if(e==="%GeneratorFunction%")t=Vr("function* () {}");else if(e==="%AsyncGeneratorFunction%")t=Vr("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 K[e]=t,t},Ti={__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"]},qe=ie(),Ye=U(),uf=qe.call(we,Array.prototype.concat),lf=qe.call(ki,Array.prototype.splice),Ai=qe.call(we,String.prototype.replace),Ze=qe.call(we,String.prototype.slice),pf=qe.call(we,RegExp.prototype.exec),cf=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ff=/\\(\\)?/g,df=function(e){var t=Ze(e,0,1),n=Ze(e,-1);if(t==="%"&&n!=="%")throw new le("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new le("invalid intrinsic syntax, expected opening `%`");var o=[];return Ai(e,cf,function(i,a,l,p){o[o.length]=l?Ai(p,ff,"$1"):a||i}),o},yf=function(e,t){var n=e,o;if(Ye(Ti,n)&&(o=Ti[n],n="%"+o[0]+"%"),Ye(K,n)){var i=K[n];if(i===se&&(i=sf(n)),typeof i>"u"&&!t)throw new ue("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:i}}throw new le("intrinsic "+e+" does not exist!")};Ii.exports=function(e,t){if(typeof e!="string"||e.length===0)throw new ue("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new ue('"allowMissing" argument must be a boolean');if(pf(/^%?[^%]*%?$/,e)===null)throw new le("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=df(e),o=n.length>0?n[0]:"",i=yf("%"+o+"%",t),a=i.name,l=i.value,p=!1,u=i.alias;u&&(o=u[0],lf(n,uf([0,1],u)));for(var f=1,m=!0;f<n.length;f+=1){var y=n[f],d=Ze(y,0,1),v=Ze(y,-1);if((d==='"'||d==="'"||d==="`"||v==='"'||v==="'"||v==="`")&&d!==v)throw new le("property names with quotes must have matching quotes");if((y==="constructor"||!m)&&(p=!0),o+="."+y,a="%"+o+"%",Ye(K,a))l=K[a];else if(l!=null){if(!(y in l)){if(!t)throw new ue("base intrinsic for "+e+" exists, but the property is not available.");return}if(Ee&&f+1>=n.length){var c=Ee(l,y);m=!!c,m&&"get"in c&&!("originalValue"in c.get)?l=c.get:l=l[y]}else m=Ye(l,y),l=l[y];m&&!p&&(K[a]=l)}}return l}});var Fi=s((BS,_i)=>{"use strict";var mf=O(),Oi=He(),gf=Se()(),Ci=D(),$i=S(),vf=mf("%Math.floor%");_i.exports=function(e,t){if(typeof e!="function")throw new $i("`fn` is not a function");if(typeof t!="number"||t<0||t>4294967295||vf(t)!==t)throw new $i("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],o=!0,i=!0;if("length"in e&&Ci){var a=Ci(e,"length");a&&!a.configurable&&(o=!1),a&&!a.writable&&(i=!1)}return(o||i||!n)&&(gf?Oi(e,"length",t,!0,!0):Oi(e,"length",t)),e}});var Ri=s((JS,Ni)=>{"use strict";var hf=ie(),bf=Qe(),Sf=Lr();Ni.exports=function(){return Sf(hf,bf,arguments)}});var Te=s((WS,er)=>{"use strict";var xf=Fi(),ji=re(),Ef=xe(),Mi=Ri();er.exports=function(e){var t=Ef(arguments),n=1+e.length-(arguments.length-1);return xf(t,n>0?n:0,!0)};ji?ji(er.exports,"apply",{value:Mi}):er.exports.apply=Mi});var Br=s((GS,Li)=>{"use strict";var wf=oe();Li.exports=function(e){return(typeof e=="number"||typeof e=="bigint")&&!wf(e)&&e!==1/0&&e!==-1/0}});var Jr=s((HS,Di)=>{"use strict";var qf=Nr(),Tf=Xe(),Af=oe(),Pf=Br();Di.exports=function(e){if(typeof e!="number"||Af(e)||!Pf(e))return!1;var t=qf(e);return Tf(t)===t}});var $=s((XS,Vi)=>{"use strict";Vi.exports=function(e){return!!e&&(typeof e=="function"||typeof e=="object")}});var Bi=s((zS,Ui)=>{"use strict";Ui.exports=4294967295});var Wi=s((KS,Ji)=>{"use strict";Ji.exports=typeof Reflect<"u"&&Reflect.setPrototypeOf||null});var Hi=s((QS,Gi)=>{"use strict";var kf=ne();Gi.exports=kf.setPrototypeOf||null});var Qi=s((YS,Ki)=>{"use strict";var If=xe(),Xi=D(),Of=S(),zi={};try{zi.__proto__=null}catch(r){if(!r||typeof r!="object"||!("code"in r)||r.code!=="ERR_PROTO_ACCESS")throw r}var Cf=!("toString"in zi),Wr=Xi&&Xi(Object.prototype,"__proto__");Ki.exports=Cf&&(!!Wr&&typeof Wr.set=="function"&&If([Wr.set])||function(e,t){if(e==null)throw new Of("set Object.prototype.__proto__ called on null or undefined");return e.__proto__=t,t})});var ra=s((ZS,ea)=>{"use strict";var Yi=Wi(),$f=Hi(),Zi=Qi(),_f=S();ea.exports=Yi?function(e,t){if(Yi(e,t))return e;throw new _f("Reflect.setPrototypeOf: failed to set [[Prototype]]")}:$f||(Zi?function(e,t){return Zi(e,t),e}:null)});var ia=s((ex,oa)=>{"use strict";var Ff=O(),ta=Ff("%Array.prototype%"),Nf=Fr(),Rf=be(),jf=S(),Mf=Jr(),Lf=Bi(),na=ra();oa.exports=function(e){if(!Mf(e)||e<0)throw new jf("Assertion failed: `length` must be an integer Number >= 0");if(e>Lf)throw new Nf("length is greater than (2**32 - 1)");var t=arguments.length>1?arguments[1]:ta,n=[];if(t!==ta){if(!na)throw new Rf("ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]");na(n,t)}return e!==0&&(n.length=e),n}});var sa=s((rx,aa)=>{aa.exports=require("util").inspect});var ka=s((tx,Pa)=>{var rt=typeof Map=="function"&&Map.prototype,Gr=Object.getOwnPropertyDescriptor&&rt?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,tr=rt&&Gr&&typeof Gr.get=="function"?Gr.get:null,ua=rt&&Map.prototype.forEach,tt=typeof Set=="function"&&Set.prototype,Hr=Object.getOwnPropertyDescriptor&&tt?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,nr=tt&&Hr&&typeof Hr.get=="function"?Hr.get:null,la=tt&&Set.prototype.forEach,Df=typeof WeakMap=="function"&&WeakMap.prototype,Pe=Df?WeakMap.prototype.has:null,Vf=typeof WeakSet=="function"&&WeakSet.prototype,ke=Vf?WeakSet.prototype.has:null,Uf=typeof WeakRef=="function"&&WeakRef.prototype,pa=Uf?WeakRef.prototype.deref:null,Bf=Boolean.prototype.valueOf,Jf=Object.prototype.toString,Wf=Function.prototype.toString,Gf=String.prototype.match,nt=String.prototype.slice,B=String.prototype.replace,Hf=String.prototype.toUpperCase,ca=String.prototype.toLowerCase,Sa=RegExp.prototype.test,fa=Array.prototype.concat,_=Array.prototype.join,Xf=Array.prototype.slice,da=Math.floor,Kr=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Xr=Object.getOwnPropertySymbols,Qr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,pe=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Ie=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===pe||!0)?Symbol.toStringTag:null,xa=Object.prototype.propertyIsEnumerable,ya=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(r){return r.__proto__}:null);function ma(r,e){if(r===1/0||r===-1/0||r!==r||r&&r>-1e3&&r<1e3||Sa.call(/e/,e))return e;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof r=="number"){var n=r<0?-da(-r):da(r);if(n!==r){var o=String(n),i=nt.call(e,o.length+1);return B.call(o,t,"$&_")+"."+B.call(B.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return B.call(e,t,"$&_")}var Yr=sa(),ga=Yr.custom,va=qa(ga)?ga:null,Ea={__proto__:null,double:'"',single:"'"},zf={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};Pa.exports=function r(e,t,n,o){var i=t||{};if(R(i,"quoteStyle")&&!R(Ea,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 l=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 Aa(e,i);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var p=String(e);return l?ma(e,p):p}if(typeof e=="bigint"){var u=String(e)+"n";return l?ma(e,u):u}var f=typeof i.depth>"u"?5:i.depth;if(typeof n>"u"&&(n=0),n>=f&&f>0&&typeof e=="object")return Zr(e)?"[Array]":"[Object]";var m=dd(i,n);if(typeof o>"u")o=[];else if(Ta(o,e)>=0)return"[Circular]";function y(Z,De,Hp){if(De&&(o=Xf.call(o),o.push(De)),Hp){var Un={depth:i.depth};return R(i,"quoteStyle")&&(Un.quoteStyle=i.quoteStyle),r(Z,Un,n+1,o)}return r(Z,i,n+1,o)}if(typeof e=="function"&&!ha(e)){var d=od(e),v=rr(e,y);return"[Function"+(d?": "+d:" (anonymous)")+"]"+(v.length>0?" { "+_.call(v,", ")+" }":"")}if(qa(e)){var c=pe?B.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):Qr.call(e);return typeof e=="object"&&!pe?Ae(c):c}if(pd(e)){for(var g="<"+ca.call(String(e.nodeName)),b=e.attributes||[],w=0;w<b.length;w++)g+=" "+b[w].name+"="+wa(Kf(b[w].value),"double",i);return g+=">",e.childNodes&&e.childNodes.length&&(g+="..."),g+="</"+ca.call(String(e.nodeName))+">",g}if(Zr(e)){if(e.length===0)return"[]";var q=rr(e,y);return m&&!fd(q)?"["+et(q,m)+"]":"[ "+_.call(q,", ")+" ]"}if(Yf(e)){var I=rr(e,y);return!("cause"in Error.prototype)&&"cause"in e&&!xa.call(e,"cause")?"{ ["+String(e)+"] "+_.call(fa.call("[cause]: "+y(e.cause),I),", ")+" }":I.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+_.call(I,", ")+" }"}if(typeof e=="object"&&a){if(va&&typeof e[va]=="function"&&Yr)return Yr(e,{depth:f-n});if(a!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(id(e)){var L=[];return ua&&ua.call(e,function(Z,De){L.push(y(De,e,!0)+" => "+y(Z,e))}),ba("Map",tr.call(e),L,m)}if(ud(e)){var Ln=[];return la&&la.call(e,function(Z){Ln.push(y(Z,e))}),ba("Set",nr.call(e),Ln,m)}if(ad(e))return zr("WeakMap");if(ld(e))return zr("WeakSet");if(sd(e))return zr("WeakRef");if(ed(e))return Ae(y(Number(e)));if(td(e))return Ae(y(Kr.call(e)));if(rd(e))return Ae(Bf.call(e));if(Zf(e))return Ae(y(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(!Qf(e)&&!ha(e)){var Er=rr(e,y),Dn=ya?ya(e)===Object.prototype:e instanceof Object||e.constructor===Object,wr=e instanceof Object?"":"null prototype",Vn=!Dn&&Ie&&Object(e)===e&&Ie in e?nt.call(J(e),8,-1):wr?"Object":"",Gp=Dn||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",qr=Gp+(Vn||wr?"["+_.call(fa.call([],Vn||[],wr||[]),": ")+"] ":"");return Er.length===0?qr+"{}":m?qr+"{"+et(Er,m)+"}":qr+"{ "+_.call(Er,", ")+" }"}return String(e)};function wa(r,e,t){var n=t.quoteStyle||e,o=Ea[n];return o+r+o}function Kf(r){return B.call(String(r),/"/g,"&quot;")}function Q(r){return!Ie||!(typeof r=="object"&&(Ie in r||typeof r[Ie]<"u"))}function Zr(r){return J(r)==="[object Array]"&&Q(r)}function Qf(r){return J(r)==="[object Date]"&&Q(r)}function ha(r){return J(r)==="[object RegExp]"&&Q(r)}function Yf(r){return J(r)==="[object Error]"&&Q(r)}function Zf(r){return J(r)==="[object String]"&&Q(r)}function ed(r){return J(r)==="[object Number]"&&Q(r)}function rd(r){return J(r)==="[object Boolean]"&&Q(r)}function qa(r){if(pe)return r&&typeof r=="object"&&r instanceof Symbol;if(typeof r=="symbol")return!0;if(!r||typeof r!="object"||!Qr)return!1;try{return Qr.call(r),!0}catch{}return!1}function td(r){if(!r||typeof r!="object"||!Kr)return!1;try{return Kr.call(r),!0}catch{}return!1}var nd=Object.prototype.hasOwnProperty||function(r){return r in this};function R(r,e){return nd.call(r,e)}function J(r){return Jf.call(r)}function od(r){if(r.name)return r.name;var e=Gf.call(Wf.call(r),/^function\s*([\w$]+)/);return e?e[1]:null}function Ta(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 id(r){if(!tr||!r||typeof r!="object")return!1;try{tr.call(r);try{nr.call(r)}catch{return!0}return r instanceof Map}catch{}return!1}function ad(r){if(!Pe||!r||typeof r!="object")return!1;try{Pe.call(r,Pe);try{ke.call(r,ke)}catch{return!0}return r instanceof WeakMap}catch{}return!1}function sd(r){if(!pa||!r||typeof r!="object")return!1;try{return pa.call(r),!0}catch{}return!1}function ud(r){if(!nr||!r||typeof r!="object")return!1;try{nr.call(r);try{tr.call(r)}catch{return!0}return r instanceof Set}catch{}return!1}function ld(r){if(!ke||!r||typeof r!="object")return!1;try{ke.call(r,ke);try{Pe.call(r,Pe)}catch{return!0}return r instanceof WeakSet}catch{}return!1}function pd(r){return!r||typeof r!="object"?!1:typeof HTMLElement<"u"&&r instanceof HTMLElement?!0:typeof r.nodeName=="string"&&typeof r.getAttribute=="function"}function Aa(r,e){if(r.length>e.maxStringLength){var t=r.length-e.maxStringLength,n="... "+t+" more character"+(t>1?"s":"");return Aa(nt.call(r,0,e.maxStringLength),e)+n}var o=zf[e.quoteStyle||"single"];o.lastIndex=0;var i=B.call(B.call(r,o,"\\$1"),/[\x00-\x1f]/g,cd);return wa(i,"single",e)}function cd(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":"")+Hf.call(e.toString(16))}function Ae(r){return"Object("+r+")"}function zr(r){return r+" { ? }"}function ba(r,e,t,n){var o=n?et(t,n):_.call(t,", ");return r+" ("+e+") {"+o+"}"}function fd(r){for(var e=0;e<r.length;e++)if(Ta(r[e],`
2
- `)>=0)return!1;return!0}function dd(r,e){var t;if(r.indent===" ")t=" ";else if(typeof r.indent=="number"&&r.indent>0)t=_.call(Array(r.indent+1)," ");else return null;return{base:t,prev:_.call(Array(e+1),t)}}function et(r,e){if(r.length===0)return"";var t=`
3
- `+e.prev+e.base;return t+_.call(r,","+t)+`
4
- `+e.prev}function rr(r,e){var t=Zr(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 Xr=="function"?Xr(r):[],a;if(pe){a={};for(var l=0;l<i.length;l++)a["$"+i[l]]=i[l]}for(var p in r)R(r,p)&&(t&&String(Number(p))===p&&p<r.length||pe&&a["$"+p]instanceof Symbol||(Sa.call(/[^\w$]/,p)?n.push(e(p,r)+": "+e(r[p],r)):n.push(p+": "+e(r[p],r))));if(typeof Xr=="function")for(var u=0;u<i.length;u++)xa.call(r,i[u])&&n.push("["+e(i[u])+"]: "+e(r[i[u]],r));return n}});var W=s((nx,Ia)=>{"use strict";Ia.exports=function(e){return typeof e=="string"||typeof e=="symbol"}});var Oe=s((ox,Ca)=>{"use strict";var Oa=S(),yd=ka(),md=W(),gd=$();Ca.exports=function(e,t){if(!gd(e))throw new Oa("Assertion failed: Type(O) is not Object");if(!md(t))throw new Oa("Assertion failed: P is not a Property Key, got "+yd(t));return e[t]}});var C=s((ix,Fa)=>{"use strict";var $a=O(),_a=xe(),vd=_a([$a("%String.prototype.indexOf%")]);Fa.exports=function(e,t){var n=$a(e,!!t);return typeof n=="function"&&vd(e,".prototype.")>-1?_a([n]):n}});var ot=s((ax,Ra)=>{"use strict";var hd=O(),Na=hd("%Array%"),bd=!Na.isArray&&C()("Object.prototype.toString");Ra.exports=Na.isArray||function(e){return bd(e)==="[object Array]"}});var or=s((sx,ja)=>{"use strict";ja.exports=ot()});var La=s((ux,Ma)=>{"use strict";Ma.exports=O()});var j=s((lx,Da)=>{"use strict";var Sd=S(),Ce=U(),xd={__proto__:null,"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};Da.exports=function(e){if(!e||typeof e!="object")return!1;for(var t in e)if(Ce(e,t)&&!xd[t])return!1;var n=Ce(e,"[[Value]]")||Ce(e,"[[Writable]]"),o=Ce(e,"[[Get]]")||Ce(e,"[[Set]]");if(n&&o)throw new Sd("Property Descriptors may not be both accessor and data descriptors");return!0}});var it=s((px,Ba)=>{"use strict";var Ed=Se(),Va=re(),Ua=Ed.hasArrayLengthDefineBug(),wd=Ua&&ot(),qd=C(),Td=qd("Object.prototype.propertyIsEnumerable");Ba.exports=function(e,t,n,o,i,a){if(!Va){if(!e(a)||!a["[[Configurable]]"]||!a["[[Writable]]"]||i in o&&Td(o,i)!==!!a["[[Enumerable]]"])return!1;var l=a["[[Value]]"];return o[i]=l,t(o[i],l)}return Ua&&i==="length"&&"[[Value]]"in a&&wd(o)&&o.length!==a["[[Value]]"]?(o.length=a["[[Value]]"],o.length===a["[[Value]]"]):(Va(o,i,n(a)),!0)}});var Wa=s((cx,Ja)=>{"use strict";Ja.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 at=s((fx,Ga)=>{"use strict";var Ad=S(),Pd=j(),kd=Wa();Ga.exports=function(e){if(typeof e<"u"&&!Pd(e))throw new Ad("Assertion failed: `Desc` must be a Property Descriptor");return kd(e)}});var ir=s((dx,Xa)=>{"use strict";var Id=S(),Ha=U(),Od=j();Xa.exports=function(e){if(typeof e>"u")return!1;if(!Od(e))throw new Id("Assertion failed: `Desc` must be a Property Descriptor");return!(!Ha(e,"[[Value]]")&&!Ha(e,"[[Writable]]"))}});var ar=s((yx,Ka)=>{"use strict";var za=oe();Ka.exports=function(e,t){return e===t?e===0?1/e===1/t:!0:za(e)&&za(t)}});var ct=s((mx,Za)=>{"use strict";var Ya=Function.prototype.toString,ce=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,ut,sr;if(typeof ce=="function"&&typeof Object.defineProperty=="function")try{ut=Object.defineProperty({},"length",{get:function(){throw sr}}),sr={},ce(function(){throw 42},null,ut)}catch(r){r!==sr&&(ce=null)}else ce=null;var Cd=/^\s*class\b/,lt=function(e){try{var t=Ya.call(e);return Cd.test(t)}catch{return!1}},st=function(e){try{return lt(e)?!1:(Ya.call(e),!0)}catch{return!1}},ur=Object.prototype.toString,$d="[object Object]",_d="[object Function]",Fd="[object GeneratorFunction]",Nd="[object HTMLAllCollection]",Rd="[object HTML document.all class]",jd="[object HTMLCollection]",Md=typeof Symbol=="function"&&!!Symbol.toStringTag,Ld=!(0 in[,]),pt=function(){return!1};typeof document=="object"&&(Qa=document.all,ur.call(Qa)===ur.call(document.all)&&(pt=function(e){if((Ld||!e)&&(typeof e>"u"||typeof e=="object"))try{var t=ur.call(e);return(t===Nd||t===Rd||t===jd||t===$d)&&e("")==null}catch{}return!1}));var Qa;Za.exports=ce?function(e){if(pt(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{ce(e,null,ut)}catch(t){if(t!==sr)return!1}return!lt(e)&&st(e)}:function(e){if(pt(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(Md)return st(e);if(lt(e))return!1;var t=ur.call(e);return t!==_d&&t!==Fd&&!/^\[object HTML/.test(t)?!1:st(e)}});var rs=s((gx,es)=>{"use strict";es.exports=ct()});var ns=s((vx,ts)=>{"use strict";ts.exports=function(e){return!!e}});var dt=s((hx,is)=>{"use strict";var F=U(),lr=S(),Dd=$(),os=rs(),ft=ns();is.exports=function(e){if(!Dd(e))throw new lr("ToPropertyDescriptor requires an object");var t={};if(F(e,"enumerable")&&(t["[[Enumerable]]"]=ft(e.enumerable)),F(e,"configurable")&&(t["[[Configurable]]"]=ft(e.configurable)),F(e,"value")&&(t["[[Value]]"]=e.value),F(e,"writable")&&(t["[[Writable]]"]=ft(e.writable)),F(e,"get")){var n=e.get;if(typeof n<"u"&&!os(n))throw new lr("getter must be a function");t["[[Get]]"]=n}if(F(e,"set")){var o=e.set;if(typeof o<"u"&&!os(o))throw new lr("setter must be a function");t["[[Set]]"]=o}if((F(t,"[[Get]]")||F(t,"[[Set]]"))&&(F(t,"[[Value]]")||F(t,"[[Writable]]")))throw new lr("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return t}});var us=s((bx,ss)=>{"use strict";var yt=S(),Vd=$(),as=j(),Ud=it(),Bd=at(),Jd=ir(),Wd=W(),Gd=ar(),Hd=dt();ss.exports=function(e,t,n){if(!Vd(e))throw new yt("Assertion failed: Type(O) is not Object");if(!Wd(t))throw new yt("Assertion failed: P is not a Property Key");var o=as(n)?n:Hd(n);if(!as(o))throw new yt("Assertion failed: Desc is not a valid Property Descriptor");return Ud(Jd,Gd,Bd,e,t,o)}});var ps=s((Sx,vt)=>{"use strict";var Xd=La(),ls=Xd("%Reflect.construct%",!0),pr=us();try{pr({},"",{"[[Get]]":function(){}})}catch{pr=null}pr&&ls?(mt={},gt={},pr(gt,"length",{"[[Get]]":function(){throw mt},"[[Enumerable]]":!0}),vt.exports=function(e){try{ls(e,gt)}catch(t){return t===mt}}):vt.exports=function(e){return typeof e=="function"&&!!e.prototype};var mt,gt});var gs=s((xx,ms)=>{"use strict";var zd=O(),cs=zd("%Symbol.species%",!0),fs=S(),Kd=Jr(),Qd=$(),ds=ia(),ys=Oe(),Yd=or(),Zd=ps();ms.exports=function(e,t){if(!Kd(t)||t<0)throw new fs("Assertion failed: length must be an integer >= 0");var n=Yd(e);if(!n)return ds(t);var o=ys(e,"constructor");if(cs&&Qd(o)&&(o=ys(o,cs),o===null&&(o=void 0)),typeof o>"u")return ds(t);if(!Zd(o))throw new fs("C must be a constructor");return new o(t)}});var ht=s((Ex,vs)=>{"use strict";vs.exports=Number.MAX_SAFE_INTEGER||9007199254740991});var bs=s((wx,hs)=>{"use strict";var ey=O(),ry=C(),ty=S(),ny=or(),oy=ey("%Reflect.apply%",!0)||ry("Function.prototype.apply");hs.exports=function(e,t){var n=arguments.length>2?arguments[2]:[];if(!ny(n))throw new ty("Assertion failed: optional `argumentsList`, if provided, must be a List");return oy(e,t,n)}});var cr=s((qx,xs)=>{"use strict";var iy=S(),Ss=U(),ay=j();xs.exports=function(e){if(typeof e>"u")return!1;if(!ay(e))throw new iy("Assertion failed: `Desc` must be a Property Descriptor");return!(!Ss(e,"[[Get]]")&&!Ss(e,"[[Set]]"))}});var bt=s((Tx,Es)=>{"use strict";Es.exports=function(e){return e===null||typeof e!="function"&&typeof e!="object"}});var As=s((Ax,Ts)=>{"use strict";var qs=O(),sy=qs("%Object.preventExtensions%",!0),uy=qs("%Object.isExtensible%",!0),ws=bt();Ts.exports=sy?function(e){return!ws(e)&&uy(e)}:function(e){return!ws(e)}});var ks=s((Px,Ps)=>{"use strict";var ly=j();Ps.exports=function(e,t){return ly(t)&&"[[Enumerable]]"in t&&"[[Configurable]]"in t&&(e.IsAccessorDescriptor(t)||e.IsDataDescriptor(t))}});var Os=s((kx,Is)=>{"use strict";var py=S(),cy=cr(),fy=ir(),dy=j();Is.exports=function(e){if(typeof e>"u")return!1;if(!dy(e))throw new py("Assertion failed: `Desc` must be a Property Descriptor");return!cy(e)&&!fy(e)}});var _s=s((Ix,$s)=>{"use strict";var fe=S(),yy=$(),$e=it(),my=ks(),Cs=j(),_e=at(),Y=cr(),G=ir(),gy=Os(),vy=W(),N=ar();$s.exports=function(e,t,n,o,i){if(typeof e<"u"&&!yy(e))throw new fe("Assertion failed: O must be undefined or an Object");if(!vy(t))throw new fe("Assertion failed: P must be a Property Key");if(typeof n!="boolean")throw new fe("Assertion failed: extensible must be a Boolean");if(!Cs(o))throw new fe("Assertion failed: Desc must be a Property Descriptor");if(typeof i<"u"&&!Cs(i))throw new fe("Assertion failed: current must be a Property Descriptor, or undefined");if(typeof i>"u")return n?typeof e>"u"?!0:Y(o)?$e(G,N,_e,e,t,o):$e(G,N,_e,e,t,{"[[Configurable]]":!!o["[[Configurable]]"],"[[Enumerable]]":!!o["[[Enumerable]]"],"[[Value]]":o["[[Value]]"],"[[Writable]]":!!o["[[Writable]]"]}):!1;if(!my({IsAccessorDescriptor:Y,IsDataDescriptor:G},i))throw new fe("`current`, when present, must be a fully populated and valid Property Descriptor");if(!i["[[Configurable]]"]){if("[[Configurable]]"in o&&o["[[Configurable]]"]||"[[Enumerable]]"in o&&!N(o["[[Enumerable]]"],i["[[Enumerable]]"])||!gy(o)&&!N(Y(o),Y(i)))return!1;if(Y(i)){if("[[Get]]"in o&&!N(o["[[Get]]"],i["[[Get]]"])||"[[Set]]"in o&&!N(o["[[Set]]"],i["[[Set]]"]))return!1}else if(!i["[[Writable]]"]&&("[[Writable]]"in o&&o["[[Writable]]"]||"[[Value]]"in o&&!N(o["[[Value]]"],i["[[Value]]"])))return!1}if(typeof e<"u"){var a,l;return G(i)&&Y(o)?(a=("[[Configurable]]"in o?o:i)["[[Configurable]]"],l=("[[Enumerable]]"in o?o:i)["[[Enumerable]]"],$e(G,N,_e,e,t,{"[[Configurable]]":!!a,"[[Enumerable]]":!!l,"[[Get]]":("[[Get]]"in o?o:i)["[[Get]]"],"[[Set]]":("[[Set]]"in o?o:i)["[[Set]]"]})):Y(i)&&G(o)?(a=("[[Configurable]]"in o?o:i)["[[Configurable]]"],l=("[[Enumerable]]"in o?o:i)["[[Enumerable]]"],$e(G,N,_e,e,t,{"[[Configurable]]":!!a,"[[Enumerable]]":!!l,"[[Value]]":("[[Value]]"in o?o:i)["[[Value]]"],"[[Writable]]":!!("[[Writable]]"in o?o:i)["[[Writable]]"]})):$e(G,N,_e,e,t,o)}return!0}});var js=s((Ox,Rs)=>{"use strict";var Fs=D(),Ns=be(),St=S(),hy=$(),by=j(),Sy=cr(),xy=As(),Ey=W(),wy=dt(),qy=ar(),Ty=_s();Rs.exports=function(e,t,n){if(!hy(e))throw new St("Assertion failed: O must be an Object");if(!Ey(t))throw new St("Assertion failed: P must be a Property Key");if(!by(n))throw new St("Assertion failed: Desc must be a Property Descriptor");if(!Fs){if(Sy(n))throw new Ns("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]]"],qy(e[t],n["[[Value]]"]);throw new Ns("This environment does not support defining non-writable, non-enumerable, or non-configurable properties")}var a=Fs(e,t),l=a&&wy(a),p=xy(e);return Ty(e,t,p,n,l)}});var Ds=s((Cx,Ls)=>{"use strict";var Ms=S(),Ay=$(),Py=W(),ky=js();Ls.exports=function(e,t,n){if(!Ay(e))throw new Ms("Assertion failed: Type(O) is not Object");if(!Py(t))throw new Ms("Assertion failed: P is not a Property Key");var o={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":n,"[[Writable]]":!0};return ky(e,t,o)}});var Us=s(($x,Vs)=>{"use strict";var xt=S(),Iy=$(),Oy=Ds(),Cy=W();Vs.exports=function(e,t,n){if(!Iy(e))throw new xt("Assertion failed: Type(O) is not Object");if(!Cy(t))throw new xt("Assertion failed: P is not a Property Key");var o=Oy(e,t,n);if(!o)throw new xt("unable to create data property")}});var Ws=s((_x,Js)=>{"use strict";var Bs=S(),$y=$(),_y=W();Js.exports=function(e,t){if(!$y(e))throw new Bs("Assertion failed: `O` must be an Object");if(!_y(t))throw new Bs("Assertion failed: `P` must be a Property Key");return t in e}});var Hs=s((Fx,Gs)=>{"use strict";Gs.exports=function(e){return e===null||typeof e!="function"&&typeof e!="object"}});var Et=s((Nx,Xs)=>{"use strict";var Fy=ze();Xs.exports=function(){return Fy()&&!!Symbol.toStringTag}});var Qs=s((Rx,Ks)=>{"use strict";var zs=C(),Ny=zs("Date.prototype.getDay"),Ry=function(e){try{return Ny(e),!0}catch{return!1}},jy=zs("Object.prototype.toString"),My="[object Date]",Ly=Et()();Ks.exports=function(e){return typeof e!="object"||e===null?!1:Ly?Ry(e):jy(e)===My}});var nu=s((jx,tu)=>{"use strict";var Ys=C(),Dy=Et()(),Vy=U(),Uy=D(),Tt;Dy?(Zs=Ys("RegExp.prototype.exec"),wt={},fr=function(){throw wt},qt={toString:fr,valueOf:fr},typeof Symbol.toPrimitive=="symbol"&&(qt[Symbol.toPrimitive]=fr),Tt=function(e){if(!e||typeof e!="object")return!1;var t=Uy(e,"lastIndex"),n=t&&Vy(t,"value");if(!n)return!1;try{Zs(e,qt)}catch(o){return o===wt}}):(eu=Ys("Object.prototype.toString"),ru="[object RegExp]",Tt=function(e){return!e||typeof e!="object"&&typeof e!="function"?!1:eu(e)===ru});var Zs,wt,fr,qt,eu,ru;tu.exports=Tt});var At=s((Mx,ou)=>{"use strict";var By=C(),Jy=nu(),Wy=By("RegExp.prototype.exec"),Gy=S();ou.exports=function(e){if(!Jy(e))throw new Gy("`regex` must be a RegExp");return function(n){return Wy(e,n)!==null}}});var lu=s((Lx,Pt)=>{"use strict";var uu=C(),Hy=uu("Object.prototype.toString"),Xy=Rr()(),zy=At();Xy?(iu=uu("Symbol.prototype.toString"),au=zy(/^Symbol\(.*\)$/),su=function(e){return typeof e.valueOf()!="symbol"?!1:au(iu(e))},Pt.exports=function(e){if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||Hy(e)!=="[object Symbol]")return!1;try{return su(e)}catch{return!1}}):Pt.exports=function(e){return!1};var iu,au,su});var du=s((Dx,fu)=>{"use strict";var Ky=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol",kt=Hs(),cu=ct(),Qy=Qs(),pu=lu(),Yy=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]],cu(o)&&(i=o.call(e),kt(i)))return i;throw new TypeError("No default value")},Zy=function(e,t){var n=e[t];if(n!==null&&typeof n<"u"){if(!cu(n))throw new TypeError(n+" returned for property "+String(t)+" of object "+e+" is not a function");return n}};fu.exports=function(e){if(kt(e))return e;var t="default";arguments.length>1&&(arguments[1]===String?t="string":arguments[1]===Number&&(t="number"));var n;if(Ky&&(Symbol.toPrimitive?n=Zy(e,Symbol.toPrimitive):pu(e)&&(n=Symbol.prototype.valueOf)),typeof n<"u"){var o=n.call(e,t);if(kt(o))return o;throw new TypeError("unable to convert exotic object to primitive")}return t==="default"&&(Qy(e)||pu(e))&&(t="string"),Yy(e,t==="default"?"number":t)}});var gu=s((Vx,mu)=>{"use strict";var yu=du();mu.exports=function(e){return arguments.length>1?yu(e,arguments[1]):yu(e)}});var Fe=s((Ux,vu)=>{"use strict";var em=S();vu.exports=function(e){if(e==null)throw new em(arguments.length>0&&arguments[1]||"Cannot call method on "+e);return e}});var It=s((Bx,hu)=>{"use strict";var rm=O(),tm=rm("%String%"),nm=S();hu.exports=function(e){if(typeof e=="symbol")throw new nm("Cannot convert a Symbol value to a string");return tm(e)}});var Ot=s((Jx,xu)=>{"use strict";var om=Fe(),im=It(),am=C(),bu=am("String.prototype.replace"),Su=/^\s$/.test("\u180E"),sm=Su?/^[\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]+/,um=Su?/[\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]+$/;xu.exports=function(){var e=im(om(this));return bu(bu(e,sm,""),um,"")}});var Ct=s((Wx,wu)=>{"use strict";var lm=Ot(),Eu="\u200B",de="\u180E";wu.exports=function(){return String.prototype.trim&&Eu.trim()===Eu&&de.trim()===de&&("_"+de).trim()==="_"+de&&(de+"_").trim()===de+"_"?String.prototype.trim:lm}});var Au=s((Gx,Tu)=>{"use strict";var pm=Se()(),qu=He(),cm=Ct();Tu.exports=function(){var e=cm();return String.prototype.trim!==e&&(pm?qu(String.prototype,"trim",e,!0):qu(String.prototype,"trim",e)),e}});var Ou=s((Hx,Iu)=>{"use strict";var fm=Te(),dm=V(),ym=Fe(),mm=Ot(),Pu=Ct(),gm=Au(),vm=fm(Pu()),ku=function(e){return ym(e),vm(e)};dm(ku,{getPolyfill:Pu,implementation:mm,shim:gm});Iu.exports=ku});var Nu=s((Xx,Fu)=>{"use strict";var _u=O(),hm=_u("%RegExp%"),bm=S(),Cu=_u("%parseInt%"),Sm=C(),dr=At(),$u=Sm("String.prototype.slice"),xm=dr(/^0b[01]+$/i),Em=dr(/^0o[0-7]+$/i),wm=dr(/^[-+]0x[0-9a-f]+$/i),qm=["\x85","\u200B","\uFFFE"].join(""),Tm=new hm("["+qm+"]","g"),Am=dr(Tm),Pm=Ou();Fu.exports=function r(e){if(typeof e!="string")throw new bm("Assertion failed: `argument` is not a String");if(xm(e))return+Cu($u(e,2),2);if(Em(e))return+Cu($u(e,2),8);if(Am(e)||wm(e))return NaN;var t=Pm(e);return t!==e?r(t):+e}});var Mu=s((zx,ju)=>{"use strict";var km=O(),Ru=S(),Im=km("%Number%"),Om=bt(),Cm=gu(),$m=Nu();ju.exports=function(e){var t=Om(e)?e:Cm(e,Im);if(typeof t=="symbol")throw new Ru("Cannot convert a Symbol value to a number");if(typeof t=="bigint")throw new Ru("Conversion from 'BigInt' to 'number' is not allowed.");return typeof t=="string"?$m(t):+t}});var Du=s((Kx,Lu)=>{"use strict";var _m=Xe();Lu.exports=function(e){return typeof e=="bigint"?e:_m(e)}});var Bu=s((Qx,Uu)=>{"use strict";var Vu=Du(),Fm=S();Uu.exports=function(e){if(typeof e!="number"&&typeof e!="bigint")throw new Fm("argument must be a Number or a BigInt");var t=e<0?-Vu(-e):Vu(e);return t===0?0:t}});var $t=s((Yx,Ju)=>{"use strict";var Nm=Mu(),Rm=Bu(),jm=oe(),Mm=Br();Ju.exports=function(e){var t=Nm(e);return jm(t)||t===0?0:Mm(t)?Rm(t):t}});var _t=s((Zx,Gu)=>{"use strict";var Wu=ht(),Lm=$t();Gu.exports=function(e){var t=Lm(e);return t<=0?0:t>Wu?Wu:t}});var Xu=s((eE,Hu)=>{"use strict";var Dm=S(),Vm=$(),Um=Oe(),Bm=_t();Hu.exports=function(e){if(!Vm(e))throw new Dm("Assertion failed: `obj` must be an Object");return Bm(Um(e,"length"))}});var Yu=s((rE,Qu)=>{"use strict";var zu=S(),Jm=ht(),Wm=bs(),Gm=Us(),Hm=Oe(),Xm=Ws(),zm=or(),Km=Xu(),Ku=It();Qu.exports=function r(e,t,n,o,i){var a;arguments.length>5&&(a=arguments[5]);for(var l=o,p=0;p<n;){var u=Ku(p),f=Xm(t,u);if(f===!0){var m=Hm(t,u);if(typeof a<"u"){if(arguments.length<=6)throw new zu("Assertion failed: thisArg is required when mapperFunction is provided");m=Wm(a,arguments[6],[m,p,t])}var y=!1;if(i>0&&(y=zm(m)),y){var d=Km(m);l=r(e,m,d,l,i-1)}else{if(l>=Jm)throw new zu("index too large");Gm(e,Ku(l),m),l+=1}}p+=1}return l}});var el=s((tE,Zu)=>{"use strict";var Qm=ne(),Ym=Fe();Zu.exports=function(e){return Ym(e),Qm(e)}});var tl=s((nE,rl)=>{"use strict";rl.exports=el()});var Ft=s((oE,nl)=>{"use strict";var Zm=gs(),eg=Yu(),rg=Oe(),tg=$t(),ng=_t(),og=tl();nl.exports=function(){var e=og(this),t=ng(rg(e,"length")),n=1;arguments.length>0&&typeof arguments[0]<"u"&&(n=tg(arguments[0]));var o=Zm(e,0);return eg(o,e,t,0,n),o}});var Nt=s((iE,ol)=>{"use strict";var ig=Ft();ol.exports=function(){return Array.prototype.flat||ig}});var ll=s((aE,ul)=>{"use strict";var ag=U(),sl=typeof Symbol=="function"&&typeof Symbol.unscopables=="symbol",il=sl&&Array.prototype[Symbol.unscopables],al=TypeError;ul.exports=function(e){if(typeof e!="string"||!e)throw new al("method must be a non-empty string");if(!ag(Array.prototype,e))throw new al("method must be on Array.prototype");sl&&il&&(il[e]=!0)}});var cl=s((sE,pl)=>{"use strict";var sg=V(),ug=ll(),lg=Nt();pl.exports=function(){var e=lg();return sg(Array.prototype,{flat:e},{flat:function(){return Array.prototype.flat!==e}}),ug("flat"),e}});var ml=s((uE,yl)=>{"use strict";var pg=V(),cg=Te(),fg=Ft(),fl=Nt(),dg=fl(),yg=cl(),dl=cg(dg);pg(dl,{getPolyfill:fl,implementation:fg,shim:yg});yl.exports=dl});var Rt=s((lE,gl)=>{"use strict";var mg=Fe(),gg=C(),vg=gg("Object.prototype.propertyIsEnumerable");gl.exports=function(e){var t=mg(e),n=[];for(var o in t)vg(t,o)&&(n[n.length]=t[o]);return n}});var jt=s((pE,vl)=>{"use strict";var hg=Rt();vl.exports=function(){return typeof Object.values=="function"?Object.values:hg}});var bl=s((cE,hl)=>{"use strict";var bg=jt(),Sg=V();hl.exports=function(){var e=bg();return Sg(Object,{values:e},{values:function(){return Object.values!==e}}),e}});var wl=s((fE,El)=>{"use strict";var xg=V(),Eg=Te(),wg=Rt(),Sl=jt(),qg=bl(),xl=Eg(Sl(),Object);xg(xl,{getPolyfill:Sl,implementation:wg,shim:qg});El.exports=xl});var Al=s(Ne=>{"use strict";Object.defineProperty(Ne,"__esModule",{value:!0});Ne.eventHandlersByType=void 0;var Tg=ml(),Ag=ql(Tg),Pg=wl(),kg=ql(Pg);function ql(r){return r&&r.__esModule?r:{default:r}}var Tl={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"]};Ne.default=(0,Ag.default)((0,kg.default)(Tl));Ne.eventHandlersByType=Tl});var kl=s(Lt=>{"use strict";Object.defineProperty(Lt,"__esModule",{value:!0});var Ig=(function(){function r(e,t){var n=[],o=!0,i=!1,a=void 0;try{for(var l=e[Symbol.iterator](),p;!(o=(p=l.next()).done)&&(n.push(p.value),!(t&&n.length===t));o=!0);}catch(u){i=!0,a=u}finally{try{!o&&l.return&&l.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")}})(),ye=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};Lt.default=Fg;var Og=Ue(),Cg=$g(Og);function $g(r){return r&&r.__esModule?r:{default:r}}function Pl(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 _g={ignoreCase:!0};function Fg(){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]:_g;function n(l){return t.ignoreCase?l.toUpperCase():l}var o=n(e);function i(l){return l.type==="Property"&&l.key.type==="Identifier"&&o===n(l.key.name)}var a=r.find(function(l){return l.type==="JSXSpreadAttribute"?l.argument.type==="ObjectExpression"&&o!==n("key")&&l.argument.properties.some(i):o===n((0,Cg.default)(l))});return a&&a.type==="JSXSpreadAttribute"?Ng(a.argument.properties.find(i)):a}function Ng(r){var e=r.key,t=r.value;return ye({type:"JSXAttribute",name:ye({type:"JSXIdentifier",name:e.name},Mt(e)),value:t.type==="Literal"?Re(t):ye({type:"JSXExpressionContainer",expression:Rg(t)},Mt(t))},Mt(r))}function Re(r){var e=r.range||[r.start,r.end],t=Ig(e,2),n=t[0],o=t[1];return ye({},r,{end:void 0,range:[n,o],start:void 0})}function Rg(r){var e=r.expressions,t=r.quasis,n=Pl(r,["expressions","quasis"]);return ye({},Re(n),e?{expressions:e.map(Re)}:{},t?{quasis:t.map(Re)}:{})}function Mt(r){var e=r.loc,t=Pl(r,["loc"]),n=Re(t),o=n.range;return{loc:jg(e),range:o}}function jg(r){var e=r.start,t=r.end,n=r.source,o=r.filename;return ye({start:e,end:t},n!==void 0?{source:n}:{},o!==void 0?{filename:o}:{})}});var Vt=s(Dt=>{"use strict";Object.defineProperty(Dt,"__esModule",{value:!0});Dt.default=Mg;function Mg(r){var e=r.value,t=typeof e=="string"&&e.toLowerCase();return t==="true"?!0:t==="false"?!1:e}});var Bt=s(Ut=>{"use strict";Object.defineProperty(Ut,"__esModule",{value:!0});Ut.default=Lg;function Lg(r){var e=yr().default,t=r.openingElement.name.name;return r.openingElement.selfClosing?"<"+t+" />":"<"+t+">"+[].concat(r.children).map(function(n){return e(n)}).join("")+"</"+t+">"}});var Wt=s(Jt=>{"use strict";Object.defineProperty(Jt,"__esModule",{value:!0});Jt.default=Dg;function Dg(r){return r.raw}});var Ht=s(Gt=>{"use strict";Object.defineProperty(Gt,"__esModule",{value:!0});Gt.default=Vg;function Vg(r){var e=yr().default;return r.children.length===0?"<></>":"<>"+[].concat(r.children).map(function(t){return e(t)}).join("")+"</>"}});var Ol=s(Xt=>{"use strict";Object.defineProperty(Xt,"__esModule",{value:!0});Xt.default=Ug;var Il={Array,Date,Infinity:1/0,Math,Number,Object,String,undefined:void 0};function Ug(r){var e=r.name;return Object.hasOwnProperty.call(Il,e)?Il[e]:e}});var Kt=s(zt=>{"use strict";Object.defineProperty(zt,"__esModule",{value:!0});zt.default=Jg;function Bg(r,e){return(r.range?r.range[0]:r.start)-(e.range?e.range[0]:e.start)}function Jg(r){var e=r.quasis,t=r.expressions,n=e.concat(t);return n.sort(Bg).map(function(o){var i=o.type,a=o.value;a=a===void 0?{}:a;var l=a.raw,p=o.name;return i==="TemplateElement"?l:i==="Identifier"?p==="undefined"?p:"{"+p+"}":i.indexOf("Expression")>-1?"{"+i+"}":""}).join("")}});var Cl=s(Qt=>{"use strict";Object.defineProperty(Qt,"__esModule",{value:!0});Qt.default=Xg;var Wg=Kt(),Gg=Hg(Wg);function Hg(r){return r&&r.__esModule?r:{default:r}}function Xg(r){return(0,Gg.default)(r.quasi)}});var $l=s(Yt=>{"use strict";Object.defineProperty(Yt,"__esModule",{value:!0});Yt.default=zg;function zg(r){return function(){return r}}});var _l=s(Zt=>{"use strict";Object.defineProperty(Zt,"__esModule",{value:!0});Zt.default=Kg;function Kg(r){var e=k().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 Fl=s(en=>{"use strict";Object.defineProperty(en,"__esModule",{value:!0});en.default=Qg;function Qg(r){var e=k().default;return""+e(r.object)+(r.optional?"?.":".")+e(r.property)}});var Nl=s(rn=>{"use strict";Object.defineProperty(rn,"__esModule",{value:!0});rn.default=Yg;function Yg(r){var e=k().default;return e(r.expression||r)}});var Rl=s(tn=>{"use strict";Object.defineProperty(tn,"__esModule",{value:!0});tn.default=Zg;function Zg(r){var e=k().default;return e(r.callee)+"?.("+r.arguments.map(function(t){return e(t)}).join(", ")+")"}});var jl=s(nn=>{"use strict";Object.defineProperty(nn,"__esModule",{value:!0});nn.default=ev;function ev(r){var e=k().default;return e(r.object)+"?."+e(r.property)}});var an=s(on=>{"use strict";Object.defineProperty(on,"__esModule",{value:!0});on.default=rv;function rv(r){var e=k().default,t=Array.isArray(r.arguments)?r.arguments.map(function(n){return e(n)}).join(", "):"";return""+e(r.callee)+(r.optional?"?.":"")+"("+t+")"}});var Ml=s(sn=>{"use strict";Object.defineProperty(sn,"__esModule",{value:!0});sn.default=tv;function tv(r){var e=k().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;default:return}}});var ln=s(un=>{"use strict";Object.defineProperty(un,"__esModule",{value:!0});un.default=nv;function nv(){return"this"}});var Ll=s(pn=>{"use strict";Object.defineProperty(pn,"__esModule",{value:!0});pn.default=ov;function ov(r){var e=k().default,t=r.test,n=r.alternate,o=r.consequent;return e(t)?e(o):e(n)}});var Dl=s(cn=>{"use strict";Object.defineProperty(cn,"__esModule",{value:!0});cn.default=iv;function iv(r){var e=k().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 fn=s((_E,Jl)=>{"use strict";var av=$r(),Ul=ze()(),Bl=C(),mr=ne(),sv=Bl("Array.prototype.push"),Vl=Bl("Object.prototype.propertyIsEnumerable"),uv=Ul?mr.getOwnPropertySymbols:null;Jl.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=av(i),l=Ul&&(mr.getOwnPropertySymbols||uv);if(l)for(var p=l(i),u=0;u<p.length;++u){var f=p[u];Vl(i,f)&&sv(a,f)}for(var m=0;m<a.length;++m){var y=a[m];if(Vl(i,y)){var d=i[y];n[y]=d}}}return n}});var yn=s((FE,Wl)=>{"use strict";var dn=fn(),lv=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},pv=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};Wl.exports=function(){return!Object.assign||lv()||pv()?dn:Object.assign}});var Hl=s((NE,Gl)=>{"use strict";var cv=V(),fv=yn();Gl.exports=function(){var e=fv();return cv(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e}});var Ql=s((RE,Kl)=>{"use strict";var dv=V(),yv=Te(),mv=fn(),Xl=yn(),gv=Hl(),vv=yv.apply(Xl()),zl=function(e,t){return vv(Object,arguments)};dv(zl,{getPolyfill:Xl,implementation:mv,shim:gv});Kl.exports=zl});var ep=s(mn=>{"use strict";Object.defineProperty(mn,"__esModule",{value:!0});mn.default=Zl;var hv=Ql(),Yl=bv(hv);function bv(r){return r&&r.__esModule?r:{default:r}}function Sv(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function Zl(r){var e=k().default;return r.properties.reduce(function(t,n){if(/^(?:Experimental)?Spread(?:Property|Element)$/.test(n.type)){if(n.argument.type==="ObjectExpression")return(0,Yl.default)({},t,Zl(n.argument))}else return(0,Yl.default)({},t,Sv({},e(n.key),e(n.value)));return t},{})}});var rp=s(gn=>{"use strict";Object.defineProperty(gn,"__esModule",{value:!0});gn.default=xv;function xv(){return new Object}});var tp=s(vn=>{"use strict";Object.defineProperty(vn,"__esModule",{value:!0});vn.default=Ev;function Ev(r){var e=k().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 np=s(hn=>{"use strict";Object.defineProperty(hn,"__esModule",{value:!0});hn.default=wv;function wv(r){var e=k().default;return r.elements.map(function(t){if(t!==null)return e(t)})}});var op=s(bn=>{"use strict";Object.defineProperty(bn,"__esModule",{value:!0});bn.default=qv;function qv(r){var e=k().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 ip=s(Sn=>{"use strict";Object.defineProperty(Sn,"__esModule",{value:!0});Sn.default=Tv;function Tv(){}});var ap=s(xn=>{"use strict";Object.defineProperty(xn,"__esModule",{value:!0});xn.default=Av;function Av(r){var e=k().default;return e(r.expression)}});var sp=s(En=>{"use strict";Object.defineProperty(En,"__esModule",{value:!0});En.default=Pv;function Pv(r){var e=k().default;return r.expressions.map(function(t){return e(t)})}});var lp=s(wn=>{"use strict";Object.defineProperty(wn,"__esModule",{value:!0});wn.default=H;var kv=ln().default,Iv=an().default;function up(r,e,t){return t.computed?t.optional?r+"?.["+e+"]":r+"["+e+"]":t.optional?r+"?."+e:r+"."+e}function H(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 H(r.expression);if(r.type==="CallExpression")return Iv(r);if(r.type==="ThisExpression")return kv();if(r.type==="TSNonNullExpression"&&(!r.extra||r.extra.parenthesized===!1)){var n=r.expression;return H(n)+"!"}if(r.type==="TSNonNullExpression"&&r.extra&&r.extra.parenthesized===!0){var o=r.expression;return"("+H(o)+"!)"}if(r.type==="MemberExpression"){if(!r.extra||r.extra.parenthesized===!1)return up(H(r.object),H(r.property),r);if(r.extra&&r.extra.parenthesized===!0){var i=up(H(r.object),H(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 l=a;a=l.expression}return console.error(e),""}});var pp=s(qn=>{"use strict";Object.defineProperty(qn,"__esModule",{value:!0});qn.default=Ov;function Ov(r){var e=k().default;return e(r.left)+" "+r.operator+" "+e(r.right)}});var k=s(gr=>{"use strict";Object.defineProperty(gr,"__esModule",{value:!0});var Cv=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=_h;gr.extractLiteral=Fh;var $v=Vt(),_v=E($v),Fv=Bt(),Nv=E(Fv),Rv=Ht(),jv=E(Rv),Mv=Wt(),Lv=E(Mv),Dv=Ol(),Vv=E(Dv),Uv=Cl(),Bv=E(Uv),Jv=Kt(),Wv=E(Jv),Gv=$l(),cp=E(Gv),Hv=_l(),Xv=E(Hv),zv=Fl(),Kv=E(zv),Qv=Nl(),Yv=E(Qv),Zv=Rl(),eh=E(Zv),rh=jl(),th=E(rh),nh=an(),oh=E(nh),ih=Ml(),ah=E(ih),sh=ln(),uh=E(sh),lh=Ll(),ph=E(lh),ch=Dl(),fh=E(ch),dh=ep(),yh=E(dh),mh=rp(),gh=E(mh),vh=tp(),hh=E(vh),bh=np(),Sh=E(bh),xh=op(),Eh=E(xh),wh=ip(),qh=E(wh),Th=ap(),Ah=E(Th),Ph=sp(),kh=E(Ph),Ih=lp(),Oh=E(Ih),Ch=pp(),$h=E(Ch);function E(r){return r&&r.__esModule?r:{default:r}}var X={Identifier:Vv.default,Literal:_v.default,JSXElement:Nv.default,JSXFragment:jv.default,JSXText:Lv.default,TaggedTemplateExpression:Bv.default,TemplateLiteral:Wv.default,ArrowFunctionExpression:cp.default,FunctionExpression:cp.default,LogicalExpression:Xv.default,MemberExpression:Kv.default,ChainExpression:Yv.default,OptionalCallExpression:eh.default,OptionalMemberExpression:th.default,CallExpression:oh.default,UnaryExpression:ah.default,ThisExpression:uh.default,ConditionalExpression:ph.default,BinaryExpression:fh.default,ObjectExpression:yh.default,NewExpression:gh.default,UpdateExpression:hh.default,ArrayExpression:Sh.default,BindExpression:Eh.default,SpreadElement:qh.default,TypeCastExpression:Ah.default,SequenceExpression:kh.default,TSNonNullExpression:Oh.default,AssignmentExpression:$h.default},T=function(){return null},dp=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 _h(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 X[n]===void 0?(console.error(dp(n)),null):X[n](e)}var fp=Cv({},X,{Literal:function(e){var t=X.Literal.call(void 0,e),n=t===null;return n?"null":t},Identifier:function(e){var t=X.Identifier.call(void 0,e)===void 0;return t?void 0:null},JSXElement:T,JSXFragment:T,JSXText:T,ArrowFunctionExpression:T,FunctionExpression:T,LogicalExpression:T,MemberExpression:T,OptionalCallExpression:T,OptionalMemberExpression:T,CallExpression:T,UnaryExpression:function(e){var t=X.UnaryExpression.call(void 0,e);return t===void 0?null:t},UpdateExpression:function(e){var t=X.UpdateExpression.call(void 0,e);return t===void 0?null:t},ThisExpression:T,ConditionalExpression:T,BinaryExpression:T,ObjectExpression:T,NewExpression:T,ArrayExpression:function(e){var t=X.ArrayExpression.call(void 0,e);return t.filter(function(n){return n!==null})},BindExpression:T,SpreadElement:T,TSNonNullExpression:T,TSAsExpression:T,TypeCastExpression:T,SequenceExpression:T,ChainExpression:T});function Fh(r){var e=r.expression||r,t=e.type;return fp[t]===void 0?(console.error(dp(t)),null):fp[t](e)}});var yr=s(vr=>{"use strict";Object.defineProperty(vr,"__esModule",{value:!0});var Nh=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};vr.default=Gh;vr.getLiteralValue=Hh;var Rh=Vt(),jh=je(Rh),Mh=Bt(),Lh=je(Mh),Dh=Wt(),Vh=je(Dh),Uh=Ht(),Bh=je(Uh),yp=k(),Jh=je(yp);function je(r){return r&&r.__esModule?r:{default:r}}var Tn={Literal:jh.default,JSXElement:Lh.default,JSXExpressionContainer:Jh.default,JSXText:Vh.default,JSXFragment:Bh.default},Wh=Nh({},Tn,{JSXElement:function(){return null},JSXExpressionContainer:yp.extractLiteral});function Gh(r){return Tn[r.type]||console.log(r.type),Tn[r.type](r)}function Hh(r){return Wh[r.type](r)}});var vp=s(hr=>{"use strict";Object.defineProperty(hr,"__esModule",{value:!0});hr.default=Kh;hr.getLiteralPropValue=Qh;var mp=yr(),Xh=zh(mp);function zh(r){return r&&r.__esModule?r:{default:r}}var gp=function(e,t){if(e&&e.type==="JSXAttribute")return e.value===null?!0:t(e.value)};function Kh(r){return gp(r,Xh.default)}function Qh(r){return gp(r,mp.getLiteralValue)}});var br=s((KE,Sp)=>{"use strict";var An=zn(),Yh=me(An),Zh=Qn(),eb=me(Zh),hp=Al(),rb=me(hp),tb=kl(),nb=me(tb),bp=vp(),ob=me(bp),ib=Ue(),ab=me(ib);function me(r){return r&&r.__esModule?r:{default:r}}Sp.exports={hasProp:Yh.default,hasAnyProp:An.hasAnyProp,hasEveryProp:An.hasEveryProp,elementType:eb.default,eventHandlers:rb.default,eventHandlersByType:hp.eventHandlersByType,getProp:nb.default,getPropValue:ob.default,getLiteralPropValue:bp.getLiteralPropValue,propName:ab.default}});var Jb={};Zp(Jb,{configs:()=>Vb,qwikEslint9Plugin:()=>Mn,rules:()=>Bp});module.exports=ec(Jb);var Jn=require("@typescript-eslint/utils"),rc=Jn.ESLintUtils.RuleCreator(()=>"https://qwik.dev/docs/advanced/dollar/"),Wn=rc({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 Gn=require("@typescript-eslint/utils"),tc=Gn.ESLintUtils.RuleCreator(r=>`https://qwik.dev/docs/advanced/eslint/#${r}`),Hn=tc({defaultOptions:[],name:"jsx-img",meta:{type:"problem",docs:{description:"For performance reasons, always provide width and height attributes for <img> elements, it will help to prevent layout shifts.",recommended:"warn"},fixable:"code",schema:[],messages:{noLocalSrc:`Local images can be optimized by importing using ESM, like this:
1
+ "use strict";var ac=Object.create;var Je=Object.defineProperty;var sc=Object.getOwnPropertyDescriptor;var uc=Object.getOwnPropertyNames;var lc=Object.getPrototypeOf,pc=Object.prototype.hasOwnProperty;var s=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),cc=(r,e)=>{for(var t in e)Je(r,t,{get:e[t],enumerable:!0})},Hn=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of uc(e))!pc.call(r,o)&&o!==t&&Je(r,o,{get:()=>e[o],enumerable:!(n=sc(e,o))||n.enumerable});return r};var re=(r,e,t)=>(t=r!=null?ac(lc(r)):{},Hn(e||!r||!r.__esModule?Je(t,"default",{value:r,enumerable:!0}):t,r)),fc=r=>Hn(Je({},"__esModule",{value:!0}),r);var He=s(_r=>{"use strict";Object.defineProperty(_r,"__esModule",{value:!0});_r.default=hc;function hc(){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 oo=s(be=>{"use strict";Object.defineProperty(be,"__esModule",{value:!0});be.default=Rr;be.hasAnyProp=xc;be.hasEveryProp=wc;var bc=He(),no=Ec(bc);function Ec(r){return r&&r.__esModule?r:{default:r}}var Nr={spreadStrict:!0,ignoreCase:!0};function Rr(){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]:Nr,n=t.ignoreCase?e.toUpperCase():e;return r.some(function(o){if(o.type==="JSXSpreadAttribute")return!t.spreadStrict;var i=t.ignoreCase?(0,no.default)(o).toUpperCase():(0,no.default)(o);return n===i})}function xc(){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]:Nr,n=typeof e=="string"?e.split(" "):e;return n.some(function(o){return Rr(r,o,t)})}function wc(){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]:Nr,n=typeof e=="string"?e.split(" "):e;return n.every(function(o){return Rr(r,o,t)})}});var ao=s(Lr=>{"use strict";Object.defineProperty(Lr,"__esModule",{value:!0});Lr.default=Tc;function io(){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"?io(r.object,r.property)+"."+e.name:r.name+"."+e.name}function Tc(){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 io(n,i)}return e.type==="JSXNamespacedName"?e.namespace.name+":"+e.name.name:r.name.name}});var jr=s((hb,uo)=>{"use strict";var so=Object.prototype.toString;uo.exports=function(e){var t=so.call(e),n=t==="[object Arguments]";return n||(n=t!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&so.call(e.callee)==="[object Function]"),n}});var So=s((bb,vo)=>{"use strict";var go;Object.keys||(Ee=Object.prototype.hasOwnProperty,Mr=Object.prototype.toString,lo=jr(),Dr=Object.prototype.propertyIsEnumerable,po=!Dr.call({toString:null},"toString"),co=Dr.call(function(){},"prototype"),xe=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],ze=function(r){var e=r.constructor;return e&&e.prototype===r},fo={$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},mo=(function(){if(typeof window>"u")return!1;for(var r in window)try{if(!fo["$"+r]&&Ee.call(window,r)&&window[r]!==null&&typeof window[r]=="object")try{ze(window[r])}catch{return!0}}catch{return!0}return!1})(),yo=function(r){if(typeof window>"u"||!mo)return ze(r);try{return ze(r)}catch{return!1}},go=function(e){var t=e!==null&&typeof e=="object",n=Mr.call(e)==="[object Function]",o=lo(e),i=t&&Mr.call(e)==="[object String]",a=[];if(!t&&!n&&!o)throw new TypeError("Object.keys called on a non-object");var u=co&&n;if(i&&e.length>0&&!Ee.call(e,0))for(var c=0;c<e.length;++c)a.push(String(c));if(o&&e.length>0)for(var l=0;l<e.length;++l)a.push(String(l));else for(var m in e)!(u&&m==="prototype")&&Ee.call(e,m)&&a.push(String(m));if(po)for(var p=yo(e),f=0;f<xe.length;++f)!(p&&xe[f]==="constructor")&&Ee.call(e,xe[f])&&a.push(xe[f]);return a});var Ee,Mr,lo,Dr,po,co,xe,ze,fo,mo,yo;vo.exports=go});var Vr=s((Eb,Eo)=>{"use strict";var qc=Array.prototype.slice,Ac=jr(),ho=Object.keys,Ke=ho?function(e){return ho(e)}:So(),bo=Object.keys;Ke.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 Ac(n)?bo(qc.call(n)):bo(n)})}else Object.keys=Ke;return Object.keys||Ke};Eo.exports=Ke});var ne=s((xb,xo)=>{"use strict";var Qe=Object.defineProperty||!1;if(Qe)try{Qe({},"a",{value:1})}catch{Qe=!1}xo.exports=Qe});var we=s((wb,wo)=>{"use strict";wo.exports=SyntaxError});var S=s((Tb,To)=>{"use strict";To.exports=TypeError});var Ao=s((qb,qo)=>{"use strict";qo.exports=Object.getOwnPropertyDescriptor});var V=s((Ab,Po)=>{"use strict";var Ye=Ao();if(Ye)try{Ye([],"length")}catch{Ye=null}Po.exports=Ye});var Ze=s((Pb,Oo)=>{"use strict";var ko=ne(),Pc=we(),oe=S(),Io=V();Oo.exports=function(e,t,n){if(!e||typeof e!="object"&&typeof e!="function")throw new oe("`obj` must be an object or a function`");if(typeof t!="string"&&typeof t!="symbol")throw new oe("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new oe("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new oe("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new oe("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new oe("`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,c=!!Io&&Io(e,t);if(ko)ko(e,t,{configurable:a===null&&c?c.configurable:!a,enumerable:o===null&&c?c.enumerable:!o,value:n,writable:i===null&&c?c.writable:!i});else if(u||!o&&!i&&!a)e[t]=n;else throw new Pc("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var Te=s((kb,$o)=>{"use strict";var Ur=ne(),Co=function(){return!!Ur};Co.hasArrayLengthDefineBug=function(){if(!Ur)return null;try{return Ur([],"length",{value:1}).length!==1}catch{return!0}};$o.exports=Co});var U=s((Ib,Ro)=>{"use strict";var kc=Vr(),Ic=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",Oc=Object.prototype.toString,Cc=Array.prototype.concat,Fo=Ze(),$c=function(r){return typeof r=="function"&&Oc.call(r)==="[object Function]"},_o=Te()(),Fc=function(r,e,t,n){if(e in r){if(n===!0){if(r[e]===t)return}else if(!$c(n)||!n())return}_o?Fo(r,e,t,!0):Fo(r,e,t)},No=function(r,e){var t=arguments.length>2?arguments[2]:{},n=kc(e);Ic&&(n=Cc.call(n,Object.getOwnPropertySymbols(e)));for(var o=0;o<n.length;o+=1)Fc(r,n[o],e[n[o]],t[n[o]])};No.supportsDescriptors=!!_o;Ro.exports=No});var ie=s((Ob,Lo)=>{"use strict";Lo.exports=Object});var Mo=s((Cb,jo)=>{"use strict";jo.exports=Error});var Vo=s(($b,Do)=>{"use strict";Do.exports=EvalError});var Br=s((Fb,Uo)=>{"use strict";Uo.exports=RangeError});var Jo=s((_b,Bo)=>{"use strict";Bo.exports=ReferenceError});var Xo=s((Nb,Wo)=>{"use strict";Wo.exports=URIError});var Jr=s((Rb,Go)=>{"use strict";Go.exports=Math.abs});var er=s((Lb,Ho)=>{"use strict";Ho.exports=Math.floor});var Ko=s((jb,zo)=>{"use strict";zo.exports=Math.max});var Yo=s((Mb,Qo)=>{"use strict";Qo.exports=Math.min});var ei=s((Db,Zo)=>{"use strict";Zo.exports=Math.pow});var ti=s((Vb,ri)=>{"use strict";ri.exports=Math.round});var ae=s((Ub,ni)=>{"use strict";ni.exports=Number.isNaN||function(e){return e!==e}});var ii=s((Bb,oi)=>{"use strict";var _c=ae();oi.exports=function(e){return _c(e)||e===0?e:e<0?-1:1}});var rr=s((Jb,ai)=>{"use strict";ai.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 Wr=s((Wb,ui)=>{"use strict";var si=typeof Symbol<"u"&&Symbol,Nc=rr();ui.exports=function(){return typeof si!="function"||typeof Symbol!="function"||typeof si("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Nc()}});var Xr=s((Xb,li)=>{"use strict";li.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var Gr=s((Gb,pi)=>{"use strict";var Rc=ie();pi.exports=Rc.getPrototypeOf||null});var di=s((Hb,fi)=>{"use strict";var Lc="Function.prototype.bind called on incompatible ",jc=Object.prototype.toString,Mc=Math.max,Dc="[object Function]",ci=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},Vc=function(e,t){for(var n=[],o=t||0,i=0;o<e.length;o+=1,i+=1)n[i]=e[o];return n},Uc=function(r,e){for(var t="",n=0;n<r.length;n+=1)t+=r[n],n+1<r.length&&(t+=e);return t};fi.exports=function(e){var t=this;if(typeof t!="function"||jc.apply(t)!==Dc)throw new TypeError(Lc+t);for(var n=Vc(arguments,1),o,i=function(){if(this instanceof o){var m=t.apply(this,ci(n,arguments));return Object(m)===m?m:this}return t.apply(e,ci(n,arguments))},a=Mc(0,t.length-n.length),u=[],c=0;c<a;c++)u[c]="$"+c;if(o=Function("binder","return function ("+Uc(u,",")+"){ return binder.apply(this,arguments); }")(i),t.prototype){var l=function(){};l.prototype=t.prototype,o.prototype=new l,l.prototype=null}return o}});var se=s((zb,mi)=>{"use strict";var Bc=di();mi.exports=Function.prototype.bind||Bc});var tr=s((Kb,yi)=>{"use strict";yi.exports=Function.prototype.call});var nr=s((Qb,gi)=>{"use strict";gi.exports=Function.prototype.apply});var Si=s((Yb,vi)=>{"use strict";vi.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var Hr=s((Zb,hi)=>{"use strict";var Jc=se(),Wc=nr(),Xc=tr(),Gc=Si();hi.exports=Gc||Jc.call(Xc,Wc)});var qe=s((eE,bi)=>{"use strict";var Hc=se(),zc=S(),Kc=tr(),Qc=Hr();bi.exports=function(e){if(e.length<1||typeof e[0]!="function")throw new zc("a function is required");return Qc(Hc,Kc,e)}});var Ai=s((rE,qi)=>{"use strict";var Yc=qe(),Ei=V(),wi;try{wi=[].__proto__===Array.prototype}catch(r){if(!r||typeof r!="object"||!("code"in r)||r.code!=="ERR_PROTO_ACCESS")throw r}var zr=!!wi&&Ei&&Ei(Object.prototype,"__proto__"),Ti=Object,xi=Ti.getPrototypeOf;qi.exports=zr&&typeof zr.get=="function"?Yc([zr.get]):typeof xi=="function"?function(e){return xi(e==null?e:Ti(e))}:!1});var Ci=s((tE,Oi)=>{"use strict";var Pi=Xr(),ki=Gr(),Ii=Ai();Oi.exports=Pi?function(e){return Pi(e)}:ki?function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return ki(e)}:Ii?function(e){return Ii(e)}:null});var B=s((nE,$i)=>{"use strict";var Zc=Function.prototype.call,ef=Object.prototype.hasOwnProperty,rf=se();$i.exports=rf.call(Zc,ef)});var I=s((oE,ji)=>{"use strict";var g,tf=ie(),nf=Mo(),of=Vo(),af=Br(),sf=Jo(),ce=we(),pe=S(),uf=Xo(),lf=Jr(),pf=er(),cf=Ko(),ff=Yo(),df=ei(),mf=ti(),yf=ii(),Ri=Function,Kr=function(r){try{return Ri('"use strict"; return ('+r+").constructor;")()}catch{}},Ae=V(),gf=ne(),Qr=function(){throw new pe},vf=Ae?(function(){try{return arguments.callee,Qr}catch{try{return Ae(arguments,"callee").get}catch{return Qr}}})():Qr,ue=Wr()(),T=Ci(),Sf=Gr(),hf=Xr(),Li=nr(),Pe=tr(),le={},bf=typeof Uint8Array>"u"||!T?g:T(Uint8Array),Q={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?g:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?g:ArrayBuffer,"%ArrayIteratorPrototype%":ue&&T?T([][Symbol.iterator]()):g,"%AsyncFromSyncIteratorPrototype%":g,"%AsyncFunction%":le,"%AsyncGenerator%":le,"%AsyncGeneratorFunction%":le,"%AsyncIteratorPrototype%":le,"%Atomics%":typeof Atomics>"u"?g:Atomics,"%BigInt%":typeof BigInt>"u"?g:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?g:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?g:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?g:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":nf,"%eval%":eval,"%EvalError%":of,"%Float16Array%":typeof Float16Array>"u"?g:Float16Array,"%Float32Array%":typeof Float32Array>"u"?g:Float32Array,"%Float64Array%":typeof Float64Array>"u"?g:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?g:FinalizationRegistry,"%Function%":Ri,"%GeneratorFunction%":le,"%Int8Array%":typeof Int8Array>"u"?g:Int8Array,"%Int16Array%":typeof Int16Array>"u"?g:Int16Array,"%Int32Array%":typeof Int32Array>"u"?g:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ue&&T?T(T([][Symbol.iterator]())):g,"%JSON%":typeof JSON=="object"?JSON:g,"%Map%":typeof Map>"u"?g:Map,"%MapIteratorPrototype%":typeof Map>"u"||!ue||!T?g:T(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":tf,"%Object.getOwnPropertyDescriptor%":Ae,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?g:Promise,"%Proxy%":typeof Proxy>"u"?g:Proxy,"%RangeError%":af,"%ReferenceError%":sf,"%Reflect%":typeof Reflect>"u"?g:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?g:Set,"%SetIteratorPrototype%":typeof Set>"u"||!ue||!T?g:T(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?g:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ue&&T?T(""[Symbol.iterator]()):g,"%Symbol%":ue?Symbol:g,"%SyntaxError%":ce,"%ThrowTypeError%":vf,"%TypedArray%":bf,"%TypeError%":pe,"%Uint8Array%":typeof Uint8Array>"u"?g:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?g:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?g:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?g:Uint32Array,"%URIError%":uf,"%WeakMap%":typeof WeakMap>"u"?g:WeakMap,"%WeakRef%":typeof WeakRef>"u"?g:WeakRef,"%WeakSet%":typeof WeakSet>"u"?g:WeakSet,"%Function.prototype.call%":Pe,"%Function.prototype.apply%":Li,"%Object.defineProperty%":gf,"%Object.getPrototypeOf%":Sf,"%Math.abs%":lf,"%Math.floor%":pf,"%Math.max%":cf,"%Math.min%":ff,"%Math.pow%":df,"%Math.round%":mf,"%Math.sign%":yf,"%Reflect.getPrototypeOf%":hf};if(T)try{null.error}catch(r){Fi=T(T(r)),Q["%Error.prototype%"]=Fi}var Fi,Ef=function r(e){var t;if(e==="%AsyncFunction%")t=Kr("async function () {}");else if(e==="%GeneratorFunction%")t=Kr("function* () {}");else if(e==="%AsyncGeneratorFunction%")t=Kr("async function* () {}");else if(e==="%AsyncGenerator%"){var n=r("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var o=r("%AsyncGenerator%");o&&T&&(t=T(o.prototype))}return Q[e]=t,t},_i={__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"]},ke=se(),or=B(),xf=ke.call(Pe,Array.prototype.concat),wf=ke.call(Li,Array.prototype.splice),Ni=ke.call(Pe,String.prototype.replace),ir=ke.call(Pe,String.prototype.slice),Tf=ke.call(Pe,RegExp.prototype.exec),qf=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Af=/\\(\\)?/g,Pf=function(e){var t=ir(e,0,1),n=ir(e,-1);if(t==="%"&&n!=="%")throw new ce("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new ce("invalid intrinsic syntax, expected opening `%`");var o=[];return Ni(e,qf,function(i,a,u,c){o[o.length]=u?Ni(c,Af,"$1"):a||i}),o},kf=function(e,t){var n=e,o;if(or(_i,n)&&(o=_i[n],n="%"+o[0]+"%"),or(Q,n)){var i=Q[n];if(i===le&&(i=Ef(n)),typeof i>"u"&&!t)throw new pe("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:i}}throw new ce("intrinsic "+e+" does not exist!")};ji.exports=function(e,t){if(typeof e!="string"||e.length===0)throw new pe("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new pe('"allowMissing" argument must be a boolean');if(Tf(/^%?[^%]*%?$/,e)===null)throw new ce("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Pf(e),o=n.length>0?n[0]:"",i=kf("%"+o+"%",t),a=i.name,u=i.value,c=!1,l=i.alias;l&&(o=l[0],wf(n,xf([0,1],l)));for(var m=1,p=!0;m<n.length;m+=1){var f=n[m],d=ir(f,0,1),y=ir(f,-1);if((d==='"'||d==="'"||d==="`"||y==='"'||y==="'"||y==="`")&&d!==y)throw new ce("property names with quotes must have matching quotes");if((f==="constructor"||!p)&&(c=!0),o+="."+f,a="%"+o+"%",or(Q,a))u=Q[a];else if(u!=null){if(!(f in u)){if(!t)throw new pe("base intrinsic for "+e+" exists, but the property is not available.");return}if(Ae&&m+1>=n.length){var v=Ae(u,f);p=!!v,p&&"get"in v&&!("originalValue"in v.get)?u=v.get:u=u[f]}else p=or(u,f),u=u[f];p&&!c&&(Q[a]=u)}}return u}});var Bi=s((iE,Ui)=>{"use strict";var If=I(),Mi=Ze(),Of=Te()(),Di=V(),Vi=S(),Cf=If("%Math.floor%");Ui.exports=function(e,t){if(typeof e!="function")throw new Vi("`fn` is not a function");if(typeof t!="number"||t<0||t>4294967295||Cf(t)!==t)throw new Vi("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],o=!0,i=!0;if("length"in e&&Di){var a=Di(e,"length");a&&!a.configurable&&(o=!1),a&&!a.writable&&(i=!1)}return(o||i||!n)&&(Of?Mi(e,"length",t,!0,!0):Mi(e,"length",t)),e}});var Wi=s((aE,Ji)=>{"use strict";var $f=se(),Ff=nr(),_f=Hr();Ji.exports=function(){return _f($f,Ff,arguments)}});var Ie=s((sE,ar)=>{"use strict";var Nf=Bi(),Xi=ne(),Rf=qe(),Gi=Wi();ar.exports=function(e){var t=Rf(arguments),n=1+e.length-(arguments.length-1);return Nf(t,n>0?n:0,!0)};Xi?Xi(ar.exports,"apply",{value:Gi}):ar.exports.apply=Gi});var Yr=s((uE,Hi)=>{"use strict";var Lf=ae();Hi.exports=function(e){return(typeof e=="number"||typeof e=="bigint")&&!Lf(e)&&e!==1/0&&e!==-1/0}});var Zr=s((lE,zi)=>{"use strict";var jf=Jr(),Mf=er(),Df=ae(),Vf=Yr();zi.exports=function(e){if(typeof e!="number"||Df(e)||!Vf(e))return!1;var t=jf(e);return Mf(t)===t}});var C=s((pE,Ki)=>{"use strict";Ki.exports=function(e){return!!e&&(typeof e=="function"||typeof e=="object")}});var Yi=s((cE,Qi)=>{"use strict";Qi.exports=4294967295});var ea=s((fE,Zi)=>{"use strict";Zi.exports=typeof Reflect<"u"&&Reflect.setPrototypeOf||null});var ta=s((dE,ra)=>{"use strict";var Uf=ie();ra.exports=Uf.setPrototypeOf||null});var aa=s((mE,ia)=>{"use strict";var Bf=qe(),na=V(),Jf=S(),oa={};try{oa.__proto__=null}catch(r){if(!r||typeof r!="object"||!("code"in r)||r.code!=="ERR_PROTO_ACCESS")throw r}var Wf=!("toString"in oa),et=na&&na(Object.prototype,"__proto__");ia.exports=Wf&&(!!et&&typeof et.set=="function"&&Bf([et.set])||function(e,t){if(e==null)throw new Jf("set Object.prototype.__proto__ called on null or undefined");return e.__proto__=t,t})});var pa=s((yE,la)=>{"use strict";var sa=ea(),Xf=ta(),ua=aa(),Gf=S();la.exports=sa?function(e,t){if(sa(e,t))return e;throw new Gf("Reflect.setPrototypeOf: failed to set [[Prototype]]")}:Xf||(ua?function(e,t){return ua(e,t),e}:null)});var ma=s((gE,da)=>{"use strict";var Hf=I(),ca=Hf("%Array.prototype%"),zf=Br(),Kf=we(),Qf=S(),Yf=Zr(),Zf=Yi(),fa=pa();da.exports=function(e){if(!Yf(e)||e<0)throw new Qf("Assertion failed: `length` must be an integer Number >= 0");if(e>Zf)throw new zf("length is greater than (2**32 - 1)");var t=arguments.length>1?arguments[1]:ca,n=[];if(t!==ca){if(!fa)throw new Kf("ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]");fa(n,t)}return e!==0&&(n.length=e),n}});var ga=s((vE,ya)=>{ya.exports=require("util").inspect});var La=s((SE,Ra)=>{var pt=typeof Map=="function"&&Map.prototype,rt=Object.getOwnPropertyDescriptor&&pt?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,ur=pt&&rt&&typeof rt.get=="function"?rt.get:null,va=pt&&Map.prototype.forEach,ct=typeof Set=="function"&&Set.prototype,tt=Object.getOwnPropertyDescriptor&&ct?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,lr=ct&&tt&&typeof tt.get=="function"?tt.get:null,Sa=ct&&Set.prototype.forEach,ed=typeof WeakMap=="function"&&WeakMap.prototype,Ce=ed?WeakMap.prototype.has:null,rd=typeof WeakSet=="function"&&WeakSet.prototype,$e=rd?WeakSet.prototype.has:null,td=typeof WeakRef=="function"&&WeakRef.prototype,ha=td?WeakRef.prototype.deref:null,nd=Boolean.prototype.valueOf,od=Object.prototype.toString,id=Function.prototype.toString,ad=String.prototype.match,ft=String.prototype.slice,J=String.prototype.replace,sd=String.prototype.toUpperCase,ba=String.prototype.toLowerCase,Ia=RegExp.prototype.test,Ea=Array.prototype.concat,$=Array.prototype.join,ud=Array.prototype.slice,xa=Math.floor,it=typeof BigInt=="function"?BigInt.prototype.valueOf:null,nt=Object.getOwnPropertySymbols,at=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,fe=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Fe=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===fe||!0)?Symbol.toStringTag:null,Oa=Object.prototype.propertyIsEnumerable,wa=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(r){return r.__proto__}:null);function Ta(r,e){if(r===1/0||r===-1/0||r!==r||r&&r>-1e3&&r<1e3||Ia.call(/e/,e))return e;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof r=="number"){var n=r<0?-xa(-r):xa(r);if(n!==r){var o=String(n),i=ft.call(e,o.length+1);return J.call(o,t,"$&_")+"."+J.call(J.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return J.call(e,t,"$&_")}var st=ga(),qa=st.custom,Aa=Fa(qa)?qa:null,Ca={__proto__:null,double:'"',single:"'"},ld={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};Ra.exports=function r(e,t,n,o){var i=t||{};if(N(i,"quoteStyle")&&!N(Ca,i.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(N(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=N(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(N(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(N(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 Na(e,i);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var c=String(e);return u?Ta(e,c):c}if(typeof e=="bigint"){var l=String(e)+"n";return u?Ta(e,l):l}var m=typeof i.depth>"u"?5:i.depth;if(typeof n>"u"&&(n=0),n>=m&&m>0&&typeof e=="object")return ut(e)?"[Array]":"[Object]";var p=Pd(i,n);if(typeof o>"u")o=[];else if(_a(o,e)>=0)return"[Circular]";function f(ee,Be,ic){if(Be&&(o=ud.call(o),o.push(Be)),ic){var Gn={depth:i.depth};return N(i,"quoteStyle")&&(Gn.quoteStyle=i.quoteStyle),r(ee,Gn,n+1,o)}return r(ee,i,n+1,o)}if(typeof e=="function"&&!Pa(e)){var d=Sd(e),y=sr(e,f);return"[Function"+(d?": "+d:" (anonymous)")+"]"+(y.length>0?" { "+$.call(y,", ")+" }":"")}if(Fa(e)){var v=fe?J.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):at.call(e);return typeof e=="object"&&!fe?Oe(v):v}if(Td(e)){for(var A="<"+ba.call(String(e.nodeName)),P=e.attributes||[],j=0;j<P.length;j++)A+=" "+P[j].name+"="+$a(pd(P[j].value),"double",i);return A+=">",e.childNodes&&e.childNodes.length&&(A+="..."),A+="</"+ba.call(String(e.nodeName))+">",A}if(ut(e)){if(e.length===0)return"[]";var w=sr(e,f);return p&&!Ad(w)?"["+lt(w,p)+"]":"[ "+$.call(w,", ")+" ]"}if(fd(e)){var k=sr(e,f);return!("cause"in Error.prototype)&&"cause"in e&&!Oa.call(e,"cause")?"{ ["+String(e)+"] "+$.call(Ea.call("[cause]: "+f(e.cause),k),", ")+" }":k.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+$.call(k,", ")+" }"}if(typeof e=="object"&&a){if(Aa&&typeof e[Aa]=="function"&&st)return st(e,{depth:m-n});if(a!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(hd(e)){var Se=[];return va&&va.call(e,function(ee,Be){Se.push(f(Be,e,!0)+" => "+f(ee,e))}),ka("Map",ur.call(e),Se,p)}if(xd(e)){var Jn=[];return Sa&&Sa.call(e,function(ee){Jn.push(f(ee,e))}),ka("Set",lr.call(e),Jn,p)}if(bd(e))return ot("WeakMap");if(wd(e))return ot("WeakSet");if(Ed(e))return ot("WeakRef");if(md(e))return Oe(f(Number(e)));if(gd(e))return Oe(f(it.call(e)));if(yd(e))return Oe(nd.call(e));if(dd(e))return Oe(f(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(!cd(e)&&!Pa(e)){var kr=sr(e,f),Wn=wa?wa(e)===Object.prototype:e instanceof Object||e.constructor===Object,Ir=e instanceof Object?"":"null prototype",Xn=!Wn&&Fe&&Object(e)===e&&Fe in e?ft.call(W(e),8,-1):Ir?"Object":"",oc=Wn||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",Or=oc+(Xn||Ir?"["+$.call(Ea.call([],Xn||[],Ir||[]),": ")+"] ":"");return kr.length===0?Or+"{}":p?Or+"{"+lt(kr,p)+"}":Or+"{ "+$.call(kr,", ")+" }"}return String(e)};function $a(r,e,t){var n=t.quoteStyle||e,o=Ca[n];return o+r+o}function pd(r){return J.call(String(r),/"/g,"&quot;")}function Y(r){return!Fe||!(typeof r=="object"&&(Fe in r||typeof r[Fe]<"u"))}function ut(r){return W(r)==="[object Array]"&&Y(r)}function cd(r){return W(r)==="[object Date]"&&Y(r)}function Pa(r){return W(r)==="[object RegExp]"&&Y(r)}function fd(r){return W(r)==="[object Error]"&&Y(r)}function dd(r){return W(r)==="[object String]"&&Y(r)}function md(r){return W(r)==="[object Number]"&&Y(r)}function yd(r){return W(r)==="[object Boolean]"&&Y(r)}function Fa(r){if(fe)return r&&typeof r=="object"&&r instanceof Symbol;if(typeof r=="symbol")return!0;if(!r||typeof r!="object"||!at)return!1;try{return at.call(r),!0}catch{}return!1}function gd(r){if(!r||typeof r!="object"||!it)return!1;try{return it.call(r),!0}catch{}return!1}var vd=Object.prototype.hasOwnProperty||function(r){return r in this};function N(r,e){return vd.call(r,e)}function W(r){return od.call(r)}function Sd(r){if(r.name)return r.name;var e=ad.call(id.call(r),/^function\s*([\w$]+)/);return e?e[1]:null}function _a(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 hd(r){if(!ur||!r||typeof r!="object")return!1;try{ur.call(r);try{lr.call(r)}catch{return!0}return r instanceof Map}catch{}return!1}function bd(r){if(!Ce||!r||typeof r!="object")return!1;try{Ce.call(r,Ce);try{$e.call(r,$e)}catch{return!0}return r instanceof WeakMap}catch{}return!1}function Ed(r){if(!ha||!r||typeof r!="object")return!1;try{return ha.call(r),!0}catch{}return!1}function xd(r){if(!lr||!r||typeof r!="object")return!1;try{lr.call(r);try{ur.call(r)}catch{return!0}return r instanceof Set}catch{}return!1}function wd(r){if(!$e||!r||typeof r!="object")return!1;try{$e.call(r,$e);try{Ce.call(r,Ce)}catch{return!0}return r instanceof WeakSet}catch{}return!1}function Td(r){return!r||typeof r!="object"?!1:typeof HTMLElement<"u"&&r instanceof HTMLElement?!0:typeof r.nodeName=="string"&&typeof r.getAttribute=="function"}function Na(r,e){if(r.length>e.maxStringLength){var t=r.length-e.maxStringLength,n="... "+t+" more character"+(t>1?"s":"");return Na(ft.call(r,0,e.maxStringLength),e)+n}var o=ld[e.quoteStyle||"single"];o.lastIndex=0;var i=J.call(J.call(r,o,"\\$1"),/[\x00-\x1f]/g,qd);return $a(i,"single",e)}function qd(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":"")+sd.call(e.toString(16))}function Oe(r){return"Object("+r+")"}function ot(r){return r+" { ? }"}function ka(r,e,t,n){var o=n?lt(t,n):$.call(t,", ");return r+" ("+e+") {"+o+"}"}function Ad(r){for(var e=0;e<r.length;e++)if(_a(r[e],`
2
+ `)>=0)return!1;return!0}function Pd(r,e){var t;if(r.indent===" ")t=" ";else if(typeof r.indent=="number"&&r.indent>0)t=$.call(Array(r.indent+1)," ");else return null;return{base:t,prev:$.call(Array(e+1),t)}}function lt(r,e){if(r.length===0)return"";var t=`
3
+ `+e.prev+e.base;return t+$.call(r,","+t)+`
4
+ `+e.prev}function sr(r,e){var t=ut(r),n=[];if(t){n.length=r.length;for(var o=0;o<r.length;o++)n[o]=N(r,o)?e(r[o],r):""}var i=typeof nt=="function"?nt(r):[],a;if(fe){a={};for(var u=0;u<i.length;u++)a["$"+i[u]]=i[u]}for(var c in r)N(r,c)&&(t&&String(Number(c))===c&&c<r.length||fe&&a["$"+c]instanceof Symbol||(Ia.call(/[^\w$]/,c)?n.push(e(c,r)+": "+e(r[c],r)):n.push(c+": "+e(r[c],r))));if(typeof nt=="function")for(var l=0;l<i.length;l++)Oa.call(r,i[l])&&n.push("["+e(i[l])+"]: "+e(r[i[l]],r));return n}});var X=s((hE,ja)=>{"use strict";ja.exports=function(e){return typeof e=="string"||typeof e=="symbol"}});var _e=s((bE,Da)=>{"use strict";var Ma=S(),kd=La(),Id=X(),Od=C();Da.exports=function(e,t){if(!Od(e))throw new Ma("Assertion failed: Type(O) is not Object");if(!Id(t))throw new Ma("Assertion failed: P is not a Property Key, got "+kd(t));return e[t]}});var O=s((EE,Ba)=>{"use strict";var Va=I(),Ua=qe(),Cd=Ua([Va("%String.prototype.indexOf%")]);Ba.exports=function(e,t){var n=Va(e,!!t);return typeof n=="function"&&Cd(e,".prototype.")>-1?Ua([n]):n}});var dt=s((xE,Wa)=>{"use strict";var $d=I(),Ja=$d("%Array%"),Fd=!Ja.isArray&&O()("Object.prototype.toString");Wa.exports=Ja.isArray||function(e){return Fd(e)==="[object Array]"}});var pr=s((wE,Xa)=>{"use strict";Xa.exports=dt()});var Ha=s((TE,Ga)=>{"use strict";Ga.exports=I()});var R=s((qE,za)=>{"use strict";var _d=S(),Ne=B(),Nd={__proto__:null,"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};za.exports=function(e){if(!e||typeof e!="object")return!1;for(var t in e)if(Ne(e,t)&&!Nd[t])return!1;var n=Ne(e,"[[Value]]")||Ne(e,"[[Writable]]"),o=Ne(e,"[[Get]]")||Ne(e,"[[Set]]");if(n&&o)throw new _d("Property Descriptors may not be both accessor and data descriptors");return!0}});var mt=s((AE,Ya)=>{"use strict";var Rd=Te(),Ka=ne(),Qa=Rd.hasArrayLengthDefineBug(),Ld=Qa&&dt(),jd=O(),Md=jd("Object.prototype.propertyIsEnumerable");Ya.exports=function(e,t,n,o,i,a){if(!Ka){if(!e(a)||!a["[[Configurable]]"]||!a["[[Writable]]"]||i in o&&Md(o,i)!==!!a["[[Enumerable]]"])return!1;var u=a["[[Value]]"];return o[i]=u,t(o[i],u)}return Qa&&i==="length"&&"[[Value]]"in a&&Ld(o)&&o.length!==a["[[Value]]"]?(o.length=a["[[Value]]"],o.length===a["[[Value]]"]):(Ka(o,i,n(a)),!0)}});var es=s((PE,Za)=>{"use strict";Za.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 yt=s((kE,rs)=>{"use strict";var Dd=S(),Vd=R(),Ud=es();rs.exports=function(e){if(typeof e<"u"&&!Vd(e))throw new Dd("Assertion failed: `Desc` must be a Property Descriptor");return Ud(e)}});var cr=s((IE,ns)=>{"use strict";var Bd=S(),ts=B(),Jd=R();ns.exports=function(e){if(typeof e>"u")return!1;if(!Jd(e))throw new Bd("Assertion failed: `Desc` must be a Property Descriptor");return!(!ts(e,"[[Value]]")&&!ts(e,"[[Writable]]"))}});var fr=s((OE,is)=>{"use strict";var os=ae();is.exports=function(e,t){return e===t?e===0?1/e===1/t:!0:os(e)&&os(t)}});var bt=s((CE,us)=>{"use strict";var ss=Function.prototype.toString,de=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,vt,dr;if(typeof de=="function"&&typeof Object.defineProperty=="function")try{vt=Object.defineProperty({},"length",{get:function(){throw dr}}),dr={},de(function(){throw 42},null,vt)}catch(r){r!==dr&&(de=null)}else de=null;var Wd=/^\s*class\b/,St=function(e){try{var t=ss.call(e);return Wd.test(t)}catch{return!1}},gt=function(e){try{return St(e)?!1:(ss.call(e),!0)}catch{return!1}},mr=Object.prototype.toString,Xd="[object Object]",Gd="[object Function]",Hd="[object GeneratorFunction]",zd="[object HTMLAllCollection]",Kd="[object HTML document.all class]",Qd="[object HTMLCollection]",Yd=typeof Symbol=="function"&&!!Symbol.toStringTag,Zd=!(0 in[,]),ht=function(){return!1};typeof document=="object"&&(as=document.all,mr.call(as)===mr.call(document.all)&&(ht=function(e){if((Zd||!e)&&(typeof e>"u"||typeof e=="object"))try{var t=mr.call(e);return(t===zd||t===Kd||t===Qd||t===Xd)&&e("")==null}catch{}return!1}));var as;us.exports=de?function(e){if(ht(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{de(e,null,vt)}catch(t){if(t!==dr)return!1}return!St(e)&&gt(e)}:function(e){if(ht(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(Yd)return gt(e);if(St(e))return!1;var t=mr.call(e);return t!==Gd&&t!==Hd&&!/^\[object HTML/.test(t)?!1:gt(e)}});var ps=s(($E,ls)=>{"use strict";ls.exports=bt()});var fs=s((FE,cs)=>{"use strict";cs.exports=function(e){return!!e}});var xt=s((_E,ms)=>{"use strict";var F=B(),yr=S(),em=C(),ds=ps(),Et=fs();ms.exports=function(e){if(!em(e))throw new yr("ToPropertyDescriptor requires an object");var t={};if(F(e,"enumerable")&&(t["[[Enumerable]]"]=Et(e.enumerable)),F(e,"configurable")&&(t["[[Configurable]]"]=Et(e.configurable)),F(e,"value")&&(t["[[Value]]"]=e.value),F(e,"writable")&&(t["[[Writable]]"]=Et(e.writable)),F(e,"get")){var n=e.get;if(typeof n<"u"&&!ds(n))throw new yr("getter must be a function");t["[[Get]]"]=n}if(F(e,"set")){var o=e.set;if(typeof o<"u"&&!ds(o))throw new yr("setter must be a function");t["[[Set]]"]=o}if((F(t,"[[Get]]")||F(t,"[[Set]]"))&&(F(t,"[[Value]]")||F(t,"[[Writable]]")))throw new yr("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return t}});var vs=s((NE,gs)=>{"use strict";var wt=S(),rm=C(),ys=R(),tm=mt(),nm=yt(),om=cr(),im=X(),am=fr(),sm=xt();gs.exports=function(e,t,n){if(!rm(e))throw new wt("Assertion failed: Type(O) is not Object");if(!im(t))throw new wt("Assertion failed: P is not a Property Key");var o=ys(n)?n:sm(n);if(!ys(o))throw new wt("Assertion failed: Desc is not a valid Property Descriptor");return tm(om,am,nm,e,t,o)}});var hs=s((RE,At)=>{"use strict";var um=Ha(),Ss=um("%Reflect.construct%",!0),gr=vs();try{gr({},"",{"[[Get]]":function(){}})}catch{gr=null}gr&&Ss?(Tt={},qt={},gr(qt,"length",{"[[Get]]":function(){throw Tt},"[[Enumerable]]":!0}),At.exports=function(e){try{Ss(e,qt)}catch(t){return t===Tt}}):At.exports=function(e){return typeof e=="function"&&!!e.prototype};var Tt,qt});var qs=s((LE,Ts)=>{"use strict";var lm=I(),bs=lm("%Symbol.species%",!0),Es=S(),pm=Zr(),cm=C(),xs=ma(),ws=_e(),fm=pr(),dm=hs();Ts.exports=function(e,t){if(!pm(t)||t<0)throw new Es("Assertion failed: length must be an integer >= 0");var n=fm(e);if(!n)return xs(t);var o=ws(e,"constructor");if(bs&&cm(o)&&(o=ws(o,bs),o===null&&(o=void 0)),typeof o>"u")return xs(t);if(!dm(o))throw new Es("C must be a constructor");return new o(t)}});var Pt=s((jE,As)=>{"use strict";As.exports=Number.MAX_SAFE_INTEGER||9007199254740991});var ks=s((ME,Ps)=>{"use strict";var mm=I(),ym=O(),gm=S(),vm=pr(),Sm=mm("%Reflect.apply%",!0)||ym("Function.prototype.apply");Ps.exports=function(e,t){var n=arguments.length>2?arguments[2]:[];if(!vm(n))throw new gm("Assertion failed: optional `argumentsList`, if provided, must be a List");return Sm(e,t,n)}});var vr=s((DE,Os)=>{"use strict";var hm=S(),Is=B(),bm=R();Os.exports=function(e){if(typeof e>"u")return!1;if(!bm(e))throw new hm("Assertion failed: `Desc` must be a Property Descriptor");return!(!Is(e,"[[Get]]")&&!Is(e,"[[Set]]"))}});var kt=s((VE,Cs)=>{"use strict";Cs.exports=function(e){return e===null||typeof e!="function"&&typeof e!="object"}});var Ns=s((UE,_s)=>{"use strict";var Fs=I(),Em=Fs("%Object.preventExtensions%",!0),xm=Fs("%Object.isExtensible%",!0),$s=kt();_s.exports=Em?function(e){return!$s(e)&&xm(e)}:function(e){return!$s(e)}});var Ls=s((BE,Rs)=>{"use strict";var wm=R();Rs.exports=function(e,t){return wm(t)&&"[[Enumerable]]"in t&&"[[Configurable]]"in t&&(e.IsAccessorDescriptor(t)||e.IsDataDescriptor(t))}});var Ms=s((JE,js)=>{"use strict";var Tm=S(),qm=vr(),Am=cr(),Pm=R();js.exports=function(e){if(typeof e>"u")return!1;if(!Pm(e))throw new Tm("Assertion failed: `Desc` must be a Property Descriptor");return!qm(e)&&!Am(e)}});var Us=s((WE,Vs)=>{"use strict";var me=S(),km=C(),Re=mt(),Im=Ls(),Ds=R(),Le=yt(),Z=vr(),G=cr(),Om=Ms(),Cm=X(),_=fr();Vs.exports=function(e,t,n,o,i){if(typeof e<"u"&&!km(e))throw new me("Assertion failed: O must be undefined or an Object");if(!Cm(t))throw new me("Assertion failed: P must be a Property Key");if(typeof n!="boolean")throw new me("Assertion failed: extensible must be a Boolean");if(!Ds(o))throw new me("Assertion failed: Desc must be a Property Descriptor");if(typeof i<"u"&&!Ds(i))throw new me("Assertion failed: current must be a Property Descriptor, or undefined");if(typeof i>"u")return n?typeof e>"u"?!0:Z(o)?Re(G,_,Le,e,t,o):Re(G,_,Le,e,t,{"[[Configurable]]":!!o["[[Configurable]]"],"[[Enumerable]]":!!o["[[Enumerable]]"],"[[Value]]":o["[[Value]]"],"[[Writable]]":!!o["[[Writable]]"]}):!1;if(!Im({IsAccessorDescriptor:Z,IsDataDescriptor:G},i))throw new me("`current`, when present, must be a fully populated and valid Property Descriptor");if(!i["[[Configurable]]"]){if("[[Configurable]]"in o&&o["[[Configurable]]"]||"[[Enumerable]]"in o&&!_(o["[[Enumerable]]"],i["[[Enumerable]]"])||!Om(o)&&!_(Z(o),Z(i)))return!1;if(Z(i)){if("[[Get]]"in o&&!_(o["[[Get]]"],i["[[Get]]"])||"[[Set]]"in o&&!_(o["[[Set]]"],i["[[Set]]"]))return!1}else if(!i["[[Writable]]"]&&("[[Writable]]"in o&&o["[[Writable]]"]||"[[Value]]"in o&&!_(o["[[Value]]"],i["[[Value]]"])))return!1}if(typeof e<"u"){var a,u;return G(i)&&Z(o)?(a=("[[Configurable]]"in o?o:i)["[[Configurable]]"],u=("[[Enumerable]]"in o?o:i)["[[Enumerable]]"],Re(G,_,Le,e,t,{"[[Configurable]]":!!a,"[[Enumerable]]":!!u,"[[Get]]":("[[Get]]"in o?o:i)["[[Get]]"],"[[Set]]":("[[Set]]"in o?o:i)["[[Set]]"]})):Z(i)&&G(o)?(a=("[[Configurable]]"in o?o:i)["[[Configurable]]"],u=("[[Enumerable]]"in o?o:i)["[[Enumerable]]"],Re(G,_,Le,e,t,{"[[Configurable]]":!!a,"[[Enumerable]]":!!u,"[[Value]]":("[[Value]]"in o?o:i)["[[Value]]"],"[[Writable]]":!!("[[Writable]]"in o?o:i)["[[Writable]]"]})):Re(G,_,Le,e,t,o)}return!0}});var Xs=s((XE,Ws)=>{"use strict";var Bs=V(),Js=we(),It=S(),$m=C(),Fm=R(),_m=vr(),Nm=Ns(),Rm=X(),Lm=xt(),jm=fr(),Mm=Us();Ws.exports=function(e,t,n){if(!$m(e))throw new It("Assertion failed: O must be an Object");if(!Rm(t))throw new It("Assertion failed: P must be a Property Key");if(!Fm(n))throw new It("Assertion failed: Desc must be a Property Descriptor");if(!Bs){if(_m(n))throw new Js("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]]"],jm(e[t],n["[[Value]]"]);throw new Js("This environment does not support defining non-writable, non-enumerable, or non-configurable properties")}var a=Bs(e,t),u=a&&Lm(a),c=Nm(e);return Mm(e,t,c,n,u)}});var zs=s((GE,Hs)=>{"use strict";var Gs=S(),Dm=C(),Vm=X(),Um=Xs();Hs.exports=function(e,t,n){if(!Dm(e))throw new Gs("Assertion failed: Type(O) is not Object");if(!Vm(t))throw new Gs("Assertion failed: P is not a Property Key");var o={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":n,"[[Writable]]":!0};return Um(e,t,o)}});var Qs=s((HE,Ks)=>{"use strict";var Ot=S(),Bm=C(),Jm=zs(),Wm=X();Ks.exports=function(e,t,n){if(!Bm(e))throw new Ot("Assertion failed: Type(O) is not Object");if(!Wm(t))throw new Ot("Assertion failed: P is not a Property Key");var o=Jm(e,t,n);if(!o)throw new Ot("unable to create data property")}});var eu=s((zE,Zs)=>{"use strict";var Ys=S(),Xm=C(),Gm=X();Zs.exports=function(e,t){if(!Xm(e))throw new Ys("Assertion failed: `O` must be an Object");if(!Gm(t))throw new Ys("Assertion failed: `P` must be a Property Key");return t in e}});var tu=s((KE,ru)=>{"use strict";ru.exports=function(e){return e===null||typeof e!="function"&&typeof e!="object"}});var Ct=s((QE,nu)=>{"use strict";var Hm=rr();nu.exports=function(){return Hm()&&!!Symbol.toStringTag}});var au=s((YE,iu)=>{"use strict";var ou=O(),zm=ou("Date.prototype.getDay"),Km=function(e){try{return zm(e),!0}catch{return!1}},Qm=ou("Object.prototype.toString"),Ym="[object Date]",Zm=Ct()();iu.exports=function(e){return typeof e!="object"||e===null?!1:Zm?Km(e):Qm(e)===Ym}});var fu=s((ZE,cu)=>{"use strict";var su=O(),ey=Ct()(),ry=B(),ty=V(),_t;ey?(uu=su("RegExp.prototype.exec"),$t={},Sr=function(){throw $t},Ft={toString:Sr,valueOf:Sr},typeof Symbol.toPrimitive=="symbol"&&(Ft[Symbol.toPrimitive]=Sr),_t=function(e){if(!e||typeof e!="object")return!1;var t=ty(e,"lastIndex"),n=t&&ry(t,"value");if(!n)return!1;try{uu(e,Ft)}catch(o){return o===$t}}):(lu=su("Object.prototype.toString"),pu="[object RegExp]",_t=function(e){return!e||typeof e!="object"&&typeof e!="function"?!1:lu(e)===pu});var uu,$t,Sr,Ft,lu,pu;cu.exports=_t});var Nt=s((ex,du)=>{"use strict";var ny=O(),oy=fu(),iy=ny("RegExp.prototype.exec"),ay=S();du.exports=function(e){if(!oy(e))throw new ay("`regex` must be a RegExp");return function(n){return iy(e,n)!==null}}});var Su=s((rx,Rt)=>{"use strict";var vu=O(),sy=vu("Object.prototype.toString"),uy=Wr()(),ly=Nt();uy?(mu=vu("Symbol.prototype.toString"),yu=ly(/^Symbol\(.*\)$/),gu=function(e){return typeof e.valueOf()!="symbol"?!1:yu(mu(e))},Rt.exports=function(e){if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||sy(e)!=="[object Symbol]")return!1;try{return gu(e)}catch{return!1}}):Rt.exports=function(e){return!1};var mu,yu,gu});var xu=s((tx,Eu)=>{"use strict";var py=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol",Lt=tu(),bu=bt(),cy=au(),hu=Su(),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]],bu(o)&&(i=o.call(e),Lt(i)))return i;throw new TypeError("No default value")},dy=function(e,t){var n=e[t];if(n!==null&&typeof n<"u"){if(!bu(n))throw new TypeError(n+" returned for property "+String(t)+" of object "+e+" is not a function");return n}};Eu.exports=function(e){if(Lt(e))return e;var t="default";arguments.length>1&&(arguments[1]===String?t="string":arguments[1]===Number&&(t="number"));var n;if(py&&(Symbol.toPrimitive?n=dy(e,Symbol.toPrimitive):hu(e)&&(n=Symbol.prototype.valueOf)),typeof n<"u"){var o=n.call(e,t);if(Lt(o))return o;throw new TypeError("unable to convert exotic object to primitive")}return t==="default"&&(cy(e)||hu(e))&&(t="string"),fy(e,t==="default"?"number":t)}});var qu=s((nx,Tu)=>{"use strict";var wu=xu();Tu.exports=function(e){return arguments.length>1?wu(e,arguments[1]):wu(e)}});var je=s((ox,Au)=>{"use strict";var my=S();Au.exports=function(e){if(e==null)throw new my(arguments.length>0&&arguments[1]||"Cannot call method on "+e);return e}});var jt=s((ix,Pu)=>{"use strict";var yy=I(),gy=yy("%String%"),vy=S();Pu.exports=function(e){if(typeof e=="symbol")throw new vy("Cannot convert a Symbol value to a string");return gy(e)}});var Mt=s((ax,Ou)=>{"use strict";var Sy=je(),hy=jt(),by=O(),ku=by("String.prototype.replace"),Iu=/^\s$/.test("\u180E"),Ey=Iu?/^[\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]+/,xy=Iu?/[\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]+$/;Ou.exports=function(){var e=hy(Sy(this));return ku(ku(e,Ey,""),xy,"")}});var Dt=s((sx,$u)=>{"use strict";var wy=Mt(),Cu="\u200B",ye="\u180E";$u.exports=function(){return String.prototype.trim&&Cu.trim()===Cu&&ye.trim()===ye&&("_"+ye).trim()==="_"+ye&&(ye+"_").trim()===ye+"_"?String.prototype.trim:wy}});var Nu=s((ux,_u)=>{"use strict";var Ty=Te()(),Fu=Ze(),qy=Dt();_u.exports=function(){var e=qy();return String.prototype.trim!==e&&(Ty?Fu(String.prototype,"trim",e,!0):Fu(String.prototype,"trim",e)),e}});var Mu=s((lx,ju)=>{"use strict";var Ay=Ie(),Py=U(),ky=je(),Iy=Mt(),Ru=Dt(),Oy=Nu(),Cy=Ay(Ru()),Lu=function(e){return ky(e),Cy(e)};Py(Lu,{getPolyfill:Ru,implementation:Iy,shim:Oy});ju.exports=Lu});var Ju=s((px,Bu)=>{"use strict";var Uu=I(),$y=Uu("%RegExp%"),Fy=S(),Du=Uu("%parseInt%"),_y=O(),hr=Nt(),Vu=_y("String.prototype.slice"),Ny=hr(/^0b[01]+$/i),Ry=hr(/^0o[0-7]+$/i),Ly=hr(/^[-+]0x[0-9a-f]+$/i),jy=["\x85","\u200B","\uFFFE"].join(""),My=new $y("["+jy+"]","g"),Dy=hr(My),Vy=Mu();Bu.exports=function r(e){if(typeof e!="string")throw new Fy("Assertion failed: `argument` is not a String");if(Ny(e))return+Du(Vu(e,2),2);if(Ry(e))return+Du(Vu(e,2),8);if(Dy(e)||Ly(e))return NaN;var t=Vy(e);return t!==e?r(t):+e}});var Gu=s((cx,Xu)=>{"use strict";var Uy=I(),Wu=S(),By=Uy("%Number%"),Jy=kt(),Wy=qu(),Xy=Ju();Xu.exports=function(e){var t=Jy(e)?e:Wy(e,By);if(typeof t=="symbol")throw new Wu("Cannot convert a Symbol value to a number");if(typeof t=="bigint")throw new Wu("Conversion from 'BigInt' to 'number' is not allowed.");return typeof t=="string"?Xy(t):+t}});var zu=s((fx,Hu)=>{"use strict";var Gy=er();Hu.exports=function(e){return typeof e=="bigint"?e:Gy(e)}});var Yu=s((dx,Qu)=>{"use strict";var Ku=zu(),Hy=S();Qu.exports=function(e){if(typeof e!="number"&&typeof e!="bigint")throw new Hy("argument must be a Number or a BigInt");var t=e<0?-Ku(-e):Ku(e);return t===0?0:t}});var Vt=s((mx,Zu)=>{"use strict";var zy=Gu(),Ky=Yu(),Qy=ae(),Yy=Yr();Zu.exports=function(e){var t=zy(e);return Qy(t)||t===0?0:Yy(t)?Ky(t):t}});var Ut=s((yx,rl)=>{"use strict";var el=Pt(),Zy=Vt();rl.exports=function(e){var t=Zy(e);return t<=0?0:t>el?el:t}});var nl=s((gx,tl)=>{"use strict";var eg=S(),rg=C(),tg=_e(),ng=Ut();tl.exports=function(e){if(!rg(e))throw new eg("Assertion failed: `obj` must be an Object");return ng(tg(e,"length"))}});var sl=s((vx,al)=>{"use strict";var ol=S(),og=Pt(),ig=ks(),ag=Qs(),sg=_e(),ug=eu(),lg=pr(),pg=nl(),il=jt();al.exports=function r(e,t,n,o,i){var a;arguments.length>5&&(a=arguments[5]);for(var u=o,c=0;c<n;){var l=il(c),m=ug(t,l);if(m===!0){var p=sg(t,l);if(typeof a<"u"){if(arguments.length<=6)throw new ol("Assertion failed: thisArg is required when mapperFunction is provided");p=ig(a,arguments[6],[p,c,t])}var f=!1;if(i>0&&(f=lg(p)),f){var d=pg(p);u=r(e,p,d,u,i-1)}else{if(u>=og)throw new ol("index too large");ag(e,il(u),p),u+=1}}c+=1}return u}});var ll=s((Sx,ul)=>{"use strict";var cg=ie(),fg=je();ul.exports=function(e){return fg(e),cg(e)}});var cl=s((hx,pl)=>{"use strict";pl.exports=ll()});var Bt=s((bx,fl)=>{"use strict";var dg=qs(),mg=sl(),yg=_e(),gg=Vt(),vg=Ut(),Sg=cl();fl.exports=function(){var e=Sg(this),t=vg(yg(e,"length")),n=1;arguments.length>0&&typeof arguments[0]<"u"&&(n=gg(arguments[0]));var o=dg(e,0);return mg(o,e,t,0,n),o}});var Jt=s((Ex,dl)=>{"use strict";var hg=Bt();dl.exports=function(){return Array.prototype.flat||hg}});var Sl=s((xx,vl)=>{"use strict";var bg=B(),gl=typeof Symbol=="function"&&typeof Symbol.unscopables=="symbol",ml=gl&&Array.prototype[Symbol.unscopables],yl=TypeError;vl.exports=function(e){if(typeof e!="string"||!e)throw new yl("method must be a non-empty string");if(!bg(Array.prototype,e))throw new yl("method must be on Array.prototype");gl&&ml&&(ml[e]=!0)}});var bl=s((wx,hl)=>{"use strict";var Eg=U(),xg=Sl(),wg=Jt();hl.exports=function(){var e=wg();return Eg(Array.prototype,{flat:e},{flat:function(){return Array.prototype.flat!==e}}),xg("flat"),e}});var Tl=s((Tx,wl)=>{"use strict";var Tg=U(),qg=Ie(),Ag=Bt(),El=Jt(),Pg=El(),kg=bl(),xl=qg(Pg);Tg(xl,{getPolyfill:El,implementation:Ag,shim:kg});wl.exports=xl});var Wt=s((qx,ql)=>{"use strict";var Ig=je(),Og=O(),Cg=Og("Object.prototype.propertyIsEnumerable");ql.exports=function(e){var t=Ig(e),n=[];for(var o in t)Cg(t,o)&&(n[n.length]=t[o]);return n}});var Xt=s((Ax,Al)=>{"use strict";var $g=Wt();Al.exports=function(){return typeof Object.values=="function"?Object.values:$g}});var kl=s((Px,Pl)=>{"use strict";var Fg=Xt(),_g=U();Pl.exports=function(){var e=Fg();return _g(Object,{values:e},{values:function(){return Object.values!==e}}),e}});var $l=s((kx,Cl)=>{"use strict";var Ng=U(),Rg=Ie(),Lg=Wt(),Il=Xt(),jg=kl(),Ol=Rg(Il(),Object);Ng(Ol,{getPolyfill:Il,implementation:Lg,shim:jg});Cl.exports=Ol});var Nl=s(Me=>{"use strict";Object.defineProperty(Me,"__esModule",{value:!0});Me.eventHandlersByType=void 0;var Mg=Tl(),Dg=Fl(Mg),Vg=$l(),Ug=Fl(Vg);function Fl(r){return r&&r.__esModule?r:{default:r}}var _l={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"]};Me.default=(0,Dg.default)((0,Ug.default)(_l));Me.eventHandlersByType=_l});var Ll=s(Ht=>{"use strict";Object.defineProperty(Ht,"__esModule",{value:!0});var Bg=(function(){function r(e,t){var n=[],o=!0,i=!1,a=void 0;try{for(var u=e[Symbol.iterator](),c;!(o=(c=u.next()).done)&&(n.push(c.value),!(t&&n.length===t));o=!0);}catch(l){i=!0,a=l}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")}})(),ge=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};Ht.default=Hg;var Jg=He(),Wg=Xg(Jg);function Xg(r){return r&&r.__esModule?r:{default:r}}function Rl(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 Gg={ignoreCase:!0};function Hg(){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]:Gg;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,Wg.default)(u))});return a&&a.type==="JSXSpreadAttribute"?zg(a.argument.properties.find(i)):a}function zg(r){var e=r.key,t=r.value;return ge({type:"JSXAttribute",name:ge({type:"JSXIdentifier",name:e.name},Gt(e)),value:t.type==="Literal"?De(t):ge({type:"JSXExpressionContainer",expression:Kg(t)},Gt(t))},Gt(r))}function De(r){var e=r.range||[r.start,r.end],t=Bg(e,2),n=t[0],o=t[1];return ge({},r,{end:void 0,range:[n,o],start:void 0})}function Kg(r){var e=r.expressions,t=r.quasis,n=Rl(r,["expressions","quasis"]);return ge({},De(n),e?{expressions:e.map(De)}:{},t?{quasis:t.map(De)}:{})}function Gt(r){var e=r.loc,t=Rl(r,["loc"]),n=De(t),o=n.range;return{loc:Qg(e),range:o}}function Qg(r){var e=r.start,t=r.end,n=r.source,o=r.filename;return ge({start:e,end:t},n!==void 0?{source:n}:{},o!==void 0?{filename:o}:{})}});var Kt=s(zt=>{"use strict";Object.defineProperty(zt,"__esModule",{value:!0});zt.default=Yg;function Yg(r){var e=r.value,t=typeof e=="string"&&e.toLowerCase();return t==="true"?!0:t==="false"?!1:e}});var Yt=s(Qt=>{"use strict";Object.defineProperty(Qt,"__esModule",{value:!0});Qt.default=Zg;function Zg(r){var e=br().default,t=r.openingElement.name.name;return r.openingElement.selfClosing?"<"+t+" />":"<"+t+">"+[].concat(r.children).map(function(n){return e(n)}).join("")+"</"+t+">"}});var en=s(Zt=>{"use strict";Object.defineProperty(Zt,"__esModule",{value:!0});Zt.default=ev;function ev(r){return r.raw}});var tn=s(rn=>{"use strict";Object.defineProperty(rn,"__esModule",{value:!0});rn.default=rv;function rv(r){var e=br().default;return r.children.length===0?"<></>":"<>"+[].concat(r.children).map(function(t){return e(t)}).join("")+"</>"}});var Ml=s(nn=>{"use strict";Object.defineProperty(nn,"__esModule",{value:!0});nn.default=tv;var jl={Array,Date,Infinity:1/0,Math,Number,Object,String,undefined:void 0};function tv(r){var e=r.name;return Object.hasOwnProperty.call(jl,e)?jl[e]:e}});var an=s(on=>{"use strict";Object.defineProperty(on,"__esModule",{value:!0});on.default=ov;function nv(r,e){return(r.range?r.range[0]:r.start)-(e.range?e.range[0]:e.start)}function ov(r){var e=r.quasis,t=r.expressions,n=e.concat(t);return n.sort(nv).map(function(o){var i=o.type,a=o.value;a=a===void 0?{}:a;var u=a.raw,c=o.name;return i==="TemplateElement"?u:i==="Identifier"?c==="undefined"?c:"{"+c+"}":i.indexOf("Expression")>-1?"{"+i+"}":""}).join("")}});var Dl=s(sn=>{"use strict";Object.defineProperty(sn,"__esModule",{value:!0});sn.default=uv;var iv=an(),av=sv(iv);function sv(r){return r&&r.__esModule?r:{default:r}}function uv(r){return(0,av.default)(r.quasi)}});var Vl=s(un=>{"use strict";Object.defineProperty(un,"__esModule",{value:!0});un.default=lv;function lv(r){return function(){return r}}});var Ul=s(ln=>{"use strict";Object.defineProperty(ln,"__esModule",{value:!0});ln.default=pv;function pv(r){var e=q().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 Bl=s(pn=>{"use strict";Object.defineProperty(pn,"__esModule",{value:!0});pn.default=cv;function cv(r){var e=q().default;return""+e(r.object)+(r.optional?"?.":".")+e(r.property)}});var Jl=s(cn=>{"use strict";Object.defineProperty(cn,"__esModule",{value:!0});cn.default=fv;function fv(r){var e=q().default;return e(r.expression||r)}});var Wl=s(fn=>{"use strict";Object.defineProperty(fn,"__esModule",{value:!0});fn.default=dv;function dv(r){var e=q().default;return e(r.callee)+"?.("+r.arguments.map(function(t){return e(t)}).join(", ")+")"}});var Xl=s(dn=>{"use strict";Object.defineProperty(dn,"__esModule",{value:!0});dn.default=mv;function mv(r){var e=q().default;return e(r.object)+"?."+e(r.property)}});var yn=s(mn=>{"use strict";Object.defineProperty(mn,"__esModule",{value:!0});mn.default=yv;function yv(r){var e=q().default,t=Array.isArray(r.arguments)?r.arguments.map(function(n){return e(n)}).join(", "):"";return""+e(r.callee)+(r.optional?"?.":"")+"("+t+")"}});var Gl=s(gn=>{"use strict";Object.defineProperty(gn,"__esModule",{value:!0});gn.default=gv;function gv(r){var e=q().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;default:return}}});var Sn=s(vn=>{"use strict";Object.defineProperty(vn,"__esModule",{value:!0});vn.default=vv;function vv(){return"this"}});var Hl=s(hn=>{"use strict";Object.defineProperty(hn,"__esModule",{value:!0});hn.default=Sv;function Sv(r){var e=q().default,t=r.test,n=r.alternate,o=r.consequent;return e(t)?e(o):e(n)}});var zl=s(bn=>{"use strict";Object.defineProperty(bn,"__esModule",{value:!0});bn.default=hv;function hv(r){var e=q().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 En=s((zx,Zl)=>{"use strict";var bv=Vr(),Ql=rr()(),Yl=O(),Er=ie(),Ev=Yl("Array.prototype.push"),Kl=Yl("Object.prototype.propertyIsEnumerable"),xv=Ql?Er.getOwnPropertySymbols:null;Zl.exports=function(e,t){if(e==null)throw new TypeError("target must be an object");var n=Er(e);if(arguments.length===1)return n;for(var o=1;o<arguments.length;++o){var i=Er(arguments[o]),a=bv(i),u=Ql&&(Er.getOwnPropertySymbols||xv);if(u)for(var c=u(i),l=0;l<c.length;++l){var m=c[l];Kl(i,m)&&Ev(a,m)}for(var p=0;p<a.length;++p){var f=a[p];if(Kl(i,f)){var d=i[f];n[f]=d}}}return n}});var wn=s((Kx,ep)=>{"use strict";var xn=En(),wv=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},Tv=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};ep.exports=function(){return!Object.assign||wv()||Tv()?xn:Object.assign}});var tp=s((Qx,rp)=>{"use strict";var qv=U(),Av=wn();rp.exports=function(){var e=Av();return qv(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e}});var ap=s((Yx,ip)=>{"use strict";var Pv=U(),kv=Ie(),Iv=En(),np=wn(),Ov=tp(),Cv=kv.apply(np()),op=function(e,t){return Cv(Object,arguments)};Pv(op,{getPolyfill:np,implementation:Iv,shim:Ov});ip.exports=op});var lp=s(Tn=>{"use strict";Object.defineProperty(Tn,"__esModule",{value:!0});Tn.default=up;var $v=ap(),sp=Fv($v);function Fv(r){return r&&r.__esModule?r:{default:r}}function _v(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function up(r){var e=q().default;return r.properties.reduce(function(t,n){if(/^(?:Experimental)?Spread(?:Property|Element)$/.test(n.type)){if(n.argument.type==="ObjectExpression")return(0,sp.default)({},t,up(n.argument))}else return(0,sp.default)({},t,_v({},e(n.key),e(n.value)));return t},{})}});var pp=s(qn=>{"use strict";Object.defineProperty(qn,"__esModule",{value:!0});qn.default=Nv;function Nv(){return new Object}});var cp=s(An=>{"use strict";Object.defineProperty(An,"__esModule",{value:!0});An.default=Rv;function Rv(r){var e=q().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 fp=s(Pn=>{"use strict";Object.defineProperty(Pn,"__esModule",{value:!0});Pn.default=Lv;function Lv(r){var e=q().default;return r.elements.map(function(t){if(t!==null)return e(t)})}});var dp=s(kn=>{"use strict";Object.defineProperty(kn,"__esModule",{value:!0});kn.default=jv;function jv(r){var e=q().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 mp=s(In=>{"use strict";Object.defineProperty(In,"__esModule",{value:!0});In.default=Mv;function Mv(){}});var yp=s(On=>{"use strict";Object.defineProperty(On,"__esModule",{value:!0});On.default=Dv;function Dv(r){var e=q().default;return e(r.expression)}});var gp=s(Cn=>{"use strict";Object.defineProperty(Cn,"__esModule",{value:!0});Cn.default=Vv;function Vv(r){var e=q().default;return r.expressions.map(function(t){return e(t)})}});var Sp=s($n=>{"use strict";Object.defineProperty($n,"__esModule",{value:!0});$n.default=H;var Uv=Sn().default,Bv=yn().default;function vp(r,e,t){return t.computed?t.optional?r+"?.["+e+"]":r+"["+e+"]":t.optional?r+"?."+e:r+"."+e}function H(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 H(r.expression);if(r.type==="CallExpression")return Bv(r);if(r.type==="ThisExpression")return Uv();if(r.type==="TSNonNullExpression"&&(!r.extra||r.extra.parenthesized===!1)){var n=r.expression;return H(n)+"!"}if(r.type==="TSNonNullExpression"&&r.extra&&r.extra.parenthesized===!0){var o=r.expression;return"("+H(o)+"!)"}if(r.type==="MemberExpression"){if(!r.extra||r.extra.parenthesized===!1)return vp(H(r.object),H(r.property),r);if(r.extra&&r.extra.parenthesized===!0){var i=vp(H(r.object),H(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 hp=s(Fn=>{"use strict";Object.defineProperty(Fn,"__esModule",{value:!0});Fn.default=Jv;function Jv(r){var e=q().default;return e(r.left)+" "+r.operator+" "+e(r.right)}});var q=s(xr=>{"use strict";Object.defineProperty(xr,"__esModule",{value:!0});var Wv=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};xr.default=GS;xr.extractLiteral=HS;var Xv=Kt(),Gv=b(Xv),Hv=Yt(),zv=b(Hv),Kv=tn(),Qv=b(Kv),Yv=en(),Zv=b(Yv),eS=Ml(),rS=b(eS),tS=Dl(),nS=b(tS),oS=an(),iS=b(oS),aS=Vl(),bp=b(aS),sS=Ul(),uS=b(sS),lS=Bl(),pS=b(lS),cS=Jl(),fS=b(cS),dS=Wl(),mS=b(dS),yS=Xl(),gS=b(yS),vS=yn(),SS=b(vS),hS=Gl(),bS=b(hS),ES=Sn(),xS=b(ES),wS=Hl(),TS=b(wS),qS=zl(),AS=b(qS),PS=lp(),kS=b(PS),IS=pp(),OS=b(IS),CS=cp(),$S=b(CS),FS=fp(),_S=b(FS),NS=dp(),RS=b(NS),LS=mp(),jS=b(LS),MS=yp(),DS=b(MS),VS=gp(),US=b(VS),BS=Sp(),JS=b(BS),WS=hp(),XS=b(WS);function b(r){return r&&r.__esModule?r:{default:r}}var z={Identifier:rS.default,Literal:Gv.default,JSXElement:zv.default,JSXFragment:Qv.default,JSXText:Zv.default,TaggedTemplateExpression:nS.default,TemplateLiteral:iS.default,ArrowFunctionExpression:bp.default,FunctionExpression:bp.default,LogicalExpression:uS.default,MemberExpression:pS.default,ChainExpression:fS.default,OptionalCallExpression:mS.default,OptionalMemberExpression:gS.default,CallExpression:SS.default,UnaryExpression:bS.default,ThisExpression:xS.default,ConditionalExpression:TS.default,BinaryExpression:AS.default,ObjectExpression:kS.default,NewExpression:OS.default,UpdateExpression:$S.default,ArrayExpression:_S.default,BindExpression:RS.default,SpreadElement:jS.default,TypeCastExpression:DS.default,SequenceExpression:US.default,TSNonNullExpression:JS.default,AssignmentExpression:XS.default},E=function(){return null},xp=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 GS(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 z[n]===void 0?(console.error(xp(n)),null):z[n](e)}var Ep=Wv({},z,{Literal:function(e){var t=z.Literal.call(void 0,e),n=t===null;return n?"null":t},Identifier:function(e){var t=z.Identifier.call(void 0,e)===void 0;return t?void 0:null},JSXElement:E,JSXFragment:E,JSXText:E,ArrowFunctionExpression:E,FunctionExpression:E,LogicalExpression:E,MemberExpression:E,OptionalCallExpression:E,OptionalMemberExpression:E,CallExpression:E,UnaryExpression:function(e){var t=z.UnaryExpression.call(void 0,e);return t===void 0?null:t},UpdateExpression:function(e){var t=z.UpdateExpression.call(void 0,e);return t===void 0?null:t},ThisExpression:E,ConditionalExpression:E,BinaryExpression:E,ObjectExpression:E,NewExpression:E,ArrayExpression:function(e){var t=z.ArrayExpression.call(void 0,e);return t.filter(function(n){return n!==null})},BindExpression:E,SpreadElement:E,TSNonNullExpression:E,TSAsExpression:E,TypeCastExpression:E,SequenceExpression:E,ChainExpression:E});function HS(r){var e=r.expression||r,t=e.type;return Ep[t]===void 0?(console.error(xp(t)),null):Ep[t](e)}});var br=s(wr=>{"use strict";Object.defineProperty(wr,"__esModule",{value:!0});var zS=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};wr.default=ah;wr.getLiteralValue=sh;var KS=Kt(),QS=Ve(KS),YS=Yt(),ZS=Ve(YS),eh=en(),rh=Ve(eh),th=tn(),nh=Ve(th),wp=q(),oh=Ve(wp);function Ve(r){return r&&r.__esModule?r:{default:r}}var _n={Literal:QS.default,JSXElement:ZS.default,JSXExpressionContainer:oh.default,JSXText:rh.default,JSXFragment:nh.default},ih=zS({},_n,{JSXElement:function(){return null},JSXExpressionContainer:wp.extractLiteral});function ah(r){return _n[r.type]||console.log(r.type),_n[r.type](r)}function sh(r){return ih[r.type](r)}});var Ap=s(Tr=>{"use strict";Object.defineProperty(Tr,"__esModule",{value:!0});Tr.default=ph;Tr.getLiteralPropValue=ch;var Tp=br(),uh=lh(Tp);function lh(r){return r&&r.__esModule?r:{default:r}}var qp=function(e,t){if(e&&e.type==="JSXAttribute")return e.value===null?!0:t(e.value)};function ph(r){return qp(r,uh.default)}function ch(r){return qp(r,Tp.getLiteralValue)}});var qr=s((fw,Ip)=>{"use strict";var Nn=oo(),fh=ve(Nn),dh=ao(),mh=ve(dh),Pp=Nl(),yh=ve(Pp),gh=Ll(),vh=ve(gh),kp=Ap(),Sh=ve(kp),hh=He(),bh=ve(hh);function ve(r){return r&&r.__esModule?r:{default:r}}Ip.exports={hasProp:fh.default,hasAnyProp:Nn.hasAnyProp,hasEveryProp:Nn.hasEveryProp,elementType:mh.default,eventHandlers:yh.default,eventHandlersByType:Pp.eventHandlersByType,getProp:vh.default,getPropValue:Sh.default,getLiteralPropValue:kp.getLiteralPropValue,propName:bh.default}});var nb={};cc(nb,{configs:()=>eb,qwikEslint9Plugin:()=>tc,rules:()=>Zp});module.exports=fc(nb);var Zn=require("@typescript-eslint/utils");var dc=["@qwik.dev/core","@qwik.dev/router","@builder.io/qwik","@builder.io/qwik-city"];function M(r){return r.sourceCode.getAllComments().some(e=>e.value.includes("@jsxImportSource"))}function zn(r){return!!r&&typeof r=="object"&&typeof r.type=="string"}function Kn(r,e){for(let[t,n]of Object.entries(r))if(!(t==="parent"||t==="range"||t==="loc")){if(Array.isArray(n)){for(let o of n)if(zn(o)&&e(o))return!0;continue}if(zn(n)&&e(n))return!0}return!1}function te(r,e){return e(r)?!0:Kn(r,t=>te(t,e))}function Cr(r,e,t=null){return e(r,t)?!0:Kn(r,n=>Cr(n,e,r))}function We(r,e){let t=r.parent;for(;t;){if(t===e)return!0;t=t.parent}return!1}function D(r,e){let t=r.sourceCode.getScope(e),n=t.references.find(i=>i.identifier===e);if(n?.resolved)return n.resolved;let o=t;for(;o;){let i=o.variables.find(a=>a.name===e.name);if(i)return i;o=o.upper}return null}function Xe(r){return!!r?.defs.some(e=>{if(e.type!=="ImportBinding")return!1;let t=e.parent.source.value;return typeof t=="string"&&dc.some(n=>t.startsWith(n))})}function Qn(r,e){return e?.type==="Identifier"&&e.name.endsWith("$")&&Xe(D(r,e))}function mc(r){let e=r.type==="JSXAttribute"?r.name:r.key;return e.type==="Identifier"||e.type==="JSXIdentifier"?e.name:e.type==="Literal"?String(e.value):null}function $r(r,e){return r.properties.find(t=>t.type==="Property"&&!t.computed&&mc(t)===e)}function Ge(r){return r?.type==="ArrowFunctionExpression"||r?.type==="FunctionExpression"}function Fr(r,e){return r.find(t=>t.type==="JSXAttribute"&&t.name.type==="JSXIdentifier"&&t.name.name===e)}function he(r,e){return!!Fr(r,e)}function Yn(r){let e=r;for(;e;){if(e.type==="ArrowFunctionExpression"||e.type==="FunctionDeclaration"||e.type==="FunctionExpression")return e;e=e.parent}return null}var yc=Zn.ESLintUtils.RuleCreator(()=>"https://qwik.dev/docs/advanced/dollar/"),eo=yc({defaultOptions:[],name:"jsx-a-tag",meta:{type:"problem",docs:{description:"For a perfect SEO score, always provide href attribute for <a> elements."},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")||he(e.openingElement.attributes,"href")||r.report({node:e,messageId:"noHref"}))}}}});var ro=require("@typescript-eslint/utils");var gc=ro.ESLintUtils.RuleCreator(r=>`https://qwik.dev/docs/advanced/eslint/#${r}`),to=gc({defaultOptions:[],name:"jsx-img",meta:{type:"problem",docs:{description:"For performance reasons, always provide width and height attributes for <img> elements, it will help to prevent layout shifts.",recommended:"warn"},fixable:"code",schema:[],messages:{noLocalSrc:`Local images can be optimized by importing using ESM, like this:
5
5
 
6
6
  import {{importName}} from '{{importSrc}}';
7
7
  <{{importName}} />
8
8
 
9
9
  See https://qwik.dev/docs/integrations/image-optimization/#responsive-images`,noWidthHeight:`Missing "width" or "height" attribute.
10
- 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`,u=nc(a.value);r.report({node:n,messageId:"noLocalSrc",data:{importSrc:p,importName:u}});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"})}}}}}),zb=`
10
+ 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=Fr(e.openingElement.attributes,"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 c=`~/media${a.value}?jsx`,l=vc(a.value);r.report({node:n,messageId:"noLocalSrc",data:{importSrc:c,importName:l}});return}}let o=he(e.openingElement.attributes,"width"),i=he(e.openingElement.attributes,"height");(!o||!i)&&r.report({node:e,messageId:"noWidthHeight"})}}}}}),cb=`
11
11
  import Image from '~/media/image.png';
12
- <Image />`.trim(),Kb=`
13
- <img src="/image.png">`.trim(),Qb=`
14
- <img width="200" height="600" src="/static/images/portrait-01.webp">`.trim(),Yb=`
15
- <img src="/static/images/portrait-01.webp">`.trim();function nc(r){let e=r.lastIndexOf("."),t=r.lastIndexOf("/");return r=r.substring(t+1,e),`Img${oc(r)}`}function oc(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 kn=ee(br());function Pn(r){return r.type==="FunctionExpression"||r.type==="ArrowFunctionExpression"}var Sr={checkFragmentShorthand:!1,checkKeyMustBeforeSpread:!1,warnOnDuplicates:!1},sb={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"},xp={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:sb,schema:[{type:"object",properties:{checkFragmentShorthand:{type:"boolean",default:Sr.checkFragmentShorthand},checkKeyMustBeforeSpread:{type:"boolean",default:Sr.checkKeyMustBeforeSpread},warnOnDuplicates:{type:"boolean",default:Sr.warnOnDuplicates}},additionalProperties:!1}]},create(r){if((r.sourceCode??r.getSourceCode()).getAllComments().some(c=>c.value.includes("@jsxImportSource")))return{};let n=Object.assign({},Sr,r.options[0]),o=n.checkFragmentShorthand,i=n.checkKeyMustBeforeSpread,a=n.warnOnDuplicates;function l(c){c.type==="JSXElement"&&!kn.default.hasProp(c.openingElement.attributes,"key")?r.report({node:c,messageId:"missingIterKey"}):o&&c.type==="JSXFragment"&&r.report({node:c,messageId:"missingIterKeyUsePrag"})}function p(c,g=[]){return c.type==="IfStatement"?(c.consequent&&p(c.consequent,g),c.alternate&&p(c.alternate,g)):Array.isArray(c.body)&&c.body.forEach(b=>{b.type==="IfStatement"&&p(b,g),b.type==="ReturnStatement"&&g.push(b)}),g}function u(c){let g=!1;return c.some(b=>b.type==="JSXSpreadAttribute"?(g=!0,!1):b.type!=="JSXAttribute"?!1:g&&kn.default.propName(b)==="key")}function f(c){Pn(c)&&c.body.type==="BlockStatement"&&p(c.body).filter(g=>g&&g.argument).forEach(g=>{l(g.argument)})}function m(c){let g=c&&c.type==="ArrowFunctionExpression",b=w=>w&&(w.type==="JSXElement"||w.type==="JSXFragment");g&&b(c.body)&&l(c.body),c.body.type==="ConditionalExpression"?(b(c.body.consequent)&&l(c.body.consequent),b(c.body.alternate)&&l(c.body.alternate)):c.body.type==="LogicalExpression"&&b(c.body.right)&&l(c.body.right)}let y=`:matches(
12
+ <Image />`.trim(),fb=`
13
+ <img src="/image.png">`.trim(),db=`
14
+ <img width="200" height="600" src="/static/images/portrait-01.webp">`.trim(),mb=`
15
+ <img src="/static/images/portrait-01.webp">`.trim();function vc(r){let e=r.lastIndexOf("."),t=r.lastIndexOf("/");return r=r.substring(t+1,e),`Img${Sc(r)}`}function Sc(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 Op=re(qr());function Rn(r){return r?.type==="FunctionExpression"||r?.type==="ArrowFunctionExpression"}var Ar={checkFragmentShorthand:!1,checkKeyMustBeforeSpread:!1,warnOnDuplicates:!1},Eh={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"},Cp={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:Eh,schema:[{type:"object",properties:{checkFragmentShorthand:{type:"boolean",default:Ar.checkFragmentShorthand},checkKeyMustBeforeSpread:{type:"boolean",default:Ar.checkKeyMustBeforeSpread},warnOnDuplicates:{type:"boolean",default:Ar.warnOnDuplicates}},additionalProperties:!1}]},create(r){if(M(r))return{};let e=Object.assign({},Ar,r.options[0]),t=e.checkFragmentShorthand,n=e.warnOnDuplicates;function o(p){p.type==="JSXElement"&&!Op.default.hasProp(p.openingElement.attributes,"key")?r.report({node:p,messageId:"missingIterKey"}):t&&p.type==="JSXFragment"&&r.report({node:p,messageId:"missingIterKeyUsePrag"})}function i(p,f=[]){return p.type==="IfStatement"?(p.consequent&&i(p.consequent,f),p.alternate&&i(p.alternate,f)):p.type==="BlockStatement"&&p.body.forEach(d=>{d.type==="IfStatement"&&i(d,f),d.type==="ReturnStatement"&&f.push(d)}),f}function a(p){Rn(p)&&p.body.type==="BlockStatement"&&i(p.body).filter(f=>f&&f.argument).forEach(f=>{o(f.argument)})}function u(p){let f=p.type==="ArrowFunctionExpression",d=y=>!!y&&(y.type==="JSXElement"||y.type==="JSXFragment");f&&d(p.body)&&o(p.body),p.body.type==="ConditionalExpression"?(d(p.body.consequent)&&o(p.body.consequent),d(p.body.alternate)&&o(p.body.alternate)):p.body.type==="LogicalExpression"&&d(p.body.right)&&o(p.body.right)}let c=`:matches(
16
16
  CallExpression
17
17
  [callee.object.object.name=Fragment]
18
18
  [callee.object.property.name=Children]
@@ -20,7 +20,7 @@ import Image from '~/media/image.png';
20
20
  CallExpression
21
21
  [callee.object.name=Children]
22
22
  [callee.property.name=toArray]
23
- )`.replace(/\s/g,""),d=!1,v=new WeakSet;return{[y](){d=!0},[`${y}:exit`](){d=!1},"ArrayExpression, JSXElement > JSXElement"(c){if(d)return;let g=(c.type==="ArrayExpression"?c.elements:c.parent.children).filter(w=>w&&w.type==="JSXElement");if(g.length===0)return;let b={};g.forEach(w=>{w.openingElement.attributes.filter(L=>L.name&&L.name.name==="key").length===0&&c.type==="ArrayExpression"&&r.report({node:w,messageId:"missingArrayKey"})}),a&&Object.values(b).filter(w=>w.length>1).forEach(w=>{w.forEach(q=>{v.has(q)||(v.add(q),r.report({node:q,messageId:"nonUniqueKeys"}))})})},JSXFragment(c){!o||d||c.parent.type==="ArrayExpression"&&r.report({node:c,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"]'(c){if(d)return;let g=c.arguments.length>0&&c.arguments[0];!g||!Pn(g)||(m(g),f(g))},'CallExpression[callee.type="MemberExpression"][callee.property.name="from"]'(c){if(d)return;let g=c.arguments.length>1&&c.arguments[1];Pn(g)&&(m(g),f(g))}}}},QE=`
23
+ )`.replace(/\s/g,""),l=!1,m=new WeakSet;return{[c](){l=!0},[`${c}:exit`](){l=!1},"ArrayExpression, JSXElement > JSXElement"(p){if(l)return;let f=(p.type==="ArrayExpression"?p.elements:p.parent.children).filter(y=>!!y&&y.type==="JSXElement");if(f.length===0)return;let d=new Map;if(f.forEach(y=>{y.openingElement.attributes.filter(P=>P.type==="JSXAttribute"&&P.name.type==="JSXIdentifier"&&P.name.name==="key").length===0&&p.type==="ArrayExpression"&&r.report({node:y,messageId:"missingArrayKey"})}),n)for(let y of d.values())y.length>1&&y.forEach(v=>{m.has(v)||(m.add(v),r.report({node:v,messageId:"nonUniqueKeys"}))})},JSXFragment(p){!t||l||p.parent.type==="ArrayExpression"&&r.report({node:p,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"]'(p){if(l)return;let f=p.arguments.length>0&&p.arguments[0];!f||!Rn(f)||(u(f),a(f))},'CallExpression[callee.type="MemberExpression"][callee.property.name="from"]'(p){if(l)return;let f=p.arguments.length>1&&p.arguments[1];Rn(f)&&(u(f),a(f))}}}},mw=`
24
24
  import { component$ } from '@qwik.dev/core';
25
25
 
26
26
  export const Person = component$(() => {
@@ -37,7 +37,7 @@ export const Person = component$(() => {
37
37
  ))}
38
38
  </ul>
39
39
  );
40
- });`.trim(),YE=`
40
+ });`.trim(),yw=`
41
41
  import { component$ } from '@qwik.dev/core';
42
42
 
43
43
  export const Person = component$(() => {
@@ -54,7 +54,7 @@ export const Person = component$(() => {
54
54
  ))}
55
55
  </ul>
56
56
  );
57
- });`.trim(),ZE=`
57
+ });`.trim(),gw=`
58
58
  import { component$ } from '@qwik.dev/core';
59
59
  import Card from './Card';
60
60
  import Summary from './Summary';
@@ -74,7 +74,7 @@ export const Person = component$(() => {
74
74
  </Fragment>
75
75
  ))}
76
76
  );
77
- });`.trim(),ew=`
77
+ });`.trim(),vw=`
78
78
  import { component$ } from '@qwik.dev/core';
79
79
  import Card from './Card';
80
80
  import Summary from './Summary';
@@ -94,7 +94,7 @@ export const Person = component$(() => {
94
94
  </>
95
95
  ))}
96
96
  );
97
- });`.trim(),rw=`
97
+ });`.trim(),Sw=`
98
98
  import { component$ } from '@qwik.dev/core';
99
99
 
100
100
  export const ColorList = component$(() => {
@@ -107,7 +107,7 @@ export const ColorList = component$(() => {
107
107
  ))}
108
108
  </ul>
109
109
  );
110
- });`.trim(),tw=`
110
+ });`.trim(),hw=`
111
111
  import { component$ } from '@qwik.dev/core';
112
112
 
113
113
  export const ColorList = component$(() => {
@@ -120,7 +120,7 @@ export const ColorList = component$(() => {
120
120
  ))}
121
121
  </ul>
122
122
  );
123
- });`.trim(),nw=`
123
+ });`.trim(),bw=`
124
124
  import { component$, Fragment } from '@qwik.dev/core';
125
125
 
126
126
  export const ColorList = component$(() => {
@@ -134,7 +134,7 @@ export const ColorList = component$(() => {
134
134
  </Fragment>
135
135
  ))}
136
136
  );
137
- });`.trim(),ow=`
137
+ });`.trim(),Ew=`
138
138
  import { component$ } from '@qwik.dev/core';
139
139
 
140
140
  export const ColorList = component$(() => {
@@ -148,7 +148,7 @@ export const ColorList = component$(() => {
148
148
  </>
149
149
  ))}
150
150
  );
151
- });`.trim();var iw=`
151
+ });`.trim();var xw=`
152
152
  import { component$ } from '@qwik.dev/core';
153
153
 
154
154
  export const ColorList = component$(() => {
@@ -161,9 +161,9 @@ export const ColorList = component$(() => {
161
161
  ))}
162
162
  </ul>
163
163
  );
164
- });`.trim();var Ep=require("@typescript-eslint/utils"),{getStaticValue:ub}=Ep.ASTUtils,lb=/^[\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,wp={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=ub(t.value.type==="JSXExpressionContainer"?t.value.expression:t.value,e.getScope?e.getScope(t):r.getScope());n&&typeof n.value=="string"&&lb.test(n.value)&&r.report({node:t.value,messageId:"noJSURL"})}}}}},sw=`
165
- <button onClick$={() => alert('open the door please')}>ring</button>`.trim(),uw=`
166
- <button onClick$="javascript:alert('open the door please')">ring</button>`.trim();var qp={loader$:!0,routeLoader$:!0,routeAction$:!0,routeHandler$:!0},pb={...qp,action$:!0,globalAction$:!0},Tp={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
164
+ });`.trim();var $p=require("@typescript-eslint/utils"),{getStaticValue:xh}=$p.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,Fp={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=xh(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"})}}}}},Tw=`
165
+ <button onClick$={() => alert('open the door please')}>ring</button>`.trim(),qw=`
166
+ <button onClick$="javascript:alert('open the door please')">ring</button>`.trim();var _p={loader$:!0,routeLoader$:!0,routeAction$:!0,routeHandler$:!0},Th={..._p,action$:!0,globalAction$:!0},Np={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
167
167
  (docs: https://qwik.dev/docs/route-loader/).
168
168
 
169
169
  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.
@@ -171,28 +171,28 @@ This {{fnName}}() is declared outside of the route boundaries. This may be usefu
171
171
 
172
172
  If you understand this, you can disable this warning with:
173
173
  // eslint-disable-next-line qwik/loader-location
174
- `,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){let e=r.options?.[0]?.routesDir??"src/routes",t=cb(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),l=new RegExp(`/${e}/`).test(t)&&(o||n||i);return{CallExpression(p){if(p.callee.type!=="Identifier")return;let u=p.callee.name;if(!pb[u])return;if(!l&&qp[u]){r.report({node:p.callee,messageId:"invalidLoaderLocation",data:{routesDir:e,fnName:u,path:t}});return}let f=p.parent;if(f.type!=="VariableDeclarator"){r.report({node:p.callee,messageId:"missingExport",data:{fnName:u,id:"useStuff"}});return}if(f.id.type!=="Identifier"){r.report({node:p.callee,messageId:"missingExport",data:{fnName:u,id:"useStuff"}});return}if(!/^use/.test(f.id.name)){let m="use"+f.id.name[0].toUpperCase()+f.id.name.slice(1);r.report({node:f.id,messageId:"wrongName",data:{fnName:u,id:f.id.name,fixed:m}});return}if(!fb(f)){r.report({node:f.id,messageId:"missingExport",data:{fnName:u,id:f.id.name}});return}if(p.arguments.length>0&&p.arguments[0].type==="Identifier"){r.report({node:p.arguments[0],messageId:"recommendedValue",data:{fnName:u,id:f.id.name,arg:p.arguments[0].name}});return}}}}};function cb(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 pw=`
174
+ `,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){let e=r.options?.[0]?.routesDir??"src/routes",t=qh(r.filename),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(c){if(c.callee.type!=="Identifier")return;let l=c.callee.name;if(!Th[l])return;if(!u&&_p[l]){r.report({node:c.callee,messageId:"invalidLoaderLocation",data:{routesDir:e,fnName:l,path:t}});return}let m=c.parent;if(m.type!=="VariableDeclarator"){r.report({node:c.callee,messageId:"missingExport",data:{fnName:l,id:"useStuff"}});return}if(m.id.type!=="Identifier"){r.report({node:c.callee,messageId:"missingExport",data:{fnName:l,id:"useStuff"}});return}if(!/^use/.test(m.id.name)){let p="use"+m.id.name[0].toUpperCase()+m.id.name.slice(1);r.report({node:m.id,messageId:"wrongName",data:{fnName:l,id:m.id.name,fixed:p}});return}if(!Ah(m)){r.report({node:m.id,messageId:"missingExport",data:{fnName:l,id:m.id.name}});return}if(c.arguments.length>0&&c.arguments[0].type==="Identifier"){r.report({node:c.arguments[0],messageId:"recommendedValue",data:{fnName:l,id:m.id.name,arg:c.arguments[0].name}});return}}}}};function qh(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 Pw=`
175
175
  import { routeLoader$ } from '@qwik.dev/router';
176
176
 
177
177
  export const useProductDetails = routeLoader$(async (requestEvent) => {
178
178
  const res = await fetch(\`https://.../products/\${requestEvent.params.productId}\`);
179
179
  const product = await res.json();
180
180
  return product as Product;
181
- });`.trim();var cw=`
181
+ });`.trim();var kw=`
182
182
  import { routeLoader$ } from '@qwik.dev/router';
183
183
 
184
184
  const useProductDetails = routeLoader$(async (requestEvent) => {
185
185
  const res = await fetch(\`https://.../products/\${requestEvent.params.productId}\`);
186
186
  const product = await res.json();
187
187
  return product as Product;
188
- });`.trim();var fw=`
188
+ });`.trim();var Iw=`
189
189
  import { routeLoader$ } from '@qwik.dev/router';
190
190
 
191
191
  export const getProductDetails = routeLoader$(async (requestEvent) => {
192
192
  const res = await fetch(\`https://.../products/\${requestEvent.params.productId}\`);
193
193
  const product = await res.json();
194
194
  return product as Product;
195
- });`.trim();var dw=`
195
+ });`.trim();var Ow=`
196
196
  import { routeLoader$ } from '@qwik.dev/router';
197
197
 
198
198
  async function fetcher() {
@@ -202,9 +202,9 @@ async function fetcher() {
202
202
  }
203
203
 
204
204
  export const useProductDetails = routeLoader$(fetcher);
205
- `.trim();function fb(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=db(r);for(let o=0;o<n.length;o++){let i=n[o];if(i.type=="ExportNamedDeclaration"){let a=i.specifiers;for(let l=0;l<a.length;l++){let p=a[l];if(p.type=="ExportSpecifier"&&p.exported.type=="Identifier"&&p.exported.name===t)return!0}}}}}return!1}function db(r){let e=r;for(;e.type!=="Program";)e=e.parent;return e.body}var In=ee(br()),yb=[{from:"className",to:"class"},{from:"htmlFor",to:"for"}];var Ap={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 yb){let i=In.default.getProp(t.attributes,n);if(i){let a=In.default.hasProp(t.attributes,o,{ignoreCase:!1})?void 0:l=>l.replaceText(i.name,o);r.report({node:i,messageId:"prefer",data:{from:n,to:o},fix:a})}}}}}},mw=`
206
- <MyReactComponent class="foo" for="#password" />;`.trim(),gw=`
207
- <MyReactComponent className="foo" htmlFor="#password" />;`.trim();var Pp={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 On=ee(br()),kp={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){if(r.sourceCode.getAllComments().some(n=>n.value.includes("@jsxImportSource")))return{};let t=r.options[0]?.classnames??["cn","clsx","classnames"];return{JSXAttribute(n){if(!(["class","className"].indexOf(On.default.propName(n))===-1||On.default.hasProp(n.parent?.attributes,"classlist",{ignoreCase:!1}))&&n.value?.type==="JSXExpressionContainer"){let o=n.value.expression;o.type==="CallExpression"&&o.callee.type==="Identifier"&&t.indexOf(o.callee.name)!==-1&&o.arguments.length===1&&o.arguments[0].type==="ObjectExpression"&&r.report({node:n,messageId:"preferClasslist",data:{classnames:o.callee.name},fix:i=>{let a=n.range,l=o.arguments[0].range;return[i.replaceTextRange([a[0],l[0]],"classlist={"),i.replaceTextRange([l[1],a[1]],"}")]}})}}}}},bw=`
205
+ `.trim();function Ah(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=Ph(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 c=a[u];if(c.type=="ExportSpecifier"&&c.exported.type=="Identifier"&&c.exported.name===t)return!0}}}}}return!1}function Ph(r){let e=r;for(;e.type!=="Program";)e=e.parent;return e.body}var Ln=re(qr());var kh=[{from:"className",to:"class"},{from:"htmlFor",to:"for"}];var Rp={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 M(r)?{}:{JSXOpeningElement(e){for(let{from:t,to:n}of kh){let o=Ln.default.getProp(e.attributes,t);if(o){let i=Ln.default.hasProp(e.attributes,n,{ignoreCase:!1})?void 0:a=>a.replaceText(o.name,n);r.report({node:o,messageId:"prefer",data:{from:t,to:n},fix:i})}}}}}},Fw=`
206
+ <MyReactComponent class="foo" for="#password" />;`.trim(),_w=`
207
+ <MyReactComponent className="foo" htmlFor="#password" />;`.trim();var Lp={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 jn=re(qr());var jp={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){if(M(r))return{};let e=r.options[0]?.classnames??["cn","clsx","classnames"];return{JSXAttribute(t){if(!(["class","className"].indexOf(jn.default.propName(t))===-1||jn.default.hasProp(t.parent?.attributes,"classlist",{ignoreCase:!1}))&&t.value?.type==="JSXExpressionContainer"){let n=t.value.expression;n.type==="CallExpression"&&n.callee.type==="Identifier"&&e.indexOf(n.callee.name)!==-1&&n.arguments.length===1&&n.arguments[0].type==="ObjectExpression"&&r.report({node:t,messageId:"preferClasslist",data:{classnames:n.callee.name},fix:o=>{let i=t.range,a=n.arguments[0].range;return[o.replaceTextRange([i[0],a[0]],"classlist={"),o.replaceTextRange([a[1],i[1]],"}")]}})}}}}},jw=`
208
208
  import { component$ } from '@qwik.dev/core';
209
209
  import styles from './MyComponent.module.css';
210
210
 
@@ -222,7 +222,7 @@ export default component$((props) => {
222
222
  'text-green-500': props.isHighAttention,
223
223
  'p-4': true
224
224
  }}>Hello world</div>;
225
- });`.trim(),Sw=`
225
+ });`.trim(),Mw=`
226
226
  import { component$ } from '@qwik.dev/core';
227
227
  import classnames from 'classnames';
228
228
  import styles from './MyComponent.module.css';
@@ -237,10 +237,10 @@ export default component$((props) => {
237
237
  },
238
238
  { active: true}
239
239
  )}>Hello world</div>;
240
- });`.trim();var Ip={meta:{type:"problem",docs:{description:"Detect unused server$() functions.",recommended:!0,url:"https://qwik.dev/docs/advanced/eslint/#unused-server"},messages:{unusedServer:`Unused server$(). Seems like you are declaring a new server$ function, but you are never calling it. You might want to do:
240
+ });`.trim();var Mp={meta:{type:"problem",docs:{description:"Detect unused server$() functions.",recommended:!0,url:"https://qwik.dev/docs/advanced/eslint/#unused-server"},messages:{unusedServer:`Unused server$(). Seems like you are declaring a new server$ function, but you are never calling it. You might want to do:
241
241
 
242
242
  {{ suggestion }}`}},create(r){return{CallExpression(e){if(e.callee.type!=="Identifier")return;if(e.callee.name==="server$"){let n=!1;(e.parent.type==="ExpressionStatement"||e.parent.type==="AwaitExpression"&&e.parent.parent.type==="ExpressionStatement")&&(n=!0),n&&r.report({node:e.callee,messageId:"unusedServer",data:{suggestion:`const serverFn = server$(...);
243
- await serverFn(...);`}})}}}}},Ew=`
243
+ await serverFn(...);`}})}}}}},Vw=`
244
244
  import { component$ } from '@qwik.dev/core';
245
245
  import { server$ } from '@qwik.dev/router';
246
246
 
@@ -258,7 +258,7 @@ export default component$(() => (
258
258
  >
259
259
  greet
260
260
  </button>
261
- ));`.trim(),ww=`
261
+ ));`.trim(),Uw=`
262
262
  import { component$ } from '@qwik.dev/core';
263
263
  import { server$ } from '@qwik.dev/router';
264
264
 
@@ -276,35 +276,35 @@ export default component$(() => (
276
276
  >
277
277
  greet
278
278
  </button>
279
- ));`.trim();var Op={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){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"&&o.parent.id?.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":o.id?.name.startsWith("use")||r.report({node:n,messageId:"useWrongFunction"});return;default:r.report({node:n,messageId:"useWrongFunction"});return}}}}},Tw=`
279
+ ));`.trim();var Dp={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 M(r)?{}:{"CallExpression[callee.name=/^use[A-Z]/]"(e){let t=e;for(;t=t.parent;)switch(t.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(t.parent.type==="VariableDeclarator"&&t.parent.id?.type==="Identifier"&&t.parent.id.name.startsWith("use")||t.parent.type==="CallExpression"&&t.parent.callee.type==="Identifier"&&(t.parent.callee.name==="component$"||t.parent.callee.name==="renderHook"))return;r.report({node:e,messageId:"useWrongFunction"});return;case"FunctionDeclaration":t.id?.name.startsWith("use")||r.report({node:e,messageId:"useWrongFunction"});return;default:r.report({node:e,messageId:"useWrongFunction"});return}}}}},Ww=`
280
280
  export const Counter = component$(() => {
281
281
  const count = useSignal(0);
282
282
  });
283
- `.trim(),Aw=`
283
+ `.trim(),Xw=`
284
284
  export const useCounter = () => {
285
285
  const count = useSignal(0);
286
286
  return count;
287
287
  };
288
- `.trim(),Pw=`
288
+ `.trim(),Gw=`
289
289
  export const Counter = (() => {
290
290
  const count = useSignal(0);
291
291
  });
292
- `.trim();var xr=ee(require("@typescript-eslint/utils/eslint-utils")),M=ee(require("typescript"));function Cn(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 _n(r,e=0,t={}){return $n(Cn(r),e,t)}var mb=xr.RuleCreator(r=>`https://qwik.dev/docs/advanced/eslint/#${r}`),Cp=mb({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}}.
292
+ `.trim();var Pr=re(require("@typescript-eslint/utils/eslint-utils")),L=re(require("typescript"));function Mn(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 Dn(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 Vn(r,e=0,t={}){return Dn(Mn(r),e,t)}var Ih=Pr.RuleCreator(r=>`https://qwik.dev/docs/advanced/eslint/#${r}`),Vp=Ih({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}}.
293
293
  Check out https://qwik.dev/docs/advanced/dollar/ for more details.`,invalidJsxDollar:`Using "{{varName}}" as an event handler, however functions are not serializable.
294
294
  Did you mean to wrap it in \`$()\`?
295
295
 
296
296
  {{solution}}
297
297
  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.
298
- Check out https://qwik.dev/docs/advanced/dollar/ for more details.`}},create(r){let t={allowAny:r.options[0]?.allowAny??!0},n=r.sourceCode.scopeManager,o=xr.getParserServices(r),i=o.esTreeNodeToTSNodeMap,a=o.program.getTypeChecker(),l=new Map;function p(u){u.references.forEach(f=>{let m=f.resolved,y=f.resolved?.scope;if(m&&y){let d=m.defs.at(0)?.type;if(d==="Type"||d==="ImportBinding"||wb(m,r))return;let v=f.from,c;for(;v&&(c=l.get(v),!c);)v=v.upper;if(v&&c){let g=y.type;if(g==="global"||g==="module")return;let b=f.identifier,w=i.get(b),q=y;for(;q&&!l.has(q);)q=q.upper;if(q!==v){b.parent&&b.parent.type==="AssignmentExpression"&&b.parent.left===b&&r.report({messageId:"mutableIdentifier",node:f.identifier,data:{varName:f.identifier.name,dollarName:c}});let I=gb(r,a,w,f.identifier,t);I&&r.report({messageId:"referencesOutside",node:f.identifier,data:{varName:f.identifier.name,dollarName:c,reason:vb(I)}})}}}}),u.childScopes.forEach(p)}return{CallExpression(u){if(u.callee.type==="Identifier"&&u.callee.name.endsWith("$")){let f=u.arguments.at(0);if(f&&f.type==="ArrowFunctionExpression"){let m=n.acquire(f);m&&l.set(m,u.callee.name)}}},JSXAttribute(u){let f=u.name,m=f.type==="JSXIdentifier"?f.name:f.name.name;if(m.endsWith("$")){let y=u.value;if(y&&y.type==="JSXExpressionContainer"){let d=n.acquire(y.expression);if(d)l.set(d,m);else if(y.expression.type==="Identifier"){let v=i.get(y.expression),c=a.getTypeAtLocation(v).getNonNullableType();if(!$p(c))if(c.isUnionOrIntersection())c.types.every(g=>g.symbol?g.symbol.name==="Component"||g.symbol.name==="PropFnInterface":!1)||r.report({messageId:"invalidJsxDollar",node:y.expression,data:{varName:y.expression.name,solution:`Fix the type of ${y.expression.name} to be QRL`}});else{if(c.symbol?.name==="PropFnInterface")return;r.report({messageId:"invalidJsxDollar",node:y.expression,data:{varName:y.expression.name,solution:`const ${y.expression.name} = $(
299
- ${_p(c.symbol,r.sourceCode.text)}
298
+ Check out https://qwik.dev/docs/advanced/dollar/ for more details.`}},create(r){let t={allowAny:r.options[0]?.allowAny??!0},n=r.sourceCode.scopeManager,o=Pr.getParserServices(r),i=o.esTreeNodeToTSNodeMap,a=o.program.getTypeChecker(),u=new Map;function c(l){l.references.forEach(m=>{let p=m.resolved,f=m.resolved?.scope;if(p&&f){let d=p.defs.at(0)?.type;if(d==="Type"||d==="ImportBinding"||Lh(p,r))return;let y=m.from,v;for(;y&&(v=u.get(y),!v);)y=y.upper;if(y&&v){let A=f.type;if(A==="global"||A==="module")return;let P=m.identifier,j=i.get(P),w=f;for(;w&&!u.has(w);)w=w.upper;if(w!==y){P.parent&&P.parent.type==="AssignmentExpression"&&P.parent.left===P&&r.report({messageId:"mutableIdentifier",node:m.identifier,data:{varName:m.identifier.name,dollarName:v}});let k=Oh(r,a,j,m.identifier,t);k&&r.report({messageId:"referencesOutside",node:m.identifier,data:{varName:m.identifier.name,dollarName:v,reason:Ch(k)}})}}}}),l.childScopes.forEach(c)}return{CallExpression(l){if(l.callee.type==="Identifier"&&l.callee.name.endsWith("$")){let m=l.arguments.at(0);if(m&&m.type==="ArrowFunctionExpression"){let p=n.acquire(m);p&&u.set(p,l.callee.name)}}},JSXAttribute(l){let m=l.name,p=m.type==="JSXIdentifier"?m.name:m.name.name;if(p.endsWith("$")){let f=l.value;if(f&&f.type==="JSXExpressionContainer"){let d=n.acquire(f.expression);if(d)u.set(d,p);else if(f.expression.type==="Identifier"){let y=i.get(f.expression),v=a.getTypeAtLocation(y).getNonNullableType();if(!Up(v))if(v.isUnionOrIntersection())v.types.every(A=>A.symbol?A.symbol.name==="Component"||A.symbol.name==="PropFnInterface":!1)||r.report({messageId:"invalidJsxDollar",node:f.expression,data:{varName:f.expression.name,solution:`Fix the type of ${f.expression.name} to be QRL`}});else{if(v.symbol?.name==="PropFnInterface")return;r.report({messageId:"invalidJsxDollar",node:f.expression,data:{varName:f.expression.name,solution:`const ${f.expression.name} = $(
299
+ ${Bp(v.symbol,r.sourceCode.text)}
300
300
  );
301
- `}})}}}}},Program(u){let f=i.get(u),m=a.getSymbolAtLocation(f);m&&(exports=a.getExportsOfModule(m))},"Program:exit"(){p(n.globalScope)}}}});function gb(r,e,t,n,o){let i=e.getTypeAtLocation(t);return hb(r,e,i,t,n,o,new Set)}function vb(r){let e="";return r.location?e+=`"${r.location}" `:e+="it ",e+=`${r.reason}`,e}function hb(r,e,t,n,o,i,a){let l=Me(r,e,t,n,i,0,a);if(l){let p=l.location;return p&&(l.location=`${o.name}.${p}`),l}return l}function Me(r,e,t,n,o,i,a){if(a.has(t)||(a.add(t),t.getProperties().some(d=>/(__no_serialize__|__qwik_serializable__|NoSerializeSymbol|SerializerSymbol)/i.test(d.escapedName))))return;if(t.flags&M.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&M.default.TypeFlags.Any;if(!o.allowAny&&p)return{type:t,typeStr:e.typeToString(t),reason:"is any, which is not serializable"};if(t.flags&M.default.TypeFlags.ESSymbolLike)return{type:t,typeStr:e.typeToString(t),reason:"is Symbol, which is not serializable"};if(t.flags&M.default.TypeFlags.Enum)return{type:t,typeStr:e.typeToString(t),reason:"is an enum, use an string or a number instead"};if($p(t)||t.symbol?.name==="JSXNode")return;if(t.getCallSignatures().length>0){let d=t.symbol.name;if(d==="PropFnInterface"||d==="RefFnInterface"||d==="bivarianceHack"||d==="FunctionComponent")return;let v="is a function, which is not serializable";if(i===0&&M.default.isIdentifier(n)){let c=`const ${n.text} = $(
302
- ${_p(t.symbol,r.sourceCode.text)}
303
- );`;v+=`.
301
+ `}})}}}}},Program(l){let m=i.get(l),p=a.getSymbolAtLocation(m);p&&(exports=a.getExportsOfModule(p))},"Program:exit"(){c(n.globalScope)}}}});function Oh(r,e,t,n,o){let i=e.getTypeAtLocation(t);return $h(r,e,i,t,n,o,new Set)}function Ch(r){let e="";return r.location?e+=`"${r.location}" `:e+="it ",e+=`${r.reason}`,e}function $h(r,e,t,n,o,i,a){let u=Ue(r,e,t,n,i,0,a);if(u){let c=u.location;return c&&(u.location=`${o.name}.${c}`),u}return u}function Ue(r,e,t,n,o,i,a){if(a.has(t)||(a.add(t),t.getProperties().some(d=>/(__no_serialize__|__qwik_serializable__|NoSerializeSymbol|SerializerSymbol)/i.test(d.escapedName))))return;if(t.flags&L.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 c=t.flags&L.default.TypeFlags.Any;if(!o.allowAny&&c)return{type:t,typeStr:e.typeToString(t),reason:"is any, which is not serializable"};if(t.flags&L.default.TypeFlags.ESSymbolLike)return{type:t,typeStr:e.typeToString(t),reason:"is Symbol, which is not serializable"};if(t.flags&L.default.TypeFlags.Enum)return{type:t,typeStr:e.typeToString(t),reason:"is an enum, use an string or a number instead"};if(Up(t)||t.symbol?.name==="JSXNode")return;if(t.getCallSignatures().length>0){let d=t.symbol.name;if(d==="PropFnInterface"||d==="RefFnInterface"||d==="bivarianceHack"||d==="FunctionComponent")return;let y="is a function, which is not serializable";if(i===0&&L.default.isIdentifier(n)){let v=`const ${n.text} = $(
302
+ ${Bp(t.symbol,r.sourceCode.text)}
303
+ );`;y+=`.
304
304
  Did you mean to wrap it in \`$()\`?
305
305
 
306
- ${c}
307
- `}return{type:t,typeStr:e.typeToString(t),reason:v}}if(t.isUnion()){for(let d of t.types){let v=Me(r,e,d,n,o,i+1,a);if(v)return v}return}if((t.flags&M.default.TypeFlags.Object)!==0){let d=xb(t,e);if(d)return Me(r,e,d,n,o,i+1,a);let v=Eb(t,e);if(v){for(let q of v){let I=Me(r,e,q,n,o,i+1,a);if(I)return I}return}let c=t.symbol.name;if(t.getProperty("nextElementSibling")||t.getProperty("activeElement")||c in Tb)return;if(t.isClass())return{type:t,typeStr:e.typeToString(t),reason:`is an instance of the "${t.symbol.name}" class, which is not serializable. Use a simple object literal instead`};let g=t.getProperty("prototype");if(g){let q=e.getTypeOfSymbolAtLocation(g,n);if(q.isClass())return{type:q,typeStr:e.typeToString(q),reason:"is a class constructor, which is not serializable"}}if(!c.startsWith("__")&&t.symbol.valueDeclaration)return{type:t,typeStr:e.typeToString(t),reason:`is an instance of the "${t.symbol.name}" class, which is not serializable`};let b=Sb(t),w=b?[b]:t.getProperties();for(let q of w){let I=bb(r,e,q,n,o,i+1,a);if(I){let L=I.location;return I.location=`${q.name}${L?`.${L}`:""}`,I}}}}function bb(r,e,t,n,o,i,a){let l=e.getTypeOfSymbolAtLocation(t,n);return Me(r,e,l,n,o,i,a)}function Sb(r){let e=r.getProperty("value");if(e){if(r.symbol?.escapedName?.endsWith("Signal"))return e;for(let t of e.declarations??[]){let n=t.parent;if(n&&M.default.isInterfaceDeclaration(n)&&n.name.text.endsWith("Signal"))return e}}}function xb(r,e){return e.getElementTypeOfArrayType(r)}function Eb(r,e){return e.isTupleType(r)?e.getTypeArguments(r):void 0}function $p(r){return!!(r.flags&M.default.TypeFlags.Any)||!!r.getNonNullableType().getProperty("__brand__QRL__")}function _p(r,e){if(r&&r.declarations&&r.declarations.length>0){let t=r.declarations[0],n=e.slice(t.pos,t.end).replace(/^\s*$/gm,"");return _n(n,2)}return""}function wb(r,e){let t=r.defs[0];if(!t||t.type!=="Variable")return!1;let n=t.node.init;if(n?.type==="CallExpression"&&n.callee.type==="Identifier"&&/^use[A-Z]/.test(n.callee.name)){let o=n.callee.name,a=e.sourceCode.getScope(t.node).references.find(l=>l.identifier.name===o);return a?.resolved&&qb(a.resolved)}return!1}function qb(r){return r.defs.some(e=>{if(e.type!=="ImportBinding")return!1;let t=e.parent.source.value;return t.startsWith("@qwik.dev/core")||t.startsWith("@qwik.dev/router")||t.startsWith("@builder.io/qwik")||t.startsWith("@builder.io/qwik-city")})}var Tb={Promise:!0,URL:!0,RegExp:!0,Date:!0,FormData:!0,URLSearchParams:!0,Error:!0,Set:!0,Map:!0,Uint8Array:!0,Duration:!0,Instant:!0,PlainDate:!0,PlainDateTime:!0,PlainMonthDay:!0,PlainTime:!0,PlainYearMonth:!0,ZonedDateTime:!0},Nw=`
306
+ ${v}
307
+ `}return{type:t,typeStr:e.typeToString(t),reason:y}}if(t.isUnion()){for(let d of t.types){let y=Ue(r,e,d,n,o,i+1,a);if(y)return y}return}if((t.flags&L.default.TypeFlags.Object)!==0){let d=Nh(t,e);if(d)return Ue(r,e,d,n,o,i+1,a);let y=Rh(t,e);if(y){for(let w of y){let k=Ue(r,e,w,n,o,i+1,a);if(k)return k}return}let v=t.symbol.name;if(t.getProperty("nextElementSibling")||t.getProperty("activeElement")||v in Mh)return;if(t.isClass())return{type:t,typeStr:e.typeToString(t),reason:`is an instance of the "${t.symbol.name}" class, which is not serializable. Use a simple object literal instead`};let A=t.getProperty("prototype");if(A){let w=e.getTypeOfSymbolAtLocation(A,n);if(w.isClass())return{type:w,typeStr:e.typeToString(w),reason:"is a class constructor, which is not serializable"}}if(!v.startsWith("__")&&t.symbol.valueDeclaration)return{type:t,typeStr:e.typeToString(t),reason:`is an instance of the "${t.symbol.name}" class, which is not serializable`};let P=_h(t),j=P?[P]:t.getProperties();for(let w of j){let k=Fh(r,e,w,n,o,i+1,a);if(k){let Se=k.location;return k.location=`${w.name}${Se?`.${Se}`:""}`,k}}}}function Fh(r,e,t,n,o,i,a){let u=e.getTypeOfSymbolAtLocation(t,n);return Ue(r,e,u,n,o,i,a)}function _h(r){let e=r.getProperty("value");if(e){if(r.symbol?.escapedName?.endsWith("Signal"))return e;for(let t of e.declarations??[]){let n=t.parent;if(n&&L.default.isInterfaceDeclaration(n)&&n.name.text.endsWith("Signal"))return e}}}function Nh(r,e){return e.getElementTypeOfArrayType(r)}function Rh(r,e){return e.isTupleType(r)?e.getTypeArguments(r):void 0}function Up(r){return!!(r.flags&L.default.TypeFlags.Any)||!!r.getNonNullableType().getProperty("__brand__QRL__")}function Bp(r,e){if(r&&r.declarations&&r.declarations.length>0){let t=r.declarations[0],n=e.slice(t.pos,t.end).replace(/^\s*$/gm,"");return Vn(n,2)}return""}function Lh(r,e){let t=r.defs[0];if(!t||t.type!=="Variable")return!1;let n=t.node.init;if(n?.type==="CallExpression"&&n.callee.type==="Identifier"&&/^use[A-Z]/.test(n.callee.name)){let o=n.callee.name,a=e.sourceCode.getScope(t.node).references.find(u=>u.identifier.name===o);return a?.resolved&&jh(a.resolved)}return!1}function jh(r){return r.defs.some(e=>{if(e.type!=="ImportBinding")return!1;let t=e.parent.source.value;return t.startsWith("@qwik.dev/core")||t.startsWith("@qwik.dev/router")||t.startsWith("@builder.io/qwik")||t.startsWith("@builder.io/qwik-city")})}var Mh={Promise:!0,URL:!0,RegExp:!0,Date:!0,FormData:!0,URLSearchParams:!0,Error:!0,Set:!0,Map:!0,Uint8Array:!0,Duration:!0,Instant:!0,PlainDate:!0,PlainDateTime:!0,PlainMonthDay:!0,PlainTime:!0,PlainYearMonth:!0,ZonedDateTime:!0},rT=`
308
308
  import { component$, useTask$, $ } from '@qwik.dev/core';
309
309
 
310
310
  export const HelloWorld = component$(() => {
@@ -317,7 +317,7 @@ export const HelloWorld = component$(() => {
317
317
  });
318
318
 
319
319
  return <h1>Hello</h1>;
320
- });`.trim(),Rw=`
320
+ });`.trim(),tT=`
321
321
  import { component$, useTask$ } from '@qwik.dev/core';
322
322
 
323
323
  export const HelloWorld = component$(() => {
@@ -330,7 +330,7 @@ export const HelloWorld = component$(() => {
330
330
  });
331
331
 
332
332
  return <h1>Hello</h1>;
333
- });`.trim(),jw=`
333
+ });`.trim(),nT=`
334
334
  import { component$, $ } from '@qwik.dev/core';
335
335
 
336
336
  export const HelloWorld = component$(() => {
@@ -338,7 +338,7 @@ export const HelloWorld = component$(() => {
338
338
  return (
339
339
  <button onClick$={click}>log it</button>
340
340
  );
341
- });`.trim(),Mw=`
341
+ });`.trim(),oT=`
342
342
  import { component$ } from '@qwik.dev/core';
343
343
 
344
344
  export const HelloWorld = component$(() => {
@@ -346,7 +346,7 @@ export const HelloWorld = component$(() => {
346
346
  return (
347
347
  <button onClick$={click}>log it</button>
348
348
  );
349
- });`.trim(),Lw=`
349
+ });`.trim(),iT=`
350
350
  import { component$ } from '@qwik.dev/core';
351
351
 
352
352
  export const HelloWorld = component$(() => {
@@ -359,7 +359,7 @@ export const HelloWorld = component$(() => {
359
359
  {person.name}
360
360
  </button>
361
361
  );
362
- });`.trim(),Dw=`
362
+ });`.trim(),aT=`
363
363
  import { component$ } from '@qwik.dev/core';
364
364
 
365
365
  export const HelloWorld = component$(() => {
@@ -372,7 +372,7 @@ export const HelloWorld = component$(() => {
372
372
  {personName}
373
373
  </button>
374
374
  );
375
- });`.trim();var Fp=require("@typescript-eslint/utils"),Ab=Fp.ESLintUtils.RuleCreator(r=>`https://qwik.dev/docs/advanced/eslint/#${r}`),Np=Ab({name:"serializer-signal-usage",meta:{type:"problem",docs:{description:"Ensure signals used in update() are also used in deserialize()"},schema:[],messages:{serializerSignalMismatch:"Signals/Stores used in update() must also be used in deserialize(). Missing: {{signals}}"}},defaultOptions:[],create(r){function e(n){return n.endsWith("Signal")||n.endsWith("Store")||n==="signal"||n==="store"}function t(n){let o=new Set,i=new WeakSet,a=new Set;"params"in n&&Array.isArray(n.params)&&n.params.forEach(u=>{u.type==="Identifier"&&a.add(u.name)});function l(u){let f=u.parent;return f?f.type==="AssignmentExpression"&&f.left===u||f.type==="UpdateExpression"&&f.argument===u:!1}function p(u){if(!(!u||typeof u!="object"||i.has(u))){i.add(u),u.type==="MemberExpression"&&!l(u)&&u.object.type==="Identifier"&&!a.has(u.object.name)&&(u.property.type==="Identifier"&&u.property.name==="value"?o.add(u.object.name):u.property.type==="Identifier"&&e(u.object.name)&&o.add(`${u.object.name}.${u.property.name}`)),u.type==="Identifier"&&!a.has(u.name)&&e(u.name)&&o.add(u.name);for(let f in u){if(f==="parent")continue;let m=u[f];Array.isArray(m)?m.forEach(p):m&&typeof m=="object"&&(m.parent=u,p(m))}}}return n.type==="BlockStatement"?n.body.forEach(p):p(n),o}return{CallExpression(n){if(n.callee.type==="Identifier"&&(n.callee.name==="useSerializer$"||n.callee.name==="createSerializer$")){let o=n.arguments[0];if(o&&(o.type==="ArrowFunctionExpression"||o.type==="FunctionExpression")){let i;if(o.body.type==="BlockStatement"){let a=o.body.body.find(l=>l.type==="ReturnStatement");a&&a.argument&&a.argument.type==="ObjectExpression"&&(i=a.argument)}else o.body.type==="ObjectExpression"&&(i=o.body);if(i){let a=i.properties.find(p=>p.type==="Property"&&p.key.type==="Identifier"&&p.key.name==="update"),l=i.properties.find(p=>p.type==="Property"&&p.key.type==="Identifier"&&p.key.name==="deserialize");if(a&&l){let p=a.value,u=l.value;if((p.type==="ArrowFunctionExpression"||p.type==="FunctionExpression")&&(u.type==="ArrowFunctionExpression"||u.type==="FunctionExpression")){let f=t(p.body),m=t(u.body),y=Array.from(f).filter(c=>!m.has(c)),d=Array.from(m).filter(c=>!f.has(c)),v=[...y,...d];v.length>0&&r.report({node:a,messageId:"serializerSignalMismatch",data:{signals:v.join(", ")}})}}}}}}}}}),Bw=`
375
+ });`.trim();var Jp=require("@typescript-eslint/utils");var Dh=Jp.ESLintUtils.RuleCreator(r=>`https://qwik.dev/docs/advanced/eslint/#${r}`),Wp=Dh({name:"serializer-signal-usage",meta:{type:"problem",docs:{description:"Ensure signals used in update() are also used in deserialize()"},schema:[],messages:{serializerSignalMismatch:"Signals/Stores used in update() must also be used in deserialize(). Missing: {{signals}}"}},defaultOptions:[],create(r){function e(i){return i.endsWith("Signal")||i.endsWith("Store")||i==="signal"||i==="store"}function t(i,a){return a?a.type==="AssignmentExpression"&&a.left===i||a.type==="UpdateExpression"&&a.argument===i:!1}function n(i){let a=new Set,u=new Set;return Cr(i.body,(c,l)=>{c.type==="MemberExpression"&&!t(c,l)&&c.object.type==="Identifier"&&!u.has(c.object.name)&&(c.property.type==="Identifier"&&c.property.name==="value"?a.add(c.object.name):c.property.type==="Identifier"&&e(c.object.name)&&a.add(`${c.object.name}.${c.property.name}`)),c.type==="Identifier"&&!u.has(c.name)&&e(c.name)&&a.add(c.name)}),a}function o(i){if(i.body.type==="ObjectExpression")return i.body;if(i.body.type!=="BlockStatement")return;let a=i.body.body.find(u=>u.type==="ReturnStatement");return a?.argument?.type==="ObjectExpression"?a.argument:void 0}return{CallExpression(i){if(i.callee.type!=="Identifier"||i.callee.name!=="useSerializer$"&&i.callee.name!=="createSerializer$")return;let a=i.arguments[0];if(!Ge(a))return;let u=o(a);if(!u)return;let c=$r(u,"update"),l=$r(u,"deserialize"),m=c?.value,p=l?.value;if(!c||!Ge(m)||!Ge(p))return;let f=n(m),d=n(p),y=[...Array.from(f).filter(v=>!d.has(v)),...Array.from(d).filter(v=>!f.has(v))];y.length>0&&r.report({node:c,messageId:"serializerSignalMismatch",data:{signals:y.join(", ")}})}}}}),pT=`
376
376
  import { useSignal, useSerializer$ } from '@qwik.dev/core';
377
377
  import MyClass from './my-class';
378
378
 
@@ -388,7 +388,7 @@ export default component$(() => {
388
388
  }));
389
389
 
390
390
  return <div>{myClass.count}</div>;
391
- });`.trim(),Jw=`
391
+ });`.trim(),cT=`
392
392
  import { useSignal, useSerializer$ } from '@qwik.dev/core';
393
393
  import MyClass from './my-class';
394
394
 
@@ -405,5 +405,5 @@ export default component$(() => {
405
405
  }));
406
406
 
407
407
  return <div>{myClass.count}</div>;
408
- });`.trim();var Rp={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.
409
- 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 Pb=new Set(["useTask$","useTaskQrl"]);function kb(r){return r.callee.type==="Identifier"&&Pb.has(r.callee.name)}function Ib(r){let e=r.arguments[0];return e?.type==="ArrowFunctionExpression"||e?.type==="FunctionExpression"?e:null}function Fn(r){return r?r.type==="AssignmentPattern"?Fn(r.right):r.type==="Literal"&&r.value===!1?!0:r.type==="TSAsExpression"?Fn(r.expression):!1:!1}function Ob(r){let e=r.arguments[1];if(!e||e.type!=="ObjectExpression")return!1;for(let t of e.properties){if(t.type!=="Property"||t.computed)continue;let n=t.key;if((n.type==="Identifier"?n.name:n.type==="Literal"?String(n.value):null)==="deferUpdates"&&Fn(t.value))return!0}return!1}function jp(r){let e=new Set,t=[r];for(;t.length;){let n=t.pop();n.type==="VariableDeclarator"&&n.id.type==="Identifier"&&n.init&&n.init.type==="CallExpression"&&n.init.callee.type==="Identifier"&&n.init.callee.name==="useNavigate"&&e.add(n.id.name);for(let o of Object.keys(n)){if(o==="parent")continue;let i=n[o];if(Array.isArray(i))for(let a of i)a&&typeof a=="object"&&a!==null&&"type"in a&&t.push(a);else i&&typeof i=="object"&&"type"in i&&t.push(i)}}return e}function Cb(r){let e=new Set,t=r.parent;for(;t;){if(t.type==="ArrowFunctionExpression"||t.type==="FunctionExpression"){let n=t.parent;if(n?.type==="CallExpression"&&n.callee.type==="Identifier"&&n.callee.name==="component$")for(let o of jp(t))e.add(o)}if(t.type==="Program"){for(let n of jp(t))e.add(n);break}t=t.parent}return e}function $b(r,e,t){let n=[e];for(;n.length;){let o=n.pop();if(o.type==="AwaitExpression"){let i=o.argument;i.type==="CallExpression"&&i.callee.type==="Identifier"&&t.has(i.callee.name)&&r.report({node:o,messageId:"noAwaitBlocking",data:{name:i.callee.name}})}for(let i of Object.keys(o)){if(i==="parent")continue;let a=o[i];if(Array.isArray(a))for(let l of a)l&&typeof l=="object"&&l!==null&&"type"in l&&n.push(l);else a&&typeof a=="object"&&"type"in a&&n.push(a)}}}var Mp={meta:{type:"problem",docs:{description:"Disallow awaiting the function returned by `useNavigate()` inside blocking `useTask$` callbacks.",recommended:!0,url:"https://qwik.dev/docs/advanced/eslint/"},messages:{noAwaitBlocking:"Awaiting `{{name}}()` from `useNavigate()` inside a blocking `useTask$` can deadlock. Remove `await`, or pass `{ deferUpdates: false }` as the second argument to `useTask$`."}},create(r){return{CallExpression(e){if(!kb(e)||Ob(e))return;let t=Ib(e);if(!t)return;let n=Cb(e);n.size&&$b(r,t.body,n)}}}};var Nn={name:"eslint-plugin-qwik",description:"An Open-Source sub-framework designed with a focus on server-side-rendering, lazy-loading, and styling/animation.",version:"2.0.0-beta.35",author:"Qwik Team",bugs:"https://github.com/QwikDev/qwik/issues",dependencies:{"@typescript-eslint/utils":"^8.56.1","jsx-ast-utils":"^3.3.5"},devDependencies:{"@qwik.dev/core":"workspace:*","@qwik.dev/router":"workspace:*","@types/estree":"1.0.8","@typescript-eslint/rule-tester":"8.56.1",redent:"4.0.0"},engines:{node:"^18.17.0 || ^20.3.0 || >=21.0.0"},files:["README.md","dist"],homepage:"https://github.com/QwikDev/qwik#readme",keywords:["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 A=require("@typescript-eslint/utils"),Fb="isServer",Lp=["process","__dirname","__filename","module"],Dp=["fs","os","path","child_process","http","https","Buffer"];function Rn(r,e){if(!e)return!1;let t=r.parent;for(;t;){if(t===e)return!0;t=t.parent}return!1}var Vp={meta:{type:"problem",docs:{description:"Disallow direct or indirect (via one-level function call) Node.js API usage in useTask$ without a server guard (e.g., isServer).",category:"Best Practices",recommended:!0,url:""},fixable:void 0,schema:[{type:"object",properties:{forbiddenApis:{type:"array",items:{type:"string"},default:Dp}},additionalProperties:!1}],messages:{unsafeApiUsage:"Node.js API '{{apiName}}' should only be used inside an '{{guardName}}' block within useTask$. Example: if ({{guardName}}) { {{apiName}}.call(); }",unsafeApiUsageInCalledFunction:"Node.js API '{{apiName}}' used in function '{{calledFunctionName}}' (called from useTask$) needs '{{guardName}}' protection. Either guard the call site or protect the API usage within '{{calledFunctionName}}'."}},create(r){let e=r.options[0]||{},t=new Set(e.forbiddenApis||Dp.concat(Lp)),n=Fb,o=r.sourceCode,i=null;function a(u,f){let m=u.parent;for(;m&&m!==f.body&&m!==f;){if(m.type===A.AST_NODE_TYPES.IfStatement){let y=m;if(Rn(u,y.consequent)||u===y.consequent){let d=y.test;if(d.type===A.AST_NODE_TYPES.Identifier&&d.name===n||d.type===A.AST_NODE_TYPES.BinaryExpression&&d.operator==="==="&&(d.left.type===A.AST_NODE_TYPES.Identifier&&d.left.name===n&&d.right.type===A.AST_NODE_TYPES.Literal&&d.right.value===!0||d.right.type===A.AST_NODE_TYPES.Identifier&&d.right.name===n&&d.left.type===A.AST_NODE_TYPES.Literal&&d.left.value===!0)||d.type===A.AST_NODE_TYPES.UnaryExpression&&d.operator==="!"&&d.argument.type===A.AST_NODE_TYPES.UnaryExpression&&d.argument.operator==="!"&&d.argument.argument.type===A.AST_NODE_TYPES.Identifier&&d.argument.argument.name===n)return!0}}m=m.parent}return!1}function l(u){let f=o.getScope(u),m=null,y=f;if(!Lp.includes(u.name))return!0;for(;y;){let d=y.variables.find(v=>v.name===u.name);if(d){m=d;break}if(y.type==="global"){m=y.variables.find(v=>v.name===u.name);break}y=y.upper}return!m||m.defs.length===0?!1:m.defs.some(d=>d.type==="Variable"||d.type==="Parameter"||d.type==="FunctionName"||d.type==="ClassName"||d.type==="ImportBinding")}function p(u,f,m){function y(d){if(!d)return!1;if(d.type===A.AST_NODE_TYPES.Identifier&&t.has(d.name)&&!l(d)&&!a(d,f))return r.report({node:m,messageId:"unsafeApiUsageInCalledFunction",data:{apiName:d.name,calledFunctionName:f.id?.name||(m.type===A.AST_NODE_TYPES.Identifier?m.name:"[anonymous]"),guardName:n}}),!0;for(let v in d){if(v==="parent"||v==="range"||v==="loc")continue;let c=d[v];if(Array.isArray(c)){for(let g of c)if(g&&typeof g=="object"&&"type"in g&&y(g))return!0}else if(c&&typeof c=="object"&&"type"in c&&y(c))return!0}return!1}y(u)}return{":function"(u){let f=u.parent;f&&f.type===A.AST_NODE_TYPES.CallExpression&&f.callee.type===A.AST_NODE_TYPES.Identifier&&f.callee.name==="useTask$"&&f.arguments.length>0&&f.arguments[0]===u&&(i=u)},":function:exit"(u){i===u&&(i=null)},Identifier(u){if(i&&!(i.body!==u&&!Rn(u,i.body))&&!(u.parent&&u.parent.type===A.AST_NODE_TYPES.CallExpression&&u.parent.callee===u)&&t.has(u.name)){if(l(u))return;a(u,i)||r.report({node:u,messageId:"unsafeApiUsage",data:{apiName:u.name,guardName:n}})}},CallExpression(u){if(i&&Rn(u,i.body)&&!a(u,i)&&u.callee.type===A.AST_NODE_TYPES.Identifier){let f=u.callee,m=o.getScope(f),y=null,d=m.references.find(c=>c.identifier===f);if(d&&d.resolved)y=d.resolved;else{let c=m;for(;c;){let g=c.variables.find(b=>b.name===f.name);if(g&&g.defs.length>0){y=g;break}if(c.type==="global"&&!g){let b=c.type==="global"?c.variables.find(w=>w.name===f.name):null;b&&(y=b);break}if(!c.upper)break;c=c.upper}}let v=y;if(v&&v.defs.length>0){let c=v.defs[0],g=null;if(c.node.type===A.AST_NODE_TYPES.FunctionDeclaration?g=c.node:c.node.type===A.AST_NODE_TYPES.VariableDeclarator&&c.node.init&&(c.node.init.type===A.AST_NODE_TYPES.FunctionExpression||c.node.init.type===A.AST_NODE_TYPES.ArrowFunctionExpression)&&(g=c.node.init),g){let b=(g.body.type===A.AST_NODE_TYPES.BlockStatement,g.body);p(b,g,u)}}}}}}};var x=require("@typescript-eslint/utils"),z=ee(require("typescript"));function jn(r){return r?.defs?.some(e=>{if(e.type!=="ImportBinding")return!1;let t=e.parent.source.value;return t.startsWith("@qwik.dev/core")||t.startsWith("@qwik.dev/router")||t.startsWith("@builder.io/qwik")||t.startsWith("@builder.io/qwik-city")})}function Le(r,e){let t=r.sourceCode.getScope(e),n=t.references.find(i=>i.identifier===e);if(n&&n.resolved)return n.resolved;let o=t;for(;o;){let i=o.variables.find(a=>a.name===e.name);if(i)return i;o=o.upper}return null}function Nb(r,e){if(!e||e.type!==x.AST_NODE_TYPES.Identifier||!e.name.endsWith("$"))return!1;let t=Le(r,e);return jn(t)}function Rb(r){let e=r.body[0];if(!e||e.type!==x.AST_NODE_TYPES.ExpressionStatement)return null;let t=e.expression;return t.type===x.AST_NODE_TYPES.MemberExpression&&!t.computed&&t.property.type===x.AST_NODE_TYPES.Identifier&&t.property.name==="value"?e:null}function jb(r,e){let t=Le(r,e);if(!t||t.defs&&t.defs.length===0)return!1;let n=r.sourceCode.parserServices,o=n?.program?.getTypeChecker(),i=n?.esTreeNodeToTSNodeMap;function a(l){if(!l)return!1;if(z.default.isVariableDeclaration(l)&&l.initializer&&z.default.isCallExpression(l.initializer)){let p=l.initializer.expression;if(z.default.isIdentifier(p)){let u=p.text;return u==="createAsync$"||u==="useAsync$"||u==="routeLoader$"}}return z.default.isExportSpecifier(l)||z.default.isImportSpecifier(l),!1}for(let l of t.defs){if(l.type==="Variable"&&l.node.type===x.AST_NODE_TYPES.VariableDeclarator){let p=l.node.init;if(p&&p.type===x.AST_NODE_TYPES.CallExpression){let u=p.callee;if(u.type===x.AST_NODE_TYPES.Identifier){let f=u.name;if((f==="useAsync$"||f==="createAsync$"||f==="routeLoader$")&&jn(Le(r,u)))return!0;let m=Le(r,u);if(m&&m.defs){for(let y of m.defs)if(y.type==="Variable"&&y.node.type===x.AST_NODE_TYPES.VariableDeclarator){let d=y.node.init;if(d&&d.type===x.AST_NODE_TYPES.CallExpression){let v=d.callee;if(v.type===x.AST_NODE_TYPES.Identifier&&v.name==="routeLoader$"&&jn(Le(r,v)))return!0}}}}}}if(l.type==="ImportBinding"&&o&&i)try{let p=i.get(e);if(p){let u=o.getSymbolAtLocation(p);if(u&&u.flags&z.default.SymbolFlags.Alias&&(u=o.getAliasedSymbol(u)),u){for(let y of u.declarations??[]){if(a(y))return!0;if(z.default.isVariableStatement(y)){for(let d of y.declarationList.declarations)if(a(d))return!0}}let f=o.getTypeOfSymbolAtLocation(u,p),m=o.typeToString(f.getNonNullableType());if(/Async/i.test(m))return!0}}}catch{}}if(o&&i)try{let l=i.get(e),p=o.getTypeAtLocation(l),u=o.typeToString(p.getNonNullableType());if(/Async|LoaderSignal/i.test(u))return!0}catch{}return!1}function Mb(r,e,t){for(let n of r.body){if(n===e)break;if(n.type!==x.AST_NODE_TYPES.ExpressionStatement)continue;let o=n.expression;if(o.type!==x.AST_NODE_TYPES.AwaitExpression)continue;let i=o.argument;if(i.type===x.AST_NODE_TYPES.CallExpression&&(i=i.callee),i.type===x.AST_NODE_TYPES.MemberExpression&&!i.computed&&i.object.type===x.AST_NODE_TYPES.Identifier&&i.object.name===t&&i.property.type===x.AST_NODE_TYPES.Identifier&&i.property.name==="promise")return!0}return!1}function Lb(r){let e=r;for(;e;){if(e.type===x.AST_NODE_TYPES.FunctionDeclaration||e.type===x.AST_NODE_TYPES.FunctionExpression||e.type===x.AST_NODE_TYPES.ArrowFunctionExpression)return e;e=e.parent}return null}function Db(r,e,t){let n=e.parent;if(n&&n.type===x.AST_NODE_TYPES.CallExpression&&n.callee.type===x.AST_NODE_TYPES.Identifier&&Nb(r,n.callee)){for(let o of n.arguments)if(o===e)return!0}if(e.async){for(let o of e.params)if(o.type===x.AST_NODE_TYPES.Identifier&&o.name===t.name)return!0}return!1}var Up={meta:{type:"problem",docs:{description:"Warn when an async computed signal '.value' is read not at the top of a QRL callback.",recommended:!1,url:""},schema:[],messages:{asyncComputedNotTop:"Async computed '{{name}}.value' must be first, or use 'await {{name}}.promise()' beforehand."}},create(r){return{MemberExpression(e){if(e.computed||e.property.type!==x.AST_NODE_TYPES.Identifier||e.property.name!=="value")return;let t=e.object;if(t.type!==x.AST_NODE_TYPES.Identifier||!jb(r,t))return;let n=Lb(e);if(!n||!Db(r,n,t))return;let o=e.parent;if(!o||o.type!==x.AST_NODE_TYPES.ExpressionStatement&&o.type!==x.AST_NODE_TYPES.ReturnStatement)return;let i=n.body&&n.body.type===x.AST_NODE_TYPES.BlockStatement?n.body:null;if(!i)return n.body.type===x.AST_NODE_TYPES.MemberExpression&&n.body===e,void 0;o.parent!==i||i.body[0]===o||Rb(i)===o||(o.type===x.AST_NODE_TYPES.ExpressionStatement||o.type===x.AST_NODE_TYPES.ReturnStatement)&&Mb(i,o,t.name)||r.report({node:e,messageId:"asyncComputedNotTop",data:{name:t.name}})}}}};var Bp={"valid-lexical-scope":Cp,"use-method-usage":Op,"no-react-props":Ap,"loader-location":Tp,"prefer-classlist":kp,"jsx-no-script-url":wp,"jsx-key":xp,"unused-server":Ip,"jsx-img":Hn,"jsx-a":Wn,"no-use-visible-task":Pp,"serializer-signal-usage":Np,"scope-use-task":Vp,"use-async-top":Up,"no-async-prevent-default":Rp,"no-await-navigate-in-use-task":Mp},Jp={"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/serializer-signal-usage":"error","qwik/scope-use-task":"error","qwik/use-async-top":"warn","qwik/no-async-prevent-default":"warn","qwik/no-await-navigate-in-use-task":"warn"},Wp={"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/serializer-signal-usage":"error","qwik/scope-use-task":"error","qwik/use-async-top":"warn","qwik/no-async-prevent-default":"warn","qwik/no-await-navigate-in-use-task":"warn"},Vb={recommended:{plugins:["qwik"],rules:Jp},strict:{plugins:["qwik"],rules:Wp}},Mn={configs:{get recommended(){return Ub},get strict(){return Bb}},meta:{name:Nn.name,version:Nn.version},rules:Bp},Ub=[{plugins:{qwik:Mn},rules:Jp}],Bb=[{plugins:{qwik:Mn},rules:Wp}];0&&(module.exports={configs,qwikEslint9Plugin,rules});
408
+ });`.trim();var Xp={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.
409
+ 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 Vh=new Set(["useTask$","useTaskQrl"]);function Uh(r){return r.callee.type==="Identifier"&&Vh.has(r.callee.name)}function Bh(r){let e=r.arguments[0];return e?.type==="ArrowFunctionExpression"||e?.type==="FunctionExpression"?e:null}function Un(r){return r?r.type==="AssignmentPattern"?Un(r.right):r.type==="Literal"&&r.value===!1?!0:r.type==="TSAsExpression"?Un(r.expression):!1:!1}function Jh(r){let e=r.arguments[1];if(!e||e.type!=="ObjectExpression")return!1;for(let t of e.properties){if(t.type!=="Property"||t.computed)continue;let n=t.key;if((n.type==="Identifier"?n.name:n.type==="Literal"?String(n.value):null)==="deferUpdates"&&Un(t.value))return!0}return!1}function Gp(r){let e=new Set;return te(r,t=>{t.type==="VariableDeclarator"&&t.id.type==="Identifier"&&t.init&&t.init.type==="CallExpression"&&t.init.callee.type==="Identifier"&&t.init.callee.name==="useNavigate"&&e.add(t.id.name)}),e}function Wh(r){let e=new Set,t=r.parent;for(;t;){if(t.type==="ArrowFunctionExpression"||t.type==="FunctionExpression"){let n=t.parent;if(n?.type==="CallExpression"&&n.callee.type==="Identifier"&&n.callee.name==="component$")for(let o of Gp(t))e.add(o)}if(t.type==="Program"){for(let n of Gp(t))e.add(n);break}t=t.parent??null}return e}function Xh(r,e,t){te(e,n=>{if(n.type==="AwaitExpression"){let o=n.argument;o.type==="CallExpression"&&o.callee.type==="Identifier"&&t.has(o.callee.name)&&r.report({node:n,messageId:"noAwaitBlocking",data:{name:o.callee.name}})}})}var Hp={meta:{type:"problem",docs:{description:"Disallow awaiting the function returned by `useNavigate()` inside blocking `useTask$` callbacks.",recommended:!0,url:"https://qwik.dev/docs/advanced/eslint/"},messages:{noAwaitBlocking:"Awaiting `{{name}}()` from `useNavigate()` inside a blocking `useTask$` can deadlock. Remove `await`, or pass `{ deferUpdates: false }` as the second argument to `useTask$`."}},create(r){return{CallExpression(e){if(!Uh(e)||Jh(e))return;let t=Bh(e);if(!t)return;let n=Wh(e);n.size&&Xh(r,t.body,n)}}}};var Bn={name:"eslint-plugin-qwik",description:"An Open-Source sub-framework designed with a focus on server-side-rendering, lazy-loading, and styling/animation.",version:"2.0.0-beta.37",author:"Qwik Team",bugs:"https://github.com/QwikDev/qwik/issues",dependencies:{"@typescript-eslint/utils":"^8.59.2","jsx-ast-utils":"^3.3.5"},devDependencies:{"@qwik.dev/core":"workspace:*","@qwik.dev/router":"workspace:*","@types/estree":"1.0.8","@typescript-eslint/rule-tester":"8.59.2",redent:"4.0.0"},engines:{node:"^18.17.0 || ^20.3.0 || >=21.0.0"},files:["README.md","dist"],homepage:"https://github.com/QwikDev/qwik#readme",keywords:["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 x=require("@typescript-eslint/utils");var Hh="isServer",zp=["process","__dirname","__filename","module"],Kp=["fs","os","path","child_process","http","https","Buffer"],Qp={meta:{type:"problem",docs:{description:"Disallow direct or indirect (via one-level function call) Node.js API usage in useTask$ without a server guard (e.g., isServer).",url:""},fixable:void 0,schema:[{type:"object",properties:{forbiddenApis:{type:"array",items:{type:"string"},default:Kp}},additionalProperties:!1}],messages:{unsafeApiUsage:"Node.js API '{{apiName}}' should only be used inside an '{{guardName}}' block within useTask$. Example: if ({{guardName}}) { {{apiName}}.call(); }",unsafeApiUsageInCalledFunction:"Node.js API '{{apiName}}' used in function '{{calledFunctionName}}' (called from useTask$) needs '{{guardName}}' protection. Either guard the call site or protect the API usage within '{{calledFunctionName}}'."}},create(r){let e=r.options[0]||{},t=new Set(e.forbiddenApis||Kp.concat(zp)),n=Hh,o=r.sourceCode,i=null;function a(l,m){let p=l.parent;for(;p&&p!==m.body&&p!==m;){if(p.type===x.AST_NODE_TYPES.IfStatement){let f=p;if(We(l,f.consequent)||l===f.consequent){let d=f.test;if(d.type===x.AST_NODE_TYPES.Identifier&&d.name===n||d.type===x.AST_NODE_TYPES.BinaryExpression&&d.operator==="==="&&(d.left.type===x.AST_NODE_TYPES.Identifier&&d.left.name===n&&d.right.type===x.AST_NODE_TYPES.Literal&&d.right.value===!0||d.right.type===x.AST_NODE_TYPES.Identifier&&d.right.name===n&&d.left.type===x.AST_NODE_TYPES.Literal&&d.left.value===!0)||d.type===x.AST_NODE_TYPES.UnaryExpression&&d.operator==="!"&&d.argument.type===x.AST_NODE_TYPES.UnaryExpression&&d.argument.operator==="!"&&d.argument.argument.type===x.AST_NODE_TYPES.Identifier&&d.argument.argument.name===n)return!0}}p=p.parent}return!1}function u(l){let m=o.getScope(l),p=null,f=m;if(!zp.includes(l.name))return!0;for(;f;){let d=f.variables.find(y=>y.name===l.name);if(d){p=d;break}if(f.type==="global"){p=f.variables.find(y=>y.name===l.name);break}f=f.upper}return!p||p.defs.length===0?!1:p.defs.some(d=>d.type==="Variable"||d.type==="Parameter"||d.type==="FunctionName"||d.type==="ClassName"||d.type==="ImportBinding")}function c(l,m,p){te(l,f=>f.type===x.AST_NODE_TYPES.Identifier&&t.has(f.name)&&!u(f)&&!a(f,m)?(r.report({node:p,messageId:"unsafeApiUsageInCalledFunction",data:{apiName:f.name,calledFunctionName:m.id?.name||(p.type===x.AST_NODE_TYPES.Identifier?p.name:"[anonymous]"),guardName:n}}),!0):!1)}return{":function"(l){let m=l.parent;m&&m.type===x.AST_NODE_TYPES.CallExpression&&m.callee.type===x.AST_NODE_TYPES.Identifier&&m.callee.name==="useTask$"&&m.arguments.length>0&&m.arguments[0]===l&&(i=l)},":function:exit"(l){i===l&&(i=null)},Identifier(l){if(i&&!(i.body!==l&&!We(l,i.body))&&!(l.parent&&l.parent.type===x.AST_NODE_TYPES.CallExpression&&l.parent.callee===l)&&t.has(l.name)){if(u(l))return;a(l,i)||r.report({node:l,messageId:"unsafeApiUsage",data:{apiName:l.name,guardName:n}})}},CallExpression(l){if(i&&We(l,i.body)&&!a(l,i)&&l.callee.type===x.AST_NODE_TYPES.Identifier){let m=l.callee,p=D(r,m);if(p&&p.defs.length>0){let f=p.defs[0],d=null;if(f.node.type===x.AST_NODE_TYPES.FunctionDeclaration?d=f.node:f.node.type===x.AST_NODE_TYPES.VariableDeclarator&&f.node.init&&(f.node.init.type===x.AST_NODE_TYPES.FunctionExpression||f.node.init.type===x.AST_NODE_TYPES.ArrowFunctionExpression)&&(d=f.node.init),d){let y=(d.body.type===x.AST_NODE_TYPES.BlockStatement,d.body);c(y,d,l)}}}}}}};var h=require("@typescript-eslint/utils"),K=re(require("typescript"));function zh(r,e){return Qn(r,e)}function Kh(r){let e=r.body[0];if(!e||e.type!==h.AST_NODE_TYPES.ExpressionStatement)return null;let t=e.expression;return t.type===h.AST_NODE_TYPES.MemberExpression&&!t.computed&&t.property.type===h.AST_NODE_TYPES.Identifier&&t.property.name==="value"?e:null}function Qh(r,e){let t=D(r,e);if(!t||t.defs&&t.defs.length===0)return!1;let n=h.ESLintUtils.getParserServices(r),o=n?.program?.getTypeChecker(),i=n?.esTreeNodeToTSNodeMap;function a(u){if(!u)return!1;if(K.default.isVariableDeclaration(u)&&u.initializer&&K.default.isCallExpression(u.initializer)){let c=u.initializer.expression;if(K.default.isIdentifier(c)){let l=c.text;return l==="createAsync$"||l==="useAsync$"||l==="routeLoader$"}}return K.default.isExportSpecifier(u)||K.default.isImportSpecifier(u),!1}for(let u of t.defs){if(u.type==="Variable"&&u.node.type===h.AST_NODE_TYPES.VariableDeclarator){let c=u.node.init;if(c&&c.type===h.AST_NODE_TYPES.CallExpression){let l=c.callee;if(l.type===h.AST_NODE_TYPES.Identifier){let m=l.name;if((m==="useAsync$"||m==="createAsync$"||m==="routeLoader$")&&Xe(D(r,l)))return!0;let p=D(r,l);if(p&&p.defs){for(let f of p.defs)if(f.type==="Variable"&&f.node.type===h.AST_NODE_TYPES.VariableDeclarator){let d=f.node.init;if(d&&d.type===h.AST_NODE_TYPES.CallExpression){let y=d.callee;if(y.type===h.AST_NODE_TYPES.Identifier&&y.name==="routeLoader$"&&Xe(D(r,y)))return!0}}}}}}if(u.type==="ImportBinding"&&o&&i)try{let c=i.get(e);if(c){let l=o.getSymbolAtLocation(c);if(l&&l.flags&K.default.SymbolFlags.Alias&&(l=o.getAliasedSymbol(l)),l){for(let f of l.declarations??[]){if(a(f))return!0;if(K.default.isVariableStatement(f)){for(let d of f.declarationList.declarations)if(a(d))return!0}}let m=o.getTypeOfSymbolAtLocation(l,c),p=o.typeToString(m.getNonNullableType());if(/Async/i.test(p))return!0}}}catch{}}if(o&&i)try{let u=i.get(e),c=o.getTypeAtLocation(u),l=o.typeToString(c.getNonNullableType());if(/Async|LoaderSignal/i.test(l))return!0}catch{}return!1}function Yh(r,e,t){for(let n of r.body){if(n===e)break;if(n.type!==h.AST_NODE_TYPES.ExpressionStatement)continue;let o=n.expression;if(o.type!==h.AST_NODE_TYPES.AwaitExpression)continue;let i=o.argument;if(i.type===h.AST_NODE_TYPES.CallExpression&&(i=i.callee),i.type===h.AST_NODE_TYPES.MemberExpression&&!i.computed&&i.object.type===h.AST_NODE_TYPES.Identifier&&i.object.name===t&&i.property.type===h.AST_NODE_TYPES.Identifier&&i.property.name==="promise")return!0}return!1}function Zh(r,e,t){let n=e.parent;if(n&&n.type===h.AST_NODE_TYPES.CallExpression&&n.callee.type===h.AST_NODE_TYPES.Identifier&&zh(r,n.callee)){for(let o of n.arguments)if(o===e)return!0}if(e.async){for(let o of e.params)if(o.type===h.AST_NODE_TYPES.Identifier&&o.name===t.name)return!0}return!1}var Yp={meta:{type:"problem",docs:{description:"Warn when an async computed signal '.value' is read not at the top of a QRL callback.",recommended:!1,url:""},schema:[],messages:{asyncComputedNotTop:"Async computed '{{name}}.value' must be first, or use 'await {{name}}.promise()' beforehand."}},create(r){return{MemberExpression(e){if(e.computed||e.property.type!==h.AST_NODE_TYPES.Identifier||e.property.name!=="value")return;let t=e.object;if(t.type!==h.AST_NODE_TYPES.Identifier||!Qh(r,t))return;let n=Yn(e);if(!n||!Zh(r,n,t))return;let o=e.parent;if(!o||o.type!==h.AST_NODE_TYPES.ExpressionStatement&&o.type!==h.AST_NODE_TYPES.ReturnStatement)return;let i=n.body&&n.body.type===h.AST_NODE_TYPES.BlockStatement?n.body:null;if(!i)return n.body.type===h.AST_NODE_TYPES.MemberExpression&&n.body===e,void 0;o.parent!==i||i.body[0]===o||Kh(i)===o||(o.type===h.AST_NODE_TYPES.ExpressionStatement||o.type===h.AST_NODE_TYPES.ReturnStatement)&&Yh(i,o,t.name)||r.report({node:e,messageId:"asyncComputedNotTop",data:{name:t.name}})}}}};var Zp={"valid-lexical-scope":Vp,"use-method-usage":Dp,"no-react-props":Rp,"loader-location":Np,"prefer-classlist":jp,"jsx-no-script-url":Fp,"jsx-key":Cp,"unused-server":Mp,"jsx-img":to,"jsx-a":eo,"no-use-visible-task":Lp,"serializer-signal-usage":Wp,"scope-use-task":Qp,"use-async-top":Yp,"no-async-prevent-default":Xp,"no-await-navigate-in-use-task":Hp},ec={"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/serializer-signal-usage":"error","qwik/scope-use-task":"error","qwik/use-async-top":"warn","qwik/no-async-prevent-default":"warn","qwik/no-await-navigate-in-use-task":"warn"},rc={"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/serializer-signal-usage":"error","qwik/scope-use-task":"error","qwik/use-async-top":"warn","qwik/no-async-prevent-default":"warn","qwik/no-await-navigate-in-use-task":"warn"},eb={recommended:{plugins:["qwik"],rules:ec},strict:{plugins:["qwik"],rules:rc}},tc={configs:{get recommended(){return rb},get strict(){return tb}},meta:{name:Bn.name,version:Bn.version},rules:Zp},nc=r=>[{plugins:{qwik:tc},rules:r}],rb=nc(ec),tb=nc(rc);0&&(module.exports={configs,qwikEslint9Plugin,rules});
package/package.json CHANGED
@@ -1,19 +1,19 @@
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": "2.0.0-beta.35",
4
+ "version": "2.0.0-beta.37",
5
5
  "author": "Qwik Team",
6
6
  "bugs": "https://github.com/QwikDev/qwik/issues",
7
7
  "dependencies": {
8
- "@typescript-eslint/utils": "^8.56.1",
8
+ "@typescript-eslint/utils": "^8.59.2",
9
9
  "jsx-ast-utils": "^3.3.5"
10
10
  },
11
11
  "devDependencies": {
12
12
  "@types/estree": "1.0.8",
13
- "@typescript-eslint/rule-tester": "8.56.1",
13
+ "@typescript-eslint/rule-tester": "8.59.2",
14
14
  "redent": "4.0.0",
15
- "@qwik.dev/core": "2.0.0-beta.35",
16
- "@qwik.dev/router": "2.0.0-beta.35"
15
+ "@qwik.dev/core": "2.0.0-beta.37",
16
+ "@qwik.dev/router": "2.0.0-beta.37"
17
17
  },
18
18
  "engines": {
19
19
  "node": "^18.17.0 || ^20.3.0 || >=21.0.0"