eslint-plugin-qwik 2.0.0-beta.32 → 2.0.0-beta.34

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 +46 -46
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -1,18 +1,18 @@
1
- "use strict";var zp=Object.create;var Ve=Object.defineProperty;var Kp=Object.getOwnPropertyDescriptor;var Qp=Object.getOwnPropertyNames;var Yp=Object.getPrototypeOf,Zp=Object.prototype.hasOwnProperty;var s=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),ec=(r,e)=>{for(var t in e)Ve(r,t,{get:e[t],enumerable:!0})},Vn=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of Qp(e))!Zp.call(r,o)&&o!==t&&Ve(r,o,{get:()=>e[o],enumerable:!(n=Kp(e,o))||n.enumerable});return r};var Z=(r,e,t)=>(t=r!=null?zp(Yp(r)):{},Vn(e||!r||!r.__esModule?Ve(t,"default",{value:r,enumerable:!0}):t,r)),rc=r=>Vn(Ve({},"__esModule",{value:!0}),r);var Ue=s(Tr=>{"use strict";Object.defineProperty(Tr,"__esModule",{value:!0});Tr.default=ac;function ac(){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 Hn=s(ge=>{"use strict";Object.defineProperty(ge,"__esModule",{value:!0});ge.default=Pr;ge.hasAnyProp=lc;ge.hasEveryProp=pc;var sc=Ue(),Gn=uc(sc);function uc(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,Gn.default)(o).toUpperCase():(0,Gn.default)(o);return n===i})}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.some(function(o){return Pr(r,o,t)})}function pc(){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 zn=s(Ir=>{"use strict";Object.defineProperty(Ir,"__esModule",{value:!0});Ir.default=cc;function Xn(){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"?Xn(r.object,r.property)+"."+e.name:r.name+"."+e.name}function cc(){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 Xn(n,i)}return e.type==="JSXNamespacedName"?e.namespace.name+":"+e.name.name:r.name.name}});var Or=s((nS,Qn)=>{"use strict";var Kn=Object.prototype.toString;Qn.exports=function(e){var t=Kn.call(e),n=t==="[object Arguments]";return n||(n=t!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&Kn.call(e.callee)==="[object Function]"),n}});var ao=s((oS,io)=>{"use strict";var oo;Object.keys||(ve=Object.prototype.hasOwnProperty,kr=Object.prototype.toString,Yn=Or(),$r=Object.prototype.propertyIsEnumerable,Zn=!$r.call({toString:null},"toString"),eo=$r.call(function(){},"prototype"),he=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],Be=function(r){var e=r.constructor;return e&&e.prototype===r},ro={$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},to=(function(){if(typeof window>"u")return!1;for(var r in window)try{if(!ro["$"+r]&&ve.call(window,r)&&window[r]!==null&&typeof window[r]=="object")try{Be(window[r])}catch{return!0}}catch{return!0}return!1})(),no=function(r){if(typeof window>"u"||!to)return Be(r);try{return Be(r)}catch{return!1}},oo=function(e){var t=e!==null&&typeof e=="object",n=kr.call(e)==="[object Function]",o=Yn(e),i=t&&kr.call(e)==="[object String]",a=[];if(!t&&!n&&!o)throw new TypeError("Object.keys called on a non-object");var l=eo&&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(Zn)for(var m=no(e),y=0;y<he.length;++y)!(m&&he[y]==="constructor")&&ve.call(e,he[y])&&a.push(he[y]);return a});var ve,kr,Yn,$r,Zn,eo,he,Be,ro,to,no;io.exports=oo});var Cr=s((iS,lo)=>{"use strict";var fc=Array.prototype.slice,dc=Or(),so=Object.keys,Je=so?function(e){return so(e)}:ao(),uo=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 dc(n)?uo(fc.call(n)):uo(n)})}else Object.keys=Je;return Object.keys||Je};lo.exports=Je});var ee=s((aS,po)=>{"use strict";var We=Object.defineProperty||!1;if(We)try{We({},"a",{value:1})}catch{We=!1}po.exports=We});var be=s((sS,co)=>{"use strict";co.exports=SyntaxError});var x=s((uS,fo)=>{"use strict";fo.exports=TypeError});var mo=s((lS,yo)=>{"use strict";yo.exports=Object.getOwnPropertyDescriptor});var M=s((pS,go)=>{"use strict";var Ge=mo();if(Ge)try{Ge([],"length")}catch{Ge=null}go.exports=Ge});var He=s((cS,bo)=>{"use strict";var vo=ee(),yc=be(),re=x(),ho=M();bo.exports=function(e,t,n){if(!e||typeof e!="object"&&typeof e!="function")throw new re("`obj` must be an object or a function`");if(typeof t!="string"&&typeof t!="symbol")throw new re("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new re("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new re("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new re("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new re("`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=!!ho&&ho(e,t);if(vo)vo(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 yc("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var Se=s((fS,xo)=>{"use strict";var _r=ee(),So=function(){return!!_r};So.hasArrayLengthDefineBug=function(){if(!_r)return null;try{return _r([],"length",{value:1}).length!==1}catch{return!0}};xo.exports=So});var L=s((dS,To)=>{"use strict";var mc=Cr(),gc=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",vc=Object.prototype.toString,hc=Array.prototype.concat,Eo=He(),bc=function(r){return typeof r=="function"&&vc.call(r)==="[object Function]"},wo=Se()(),Sc=function(r,e,t,n){if(e in r){if(n===!0){if(r[e]===t)return}else if(!bc(n)||!n())return}wo?Eo(r,e,t,!0):Eo(r,e,t)},qo=function(r,e){var t=arguments.length>2?arguments[2]:{},n=mc(e);gc&&(n=hc.call(n,Object.getOwnPropertySymbols(e)));for(var o=0;o<n.length;o+=1)Sc(r,n[o],e[n[o]],t[n[o]])};qo.supportsDescriptors=!!wo;To.exports=qo});var te=s((yS,Ao)=>{"use strict";Ao.exports=Object});var Io=s((mS,Po)=>{"use strict";Po.exports=Error});var ko=s((gS,Oo)=>{"use strict";Oo.exports=EvalError});var Fr=s((vS,$o)=>{"use strict";$o.exports=RangeError});var _o=s((hS,Co)=>{"use strict";Co.exports=ReferenceError});var No=s((bS,Fo)=>{"use strict";Fo.exports=URIError});var Nr=s((SS,Ro)=>{"use strict";Ro.exports=Math.abs});var Xe=s((xS,jo)=>{"use strict";jo.exports=Math.floor});var Lo=s((ES,Mo)=>{"use strict";Mo.exports=Math.max});var Vo=s((wS,Do)=>{"use strict";Do.exports=Math.min});var Bo=s((qS,Uo)=>{"use strict";Uo.exports=Math.pow});var Wo=s((TS,Jo)=>{"use strict";Jo.exports=Math.round});var ne=s((AS,Go)=>{"use strict";Go.exports=Number.isNaN||function(e){return e!==e}});var Xo=s((PS,Ho)=>{"use strict";var xc=ne();Ho.exports=function(e){return xc(e)||e===0?e:e<0?-1:1}});var ze=s((IS,zo)=>{"use strict";zo.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((OS,Qo)=>{"use strict";var Ko=typeof Symbol<"u"&&Symbol,Ec=ze();Qo.exports=function(){return typeof Ko!="function"||typeof Symbol!="function"||typeof Ko("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Ec()}});var jr=s((kS,Yo)=>{"use strict";Yo.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var Mr=s(($S,Zo)=>{"use strict";var wc=te();Zo.exports=wc.getPrototypeOf||null});var ti=s((CS,ri)=>{"use strict";var qc="Function.prototype.bind called on incompatible ",Tc=Object.prototype.toString,Ac=Math.max,Pc="[object Function]",ei=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},Ic=function(e,t){for(var n=[],o=t||0,i=0;o<e.length;o+=1,i+=1)n[i]=e[o];return n},Oc=function(r,e){for(var t="",n=0;n<r.length;n+=1)t+=r[n],n+1<r.length&&(t+=e);return t};ri.exports=function(e){var t=this;if(typeof t!="function"||Tc.apply(t)!==Pc)throw new TypeError(qc+t);for(var n=Ic(arguments,1),o,i=function(){if(this instanceof o){var f=t.apply(this,ei(n,arguments));return Object(f)===f?f:this}return t.apply(e,ei(n,arguments))},a=Ac(0,t.length-n.length),l=[],p=0;p<a;p++)l[p]="$"+p;if(o=Function("binder","return function ("+Oc(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 oe=s((_S,ni)=>{"use strict";var kc=ti();ni.exports=Function.prototype.bind||kc});var Ke=s((FS,oi)=>{"use strict";oi.exports=Function.prototype.call});var Qe=s((NS,ii)=>{"use strict";ii.exports=Function.prototype.apply});var si=s((RS,ai)=>{"use strict";ai.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var Lr=s((jS,ui)=>{"use strict";var $c=oe(),Cc=Qe(),_c=Ke(),Fc=si();ui.exports=Fc||$c.call(_c,Cc)});var xe=s((MS,li)=>{"use strict";var Nc=oe(),Rc=x(),jc=Ke(),Mc=Lr();li.exports=function(e){if(e.length<1||typeof e[0]!="function")throw new Rc("a function is required");return Mc(Nc,jc,e)}});var mi=s((LS,yi)=>{"use strict";var Lc=xe(),pi=M(),fi;try{fi=[].__proto__===Array.prototype}catch(r){if(!r||typeof r!="object"||!("code"in r)||r.code!=="ERR_PROTO_ACCESS")throw r}var Dr=!!fi&&pi&&pi(Object.prototype,"__proto__"),di=Object,ci=di.getPrototypeOf;yi.exports=Dr&&typeof Dr.get=="function"?Lc([Dr.get]):typeof ci=="function"?function(e){return ci(e==null?e:di(e))}:!1});var Si=s((DS,bi)=>{"use strict";var gi=jr(),vi=Mr(),hi=mi();bi.exports=gi?function(e){return gi(e)}:vi?function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return vi(e)}:hi?function(e){return hi(e)}:null});var Ei=s((VS,xi)=>{"use strict";var Dc=async function(){}.constructor;xi.exports=()=>Dc});var qi=s((US,wi)=>{"use strict";var Vc=function*(){}.constructor;wi.exports=()=>Vc});var Ai=s((BS,Ti)=>{"use strict";var Uc=async function*(){}.constructor;Ti.exports=()=>Uc});var D=s((JS,Pi)=>{"use strict";var Bc=Function.prototype.call,Jc=Object.prototype.hasOwnProperty,Wc=oe();Pi.exports=Wc.call(Bc,Jc)});var O=s((WS,Ci)=>{"use strict";var h,Gc=te(),Hc=Io(),Xc=ko(),zc=Fr(),Kc=_o(),ue=be(),se=x(),Qc=No(),Yc=Nr(),Zc=Xe(),ef=Lo(),rf=Vo(),tf=Bo(),nf=Wo(),of=Xo(),Ee=M(),af=ee(),Vr=function(){throw new se},sf=Ee?(function(){try{return arguments.callee,Vr}catch{try{return Ee(arguments,"callee").get}catch{return Vr}}})():Vr,ie=Rr()(),P=Si(),uf=Mr(),lf=jr(),$i=Qe(),we=Ke(),ae={},pf=typeof Uint8Array>"u"||!P?h:P(Uint8Array),z={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?h:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?h:ArrayBuffer,"%ArrayIteratorPrototype%":ie&&P?P([][Symbol.iterator]()):h,"%AsyncFromSyncIteratorPrototype%":h,"%AsyncFunction%":ae,"%AsyncGenerator%":ae,"%AsyncGeneratorFunction%":ae,"%AsyncIteratorPrototype%":ae,"%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%":Hc,"%eval%":eval,"%EvalError%":Xc,"%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%":Function,"%GeneratorFunction%":ae,"%Int8Array%":typeof Int8Array>"u"?h:Int8Array,"%Int16Array%":typeof Int16Array>"u"?h:Int16Array,"%Int32Array%":typeof Int32Array>"u"?h:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ie&&P?P(P([][Symbol.iterator]())):h,"%JSON%":typeof JSON=="object"?JSON:h,"%Map%":typeof Map>"u"?h:Map,"%MapIteratorPrototype%":typeof Map>"u"||!ie||!P?h:P(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Gc,"%Object.getOwnPropertyDescriptor%":Ee,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?h:Promise,"%Proxy%":typeof Proxy>"u"?h:Proxy,"%RangeError%":zc,"%ReferenceError%":Kc,"%Reflect%":typeof Reflect>"u"?h:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?h:Set,"%SetIteratorPrototype%":typeof Set>"u"||!ie||!P?h:P(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?h:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ie&&P?P(""[Symbol.iterator]()):h,"%Symbol%":ie?Symbol:h,"%SyntaxError%":ue,"%ThrowTypeError%":sf,"%TypedArray%":pf,"%TypeError%":se,"%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%":Qc,"%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%":$i,"%Object.defineProperty%":af,"%Object.getPrototypeOf%":uf,"%Math.abs%":Yc,"%Math.floor%":Zc,"%Math.max%":ef,"%Math.min%":rf,"%Math.pow%":tf,"%Math.round%":nf,"%Math.sign%":of,"%Reflect.getPrototypeOf%":lf};if(P)try{null.error}catch(r){Ii=P(P(r)),z["%Error.prototype%"]=Ii}var Ii,cf=Ei(),ff=qi(),df=Ai(),yf=function r(e){var t;if(e==="%AsyncFunction%")t=cf()||void 0;else if(e==="%GeneratorFunction%")t=ff()||void 0;else if(e==="%AsyncGeneratorFunction%")t=df()||void 0;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 z[e]=t,t},Oi={__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=oe(),Ye=D(),mf=qe.call(we,Array.prototype.concat),gf=qe.call($i,Array.prototype.splice),ki=qe.call(we,String.prototype.replace),Ze=qe.call(we,String.prototype.slice),vf=qe.call(we,RegExp.prototype.exec),hf=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,bf=/\\(\\)?/g,Sf=function(e){var t=Ze(e,0,1),n=Ze(e,-1);if(t==="%"&&n!=="%")throw new ue("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new ue("invalid intrinsic syntax, expected opening `%`");var o=[];return ki(e,hf,function(i,a,l,p){o[o.length]=l?ki(p,bf,"$1"):a||i}),o},xf=function(e,t){var n=e,o;if(Ye(Oi,n)&&(o=Oi[n],n="%"+o[0]+"%"),Ye(z,n)){var i=z[n];if(i===ae&&(i=yf(n)),typeof i>"u"&&!t)throw new se("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:i}}throw new ue("intrinsic "+e+" does not exist!")};Ci.exports=function(e,t){if(typeof e!="string"||e.length===0)throw new se("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new se('"allowMissing" argument must be a boolean');if(vf(/^%?[^%]*%?$/,e)===null)throw new ue("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Sf(e),o=n.length>0?n[0]:"",i=xf("%"+o+"%",t),a=i.name,l=i.value,p=!1,u=i.alias;u&&(o=u[0],gf(n,mf([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 ue("property names with quotes must have matching quotes");if((y==="constructor"||!m)&&(p=!0),o+="."+y,a="%"+o+"%",Ye(z,a))l=z[a];else if(l!=null){if(!(y in l)){if(!t)throw new se("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&&(z[a]=l)}}return l}});var ji=s((GS,Ri)=>{"use strict";var Ef=O(),_i=He(),wf=Se()(),Fi=M(),Ni=x(),qf=Ef("%Math.floor%");Ri.exports=function(e,t){if(typeof e!="function")throw new Ni("`fn` is not a function");if(typeof t!="number"||t<0||t>4294967295||qf(t)!==t)throw new Ni("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],o=!0,i=!0;if("length"in e&&Fi){var a=Fi(e,"length");a&&!a.configurable&&(o=!1),a&&!a.writable&&(i=!1)}return(o||i||!n)&&(wf?_i(e,"length",t,!0,!0):_i(e,"length",t)),e}});var Li=s((HS,Mi)=>{"use strict";var Tf=oe(),Af=Qe(),Pf=Lr();Mi.exports=function(){return Pf(Tf,Af,arguments)}});var Te=s((XS,er)=>{"use strict";var If=ji(),Di=ee(),Of=xe(),Vi=Li();er.exports=function(e){var t=Of(arguments),n=e.length-(arguments.length-1);return If(t,1+(n>0?n:0),!0)};Di?Di(er.exports,"apply",{value:Vi}):er.exports.apply=Vi});var Ur=s((zS,Ui)=>{"use strict";var kf=ne();Ui.exports=function(e){return(typeof e=="number"||typeof e=="bigint")&&!kf(e)&&e!==1/0&&e!==-1/0}});var Br=s((KS,Bi)=>{"use strict";var $f=Nr(),Cf=Xe(),_f=ne(),Ff=Ur();Bi.exports=function(e){if(typeof e!="number"||_f(e)||!Ff(e))return!1;var t=$f(e);return Cf(t)===t}});var $=s((QS,Ji)=>{"use strict";Ji.exports=function(e){return!!e&&(typeof e=="function"||typeof e=="object")}});var Gi=s((YS,Wi)=>{"use strict";Wi.exports=4294967295});var Xi=s((ZS,Hi)=>{"use strict";Hi.exports=typeof Reflect<"u"&&Reflect.setPrototypeOf||null});var Ki=s((ex,zi)=>{"use strict";var Nf=te();zi.exports=Nf.setPrototypeOf||null});var ea=s((rx,Zi)=>{"use strict";var Rf=xe(),Qi=M(),jf=x(),Yi={};try{Yi.__proto__=null}catch(r){if(!r||typeof r!="object"||!("code"in r)||r.code!=="ERR_PROTO_ACCESS")throw r}var Mf=!("toString"in Yi),Jr=Qi&&Qi(Object.prototype,"__proto__");Zi.exports=Mf&&(!!Jr&&typeof Jr.set=="function"&&Rf([Jr.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 oa=s((tx,na)=>{"use strict";var ra=Xi(),Lf=Ki(),ta=ea(),Df=x();na.exports=ra?function(e,t){if(ra(e,t))return e;throw new Df("Reflect.setPrototypeOf: failed to set [[Prototype]]")}:Lf||(ta?function(e,t){return ta(e,t),e}:null)});var ua=s((nx,sa)=>{"use strict";var Vf=O(),ia=Vf("%Array.prototype%"),Uf=Fr(),Bf=be(),Jf=x(),Wf=Br(),Gf=Gi(),aa=oa();sa.exports=function(e){if(!Wf(e)||e<0)throw new Jf("Assertion failed: `length` must be an integer Number >= 0");if(e>Gf)throw new Uf("length is greater than (2**32 - 1)");var t=arguments.length>1?arguments[1]:ia,n=[];if(t!==ia){if(!aa)throw new Bf("ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]");aa(n,t)}return e!==0&&(n.length=e),n}});var pa=s((ox,la)=>{la.exports=require("util").inspect});var $a=s((ix,ka)=>{var et=typeof Map=="function"&&Map.prototype,Wr=Object.getOwnPropertyDescriptor&&et?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,tr=et&&Wr&&typeof Wr.get=="function"?Wr.get:null,ca=et&&Map.prototype.forEach,rt=typeof Set=="function"&&Set.prototype,Gr=Object.getOwnPropertyDescriptor&&rt?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,nr=rt&&Gr&&typeof Gr.get=="function"?Gr.get:null,fa=rt&&Set.prototype.forEach,Hf=typeof WeakMap=="function"&&WeakMap.prototype,Pe=Hf?WeakMap.prototype.has:null,Xf=typeof WeakSet=="function"&&WeakSet.prototype,Ie=Xf?WeakSet.prototype.has:null,zf=typeof WeakRef=="function"&&WeakRef.prototype,da=zf?WeakRef.prototype.deref:null,Kf=Boolean.prototype.valueOf,Qf=Object.prototype.toString,Yf=Function.prototype.toString,Zf=String.prototype.match,tt=String.prototype.slice,V=String.prototype.replace,ed=String.prototype.toUpperCase,ya=String.prototype.toLowerCase,wa=RegExp.prototype.test,ma=Array.prototype.concat,_=Array.prototype.join,rd=Array.prototype.slice,ga=Math.floor,zr=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Hr=Object.getOwnPropertySymbols,Kr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,le=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Oe=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===le||!0)?Symbol.toStringTag:null,qa=Object.prototype.propertyIsEnumerable,va=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(r){return r.__proto__}:null);function ha(r,e){if(r===1/0||r===-1/0||r!==r||r&&r>-1e3&&r<1e3||wa.call(/e/,e))return e;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof r=="number"){var n=r<0?-ga(-r):ga(r);if(n!==r){var o=String(n),i=tt.call(e,o.length+1);return V.call(o,t,"$&_")+"."+V.call(V.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return V.call(e,t,"$&_")}var Qr=pa(),ba=Qr.custom,Sa=Pa(ba)?ba:null,Ta={__proto__:null,double:'"',single:"'"},td={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};ka.exports=function r(e,t,n,o){var i=t||{};if(R(i,"quoteStyle")&&!R(Ta,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 Oa(e,i);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var p=String(e);return l?ha(e,p):p}if(typeof e=="bigint"){var u=String(e)+"n";return l?ha(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 Yr(e)?"[Array]":"[Object]";var m=Sd(i,n);if(typeof o>"u")o=[];else if(Ia(o,e)>=0)return"[Circular]";function y(Y,De,Xp){if(De&&(o=rd.call(o),o.push(De)),Xp){var Dn={depth:i.depth};return R(i,"quoteStyle")&&(Dn.quoteStyle=i.quoteStyle),r(Y,Dn,n+1,o)}return r(Y,i,n+1,o)}if(typeof e=="function"&&!xa(e)){var d=cd(e),v=rr(e,y);return"[Function"+(d?": "+d:" (anonymous)")+"]"+(v.length>0?" { "+_.call(v,", ")+" }":"")}if(Pa(e)){var c=le?V.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):Kr.call(e);return typeof e=="object"&&!le?Ae(c):c}if(vd(e)){for(var g="<"+ya.call(String(e.nodeName)),b=e.attributes||[],S=0;S<b.length;S++)g+=" "+b[S].name+"="+Aa(nd(b[S].value),"double",i);return g+=">",e.childNodes&&e.childNodes.length&&(g+="..."),g+="</"+ya.call(String(e.nodeName))+">",g}if(Yr(e)){if(e.length===0)return"[]";var q=rr(e,y);return m&&!bd(q)?"["+Zr(q,m)+"]":"[ "+_.call(q,", ")+" ]"}if(id(e)){var C=rr(e,y);return!("cause"in Error.prototype)&&"cause"in e&&!qa.call(e,"cause")?"{ ["+String(e)+"] "+_.call(ma.call("[cause]: "+y(e.cause),C),", ")+" }":C.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+_.call(C,", ")+" }"}if(typeof e=="object"&&a){if(Sa&&typeof e[Sa]=="function"&&Qr)return Qr(e,{depth:f-n});if(a!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(fd(e)){var me=[];return ca&&ca.call(e,function(Y,De){me.push(y(De,e,!0)+" => "+y(Y,e))}),Ea("Map",tr.call(e),me,m)}if(md(e)){var jn=[];return fa&&fa.call(e,function(Y){jn.push(y(Y,e))}),Ea("Set",nr.call(e),jn,m)}if(dd(e))return Xr("WeakMap");if(gd(e))return Xr("WeakSet");if(yd(e))return Xr("WeakRef");if(sd(e))return Ae(y(Number(e)));if(ld(e))return Ae(y(zr.call(e)));if(ud(e))return Ae(Kf.call(e));if(ad(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(!od(e)&&!xa(e)){var Er=rr(e,y),Mn=va?va(e)===Object.prototype:e instanceof Object||e.constructor===Object,wr=e instanceof Object?"":"null prototype",Ln=!Mn&&Oe&&Object(e)===e&&Oe in e?tt.call(U(e),8,-1):wr?"Object":"",Hp=Mn||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",qr=Hp+(Ln||wr?"["+_.call(ma.call([],Ln||[],wr||[]),": ")+"] ":"");return Er.length===0?qr+"{}":m?qr+"{"+Zr(Er,m)+"}":qr+"{ "+_.call(Er,", ")+" }"}return String(e)};function Aa(r,e,t){var n=t.quoteStyle||e,o=Ta[n];return o+r+o}function nd(r){return V.call(String(r),/"/g,"&quot;")}function K(r){return!Oe||!(typeof r=="object"&&(Oe in r||typeof r[Oe]<"u"))}function Yr(r){return U(r)==="[object Array]"&&K(r)}function od(r){return U(r)==="[object Date]"&&K(r)}function xa(r){return U(r)==="[object RegExp]"&&K(r)}function id(r){return U(r)==="[object Error]"&&K(r)}function ad(r){return U(r)==="[object String]"&&K(r)}function sd(r){return U(r)==="[object Number]"&&K(r)}function ud(r){return U(r)==="[object Boolean]"&&K(r)}function Pa(r){if(le)return r&&typeof r=="object"&&r instanceof Symbol;if(typeof r=="symbol")return!0;if(!r||typeof r!="object"||!Kr)return!1;try{return Kr.call(r),!0}catch{}return!1}function ld(r){if(!r||typeof r!="object"||!zr)return!1;try{return zr.call(r),!0}catch{}return!1}var pd=Object.prototype.hasOwnProperty||function(r){return r in this};function R(r,e){return pd.call(r,e)}function U(r){return Qf.call(r)}function cd(r){if(r.name)return r.name;var e=Zf.call(Yf.call(r),/^function\s*([\w$]+)/);return e?e[1]:null}function Ia(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 fd(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 dd(r){if(!Pe||!r||typeof r!="object")return!1;try{Pe.call(r,Pe);try{Ie.call(r,Ie)}catch{return!0}return r instanceof WeakMap}catch{}return!1}function yd(r){if(!da||!r||typeof r!="object")return!1;try{return da.call(r),!0}catch{}return!1}function md(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 gd(r){if(!Ie||!r||typeof r!="object")return!1;try{Ie.call(r,Ie);try{Pe.call(r,Pe)}catch{return!0}return r instanceof WeakSet}catch{}return!1}function vd(r){return!r||typeof r!="object"?!1:typeof HTMLElement<"u"&&r instanceof HTMLElement?!0:typeof r.nodeName=="string"&&typeof r.getAttribute=="function"}function Oa(r,e){if(r.length>e.maxStringLength){var t=r.length-e.maxStringLength,n="... "+t+" more character"+(t>1?"s":"");return Oa(tt.call(r,0,e.maxStringLength),e)+n}var o=td[e.quoteStyle||"single"];o.lastIndex=0;var i=V.call(V.call(r,o,"\\$1"),/[\x00-\x1f]/g,hd);return Aa(i,"single",e)}function hd(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":"")+ed.call(e.toString(16))}function Ae(r){return"Object("+r+")"}function Xr(r){return r+" { ? }"}function Ea(r,e,t,n){var o=n?Zr(t,n):_.call(t,", ");return r+" ("+e+") {"+o+"}"}function bd(r){for(var e=0;e<r.length;e++)if(Ia(r[e],`
2
- `)>=0)return!1;return!0}function Sd(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 Zr(r,e){if(r.length===0)return"";var t=`
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
3
  `+e.prev+e.base;return t+_.call(r,","+t)+`
4
- `+e.prev}function rr(r,e){var t=Yr(r),n=[];if(t){n.length=r.length;for(var o=0;o<r.length;o++)n[o]=R(r,o)?e(r[o],r):""}var i=typeof Hr=="function"?Hr(r):[],a;if(le){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||le&&a["$"+p]instanceof Symbol||(wa.call(/[^\w$]/,p)?n.push(e(p,r)+": "+e(r[p],r)):n.push(p+": "+e(r[p],r))));if(typeof Hr=="function")for(var u=0;u<i.length;u++)qa.call(r,i[u])&&n.push("["+e(i[u])+"]: "+e(r[i[u]],r));return n}});var B=s((ax,Ca)=>{"use strict";Ca.exports=function(e){return typeof e=="string"||typeof e=="symbol"}});var ke=s((sx,Fa)=>{"use strict";var _a=x(),xd=$a(),Ed=B(),wd=$();Fa.exports=function(e,t){if(!wd(e))throw new _a("Assertion failed: Type(O) is not Object");if(!Ed(t))throw new _a("Assertion failed: P is not a Property Key, got "+xd(t));return e[t]}});var k=s((ux,ja)=>{"use strict";var Na=O(),Ra=xe(),qd=Ra([Na("%String.prototype.indexOf%")]);ja.exports=function(e,t){var n=Na(e,!!t);return typeof n=="function"&&qd(e,".prototype.")>-1?Ra([n]):n}});var nt=s((lx,La)=>{"use strict";var Td=O(),Ma=Td("%Array%"),Ad=!Ma.isArray&&k()("Object.prototype.toString");La.exports=Ma.isArray||function(e){return Ad(e)==="[object Array]"}});var or=s((px,Da)=>{"use strict";Da.exports=nt()});var Ua=s((cx,Va)=>{"use strict";Va.exports=O()});var j=s((fx,Ba)=>{"use strict";var Pd=x(),$e=D(),Id={__proto__:null,"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};Ba.exports=function(e){if(!e||typeof e!="object")return!1;for(var t in e)if($e(e,t)&&!Id[t])return!1;var n=$e(e,"[[Value]]")||$e(e,"[[Writable]]"),o=$e(e,"[[Get]]")||$e(e,"[[Set]]");if(n&&o)throw new Pd("Property Descriptors may not be both accessor and data descriptors");return!0}});var ot=s((dx,Ga)=>{"use strict";var Od=Se(),Ja=ee(),Wa=Od.hasArrayLengthDefineBug(),kd=Wa&&nt(),$d=k(),Cd=$d("Object.prototype.propertyIsEnumerable");Ga.exports=function(e,t,n,o,i,a){if(!Ja){if(!e(a)||!a["[[Configurable]]"]||!a["[[Writable]]"]||i in o&&Cd(o,i)!==!!a["[[Enumerable]]"])return!1;var l=a["[[Value]]"];return o[i]=l,t(o[i],l)}return Wa&&i==="length"&&"[[Value]]"in a&&kd(o)&&o.length!==a["[[Value]]"]?(o.length=a["[[Value]]"],o.length===a["[[Value]]"]):(Ja(o,i,n(a)),!0)}});var Xa=s((yx,Ha)=>{"use strict";Ha.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 it=s((mx,za)=>{"use strict";var _d=x(),Fd=j(),Nd=Xa();za.exports=function(e){if(typeof e<"u"&&!Fd(e))throw new _d("Assertion failed: `Desc` must be a Property Descriptor");return Nd(e)}});var ir=s((gx,Qa)=>{"use strict";var Rd=x(),Ka=D(),jd=j();Qa.exports=function(e){if(typeof e>"u")return!1;if(!jd(e))throw new Rd("Assertion failed: `Desc` must be a Property Descriptor");return!(!Ka(e,"[[Value]]")&&!Ka(e,"[[Writable]]"))}});var ar=s((vx,Za)=>{"use strict";var Ya=ne();Za.exports=function(e,t){return e===t?e===0?1/e===1/t:!0:Ya(e)&&Ya(t)}});var pt=s((hx,ts)=>{"use strict";var rs=Function.prototype.toString,pe=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,st,sr;if(typeof pe=="function"&&typeof Object.defineProperty=="function")try{st=Object.defineProperty({},"length",{get:function(){throw sr}}),sr={},pe(function(){throw 42},null,st)}catch(r){r!==sr&&(pe=null)}else pe=null;var Md=/^\s*class\b/,ut=function(e){try{var t=rs.call(e);return Md.test(t)}catch{return!1}},at=function(e){try{return ut(e)?!1:(rs.call(e),!0)}catch{return!1}},ur=Object.prototype.toString,Ld="[object Object]",Dd="[object Function]",Vd="[object GeneratorFunction]",Ud="[object HTMLAllCollection]",Bd="[object HTML document.all class]",Jd="[object HTMLCollection]",Wd=typeof Symbol=="function"&&!!Symbol.toStringTag,Gd=!(0 in[,]),lt=function(){return!1};typeof document=="object"&&(es=document.all,ur.call(es)===ur.call(document.all)&&(lt=function(e){if((Gd||!e)&&(typeof e>"u"||typeof e=="object"))try{var t=ur.call(e);return(t===Ud||t===Bd||t===Jd||t===Ld)&&e("")==null}catch{}return!1}));var es;ts.exports=pe?function(e){if(lt(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{pe(e,null,st)}catch(t){if(t!==sr)return!1}return!ut(e)&&at(e)}:function(e){if(lt(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(Wd)return at(e);if(ut(e))return!1;var t=ur.call(e);return t!==Dd&&t!==Vd&&!/^\[object HTML/.test(t)?!1:at(e)}});var os=s((bx,ns)=>{"use strict";ns.exports=pt()});var as=s((Sx,is)=>{"use strict";is.exports=function(e){return!!e}});var ft=s((xx,us)=>{"use strict";var F=D(),lr=x(),Hd=$(),ss=os(),ct=as();us.exports=function(e){if(!Hd(e))throw new lr("ToPropertyDescriptor requires an object");var t={};if(F(e,"enumerable")&&(t["[[Enumerable]]"]=ct(e.enumerable)),F(e,"configurable")&&(t["[[Configurable]]"]=ct(e.configurable)),F(e,"value")&&(t["[[Value]]"]=e.value),F(e,"writable")&&(t["[[Writable]]"]=ct(e.writable)),F(e,"get")){var n=e.get;if(typeof n<"u"&&!ss(n))throw new lr("getter must be a function");t["[[Get]]"]=n}if(F(e,"set")){var o=e.set;if(typeof o<"u"&&!ss(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 cs=s((Ex,ps)=>{"use strict";var dt=x(),Xd=$(),ls=j(),zd=ot(),Kd=it(),Qd=ir(),Yd=B(),Zd=ar(),ey=ft();ps.exports=function(e,t,n){if(!Xd(e))throw new dt("Assertion failed: Type(O) is not Object");if(!Yd(t))throw new dt("Assertion failed: P is not a Property Key");var o=ls(n)?n:ey(n);if(!ls(o))throw new dt("Assertion failed: Desc is not a valid Property Descriptor");return zd(Qd,Zd,Kd,e,t,o)}});var ds=s((wx,gt)=>{"use strict";var ry=Ua(),fs=ry("%Reflect.construct%",!0),pr=cs();try{pr({},"",{"[[Get]]":function(){}})}catch{pr=null}pr&&fs?(yt={},mt={},pr(mt,"length",{"[[Get]]":function(){throw yt},"[[Enumerable]]":!0}),gt.exports=function(e){try{fs(e,mt)}catch(t){return t===yt}}):gt.exports=function(e){return typeof e=="function"&&!!e.prototype};var yt,mt});var bs=s((qx,hs)=>{"use strict";var ty=O(),ys=ty("%Symbol.species%",!0),ms=x(),ny=Br(),oy=$(),gs=ua(),vs=ke(),iy=or(),ay=ds();hs.exports=function(e,t){if(!ny(t)||t<0)throw new ms("Assertion failed: length must be an integer >= 0");var n=iy(e);if(!n)return gs(t);var o=vs(e,"constructor");if(ys&&oy(o)&&(o=vs(o,ys),o===null&&(o=void 0)),typeof o>"u")return gs(t);if(!ay(o))throw new ms("C must be a constructor");return new o(t)}});var vt=s((Tx,Ss)=>{"use strict";Ss.exports=Number.MAX_SAFE_INTEGER||9007199254740991});var Es=s((Ax,xs)=>{"use strict";var sy=O(),uy=k(),ly=x(),py=or(),cy=sy("%Reflect.apply%",!0)||uy("Function.prototype.apply");xs.exports=function(e,t){var n=arguments.length>2?arguments[2]:[];if(!py(n))throw new ly("Assertion failed: optional `argumentsList`, if provided, must be a List");return cy(e,t,n)}});var cr=s((Px,qs)=>{"use strict";var fy=x(),ws=D(),dy=j();qs.exports=function(e){if(typeof e>"u")return!1;if(!dy(e))throw new fy("Assertion failed: `Desc` must be a Property Descriptor");return!(!ws(e,"[[Get]]")&&!ws(e,"[[Set]]"))}});var ht=s((Ix,Ts)=>{"use strict";Ts.exports=function(e){return e===null||typeof e!="function"&&typeof e!="object"}});var Os=s((Ox,Is)=>{"use strict";var Ps=O(),yy=Ps("%Object.preventExtensions%",!0),my=Ps("%Object.isExtensible%",!0),As=ht();Is.exports=yy?function(e){return!As(e)&&my(e)}:function(e){return!As(e)}});var $s=s((kx,ks)=>{"use strict";var gy=j();ks.exports=function(e,t){return gy(t)&&"[[Enumerable]]"in t&&"[[Configurable]]"in t&&(e.IsAccessorDescriptor(t)||e.IsDataDescriptor(t))}});var _s=s(($x,Cs)=>{"use strict";var vy=x(),hy=cr(),by=ir(),Sy=j();Cs.exports=function(e){if(typeof e>"u")return!1;if(!Sy(e))throw new vy("Assertion failed: `Desc` must be a Property Descriptor");return!hy(e)&&!by(e)}});var Rs=s((Cx,Ns)=>{"use strict";var ce=x(),xy=$(),Ce=ot(),Ey=$s(),Fs=j(),_e=it(),Q=cr(),J=ir(),wy=_s(),qy=B(),N=ar();Ns.exports=function(e,t,n,o,i){if(typeof e<"u"&&!xy(e))throw new ce("Assertion failed: O must be undefined or an Object");if(!qy(t))throw new ce("Assertion failed: P must be a Property Key");if(typeof n!="boolean")throw new ce("Assertion failed: extensible must be a Boolean");if(!Fs(o))throw new ce("Assertion failed: Desc must be a Property Descriptor");if(typeof i<"u"&&!Fs(i))throw new ce("Assertion failed: current must be a Property Descriptor, or undefined");if(typeof i>"u")return n?typeof e>"u"?!0:Q(o)?Ce(J,N,_e,e,t,o):Ce(J,N,_e,e,t,{"[[Configurable]]":!!o["[[Configurable]]"],"[[Enumerable]]":!!o["[[Enumerable]]"],"[[Value]]":o["[[Value]]"],"[[Writable]]":!!o["[[Writable]]"]}):!1;if(!Ey({IsAccessorDescriptor:Q,IsDataDescriptor:J},i))throw new ce("`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]]"])||!wy(o)&&!N(Q(o),Q(i)))return!1;if(Q(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 J(i)&&Q(o)?(a=("[[Configurable]]"in o?o:i)["[[Configurable]]"],l=("[[Enumerable]]"in o?o:i)["[[Enumerable]]"],Ce(J,N,_e,e,t,{"[[Configurable]]":!!a,"[[Enumerable]]":!!l,"[[Get]]":("[[Get]]"in o?o:i)["[[Get]]"],"[[Set]]":("[[Set]]"in o?o:i)["[[Set]]"]})):Q(i)&&J(o)?(a=("[[Configurable]]"in o?o:i)["[[Configurable]]"],l=("[[Enumerable]]"in o?o:i)["[[Enumerable]]"],Ce(J,N,_e,e,t,{"[[Configurable]]":!!a,"[[Enumerable]]":!!l,"[[Value]]":("[[Value]]"in o?o:i)["[[Value]]"],"[[Writable]]":!!("[[Writable]]"in o?o:i)["[[Writable]]"]})):Ce(J,N,_e,e,t,o)}return!0}});var Ds=s((_x,Ls)=>{"use strict";var js=M(),Ms=be(),bt=x(),Ty=$(),Ay=j(),Py=cr(),Iy=Os(),Oy=B(),ky=ft(),$y=ar(),Cy=Rs();Ls.exports=function(e,t,n){if(!Ty(e))throw new bt("Assertion failed: O must be an Object");if(!Oy(t))throw new bt("Assertion failed: P must be a Property Key");if(!Ay(n))throw new bt("Assertion failed: Desc must be a Property Descriptor");if(!js){if(Py(n))throw new Ms("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]]"],$y(e[t],n["[[Value]]"]);throw new Ms("This environment does not support defining non-writable, non-enumerable, or non-configurable properties")}var a=js(e,t),l=a&&ky(a),p=Iy(e);return Cy(e,t,p,n,l)}});var Bs=s((Fx,Us)=>{"use strict";var Vs=x(),_y=$(),Fy=B(),Ny=Ds();Us.exports=function(e,t,n){if(!_y(e))throw new Vs("Assertion failed: Type(O) is not Object");if(!Fy(t))throw new Vs("Assertion failed: P is not a Property Key");var o={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":n,"[[Writable]]":!0};return Ny(e,t,o)}});var Ws=s((Nx,Js)=>{"use strict";var St=x(),Ry=$(),jy=Bs(),My=B();Js.exports=function(e,t,n){if(!Ry(e))throw new St("Assertion failed: Type(O) is not Object");if(!My(t))throw new St("Assertion failed: P is not a Property Key");var o=jy(e,t,n);if(!o)throw new St("unable to create data property")}});var Xs=s((Rx,Hs)=>{"use strict";var Gs=x(),Ly=$(),Dy=B();Hs.exports=function(e,t){if(!Ly(e))throw new Gs("Assertion failed: `O` must be an Object");if(!Dy(t))throw new Gs("Assertion failed: `P` must be a Property Key");return t in e}});var Ks=s((jx,zs)=>{"use strict";zs.exports=function(e){return e===null||typeof e!="function"&&typeof e!="object"}});var xt=s((Mx,Qs)=>{"use strict";var Vy=ze();Qs.exports=function(){return Vy()&&!!Symbol.toStringTag}});var eu=s((Lx,Zs)=>{"use strict";var Ys=k(),Uy=Ys("Date.prototype.getDay"),By=function(e){try{return Uy(e),!0}catch{return!1}},Jy=Ys("Object.prototype.toString"),Wy="[object Date]",Gy=xt()();Zs.exports=function(e){return typeof e!="object"||e===null?!1:Gy?By(e):Jy(e)===Wy}});var au=s((Dx,iu)=>{"use strict";var ru=k(),Hy=xt()(),Xy=D(),zy=M(),qt;Hy?(tu=ru("RegExp.prototype.exec"),Et={},fr=function(){throw Et},wt={toString:fr,valueOf:fr},typeof Symbol.toPrimitive=="symbol"&&(wt[Symbol.toPrimitive]=fr),qt=function(e){if(!e||typeof e!="object")return!1;var t=zy(e,"lastIndex"),n=t&&Xy(t,"value");if(!n)return!1;try{tu(e,wt)}catch(o){return o===Et}}):(nu=ru("Object.prototype.toString"),ou="[object RegExp]",qt=function(e){return!e||typeof e!="object"&&typeof e!="function"?!1:nu(e)===ou});var tu,Et,fr,wt,nu,ou;iu.exports=qt});var Tt=s((Vx,su)=>{"use strict";var Ky=k(),Qy=au(),Yy=Ky("RegExp.prototype.exec"),Zy=x();su.exports=function(e){if(!Qy(e))throw new Zy("`regex` must be a RegExp");return function(n){return Yy(e,n)!==null}}});var fu=s((Ux,At)=>{"use strict";var cu=k(),em=cu("Object.prototype.toString"),rm=Rr()(),tm=Tt();rm?(uu=cu("Symbol.prototype.toString"),lu=tm(/^Symbol\(.*\)$/),pu=function(e){return typeof e.valueOf()!="symbol"?!1:lu(uu(e))},At.exports=function(e){if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||em(e)!=="[object Symbol]")return!1;try{return pu(e)}catch{return!1}}):At.exports=function(e){return!1};var uu,lu,pu});var gu=s((Bx,mu)=>{"use strict";var nm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol",Pt=Ks(),yu=pt(),om=eu(),du=fu(),im=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]],yu(o)&&(i=o.call(e),Pt(i)))return i;throw new TypeError("No default value")},am=function(e,t){var n=e[t];if(n!==null&&typeof n<"u"){if(!yu(n))throw new TypeError(n+" returned for property "+String(t)+" of object "+e+" is not a function");return n}};mu.exports=function(e){if(Pt(e))return e;var t="default";arguments.length>1&&(arguments[1]===String?t="string":arguments[1]===Number&&(t="number"));var n;if(nm&&(Symbol.toPrimitive?n=am(e,Symbol.toPrimitive):du(e)&&(n=Symbol.prototype.valueOf)),typeof n<"u"){var o=n.call(e,t);if(Pt(o))return o;throw new TypeError("unable to convert exotic object to primitive")}return t==="default"&&(om(e)||du(e))&&(t="string"),im(e,t==="default"?"number":t)}});var bu=s((Jx,hu)=>{"use strict";var vu=gu();hu.exports=function(e){return arguments.length>1?vu(e,arguments[1]):vu(e)}});var Fe=s((Wx,Su)=>{"use strict";var sm=x();Su.exports=function(e){if(e==null)throw new sm(arguments.length>0&&arguments[1]||"Cannot call method on "+e);return e}});var It=s((Gx,xu)=>{"use strict";var um=O(),lm=um("%String%"),pm=x();xu.exports=function(e){if(typeof e=="symbol")throw new pm("Cannot convert a Symbol value to a string");return lm(e)}});var Ot=s((Hx,qu)=>{"use strict";var cm=Fe(),fm=It(),dm=k(),Eu=dm("String.prototype.replace"),wu=/^\s$/.test("\u180E"),ym=wu?/^[\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]+/,mm=wu?/[\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]+$/;qu.exports=function(){var e=fm(cm(this));return Eu(Eu(e,ym,""),mm,"")}});var kt=s((Xx,Au)=>{"use strict";var gm=Ot(),Tu="\u200B",fe="\u180E";Au.exports=function(){return String.prototype.trim&&Tu.trim()===Tu&&fe.trim()===fe&&("_"+fe).trim()==="_"+fe&&(fe+"_").trim()===fe+"_"?String.prototype.trim:gm}});var Ou=s((zx,Iu)=>{"use strict";var vm=Se()(),Pu=He(),hm=kt();Iu.exports=function(){var e=hm();return String.prototype.trim!==e&&(vm?Pu(String.prototype,"trim",e,!0):Pu(String.prototype,"trim",e)),e}});var _u=s((Kx,Cu)=>{"use strict";var bm=Te(),Sm=L(),xm=Fe(),Em=Ot(),ku=kt(),wm=Ou(),qm=bm(ku()),$u=function(e){return xm(e),qm(e)};Sm($u,{getPolyfill:ku,implementation:Em,shim:wm});Cu.exports=$u});var Mu=s((Qx,ju)=>{"use strict";var Ru=O(),Tm=Ru("%RegExp%"),Am=x(),Fu=Ru("%parseInt%"),Pm=k(),dr=Tt(),Nu=Pm("String.prototype.slice"),Im=dr(/^0b[01]+$/i),Om=dr(/^0o[0-7]+$/i),km=dr(/^[-+]0x[0-9a-f]+$/i),$m=["\x85","\u200B","\uFFFE"].join(""),Cm=new Tm("["+$m+"]","g"),_m=dr(Cm),Fm=_u();ju.exports=function r(e){if(typeof e!="string")throw new Am("Assertion failed: `argument` is not a String");if(Im(e))return+Fu(Nu(e,2),2);if(Om(e))return+Fu(Nu(e,2),8);if(_m(e)||km(e))return NaN;var t=Fm(e);return t!==e?r(t):+e}});var Vu=s((Yx,Du)=>{"use strict";var Nm=O(),Lu=x(),Rm=Nm("%Number%"),jm=ht(),Mm=bu(),Lm=Mu();Du.exports=function(e){var t=jm(e)?e:Mm(e,Rm);if(typeof t=="symbol")throw new Lu("Cannot convert a Symbol value to a number");if(typeof t=="bigint")throw new Lu("Conversion from 'BigInt' to 'number' is not allowed.");return typeof t=="string"?Lm(t):+t}});var Bu=s((Zx,Uu)=>{"use strict";var Dm=Xe();Uu.exports=function(e){return typeof e=="bigint"?e:Dm(e)}});var Gu=s((eE,Wu)=>{"use strict";var Ju=Bu(),Vm=x();Wu.exports=function(e){if(typeof e!="number"&&typeof e!="bigint")throw new Vm("argument must be a Number or a BigInt");var t=e<0?-Ju(-e):Ju(e);return t===0?0:t}});var $t=s((rE,Hu)=>{"use strict";var Um=Vu(),Bm=Gu(),Jm=ne(),Wm=Ur();Hu.exports=function(e){var t=Um(e);return Jm(t)||t===0?0:Wm(t)?Bm(t):t}});var Ct=s((tE,zu)=>{"use strict";var Xu=vt(),Gm=$t();zu.exports=function(e){var t=Gm(e);return t<=0?0:t>Xu?Xu:t}});var Qu=s((nE,Ku)=>{"use strict";var Hm=x(),Xm=$(),zm=ke(),Km=Ct();Ku.exports=function(e){if(!Xm(e))throw new Hm("Assertion failed: `obj` must be an Object");return Km(zm(e,"length"))}});var rl=s((oE,el)=>{"use strict";var Yu=x(),Qm=vt(),Ym=Es(),Zm=Ws(),eg=ke(),rg=Xs(),tg=or(),ng=Qu(),Zu=It();el.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=Zu(p),f=rg(t,u);if(f===!0){var m=eg(t,u);if(typeof a<"u"){if(arguments.length<=6)throw new Yu("Assertion failed: thisArg is required when mapperFunction is provided");m=Ym(a,arguments[6],[m,p,t])}var y=!1;if(i>0&&(y=tg(m)),y){var d=ng(m);l=r(e,m,d,l,i-1)}else{if(l>=Qm)throw new Yu("index too large");Zm(e,Zu(l),m),l+=1}}p+=1}return l}});var nl=s((iE,tl)=>{"use strict";var og=te(),ig=Fe();tl.exports=function(e){return ig(e),og(e)}});var il=s((aE,ol)=>{"use strict";ol.exports=nl()});var _t=s((sE,al)=>{"use strict";var ag=bs(),sg=rl(),ug=ke(),lg=$t(),pg=Ct(),cg=il();al.exports=function(){var e=cg(this),t=pg(ug(e,"length")),n=1;arguments.length>0&&typeof arguments[0]<"u"&&(n=lg(arguments[0]));var o=ag(e,0);return sg(o,e,t,0,n),o}});var Ft=s((uE,sl)=>{"use strict";var fg=_t();sl.exports=function(){return Array.prototype.flat||fg}});var fl=s((lE,cl)=>{"use strict";var dg=D(),pl=typeof Symbol=="function"&&typeof Symbol.unscopables=="symbol",ul=pl&&Array.prototype[Symbol.unscopables],ll=TypeError;cl.exports=function(e){if(typeof e!="string"||!e)throw new ll("method must be a non-empty string");if(!dg(Array.prototype,e))throw new ll("method must be on Array.prototype");pl&&ul&&(ul[e]=!0)}});var yl=s((pE,dl)=>{"use strict";var yg=L(),mg=fl(),gg=Ft();dl.exports=function(){var e=gg();return yg(Array.prototype,{flat:e},{flat:function(){return Array.prototype.flat!==e}}),mg("flat"),e}});var hl=s((cE,vl)=>{"use strict";var vg=L(),hg=Te(),bg=_t(),ml=Ft(),Sg=ml(),xg=yl(),gl=hg(Sg);vg(gl,{getPolyfill:ml,implementation:bg,shim:xg});vl.exports=gl});var Nt=s((fE,bl)=>{"use strict";var Eg=Fe(),wg=k(),qg=wg("Object.prototype.propertyIsEnumerable");bl.exports=function(e){var t=Eg(e),n=[];for(var o in t)qg(t,o)&&(n[n.length]=t[o]);return n}});var Rt=s((dE,Sl)=>{"use strict";var Tg=Nt();Sl.exports=function(){return typeof Object.values=="function"?Object.values:Tg}});var El=s((yE,xl)=>{"use strict";var Ag=Rt(),Pg=L();xl.exports=function(){var e=Ag();return Pg(Object,{values:e},{values:function(){return Object.values!==e}}),e}});var Al=s((mE,Tl)=>{"use strict";var Ig=L(),Og=Te(),kg=Nt(),wl=Rt(),$g=El(),ql=Og(wl(),Object);Ig(ql,{getPolyfill:wl,implementation:kg,shim:$g});Tl.exports=ql});var Ol=s(Ne=>{"use strict";Object.defineProperty(Ne,"__esModule",{value:!0});Ne.eventHandlersByType=void 0;var Cg=hl(),_g=Pl(Cg),Fg=Al(),Ng=Pl(Fg);function Pl(r){return r&&r.__esModule?r:{default:r}}var Il={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,_g.default)((0,Ng.default)(Il));Ne.eventHandlersByType=Il});var $l=s(Mt=>{"use strict";Object.defineProperty(Mt,"__esModule",{value:!0});var Rg=(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")}})(),de=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};Mt.default=Vg;var jg=Ue(),Mg=Lg(jg);function Lg(r){return r&&r.__esModule?r:{default:r}}function kl(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 Dg={ignoreCase:!0};function Vg(){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]:Dg;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,Mg.default)(l))});return a&&a.type==="JSXSpreadAttribute"?Ug(a.argument.properties.find(i)):a}function Ug(r){var e=r.key,t=r.value;return de({type:"JSXAttribute",name:de({type:"JSXIdentifier",name:e.name},jt(e)),value:t.type==="Literal"?Re(t):de({type:"JSXExpressionContainer",expression:Bg(t)},jt(t))},jt(r))}function Re(r){var e=r.range||[r.start,r.end],t=Rg(e,2),n=t[0],o=t[1];return de({},r,{end:void 0,range:[n,o],start:void 0})}function Bg(r){var e=r.expressions,t=r.quasis,n=kl(r,["expressions","quasis"]);return de({},Re(n),e?{expressions:e.map(Re)}:{},t?{quasis:t.map(Re)}:{})}function jt(r){var e=r.loc,t=kl(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 de({start:e,end:t},n!==void 0?{source:n}:{},o!==void 0?{filename:o}:{})}});var Dt=s(Lt=>{"use strict";Object.defineProperty(Lt,"__esModule",{value:!0});Lt.default=Wg;function Wg(r){var e=r.value,t=typeof e=="string"&&e.toLowerCase();return t==="true"?!0:t==="false"?!1:e}});var Ut=s(Vt=>{"use strict";Object.defineProperty(Vt,"__esModule",{value:!0});Vt.default=Gg;function Gg(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 Jt=s(Bt=>{"use strict";Object.defineProperty(Bt,"__esModule",{value:!0});Bt.default=Hg;function Hg(r){return r.raw}});var Gt=s(Wt=>{"use strict";Object.defineProperty(Wt,"__esModule",{value:!0});Wt.default=Xg;function Xg(r){var e=yr().default;return r.children.length===0?"<></>":"<>"+[].concat(r.children).map(function(t){return e(t)}).join("")+"</>"}});var _l=s(Ht=>{"use strict";Object.defineProperty(Ht,"__esModule",{value:!0});Ht.default=zg;var Cl={Array,Date,Infinity:1/0,Math,Number,Object,String,undefined:void 0};function zg(r){var e=r.name;return Object.hasOwnProperty.call(Cl,e)?Cl[e]:e}});var zt=s(Xt=>{"use strict";Object.defineProperty(Xt,"__esModule",{value:!0});Xt.default=Qg;function Kg(r,e){return(r.range?r.range[0]:r.start)-(e.range?e.range[0]:e.start)}function Qg(r){var e=r.quasis,t=r.expressions,n=e.concat(t);return n.sort(Kg).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 Fl=s(Kt=>{"use strict";Object.defineProperty(Kt,"__esModule",{value:!0});Kt.default=rv;var Yg=zt(),Zg=ev(Yg);function ev(r){return r&&r.__esModule?r:{default:r}}function rv(r){return(0,Zg.default)(r.quasi)}});var Nl=s(Qt=>{"use strict";Object.defineProperty(Qt,"__esModule",{value:!0});Qt.default=tv;function tv(r){return function(){return r}}});var Rl=s(Yt=>{"use strict";Object.defineProperty(Yt,"__esModule",{value:!0});Yt.default=nv;function nv(r){var e=I().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 jl=s(Zt=>{"use strict";Object.defineProperty(Zt,"__esModule",{value:!0});Zt.default=ov;function ov(r){var e=I().default;return""+e(r.object)+(r.optional?"?.":".")+e(r.property)}});var Ml=s(en=>{"use strict";Object.defineProperty(en,"__esModule",{value:!0});en.default=iv;function iv(r){var e=I().default;return e(r.expression||r)}});var Ll=s(rn=>{"use strict";Object.defineProperty(rn,"__esModule",{value:!0});rn.default=av;function av(r){var e=I().default;return e(r.callee)+"?.("+r.arguments.map(function(t){return e(t)}).join(", ")+")"}});var Dl=s(tn=>{"use strict";Object.defineProperty(tn,"__esModule",{value:!0});tn.default=sv;function sv(r){var e=I().default;return e(r.object)+"?."+e(r.property)}});var on=s(nn=>{"use strict";Object.defineProperty(nn,"__esModule",{value:!0});nn.default=uv;function uv(r){var e=I().default,t=Array.isArray(r.arguments)?r.arguments.map(function(n){return e(n)}).join(", "):"";return""+e(r.callee)+(r.optional?"?.":"")+"("+t+")"}});var Vl=s(an=>{"use strict";Object.defineProperty(an,"__esModule",{value:!0});an.default=lv;function lv(r){var e=I().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 un=s(sn=>{"use strict";Object.defineProperty(sn,"__esModule",{value:!0});sn.default=pv;function pv(){return"this"}});var Ul=s(ln=>{"use strict";Object.defineProperty(ln,"__esModule",{value:!0});ln.default=cv;function cv(r){var e=I().default,t=r.test,n=r.alternate,o=r.consequent;return e(t)?e(o):e(n)}});var Bl=s(pn=>{"use strict";Object.defineProperty(pn,"__esModule",{value:!0});pn.default=fv;function fv(r){var e=I().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 cn=s((RE,Hl)=>{"use strict";var dv=Cr(),Wl=ze()(),Gl=k(),mr=te(),yv=Gl("Array.prototype.push"),Jl=Gl("Object.prototype.propertyIsEnumerable"),mv=Wl?mr.getOwnPropertySymbols:null;Hl.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=dv(i),l=Wl&&(mr.getOwnPropertySymbols||mv);if(l)for(var p=l(i),u=0;u<p.length;++u){var f=p[u];Jl(i,f)&&yv(a,f)}for(var m=0;m<a.length;++m){var y=a[m];if(Jl(i,y)){var d=i[y];n[y]=d}}}return n}});var dn=s((jE,Xl)=>{"use strict";var fn=cn(),gv=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},vv=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};Xl.exports=function(){return!Object.assign||gv()||vv()?fn:Object.assign}});var Kl=s((ME,zl)=>{"use strict";var hv=L(),bv=dn();zl.exports=function(){var e=bv();return hv(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e}});var ep=s((LE,Zl)=>{"use strict";var Sv=L(),xv=Te(),Ev=cn(),Ql=dn(),wv=Kl(),qv=xv.apply(Ql()),Yl=function(e,t){return qv(Object,arguments)};Sv(Yl,{getPolyfill:Ql,implementation:Ev,shim:wv});Zl.exports=Yl});var np=s(yn=>{"use strict";Object.defineProperty(yn,"__esModule",{value:!0});yn.default=tp;var Tv=ep(),rp=Av(Tv);function Av(r){return r&&r.__esModule?r:{default:r}}function Pv(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function tp(r){var e=I().default;return r.properties.reduce(function(t,n){if(/^(?:Experimental)?Spread(?:Property|Element)$/.test(n.type)){if(n.argument.type==="ObjectExpression")return(0,rp.default)({},t,tp(n.argument))}else return(0,rp.default)({},t,Pv({},e(n.key),e(n.value)));return t},{})}});var op=s(mn=>{"use strict";Object.defineProperty(mn,"__esModule",{value:!0});mn.default=Iv;function Iv(){return new Object}});var ip=s(gn=>{"use strict";Object.defineProperty(gn,"__esModule",{value:!0});gn.default=Ov;function Ov(r){var e=I().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 ap=s(vn=>{"use strict";Object.defineProperty(vn,"__esModule",{value:!0});vn.default=kv;function kv(r){var e=I().default;return r.elements.map(function(t){if(t!==null)return e(t)})}});var sp=s(hn=>{"use strict";Object.defineProperty(hn,"__esModule",{value:!0});hn.default=$v;function $v(r){var e=I().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 up=s(bn=>{"use strict";Object.defineProperty(bn,"__esModule",{value:!0});bn.default=Cv;function Cv(){}});var lp=s(Sn=>{"use strict";Object.defineProperty(Sn,"__esModule",{value:!0});Sn.default=_v;function _v(r){var e=I().default;return e(r.expression)}});var pp=s(xn=>{"use strict";Object.defineProperty(xn,"__esModule",{value:!0});xn.default=Fv;function Fv(r){var e=I().default;return r.expressions.map(function(t){return e(t)})}});var fp=s(En=>{"use strict";Object.defineProperty(En,"__esModule",{value:!0});En.default=W;var Nv=un().default,Rv=on().default;function cp(r,e,t){return t.computed?t.optional?r+"?.["+e+"]":r+"["+e+"]":t.optional?r+"?."+e:r+"."+e}function W(r){var e="The prop value with an expression type of TSNonNullExpression could not be resolved. Please file an issue ( https://github.com/jsx-eslint/jsx-ast-utils/issues/new ) to get this fixed immediately.";if(r.type==="Identifier"){var t=r.name;return t}if(r.type==="Literal")return r.value;if(r.type==="TSAsExpression")return W(r.expression);if(r.type==="CallExpression")return Rv(r);if(r.type==="ThisExpression")return Nv();if(r.type==="TSNonNullExpression"&&(!r.extra||r.extra.parenthesized===!1)){var n=r.expression;return W(n)+"!"}if(r.type==="TSNonNullExpression"&&r.extra&&r.extra.parenthesized===!0){var o=r.expression;return"("+W(o)+"!)"}if(r.type==="MemberExpression"){if(!r.extra||r.extra.parenthesized===!1)return cp(W(r.object),W(r.property),r);if(r.extra&&r.extra.parenthesized===!0){var i=cp(W(r.object),W(r.property),r);return"("+i+")"}}if(r.expression)for(var a=r.expression;a;){if(a.type==="Identifier")return console.error(e),a.name;var l=a;a=l.expression}return console.error(e),""}});var dp=s(wn=>{"use strict";Object.defineProperty(wn,"__esModule",{value:!0});wn.default=jv;function jv(r){var e=I().default;return e(r.left)+" "+r.operator+" "+e(r.right)}});var I=s(gr=>{"use strict";Object.defineProperty(gr,"__esModule",{value:!0});var Mv=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=Dh;gr.extractLiteral=Vh;var Lv=Dt(),Dv=w(Lv),Vv=Ut(),Uv=w(Vv),Bv=Gt(),Jv=w(Bv),Wv=Jt(),Gv=w(Wv),Hv=_l(),Xv=w(Hv),zv=Fl(),Kv=w(zv),Qv=zt(),Yv=w(Qv),Zv=Nl(),yp=w(Zv),eh=Rl(),rh=w(eh),th=jl(),nh=w(th),oh=Ml(),ih=w(oh),ah=Ll(),sh=w(ah),uh=Dl(),lh=w(uh),ph=on(),ch=w(ph),fh=Vl(),dh=w(fh),yh=un(),mh=w(yh),gh=Ul(),vh=w(gh),hh=Bl(),bh=w(hh),Sh=np(),xh=w(Sh),Eh=op(),wh=w(Eh),qh=ip(),Th=w(qh),Ah=ap(),Ph=w(Ah),Ih=sp(),Oh=w(Ih),kh=up(),$h=w(kh),Ch=lp(),_h=w(Ch),Fh=pp(),Nh=w(Fh),Rh=fp(),jh=w(Rh),Mh=dp(),Lh=w(Mh);function w(r){return r&&r.__esModule?r:{default:r}}var G={Identifier:Xv.default,Literal:Dv.default,JSXElement:Uv.default,JSXFragment:Jv.default,JSXText:Gv.default,TaggedTemplateExpression:Kv.default,TemplateLiteral:Yv.default,ArrowFunctionExpression:yp.default,FunctionExpression:yp.default,LogicalExpression:rh.default,MemberExpression:nh.default,ChainExpression:ih.default,OptionalCallExpression:sh.default,OptionalMemberExpression:lh.default,CallExpression:ch.default,UnaryExpression:dh.default,ThisExpression:mh.default,ConditionalExpression:vh.default,BinaryExpression:bh.default,ObjectExpression:xh.default,NewExpression:wh.default,UpdateExpression:Th.default,ArrayExpression:Ph.default,BindExpression:Oh.default,SpreadElement:$h.default,TypeCastExpression:_h.default,SequenceExpression:Nh.default,TSNonNullExpression:jh.default,AssignmentExpression:Lh.default},T=function(){return null},gp=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 Dh(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 G[n]===void 0?(console.error(gp(n)),null):G[n](e)}var mp=Mv({},G,{Literal:function(e){var t=G.Literal.call(void 0,e),n=t===null;return n?"null":t},Identifier:function(e){var t=G.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=G.UnaryExpression.call(void 0,e);return t===void 0?null:t},UpdateExpression:function(e){var t=G.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=G.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 Vh(r){var e=r.expression||r,t=e.type;return mp[t]===void 0?(console.error(gp(t)),null):mp[t](e)}});var yr=s(vr=>{"use strict";Object.defineProperty(vr,"__esModule",{value:!0});var Uh=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=Zh;vr.getLiteralValue=eb;var Bh=Dt(),Jh=je(Bh),Wh=Ut(),Gh=je(Wh),Hh=Jt(),Xh=je(Hh),zh=Gt(),Kh=je(zh),vp=I(),Qh=je(vp);function je(r){return r&&r.__esModule?r:{default:r}}var qn={Literal:Jh.default,JSXElement:Gh.default,JSXExpressionContainer:Qh.default,JSXText:Xh.default,JSXFragment:Kh.default},Yh=Uh({},qn,{JSXElement:function(){return null},JSXExpressionContainer:vp.extractLiteral});function Zh(r){return qn[r.type]||console.log(r.type),qn[r.type](r)}function eb(r){return Yh[r.type](r)}});var Sp=s(hr=>{"use strict";Object.defineProperty(hr,"__esModule",{value:!0});hr.default=nb;hr.getLiteralPropValue=ob;var hp=yr(),rb=tb(hp);function tb(r){return r&&r.__esModule?r:{default:r}}var bp=function(e,t){if(e&&e.type==="JSXAttribute")return e.value===null?!0:t(e.value)};function nb(r){return bp(r,rb.default)}function ob(r){return bp(r,hp.getLiteralValue)}});var br=s((ZE,wp)=>{"use strict";var Tn=Hn(),ib=ye(Tn),ab=zn(),sb=ye(ab),xp=Ol(),ub=ye(xp),lb=$l(),pb=ye(lb),Ep=Sp(),cb=ye(Ep),fb=Ue(),db=ye(fb);function ye(r){return r&&r.__esModule?r:{default:r}}wp.exports={hasProp:ib.default,hasAnyProp:Tn.hasAnyProp,hasEveryProp:Tn.hasEveryProp,elementType:sb.default,eventHandlers:ub.default,eventHandlersByType:xp.eventHandlersByType,getProp:pb.default,getPropValue:cb.default,getLiteralPropValue:Ep.getLiteralPropValue,propName:db.default}});var Jb={};ec(Jb,{configs:()=>Vb,qwikEslint9Plugin:()=>Rn,rules:()=>Jp});module.exports=rc(Jb);var Un=require("@typescript-eslint/utils"),tc=Un.ESLintUtils.RuleCreator(()=>"https://qwik.dev/docs/advanced/dollar/"),Bn=tc({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 Jn=require("@typescript-eslint/utils"),nc=Jn.ESLintUtils.RuleCreator(r=>`https://qwik.dev/docs/advanced/eslint/#${r}`),Wn=nc({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:
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:
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=oc(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=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=`
11
11
  import Image from '~/media/image.png';
12
12
  <Image />`.trim(),Kb=`
13
13
  <img src="/image.png">`.trim(),Qb=`
14
14
  <img width="200" height="600" src="/static/images/portrait-01.webp">`.trim(),Yb=`
15
- <img src="/static/images/portrait-01.webp">`.trim();function oc(r){let e=r.lastIndexOf("."),t=r.lastIndexOf("/");return r=r.substring(t+1,e),`Img${ic(r)}`}function ic(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 Pn=Z(br());function An(r){return r.type==="FunctionExpression"||r.type==="ArrowFunctionExpression"}var Sr={checkFragmentShorthand:!1,checkKeyMustBeforeSpread:!1,warnOnDuplicates:!1},yb={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"},qp={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:yb,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"&&!Pn.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&&Pn.default.propName(b)==="key")}function f(c){An(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=S=>S&&(S.type==="JSXElement"||S.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(
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(
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(S=>S&&S.type==="JSXElement");if(g.length===0)return;let b={};g.forEach(S=>{S.openingElement.attributes.filter(me=>me.name&&me.name.name==="key").length===0&&c.type==="ArrayExpression"&&r.report({node:S,messageId:"missingArrayKey"})}),a&&Object.values(b).filter(S=>S.length>1).forEach(S=>{S.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||!An(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];An(g)&&(m(g),f(g))}}}},ew=`
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=`
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(),rw=`
40
+ });`.trim(),YE=`
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(),tw=`
57
+ });`.trim(),ZE=`
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(),nw=`
77
+ });`.trim(),ew=`
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(),ow=`
97
+ });`.trim(),rw=`
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(),iw=`
110
+ });`.trim(),tw=`
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(),aw=`
123
+ });`.trim(),nw=`
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(),sw=`
137
+ });`.trim(),ow=`
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 uw=`
151
+ });`.trim();var iw=`
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 Tp=require("@typescript-eslint/utils"),{getStaticValue:mb}=Tp.ASTUtils,gb=/^[\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,Ap={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=mb(t.value.type==="JSXExpressionContainer"?t.value.expression:t.value,e.getScope?e.getScope(t):r.getScope());n&&typeof n.value=="string"&&gb.test(n.value)&&r.report({node:t.value,messageId:"noJSURL"})}}}}},pw=`
165
- <button onClick$={() => alert('open the door please')}>ring</button>`.trim(),cw=`
166
- <button onClick$="javascript:alert('open the door please')">ring</button>`.trim();var Pp={loader$:!0,routeLoader$:!0,routeAction$:!0,routeHandler$:!0},vb={...Pp,action$:!0,globalAction$:!0},Ip={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 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
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=hb(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(!vb[u])return;if(!l&&Pp[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(!bb(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 hb(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 dw=`
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=`
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 yw=`
181
+ });`.trim();var cw=`
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 mw=`
188
+ });`.trim();var fw=`
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 gw=`
195
+ });`.trim();var dw=`
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 bb(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=Sb(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 Sb(r){let e=r;for(;e.type!=="Program";)e=e.parent;return e.body}var In=Z(br()),xb=[{from:"className",to:"class"},{from:"htmlFor",to:"for"}];var Op={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 xb){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})}}}}}},hw=`
206
- <MyReactComponent class="foo" for="#password" />;`.trim(),bw=`
207
- <MyReactComponent className="foo" htmlFor="#password" />;`.trim();var kp={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=Z(br()),$p={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]],"}")]}})}}}}},Ew=`
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=`
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(),ww=`
225
+ });`.trim(),Sw=`
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 Cp={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 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:
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(...);`}})}}}}},Tw=`
243
+ await serverFn(...);`}})}}}}},Ew=`
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(),Aw=`
261
+ ));`.trim(),ww=`
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 _p={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}}}}},Iw=`
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=`
280
280
  export const Counter = component$(() => {
281
281
  const count = useSignal(0);
282
282
  });
283
- `.trim(),Ow=`
283
+ `.trim(),Aw=`
284
284
  export const useCounter = () => {
285
285
  const count = useSignal(0);
286
286
  return count;
287
287
  };
288
- `.trim(),kw=`
288
+ `.trim(),Pw=`
289
289
  export const Counter = (() => {
290
290
  const count = useSignal(0);
291
291
  });
292
- `.trim();var xr=Z(require("@typescript-eslint/utils/eslint-utils")),H=Z(require("typescript"));function kn(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 Cn(r,e=0,t={}){return $n(kn(r),e,t)}var Eb=xr.RuleCreator(r=>`https://qwik.dev/docs/advanced/eslint/#${r}`),Fp=Eb({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 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}}.
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"||Ob(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,S=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 C=wb(r,a,S,f.identifier,t);C&&r.report({messageId:"referencesOutside",node:f.identifier,data:{varName:f.identifier.name,dollarName:c,reason:qb(C)}})}}}}),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(!Np(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
- ${Rp(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=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)}
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 wb(r,e,t,n,o){let i=e.getTypeAtLocation(t);return Tb(r,e,i,t,n,o,new Set)}function qb(r){let e="";return r.location?e+=`"${r.location}" `:e+="it ",e+=`${r.reason}`,e}function Tb(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&H.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&H.default.TypeFlags.Any;if(!o.allowAny&&p)return{type:t,typeStr:e.typeToString(t),reason:"is any, which is not serializable"};if(t.flags&H.default.TypeFlags.ESSymbolLike)return{type:t,typeStr:e.typeToString(t),reason:"is Symbol, which is not serializable"};if(t.flags&H.default.TypeFlags.Enum)return{type:t,typeStr:e.typeToString(t),reason:"is an enum, use an string or a number instead"};if(Np(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&&H.default.isIdentifier(n)){let c=`const ${n.text} = $(
302
- ${Rp(t.symbol,r.sourceCode.text)}
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
303
  );`;v+=`.
304
304
  Did you mean to wrap it in \`$()\`?
305
305
 
306
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&H.default.TypeFlags.Object)!==0){let d=Pb(t,e);if(d)return Me(r,e,d,n,o,i+1,a);let v=Ib(t,e);if(v){for(let S of v){let q=Me(r,e,S,n,o,i+1,a);if(q)return q}return}let c=t.symbol.name;if(t.getProperty("nextElementSibling")||t.getProperty("activeElement")||c in $b)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 S=e.getTypeOfSymbolAtLocation(g,n);if(S.isClass())return{type:S,typeStr:e.typeToString(S),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=t.symbol.escapedName.endsWith("Signal")&&t.getProperty("value")?[t.getProperty("value")]:t.getProperties();for(let S of b){let q=Ab(r,e,S,n,o,i+1,a);if(q){let C=q.location;return q.location=`${S.name}${C?`.${C}`:""}`,q}}}}function Ab(r,e,t,n,o,i,a){let l=e.getTypeOfSymbolAtLocation(t,n);return Me(r,e,l,n,o,i,a)}function Pb(r,e){return e.getElementTypeOfArrayType(r)}function Ib(r,e){return e.isTupleType(r)?e.getTypeArguments(r):void 0}function Np(r){return!!(r.flags&H.default.TypeFlags.Any)||!!r.getNonNullableType().getProperty("__brand__QRL__")}function Rp(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 Cn(n,2)}return""}function Ob(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&&kb(a.resolved)}return!1}function kb(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 $b={Promise:!0,URL:!0,RegExp:!0,Date:!0,FormData:!0,URLSearchParams:!0,Error:!0,Set:!0,Map:!0,Uint8Array:!0},Mw=`
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=`
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(),Lw=`
320
+ });`.trim(),Rw=`
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(),Dw=`
333
+ });`.trim(),jw=`
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(),Vw=`
341
+ });`.trim(),Mw=`
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(),Uw=`
349
+ });`.trim(),Lw=`
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(),Bw=`
362
+ });`.trim(),Dw=`
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 jp=require("@typescript-eslint/utils"),Cb=jp.ESLintUtils.RuleCreator(r=>`https://qwik.dev/docs/advanced/eslint/#${r}`),Mp=Cb({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(", ")}})}}}}}}}}}),Gw=`
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=`
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(),Hw=`
391
+ });`.trim(),Jw=`
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 Lp={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 _n={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.32",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",Dp=["process","__dirname","__filename","module"],Vp=["fs","os","path","child_process","http","https","Buffer"];function Fn(r,e){if(!e)return!1;let t=r.parent;for(;t;){if(t===e)return!0;t=t.parent}return!1}var Up={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:Vp}},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||Vp.concat(Dp)),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(Fn(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(!Dp.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&&!Fn(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&&Fn(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(S=>S.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 E=require("@typescript-eslint/utils"),X=Z(require("typescript"));function Nn(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!==E.AST_NODE_TYPES.Identifier||!e.name.endsWith("$"))return!1;let t=Le(r,e);return Nn(t)}function Rb(r){let e=r.body[0];if(!e||e.type!==E.AST_NODE_TYPES.ExpressionStatement)return null;let t=e.expression;return t.type===E.AST_NODE_TYPES.MemberExpression&&!t.computed&&t.property.type===E.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(X.default.isVariableDeclaration(l)&&l.initializer&&X.default.isCallExpression(l.initializer)){let p=l.initializer.expression;if(X.default.isIdentifier(p)){let u=p.text;return u==="createAsync$"||u==="useAsync$"||u==="routeLoader$"}}return X.default.isExportSpecifier(l)||X.default.isImportSpecifier(l),!1}for(let l of t.defs){if(l.type==="Variable"&&l.node.type===E.AST_NODE_TYPES.VariableDeclarator){let p=l.node.init;if(p&&p.type===E.AST_NODE_TYPES.CallExpression){let u=p.callee;if(u.type===E.AST_NODE_TYPES.Identifier){let f=u.name;if((f==="useAsync$"||f==="createAsync$"||f==="routeLoader$")&&Nn(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===E.AST_NODE_TYPES.VariableDeclarator){let d=y.node.init;if(d&&d.type===E.AST_NODE_TYPES.CallExpression){let v=d.callee;if(v.type===E.AST_NODE_TYPES.Identifier&&v.name==="routeLoader$"&&Nn(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&X.default.SymbolFlags.Alias&&(u=o.getAliasedSymbol(u)),u){for(let y of u.declarations??[]){if(a(y))return!0;if(X.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!==E.AST_NODE_TYPES.ExpressionStatement)continue;let o=n.expression;if(o.type!==E.AST_NODE_TYPES.AwaitExpression)continue;let i=o.argument;if(i.type===E.AST_NODE_TYPES.CallExpression&&(i=i.callee),i.type===E.AST_NODE_TYPES.MemberExpression&&!i.computed&&i.object.type===E.AST_NODE_TYPES.Identifier&&i.object.name===t&&i.property.type===E.AST_NODE_TYPES.Identifier&&i.property.name==="promise")return!0}return!1}function Lb(r){let e=r;for(;e;){if(e.type===E.AST_NODE_TYPES.FunctionDeclaration||e.type===E.AST_NODE_TYPES.FunctionExpression||e.type===E.AST_NODE_TYPES.ArrowFunctionExpression)return e;e=e.parent}return null}function Db(r,e,t){let n=e.parent;if(n&&n.type===E.AST_NODE_TYPES.CallExpression&&n.callee.type===E.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===E.AST_NODE_TYPES.Identifier&&o.name===t.name)return!0}return!1}var Bp={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!==E.AST_NODE_TYPES.Identifier||e.property.name!=="value")return;let t=e.object;if(t.type!==E.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!==E.AST_NODE_TYPES.ExpressionStatement&&o.type!==E.AST_NODE_TYPES.ReturnStatement)return;let i=n.body&&n.body.type===E.AST_NODE_TYPES.BlockStatement?n.body:null;if(!i)return n.body.type===E.AST_NODE_TYPES.MemberExpression&&n.body===e,void 0;o.parent!==i||i.body[0]===o||Rb(i)===o||(o.type===E.AST_NODE_TYPES.ExpressionStatement||o.type===E.AST_NODE_TYPES.ReturnStatement)&&Mb(i,o,t.name)||r.report({node:e,messageId:"asyncComputedNotTop",data:{name:t.name}})}}}};var Jp={"valid-lexical-scope":Fp,"use-method-usage":_p,"no-react-props":Op,"loader-location":Ip,"prefer-classlist":$p,"jsx-no-script-url":Ap,"jsx-key":qp,"unused-server":Cp,"jsx-img":Wn,"jsx-a":Bn,"no-use-visible-task":kp,"serializer-signal-usage":Mp,"scope-use-task":Up,"use-async-top":Bp,"no-async-prevent-default":Lp},Wp={"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"},Gp={"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"},Vb={recommended:{plugins:["qwik"],rules:Wp},strict:{plugins:["qwik"],rules:Gp}},Rn={configs:{get recommended(){return Ub},get strict(){return Bb}},meta:{name:_n.name,version:_n.version},rules:Jp},Ub=[{plugins:{qwik:Rn},rules:Wp}],Bb=[{plugins:{qwik:Rn},rules:Gp}];0&&(module.exports={configs,qwikEslint9Plugin,rules});
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.34",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});
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "eslint-plugin-qwik",
3
3
  "description": "An Open-Source sub-framework designed with a focus on server-side-rendering, lazy-loading, and styling/animation.",
4
- "version": "2.0.0-beta.32",
4
+ "version": "2.0.0-beta.34",
5
5
  "author": "Qwik Team",
6
6
  "bugs": "https://github.com/QwikDev/qwik/issues",
7
7
  "dependencies": {
@@ -12,8 +12,8 @@
12
12
  "@types/estree": "1.0.8",
13
13
  "@typescript-eslint/rule-tester": "8.56.1",
14
14
  "redent": "4.0.0",
15
- "@qwik.dev/core": "2.0.0-beta.32",
16
- "@qwik.dev/router": "2.0.0-beta.32"
15
+ "@qwik.dev/core": "2.0.0-beta.34",
16
+ "@qwik.dev/router": "2.0.0-beta.34"
17
17
  },
18
18
  "engines": {
19
19
  "node": "^18.17.0 || ^20.3.0 || >=21.0.0"